Reference Manual

PMAC 2 Software Reference
478 PMAC2 Suggested M-Variable Definitions
M365->L:$0821 ; &1 Z-axis target position (engineering units)
M366->X:$00AB,0,24,S ; #3 Actual velocity (1/[Ix09*32] cts/cyc)
M367->D:$00A5 ; #3 Present master pos (1/[Ix07*32] cts)
M368->X:$00BB,8,16,S ; #3 Filter Output (DAC bits)
M369->X:$00C2 ; #3 Compensation correction (1/[Ix08*32] cts)
M370->D:$00B8 ; #3 Present phase position (including fraction)
M371->X:$00B8,24,S ; #3 Present phase position (counts*Ix70)
M372->L:$09AB ; #3 Variable jog position/distance (cts)
M373->Y:$0995,24,S ; #3 Encoder home capture position (cts)
M374->Y:$09AA,24,S ; #3 Averaged actual velocity (1/[Ix09*32] cts/cyc)
; Coordinate System &3 Status Bits
M380->X:$0998,0,1 ; &3 Program-running bit
M381->Y:$0997,21,1 ; &3 Circle-radius-error bit
M382->Y:$0997,22,1 ; &3 Run-time-error bit
M384->X:$0998,0,4 ; &3 Continuous motion request
M387->Y:$0997,17,1 ; &3 In-position bit (AND of motors)
M388->Y:$0997,18,1 ; &3 Warning-following-error bit (OR)
M389->Y:$0997,19,1 ; &3 Fatal-following-error bit (OR)
M390->Y:$0997,20,1 ; &3 Amp-fault-error bit (OR of motors)
; Motor #3 Axis Definition Registers
M391->L:$09A2 ; #3 X/U/A/B/C-Axis scale factor (cts/unit)
M392->L:$09A3 ; #3 Y/V-Axis scale factor (cts/unit)
M393->L:$09A4 ; #3 Z/W-Axis scale factor (cts/unit)
M394->L:$09A5 ; #3 Axis offset (cts)
; Coordinate System &3 Variables
M397->X:$0986,0,24,S ; &3 Host commanded time base (I10 units)
M398->X:$0988,0,24,S ; &3 Present time base (I10 units)
; Gate Array Registers for Channel 4
M401->X:$C019,0,24,S ; ENC4 24-bit counter position
M402->Y:$C01A,8,16,S ; OUT4A command value; DAC or PWM
M403->X:$C01B,0,24,S ; ENC4 captured position
M404->Y:$C01B,8,16,S ; OUT4B command value; DAC or PWM
M405->X:$0713,8,16,S ; ADC4A input image value
M406->Y:$0713,8,16,S ; ADC4B input image value
M407->Y:$C01C,8,16,S ; OUT4C command value; PFM or PWM
M408->Y:$C01F,0,24,S ; ENC4 compare A position
M409->X:$C01F,0,24,S ; ENC4 compare B position
M410->X:$C01E,0,24,S ; ENC4 compare autoincrement value
M411->X:$C01D,11 ; ENC4 compare initial state write enable
M412->X:$C01D,12 ; ENC4 compare initial state
M414->X:$C01D,14 ; AENA4 output status
M415->X:$C018,19 ; USER4 flag input status
M416->X:$C018,9 ; ENC4 compare output value
M417->X:$C018,11 ; ENC4 capture flag
M418->X:$C018,8 ; ENC4 count error flag
M419->X:$C018,14 ; HMFL4 flag input status