TOMATECH AUTOMATION
Ⅰ Programming
3.27 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# 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.
Notes
⑴ No.001#0(INI) input increment unit change
①.After the input increment unit is changed (inch/metric input), the following unit system
is
changed: (i.e.: mm<>inch; mm/min<>inch/min):
-F specifies the feedrate (mm/min<>inch/min), thread lead (mm <>inch)
—position command (mm<>inch)
—tool compensation value (mm<>inch)
—MPG graduation unit (mm<>inch)
—movement distance in incremental feed (mm<>inch)
—some data parameters, including NO.49~NO.54, NO.56, NO.59, NO.60, NO.114~
NO.116,
NO.120~ NO.127, NO.140, No.141, No.154; the unit is 0.001mm(IS-B) in the metric input
system, is 0.0001inch(IS-B) in the inch input system. For example, the same parameter
NO.49 setting value is 100m, it means to be 0.1mm in the metric input system (G21), and
it means 0.01inch in the inch input system (G20).
②.The machine coordinates will automatically switch after the input increment unit
change is switched:
⑵ No.004#0(SCW) output command unit change
SCW=0: the system minimal command increment uses the metric output (0.001mm)
SCW=1: the system minimal command increment uses the inch output (0.0001inch)
Some data parameter meanings will be changed when the output control bit parameter
SCW is changed:
①.Speed parameter:
Metric machine: mm/min
Inch machine: 0.1 inch/min
Example: when the speed is set to 3800, the metric machine is 3800 mm/min and the
inch machine is 380 inch/min.
Speed parameters: No.22, No.23, No.27, No.28~No.31, No.32, No.33, No.41, No.107,
No.113;
②.Position(length) parameter