
OPERATION
10. CREATING PROGRAMS
B–62094E/04
356
(Example) O1234 N1 G92X -; P0. . . . . . . .
N2 G00X -; P1. . . . . .
N3 G01X -F300; P2. . .
N4 M02;
P
2
P
1
P
0
The program of the above example is stored in the following procedure.
1 Set the setting parameter “SEQ” to 1 (For the incremental value
parameter, “1” is assumed.)
2 Select the TEACH IN STEP/HANDLE mode.
3 Make positioning at P0 with the step feed.
4 Press the <PRGRM> button.
5 Enter the address 0, numeric value 1234, and Press the <INSRT> key.
Then the program number 01234 is stored in the memory.
6 Enter the address N, numeric value 1, and Press the <INSRT> key.
The sequence number 1 is stored in the memory as the initial value of
the automatic insertion.
7 Enter the address G, numeric value 92, and Press the <INSRT> key.
Then the G92 is stored in the memory.
8 Enter address X and press <EOB>. The machine position, P0, is
registered in memory.
9 When X is entered and <EOB> is pressed in step (8), EOB is inserted.
The input of one block, O1234N1G92X-;, is now complete.
10 With the operation in (9), N2 is registered in memory by the automatic
sequence number insertion function.
11 Position the tool at P1 with the step feed.
12 Enter address G and then 00. Press <INSRT>. Enter address X and
then press <EOB> to register the second block, N2G00X_ ;, in
memory.
13 N3 is registered in memory.
14 Position the tool at P2.
15 Enter address G and then 01. Press <INSRT>. Then enter address X
and press <INSRT>. Enter address F and then 300<EOB> to register
the third block, N3G01X-F300;, in memory.
16 N4 is registered in memory. Enter address M and then 02. Press
<EOB> to register the last block, N4M02;, in memory. This
completes the registration of the sample program.
The contents of memory can be checked in TEACH IN mode according
to the same procedure as in EDIT mode.