Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC2 Suggested M-Variable Definitions 638
M1675->X:$000839,8,16,S ; #16 Actual quadrature current
M1676->Y:$000839,8,16,S ; #16 Actual direct current
M1677->X:$00083C,8,16,S ; #16 Quadrature current-loop integrator output
M1678->Y:$00083C,8,16,S ; #16 Direct current-loop integrator output
M1679->X:$00082E,8,16,S ; #16 PID internal filter result (16-bit DAC bits)
M1688->Y:$078319,0,12,U ; IC 3 Ch 4 Compare A fractional count
M1689->Y:$078318,0,12,U ; IC 3 Ch 4 Compare A fractional count
Motor #16 Axis Definition Registers
M1691->L:$00084F ; #16 X/U/A/B/C-Axis scale factor (cts/unit)
M1692->L:$000850 ; #16 Y/V-Axis scale factor (cts/unit)
M1693->L:$000851 ; #16 Z/W-Axis scale factor (cts/unit)
M1694->L:$000852 ; #16 Axis offset (cts)
Servo IC 4 Registers for Second Acc-24 Channel 1 (usually for Motor #17)
M1701->X:$079201,0,24,S ; ENC1 24-bit counter position
M1702->Y:$079202,8,16,S ; OUT1A command value; DAC or PWM
M1703->X:$079203,0,24,S ; ENC1 captured position
M1704->Y:$079203,8,16,S ; OUT1B command value; DAC or PWM
M1705->Y:$079205,8,16,S ; ADC1A input value
M1706->Y:$079206,8,16,S ; ADC1B input value
M1707->Y:$079204,8,16,S ; OUT1C command value; PFM or PWM
M1708->Y:$079207,0,24,S ; ENC1 compare A position
M1709->X:$079207,0,24,S ; ENC1 compare B position
M1710->X:$079206,0,24,S ; ENC1 compare autoincrement value
M1711->X:$079205,11 ; ENC1 compare initial state write enable
M1712->X:$079205,12 ; ENC1 compare initial state
M1714->X:$079205,14 ; AENA1 output status
M1715->X:$079200,19 ; USER1 flag input status
M1716->X:$079200,9 ; ENC1 compare output value
M1717->X:$079200,11 ; ENC1 capture flag
M1718->X:$079200,8 ; ENC1 count error flag
M1719->X:$079200,14 ; CHC1 input status
M1720->X:$079200,16 ; HMFL1 flag input status
M1721->X:$079200,17 ; PLIM1 flag input status
M1722->X:$079200,18 ; MLIM1 flag input status
M1723->X:$079200,15 ; FAULT1 flag input status
M1724->X:$079200,20 ; Channel 1 W flag input status
M1725->X:$079200,21 ; Channel 1 V flag input status
M1726->X:$079200,22 ; Channel 1 U flag input status
M1727->X:$079200,23 ; Channel 1 T flag input status
M1728->X:$079200,20,4 ; Channel 1 TUVW inputs as 4-bit value
Motor #17 Status Bits
M1730->Y:$0008C0,11,1 ; #17 Stopped-on-position-limit bit
M1731->X:$0008B0,21,1 ; #17 Positive-end-limit-set bit
M1732->X:$0008B0,22,1 ; #17 Negative-end-limit-set bit
M1733->X:$0008B0,13,1 ; #17 Desired-velocity-zero bit
M1735->X:$0008B0,15,1 ; #17 Dwell-in-progress bit
M1737->X:$0008B0,17,1 ; #17 Running-program bit
M1738->X:$0008B0,18,1 ; #17 Open-loop-mode bit
M1739->X:$0008B0,19,1 ; #17 Amplifier-enabled status bit
M1740->Y:$0008C0,0,1 ; #17 Background in-position bit
M1741->Y:$0008C0,1,1 ; #17 Warning-following error bit