
18.CUSTOM MACRO NC FUNCTIONS B-63322EN/03
- 238 -
off, but common variables #500 to #999 are not cleared after
power is turned off.
- 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 points DI (for read only)
- 128 points DO (for output only)
- Tool offset amount, work zero point offset amount
- Position information (actual 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, Miscellaneous function end wait hold
- Feed hold, Feed rate 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.
- Limitations
- Usable variables
See Item "- Types of variables" above.
- 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-3