Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC2 Suggested M-Variable Definitions 648
M2294->L:$000B52 ; #22 Axis offset (cts)
Servo IC 5 Registers for Second Acc-24 Channel 7 (usually for Motor #23)
M2301->X:$079311,0,24,S ; ENC7 24-bit counter position
M2302->Y:$079312,8,16,S ; OUT7A command value; DAC or PWM
M2303->X:$079313,0,24,S ; ENC7 captured position
M2304->Y:$079313,8,16,S ; OUT7B command value; DAC or PWM
M2305->Y:$079315,8,16,S ; ADC7A input value
M2306->Y:$079316,8,16,S ; ADC7B input value
M2307->Y:$079314,8,16,S ; OUT7C command value; PFM or PWM
M2308->Y:$079317,0,24,S ; ENC7 compare A position
M2309->X:$079317,0,24,S ; ENC7 compare B position
M2310->X:$079316,0,24,S ; ENC7 compare autoincrement value
M2311->X:$079315,11 ; ENC7 compare initial state write enable
M2312->X:$079315,12 ; ENC7 compare initial state
M2314->X:$079315,14 ; AENA7 output status
M2315->X:$079310,19 ; CHC7 input status
M2316->X:$079310,9 ; ENC7 compare output value
M2317->X:$079310,11 ; ENC7 capture flag
M2318->X:$079310,8 ; ENC7 count error flag
M2319->X:$079310,14 ; CHC7 input status
M2320->X:$079310,16 ; HMFL7 flag input status
M2321->X:$079310,17 ; PLIM7 flag input status
M2322->X:$079310,18 ; MLIM7 flag input status
M2323->X:$079310,15 ; FAULT7 flag input status
M2324->X:$079310,20 ; Channel 7 W flag input status
M2325->X:$079310,21 ; Channel 7 V flag input status
M2326->X:$079310,22 ; Channel 7 U flag input status
M2327->X:$079310,23 ; Channel 7 T flag input status
M2328->X:$079310,20,4 ; Channel 7 TUVW inputs as 4-bit value
Motor #23 Status Bits
M2330->Y:$000BC0,11,1 ; #23 Stopped-on-position-limit bit
M2331->X:$000BB0,21,1 ; #23 Positive-end-limit-set bit
M2332->X:$000BB0,22,1 ; #23 Negative-end-limit-set bit
M2333->X:$000BB0,13,1 ; #23 Desired-velocity-zero bit
M2335->X:$000BB0,15,1 ; #23 Dwell-in-progress bit
M2337->X:$000BB0,17,1 ; #23 Running-program bit
M2338->X:$000BB0,18,1 ; #23 Open-loop-mode bit
M2339->X:$000BB0,19,1 ; #23 Amplifier-enabled status bit
M2340->Y:$000BC0,0,1 ; #23 Background in-position bit
M2341->Y:$000BC0,1,1 ; #23 Warning-following error bit
M2342->Y:$000BC0,2,1 ; #23 Fatal-following-error bit
M2343->Y:$000BC0,3,1 ; #23 Amplifier-fault-error bit
M2344->Y:$000BC0,13,1 ; #23 Foreground in-position bit
M2345->Y:$000BC0,10,1 ; #23 Home-complete bit
M2346->Y:$000BC0,6,1 ; #23 Integrated following error fault bit
M2347->Y:$000BC0,5,1 ; #23 I2T fault bit
M2348->Y:$000BC0,8,1 ; #23 Phasing error fault bit
M2349->Y:$000BC0,9,1 ; #23 Phasing search-in-progress bit