Sequence of the commands

INFORMATION

The sequence of the words is maintained during import. A different word order may cause the robot controller to behave differently.

According to ISO 6983‑1, all G-commands must be placed at the beginning of a block. 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 letters (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 block 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 block "N" must be programmed as the first word in a block if it appears in the block.

A program end (M2, M30) must be present in the code, otherwise the imported program is invalid.