Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 17 of 22

Guard I/O DeviceNet Safety Modules User Manual: A - Get Point Status from Modules by Using Explicit Messaging, pages 137 to 144

Pages 137 to 144 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 137

Appendix

A

Get Point Status from Modules by Using Explicit Messaging

Considerations for Obtaining Point Status

Topic

Page

Considerations for Obtaining Point Status

137

1791DS-IB8XOB8 Module Definition Configuration

138

1791DS-IB4XOW4 Module Definition Configuration

142

I/O Assembly and Reference Data

148

Explicit Messages

155

Basic Format of Explicit Messages

157

Explicit Messages

158

This appendix provides information about how to use explicit messaging to get diagnostic status information from the modules. To maximize throughput when using DeviceNet safety I/O modules, consider the requested packet interval, baud rate, and the size of the I/O assembly. Keeping the I/O assembly at 2-bytes or fewer does not provide individual point status necessary to quickly diagnose what point faulted from an operator terminal.

Rockwell Automation Publication 1791DS-UM001J-EN-P - May 2013

137

Page 138

Appendix A

Get Point Status from Modules by Using Explicit Messaging

To obtain individual point status of the Guard I/O module from the Module Definition dialog box, from the Input Status pull-down menu, choose Pt. Status.

TIP

1791DS-IB8XOB8 Module Definition Configuration

138

You can also obtain overall status implicitly from this dialog box by choosing Combined Status from the Input Status pull-down menu. If the Combined Status changes, use explicit messaging to obtain the point-level status.

Follow this procedure to configure the 1791DS-IB8XOB8 module definition. 1. In the Module Definition dialog box, from the Input Status pull-down menu, choose Combined Status.

Rockwell Automation Publication 1791DS-UM001J-EN-P - May 2013

Page 139

Get Point Status from Modules by Using Explicit Messaging

Appendix A

This creates a 2-byte input assembly, as shown for the 1791DS-IB8XOB8 module.

2. Use the InputStatus and OutputStatus bits to detect if one or more of the I/O points on the module have a fault. • If any input or output status bit goes to a value of 0 (0=bad, 1=good), use an explicit message to determine which individual data points have faulted. Use the InputState and OutputStatus bits to condition your msg rung as follows. • Note that the second rung can be used to read the status on mode transition and once a fault is detected, continue reading until the fault is corrected. • Place these rungs in the standard task.

Rockwell Automation Publication 1791DS-UM001J-EN-P - May 2013

139

Page 140

Appendix A

Get Point Status from Modules by Using Explicit Messaging

This figure shows the MSG instruction parameters for reading Instance 803 from the 1791DS-IB8XOB8 module.

In this example, we created a UDT from the destination type. • You can find the UDT called Assembly803_1791DS_IB8XOB8 in an ACD file. This UDT is based on the Assembly803 for 1791DS_IB8XOB8 module. • There are other assemblies in the EDS file that can be used, but this one is the most inclusive. • Make sure the Communication Path is set to the correct module.

140

Rockwell Automation Publication 1791DS-UM001J-EN-P - May 2013

Page 141

Get Point Status from Modules by Using Explicit Messaging

Appendix A

This figure shows the 1791DS-IBXOB8 Assembly803 UDT.

Rockwell Automation Publication 1791DS-UM001J-EN-P - May 2013

141

Page 142

Appendix A

Get Point Status from Modules by Using Explicit Messaging

1791DS-IB4XOW4 Module Definition Configuration

Follow this procedure to configure the 1791DS-IB4XOW4 module definition. 1. In the Module Definition dialog box, from the Input Status pull-down menu, choose Combined Status-Muting.

This creates a 1-byte input assembly, as shown for the 1791DS-IB4XOW4 module.

142

Rockwell Automation Publication 1791DS-UM001J-EN-P - May 2013

Page 143

Get Point Status from Modules by Using Explicit Messaging

Appendix A

2. Use the InputStatus and OutputStatus bits to detect if one or more of the I/O points on the module have a fault. • If any input or output status bit goes to a value of 0 (0=bad, 1=good), use an explicit message to determine which individual data points have faulted. Use the InputState and OutputStatus bits to condition your msg rung as follows. • Note that the second rung can be used to read the status on mode transition and once a fault is detected, continue reading until the fault is corrected. • Place these rungs in the standard task.

This figure shows the MSG instruction parameters for reading Instance 819 from the 1791DS-IB4XOW4 module.

In this example, we created a UDT from the destination type. • You can find the UDT called Assembly819_1791DS_IB4XOW4 in an ACD file. This UDT is based on the Assembly819 for 1791DS_IB4XOW4 module. • There are other assemblies in the EDS file that can be used, but this one is the most inclusive. • Make sure the Communication Path is set to the correct module.

Rockwell Automation Publication 1791DS-UM001J-EN-P - May 2013

143

Page 144

Appendix A

Get Point Status from Modules by Using Explicit Messaging

This figure shows the 1791DS-IB4XOW4 Assembly819 UDT.

144

Rockwell Automation Publication 1791DS-UM001J-EN-P - May 2013