See figure 4.3 for the block transfer i/o image – Rockwell Automation 20-COMM-R Remote I/O Adapter User Manual

Page 57

Advertising
background image

Using Discrete and Block Transfer I/O

4-21

20-COMM-R Remote I/O Adapter User Manual

Publication 20COMM-UM004D-EN-P

Figure 4.14 SLC 500 Example Ladder Logic for Block Transfer I/O Write

See

Figure 4.3

for the Block Transfer I/O image.

This rung executes once each time the SLC is switched into RUN mode. It resets any BTW control bits that might be set in the RIO scanner.

0000

S:1

15

First Pass

MOV

Move
Source

0

0<

Dest

N10:0

-32768 <

MOV

I/O BTW Control

COP

Copy File
Source

#N10:0

Dest

#M0:1.100

Length

28

COP

This rung transfers the Block Transfer Write (BTW) status buffer from the RIO scanner to the memory in the SLC. When the BTW is
complete, the data in this file will indicate if the BTW was successful or not.

0001

COP

Copy File
Source

#M1:1.100

Dest

#N10:100

Length

28

COP

I/O BTW Status

This rung enables the BTW on the first pass through the program and re-enables it each time the BTW is completed or errors.

0002

N10:100

13

I/O BTW DN (Done)

N10:100

12

I/O BTW ER (Error)

S:1

15

First Pass

N10:0

15

BT Enable

This rung transfers the BTW information (control and data) to the RIO scanner for execution.

N10:10 = Reference

N10:12 = Datalink A1

N10:14 = Datalink A2

0003

COP

Copy File
Source

#N10:0

Dest

#M0:1.100

Length

28

COP

0004

END

Advertising