Sample plc–5/250 program – Rockwell Automation 5370 CVIM Communications Manual User Manual
Page 139

Chapter 6
Using the Pyramid Integrator Backplane
6–6
The following program shows how to trigger an inspection, and/or upload an
entire CVIM configuration for archiving and later downloading.
Rung #1
Triggers the CVIM to perform an inspection using toolset#1
upon false transition of 1N0:0/00.
Rung #2
Reads the integer value of gage 1 and places value in
1N0:02.
Rung #3
One shots 1N0:1/0 when 1N0:02 has a false to true
transition.
Rung #4
Sends message to read configuration:
Class:
CVIM TW#1
Port:1
Internal Data Table Address:
0L9:0
External Data Table Address:
”>RC,CB*”
All other message parameters are not critical.
Rung #5
One shots 1N0:1/3 when 1N0:0/3 has from false to true
transition.
Rung #6
Sends message to write configuration:
Class:
CVIM TW#1
Port:1
Internal Data Table Address:
0L9:0
External Data Table Address:
”>W,CB*”
All other message parameters are not critical.
Note: See Remote I/O (Chapter 3) for converting 16.16 data to a PLC
floating point value. Also see Chapter 3 for additional sample programs, and
Chapter 5 for RS–232 commands.
The program begins on the next page.
Sample PLC–5/250 Program