A simple machining command instruction is as follows:
Instruction
|
Instruction code
|
Icon
|
Preparing simple machining
|
32
|
|
Executing simple machining
|
30
|
|
Instruction 32 and 30 are used to create a simple machining profile consisting of:
-
an approach speed defined in instruction G32,
-
a machining speed and a target position defined in instruction G30.
SMOVE (AXIS_CH0,1,90,32,0,1000,0) AXIS_CH0 of type T_AXIS_STD
SMOVE (AXIS_CH0,2,90,30,5000000,500,0) AXIS_CH0 of type T_AXIS_STD
-
Command G32 is a preparation command. It can be activated in the same PLC cycle as a G30 command, without monitoring the NEXT and DONE bits.
-
The reactivating command G32 does not have to be reactivated when the approach speed remains unchanged, as the speed is stored. On the other hand, it is mandatory to send at least one G32 command before executing a G30 command.
-
If it is not followed by a movement command, instruction G30 triggers a movement without stop whose behavior is identical to instruction G01. If instruction G30 is not followed by a movement command and if a sequence control is requested, it will cause a command refusal.
-
If the moving part is in motion, instruction G30 must not change the direction of movement.
-
Instruction G30 is normally followed by a G09 instruction (figure 1). If this sequence causes a change in direction, the process stops and inverts in order to obtain the value G09 (figure 2).
-
If the distance to be covered by instruction G30 does not allow the specified speed to be reached, the movement then takes one of the following trajectories: