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

Page 83

Advertising
background image

Publication 1756-UM528A-EN-P - April 2004

Using The Sequence of Events Module in CST Per Point Mode 6-11

Figure 6.3 shows when to use the COP instruction. In this example,
the Sequence of Events module timestamped a transition on input 1
and is sending input data to the controller at each RPI. The controller
copies input data from the controller tags to a separate data structure.

Figure 6.3

Your application determines what input data should be copied from
the controller tags to a separate data structure. Although you can copy
all the input data to another array, typically, only the data from
specific tags is copied.

Figure 6.4 shows an example of ladder logic in which the controller
only moves OFF to ON timestamp data for inputs 0 to 3 from the
controller tags to a separate data structure named myarray. The data
in the myarray structure is then moved to another array used to sort
the data. In this example, 32 bits of each 64-bit timestamp are moved
to the new array.

Figure 6.4

0 0 0 0 0 0 0
0 0 0 0 0 0 0

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

0 0 0 0 0 0 0
0 0 0 0 0 0 0

0 0 0 0 0 0 0
0 0 0 0 0 0 0

I.Fault

I.EventOverlow
I.ReturningUCTTime
I.EventNumber
I.Timestamp[16].OffOn[2]
I.Timestamp[16].OnOff[2]

I.Data
I.NewData

42796

1. Input 2 transitions

from OFF to ON.

2. Module timestamps

the transition.

3. Module sends input

data to the controller.

Sequence of Events module

ControlLogix controller

Controller tags

Separate array

4. Controller

copies
relevant
data from
controller
tags to a
separate
array.

I.Fault

I.EventOverlow

I.ReturningUCTTime
I.EventNumber
I.Timestamp[16].OffOn[2]
I.Timestamp[16].OnOff[2]

I.Data
I.NewData

Advertising
This manual is related to the following products: