Download Print this page

HMS Networks Anybus CompactCom 40 Network Manual page 55

Profinet irt transparent ethernet
Hide thumbs Also See for Anybus CompactCom 40:

Advertisement

Network Object (03h)
• Command details:
Field
Contents
CmdExt[0]
The number of mapping items to add (0-217)
CmdExt[1]
Reserved. Set to 0
MsgData[0-1]
New mapping item 1: ADI number
MsgData[2]
New mapping item 1: Number of elements in the ADI
MsgData[3]
New mapping item 1: Index to the first element to map (0-254)
MsgData[4]
New mapping item 1: Number of consecutive elements to map (1-255)
MsgData[5]
New mapping item 1: Number of type descriptors (1-255)
MsgData[6..n]
New mapping item 1: Array of type specifiers for each mapped element
...
Repeat MsgData[0-n] (as above) for mapping item 2 and onwards.
• Response details (Success):
Field
Contents
CmdExt[0]
The number of accepted mapping items (0-217)
MsgData[0]
Bit offset of the mapped ADI from the start of the Write Process Data (Least significant byte)
MsgData[1]
Bit offset of the mapped ADI from the start of the Write Process Data
MsgData[2]
Bit offset of the mapped ADI from the start of the Write Process Data
MsgData[3]
Bit offset of the mapped ADI from the start of the Write Process Data (Most significant byte)
• Response details (Error):
Error
Contents
Invalid CmdExt[0]
The number of accepted mapping items, before an error occurred
Invalid State
Mapping of ADIs is only allowed in the SETUP state
Object Specific
Object specific error, see MsgData[1] for details:
Error
01h: Invalid data type
02h: Invalid number of elements
03h: Invalid total size
06h: Invalid map command sequence
07h: Invalid mapping command
08h: Bad alignment
09h: Invalid use of ADI 0
FFh: Network specific restriction
Error control is only performed on the command parameters. The Anybus module does not verify the
correctness of these parameters by a read of the actual ADI attributes.
SCM-1202-021 Version 2.6
®
Anybus
CompactCom
40 - PROFINET IRT Transparent
The data type is not valid for Process Data
The number of elements is not valid (zero, or too many elements)
The requested mapping is denied because the resulting total data size
would exceed the maximum permissible (depending on network type)
The order in which the commands were received is invalid
Inconsistencies in the command makes it impossible to parse
The alignment rules for process data are not followed
ADI 0 is an array (255 elements) of type PAD1
Mapping an ADI other than the previous (non-padding) ADI, must be
done on a byte boundary. Bits from multiple ADIs cannot be mapped
to the same byte.
Indicated by network specific error code 01h (total error response is
FFh FFh 01h).
Ethernet
Page 47 of 177

Advertisement

loading
Need help?

Need help?

Do you have a question about the Anybus CompactCom 40 and is the answer not in the manual?

Questions and answers