Download User Manual
Transcript
Serial Communications 8-21 Block Transfer Instructions Block transfer operations with the 1203-GD1 communication module require coordinated block transfer write (BTW) and block transfe read (BTR) instructions to achieve successful data transmissions. BTW BLOCK TRNSFR WRITE Rack: 02 Group: 0 Module: 0 Control Block: BT11:0 Data File: N10:10 Length: 64 Continuous: N BTR (EN) (DN) (ER) BLOCK TRNSFR WRITE Rack: 02 Group: 0 Module: 0 Control Block: BT11:1 Data File: N10:90 Length: 64 Continuous: N (EN) (DN) (ER) 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) o 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.