EasyManua.ls Logo

Allen-Bradley 1756-L61 ControlLogix 5561 - Page 24

Allen-Bradley 1756-L61 ControlLogix 5561
90 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Table of Contents

Related product manuals