The text of a manual · part 7 of 19
ControlLogix Sequence of Events Module 1756-IB16ISOE (24/48V dc), 1756-IH16ISOE (125V dc) User Manual: 5 - Using the Sequence of Events Module Features, pages 53 to 62
Pages 53 to 62 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 53
Chapter
5
Using the Sequence of Events Module Features
What This Chapter Contains
This chapter describes the features available on the Sequence of Events module. Table 5.1 For information on:
1
See page:
Determining Module Compatibility
5-2
Two Operational Modes
5-3
Enable CST Capture
5-5
Latch CST
5-7
Chatter Detection
5-8
Software Configurable Input Filters
5-10
Electronic Keying
5-13
Module Inhibiting
5-15
Removal and Insertion Under Power (RIUP)
5-16
Module Fault Reporting
5-16
Fully Software Configurable
5-17
Producer/Consumer Model
5-17
Status Indicator Information
5-18
Full Class I Division 2 Compliance
5-19
Agency Certifications
5-19
Publication 1756-UM528A-EN-P - April 2004
Page 54
5-2
Using the Sequence of Events Module Features
Determining Module Compatibility
Primarily, a Sequence of Events module is used to timestamp input data. However, additionally, the module interfaces to sensing devices and detects whether they are ON or OFF. The module also converts ON/OFF signals from user devices to appropriate logic level for use in the processor. Typical input devices include: • auxiliary contacts • limit switches When designing a system using Sequence of Events modules, you must consider: • the voltage necessary for your application • whether you need a solid state device • current leakage • if your application should use sinking or sourcing wiring. For more information on compatibility of other Rockwell Automation products to Sequence of Events modules, see the I/O Systems Overview, publication CIG-SO001. There are two types of features available on the Sequence of Events module: • Module Features That Can Be Configured - Features that can be adjusted to make sure the module operates as efficiently as possible in your application (e.g., input filter times) • Other Inherent Module Features - Features that cannot be changed but are still crucial to module functionality (e.g., producer/consumer model)
Publication 1756-UM528A-EN-P - April 2004
Page 55
Using the Sequence of Events Module Features
Module Features That Can Be Configured
5-3
Table 5.2 lists features on the Sequence of Events module that can be configured. Table 5.2 This feature:
is described on:
Two Operational Modes
5-3
Enable CST Capture
5-5
Chatter Detection
5-8
Software Configurable Input Filters
5-10
Latch CST
5-7
Electronic Keying
5-13
Module Inhibiting
5-15
Two Operational Modes The Sequence of Events module can operate in either of the modes described in Table 5.3: Table 5.3 Operational mode:
Description:
CST Per Point Mode
The module produces timestamps for up to 2 input transitions per input, one for OFF to ON transitions and another for ON to OFF transitions; these timestamps can occur simultaneously. This is the default setting when you add the module to an RSLogix 5000 project.
First In First Out (FIFO) Mode
The module timestamps an unlimited number of input transitions, regardless of direction (i.e., either OFF to ON or ON to OFF) or input (i.e., the same input can transition many times and the module will timestamp every transition) and stores them in an on-board buffer. The module is capable of storing the data for up to 160 input transitions in its on-board buffer at a single time. However, if you retrieve data from the buffer effectively (i.e., retrieve the data before the module timestamps greater than 160 input transitions), the module can timestamp an infinite number of input transitions. We recommend you use this mode if you want to minimize propagation delay of new input data being reported to the controller. For more information on propagation delay, see page 2-4.
Publication 1756-UM528A-EN-P - April 2004
Page 56
5-4
Using the Sequence of Events Module Features
During initial module configuration, you must choose a communication format for the module. The communication format determines the mode in which your module operates. The example screen below shows how to choose your module’s communication format and, thus, operational mode.
Use this pull-down menu to choose a communication format.
IMPORTANT
Once the module is created in your RSLogix 5000 project, you cannot change the communications format without deleting the module from the project and recreating it.
For more information on using the Sequence of Events module in CST Per Point mode, see Chapter 6. For more information on using the Sequence of Events module in FIFO mode, see Chapter 7.
Publication 1756-UM528A-EN-P - April 2004
Page 57
Using the Sequence of Events Module Features
5-5
Enable CST Capture Enable CST Capture instructs the Sequence of Events module to timestamp specific input points transitions. 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 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. IMPORTANT
All points on the Sequence of Events module have Enable Capture CST enabled by default for both ON to OFF and OFF to ON transitions. Additionally, you must specify an RPI regardless of whether you use Enable Capture CST on any input points. If a change does not occur within the RPI timeframes, the module will still multicast data at the rate specified by the RPI.
Publication 1756-UM528A-EN-P - April 2004
Page 58
5-6
Using the Sequence of Events Module Features
Use the Configuration tab in RSLogix 5000 to set Enable CST Capture, as shown in the example below.
Click the Configuration tab. • Click on the individual boxes for each input point to enable CST Capture for that point. • Clear the individual boxes for each input point to disable CST Capture for that point. You can also use these boxes to enable or disable all points simultaneously.
IMPORTANT
The basic function of Enable CST Capture (i.e., timestamp specific input transitions) occurs whether the Sequence of Events module is used in CST Per Point mode or FIFO mode. However, how the module uses the data from each transition varies slightly depending on the mode in which the module is operating. • For more information on how Enable CST Capture is used in CST Per Point mode, see page 6-7. • For more information on how Enable CST Capture is used in FIFO mode, see page 7-9.
Publication 1756-UM528A-EN-P - April 2004
Page 59
Using the Sequence of Events Module Features
5-7
Latch CST Latch CST can be used to prevent the Sequence of Events module from overwriting input data once it is timestamped. • If Latch CST is enabled, the module only timestamps a specific number of input transitions(e.g., the first transition in CST Per Point mode) and ignores future input transitions (at least until the controller clears the timestamp data already received, as described on page 6-12 and page 7-20). • If Latch CST is disabled, the module timestamps every input transition and may overwrite previously recorded timestamp data if the controller does not acknowledge the data quickly enough. This feature is set on a module-wide basis and is enabled by default. IMPORTANT
The bullets above provide a general description of how Latch CST works. However, there are slight differences between how the features affects module behavior in each operational mode. • For more information on how Latch CST is used in CST Per Point mode, see page 6-7. • For more information on how Latch CST is used in FIFO mode, see page 7-9.
Use the Configuration tab in RSLogix 5000 to enable Latch CST, as shown in the example below.
Click this box to enable the Latch CST feature. Unclick the box to disable the feature.
Publication 1756-UM528A-EN-P - April 2004
Page 60
5-8
Using the Sequence of Events Module Features
Chatter Detection To detect a faulty input device wired to the Sequence of Events module, the module can use Chatter Detection to detect a chattering signal from a device connected to one of its inputs (e.g., rapid transitions from a failed contact) and ignore the data. If not accounted for, chatter can cause the module to timestamp invalid input transitions. Typically, chattering signals cause inputs to transition falsely many times in a relatively short period of time. To configure Chatter Detection for an input, you must define an acceptable number of input transitions within a specific time period. • If the number of input transitions meets the number specified in the configured time period, the module considers the point in chatter, the input device defective and ignores the last transition (i.e., clears any timestamp data for the transition from its buffer) and all subsequent transitions while still chattering. • If the number of events in the specific time is less than your defined number, the input will not go into chatter and timestamps are produced for all transitions. • If an input is chattering, the corresponding fault bit for that input is set. • Once a point is in chatter, all transitions on that input are ignored until the point is no longer chattering; an input is no longer chattering if the configured chatter time elapses and no new transitions occur on the input.
Publication 1756-UM528A-EN-P - April 2004
Page 61
Using the Sequence of Events Module Features
5-9
Use the Configuration tab in RSLogix 5000 to configure Chatter Detection, as shown in the example below.
A. Type the number of events. Range is 2-127 events. Use 0 to disable this feature. B. Type the time (measured in milliseconds). You can use up to 10,000 milliseconds. In this example, if 5 events occur on input point 0 within any 20ms time frame, the module considers the point to be chattering.
IMPORTANT
When configuring Chatter Detection, make sure the time divided by the number of events is greater than the module’s input filter times. For example, in the example above the time (20ms) divided by the number of events (5) = 4. For Chatter Detection to work properly in this case, make sure your input filter < 4ms.
Publication 1756-UM528A-EN-P - April 2004
Page 62
5-10
Using the Sequence of Events Module Features
Software Configurable Input Filters To account for hard contact “bounce”, you can configure ON to OFF and OFF to ON input filter times in RSLogix 5000 for your Sequence of Events module. These filters define how long an input transition must remain in the new state before the module considers the transition valid. IMPORTANT
Input filters are applied to all inputs on the Sequence of Events module. You cannot apply input filters to individual inputs on the module.
When an input transition occurs, the Sequence of Events module timestamps the transition on the initial edge of the transition and stores data for the transition on-board; the module then scans the input where the transition occurred every 25µs for the length of the filter time setting to verify that the input remains in the new state (i.e., remained OFF or ON). • If the input remains in the new state for a time period equal to the filter time setting, the module sends data for the transition to the controller. • If the input changes state again (i.e., returns to the original state) before the length of time of the filter setting has elapsed, the module continues to scan that input for up to 4x the filter setting. During this continued scan period, one of the following events occurs: – At some point in the time period that is 4x the length of the input filter setting, the input returns to the transitioned state and remains there for a length of time equal to the filter setting. In this case, the module sends data from the transition to the controller. – The input does not remain in the transitioned state for a time period equal to the filter setting at any point in the time period that is 4x the length of the input filter setting. In this case, the module does not consider the original transition valid and drops the timestamp. See Figure 5.1 on page 5-11 for an example of how the Sequence of Events module’s input filters operate.
Publication 1756-UM528A-EN-P - April 2004