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

Page 102

Advertising
background image

Publication 1756-UM528A-EN-P - April 2004

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

Figure 7.3 shows when to use the COP or CPS instruction. In this
example, the Sequence of Events module has produced current event
data for the controller at the RPI.

The controller copies the relevant input data from the controller tags
to a separate data structure.

Figure 7.3

Figure 7.4 shows an example of ladder logic in which the controller
only moves the input number (I.EventPoint) and copies the CST
timestamp (I.CSTTimestamp) from the controller tags to a separate
data structure named Fifo_ExtractData[Index].

Figure 7.4

0 1 1 0 0 1 0
1 1 0 0 1 1 0
0 1 0 0 0 1 0
1 1 0 0 1 1 0
1 0 1 0 0 1 0
1 1 0 0 1 1 0
1 0 1 0 0 1 1
0 0 0 0 1 1 0
1 1 0 0 1 0 1

1 0 0 1 1 1 0
1 1 1 0 0 1 1

I.Fault

I.EventOverlow
I.EventNumber
I.CSTTimestamp[2]
I.UCTTimestamp[2]
I.EventPoint

I.Data
I.NewData

43811

2. Module produces

current event data.

Sequence of Events module

ControlLogix controller

1. Module stores data

in on-board buffer.

Current event

I.EventData
I.ReturningUCTTime
I.EventsQueuedCount

I.Fault

I.EventOverlow
I.EventNumber
I.CSTTimestamp[2]
I.UCTTimestamp[2]
I.EventPoint

I.Data
I.NewData

I.EventData
I.ReturningUCTTime
I.EventsQueuedCount

Controller tags

Separate array

3. Controller

copies
relevant
data from
controller
tags to a
separate
array.

Advertising
This manual is related to the following products: