Use an event task to store module data – Rockwell Automation 1756-IF4FXOF2F ControlLogix High-speed Analog I/O Module User Manual

Page 104

Advertising
background image

104

Rockwell Automation Publication 1756-UM005B-EN-P - January 2013

Appendix A

Data Storage

Use an Event Task
to Store Module Data

This example shows how to store module data in controller tags by using the
following process.

1.

The module retrieves channel data.

2.

The module sends the updated channel data to the controller.

3.

The updated channel data triggers an Event task.

4.

Event task logic stores the channel data in controller tags.

To configure the data storage process described above, follow these steps.

1.

On the New Module dialog box, choose a communication format, as
described in

Choose a Communication Format on page 102

.

The examples shown in this procedure uses the CST Timestamped Float
Data communication format. However, you can use any of the three
formats with minor changes to the application logic shown in step

6

.

IMPORTANT

The example shown in this procedure uses Move (MOV) instructions to
move data to the storage location. If you use the Archiving Connection
communication format, you must move up to 20 data samples per
channel with a Synchronous Copy File (CPS) instruction instead of a
MOV instruction. For more information about the CPS instruction,
search the Knowledgebase for answer ID 50235.

Advertising