beautypg.com

Siemens Industrial Ethernet Switches SCALANCE X-200 User Manual

Page 259

background image

PROFINET IO functionality

8.4 Structure of the data records

SCALANCE X-200
Operating Instructions, 12/2011, A5E00349864-19

259

Data record 0x802A

Structure
typdef struct{

Word BlockType;

Word BlockLength;

Byte BlockVersionHigh;

Byte BlockVersionLow;

Word Padding;

Word SlotNumber;

Word SubslotNumber;

Byte LengthOwnPortID;

8 Byte OwnPortID;

Byte NumberOfPeers;

Word Padding;

Byte LengthPeerPortID;

8 Byte PeerPortID;

Byte LengthPeerChassisID;

8 Byte PeerChassisID;

Word Padding;

DWord LineDelay;

6 Byte PeerMACAddress;

Word Padding;

Word MAUType;

Word Padding;

DWord DomainBoundary;

DWord MulticastBoundary;

Word LinkState;

Word Padding;

DWord MediaType;};

BlockType

Constant = 0x020F

BlockLength

Constant, describes the length of the data record without the "BlockType" and "BlockLength"

fields.

BlockVersionHigh

Constant = 1, designates the major version.

BlockVersionLow

Constant = 0, designates the minor version.