
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 255 –
(c) Interrupt signal for custom macros (UINT [#1, #2])
[Classification]
Input signal
[Function] This signal calls and executes a program in memory. During execution, a program in auto-
matic operation is suspended.
To enable this signal to be accepted, a particular miscellaneous function must be specified
by parameter setting in a command program for automatic operation. In addition, automatic
operation must already be started.
For detailed information, refer to the Operator’s Manual.
2.3.56 Tool measurements
(a) Measuring position reached signals (AE1 (#1, #2), AE2 (#1, #2), AE3 (#1, #2))
[Classification]
Input signals
[Function] If the measuring position specified by a program command differs from the measuring posi-
tion which a tool has reached in practice, that is, the position at the moment the measuring
position reached signal has just been turned on, the difference in the coordinate value is add-
ed to the current tool compensation value to update the compensation value. The tool is first
fed to the specified measuring position by rapid traverse in a block where one of the following
commands has been specified:
G37.1 (or G37), G37.2, G37.3
The tool decelerates and temporarily stops at the distance O before the measuring position.
The tool then moves to the measuring position at the speed preset by a parameter. If the mea-
suring position reached signal corresponding to the G code is turned on after the tool has ap-
proached within distance ε of the measuring position and before the tool overshoots the mea-
suring position by distance ε, the control unit updates the compensation value and terminates
the move command for the block. If the measuring position reached signal is not turned on
even after the tool has overshot the measuring position by distance ε, the control unit enters
an alarm state and terminates the move command for the block without updating the com-
pensation value.
Feedrate
Start point
Rapid traverse
Presumed measuring
position
εε
γ
Measuring position read signal
[Operation] When the signal is turned on, the control unit operates as follows:
1 Reads the position of the tool along the axis currently specified and updates the current
compensation value based on the difference between the specified measuring position
and the read measuring position in the following case: When the measuring position
reached signal corresponding to the G code is turned on in a block where one of G37.1,
G37.2, and G37.3 is specified after the tool is within distance ε of the measuring position
specified by a program and before the tool overshoots the measuring position by dis-
tance ε. The control unit then decelerates, stops the tool, and terminates the move com-
mand for the block.