10. CREATING PROGRAMS
(Example) O1234 N1 G92X –; P0
N2 G00X –; P1
N3 G01X –F300; P2
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
5 Enter the address O, numeric value 1234, and Press the
Then the program number O1234 is stored in the memory.
6 Enter the address N, numeric value 1, and Press the
sequence number 1 is stored in the memory as the initial value of the
7 Enter the address G, numeric value 92, and Press the
the G92 is stored in the memory.
8 Enter address X and press
. The machine position, P0, is
registered in memory.
9 When X is entered and
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
. Enter address X and then
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
. Then enter address X and
. Enter address F and then 300
to register the third
block, N3G01X–F300;, in memory.
16 N4 is registered in memory. Enter address M and then 02.
to register the last block, N4M02;, in memory.
This completes the registration of the sample program.
Examples for DPL/MDI