User manual

WinPC-NC Economy Additional Information
The drilling formats prescribe the following syntactical rules,
amongst others, which must be observed when creating or revising
the data.
Every command must be in its own line
If coordinates and a tool command are contained in the same line,
then the tool is changed first before drilling takes place at the
position
The coordinates can also include a decimal point, e.g. X123.456
All lines before the percent sign(s) are regarded as remarks and
are skipped
Sample of drilling
data in format 2
Short drilling program in
format 2
%
T1
X1000Y1000
X1200Y2340
X2700Y2950T2
Y1000
M30
Remark lines
Start of program
Select tool 1
Drill hole at 1000/1000
Drill hole at 1200/2340
Tool 2 drill hole at 2700/2950
Drill hole at 2700/1000
End of program
And here is the same example in format 1: (always 5-digit values,
with trailing zeros discarded)
Sample of drilling
data in format 1
Short drilling program in
format 1
%
T1
X01Y01
X012Y0234
X027Y0295T2
Y01
M30
Remark lines
Start of program
Select tool 1
Drill hole at 1000/1000
Drill hole at 1200/2340
Tool 2 drill hole at 2700/2950
Drill hole at 2700/1000
End of program
7.1.4. G code interpreter
WinPC-NC also contains a small G code command interpreter. The
G code language is used in professional and industrial applications
for programming NC machines.
The following commands are supported :
G commands G00 Linear interpolation with rapid speed
G01 Machining, linear interpolation
G02 Clockwise circular movement
G03 Counterclockwise circular movement
G04 Dwell time, time with F command
G17 Plane XY
G18 Plane XZ
- 101 -