![GSK 980TDi User Manual Download Page 195](http://html1.mh-extra.com/html/gsk/980tdi/980tdi_user-manual_2275219195.webp)
Official GSK Agents in South Africa
Tel: +27 11 626 2720, [email protected]
Chapter 3 G Commands
179
Ⅰ
Programming
WHILE [conditional expression] DOm; (m=1, 2, 3)
When the condition When the
is not met. condition is met.
END m;
Explanation: when the specified condition is valid, the system executes the block between DO
and END; otherwise, executes the block after END. The two tabs after DO and END are consistent,
and the tab value can be 1, 2 or 3, otherwise, the system alarms.
Nest:
the tab (1~3) in DO, END can be used many times. But the system alarms when there is
the intercross repetitive cycle in the program.
3.29 Metric/Inch Switch
Command format
: G20; (inch input)
G21; (metric input)
Explanation
: input/output unit of CNC system is divided into two, i.e., metric unit: mm and inch unit:
inch.
Input unit of modifying the system has also:
Modifying BIT0 (metric/inch): 0: metric input 1: inch input
No. 001# 0 completely corresponds to G20/G21, namely, the parameter also changes
when G20/G21 is executed; G20/G21 mode also changes when the parameter is
modified, and the alarm prompt occurs after modification. Parameters relevant to
metric/inch are referred to Installation & Connection, Section 3.2.17.
Program