17. MEASUREMENT FUNCTIONS
B–63832EN/01
NC FUNCTION
188
Supplement : When single–contact input (when bit 3 (TS1) of parameter
No. 5004 is set to 1) is set for touch detection in the touch sensor
When receiving the touch detection signal (tool compensation value
writing signal +MIT1) from the touch sensor, the CNC determines the
two directions along each axis automatically according to the number
of pulses stored for the movement along each axis that has been made
until the input of the signal. (Set the number of interpolation cycles
of stored pulses in parameter No. 5021 in advance.)
After determining the two directions along each axis automatically,
the CNC applies axis interlock to the corresponding axis direction to
stop feed operation, and the calculated tool compensation value is
stored in tool compensation memory.
When stored pulses show various directions, when the servo power is
shut down (the servo off state), or when no pulse is stored because no
axis movement has taken place, the direction cannot be determined,
so P/S alarm No. 5195 is generated.
Also when the tool moves along two axes (the X–axis and Z–axis), the
P/S alarm is generated. So, the tool must be moved along just one axis.
If the P/S alarm is generated, the tool compensation value is not set,
and the two axes and four directions are interlocked.
NOTE
1 Pulses used for automatic determination are stored while
the tool compensation value writing mode select signal
GOSQM <G039#7> is 1 in manual mode. These pulses are
lost when:
a. A mode other than manual mode is set.
b. The tool compensation value writing mode select signal
GOSOM <G039#7> is driven to 0.
c. The tool compensation value is set upon reception of the
touch detection signal from the touch sensor, or P/S
alarm No. 5195 is generated.
d. The servo off state is entered. In this case, the pulses
stored for the axis for which the servo off state is entered
are lost.
e. Axis movement is performed. In this case, pulses stored
for the other axis along which no movement takes place
are lost.
2 Axis interlock applied in the axis direction determined
automatically and two–axis four–direction interlock applied
due to a P/S alarm are released when a mode other than
manual mode is set or when the tool compensation value
writing mode select signal GOSQM <G039#7> is driven to
0. This type of interlock is not released by a reset operation.