Block transfer instructions – Rockwell Automation 150 USE MN/SMC DIALOG + CONTROLLER User Manual

Page 130

Advertising
background image

Serial Communications

8-21

Block Transfer Instructions

Block transfer operations with the 1203-GD1 communication module
require coordinated block transfer write (BTW) and block transfer
read (BTR) instructions to achieve successful data transmissions.

Rack – The number reported here should correspond to the
communication module’s rack assignment as selected via DIP switch
group one (SW1).

Group – The number reported here should correspond to the
communication module’s starting group address via DIP switch group
two (SW2), switches 1 and 2.

Module – In all cases (with regards to the 1203-GD1 communication
module) the number 0 should be reported here.

Control Block

①

– For this example a block transfer file type (BT) of

one element is used for the control block. An integer file (type N) of
five contiguous words could also be used.

Data File

①

– The first word of the data file (integer, Type N) selected

for the BTW or BTR block is reported here.

Length – The block transfer message length (number of words) is
reported here.

①

It is critical that care is given to all file assignments to ensure that no overlapping or overwriting
occurs.

BLOCK TRNSFR WRITE
Rack:

02

Group:

0

Module:

0

Control Block:

BT11:0

Data File:

N10:10

Length:

64

Continuous:

N

BTW

(EN)

(DN)

(ER)

BLOCK TRNSFR WRITE
Rack:

02

Group:

0

Module:

0

Control Block:

BT11:1

Data File:

N10:90

Length:

64

Continuous:

N

BTR

(EN)

(DN)

(ER)

Advertising