Reference Manual

PMAC 2 Software Reference
PMAC2 Suggested M-Variable Definitions 475
; Coordinate System &1 Status Bits
M180->X:$0818,0,1 ; &1 Program-running bit
M181->Y:$0817,21,1 ; &1 Circle-radius-error bit
M182->Y:$0817,22,1 ; &1 Run-time-error bit
M184->X:$0818,0,4 ; &1 Continuous motion request
M187->Y:$0817,17,1 ; &1 In-position bit (AND of motors)
M188->Y:$0817,18,1 ; &1 Warning-following-error bit (OR)
M189->Y:$0817,19,1 ; &1 Fatal-following-error bit (OR)
M190->Y:$0817,20,1 ; &1 Amp-fault-error bit (OR of motors)
; Motor #1 Axis Definition Registers
M191->L:$0822 ; #1 X/U/A/B/C-Axis scale factor (cts/unit)
M192->L:$0823 ; #1 Y/V-Axis scale factor (cts/unit)
M193->L:$0824 ; #1 Z/W-Axis scale factor (cts/unit)
M194->L:$0825 ; #1 Axis offset (cts)
; Coordinate System &1 Variables
M197->X:$0806,0,24,S ; &1 Host commanded time base (I10 units)
M198->X:$0808,0,24,S ; &1 Present time base (I10 units)
; Gate Array Registers for Channel 2
M201->X:$C009,0,24,S ; ENC2 24-bit counter position
M202->Y:$C00A,8,16,S ; OUT2A command value; DAC or PWM
M203->X:$C00B,0,24,S ; ENC2 captured position
M204->Y:$C00B,8,16,S ; OUT2B command value; DAC or PWM
M205->X:$0711,8,16,S ; ADC2A input image value
M206->Y:$0711,8,16,S ; ADC2B input image value
M207->Y:$C00C,8,16,S ; OUT2C command value; PFM or PWM
M208->Y:$C00F,0,24,S ; ENC2 compare A position
M209->X:$C00F,0,24,S ; ENC2 compare B position
M210->X:$C00E,0,24,S ; ENC2 compare autoincrement value
M211->X:$C00D,11 ; ENC2 compare initial state write enable
M212->X:$C00D,12 ; ENC2 compare initial state
M214->X:$C00D,14 ; AENA2 output status
M215->X:$C008,19 ; USER2 flag input status
M216->X:$C008,9 ; ENC2 compare output value
M217->X:$C008,11 ; ENC2 capture flag
M218->X:$C008,8 ; ENC2 count error flag
M219->X:$C008,14 ; CHC2 input status
M220->X:$C008,16 ; HMFL2 flag input status
M221->X:$C008,17 ; PLIM2 flag input status
M222->X:$C008,18 ; MLIM2 flag input status
M223->X:$C008,15 ; FAULT2 flag input status
M224->X:$C008,20 ; Channel 2 W flag input status
M225->X:$C008,21 ; Channel 2 V flag input status
M226->X:$C008,22 ; Channel 2 U flag input status
M227->X:$C008,23 ; Channel 2 T flag input status
M228->X:$C008,20,4 ; Channel 2 TUVW inputs as 4-bit value