Reference Manual
PMAC 2 Software Reference
462 PMAC(1) Suggested M-variable Definitions
M292->L:$08E3 ; #2 Y/V-Axis scale factor (cts/unit)
M293->L:$08E4 ; #2 Z/W-Axis scale factor (cts/unit)
M294->L:$08E5 ; #2 Axis offset (cts)
; Coordinate System &2 Variables
M297->X:$08C6,0,24,S ; &2 Host commanded time base (I10 units)
M298->X:$08C8,0,24,S ; &2 Present time base (I10 units)
; Registers associated with Encoder/DAC3 (Usually Motor #3)
M301->X:$C009,0,24,S ; ENC3 24-bit counter position
M302->Y:$C00B,8,16,S ; DAC3 16-bit analog output
M303->X:$C00B,0,24,S ; ENC3 capture/compare position register
M304->X:$0722,0,24,S ; ENC3 interpolated position (1/32 ct)
M305->Y:$C00E,8,16,S ; ADC3 16-bit analog input
M306->Y:$C008,0,24,U ; ENC3 time between counts (SCLK cycles)
M310->X:$C008,10,1 ; ENC3 count-write enable control
M311->X:$C008,11,1 ; EQU3 compare flag latch control
M312->X:$C008,12,1 ; EQU3 compare output enable
M313->X:$C008,13,1 ; EQU3 compare invert enable
M314->X:$C008,14,1 ; AENA3/DIR3 Output
M316->X:$C008,16,1 ; EQU3 compare flag
M317->X:$C008,17,1 ; ENC3 position-captured flag
M318->X:$C008,18,1 ; ENC3 count-error flag
M319->X:$C008,19,1 ; ENC3 3rd channel input status
M320->X:$C008,20,1 ; HMFL3 input status
M321->X:$C008,21,1 ; -LIM3 input status
M322->X:$C008,22,1 ; +LIM3 input status
M323->X:$C008,23,1 ; FAULT3 input status
; Motor #3 Status Bits
M330->Y:$0994,11,1 ; #3 Stopped-on-position-limit bit
M331->X:$00B5,21,1 ; #3 Positive-end-limit-set bit
M332->X:$00B5,22,1 ; #3 Negative-end-limit-set bit
M333->X:$00B5,13,1 ; #3 Desired-velocity-zero bit
M335->X:$00B5,15,1 ; #3 Dwell-in-progress bit
M337->X:$00B5,17,1 ; #3 Running-program bit
M338->X:$00B5,18,1 ; #3 Open-loop-mode bit
M339->Y:$0994,14,1 ; #3 Amplifier-enabled status bit
M340->Y:$0994,0,1 ; #3 In-position bit
M341->Y:$0994,1,1 ; #3 Warning-following error bit
M342->Y:$0994,2,1 ; #3 Fatal-following-error bit
M343->Y:$0994,3,1 ; #3 Amplifier-fault-error bit
M345->Y:$0994,10,1 ; #3 Home-complete bit
; Motor #3 Move Registers
M361->D:$00A0 ; #3 Commanded position (1/[Ix08*32] cts)
M362->D:$00A3 ; #3 Actual position (1/[Ix08*32] cts)
M363->D:$098B ; #3 Target (end) position (1/[Ix08*32] cts)
M364->D:$0993 ; #3 Position bias (1/[Ix08*32] cts)
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 (handwheel) pos (1/[Ix07*32] cts