The text of a manual · part 19 of 22
Guard I/O DeviceNet Safety Modules User Manual: A - Get Point Status from Modules by Using Explicit Messaging, pages 153 to 160
Pages 153 to 160 of 178, from Guard I/O DeviceNet Safety Modules User Manual
The original document is the PDF (5.2 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Allen-Bradley 1791DS-IB8XOB8 and Allen-Bradley 1791DS-IB12
Page 153
Get Point Status from Modules by Using Explicit Messaging
Appendix A
Table 20 - Input Data for 1732DS-IB8, 1732DS-IB8XOBV4, 1791DS-IB8XOBV4, 1791DS-IB16 Modules (continued) Instance Hex Module (decimal)
Byte
Bit 7
315 (789)
0
Safety Input Safety Input 6 Safety Input Safety Input 4 Safety Input Safety Input 2 Safety Input 1 7 5 3
Safety Input 0
1
Safety Input Safety Input 15 14
Safety Input Safety Input 13 12
Safety Input Safety Input 11 10
Safety Input 8
2
Combined Safety In Status
Reserved
Muting Lamp Muting Lamp Muting Lamp 7 Muting Lamp 3 15 Status 11 Status Status Status
0
Safety Input Safety Input 6 Safety Input Safety Input 4 Safety Input Safety Input 2 Safety Input 1 7 5 3
1
Combined Safety In Status
0
Safety Input Safety Input 6 Safety Input Safety Input 4 Safety Input Safety Input 2 Safety Input 1 7 5 3
Safety Input 0
1
Safety Input Safety Input 6 Safety Input Safety Input 4 Safety Input Safety Input 2 Safety Input 1 7 Status Status 5 Status Status 3 Status Status Status
Safety Input 0 Status
2
Reserved
0
Safety Input Safety Input 6 Safety Input Safety Input 4 Safety Input Safety Input 2 Safety Input 1 7 5 3
Safety Input 0
1
Safety Input Safety Input 15 14
Safety Input 9
Safety Input 8
2
Safety Input Safety Input 6 Safety Input Safety Input 4 Safety Input Safety Input 2 Safety Input 1 7 Status Status 5 Status Status 3 Status Status Status
Safety Input 0 Status
3
Safety Input Safety Input 15 Status 14 Status
Safety Input Safety Input 13 Status 12 Status
Safety Input Safety Input 11 Status 10 Status
Safety Input 8 Status
4
Reserved
Reserved
Muting Lamp Muting Lamp Muting Lamp 7 Muting Lamp 3 15 Status 11 Status Status Status
0
Safety Input Safety Input 6 Safety Input Safety Input 4 Safety Input Safety Input 2 Safety Input 1 7 5 3
Safety Input 0
1
Safety Input Safety Input 6 Safety Input Safety Input 4 Safety Input Safety Input 2 Safety Input 1 7 Status Status 5 Status Status 3 Status Status Status
Safety Input 0 Status
2
Safety Output 7 Status
3
Reserved
0
Safety Input Safety Input 6 Safety Input Safety Input 4 Safety Input Safety Input 2 Safety Input 1 7 5 3
Safety Input 0
1
Safety Input Safety Input 6 Safety Input Safety Input 4 Safety Input Safety Input 2 Safety Input 1 7 Status Status 5 Status Status 3 Status Status Status
Safety Input 0 Status
2
Safety Output 7 Status
Safety Output Safety 6 Status Output 5 Status
Safety Output Safety 4 Status Output 3 Status
Safety Output Safety Output 1 Safety Output 2 Status Status 0 Status
3
Safety Output 7 Readback
Safety Output Safety 6 Readback Output 5 Readback
Safety Output Safety 4 Readback Output 3 Readback
Safety Output Safety Output 1 Safety Output 2 Readback Readback 0 Readback
4
Reserved
324 (804)
334 (820)
335 (821)
344 (836)
354 (852)
1791DS-IB16
1732DS-IB8XOBV4, 1791DS-IB8XOBV4
1732DS-IB8, 1732DS-IB8XOBV4, 1791DS-IB8XOBV4
1791DS-IB16
1732DS-IB8XOBV4, 1791DS-IB8XOBV4
Bit 6
Reserved
Combined Safety Out Status
Bit 5
Bit 4
Reserved
Bit 3
Bit 2
Reserved
Bit 1
Safety Input 9
Bit 0
Safety Input 0
Muting Lamp 7 Muting Lamp 3 Status Status
Muting Lamp 7 Muting Lamp 3 Status Status
Reserved
Safety Input Safety Input 13 12
Safety Output Safety 6 Status Output 5 Status
Reserved
Safety Input Safety Input 11 10
Safety Output Safety 4 Status Output 3 Status
Safety Input 9 Status
Safety Output Safety Output 1 Safety Output 2 Status Status 0 Status Muting Lamp 7 Muting Lamp 3 Status Status
Rockwell Automation Publication 1791DS-UM001J-EN-P - May 2013
Muting Lamp 7 Muting Lamp 3 Status Status
153
Page 154
Appendix A
Get Point Status from Modules by Using Explicit Messaging
Table 20 - Input Data for 1732DS-IB8, 1732DS-IB8XOBV4, 1791DS-IB8XOBV4, 1791DS-IB16 Modules (continued) Instance Hex Module (decimal)
Byte
Bit 7
364 (868)
0
Safety Input Safety Input 6 Safety Input Safety Input 4 Safety Input Safety Input 2 Safety Input 1 7 5 3
Safety Input 0
1
Safety Input Safety Input 6 Safety Input Safety Input 4 Safety Input Safety Input 2 Safety Input 1 7 Status Status 5 Status Status 3 Status Status Status
Safety Input 0 Status
2
Test Output 7 Test Output 6 Test Output 5 Test Output 4 Test Output 3 Test Output 2 Test Output 1 Status Status Status Status Status Status Status
Test Output 0 Status
3
Reserved
0
Standard Output 7
Standard Output 6
Standard Output 5
Standard Output 4
Standard Output 3
Standard Output 2
Standard Output 1
Standard Output 0
1
Standard Output 15
Standard Output 14
Standard Output 13
Standard Output 12
Standard Output 11
Standard Output 10
Standard Output 9
Standard Output 8
2
Safety Input Safety Input 6 Safety Input Safety Input 4 Safety Input Safety Input 2 Safety Input 1 7 Status Status 5 Status Status 3 Status Status Status
3
Safety Input Safety Input 15 Status 14 Status
Safety Input 9 Status
Safety Input 8 Status
4
Test Output 7 Test Output 6 Test Output 5 Test Output 4 Test Output 3 Test Output 2 Test Output 1 Status Status Status Status Status Status Status
Test Output 0 Status
5
Test Output 15 Status
Test Output 14 Status
Test Output 13 Status
Test Output 12 Status
Test Output 11 Status
Test Output 8 Status
6
Reserved
Reserved
Reserved
Reserved
Muting Lamp Muting Lamp Muting Lamp 7 Muting Lamp 3 15 Status 11 Status Status Status
0
Safety Input Safety Input 6 Safety Input Safety Input 4 Safety Input Safety Input 2 Safety Input 1 7 5 3
Safety Input 0
1
Safety Input Safety Input 6 Safety Input Safety Input 4 Safety Input Safety Input 2 Safety Input 1 7 Status Status 5 Status Status 3 Status Status Status
Safety Input 0 Status
2
Safety Output 7 Status
3
Safety Output Safety Output Safety 7 Readback 6 Readback Output 5 Readback
4
Test Output 7 Test Output 6 Test Output 5 Test Output 4 Test Output 3 Test Output 2 Test Output 1 Status Status Status Status Status Status Status
5
Reserved
0
Reserved
Input Power Error
1
Test Output 7 Test Output 6 Test Output 5 Test Output 4 Test Output 3 Test Output 2 Test Output 1 Status Status Status Status Status Status Status
Test Output 0 Status
0
Reserved
Input Power Error
1
Test Output 7 Test Output 6 Test Output 5 Test Output 4 Test Output 3 Test Output 2 Test Output 1 Status Status Status Status Status Status Status
Test Output 0 Status
2
Test Output 15 Status
Test Output 8 Status
365 (869)
374 (884)
384 (900)
385 (901)
154
1732DS-IB8, 1732DSIB8XOBV4, 1791DSIB8XOBV4
1791DS-IB16
1732DS-IB8XOBV4, 1791DS-IB8XOBV4
1732DS-IB8
1791DS-IB16
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Muting Lamp 7 Muting Lamp 3 Status Status
Safety Input Safety Input 13 Status 12 Status
Safety Output Safety 6 Status Output 5 Status
Safety Input Safety Input 11 Status 10 Status
Safety Output Safety 4 Status Output 3 Status
Test Output 10 Status
Test Output 9 Status
Safety Input 0 Status
Safety Output Safety Output 1 Safety Output 2 Status Status 0 Status
Safety Output Safety Output Safety Output Safety Output 1 Safety Output 0 4 Readback 3 Readback 2 Readback Readback Readback Test Output 0 Status
Muting Lamp 7 Muting Lamp 3 Status Status
Test Output 14 Status
Test Output 13 Status
Test Output 12 Status
Test Output 11 Status
Rockwell Automation Publication 1791DS-UM001J-EN-P - May 2013
Test Output 10 Status
Test Output 9 Status
Page 155
Get Point Status from Modules by Using Explicit Messaging
Appendix A
Table 20 - Input Data for 1732DS-IB8, 1732DS-IB8XOBV4, 1791DS-IB8XOBV4, 1791DS-IB16 Modules (continued) Instance Hex Module (decimal)
Byte
Bit 7
394 (916)
0
Reserved
1732DS-IB8XOBV4, 1791DS-IB8XOBV4
3A4 (932)
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Output Power Error
Input Power Error
1
Test Output 7 Test Output 6 Test Output 5 Test Output 4 Test Output 3 Test Output 2 Test Output 1 Status Status Status Status Status Status Status
Test Output 0 Status
0
Reserved
Input Power Error
1
Safety Output Safety Output Safety 7 Readback 6 Readback Output 5 Readback
2
Test Output 7 Test Output 6 Test Output 5 Test Output 4 Test Output 3 Test Output 2 Test Output 1 Status Status Status Status Status Status Status
Output Power Error
Safety Output Safety Output Safety Output Safety Output 1 Safety Output 0 4 Readback 3 Readback 2 Readback Readback Readback Test Output 0 Status
Table 21 - Output Data for 1791DS-IB8XOBV4, 1732DS-IB8, 1732-IB8XOBV4 Modules Instance Hex (decimal)
Module
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
22 (34)
1791DS-IB8XOBV4, 1732DS-IB8, 1732IB8XOBV4
0
Standard Output 7
Standard Output 6
Standard Output 5
Standard Output 4
Standard Output 3
Standard Output 2
Standard Output 1
Standard Output 0
23 (35)
1791DS-IB16
0
Standard Output 7
Standard Output 6
Standard Output 5
Standard Output 4
Standard Output 3
Standard Output 2
Standard Output 1
Standard Output 0
1
Standard Output 15
Standard Output 14
Standard Output 13
Standard Output 12
Standard Output 11
Standard Output 10
Standard Output 9
Standard Output 8
234 (564)
1791DS-IB8XOBV4, 1732- 0 IB8XOBV4
Safety Output 7
Safety Output Safety 6 Output 5
Safety Output Safety 4 Output 3
Safety Output Safety 2 Output 1
Safety Output 0
2C4 (708)
1791DS-IB8XOBV4, 1732- 0 IB8XOBV4
Safety Output 7
Safety Output Safety 6 Output 5
Safety Output Safety 4 Output 3
Safety Output Safety 2 Output 1
Safety Output 0
1
Standard Output 7
Standard Output 6
Standard Output 4
Standard Output 2
Standard Output 0
Standard Output 5
Standard Output 3
Standard Output 1
Explicit Messages Table 22 - Reading the Cause of the Safety Input Error Explicit Message
Read/ Write
Function
Command (hex)
Safety Input Cause of Error Information Read
Read
Reads the cause for the status bit 0E (1…n) specified by the Instance ID turning OFF.
Service Code
Response (hex)
Class ID
Instance ID Attribute ID Data Size
3D
01…n
6E
-
Rockwell Automation Publication 1791DS-UM001J-EN-P - May 2013
0: No error 01: Configuration invalid 02: External test signal error 03:Internal input error 04: Discrepancy error 05: Error in the other dual channel input
155
Page 156
Appendix A
Get Point Status from Modules by Using Explicit Messaging
Table 23 - Reading the Cause of the Safety Output Error Explicit Message
Read/ Write
Safety Output Cause of Read Error (Fault) Information
Function
Command (hex) Service Code
Reads the cause for the 0E status bit (1…n) specified by the Instance ID turning OFF.
Response (hex)
Class ID
Instance ID
Attribute ID Data Size
3B
01…n
6E
-
0: No error 01: Configuration invalid 02: Over current detected 03: Short circuit detected 04: Output ON error 05: Error in the other dual-channel output 06: Internal-relay output circuit error (replace module) 07: Relay failure (replace relay) 08: Dual-channel violation 09: Short circuit detected at safety output
Table 24 - Monitoring the Test Output Point Explicit Message
Test Output Cause of Error (Fault) Information
Read/ Write
Function
Command (hex)
Read
Reads the cause for the 0E status bit (1…n) specified by the Instance ID turning OFF.
Service Code
Response (hex)
Class ID
Instance ID
Attribute ID
Data Size
09
01…n
76
-
0 = No error 01: Configuration invalid 02: Overload detected 03: Cross circuit detected 05: Output ON error 06: Undercurrent detected for muting lamp
-
Table 25 - Setting Hold/Clear for Communication Errors (Test Output) Explicit Message
Read/ Write
Function
Command (hex) Service Code
Class ID
Instance ID
Attribute ID
Response (hex) Data Size
Setting for Output Status Read (Hold or Clear) after Communication Error
Reads whether hold or clear is 0E set as the output status after a communication error for an output specified by the instance ID. The setting can be read for a specified number of points.
09
01…08
05
-
Setting for Output Status Write (Hold or Clear) after Communication Error
Sets whether hold or clear as 10 the output status after a communication error for an output specified by the instance ID. The setting can be read for a specified number of points.
09
01…08
05
1 byte 00: Clear 01: Hold
156
Rockwell Automation Publication 1791DS-UM001J-EN-P - May 2013
1 byte 00: Clear 01: Hold
Page 157
Get Point Status from Modules by Using Explicit Messaging
Basic Format of Explicit Messages
Appendix A
The basic format of each command and response is as follows. Table 26 - Command Block Destination Node Address
Service Code
Class ID
Instance ID
Attribute ID
Data
· Destination Node Address - The node address of the module that is sending the explicit messages is specified with a 1 byte hexadecimal. · Service Code, Class ID, Instance ID, Attribute ID - The parameters used for specifying the command, processing object, and processing content. · Data - Data is not required when the read command is used. Table 27 - Normal Response Block Number of Bytes Received
Source Node Address
Service Code
Data
Service Code
Error Code
Table 28 - Error Response Block Number of Bytes Received 0004 hex (fixed)
Source Node Address
· Number of Bytes Received - The number of bytes received from the source node address is returned in hexadecimal. When an error response is returned for an explicit message, the number of bytes is always 0004 hex. · Source Node Address - The node address of the node from which the command was sent is returned in hexadecimal. · Service Code - For normal completions, the service code specified in the command with the leftmost bit turned ON is stored as shown in the See Function, Command Service Code, and Response Service Code on page 157. Table 29 - Function, Command Service Code, and Response Service Code Function
Command Service Code (hex)
Response Service Code (hex)
Read Data
10
90
Write Data
0E
8E
Reset
05
85
Save
16
96
When an error response is returned for an explicit message, the value is always 94 hex. · Data - Read data is included only when a read command is executed. · Error code - The explicit message error code
Rockwell Automation Publication 1791DS-UM001J-EN-P - May 2013
157
Page 158
Appendix A
Get Point Status from Modules by Using Explicit Messaging
.
Table 30 - Error Codes Response Code (hex)
Error Name
Cause
08FF
Service not supported
The service code is incorrect.
09FF
Invalid attribute value
The specified attribute value is not supported. The data written was outside valid range.
16FF
Object does not exist
The specified instance ID is not supported.
15FF
Too much data
The data is larger than the specified size.
13FF
Not enough data
The data is smaller than the specified size.
0CFF
Object state conflict
The specified command cannot be executed due to an internal error.
20FF
Invalid parameter
The specified operation command data is not supported.
0EFF
Attribute is not setable
An attribute ID supported only for reading has been executed for a write service code.
10FF
Device state conflict
The specified command cannot be executed due to an internal error.
14FF
Attribute not supported
The specified attribute is not supported.
19FF
Store operation failure
The data cannot be stored in memory.
2AFF
Group 2 only server general failure
The specified command or attribute is not supported or the attribute was not set.
Explicit Messages Table 31 - Reading General Status Explicit Message Read/ Write
Function
Command (hex)
General Status Read Read
Read the specified Slave’s status flags (8 bits).
Response
Service Code
Class ID Instance ID Attribute ID
Data Size
0E
95
-
01
65
1 byte Bit 0: Input power error Bit 1: Output power error Bit 2…7: Reserved
Table 32 - Setting and Monitoring a Safety Input Explicit Message
Read/ Write
Function
Safety Input Cause of Error Information Read
Read
Reads the cause for the normal flag (1…12) specified by the Instance ID turning OFF.
158
Command (hex)
Response (hex)
Service Code
Class ID Instance ID Attribute ID Data Size
0E
3D
01…0C
6E
-
Rockwell Automation Publication 1791DS-UM001J-EN-P - May 2013
0: No error 01: Configuration invalid 02: External test signal error 03:Internal input error 04: Discrepancy error 05: Error in the other dual channel input
Page 159
Get Point Status from Modules by Using Explicit Messaging
Appendix A
Table 33 - Setting a Safety Output Explicit Message
Read/ Write
Safety Output Cause of Read Error (Fault) Information
Function
Command (hex) Service Code
Reads the cause for the 0E normal flag (1…8) specified by the Instance ID turning OFF.
Response (hex)
Class ID Instance ID
Attribute ID Data Size
3B
6E
-
Class ID Instance ID
Attribute ID
Data Size
09
6E
-
01…08
0: No error 01: Configuration invalid 02: Over current detected 03: Short circuit detected 04: Output ON error 05: Error in the other dual channel output 06: Internal-relay output circuit error (replace module) 07: Relay failure (replace relay) 08: Dual channel violation 09: Short circuit detected at safety output
Table 34 - Monitoring the Test Output Point Explicit Message
Read/ Write
Safety Output Cause of Read Error (Fault) Information
Function
Command (hex) Service Code
Reads the cause for the 0E normal flag (1…8) specified by the Instance ID turning OFF.
Response (hex)
01…04
0 = No error 01: Configuration invalid 02: Overload detected 03: Cross circuit detected 05: Output ON error 06: Undercurrent detected for muting lamp
Table 35 - Setting Hold/Clear for Communication Errors (Test Output) Explicit Message
Read/ Write
Function
Command (hex) Service Code
Response (hex)
Class ID Instance ID
Attribute ID
Data Size
Setting for Output Status Read (Hold or Clear) after Communication Error
Reads whether hold or clear is 0E set as the output status after a communication error for an output specified by the instance ID. The setting can be read for a specified number of points.
09
01…08
05
-
1 byte 00: Clear 01: Hold
Setting for Output Status Write (Hold or Clear) after Communication Error
Sets whether hold or clear as 10 the output status after a communication error for an output specified by the instance ID. The setting can be read for a specified number of points.
09
01…08
05
1 byte 00: Clear 01: Hold
-
Rockwell Automation Publication 1791DS-UM001J-EN-P - May 2013
159
Page 160
Appendix A
Get Point Status from Modules by Using Explicit Messaging
Notes:
160
Rockwell Automation Publication 1791DS-UM001J-EN-P - May 2013