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

The text of a manual · part 3 of 27

ControlLogix Digital I/O Modules User Manual: ControlLogix Digital I/O Modules User Manual, pages 21 to 30

Pages 21 to 30 of 258, from ControlLogix Digital I/O Modules User Manual

The original document is the PDF (7.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 1756-OB16E

Page 21

Digital I/O Operation in the ControlLogix System

Connections

Chapter 2

With ControlLogix I/O modules, a connection is the data transfer link between a controller and an I/O module. A connection can be one of these types: • Direct • Rack-optimized This table lists the advantages and disadvantages of each connection type. Connection Type

Advantages

Disadvantages

Direct

All input and data echo information is transferred, including diagnostic information and fusing data.

With more data transferring over the network, your system does not operate as efficiently as with rack connections.

Rack-optimized

Connection usage is economized. The owner-controller has a single RPI value for each connection.

Input and data echo information is limited to general faults and data.

Direct Connections A direct connection is a real-time data transfer link between the controller and the device that occupies the slot that the configuration data references. When module configuration data is downloaded to an owner-controller, the controller attempts to establish a direct connection to each of the modules that is referenced by the data. If a controller has configuration data referencing a slot in the control system, the controller periodically checks for the presence of a device there. When the presence of a device is detected there, the controller automatically sends the configuration data. If the data is appropriate to the module found in the slot, a connection is made and operation begins. If the configuration data is not appropriate, the data is rejected and an error message appears in the software. In this case, the configuration data can be inappropriate for any of a number of reasons. For example, module configuration data may be appropriate except for a mismatch in electronic keying that prevents normal operation. The controller maintains and monitors its connection with a module. Any break in the connection causes the controller to set fault status bits in the data area associated with the module. Breaks in the connection can be caused by a module fault or the removal of the module from the chassis while under power. Logix Designer monitors fault status bits to annunciate module failures.

Rockwell Automation Publication 1756-UM058I-EN-P - December 2017

21

Page 22

Chapter 2

Digital I/O Operation in the ControlLogix System

Rack-optimized Connections When a digital I/O module is in a remote chassis with respect to its ownercontroller, you may be able to choose Rack Optimization or Listen-only Rack Optimization during module configuration. The option you choose depends on the communication module configuration. If the communication module uses Listen-only Rack Optimization, then the I/O module must also use Listen-only Rack Optimization. A rack-optimized connection economizes bandwidth between ownercontrollers and digital I/O modules in the remote chassis. Rather than having several direct connections with individual RPI values, an owner-controller has a single rack connection with a single RPI value. That RPI value accommodates all digital I/O modules in the remote chassis. IMPORTANT

Because rack-optimized connections are applicable only in applications that use a remote chassis, you must configure the communication format , as described in Chapter 7, for both the remote I/O module and the remote 1756-CNB module or EtherNet/IP module. Make sure you configure both modules for rack optimization. If you choose a different communication format for each module, the controller makes two connections to the same chassis (one for each format) and the same data travels across the ControlNet network. If you use rack optimization for both modules, you preserve bandwidth and configure your system to operate more efficiently.

The input, or data echo, information is limited to general faults and data. No additional status, such as diagnostic information, is available. IMPORTANT

Each controller can establish connections, in any combination of direct or rack-optimized. In other words, you can use a rack-optimized connection between an owner-controller and multiple remote I/O modules while simultaneously using a direct connection between that same controller and any other I/O modules in the same remote chassis.

Figure 2 shows how a rack-optimized connection eliminates the need for three separate connections. The owner-controller in the local chassis communicates with all the I/O modules in the remote chassis but uses only one connection. The ControlNet communication module sends data from the modules simultaneously at the RPI.

22

Rockwell Automation Publication 1756-UM058I-EN-P - December 2017

Page 23

Digital I/O Operation in the ControlLogix System

Chapter 2

Figure 2 - Rack-optimized Connection Local Chassis

Remote Chassis

One Connection for All Remote I/O

ControlNet Network 41021

Suggestions for Rack-optimized Connections We recommend that you use a rack-optimized connection for these applications: • Standard digital I/O modules • Non-fused digital output modules • Owner-controllers running low on connections IMPORTANT

Input Module Operation

Rack-optimized connections are available only to digital I/O modules. However, do not use a rack-optimized connection for diagnostic I/O modules or fused output modules. Diagnostic and fused output data is not transferred over a rack-optimized connection. This defeats the purpose of using those modules.

In traditional I/O systems, controllers poll input modules to obtain their input status. In the ControlLogix system, a controller does not poll digital input modules. Instead, the modules multicast their data either upon change of state (COS) or requested packet interval (RPI). The frequency depends on the options chosen during configuration and whether the input module is local or remote. This method of communication uses the Producer/Consumer model. The input module is the producer of input data and the controller is the consumer of the data. All ControlLogix inputs are updated asynchronously in relation to the controller’s task execution. In other words, an input may be updated in the controller at any time during the controller’s execution of the tasks it is configured to run. The input device determines when the input is sent based on its configuration.

Rockwell Automation Publication 1756-UM058I-EN-P - December 2017

23

Page 24

Chapter 2

Digital I/O Operation in the ControlLogix System

The behavior of an input module also varies depending upon whether it operates in the local chassis or in a remote chassis. The following sections detail the differences in data transfers between local and remote installations.

When a module resides in the same chassis as the owner-controller, these two configuration parameters affect how and when an input module multicasts data: • Requested packet interval (RPI) • Change of state (COS)

Input Modules in a Local Chassis

RPI The RPI defines the slowest rate at which a module multicasts its data to the owner-controller. The time ranges from 200 µs…750 ms and is sent to the module with all other configuration parameters. When the specified time frame elapses, the module multicasts data. This is also called a cyclic update.

COS COS instructs the module to transfer data whenever a specified input point transitions from On to Off or Off to On. The transition is referred to as a change of state. IMPORTANT

The module COS feature defaults to Enabled for both On-to-Off and Off-to-On.

COS configuration occurs on a per-point basis, but all module data is multicast when any point enabled for COS changes state. COS is more efficient than RPI because it multicasts data only when a change occurs. IMPORTANT

You must specify an RPI regardless of whether you enable COS. If a change does not occur within the RPI timeframe, the module still multicasts data at the rate specified by the RPI.

For example, if an input is changing state consistently every two seconds and the RPI is set at 750 ms, the data transfer looks like the illustration.

= COS Multicast 250 = RPI Multicast

24

500

750

1250 1 Second

1500

1750

2250 2 Seconds

Rockwell Automation Publication 1756-UM058I-EN-P - December 2017

2500

2750 3 Seconds

3250 41381

Page 25

Digital I/O Operation in the ControlLogix System

Chapter 2

Because the RPI and COS functions are asynchronous to the program scan, it is possible for an input to change state during program scan execution. The point must be buffered to prevent this from occurring. To buffer the point, you can copy the input data from your input tags to another structure and use the data from there. TIP

To minimize traffic and conserve bandwidth, use a larger RPI value if COS is enabled and the module is in the same chassis as its owner-controller.

Trigger Event Tasks When configured, ControlLogix digital input modules can trigger an event task. The event task lets you execute a section of logic immediately when an event, or receipt of new data, occurs. Your ControlLogix digital I/O module can trigger event tasks whenever module input data changes state. Refer to these considerations when using a digital input module to trigger an event task: • Only one input module can trigger a specific event task. • Input modules trigger the event task based on the module COS configuration. The COS configuration defines which points prompt the module to produce data if they turn On or Off. This production of data triggers the event task. • Typically, enable COS for only one point on the module. If you enable COS for multiple points, a task overlap of the event task may occur. For more information on event tasks, refer to the Logix5000 Controllers Tasks, Programs, and Routines Programming Manual, publication 1756-PM005.

Input Modules in a Remote Chassis

If an input module physically resides in a chassis other than where the owner-controller resides, the role of the RPI and the module COS behavior changes slightly with respect to getting data to the owner. The RPI and COS behavior still define when the module multicasts data within its own chassis, as described in the previous section. But, only the value of the RPI determines when the owner-controller receives it over the network.

Rockwell Automation Publication 1756-UM058I-EN-P - December 2017

25

Page 26

Chapter 2

Digital I/O Operation in the ControlLogix System

Remote Input Modules Connected via the ControlNet Network When an RPI value is specified for an input module in a remote chassis connected by a scheduled ControlNet network, in addition to instructing the module to multicast data within its own chassis, the RPI also reserves a spot in the stream of data flowing across the ControlNet network. The timing of this reserved spot may or may not coincide with the exact value of the RPI. But, the control system guarantees that the owner-controller receives data at least as often as the specified RPI. As shown in Figure 3, the input data within the remote chassis is multicast at the configured RPI. The ControlNet communication module sends input data back to the owner-controller at least as often as the RPI. Figure 3 - Remote Input Modules on ControlNet Network Local Chassis

Remote Chassis

Multicast Data

ControlNet Network 40947

The module RPI and reserved spot on the network are asynchronous to each other. This means there are best and worst case scenarios as to when the owner-controller receives updated data from the module in a remote chassis.

Best Case RPI Multicast Scenario In the best case scenario, the module performs an RPI multicast with updated channel data just before the reserved network spot is made available. In this case, the remotely-located owner receives the data almost immediately.

26

Rockwell Automation Publication 1756-UM058I-EN-P - December 2017

Page 27

Digital I/O Operation in the ControlLogix System

Chapter 2

Worst Case RPI Multicast Scenario In the worst case scenario, the module performs an RPI multicast just after the reserved network slot has passed. In this case, the owner-controller does not receive data until the next available network slot. IMPORTANT

Enabling the COS feature on an input module in a remote chassis lets the module multicast data at both the RPI rate and when the input changes state. This helps to reduce the worst case time.

When selecting values for the remote module RPI, system throughput is optimized when its RPI value is a power of two times the current NUT running on the ControlNet network. For example, Table 2 shows recommended RPI values for a system by using a NUT of 5 ms. Table 2 - Recommended RPI Values for System by Using NUT of 5 ms NUT=5 ms x20 x21 x22 x23 x24 x25 x26 x27

Optimal RPI Values (ms)

5 ms

10 ms

20 ms

40 ms

80 ms

160 ms

320 ms

640 ms

Remote Input Modules Connected via the EtherNet/IP Network When remote digital input modules are connected to the owner-controller via an EtherNet/IP network, data is transferred to the owner-controller at these times: • At the RPI, the module produces data within its own chassis. • At the COS (if enabled), the 1756 EtherNet/IP communication module in the remote chassis immediately sends the module data over the network to the owner-controller as long as it has not sent data within a time frame that is one-quarter the value of the digital input module RPI. This helps prevent flooding the network with data. For example, if a digital input module uses an RPI = 100 ms, the EtherNet/IP module sends module data immediately on receiving it if another data packet was not sent within the last 25 ms. For more information about specifying an RPI rate, see the Logix5000 Controllers Design Considerations Reference Manual, publication 1756-RM094.

Rockwell Automation Publication 1756-UM058I-EN-P - December 2017

27

Page 28

Chapter 2

Digital I/O Operation in the ControlLogix System

Output Module Operation

An owner-controller sends output data to an output module when either one of two things occur: • At the end of every one of its tasks (local chassis only) • At the rate specified in the module RPI When an output module resides in a remote chassis with respect to the ownercontroller, the owner-controller sends data to the output module only at the RPI rate that is specified for the module. Updates are not performed at the end of the owner-controller’s tasks. Whenever the module receives data from the controller, it immediately multicasts the output commands it received to the rest of the system. The actual output data is echoed by the output module as input data and multicast back out onto the network. This is called output data echo. IMPORTANT

Output Modules in a Local Chassis

In this Producer/Consumer model, the output module is the consumer of the controller’s output data and the producer of the data echo.

The owner-controller updates ControlLogix digital output modules in the local chassis at the end of every task and at the RPI. When you specify an RPI value for a digital output module, you instruct the owner-controller when to broadcast the output data to the module. If the module resides in the same chassis as the owner-controller, as shown in Figure 4, the module receives the data almost immediately after the ownercontroller sends it. Backplane transfer times are small. Figure 4 - Local Output Modules

Data is sent at the end of every task and at the RPI.

40949

Depending on the value of the RPI with respect to the length of the program scan, the output module can receive and echo data multiple times during one program scan.

28

Rockwell Automation Publication 1756-UM058I-EN-P - December 2017

Page 29

Digital I/O Operation in the ControlLogix System

Chapter 2

If an output module physically resides in a chassis other than that of the owner-controller, the owner-controller normally sends data to the output module at the RPI rate specified. Updates are not performed at the end of the controller’s tasks.

Output Modules in a Remote Chassis

In addition, the role of the RPI for a remote output module changes slightly with respect to getting data from the owner-controller.

Remote Output Modules Connected via the ControlNet Network When an RPI value is specified for an output module in a remote chassis connected to the owner-controller by a scheduled ControlNet network, in addition to instructing the owner-controller to multicast the output data within its own chassis, the RPI also reserves a spot in the stream of data flowing across the ControlNet network. The timing of this reserved spot may or may not coincide with the exact value of the RPI. But, the control system guarantees that the output module receives data at least as often as the specified RPI, as shown in Figure 5. Figure 5 - Remote Output Modules on ControlNet Network Local Chassis

Remote Chassis

Data is sent from the owner-controller.

Output data is sent at least as often as RPI.

ControlNet Network 42675

The reserved spot on the network and the output data sent by the controller are asynchronous to each other. This means there are best and worst case scenarios as to when the owner-controller receives updated data from the module in a remote chassis.

Best Case RPI Multicast Scenario In the best case scenario, the owner-controller sends the output data just before the reserved network slot is made available. In this case, the remote output module receives the data almost immediately.

Rockwell Automation Publication 1756-UM058I-EN-P - December 2017

29

Page 30

Chapter 2

Digital I/O Operation in the ControlLogix System

Worst Case RPI Multicast Scenario In the worst case scenario, the owner-controller sends the output data just after the reserved network slot has passed. In this case, the output module does not receive data until the next available network slot. IMPORTANT

These best and worst case scenarios indicate the time that is required for output data to transfer from the owner-controller to the module once the owner-controller has produced it. They do not take into account the user program time in the owner-controller. The receipt of new data is a function of the length of the user program and its asynchronous relationship with the RPI. The owner-controller updates remote output modules at the end of each task and at the RPI, as described earlier in this section, if your application uses these components: • 1756-CNB/D or 1756-CNBR/D modules • Studio 5000 Logix Designer® application

Remote Output Modules Connected via the EtherNet/IP Network When remote digital output modules are connected to the owner-controller via an EtherNet/IP network, the controller sends output data at these times: • When the RPI timer expires • When an Immediate Output (IOT) instruction, if programmed, is executed An IOT sends data immediately and resets the RPI timer. • When a new schedule is created for a 1756-OB16IEFS module from the motion planner for a cam that has been armed by an MAOC instruction Because the 1756-OB16IEFS module is the only 1756 module that can be used in a remote chassis with the MAOC instruction, it is the only module that receives output data in this scenario.

30

Rockwell Automation Publication 1756-UM058I-EN-P - December 2017