Execution Order
A block (line of G
-code) consists of a sequence of words. The programmed order of words is not considered by the GST interpreter. Instead, the following execution order is obeyed that consists of 7 sequential and dependent steps.
1. Reference System
|
| Set block number.
|
|
|
|
|
|
|
|
| Selection of absolute/ incremental programming.
|
|
| Selection of a tool and its orientation.
|
2. Configuration
|
| (De-)activation of Tool Radius Compensation.
|
|
| Selection and programming of zero offset shift.
|
|
| Set velocity.
|
3.
|
| M-functions that are configured as “before”.
|
4. Parameter to PLC
|
|
|
5. Movement
|
| Movement to a point.
|
|
|
|
6. Wait
|
|
|
7.
|
| M-functions that are configured as “after”.
|
The first step sets up the reference system. The second step configures following movements. Note that the second step may depend on the first one. E.g. the programmed velocity (F
) considers a velocity unit (G700
) that is programmed in the same block. Step three and the following steps perform actions like a movement.