15. MEASUREMENT
B-64693EN-1/01
- 2482 -
-
If touch sensor contact detection is based on a one-contact input
If touch sensor contact detection is based on a one–contact input (bit 3 (TS1) of parameter No. 5004 is 1),
when a contact detected signal (tool compensation amount write signal +MIT1) is received from the touch
sensor, which of the two directions of each axis is involved is automatically determined according to
several pulses stored as a result of the axis movement that was made before the signal reception. So the
number of interpolation cycles related to the stored pulses must previously be set in parameter No. 5021.
Once which of the two directions of each axis is involved is automatically determined, the corresponding
axis direction is subjected to axis interlock to stop feeding, and the obtained tool geometry compensation
amount is stored in tool compensation memory. If the directions of stored pulses are not unified, or no
pulse has been stored, for example, because the servo power has been shut off (servo off) or no axis
movement occurred, an alarm PS5195 is issued. An alarm PS5195is issued also if the tool moves along
two axes (X–axis and Z–axis) simultaneously; move the tool along one axis at a time. If an alarm PS5195
is issued, no tool geometry compensation amount will be set up, resulting in the four directions (two axes)
being subjected to interlock.
NOTE
1 Pulse storage for automatic decision is carried out in the manual mode while the
GOSQM <Gn039.7> (tool compensation amount write mode select) signal is “1”.
Stored pulses are lost if:
a. The manual mode is exited,
b. The GOSQM <Gn039.7> (tool compensation amount write mode select)
signal becomes “0”,
c. A contact detected signal is received from the touch sensor, resulting in a tool
geometry compensation amount being set or an alarm PS5195 being issued,
d. The servo power becomes off (resulting in the stored pulses for the related
axis being lost), or
e. Axis movement occurs (resulting in the stored pulses for the other axis being
lost).
2 Axis interlock that has occurred for the axis direction identified by
parameter–based automatic decision and two–axis, four–direction interlock that
has occurred because of an alarm PS5195 being issued are canceled when the
manual mode is exited or the GOSQM <Gn039.7> (tool compensation mount
write mode select) signal becomes “0”.
A reset does not cancel interlock.
-
Determination of the axis movement direction in four-contact input
Set bit 3 (TS1) of parameter No. 5004 to 0 and bit 4 (TSD) of parameter No. 5009 to 1 to enable the input
signals from the touch sensor and the movement direction of an axis to be monitored during measurement
in the tool compensation write mode.
When the measurement is determined to be invalid, the moving axis is interlocked and an alarm PS5195
occurs.
-
Conditions under which measurement is determined to be invalid
The movement direction of an axis and the tool compensation write signals (+MIT1, +MIT2, -MIT1,
-MIT2) are monitored in the tool compensation write mode (GOQSM<Gn039.7>=”1”). In the
following case, the operation is determined to be invalid, the axis is interlocked, and an alarm
PS5195 occurs.
(1) A tool compensation write signal whose direction did not match the axis was input during
measurement.
(2) Any of the tool compensation write signals was input while the X- and Z-axes moved together.
(3) Any of the tool compensation write signals was input without the axis being moved.