User's Manual

PMAC User Manual
Table of Contents ix
Defining the Plane of Compensation ................................................................................................................184
Defining the Magnitude of Compensation ........................................................................................................184
Turning on Compensation ................................................................................................................................185
Turning off Compensation ................................................................................................................................185
How PMAC Introduces Compensation.............................................................................................................185
Treatment of Compensated inside Corners.......................................................................................................186
Treatment of Outside Corners ..........................................................................................................................187
Treatment of Full Reversal ...............................................................................................................................189
Note on Full Circles..........................................................................................................................................189
Speed of Compensated Moves...........................................................................................................................190
Changes in Compensation ................................................................................................................................190
How PMAC Removes Compensation................................................................................................................191
Failures in Cutter Compensation .....................................................................................................................193
Single-Stepping While in Compensation...........................................................................................................194
Lookahead ........................................................................................................................................................195
Axis Transformation Matrices...............................................................................................................................195
Setting Up the Matrices ....................................................................................................................................195
Using the Matrices............................................................................................................................................195
Calculation Implications........................................................................................................................................196
Examples...........................................................................................................................................................196
Entering a Motion Program...................................................................................................................................198
Learning a Motion Program ..................................................................................................................................198
Motion Program Structure.....................................................................................................................................199
Basic Move Specifications ................................................................................................................................199
Defaults.............................................................................................................................................................199
Controlling Parameters ....................................................................................................................................199
Simultaneous Moves on Multiple Axes .............................................................................................................199
Sequential Moves..............................................................................................................................................200
Adding Logic.....................................................................................................................................................200
Line Labels .......................................................................................................................................................200
GOTO Command..............................................................................................................................................200
Adding Variables and Calculations.......................................................................................................................200
Subroutines and Subprograms...............................................................................................................................201
Passing Arguments to Subroutines ...................................................................................................................201
What Has Been Passed? ...................................................................................................................................201
PRELUDE Subprogram Calls ..........................................................................................................................202
Running a Motion Program...................................................................................................................................202
Pointing to the Program ...................................................................................................................................203
Running the Program .......................................................................................................................................203
Stepping the Program.......................................................................................................................................203
What PMAC Checks For...................................................................................................................................203
Implementing a Machine-Tool Style Program ......................................................................................................203
G, M, T, and D-Codes.......................................................................................................................................204
Standard G-Codes ............................................................................................................................................204
Spindle Programs .............................................................................................................................................208
Standard M-Codes ............................................................................................................................................209
Default Conditions............................................................................................................................................211
Rotary Motion Program Buffers............................................................................................................................211
Defining a Rotary Buffer...................................................................................................................................211
Preparing to Run ..............................................................................................................................................212
Opening for Entry.............................................................................................................................................212
Staying Ahead of Executing Line ......................................................................................................................212
Closing and Deleting Buffers............................................................................................................................213
How PMAC Executes a Motion Program .............................................................................................................213
Calculating Ahead ............................................................................................................................................213
Starting Calculations........................................................................................................................................214