Data block PD_MASTER_TAILOR_DATA (tailoring parameters of IOInterface)
Data block PD_MASTER_TAILOR_DATA consists of the following attributes:
Table: Data block PD_MASTER_TAILOR_DATA
| Address offset BYTE | Designation | Content | Value range | Data type | |
|---|---|---|---|---|---|
| 0 | BlockType | PD_MASTER_TAILOR_DATA | 0x7081 | uint16_t | |
| 2 | BlockLength | Length of the entire structure block without BlockType, BlockLength | uint16_t | ||
| 4 | BlockVersionHigh | Major BlockVersion | 0x01 | uint8_t | |
| 5 | BlockVersionLow | Minor BlockVersion | 0x00 | uint8_t | |
| 6 | DeviceTailorProperties | ~~ | Bitfield[16] | ||
| 0 | DeviceMode | 0: Device is mandatory 1: Device is optional |
Bitfield[1] | ||
| 1 | NameOfStation | 0: No tailoring of NameOfStation needed 1: Tailor NameOfStation |
Bitfield[1] | ||
| 2 | IPv4Suite | 0: No tailoring of IPv4Suite needed 1: Tailor IPv4Suite |
Bitfield[1] | ||
| 3 | Reserved | 0 | Bitfield[1] | ||
| 4 | PDInterfaceMrpDataAdjust | 0: No tailoring of PDInterfaceMrpDataAdjust needed 1: Tailor PDInterfaceMrpDataAdjust |
Bitfield[1] | ||
| 5 | PDInterfaceMrpDataCheck | 0: No tailoring of PDInterfaceMrpDataCheck needed 1: Tailor PDInterfaceMrpDataCheck |
Bitfield[1] | ||
| _ _ | 6..15 | Reserved | 0 | Bitfield[10] | |
| 8 | DeviceGroup | Number of the device group the device belongs to | uint16_t | ||
| 10 | NumberOfPortTailorInfos | Number of items of port tailor information which follow | uint16_t | ||
| 1^st^ Port Tailor Info | ~~ | ~~ | ~~ | ~~ | ~~ |
| 12 | LocalSlotNumber | Slot number of local port which needs to be tailored | uint16_t | ||
| 14 | LocalSubslotNumber | Subslot number of local port which needs to be tailored | uint16_t | ||
| 16 | PortTailorProperties | Bitfield[16] | |||
| 0-1 | PeerMode | 0x00: Fixed peer to mandatory neighbor 0x01: Fixed peer to optional neighbor 0x02: Programmable peer 0x03: Any peer |
Bitfield[2] | ||
| 2 | NameOfPortCoding | 0: NameOfPort coding is "port-xyz" 1: NameOfPort coding is "port-xyz-rstuv" |
Bitfield[1] | ||
| 3 | Reserved | 0 | Bitfield[1] | ||
| 4 | TailorPDPortMrpDataAdjust | 0: No tailoring of PDPortMrpDataAdjust needed 1: Tailor PDPortMrpDataAdjust |
Bitfield[1] | ||
| _ _ | 5..15 | Reserved | 0 | Bitfield[11] | |
| 18 | PeerStationNumber | Station number of the neighbor. Must be set to 0xFFFF, if PeerMode is set to 0x02 or 0x03 | uint16_t | ||
| 20 | PeerSlotNumber | Slot number of the neighbor. Must be set to 0xFFFF, if PeerMode is set to 0x02 or 0x03 | uint16_t | ||
| 22 | PeerSubslotNumber | Subslot number of the neighbor. Must be set to 0xFFFF, if PeerMode is set to 0x02 or 0x03 | uint16_t | ||
| 2^nd^ Port Tailor Info | ~~ | ~~ | ~~ | ~~ | ~~ |
| ... | ... |
Note
In contrast to most other blocks described in this manual, the PD_MASTER_TAILOR_DATA data record does not have the reserved two bytes after the BlockVersionLow.