User's Manual

Table Of Contents
16-Axis MACRO CPU User Manual
MACRO Equivalent Servo IC Memory Locations 67
MACRO EQUIVALENT SERVO IC MEMORY LOCATIONS
Most of the locations have direct real-time access or are accessed through MI-variables. All of the Status
Registers (Mxx30-Mxx49), the Calculation Registers (Mxx60-Mxx89), and the Axis Definitions (M191-
M194) are identical for all Turbo PMACs. The only difference for a MACRO system is the Servo IC
Variables (Mxx00-Mxx28) and the table below will show the equivalent location for these suggested M-
variables. For access to the locations that do not have direct reads, create MM-variable definitions for
them.
Servo IC 0 Registers for Channel 1 (usually for Motor #1)
MACRO Location MIVariable Turbo Location M-Var Description
X:$8001,0,24,S - - M101
ENC1 24-bit counter position
Y:$8002,8,16,S - - M102
OUT1A command value; DAC or PWM
X:$8003,0,24,S MS0,MI921 - M103
ENC1 captured position
Y:$8003,8,16,S - - M104
OUT1B command value; DAC or PWM
Y:$8005,8,16,s MS0,MI922 Y:$78421,8,16,s M105
ADC1A input value
Y:$8006,8,16,s MS0,MI924 Y:$78422,8,16,s M106
ADC1B input value
Y:$8004,8,16,s - - M107
OUT1C command value; PFM or PWM
Y:$8007,0,24,s MS0,MI925 - M108
ENC1 compare A position
X:$8007,0,24,s MS0,MI926 - M109
ENC1 compare B position
X:$8006,0,24,s MS0,MI923 - M110
ENC1 compare auto-increment value
X:$8005,11 MS0,MI928 - M111
ENC1 compare initial state write enable
X:$8005,12 MS0,MI929 - M112
ENC1 compare initial state
X:$8005,14 - Y:$003440,14 M114
AENA1 output status
X:$8000,19 - Y:$003440,19 M115
USER1 flag input status
X:$8000,9 - Y:$003440,9 M116
ENC1 compare output value
X:$8000,11 - Y:$003440,11 M117
ENC1 capture flag
X:$8000,8 - Y:$003440,8 M118
ENC1 count error flag
X:$8000,14 - - M119
CHC1 input status
X:$8000,16 - Y:$003440,16 M120
HMFL1 flag input status
X:$8000,17 - Y:$003440,17 M121
PLIM1 flag input status
X:$8000,18 - Y:$003440,18 M122
MLIM1 flag input status
X:$8000,15 - Y:$003440,15 M123
FAULT1 flag input status
X:$8000,20 - Y:$003440,20 M124
Channel 1 W flag input status
X:$8000,21 - Y:$003440,21 M125
Channel 1 V flag input status
X:$8000,22 - Y:$003440,22 M126
Channel 1 U flag input status
X:$8000,23 - Y:$003440,23 M127
Channel 1 T flag input status
X:$8000,20,4 - Y:$003440,20,4 M128
Channel 1 TUVW inputs as 4-bit value
Suggested MM-Variables:
MM10->X:$8001,0,24,s ; ENC1 24-bit counter position
MM11->Y:$8002,8,16,s ; OUT1A command value
MM12->Y:$8003,8,16,s ; OUT1B command value
MM13->Y:$8004,8,16,s ; OUT1C command value