22
Rockwell Automation Publication 1756-PM004D-EN-P - September 2012
Chapter 1
Communicate with I/O Modules
This example uses the CPS instruction to copy an array of data that represent the
input devices of a DeviceNet network.
EXAMPLE
Buffer I/O
Local:0:I.Data stores the input data for the DeviceNet network that is connected to the 1756-DNB module in slot 0. To synchronize the inputs with the
application, the CPS instruction copies the input data to input_buffer.
–
While the CPS instruction copies the data, no I/O updates can change the data.
–
As the application executes, it uses for its inputs the input data in input_buffer.
42578
Synchronous Copy File
Source
Local:0:I.Data[0]
Dest
input_buffer[0]
Length
20
CPS
Summary of Contents for 1756-L65 ControlLogix 5565
Page 4: ...2 Rockwell Automation Publication 1756 PM004D EN P September 2012 Summary of Changes Notes...
Page 8: ...6 Rockwell Automation Publication 1756 PM004D EN P September 2012 Preface Notes...
Page 66: ...64 Rockwell Automation Publication 1756 PM004D EN P September 2012 Chapter 3 Force I O Notes...
Page 88: ...86 Rockwell Automation Publication 1756 PM004D EN P September 2012 Index...
Page 89: ......