Rockwell Automation 1756-IH16ISOE ControlLogix Sequence of Events Module User Manual

Page 101

Advertising
background image

Publication 1756-UM528A-EN-P - April 2004

Using The Sequence of Events Module in FIFO Mode 7-15

Copying Relevant Input Data to a Separate Data Structure

At each RPI, the Sequence of Events module sends input data for
the current event to the controller; the data is stored in the
controller tags. We recommend you use a COP or CPS instruction to
programmatically copy relevant input data from the controller tags
to a separate array in the controller’s memory.

Later, you can combine data from multiple Sequence of Events
modules and use a Sort routine to determine the order of events,
with relative time reference, that occurred in a specific time period.

IMPORTANT

When the Sequence of Events module sends current
event data at the RPI, it sends data for all the tags
described in Table 7.3 on page 7-11. You typically
will only need data from specific tags, though. We
recommend you only copy data from those tags to a
separate array.

For example, if you only need data from the:

• event number (I.EventNumber.x)
• CST timestamp (I.CSTTimestamp[2])
• event point (I.EventPoint.x)
• event data (I.EventData.x)

tags for your application, we recommend you only
copy the data from those tags to a separate array.

Advertising
This manual is related to the following products: