
B-63943EN-2/01 6.MACRO EXECUTOR FUNCTION
- 221 -
Example
#100 = #8554 ;→ The cutting distance is read into
#100.
#8554 = 0 ; → The cutting distance is preset to 0.
- Cumulative cutting distance along an arbitrary axis only
A cumulative calculation can be made by excluding an axis selected
using bit 0 (NDTx) of parameter (No. 9026).
However, this function is valid only during linear interpolation using
a code such as G01. During circular interpolation using the G02 or
G03 command, for example, even an axis selected using bit 0 (NDTx)
of parameter (No. 9026) is included in a cumulative cutting distance
calculation.
Example
When, on a machine with 1st axis = X and 2nd axis
= Y, bit 0 (NDTx) of parameter (No. 9026) for the
1st axis is set to 1:
1 G01 X_ Y_ F_;
#100 = #8554 ; → The cutting distance of the
axis other than the 1st axis
can be read.
2 G17;
G02 X_ Y_ I_ J_ F_;
#100 = #8554 ; → The cutting distance of all
axes including the 1st axis
can be read.
NOTE
1 To use the cutting distance read and preset
functions, the following settings are required:
Compile parameter EXT1 (No.9002#7) = 1
Compile parameter CUTLG (No.9004#7) = 1
2 Even if cutting is stopped by a reset so that a tool
move distance is added to #8554 at the start of
cutting block execution, the travel distance of the
block is added.
3 When the power is turned on, #8554 is not set to 0.
The cumulative value is clamped to 2147483648.
Management by the user is requested.
6.8.1 Differences from the Series 16i
Function
Series 16i Series 30i
Cutting period reading and
presetting
Even if presetting is performed, parameter
Nos. 6753 and 6754 are not modified.
Both reading and presetting are performed
based on parameter Nos. 6753 and 6754.
Cutting distance
accumulation along
arbitrary axes only
The first, second, and third controlled axes
only can be selected.
All axes can be selected.