9. COORDINATE VALUE
Numerical values can be entered with a decimal point. A decimal point
can be used when entering a distance, time, or speed. Decimal points can
be specified with the following addresses:
X, Y, Z, U, V, W, A, B, C, I, J, K, Q, R, and F.
There are two types of decimal point notation: calculator–type notation
and standard notation.
When calculator–type decimal notation is used, a value without decimal
point is considered to be specified in millimeters inch,or deg. When
standard decimal notation is used, such a value is considered to be
specified in least input increments.Select either calculator–type or
standard decimal notation by using the DPI bit (bit 0 of parameter
3401).Values can be specified both with and without decimal point in a
type decimal point
Standard type decimal
Command value without
Unit : mm
Unit : Least input increment
Command value with
Unit : mm
Unit : mm
In a single block, specify a G code before entering a value. The position of decimal point may
depend on the command.
G20; Input in inches
X1.0 G04; X1.0 is considered to be a distance and processed as X10000. This command
is equivalent to G04 X10000. The tool dwells for 10 seconds.
G04 X1.0; Equivalent to G04 X1000. The tool dwells for one second.
1 Fractions less than the least input increment are truncated.
X1.2345; Truncated to X1.234 when the least input increment is 0.001 mm.
Processed as X1.2345 when the least input increment is 0.0001 inch.
2 When more than eight digits are specified, an alarm occurs. If a value is entered with a decimal
point, the number of digits is also checked after the value is converted to an integer according
to the least input increment.
X1.23456789; P/S alarm 0.003 occurs because more than eight digits are specified.
X123456.7; If the least input increment is 0.001 mm, the value is converted to integer
123456700. Because the integer has more than eight digits, an alarm occurs.