Rockwell Automation GMLC Reference Manual User Manual
Page 782

Publication GMLC-5.2 - November 1999
Using Block Transfers
745
Note: If you are using the Build Table Block to construct Master and
Slave Cam Tables, the Build Table function is limited to a total of
4000 Master and 4000 Slave cam points.
The start point for any individual cam profile is the cam table point
number (0 – 1999 or 0 – 12999, depending on iCODE version) of the first
point in the appropriate profile. Likewise, the end point is the cam table
point number of the last point in that profile.
For example, assuming that profile 2 in the previous figure starts at point
100 in the cam tables, the integer data file shown below (in hexadecimal
format) gets the first 30 axis 0 position points (points 100 – 129) from the
slave cam table when specified in a BTW as shown in Getting Data from
the Motion Controller in this chapter. Word 0 specifies that this block
transfer is getting (7Dxx) axis 0 slave cam position points (xx05). Word 1
specifies the first item as cam table point 100 (0064 hex). Word 2
specifies 32-bit integer format (0xxx), two decimal digits in the values
(x2xx), and that 30 points are to be gotten (xx1E hex). Word 3 is the end-
of-block delimiter (000D).
Data Table Report
PLC-5/30
Address
0
1
2
3
4
5
6
7
8
9
N14:0
7D05
0064
021E
000D
0000
0000
0000
0000
0000
0000
N14:10
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
N14:20
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
N14:30
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
N14:40
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
N14:50
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
N14:60
0000
0000
0000
0000
The returned values are stored in data file N7 multiplied by 100 to
account for the two decimal digits specified in word 2. For example, if
slave position point 103 has a value of 436.15, 0000 is returned in word 6
(the most significant word) and AA5F in word 7 (the least significant
word) since 436.15 x 100 = 43,615 decimal = 0000 AA5F hex). See
Getting Data from the Motion Controller in this chapter for more
information on the format of returned values.