Rockwell Automation GMLC Reference Manual User Manual
Page 776

Publication GMLC-5.2 - November 1999
Using Block Transfers
739
The variable number is the Address listed in the column at the far right.
For example, the BCD data file shown below (in hexadecimal format)
sends the values 1, 2, 3, 4, and 5 to user variables 1 through 5
(respectively) in the motion controller, when specified in a BTW. Word 0
specifies that this block transfer is sending (7Bxx) user variables (xx00).
Word 1 specifies the first item as user variable 1 (0001). Word 2 specifies
32-bit signed BCD numeric format (2xxx) with two decimal digits
(x2xx), and that five variable values are to be sent (xx05). Word pairs 3, 4
through 11, 12 are the values to be sent. Word 13 is the end-of-block
delimiter (000D).
Data Table Report
PLC-5/30
Address
0
1
2
3
4
5
6
7
8
9
D13:0
7B00
0001
2205
0000
0100
0000
0200
0000
0300
0000
D13:10
0400
0000
0500
000D
0000
0000
0000
0000
0000
0000
D13:20
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
D13:30
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
D13:40
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
D13:50
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
D13:60
0000
0000
0000
0000
The values in the data file have been multiplied by 100 to account for the
two decimal digits specified in word 2. For example, to send the value 2
to user variable 2, 0000 is put in word 5 (the most significant word) and
200 BCD in word 6 (the least significant word). See Constructing the
PLC Data File in this chapter for more information.
Tag Explorer
Tag Window