User's Manual

Table Of Contents
16-Axis MACRO CPU User Manual
44 16-Axis MACRO CPU Software Setup
The third line contains a bias term that is added to both A/D converter readings before the arctangent
value is calculated. It is used as a 24-bit value, with the used portion of the A/D converter readings being
in the upper 12 bits. For example, if the cycle’s average reading from the A/D converters were -5 LSBs
of the 12-bit value, this line would be set to +5 x 2
12
, or 20,480.
Resolver Feedback
If a resolver is used for servo feedback processed through an Acc-8D Opt 7 R/D Converter board, the
feedback comes into the 16-Axis MACRO CPU as digital quadrature and is processed the same as a true
incremental digital encoder.
MLDT Feedback
If a magnetostrictive linear displacement transducer (MLDT) is used for feedback with the 16-Axis
MACRO CPU providing the excitation pulse and measuring the time until it receives the echo pulse using
its encoder timer circuitry, then the $30 parallel feedback conversion method is used reading the
encoder’s timer register as the position value.
This conversion method uses three lines (MI-Variables) of the conversion table. The first MI-Variable
contains the method and address. The following table shows the first conversion table MI-Variable
values for this type of feedback with channels in the UMAC MACRO pack configuration:
Encoder # Which Backplane Axis
Board Used*
Location On
Board
Conversion Table
MI-Variable Value
Encoder 1 Acc-24E2x w/
S1-1,3,4 = ON, ON, ON
First channel $308000
Encoder 2 Acc-24E2x w/
S1-1,3,4 = ON, ON, ON
Second channel $308008
Encoder 3 Acc-24E2x w/
S1-1,3,4 = ON, ON, ON
Third channel $308010
Encoder 4 Acc-24E2x w/
S1-1,3,4 = ON, ON, ON
Fourth channel $308018
Encoder 5 Acc-24E2x w/
S1-1,3,4 = OFF, ON, ON
First channel $308040
Encoder 6 Acc-24E2x w/
S1-1,3,4 = OFF, ON, ON
Second channel $308048
Encoder 7 Acc-24E2x w/
S1-1,3,4 = OFF, ON, ON
Third channel $308050
Encoder 8 Acc-24E2x w/
S1-1,3,4 = OFF, ON, ON
Fourth channel $308058
The second line of the entry contains a bits used mask, a 24-bit value that contains a 1 in each bit that is to
be used from the register. In this type of feedback, all 24 bits of the source register can be used, so this
line (MI-Variable) can be $FFFFFF.
The third line of the entry contains the maximum change in the input value that the table will let through
in one ring cycle. This provides a filter that is a protection against missing or added echo pulses. This
value should be set to a value slightly greater than the maximum true velocity expected. The units are bits
of the timer per ring cycle, where one bit of the timer represents 0.0009 inches or 0.024 mm at the 120
MHz timer frequency.
12-Bit A/D Converter Feedback
If an analog input processed through the Acc-36E or Acc-59E backplane A/D boards is used for servo
feedback, then the $20 parallel feedback format is used.
The actual ADC inputs are all read through 16-Axis MACRO CPU I/O register in a multiplexed format.
The Station firmware de-multiplexes them automatically into separate internal memory registers at
Y:$0200 to Y:$0207 for MACRO IC 0 and Y:$208 to Y:$20F for MACRO IC 1 if Station variable
MI987 has been set to 1 for both ICs.