How to Program a Movement Stop
(Original Document)
Instruction
The instruction for a movement stop is as follows:
Instruction
Instruction code
Icon
Movement stop
04
This instruction is used to stop G01, G30 and G11 non-stop movements as quickly as possible. It is equivalent to a STOP order.
There are no parameters associated with instruction G04.
Example
Stopping a G01 movement after a time period of 10s:
SMOVE (AXIS_CH0,1,91,01,100000,1500,16#0000)
SMOVE (AXIS_CH0,2,90,05,0,10000,16#0000)
SMOVE (AXIS_CH0,3,90,04,0,0,16#0000)
AXIS_CHO of type T_AXIS_STD
Comment:
Unlike the STOP instruction, a movement stop using the instruction code 04 does not empty the buffers.