Sequence of the commands
INFORMATION
The sequence of the words is maintained when imported. A different word order may cause the robot controller to behave differently.
According to ISO, all G-commands must be at the beginning of a set. This is not required when importing G-code. Only 1 G-command that triggers the motion is permitted per block (G0..G3). Other G commands (e.g. G90) and the address commands (e.g. X, F) are interpreted before triggering the motion.
Example: G01 X200 G90
In this case, G90 (absolute dimensions) takes effect before X200, therefore X200 is already interpreted as an absolute dimension.
Setting a coordinate system or switching the plane alone in a set does not cause motion.
The order of a sequence of M-functions and the position of the M-functions with respect to the G-command that triggers motion is taken into account.
Example: M66 M3 G01 X200
M66 and subsequently M3 are both executed before the motion.
Example: M66 G01 M5 X200
M66 is executed first. After motion is carried out, M5 is executed.
The first word of the set "N" must be programmed as the first word in a set if it appears in the set.