Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC Suggested M-Variable Definitions 600
M5187->Y:$00203F,17,1 ; &1 In-position bit (AND of motors)
M5188->Y:$00203F,18,1 ; &1 Warning-following-error bit (OR)
M5189->Y:$00203F,19,1 ; &1 Fatal-following-error bit (OR)
M5190->Y:$00203F,20,1 ; &1 Amp-fault-error bit (OR of motors)
Coordinate System 1 (&1) Variables
M5197->X:$002000,0,24,S ; &1 Host commanded time base (I10 units)
M5198->X:$002002,0,24,S ; &1 Present time base (I10 units)
Coordinate System 2 (&2) Timers
M5211->X:$002115,0,24,S ; &2 Isx11 timer (for synchronous assignment)
M5212->Y:$002115,0,24,S ; &2 Isx12 timer (for synchronous assignment)
Coordinate System 2 (&2) End-of-Calculated Move Positions
M5241->L:$002141 ; &2 A-axis target position (engineering units)
M5242->L:$002142 ; &2 B-axis target position (engineering units)
M5243->L:$002143 ; &2 C-axis target position (engineering units)
M5244->L:$002144 ; &2 U-axis target position (engineering units)
M5245->L:$002145 ; &2 V-axis target position (engineering units)
M5246->L:$002146 ; &2 W-axis target position (engineering units)
M5247->L:$002147 ; &2 X-axis target position (engineering units)
M5248->L:$002148 ; &2 Y-axis target position (engineering units)
M5249->L:$002149 ; &2 Z-axis target position (engineering units)
Coordinate System 2 (&2) Status Bits
M5280->X:$002140,0,1 ; &2 Program-running bit
M5281->Y:$00213F,21,1 ; &2 Circle-radius-error bit
M5282->Y:$00213F,22,1 ; &2 Run-time-error bit
M5284->X:$002140,4,1 ; &2 Continuous motion request
M5287->Y:$00213F,17,1 ; &2 In-position bit (AND of motors)
M5288->Y:$00213F,18,1 ; &2 Warning-following-error bit (OR)
M5289->Y:$00213F,19,1 ; &2 Fatal-following-error bit (OR)
M5290->Y:$00213F,20,1 ; &2 Amp-fault-error bit (OR of motors)
Coordinate System 2 (&2) Variables
M5297->X:$002100,0,24,S ; &2 Host commanded time base (I10 units)
M5298->X:$002102,0,24,S ; &2 Present time base (I10 units)
Coordinate System 3 (&3) Timers
M5311->X:$002215,0,24,S ; &3 Isx11 timer (for synchronous assignment)
M5312->Y:$002215,0,24,S ; &3 Isx12 timer (for synchronous assignment)
Coordinate System 3 (&3) End-of-Calculated Move Positions
M5341->L:$002241 ; &3 A-axis target position (engineering units)
M5342->L:$002242 ; &3 B-axis target position (engineering units)
M5343->L:$002243 ; &3 C-axis target position (engineering units)
M5344->L:$002244 ; &3 U-axis target position (engineering units)
M5345->L:$002245 ; &3 V-axis target position (engineering units)
M5346->L:$002246 ; &3 W-axis target position (engineering units)
M5347->L:$002247 ; &3 X-axis target position (engineering units)
M5348->L:$002248 ; &3 Y-axis target position (engineering units)
M5349->L:$002249 ; &3 Z-axis target position (engineering units)
Coordinate System 3 (&3) Status Bits
M5380->X:$002240,0,1 ; &3 Program-running bit
M5381->Y:$00223F,21,1 ; &3 Circle-radius-error bit
M5382->Y:$00223F,22,1 ; &3 Run-time-error bit
M5384->X:$002240,4,1 ; &3 Continuous motion request