Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC2 Suggested M-Variable Definitions 643
M1988->Y:$079211,0,12,U ; IC 4 Ch 3 Compare A fractional count
M1989->Y:$079210,0,12,U ; IC 4 Ch 3 Compare A fractional count
Motor #19 Axis Definition Registers
M1991->L:$0009CF ; #19 X/U/A/B/C-Axis scale factor (cts/unit)
M1992->L:$0009D0 ; #19 Y/V-Axis scale factor (cts/unit)
M1993->L:$0009D1 ; #19 Z/W-Axis scale factor (cts/unit)
M1994->L:$0009D2 ; #19 Axis offset (cts)
Servo IC 4 Registers for Second Acc-24 Channel 4 (usually for Motor #20)
M2001->X:$079219,0,24,S ; ENC4 24-bit counter position
M2002->Y:$07921A,8,16,S ; OUT4A command value; DAC or PWM
M2003->X:$07921B,0,24,S ; ENC4 captured position
M2004->Y:$07921B,8,16,S ; OUT4B command value; DAC or PWM
M2005->Y:$07921D,8,16,S ; ADC4A input value
M2006->Y:$07921E,8,16,S ; ADC4B input value
M2007->Y:$07921C,8,16,S ; OUT4C command value; PFM or PWM
M2008->Y:$07921F,0,24,S ; ENC4 compare A position
M2009->X:$07921F,0,24,S ; ENC4 compare B position
M2010->X:$07921E,0,24,S ; ENC4 compare autoincrement value
M2011->X:$07921D,11 ; ENC4 compare initial state write enable
M2012->X:$07921D,12 ; ENC4 compare initial state
M2014->X:$07921D,14 ; AENA4 output status
M2015->X:$079218,19 ; USER4 flag input status
M2016->X:$079218,9 ; ENC4 compare output value
M2017->X:$079218,11 ; ENC4 capture flag
M2018->X:$079218,8 ; ENC4 count error flag
M2019->X:$079218,14 ; HMFL4 flag input status
M2020->X:$079218,16 ; CHC4 input status
M2021->X:$079218,17 ; PLIM4 flag input status
M2022->X:$079218,18 ; MLIM4 flag input status
M2023->X:$079218,15 ; FAULT4 flag input status
M2024->X:$079218,20 ; Channel 4 W flag input status
M2025->X:$079218,21 ; Channel 4 V flag input status
M2026->X:$079218,22 ; Channel 4 U flag input status
M2027->X:$079218,23 ; Channel 4 T flag input status
M2028->X:$079218,20,4 ; Channel 4 TUVW inputs as 4-bit value
Motor #20 Status Bits
M2030->Y:$000A40,11,1 ; #20 Stopped-on-position-limit bit
M2031->X:$000A30,21,1 ; #20 Positive-end-limit-set bit
M2032->X:$000A30,22,1 ; #20 Negative-end-limit-set bit
M2033->X:$000A30,13,1 ; #20 Desired-velocity-zero bit
M2035->X:$000A30,15,1 ; #20 Dwell-in-progress bit
M2037->X:$000A30,17,1 ; #20 Running-program bit
M2038->X:$000A30,18,1 ; #20 Open-loop-mode bit
M2039->X:$000A30,19,1 ; #20 Amplifier-enabled status bit
M2040->Y:$000A40,0,1 ; #20 Background in-position bit
M2041->Y:$000A40,1,1 ; #20 Warning-following error bit
M2042->Y:$000A40,2,1 ; #20 Fatal-following-error bit
M2043->Y:$000A40,3,1 ; #20 Amplifier-fault-error bit
M2044->Y:$000A40,13,1 ; #20 Foreground in-position bit
M2045->Y:$000A40,10,1 ; #20 Home-complete bit
M2046->Y:$000A40,6,1 ; #20 Integrated following error fault bit