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

Page 73

Advertising
background image

Using Block Transfer Messaging

5-15

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

Publication 20COMM-UM004D-EN-P

Figure 5.6 SLC 500 Example Ladder Logic for Block Transfer Messaging - continued

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.

0005

S:1

15

First Pass

MOV

Move
Source

128

128 <

Dest

N13:0

128 <

MOV

COP

Copy File
Source

#N13:0

Dest

#M0:1.400

Length

74

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 response to the previous BTW message.

0006

COP

Copy File
Source

#M1:1.400

Dest

#N13:100

Length

74

COP

This rung will wait until a BTR is available from the 20-COMM-R module and then execute a BTR.

0007

I:1.8

10

1747-SN

Message
BT Read
Available

L

N13:0

15

Message BTR
BT EN (Enable)

U

N12:0

15

Message BTW
BT EN (Enable)

When the BTR is completed, this rung will disable the BTR.

0008

N13:100

13

Message BTR
BT DN (Done)

U

N13:0

15

Message BTR
BT EN (Enable)

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

0009

COP

Copy File
Source

#N13:0

Dest

#M0:1.400

Length

74

COP

0010

END

Advertising