Reference Manual
PMAC 2 Software Reference
480 PMAC2 Suggested M-Variable Definitions
M490->Y:$0A57,20,1 ; &4 Amp-fault-error bit (OR of motors)
; Motor #4 Axis Definition Registers
M491->L:$0A62 ; #4 X/U/A/B/C-Axis scale factor (cts/unit)
M492->L:$0A63 ; #4 Y/V-Axis scale factor (cts/unit)
M493->L:$0A64 ; #4 Z/W-Axis scale factor (cts/unit)
M494->L:$0A65 ; #4 Axis offset (cts)
; Coordinate System &4 Variables
M497->X:$0A46,0,24,S ; &4 Host commanded time base (I10 units)
M498->X:$0A48,0,24,S ; &4 Present time base (I10 units)
; Gate Array Registers for Channel 5
M501->X:$C021,0,24,S ; ENC5 24-bit counter position
M502->Y:$C022,8,16,S ; OUT5A command value; DAC or PWM
M503->X:$C023,0,24,S ; ENC5 captured position
M504->Y:$C023,8,16,S ; OUT5B command value; DAC or PWM
M505->X:$0714,8,16,S ; ADC5A input image value
M506->Y:$0714,8,16,S ; ADC5B input image value
M507->Y:$C024,8,16,S ; OUT5C command value; PFM or PWM
M508->Y:$C027,0,24,S ; ENC5 compare A position
M509->X:$C027,0,24,S ; ENC5 compare B position
M510->X:$C026,0,24,S ; ENC5 compare autoincrement value
M511->X:$C025,11 ; ENC5 compare initial state write enable
M512->X:$C025,12 ; ENC5 compare initial state
M514->X:$C025,14 ; AENA5 output status
M515->X:$C020,19 ; USER5 flag input status
M516->X:$C020,9 ; ENC5 compare output value
M517->X:$C020,11 ; ENC5 capture flag
M518->X:$C020,8 ; ENC5 count error flag
M519->X:$C020,14 ; CHC5 input status
M520->X:$C020,16 ; HMFL5 flag input status
M521->X:$C020,17 ; PLIM5 flag input status
M522->X:$C020,18 ; MLIM5 flag input status
M523->X:$C020,15 ; FAULT5 flag input status
M524->X:$C020,20 ; Channel 5 W flag input status
M525->X:$C020,21 ; Channel 5 V flag input status
M526->X:$C020,22 ; Channel 5 U flag input status
M527->X:$C020,23 ; Channel 5 T flag input status
M528->X:$C020,20,4 ; Channel 5 TUVW inputs as 4-bit value
; Motor #5 Status Bits
M530->Y:$0B14,11,1 ; #5 Stopped-on-position-limit bit
M531->X:$012D,21,1 ; #5 Positive-end-limit-set bit
M532->X:$012D,22,1 ; #5 Negative-end-limit-set bit
M533->X:$012D,13,1 ; #5 Desired-velocity-zero bit
M535->X:$012D,15,1 ; #5 Dwell-in-progress bit
M537->X:$012D,17,1 ; #5 Running-program bit
M538->X:$012D,18,1 ; #5 Open-loop-mode bit
M539->Y:$0B14,14,1 ; #5 Amplifier-enabled status bit