Example: Switch action on/off
In the following example program, an empty travel command is required before exiting the program. Here is a path for which an action is activated at the beginning and deactivated at the end.
G-code
G1 X0
M3
;Switch on
G1 X250
M4
;Switch off
M30
SEW Robot Language