15. Measurement Support Functions
15.7 Stroke Check Before Travel; G22.1/G23.1
560
15.7 Stroke Check Before Travel; G22.1/G23.1
Function and purpose
By commanding the boundaries from the program with coordinate values on the machine
coordinate system, machine entry into that boundary can be prohibited. This can be set only for the
three basic axes.
While the normal stored stroke limit stops entry before the prohibited area, this function causes a
program error before movement to the block if a command exceeding the valid movement area is
issued.
Command format
G22.1 ; X__ Y__ Z__ I__ J__ K__;
G23.1;
Stroke check before travel ON
Stroke check before travel cancel
G22.1
: Stroke check before travel ON
G23.1
: Stroke check before travel cancel
X Y Z
: Coordinates of upper point (basic axis name and its coordinate position)
I J K
: Coordinates of lower point (basic axis name and its coordinate position)
(Note)
In the following command format, the basic axes are X, Y and Z. If the basic axis name
differs, command the point 1 coordinate command address with the basic axis name.
Detailed description
(1) The inner side of the boundary commanded with the point 1 coordinate and point 2 coordinate
is the prohibited area.
(2) If the command is omitted, "0" will be set for the address.
(3) The area designated with this function is different from the area designated with the stored
stroke limit. However, the area enabled by both functions will be the actual valid movement
range.
X
Z
Y
Upper point
designated coordinate
Prohibited area
Upper point
designated coordinate
(Note)
The upper point and lower point are commanded with coordinate on the machine
coordinate system.