![GSK 980TDi User Manual Download Page 197](http://html1.mh-extra.com/html/gsk/980tdi/980tdi_user-manual_2275219197.webp)
Official GSK Agents in South Africa
Tel: +27 11 626 2720, [email protected]
Chapter 3 G Commands
181
Ⅰ
Programming
G22
:
Open the stored stroke limit detection 2
G23
:
Close the stored stroke limit detection 2
X_Y_Z_
:
The limit coordinate value along positive direction, after the command is
performed, this data is then converted into the corresponding value to
save in the data parameter No.100. When the data does not input, the
value of the data parameter No.100 is regarded as the limit coordinate
value along the positive direction based upon the stored stroke limit
detection.
I_J_K_
:
The limit coordinate value along negative direction, after the command is
performed, this data is then converted into the corresponding value to
save in the data parameter No.101. When the data does not input, the
value of the data parameter No.101 is regarded as the limit coordinate
value along the negative direction based upon the stored stroke limit
detection.
Precautions:
1) The limit coordinate values of the stored stroke limit detection 2 are the coordinate
values of the machine tool coordinates;
2) When the Bit 4 of state parameter No. 172 sets to 0, the limit function is disabled, the
modal is fixed as G23; the alarm may issue by using the G22/G23 command;
3) The initial modal is G23 when the system power is turned on;
4) The inner/outer prohibition of the setting range is set by bit 2 of parameter No. 172;
5) When the bit 1 of state parameter No. 172 sets to 1, if the stored stroke limit detection 2
sets as inner limit, the limit function is then enabled after the overall axes are returned to
zero following with the system power is turned on; if it sets as the outer limit, after the
system ON, the limit function of an axis is enabled after this axis returns to zero;
6) G22/G23 coe can not be shared a same block with other G and MST codes; otherwise,
the alarm issues.
7) G22 code only can be changed the limit area of the X, Z or Y axis, if the limit area of the
rest of the axes should be altered, which can be set by the data parameter No. 100 or
No.101;
8) When the prohibition area of the stored stroke limit detection 2 is set, as well when the
positive stroke is less than or equals to the negative one and the external prohibition is
selected, the overall areas are the forbidden areas;
9) When the prohibition area of the stored stroke limit detection 2 is set, as well when the
positive stroke is less than or equals to the negative one and the internal prohibition is
selected, the overall areas are the movable areas;
10) Set whether an axis is performed the stored stroke detection 2 by the bit 2 of parameter
No.190.
3.31 G Code Macro Program Call
Code format:
G
□□□□
L <Agrument >_
Code value
(
0~9999
)
Code explanation: Code value:
It is set by data parameter
№
.86~
№
.95;
L: The called times (It defaults to 1 if it omits, which can be specified the repeated
times from 1 to 9999);