![](/images/new-backgrounds/1256769/256769321x1.webp)
19 Safety Functions
19 Safety Functions
19.1 Programmable Stroke Check (G22, G23)
Instruction
G22 X Y Z I J K P
will forbid to enter the area selected by the command. Meaning of addresses:
X:limit along axis X in positive direction
I:limit along axis X in negative direction
Y:limit along axis Y in positive direction
J:limit along axis Y in negative direction
Z:limit along axis Z in positive direction
K:limit along axis Z in negative direction
The following conditions must be fulfilled for the specified data: X$I, Y$J, Z$K
It can be selected at address P that the area is prohibited on the outside or on the inside. P=0, the selected area is prohibited on the inside.
P=1, the selected area is prohibited on the outside.
Fig. |
Instruction
G23
will cancel programmable stroke check function, the tool can enter the area selected above. Instruction G22, G23 will
Instruction G22 or G23 will set parameter STRKEN to 1 or 0, respectively. Instruction G22 P0 or G22 P1 will set parameter EXTER to 0 or 1, respectively. Coordinates X, Y, Z in instruction G22 will write the LIMP2n parameters pertaining to the respective axes, coordinates I, J, K will set the LIMN2n values pertaining to the respective axes. Before being written to the respective parameters, the coordinates in instruction G22 will be converted to the coordinate system of the machine, with the selected compensation offsets included. Thus e.g., if the length compensation is set up in direction Z when instruction G22 is specified, the
161