User manual

Chapter 3 Block Transfer Format
20 ADVANCED MICRO CONTROLS INC.
Block Transfer Write Format
The PLC writes four 16 bit words to the module when a Block Transfer Write takes place.
These words can program the Number of Turns and Full Scale Count parameters as well as
Count Direction, Transducer Type and Resolver Type. You can also reset the position data to
zero (Autozero). The data format is shown in Figure 3.2.
Word 1
Word 2
Word 3
Word 0
15 14 13 12 11 10 09 08 07 06 05 04 03 02 01
Number of Turns Parameter
Upper 3 Digits Full Scale Count Parameter
Lower 3 Digits Full Scale Count Parameter
00
00 0000000000YDPZ
00 000
00 000
00 000
Figure 3.2 Block Transfer Write Format
The full scale count data is divided into two words. For example, using sample data of a 180
turn transducer, and 36 turns for complete travel (36*4096 counts/turn)= 147,456 full scale
count. The first three digits (147) are in Word 1, the last three digits (456) are in Word 2.
All BTW data must be in BCD format.
In the table below (Table 3.1) the modules’ parameters and data ranges for AMCI and
Autotech transducers are shown. This data is sent to the module using the BTW Format in
Figure 3.2.
PARAMETERS RANGE DEFAULT
Number of Turns AMCI 100/1,000 Turn: 1,2,4,5,10,20,25,50 or 100
AMCI 180/1,800 Turn: 1,2,3,4,5,6,9,10,12,15,18,
20,30,36,45,60,90 or 180
Autotech 128 Turn: 1,2,4,8,16,32,64 or 128
100 Turns
180 Turns
128 Turns
Full Scale Count AMCI: 2 to ( Number of Turns x 4096 )
Autotech: 2 to ( Number of Turns x 1024 )
409,600
102,400
Transducer Type AMCI or Autotech AMCI
Count Direction Positive or Negative Positive
Table 3.1 Parameters and Ranges for BTW Format