User Manual

262 Rockwell Automation Publication 1752-UM001E-EN-P - June 2014
Appendix E Explicit Messages
The Instance ID is dependent upon the type of message.
The command data includes the offset size, and data size. The offset size specifies
the address from which to start reading. This is an offset in bytes from the first
line of the area. The data size specifies the number of bytes to be read from
1…256. The range values shown below should be used as a guide for setting the
offset and size for the various data areas.
Response Format
The Number of Receive Bytes for responses indicates the number of bytes of
receive data from the originating node address to the end of the returned response
(in hexidecimal format).
The Originating Node for responses returns the node address of the responding
SmartGuard controller in 1 byte hexidecimal.
For responses, the upper bit is turned on and CB hex is returned for the Service
Code.
The Read Data for responses is the I/O data returned from the specified area.
The address offsets and bit assignments for reading the local inputs, local outputs,
and test outputs are shown below. For these bits, 1 equals normal and 0 equals an
error.
Table 34 - Instance ID Values
Explicit Message Type Service Instance ID
Read Local Input Area Read 0001 (hex)
Read Local Output Area Read 0002 (hex)
Read Safety Remote Input Area Read 0005 (hex)
Read Safety Remote Output Area Read 0006 (hex)
Table 35 - Range Values
Area Range
Local Input Area 0 or 1
Local Output/Test Output Area 0 or 1
Safety Remote Input Area 0…551
Safety Remote Output Area 0…551
Table 36 - Local Inputs (2 bytes)
Offset
(bytes)
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0Safety Input
Terminal Number
7
Safety Input
Terminal Number
6
Safety Input
Terminal Number
5
Safety Input
Terminal Number
4
Safety Input
Terminal Number
3
Safety Input
Terminal Number
2
Safety Input
Terminal Number
1
Safety Input
Terminal Number
0
1Safety Input
Terminal Number
15
Safety Input
Terminal Number
14
Safety Input
Terminal Number
13
Safety Input
Terminal Number
12
Safety Input
Terminal Number
11
Safety Input
Terminal Number
10
Safety Input
Terminal Number
9
Safety Input
Terminal Number
8