Prototrak Gcode Manual
Prototrak Gcode Manual
To run the G Code file directly, open the file using OPEN AS: .GCD. The entire
program will be brought into current memory. You will be able to view the tool path
when you run the program in the Run Mode, but you will not be able to edit the program
or view it in the Program Mode. In order to edit the program, use the G-Code Editor in
the Edit Mode (Section 10.5).
140
Southwestern Industries, Inc.
TRAK LPM Programming, Safety, & Operating Manual
G01 Linear Interpolation G01 X0.0 Y0.0 Z-1. F15. F = Feedrate in Inches per
minute
G02 Circular Interpolation G02 X1. Y2. I0. J2. I, J, and K define the X,Y,
(Clockwise) (see note below) and Z center points
G03 Circular Interpolation G03 X2. Z0. I2. K0. respectively. Values are
(Counter-clockwise) (see note below) incremental from the
starting point of the arc.
141
Southwestern Industries, Inc.
TRAK LPM Programming, Safety, & Operating Manual
G85 Boring cycle G85 X0. Y0. Z-1 R.1 F15.
G86 Boring canned cycle with retract G86 X0. Y0. Z-2. R.1 B35. Q.020 B = Angle of boring head.
P300 F15. Q = Retract distance, away
from B.
G89 Boring cycle, dwell at bottom G89 X0. Y0. Z-1 R.1 P800 F15. P = dwell time in
milliseconds
142
Southwestern Industries, Inc.
TRAK LPM Programming, Safety, & Operating Manual
14.11.3 Valid Characters for Word/Address Sequences
G Prepare to execute a G COMMAND ParseGcode
M Prepare to execute a M COMMAND ParseMcode
N Introduces a block number ParseEventNum
T Specifies the tool number to use ParseToolNum
F Specifies a feedrate ParseFcode
S Specifies a spindle rpm ParseScode
D Specifies the diameter for the current tool ParseDval
E Optional parameter ParseEval
X Specifies the X dimension ParseXval
Y Specifies the Y dimension ParseYval
Z Specifies the Z dimension ParseZval
I Specifies the incremental X dimension ParseIval
J Specifies the incremental Y dimension ParseJval
K Specifies the incremental Z dimension ParseKval
L An Optional Parameter ParseLval
P An Optional Parameter ParsePval
( Introduces a comment ParseComment
143
Southwestern Industries, Inc.
TRAK LPM Programming, Safety, & Operating Manual
Mm: min -9999.99 to max +9999.999
Integer values MUST be followed by decimal. Ok to truncate 02.0000 into 2.0
Linear moves: G01 are formatted the same as rapid moves.
Arcs: Arc centers are specified by the address I, J and K for the X, Y and Z axes. The
number following the I, J and K are incrementally referenced from the starting point of
the arc. Radius values are not allowed.
Tool Numbers and Tool Changes: the format of the tool number is from T1 to T99.
The M06 command initiates a tool change.
Feed rates: the ProtoTRAK is programmed in inches (or mm) per minute using the 'F'
address.
Spindle speed: S1000 means 1000 RPM
Turning the Spindle on: the spindle is turned on with M03 or M04 command.
Notes
1. Tool offsets, diameters, modifiers, home positions and work offsets are defined on
the ProtoTRAK control and are ignored through G code.
2. G2 and G3 are not used for helix. See G06 and G07.
3. You must specify an I, J and K for all arcs, even if you are doing an XY plane arc
where the Z axis is not moving. In this case the K value must be defined. It will
be modal from there on.
4. For lead in moves where you are using G41 or G42, G41 and G42 need to be
placed before the Z axis moves down to position so the tool is compensated along
X and/or Y correctly before performing a lead in move.
14.12 Networking
The subject of networking is extensive. This portion of the manual will give you basic
instructions for setting up a simple peer-to-peer network and some system information
useful to network administrators.
A network is simply two or more computers connected (usually by a cable) so they may
share information. Networks within a single building are called LANs for Local Area
Network.
The benefit of networking is that you can move information easily between computers.
This ease of use enables some handy functionality, for example:
1. An effective file Back-up routine. File back-ups are essential if you want to retain
programs for future use. Any hard drive or floppy drive could fail. Having program files
backed up to a different location saves you from rewriting the programs from scratch if a
failure occurs.
2. An easy way to import CAD/CAM or DXF files from other computers.
144
Southwestern Industries, Inc.
TRAK LPM Programming, Safety, & Operating Manual