System information
SECTION SIX - PARAMETRIC PROGRAMMING
N1 P140=.1 Clearance of .1
N2 P141=-.2 Depth of cut .2 inches
N3 P145=5 Plunge feedrate of 5 ipm
N4 G1 F10 XY feedrate of 10 ipm
N5 S1000 M3 Spindle on CW
N6 X-4 Y.5 Position of first letter
N7 Text [MILLTRONICS MFG] Desired text
N8 M30 End program
This program will write "MILLTRONICS MFG" at a depth of -.2" in 1" by 1" block letters
starting at a position of X-4 Y.5.
The text cycle can also be used to engrave parameter values, times and dates.
Example:
P28 = -6.77777
TEXT [N=#28[34]]
This will engrave "N=-006.7778" (3 leading digits, 4 trailing). If the leading and trailing fields
are left blank, the default format from the machine setup parameters is used.
Successive part numbers can be engraved using the following scheme:
TEXT[#23[30]] Engraves the value of P23, 3 places to the left, 0 to the right)
P23=P23+1 (increment part counter)
When the leading and trailing is 0, the ascii value of the parameter is engraved.
Example:
P1 = 35 (Ascii for '#')
P2 = 123
TEXT [PART #100] #2[30]]
This will engrave "PART #123".
When the leading and trailing = -1, the time is engraved (the parameter # is ignored).
Example: TEXT [TIME IS #1 [-1]] will engrave "TIME IS 016:46:51".
When the leading and trailing = -2 the date is engraved (the parameter # is ignored).
Example: TEXT [DATE IS #1[-2]] will engrave "DATE IS 02/11/08"
334










