Sort the data – Rockwell Automation 1732E-OB8M8SR EtherNet/IP Dual Port 8-Point SOE Input and Scheduled Output Modules UM User Manual
Page 87

Rockwell Automation Publication 1732E-UM003B-EN-E - March 2014
77
Use the Sequence of Events Input and Scheduled Output Modules Chapter 10
relevant input data to a separate structure. Now, the controller must clear the data
from the module.
In this example, to clear data from the module, the controller writes the following
to the Sequence of Events output word:
• O.EventAck = 1
• O.NewDataAck.2 = 1
If Timestamp Latch is disabled, the module sends new data, from subsequent
transitions, to the controller as soon as they occur. The controller overwrites
timestamp data from the last transition, regardless of whether it saved the data or
not.
If the controller does not acknowledge the timestamp data then the NewData bits
in the input tags remains set and the EventOverflow bit is set as well.
Sort the Data
If you need to determine the order of events that occurred in a cascade, you must
use a Sort routine to determine the order of events. Rockwell Automation offers a
sample sort routine that you can use to determine the order of events in an event
cascade.
5. Controller clears data from input 2 on the module.
O.EventAck = 1
O.NewDataAck.2 = 1
Controller tags
Separate array
4. Controller
copies
relevant
data from
controller
tags to a
separate
array.
1. Input 2 transitions
from OFF to ON.
5. Module timestamps
the transition.
3. Module sends input
data to the controller.
1732E-IB8M8SOER
ControlLogix controller
I.Fault
I.EventOverlow
I.OffsetTimeStamp
I.EventNumber
I.Timestamp[16].OffOn[2]
I.Timestamp[16].OnOff[2]
I.Data
I.NewData
I.ShortCircuit
I.OpenWire
I.GrandMasterClockID
I.LocalClockOffset
I.SyncedToMaster
I.Fault
I.OffsetTimeStamp
I.TimeStampOffOn
I.Data
I.EventOverflow
I.NewData
I.GrandMasterClockID
I.LocalClockOffset
I.TimeStampOnOff
I.EventNumber
I.SyncToMaster