Reference Manual

PMAC 2 Software Reference
476 PMAC2 Suggested M-Variable Definitions
; Motor #2 Status Bits
M230->Y:$08D4,11,1 ; #2 Stopped-on-position-limit bit
M231->X:$0079,21,1 ; #2 Positive-end-limit-set bit
M232->X:$0079,22,1 ; #2 Negative-end-limit-set bit
M233->X:$0079,13,1 ; #2 Desired-velocity-zero bit
M235->X:$0079,15,1 ; #2 Dwell-in-progress bit
M237->X:$0079,17,1 ; #2 Running-program bit
M238->X:$0079,18,1 ; #2 Open-loop-mode bit
M239->Y:$08D4,14,1 ; #2 Amplifier-enabled status bit
M240->Y:$08D4,0,1 ; #2 In-position bit
M241->Y:$08D4,1,1 ; #2 Warning-following error bit
M242->Y:$08D4,2,1 ; #2 Fatal-following-error bit
M243->Y:$08D4,3,1 ; #2 Amplifier-fault-error bit
M245->Y:$08D4,10,1 ; #2 Home-complete bit
; Motor #2 Move Registers
M261->D:$0064 ; #2 Commanded position (1/[Ix08*32] cts)
M262->D:$0067 ; #2 Actual position (1/[Ix08*32] cts)
M263->D:$08CB ; #2 Target (end) position (1/[Ix08*32] cts)
M264->D:$08D3 ; #2 Position bias (1/[Ix08*32] cts)
M265->L:$0820 ; &1 Y-axis target position (engineering units)
M266->X:$006F,0,24,S ; #2 Actual velocity (1/[Ix09*32] cts/cyc)
M267->D:$0069 ; #2 Present master pos (1/[Ix07*32] cts)
M268->X:$007F,8,16,S ; #2 Filter Output (DAC bits)
M269->D:$0086 ; #2 Compensation correction (1/[Ix08*32] cts)
M270->D:$007C ; #2 Present phase position (including fraction)
M271->X:$007C,24,S ; #2 Present phase position (counts *Ix70)
M272->L:$08EB ; #2 Variable jog position/distance (cts)
M273->Y:$08D5,24,S ; #2 Encoder home capture position (cts)
M274->Y:$08EA,24,S ; #2 Averaged actual velocity (1/[Ix09*32] cts/cyc)
; Coordinate System &2 Status Bits
M280->X:$08D8,0,1 ; &2 Program-running bit
M281->Y:$08D7,21,1 ; &2 Circle-radius-error bit
M282->Y:$08D7,22,1 ; &2 Run-time-error bit
M284->X:$08D8,0,4 ; &2 Continuous motion request
M287->Y:$08D7,17,1 ; &2 In-position bit (AND of motors)
M288->Y:$08D7,18,1 ; &2 Warning-following-error bit (OR)
M289->Y:$08D7,19,1 ; &2 Fatal-following-error bit (OR)
M290->Y:$08D7,20,1 ; &2 Amp-fault-error bit (OR of motors)
; Motor #2 Axis Definition Registers
M291->L:$08E2 ; #2 X/U/A/B/C-Axis scale factor (cts/unit)
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)