Rockwell Automation 20-COMM-R Remote I/O Adapter User Manual
Page 50

4-14
Using Discrete and Block Transfer I/O
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
Figure 4.8 ControlLogix Example Ladder Logic for Block Transfer I/O Write
See
for the Block Transfer I/O image.
Tag Name
Type
DriveReference
INT
DriveBTOutputImage
INT[18]
DriveDatalinA1In
INT
DriveDatalinkA2In
INT
DriveLogicCommand
INT
The20CommR:O
AB:RIO_4IOGROUP:O:0
IOBlockTransferWrite
MESSAGE
Place the desired Reference in the block transfer output structure.
0
Copy File
Source
DriveReference
Dest DriveBTOutputImage[0]
Length
1
COP
Place the desired Datalink A input values into the block transfer output structure. Add similar rungs to use Datalinks B, C, and D.
1
Copy File
Source
DriveDatalinkA1In
Dest DriveBTOutputImage[2]
Length
1
COP
2
Copy File
Source
DriveDatalinkA2In
Dest DriveBTOutputImage[4]
Length
1
COP
3
Send the desired Reference and Datalink inputs to the drive.
/
IOBlockTransferWrite.EN
EN
DN
ER
Type - Block Transfer Write
Message Control
IOBlockTransferWrite ...
MSG
(End)