8-24 Serial Communications
1560D-UM051D-EN-P – February 2005
Remote I/O Examples (cont.) 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 communi-
cation 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.
BTW
BLOCK TRNSFR WRITE
Rack: 02
Group: 0
Module: 0
Control Block: BT11:0
Data File: N10:10
Length: 64
Continuous: N
BTR
BLOCK TRNSFR READ
Rack: 02
Group: 0
Module: 0
Control Block: BT11:1
Data File: N10:90
Length: 64
Continuous: N
—— (EN) —— —— (EN)
—— (DN) —— (DN)
—— (ER) —— (ER)