Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC2 Suggested M-Variable Definitions 661
M3088->Y:$07A309,0,12,U ; IC 7 Ch 2 Compare A fractional count
M3089->Y:$07A308,0,12,U ; IC 7 Ch 2 Compare A fractional count
Motor #30 Axis Definition Registers
M3091->L:$000F4F ; #30 X/U/A/B/C-Axis scale factor (cts/unit)
M3092->L:$000F50 ; #30 Y/V-Axis scale factor (cts/unit)
M3093->L:$000F51 ; #30 Z/W-Axis scale factor (cts/unit)
M3094->L:$000F52 ; #30 Axis offset (cts)
Servo IC 7 Registers for Third Acc-24 Channel 7 (usually for Motor #31)
M3101->X:$07A311,0,24,S ; ENC7 24-bit counter position
M3102->Y:$07A312,8,16,S ; OUT7A command value; DAC or PWM
M3103->X:$07A313,0,24,S ; ENC7 captured position
M3104->Y:$07A313,8,16,S ; OUT7B command value; DAC or PWM
M3105->Y:$07A315,8,16,S ; ADC7A input value
M3106->Y:$07A316,8,16,S ; ADC7B input value
M3107->Y:$07A314,8,16,S ; OUT7C command value; PFM or PWM
M3108->Y:$07A317,0,24,S ; ENC7 compare A position
M3109->X:$07A317,0,24,S ; ENC7 compare B position
M3110->X:$07A316,0,24,S ; ENC7 compare autoincrement value
M3111->X:$07A315,11 ; ENC7 compare initial state write enable
M3112->X:$07A315,12 ; ENC7 compare initial state
M3114->X:$07A315,14 ; AENA7 output status
M3115->X:$07A310,19 ; CHC7 input status
M3116->X:$07A310,9 ; ENC7 compare output value
M3117->X:$07A310,11 ; ENC7 capture flag
M3118->X:$07A310,8 ; ENC7 count error flag
M3119->X:$07A310,14 ; CHC7 input status
M3120->X:$07A310,16 ; HMFL7 flag input status
M3121->X:$07A310,17 ; PLIM7 flag input status
M3122->X:$07A310,18 ; MLIM7 flag input status
M3123->X:$07A310,15 ; FAULT7 flag input status
M3124->X:$07A310,20 ; Channel 7 W flag input status
M3125->X:$07A310,21 ; Channel 7 V flag input status
M3126->X:$07A310,22 ; Channel 7 U flag input status
M3127->X:$07A310,23 ; Channel 7 T flag input status
M3128->X:$07A310,20,4 ; Channel 7 TUVW inputs as 4-bit value
Motor #31 Status Bits
M3130->Y:$000FC0,11,1 ; #31 Stopped-on-position-limit bit
M3131->X:$000FB0,21,1 ; #31 Positive-end-limit-set bit
M3132->X:$000FB0,22,1 ; #31 Negative-end-limit-set bit
M3133->X:$000FB0,13,1 ; #31 Desired-velocity-zero bit
M3135->X:$000FB0,15,1 ; #31 Dwell-in-progress bit
M3137->X:$000FB0,17,1 ; #31 Running-program bit
M3138->X:$000FB0,18,1 ; #31 Open-loop-mode bit
M3139->X:$000FB0,19,1 ; #31 Amplifier-enabled status bit
M3140->Y:$000FC0,0,1 ; #31 Background in-position bit
M3141->Y:$000FC0,1,1 ; #31 Warning-following error bit
M3142->Y:$000FC0,2,1 ; #31 Fatal-following-error bit
M3143->Y:$000FC0,3,1 ; #31 Amplifier-fault-error bit
M3144->Y:$000FC0,13,1 ; #31 Foreground in-position bit
M3145->Y:$000FC0,10,1 ; #31 Home-complete bit
M3146->Y:$000FC0,6,1 ; #31 Integrated following error fault bit