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

The text of a manual · part 4 of 19

ControlLogix Sequence of Events Module 1756-IB16ISOE (24/48V dc), 1756-IH16ISOE (125V dc) User Manual: 2 - How Does the Sequence of Events Module Operate in a ControlLogix System?

Pages 17 to 26 of 160, from ControlLogix Sequence of Events Module 1756-IB16ISOE (24/48V dc), 1756-IH16ISOE (125V dc) User Manual

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

Filed in the catalog under the Allen-Bradley 1756-IB16

Page 17

Chapter

2

How Does the Sequence of Events Module Operate in a ControlLogix System?

What This Chapter Contains

This chapter describes how the Sequence of Events module operates in a ControlLogix system. Table 2.1 For information on:

Differences Between Sequence of Events Module and Standard Digital I/O

See page:

Ownership

2-2

Using RSNetWorx and RSLogix 5000

2-2

Propagating a Signal From Field Device to Backplane

2-4

Sequence of Events Module in a Local Chassis

2-6

Sequence of Events Module in a Remote Chassis

2-8

In many aspects, the Sequence of Events module behaves the same as other ControlLogix digital input modules. However, the module offers several significant differences from other ControlLogix digital input modules, including those described in Table 2.2:

Table 2.2 Difference:

Description:

Additional data produced for controller

The Sequence of Events module produces significantly more data for its owner-controller than standard ControlLogix digital input modules. While other input modules only produce ON/OFF and fault status, the Sequence of Events module produces data such as ON/OFF and fault status, timestamp data, indication of whether new data was produced for specific input points or if transitions were not timestamped.

Only one owner-controller per module While multiple controllers can simultaneously own other digital input modules, the Sequence of Events module only supports a single owner-controller. Rack-optimized connections not supported

The Sequence of Events module does not support Rack-Optimized Connections from the owner-controller.

Change of State (COS) functionality in The module does support Enable CST Capture, a feature used to timestamp input transitions, that Enable CST Capture feature is analogous to COS. For more information on Enable CST Capture, see page 2-6. No listen-only connections

Controllers cannot make listen-only connections to the Sequence of Events module. All connections between the module and its owner-controller are direct connections.

Input filtering on a module-wide basis Other digital input modules offer input filtering on a per group basis. The Sequence of Events module offers two input filter settings–one for OFF to ON transitions and one for ON to OFF transitions–and is set on a module-wide basis.

1

Publication 1756-UM528A-EN-P - April 2004

Page 18

2-2

How Does the Sequence of Events Module Operate in a ControlLogix System?

Similar Functionality to Standard ControlLogix DC Input Modules

With respect to general module operation in a ControlLogix system, the Sequence of Events module operates similarly to other ControlLogix digital input modules in many ways. This chapter focuses on how the Sequence of Events module’s behavior differs from that of other ControlLogix digital input modules. However, you should be aware of aspects in which the Sequence of Events module is similar to standard ControlLogix digital input modules. For more information on these similarities, see Table 2.3.

Table 2.3 Ways that a Sequence of Events Module Behave Like Other ControlLogix Digital Input Modules Concept:

Description:

Ownership

Every Sequence of Events module in the ControlLogix system must be owned by a Logix5000 controller. This owner-controller: • stores configuration data for every module that it owns. • can be local or remote in regard to the Sequence of Events module’s position. • sends the Sequence of Events module configuration data to define the module’s behavior and begin operation with the control system. This module does not support multiple owner-controllers.

Using RSNetWorx and The I/O configuration portion of RSLogix5000, v13 or greater, generates the configuration data for each RSLogix 5000 Sequence of Events module in the control system, whether the module is located in a local or remote chassis. A remote chassis, also known as networked, contains the Sequence of Events module but not the module’s owner-controller. Remote chassis can be connected to the controller via a scheduled ControlNet or an EtherNet/IP network. Configuration data is transferred to the controller during the program download and subsequently transferred to the appropriate Sequence of Events modules. Sequence of Events modules in the local chassis, and modules in a remote chassis that is connected via the EtherNet/IP network, are ready to run as soon as the configuration data has been downloaded. However, you must run RSNetWorx for ControlNet to enable Sequence of Events modules in a scheduled ControlNet chassis. Running RSNetWorx transfers configuration data to Sequence of Events modules on scheduled ControlNet and establishes a Network Update Time (NUT) for ControlNet that is compliant with the desired communications options specified for each module during configuration. Anytime a controller references a Sequence of Events module in a scheduled ControlNet chassis, you must run RSNetWorx to configure ControlNet. Follow these general guidelines when configuring Sequence of Events modules: 1. Configure all Sequence of Events modules for a given controller using RSLogix 5000 and download that information to the controller. 2. If the module configuration data references a module in a remote chassis connected by scheduled ControlNet, run RSNetWorx. 3. After running RSNetWorx, perform an online save of the RSLogix 5000 project so the configuration information that RSNetWorx sends to the controller is saved. IMPORTANT: You must run RSNetWorx whenever a new module is added to a scheduled ControlNet chassis. When a module is permanently removed from a remote chassis, we recommend that RSNetWorx be run to optimize the allocation of network bandwidth.

Publication 1756-UM528A-EN-P - April 2004

Page 19

How Does the Sequence of Events Module Operate in a ControlLogix System?

2-3

Table 2.3 Ways that a Sequence of Events Module Behave Like Other ControlLogix Digital Input Modules Concept:

Description:

Making Connections

ControlLogix controllers can make direct or rack connections to digital I/O modules. The controller can only make a direct connection to the Sequence of Events module. The controller cannot make rack connections to the Sequence of Events module. Additionally, the controller cannot make listen-only connections to the Sequence of Events module. 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 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 a device’s presence 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, a module’s configuration data may be appropriate except for a mismatch in electronic keying. The controller maintains and monitors its connection with a module. Any break in the connection, such as module faults or removal of the module from the chassis while under power, causes the controller to set fault status bits in the data area associated with the module. RSLogix 5000 monitors connection status to annunciate the modules’ failures.

Transmitting Data

In the ControlLogix system, a controller does not poll the Sequence of Events module to obtain input status. When you configure a Sequence of Events module to capture a CST value for a specific transition, the module produces data whenever that input transitions and also at a user-configured rate. The type of input data transmitted and transmission frequency depends on module configuration and where in the control system that input module physically resides. This is called the Producer/Consumer model. The Sequence of Events module produces the input data and the controller consumes the data. All Sequence of Events module inputs are updated asynchronous 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.

Triggering Event Tasks

You can configure Sequence of Events modules to trigger an event task. The event task offers ControlLogix controller users a task that executes a section of logic immediately when an event (i.e., receipt of new, unseen, data) occurs. Your Sequence of Events module can trigger event tasks. When using a Sequence of Events module to trigger an event task, remember these considerations: • Only one input module can trigger a specific event task. • The input module triggers the event task based on the Enable CST Capture configuration for the module. The Enable CST Capture 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 CST Capture for only one point on the module. If you Enable CST Capture for multiple points, a task overlap of the event task may occur. For more information on using Event tasks, see the Logix5000 Controllers Common Procedures Programming Manual, publication 1756-PM001.

Publication 1756-UM528A-EN-P - April 2004

Page 20

2-4

How Does the Sequence of Events Module Operate in a ControlLogix System?

Propagating a Signal From Field Device to Backplane

As shown in Figure 2.1, the Sequence of Events module receives a signal at the RTB and processes it internally before sending a signal to the ControlLogix backplane via the Requested Packet Interval (RPI) or at na Enable CST Capture occurrence. However, when you operate the Sequence of Events module, you must account for signal propagation delays that exist during internal processing. Some of these delays are inherent to the module and others can be controlled via the user-defined module configuration. During processing, the following delays exist: • hardware delay - varies according to module type (i.e., catalog number) and input transition type (i.e., OFF to ON/ON to OFF) IMPORTANT

The hardware delay is relatively consistent across inputs on a module and across modules in a chassis. Therefore, assuming the inputs and modules are used in similar environmental conditions and with similar voltages applied, the hardware delay is a minor consideration affecting timestamping accuracy.

• input filter delay - user-configurable number from 0 to 50ms • firmware scan time - up to 25µs, depending on when the input transitions relative to the sample time • ASIC delay - 25µs Typically, the Sequence of Events module can deliver a signal to the ControlLogix backplane within 275µs in FIFO mode and 725µs in CST Per Point mode after it was received at the removable terminal block (RTB); these 275µs or 725µs numbers represent a scenario where the hardware delay is at maximum levels but no input filter is used. TIP

Publication 1756-UM528A-EN-P - April 2004

For fastest propagation of a signal from a field device to the controller, use the module in FIFO mode in a local chassis.

Page 21

How Does the Sequence of Events Module Operate in a ControlLogix System?

2-5

Figure 2.1 Digital signal processor

CST captured here

Hardware delay Signal applied at the RTB

Filter delay

Scan time

ASIC delay

User configurable 0 - 50ms

Up to 25µs

Typically 175µs - FIFO mode or 625µs - CST Per Point mode

1756-IB16ISOE For OFF to ON: • 10µs - nominal • 20µs - maximum

1756-IH16ISOE For OFF to ON: • 10µs - nominal • 20µs - maximum

For ON to OFF: • 25µs - nominal • 50µs - maximum

For ON to OFF: • 50µs - nominal • 75µs - maximum

EXAMPLE

Signal sent to backplane

42701

Many factors (e.g. voltage, operating temperature, if the module is turning ON or OFF) affect the signal propagation delay on a module. But a nominal delay time can be estimated. For example, if you are turning ON a 1756-IB16ISOE module at 24V dc in 25°C conditions, the signal propagation delay is affected by: • hardware delay to energize the module (nominally 10µS on this module) • user-configurable input filter time (0 to 50ms) • firmware scan time (up to 25µs) • ASIC delay (175µs - FIFO mode/625µs - CST Per Point mode) In the typical case scenario (i.e., filter time of 0ms), the module has a signal propagation delay of approximately 210µs (FIFO) to 660µs (CST Per Point).

Publication 1756-UM528A-EN-P - April 2004

Page 22

2-6

How Does the Sequence of Events Module Operate in a ControlLogix System?

Sequence of Events Module in a Local Chassis

When a Sequence of Events module resides in the local chassis (i.e., the same chassis as the owner-controller), the following two configuration parameters affect how and when an input module multicasts data: • Requested Packet Interval (RPI) • Enable CST Capture

Requested Packet Interval (RPI) This interval specifies the rate at which a module multicasts its data to the controller. The time ranges from 250µs to 750ms 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. Because each operational mode (CST Per Point or FIFO) generates a unique set of controller tags, the operational mode determines exactly what data is sent to the controller at the RPI. For more information on which tags are generated in each operational mode and, therefore, what data is sent to the controller at each RPI, see Appendix D, Using Module Tags.

Enable CST Capture Enable CST Capture instructs the Sequence of Events module to capture the CST whenever specific input points transition. You can use this feature to instruct the module to capture the CST when the inputs transition from: • OFF to ON only • ON to OFF only or • both OFF to ON and ON to OFF

Publication 1756-UM528A-EN-P - April 2004

Page 23

How Does the Sequence of Events Module Operate in a ControlLogix System?

2-7

When Enable CST Capture is enabled for specific points and transitions occur for those points, the Sequence of Events module not only captures the CST at the transition occurrence but also sends input data to the controller. Because the RPI and Enable CST Capture 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. Copy the input data from your input tags to another structure and use the data from there. TIP

IMPORTANT

To minimize traffic and conserve bandwidth, we recommend you use a larger RPI value if the Enable CST Capture option is used and the module is located in the same chassis as its owner.

All points on the Sequence of Events module have Enable Capture CST enabled by default for both ON to OFF and OFF to ON. Additionally, you must specify an RPI regardless of whether you use Enable Capture CST on any input points. The default RPI at module creation in an RSLogix 5000 project is 10ms.

Publication 1756-UM528A-EN-P - April 2004

Page 24

2-8

How Does the Sequence of Events Module Operate in a ControlLogix System?

Sequence of Events Module in a Remote Chassis

If your Sequence of Events module physically resides in a chassis other than where the owner-controller is (e.g. a remote chassis connected via ControlNet), the role of the RPI and the module’s Enable CST Capture behavior changes slightly with respect to getting data to the owner-controller. The RPI and Enable CST Capture 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.

Remote Input Module Connected Via ControlNet When a Sequence of Events module resides in a remote chassis connected by a scheduled ControlNet network, the RPI: • instructs the module to multicast data in its own chassis at a specific interval. • 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. Figure 2.2 Sequence of Events Module in Remote Chassis with Data Coming At Least as Often as RPI Owner-controller

ControlNet Bridge module

ControlNet Bridge module

Sequence of Events module

Input data multicast in module’s chassis at RPI

Input data at least as often as RPI ControlNet

Publication 1756-UM528A-EN-P - April 2004

40947

Page 25

How Does the Sequence of Events Module Operate in a ControlLogix System?

2-9

The “reserved” spot on the network and the module’s RPI are asynchronous to each other. This means there are Best and Worst Case scenarios as to when the owner-controller will receive updated channel 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 slot is made available. In this case, the owner-controller receives the data almost immediately.

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 Enable CST Capture feature on an input module in a remote chassis allows the module to multicast data at both the RPI rate and when the input changes state. This helps to reduce the Worst Case time.

Table 2.4 summarizes the Best Case and Worst Case scenarios, from the time an input changes state to the time the owner-controller will receive the data: Table 2.4 Best and Worst Case Scenarios For Remote Input Data Transfer Best case scenario

Worst case scenario

Enable CST Capture disabled

Backplane/Network transfer times (<1mS)

Twice the RPI

Enable CST Capture enabled

Backplane/Network transfer times (<1mS)

RPI

Publication 1756-UM528A-EN-P - April 2004

Page 26

2-10

How Does the Sequence of Events Module Operate in a ControlLogix System?

When selecting values for the remotely located module’s RPI, system throughput is optimized when its RPI value is a power of 2 times the current NUT running on ControlNet. For example, Table 2.5 shows recommended RPI values for a system using a NUT of 5mS: Table 2.5 Recommended RPI Values for System Using NUT of 5mS NUT=5mS x20 x21 x22 x23 x24 x25 x26 x27

Optimal RPI Values (mS)

10mS

20mS

40mS

80mS

160mS

320mS

640mS

5mS

Remote Input Modules Connected Via EtherNet/IP When the Sequence of Events module is connected to the owner-controller via an EtherNet/IP network, data is transferred to the owner-controller in the following way: • At the RPI or on an Enable CST Capture event, the module multicasts data within its own chassis. • The 1756-ENBT module in the remote chassis immediately sends the module’s data over the network to the owner-controller as long as it has not sent data within a time frame that is 1/4 the value of the digital input module’s RPI. For example, if a Sequence of Events module uses an RPI = 100ms, the 1756-ENBT module only sends module data immediately on receiving it if another data packet was not sent within the last 25ms.

Chapter Summary and What’s Next

In this chapter you read about how the Sequence of Events module operates in a ControlLogix system. Chapter 3 explains the Installing the Sequence of Events Module.

Publication 1756-UM528A-EN-P - April 2004