Module sends data to the controller – Rockwell Automation 1732E-OB8M8SR EtherNet/IP Dual Port 8-Point SOE Input and Scheduled Output Modules UM User Manual

Page 84

Advertising
background image

74

Rockwell Automation Publication 1732E-UM003B-EN-E - March 2014

Chapter 10 Use the Sequence of Events Input and Scheduled Output Modules

Module Sends Data to the Controller

The following figure shows an example of the module sending data to the
controller. In the example, the following occurs:

1.

Input 1 transitions from OFF to ON. (The input has Timestamp Capture
enabled).

2.

The module timestamps the transition.

3.

The module sends its input data, including the transition timestamp from
input 1, to the controller.

The Module Tags describe the data that is sent for each input. These tags are sent
to the controller the next RPI after the module timestamps a transition on any
input as well as all other RPIs. For detailed descriptions of the tags, refer to

Appendix B

.

Copy Relevant Input Data to a Separate Data Structure

When the module sends input data to the controller, the data is stored in the
controller tags. We recommend you use a COP or CPS instruction to
programmatically copy new timestamp data from the controller tags to a separate
array in the controller memory. Later, you can combine timestamp data from
multiple modules and use a Sort routine to determine the order of events, with
relative time reference, that occurred in a specific time period.

1. Input 1 transitions

from OFF to ON.

4. Module timestamps

the transition.

3. Module sends input

data to the controller.

1732E-IB8M8SOER

ControlLogix controller

I.Fault

I.OffsetTimeStamp

I.TimeStampOffOn

I.Data

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.EventOverflow

I.NewData

I.GrandMasterClockID

I.LocalClockOffset

I.TimeStampOnOff
I.EventNumber
I.SyncToMaster

IMPORTANT

When you copy relevant timestamp data from the controller
tags to a separate data structure, make sure you copy
enough information for each timestamp that you can
differentiate between timestamps for different inputs.

Advertising