User's Manual

Table Of Contents
16-Axis MACRO CPU User Manual
26 Turbo PMAC2 Software Setup for MACRO Station
The following tables show the locations of the individual flags in these registers:
Motor Command Flags: Y:$0034xn for MACRO IC (x-4) Node n
Bit # Function Notes
0 Position Capture Prepare Flag Must be set to 1 to prepare for hardware
capture over ring; to 0 when done
1-7 (Not Used)
8-10 (Reserved for Future Use)
11 Position Capture Enable Flag Must be set to 1 to prepare for hardware
capture over ring; to 0 when done
12 Node Position Reset Flag
13 (Reserved for Future Use)
14 Amplifier Enabled Command to Station
15-23 (Reserved for Future Use)
Motor Status Flags: X:$0034xn for MACRO IC (x-4) Node n
Bit # Function Notes
0-7 (Not Used)
8-10 (Reserved for Future Use)
11 Position Captured Flag Latched from selected flag
12 Power-On Reset or Node Reset Occurred
13 Ring Break Detected Elsewhere
14 Amplifier Enabled Status from Station
15 Amplifier/Node Shutdown Fault 1 is treated as shutdown if Ix25 bit 23 = 1;
0 if Ix25 bit 23 = 0
16 Home Flag (HOME) Input Value
17 Positive Limit Flag (PLIM) Value
18 Negative Limit Flag (MLIM) Value
19 User Flag (USER) Input Value
20 Flag W Input Value
21 Flag V Input Value
22 Flag U Input Value
23 Flag T Input Value
Ixx70, Ixx71: Commutation Cycle Size
If the Turbo PMAC2 is performing commutation for Motor xx, providing either two phase current
commands (sine-wave output) or three PWM phase voltage commands (direct PWM output), the size of
the commutation cycle is equal to Ixx71/Ixx70, normally expressed in encoder counts. Because the
MACRO station provides position feedback in units of 1/32 count for both servo and commutation, the
value of Ixx70 and Ixx71 must be set to provide a ratio 32 times the number of true counts in the
commutation cycle.
For example, if the commutation cycle has 1000 encoder counts, Ixx70 could be set to 1 and Ixx71 could
be set to 32,000.
Ixx75: Absolute Phase Position Offset
If Ixx81 (see below) is set to a value greater than 0, then PMAC will read an absolute sensor for power-on
phase position. In this case, it will use Ixx75 to determine the difference between the absolute sensor’s
zero position and the phase commutation cycle’s zero position (unless Hall commutation sensors are used,
in which case Ixx91 contains the initial offset information, which needs to be corrected later).
Normally, this position difference in Ixx75 is expressed in counts multiplied by Ixx70. However, when
the absolute position is read from the position feedback register, as from a Yaskawa absolute encoder
through an Acc-8D Opt 9 and the MACRO Station, then Ixx75 is expressed in units of 1/32 of a count
multiplied by Ixx70.