Control Block Description ADDvantage-32
4-90
3. Implementation
DO 1 and DO 2 bits control the two digital outputs on the resolver board. When they are
equal to one, the corresponding output is high.
CNT 1 and CNT 2 decide how many of the input bits are used in a BCD conversion for a
resolver as follows:
CNT 1 CNT 2 Number of bits used
0 0 4 bits
1 0 8 bits
0 1 12 bits
1 1 16 bits
The number of bits determined by the above table is then converted to a BCD number
and then scaled to the block's output value (RES) as follows:
(BCD number × SPAN) + ZERO = RES
EXAMPLE:
-CNT 1: LOW
-CNT 2: HIGH
–INPUT BITS 0100 0101 0000
–BCD VALUE 4 5 0
–SPAN = 2
–OFF = 100
–RES = (450 × 2) + 100 = 1,000
All 16 input bits are outputted as digital bits in consecutive order starting at D IN
location. Name the next 16 locations, but do not connect them to an output of another
block or unpredictable results will occur.