
B-63942EN/02 NC FUNCTION 5.PROGRAM INPUT
- 215 -
• System variables
A variable with a certain variable number has a certain value. If
the variable number is changed, the certain value is also changed.
The certain value are the following:
- 128 DI points (for read only)
- 128 DO points (for output only)
- Tool compensation value, workpiece origin offset value,
and workpiece coordinate system value
- Position information (current position, skip position, block
end position, etc.)
- Modal information (F code, G code for each group, etc.)
- Alarm message (Set alarm number and alarm message, and
the CNC is set in an alarm status. The alarm number and
message is displayed.)
- A date (year, month, day) and time (hour, minute, second)
are indicated.
- Clock (Time can be known. A time can also be preset.)
- Single block stop, auxiliary function end wait hold
- Feed hold, Feedrate override, Exact stop inhibition
- The number of machining parts is indicated. It can be preset.
- External output commands
Value of variables or characters can be output to external devices via
the reader/puncher interface with custom macro command. Results in
measurement is output using custom macro.
- Limitation
• Usable variables
See "Types of variables".
• Usable variable values
Maximum : ±10
308
Minimum : ±10
-308
• Constants usable in <expression>
Maximum : ±999999999999
Minimum : ±0.00000000001
Decimal point allowed
• Arithmetic precision
15-digit decimal number
• Macro call nesting
Maximum 5 folds.
• Repeated ID numbers
1 to 3
• [ ] nesting
Maximum 5 folds.
• Sub program call nesting
15 folds (including macro call nesting)