beautypg.com

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

Page 58

background image

4-22

Using Discrete and Block Transfer I/O

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

Publication 20COMM-UM004D-EN-P

Figure 4.15 SLC 500 Example Ladder Logic for Block Transfer I/O Read

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 BTR control bits that might be set in the RIO
scanner.

0000

S:1

15

First Pass

MOV

Move
Source

128

128 <

Dest

N11:0

-32640 <

MOV

COP

Copy File
Source

#N11:0

Dest

#M0:1.200

Length

28

COP

This rung transfers the Block Transfer Read (BTR) status buffer from the RIO scanner to the memory in the SLC. When the BTR is
complete, the data in this file will indicate if the BTR was successful or not. This file will also contain the I/O data from the drive.

N11:110 = Feedback

N11:112 = Datalink A1

N11:114 = Datalink A2

0001

COP

Copy File
Source

#M1:1.200

Dest

#N11:100

Length

28

COP

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

0002

N11:100

13

I/O BTR DN (Done)

N11:100

12

I/O BTR ER (Error)

S:1

15

First Pass

N11:0

15

I/O BTR EN (Enable)

This rung transfers the BTR information to the RIO scanner for execution.

0003

COP

Copy File
Source

#N11:0

Dest

#M0:1.200

Length

28

COP

0004

END