10. CREATING PROGRAMS
10 Enter the P2 machine position for data of the third block as follows:
This operation registers G01 X0 Y10000 F300; in memory.
The automatic sequence number insertion function registers N4 of the
fourth block in memory.
11 Register M02; in memory as follows:
N5 indicating the fifth block is stored in memory using the automatic
sequence number insertion function. Press the
key to delete it.
This completes the registration of the sample program.
It is possible to register the machine position (workpiece coordinate
system’s current position) in the memory in the following procedure.
1 Select the TEACH IN JOG mode or TEACH IN STEP mode.
2 Move the machine to the required position.
3 Press the
4 Enter the address X.
5 Press the
key, then the machine position along the X axis is
stored in the memory.
X10.521 Absolute position (for metric input)
X10.521 Content stored in the program
6 Enter address
, then press the
key. The machine position
on the Y–axis is stored in the memory.
After entering the address X, Y enter a numerical value and Press
key, then the value entered is added to the machine position.
This is used to correct the machine position through key entry.
The coordinate value registered in this way will be an absolute
coordinate value. Enter G90 (Absolute programming) at the
beginning of the program.
The command to be entered before and after machine position shall
be entered by the same operation as that conducted in the EDIT
mode before and after registering the machine position,
, the block registration completes.
Procedure for DPL/MDI