Reference Manual

PMAC 2 Software Reference
PMAC2 Suggested M-Variable Definitions 483
M672->L:$0BEB ; #6 Variable jog position/distance (cts)
M673->Y:$0BD5,24,S ; #6 Encoder home capture position (cts)
M674->Y:$0BEA,24,S ; #6 Averaged actual velocity (1/[Ix09*32] cts/cyc)
; Coordinate System &6 Status Bits
M680->X:$0BD8,0,1 ; &6 Program-running bit
M681->Y:$0BD7,21,1 ; &6 Circle-radius-error bit
M682->Y:$0BD7,22,1 ; &6 Run-time-error bit
M684->X:$0BD8,0,4 ; &6 Continuous motion request
M687->Y:$0BD7,17,1 ; &6 In-position bit (AND of motors)
M688->Y:$0BD7,18,1 ; &6 Warning-following-error bit (OR)
M689->Y:$0BD7,19,1 ; &6 Fatal-following-error bit (OR)
M690->Y:$0BD7,20,1 ; &6 Amp-fault-error bit (OR of motors)
; Motor #6 Axis Definition Registers
M691->L:$0BE2 ; #6 X/U/A/B/C-Axis scale factor (cts/unit)
M692->L:$0BE3 ; #6 Y/V-Axis scale factor (cts/unit)
M693->L:$0BE4 ; #6 Z/W-Axis scale factor (cts/unit)
M694->L:$0BE5 ; #6 Axis offset (cts)
; Coordinate System &6 Variables
M697->X:$0BC6,0,24,S ; &6 Host commanded time base (I10 units)
M698->X:$0BC8,0,24,S ; &6 Present time base (I10 units)
; Gate Array Registers for Channel 7
M701->X:$C031,0,24,S ; ENC7 24-bit counter position
M702->Y:$C032,8,16,S ; OUT7A command value; DAC or PWM
M703->X:$C033,0,24,S ; ENC7 captured position
M704->Y:$C033,8,16,S ; OUT7B command value; DAC or PWM
M705->X:$0716,8,16,S ; ADC7A input image value
M706->Y:$0716,8,16,S ; ADC7B input image value
M707->Y:$C034,8,16,S ; OUT7C command value; PFM or PWM
M708->Y:$C037,0,24,S ; ENC7 compare A position
M709->X:$C037,0,24,S ; ENC7 compare B position
M710->X:$C036,0,24,S ; ENC7 compare autoincrement value
M711->X:$C035,11 ; ENC7 compare initial state write enable
M712->X:$C035,12 ; ENC7 compare initial state
M714->X:$C035,14 ; AENA7 output status
M715->X:$C030,19 ; CHC7 input status
M716->X:$C030,9 ; ENC7 compare output value
M717->X:$C030,11 ; ENC7 capture flag
M718->X:$C030,8 ; ENC7 count error flag
M719->X:$C030,14 ; CHC7 input status
M720->X:$C030,16 ; HMFL7 flag input status
M721->X:$C030,17 ; PLIM7 flag input status
M722->X:$C030,18 ; MLIM7 flag input status
M723->X:$C030,15 ; FAULT7 flag input status
M724->X:$C030,20 ; Channel 7 W flag input status
M725->X:$C030,21 ; Channel 7 V flag input status
M726->X:$C030,22 ; Channel 7 U flag input status