Professional Documents
Culture Documents
OSP-P300S/P300M/P300S-R/P300M-R
INSTRUCTION MANUAL
(3rd Edition)
Pub No. 6130-E-R2 (ME61-315-R3) Nov. 2014
6130-E P-(i)
SAFETY PRECAUTIONS
SAFETY PRECAUTIONS
The machine is equipped with safety devices which serve to protect personnel and the machine itself from
hazards arising from unforeseen accidents. However, operators must not rely exclusively on these safety
devices: they must also become fully familiar with the safety guidelines presented below to ensure accident-
free operation.
This instruction manual and the warning signs attached to the machine cover only those hazards which
Okuma can predict. Be aware that they do not cover all possible hazards.
Do not draw the primary power supply from a distribution panel that also supplies a major
noise source (for example, an electric welder or electric discharge machine) since this
could cause malfunction of the CNC unit.
If possible, connect the machine to a ground not used by any other equipment. If there is
no choice but to use a common ground, the other equipment must not generate a large
amount of noise (such as an electric welder or electric discharge machine).
Make sure that the CNC unit will not be subject to direct sunlight.
Make sure that the control enclosure will not be splashed with chips, water, or oil.
Make sure that the control enclosure and operation panel are not subject to excessive
vibrations or shock.
The permissible ambient temperature range for the control enclosure is 5 to 40°C (41 to
104°F).
The permissible ambient humidity range for the control enclosure is related humidity 50%
or less at 40°C (104°F) (no condensation).
The maximum altitude at which the control enclosure can be used is 1000 m (3281ft.).
(2) Make absolutely sure that there is nobody near the moving parts of the machine, and that there
are no obstacles around the machine, before starting machine operation.
(3) When turning on the power, turn on the main power disconnect switch first, then the CONTROL
ON switch on the operation panel.
6130-E P-(ii)
SAFETY PRECAUTIONS
(2) Use tools whose dimensions and type are appropriate for the work undertaken and the machine
specifications. Do not use badly worn tools since they can cause accidents.
(3) Do not, for any reason, touch the spindle or tool while spindle indexing is in progress since the
spindle could rotate: this is dangerous.
(4) Check that the workpiece and tool are properly secured.
(5) Never touch a workpiece or tool while it is rotating: this is extremely dangerous.
(6) Do not remove chips by hand while machining is in progress since this is dangerous. Always
stop the machine first, then remove the chips with a brush or broom.
(7) Do not operate the machine with any of the safety devices removed. Do not operate the
machine with any of the covers removed unless it is necessary to do so.
(9) Do not approach or touch any moving part of the machine while it is operating.
(10) Do not touch any switch or button with wet hands. This is extremely dangerous.
(11) Before using any switch or button on the operation panel, check that it is the one intended.
(2) Always inspect and change tools in the magazine in the manual magazine interrupt mode.
(3) Remove chips adhering to the magazine at appropriate intervals since they can cause
misoperation. Do not use compressed air to remove these chips since it will only push the chips
further in.
(4) If the ATC stops during operation for some reason and it has to be inspected without turning the
power off, do not touch the ATC since it may start moving suddenly.
5. On Finishing Work
(1) On finishing work, clean the vicinity of the machine.
(2) Return the ATC, APC and other equipment to the predetermined retraction position.
(3) Always turn off the power to the machine before leaving it.
(4) To turn off the power, turn off the CONTROL ON switch on the operation panel first, then the
main power disconnect switch.
6130-E P-(iii)
SAFETY PRECAUTIONS
(1) When trouble occurs, press the emergency stop button on the operation panel to stop the
machine.
(2) Consult the person responsible for maintenance to determine what corrective measures need
to be taken.
(3) If two or more persons must work together, establish signals so that they can communicate to
confirm safety before proceeding to each new step.
(5) Always turn the power off before starting inspection or changing parts.
(6) When parts are removed during inspection or repair work, always replace them as they were
and secure them properly with their screws, etc.
(7) When carrying out inspections in which measuring instruments are used - for example voltage
checks - make sure the instrument is properly calibrated.
(8) Do not keep combustible materials or metals inside the control enclosure or terminal box.
(9) Check that cables and wires are free of damage: damaged cables and wires will cause current
leakage and electric shocks.
a. Switch the main power disconnect switch OFF before opening the control enclosure door.
b. Even when the main power disconnect switch is OFF, there may some residual charge in
the MCS drive unit (servo/spindle), and for this reason only service personnel are permitted
to perform any work on this unit. Even then, they must observe the following precautions.
c. The control enclosure contains the NC unit, and the NC unit has a printed circuit board
whose memory stores the machining programs, parameters, etc. In order to ensure that the
contents of this memory will be retained even when the power is switched off, the memory
is supplied with power by a battery. Depending on how the printed circuit boards are
handled, the contents of the memory may be destroyed and for this reason only service
personnel should handle these boards.
6130-E P-(iv)
SAFETY PRECAUTIONS
7. General Precautions
(1) Keep the vicinity of the machine clean and tidy.
(2) Wear appropriate clothing while working, and follow the instructions of someone with sufficient
training.
(3) Make sure that your clothes and hair cannot become entangled in the machine. Machine
operators must wear safety equipment such as safety shoes and goggles.
(4) Machine operators must read the instruction manual carefully and make sure of the correct
procedure before operating the machine.
(5) Memorize the position of the emergency stop button so that you can press it immediately at any
time and from any position.
(6) Do not access the inside of the control panel, transformer, motor, etc., since they contain high-
voltage terminals and other components which are extremely dangerous.
(7) If two or more persons must work together, establish signals so that they can communicate to
confirm safety before proceeding to each new step.
6130-E P-(v)
SAFETY PRECAUTIONS
TABLE OF CONTENTS
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL
BREAKAGE DETECTION FUNCTION .................................................1
1-1. Overview............................................................................................................................ 1
1-1-1. Displaying the Result of Gauging ........................................................................ 2
1-1-2. Function Menu..................................................................................................... 3
1-2. Automatic Tool Length Offset/Automatic Tool Breakage Detection Operation.................. 9
1-2-1. Setting the Touch Sensor Zero Point ................................................................ 10
1-2-2. Setting the Pot No./Tool No. Table.................................................................... 16
1-2-3. Operation Mode Designation............................................................................. 17
1-2-4. Automatic Tool Length Offset Function ............................................................. 19
1-2-5. Setting the Tool Change Position (Other Than MC-H)...................................... 23
1-2-6. Automatic Tool Breakage Detection.................................................................. 24
1-2-7. Cycle Time Reduction for Automatic Tool Length Offset/Automatic
Tool Breakage Detection Cycle......................................................................... 29
1-2-8. New Cycle Time Reduction Function for Automatic Tool Length
Offset/Automatic Tool Breakage Detection Cycle ............................................. 31
1-3. Automatic Tool Length Offset/Automatic Tool Breakage Detection Function for
Special Tools and Attachments ....................................................................................... 35
1-3-1. Automatic Tool Length Offset/Automatic Tool Breakage Detection
Function for Horizontal Tools of MCM............................................................... 35
1-3-2. Operation for Automatic Tool Length Offset/Automatic Tool Breakage
Detection on B/C-axis Attachments, 90° Angular Attachments and
Extension Attachments (Option)........................................................................ 42
1-3-3. Operation of Automatic Tool Length Offset/Automatic Tool Breakage
Detection with 30° Angular Attachments (Option) ............................................. 51
1-3-4. Operation of Automatic Tool Length Offset/Automatic Tool Breakage
Detection with 45° Angular Attachments (Option) ............................................. 63
1-3-5. Operation of Automatic Tool Length Offset/Automatic Tool Breakage
Detection with 60° Angular Attachments (Option) ............................................. 75
1-4. Y-axis Escape Position (MCM-B/MCR-B II/MCR-A/VH-40)............................................. 87
1-4-1. Setting the Y-axis Escape Position ................................................................... 87
1-4-2. Tool Movements during Automatic Tool Length Offset (Cutter Radius
Compensation)/Automatic Tool Breakage Detection Cycle .............................. 88
1-5. Interference Prevention Measures for MCV-A/MCV-A II During Execution of
the Automatic Tool Length Offset/Automatic Tool Breakage Detection Cycle................. 90
1-5-1. Touch Sensor Operation Interlock..................................................................... 90
1-5-2. Measures against Interference during Execution of the Automatic
Tool Length Offset/Tool Breakage Detection Cycle .......................................... 90
1-6. Variables Used in Subprograms ...................................................................................... 92
1-6-1. Table of Subprograms and Variables................................................................ 92
1-6-2. Table of Subprograms and Variables (MCM Horizontal Tools)......................... 95
1-6-3. How to Use Variables........................................................................................ 98
1-7. Cautions on Operation................................................................................................... 106
1-8. Program Examples ........................................................................................................ 109
6130-E P-(ii)
TABLE OF CONTENTS
1-1. Overview
The automatic tool length offset/automatic tool breakage detection function automatically calculates
the tool offset data and detects breakage (chipping) of tools such as drills, taps, reamers and boring
bars.
The specifications of this function are classified into the following two types.
Specifications for automatic tool length offset and automatic tool breakage detection
A touch sensor is mounted in the machine: a tool mounted in the spindle is brought into contact with
this touch sensor to determine the tool offset data and to detect if the tool has been broken.
For tools which are mounted and removed without using the ATC, refer to the section Tool
Management Function in the special specifications of the Operation Manual.
Procedure :
ME61315R0300300020001
6130-E P-3
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
ME61315R0300300030001
ME61315R0300300030002
For details on the function keys, refer to [TOOL/ZERO Function Key] to [VARIOUS ON/OFF
Function Key] in 1-1-2.
6130-E P-4
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
The TOOL/ZERO pop-up window displays the presently set zero offset number and tool offset
numbers. To display the TOOL/ZERO pop-up window, follow the procedure indicated below.
Procedure :
ME61315R0300300040001
The TOOL/ZERO pop-up window closes when function key [F8] (CLOSE) is pressed.
6130-E P-5
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
The MSB ZERO OFFSET (VSZO*[N]) pop-up window displays the offset data set for the individual
zero offset numbers. To display the MSB ZERO OFFSET (VSZO*[N]) pop-up window, follow the
procedure indicated below.
Procedure :
ME61315R0300300050001
The MSB ZERO OFFSET (VSZO*[N]) pop-up window closes when function key [F4] (MSB
ZERO ON/OFF) is pressed again.
6130-E P-6
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
The MSB TOOL LENGTH OFFSET (VSTOH[N])/MSB CUTTER RADIUS COMP (VSTOD[N]) pop-
up window displays the offset data set for the individual tool length offset and cutter radius
compensation numbers. To display the MSB TOOL LENGTH OFFSET (VSTOH[N])/MSB CUTTER
RADIUS COMP (VSTOD[N]) pop-up window, follow the procedure indicated below.
Procedure :
ME61315R0300300060001
The MSB TOOL LENGTH OFFSET (VSTOH[N])/MSB CUTTER RADIUS COMP (VSTOD[N])
pop-up window closes when function key [F5] (MSB TOOL ON/OFF) is pressed again.
6130-E P-7
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
The NC COMMUNICATION (VNCOM[N]) pop-up window displays the values set for system
variables VNCOM and the contact status of the sensor. To display the NC COMMUNICATION
(VNCOM[N]) pop-up window, follow the procedure indicated below.
Procedure :
ME61315R0300300070001
The NC COMMUNICATION (VNCOM[N]) pop-up window closes when function key [F6]
(SENSstat ON/OFF) is pressed again.
6130-E P-8
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
The VARIOUS DATA pop-up window displays the values set for the individual system variables. To
display the VARIOUS DATA pop-up window, follow the procedure indicated below.
Procedure :
ME61315R0300300080001
The VARIOUS DATA pop-up window closes when function key [F7] (VARIOUS ON/OFF) is
pressed again.
6130-E P-9
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
[Supplement]
With a double-column machining center that has a touch sensor at a location other than the
crossrail (on the table, for example), the Z-axis zero point must be set after positioning the
crossrail.
6130-E P-10
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Set the Z-axis direction offset value of the touch sensor zero point using a reference tool so that the
automatic tool length offset/automatic tool breakage detection function operates correctly.
[Supplement]
If Y-axis has to be retracted to set the touch sensor zero point, set the Y-axis retraction position
first by referring to [1-4. Y-axis Escape Position (MCM-B/MCR-B II/MCR-A/VH-40)].
Procedure :
1 After selecting the MDI mode, input “VFST=**”, press the CYCLE START button.
Set an appropriate value for “**” by referring to [1-2-3. Operation Mode Designation]. In this
setting, either the automatic tool length offset mode or the automatic tool breakage detection
cycle may be selected.
The set value can be confirmed by opening the VARIOUS DATA pop-up window on the
GAUGING RESULTS screen.
ME61315R0300300100001
For the procedure for opening the VARIOUS DATA pop-up window, refer to [VARIOUS ON/
OFF Function Key] in 1-1-2.
2 Execute the sensor advance command M144 in the MDI mode. (In the case of a movable type
sensor)
3 Set the reference tool in the spindle, and manually bring the nose of the reference tool near the
Z-axis touch sensor.
There will inevitably be some slight displacement between the center of the sensor and the
center of the reference tool. This displacement, however, does not pose a problem for the
succeeding operation.
6130-E P-11
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
[Supplement]
The “reference tool” means the tool used for setting the zero point in a work coordinate
system.
4 At this position, execute the following program after selecting the automatic mode.
CALL OO30 PAXI=7 PLI=** (VFST=**)
M02
[Supplement]
Usually, the tool used for zero setting of the work coordinate system is also used for the sensor
zero point setting cycle. Therefore, there is no tool length difference between the tools used for
the two different zero point setting cycles, and the setting for PLI should be “zero” (PLI = 0).
For the absolute offset type, set the accurate length of the tool currently set in the spindle as
illustrated to the left.
If no value is set for PLI, either “PLI = 150 mm (5.91 in.)” or “PLI = 200 mm (7.87 in.)” is
assumed. Which of the values is used is determined by the machine model.
PLI
ME61315R0300300100002
[Supplement]
VFST may be set in this step instead of setting it first in the MDI mode.
As the program above is executed, the reference tool automatically comes into contact with
the Z-axis touch sensor, whereupon Z-axis zero offset is executed.
Zero offset of both the X and Y axes is executed so that the present (actual) position of the
reference tool becomes X = 0, Y = 0.
How the reference tool moves during the execution of the program is explained in
[Reference Tool Movements during Z-axis Touch Sensor Zero Point Setting] on 1-2-1.
6130-E P-12
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
5 Execute the sensor advance command M144 in the MDI mode. (In the case of a movable type
sensor)
7 Bring the drill tip manually near to the touch sensor and align the spindle center (drill center)
with the center of the touch sensor.
8 At this position, execute the following program after selecting the automatic mode.
CALL OO30 PAXI=3
M02
X- and Y-axis zero offset is executed so that the present (actual) position of the drill becomes X
= 0, Y = 0. (The Z-axis does not move.)
After the execution of the X- and Y-axis zero offset, the Z-axis moves at a rapid feedrate to the
travel end in the positive (+) direction and the sensor retracts, completing touch sensor zero
point setting.
The result is fed back to the offset data of system work coordinate system No. 1.
The set offset data can be checked by opening the MSB ZERO OFFSET (VSZO*[N]) pop-up
window on the GAUGING RESULTS screen. The offset data of the X-, Y- and Z-axis is
displayed at the X, Y, and Z columns of the NO. 1 line
ME61315R0300300100003
[Supplement]
Since system work coordinate system No. 1 is used exclusively for the automatic tool length
offset and automatic tool breakage detection functions, it cannot normally be set or
referenced.
For the procedure for opening the MSB ZERO OFFSET (VSZO*[N]) pop-up window, refer to
[MSB ZERO ON/OFF Function Key] in 1-1-2.
Reference Tool Movements during Z-axis Touch Sensor Zero Point Setting
During the execution of the Z-axis touch sensor zero point setting, the reference tool moves as
indicated below.
Machine operation
(1) The Z-axis moves at a rapid feedrate to the travel end in the positive (+) direction.
(3) If the movable type sensor is used, the sensor moves back once and then moves forward.
(4) The Z-axis moves at an approach feedrate in the negative (-) direction until the reference tool
comes into contact with the touch sensor.
(5) The Z-axis comes to a stop when the reference tool comes into contact with the touch sensor.
(6) The Z-axis moves at a rapid feedrate to the travel end in the positive (+) direction.
(7) If the movable type sensor is used, the sensor moves back.
When the specifications for automatic tool length offset and automatic breakage detection in the Y-
axis direction (diameter direction) are selected, set the Y-axis touch sensor zero point retraction
position first by referring to [1-2-4. Automatic Tool Length Offset Function].
Procedure :
1 After selecting the MDI mode, input “VFST=**”, and press the CYCLE START button.
Set an appropriate value for “**” by referring to [1-2-3. Operation Mode Designation]. In this
setting, either the automatic tool length offset mode or the automatic tool breakage detection
cycle may be selected.
If an appropriate value is already set for VFST, it is not necessary to set the value here.
The set value can be confirmed by opening the VARIOUS DATA pop-up window on the
GAUGING RESULTS screen. For the procedure for opening the VARIOUS DATA pop-up
window, refer to [VARIOUS ON/OFF Function Key] in 1-1-2.
2 Execute the sensor advance command M144 in the MDI mode. (In the case of a movable type
sensor)
3 Set the reference tool in the spindle, and manually bring the nose of the reference tool near the
Y-axis touch sensor.
Align the center of the reference tool with the center of the Y-axis touch sensor.
4 At this position, execute the following program after selecting the automatic mode.
In actual programming, the three lines of program above are expressed in one line as indicated
below.
6130-E P-14
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
[Example]
[Supplement]
1) When setting PLI, pay attention to the same point as explained in [Setting the Touch Sensor
Zero Point (Z-axis)] on 1-2-1.
2) Always set PY. If it is not set, “PY = 0” is assumed.
3) VFST may be set in this step instead of setting it first in the MDI mode.
As the program above is executed, the reference tool automatically comes into contact with
the Y-axis touch sensor, whereupon Y-axis zero offset is executed. Zero offset of both the Z-
and X-axes is executed at the same time.
How the reference tool moves during the execution of the program is explained in [Reference
Tool Movements during Y-axis Touch Sensor Zero Point Setting] on 1-2-1.
The result is fed back to the offset data of system work coordinate system No. 4.
The set offset data can be checked by opening the MSB ZERO OFFSET (VSZO*[N]) pop-up
window on the GAUGING RESULTS screen. The offset data of the X-, Y- and Z-axis is
displayed at the X, Y, and Z columns, respectively.
4) Since system work coordinate system No. 4 is used exclusively for the automatic tool length
offset and automatic tool breakage detection functions, it cannot normally be set nor
referenced.
For the procedure for opening the MSB ZERO OFFSET (VSZO*[N]) pop-up window, refer to [MSB
ZERO ON/OFF Function Key] in 1-1-2.
This completes the Y-axis touch sensor zero point setting.
6130-E P-15
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Reference Tool Movements during Y-axis Touch Sensor Zero Point Setting
During the execution of the Y-axis touch sensor zero point setting, the reference tool moves as
indicated below.
Machine operation
(1) The Z-axis moves at a rapid feedrate to the travel end in the positive (+) direction.
(3) If the movable type sensor is used, the sensor moves back once and then moves forward.
(4) The Z-axis moves to the Y-axis touch sensor position (the position where the Z-axis was first
moved manually).
(5) The Y-axis moves at an approach feedrate until the reference tool comes into contact with the
touch sensor.
(6) The Y-axis comes to a stop when the reference tool comes into contact with the touch sensor.
(7) The Y-axis moves at a rapid feedrate to the approach start position.
(8) The Z-axis moves at a rapid feedrate to the travel end in the positive (+) direction.
(9) If the movable type sensor is used, the sensor moves back.
6130-E P-16
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
The tool offset data obtained by the execution of an automatic tool length offset cycle is set for the
same offset number as the tool number of the tool presently being used (active tool).Similarly, the
tool offset number referred to and compared when the automatic tool breakage detection cycle is
executed is the same offset number as the tool number of the active tool.
[Supplement]
To automatically change a tool for a spare tool, tools must be registered in a tool group.
For the procedure for registering tools in a group, refer to the Tool Management Function section
of the special specifications of the Operation Manual.
6130-E P-17
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Relative/
X-axis Automatic Tool Length
Absolute Z-axis/Y-axis VFST
Model Movement Offset/Automatic Tool
Offset Offset Value
Yes/No Breakage Detection
Type
Automatic tool length offset #01H
Relative
Yes Only Z-axis offset Automatic tool breakage
offset #00H
MC-H detection
MC-V Automatic tool length offset #81H
Absolute
Yes Only Z-axis offset Automatic tool breakage
offset #80H
detection
Automatic tool length offset #09H
Only Z-axis offset Automatic tool breakage
#08H
detection
Automatic tool length offset #0BH
Relative
No Only Y-axis offset Automatic tool breakage
offset #0AH
detection
Automatic tool length offset #0DH
MCV Y-axis offset after Z-
axis offset Automatic tool breakage
MCR #0CH
detection
MCM
(Vertical Automatic tool length offset #89H
spindle) Only Z-axis offset Automatic tool breakage
#88H
detection
Automatic tool length offset #8BH
Absolute
No Only Y-axis offset Automatic tool breakage
offset #8AH
detection
Automatic tool length offset #8DH
Y-axis offset after Z-
axis offset Automatic tool breakage
#8CH
detection
[Supplement]
Refer to [1-3-1. Automatic Tool Length Offset/Automatic Tool Breakage Detection Function for
Horizontal Tools of MCM] for details of automatic tool length offset/automatic tool breakage
detection for the horizontal tools of MCM horizontal.
6130-E P-19
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Automatic tool length offset in the Z-axis direction is executed in the manner indicated below.
[Supplement]
Make sure that the zero point of the Z-axis touch sensor has been set before executing Z-axis
automatic tool length offset. Never execute Z-axis automatic tool length offset when the Z-axis
touch sensor zero point has not been set.
Procedure :
1 After selecting the MDI mode, input “VFST=**”, and press the CYCLE START button.
Set an appropriate value for “**” by referring to [1-2-3. Operation Mode Designation].
The set value can be confirmed by opening the VARIOUS DATA pop-up window on the
GAUGING RESULTS screen. Refer to [VARIOUS ON/OFF Function Key] in 1-1-2.
2 Mount the tool for which automatic tool length offset is to be executed in the spindle.
When the tool is mounted in the spindle manually, make sure that the active tool number
shown on the ATC operation screen agrees with the tool number of the tool mounted in the
spindle.
This operation is not necessary when the tool is mounted in the spindle by executing the M06
command, either in automatic or MDI operation.
ME61315R0300300170001
[Supplement]
1) VFST may be set in this step instead of setting it first in the MDI mode.
2) Set the anticipated tool length for PLI.
If no value is set for PLI, the value set for CNC optional parameter (long word) No. 43
(distance from the spindle gauge line) is automatically set as the anticipated tool length.
Machine operation
During the execution of the Z-axis automatic tool length offset, the tool moves as indicated below.
(1) The Z-axis moves at a rapid feedrate to the travel end in the positive (+) direction.
(3) The X- and Y-axis move at a rapid feedrate to align the tool nose with the center of the touch
sensor.
For tools whose nose is not at the center of the spindle, refer to items (6) PX and (7) PY in [1-6-
3. How to Use Variables].
(4) The Z-axis moves at a fast approach feedrate until the tool comes into contact with the touch
sensor.
(5) The Z-axis comes to a stop when the reference tool comes into contact with the touch sensor.
(7) The Z-axis moves at an approach feedrate until the tool comes into contact with the touch
sensor again.
6130-E P-21
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
(8) The Z-axis comes to a stop when the reference tool comes into contact with the touch sensor.
The result of gauging is stored under the same tool length offset number as the tool number of
the active tool.
(9) The Z-axis moves at a rapid feedrate to the travel end in the positive (+) direction.
Automatic tool length offset in the Y-axis direction is executed in the manner indicated below.
[Supplement]
1) Make sure that the zero point of the Z-axis and Y-axis touch sensors has been set before
executing Y-axis automatic tool length offset. Never execute Y-axis automatic tool length offset
when the touch sensor zero point has not been set.
2) Before executing automatic tool length offset in the Y-axis direction, set the Z-axis tool length
offset data of the tools.
The Z-axis tool length offset data can be set either by executing the Z-axis automatic tool
length offset or by entering an appropriate value in the Pot No./Tool No. table in the
MAGAZINE INFO. sheet on the TOOL DATA screen.
Procedure :
1 After selecting the MDI mode, input “VFST=**”, and press the CYCLE START button.
Set an appropriate value for “**” by referring to [1-2-3. Operation Mode Designation].
The set value can be confirmed by opening the VARIOUS DATA pop-up window on the
GAUGING RESULTS screen. Refer to [VARIOUS ON/OFF Function Key] in 1-1-2.
2 Mount the tool for which Y-axis automatic tool length offset is to be executed in the spindle.
When the tool is mounted in the spindle manually, make sure that the active tool number
shown on the ATC operation screen agrees with the tool number of the tool mounted in the
spindle.
This operation is not necessary when the tool is mounted in the spindle by executing the M06
command either in automatic or MDI operation.
[Supplement]
VFST may be set in this step instead of setting it first in the MDI mode.
6130-E P-22
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Machine operation
During the execution of the Y-axis automatic tool length offset, the tool moves as indicated below.
(1) The Z-axis moves at a rapid feedrate to the travel end in the positive (+) direction.
(3) The X- and Y-axis move at a rapid feedrate to align the tool nose with the center of the Z-axis
touch sensor.
(4) The Z-axis moves at a fast approach feedrate to align the tool nose with the center of the Y-axis
touch sensor.
(5) The Y-axis moves at an approach feedrate until the tool comes into contact with the Y-axis
touch sensor.
(6) The Y-axis comes to a stop when the tool comes into contact with the touch sensor.
The result of gauging is stored under the same cutter radius compensation number as the tool
number of the active tool.
(8) The Z-axis moves at a rapid feedrate to the travel end in the positive (+) direction.
To execute automatic tool length offset on the Z-axis and the Y-axis continuously, follow the
procedure indicated below.
For points of caution and details of the tool length offset, refer to [Z-axis Automatic Tool Length
Offset] and [Y-axis Automatic Tool Length Offset] in 1-2-4.
Procedure :
1 After selecting the MDI mode, input “VFST=**”, and press the CYCLE START button.
Procedure :
2 At this position, execute the following program after selecting the automatic mode.
CALL OO31
M02
The axes will not move at all even when a program is executed.
X-axis and Y-axis positions during the program execution are stored as the tool change
positions at the system work coordinate system No.2.
The set tool change position data can be checked by opening the MSB ZERO OFFSET
(VSZO*[N]) pop-up window on the GAUGING RESULTS screen. The tool change position data
of the X-, and Y-axis is displayed at the X and Y columns of the NO. 2 line.
This completes the tool change position setting.
[Supplement]
Since system work coordinate system No. 2 is used exclusively for the automatic tool length
offset and automatic tool breakage detection functions, it cannot normally be set or referenced.
6130-E P-24
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Automatic tool breakage detection in the Z-axis direction is executed in the manner indicated below.
[Supplement]
Before executing Z-axis automatic tool breakage detection, make sure that the zero point of the
touch sensor and the tool change position have been set (Not necessary for MC-H).
Procedure :
1 After selecting the MDI mode, input “VFST=**”, and press the CYCLE START button.
Set an appropriate value for “**” by referring to [1-2-3. Operation Mode Designation].
2 Mount the tool for which automatic tool breakage detection is to be executed in the spindle.
When the tool is mounted in the spindle manually, make sure that the active tool number
shown on the ATC operation screen agrees with the tool number of the tool mounted in the
spindle.
This operation is not necessary when the tool is mounted in the spindle by executing the M06
command either in automatic or MDI operation.
[Supplement]
1) VFST may be set in this step instead of setting it first in the MDI mode.
2) To replace a broken tool with a spare tool, PGO must be designated.
For details of PGO, refer to item (11) PGO(P GO) in [1-6-3. How to Use Variables].
6130-E P-25
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Machine operation
During the execution of the Z-axis automatic tool breakage detection, the tool moves as indicated
below.
(1) The Z-axis moves at a rapid feedrate to the travel end in the positive (+) direction.
(3) The X- and Y-axis move at a rapid feedrate to align the tool nose with the center of the touch
sensor.
For tools whose nose is not at the center of the spindle, refer to items (6) PX and (7) PY in [1-6-
3. How to Use Variables].
(4) The tool edge moves at the rapid traverse to a position in front of the touch sensor with a
clearance of the safety distance (PUDT). (*1)
If PUDT is not specified, the axis moves at the rapid traverse to a position in front of the touch
sensor with a clearance of 5 mm (0.20 in.).
(5) The Z-axis moves at an approach feedrate to the position 10 mm (0.39 in.) past the point where
the tool nose would be in contact with the touch sensor.
If the tool has not been broken or the amount of chipping is smaller than 10 mm (0.39 in.):
The tool nose comes into contact with the touch sensor and the Z-axis stops. The tool
length is calculated from the coordinate value of the contact position and is stored in the
CNC memory temporarily.
If the tool has been broken (amount of chipping is greater than 10 mm (0.39 in.)):
The tool nose will not contact the touch sensor.
(6) The Z-axis moves at a rapid feedrate to the travel end in the positive (+) direction.
(*1) If the NC optional parameter bit No.74 bit 4 is check marked, the setting is changed from
“moves at the rapid traverse” to “moves at the rapid approach rate”.
6130-E P-26
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Automatic tool breakage detection in the Y-axis direction is executed in the manner indicated below.
[Supplement]
Before executing Y-axis automatic tool breakage detection, make sure that the zero point of the
touch sensor has been set.
Procedure :
1 After selecting the MDI mode, input “VFST=**”, and press the CYCLE START button.
Set an appropriate value for “**” by referring to [1-2-3. Operation Mode Designation].
2 Mount the tool for which automatic tool breakage detection is to be executed in the spindle.
When the tool is mounted in the spindle manually, make sure that the active tool number
shown on the ATC operation screen agrees with the tool number of the tool mounted in the
spindle.
This operation is not necessary when the tool is mounted in the spindle by executing the M06
command either in automatic or MDI operation.
[Supplement]
VFST may be set in this step instead of setting it first in the MDI mode.
6130-E P-27
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Machine operation
During the execution of the Y-axis automatic tool breakage detection, the tool moves as indicated
below.
(1) The Z-axis moves at a rapid feedrate to the travel end in the positive (+) direction.
(3) The X- and Y-axis move at a rapid feedrate to align the tool nose with the center of the touch
sensor.
(4) The Z-axis moves at a rapid feedrate to align the tool nose with the center of the Y-axis touch
sensor.
(5) The Y-axis moves at an approach feedrate to the position 10 mm (0.39 in.) past the point where
the tool nose would be in contact with the touch sensor.
If the tool has not been broken or amount of chipping is smaller than 10 mm (0.39 in.):
The tool nose comes into contact with the touch sensor and the Y-axis stops. The cutter
radius is calculated from the coordinate value of the contact position and is stored in the
CNC memory temporarily.
If the tool has been broken (amount of chipping is greater than 10 mm (0.39 in.)):
The tool nose will not contact the touch sensor.
(7) The Z-axis moves at a rapid feedrate to the travel end in the positive (+) direction.
To execute automatic tool breakage detection on the Z-axis and the Y-axis continuously, follow the
procedure indicated below.
For items carefully attended to and details of the tool length offset, refer to [Z-axis Automatic Tool
Breakage Detection] and [Y-axis Automatic Tool Breakage Detection] in 1-2-6.
Procedure :
1 After selecting the MDI mode, input “VFST=**” and press the CYCLE START button.
3 The tool is first brought into contact with the Z-axis touch sensor to check tool breakage in the
Z-axis direction. When tool breakage is not detected in the Z-axis direction, tool breakage in
the Y-axis direction is checked.
6130-E P-28
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
When a spare tool is selected in response to the detection of tool breakage, operation does not stop
even when the breakage is detected. Therefore, it is necessary to judge the occurrence of tool
breakage at the end of the automatic tool breakage detection cycle and branch the program
execution in accordance with the result of the judgment.
It can be judged whether or not the tool is broken by reading system variable VOK1.
VOK1 = 0 Tool is not broken.
VOK1 ≠ 0 Tool is broken.
VOK1 indicates the result of the previously executed automatic tool breakage detection cycle.
VOK1 and VOK2 are not cleared to 0 when the CNC is reset.
[Supplement]
When tool breakage is detected by the automatic tool breakage detection function, the tool
number is registered by the tool management function as that of a broken tool.
In order to use the same tool number after taking the necessary measures, such as replacement
with a new tool, the registration of the broken tool number must be cleared.
Refer to Tool Management Function in special specifications of the Operation Manual for the
procedure for resetting broken tool registration.
6130-E P-29
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Tool
G0 (4) Max.
tool Anticipated tool
length length
G31F=PF1 (5) VLTL PL1
G31F2000 (6) Safety distance PUDT
Sensor
ME61315R0300300250001
[Supplement]
Set an appropriate value for the maximum tool length setting parameter since “0” is set as the
initial value.
6130-E P-30
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Machine operation
(1) The Z-axis moves at a rapid feedrate to the travel end in the positive (+) direction.
(3) The X- and Y-axis move at a rapid feedrate to align the tool nose with the center of the touch
sensor.
(4) The Z-axis moves at a rapid feedrate to the point distanced from the touch sensor by “safety
distance (PUDT) + max. tool length (VLTL)”.
This operation is or is not executed according to the setting for the parameter.
(5) The Z-axis moves at a skip feedrate, specified by PF1, to the point distanced from the touch
sensor by “anticipated tool length (PLI) + safety distance (PUDT)”.
If the PLI command is not specified, the Z-axis moves at a skip feedrate specified by PF1 to the
point distanced from the touch sensor by “safety distance (PUDT)”. If the PF1 command is not
specified, the Z-axis moves at F2000.
(6) The Z-axis moves at F2000 to the point 10 mm (0.39 in.) beyond the anticipated contact point.
It stops when the tool comes into contact with the touch sensor.
(7) The Z-axis returns 5 mm (0.20 in.) from the contact point.
(8) The Z-axis moves at a skip feedrate, specified by PF2, to the point 10 mm (0.39 in.) beyond the
contact point.
It stops when the tool comes into contact with the touch sensor.
(9) The tool length offset data is written to the active tool number or the offset number specified by
the PH command.
(10) The Z-axis moves at a rapid feedrate to the travel end in the positive (+) direction.
Machine operation
(1) The same operation as steps 1) to 4) of the automatic tool length offset cycle explained above is
executed.
(2) The Z-axis moves at rapid feedrate to the point 5 mm (0.20 in.) away the anticipated contact
point. (*1)
(3) The Z-axis moves at skip feedrate F1000 to the point 10 mm (0.39 in.) beyond the anticipated
contact point.
It stops when the tool comes into contact with the touch sensor.
(4) The Z-axis moves at a rapid feedrate to the travel end in the positive (+) direction.
(*1) If the NC optional parameter bit No.74 bit 4 is check marked, the setting is changed from
“moves at the rapid traverse” to “moves at the rapid approach rate”.
6130-E P-31
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
1-2-8. New Cycle Time Reduction Function for Automatic Tool Length
Offset/Automatic Tool Breakage Detection Cycle
By reducing the execution time of the cycle steps that can be reduced in the previous automatic tool
length offset/automatic tool breakage detection cycle (Hereafter, conventional cycle time reduction
function), the cycle time reduction function is made more powerful (Hereafter, new cycle time
reduction function).
This new cycle time reduction function is usable only in the vertical tool direction.
Command Format and Variables of the New Cycle Time Reduction Function
The command format and the variables used by the new cycle time reduction function are described
below.
Command format
The following is an example command to use the new cycle time reduction function.
CALL OO30 PZRC=1 PSFT=10 POVT=20 PF1=5000 PF2=2000 M02
Variables
PZRC Used to select the new or conventional cycle time reduction function.
“1” selects the new cycle time reduction function and “0” selects the conventional
cycle time reduction function. The default is “0”.
PUDT: Undertravel distance (safety distance)
This defines the point where, during the approach of a cutting tool to the touch
sensor, the approach speed is changed from high-speed to low-speed. The
distance from the touch sensor to the tool nose is designated.
For the automatic tool breakage detection cycle, the default is 5 mm (0.20 in.).
POVT: Overtravel distance (sensor breakage prevention distance)
Default is 10 mm (0.39 in.).
PFA: Approach speed to undertravel point
For the automatic tool breakage detection cycle, the default is F4000.
PF2: Approach speed to overtravel point
For the automatic tool breakage detection cycle, the default is F1000.
VMSBU: Setting for CNC optional parameter (bit) No. 36
If the setting for bit 3 of this parameter is “1”, with “0” set for PZRC, the
conventional cycle time reduction function is selected.
VLTL: Maximum tool length
The value set for CNC optional parameter (long word) No. 44
PSFT: Feedrate shift distance
This defines the point where, during approach of a cutting tool to the touch
sensor, the approach speed is changed from a rapid feedrate to high-speed (low-
speed if PSFT is not specified). The distance from the touch sensor to the tool
nose is designated.
The default is 5 mm (0.20 in.).
6130-E P-32
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
During the execution of the new cycle time reduction function, the tool moves as indicated below.
Note that tool movements differ according to the setting of the variables.
Machine operation
(1) The Z-axis moves at a rapid feedrate to the travel end in the positive (+) direction
(3) The Y-axis and the X-axis, in this order, move at a rapid feedrate to align the tool nose with the
center of the touch sensor.
(4) The tool nose moves at a skip feedrate, specified by PFA, to the position PUDT above the touch
sensor zero point.
The tool nose stops when the tool comes into contact with the sensor.
(5) The tool nose moves at a skip feedrate, specified by PF2, to the position POVT below the touch
sensor zero point.
The tool nose stops when the tool comes into contact with the sensor.
(6) The Z-axis moves at a rapid feedrate to the travel end in the positive (+) direction.
2)
Rapid feed 3)
Rapid feed 1)
Rapid feed 6)
PFA 4)
ME61315R0300300300001
Machine operation
(1) The Z-axis moves at a rapid feedrate to the travel end in the positive (+) direction.
(3) The Y-axis and the X-axis, in this order, move at a rapid feedrate to align the tool nose with the
center of the touch sensor.
(4) The spindle nose face moves down at a rapid feedrate until the spindle nose face reaches the
point VLTL above the touch sensor zero point.
(5) The tool nose moves at a skip feedrate, specified by PFA, to the position PUDT above the touch
sensor zero point.
The tool nose stops when the tool comes into contact with the sensor.
(6) The tool nose moves at a skip feedrate, specified by PF2, to the position POVT below the touch
sensor zero point.
The tool nose stops when the tool comes into contact with the sensor.
(7) The Z-axis moves at a rapid feedrate to the travel end in the positive (+) direction.
2)
Rapid feed 3)
Rapid feed 1)
Rapid feed 4)
Rapid feed 7)
PFA 5)
VLTL
PF2 6) PUDT
POVT
ME61315R0300300300002
Machine operation
(1) If the tool nose is below the point “touch sensor zero point + PSFT”, the tool nose moves up at
a rapid feedrate to the point “touch sensor zero point + PSFT”
(3) The Y-axis and the X-axis, in this order, move at a rapid feedrate to align the tool nose with the
center of the touch sensor.
(4) The tool nose moves down at a rapid feedrate to the point “touch sensor zero point + PSFT”.
(5) The tool nose moves down at a skip feedrate PFA to the point “touch sensor zero point +
PUDT”.
(6) The tool nose moves down at a skip feedrate PF2 to the point “touch sensor zero point -
POVT”.
(7) The tool nose moves up at rapid feedrate to the point “touch sensor zero point + PSFT”.
2)
Rapid feed 3)
Rapid feed 4)
Rapid feed 1)
Rapid feed 7)
2)
PFA 5) PSFT
PUDT
POVT
PF2 6)
ME61315R0300300300003
6130-E P-35
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
[Supplement]
Since the machine operations for the automatic tool length offset/automatic tool breakage
detection function used for horizontal tools of MCM are similar to those for vertical tools of MCM,
part of the explanation is omitted.
For the information not given below, refer to [1-2. Automatic Tool Length Offset/Automatic Tool
Breakage Detection Operation].
Machine operation
During the execution of the automatic tool length offset/automatic tool breakage detection cycle for
the horizontal tool of MCM, the tool moves as indicated below.
(1) The Z-axis moves at a rapid feedrate to the travel end in the positive (+) direction.
(3) The Y-axis moves at a rapid feedrate to a position just before the touch sensor.
(4) The Z-axis moves at a rapid feedrate to the touch sensor position for the horizontal tool.
(5) From here on, the movements are the same as for a vertical tool.
Note, however, that with an MCM horizontal tool, the Z-axis movements of a vertical tool are
replaced by the Y-axis movements of a horizontal tool.
3)
2)
1) 4)
5)
ME61315R0300300320001
6130-E P-36
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
When executing the automatic tool length offset/automatic tool breakage detection cycle for an
MCM horizontal tool, the spindle may strike the workpiece during Z-axis downward operation.
To avoid such a problem, it is necessary to set the Z-axis lower limit position as close to the touch
sensor as possible, but at a position where the spindle or other machine unit will not collide with the
touch sensor unit.
Set the Z-axis lower limit position in the manner indicated below.
Procedure :
1 Move the Y-axis to the position where the Z-axis lower limit position is to be set.
In this operation, the X- and Z-axis may be at any position.
2 At this position, execute the following program after selecting the automatic mode.
CALL OO32
M02
When this program is executed, axes do not move.
After the execution of the program, the actual position of the Z-axis is stored in system work
coordinate system No. 9 as the Z-axis lower limit position.
The set value can be checked by opening the MSB ZERO OFFSET (VSZO*[N]) pop-up
window on the GAUGING RESULTS screen. The Z-axis lower limit coordinate value is
displayed at the Y column of the NO. 9 line.
[Supplement]
Since system work coordinate system No. 9 is used exclusively for automatic tool length offset
and automatic tool breakage detection functions, it cannot normally be set or referenced.
6130-E P-37
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
As with a vertical tool, the basic operation mode for a horizontal tool is set using system variable
VFST.
The setting for system variable VFST is the same as that for a vertical spindle with the exception
that “1” is set for bit 6.
VFST consists of one byte (8 bits) and each bit has the following significance
Relative/
X-axis Offset in Tool Length Automatic Tool Length
Absolute VFST
Model Movement Direction/Tool Radial Offset/Automatic Tool
Offset Value
Yes/No Direction Breakage Detection
Type
Automatic tool length offset #49H
Offset only in the tool
length direction Automatic tool breakage
#48H
detection
Automatic tool length offset #4BH
Relative Offset only in the tool
No Automatic tool breakage
offset radial direction #4AH
detection
Offset in the tool Automatic tool length offset #4DH
length direction then Automatic tool breakage
MCM the tool radial direction #4CH
detection
Horizonta
l tool Automatic tool length offset #C9H
Offset only in the tool
length direction Automatic tool breakage
#C8H
detection
Automatic tool length offset #CBH
Absolute Offset only in the tool
No Automatic tool breakage
offset radial direction #CAH
detection
Offset in the tool Automatic tool length offset #CDH
length direction then Automatic tool breakage
the tool radial direction #CCH
detection
6130-E P-39
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Set the zero point of the touch sensor for MCM horizontal tools in the manner indicated below.
Procedure :
1 Select the MDI mode and execute M144 to move the reference tool near the horizontal tool
touch sensor.
Since the procedure up to this step is the same as used for a vertical tool, refer to [1-2-1.
Setting the Touch Sensor Zero Point] for details.
Setting the zero point for the tool length (Y-axis) direction touch sensor
CALL OO30 PAXI=#27H PLI=0 (or accurate reference tool length) (VFST=**)
M02
Setting the zero point for the tool radius (Z-axis) direction touch sensor
CALL OO30 PAXI=#47H PLI=0 (or accurate reference tool length) (VFST=**)
PZ=Accurate radius of the reference tool
M02
ME61315R0300300350001
The result of gauging is stored in the system work coordinate system No. 7 (zero point of
the tool length direction (Y-axis direction) touch sensor) and the system work coordinate
system No. 8 (zero point of the tool radius direction (Z-axis direction) touch sensor).
The set value can be checked by opening the MSB ZERO OFFSET (VSZO*[N]) pop-up
window on the GAUGING RESULTS screen.
[Supplement]
Before setting the zero point, index the swivel head to the following position.
Vertical tool: Front position (M73)
Horizontal tool: Right position (M76)
6130-E P-40
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Automatic tool length offset for MCM horizontal tools is executed in the manner indicated below.
[Supplement]
Before executing automatic tool length offset for horizontal tools, make sure that the zero point of
the horizontal tool touch sensor has been set
Procedure :
1 After selecting the MDI mode, input “VFST=**”, and press the CYCLE START button.
Set an appropriate value for “**” by referring to [Designating the Operation Mode] in 1-3-1.
2 Mount the tool for which automatic tool length offset should be executed in the spindle.
Both in the tool length (Y-axis) direction and the tool radius (Z-axis) direction
CALL OO30 (VFST=Appropriate value) PZ=Anticipated tool radius (PLI=Anticipated tool
length)
M02
When the program is executed, the tool is automatically brought into contact with the touch
sensor and the cutter radius compensation data is calculated and stored in the CNC memory.
The result of gauging can be checked by displaying the TOOL LENGTH OFFSET/CUTTER
RADIUS COMPENSATION screen of the TOOL DATA screen. The obtained results are also
displayed on the GAUGING RESULTS screen.
6130-E P-41
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Automatic tool breakage detection for MCM horizontal tools is executed in the manner indicated
below.
[Supplement]
Before executing automatic tool breakage detection for horizontal tools, make sure that the zero
point of the horizontal tool touch sensor has been set.
Procedure :
1 After selecting the MDI mode, input “VFST=**”, and press the CYCLE START button.
Set an appropriate value for “**” by referring to [Designating the Operation Mode] in 1-3-1.
2 Mount the tool for which automatic tool breakage detection should be executed in the spindle.
Both in the tool length (Y-axis) direction and the tool radius (Z-axis) direction
When the program is executed, the tool is automatically brought into contact with the touch
sensor, and the tool length is calculated.
The function compares the obtained tool length to the tool length offset data stored in the
CNC memory and judges the tool has been broken if the difference is greater than the set
tool breakage judgment value.
The result of gauging is displayed at the GAUGING RESULTS screen.
[Supplement]
Before executing tool length offset/tool breakage detection for horizontal tools, index the swivel
head to the following position.
Vertical tool: Front position (M73)
Horizontal tool: Right position (M76)
All other supplements are the same as in the case of vertical tools.
6130-E P-42
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
(PAC = 90°)
(PAC = 180°)
(PAC = 0°)
Z+ (PAC = 270°)
Y+
X+
ME61315R0300300380001
Fig.1-2 Relationship between PAC Angles and X, Y, Z Axes of 90° Angular Attachment
PAC = 90°
PAC = 180°
PAC = 0°
PAC = 270°
PAB
Z+
Y+
X+
ME61315R0300300380002
[Supplement]
Use system variable “VFST” to designate the basic operation modes for automatic tool length offset
or automatic tool breakage detection.
Since the system variable VFST is backed up in the CNC memory, it only has to be designated
once: it does not have to be set each time the MSB of the automatic tool length offset/automatic tool
breakage detection cycle is called.
VFST consists of one byte (8 bits) and each bit has the following significance
Command Format
The command format used for calling the automatic tool length offset/automatic tool breakage
detection cycle for B/C-axis attachment, 90° attachment and extension attachment is indicated
below.
[Supplement]
1) The installation angle of the 90° angular attachment or the B/C-axis attachment (PAB = 90°)
must be set to 270°.
2) The same sensor zero point is used for a vertical tool/extension attachment/B/C-axis
attachment (PAB = 0°) and a 90° attachment/B/C-axis attachment (PAB = 90°). Set the sensor
zero point so that gauging cycles can be executed without causing trouble for any attachment.
The type of attachment to be used is designated by the setting for VFST, PAXI and PAT as indicated
below.
PAXI PAT
Bit 6 of VFST
Bit 6 Bit 5 Bit 4 Command
Vertical spindle 0 0 0 0/1 None
Extension attachment
B/C-axis attachment 0 0 0 0/1 1 to 7
(PAB = 0°)
90° attachment
B/C-axis attachment 1 0/1 0/1 0 1 to 7
(PAB = 90°)
When a tool is mounted in the 90° attachment or the B/C-axis attachment (PAB = 90°), the cycle is
executed in the same manner as for a tool mounted in the horizontal spindle of MCM.
In this case, however, the Z-axis lower limit position is determined taking into account the
attachment swivel compensation amount.
For details and supplemental information on the tool movements of a tool mounted in the 90°
attachment or the B/C-axis attachment (PAB = 90°), refer to [1-3-1. Automatic Tool Length Offset/
Automatic Tool Breakage Detection Function for Horizontal Tools of MCM].
If breakage of a tool is detected (PGO = 2) after the execution of a tool breakage detection cycle, the
axes move to the tool change position.
6130-E P-46
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
The tool change position must be determined so that positioning at the tool change position will not
cause interference between the tool and a workpiece with any type of attachment (vertical tool, 90°
attachment, extension attachment, B/C-axis attachment (PAB = 0°, 90°)).
[Supplement]
If the machine is equipped with the B/C-axis attachment (PAB =90°), set “PGO=12” to do axis
movements to the tool change position on detection of tool breakage. For details regarding PGO,
refer to the item (11) PGO (P GO) in 1-6-3. “How to Use Variables.”
To set the Z-axis lower limit position, add transfer variable PAT to the usual setting program.
CALL OO32 PAT=*
PAT:Attachment swivel compensation number (Setting range: 1 to 7)
To use the automatic tool length offset/automatic tool breakage detection function, the attachment
swivel compensation data must be correctly set.
Set the compensation data for the 90° attachment on the ATTACHMENT SWIVEL
COMPENSATION screen (G181 to G184) and the data for the extension attachment on the
ATTACHMENT SWIVEL COMPENSATION screen (G185).
Measure the attachment swivel compensation data for each type of attachment and each
attachment position by repeating the procedure indicated below and set the obtained data for the
corresponding item (G181 to G185) on the ATTACHMENT SWIVEL COMPENSATION screen.
Procedure :
1 Mount the reference tool to the spindle where no attachment is mounted and fix a micro-
indicator at the center of the table.
2 Manually move the X-, Y- and Z-axis to the position where the micro-indicator reads “0”.
3 Select a desired zero point and set the zero offset data.
Set “0” for the actual position data and take this position as the reference for the following
operation.
4 Change the spindle tool to an attachment (90° attachment or extension attachment) and mount
the reference to the attachment.
5 Carry out positioning so that the micro-indicator reads “0” and set the coordinate values at that
position.
90° attachment
Index the attachment to four positions, 0° (front), 90° (left), 180° (rear) and 270° (right),
and carry out positioning at the individual attachment index positions.
Extension attachment
Since the extension attachment is installed at a fixed angle, carry out positioning at the
preset angle.
6130-E P-47
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Extension attachment
Set the coordinate values obtained in the operation in step 5) above on the ATTACHMENT
SWIVEL COMPENSATION screen (G185).
90° attachment
Calculate the compensation data for each index angle (PAC = 0, 90, 180, 270) based on
the coordinate values obtained in step 5) and set the calculated compensation data for the
corresponding setting item on the ATTACHMENT SWIVEL COMPENSATION screen
(G181 to G184).
To calculate the compensation data at each attachment index angle, refer to [Calculating
the Compensation Data for a 90° Attachment] in 1-3-2.
The correspondence between the PAC angle and setting items is indicated below.
PAC = 0: G181 (front) at the ATTACHMENT SWIVEL COMPENSATION screen
PAC = 90: G182 (left) at the ATTACHMENT SWIVEL COMPENSATION screen
PAC = 180: G183 (rear) at the ATTACHMENT SWIVEL COMPENSATION screen
PAC = 270: G184 (right) at the ATTACHMENT SWIVEL COMPENSATION screen
Reference
tool
X
Y
Z
ME61315R0300300460001
6130-E P-48
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
When a 90° attachment is used, it is necessary to find the attachment swivel compensation data
using the coordinate values obtained in step 5) of [Measuring the Attachment Swivel Compensation
Data] in 1-3-2.
The formula below are used to match the center of the vertical reference tool with the horizontal
reference tool nose.
In the explanation below, D1 represents the diameter of the reference tool mounted in the vertical
spindle and D2 the diameter of the reference tool mounted in the horizontal spindle.
PAC = 0°
D1
X' = X +
2 D1 D2
PAC = 90°
X' = X Z+
D1
Y' = Y + Y+
2
Vertical reference
D2 tool
Z' = Z +
2
Horizontal reference tool
ME61315R0300300470003
PAC = 180°
D1
X' = X +
2 Z+
X+
Y' = Y
D2
Z' = Z +
2
ME61315R0300300470004
6130-E P-50
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
PAC = 270°
X' = X
Z+
D1
Y' = Y + Y+
2
D2
Z' = Z +
2
ME61315R0300300470005
6130-E P-51
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Measuring the tool length offset value of the reference tool mounted in the vertical spindle
↓
Measuring the tool length offset value of the reference tool mounted in the 30° angular attachment
↓
Setting the relative offset data between the reference tools (VSTOH[20])
↓
Setting the Z-axis lower limit position data
↓
Setting the zero point of the 30° angular attachment touch sensor
↓
Measuring the tool length offset data for a tool mounted in the 30° angular attachment
.
.
.
Check the breakage of a tool mounted in the 30° angular attachment
.
.
.
6130-E P-52
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
To use the automatic tool length offset/automatic tool breakage detection function with an angular
attachment other than a 90° angular attachment(30°, 45°, 60°), a special referent tool, called
reference tool B, is used to measure the attachment compensation data. Differing from the
conventionally used reference tool - called reference tool A - which has a cylindrical shape,
reference tool B has a ball-shaped nose.
When setting the touch sensor zero point, the sensor zero point in the vertical and horizontal
directions is usually determined by the length of reference tool A, which is determined by the
specification code (Bit 7 of specification code No. 24).
When setting the angular attachment touch sensor zero point, however, reference tool B is used to
set the zero point. This means the accurate length of the reference tool must be known beforehand.
The value used to calculate the length of reference tool B based on the length of reference tool A is
called the “relative offset data between reference tools”.
If a value is set for PLI, explained in [Setting the Touch Sensor Zero Point] on 1-3-3, setting the
“relative offset data between reference tools” is not necessary.
The relative offset data between reference tools can be obtained easily by following the procedure
indicated below.
Procedure :
1 Mount reference tool B in the vertical spindle and read the Z-axis coordinate value by bringing
it into contact with the reference block.
Assume the read Z-axis coordinate value to be “B”.
2 Mount reference tool A in the vertical spindle and read the Z-axis coordinate value by bringing
it into contact with the reference block.
Assume the read Z-axis coordinate value to be “A”.
3 Calculate the relative offset data between reference tools using the following formula.
Use system variable “VFST” to designate the basic operation modes for automatic tool length offset
or automatic tool breakage detection operation for a 30° angular attachment.
VFST consists of one byte (8 bits) and each bit has the following significance.
[Supplement]
Pay attention to the setting of system variable VFST since it is also used for the automatic tool
length offset/automatic tool breakage detection functions for a vertical tool, B/C-axis attachment,
extension attachment and 90° angular attachment.
Although the operation mode is backed up in the CNC memory, you are recommended to set the
mode for each execution of the automatic tool length offset/automatic tool breakage detection
functions since the setting is also used for other applications as described above.
6130-E P-54
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
When the automatic tool length offset/automatic tool breakage detection cycle is executed, a tool
must be brought into contact with the touch sensor at the right angle. Therefore, the tool is
positioned in the direction in which the touch sensor is at the right angle before executing these
cycles with the 30° angular attachment tool. The point where the tool is positioned is called the
“approach start position”.
The position where the Y-axis should be retracted to avoid interference with a workpiece before
positioning to the approach start position is called the Z-axis lower limit position.
For details on the approach start position, refer to [Setting the Touch Sensor Zero Point] in 1-3-3.
The Z-axis lower limit position is also used as the spindle retraction position for sensor unit advance/
retract operation for models such as MCR-B II in which the sensor unit can interfere with the spindle
during sensor unit advance/retract operation.
Note that the set Z-axis lower limit position is used for the automatic tool length offset/automatic tool
breakage detection function of the MCM horizontal tool and the B/C-axis attachment, 90° angular
attachment and 45° angular attachment. Therefore, if these specifications are used in combination,
set the Z-axis lower limit position with care.
Procedure :
1 Move the Y-axis to the position where the Z-axis lower limit position is to be set.
In this operation, the Z- and X-axis may be at any position.
2 At this position, execute the following program after selecting the MDI or automatic mode.
CALLOO32
When this program is executed, the axes do not move.
After the execution of the program, the actual position of the Z-axis is stored in system work
coordinate system No. 9 as the Z-axis lower limit position.
The set value can be checked by opening the MSB ZERO OFFSET (VSZO*[N]) pop-up
window on the GAUGING RESULTS screen.
6130-E P-55
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Before executing the automatic tool length offset/automatic tool breakage detection function using
the 30° angular attachment, it is necessary to set the zero point of the touch sensor.
Follow the procedure indicated below to set the touch sensor zero point.
Procedure :
3 Mount reference tool B to the 30° angular attachment and orient the attachment.
4 Position the tool approximately 10 mm (0.39 in.) away from the touch sensor so that it will
contact the touch sensor at the right angle when it is moved in the tool length direction.
5 Select the MDI or automatic mode and execute the following program.
CALL OO34 PAXI=#07H
After the execution of the program above, the touch sensor zero point coordinate values (X, Y,
Z) are set using the designation for PAXI.
For details of PAXI designation, refer to [Variables] in 1-3-3.
Note the relative offset data between the reference tools (VSTOH[20]) is used since PLI is not
designated.
[Supplement]
If PLI is designated, the value to be transferred differs depending on the tool length offset type
(VFST setting). For the absolute offset type, set the length of reference tool B from the gauge line
to PLI. In the case of the relative offset type, set the relative length of reference tool B in reference
to reference tool A.
For details on the relative offset data between the reference tools, refer to [Relative Offset Data
between Reference Tools (VSTOH [20])] in 1-3-3.
How the reference tool moves during the execution of the program is explained in [Reference Tool
Movements during Touch Sensor Zero Point Setting] in 1-3-3.
The result is fed back as the zero point data to system work coordinate system No. 13.
The set zero point data can be checked by opening the MSB ZERO OFFSET (VSZO*[N]) pop-up
window on the GAUGING RESULTS screen.
6130-E P-56
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
During the execution of the touch sensor zero point setting for a 30° angular attachment, the
reference tool moves as indicated below.
Machine operation
(1) The reference tool moves to the approach start point (Y- and Z-axis).
The approach start point is calculated on a line extended from the 30° angular attachment touch
sensor in the tool length direction. The following two positions are calculated on the extended
line: the position where the Z-axis is at the travel limit in the positive direction and the position
where the Y-axis is at the lower end limit position of the Z-axis. Of these two positions, the
position that is closer to the touch sensor is taken as the approach start point.
Since the sensor position has not been measured at the start of touch sensor zero point setting,
the position 10 mm ahead of the point where the tool was moved in step 4) of the operation
described in [Setting the Touch Sensor Zero Point] on 1-3-3 is regarded as the 30° angular
attachment touch sensor position.
(3) The reference tool moves the Z-axis lower limit position (Y-axis).
(6) The reference tool moves to the approach start point (Y-axis).
(7) The reference tool is brought into contact with the sensor (Z- and Y-axis).
(8) The reference tool moves to the approach start point (Z- and Y-axis).
(9) The reference tool retracts to the Z-axis lower limit position (Y-axis). (If PRET ≠ 1)
To measure the tool length of the tool mounted in the 30° angular attachment, follow the procedure
indicated below.
[Supplement]
Before executing automatic tool length offset, make sure that the zero point of the touch sensor
has been set.
Procedure :
2 Mount the tool for which automatic tool length offset is to be executed in the 30° angular
attachment and set the angular attachment direction.
If the tool is mounted manually, the PH parameter must be specified since the tool number is
unknown.
The obtained offset data is set as the tool length offset data of the tool number transferred by
the PH parameter.
The PH parameter does not have to be designated if the tool is mounted using an M code
command.
3 Execute the following program after selecting the MDI or automatic mode.
CALL OO34 (PLI=Anticipated tool length) (PH=Tool number)
When the program is executed, the tool length is measured.
The measured tool length data is set as the tool length offset data of the tool number
transferred by PH. If no PH parameter is specified, the data is set as the tool length offset data
of the active tool number.
[Supplement]
If an anticipated tool length is not set, the minimum tool length is used as the anticipated tool
length.
Therefore, the minimum tool length must be set beforehand for optional parameter (long word)
No. 43, as an absolute value in mm units.
If the setting for this parameter is inappropriate, the 30° angular attachment may interfere with the
sensor unit. Set a value 10 mm (0.39 in.) longer than the minimum measurable length
(determined by the machine specification) as the minimum tool length.
If the minimum measurable length is set as the minimum tool length, the 30° angular attachment
will strike the sensor unit if the tool fails to contact the sensor.
6130-E P-58
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Machine operation
During the execution of automatic tool length offset for the tool mounted in the 30° angular
attachment, the tool moves as indicated below.
(1) The Z-axis moves up 1 mm (0.04 in.) from the actual position or to the travel end in the positive
(+) direction.
If positioning of the X-axis is valid, X-axis positioning is executed.
(3) The tool retracts to the Z-axis lower limit position (Y-axis).
(5) The tool moves to the approach start point (Z-, Y-axis).
If the maximum tool length designation is valid, it moves to the set maximum tool length position
(Z-, Y-axis).
(6) The tool is brought into contact with the touch sensor (Z-, Y-axis).
(7) The tool moves to the approach start point (Z-, Y-axis).
(8) The tool retracts to the Z-axis lower limit position (Y-axis). (If PRET ≠ 1)
When the automatic tool breakage detection cycle detects a tool has been broken, the broken tool
can be automatically returned to the magazine by using a subprogram.
When a tool is returned to the magazine, it may interfere with a workpiece, depending on the shape
of the workpiece. To avoid this, it is necessary to retract the workpiece. The tool change position
setting function is used to set the tool change position for this purpose.
The spindle is moved to the tool change position by X- and Y-axis movements. Note that whether or
not the X-axis moves is determined by the setting for bit 3 of VFST. The X-axis moves only when “0”
is set for this bit.
Procedure :
1 Move the spindle to the desired tool change position on the Y-axis.
If the setting that enables X-axis movements is made, move the X-axis also.
2 Execute the following program after selecting the MDI or automatic mode.
CALL OO31
The axes will not move at all even when a program is executed.
After the execution of the program, the actual position is set for system work coordinate system
No. 2 as the tool change position.
The set tool change position data can be checked by opening the MSB ZERO OFFSET
(VSZO*[N]) pop-up window on the GAUGING RESULTS screen.
6130-E P-59
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Automatic tool breakage detection is executed in the manner indicated below for the tool mounted in
the 30° angular attachment.
[Supplement]
Before executing automatic tool breakage detection, make sure that the zero point of the touch
sensor has been set.
Procedure :
2 Mount the tool for which automatic tool length offset is to be executed in the 30° angular
attachment and set the angular attachment direction.
If the tool is mounted manually, the PH parameter must be specified since the tool number is
unknown.
The function compares the measured data to the tool length offset data of the tool offset
number transferred by PH to judge breakage of the tool.
The PH parameter does not have to be designated if the tool is mounted using an M code
command.
3 Execute the following program after selecting the MDI or automatic mode.
Machine Operation
During the execution of the automatic tool breakage detection for the tool mounted in the 30°
angular attachment, the tool moves as indicated below.
(1) The Z-axis moves up 1 mm (0.04 in.) from the actual position or to the travel end in the positive
(+) direction.
If positioning of the X-axis is valid, X-axis positioning is executed.
(3) The tool retracts to the Z-axis lower limit position (Y-axis).
(5) The tool moves to the approach start point (Z-, Y-axis).
If the maximum tool length designation is valid, it moves to the set maximum tool length position
(Z-, Y-axis).
(6) The tool is brought into contact with the touch sensor (Z-, Y-axis).
(8) The tool moves to the approach start point (Z-, Y-axis).
(9) The tool retracts to the Z-axis lower limit position (Y-axis). (If PRET ≠ 1)
PGO = 1:
The tool is returned to the magazine without movement to the tool change position.
PGO = 2:
The tool is returned after positioning of the X- and Y-axis to the tool change position.
6130-E P-61
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
When a spare tool is selected on detection of tool breakage, the machine is not stopped by an alarm
even if the breakage of a tool is detected. Therefore, it is necessary to judge whether or not a tool is
broken at the end of the automatic tool breakage detection cycle and branch a part program
according to the result of the judgment.
[Supplement]
The tool number of the tool which has been judged to be broken in a tool breakage detection
cycle is registered as a broken tool by the tool management function.
To use the same tool number after replacing the broken tool with a new one, it is necessary to
reset the registered broken tool status.
For the procedure for resetting this status, refer to Tool Management Function in the special
specifications of the Operation Manual.
6130-E P-62
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Variables
Variables used in the subroutines that execute automatic tool length offset/automatic tool breakage
detection for the 30° angular attachment.
PH: Tool offset number
Used to designate a tool offset number if a tool offset number different from the tool
number of the active tool is used for automatic tool length offset/automatic tool breakage
detection.
PAXI: One byte (8 bits) transfer variable used when the sensor zero point is set. Each bit has
the following meaning.
VFST: Designates the operation mode. For details refer to [Designating the Operation Mode
(VFST)] in 1-3-3.
PLE1: Designates the tool breakage judgment value. For details refer to [Automatic Tool
Breakage Detection] in 1-3-3.
PLE2: Designates the offset value update permissible amount. For details, refer to [Automatic
Tool Breakage Detection] in 1-3-3.
PLI: Designates the length of the reference tool when setting the touch sensor zero point.
Designates the anticipated tool length when measuring the tool length.
PRS: This is an RS command for multi-point spindle orientation operation.
PRET: Touch sensor retraction preventive command
This is a function to prevent touch sensor retraction at the end of the touch sensor zero
point setting, automatic tool length offset and automatic tool breakage detection.
PGO: Designates the processing to be followed on detection of tool breakage. For details, refer
to [Automatic Tool Breakage Detection] in 1-3-3.
PX: Designates the displacement in the X-axis direction during positioning to the sensor
position.
6130-E P-63
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Measuring the tool length offset value of the reference tool mounted in the vertical spindle
↓
Measuring the tool length offset value of the reference tool mounted in the 45° angular attachment
↓
Setting the relative offset data between the reference tools (VSTOH[20])
↓
Setting the Z-axis lower limit position data
↓
Setting the zero point of the 45° angular attachment touch sensor
↓
Measuring the tool length offset data for a tool mounted in the 45° angular attachment
.
.
.
Check the breakage of a tool mounted in the 45° angular attachment
.
.
.
6130-E P-64
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
To use the automatic tool length offset/automatic tool breakage detection function with an angular
attachment other than a 90° angular attachment (30°, 45°, 60°), a special referent tool, called
reference tool B, is used to measure the attachment compensation data. Differing from the
conventionally used reference tool - called reference tool A - which has a cylindrical shape,
reference tool B has a ball-shaped nose.
When setting the touch sensor zero point, the sensor zero point in the vertical and horizontal
directions is usually determined by the length of reference tool A, which is determined by the
specification code (Bit 7 of specification code No. 24).
When setting the angular attachment touch sensor zero point, however, reference tool B is used to
set the zero point. This means the accurate length of the reference tool must be known beforehand.
The value used to calculate the length of reference tool B based on the length of reference tool A is
called the “relative offset data between reference tools”.
If a value is set for PLI, explained in [Setting the Touch Sensor Zero Point] on 1-3-4, setting the
“relative offset data between reference tools” is not necessary.
The relative offset data between reference tools can be obtained easily by following the procedure
indicated below.
Procedure :
1 Mount reference tool B in the vertical spindle and read the Z-axis coordinate value by bringing
it into contact with the reference block.
Assume the read Z-axis coordinate value to be “B”.
2 Mount reference tool A in the vertical spindle and read the Z-axis coordinate value by bringing
it into contact with the reference block.
Assume the read Z-axis coordinate value to be “A”.
3 Calculate the relative offset data between reference tools using the following formula.
Use system variable “VFST” to designate the basic operation modes for automatic tool length offset
or automatic tool breakage detection operation for a 45° angular attachment.
VFST consists of one byte (8 bits) and each bit has the following significance.
[Supplement]
Pay attention to the setting of system variable VFST since it is also used for the automatic tool
length offset/automatic tool breakage detection functions for a vertical tool, B/C-axis attachment,
extension attachment and 90° angular attachment.
Although the operation mode is backed up in the CNC memory, you are recommended to set the
mode for each execution of the automatic tool length offset/automatic tool breakage detection
functions since the setting is also used for other applications as described above.
6130-E P-66
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
When the automatic tool length offset/automatic tool breakage detection cycle is executed, a tool
must be brought into contact with the touch sensor at the right angle. Therefore, the tool is
positioned in the direction in which the touch sensor is at the right angle before executing these
cycles with the 45° angular attachment tool. The point where the tool is positioned is called the
“approach start position”.
The position where the Y-axis should be retracted to avoid interference with a workpiece before
positioning to the approach start position is called the Z-axis lower limit position.
For details on the approach start position, refer to [Setting the Touch Sensor Zero Point] in 1-3-4.
The Z-axis lower limit position is also used as the spindle retraction position for sensor unit advance/
retract operation for models such as MCR-B II in which the sensor unit can interfere with the spindle
during sensor unit advance/retract operation.
Note that the set Z-axis lower limit position is used for the automatic tool length offset/automatic tool
breakage detection function of the MCM horizontal tool and the B/C-axis attachment, 90° angular
attachment and 30° angular attachment. Therefore, if these specifications are used in combination,
set the Z-axis lower limit position with care.
Procedure :
1 Move the Y-axis to the position where the Z-axis lower limit position is to be set.
In this operation, the Z- and X-axis may be at any position.
2 At this position, execute the following program after selecting the MDI or automatic mode.
CALLOO32
When this program is executed, the axes do not move.
After the execution of the program, the actual position of the Z-axis is stored in system work
coordinate system No. 9 as the Z-axis lower limit position.
The set value can be checked by opening the MSB ZERO OFFSET (VSZO*[N]) pop-up
window on the GAUGING RESULTS screen.
6130-E P-67
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Before executing the automatic tool length offset/automatic tool breakage detection function using
the 45° angular attachment, it is necessary to set the zero point of the touch sensor.
Follow the procedure indicated below to set the touch sensor zero point.
Procedure :
3 Mount reference tool B to the 45° angular attachment and orient the attachment.
4 Position the tool approximately 10 mm (0.39 in.) away from the touch sensor so that it will
contact the touch sensor at the right angle when it is moved in the tool length direction.
5 Select the MDI or automatic mode and execute the following program.
CALL OO87 PAXI=#07H
After the execution of the program above, the touch sensor zero point coordinate values (X, Y,
Z) are set using the designation for PAXI.
For details of PAXI designation, refer to [Variables] in 1-3-4.
Note the relative offset data between the reference tools (VSTOH[20]) is used since PLI is not
designated.
[Supplement]
If PLI is designated, the value to be transferred differs depending on the tool length offset type
(VFST setting). For the absolute offset type, set the length of reference tool B from the gauge line
to PLI. In the case of the relative offset type, set the relative length of reference tool B in reference
to reference tool A.
For details on the relative offset data between the reference tools, refer to [Relative Offset Data
between Reference Tools (VSTOH [20])] in 1-3-4.
How the reference tool moves during the execution of the program is explained in [Reference Tool
Movements during Touch Sensor Zero Point Setting] in 1-3-4.
The result is fed back as the zero point data to system work coordinate system No. 21.
The set zero point data can be checked by opening the MSB ZERO OFFSET (VSZO*[N]) pop-up
window on the GAUGING RESULTS screen.
6130-E P-68
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
During the execution of the touch sensor zero point setting for a 45° angular attachment, the
reference tool moves as indicated below.
Machine operation
(1) The reference tool moves to the approach start point (Y- and Z-axis).
The approach start point is calculated on a line extended from the 45° angular attachment touch
sensor in the tool length direction. The following two positions are calculated on the extended
line: the position where the Z-axis is at the travel limit in the positive direction and the position
where the Y-axis is at the lower end limit position of the Z-axis. Of these two positions, the
position that is closer to the touch sensor is taken as the approach start point.
Since the sensor position has not been measured at the start of touch sensor zero point setting,
the position 10 mm (0.39 in.) ahead of the point where the tool was moved in step 4) of the
operation described in [Setting the Touch Sensor Zero Point] in 1-3-4 is regarded as the 45°
angular attachment touch sensor position.
(3) The reference tool moves the Z-axis lower limit position (Y-axis).
(6) The reference tool moves to the approach start point (Y-axis).
(7) The reference tool is brought into contact with the sensor (Z- and Y-axis).
(8) The reference tool moves to the approach start point (Z- and Y-axis).
(9) The reference tool retracts to the Z-axis lower limit position (Y-axis). (If PRET ≠ 1)
To measure the tool length of the tool mounted in the 45° angular attachment, follow the procedure
indicated below.
[Supplement]
Before executing automatic tool length offset, make sure that the zero point of the touch sensor
has been set.
Procedure :
2 Mount the tool for which automatic tool length offset is to be executed in the 45° angular
attachment and set the angular attachment direction.
If the tool is mounted manually, the PH parameter must be specified since the tool number is
unknown.
The obtained offset data is set as the tool length offset data of the tool number transferred by
the PH parameter.
The PH parameter does not have to be designated if the tool is mounted using an M code
command.
3 Execute the following program after selecting the MDI or automatic mode.
CALL OO87 (PLI=Anticipated tool length) (PH=Tool number)
When the program is executed, the tool length is measured.
The measured tool length data is set as the tool length offset data of the tool number
transferred by PH. If no PH parameter is specified, the data is set as the tool length offset data
of the active tool number.
[Supplement]
If an anticipated tool length is not set, the minimum tool length is used as the anticipated tool
length.
Therefore, the minimum tool length must be set beforehand for optional parameter (long word)
No. 43, as an absolute value in mm units.
If the setting for this parameter is inappropriate, the 45° angular attachment may interfere with the
sensor unit. Set a value 10 mm (0.39 in.) longer than the minimum measurable length
(determined by the machine specification) as the minimum tool length.
If the minimum measurable length is set as the minimum tool length, the 45° angular attachment
will strike the sensor unit if the tool fails to contact the sensor.
6130-E P-70
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Machine operation
During the execution of automatic tool length offset for the tool mounted in the 45° angular
attachment, the tool moves as indicated below.
(1) The Z-axis moves up 1 mm (0.04 in.) from the actual position or to the travel end in the positive
(+) direction.
If positioning of the X-axis is valid, X-axis positioning is executed.
(3) The tool retracts to the Z-axis lower limit position (Y-axis).
(5) The tool moves to the approach start point (Z-, Y-axis).
If the maximum tool length designation is valid, it moves to the set maximum tool length position
(Z-, Y-axis).
(6) The tool is brought into contact with the touch sensor (Z-, Y-axis).
(7) The tool moves to the approach start point (Z-, Y-axis).
(8) The tool retracts to the Z-axis lower limit position (Y-axis). (If PRET ≠ 1)
When the automatic tool breakage detection cycle detects a tool has been broken, the broken tool
can be automatically returned to the magazine by using a subprogram.
When a tool is returned to the magazine, it may interfere with a workpiece, depending on the shape
of the workpiece. To avoid this, it is necessary to retract the workpiece. The tool change position
setting function is used to set the tool change position for this purpose.
The spindle is moved to the tool change position by X- and Y-axis movements. Note that whether or
not the X-axis moves is determined by the setting for bit 3 of VFST. The X-axis moves only when “0”
is set for this bit.
Procedure :
1 Move the spindle to the desired tool change position on the Y-axis.
If the setting that enables X-axis movements is made, move the X-axis also.
2 Execute the following program after selecting the MDI or automatic mode.
CALL OO31
The axes will not move at all even when a program is executed.
After the execution of the program, the actual position is set for system work coordinate system
No. 2 as the tool change position.
The set tool change position data can be checked by opening the MSB ZERO OFFSET
(VSZO*[N]) pop-up window on the GAUGING RESULTS screen.
6130-E P-71
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Automatic tool breakage detection is executed in the manner indicated below for the tool mounted in
the 45° angular attachment.
[Supplement]
Before executing automatic tool breakage detection, make sure that the zero point of the touch
sensor has been set.
Procedure :
2 Mount the tool for which automatic tool length offset is to be executed in the 45° angular
attachment and set the angular attachment direction.
If the tool is mounted manually, the PH parameter must be specified since the tool number is
unknown.
The function compares the measured data to the tool length offset data of the tool offset
number transferred by PH to judge breakage of the tool.
The PH parameter does not have to be designated if the tool is mounted using an M code
command.
3 Execute the following program after selecting the MDI or automatic mode.
Machine Operation
During the execution of the automatic tool breakage detection for the tool mounted in the 45°
angular attachment, the tool moves as indicated below.
(1) The Z-axis moves up 1 mm (0.04 in.) from the actual position or to the travel end in the positive
(+) direction.
If positioning of the X-axis is valid, X-axis positioning is executed.
(3) The tool retracts to the Z-axis lower limit position (Y-axis).
(5) The tool moves to the approach start point (Z-, Y-axis).
If the maximum tool length designation is valid, it moves to the set maximum tool length position
(Z-, Y-axis).
(6) The tool is brought into contact with the touch sensor (Z-, Y-axis).
(8) The tool moves to the approach start point (Z-, Y-axis).
(9) The tool retracts to the Z-axis lower limit position (Y-axis). (If PRET ≠ 1)
PGO = 1:
The tool is returned to the magazine without movement to the tool change position.
PGO = 2:
The tool is returned after positioning of the X- and Y-axis to the tool change position.
6130-E P-73
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
When a spare tool is selected on detection of tool breakage, the machine is not stopped by an alarm
even if the breakage of a tool is detected. Therefore, it is necessary to judge whether or not a tool is
broken at the end of the automatic tool breakage detection cycle and branch a part program
according to the result of the judgment.
[Supplement]
The tool number of the tool which has been judged to be broken in a tool breakage detection
cycle is registered as a broken tool by the tool management function.
To use the same tool number after replacing the broken tool with a new one, it is necessary to
reset the registered broken tool status.
For the procedure for resetting this status, refer to Tool Management Function in the special
specifications of the Operation Manual.
6130-E P-74
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Variables
Variables used in the subroutines that execute automatic tool length offset/automatic tool breakage
detection for the 45° angular attachment.
PH: Tool offset number
Used to designate a tool offset number if a tool offset number different from the tool
number of the active tool is used for automatic tool length offset/automatic tool breakage
detection.
PAXI: One byte (8 bits) transfer variable used when the sensor zero point is set. Each bit has
the following meaning.
VFST: Designates the operation mode. For details refer to [Designating the Operation Mode
(VFST)] in 1-3-4.
PLE1: Designates the tool breakage judgment value. For details refer to [Automatic Tool
Breakage Detection] in 1-3-4.
PLE2: Designates the offset value update permissible amount. For details, refer to [Automatic
Tool Breakage Detection] in 1-3-4.
PLI: Designates the length of the reference tool when setting the touch sensor zero point.
Designates the anticipated tool length when measuring the tool length.
PRS: This is an RS command for multi-point spindle orientation operation.
PRET: Touch sensor retraction preventive command
This is a function to prevent touch sensor retraction at the end of the touch sensor zero
point setting, automatic tool length offset and automatic tool breakage detection.
PGO: Designates the processing to be followed on detection of tool breakage. For details, refer
to [Automatic Tool Breakage Detection] in 1-3-4.
PX: Designates the displacement in the X-axis direction during positioning to the sensor
position.
6130-E P-75
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Measuring the tool length offset value of the reference tool mounted in the vertical spindle
↓
Measuring the tool length offset value of the reference tool mounted in the 60° angular attachment
↓
Setting the relative offset data between the reference tools (VSTOH[20])
↓
Setting the Z-axis lower limit position data
↓
Setting the zero point of the 60° angular attachment touch sensor
↓
Measuring the tool length offset data for a tool mounted in the 60° angular attachment
:
:
:
Check the breakage of a tool mounted in the 60° angular attachment
:
:
:
6130-E P-76
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
To use the automatic tool length offset/automatic tool breakage detection function with an angular
attachment other than a 90° angular attachment (30°, 45°, 60°), a special reference tool, called
reference tool B, is used to measure the attachment compensation data. Differing from the
conventionally used reference tool - called reference tool A - which has a cylindrical shape,
reference tool B has a ball-shaped nose.
When setting the touch sensor zero point, the sensor zero point in the vertical and horizontal
directions is usually determined by the length of reference tool A, which is determined by the
specification code (Bit 7 of specification code No. 24).
When setting the angular attachment touch sensor zero point, however, reference tool B is used to
set the zero point. This means the accurate length of the reference tool B must be known
beforehand.
The value used to calculate the length of reference tool B based on the length of reference tool A is
called the "relative offset data between reference tools".
If a value is set for PLI, explained in [Setting the Touch Sensor Zero Point], setting the "relative offset
data between reference tools" in 1-3-5 is not necessary.
The relative offset data between reference tools can be obtained easily by following the procedure
indicated below.
Procedure :
1 Mount reference tool B in the vertical spindle and read the Z-axis coordinate value by bringing
it into contact with the reference block.
Assume the read Z-axis coordinate value to be "B".
2 Mount reference tool A in the vertical spindle and read the Z-axis coordinate value by bringing
it into contact with the reference block.
Assume the read Z-axis coordinate value to be "A".
3 Calculate the relative offset data between reference tools using the following formula.
Relative offset data between reference tools = Length of reference tool B (coordinate value B)
- Length of reference tool A (coordinate value A)
ME61315R0300300910001
Use system variable "VFST" to designate the basic operation modes for automatic tool length offset
or automatic tool breakage detection operation for a 60° angular attachment.
VFST consists of one byte (8 bits) and each bit has the following significance.
[Supplement]
Pay attention to the setting of system variable VFST since it is also used for the automatic tool
length offset/automatic tool breakage detection functions for a vertical tool, B/C-axis attachment,
extension attachment and 90° angular attachment.
Although the operation mode is backed up in the CNC memory, you are recommended to set the
mode for each execution of the automatic tool length offset/automatic tool breakage detection
functions since the setting is also used for other applications as described above.
6130-E P-78
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
When the automatic tool length offset/automatic tool breakage detection cycle is executed, a tool
must be brought into contact with the touch sensor at the right angle. Therefore, the tool is
positioned in the direction in which the touch sensor is at the right angle before executing these
cycles with the 60° angular attachment tool. The point where the tool is positioned is called the
"approach start position".
The position where the Y-axis should be retracted to avoid interference with a workpiece before
positioning to the approach start position is called the Z-axis lower limit position.
For details on the approach start position, refer to [Setting the Touch Sensor Zero Point] in 1-3-5.
The Z-axis lower limit position is also used as the spindle retraction position for sensor unit advance/
retract operation for models such as MCR-B II in which the sensor unit can interfere with the spindle
during sensor unit advance/retract operation.
Note that the set Z-axis lower limit position is used for the automatic tool length offset/automatic tool
breakage detection function of the MCM horizontal tool, B/C-axis attachment, 90° angular
attachment, 30° angular attachment, and 45° angular attachment. Therefore, if these specifications
are used in combination, set the Z-axis lower limit position with care.
Procedure :
1 1 Move the Y-axis to the position where the Z-axis lower limit position is to be set.
In this operation, the Z- and X-axis may be at any position.
2 At this position, execute the following program after selecting the MDI or automatic mode.
CALL OO32
When this program is executed, the axes do not move.
After the execution of the program, the actual position of the Z-axis is stored in system work
coordinate system No. 9 as the Z-axis lower limit position.
The set value can be checked by opening the MSB ZERO OFFSET (VSZO*[N]) pop-up
window on the GAUGING RESULTS screen.
6130-E P-79
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Before executing the automatic tool length offset/automatic tool breakage detection function using
the 60° angular attachment, it is necessary to set the zero point of the touch sensor.
Follow the procedure indicated below to set the touch sensor zero point.
Procedure :
3 Mount reference tool B to the 60° angular attachment and orient the attachment.
4 Position the tool approximately 10 mm (0.39 in.) away from the touch sensor so that it will
contact the touch sensor when it is moved in the tool length direction.
5 Select the MDI or automatic mode and execute the following program.
CALL OO59 PAXI=#07H
After the execution of the program above, the touch sensor zero point coordinate values (X, Y,
Z) are set using the designation for PAXI.
For details of PAXI designation, refer to [Variables] in 1-3-5.
Note the relative offset data between the reference tools (VSTOH[20]) is used since PLI is not
designated.
[Supplement]
If PLI is designated, the value to be transferred differs depending on the tool length offset type
(VFST setting). For the absolute offset type, set the length of reference tool B from the gauge line
to PLI. In the case of the relative offset type, set the relative length of reference tool B in reference
to reference tool A.
For details on the relative offset data between the reference tools, refer to [Relative Offset Data
between Reference Tools (VSTOH [20])] in 1-3-5.
How the reference tool moves during the execution of the program is explained in [Reference Tool
Movements during Touch Sensor Zero Point Setting] in 1-3-5.
The result is fed back as the zero point data to system work coordinate system No. 48.
The set zero point data can be checked by opening the MSB ZERO OFFSET (VSZO*[N]) pop-up
window on the GAUGING RESULTS screen.
6130-E P-80
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
During the execution of the touch sensor zero point setting for a 60° angular attachment, the
reference tool moves as indicated below.
Machine operation
(1) The reference tool moves to the approach start point (Y- and Z-axis).
The approach start point is calculated on a line extended from the 60° angular attachment touch
sensor in the tool length direction. The following two positions are calculated on the extended
line: the position where the Z-axis is at the travel limit in the positive direction and the position
where the Y-axis is at the lower end limit position of the Z-axis. Of these two positions, the
position that is closer to the touch sensor is taken as the approach start point.
Since the sensor position has not been measured at the start of touch sensor zero point setting,
the position 10 mm (0.39 in.) ahead of the point where the tool was moved in step 4) of the
operation described in [Setting the Touch Sensor Zero Point] in 1-3-5 is regarded as the 60°
angular attachment touch sensor position.
(3) The reference tool moves the Z-axis lower limit position (Y-axis).
(6) The reference tool moves to the approach start point (Y-axis).
(7) The reference tool is brought into contact with the sensor (Z- and Y-axis).
(8) The reference tool moves to the approach start point (Z- and Y-axis).
(9) The reference tool retracts to the Z-axis lower limit position (Y-axis). (If PRET ≠ 1)
To measure the tool length of the tool mounted in the 60° angular attachment, follow the procedure
indicated below.
[Supplement]
Before executing automatic tool length offset, make sure that the zero point of the touch sensor
has been set.
Procedure :
2 Mount the tool for which automatic tool length offset is to be executed in the 60° angular
attachment and set the angular attachment direction.
If the tool is mounted manually, the PH parameter must be specified since the tool number is
unknown.
The obtained offset data is set as the tool length offset data of the tool number transferred by
the PH parameter.
The PH parameter does not have to be designated if the tool is mounted using an M code
command.
3 Execute the following program after selecting the MDI or automatic mode.
CALL OO59 (PLI=Anticipated tool length) (PH=Tool number)
When the program is executed, the tool length is measured.
The measured tool length data is set as the tool length offset data of the tool number
transferred by PH. If no PH parameter is specified, the data is set as the tool length offset data
of the active tool number.
[Supplement]
If an anticipated tool length is not set, the minimum tool length is used as the anticipated tool
length.
Therefore, the minimum tool length must be set beforehand for optional parameter (long word)
No. 43, as an absolute value in mm units.
If the setting for this parameter is inappropriate, the 60° angular attachment may interfere with the
sensor unit. Set a value 10 mm (0.39 in.) longer than the minimum measurable length
(determined by the machine specification) as the minimum tool length.
If the minimum measurable length is set as the minimum tool length, the 60° angular attachment
will strike the sensor unit if the tool fails to contact the sensor.
6130-E P-82
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Machine operation
During the execution of automatic tool length offset for the tool mounted in the 60° angular
attachment, the tool moves as indicated below.
(1) The Z-axis moves up +1000 mm (39.37 in.) from the actual position or to the travel end in the
positive (+) direction.
If positioning of the X-axis is valid, X-axis positioning is executed.
(3) The tool retracts to the Z-axis lower limit position (Y-axis).
(5) The tool moves to the approach start point (Z-, Y-axis).
If the maximum tool length designation is valid, it moves to the set maximum tool length position
(Z-, Y-axis).
(6) The tool is brought into contact with the touch sensor (Z-, Y-axis).
(7) The tool moves to the approach start point (Z-, Y-axis).
(8) The tool retracts to the Z-axis lower limit position (Y-axis). (If PRET ≠ 1)
When the automatic tool breakage detection cycle detects a tool has been broken, the broken tool
can be automatically returned to the magazine by using a subprogram.
When a tool is returned to the magazine, it may interfere with a workpiece, depending on the shape
of the workpiece. To avoid this, it is necessary to retract the workpiece. The tool change position
setting function is used to set the tool change position for this purpose.
The spindle is moved to the tool change position by X- and Y-axis movements. Note that whether or
not the X-axis moves is determined by the setting for bit 3 of VFST. The X-axis moves only when "0"
is set for this bit.
Procedure :
1 Move the spindle to the desired tool change position on the Y-axis.
If the setting that enables X-axis movements is made, move the X-axis also.
2 Execute the following program after selecting the MDI or automatic mode.
CALL OO31
The axes will not move at all even when a program is executed.
After the execution of the program, the actual position is set for system work coordinate system
No. 2 as the tool change position.
The set tool change position data can be checked by opening the MSB ZERO OFFSET
(VSZO*[N]) pop-up window on the GAUGING RESULTS screen.
6130-E P-83
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Automatic tool breakage detection is executed in the manner indicated below for the tool mounted in
the 60° angular attachment.
[Supplement]
Before executing automatic tool breakage detection, make sure that the zero point of the touch
sensor has been set.
Procedure :
2 Mount the tool for which automatic tool length offset is to be executed in the 60° angular
attachment and set the angular attachment direction.
If the tool is mounted manually, the PH parameter must be specified since the tool number is
unknown.
The function compares the measured data to the tool length offset data of the tool offset
number transferred by PH to judge breakage of the tool.
The PH parameter does not have to be designated if the tool is mounted using an M code
command.
3 Execute the following program after selecting the MDI or automatic mode.
Machine Operation
During the execution of the automatic tool breakage detection for the tool mounted in the 60°
angular attachment, the tool moves as indicated below.
(1) The Z-axis moves up +1000 mm (39.37 in.) from the actual position or to the travel end in
the positive (+) direction.
If positioning of the X-axis is valid, X-axis positioning is executed.
(3) The tool retracts to the Z-axis lower limit position (Y-axis).
(5) The tool moves to the approach start point (Z-, Y-axis).
If the maximum tool length designation is valid, it moves to the set maximum tool length
position (Z-, Y-axis).
(6) The tool is brought into contact with the touch sensor (Z-, Y-axis).
(8) The tool moves to the approach start point (Z-, Y-axis).
(9) The tool retracts to the Z-axis lower limit position (Y-axis). (If PRET ≠ 1)
PGO = 1:
The tool is returned to the magazine without movement to the tool change position.
PGO = 2:
The tool is returned after positioning of the X- and Y-axis to the tool change position.
6130-E P-85
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
When a spare tool is selected on detection of tool breakage, the machine is not stopped by an alarm
even if the breakage of a tool is detected. Therefore, it is necessary to judge whether or not a tool is
broken at the end of the automatic tool breakage detection cycle and branch a part program
according to the result of the judgment.
[Supplement]
The tool number of the tool which has been judged to be broken in a tool breakage detection
cycle is registered as a broken tool by the tool management function.
To use the same tool number after replacing the broken tool with a new one, it is necessary to
reset the registered broken tool status.
For the procedure for resetting this status, refer to Tool Management Function in the special
specifications of the Operation Manual.
6130-E P-86
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Variables
Variables used in the subroutines that execute automatic tool length offset/automatic tool breakage
detection for the 60° angular attachment.
PH: Tool offset number
Used to designate a tool offset number if a tool offset number different from the tool
number of the active tool is used for automatic tool length offset/automatic tool breakage
detection.
PAXI: One byte (8 bits) transfer variable used when the sensor zero point is set. Each bit has
the following meaning.
VFST: Designates the operation mode. For details refer to [Designating the Operation Mode
(VFST)] in 1-3-5.
PLE1: Designates the tool breakage judgment value. For details refer to [Automatic Tool
Breakage Detection] in 1-3-5.
PLE2: Designates the offset value update permissible amount. For details, refer to [Automatic
Tool Breakage Detection] in 1-3-5.
PLI: Designates the length of the reference tool when setting the touch sensor zero point.
Designates the anticipated tool length when measuring the tool length.
PRS: This is an RS command for multi-point spindle orientation operation.
PRET: Touch sensor retraction preventive command
This is a function to prevent touch sensor retraction at the end of the touch sensor zero
point setting, automatic tool length offset and automatic tool breakage detection.
PGO: Designates the processing to be followed on detection of tool breakage. For details, refer
to [Automatic Tool Breakage Detection] in 1-3-5.
PX: Designates the displacement in the X-axis direction during positioning to the sensor
position.
6130-E P-87
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Procedure :
2 At this position, execute the following program after selecting the automatic mode.
CALL OO33
M02
When this program is executed, the axes do not move.
After the execution of the program, the actual position of the Y-axis is stored in system work
coordinate system No. 12 as the Y-axis escape position.
The set value can be checked by opening the MSB ZERO OFFSET (VSZO*[N]) pop-up
window on the GAUGING RESULTS screen.
Procedure :
2 At this position, execute the following program after selecting the automatic mode.
CALL OO32
M02
When this program is executed, the axes do not move.
After the execution of the program, the actual position of the Y-axis is stored in system work
coordinate system No. 9 as the Y-axis escape position.
The set value can be checked by opening the MSB ZERO OFFSET (VSZO*[N]) pop-up
window on the GAUGING RESULTS screen.
6130-E P-88
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
[Supplement]
1) Since system work coordinate systems No. 9 and No. 12 are used exclusively for automatic
tool length offset (cutter radius compensation) and automatic tool breakage detection
functions, they cannot normally be set or referenced.
2) Set the Y-axis escape position at a position where interference between the tool and the touch
sensor unit cover will not occur.
(1) The Z-axis moves at a rapid feedrate to the travel end in the positive (+) direction.
(2) The Y-axis moves at a rapid feedrate to the Y-axis escape position (the position set at system
work coordinate system No. 12).
(4) If the movable type sensor is used, the sensor moves back* once and then moves forward.
* The sensor unit does not move back if it is already at the retract end position.
(5) The X- and Y-axis move at a rapid feedrate to align the tool nose with the center of the touch
sensor.
(6) The tool is brought into contact with the touch sensor according to the selected cycle (automatic
tool length offset (cutter radius compensation)/automatic tool breakage detection cycle).
(7) The Z-axis moves at a rapid feedrate to the travel end in the positive (+) direction.
(8) The Y-axis moves at a rapid feedrate to the Y-axis escape position (the position set at system
work coordinate system No. 12).
(9) If the movable type sensor is used, the sensor moves back.
[Supplement]
With the VH-40, since the touch sensor zero point in the Y-axis direction is set at the same
position as the Y-axis escape position, only the X-axis moves in step 5).
(1) The Z-axis moves at a rapid feedrate to the travel end in the positive (+) direction.
(2) The Y-axis moves at a rapid feedrate to the Y-axis escape position (the position set at system
work coordinate system No. 9).
(4) If the movable type sensor is used, the sensor moves back* once and then moves forward.
6130-E P-89
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
* The sensor unit does not move back if it is already at the retract end position.
(5) The X- and Y-axis move at a rapid feedrate to align the tool nose with the center of the touch
sensor.
(6) The tool is brought into contact with the touch sensor according to the selected cycle (automatic
tool length offset (cutter radius compensation)/automatic tool breakage detection cycle).
(7) The Z-axis moves at a rapid feedrate to the travel end in the positive (+) direction.
(8) The Y-axis moves at a rapid feedrate to the Y-axis escape position (the position set at system
work coordinate system No. 9).
(9) If the movable type sensor is used, the sensor moves back.
6130-E P-90
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Since the M144 command (touch sensor advance) is invalid unless the X-axis is located at the touch
sensor zero point, the provisional X-axis zero point must be set before setting the X-axis touch
sensor zero point.
Note that this setting is not necessary when adjusting a touch sensor zero point that has already
been set.
Procedure :
1 Move the X-axis by manual operation to align the touch sensor with the center of the notch in
the coolant trough.
4 Execute M144.
[Supplement]
Set the touch sensor zero point in the Z direction by designating “PAXI=7”.
Before executing the automatic tool length offset or tool breakage detection cycle, set “0” for bit 3 of
VFST to enable X-axis movement.
VFST setting for the execution of the automatic tool length offset or automatic tool breakage
detection cycle
Relative offset
Automatic tool length offset: 1
Automatic tool breakage detection: 0
Absolute offset
Automatic tool length offset: #81H
Automatic tool breakage detection: #80H
This instruction manual specifies that the tool moves to the touch sensor position during the
execution of an automatic tool length offset or tool breakage detection cycle in the following
sequence:
Z-axis upper limit → Y-axis touch sensor position → X-axis touch sensor position.
In this order of tool movements, however, the tool will interfere with the chip cover.
The setting indicated above changes the order to:
Z-axis upper limit → Z-axis touch sensor position → Y-axis touch sensor position.
Similarly, if “PGO = 2” is designated, the order of tool movements to the tool change position (the
position set by the execution of OO31), where the tool moves after the detection of tool breakage, is
changed to:
Z-axis upper limit → Y-axis tool change position → X-axis tool change position.
6130-E P-92
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Variable
Variables for which a
Subprogra Variables for which a which
Numerical Value Should be
m Name Numerical Value Must be Set Must not
Set as Needed
be Used
Setting of Z-axis OO30 PAXI: PLI: Accurate tool length None
touch sensor zero =3 Setting of X- and Y- of reference tool
point axis zero points used in setting the
=4 Setting of Z-axis zero point
zero point PRS: Spindle orientation
=7 Setting of X-, Y- and angle
Z-axis zero points PRET: Sensor does not
VFST: Operation mode =1 retract.
PH: Tool length offset
number
PD: Cutter radius
compensation
number
Setting of Y-axis OO30 PAXI: PRS: Spindle orientation None
touch sensor zero =#17H Setting of X-, Y- and angle
point Z-axis zero points PRET:
VFST: Operation mode =1 Sensor does not
PLI: Accurate tool length retract.
of reference tool PH: Tool length offset
used in setting the number
zero point PD: Cutter radius
PY: Accurate cutter compensation
radius of reference number
tool used in setting
the zero point
Setting of tool OO31 None None None
change position
(Not necessary
for MC-H)
6130-E P-93
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Variable
Variables for which a
Subprogra Variables for which a which
Numerical Value Should be
m Name Numerical Value Must be Set Must not
Set as Needed
be Used
Automatic tool OO30 VFST: Operation mode PLI: Anticipated tool PAXI
length offset PY: Approximate length
displacement of tool PX: Approximate
nose in the Y-axis displacement of tool
direction from the nose in the X-axis
center of the spindle direction from the
(i.e., cutter radius) center of the
Always set when spindle+/- values are
executing Y-axis possible.
automatic tool offset PY: Approximate
displacement of tool
nose in the Y-axis
direction from the
center of the
spindle+/- values are
possible.
PFA: Feedrate for the
movement from the
sensor to
undertravel point,
PUDT (safety
distance)
PF1: Skip feedrate for the
first contact
detection cycle
PF2: Skip feedrate for the
second contact
detection cycle
PRS: Spindle orientation
angle
PRET:
=1 Sensor does not
retract.
PH: Tool length offset
number
PD: Cutter radius
compensation
number
6130-E P-94
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Variable
Variables for which a
Subprogra Variables for which a which
Numerical Value Should be
m Name Numerical Value Must be Set Must not
Set as Needed
be Used
Automatic tool OO30 VFST: Operation mode PX: Approximate PAXI
breakage PY: Approximate displacement of the
detection displacement of the tool nose in the X-
tool nose in the Y- axis direction from
axis direction from the center of the
the center of the spindle +/- values
spindle (i.e., cutter are possible.
radius) PY: Approximate
Always set when displacement of the
executing Y-axis tool nose in the Y-
automatic tool axis direction from
breakage detection the center of the
spindle +/- values
are possible.
PLE1: Z-axis direction tool
breakage judgment
value
PLEY: Y-axis direction tool
breakage judgment
value
PLE2: Offset value update
permissible amount
PGO: Processing on
occurrence of tool
breakage
PRS: Spindle orientation
angle
PRET:
=1 Sensor does not
retract.
PH: Tool length offset
number
PD: Cutter radius
compensation
number
PFA: Feedrate for the
movement from the
sensor to the
undertravel point,
PUDT (safety
distance)
PF1: Skip feedrate for the
first contact
detection cycle
PF2: Skip feedrate for the
second contact
detection cycle
6130-E P-95
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Variable
Variables for which a
Subprogra Variables for which a which
Numerical Value Should be
m Name Numerical Value Must be Set Must not
Set as Needed
be Used
Setting of tool OO30 PAXI: PLI: Accurate tool length None
length direction =#23H Setting of X- and Y- of reference tool
touch sensor zero axis zero points used in setting the
point =#24H Setting of Z-axis zero point
(Y-axis) zero point PRS: Spindle orientation
=#27H Setting of X-, Y- and angle
Z-axis zero points PRET:
VFST: Operation mode =1 Sensor does not
retract.
PH: Tool length offset
number
PD: Cutter radius
compensation
number
Setting of tool OO30 PAXI PRS: Spindle orientation None
radius direction =#47H Setting of X-, Y- and angle
touch sensor zero Z-axis zero points PRET:
point VFST: Operation mode =1 Sensor does not
(Z-axis) PLI: Accurate tool length retract.
of reference tool PH: Tool length offset
used in setting the number
zero point PD: Cutter radius
PZ: Accurate cutter compensation
radius of reference number
tool used in setting
the zero point
Z-axis lower limit OO32 None None None
setting
6130-E P-96
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Variable
Variables for which a
Subprogra Variables for which a which
Numerical Value Should be
m Name Numerical Value Must be Set Must not
Set as Needed
be Used
Automatic tool OO30 VFST: Operation mode PLI: Anticipated tool PAXI
length offset PZ: Approximate length
displacement of tool PX: Approximate
nose in the tool displacement of tool
radius direction (Z- nose in the X-axis
axis direction) direction from the
Always set when center of the spindle
executing automatic PZ: Approximate
tool length offset in displacement of tool
the tool radius nose in the Z-axis
direction direction from the
center of the spindle
PFA: Feedrate for the
movement from the
sensor to the
undertravel point,
PUDT (safety
distance)
PF1: Skip feedrate for the
first contact
detection cycle
PF2: Skip feedrate for the
second contact
detection cycle
PRS: Spindle orientation
angle
PRET:
=1 Sensor does not
retract.
PH: Tool length offset
number
PD: Cutter radius
compensation
number
6130-E P-97
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Variable
Variables for which a
Subprogra Variables for which a which
Numerical Value Should be
m Name Numerical Value Must be Set Must not
Set as Needed
be Used
Automatic tool OO30 VFST: Operation mode PX: Approximate PAXI
breakage PZ: Approximate displacement of tool
detection displacement of tool nose in the X-axis
nose in the tool direction from the
radius direction (Z- center of the spindle
axis direction) PZ: Approximate
Always set when displacement of tool
executing automatic nose in the Z-axis
tool length offset in direction from the
the tool radius center of the spindle
direction PLE1: Tool length direction
(Y-axis direction) tool
breakage judgment
value
PLEZ: Tool radius direction
(Z-axis direction) tool
breakage judgment
value
PLE2: Offset value update
permissible amount
PGO: Processing on
occurrence of tool
breakage
PRS: Spindle orientation
angle
PRET:
=1 Sensor does not
retract.
PH: Tool length offset
number
PD: Cutter radius
compensation
number
PFA: Feedrate for the
movement from the
sensor to the
undertravel point,
PUDT (safety
distance)
PF1: Skip feedrate for the
first contact
detection cycle
PF2: Skip feedrate for the
second contact
detection cycle
6130-E P-98
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
VFST sets the basic operation mode for automatic tool length offset and automatic tool
breakage detection cycles.
Since the system variable VFST is backed up in the CNC memory, it only has to be
designated once: it does not have to be set each time OO30 is called.
The automatic tool length offset and automatic tool breakage detection cycles can be
executed even in the same part program. In this case, set “1” for bit 0 of VFST when
executing an automatic tool length offset cycle. To execute an automatic tool breakage
detection cycle, set “0” for bit 0 of VFST.
VFST consists of one byte (8 bits) and each bit has the following significance.
ME61315R0300300830001
This indicates the tool breakage judgment value and must be set as an absolute value.
If PLE1 is not set when executing a tool breakage detection cycle, 0.1 mm (0.004 in.) is
automatically set for PLE1 in the subprogram.
This indicates the permissible offset update value and must be set as an absolute value.
If tool breakage is not detected in a tool breakage detection cycle and the following
condition is satisfied, the tool length offset data is updated according to the measured tool
length.
PLE2 < | (Preset tool length offset data) - (Measured tool length) | < PLE1
As the tool length offset data is updated each time the cycle is executed, it must be
carefully attended to in reference to the occurrence of tool breakage. When PLE2 is not
set, the tool length offset data is not updated.
This indicates the tool breakage judgment value in the Y-axis direction and must be set as
an absolute value.
If PLE2 is not set when executing a tool breakage detection cycle, 0.1 mm (0.004 in.) is
automatically set for PLEY in the subprogram.
(5) PAXI
This designates the axis for which the touch sensor zero point is set.
PAXI consists of one byte (8 bits) and each bit has the following significance.
(6) PX
This indicates an approximate displacement of the tool nose from the center of the tool
(spindle) in the X-axis direction. Designation of plus and minus values is possible. When
PX is not set, “PX = 0” is automatically set in a subprogram.
When the X- and Y-axis move to the center of the touch sensor during automatic tool length
offset/automatic tool breakage detection cycle, the tool is positioned PX away from the
center of the touch sensor so that the tool nose is aligned with the center of the touch
sensor.
Since the touch sensor is installed close to the travel limit, pay attention to the setting of PX
in reference to the travel limit.
(7) PY
This indicates an approximate displacement of the tool nose from the center of the tool (spindle)
in the Y-axis direction. For other details, refer to the explanation for “PX”.
When setting the Y-axis zero point, an accurate cutter radius (displacement of the tool nose in
the Y-axis direction) of the reference tool used for zero point setting must be set for PY.
(8) PZ
This indicates an approximate displacement of the tool nose from the center of the tool (spindle)
in the Z-axis direction. For other details, refer to the explanation for “PX”.
6130-E P-101
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
(9) PLI
Reference tool
a b
Spindle nose surface
ME61315R0300300830003
When the tool set in the spindle moves toward the touch sensor, it advances to an
imaginary position 10 mm (0.39 in.) beyond the position where it would come into
contact with the touch sensor. If PLI is not set, the minimum tool length set for CNC
optional parameter (long word) No. 43 is taken as the tool length.
6130-E P-102
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
(10) PFA/PF1/PF2
These designate the approach or skip feedrate for tool movements toward the sensor.
PFA: Feedrate for the movement from the sensor to the undertravel point, PUDT (safety
distance)
If the setting for PGO is “1”, “2”, “3”, “11” or “12”, regardless of whether or not the broken tool
is returned to the magazine, the CNC does not stop even if tool breakage is detected and a
part program continues to be executed after the completion of the tool breakage detection
cycle.
Therefore, it is necessary to judge if the tool is broken or not in a part program and follow the
necessary processing if a tool is found to have been broken.
The result of the tool breakage detection cycle is set for system variable VOK1.
VOK1 = 0: Tool has not been broken.
VOK1 ≠ 0: Tool has been broken.
If a measurement impossible alarm occurs, whatever setting is made for PGO, the CNC is
alarm-stopped after the automatic tool breakage cycle is completed.
1) Setting “PGO = 1” is not allowed with MC-V and double-column machining centers. This
setting can cause interference between the tool or the tool change arm and the workpiece if a
tool change cycle starts after an automatic tool breakage detection cycle.
2) Setting “PGO = 2” is not allowed for MC-H. This setting can cause interference between the
tool or the spindle and the workpiece in Y- or X-axis movement that follows an automatic tool
breakage detection cycle.
6130-E P-104
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Tool
Y+ Y-
Sensor
ME61315R0300300830004
Y+ Y-
ME61315R0300300830005
[Supplement]
Spindle orientation is automatically executed at the travel end of the Z-axis in the positive
direction when the PRS is specified.
(14) PH/PD
Offset data (tool length offset data, cutter radius compensation data) are usually set and
referenced for the offset number identical to the actual tool number. By setting PH and/or
PD, the offset data can be set for the desired offset number.
PH: Tool length offset number (default: actual tool number)
PD: Cutter radius compensation number (default: PH number)
[Supplement]
Even when only cutter radius compensation is executed, it is necessary to set both PH and PD
since the tool length offset data is also referenced.
Optional parameter (long word) No. 44: Max. tool length data
For the maximum tool length, set the maximum tool length among the tools that will be
used.
Setting range: 0 to 999
Unit: mm
Initial setting: 0 (may be changed)
[Supplement]
Because the initial setting for the maximum tool length is “0”, an appropriate value must be set for
VLTL.
(18) PNOR
This is to switch whether to enable or disable the command M19, which is to enable or disable
spindle orientation and indexing to multiple reference points.
Value of PNOR Spindle orientation / indexing to multiple reference points
1 Disable (Do not execute M19)
Other than 1
Enable (Execute M19)
(or no value is specified)
When a CALL command is executed for OO30 (automatic tool offset/breakage detection),
specify the whether to enable or disable spindle orientation and indexing to multiple reference
points with the above argument PNOR OO30 (Automatic tool offset/breakage detection).
Spindle orientation and indexing to multiple reference points are enabled unless otherwise
specified with PNOR.
M19 is disabled for the following six patterns in OO30 when PNOR is set to 1.
Reference point setting in the longitude direction for the horizontal spindle
Reference point setting in the radius direction for the horizontal spindle
Example:
CALL OO30 PAXI=7 PNOR=1
Spindle orientation and indexing to multiple reference point are disabled on the X, Y, and Z-axis for
reference point setting in the longitude direction for the vertical spindle
The sensor zero point is set for system work coordinate system No. 1 (Z-axis sensor) and
system work coordinate system No. 4 (Y-axis sensor).
System work coordinate systems No. 1 and No. 4 are exclusive to automating
specifications and can neither be set by parameter setting nor referenced.
System work coordinate systems No. 1 and No. 4 can only be checked by displaying the
MSB ZERO OFFSET (VSZO*[N]) pop-up window in the GAUGING RESULT display
screen.
(2) When setting “PGO = 2 (PGO = 12)” with MC-V or a double-column machining center, make
sure that the tool change position setting cycle has been executed.
The tool change position for the automatic tool breakage detection cycle is set for system work
coordinate system No. 2. System work coordinate system No. 2 is exclusive to automating
specifications and can neither be set by parameter setting nor referenced.
6130-E P-107
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
(3) An emergency stop limit switch is built into the system to protect the touch sensors. This limit
switch stops axis movement if a sensor is pushed in too far.
If this happens, the emergency stop limit indicating lamp in the control panel lights up. To
release the emergency stop condition, select the manual mode, set the emergency stop limit
release switch to valid, and retract the sensor by moving the axis with the pulse handle in the
direction in which the limit switch is released.
(4) Do not call out the automatic tool length offset or automatic tool breakage detection subprogram
while there is a remaining shift amount in manual interruption operation or while the machine is
still in the mirror image mode. If a subprogram call is attempted, a “measuring impossible”
alarm occurs.
(5) As the automatic tool length offset and automatic tool breakage detection functions are used in
combination with the tool management function, the operator must become fully acquainted
with the tool management function by reading its manual thoroughly before using these
functions.
(6) The explanations in this manual relate to tools that have the cutting nose at the front edge, such
as drills, taps and reamers. For tools whose cutting edge is off the center of the spindle, like
boring bars, variables PRS and PX or PY must be set in accordance with the tool nose offset
direction.
(7) The automatic tool length offset and automatic tool breakage detection functions cannot be
used for tools whose tool holder comes into contact with the touch sensor or touch sensor unit
before the tool nose does.
(8) Numerical values must be assigned to subprograms in the presently used unit system.
Note that the real number unit system must not be used.
(9) The cutter radius compensation mode and the local coordinate system are cancelled when an
automatic tool length offset or automatic tool breakage detection subprogram is executed and,
once cancelled, they are not restored after the completion of the subprogram.
(10) Call automatic tool length offset and automatic tool breakage detection subprograms in a work
coordinate system. An alarm occurs if a subprogram is called in the machine coordinate
system. Note that a work coordinate system cannot be altered during the execution of an
automatic tool length offset or automatic tool breakage detection subprogram.
(11) Do not use the user area as the area for storing programs, work coordinate systems, tool offset
data and common variables, automatic tool length offset or automatic tool breakage detection
subprograms.
(12) The allowable number of nesting levels of subroutines in an automatic tool length offset or tool
breakage detection subprogram is two. This means that the maximum allowable nesting level is
six when these functions are executed.
(13) Manual advance/retraction operation of the tool breakage detection unit (touch sensor)
With MCM and MCR, the touch sensor can be manually moved forwards and backwards.
a. Set the CNC operation panel mode selecting key-lock type switch to ON to enable
independent manual operation.
f. Set the CNC operation panel mode selecting key-lock type switch to OFF to disable
independent manual operation.
(14) An alarm usually occurs if the actual tool number is “0” when a tool length offset or cutter radius
compensation cycle is executed. Therefore, you are recommended to carry out a tool change in
the MDl or automatic mode in this case.
(15) The following parameter is to switch the retract position for the tool to be retracted during tool
length offset and tool breakage detection program.
(*) Limit that is currently valid including programmable limit, B-axis rotation control (optional)
T2 T6
PY=30 (1.18)
Drill Boring bar
ME61315R0300300850001
N1 T2
N2 M6
N3 T6
N4 CALL OO30 VFST=1 (PLI=40) (PF1=1000) Tool length offset cycle for T2
PLI: Anticipated tool length (relative length) in
reference to the standard tool
PF1: First approach feedrate
N5 M6
N6 T5
N7 CALL OO30 PY=30 Tool length offset cycle for T6
PY: Tool nose offset amount from the spindle
center (Y direction) = 30 mm (1.18 in.)
N8 M6
:
:
ME61315R0300300850002
6130-E P-110
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
N1 T2
N2 M6
N3 T6
N4 CALL OO30 VFST=#81H (PLI=240) (PF1=1500) Tool length offset cycle for T2
PLI: Anticipated tool length (absolute length)
N5 M6
N6 T5
N7 CALL OO30 PY=30 Tool length offset cycle for T6
N8 M6
:
:
ME61315R0300300850003
T3
PY=30 (1.18)
Boring bar
ME61315R0300300860001
N1 T1 T1: Drill
N2 M6
N3 T3 T3: Boring bar
N4 S300
N5 G81 G56 X40 Y20 Z-30 R3 F80 H1
:
:
:
N12 CALL OO30 VFST=0 (PLE1=0.2)*1 (PLE2=0.05) Tool breakage detection cycle for T1
PLE1: Tool breakage judgment value
= 0.2 mm (0.008 in.)
PLE2: Offset value update permissible amount
= 0.05 mm (0.0020 in.)
N13 M6
N14 T2
N15 G0 X30 Y10 If no tool breakage judgment value is set,
"0.1 mm (0.004 in.)" is automatically set as the
tool breakage judgment value.
:
:
N29 CALL OO30 PY=30 (PLE1=0.1) Tool breakage detection cycle for T3
PY: Off-center amount of tool nose:
30 mm (1.18 in.)
:
:
ME61315R0300300860002
When the tool is judged “broken”, i.e., when the measured tool length is smaller than the set tool
breakage judgment value, the operation stops in an alarm state on completion of the cycle (Z-axis
positioned at travel end in the positive direction).
6130-E P-112
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
*1: Tool length offset data is updated when variable “PLE2” is set.
When the tool length measured in the tool breakage detection cycle is 0.051 mm (0.00201 in.)
to 0.2 mm (0.008 in.) (the range set by “PLE1” and “PLE2”) shorter than the initial tool length
measured in the automatic tool length offset cycle, the tool length offset data is automatically
updated based on the tool length measured in the tool breakage detection cycle to
compensate for the tool wear amount.
When no “PLE2” data is set, the tool length offset data is not updated.
T1 T3
PY=30 (1.18)
Drill Boring bar
ME61315R0300300860003
6130-E P-113
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
N1 T1 T1: Drill
N2 M6
N3 T3 T3: Boring bar
N4 G0 X40 Y10 S300
N5 G56 Z40 H1* M3
:
:
:
N18 CALL OO30 VFST=0 (PLE1=0.1) PGO=1 Tool breakage detection cycle for T1
PLE1: Tool breakage judgment value = 0.1 mm (0.004 in.)
N19 IF [VOK1 NE 0]N999 Jump to N999 if tool is judged "broken"
VOK1: Judgment for tool breakage
N20 M6
N21 T9
N22 G0 X100 Y20
N23 G56 Z20 H3
:
:
N42 CALL OO30 PY=30 PGO=1 Tool breakage detection cycle for T3
PY: Tool nose offset amount from the spindle center
= 30 mm (1.18 in.)
:
:
N999 M60 Pallet change command
Part program for the next workpiece If a broken tool is called in this program, a spare tool is
automatically selected from the same tool group.
At the same time as the spare tool is selected, the tool
offset data is rewritten to the offset data of the selected
spare tool. The cutter radius compensation data is
rewritten also.
ME61315R0300300860004
It is not necessary to set variable VFST every time an automatic tool breakage detection cycle is
called.
*: HA may be designated instead of H1. For details, refer to special specifications of the Operation
Manual.
6130-E P-114
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
1-9. Alarm
ALARM-B 2311 An attempt is made to execute the tool Check the VFST setting.
UNTENDED: breakage detection cycle although the
no subprogram function corresponding specification is not
supported.
ALARM-B 2309 Tool breakage is detected in the tool
UNTENDED: breakage detection cycle.
tool breakage
ALARM-B 2231 Tool number is “0”. When a tool is changed manually, the
Direct of subscript PH and/or PD setting is wrong. active tool number must be set.
ALARM-B 2308 The PAT command value is out of
UNTENDED: the specifiable range (outside the
command missing range 1 to 7).
Wrong PAT command
The PAT command is not
designated although “1” is set for
VFST, bit 6.
ALARM-B 2268 The value assigned to PLI is too large. Do not set a value larger than the
Plus travel limit over maximum measurable tool length for
PLI.
For the allowable maximum length of
the tool to be measured, refer to your
final machine/control specifications.
The value set for the zero point of the Set the touch sensor zero point again.
touch sensor is incorrect. Be sure to use the same offset type
The touch sensor zero point has been (relative/absolute) for the setting and
set in the relative offset type but measurement.
measurement is executed in the
absolute offset type, or the touch sensor
zero point has been set in the absolute
offset type but measurement is
executed in the relative offset type.
6130-E P-115
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Code Used
Probable Cause Measures to Take
(HEX) Subprograms
1 A maker subprogram is called while Call a maker subprogram after OO10
the machine coordinate system (H0) is selecting a work coordinate system OO30
selected. (G15 H1, for example). OO50
2 The mirror image function is active. Cancel the mirror image function first. OO10
OO30
OO50
3 Manual shift amount (total) remains. Cancel the manual shift amount (total) OO10
to zero. OO30
OO50
4 In the G11 mode (parallel or rotation Cancel the G11 mode first. OO10
shift of a coordinate)
5 In the G51 mode (graphics Cancel the G51 mode first. OO10
enlargement/reduction)
6 T number is zero (0), or no tool is set. Specify a T number. OO30
Specify the PTLN command.
7 Specified T number or PTLN Specify a T number or PTON OO30
command is larger than the maximum command within the allowable range.
offset number.
8 The power to the probe is not on when Check the following: OO15
the flash on cycle is attempted.
Is there any obstacle between the
receiver head and the probe?
Is the spindle index angle for the
probe correct?
Does the receiver head flash?
6130-E P-116
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Code Used
Probable Cause Measures to Take
(HEX) Subprograms
9 The offset amount of the positioning When positioning the Y- and Z-axes, OO30
point for cycle start from the touch position them within the range of
sensor zero point is greater than PCHK from the touch sensor zero
PCHK (only for Y- and Z-axes). point.
A The touch probe microcomputer stays Check whether chips are accumulating OO10
on. on the proximity switch.
B The result of the touch probe test is Check the touch probe battery.
NG.
The touch probe signal cannot be
confirmed.
C The touch probe contacts the With the FM type touch probe, OO10
workpiece while it is being fed at a reception of signals is not correct.
rapid approach feedrate (X-axis).
Gauging cycle start point
PUDT setting
D The touch probe fails to contact the When using the FM type touch probe, OO10
workpiece while it is being fed at a signal reception is not correct.
middle approach feedrate (X-axis).
Gauging cycle start point
POVT setting
E The touch probe fails to contact the Check the touch probe battery. OO10
workpiece while it is being fed at the
final approach feedrate (X-axis).
When using the FM type touch probe,
signal reception is not correct.
F The proximity switch is not turned on Check if the touch probe has OO10
although the touch probe is brought chattered.
into contact with a workpiece (X-axis).
10 The touch probe contacts the Check the following: OO10
workpiece while it is being fed at a
Gauging cycle start point
rapid approach feedrate (Y-axis).
When using the FM type touch probe, PUDT setting
signal reception is not correct.
11 The touch probe fails to contact the Check the following: OO10
workpiece while it is being fed at a
Gauging cycle start point
middle approach feedrate (Y-axis).
When using the FM type touch probe, POVT setting
signal reception is not correct.
12 The touch probe fails to contact the Check the touch probe battery. OO10
workpiece while it is being fed at the
final approach feedrate (Y-axis). When
using the FM type touch probe, signal
reception is not correct.
13 The proximity switch is not turned on Check if the touch probe has OO10
although the touch probe is brought chattered.
into contact with a workpiece (Y-axis).
14 The touch probe contacts the Check the following: OO10
workpiece while it is being fed at a
Gauging cycle start point
rapid approach feedrate (Z-axis).
When using the FM type touch probe, PUDT setting
signal reception is not correct.
6130-E P-117
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Code Used
Probable Cause Measures to Take
(HEX) Subprograms
15 The touch probe fails to contact the Check the following: OO10
workpiece while it is being fed at a
Gauging cycle start point
middle approach feedrate (Z-axis).
When using the FM type touch probe, POVT setting
signal reception is not correct.
16 The touch probe fails to contact the Check the touch probe battery. OO10
workpiece while it is being fed at the
final approach feedrate (Z-axis). When
using the FM type touch probe, signal
reception is not correct.
17 The proximity switch is not turned on Check if the touch probe has OO10
although the touch probe is brought chattered.
into contact with a workpiece (Z-axis).
18 The touch probe contacts the Check the following items: OO10
workpiece during the approach to the
Start point of the gauging cycle
external diameter in the OD gauging
cycle. Assumed OD value
19 PLH is not designated. Set tool length offset number for PLH.
1A PDH is not designated. Set the cutter radius compensation
number for PDH.
1B In the C-axis gauging cycle, contact is Check the following items: OO10
detected during the approach to the
Is start point of the C-axis gauging
gauging point.
cycle correct?
Is PD1 value correct?
Is PG1 value correct?
1C Touch probe contact is not detected in OO100
X-axis direction motion within the
range of PUDT and POVT. (contact
value error)
1D Touch probe contact is not detected in OO100
Y-axis direction motion within the
range of PUDT and POVT. (contact
value error)
1E Touch probe contact is not detected in OO100
Z-axis direction motion within the
range of PUDT and POVT. (contact
value error)
1F In the touch sensor zero setting cycle Check the start point of the cycle; is it OO30
for the vertical spindle longitudinal close to the touch sensor
direction, the cutting tool fails to (within 10 mm (0.39 in.))?
contact the sensor.
20 In the touch sensor zero setting cycle Check the start point of the cycle; is it OO30
for the vertical spindle radial direction, close to the touch sensor
the cutting tool fails to contact the (within 10 mm (0.39 in.))?
sensor.
21 In the touch sensor zero setting cycle Check the start position of the cycle; is OO30
for horizontal spindle longitudinal it close to the touch sensor
direction, the cutting tool fails to (within 10 mm (0.39 in.))?
contact the sensor.
6130-E P-118
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Code Used
Probable Cause Measures to Take
(HEX) Subprograms
22 In the automatic tool length offset/ Check the start point of the cycle; is it OO30
automatic tool breakage detection close to the touch sensor
cycle for the horizontal spindle in the (within 10 mm (0.39 in.))?
radial direction, the cutting tool fails to
contact the sensor.
23 When the axis moves 0.5 mm (0.020 OO100
in.) in the positive direction from the
contact detect point, the probe contact
signal has already been on. (X
direction)
24 When the axis moves 0.5 mm (0.020
in.) in the positive direction from the
contact detect point, the probe contact
signal has already been on. (Y
direction)
25 When the axis moves 0.5 mm (0.020
in.) in the positive direction from the
contact detect point, the probe contact
signal has already been on. (Z
direction)
26 When the axis returns 0.5 mm (0.020
in.) from the contact position detected
after approach (X direction), the value
is taken as the coordinate value in the
workpiece gauging direction again.
27 When the axis returns 0.5 mm (0.020
in.) from the contact position detected
after approach (Y direction), the value
is taken as the coordinate value in the
workpiece gauging direction again.
28 When the axis returns 0.5 mm (0.020
in.) from the contact position detected
after approach (Z direction), the value
is taken as the coordinate value in the
workpiece gauging direction again.
29 In the automatic tool length offset/ Check if the anticipated tool length is OO30
automatic tool breakage detection correct. (for tool length offset cycle)
cycle for the vertical spindle in the
longitudinal direction, the cutting tools
fails to contact the sensor.
2A In the automatic tool length offset/ Check the following: OO30
automatic tool breakage detection
Is the expected tool diameter
cycle is performed in the vertical tool
correct (in the tool radius
radial direction, the cutting tool fails to
compensation cycle)?
contact the sensor.
Is the tool radius compensation
value set (in the tool breakage
detection cycle)?
6130-E P-119
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Code Used
Probable Cause Measures to Take
(HEX) Subprograms
2B In the automatic tool length offset/ Check the following items: OO30
automatic tool breakage detection
Is the anticipated tool length
cycle for the horizontal spindle in the
correct? (for tool length offset
longitudinal direction, the cutting tool
cycle)
fails to contact the sensor.
Is the tool length offset data set?
(for tool breakage detection cycle)
2C In the automatic tool length offset/ Check the following items: OO30
automatic tool breakage detection
Is the anticipated cutter radius
cycle for the horizontal spindle in the
correct? (for tool length offset
radial direction, the cutting tool fails to
cycle)
contact the sensor.
Is the cutter radius offset data set?
(for tool breakage detection cycle)
2D In the automatic tool length offset cycle Check if PLI is appropriate. OO30
in the X-axis direction (with angular
attachment), the cutting tool fails to
contact the sensor.
2E An attachment no. other than 51 and Delete PT or specify PT = 51 or PT = OO30
54 is specified to PT. 54.
2F The cover between the sensor and the Execute automatic door open (M32) OO30
table is not open. before execution of MSB.
30 During inclined surface machining Execute commands after cancelling
(G69). the G69 mode.
33 In the U-center zero setting cycle, the Check the following items:
cutting bit contacts the sensor, or the
Is the sensor zero point set
contact signal is input, in a sequence
correctly?
in which the cutting bit should not
contact the sensor. Is the cutting bit free of chips?
Is the sensor signal correct?
34 In the U-center zero setting cycle, no Check the following items:
contact signal is input.
Is PD value correct?
Is the sensor signal correctly input
to the CNC?
35 In the U-center radius adjusting cycle, Check the following items:
the cutting bit contacts the touch
Is the command value correct?
sensor while the Y-axis is being fed in
a sequence in which contact must not Is the sensor signal correctly input
be detected. to the CNC?
Is the cutting bit free of chips?
36 In the U-center radius adjusting cycle, Check the following items:
the cutting bit fails to contact the touch
Is the U-axis command too large?
sensor.
Is the sensor signal correctly input
to the CNC?
6130-E P-120
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Code Used
Probable Cause Measures to Take
(HEX) Subprograms
37 In the U-center radius adjusting cycle, Check if the sensor signal is correctly
the cutting bit fails to contact the touch input to the CNC.
sensor in the sequence in which the U-
axis adjusted amount is checked on
the Y-axis.
38 In the tool breakage detection cycle, Check the following items:
the cutting bit contacts the touch
Is the sensor zero point set
sensor while the Y-axis is being fed in
correctly?
a sequence in which contact must not
be detected. Is the sensor signal correctly input
to the CNC?
Is the cutting bit free of chips?
39 In the tool wear compensation cycle, Check the following items:
the cutting bit contacts the touch
Is the command value correct?
sensor in a sequence in which the Y-
axis positioning is executed to a point Is the U-center bit free of chips?
distanced from the current position by
Is the sensor signal correctly input
the compensation amount.
to the CNC?
3A In the tool wear compensation cycle, Check if the sensor signal is correctly
the cutting bit fails to contact the touch input to the CNC.
sensor in a sequence in which the
cutting bit radial position is corrected in
the U-axis adjusting cycle.
3B After the completion of U-axis Check if the sensor signal is correctly
compensation in the tool wear input to the CNC.
compensation cycle, the cutting bit
fails to contact the touch sensor in the
sequence in which the adjusted
amount is checked in the Y-axis
movement.
3C When the gauging cycle is executed Execute the gauging cycle after OO10
with a touch probe set in the vertical indexing the swivel head to the M75
spindle of the MCM, swivel head is not (rear) position.
in the M75 (rear) position.
3D In the touch sensor zero setting cycle Execute the cycle after indexing OO30
for the vertical spindle in the the swivel head to the M73 (front)
longitudinal direction on the MCM, the position.
swivel head is not in the M73 (front)
position, or the horizontal spindle is
Check if the PAXI data is correct.
being used.
3E In the touch sensor zero setting cycle Execute the cycle after indexing OO30
for the vertical spindle in the radial the swivel head to the M73 (front)
direction on the MCM, the swivel head position.
is not in the M73 (front) position, or the
horizontal spindle is being used.
Check if the PAXI data is correct
3F In the touch sensor zero setting cycle Execute the cycle after indexing OO30
for the horizontal spindle in the the swivel head to the M76 (right)
longitudinal direction on the MCM, the position.
swivel head is not in the M76 (right)
position, or the vertical spindle is being
Check if the PAXI data is correct
used.
6130-E P-121
SECTION 1 AUTOMATIC TOOL LENGTH OFFSET/AUTOMATIC TOOL BREAKAGE DETECTION
Code Used
Probable Cause Measures to Take
(HEX) Subprograms
40 In the touch sensor zero setting cycle Execute the cycle after indexing OO30
for the horizontal spindle in the MCM, the swivel head to the M76 (right)
the swivel head is not in the M76 position.
(right) position, or the vertical spindle
is being used.
Check if the PAXI data is correct.
41 The tool number for the angular Check if the T command is correct.
attachment is T52 or T53. (For the
angular attachment tool, only T51 (90°
angular attachment) can be used for
tool length offset).
42 The power supply for the optical type OO16
touch probe cannot be turned on. OO18
43 The power supply for the optical type OO17
touch probe cannot be turned off. OO19
6130-E P-122
SECTION 2 AUTOMATIC GAUGING FUNCTION
2-1. Overview
The automatic gauging function automatically checks the dimensions of a workpiece by executing a
subprogram. The touch probe with the same shank shape as the cutting tool is mounted in the
spindle and brought into contact with the gauging face of the workpiece to read the coordinate
values of the contact point. The workpiece dimension is then automatically calculated using these
coordinate values.
The results of gauging are displayed on the screen. It is also possible to judge if the gauging result is
acceptable or not in a part program.
It is possible to set the zero offset of any work coordinate system based on the results of gauging.
The automatic gauging function is classified into the following two major function types.
Is the machine
model MCM?
Is other gauging
performed?
End
ME61315R0300400040001
6130-E P-124
SECTION 2 AUTOMATIC GAUGING FUNCTION
[Supplement]
The explanation in this section assumes that the functions are executed in the automatic mode.
Therefore, the programs necessary in each step of the operation must be prepared. Use the
program edit function to prepare these programs.
Procedure :
1 Mount a datum hole block (master ring) that has an accurately measured Φ20 mm (0.79 in.) or
larger diameter hole in it.
2 Accurately align the datum hole center with the spindle center using sling gauge or similar tool.
Use the pulse handle for this operation.
4 Select the MDI mode and execute positioning to the zero point at a rapid feedrate. At the zero
point, check the measured value again.
5 Move only the Z-axis in the positive (+) direction to remove the sling gauge and mount the
touch probe in the spindle.
6 Move the Z-axis in the negative (-) direction to the position where the touch probe ball enters
the datum hole.
7 Move the Z-axis so that the touch probe ball enters the datum hole 5 to 7 mm (0.20 to 0.28 in.)
from the datum block upper face.
ME61315R0300400050001
[Supplement]
Since system work coordinate system No. 3 is used exclusively for the automatic gauging
function, it cannot normally be set or referenced.
For the procedure for opening the MSB ZERO OFFSET (VSZO*[N]) pop-up window, refer to [MSB
ZERO ON/OFF Function Key] in 1-1-2 of SECTION 1.
6130-E P-126
SECTION 2 AUTOMATIC GAUGING FUNCTION
The general operating procedure for touch probe radius compensation is described below.
For touch probe radius compensation for the MCM horizontal spindle, refer to [Touch Probe Radius
Compensation Operation (MCM Horizontal Spindle)] in 2-2-2.
If the radius compensation cycle for the touch probe is executed before setting the zero point of
the datum hole, the machine will operate unpredictably.
Execute the touch probe radius compensation cycle only after setting the datum hole zero point.
Procedure :
3 In the MDI mode, specify “VNCOM[1] = 8” and touch the probe by hand to check if the contact
detection signal is correctly turned ON and OFF.
The ON/OFF state of the contact detection signal can be checked by displaying the ACTUAL
POSITION screen or by observing the indicator lamps on the operation panel.
Direction
System Variable Radius Compensation
Data
X+ VSTOD [1]
X- VSTOD [2]
Y+ VSTOD [3]
Y- VSTOD [4]
Z+ -
Z- VSTOD [5]
6130-E P-127
SECTION 2 AUTOMATIC GAUGING FUNCTION
The set data can be checked by opening the MSB TOOL LENGTH OFFSET (VSTOH[N])/MSB
CUTTER RADIUS COMP (VSTOD[N]) pop-up window, shown below.
ME61315R0300400070001
For the procedure for opening the MSB TOOL LENGTH OFFSET (VSTOH[N])/MSB CUTTER
RADIUS COMP (VSTOD[N]) pop-up window, refer to [MSB TOOL ON/OFF Function Key] in 1-
1-2 of SECTION 1.
After making sure that the touch probe radius compensation data is set for the tool radius
compensation number, proceed to the steps below.
5 Using the hole where the touch probe radius compensation cycle has been executed, execute
the ID gauging cycle.
For the ID gauging cycle, refer to [2-2-4. Inner Diameter (ID) Gauging Function].
6 On the GAUGING RESULT display screen, compare the anticipated center value with the
measured center value to confirm that the difference is less than several micrometers.
7 Remove the touch probe from the spindle and mount the sling gauge instead.
8 Turn the sling gauge at the measured center position and compare the measured center value,
sling gauge reading and anticipated center value. Make sure that differences among these
three values are less than several micrometers.
This completes the touch probe radius compensation operation.
[Supplement]
Since cutter radius compensation numbers 1 to 20 for the system are used exclusively for the
automatic gauging function, they cannot normally be set or referenced.
6130-E P-128
SECTION 2 AUTOMATIC GAUGING FUNCTION
Machine operation
During the execution of the touch probe radius compensation cycle, the touch probe moves as
indicated below.
(1) The Z-axis moves at a rapid feedrate to the travel end in the positive (+) direction.
(3) The X- and Y-axis move to the center of the datum hole at a rapid feedrate.
(4) The Z-axis moves down at a rapid feedrate until the touch probe ball reaches a point 30 mm
(1.18 in.) away from the datum hole.
(5) The Z-axis moves down 30 mm (1.18 in.) further at a rapid feedrate and the touch probe ball
enters the datum hole.
(6) Datum hole gauging cycle is executed in the following sequence: X+ direction, X- direction, Y+
direction and Y- direction.
(7) The Z-axis moves at a rapid feedrate to the travel end in the positive (+) direction.
The operating procedure for touch probe radius compensation is described below for the touch
probe mounted in the MCM horizontal spindle.
For general touch probe radius compensation, refer to [Touch Probe Radius Compensation
Operation] in 2-2-2.
Procedure :
1 Mount a datum hole block (master ring) that has an accurately measured Φ20 mm (0.79 in.) or
larger diameter hole in it.
2 Accurately align the datum hole center with the spindle center using sling gauge or similar tool.
Use the pulse handle for this operation.
4 Select the MDI mode and execute positioning to the zero point at a rapid feedrate. At the zero
point, check the measured value again.
5 Move only the longitudinal axis in the positive (+) direction to remove the sling gauge, and
mount the touch probe in the spindle.
At this time, set the ACTUAL TOOL NO. as HORIZONTAL TOOL USED in the POT NO./TOOL
NO. TABLE in the MAGAZINE INFO. sheet in the TOOL DATA screen.
6 In the MDI mode, specify “VNCOM[1] = 8” and touch the probe by hand to check if the contact
detection signal is correctly turned ON and OFF.
The ON/OFF state of the contact detection signal can be checked by displaying the ACTUAL
POSITION screen or by observing the indicator lamps on the operation panel.
6130-E P-129
SECTION 2 AUTOMATIC GAUGING FUNCTION
7 Move to the position where the touch probe ball enters the datum hole.
8 Move so that the touch probe ball enters the datum hole 5 to 7 mm (0.20 to 0.28 in.) from the
datum block upper face.
[Supplement]
To allow the CNC to automatically recognize the direction of the touch probe, the touch
probe must be mounted in the spindle in the automatic or MDI mode.
The results of the cycle are set for the tool radius compensation number indicated below.
Radius Direction
Compensation System Variable
Data M73 (Front) M74 (Left) M75 (Rear) M76 (Right)
X+ - VSTOD [9] VSTOH [3] VSTOD [17]
X- VSTOH [1] VSTOD [10] - VSTOD [18]
Y+ VSTOD [7] VSTOH [2] VSTOD [15] -
Y- VSTOD [8] - VSTOD [16] VSTOH [4]
Z+ VSTOD [5] VSTOD [11] VSTOD [13] VSTOD [19]
Z- VSTOD [6] VSTOD [12] VSTOD [14] VSTOD [20]
6130-E P-130
SECTION 2 AUTOMATIC GAUGING FUNCTION
The set data can be checked by opening the MSB TOOL LENGTH OFFSET (VSTOH[N])/MSB
CUTTER RADIUS COMP (VSTOD[N]) pop-up window, shown below.
ME61315R0300400080001
For the procedure for opening the MSB TOOL LENGTH OFFSET (VSTOH[N])/MSB CUTTER
RADIUS COMP (VSTOD[N]) pop-up window, refer to [MSB TOOL ON/OFF Function Key] in 1-
1-2 of SECTION 1.
After making sure that the touch probe radius compensation data is set for the tool radius
compensation number, proceed to the steps below.
10 Using the hole where the touch probe radius compensation cycle has been executed, execute
the ID gauging cycle.
For the ID gauging cycle, refer to [2-2-4. Inner Diameter (ID) Gauging Function].
11 On the GAUGING RESULT display screen, compare the anticipated center value with the
measured center value to confirm that the difference is less than several micrometers.
12 Remove the touch probe from the spindle and mount the sling gauge instead.
13 Turn the sling gauge at the measured center position and compare the measured center value,
sling gauge reading and anticipated center value. Make sure that differences among these
three values are less than several micrometers.
This completes the touch probe radius compensation operation for the touch probe mounted in
the MCM horizontal spindle.
[Supplement]
Since cutter radius compensation numbers 1 to 20 for the system are used exclusively used for
the automatic gauging function, then cannot normally be set or referenced.
6130-E P-131
SECTION 2 AUTOMATIC GAUGING FUNCTION
Machine operation
During the execution of the touch probe radius compensation cycle for the touch probe mounted in
the MCM horizontal spindle, the touch probe moves as indicated below.
(2) The gauging cycle is executed for the datum hole in the sequence indicated below.
Gauging Order
Touch Probe Direction
1 2 3 4
M73 (Front) Y+ Y- Z+ Z-
MCM M74 (Left) X+ X- Z+ Z-
Horizontal
spindle M75 (Rear) Y+ Y- Z+ Z-
M76 (Right) X+ X- Z+ Z-
(3) The Z-axis moves to and stops at the center of the datum hole.
6130-E P-132
SECTION 2 AUTOMATIC GAUGING FUNCTION
ME61315R0300400090001
The operating procedure for touch probe length offset is described below.
Procedure :
1 Position the X-, Y- and Z-axis so that the touch probe comes to the end face where the gauging
cycle is to be executed.
For this positioning, use a part program (manual or MDI mode operation is also allowed).
The distance between the touch probe ball and the gauging face can be any desired distance.
When the program is executed, the length offset data of the touch probe is automatically
measured.
The offset data is calculated so that the result of the gauging cycle executed at the same
gauging face will be the value set for PEI and set for system length offset number 5.
For MCM, the offset data is set for system length offset numbers 1 to 5 as indicated below
Direction
No. MCM Horizontal Tool
Vertical Tool
M73 (Front) M74 (Left) M75 (Rear) M76 (Right)
Tool Length
VSTOH [5] VSTOH [1] VSTOH [2] VSTOH [3] VSTOH [4]
Offset No.
6130-E P-133
SECTION 2 AUTOMATIC GAUGING FUNCTION
The set data can be checked by opening the MSB TOOL LENGTH OFFSET (VSTOH[N])/MSB
CUTTER RADIUS COMP (VSTOD[N]) pop-up window, shown below.
ME61315R0300400090003
[Supplement]
Since cutter radius compensation numbers 1 to 5 for the system are used exclusively for the
automatic gauging function, then cannot normally be set or referenced.
For the procedure for opening the MSB TOOL LENGTH OFFSET (VSTOH[N])/MSB CUTTER
RADIUS COMP (VSTOD[N]) pop-up window, refer to [MSB TOOL ON/OFF Function Key] in 1-1-2 of
SECTION 1.
Machine operation
During the execution of the touch probe length offset cycle, the touch probe moves as indicated
below.
(2) The touch probe moves to the gauging face to measure the gauging face.
(3) The touch probe moves in the length direction and stops at the previous position.
The touch probe does not move in the radius direction for the execution of the touch probe
length offset cycle.
6130-E P-134
SECTION 2 AUTOMATIC GAUGING FUNCTION
Procedure :
1 Position the touch probe ball at the anticipated center position of the target hole using a part
program.
[Supplement]
To allow the CNC to automatically recognize the touch probe direction, the touch probe must
be mounted in the spindle in the automatic or MDI mode.
ME61315R0300400100001
6130-E P-135
SECTION 2 AUTOMATIC GAUGING FUNCTION
G0 X0 Y0
G56 Z50 H1
M130
R100 GI Z-5 F1000
M131
CALL OO10 PMOD=7 PDI=200
G0 Z500
M02
H1: Touch probe tool length offset data
ME61315R0300400100002
Machine operation
During the execution of the ID gauging cycle, the touch probe moves as indicated below.
(2) The function measures the hole ID by moving the touch probe in the following sequence of
directions: X+, X-, Y+, Y-, X+ and X-.
For the MCM, the order of axis movements depends on the touch probe direction as indicated
below. The touch probe stops at the center of the hole obtained as the result of the ID gauging
cycle.
Touch Probe Gauging Order
Direction 1 2 3 4 5 6
Vertical Spindle X+ X- Y+ Y- X+ X-
M73 Y+ Y- Z+ Z- Y+ Y-
(Front)
M74 X+ X- Z+ Z- X+ X-
MCM (Left)
Horizontal
spindle M75 Y+ Y- Z+ Z- Y+ Y-
(Rear)
M76 X+ X- Z+ Z- X+ X-
(Right)
(3) The touch probe stops at the center of the hole obtained as the result of the ID gauging cycle.
The touch probe lengthwise direction axis does not move during the execution of the ID
gauging cycle.
6130-E P-136
SECTION 2 AUTOMATIC GAUGING FUNCTION
[Supplement]
1) When the PMSR command (PMSR=1) is specified, the gauging cycle takes place in the order
of 1 to 4 shown in the above table.
2) When the PMTR command (PMTR=1) is specified, the gauging cycle takes place in the order
of 1 to 3 shown in the above table.
3) When PMSR and PMTR commands are specified at the same time, the PMTR command
takes precedence.
4) Before starting gauging at three points with the PMTR command, bring the probe to the circle
center as close as possible in Y direction (Z direction for MCM Horizontal Machining Center).
If the probe position in Y direction is far from the circle center, even a distance of several
millimeters causes a gauging error of several to more than ten micrometers.
For the details of how to set the variables PMSR and PMTR, refer to in (10) PMSR (P
MEASURE) and (11) PMTR (P MEASURE THREE) in “How to Use Variables” on 2-5-5.
Procedure :
1 Position the touch probe ball to the anticipated center position of the target outer diameter
using a part program.
In this positioning, move the touch probe ball to a point approximately 10 mm (0.39 in.) away
from the gauging point.
ME61315R0300400110001
G0 X0 Y0
0
10
G56 Z10 H1
R
Touch probe
PIN(PZIN)
Machine operation
During the execution of the OD gauging cycle, the touch probe moves as indicated below.
Touch probe
a
PIN(PZIN) b
c Workpiece OD
ME61315R0300400110003
(2) The function measures the hole OD by moving the touch probe in the following sequence of
directions: X+, X-, Y+, Y-, X+ and X-.
For the MCM, the order of axis movements depends on the touch probe direction as indicated
below.
Touch Probe Gauging Order
Direction 1 2 3 4 5 6
Vertical Spindle X+ X- Y+ Y- X+ X-
M73 Y+ Y- Z+ Z- Y+ Y-
(Front)
M74 X+ X- Z+ Z- X+ X-
MCM (Left)
Horizontal
spindle M75 Y+ Y- Z+ Z- Y+ Y-
(Rear)
M76 X+ X- Z+ Z- X+ X-
(Right)
(3) The touch probe stops at the center obtained as the result of the OD gauging cycle.
[Supplement]
1) When the PMSR command (PMSR=1) is specified, the gauging cycle takes place in the order
of 1 to 4 shown in the above table.
2) When the PMTR command (PMTR=1) is specified, the gauging cycle takes place in the order
of 1 to 3 shown in the above table.
3) When PMSR and PMTR commands are specified at the same time, the PMTR command
takes precedence.
4) Before starting gauging at three points with the PMTR command, bring the probe to the circle
center as close as possible in Y direction (Z direction for MCM Horizontal Machining Center).
If the probe position in Y direction is far from the circle center, even a distance of several
millimeters causes a gauging error of several to more than ten micrometers.
For the details of how to set the variables PMSR and PMTR, refer to in (10) PMSR (P
MEASURE) and (11) PMTR (P MEASURE THREE) in “How to Use Variables” in 2-5-5.
6130-E P-139
SECTION 2 AUTOMATIC GAUGING FUNCTION
Procedure :
1 Position the touch probe ball near the target X-axis end face using a part program.
In this positioning, move the touch probe ball to a point approximately 10 mm (0.39 in.) away
from the gauging point.
ME61315R0300400130001
6130-E P-140
SECTION 2 AUTOMATIC GAUGING FUNCTION
G0 X-120 Y0
100 G56 Z50 H1
Touch probe
M130
GI Z-5 F1000
M131
CALL OO10 PMOD=1 PEI=100
PEI G0 Z500
M02
H1: Touch probe tool length offset data
ME61315R0300400130002
Machine operation
During the execution of the X-axis end face gauging cycle, the touch probe moves as indicated
below.
(2) The X-axis moves toward the target gauging end face and its position is measured.
(3) The X-axis returns to and stops at the previously located position.
Note that Y- and Z-axis do not move during the X-axis end face gauging cycle.
6130-E P-141
SECTION 2 AUTOMATIC GAUGING FUNCTION
Procedure :
1 Position the touch probe ball near the target Y-axis end face using a part program.
In this positioning, move the touch probe ball to a point approximately 10 mm (0.39 in.) away
from the gauging point.
ME61315R0300400140001
Machine operation
During the execution of the Y-axis end face gauging cycle, the touch probe moves as indicated
below.
(2) The Y-axis moves toward the target gauging end face and its position is measured.
(3) The Y-axis returns to and stops at the previously located position.
Note that X- and Z-axis do not move during the Y-axis end face gauging cycle.
6130-E P-143
SECTION 2 AUTOMATIC GAUGING FUNCTION
Procedure :
1 Position the touch probe ball near the target Z-axis end face using a part program.
In this positioning, move the touch probe ball to a point approximately 10 mm (0.39 in.) away
from the gauging point.
ME61315R0300400150001
Machine operation
During the execution of the Z-axis end face gauging cycle, the touch probe moves as indicated
below.
(2) The Z-axis moves toward the target gauging end face and its position is measured.
(3) The Z-axis returns to and stops at the previously located position.
Note that X- and Y-axis do not move during the Z-axis end face gauging cycle.
6130-E P-145
SECTION 2 AUTOMATIC GAUGING FUNCTION
Procedure :
2 Select the automatic mode and execute the following program. This is an example program
applicable when the gauging point is on an inner diameter.
CALL OO10 PMOD=15 PAXI=3
After the execution of the program, the data in A memory and that in B memory are swapped
and the data in A memory is saved in B memory.
Axes do not move even if the gauging result data is saved in B memory.
The setting for argument PAXI differs depending on the type of gauging cycle. See the table
below for this setting.
Procedure :
2 Select the automatic mode and execute the following program. This is an example program
applicable when the gauging point is on an inner diameter.
CALL OO10 PMOD=15 PAXI=3
After the execution of the program, the data in A memory is saved in B memory.
4 Select the automatic mode and execute the following program. This is an example program
applicable when the gauging point is on an inner diameter.
CALL OO10 PMOD=14 PAXI=3
For the setting for argument PAXI, refer to the table in 2-2-7.
When the program is executed, the center point and the distance between points 1 and 2 are
calculated and stored in A memory.
This completes the center-point/distance (between two points) calculating operation.
The results of gauging are displayed on the GAUGING RESULTS screen.
For the procedure for displaying the GAUGING RESULTS screen, refer to SECTION 1 [1-1-1.
Displaying the Result of Gauging].
ME61315R0300400170001
6130-E P-147
SECTION 2 AUTOMATIC GAUGING FUNCTION
[Supplement]
Axes do not move during the execution of the center-point/distance (between two points)
calculation function.
Example program
0
R10 G0 X0 Y0
G56 Z-5 H1
CALL OO10 PMOD=7 PDI=200
300 CALL OO10 PMOD=15 PAXI=3
300
Point 1 G0G56 Z10 H1
X300 Y-300
Center-point
between two Z-5
0
points R15 CALL OO10 PMOD=7 PDI=300
CALL OO10 PMOD=14 PAXI=3
G0 Z500
M02
Point 2 H1: Touch probe tool length offset data
ME61315R0300400170002
6130-E P-148
SECTION 2 AUTOMATIC GAUGING FUNCTION
2-2-9. Calculating the Center and Distance between Two End Faces
The center-point/distance (between end faces) calculation function calculates the center point and
the distance between two end faces (distance/center between inner faces, distance/center between
outer faces of a projection).
Touch Probe Movements during Gauging of the Distance between Two End
Faces
Skip feed
Rapid feed
ME61315R0300400190001
ME61315R0300400190002
6130-E P-149
SECTION 2 AUTOMATIC GAUGING FUNCTION
(1) Gauging cycle for calculating the center-point/distance between inner faces
(2) Gauging cycle for calculating the center-point/distance between projection outer faces
The results of center-point/distance (between end faces) gauging cycle are displayed on the
GAUGING RESULTS screen as shown below.
For the procedure for displaying the GAUGING RESULTS screen, refer to SECTION 1 [1-1-1.
Displaying the Result of Gauging].
ME61315R0300400210001
Procedure :
1 Execute a dimension check cycle for the point that should be established as the zero point.
It is possible to set the center point obtained as the result of center-point/distance calculation
function as the zero point.
[Supplement]
1) Specify only the axis (PX, PY or PZ) for which zero offset is required.
2) Do not designate axes in which dimension check cycle has not been executed.
3) Zero offset is not executed unless PHN is designated.
An alarm (ALARM-B 2308) occurs.
After the execution of the program, the zero point of the work coordinate system specified by
PHN is offset so that the coordinate values of the measured point will take the value set for
PX, PY and/or PZ. The zero point is not offset for the unspecified axes.
The results can be checked by displaying the ZERO OFFSET screen.
The axes do not move even when the automatic zero offset is executed.
4) Automatic zero offset is impossible if the CNC is reset after executing the dimension check
function. An alarm (ALARM-B 2310) occurs.
5) Execute the automatic zero offset function immediately after executing a gauging cycle (ID,
OD, end face) or a center-point/distance calculation cycle.
G0 X0 Y0
G56 Z-5 H1
CALL OO10 PMOD=7 PDI=300
300 CALL OO20 PHN=1 PX=0 PY=0
G0 Z500
M02
H1: Touch probe tool length offset data
ME61315R0300400220001
6130-E P-152
SECTION 2 AUTOMATIC GAUGING FUNCTION
Procedure :
1 Measure the length offset data and radius compensation data of the touch probe by mounting it
in the vertical spindle.
ME61315R0300400230001
[Supplement]
If touch probe offset data has already been set, the data is updated to the offset data
obtained using the touch probe mounted in the vertical spindle.
6130-E P-153
SECTION 2 AUTOMATIC GAUGING FUNCTION
(PAC = 90°)
(PAC = 180°)
(PAC = 0°)
Z+ (PAC = 270°)
Y+
X+
ME61315R0300400240001
Fig.2-1 Relationship between PAC Angles and X, Y, Z Axes of 90° Angular Attachment
PAC = 90°
PAC = 180°
PAC = 0°
PAC = 270°
PAB
Z+
Y+
X+
ME61315R0300400240002
[Supplement]
(3) ID gauging
CALL OO10 PMOD=7 PDI=* PAT=* PAC=*
PDI: Anticipated diameter of target hole
(4) OD gauging
CALL OO10 PMOD=6 PDI=* PIN=* PAT=* PAC=*
PDI: Anticipated outer diameter
PIN: Z direction feed distance
[Supplement]
1) The gauging cycle is executed using the vertical spindle if PAT is not specified.
2) The value set for PAC is valid only when PAT is specified.
If PAC is not specified, “PAC=0” is assumed.
3) The PAC value must be set meeting the mounting angle of the 90° angular attachment or the
B-/C-axis attachment (PAB=90°).
4) There are no other changes in the automatic gauging function.
6130-E P-156
SECTION 2 AUTOMATIC GAUGING FUNCTION
(3) ID gauging
CALL OO10 PMOD=7 PDI=* PAT=* PAV=1
PDI: Anticipated diameter of target hole
(4) OD gauging
CALL OO10 PMOD=6 PDI=* PIN=* PAT=* PAV=1
PDI: Anticipated outer diameter
PIN: Z direction feed distance
[Supplement]
1) The gauging cycle is executed using the vertical spindle if PAT is not specified.
2) The value set for PAV is valid only when PAT is specified.
If PAV is not specified, “PAV = 0 (90° angular attachment/B-/C-axis attachment (PAB=90°))” is
assumed.
3) When a gauging cycle is executed using the extension attachment or B-/C-axis attachment
(PAB=0°), always set “PAV = 1”.
4) There are no other changes in the automatic gauging function.
6130-E P-157
SECTION 2 AUTOMATIC GAUGING FUNCTION
Make sure to execute tool angle offset for automatic gauging for the tool in the horizontal position (A:
-90 degree/B: 90 degree) so that the tool is gauged after offset is compensated.
Gauging a tool with A-axis at - 90 degree for the machine with A and C-axis
ME61315R0300400280001
(3) Gauging ID
CALL OO10 PMOD=7 PDI=* PAT=1 PAC=270
PDI: Estimated diameter of hole to be gauged
6130-E P-158
SECTION 2 AUTOMATIC GAUGING FUNCTION
(4) Gauging OD
CALL OO10 PMOD=6 PDI=* PIN=* PAT=1 PAC=270
PDI: Estimated diameter of OD to be gauged
PIN: Feed amount
Gauging a tool with B-axis at 90 degree for the machine with B and C-axis
ME61315R0300400290001
(3) Gauging ID
CALL OO10 PMOD=7 PDI=* PAT=1 PAC=0
PDI: Estimated diameter of hole to be gauged
(4) Gauging OD
CALL OO10 PMOD=6 PDI=* PIN=* PAT=1 PAC=0
PDI: Estimated diameter of OD to be gauged
PIN: Feed amount
Machine operation
a. At the present position, the spindle rotates at the speed specified with PSD. If no PSD
command is specified, the spindle rotates at 500 min-1.
Note that nothing happens if the power is already ON.
b. After a dwell for 1.5 seconds, the NC stops the spindle. After another dwell for 3 seconds,
the NC checks if the power is turned ON.
If the power is OFF, the NC waits until a dwell for 7 seconds ends and performs spindle
rotation and stop again. If the power is still OFF, the NC generates the following alarm and
stops the machine on the spot.
2305 ALARM-B UNTENDED: gauging impossible 42
OO18 (MP10/OMP60/RMP60)
Machine operation
a. The spindle stops at the specified index position or orientation position, then an M code
(M127) is output internally.
Note that nothing happens if the power is already ON.
b. After a dwell for 1.5 seconds, the NC checks if the power is turned ON.
If the power is OFF, the NC waits for a dwell of 5 seconds and outputs the M code
command again for a dwell of 1.5 seconds. If the power is still OFF, the NC generates the
following alarm and stops the machine on the spot.
2305 ALARM-B UNTENDED: gauging impossible 42
Machine operation
a. The spindle stops at the specified index position or orientation position, then an M code
(M127) is output internally.
Note that nothing happens if the power is already ON.
b. After a dwell for 5 seconds, the NC checks if the power is turned ON.
If the power is OFF, the NC waits for a dwell of 5 seconds and outputs the M code
command again for a dwell of 5 seconds. If the power is still OFF, the NC generates the
following alarm and stops the machine on the spot.
2305 ALARM-B UNTENDED: gauging impossible 42
Machine operation
a. At the present position, the spindle rotates at the speed specified with PSD. If no PSD
command is specified, the spindle rotates at 500 min-1.
Note that nothing happens if the power is already OFF.
b. After a dwell for 1.5 seconds, the NC stops the spindle. After another dwell for 3 seconds,
the NC checks if the power is turned OFF.
If the power is ON, the NC waits until a dwell for 7 seconds ends and performs spindle
rotation and stop again. If the power is still ON, the NC generates the following alarm and
stops the machine on the spot.
2305 ALARM-B UNTENDED: gauging impossible 43
OO19 (MP10/OMP60/RMP60)
Machine operation
a. The spindle stops at the specified index position or orientation position, then an M code
(M127) is output internally.
Note that nothing happens if the power is already OFF.
b. After a dwell for 1.5 seconds, the NC checks if the power is turned OFF.
If the power is ON, the NC waits for a dwell of 5 seconds and outputs the M code command
again for a dwell of 1.5 seconds. If the power is still ON, the NC generates the following
alarm and stops the machine on the spot.
2305 ALARM-B UNTENDED: gauging impossible 43
Machine operation
a. The spindle stops at the specified index position or orientation position, then an M code
(M367) is output internally.
Note that nothing happens if the power is already OFF.
b. After a dwell for 5 seconds, the NC checks if the power is turned OFF.
If the power is ON, the NC waits for a dwell of 5 seconds and outputs the M code command
again for a dwell of 5 seconds. If the power is still ON, the NC generates the following
alarm and stops the machine on the spot.
2305 ALARM-B UNTENDED: gauging impossible 43
[Supplement]
When subprogram OO16 or OO17 is executed, the spindle speed command (S command) value
is changed to the speed of PSD (or 500 min-1 if no command is given.) Therefore, the required
spindle speed must be specified to start the spindle after the execution of OO16 or OO17.
The value range for PSD command in OO16 and OO17 commands is same with that for spindle
speed command. Specify the PSD command for the rotation speed that may not damage the
touch probe.
6130-E P-164
SECTION 2 AUTOMATIC GAUGING FUNCTION
2-5. Details
The foregoing subsections described the basic operating procedure for using the automatic gauging
functions.
This subsection gives detailed information on the automatic gauging functions.
(3)' (3)
(2)' (1)
(2) (1)'
(6)' (5)
ME61315R0300400340001
Touch probe movements in the ID gauging cycle consist of six passes (1) to (6), as shown in the
illustration above. Each of movements (1) to (6) may be regarded as a single gauging cycle on an
end face.
Therefore, touch probe movements are explained in detail for a single end face gauging cycle.
PUDT POVT
(1)
Position C
Position A (2)
Position B
(2)'
: Cutting feedrate
(3) : Rapid feedrate
(3)'
Anticipated end face position
ME61315R0300400340002
6130-E P-165
SECTION 2 AUTOMATIC GAUGING FUNCTION
Machine operation
(1) The present position of the touch probe when subprogram OO10 is called is stored in the CNC
memory as position A.
(2) The position distanced from the anticipated position of the end face to be measured by the
amount set for PUDT is calculated.
This position is taken as position B. If PUDT is not set when subprogram OO10 is called, PUDT
is automatically set as 10 mm (0.39 in.).
(3) If position A is already closer to the anticipated position of the end face to be measured than
position B, then movement 4) is skipped and movement 5) is executed.
(5) The function calculates the position beyond the anticipated position of the end face to be
measured by the amount set for POVT. This position is taken as position C.
If POVT is not set when subprogram OO10 is called, “POVT = 10 mm (0.39 in.)” is assumed.
(7) The touch probe returns at a rapid feedrate to a position 0.5 mm (0.020 in.) away from the
contact detected position.
(8) The touch probe advances at a slow approach speed to a position 1 mm (0.04 in.) beyond the
contact detected position on the end face.
If the touch probe comes into contact with the end face to be measured again while it is
advancing, it comes to a stop immediately.
If the touch probe stops during its advance due to signal reception error (for FM type touch
probe), it returns to the position 0.5 mm (0.020 in.) away from the contact detected position at a
rapid feedrate. After that it advances toward the end face to be measured once again.
If it stops again during this second advance due to signal reception error, it returns to position A
at a rapid feedrate and stops there with the gauging impossible error in effect.
[Supplement]
1) The position where the touch probe came into contact with the end face to be measured is the
position where the limit switch inside the touch probe was activated. Therefore, the actual
position of the ball of the touch probe is 0.1 to 0.2 mm (0.004 to 0.008 in.) beyond the position
where it has come into contact with the end face to be measured.
2) When the gauging cycle has been completed, the touch probe comes to a stop at the center of
the hole on which measurement was carried out in the case of ID / OD gauging cycles.
3) For POVT and PUDT, set a value larger than 3 mm (0.12 in.).
6130-E P-167
SECTION 2 AUTOMATIC GAUGING FUNCTION
Touch probe
(1)
(2) (3)
Workpiece
ME61315R0300400350001
(1)
(8) (9)
G00
(16)
(7)
G31
(2) (6) (14) (15)
(10)
(5) (13)
(4) (12)
(3) (11)
ME61315R0300400350002
[Supplement]
When the PTCH command (PTCH=1) is issued, the probe touches the workpiece only once. In
this operation, the sensor performs only the first and the third approach by skipping the second
approach. To set the approach speed with the PTCH command, specify PF3=**.
Depending on the PUDT value (safety distance), designation of PTCH command may prolong the
gauging time. Note that the gauging accuracy decreases if the PF3 value is too large.
6130-E P-169
SECTION 2 AUTOMATIC GAUGING FUNCTION
Touch probe
(2)
(1)
(3)
Workpiece
ME61315R0300400360001
[Supplement]
When specified, the time lag is reduced and the touch probe starts moving a little earlier.
[Supplement]
Variable
Variables for which
Subprogra Variables for which which
Numerical Value Should be
m Name Numerical Value Must be Set Must not
Set as Needed
be Used
Datum Hole Zero OO21 None VNUM: Gauging cycle None
Point Setting number
Touch Probe OO10 PMOD= 9 VNUM: Gauging cycle None
Radius PDI: Datum hole diameter number
Compensation PUDT: Undertravel distance
POVT: Overtravel distance
PTCH:
=1 Probe single touch
PQIK:
=1 Time reduction
before axis
movement
VNUM: Gauging cycle
number
PDWL: Dwell time
PF1: 1st approach speed
PF2: 2nd approach speed
PF3: 3rd approach speed
Touch Probe OO10 PMOD= 8 VNUM: Gauging cycle None
Length Offset PEI: Z-coordinate value number
of datum Z-end face PUDT: Undertravel distance
PLI: Approximate touch POVT: Overtravel distance
probe length offset PTCH:
data =1 Probe single touch
PQIK:
=1 Time reduction
before axis
movement
VNUM: Gauging cycle
number
PDWL: Dwell time
PF1: 1st approach speed
PF2: 2nd approach speed
PF3: 3rd approach speed
6130-E P-171
SECTION 2 AUTOMATIC GAUGING FUNCTION
Variable
Variables for which
Subprogra Variables for which which
Numerical Value Should be
m Name Numerical Value Must be Set Must not
Set as Needed
be Used
Inner Diameter OO10 PMOD= 7 PDE: Permissible diameter None
Gauging PDI: Anticipated hole error
diameter PCE: Permissible ID
center position error
PGO:
=1 Does not cause
alarm stop on
occurrence of
excessive error
PUDT: Undertravel distance
POVT: Overtravel distance
PTCH:
=1 Probe single touch
PMSR:
=1 Second gauging not
executed
PMTR
=1 3-point gauging
PQIK
=1 Time reduction
before axis
movement
VNUM: Gauging cycle
number
PDWL: Dwell time
PF1: 1st approach speed
PF2: 2nd approach speed
PF3: 3rd approach speed
6130-E P-172
SECTION 2 AUTOMATIC GAUGING FUNCTION
Variable
Variables for which
Subprogra Variables for which which
Numerical Value Should be
m Name Numerical Value Must be Set Must not
Set as Needed
be Used
Outer Diameter OO10 PMOD= 6 PDE: Permissible diameter None
Gauging PDI: Anticipated cylinder error
diameter PCE: Permissible OD
PIN: Infeed direction feed center position error
distance (PZIN) PGO:
=1 Does not cause
alarm stop on
occurrence of
excessive error
PUDT: Undertravel distance
POVT: Overtravel distance
PTCH:
=1 Probe single touch
PMSR:
=1 Second gauging not
executed
PMTR
=1 3-point gauging
PQIK
=1 Time reduction
before axis
movement
VNUM: Gauging cycle
number
PDWL: Dwell time
PF1: 1st approach speed
PF2: 2nd approach speed
PF3: 3rd approach speed
End face gauging OO10 PMOD= 1 PEE: Permissible error of None
(X-axis) PEI: Anticipated X-end X-end face position
face position PGO:
=1 Does not cause
alarm stop on
occurrence
excessive error
PUDT: Undertravel distance
POVT: Overtravel distance
PTCH:
=1 Probe single touch
PQIK
=1 Time reduction
before axis
movement
VNUM: Gauging cycle
number
PDWL: Dwell time
PF1: 1st approach speed
PF2: 2nd approach speed
PF3: 3rd approach speed
6130-E P-173
SECTION 2 AUTOMATIC GAUGING FUNCTION
Variable
Variables for which
Subprogra Variables for which which
Numerical Value Should be
m Name Numerical Value Must be Set Must not
Set as Needed
be Used
End face gauging OO10 PMOD= 2 PEE: Permissible error of None
(Y-axis) PEI: Anticipated Y-end Y-end face position
face position PGO:
=1 Does not cause
alarm stop on
occurrence of
excessive error
PUDT: Undertravel distance
POVT: Overtravel distance
PTCH:
=1 Probe single touch
PQIK
=1 Time reduction
before axis
movement
VNUM: Gauging cycle
number
PDWL: Dwell time
PF1: 1st approach speed
PF2: 2nd approach speed
PF3: 3rd approach speed
End face gauging OO10 PMOD= 3 PEE: Permissible error of None
(Z-axis) PEI: Anticipated Z-end Z-end face position
face position PGO:
=1 Does not cause
alarm stop on
occurrence of
excessive error
PUDT: Undertravel distance
POVT: Overtravel distance
PTCH:
=1 Probe single touch
PQIK
=1 Time reduction
before axis
movement
VNUM: Gauging cycle
number
PDWL: Dwell time
PF1: 1st approach speed
PF2: 2nd approach speed
PF3: 3rd approach speed
6130-E P-174
SECTION 2 AUTOMATIC GAUGING FUNCTION
Variable
Variables for which
Subprogra Variables for which which
Numerical Value Should be
m Name Numerical Value Must be Set Must not
Set as Needed
be Used
Gauging cycle for OO10 PMOD: PCE: Permissible center
calculating the =11 X direction error
center-point/ =12 Y direction PGO:
distance between =13 Z direction =1 Does not cause
inner faces PELI: Anticipated distance alarm stop on
between two end occurrence of
faces excessive error.
PELE: Permissible distance
error
PUDT: Undertravel distance
POVT: Overtravel distance
PTCH:
=1 Probe single touch
PQIK
=1 Time reduction
before axis
movement
VNUM: Gauging cycle
number
PDWL: Dwell time
PF1: 1st approach speed
PF2: 2nd approach speed
PF3: 3rd approach speed
Gauging cycle for OO10 PMOD: PCE: Permissible center
calculating the =11 X direction error
center-point/ =12 Y direction PGO:
distance between =13 Z direction =1 Does not cause
outer faces PELI: Anticipated distance alarm stop on
between two end occurrence of
faces excessive error.
PIN: Movement in PELE: Permissible distance
longitudinal direction error
PUDT: Undertravel distance
POVT: Overtravel distance
PTCH:
=1 Probe single touch
PQIK
=1 Time reduction
before axis
movement
VNUM: Gauging cycle
number
PDWL: Dwell time
PF1: 1st approach speed
PF2: 2nd approach speed
PF3: 3rd approach speed
6130-E P-175
SECTION 2 AUTOMATIC GAUGING FUNCTION
Variable
Variables for which
Subprogra Variables for which which
Numerical Value Should be
m Name Numerical Value Must be Set Must not
Set as Needed
be Used
Saving the OO10 PMOD= 15
gauging result PAXI:
data =1 Saving the X-axis
data
=2 Saving the Y-axis
data
=3 Saving the X-/Y-axis
data
=4 Saving the Z-axis
data
=5 Saving the X-/Z-axis
data
=6 Saving the Y-/Z-axis
data
=7 Saving the X-/Y-/Z-
axis data
Gauging cycle for OO10 PMOD= 14 PE: Permissible error None
calculating the PAXI: PXCI: Anticipated center
center-point/ =1 Calculation on the position - X
distance between X-axis PXCE: Permissible center
two points =2 Calculation on the position error - X
Y-axis PXLI: Anticipated distance
=3 Calculation on the - X-X
X-/Y-axis PXLE: Permissible distance
=4 Calculation on the error - X-X
Z-axis PYCI: Anticipated center
=5 Calculation on the position - Y
X-/Z-axis PYCE: Permissible center
=6 Calculation on the position error - Y
Y-/Z-axis PYLI: Anticipated distance
=7 Calculation on the - Y-Y
X-/Y-/Z-axis PYLE: Permissible distance
error - Y-Y
PZCI: Anticipated center
position - Z
PZCE: Permissible center
position error - Z
PZLI: Anticipated distance
- Z-Z
PZLE: Permissible distance
error - Z-Z
PGO:
=1 Does not cause
alarm stop on
occurrence of
excessive error.
6130-E P-176
SECTION 2 AUTOMATIC GAUGING FUNCTION
Variable
Variables for which
Subprogra Variables for which which
Numerical Value Should be
m Name Numerical Value Must be Set Must not
Set as Needed
be Used
Automatic zero OO20 PHN: Coordinate system None
offset number for which
zero point is offset
PX: X coordinate value
after zero offset
PY: Y coordinate value
after zero offset
PZ: Z coordinate value
after zero offset
PCE < | (anticipated center of Z-axis) - (actual measured center of Z-axis) | (for MCM horizontal
spindle)
The anticipated centers of the X-, Y- and Z-axis are the actual positions of the X-, Y- and Z-axis
when the ID/OD gauging subprograms are called during the execution of a part program.
Error in the measured center position is not evaluated if PCE is not set.
Since the touch probe stops when it comes into contact with the workpiece, setting a large value
for POVT will generally not cause a problem. However, it could cause the touch probe unit to
strike the workpiece if a contact signal is not output due to the failure of the touch probe itself.
When an axis movement command larger than the touch probe stylus stroke is set, the touch
probe will be damaged if the contact signal is not output due to the failure of the touch probe itself.
Therefore, do not set an unnecessarily large value for POVT.
6130-E P-178
SECTION 2 AUTOMATIC GAUGING FUNCTION
Anticipated Actual
position position
PUDT=10 POVT=10
ME61315R0300400400001
PUDT=10 POVT=2
Set so that this distance is smaller than the
7mm (0.28 in.) allowable over-stroke of the touch probe.
ME61315R0300400400002
PUDT=15 POVT=10
ME61315R0300400400003
6130-E P-179
SECTION 2 AUTOMATIC GAUGING FUNCTION
[Supplement]
Determine the PUDT value taking into consideration the allowable over-stroke of the touch probe.
PUDT=15 POVT=5
ME61315R0300400400004
[Supplement]
Depending on the PUDT value, designation of PTCH command may prolong the gauging time.
Note that the gauging accuracy decreases if the PF3 value is too large.
[Supplement]
[Supplement]
When “PGO = 1” is set, an alarm does not occur if the results obtained from the gauging
cycle exceed the permissible range. When “PGO = 1” is set, judge the results of gauging
(OK/NG) in a part program by reading system variable VOK1 after the completion of an
automatic gauging subprogram.
“VOK1 = 0” when the result is OK.
Another system variable, VOK2, is also used for storing the result of the gauging cycle.
Differing from system variable VOK1, which holds the result of the dimension check cycle
executed immediately before its designation, VOK2 indicates, if “VOK2 ≠ 0”, an occurrence
that the result of any one of dimension check cycles has exceeded the permissible error in
all of the dimension check cycles executed after VOK2 has been reset to 0 (VOK2 = 0).
In the case of the gauging impossible alarm, zero offset impossible alarm, command
missing error alarm or no subprogram function alarm, the CNC is alarm-stopped even if
“PGO = 1” is set.
When PGO is not set, the CNC is alarm-stopped when the gauging cycle results have
exceeded the permissible error also.
6130-E P-181
SECTION 2 AUTOMATIC GAUGING FUNCTION
With the program above, the diameter of the hole finished by boring operation is measured
(N24). If the hole diameter is within a specified range (Φ79.95 to Φ80.05 mm (3.1476 to
3.1516 in.)), the machining cycle is continued. If the diameter is larger than Φ80.05 mm
(3.1516 in.), the workpiece is determined defective and the machining cycle is halted.
If the diameter is smaller than Φ79.95 mm (3.1476 in.), execution of the program is
interrupted by the M0 command in N27. This allows the operator to adjust the boring bit, to
carry out the boring cycle on the same hole again.
(24) PE (P ERROR)
For the designation of the cycle to calculate the center/distance between two points, if the same
value is assigned to permissible error values of the center position and the distance, variable
PE can replace the designation of PXCE, PYCE, PZCE, PXLE, PYLE and PZLE.
The following two programs have the same effect.
PXCE=0.01 PYCE=0.01 PZCE=0.01 PXLE=0.01 PYLE=0.01 PZLE=0.01
PE=0.01
Note that PE is given priority over PXCE, PYCE, PZCE, PXLE, PYLE and PZLE. Therefore,
take care when using PE with other variables.
If the setting is, for example, as indicated below
PE=0.01 PZCE=0.02 PZLE=0.03
it is the same as
PE=0.01 PZCE=0.01 PZLE=0.01
6130-E P-183
SECTION 2 AUTOMATIC GAUGING FUNCTION
After the execution of an automatic gauging cycle, the obtained results can be checked by
displaying the GAUGING RESULTS screen. In addition to this check, the results can be used in a
part program to control program flow and other processing since they are stored in the common
variables indicated below.
Type of
Type of Gauging Common Common Common
Type of Gauging Cycle Gauging
Cycle Variable Variable Variable
Cycle
End face
ID gauging: Center (X) VS29 Data saving: X-axis data VS26 gauging: X- VS29
axis data
End face
ID gauging: Center (Y) VS28 Data saving: Y-axis data VS25 gauging: Y- VS28
axis data
End face
ID gauging: ID VS30 Data saving: Z-axis data VS24 gauging: Z- VS27
axis data
Center between two
OD gauging: Center (X) VS29 VS29
points (X)
Note that referencing of the common variables indicated above is not allowed in the usual common
variable reference method. To use the data stored in these common variables, move it to other
common variables that can be referenced.
To reference the end face gauging result in the X-axis direction, move the data to VC1, for example,
by specifying “VC1 = VS29”, then read common variable VC1 in a part program.
[Supplement]
When the CNC is reset or the operation mode is changed to manual after the execution of a
gauging cycle, the data obtained in this gauging cycle is cleared. In this case, it is necessary to
execute the gauging cycle again.
6130-E P-184
SECTION 2 AUTOMATIC GAUGING FUNCTION
Machine operation
(1) The touch probe signal is checked when an automatic gauging cycle subprogram OO10 is
called.
(2) If the signal is not output, the Z-axis moves to the travel end in the positive (+) direction and the
spindle starts rotating to remove chips.
(3) If the output of the signal is not confirmed even after the check above is repeated several times,
the operation is stopped by the gauging impossible alarm.
If the output of the signal is confirmed, the axes move to the gauging cycle start point at a rapid
feedrate.
[Supplement]
1) When the touch probe is set in the spindle manually, carry out this operation to confirm that
the signal is transmitted even if the proximity switch seems to be functioning correctly.
2) When the touch probe is set in the spindle manually, always orient the spindle before calling
an automatic gauging cycle subprogram.
3) With the FM type touch probe, operations of the proximity switch are not checked.
6130-E P-185
SECTION 2 AUTOMATIC GAUGING FUNCTION
Procedure :
3 Disconnect the battery connector and replace the battery with a new one.
[Supplement]
(1) All commands for programs are given in units of 1 mm (0.04 in.) or 0.001 mm (0.00004 in.).
Commands should be given in the unit presently selected.
Commands cannot be given in units of 0.01 mm (0.0004 in.).
(2) Cutter radius compensation mode cancel command (G40) is executed in an automatic gauging
cycle subprogram.
Note that S commands may be changed due to the execution of an automatic gauging cycle
subprogram.
(3) Do not call an automatic gauging cycle subprogram while a shift amount in a manual
intervention operation remains.
If an automatic gauging cycle subprogram is called in this state, the gauging impossible alarm
occurs.
(4) The work coordinate system cannot be changed during the execution of an automatic gauging
cycle subprogram.
(5) The user area for tape storage length, number of work coordinate sets, number of tool offset
sets, and common variables is not used in execution of an automatic gauging cycle
subprogram.
(6) Do not execute an automatic gauging/automatic zero offset cycle while using a local coordinate
system or the graphics enlarge/reduction mode.
(7) The permissible nesting level of subroutines during the execution of an automatic gauging
subprogram is two.
Accordingly, nesting of the maximum of six levels is possible only when the automatic gauging
function is called.
(8) Do not call an automatic gauging subprogram in the machine coordinate system (H0).
(9) As with other tools, you are recommended to set the same number as the touch probe tool
number for VSTOH[5] as the tool offset number. This facilitates program and other checking
since the touch probe length offset data can be checked in the same way as for other tools.
(10) When setting a value for POVT, the restrictions indicated below apply. When a 100% feed
override is set, the feedrate is F1000.
Example
1st Approach Speed (Feed Override Setting) Min. POVT Setting
F1000 (100%) 2 mm (0.08 in.)
F1500 (150%) 3 mm (0.12 in.)
F2000 (200%) 4 mm (0.16 in.)
[Supplement]
The minimum value of POVT varies within a range of 2 to 5 mm (0.08 to 0.20 in.) depending on
the servo characteristics.
(11) The diameter of holes or bosses to be measured must be larger than Φ20 mm (0.79 in.).
6130-E P-187
SECTION 2 AUTOMATIC GAUGING FUNCTION
(12) With MCM series machining centers, index the swivel head to the rear position (M75) when
setting the touch probe in the vertical spindle.
If the touch probe is set in the vertical spindle with the swivel head at a position other than the
rear position, an alarm occurs (UNTENDED: gauging impossible 3C).
Note that the automatic or MDI mode must be selected when mounting the touch probe in the
vertical spindle.
(13) With MCM series machining centers, never execute the zero point setting cycle (OO21) for the
datum hole with the horizontal spindle.
(14) The direction of touch probe mounting in the spindle is determined by the machine model.
Therefore, pay attention to the direction when manually mounting the touch probe in the
spindle.
(15) To check the touch probe function, follow the steps indicated below.
a. After entering “VNCOM[1] = 8” in the MDI mode, press the CYCLE START button.
c. The characters “touch probe” on the screen (position display screen) are highlighted if the
touch probe is operating correctly.
The data at VNCOM[1] is reset to “0” when the CNC is reset or the operation mode is
changed to manual.
In this state, the displayed characters do not change even when the touch probe is moved.
If the touch probe is manually set in the horizontal spindle of an MCM series machining center to
execute the touch probe radius compensation cycle, always set the horizontal spindle tool
command on the TOOL DATA SET screen.
Otherwise, the Z-axis will move and the touch probe will be broken.
6130-E P-188
SECTION 2 AUTOMATIC GAUGING FUNCTION
2-8-1. ID Gauging
.
.
N36 T1......................................................................................... (T1: Touch probe)
N37 M6
N38 T17
N39 G0 X250 Y190..................................................................... Positioning at approximate center
of the hole to be measured
N40 G56 Z-10 H1....................................................................... Inserting the touch probe ball into
the hole
(H1: Tool offset number of the touch
probe)
N41 CALL OO10 PMOD=7 PDI=50 (PDE=0.1 PCE=0.05)........ (PDI: Anticipated ID)
(PDE: Permissible ID error)
(PCE: Permissible center position
error)
.
.
Executes the ID gauging cycle
.
.
N42 G0 Z300.............................................................................. After the completion of the gauging
cycle, the touch probe ball remains
in the hole. Move the touch probe in
the Z+ direction.
.
.
ME61315R0300400460001
PDI=50
ME61315R0300400460002
2-8-2. OD Gauging
.
.
N62 T1......................................................................... (T1: Touch probe)
N63 M6
N64 T12
N65 G0 X310 Y210 ..................................................... Positioning at approximate center of the
OD to be measured
N66 G56 Z40 H1.......................................................... Positioning of Z-axis at a point 10 to
several tens of mm above the gauging
point (see the illustration below.)
N67 CALL OO10 PMOD=6 PDI=50 PZIN=30
(PDE=0.1 PCE=0.05)............ Executing the OD gauging cycle
(PDI: Anticipated OD)
(PZIN: Z-direction infeed amount)
(PDE: Permissible OD error)
(PCE: Permissible center position error)
.
.
ME61315R0300400470001
Touch probe
PDI = 50 mm (1.97 in.) For PZIN, set the distance (Z-axis) from the positioning
point level to the gauging level.
ME61315R0300400470002
.
.
N95 T1.............................................................................. (T1: Touch probe)
N96 M6
N97 T4
N98 G0 X-25 Y60 Positioning at a point 10 to several tens mm away from the Z-end
N99 G56 Z80 H1 face to be measured
N100 CALL OO10 PMOD=3 PEI=35 (PEE=0.1).............. (PEI: Anticipated end face position)
(PEE: Permissible error)
N101 G0 Z300
.
.
ME61315R0300400480001
PEI =
35 mm (1.38 in.)
ME61315R0300400480002
.
.
N242 G0 X-20 Y60 Positioning at a point 10 to several tens of mm away from one
N243 G56 Z-10 H1 of the target end faces (end face A)
N244 CALL OO10 PMOD=1 PEI=0 ........................... End face gauging cycle on end face A
N245 CALL OO10 PMOD=15 PAXI=1......................... Storing the result of gauging in B
memory
N246 G0 Z300
N247 X90 Positioning at a point 10 to several tens of mm away from the other
N248 G56 Z-10 H1 target end face (end face B)
N249 CALL OO10 PMOD=1 PEI=70 .......................... End face gauging cycle on end face B
N250 CALL OO10 PMOD=14 PAXI=1
(PXCI=35 PXCE=0.05 PXLI=70 PXLE=0.05)............ Distance calculation cycle
(PXCI: Anticipated center position)
(PXCE: Permissible center position
error)
(PXLI: Anticipated distance between
end faces)
(PXLE: Permissible error of distance
between end faces)
N251 G0 Z300
.
.
N250 CALL OO10 PMOD=14...................................... No axis moves during the execution of
the distance calculation cycle
ME61315R0300400490001
PXCI = 35
10 to Several 10 to Several
tens of mm PXCI = 70 tens of mm
Program zero
ME61315R0300400490002
If these commands are not specified, the result of the first gauging cycle is overwritten by the result
of the next gauging cycle.
For details on how to save the gauging result data refer to [2-2-7. Saving of Gauging Cycle Results].
.
.
N412 G0 X40 Y50
N413 G56 Z-40 H1
N414 CALL OO10 PMOD=7 PDI=45 (PCE=0.03 PDE=0.05).. ID gauging cycle
N415 CALL OO20 PHN=5 PX=0 PY=0.................................... For coordinate system No. 5, the
zero point (X = 0, Y = 0) is
established at the hole center
obtained by executing the ID
gauging cycle.
(PHN: Coordinate system No.)
N416 G0 Z300
N417 X60 Y60
N418 G56 Z-20 H1
N419 CALL OO10 PMOD=3 PEI=-30 (PEE=0.05)................... End face gauging cycle on Z- axis
N420 CALL OO20 PHN=5 PZ=0.............................................. For the coordinate system No. 5,
the zero point (Z = 0) is
established at the end face
position obtained by executing
the end face gauging cycle
(Z-axis).
N421 G0 Z300
ME61315R0300400500001
30
Program zero
ME61315R0300400500002
2-10
DRILL
ME61315R0300400510001
6130-E P-194
SECTION 2 AUTOMATIC GAUGING FUNCTION
.
.
N1 G15 H1......................................................... Selecting work coordinate system No. 1
N2 G0 X-500 Y800 G56 H1
N3 T1................................................................. T1: Touch probe
N4 M6
N5 T10 .............................................................. T10: φ17.5 (0.689 in.) drill
N6 G0 X0 Y0...................................................... Moving the X- and Y-axis to the anticipated
center of the φ100 mm (3.94 in.) hole
N7 Z-5 H1.......................................................... Moving the touch probe ball into the hole
(H1: Touch probe length offset data)
N8 CALL OO10 PMOD=7 PDI=100 POVT=3.... ID gauging cycle at φ100 mm (3.94 in.) hole
(PDI: Anticipated hole diameter)
(POVT: Overtravel distance)
N9 CALL OO20 PX=0 PY=0 PHN=1................. Zero offset according to the gauging results
(PX: X coordinate value after zero offset)
(PY: Y coordinate value after zero offset)
(PHN: Coordinate system No.)
N10 G0 Z100
N11 X75
N12 G56 Z30 H1............................................... Positioning of the Z-axis near the end face
(Z-axis)
N13 CALL OO10 PMOD=3 PEI=0 POVT=3..... End face gauging cycle (Z-axis)
(PEI: Anticipated end face position)
N14 CALL OO20 PZ=0 PHN=1......................... Zero offset according to the gauging results
(PZ: Z coordinate value after zero offset)
N15 G0 Z400
N16 X500 Y800
N17 M6
N18 T11............................................................. T11: H20 tap
N19 NCYL G81 G56 R5 Z-58 F90 S450 H10.... Part program for machining at the workpiece
upper face
ME61315R0300400510002
6130-E P-195
SECTION 2 AUTOMATIC GAUGING FUNCTION
.
.
N49 G0 Z400
N50 X500 Y800
N51 M67
N52 M77
N53 T15
N54 G0 Y0 M75 ................................................ M75: Indexing the swivel head to the rear
position
N55 G54 X-500 H1
N56 Z-170 ........................................................ Moving the Y- and Z-axis to the anticipated
center of the φ75 mm (2.95 in.) hole
N57 X-270 ........................................................ Moving the touch probe ball into the hole
N58 CALL OO10 PMOD=7 PDI=75.................. ID gauging cycle at φ75 mm (2.95 in.) hole
N59 CALL OO20 PY=0 PZ=0 PHN=2 .............. Zero offset according to the gauging results
N60 G0 X-400
N61 Y60
N62 G54 X-300 H1............................................ Positioning of the X-axis near the end face
(X-axis)
N63 CALL OO10 PMOD=1 PEI=-280 .............. End face gauging cycle (X-axis)
N64 CALL OO20 PX=0 PHN=2 ....................... Zero offset according to the gauging results
N65 G0 X-400
.
.
Normal part program
.
.
ME61315R0300400510003
6130-E P-196
SECTION 2 AUTOMATIC GAUGING FUNCTION
ME61315R0300400520001
ME61315R0300400520002
6130-E P-197
SECTION 2 AUTOMATIC GAUGING FUNCTION
ME61315R0300400520003
ME61315R0300400520004
6130-E P-198
SECTION 2 AUTOMATIC GAUGING FUNCTION
ME61315R0300400520005
ME61315R0300400520006
6130-E P-199
SECTION 2 AUTOMATIC GAUGING FUNCTION
2-10. Alarm
2-10-1.Alarm List
Code Used
Probable Cause Measures to Take
(HEX) Subprograms
1 A maker subprogram is called while Call a maker subprogram after OO10
the machine coordinate system (H0) is selecting a work coordinate system OO30
selected (G15 H1, for example).
2 The mirror image function is active. Cancel the mirror image function first. OO10
OO30
3 Manual shift amount (total) remains. Cancel the manual shift amount (total) OO10
to zero. OO30
4 In the G11 mode (parallel or rotation Cancel the G11 mode first. OO10
shift of a coordinate)
5 In the G51 mode Cancel the G51 mode first. OO10
(graphics enlargement/reduction)
6 T number is zero (0), or no tool is set. Specify a T number. OO30
Specify the PTLN command.
7 Specified T number or PTLN Specify a T number or PTLN command OO30
command is larger than the maximum within the allowable range.
offset number.
8 The power to the probe is not on when Check the following: OO15
the flash on cycle is attempted.
Is there any obstacle between the
receiver head and the probe?
Is the spindle index angle for the
probe correct?
Does the receiver head flash?
9 The offset amount of the positioning When positioning the Y and Z axes, OO30
point for cycle start from the touch position them within the range of
sensor zero point is greater than PCHK from the touch sensor zero
PCHK point.
(only for Y and Z axes).
A The touch probe microcomputer stays Check whether chips are accumulating OO10
on. on the proximity switch.
B The result of the touch probe test is Check the touch probe battery.
NG.
The touch probe signal cannot be
confirmed.
C The touch probe contacts the With the FM type touch probe, OO10
workpiece while it is being fed at a reception of signals is not correct.
rapid approach feedrate (X-axis).
Gauging cycle start point
PUDT setting
D The touch probe fails to contact the When using the FM type touch probe, OO10
workpiece while it is being fed at a signal reception is not correct.
middle approach feedrate (X-axis).
Gauging cycle start point
POVT setting
6130-E P-202
SECTION 2 AUTOMATIC GAUGING FUNCTION
Code Used
Probable Cause Measures to Take
(HEX) Subprograms
E The touch probe fails to contact the Check the touch probe battery. OO10
workpiece while it is being fed at the
final approach feedrate (X-axis).
When using the FM type touch probe,
signal reception is not correct.
F The proximity switch is not turned on Check if the touch probe has OO10
although the touch probe is brought chattered.
into contact with a workpiece (X-axis).
10 The touch probe contacts the Check the following: OO10
workpiece while it is being fed at a
Gauging cycle start point
rapid approach feedrate (Y-axis).
When using the FM type touch probe, PUDT setting
signal reception is not correct.
11 The touch probe fails to contact the Check the following: OO10
workpiece while it is being fed at a
Gauging cycle start point
middle approach feedrate (Y-axis).
When using the FM type touch probe, POVT setting
signal reception is not correct.
12 The touch probe fails to contact the Check the touch probe battery. OO10
workpiece while it is being fed at the
final approach feedrate (Y-axis). When
using the FM type touch probe, signal
reception is not correct.
13 The proximity switch is not turned on Check if the touch probe has OO10
although the touch probe is brought chattered.
into contact with a workpiece (X-axis).
14 The touch probe contacts the Check the following: OO10
workpiece while it is being fed at a
Gauging cycle start point
rapid approach feedrate (Z-axis).
When using the FM type touch probe, PUDT setting
signal reception is not correct.
15 The touch probe fails to contact the Check the following: OO10
workpiece while it is being fed at a
Gauging cycle start point
middle approach feedrate (Z-axis).
When using the FM type touch probe, POVT setting
signal reception is not correct.
16 The touch probe fails to contact the Check the touch probe battery. OO10
workpiece while it is being fed at the
final approach feedrate (Z-axis). When
using the FM type touch probe, signal
reception is not correct.
17 The proximity switch is not turned on Check if the touch probe has OO10
although the touch probe is brought chattered.
into contact with a workpiece (Z-axis).
18 The touch probe contacts the Check the following items: OO10
workpiece during the approach to the
Start point of the gauging cycle
external diameter in the OD gauging
cycle. Assumed OD value
19 PLH is not designated. Set tool length offset number for PLH.
1A PDH is not designated. Set the cutter radius compensation
number for PDH.
6130-E P-203
SECTION 2 AUTOMATIC GAUGING FUNCTION
Code Used
Probable Cause Measures to Take
(HEX) Subprograms
1B In the C-axis gauging cycle, contact is Check the following items: OO10
detected during the approach to the
Is start point of the C-axis gauging
gauging point.
cycle correct?
Is PDl value correct?
Is PGI value correct?
1C Touch probe contact is not detected in OO100
X-axis direction motion within the
range of PUDT and POVT. (contact
value error)
1D Touch probe contact is not detected in OO100
Y-axis direction motion within the
range of PUDT and POVT. (contact
value error)
1E Touch probe contact is not detected in OO100
Z-axis direction motion within the
range of PUDT and POVT. (contact
value error)
1F In the touch sensor zero setting cycle Check the start point of the cycle; is it OO30
for the vertical spindle longitudinal close to the touch sensor
direction, the cutting tool fails to (within 10 mm (0.39 in.))?
contact the sensor.
20 In the touch sensor zero setting cycle Check the start point of the cycle; is it OO30
for the vertical spindle radial direction, close to the touch sensor
the cutting tool fails to contact the (within 10 mm (0.39 in.))?
sensor.
21 In the touch sensor zero setting cycle Check the start position of the cycle; is OO30
for horizontal spindle longitudinal it close to the touch sensor
direction, the cutting tool fails to (within 10 mm (0.39 in.))?
contact the sensor.
22 In the automatic tool length offset/ Check the start point of the cycle; is it OO30
automatic tool breakage detection close to the touch sensor
cycle for the horizontal spindle in the (within 10 mm (0.39 in.))?
radial direction, the cutting tool fails to
contact the sensor.
23 When the axis moves 0.5 mm (0.020 OO100
in.) in the positive direction from the
contact detect point, the probe contact
signal has already been on. (X
direction)
24 When the axis moves 0.5 mm (0.020
in.) in the positive direction from the
contact detect point, the probe contact
signal has already been on. (Y
direction)
25 When the axis moves 0.5 mm (0.020
in.) in the positive direction from the
contact detect point, the probe contact
signal has already been on. (Z
direction)
6130-E P-204
SECTION 2 AUTOMATIC GAUGING FUNCTION
Code Used
Probable Cause Measures to Take
(HEX) Subprograms
26 When the axis returns 0.5 mm (0.020
in.) from the contact position detected
after approach (X direction), the value
is taken as the coordinate value in the
workpiece gauging direction again.
27 When the axis returns 0.5 mm (0.020
in.) from the contact position detected
after approach (Y direction), the value
is taken as the coordinate value in the
workpiece gauging direction again.
28 When the axis returns 0.5 mm (0.020
in.) from the contact position detected
after approach (Z direction), the value
is taken as the coordinate value in the
workpiece gauging direction again.
29 In the automatic tool length offset/ Check if the anticipated tool length is OO30
automatic tool breakage detection correct. (for tool length offset cycle)
cycle for the vertical spindle in the
longitudinal direction, the cutting tools
fails to contact the sensor.
2A In the automatic tool length offset/ Check the following items: OO30
automatic tool breakage detection
Is the anticipated tool length
cycle for the vertical spindle in the
correct? (for tool length offset
radial direction, the cutting tools fails to
cycle)
contact the sensor.
Is the cutter radius offset data set?
(for tool breakage detection cycle)
2B In the automatic tool length offset/ Check the following items: OO30
automatic tool breakage detection
Is the anticipated tool length
cycle for the horizontal spindle in the
correct? (for tool length offset
longitudinal direction, the cutting tool
cycle)
fails to contact the sensor.
Is the tool length offset data set?
(for tool breakage detection cycle)
2C In the automatic tool length offset/ Check the following items: OO30
automatic tool breakage detection
Is the anticipated cutter radius
cycle for the horizontal spindle in the
correct? (for tool length offset
radial direction, the cutting tool fails to
cycle)
contact the sensor.
Is the cutter radius offset data set?
(for tool breakage detection cycle)
2D In the automatic tool length offset cycle Check if PLI is appropriate. OO30
in the X-axis direction (with angular
attachment), the cutting tool fails to
contact the sensor.
2E An attachment no. other than 51 and Delete PT or specify PT = 51 or PT = OO30
54 is specified to PT. 54.
2F The cover between the sensor and the Execute automatic door open (M32) OO30
table is not open. before execution of MSB.
30 During inclined surface machining Execute commands after cancelling
(G69). the G69 mode (G68).
6130-E P-205
SECTION 2 AUTOMATIC GAUGING FUNCTION
Code Used
Probable Cause Measures to Take
(HEX) Subprograms
33 In the U-center zero setting cycle, the Check the following items:
cutting bit contacts the sensor, or the
Is the sensor zero point set
contact signal is input, in a sequence
correctly?
in which the cutting bit should not
contact the sensor. Is the cutting bit free of chips?
Is the sensor signal correct?
34 In the U-center zero setting cycle, no Check the following items:
contact signal is input.
Is PD value correct?
Is the sensor signal correctly input
to the CNC?
35 In the U-center radius adjusting cycle, Check the following items:
the cutting bit contacts the touch
Is the command value correct?
sensor while the Y-axis is being fed in
a sequence in which contact must not Is the sensor signal correctly input
be detected. to the CNC?
Is the cutting bit free of chips?
36 In the U-center radius adjusting cycle, Check the following items:
the cutting bit fails to contact the touch
Is the U-axis command too large?
sensor.
Is the sensor signal correctly input
to the CNC?
37 In the U-center radius adjusting cycle, Check if the sensor signal is correctly
the cutting bit fails to contact the touch input to the CNC.
sensor in the sequence in which the U-
axis adjusted amount is checked on
the Y-axis.
38 In the tool breakage detection cycle, Check the following items:
the cutting bit contacts the touch
Is the sensor zero point set
sensor while the Y-axis is being fed in
correctly?
a sequence in which contact must not
be detected. Is the sensor signal correctly input
to the CNC?
Is the cutting bit free of chips?
39 In the tool wear compensation cycle, Check the following items:
the cutting bit contacts the touch
Is the command value correct?
sensor in a sequence in which the Y-
axis positioning is executed to a point Is the U-center bit free of chips?
distanced from the current position by
Is the sensor signal correctly input
the compensation amount.
to the CNC?
3A In the tool wear compensation cycle, Check if the sensor signal is correctly
the cutting bit fails to contact the touch input to the CNC.
sensor in a sequence in which the
cutting bit radial position is corrected in
the U-axis adjusting cycle.
6130-E P-206
SECTION 2 AUTOMATIC GAUGING FUNCTION
Code Used
Probable Cause Measures to Take
(HEX) Subprograms
3B After the completion of U-axis Check if the sensor signal is correctly
compensation in the tool wear input to the CNC.
compensation cycle, the cutting bit
fails to contact the touch sensor in the
sequence in which the adjusted
amount is checked in the Y-axis
movement.
3C When the gauging cycle is executed Execute the gauging cycle after OO10
with a touch probe set in the vertical indexing the swivel head to the M75
spindle of the MCM, swivel head is not (rear) position.
in the M75 (rear) position.
3D In the touch sensor zero setting cycle Execute the cycle after indexing OO30
for the vertical spindle in the the swivel head to the M73 (front)
longitudinal direction on the MCM, the position.
swivel head is not in the M73 (front)
position, or the horizontal spindle is
Check if the PAXI data is correct.
being used.
3E In the touch sensor zero setting cycle Execute the cycle after indexing OO30
for the vertical spindle in the radial the swivel head to the M73 (front)
direction on the MCM, the swivel head position.
is not in the M73 (front) position, or the
horizontal spindle is being used.
Check if the PAXI data is correct
3F In the touch sensor zero setting cycle Execute the cycle after indexing OO30
for the horizontal spindle in the the swivel head to the M76 (right)
longitudinal direction on the MCM, the position.
swivel head is not in the M76 (right)
position, or the vertical spindle is being
Check if the PAXI data is correct
used.
40 In the touch sensor zero setting cycle Execute the cycle after indexing OO30
for the horizontal spindle in the MCM, the swivel head to the M76 (right)
the swivel head is not in the M76 position.
(right) position, or the vertical spindle
is being used.
Check if the PAXI data is correct.
41 The tool number for the angular Check if the T command is correct.
attachment is T52 or T53. (For the
angular attachment tool, only T51 (90°
angular attachment) can be used for
tool length offset).
42 The power supply for the optical type OO16
touch probe cannot be turned on. OO18
43 The power supply for the optical type OO17
touch probe cannot be turned off. OO19
44 In the inner gauging cycle in the X-axis OO10
direction, the horizontal spindle is
being used with the swivel head facing
to the right or left.
45 In the inner gauging cycle in the Y-axis OO10
direction, the horizontal spindle is
being used with the swivel head facing
to the right or left.
6130-E P-207
SECTION 2 AUTOMATIC GAUGING FUNCTION
Code Used
Probable Cause Measures to Take
(HEX) Subprograms
46 In the inner gauging cycle in the Z-axis OO10
direction, the vertical spindle is being
used.
4E While the touch probe with FM system OO100
is approaching at a rapid approach
rate in the X-axis direction, the signal
reception failure has occurred.
4F While the touch probe with FM system OO100
is approaching at a middle approach
rate in the X-axis direction, the signal
reception failure has occurred.
50 While the touch probe with FM system OO100
is approaching for the final approach in
the X-axis direction, the signal
reception failure has occurred.
51 While the touch probe with FM system OO100
is approaching at a rapid approach
rate in the Y-axis direction, the signal
reception failure has occurred.
52 While the touch probe with FM system OO100
is approaching at a middle approach
rate in the Y-axis direction, the signal
reception failure has occurred.
53 While the touch probe with FM system OO100
is approaching for the final approach in
the Y-axis direction, the signal
reception failure has occurred.
54 While the touch probe with FM system OO100
is approaching at a rapid approach
rate in the Z-axis direction, the signal
reception failure has occurred.
55 While the touch probe with FM system OO100
is approaching at a middle approach
rate in the Z-axis direction, the signal
reception failure has occurred.
56 While the touch probe with FM system OO100
is approaching for the final approach in
the Z-axis direction, the signal
reception failure has occurred.
58 PLI (spare tool length), VMTL (optional OO30
parameter long word No43), POVT
(over travel distance)
59 PH (actual tool no.), VMTL (optional OO30
parameter long word No43), POVT
(over travel distance)
6130-E P-208
SECTION 3 GAUGING DATA OUTPUT TO FILE
3-1. Outline
The print statement has been used to output the data and character strings of the variables to the
panel CRT.
In addition to these output operations, this function allows output of the variables data to a file
(MD1:A.MDF).
3-2. Parameters
Note 1 : If a checkmark is set at the checkbox of the NC optional parameter (bit) No. 32 bit 5,
data is output to the file (MD1:A.MDF), regardless of the variable (VPRT) for designating
the displaying device.
Note 2 : The gauging data obtained by execution of an MSB is not output to a file even when the
relevant value is set at the variable VPRT.
It is output only when a checkmark is set at the NC optional parameter (bit) No.32, bit 5.
Note 3 : For the output in minimum unit system or standard unit system, refer to the explanation
about the print command of the floating-point variable described in 3-4-1, *2.
6130-E P-209
SECTION 3 GAUGING DATA OUTPUT TO FILE
* When a checkmark is set at the checkbox of the NC optional parameter bit No. 3, bit 0, the
inch unit system is selected. If not, metric is selected.
The data, which can be displayed in minimum unit system, may exceed 8 digits if
converted into the standard unit system. In that case, the following indication appears:
“ +OVER FLOW” or “ -OVER FLOW”
4-1. Overview
4-1-1. Specifications
In the manual gauging function, the zero point and tool offset values are set by using the touch
probe or the touch sensor.
In the manual gauging function, the operator carries out the operation in the manual mode by using
the display screen in an interactive style, unlike the automatic gauging or automatic tool length offset
function. Thus the operator does not have to learn to how to create the program special for gauging.
Since this function can be used to set the data easily and readily without referring to the program
explanation manual, it is recommended to use this function for the following cases.
Setting the zero or the tool length offset data for machining a one of a kind workpiece.
Setting the zero or the tool length offset data for machining the first workpiece, and beginning
production from the next workpiece using the set data.
Setting the zero or the tool length offset data for machining another workpiece by interrupting
operation during the repeating lot production using the same part program.
[Supplement]
Since the manual gauging function is used in the manual operation mode, all manual operations
including rapid traverse, cutting feed, feed by the pulse handle are enabled during gauging.
Therefore, move the axis using rapid traverse to the position close to the target position, and then
switch the operation to the pulse handle operation to bring the axis into contact with the touch
probe and touch sensor.
6130-E P-212
SECTION 4 MANUAL GAUGING
The gauging preparation function is used to prepare gauging of a workpiece and a tool. Locate the
cursor to the gauging diagram in the WK SETUP sheet in the operation screen, select [F4]
(PREPARE MEAS.), and execute each preparation function in the following order.
[Supplement]
1) Perform the tool length offset and the tool radius compensation with the touch probe
accordingly as appropriate after performed once.
2) Make sure to perform the tool length offset and the tool radius compensation with the touch
probe after the filler was changed or the filler collided.
3) To perform gauging with high accuracy, reduce runout of the touch probe.
6130-E P-213
SECTION 4 MANUAL GAUGING
The workpiece gauging function is used to perform gauging the length, hole diameter, and center
coordinate of a workpiece and to perform zero offset by using the touch probe.
Use the function by selecting a suitable pattern from the following gauging patterns according to the
shape of the workpiece.
(1) Angle
(5) Center between end faces (of inner and outer end)
ME61315R0300600050001
[Supplement]
The tool length gauging function is used to gauge the tool length by using the touch sensor and
perform tool length offset according to the result.
In this function, the tool of which length from the reference tool or gauge line to the tool edge is
known is used as a gauge.
ME61315R0300600060001
Reference tool
Gauge line
[Supplement]
Before performing tool length gauging, perform gauging preparation by referring to "4-2-2.
Preparation for tool length gauging".
The tool radius gauging function is used to gauge the tool radius by using the touch sensor
sideways, and perform tool radius compensation according to the result.
The tool with which reference tool or radius is known is used as a gauge.
ME61315R0300600330001
[Supplement]
Procedure :
1 Prepare the touch probe, reference block, reference ring, and sling gauge.
3 Select the manual mode by pressing the "manual" operation mode key, and display the
operation screen by pressing the "operation screen" key.
4 Select the WK SETUP sheet and locate the cursor to the WORK ZERO table.
ME61315R0300600100001
7 Press the [F1] (MANUAL/INTERACT) to set the window title to "MANUAL". Then, press the
[F4] (PREPARE MEAS.).
ME61315R0300600100002
8 Bring the reference tool into contact with the reference block by operating the pulse handle. Set
the feedrate at "x 1" immediately before contacting with the sensor.
At this point, perform zero offset to put the reference plane position into the memory.
Zero offset for the system No.22 (REF FACE NO.S 22) is the one for registration of reference
plane positions and not used in regular programs.
9 Check that the cursor is located at REF. SURFACE SET (REF FACE NO.S 22 X, Y) and press
the WRITE key. The zero offset value is set so that the contact position (X, Y) becomes “0”.
10 Check that the cursor is located at REF. SURFACE SET (REF FACE NO.S 22 Z). Set the Z
position in the reference plane by following the message shown in the bottom of the screen.
11 Move the reference tool away from the reference block by using the pulse handle.
12 Press the [F8] (CLOSE). Mount the touch probe to the spindle by [F2] (OPERATE TOOL).
14 Move the cursor to “TOUCH PROBE LENG (LENGTH OFFSET Hs 21)”. Bring the touch probe
into contact with the reference plane by using the pulse handle.
Set the feedrate at "x 1" immediately before contacting with the sensor.
When the touch probe contacts with the touch sensor, the touch probe lights up in red.
6130-E P-218
SECTION 4 MANUAL GAUGING
ME61315R0300600100003
[Supplement]
To correct the touch probe length offset after pressing [F7] (next), locate the cursor to
TOUCH PROBE RAD and press [F6] (return step).
17 Remove the touch probe from the spindle by manual operation, and then attach the sling
gauge.
18 Locate the cursor to REF RING DIA, enter the reference ring diameter, and press the WRITE
key.
6130-E P-219
SECTION 4 MANUAL GAUGING
19 Bring the sling gauge into contact with the reference ring by operating the pulse handle. Then,
determine the reference ring center by rotating the spindle at idle so that the spindle center and
the reference ring center agree.
ME61315R0300600100004
20 Check that the cursor is located at 3. REF RING CENTER (RING CENTER NO.S 3 X, Y) with
the reference ring center and the spindle center in agreement, and press the WRITE key.
21 The zero offset value with which the position (X, Y) where the reference ring center and the
spindle center agree becomes “0” will be set. (No setting operation is required for Z.)
22 Remove the sling gauge from the spindle by manual operation, and then attach the touch
probe.
If radius compensation with the touch probe is performed without spindle orientation,
gauging error may be caused.
24 After inserting the touch probe into the master ring by approximately 7 mm (0.28 in.) by
operating the pulse handle, bring it into contact to the +X side.
Set the feedrate at "x 1" immediately before contacting with the sensor. When the touch probe
contacts with the +X side, the touch probe lights up in red.
25 Locate the cursor to TOUCH PROBE RAD (radius compensation value 1 (+X Ds 21), and
press the WRITE key to set the radius compensation value.
27 Check each offset value when all of radius compensations 1, 2, 3 and 4 are set.
It is desirable that the mutual error be within 0.03 for enough accuracy.
Now the radius compensation has been finished.
Procedure :
3 Select the manual mode by pressing the "manual" operation mode key, and display the TOOL
DATA screen by pressing the "tool data setting" key.
ME61315R0300600110001
6 Locate the cursor to the pot tool correspondence table (on the left side of the screen) and press
the [F6] (TOOL GAUGING).
6130-E P-221
SECTION 4 MANUAL GAUGING
7 Press the [F1] (MANUAL/INTERACT) to set the title of the window below to MANUAL
GAUGING MENU.
ME61315R0300600110002
ME61315R0300600110003
9 Press the [F1] (SET), enter the REF TOOL LENG, and press the WRITE key.
11 Check that the cursor is located at SENSOR ZERO X, Y (REF FACE NO.S 10 X), press the
WRITE key. The zero offset value is set so that the X coordinate of the touch sensor becomes
“0”.
12 Check that the cursor is located at SENSOR ZERO X, Y (REF FACE NO.S 10 Y), press the
WRITE key. The zero offset value is set so that the Y coordinate of the touch sensor becomes
“0”.
6130-E P-222
SECTION 4 MANUAL GAUGING
13 Bring the reference tool into contact with the touch sensor by operating the pulse handle.
Set the feedrate at “x 1” immediately before contacting with the sensor.
When the reference tool contacts with the touch sensor, the touch sensor lights up in red.
14 Check that the cursor is located at SENSOR ZERO Z (ZERO OFFSET NO.S 10 Z), press the
WRITE key. The zero offset value is set so that the Z coordinate of the touch sensor becomes
“0”.
15 Move the reference tool away from the touch sensor by operating the pulse handle.
Procedure :
3 Select the manual mode by pressing the "manual" operation mode key, and display the TOOL
DATA screen by pressing the "tool data setting" key.
ME61315R0300600070001
6 Locate the cursor to the pot tool correspondence table (on the left side of the screen) and press
the [F6] (TOOL GAUGING).
6130-E P-223
SECTION 4 MANUAL GAUGING
7 Press the [F1] (MANUAL/INTERACT) to set the title of the window below to MANUAL
GAUGING MENU.
ME61315R0300600070002
ME61315R0300600070003
9 Press the [F1] (SET), enter the REF TOOL DIA, and press the WRITE key.
11 Bring the reference tool into contact with the touch sensor by operating the pulse handle.
Set the feedrate at “x 1” immediately before contacting with the sensor.
When the reference tool contacts with the touch sensor, the touch sensor lights up in red.
12 Check that the cursor is located at SENSOR ZERO X, Y, Z (REF FACE NO.S 11 X), press the
WRITE key. The zero offset value is set so that the X coordinate of the touch sensor becomes
“0”.
6130-E P-224
SECTION 4 MANUAL GAUGING
13 Check that the cursor is located at SENSOR ZERO X, Y, Z (REF FACE NO.S 11 Y), press the
WRITE key. The zero offset value is set so that the Y coordinate of the touch sensor becomes
“0”.
14 Check that the cursor is located at SENSOR ZERO X, Y, Z (REF FACE NO.S 11 Z), press the
WRITE key. The zero offset value is set so that the Z coordinate of the touch sensor becomes
“0”.
15 Move the reference tool away from the touch sensor by operating the pulse handle.
Angle measurement
Locate the cursor to the WORK ZERO table, press [F6] (MEASURE WORK), select a desired
figure by the cursor key, and then press the WRITE key.
6130-E P-226
SECTION 4 MANUAL GAUGING
Procedure :
1 Press the "MANUAL" operation mode key to display the "OPERATION screen".
Select the WK SETUP sheet and locate the cursor to the WORK ZERO table.
Select the zero group no. for zero offset and press the [F6] (WORK GAUGING).
ME61315R0300600120001
2 Press the [F1] (MANUAL/INTERACT) to set the window title to "MANUAL". Then select the
3 As the MEASURE WORK (ANGLE) window appears, select the measurement direction (+X, -
X, +Y, -Y) by the function key.
ME61315R0300600120002
6130-E P-227
SECTION 4 MANUAL GAUGING
4 Check that the measurement direction is entered at TOUCH POSI 1, and bring the touch probe
into contact with the workpiece side face to be measured by operating the pulse handle.
Set the feedrate at "x 1" immediately before contacting with the sensor. When the touch probe
contacts with the workpiece side face, the touch probe lights up in red.
5 When the WRITE key is pressed at the contacted position, the touch position in the current
coordinate system is input to TOUCH POSI 1, and the cursor moves to TOUCH POSI 2.
6 In the same manner perform measurement for TOUCH POSI 2. When the measurement is
completed, the angle computed from TOUCH POSI 1 and TOUCH POSI 2 is displayed at
ANGLE.
7 Locate the cursor to "C" of ZERO OFFSET No to enter a desired angle. The value is entered
by pressing the CAL function key. To set the measured plane to "0" degree, enter "0". The
entered value is set in the WORK ZERO table.
8 Press the [F8] (CLOSE) to return the screen to the operation screen.
Procedure :
1 Press the "MANUAL" operation mode key to display the "OPERATION screen".
Select the WK SETUP sheet and locate the cursor to the WORK ZERO table.
Select the zero group no. for zero offset and press the [F6] (WORK GAUGING).
2 Press the [F1] (MANUAL/INTERACT) to set the window title to "MANUAL". Then select the
3 As the MEASURE WORK (END FACE) window appears, select the measurement direction
(+X, -X, +Y, -Y) by the function key.
ME61315R0300600130001
6130-E P-228
SECTION 4 MANUAL GAUGING
4 Check that the measurement direction is entered at TOUCH POSI, and bring the touch probe
into contact with the workpiece side face to be measured by operating the pulse handle.
Set the feedrate at "x 1" immediately before contacting with the sensor. When the touch probe
contacts with the workpiece side face, the touch probe lights up in red.
5 When the WRITE key is pressed at the contacted position, the touch position in the current
coordinate system is input to TOUCH POSI and END FACE POSI.
[Supplement]
It is possible to store the measured position data of END FACE POSI by pressing [F7]
(result save-end face).
The stored END FACE POSI can be pasted to TOUCH POSI of center between two end
faces measurement or level difference measurement by pressing [F6] (result paste-end
face),
If the "circle position" is stored, the stored value of END FACE POSI is deleted.
6 Locate the cursor to the measured axis of ZERO OFFSET / No to enter a desired value. To set
the measured plane to "0", enter "0". This is the end of end face measurement.
To enter the zeros of other axes with the same touch probe position, go to step 7. To end the
operation, go to step 8.
7 Locate the cursor to "X", "Y", "Z" of ZERO OFFSET / No to enter a desired value to the
measurement position. The value is entered by pressing the CAL function key. To set the
measured touch probe position to "0" degree, enter "0". The entered value is set in the WORK
ZERO table.
8 Press the [F8] (CLOSE) to return the screen to the operation screen.
6130-E P-229
SECTION 4 MANUAL GAUGING
Procedure :
1 Press the "MANUAL" operation mode key to display the "OPERATION screen".
Select the WK SETUP sheet and locate the cursor to the WORK ZERO table.
Select the zero group no. for zero offset and press the [F6] (WORK GAUGING).
2 Press the [F1] (MANUAL/INTERACT) to set the window title to "MANUAL". Then select the
3 As the MEASURE WORK (CORNER) window appears, select the CORNER SHAPE (RIGHT
ANG or ARB ANG) by the function key.
ME61315R0300600140001
4 As the cursor moves to TOUCH POSI 1, select the measurement direction (+X, -X, +Y, -Y) by
the function key.
5 Check that the measurement direction is entered at TOUCH POSI 1, and bring the touch probe
into contact with the workpiece side face to be measured by operating the pulse handle.
Set the feedrate at "x 1" immediately before contacting with the sensor. When the touch probe
contacts with the workpiece side face, the touch probe lights up in red.
Measurement can be started with either plane between two, however, the angle (A) formed by
the X-axis is the angle which is formed by the plane determined by TOUCH POSI 1 and
TOUCH POSI 2.
6 When the WRITE key is pressed at the contacted position, the touch position in the current
coordinate system is input to TOUCH POSI 1.
7 In the same manner perform measurement for TOUCH POSI 2 and subsequent. When RIGHT
ANG is selected at CORNER SHAPE, measurement must be performed to TOUCH POSI 3;
and to TOUCH POSI 4 when "ARB ANG" is selected
6130-E P-230
SECTION 4 MANUAL GAUGING
8 When the measurement is completed, the angle formed by the plane and X-axis computed by
TOUCH POSI 1 and TOUCH POSI 2 is displayed at "A" position of TOUCH POSI 2; and the
intersection (X, Y) of two planes is displayed at CORNER POSI.
When "ARB ANG" is selected at CORNER SHAPE, the angle formed by the plane determined
by TOUCH POSI 1 and TOUCH POSI 2 and the plane by TOUCH POSI 3 and TOUCH POSI 4
is displayed at "A1" of "corner position, formed angle".
9 Locate the cursor to "X", "Y" of ZERO OFFSET / No to enter a desired value to the
measurement position. The value is entered by pressing the CAL function key. To set the
measured corner position to "0", enter "0" to "X" and "Y" respectively. The entered value is set
in the WORK ZERO table.
By entering a desired angle at "C" of ZERO OFFSET / No, it is possible to set the angle
formed by the workpiece plane and the X-axis in the same way as in "4-3-1. Angle
measurement". In that case, however, measurement for CORNER POSI must be performed
again.
10 Press the [F8] (CLOSE) to return the screen to the operation screen.
Procedure :
1 Press the "MANUAL" operation mode key to display the "OPERATION screen".
Select the WK SETUP sheet and locate the cursor to the WORK ZERO table.
Select the zero group no. for zero offset and press the [F6] (WORK GAUGING).
2 Press the [F1] (MANUAL/INTERACT) to set the window title to "MANUAL". Then select the
3 As the window below appears, select the MEASURE METHOD (IN DIA or OUT DIA) by the
function key.
ME61315R0300600150001
4 As the cursor moves to TOUCH POSI 1, select the measurement direction by the function key.
5 Bring the touch probe into contact with the inner diameter of the hole or the outer diameter of
the cylinder to be measured by operating the pulse handle.
Set the feedrate at "x 1" immediately before contacting with the sensor. When the touch probe
contacts with either the inner diameter of the hole or the outer diameter of the cylinder, the
touch probe lights up in red.
6 When the WRITE key is pressed at the contacted position, the touch position in the current
coordinate system is input to TOUCH POSI 1.
7 In the same manner perform measurement for TOUCH POSI 2 through TOUCH POSI 4. When
the measurement is completed, the circle center position "X", "Y" and the diameter "D" are
displayed at CENTER POSI, DIAM.
[Supplement]
It is possible to store the measured position data of "center position" by pressing [F7] (result
save-circle).
The stored "center position" can be pasted to "circle position" in the measurement of the
center of two, three or four circles by pressing [F6] (result paste- circle).
If the END FACE POSI is stored, the stored value of "circle position" is deleted.
8 Locate the cursor to "X", "Y" of ZERO OFFSET / No to enter a desired value to the
measurement position. The value is entered by pressing the CAL function key. To set the
measured center position to "0", enter "0" to "X" and "Y" respectively. The entered value is set
in the WORK ZERO table.
9 Press the [F8] (CLOSE) to return the screen to the operation screen.
6130-E P-232
SECTION 4 MANUAL GAUGING
Procedure :
1 Press the "MANUAL" operation mode key to display the "OPERATION screen".
Select the WK SETUP sheet and locate the cursor to the WORK ZERO table.
Select the zero group no. for zero offset and press the [F6] (WORK GAUGING).
2 Press the [F1] (MANUAL/INTERACT) to set the window title to "MANUAL". Then select the
3 As the window below appears, select the MEASURE METHOD either from OUTSIDE or
INSIDE by the function key.
ME61315R0300600200001
4 When the end face is parallel to the X-axis or Y-axis, select 2 POSI at MEASURE METHOD,
when not parallel, select 3 POSI by the function key.
5 As the cursor moves to TOUCH POSI 1, select the measurement direction (+X, -X, +Y, -Y) by
the function key.
6 Check that the measurement direction is entered at TOUCH POSI 1, and bring the touch probe
into contact with the workpiece side face to be measured by operating the pulse handle.
Set the feedrate at "x 1" immediately before contacting with the sensor. When the touch probe
contacts with the workpiece side face, the touch probe lights up in red.
7 When the WRITE key is pressed at the contacted position, the touch position in the current
coordinate system is input to TOUCH POSI 1.
6130-E P-233
SECTION 4 MANUAL GAUGING
8 In the same manner perform measurement for TOUCH POSI 2 and subsequent. When 2 POSI
is selected at MEASURE METHOD, measurement must be performed to TOUCH POSI 2; and
to TOUCH POSI 3 when 3 POSI is selected.
In measurement with 3 POSI, TOUCH POSI 1 and TOUCH POSI 2 need to touch the same
plane.
9 When the measurement is completed, the center position "X", "Y" and the width "L" between
side faces are displayed at CENTER POSI/WIDTHS.
Furthermore, when 3 POSI is selected at MEASURE METHOD, the angle formed by the plane
determined by TOUCH POSI 1 and TOUCH POSI 2 and the X-axis is displayed at "A" of
TOUCH POSI 2.
10 Locate the cursor to "X", "Y" of ZERO OFFSET / No to enter a desired value to the
measurement position. The value is entered by pressing the CAL function key. To set the
measured center position to "0", enter "0" to "X" and "Y" respectively. The entered value is set
in the WORK ZERO table.
By entering a desired angle at "C" of ZERO OFFSET / No, it is possible to set the angle
formed by the workpiece plane and the X-axis in the same way as in "4-3-1. Angle
measurement". In that case, however, measurement for "center position" must be performed
again.
11 Press the [F8] (CLOSE) to return the screen to the operation screen.
6130-E P-234
SECTION 4 MANUAL GAUGING
Procedure :
1 Press the "MANUAL" operation mode key to display the "OPERATION screen".
Select the WK SETUP sheet and locate the cursor to the WORK ZERO table.
Select the zero group no. for zero offset and press the [F6] (WORK GAUGING).
2 Press the [F1] (MANUAL/INTERACT) to set the window title to "MANUAL". Then select the
3 As the window below appears, select measurement direction (+X, -X, +Y, -Y) by the function
key.
ME61315R0300600250001
4 Check that the measurement direction is entered at TOUCH POSI 1, and bring the touch probe
into contact with the workpiece side face to be measured by operating the pulse handle.
Set the feedrate at "x 1" immediately before contacting with the sensor. When the touch probe
contacts with the workpiece side face, the touch probe lights up in red.
5 When the WRITE key is pressed at the contacted position, the touch position in the current
coordinate system is input to TOUCH POSI 1.
6 In the same manner perform measurement for TOUCH POSI 2. When the measurement is
completed, the width computed from TOUCH POSI 1 and TOUCH POSI 2 is displayed at
DIFFER. LEVEL.
[Supplement]
It is possible to store the measured position data of TOUCH POSI by pressing [F7] (result
save-end face).
The stored TOUCH POSI can be pasted to TOUCH POSI of center between two end faces
measurement or level difference measurement by pressing [F6] (result paste-end face),
If the "circle position" is stored, the stored value of TOUCH POSI is deleted.
6130-E P-235
SECTION 4 MANUAL GAUGING
7 To use the measured level difference with the zero offset, locate the cursor to "X", "Y", "Z" of
ZERO OFFSET / No and press [F2] (ADD). Then, enter the measured level difference value.
The entered value is set in the WORK ZERO table.
8 Press the [F8] (CLOSE) to return the screen to the operation screen.
4-3-7. Angle and center between two circles (ID and OD) measurement
Angle and center between two circles measurement is used to determine the angle formed by the
line that connects the centers of two circles and the X-axis by measuring the center position
between two circles (hole or cylinder).
Procedure :
1 Press the "MANUAL" operation mode key to display the "OPERATION screen".
Select the WK SETUP sheet and locate the cursor to the WORK ZERO table.
Select the zero group no. for zero offset and press the [F6] (WORK GAUGING).
2 Press the [F1] (MANUAL/INTERACT) to set the window title to "MANUAL". Then select the
icon of angle and center between two circles from the measurement figures.
3 As the window below appears, locate the cursor to CIRCLE POSI 1 and press the function key
[F1] (circle measurement).
ME61315R0300600160001
6130-E P-236
SECTION 4 MANUAL GAUGING
4 As the window below appears, determine the center position and the diameter of each circle in
the same manner in steps 3 to 7 in "4-3-4. Circle (ID and OD) measurement".
ME61315R0300600160002
5 The window below appears when the [F8] (CLOSE) is pressed. The center position of the
measured circle is displayed at CIRCLE POSI 1. Perform measurement for CIRCLE POSI 2 in
the same manner as above.
ME61315R0300600160003
[Supplement]
It is possible to store the measured position data of "circle position" by pressing [F7] (result
save-circle).
The stored "circle position" can be pasted to "circle position" in the measurement of the
center of two, three or four circles by pressing [F6] (result paste- circle).
If the END FACE POSI is stored, the stored value of "circle position" is deleted.
6130-E P-237
SECTION 4 MANUAL GAUGING
6 When the measurements for CIRCLE POSI 1 and CIRCLE POSI 2 are completed, the angle
and the pitch computed from CIRCLE POSI 1 and CIRCLE POSI 2 are displayed.
ME61315R0300600160004
7 Locate the cursor to "C" of ZERO OFFSET / No to enter a desired angle. The value is entered
by pressing the CAL function key. To set the line that connects CIRCLE POSI 1 and CIRCLE
POSI 2 to "0" degree, enter "0". The entered value is set in the WORK ZERO table.
8 Press the [F8] (CLOSE) to return the screen to the operation screen.
6130-E P-238
SECTION 4 MANUAL GAUGING
Procedure :
1 Press the "MANUAL" operation mode key to display the "OPERATION screen".
Select the WK SETUP sheet and locate the cursor to the WORK ZERO table.
Select the zero group no. for zero offset and press the [F6] (WORK GAUGING).
2 Press the [F1] (MANUAL/INTERACT) to set the window title to "MANUAL". Then select the
3 As the window below appears, locate the cursor to CIRCLE POSI 1 and press the [F1] (circle
measurement).
ME61315R0300600170001
4 As the window below appears, determine the center position and the diameter of each circle in
the same manner in steps 3 to 7 in "4-3-4. Circle (ID and OD) measurement".
ME61315R0300600170002
6130-E P-239
SECTION 4 MANUAL GAUGING
5 The window below appears when the [F8] (CLOSE) is pressed. The center position of the
measured circle is displayed at CIRCLE POSI 1. Perform measurement for CIRCLE POSI 2
and CIRCLE POSI 3 in the same manner as above.
ME61315R0300600170003
[Supplement]
It is possible to store the measured position data of "circle position" by pressing [F7] (result
save-circle).
The stored "circle position" can be pasted to "circle position" in the measurement of the
center of two, three or four circles by pressing [F6] (result paste- circle).
If the END FACE POSI is stored, the stored value of "circle position" is deleted.
6 When the measurements for CIRCLE POSI 1 through CIRCLE POSI 3 are completed, the
center position and the diameter of the pitch circle from three circle centers are displayed at
CENTER POSI, DIAM.
ME61315R0300600170004
7 Locate the cursor to "X", "Y" of ZERO OFFSET / No to enter a desired value to the
measurement position. The value is entered by pressing the CAL function key. To set the
measured center position to "0", enter "0" to "X" and "Y" respectively. The entered value is set
in the WORK ZERO table.
8 Press the [F8] (CLOSE) to return the screen to the operation screen.
6130-E P-240
SECTION 4 MANUAL GAUGING
4-3-9. Intersection and center between four circles (ID and OD)
measurement
Intersection and center between four circles measurement is used to determine the intersection
point (X, Y) of the lines by measuring the center position between four circles (hole or cylinder) and
by creating the lines from the centers of four circles that intersect each other.
Procedure :
1 Press the "MANUAL" operation mode key to display the "OPERATION screen".
Select the WK SETUP sheet and locate the cursor to the WORK ZERO table.
Select the zero group no. for zero offset and press the [F6] (WORK GAUGING).
2 Press the [F1] (MANUAL/INTERACT) to set the window title to "MANUAL". Then select the
icon of level difference angle and center between four circles from the measurement
figures.
3 As the window below appears, locate the cursor to CIRCLE POSI 1 and press the [F1] (circle
measurement).
ME61315R0300600180001
4 As the window below appears, determine the center position and the diameter of each circle in
the same manner in steps 3 to 7 in "4-3-4. Circle (ID and OD) measurement".
ME61315R0300600180002
6130-E P-241
SECTION 4 MANUAL GAUGING
5 The window below appears when the [F8] (CLOSE) is pressed. The center position of the
measured circle is displayed at CIRCLE POSI 1. Perform measurement for CIRCLE POSI 2
through CIRCLE POSI 4 in the same manner as above.
ME61315R0300600180003
[Supplement]
It is possible to store the measured position data of "circle position" by pressing [F7] (result
save-circle).
The stored "circle position" can be pasted to "circle position" in the measurement of the
center of two, three or four circles by pressing [F6] (result paste- circle).
If the END FACE POSI is stored, the stored value of "circle position" is deleted.
6 When the measurements for CIRCLE POSI 1 through CIRCLE POSI 4 are completed, the
intersection point (X, Y) that formed by the lines come from the centers of four circle is
displayed at INTERSECTION.
ME61315R0300600180004
7 Locate the cursor to "X", "Y" of ZERO OFFSET / No to enter a desired value to the
measurement position. The value is entered by pressing the CAL function key. To set the
measured intersection position to "0", enter "0" to "X" and "Y" respectively. The entered value is
set in the WORK ZERO table.
8 Press the [F8] (CLOSE) to return the screen to the operation screen.
6130-E P-242
SECTION 4 MANUAL GAUGING
4-3-10.Measurement result
The measured results obtained by MANUAL/INTERACT measurement are recorded in the MEAS.
RESULT window.
How to display the MEAS. RESULT window is described below.
Procedure :
1 Press the "MANUAL" operation mode key to display the "OPERATION screen".
2 Select the WK SETUP sheet and locate the cursor to a measurement figure.
ME61315R0300600190001
ME61315R0300600190002
CSV output
The measurement result displayed on the MEAS. RESULT window can be output as a file with CSV
format.
When [F1] (CSV output) is pressed with the MEAS. RESULT window displayed, the file is output to
the MD1 device with the file name "Meas_************.csv".
"************" consists of figures in 12 digits, in which "year/month/day/hour/min/sec" when the file is
created is set.
6130-E P-243
SECTION 4 MANUAL GAUGING
Procedure :
1 Press the "MANUAL" operation mode key to display the TOOL DATA screen.
ME61315R0300600260001
3 Locate the cursor to the pot tool correspondence table (on the left side of the screen) and press
the [F6] (TOOL GAUGING).
6130-E P-244
SECTION 4 MANUAL GAUGING
4 Press the [F1] (MANUAL/INTERACT) to set the title of the window below to MANUAL
GAUGING MENU.
ME61315R0300600260002
6 As the window below appears, check that the cursor is located at OFFSET TYPE. Then select
either "shape offset" or "wear offset" for the measurement result to be set.
[Supplement]
When "shape offset" is selected, the measurement result is input to SHAP OFFSET of the
tool length offset and WEAR OFFS is set to "0". When "wear offset" is selected, the value at
SHAP OFFSET of the tool length offset does not change and the increased or decreased
value of SHAP OFFSET is input to WEAR OFFS.
ME61315R0300600260003
8 Locate the cursor to TOOL-L OFST NO. to which measurement result is entered.
6130-E P-245
SECTION 4 MANUAL GAUGING
9 Bring the tool edge to be measured into contact with the touch sensor by operating the pulse
handle.
Set the feedrate at "x 1" immediately before contacting with the sensor. When the tool contacts
with the touch sensor, the touch sensor lights up in red.
[Supplement]
When setting the tool length offset no. to other than HA, HB and HC, locate the cursor to
TOOL-L OFSET NO. to enter a desired no.
10 Press the WRITE key at the contacted position. The measured offset value is input to SHAP
OFFSET or WEAR OFFS of the selected TOOL-L OFST NO..
11 Press the [F8] (CLOSE) to return the screen to the TOOL DATA screen.
6130-E P-246
SECTION 4 MANUAL GAUGING
Procedure :
1 Press the "MANUAL" operation mode key to display the TOOL DATA screen.
ME61315R0300600270001
3 Locate the cursor to the pot tool correspondence table (on the left side of the screen) and press
the [F6] (TOOL GAUGING).
6130-E P-247
SECTION 4 MANUAL GAUGING
4 Press the [F1] (MANUAL/INTERACT) to set the title of the window below to MANUAL
GAUGING MENU.
ME61315R0300600270002
6 As the window below appears, check that the cursor is located at OFFSET TYPE. Then select
either "shape offset" or "wear offset" for the measurement result to be set.
[Supplement]
When "shape offset" is selected, the measurement result is input to SHAP OFFSET of the
tool radius compensation and WEAR OFFS is set to "0". When "wear offset" is selected, the
value at SHAP OFFSET of the tool radius compensation does not change and the increased
or decreased value of SHAP OFFSET is input to WEAR OFFS.
ME61315R0300600270003
6130-E P-248
SECTION 4 MANUAL GAUGING
7 Locate the cursor to SELECT AXIS and select the measurement direction (+X, -X, +Y, -Y) by
the function key.
8 Locate the cursor to CUTTER R COMP NO. to which measurement result is entered. Bring the
tool edge to be measured into contact with the touch sensor by operating the pulse handle.
Set the feedrate at "x 1" immediately before contacting with the sensor. When the tool contacts
with the touch sensor, the touch sensor lights up in red.
[Supplement]
When setting the cutter radius compensation no. to other than DA, DB and DC, locate the
cursor to CUTTER R COMP N. to enter a desired no.
9 Press the WRITE key at the contacted position. The measured compensation value is input to
SHAP OFFSET or WEAR OFFS of the selected CUTTER R COM.
10 Press the [F8] (CLOSE) to return the screen to the TOOL DATA screen.
6130-E P-249
SECTION 4 MANUAL GAUGING
4-6. Error
Error Description
5361 This error occurs when the input data no. is "0" in specification of the
Zero set input NO zero offset no.
5362 This error occurs when the input data no. is "0" or smaller in
Tool length offset input NO. specification of the tool length offset no.
5360 This error occurs when the input data no. is "0" or smaller in
Cutter R. comp input NO. specification of the cutter radius compensation no.
5209 The error occurs in either of the following cases.
Input data overflow [Tool length measurement parameter]
(1) The input data is out of the range between 0 and 2000.000 in
specification of the maximum travel distance to the contact
position.
(2) The input data is out of the range between 0 and 1000.000 in
specification of the maximum tool length to the contact position.
5-1. Overview
5-1-1. Specifications
In the interactive gauging function, the zero point and tool length offset values are set by using the
touch probe or the touch sensor.
In the interactive gauging function, the operator carries out the operation in the manual mode by
using the display screen in an interactive style, unlike the automatic gauging or automatic tool length
offset function. Thus the operator does not have to learn to how to create the program special for
gauging.
Since this function can be used to set the data easily and readily without referring to the program
explanation manual, it is recommended to use this function for the following cases.
Setting the zero or the tool length offset data for machining a one of a kind workpiece.
Setting the zero or the tool length offset data for machining the first workpiece, and beginning
production from the next workpiece using the set data.
Setting the zero or the tool length offset data for machining another workpiece by interrupting
operation during the repeating lot production using the same part program.
In interactive gauging, tool radius compensation cannot be measured. Use manual gauging to set
the tool radius compensation value.
6130-E P-251
SECTION 5 INTERACTIVE GAUGING FUNCTION
[Supplement]
Since the interactive gauging function is used in the manual operation mode, all manual
operations including rapid traverse, cutting feed, feed by the pulse handle are enabled during
gauging. Therefore, move the axis by manual operation to the position close to the target
position. Switch the operation to the automatic cycle by selecting the cycle and pressing START
to bring the axis into contact with the touch probe and touch sensor. Slide hold and override are
enabled during automatic cycle. Use those operations as appropriate. Manual operation can be
used during slide hold. To restart operation from slide hold, press the START button.
The gauging preparation function is used to prepare gauging of a workpiece and a tool. Locate the
cursor to the gauging diagram in the WK SETUP sheet in the operation screen, select [F4]
(PREPARE MEAS.), and execute each preparation function in the following order.
[Supplement]
1) Perform the tool length offset and the tool radius compensation with the touch probe
accordingly as appropriate after performed once.
2) Make sure to perform the tool length offset and the tool radius compensation with the touch
probe after the filler was changed or the filler collided.
3) To perform gauging with high accuracy, reduce runout of the touch probe.
6130-E P-252
SECTION 5 INTERACTIVE GAUGING FUNCTION
The workpiece gauging function is used to perform gauging the length, hole diameter, and center
coordinate of a workpiece and to perform zero offset by using the touch probe.
Use the function by selecting a suitable pattern from the following gauging patterns according to the
shape of the workpiece.
(1) Angle
(5) Center between end faces (of inner and outer end)
ME61315R0300700240001
[Supplement]
The tool length gauging function is used to gauge the tool length by using the touch sensor and
perform tool length offset according to the result.
In this function, the tool of which length from the reference tool or gauge line to the tool edge is
known is used as a gauge.
ME61315R0300700250001
Reference tool
Gauge line
[Supplement]
Before performing tool length gauging, perform gauging preparation by referring to "5-3-2.
Preparation for tool length gauging"
6130-E P-254
SECTION 5 INTERACTIVE GAUGING FUNCTION
There are two items with the tool length gauging parameter as follows. The parameter set data are
retained once set until changed next time.
H.P. 5
1 2
Rapid traverse
Cutting feed
Movement order
Touch sensor
Auto mode cycle
ME61315R0300700260001
If the tool length is set shorter than the length of the actual tool, the tool may collide with the touch
sensor. Set the tool length of the longest one among all tools to be used in measurement.
6130-E P-255
SECTION 5 INTERACTIVE GAUGING FUNCTION
Procedure :
1 Press the "MANUAL" operation mode key to display the TOOL DATA screen.
ME61315R0300700070001
3 Locate the cursor to the pot tool correspondence table (on the left side of the screen) and press
the [F6] (TOOL GAUGING).
6130-E P-256
SECTION 5 INTERACTIVE GAUGING FUNCTION
4 Press the [F1] (MANUAL/INTERACT) to set the title of the window below to INTERACTIVE
GAUGING MENU.
ME61315R0300700070002
7 As the window below appears, locate the cursor to MIGRATION LENGTH UNT and enter the
value.
ME61315R0300700070003
If MAX TOOL L is set shorter than the length of the actual tool, the tool may collide with the
touch sensor. Set the tool length of the longest one among all tools to be used in
measurement.
10 Press the [F8] (CLOSE) to return the screen to the TOOL DATA screen.
6130-E P-257
SECTION 5 INTERACTIVE GAUGING FUNCTION
Procedure :
1 Prepare the touch probe, reference block, master ring, and sling gauge.
3 Select the manual mode by pressing the "MANUAL" operation mode key, and display the
operation screen by pressing the "OPERATION screen" key.
4 Select the WK SETUP sheet and locate the cursor to the WORK ZERO table.
ME61315R0300700040001
7 Press the[F1] (MANUAL/INTERACT) to set the window title to INTERACTIVE. Then, press the
[F4] (GAUGING PREPARE).
ME61315R0300700040002
8 Bring the reference tool into contact with the reference block by operating the pulse handle.
Set the feedrate at "x 1" immediately before contacting with the sensor.
At this point, perform zero offset to put the position of the reference plane into the memory.
Zero offset for the system No.22 (REF FACE NO.S 22) is the one for registration of reference
plane positions and not used in regular programs.
9 Check that the cursor is located at REF. SURFACE SET (REF FACE NO.S 22 X, Y), press the
WRITE key. The zero offset value is set so that the contact position (X, Y) becomes “0”.
10 Check that the cursor is located at REF. SURFACE SET (REF FACE NO.S 22 Z). Set the Z
position in the reference plane by following the message shown in the bottom of the screen.
11 Move the reference tool away from the reference block by using the pulse handle.
12 Press [F8] (CLOSE). Mount the touch probe to the spindle by [F2] (OPERATE TOOL).
14 Move the cursor to “TOUCH PROBE LENG (LENGTH OFFSET Hs 5)”. Position the touch
probe close to the reference plane by operating the pulse handle.
6130-E P-259
SECTION 5 INTERACTIVE GAUGING FUNCTION
15 Press the cycle selection [F1] (?Z) key and then the START button. When the touch probe
contact with the reference plane, the calculated result from “ACTUAL PO – REF FACE NO.S
22 Z” is set to TOUCH PROBE LENG (LENGTH OFFSET Hs 5). The set value is the relative
value with the reference tool in the relative offset, or is the touch probe length in the absolute
offset.
Now the touch probe length offset has been finished. Press [F7] (next) to proceed to the touch
probe radius compensation.
ME61315R0300700040003
[Supplement]
To correct the touch probe length offset after pressing [F7] (next), locate the cursor to
TOUCH PROBE RAD and press [F6] (return step).
17 Remove the touch probe from the spindle by manual operation, and then attach the sling
gauge.
18 Locate the cursor to REF RING DIA, enter the reference ring diameter, and press the WRITE
key.
6130-E P-260
SECTION 5 INTERACTIVE GAUGING FUNCTION
19 Bring the sling gauge into contact with the reference ring by operating the pulse handle. Then,
determine the reference ring center by rotating the spindle at idle so that the spindle center and
the reference ring center agree.
ME61315R0300700040004
20 Check that the cursor is located at REF RING CENTER (RING CENTER NO.S 3 X, Y) with the
reference ring center and the spindle center in agreement, and press the WRITE key.
21 The zero offset value with which the position (X, Y) where the reference ring center and the
spindle center agree becomes “0” will be set. (No setting operation is required for Z.)
22 Remove the sling gauge from the spindle by manual operation, and then attach the touch
probe.
If radius compensation with the touch probe is performed without spindle orientation,
gauging error may be caused.
24 Insert the touch probe into the master ring by approximately 7 mm (0.28 in.) by operating the
pulse handle.
25 Locate the cursor to "Touch probe radius compensation (radius compensation value 1 (+X Ds
1)", press the axis selection key [F1] (AUTO (X)) and then press the START button.
26 Perform the automatic cycle. The touch probe radius compensation is input to radius
compensation value 1, 2, 3 and 4.
27 Check each offset value when all of radius compensations 1, 2, 3 and 4 are displayed.
It is desirable that the mutual error be within 0.03 for enough accuracy.
Now the radius compensation has been finished.
Procedure :
3 Select the manual mode by pressing the "MANUAL" operation mode key, and display the
TOOL DATA screen by pressing the "tool data setting" key.
ME61315R0300700050001
6 Locate the cursor to the pot tool correspondence table (on the left side of the screen) and press
the [F6] (TOOL GAUGING).
7 Press the [F1] (MANUAL/INTERACT) to set the title of the window below to INTERACTIVE
GAUGING MENU.
ME61315R0300700050002
6130-E P-262
SECTION 5 INTERACTIVE GAUGING FUNCTION
ME61315R0300700050003
9 Press the [F1] (SET), enter the REF TOOL LENG, and press the WRITE key.
11 Check that the cursor is located at SENSOR ZERO X, Y (REF FACE NO.S 1 X), press the
WRITE key. The zero offset value is set so that the X coordinate of the touch sensor becomes
“0”.
12 Check that the cursor is located at SENSOR ZERO X, Y (REF FACE NO.S 1 Y), press the
WRITE key. The zero offset value is set so that the Y coordinate of the touch sensor becomes
“0”.
14 Check that the cursor is located at SENSOR ZERO Z (ZERO OFFSET NO.S 10 Z), press the
cycle axis [F1] (-Z) key.
16 Move the reference tool away from the touch sensor by manual operation.
Angle measurement
Locate the cursor to the WORK ZERO table, press [F6] (MEASURE WORK), select a desired
figure by the cursor key, and then press the WRITE key.
6130-E P-265
SECTION 5 INTERACTIVE GAUGING FUNCTION
Procedure :
1 Press the "MANUAL" operation mode key to display the "OPERATION screen".
Select the WK SETUP sheet and locate the cursor to the WORK ZERO table.
Select the zero group no. for zero offset and press the [F6] (WORK GAUGING).
ME61315R0300700080001
2 Press the [F1] (MANUAL/INTERACT) to set the window title to INTERACTIVE. Then select the
3 As the window below appears, select the measurement direction (+X, -X, +Y, -Y) by the
function key.
ME61315R0300700080002
6130-E P-266
SECTION 5 INTERACTIVE GAUGING FUNCTION
4 Check that the measurement direction is entered at TOUCH POSI 1, position the touch probe
to a position close to the end face, and press the START button.
5 The gauging cycle starts, and after gauging, the touch position in the current coordinate system
is input to TOUCH POSI 1. Then the touch probe returns to the set position in step 4.
6 Repeat steps 4 and 5 to perform measurement for TOUCH POSI 2. When the measurement is
completed, the contact position in the current coordinate system is input to TOUCH POSI 2,
and the angle computed from TOUCH POSI 1 and TOUCH POSI 2 is displayed at ANGLE.
The touch probe returns to the positioned position.
7 Locate the cursor to "C" of ZERO OFFSET / No to enter a desired angle. The value is entered
by pressing the CAL function key. To set the measured plane to "0" degree, enter "0". The
entered value is set in the WORK ZERO table.
8 Press the [F8] (CLOSE) to return the screen to the operation screen.
6130-E P-267
SECTION 5 INTERACTIVE GAUGING FUNCTION
Procedure :
1 Press the "MANUAL" operation mode key to display the "OPERATION screen".
Select the WK SETUP sheet and locate the cursor to the WORK ZERO table.
Select the zero group no. for zero offset and press the [F6] (WORK GAUGING).
2 Press the [F1] (MANUAL/INTERACT) to set the window title to INTERACTIVE. Then select the
3 As the window below appears, select the measurement direction (+X, -X, +Y, -Y, -Z) by the
function key.
ME61315R0300700090001
4 Check that the measurement direction is entered at TOUCH POSI, position the touch probe to
a position close to the end face, and press the START button.
5 The gauging cycle starts, and after gauging, the touch position in the current coordinate system
is input to TOUCH POSI and END FACE POSI. Then the touch probe returns to the set
position in step 4.
6 Locate the cursor to "X", "Y", "Z" of ZERO OFFSET / No to enter a desired value to the
measurement position. The value is entered by pressing the CAL function key. To set the
measured END FACE POSI to "0", enter "0" to "X", "Y" and "Z" respectively. The entered value
is set in the WORK ZERO table.
7 Press the [F8] (CLOSE) to return the screen to the operation screen.
6130-E P-268
SECTION 5 INTERACTIVE GAUGING FUNCTION
Procedure :
1 Press the "MANUAL" operation mode key to display the "OPERATION screen".
Select the WK SETUP sheet and locate the cursor to the WORK ZERO table.
Select the zero group no. for zero offset and press the [F6] (WORK GAUGING).
2 Press the [F1] (MANUAL/INTERACT) to set the window title to "INTERACTIVE". Then select
3 As the window below appears, select the corner shape (RIGHT ANG or ARB ANG) by the
function key.
ME61315R0300700100001
4 As the cursor moves to TOUCH POSI 1, select the measurement direction (+X, -X, +Y, -Y) by
the function key.
5 Check that the measurement direction is entered at TOUCH POSI 1, position the touch probe
to a position close to the end face, and press the START button.
Measurement can be started with either plane between two, however, the angle (A) formed by
the X-axis is the angle which is formed by the plane determined by TOUCH POSI 1 and
TOUCH POSI 2.
6 The gauging cycle starts, and after gauging, the touch position in the current coordinate system
is input to TOUCH POSI 1. Then the touch probe returns to the set position in step 5.
7 Repeat steps 4 through 6 to perform measurement for TOUCH POSI 2 and subsequent. When
RIGHT ANG is selected at CORNER SHAPE, measurement must be performed to TOUCH
POSI 3; and to TOUCH POSI 4 when "ARB ANG" is selected.
6130-E P-269
SECTION 5 INTERACTIVE GAUGING FUNCTION
8 When the measurement is completed, the angle formed by the plane and X-axis computed by
TOUCH POSI 1 and TOUCH POSI 2 is displayed at "A" position of TOUCH POSI 2; and the
intersection (X, Y) of two planes is displayed at CORNER POSI.
When "ARB ANG" is selected at CORNER SHAPE, the angle formed by the plane determined
by TOUCH POSI 1 and TOUCH POSI 2 and the plane by TOUCH POSI 3 and TOUCH POSI 4
is displayed at "A1" of "corner position, formed angle".
9 Locate the cursor to "X", "Y" of ZERO OFFSET / No to enter a desired value to the
measurement position. The value is entered by pressing the CAL function key. To set the
measured corner position to "0", enter "0" to "X" and "Y" respectively. The entered value is set
in the WORK ZERO table.
By entering a desired angle at "C" of ZERO OFFSET / No, it is possible to set the angle
formed by the workpiece plane and the X-axis in the same way as in "5-4-1. Angle
measurement". In that case, however, measurement for CORNER POSI must be performed
again.
10 Press the [F8] (CLOSE) to return the screen to the operation screen.
Procedure :
1 Press the "MANUAL" operation mode key to display the "OPERATION screen".
Select the WK SETUP sheet and locate the cursor to the WORK ZERO table.
Select the zero group no. for zero offset and press the function key [F6] (WORK GAUGING).
2 Press the [F1] (MANUAL/INTERACT) to set the window title to "INTERACTIVE". Then select
3 As the window below appears, select the MEASURE METHOD (IN DIA or OUT DIA) by the
function key.
ME61315R0300700110001
5 When measurement direction (+X, -X, +Y, -Y) is selected in step 4, check that the
measurement direction is entered at TOUCH POSI 1. Position the touch probe to a position
close to the end face, and press the START button.
When AUTO (+X) is selected in step 4, position the touch probe to a position close to the circle
center, and press the START button.
7 When the measurement is completed, the circle center position "X", "Y" and the diameter "D"
are displayed at CENTER POSI, DIAM.
8 Locate the cursor to "X", "Y" of ZERO OFFSET / No to enter a desired value to the
measurement position. The value is entered by pressing the CAL function key. To set the
measured center position to "0", enter "0" to "X" and "Y" respectively. The entered value is set
in the WORK ZERO table.
9 Press the [F8] (CLOSE) to return the screen to the operation screen.
6130-E P-271
SECTION 5 INTERACTIVE GAUGING FUNCTION
Procedure :
1 Press the "MANUAL" operation mode key to display the "OPERATION screen".
Select the WK SETUP sheet and locate the cursor to the WORK ZERO table.
Select the zero group no. for zero offset and press the [F6] (WORK GAUGING).
2 Press the function key [F1] (MANUAL/INTERACT) to set the window title to "INTERACTIVE".
Then select the icon of center between end faces from the measurement figures.
3 As the window below appears, select the MEASURE METHOD either from OUTSIDE or
INSIDE by the function key.
ME61315R0300700120001
4 When the end face is parallel to the X-axis or Y-axis, select 2 POSI at MEASURE METHOD,
when not parallel, select 3 POSI by the function key.
6 When measurement direction (+X, -X, +Y, -Y) is selected in step 5, check that the
measurement direction is entered at TOUCH POSI 1. Position the touch probe to a position
close to the end face, and press the START button.
When AUTO is selected in step 5, position the touch probe to a position close to the center
between end faces, and press the START button.
In measurement with 3 POSI, TOUCH POSI 1 and TOUCH POSI 2 need to touch the same
plane.
8 When the measurement is completed, the center position "X", "Y" and the width "L" between
side faces are displayed at CENTER POSI/WIDTHS.
Furthermore, when 3 POSI is selected at MEASURE METHOD, the angle formed by the plane
determined by TOUCH POSI 1 and TOUCH POSI 2 and the X-axis is displayed at "A" of
TOUCH POSI 2.
9 Locate the cursor to "X", "Y" of ZERO OFFSET / No to enter a desired value to the
measurement position. The value is entered by pressing the CAL function key. To set the
measured center position to "0", enter "0" to "X" and "Y" respectively. The entered value is set
in the WORK ZERO table.
By entering a desired angle at "C" of ZERO OFFSET / No, it is possible to set the angle
formed by the workpiece plane and the X-axis in the same way as in "5-4-1. Angle
measurement". In that case, however, measurement for "center position" must be performed
again.
10 Press the [F8] (CLOSE) to return the screen to the operation screen.
6130-E P-273
SECTION 5 INTERACTIVE GAUGING FUNCTION
Procedure :
1 Press the "MANUAL" operation mode key to display the "OPERATION screen".
Select the WK SETUP sheet and locate the cursor to the WORK ZERO table.
Select the zero group no. for zero offset and press the [F6] (WORK GAUGING).
2 Press the [F1] (MANUAL/INTERACT) to set the window title to "INTERACTIVE". Then select
3 As the window below appears, select the measurement direction (+X, -X, +Y, -Y, -Z) by the
function key.
ME61315R0300700130001
4 Check that the measurement direction is entered at TOUCH POSI 1, position the touch probe
to a position close to the end face, and press the START button.
5 The gauging cycle starts, and after gauging, the touch position in the current coordinate system
is input to TOUCH POSI 1. The touch probe returns to the set position in step 4.
6 Repeat steps 4 and 5 to perform measurement for TOUCH POSI 2. When the measurement is
completed, the width computed from TOUCH POSI 1 and TOUCH POSI 2 is displayed at
DIFFER. LEVEL.
7 To use the measured level difference with the zero offset, locate the cursor to "X", "Y", "Z" of
ZERO OFFSET / No and press [F2] (ADD). Then, enter the measured level difference value.
The entered value is set in the WORK ZERO table.
8 Press the [F8] (CLOSE) to return the screen to the operation screen.
6130-E P-274
SECTION 5 INTERACTIVE GAUGING FUNCTION
5-4-7. Angle and center between two circles (ID and OD) measurement
Angle and center between two circles measurement is used to determine the angle formed by the
line that connects the centers of two circles and the X-axis by measuring the center position
between two circles (hole or cylinder).
Procedure :
1 Press the "MANUAL" operation mode key to display the "OPERATION screen".
Select the WK SETUP sheet and locate the cursor to the WORK ZERO table.
Select the zero group no. for zero offset and press the [F6] (WORK GAUGING).
2 Press the [F1] (MANUAL/INTERACT) to set the window title to "INTERACTIVE". Then select
the icon of angle and center between two circles from the measurement figures.
3 As the window below appears, locate the cursor to CIRCLE POSI 1 and press the [F1] (circle
measurement).
ME61315R0300700140001
4 As the window below appears, determine the center position and the diameter of each circle in
the same manner in steps 3 to 7 in "5-4-4. Circle (ID and OD) measurement".
ME61315R0300700140002
6130-E P-275
SECTION 5 INTERACTIVE GAUGING FUNCTION
5 The window below appears when the [F8] (CLOSE) is pressed. The center position of the
measured circle is displayed at CIRCLE POSI 1. Perform measurement for CIRCLE POSI 2 in
the same manner as above.
ME61315R0300700140003
6 When the measurements for CIRCLE POSI 1 and CIRCLE POSI 2 are completed, the angle
and the pitch computed from CIRCLE POSI 1 and CIRCLE POSI 2 are displayed.
ME61315R0300700140004
7 Locate the cursor to "C" of ZERO OFFSET / No to enter a desired angle. The value is entered
by pressing the CAL function key. To set the line that connects CIRCLE POSI 1 and CIRCLE
POSI 2 to "0" degree, enter "0". The entered value is set in the WORK ZERO table.
8 Press the [F8] (CLOSE) to return the screen to the operation screen.
6130-E P-276
SECTION 5 INTERACTIVE GAUGING FUNCTION
Procedure :
1 Press the "MANUAL" operation mode key to display the "OPERATION screen".
Select the WK SETUP sheet and locate the cursor to the WORK ZERO table.
Select the zero group no. for zero offset and press the [F6] (WORK GAUGING).
2 Press the [F1] (MANUAL/INTERACT) to set the window title to "INTERACTIVE". Then select
the icon of center between three circles from the measurement figures.
3 As the window below appears, locate the cursor to CIRCLE POSI 1 and press the [F1] (circle
measurement).
ME61315R0300700270001
6130-E P-277
SECTION 5 INTERACTIVE GAUGING FUNCTION
4 As the window below appears, determine the center position and the diameter of each circle in
the same manner in steps 3 to 7 in "5-4-4. Circle (ID and OD) measurement".
ME61315R0300700270002
5 The window below appears when the [F8] (CLOSE) is pressed. The center position of the
measured circle is displayed at CIRCLE POSI 1. Perform measurement for CIRCLE POSI 2
and CIRCLE POSI 3 in the same manner as above.
ME61315R0300700270003
6130-E P-278
SECTION 5 INTERACTIVE GAUGING FUNCTION
6 When the measurements for CIRCLE POSI 1 through CIRCLE POSI 3 are completed, the
center position and the diameter of the pitch circle from three circle centers are displayed at
CENTER POSI, DIAM.
ME61315R0300700270004
7 Locate the cursor to "X", "Y" of ZERO OFFSET / No to enter a desired value to the
measurement position. The value is entered by pressing the CAL function key. To set the
measured center position to "0", enter "0" to "X" and "Y" respectively. The entered value is set
in the WORK ZERO table.
8 Press the [F8] (CLOSE) to return the screen to the operation screen.
5-4-9. Intersection and center between four circles (ID and OD)
measurement
Intersection and center between four circles measurement is used to determine the intersection
point (X, Y) of the lines by measuring the center position between four circles (hole or cylinder) and
by creating the lines from the centers of four circles that intersect each other.
Procedure :
1 Press the "MANUAL" operation mode key to display the "OPERATION screen".
Select the WK SETUP sheet and locate the cursor to the WORK ZERO table.
Select the zero group no. for zero offset and press the [F6] (WORK GAUGING).
2 Press the [F1] (MANUAL/INTERACT) to set the window title to "INTERACTIVE". Then select
the icon of level difference angle and center between four circles from the measurement
figures.
6130-E P-279
SECTION 5 INTERACTIVE GAUGING FUNCTION
3 As the window below appears, locate the cursor to CIRCLE POSI 1 and press the [F1] (circle
measurement).
ME61315R0300700280001
4 As the window below appears, determine the center position and the diameter of each circle in
the same manner in steps 3 to 7 in "5-4-4. Circle (ID and OD) measurement".
ME61315R0300700280002
5 The window below appears when the [F8] (CLOSE) is pressed. The center position of the
measured circle is displayed at CIRCLE POSI 1. Perform measurement for CIRCLE POSI 2
through CIRCLE POSI 4 in the same manner as above.
ME61315R0300700280003
6130-E P-280
SECTION 5 INTERACTIVE GAUGING FUNCTION
6 When the measurements for CIRCLE POSI 1 through CIRCLE POSI 4 are completed, the
intersection point (X, Y) that formed by the lines come from the centers of four circle is
displayed at INTERSECTION.
ME61315R0300700280004
7 Locate the cursor to "X", "Y" of ZERO OFFSET / No to enter a desired value to the
measurement position. The value is entered by pressing the CAL function key. To set the
measured intersection position to "0", enter "0" to "X" and "Y" respectively. The entered value is
set in the WORK ZERO table.
8 Press the [F8] (CLOSE) to return the screen to the operation screen.
5-4-10.Measurement result
For the detail of measurement result, refer to "4-3-10. Measurement result" in "SECTION 4
MANUAL GAUGING".
6130-E P-281
SECTION 5 INTERACTIVE GAUGING FUNCTION
Procedure :
1 Select the manual mode by pressing the "MANUAL" operation mode key, and display the
TOOL DATA screen by pressing the "tool data setting" key.
ME61315R0300700150001
3 Locate the cursor to the pot tool correspondence table (on the left side of the screen) and press
the [F6] (TOOL GAUGING).
6130-E P-282
SECTION 5 INTERACTIVE GAUGING FUNCTION
4 Press the [F1] (MANUAL/INTERACT) to set the title of the window below to INTERACTIVE
GAUGING MENU.
ME61315R0300700150002
6 As the window below appears, check that the cursor is located at OFFSET TYPE. Then select
either "shape offset" or "wear offset" for the measurement result to be set.
[Supplement]
When "shape offset" is selected, the measurement result is input to SHAP OFFSET of the
tool length offset and WEAR OFFS is set to "0". When "wear offset" is selected, the value at
SHAP OFFSET of the tool length offset does not change and the increased or decreased
value of SHAP OFFSET is input to WEAR OFFS.
ME61315R0300700150003
7 As the cursor moves to SELECT CYCLE, select the function keys "-Z" and "AUTO(-Z)".
“AUTO (-Z)” is enabled by setting the home position. When “-Z” is selected, go to step 8. When
“AUTO (-Z)” is selected, go to step 10.
[Supplement]
8 When "-Z" is selected, locate the cursor to TOOL-L OFST NO. to which measurement result is
entered. Position the tool edge to a position close to the touch sensor and press the START
button.
[Supplement]
When setting the tool length offset no. to other than HA, HB and HC, locate the cursor to
TOOL-L OFSET NO. to enter a desired no.
9 When the tool contacts with the touch sensor, the tool length offset value is automatically input
and then the Z-axis is raised. Go to step 12.
10 When AUTO(-Z) is selected, the axis moves automatically from the position set with H.P. by
pressing the START button.
11 When the tool contacts with the touch sensor, the tool length offset value is automatically input
and the axis automatically returns to the position set with H.P.
12 Press the [F8] (CLOSE) to return the screen to the TOOL DATA screen.
6130-E P-284
SECTION 5 INTERACTIVE GAUGING FUNCTION
5-6. NC parameters
(1) Set whether or not the automatic zero setting is performed when executing the workpiece
gauging cycle in interactive measurement.
NC optional parameter (bit) No. 46, bit 7
1: Automatic zero setting is carried out.
0: Only gauging is carried out.
(2) Set the unit system used for the display and parameter setting.
NC optional parameter bit No. 9
Bit No. Contents SET 1 SET 0 Factory Set Initial Value
In data setting, unit system of length is either “inch”
0 Inch mm 0
or “mm”.
In data setting unit is either minimum setting unit or 1 mm, Minimu
1 mm, 1 inch, 1 deg. and 1 sec. 1 inch, m
1 1
1 deg, setting
1 sec unit
2 0
3 0
4 0
5 0
In the data setting, the decimal point indicates 1 Basic bit 1
6 0
mm, 1 inch, 1 deg and 1 sec. unit setting
7 0
6130-E P-285
SECTION 5 INTERACTIVE GAUGING FUNCTION
5-7. Error
Error Description
5361 This error occurs when the input data no. is "0" in specification of the
Zero set input NO zero offset no.
5362 This error occurs when the input data no. is "0" or smaller in
Tool length offset input NO. specification of the tool length offset no.
5209 The error occurs in either of the following cases.
Input data overflow [Tool length measurement parameter]
(1) The input data is out of the range between 0 and 2000.000 in
specification of the maximum travel distance to the contact
position.
(2) The input data is out of the range between 0 and 1000.000 in
specification of the maximum tool length to the contact position.
6-1. Overview
The continuous tool gauging function is the function that allows multiple tools to be gauged
continuously and automatically.
The following two kinds of gauging are possible with continuous tool gauging.
Multiple tools are used in machining processes. If the tool length offset and the tool breakage
detection are conducted to each of all tools respectively, it will take a lot of time. Using this function
enables this sequence to be conducted in an automatic manner, allowing tools stored in the pot to
be gauged continuously.
[Supplement]
The continuous tool gauging function does not cover gauging in the following cases: tool diameter
gauging, in a direction other than Z, by non-contact type sensor, and gauging of turning tools.
This function also does not cover double-column machining centers and the BLADE T400.
6130-E P-287
SECTION 6 CONTINUOUS TOOL GAUGING FUNCTION
Generally this is set only once at the time when the machine
is installed.
(If the gauging system with high accuracy is required,
however, setting the home position at regular intervals is
recommended.)
Setting the home position * See "1-2-1. Setting the Touch Sensor Zero Point" in
of touch sensor "GAUGING SYSTEMS INSTRUCTION MANUAL".
Preparation for gauging
Procedure :
ME61315R0300800030001
4 Open the TOOL GAUGING MENU window. Press [F6] (CON. GAU.).
ME61315R0300800030002
6130-E P-289
SECTION 6 CONTINUOUS TOOL GAUGING FUNCTION
[Supplement]
The screen image above is the one with "manual gauging"; the screen image with "IGF
gauging" is different.
ME61315R0300800030003
[Supplement]
When gauging a tool with which the gauging position is not the tool rotation center, such as
boring bars, end mills, or milling cutters, set the parameters "SHIT (X)", "SHIFT (Y)" and "S
ORIENT". Then the gauging is performed by shifting the position for the amount set in the
parameter.
6130-E P-290
SECTION 6 CONTINUOUS TOOL GAUGING FUNCTION
ME61315R0300800030004
ME61315R0300800030005
[Supplement]
To enable the function keys, either "termination of continuous tool gauging" or "reset" is
necessary.
To release the filtering of tool list, either perform "cancel of filtering" or open the
"CONTINUOUS GAUGING window" with "continuous tool gauging terminated" or "reset".
ME61315R0300800040001
ME61315R0300800040002
LEVEL sheet
ME61315R0300800040003
6130-E P-293
SECTION 6 CONTINUOUS TOOL GAUGING FUNCTION
DISP. TYPE
Displays the tool type displayed in the current tool list.
The displayed items are changed according to the tool filtering event. For the details of filtering, refer
to "6-4-3. FILTERING popup window".
MEAS. NUM
Displays the number of tools to be gauged.
The denominator displays the number of tools to be gauged and the tools finished with gauging.
The numerator displays the number of tools finished with gauging.
OPER. MODE
It is possible to switch the operation mode between TOOL LENGTH (tool length offset) and BREAK
DETECTION (automatic tool breakage detection).
Choose the option using the function key before starting continuous tool gauging.
Example:
[F1] (Menu) → [F2] (TOOL LENGTH)
[F1] (Menu) → [F3] (tool breakage detection)
ME61315R0300800040004
[Supplement]
If the continuous tool gauging function is executed after changing the operation mode, system
variable VFST bit 0 changes. To perform gauging with a program next time (such as CALLOO30),
pay attention to VFST state.
GAUGING
Tools to be gauged are set. Refer to Table 1 Tool gauging status below for gauging status. To
change the gauging status, use the function keys.
By pressing [F1] (CHECK), the gauging status of the tool in the line of cursor is changed.
By pressing [F2] (ALL ITEM CHECK), the gauging status of all tools gauging are changed.
[Supplement]
[Supplement]
The background color of gauging status "F" changes according to the gauging result status.
Normal gauging ... yellow
Tool breakage ... red
6130-E P-294
SECTION 6 CONTINUOUS TOOL GAUGING FUNCTION
T.NO.
Displays the tool number.
POT
Displays the pot number in which the tool is inserted.
KIND
Displays the tool kind.
OK/NG
Displays the tool life state.
[Supplement]
This is not displayed if the tool life management function is not available.
If an NG tool is to be gauged, continuous tool gauging is not started.
HNO.
The tool length offset number is set.
The setting range is "1 to 999, A, B, C".
Continuous tool gauging cannot be started if the tool length offset number is duplicated with the
number of other tools.
[Supplement]
The minimum tool length varies depending on the tool length offset method.
When the tool length offset method is "absolute": optional parameter long word No.43
When the tool length offset method is "relative": optional parameter long word No.43-
reference tool length
* Although the value varies depending on the machine model, the reference tool length is either
"150 mm (5.91 in.)" or "200 mm (7.87 in.)".
When the spindle moves toward the touch sensor, the spindle goes to the position of "anticipated
tool length + safety distance" from the touch sensor.
Anticipated
tool length
Safety distance
Sensor
ME61315R0300800040005
[Supplement]
When the operation mode is "TOOL LENGTH": safety distance = 10 mm (0.39 in.)
When the operation mode is "BREAKAGE DETECTION": safety distance = 5 mm (0.20 in.)
6130-E P-296
SECTION 6 CONTINUOUS TOOL GAUGING FUNCTION
SHIFT (X)
Set a rough shift amount from the tool center of the nose in the X direction. The value can be a
positive or negative value.
When the X-axis and the Y-axis moves to the touch sensor center in an automatic tool length
offset or automatic tool breakage detection cycle, position the axis to the position shifted by
SHIFT (X) so that the tool nose comes to the sensor center.
The distance from the sensor home position can be set by using [F3] (CAL).
[Supplement]
The touch sensor tends to approach around the travel limit. Therefore carefully set SHIFT (X)
while paying attention to the travel limit.
SHIFT (Y)
Set a rough shift amount from the tool center of the nose in the Y direction.
The other settings are the same with SHIFT (X).
S ORIENT
When a special tool such as a boring bar is used, the tool may not be touched to the touch sensor
with spindle indexing of a given direction.
At a time like this, index the spindle at an angle that allows the tool nose to touch the touch sensor
by setting S ORIENT.
Example: The tool nose touches the touch sensor by specifying 270° in S ORIENT
in the following case.
Tool
Sensor
Tool
Sensor
ME61315R0300800040006
If Empty is set for length determination value in tool breakage detection, 0.1 mm is set as the
length determination value.
ACT POS
Displays the actual position based on the sensor home position.
Guide message
The message gives an explanation about the parameter at the cursor position and about the
operation after pressing [F4] (GAUGING START).
ME61315R0300800050001
Press [F7] (GAUGING PARAM.) to display the GAUGING PARAM popup window.
[Supplement]
Check that the method is the same as used in home position setting.
RELATIVE
This is the method to specify the tool length offset value by the length relative to the reference
tool (a in Fig. 6-4).
ABSOLUTE
This is the method to specify the tool length offset value by the tool length from the spindle end
face (b in Fig. 6-4).
Reference tool
ME61315R0300800050002
Setting of SPEED TO SAFETY POSI., 1st APPROACH SPEED, 2nd APPROACH SPEED
Feedrate to the
safety position Anticipated
tool length
Approach speed 1
Safety distance
Approach speed 2
Sensor
ME61315R0300800050003
Fig.6-5 Feedrate
[Supplement]
When the operation mode is set to "tool length offset", "approach speed 1 (1st)" and "approach
speed 2 (2nd)" are used.
When the operation mode is set to "tool breakage detection", "approach speed 2" is used.
6130-E P-300
SECTION 6 CONTINUOUS TOOL GAUGING FUNCTION
ME61315R0300800060001
TOOL GEOMETRY
The tool geometry to be filtered is specified.
GAUGING
The gauging condition to be filtered is specified.
TOOL LIFE
The tool life to be filtered is specified.
6130-E P-301
SECTION 6 CONTINUOUS TOOL GAUGING FUNCTION
ME61315R0300800070001
ME61315R0300800080001
Procedure :
Machine behavior
The operations with automatic tool length offset in the Z direction are as follows.
(2) The Z-axis moves to the positive limit at a rapid traverse rate.
(4) The X-axis and the Y-axis moves at a rapid traverse rate so that the tool nose comes to the
center of the touch sensor.
For tools of which the tool nose is not located at the spindle center, refer to "6-4-1.
CONTINUOUS GAUGING Window".
(5) If YES is selected in the GAUGING OPERATION SELECTION window, the operation stops
here temporarily. Make an approach movement to the sensor as needed basis by manual
operation in the manual interruption mode.
Then press the start button to resume gauging.
If NO is selected, the operation does not stop here.
(6) The Z-axis moves at the rapid "approach speed 1" until the tool touches the touch sensor.
(7) The Z-axis stops when the tool touches the touch sensor.
(9) The Z-axis moves at "approach speed 2" again to allow the tool to touch the touch sensor.
(10) The Z-axis stops when the tool touches the touch sensor.
The result is stored to the tool length offset number which is the same as the tool number of the
current tool.
(11) The tool to be gauged next is attached to the spindle by the ATC.
ME61315R0300800090001
Procedure :
Machine behavior
The operations with automatic tool breakage detection in the Z direction are as follows.
(2) The Z-axis moves to the positive limit at a rapid traverse rate.
(4) The X-axis and the Y-axis moves at a rapid traverse rate so that the tool nose comes to the
center of the touch sensor.
For tools of which the tool nose is not located at the spindle center, refer to "6-4-1.
CONTINUOUS GAUGING Window".
(5) If YES is selected in the GAUGING OPERATION SELECTION window, the operation stops
here temporarily. Make an approach movement to the sensor as needed basis by manual
operation in the manual interruption mode.
Then press the start button to resume gauging.
If NO is selected, the operation does not stop here.
(6) The tool nose moves to the position where the safety distance (5 mm (0.20 in.)) is kept from the
touch sensor at a rapid traverse rate.
[Supplement]
If the check-mark of NC optional parameter Bit No. 74 bit 4 is checked, the "moves at a rapid
traverse rate" is changed to "moves at a rate applied to the safety position".
(7) The axis moves at "approach speed 2" toward the position exceeding the position where the
tool nose touches the touch sensor by 10 mm (0.39 in.).
When no breakage is found or the breakage amount is less than 10 mm (0.39 in.)
The tool nose touches the touch sensor to be stopped.
In this case, the tool length is computed out using the touched position data to be stored
temporarily.
(8) The Z-axis moves to the positive limit at a rapid traverse rate.
(9) The tool to be gauged next is attached to the spindle by the ATC.
6-7. Precautions
The continuous tool gauging function is performed with gauging program OO30 described in
the document.
Be careful as gauging operation by OO30 is performed even when a gauging program other
than OO30 is used.
When the continuous tool gauging function is used while using a gauging program other than
OO30, carry out the operation starting from the setting of touch sensor zero point. (Refer to "1-
2-1. Setting the Touch Sensor Zero Point".)
6-8. Error
5503 Continuation gauging condition error
The gauging start conditions with continuous gauging are not met.
[Index]
None
[Code]
1XXXX
XXXX: Displays the decimal number of the duplicated tool length offset number.
2XXXX
XXXX: Displays the pot number to which a tool that cannot be gauged is inserted.
(The pot number of the current tool is "0".)
[Probable Faulty Locations]
The offset number is duplicated to another gauging tool.
A tool with which life is not "OK" is set as the gauging target.
6130-E P-307
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
ME61315R0300900010001
* Scanning gauging: The sensor gauges a tool in a gauging direction (e.g. the Y-axis) and shifts
along the axis at right angles with the gauging axis (e.g. the Z-axis). By repeating the above
gauging several times, the sensor determines the maximum tool length (or diameter).
6130-E P-308
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
7-2. Outline
Non-contact sensor gauging is roughly classified into two methods according to the position where
the sensor is installed: gauging with a fixed sensor and gauging with a movable one. A fixed sensor
can gauge a horizontal spindle tool (an attachment tool). But a movable sensor can gauge only a
vertical spindle tool.
Movable sensor for gauging a vertical spindle tool
Fixed sensor for gauging a vertical spindle tool or horizontal spindle tool
ME61315R0300900020001
The sensor mode (fixed/movable) can be switched by bit 3 of the system-variable VFST.
Bit 3 of VFST 0 ...... Movable sensor
1 ...... Fixed sensor
The tool-gauging program consists of the following maker’s subprograms:
Gauging program
Programs classified by the sensor position are described on the following pages.
6130-E P-309
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
ME61315R0300900030001
When using a movable sensor, the sensor position can be set with bits 0 and 1 of NC optional
parameter No. 72. Four positions are available as shown in the figure below, and the moving axis
and the approach direction are different among the four positions.
2 0
Y+
3
X+
Default position
ME61315R0300900030002
Calling sequence
CALL OO93 PAXI=* PLI=* [PRS=*] [PSPN=* [PPIC=*] [PTOL=*]] [PUDT=*] [POVT=*] [PAT=*]
[PRET=1] [PCON=1] [PF1=*] [PF2=*] [PF3=*] [PF4=*] [PSBA=*]
PAXI: Axis of which zero point is set (bit0: the X-axis, bit1: the Y-axis, bit2: Z-axis)
When the sensor position is 0 or 2, set PAXI at #06H. When a movable sensor is
used, the sensor and the tool may interfere with each other and the machine will
consequently get damaged if the Y-axis position is not set.
When the sensor position is 1 or 3, set PAXI at #05H. When a movable sensor is
used, the sensor and the tool may interfere with each other and the machine will
consequently get damaged if the X-axis position is not set.
PLI: Reference tool length
For the absolute position offset (as mentioned earlier), specify the length from the
gauge line to the end of the reference tool. For the relative position offset, specify
the difference between the reference tool length for relative position offset and
the reference tool length used for individual gauging. If they are the same, just
specify 0.
PRS: Spindle orientation position
If PRS is omitted and an M code for spindle rotation (M03 or M04) is specified,
the tool is measured while in rotation. When PRS is specified, the spindle is
orient-stopped and the sensor gauges the stopped tool. Without the above M
code, however, the spindle is orient-stopped and the sensor gauges the stopped
tool even if PRS is omitted.
PSPN [PPIC] [PTOL]: Gauging width in scanning [Pick feed in scanning] [Skip value in scanning]
Specify the width of gauging in one direction. In scanning gauging, the sensor
measures the tool in both positive and negative directions. Without designation of
PSPN, the sensor cannot gauge the tool. The default pick feed for gauging is 0.1
mm (0.004 in.). Scanning gauging is intended for determining the maximum tool
length position.
When the measured value decreased, it is assumed that the subsequent gauging
data will no more in crease. This means the sensor does not need to continue
gauging before it covers the width of PSPN. The criterion for stopping gauging is
called skip value. The default is 0.005 mm (0.00020 in.).
ME61315R0300900030003
6130-E P-312
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Gauging operation
1. Install the reference tool.
2. Advance the sensor with M144. (Ensure that the sensor does not interfere with anything.)
3. Turn on the laser with M375. (The laser is turned off by M374.)
4. Locate the tool near the sensor by hand. (Locate the tool in a position where the sensor
works by Z-axis movement)
5. Execute the sensor zero setting cycle in automatic or MDI operation mode.
6130-E P-313
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Cycle operation
1. The sensor is positioned near the Z-axis positive limit.
2. The sensor is positioned at the Y-axis retract position, if the machine needs retraction of
Y-axis before gauging.
3. Spindle orientation is done except for gauging of rotating tool.
4. The sensor advances.
5. The Y-axis is positioned.
6. The X-axis is positioned.
7. The Z-axis moves to the under-travel position.
8. The laser shutter opens.
9. Gauging cycle starts. (Sensor air blow is carried out for the 1st gauging.)
10. The Z-axis moves to the sensor position.
11. Scanning cycle starts if the cycle is selected.
12. The sensor is positioned near the Z-axis positive limit.*
13. The laser shutter closes.
14. The Y-axis retracts if it is so designed.*
15. The sensor retracts.*
* Positioning to the positive limit by the sequence No.12 is omitted when PCON is
specified.
Sensor retraction by the sequence No.14 and 15 is omitted when PRET is specified.
Calling sequence
CALL OO94 PAXI=* PRI=* PLI=* [PIN=*] [PRS=*] [PSPN=* [PPIC=*] [PTOL=*]] [PUDT=*]
[POVT=*] [PAT=*] [PRET=*] [PCON=*] [PF1=*] [PF2=*] [PF3=*] [PF4=*] [PSBA=*]
PAXI: Axis of which zero point is set (bit0: X-axis, bit1: Y-axis, and bit2: Z-axis)
When the sensor position is 0 or 2, set PAXI at #01H.
When the sensor position is 1 or 3, set PAXI at #02H.
PRI: Reference tool radial
Specify the cutter radius of the reference tool.
PLI: Reference tool length
Refer to the sensor zero setting cycle in the lengthwise direction.
PIN: Z-axis infeed amount
When the sensor zero setting cycle is executed, the sensor starts gauging by
shifting from the starting position in the negative direction by a distance specified
with PIN.
PRS: Spindle orientation position
Refer to the sensor zero setting cycle in the lengthwise direction.
PSPN [PPIC] [PTOL]: Gauging width in scanning [Pick feed in scanning] [Skip value in scanning]
Refer to the sensor zero setting cycle in the lengthwise direction.
PUDT: Under-travel amount in the first approach. (Default: 50 mm (1.97 in.))
POVT: Over-travel amount in the first approach. (Default: 50 mm (1.97 in.))
6130-E P-314
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Gauging operation
1. Install the reference tool.
2. Advance the sensor with M144. (Ensure that the sensor does not interfere with anything.)
3. Turn on the laser with M375. (The laser is turned off by M374.)
4. Locate the tool near the sensor by hand. (Locate the tool in a position where the sensor
works by Y-axis or X-axis movement.
5. Execute the sensor zero setting cycle in automatic or MDI operation mode.
Cycle operation
1. The sensor is positioned near the Z-axis positive limit.
2. The sensor is positioned at the Y-axis retract position, if the machine needs retraction of
Y-axis before gauging.*3
3. Spindle orientation is done except for gauging of rotating tool.
4. The sensor advances.
5. The Y-axis is positioned at the gauging starting position.*2
6. The X-axis is positioned at the under-travel position.*2
7. The Z-axis is positioned at the gauging starting position. (When PIN is specified, the Z-
axis shifts from the starting position in the negative direction by a distance specified with
PIN.)
8. The laser shutter opens.
9. Gauging cycle starts. (Sensor air blow is carried out for the 1st gauging.)
10. The X-axis moves to the sensor position.*2
11. Scanning cycle starts if the cycle is selected.
12. The sensor is positioned near the Z-axis positive limit.*
13. The laser shutter closes.
14. The Y-axis retracts if it is so designed.*, *3
15. The sensor retracts.*
* Positioning to the positive limit by the sequence No.12 is omitted when PCON is
specified.
Sensor retraction by the sequence No.14 and 15 is omitted when PRET is specified.
6130-E P-315
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
*2 When the sensor position is 1 or 3 (for measurement in Y-axis direction), the Y-axis
moves instead of the X-axis in the above steps 6 and 10, and the X-axis moves instead
of Y-axis in the above step 5.
*3 When the sensor position is 1 or 3 (for measurement in Y-axis direction), Y-axis retraction
does not take place.
Calling sequence
CALL OO95 PLI=* [PRS=*] [PSPN=* [PPIC=*] [PTOL=*]] [PUDT=*] [POVT=*] [PAT=*] [PH=*]
[PRET=*] [PCON=*] [PF1=*] [PF2=*] [PF3=*] [PF4=*] [PSBA=*] [PSAM=*]
[PSPR=*] [PSRA=*] [PRTY=*]
PLI: Tool length
Specify the (expected) tool length.
PRS: Spindle orientation position
Refer to the sensor zero setting cycle in the lengthwise direction.
PSPN [PPIC] [PTOL]:Gauging width in scanning [Pick feed in scanning] [Skip value in scanning]
Refer to the sensor zero setting cycle in the lengthwise direction.
PUDT: Under-travel amount in the first approach. (Default: 10 mm (0.39 in.))
POVT: Over-travel amount in the first approach. (Default: 10 mm (0.39 in.))
PAT: Attachment offset number
An offset must be set at VATSC [185, attachment offset designation number]. Use
this setting for executing a sensor zero setting cycle using an attachment. It is
also necessary to match the attachment number with the attachment offset
number. Set attachment rotation offset numbers (G181 to G185) to the
attachment in ascending order.
Example:
T301: Offset number 1 (PAT = 1 at this time)
T302: Offset number 2 (PAT = 2 at this time)
T303: Offset number 3 (PAT = 3 at this time)
:
:
When a movable sensor is used, horizontal tools cannot be measured. In this
case, only gauging using an extension attachment is available.
PH: Tool length offset number
Specify the tool length offset number where the gauged tool length is stored.
When PH is omitted, the active tool offset number (VTLCN) is set.
PRET: Sensor retraction inhibiting parameter*
Refer to the sensor zero setting cycle in the lengthwise direction.
PCON: Z-axis retraction inhibiting parameter*
Refer to the sensor zero setting cycle in the lengthwise direction.
PF1: The 1st approach speed of the sensor
PF2: The 2nd approach speed of the sensor
PF3: The 3rd approach speed of the sensor & the 1st approach speed in scanning cycle
PF4: The 4th approach speed of the sensor & the 2nd approach speed in scanning cycle
Refer to the sensor zero setting cycle in the lengthwise direction.
6130-E P-316
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
PSBA: Dwelling time [s] for sensor air blow (3 [s] by default)
PSAM: The number of gauging times.
If PSAM is set to 2 or more, the NC repeats the gauging cycle by the set number
of times.
For the 1st gauging, the NC performs normal gauging (with 4 times of approach).
For the 2nd and later gauging cycles, the NC performs gauging by 2 times of
approach to the sensor. The approaching speeds in the 2nd and later gauging
cycles are as follows:
1st approach ... The 3rd approach speed in the normal gauging cycle
2nd approach ... The 4th approach speed in the normal gauging cycle
The average value obtained by several times of gauging is regarded as the final
measured value.
The 2nd and later gauging cycles do not include the scanning gauging.
The default is 3 (times).
PSPR: Allowable difference between the maximum and the minimum measurements
The maximum and the minimum values are obtained from the results of several
times of gauging. Set the allowable range of the difference between the maximum
and minimum measurements (variation) at this parameter. The default is 0.005
[mm] (0.00020 in.).
PSRA: Action to be taken when the variation exceeds the allowable range (alarm)
Set whether the variation exceeding the allowable range causes an alarm or not.
Set “1” if you want an alarm to be generated. Set “0” if not. The default is “0” (no
alarm).
PRTY: Action to be taken when the variation exceeds the allowable range (retry).
Set whether the variation exceeding the allowable range triggers another gauging
cycle or not. When retry is desired, set the number of retry times at PRTY.
If retry is not desired, set “0” at PRTY.
The NC performs gauging by the number of times set at PSAM (number of
gauging times) for each retry gauging. During the retry gauging, two times of
approach is made even in the 1st gauging cycle.
If the variation does not fall within the allowable range after the specified number
of retrials, an alarm occurs.
If PSRA is set to “1”, the PRTY value is ignored. If “0” is set at both PSRA and
PRTY, the average value is regarded as the measured value even when the
variation is out of the allowable range. The default is “0” (no retry).
6130-E P-317
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Cycle operation
1. The sensor is positioned near the Z-axis positive limit.
2. The sensor is positioned at the Y-axis retract position, if the machine needs retraction of
Y-axis before gauging.
3. Spindle orientation is done except for gauging of rotating tool.
4. The sensor advances.
5. The Y-axis is positioned at the sensor position.
6. The X-axis is positioned at the sensor position.
7. The laser shutter opens.
8. Gauging cycle starts. (Sensor air blow is carried out for the 1st gauging.)
9. The Z-axis moves to the sensor position.
10. Scanning cycle starts if the cycle is selected.
11. In the case of several times of gauging, the NC repeats the gauging cycle by the
specified number of times.
12. The Z-axis moves to the sensor position.
13. The sensor is positioned near the Z-axis positive limit.*
14. The laser shutter closes.
15. The Y-axis retracts if it is so designed.*
16. The sensor retracts.*
* Positioning to the positive limit by the sequence No.13 is omitted when PCON is
specified.
Sensor retraction by the sequence No.15 and 16 is omitted when PRET is specified.
6130-E P-318
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Calling sequence
CALL OO96 PRI=* PLI=* [PRS=*] [PSPN=* [PPIC=*] [PTOL=*]] [PIN=*] [PUDT=*] [POVT=*]
[PAT=*] [PD=*] [PRET=*] [PCON=*] [PGO=*] [PF1=*] [PF2=*] [PF3=*] [PF4=*]
[PSBA=*] [PSAM=*] [PSPR=*] [PSRA=*] [PRTY=*]
PLI: Tool length
Specify the offset amount of the tool length.
PRI: Cutter radius
Specify the offset amount of the cutter radius (: the expected offset amount of the
cutter radius).
PRS: Spindle orientation position
Refer to the sensor zero setting cycle in the lengthwise direction.
PSPN [PPIC] [PTOL]: Gauging width in scanning [Pick feed in scanning] [Skip value in scanning]
Refer to the sensor zero setting cycle in the lengthwise direction.
PIN: Z-axis infeed amount
The sensor starts gauging by shifting from the starting position in the negative
direction by a distance specified with PIN.
PUDT: Under-travel amount in the first approach. (Default: 10 mm (0.39 in.))
POVT: Over-travel amount in the first approach. (Default: 10 mm (0.39 in.))
PAT: Attachment offset number
Refer to the Gauging cycle in the lengthwise direction.
PD: Cutter radius compensation number
Specify the cutter radius compensation number where is stored the gauged cutter
radius.
When omitted, the active tool compensation number (VTLCN) is set.
PRET: Sensor retraction inhibiting parameter*
Refer to the sensor zero setting cycle in the lengthwise direction.
PCON: Z-axis retraction inhibiting parameter*
Refer to the sensor zero setting cycle in the lengthwise direction.
PF1: The 1st approach speed of the sensor
PF2: The 2nd approach speed of the sensor
PF3: The 3rd approach speed of the sensor & the 1st approach speed in scanning cycle
PF4: The 4th approach speed of the sensor & the 2nd approach speed in scanning cycle
Refer to the sensor zero setting cycle in the lengthwise direction.
PSBA: Dwelling time [s] for sensor air blow (3 [s] by default)
PSAM: The number of gauging times
Refer to the Gauging cycle in lengthwise direction.
PSPR: Allowable difference between the maximum and the minimum measurements
Refer to the Gauging cycle in lengthwise direction.
PSRA: Action to be taken when the variation exceeds the allowable range (alarm)
Refer to the Gauging cycle in lengthwise direction.
PRTY: Action to be taken when the variation exceeds the allowable range (retry)
Refer to the Gauging cycle in lengthwise direction.
6130-E P-319
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Cycle operation
1. The sensor is positioned near the Z-axis positive limit.
2. The sensor is positioned at the Y-axis retract position, if the machine needs retraction of
Y-axis before gauging.*3
3. Spindle orientation is done except for gauging of rotating tool.
4. The sensor advances.
5. The Y-axis is positioned at the sensor position.*2
6. The X-axis moves to the under-travel position.*2
7. The Z-axis is positioned at the sensor position. (When PIN is specified, the sensor
position shift sin infeed direction by a distance specified with PIN.)
8. The laser shutter opens.
9. Gauging cycle starts. (Sensor air blow is carried out for the 1st gauging.)
10. The X-axis moves to the sensor position.*2
11. Scanning cycle starts if the cycle is selected.
12. In the case of several times of gauging, the NC repeats the gauging cycle by the
specified number of times.
13. The X-axis moves to the sensor position.*2
14. The sensor is positioned near the Z-axis positive limit.*
15. The laser shutter closes.
16. The Y-axis retracts if it is so designed.*, *3
17. The sensor retracts.*
* Positioning to the positive limit by the sequence No.14 is omitted when PCON is
specified.
Sensor retraction by the sequence No.16 and 17 is omitted when PRET is specified.
*2 When the sensor position is 1 or 3 (for measurement in Y-axis direction), the Y-axis
moves instead of the Y-axis in the above steps 6, 10, 13, and the X-axis moves instead of
X-axis in the above step 5.
*3 When the sensor position is 1 or 3 (for measurement in Y-axis direction), Y-axis retraction
does not take place.
6130-E P-320
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Calling sequence
CALL OO99 [PH=*] [PLI=*] [PRI=*] [PRA=*] [PRS=*] [PUDT=*] [POVT=*] [PAT=*] [PRET=*]
[PCON=*] [PRE=*] [PF1=*] [PF2=*] [PF3=*] [PF4=*] [PSBA=*]
PH: Tool management number
Specify the tool management number where the tool length offset amount and the
cutter radius compensation amount are stored for judgment of sphericity. When
PH is omitted, the active tool number (VTLCN) is set.
PLI: Tool length
Specify the tool length. When omitted, the offset amount of the tool management
number is set.
PRI: Cutter radius
Specify the cutter radius. When omitted, the compensation amount of the tool
management number is set.
PRA: The angle added for gauging sphericity
The sensor gauges the sphericity from the length wise direction to the radial
direction.
Specify the incremental angle used for this gauging. The angle must be 5° or over
and a divisor of 90°. Default is 15°.
PRS: Spindle orientation position
Refer to the sensor zero setting cycle in the lengthwise direction.
PUDT: Under-travel amount in the first approach. (Default: 10 mm (0.39 in.))
POVT: Over-travel amount in the first approach. (Default: 10 mm (0.39 in.))
PAT: Attachment offset number
Refer to the Gauging cycle in the lengthwise direction.
PRET: Sensor retraction inhibiting parameter*
Refer to the sensor zero setting cycle in the lengthwise direction.
PCON: Z-axis retraction inhibiting parameter*
Refer to the sensor zero setting cycle in the lengthwise direction.
PRE: Maximum allowable error
When the error in the sphericity gauging exceeds this amount, an alarm occurs.
When PRE is not specified, the cycle does not judge the errors.
PF1: The 1st approach speed of the sensor
PF2: The 2nd approach speed of the sensor
PF3: The 3rd approach speed of the sensor & the 1st approach speed in scanning cycle
PF4: The 4th approach speed of the sensor & the 2nd approach speed in scanning cycle
Refer to the sensor zero setting cycle in the lengthwise direction.
PSBA: Dwelling time [s] for sensor air blow (3 [s] by default)
6130-E P-321
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Cycle operation
1. The sensor is positioned near the Z-axis positive limit.
2. The sensor is positioned at the Y-axis retract position, if the machine needs retraction of
Y-axis before gauging.*3
3. Spindle orientation is done except for gauging of rotating tool.
4. The sensor advances.
5. The Y-axis is positioned at the sensor position.
6. The X-axis is positioned.*2
7. The laser shutter opens.
8. Gauging cycle starts.(Sensor air blow is carried out for the 1st gauging.)
9. The X-axis and the Z-axis move to the sensor position.*2
10. The PRA angle is added and the sensor gauges sphericity in the slanting direction.
11. Operation sequences No.9 and 10 are repeated up to the gauging angle of 90°.
12. The X-axis and Z-axis move to the sensor position.*2
13. The sensor gauges in the radial direction.
14. The sensor is positioned near the Z-axis positive limit.*
15. The laser shutter closes.
16. The Y-axis retracts if it is so designed.*, *3
17. The sensor retracts.*
18. The sphericity is judged, if the judgment command is specified.
* Positioning to the positive limit by the sequence No.14 is omitted when PCON is
specified.
Sensor retraction by the sequence No.16 and 17 is omitted when PRET is specified.
*2 When the sensor position is 1 or 3 (for measurement in Y-axis direction), the Y-axis
moves instead of the Y-axis in the above steps 6, 9, 12, and the Y-axis moves instead of
X-axis in the above step 5.
*3 When the sensor position is 1 or 3 (for measurement in Y-axis direction), Y-axis retraction
does not take place.
6130-E P-322
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Calling sequence
CALL OO95 [PLI=*][PRS=*] [PSPN=* [PPIC=*] [PTOL=*]] [PUDT=*] [POVT=*] [PAT=*] [PH=*]
[PRET=*] [PCON=*] [PGO=*] [PLE1=*] [PLE2=*][PF1=*] [PF2=*] [PF3=*] [PF4=*]
[PSBA=*] [PSAM=*] [PSPR=*] [PSRA=*] [PRTY=*]
PLI: Tool length
Specify the tool length (: the expected tool length).
PRS: Spindle orientation position
Refer to the sensor zero setting cycle in the lengthwise direction.
PSPN [PPIC] [PTOL]: Gauging width in scanning [Pick feed in scanning] [Skip value in scanning]
Refer to the sensor zero setting cycle in the lengthwise direction.
PUDT: Under-travel amount in the first approach. (Default: 10 mm (0.39 in.))
POVT: Over-travel amount in the first approach. (Default: 10 mm (0.39 in.))
PAT: Attachment offset number
Refer to the Gauging cycle in the lengthwise direction.
PH: Tool length offset number
Specify the tool length offset number of which data is compared with the gauging
result.
When omitted, the active tool number (VTLCN) is set.
PRET: Sensor retraction inhibiting parameter*
Refer to the sensor zero setting cycle in the lengthwise direction.
PCON: Z-axis retraction inhibiting parameter*
Refer to the sensor zero setting cycle in the lengthwise direction.
PGO: Action to be taken on detection of tool breakage
PGO= The tool is changed on detection of tool breakage.
1
PGO= The tool is changed on detection of tool breakage. The broken tool moves
2 to the tool change position before being changed.
If PGO is omitted, the cycle ends with alarm occurrence.
PLE1: Threshold value for judging tool breakage
Specify the threshold value for judging tool breakage as a difference from the tool
offset value. Default is 0.1 mm (0.004 in.).
PLE2: Threshold value for judging tool wear
Specify the threshold value for judging tool wear as a difference from the tool
offset value. When the difference is less than PLE2, the NC judges that the tool is
worn and up dates the tool length offset amount. If PLE2 is omitted, the NC does
not make this judgment.
PF1: The 1st approach speed of the sensor
PF2: The 2nd approach speed of the sensor
PF3: The 3rd approach speed of the sensor & the 1st approach speed in scanning cycle
PF4: The 4th approach speed of the sensor & the 2nd approach speed in scanning cycle
Refer to the sensor zero setting cycle in the lengthwise direction.
PSBA: Dwelling time [s] for sensor air blow (3 [s] by default)
6130-E P-323
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Cycle operation
1. The sensor is positioned near the Z-axis positive limit.
2. The sensor is positioned at the Y-axis retract position, if the machine needs retraction of
Y-axis before gauging.
3. Spindle orientation is done except for gauging of rotating tool.
4. The sensor advances.
5. The Y-axis is positioned at the sensor position.
6. The X-axis is positioned at the sensor position.
7. The laser shutter opens.
8. Gauging cycle starts. (Sensor air blow is carried out for the 1st gauging.)
9. The Z-axis moves to the sensor position.
10. Scanning cycle starts if the cycle is selected.
11. In the case of several times of gauging, the NC repeats the gauging cycle by the
specified number of times.
12. The Z-axis moves to the sensor position.
13. The sensor is positioned near the Z-axis positive limit.*
14. The laser shutter closes.
15. The Y-axis retracts if it is so designed.*
16. The sensor retracts.*
17. The tool breakage or the tool wear are judged.
18. When the tool breakage is detected, the tool is changed according to the PGO setting.
* Positioning to the positive limit by the sequence No.13 is omitted when PCON is
specified.
Sensor retraction by the sequence No.15 and 16 is omitted when PRET is specified.
6130-E P-324
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Calling sequence
CALL OO96 [PRI=*] [PLI=*] [PRS=*] [PSPN=* [PPIC=*] [PTOL=*]] [PIN=*] [PUDT=*] [POVT=*]
[PAT=*] [PD=*] [PRET=*] [PCON=*] [PGO=*] [PLE1=*] [PLE2=*] [PF1=*] [PF2=*]
[PF3=*] [PF4=*] [PSBA=*] [PSAM=*] [PSPR=*] [PSRA=*] [PRTY=*]
PLI: Tool length
Specify the offset amount of the tool length.
PRI: Cutter radius
Specify the offset amount of the cutter radius (: the expected offset amount of the
cutter radius).
PRS: Spindle orientation position
Refer to the sensor zero setting cycle in the lengthwise direction.
PSPN [PPIC] [PTOL]: Gauging width in scanning [Pick feed in scanning] [Skip value in scanning]
Refer to the sensor zero setting cycle in the lengthwise direction.
PIN: Z-axis infeed amount
The sensor starts gauging by shifting from the starting position in the negative
direction by a distance specified with PIN.
PUDT: Under-travel amount in the first approach. (Default: 10 mm (0.39 in.))
POVT: Over-travel amount in the first approach. (Default: 10 mm (0.39 in.))
PAT: Attachment offset number
Refer to the Gauging cycle in the lengthwise direction.
PD: Cutter radius compensation number
The cutter radius is compared with this value.
When omitted, the data of the active tool number (VTLCN) is set.
PRET: Sensor retraction inhibiting parameter*
Refer to the sensor zero setting cycle in the lengthwise direction.
PCON: Z-axis retraction inhibiting parameter*
Refer to the sensor zero setting cycle in the lengthwise direction.
PGO: Action to be taken on detection of tool breakage
Refer to the sensor zero setting cycle in the lengthwise direction and the tool
breakage detection cycle.
PLE1: Threshold value for judging tool breakage
Refer to the sensor zero setting cycle in the lengthwise direction and the tool
breakage detection cycle.
PLE2: Threshold value for judging tool wear
Refer to the sensor zero setting cycle in the lengthwise direction and the tool
breakage detection cycle.
PF1: The 1st approach speed of the sensor
PF2: The 2nd approach speed of the sensor
PF3: The 3rd approach speed of the sensor & the 1st approach speed in scanning cycle
6130-E P-325
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
PF4: The 4th approach speed of the sensor & the 2nd approach speed in scanning cycle
Refer to the sensor zero setting cycle in the lengthwise direction.
PSBA: Dwelling time [s] for sensor air blow (3 [s] by default)
PSAM: The number of gauging times
Refer to the Gauging cycle in lengthwise direction.
PSPR: Allowable difference between the maximum and the minimum measurements
Refer to the Gauging cycle in lengthwise direction.
PSRA: Action to be taken when the variation exceeds the allowable range (alarm)
Refer to the Gauging cycle in lengthwise direction.
PRTY: Action to be taken when the variation exceeds the allowable range (retry)
Refer to the Gauging cycle in lengthwise direction.
Cycle operation
1. The sensor is positioned near the Z-axis positive limit.
2. The sensor is positioned at the Y-axis retract position, if the machine needs retraction of
Y-axis before gauging.*3
3. Spindle orientation is done except for gauging of rotating tool.
4. The sensor advances.
5. The Y-axis is positioned at the sensor position.*2
6. The X-axis moves to the under-travel position.*2
7. The Z-axis is positioned at the sensor position. (When PIN is specified, the Z-axis shifts
in infeed direction by a distance specified with PIN.)
8. The laser shutter opens.
9. Gauging cycle starts. (Sensor air blow is carried out for the 1st gauging.)
10. The X-axis moves to the sensor position.
11. Scanning cycle starts if the cycle is selected.
12. In the case of several times of gauging, the NC repeats the gauging cycle by the
specified number of times.
13. The X-axis moves to the sensor position.*2
14. The sensor is positioned near the Z-axis positive limit.*
15. The laser shutter closes.
16. The Y-axis retracts if it is so designed.*, *3
17. The sensor retracts.*
18. The tool breakage or the tool wear are judged.
19. When the tool breakage is detected, the tool is changed according to the PGO setting.
* Positioning to the positive limit by the sequence No.14 is omitted when PCON is
specified.
Sensor retraction by the sequence No.16 and 17 is omitted when PRET is specified.
*2 When the sensor position is 1 or 3 (for measurement in Y-axis direction), the Y-axis
moves instead of the X-axis in the above steps 6, 10, 13, and the Y-axis moves instead of
X-axis in the above step 5.
*3 When the sensor position is 1 or 3 (for measurement in Y-axis direction), Y-axis retraction
does not take place.
6130-E P-326
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
ME61315R0300900030004
Calling sequence
CALL OO97 [PLI=*] [PRI=*] [PRS=*] [PIN=*] [PUDT=*] [POVT=*] [PAT=*] [PH=*] [PRET=*]
[PCON=*]
PLI: Tool length
Specify the tool length offset amount. When omitted, the value specified with the
offset number is set.
PRI: Cutter radius
Specify the cutter radius compensation amount. When omitted, the value specified
with the offset number is set.
PRS: Spindle orientation position
Refer to the sensor zero setting cycle in the lengthwise direction.
PIN: Z-axis infeed amount
The sensor starts gauging by shifting from the starting position in the negative
direction by a distance specified with PIN. (Default: 0.2 mm (0.008 in.))
PUDT: Under-travel amount in the first approach. (Default: 50 mm (1.97 in.))
POVT: Over-travel amount in the first approach. (Default: 10 mm (0.39 in.))
PAT: Attachment offset number
Refer to the Gauging cycle in the lengthwise direction.
PH: Tool offset number
Specify the tool off set number. When omitted, the active tool number (VTLCN) is
set.
PRET: Sensor retraction inhibiting parameter*
Refer to the sensor zero setting cycle in the lengthwise direction.
PCON: Z-axis retraction inhibiting parameter*
Refer to the sensor zero setting cycle in the lengthwise direction.
6130-E P-327
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Cycle operation
1. The sensor is positioned near the Z-axis positive limit.
2. The sensor is positioned at the Y-axis retract position, if the machine needs retraction of
Y-axis before gauging.*3
3. Spindle orientation is done except for gauging of rotating tool.
4. The sensor advances.
5. The Y-axis is positioned at the sensor position.*2
6. The X-axis moves to the under-travel position.*2
7. The Z-axis is positioned at the sensor position. (When PIN is specified, the Z-axis shifts
in infeed direction by a distance specified with PIN.)
8. The laser shutter opens.
9. The X-axis skips to the target position (sensor position + over travel position).*2
10. The sensor is positioned near the Z-axis positive limit.*
11. The laser shutter closes.
12. The Y-axis retracts if it is so designed.*, *3
13. The sensor retracts.*
14. The tool breakage is judged.
15. When the tool breakage is detected, the tool is changed according to the PGO setting.
* Positioning to the positive limit by the sequence No.10 is omitted when PCON is
specified.
Sensor retraction by the sequence No.12 and 13 is omitted when PRET is specified.
*2 When the sensor position is 1 or 3 (for measurement in Y-axis direction), the Y-axis
moves instead of Y-axis in the above steps 6 and 9, and the Y-axis moves instead of X-
axis in the above step 5.
*3 When the sensor position is 1 or 3 (for measurement in Y-axis direction), Y-axis retraction
does not take place.
6130-E P-328
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
ME61315R0300900040001
6130-E P-329
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Calling sequence
CALL OO93 PAXI=* PLI=* [PRS=*] [PSPN=* [PPIC=*] [PTOL=*]] [PUDT=*] [POVT=*] [PAT=*]
[PRET=1] [PCON=1] [PF1=*] [PF2=*] [PF3=*] [PF4=*] [PSBA=*]
PAXI: Axis of which zero point is set (bit0: the X-axis, bit1: the Y-axis, bit2: Z-axis)
Normal setting data is PAXI=#04H.
PUDT: Under-travel amount in the first approach. (Default: 50 mm (1.97 in.))
POVT: Over-travel amount in the first approach. (Default: 50 mm (1.97 in.))
PLI: Reference tool length
PRS: Spindle orientation position
PSPN [PPIC] [PTOL]: Gauging width in scanning [Pick feed in scanning] [Skip value in scanning]
PAT: Attachment offset number
PCON: Z-axis retraction inhibiting parameter*
PRET: Sensor retraction inhibiting parameter*
PF1: 1st approach speed of the sensor
PF2: 2nd approach speed of the sensor
PF3: 3rd approach speed of the sensor & 1st approach speed in scanning cycle
PF4: 4th approach speed of the sensor & 2nd approach speed in scanning cycle
PSBA: Dwelling time [s] for sensor air blow (3 [s] by default)
Refer to 7-3. Maker’s Subprogram in the Movable Sensor Mode.
Gauging operation
1. Install the reference tool.
2. Advance the sensor with M144. (Ensure that the sensor does not interfere with anything.)
3. Turn on the laser with M375. (The laser is turned off by M374.)
4. Locate the tool near the sensor by hand.(Locate the tool in a position where the sensor
works by Z-axis movement)
5. Execute the sensor zero setting cycle in automatic or MDI operation mode.
6130-E P-331
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Cycle operation
1. The sensor is positioned near the Z-axis positive limit.
2. The sensor is positioned at the Y-axis retract position, if the machine needs retraction of
Y-axis before gauging.
3. Spindle orientation is done except for gauging of rotating tool.
4. The sensor advances.
5. The Y-axis is positioned.
6. The X-axis is positioned.
7. The Z-axis moves to the under-travel position.
8. The laser shutter opens.
9. Gauging cycle starts.(Sensor air blow is carried out for the 1st gauging.)
10. The Z-axis moves to the sensor position.
11. Scanning cycle starts if the cycle is selected.
12. The sensor is positioned near the Z-axis positive limit.*
13. The laser shutter closes.
14. The Y-axis retracts if it is so designed.*
15. The sensor retracts.*
* Positioning to the positive limit by the sequence No. 12 is omitted when PCON is
specified.
Sensor retraction by the sequence No.14 and 15 is omitted when PRET is specified.
6130-E P-332
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Calling sequence
CALL OO94 PAXI=* PRI=* PLI=* [PIN=*] [PRS=*] [PSPN=* [PPIC=*] [PTOL=*]] [PUDT=*]
[POVT=*] [PAT=*] [PRET=*] [PCON=*] [PF1=*] [PF2=*] [PF3=*] [PF4=*] [PSBA=*]
PAXI: Axis of which zero point is set (bit0: X-axis, bit1: Y-axis, and bit2: Z-axis)
Normal setting is #02H.
PUDT: Under-travel amount in the first approach. (Default: 50 mm (1.97 in.))
POVT: Over-travel amount in the first approach. (Default: 50 mm (1.97 in.))
PRI: Reference cutter radius
PLI: Reference tool length
PIN: Z-axis infeed amount
PRS: Spindle orientation position
PSPN [PPIC] [PTOL]: Gauging width in scanning [Pick feed in scanning] [Skip value in scanning]
PAT: Attachment offset number
PRET: Sensor retraction inhibiting parameter*
PCON: Z-axis retraction inhibiting parameter*
PF1: 1st approach speed of the sensor
PF2: 2nd approach speed of the sensor
PF3: 3rd approach speed of the sensor & 1st approach speed in scanning cycle
PF4: 4th approach speed of the sensor & 2nd approach speed in scanning cycle
Refer to “6-3. Maker’s Subprogram in the Movable Sensor Mode”.
PSBA: Dwelling time [s] for sensor air blow (3 [s] by default)
Gauging operation
1. Install the reference tool.
2. Advance the sensor with M144. (Ensure that the sensor does not interfere with anything.)
3. Turn on the laser with M375. (The laser is turned off by M374.)
4. Locate the tool near the sensor by hand. (Locate the tool in a position where the sensor
works by Y-axis movement)
5. Execute the sensor zero setting cycle in automatic or MDI operation mode.
6130-E P-333
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Cycle operation
1. The sensor is positioned near the Z-axis positive limit.
2. The sensor is positioned at the Y-axis retract position, if the machine needs retraction of
Y-axis before gauging.
3. Spindle orientation is done except for gauging of rotating tool.
4. The sensor advances.
5. The Y-axis is positioned at the gauging starting position.
6. The X-axis moves to the under-travel position.
7. The Z-axis is positioned at the gauging starting position. (When PIN is specified, the Z-
axis shifts in infeed direction by a distance specified with PIN.)
8. The laser shutter opens.
9. Gauging cycle starts.(Sensor air blow is carried out for the 1st gauging.)
10. The Y-axis moves to the sensor position.
11. Scanning cycle starts if the cycle is selected.
12. The sensor is positioned near the Z-axis positive limit.*
13. The laser shutter closes.
14. The Y-axis retracts if it is so designed.*
15. The sensor retracts.*
* Positioning to the positive limit by the sequence No.12 is omitted when PCON is
specified.
Sensor retraction by the sequence No.14 and 15 is omitted when PRET is specified.
6130-E P-334
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Calling sequence
CALL OO95 PLI=* [PRS=*] [PSPN=* [PPIC=*] [PTOL=*]] [PUDT=*] [POVT=*] [PAT=*] [PH=*]
[PRET=*] [PCON=*] [PF1=*] [PF2=*] [PF3=*] [PF4=*] [PSBA=*] [PSAM=*]
[PSPR=*] [PSRA=*] [PRTY=*]
PLI: Tool length
PRS: Spindle orientation position
PSPN [PPIC] [PTOL]: Gauging width in scanning [Pick feed in scanning] [Skip value in scanning]
PUDT: Under-travel amount in the first approach. (Default: 10 mm (0.39 in.))
POVT: Over-travel amount in the first approach. (Default: 10 mm (0.39 in.))
PAT: Attachment offset number
PH: Tool length offset number
PRET: Sensor retraction inhibiting parameter*
PCON: Z-axis retraction inhibiting parameter*
PF1: The 1st approach speed of the sensor
PF2: The 2nd approach speed of the sensor
PF3: The 3rd approach speed of the sensor & the 1st approach speed in scanning cycle
PF4: The 4th approach speed of the sensor & the 2nd approach speed in scanning cycle
PSBA: Dwelling time [s] for sensor air blow (3 [s] by default)
PSAM: The number of gauging times
PSPR: Allowable difference between the maximum and the minimum measurements
PSRA: Action to be taken when the variation exceeds the allowable range (alarm)
PRTY: Action to be taken when the variation exceeds the allowable range (retry).
Refer to “6-3. Maker’s Subprogram in the Movable Sensor Mode”.
6130-E P-335
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Cycle operation
1. The sensor is positioned near the Z-axis positive limit.
2. The sensor is positioned at the Y-axis retract position, if the machine needs retraction of
Y-axis before gauging.
3. Spindle orientation is done except for gauging of rotating tool.
4. The sensor advances.
5. The Y-axis is positioned at the sensor position.
6. The X-axis is positioned at the sensor position.
7. The laser shutter opens.
8. Gauging cycle starts. (Sensor air blow is carried out for the 1st gauging.)
9. The Z-axis moves to the sensor position.
10. Scanning cycle starts if the cycle is selected.
11. In the case of several times of gauging, the NC repeats the gauging cycle by the
specified number of times.
12. The Z-axis moves to the sensor position.
13. The sensor is positioned near the Z-axis positive limit.*
14. The laser shutter closes.
15. The Y-axis retracts if it is so designed.*
16. The sensor retracts.*
* Positioning to the positive limit by the sequence No.13 is omitted when PCON is
specified.
Sensor retraction by the sequence No.15 and 16 is omitted when PRET is specified.
6130-E P-336
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Calling sequence
CALL OO96 PRI=* PLI=* [PRS=*] [PSPN=* [PPIC=*] [PTOL=*]] [PIN=*] [PUDT=*] [POVT=*]
[PAT=*] [PD=*] [PRET=*] [PCON=*] [PGO=*] [PF1=*] [PF2=*] [PF3=*] [PF4=*]
[PSBA=*] [PSAM=*] [PSPR=*] [PSRA=*] [PRTY=*]
PLI: Tool length
PRI: Cutter radius
PRS: Spindle orientation position
PSPN [PPIC] [PTOL]: Gauging width in scanning [Pick feed in scanning] [Skip value in scanning]
PIN: Z-axis infeed amount
PUDT: Under-travel amount in the first approach. (Default: 10 mm (0.39 in.))
POVT: Over-travel amount in the first approach. (Default: 10 mm (0.39 in.))
PAT: Attachment offset number
PD: Cutter radius compensation number
PRET: Sensor retraction inhibiting parameter*
PCON: Z-axis retraction inhibiting parameter*
PGO: Action to be taken on detection of tool breakage
PF1: The 1st approach speed of the sensor
PF2: The 2nd approach speed of the sensor
PF3: The 3rd approach speed of the sensor & the 1st approach speed in scanning cycle
PF4: The 4th approach speed of the sensor & the 2nd approach speed in scanning cycle
PSBA: Dwelling time [s] for sensor air blow (3 [s] by default)
PSAM: The number of gauging times
PSPR: Allowable difference between the maximum and the minimum measurements
PSRA: Action to be taken when the variation exceeds the allowable range (alarm)
PRTY: Action to be taken when the variation exceeds the allowable range (retry).
Refer to “6-3. Maker’s Subprogram in the Movable Sensor Mode”.
6130-E P-337
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Cycle operation
1. The sensor is positioned near the Z-axis positive limit.
2. The sensor is positioned at the Y-axis retract position, if the machine needs retraction of
Y-axis before gauging.
3. Spindle orientation is done except for gauging of rotating tool.
4. The sensor advances.
5. The Y-axis is positioned at the sensor position.
6. The X-axis moves to the under-travel position.
7. The Z-axis is positioned at the sensor position. (When PIN is specified, the Z-axis shifts
in infeed direction by a distance specified with PIN.)
8. The laser shutter opens.
9. Gauging cycle starts. (Sensor air blow is carried out for the 1st gauging.)
10. The X-axis moves to the sensor position.
11. Scanning cycle starts if the cycle is selected.
12. In the case of several times of gauging, the NC repeats the gauging cycle by the
specified number of times.
13. The X-axis moves to the sensor position.
14. The sensor is positioned near the Z-axis positive limit.*
15. The laser shutter closes.
16. The Y-axis retracts if it is so designed.*
17. The sensor retracts.*
* Positioning to the positive limit by the sequence No.14 is omitted when PCON is
specified.
Sensor retraction by the sequence No.16 and 17 is omitted when PRET is specified.
6130-E P-338
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Calling sequence
CALL OO99 [PH=*] [PLI=*] [PRI=*] [PRA=*] [PRS=*] [PUDT=*] [POVT=*] [PAT=*] [PRET=*]
[PCON=*] [PRE=*] [PF1=*] [PF2=*] [PF3=*] [PF4=*] [PSBA=*]
PH: Tool length offset number, Cutter radius compensation number
PLI: Tool length
PRI: Cutter radius
PRA: The angle added for gauging sphericity
PRS: Spindle orientation position
PUDT: Under-travel amount in the first approach. (Default: 10 mm (0.39 in.))
POVT: Over-travel amount in the first approach. (Default: 10 mm (0.39 in.))
PAT: Attachment offset number
PRET: Sensor retraction inhibiting parameter*
PCON: Z-axis retraction inhibiting parameter*
PRE: Detected error
PF1: The 1st approach speed of the sensor
PF2: The 2nd approach speed of the sensor
PF3: The 3rd approach speed of the sensor & the 1st approach speed in scanning cycle
PF4: The 4th approach speed of the sensor & the 2nd approach speed in scanning cycle
PSBA: Dwelling time [s] for sensor air blow (3 [s] by default)
Refer to “6-3. Maker’s Subprogram in the Movable Sensor Mode”.
6130-E P-339
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Cycle operation
1. The sensor is positioned near the Z-axis positive limit.
2. The sensor is positioned at the Y-axis retract position, if the machine needs retraction of
Y-axis before gauging.
3. Spindle orientation is done except for gauging of rotating tool.
4. The sensor advances.
5. The Y-axis is positioned at the sensor position.
6. The X-axis is positioned.
7. The laser shutter opens.
8. Gauging cycle starts. (Sensor air blow is carried out for the 1st gauging.)
9. The X-axis and the Z-axis move to the sensor position.
10. The PRA angle is added and the sensor gauges sphericity in the slanting direction.
11. Operation sequences No.9 and 10 are repeated up to the gauging angle of 90°.
12. The X-axis and Z-axis move to the sensor position.
13. The sensor gauges in the radial direction.
14. The sensor is positioned near the Z-axis positive limit.*
15. The laser shutter closes.
16. The Y-axis retracts if it is so designed.*
17. The sensor retracts.*
18. The sphericity is judged, if the judgment command is specified.
* Positioning to the positive limit by the sequence No.14 is omitted when PCON is
specified.
Sensor retraction by the sequence No.16 and 17 is omitted when PRET is specified.
6130-E P-340
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Calling sequence
CALL OO95 [PLI=*] [PRS=*] [PSPN=* [PPIC=*] [PTOL=*]] [PUDT=*] [POVT=*] [PAT=*] [PH=*]
[PRET=*] [PCON=*] [PGO=*] [PLE1=*] [PLE2=*][PF1=*] [PF2=*] [PF3=*] [PF4=*]
[PSBA=*] [PSAM=*] [PSPR=*] [PSRA=*] [PRTY=*]
PLI: Tool length
PRS: Spindle orientation position
PSPN [PPIC] [PTOL]: Gauging width in scanning [Pick feed in scanning] [Skip value in
scanning]
PUDT: Under-travel amount in the first approach. (Default: 10 mm (0.39 in.))
POVT: Over-travel amount in the first approach. (Default: 10 mm (0.39 in.))
PAT: Attachment offset number
PH: Tool length offset number
PRET: Sensor retraction inhibiting parameter*
PCON: Z-axis retraction inhibiting parameter*
PGO: Action to be taken on detection of tool breakage
PLE1: Threshold value for judging tool breakage
PLE2: Threshold value for judging tool wear
PSBA: Dwelling time [s] for sensor air blow (3 [s] by default)
PSAM: The number of gauging times
PSPR: Allowable difference between the maximum and the minimum measurements
PSRA: Action to be taken when the variation exceeds the allowable range (alarm)
PRTY: Action to be taken when the variation exceeds the allowable range (retry).
Refer to “6-3. Maker’s Subprogram in the Movable Sensor Mode”.
6130-E P-341
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Cycle operation
1. The sensor is positioned near the Z-axis positive limit.
2. The sensor is positioned at the Y-axis retract position, if the machine needs retraction of
Y-axis before gauging.
3. Spindle orientation is done except for gauging of rotating tool.
4. The sensor advances.
5. The Y-axis is positioned at the sensor position.
6. The X-axis is positioned at the sensor position.
7. The laser shutter opens.
8. Gauging cycle starts. (Sensor air blow is carried out for the 1st gauging.)
9. The Z-axis moves to the sensor position.
10. Scanning cycle starts if the cycle is selected.
11. In the case of several times of gauging, the NC repeats the gauging cycle by the
specified number of times.
12. The Z-axis moves to the sensor position.
13. The sensor is positioned near the Z-axis positive limit.*
14. The laser shutter closes.
15. The Y-axis retracts if it is so designed.*
16. The sensor retracts.*
17. The gauging result is judged to be tool breakage or tool wear.
18. When the tool breakage is detected, the tool is changed according to the PGO setting.
* Positioning to the positive limit by the sequence No.13 is omitted when PCON is
specified.
Sensor retraction by the sequence No.15 and 16 is omitted when PRET is specified.
6130-E P-342
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Calling sequence
CALL OO96 [PRI=*] [PLI=*] [PRS=*] [PSPN=* [PPIC=*] [PTOL=*]] [PIN=*] [PUDT=*] [POVT=*]
[PAT=*] [PD=*] [PRET=*] [PCON=*] [PGO=*] [PLE1=*] [PLE2=*] [PF1=*] [PF2=*]
[PF3=*] [PF4=*] [PSBA=*] [PSAM=*] [PSPR=*] [PSRA=*] [PRTY=*]
PLI: Tool length
PRI: Cutter radius
PRS: Spindle orientation position
PSPN [PPIC] [PTOL]: Gauging width in scanning [Pick feed in scanning] [Skip value in scanning]
PIN: Z-axis infeed amount
PUDT: Under-travel amount in the first approach. (Default: 10 mm (0.39 in.))
POVT: Over-travel amount in the first approach. (Default: 10 mm (0.39 in.))
PAT: Attachment offset number
PD: Cutter radius compensation number
PRET: Sensor retraction inhibiting parameter*
PCON: Z-axis retraction inhibiting parameter*
PGO: Action to be taken on detection of tool breakage
PLE1: Threshold value for judging tool breakage
PLE2: Threshold value for judging tool wear
PF1: The 1st approach speed of the sensor
PF2: The 2nd approach speed of the sensor
PF3: The 3rd approach speed of the sensor & the 1st approach speed in scanning cycle
PF4: The 4th approach speed of the sensor & the 2nd approach speed in scanning cycle
PSBA: Dwelling time [s] for sensor air blow (3 [s] by default)
PSAM: The number of gauging times
PSPR: Allowable difference between the maximum and the minimum measurements
PSRA: Action to be taken when the variation exceeds the allowable range (alarm)
PRTY: Action to be taken when the variation exceeds the allowable range (retry).
Refer to “6-3. Maker’s Subprogram in the Movable Sensor Mode”.
6130-E P-343
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Cycle operation
1. The sensor is positioned near the Z-axis positive limit.
2. The sensor is positioned at the Y-axis retract position, if the machine needs retraction of
Y-axis before gauging.
3. Spindle orientation is done except for gauging of rotating tool.
4. The sensor advances.
5. The Y-axis is positioned at the sensor position.
6. The X-axis moves to the under-travel position.
7. The Z-axis is positioned at the sensor position. (When PIN is specified, the Z-axis shifts
in infeed direction by a distance specified with PIN.)
8. The laser shutter opens.
9. Gauging cycle starts. (Sensor air blow is carried out for the 1st gauging.)
10. The X-axis moves to the sensor position.
11. Scanning cycle starts if the cycle is selected.
12. In the case of several times of gauging, the NC repeats the gauging cycle by the
specified number of times.
13. The X-axis moves to the sensor position.
14. The sensor is positioned near the Z-axis positive limit.*
15. The laser shutter closes.
16. The Y-axis retracts if it is so designed.*
17. The sensor retracts.*
18. When the tool breakage is detected, the tool breakage or the tool wear are judged.
19. When the tool breakage is detected, the tool is changed according to the PGO setting.
* Positioning to the positive limit by the sequence No.14 is omitted when PCON is
specified.
Sensor retraction by the sequence No.16 and 17 is omitted when PRET is specified.
6130-E P-344
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Calling sequence
CALL OO97 [PLI=*] [PRI=*] [PRS=*] [PIN=*] [PUDT=*] [POVT=*] [PAT=*] [PH=*] [PRET=*]
[PCON=*]
PLI: Tool length
PRI: Cutter radius
PRS: Spindle orientation position
PIN: Z-axis infeed amount
PUDT: Under-travel amount in the first approach. (Default: 50 mm (1.97 in.))
POVT: Over-travel amount in the first approach. (Default: 10 mm (0.39 in.))
PAT: Attachment offset number
PH: Tool offset number
PRET: Sensor retraction inhibiting parameter*
PCON: Z-axis retraction inhibiting parameter*
Refer to “6-3. Maker’s Subprogram in the Movable Sensor Mode”.
Cycle operation
1. The sensor is positioned near the Z-axis positive limit.
2. The sensor is positioned at the Y-axis retract position, if the machine needs retraction of
Y-axis before gauging.
3. Spindle orientation is done except for gauging of rotating tool.
4. The sensor advances.
5. The Y-axis is positioned at the sensor position.
6. The X-axis moves to the under-travel position.
7. The Z-axis is positioned at the sensor position.(When PIN is specified, the Z-axis shifts in
infeed direction by a distance specified with PIN.)
8. The laser shutter opens.
9. The X-axis skips to the target position (sensor position + over travel position).
10. The sensor is positioned near the Z-axis positive limit.*
11. The laser shutter closes.
12. The Y-axis retracts if it is so designed.*
13. The sensor retracts.*
14. The gauging result is judged to be tool breakage.
15. When the tool breakage is detected, the tool is changed according to the PGO setting.
* Positioning to the positive limit by the sequence No.10 is omitted when PCON is
specified.
Sensor retraction by the sequence No.12 and 13 is omitted when PRET is specified.
6130-E P-345
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
ME61315R0300900060001
Like the gauging cycles in the movable sensor mode, the horizontal tool gauging program in the
fixed sensor mode consists of the following sub routines:
[List of gauging preparation cycle]
OO31 Position setting cycle for tool change
OO32 Z- axis lowering position setting cycle
OO93 Sensor zero setting cycle in the length wise direction
OO94 Sensor zero setting cycle in the radial direction
[List of gauging cycle]
OO95 Gauging in the length wise direction
OO96 Gauging in the radial direction
OO99 Gauging the sphericity
[List of tool breakage detection cycle]
OO95 Tool breakage detection in the length wise direction
OO96 Tool breakage detection in the radial direction
OO97 High-speed tool breakage detection
[Tool change position setting cycle (OO31)]
Refer to “6-3. Maker’s subprogram in the movable sensor mode” [Tool change position setting
cycle (OO31)].
[Z- axis lowering position setting cycle (OO32)]
For the gauging on extension attachments, the Z-axis lowering position has to been specified.
This OO32 cycle set this position. Refer to “Section 1. AUTOMATIC TOOL LENGTH OFFSET
/ AUTOMATIC TOOL BREAKAGE DETECTION FUNCTION”.
6130-E P-346
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Calling sequence
CALL OO93 PAXI=* PLI=* [PRS=*] [PSPN=* [PPIC=*] [PTOL=*]] [PUDT=*] [POVT=*]
PAT=* [PRET=1] [PCON=1] [PF1=*] [PF2=*] [PF3=*] [PF4=*] [PSBA=*]
PAXI: Axis of which zero point is set (bit0: the X-axis, bit1: the Y-axis, bit2: Z-axis)
Normal setting data is PAXI=#02H.
PLI: Reference tool length
PRS: Spindle orientation position
PSPN [PPIC] [PTOL]: Gauging width in scanning [Pick feed in scanning] [Skip value in
scanning]
PUDT: Under-travel amount in the first approach. (Default: 50 mm (1.97 in.))
POVT: Over-travel amount in the first approach. (Default: 50 mm (1.97 in.))
PAT: Attachment offset number
PCON: Z-axis retraction inhibiting parameter*
PRET: Sensor retraction inhibiting parameter*
PF1: 1st approach speed of the sensor
PF2: 2nd approach speed of the sensor
PF3: 3rd approach speed of the sensor & 1st approach speed in scanning cycle
PF4: 4th approach speed of the sensor & 2nd approach speed in scanning cycle
PSBA: Dwelling time [s] for sensor air blow (3 [s] by default)
Refer to “6-3. Maker’s Subprogram in the Movable Sensor Mode”.
Gauging operation
1. Install the reference tool. Set the attachment direction to the right on the user’s
responsibility.
2. Advance the sensor with M144. (Ensure that the sensor does not interfere with anything.)
3. Turn on the laser with M375. (The laser is turned off by M374.)
4. Locate the tool near the sensor by hand. (Locate the tool in a position where the sensor
works by Y-axis movement)
5. Execute the sensor zero setting cycle in automatic or MDI operation mode.
6130-E P-347
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Cycle operation
1. The sensor is positioned near the Z-axis positive limit.
2. The Y-axis is positioned at the Z-axis lowering position.
3. Spindle orientation is done except for gauging of rotating tool.
4. The sensor advances.
5. The Z-axis is positioned at the gauging starting position.
6. The Y-axis moves to the under-travel position.
7. The laser shutter opens.
8. Gauging cycle starts. (Sensor air blow is carried out for the 1st gauging.)
9. The Y-axis moves to the sensor position.
10. Scanning cycle starts if the cycle is selected.
11. The Y-axis is positioned at the Z-axis lowering position.
12. The sensor is positioned near the Z-axis positive limit.*
13. The laser shutter closes.
14. The sensor retracts.*
* Positioning to the positive limit by the sequence No.12 is omitted when PCON is
specified.
Sensor retraction by the sequence No.14 is omitted when PRET is specified.
6130-E P-348
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Calling sequence
CALL OO94 PAXI=* PRI=* PLI=* [PIN=*] [PRS=*] [PSPN=* [PPIC=*] [PTOL=*]] [PUDT=*]
[POVT=*] PAT=* [PRET=*] [PCON=*] [PF1=*] [PF2=*] [PF3=*] [PF4=*] [PSBA=*]
PAXI: Axis of which zero point is set (bit0: X-axis, bit1: Y-axis, and bit2: Z-axis)
Normal setting is #04H.
PRI: Reference cutter radius
PLI: Reference tool length
PIN: Z-axis infeed amount
VEST: Sensor setting position
PRS: Spindle orientation position
PSPN [PPIC] [PTOL]: Gauging width in scanning [Pick feed in scanning] [Skip value in
scanning]
PUDT: Under-travel amount in the first approach. (Default: 50 mm (1.97 in.))
POVT: Over-travel amount in the first approach. (Default: 50 mm (1.97 in.))
PAT: Attachment offset number
PRET: Sensor retraction inhibiting parameter*
PCON: Z-axis retraction inhibiting parameter*
PF1: 1st approach speed of the sensor
PF2: 2nd approach speed of the sensor
PF3: 3rd approach speed of the sensor & 1st approach speed in scanning cycle
PF4: 4th approach speed of the sensor & 2nd approach speed in scanning cycle
PSBA: Dwelling time [s] for sensor air blow (3 [s] by default)
Refer to “6-3. Maker’s Subprogram in the Movable Sensor Mode”.
Gauging operation
1. Install the reference tool. Set the attachment direction to the right on the user’s
responsibility.
2. Advance the sensor with M144. (Ensure that the sensor does not interfere with anything.)
3. Turn on the laser with M375. (The laser is turned off by M374.)
4. Locate the tool near the sensor by hand. (Locate the tool in a position where the sensor
works by Z-axis movement)
5. Execute the sensor zero setting cycle in automatic or MDI operation mode.
6130-E P-349
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Cycle operation
1. The sensor is positioned near the Z-axis positive limit.
2. The Y-axis is positioned at the Z-axis lowering position.
3. Spindle orientation is done except for gauging of rotating tool.
4. The sensor advances.
5. The Z-axis moves to the under-travel position.
6. The Y-axis is positioned at the gauging starting position. (When PIN is specified, the Y-
axis shifts in infeed direction by a distance specified with PIN.)
7. The laser shutter opens.
8. Gauging cycle starts. (Sensor air blow is carried out for the 1st gauging.)
9. The Z-axis moves to the sensor position.
10. Scanning cycle starts if the cycle is selected.
11. The Y-axis is positioned at the Z-axis lowering position.
12. The sensor is positioned near the Z-axis positive limit.*
13. The laser shutter closes.
14. The sensor retracts.*
* Positioning to the positive limit by the sequence No.12 is omitted when PCON is
specified.
Sensor retraction by the sequence No.14 is omitted when PRET is specified.
6130-E P-350
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Calling sequence
CALL OO95 PLI=* [PRS=*] [PSPN=* [PPIC=*] [PTOL=*]] [PUDT=*] [POVT=*] PAT=* [PH=*]
[PRET=*] [PCON=*] [PF1=*] [PF2=*] [PF3=*] [PF4=*] [PSBA=*] [PSAM=*]
[PSPR=*] [PSRA=*] [PRTY=*]
PLI: Tool length
PRS: Spindle orientation position
PSPN [PPIC] [PTOL]: Gauging width in scanning [Pick feed in scanning][Skip value in scanning]
PUDT: Under-travel amount in the first approach. (Default: 10 mm (0.39 in.))
POVT: Over-travel amount in the first approach. (Default: 10 mm (0.39 in.))
PAT: Attachment off set number
PH: Tool length offset number
PRET: Sensor retraction inhibiting parameter*
PCON: Z-axis retraction inhibiting parameter*
PF1: The 1st approach speed of the sensor
PF2: The 2nd approach speed of the sensor
PF3: The 3rd approach speed of the sensor & the 1st approach speed in scanning cycle
PF4: The 4th approach speed of the sensor & the 2nd approach speed in scanning cycle
PSBA: Dwelling time [s] for sensor air blow (3 [s] by default)
PSAM: The number of gauging times
PSPR: Allowable difference between the maximum and the minimum measurements
PSRA: Action to be taken when the variation exceeds the allowable range (alarm)
PRTY: Action to be taken when the variation exceeds the allowable range (retry).
Refer to “6-3. Maker’s Subprogram in the Movable Sensor Mode”.
6130-E P-351
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Cycle operation
1. The sensor is positioned near the Z-axis positive limit.
2. The Y-axis is positioned at the Z-axis lowering position.
3. Spindle orientation is done except for gauging of rotating tool.
4. The sensor advances.
5. The Z-axis is positioned at the sensor position.
6. The Y-axis is positioned at the under-travel position.
7. The laser shutter opens.
8. Gauging cycle starts. (Sensor air blow is carried out for the 1st gauging.)
9. The Y-axis moves to the sensor position.
10. Scanning cycle starts if the cycle is selected.
11. In the case of several times of gauging, the NC repeats the gauging cycle by the
specified number of times.
12. The Y-axis is positioned at the Z-axis lowering position.
13. The sensor is positioned near the Z-axis positive limit.*
14. The laser shutter closes.
15. The sensor retracts.*
* Positioning to the positive limit by the sequence No.13 is omitted when PCON is
specified.
Sensor retraction by the sequence No.15 is omitted when PRET is specified.
6130-E P-352
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Calling sequence
CALL OO96 PRI=* PLI=* [PRS=*] [PSPN=* [PPIC=*] [PTOL=*]] [PIN=*] [PUDT=*] [POVT=*]
PAT=* [PD=*] [PRET=*] [PCON=*] [PGO=*] [PF1=*] [PF2=*] [PF3=*] [PF4=*]
[PSBA=*] [PSAM=*] [PSPR=*] [PSRA=*] [PRTY=*]
PLI: Tool length
PRI: Cutter radius
PRS: Spindle orientation position
PSPN [PPIC][PTOL]: Gauging width in scanning [Pick feed in scanning] [Skip value in scanning]
PIN: Y-axis infeed amount
PUDT: Under-travel amount in the first approach. (Default: 10 mm (0.39 in.))
POVT: Over-travel amount in the first approach. (Default: 10 mm (0.39 in.))
PAT: Attachment offset number
PD: Cutter radius compensation number
PRET: Sensor retraction inhibiting parameter*
PCON: Z-axis retraction inhibiting parameter*
PF1: The 1st approach speed of the sensor
PF2: The 2nd approach speed of the sensor
PF3: The 3rd approach speed of the sensor & the 1st approach speed in scanning cycle
PF4: The 4th approach speed of the sensor & the 2nd approach speed in scanning cycle
PSBA: Dwelling time [s] for sensor air blow (3 [s] by default)
PSAM: The number of gauging times
PSPR: Allowable difference between the maximum and the minimum measurements
PSRA: Action to be taken when the variation exceeds the allowable range (alarm)
PRTY: Action to be taken when the variation exceeds the allowable range (retry).
Refer to “6-3. Maker’s Subprogram in the Movable Sensor Mode”.
6130-E P-353
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Cycle operation
1. The sensor is positioned near the Z-axis positive limit.
2. The Y-axis is positioned at the Z-axis lowering position.
3. Spindle orientation is done except for gauging of rotating tool.
4. The sensor advances.
5. The Z-axis moves to the under-travel position.
6. The Y-axis is positioned at the sensor position. (When PIN is specified, the Y-axis shifts in
infeed direction by a distance specified with PIN.)
7. The laser shutter opens.
8. Gauging cycle starts. (Sensor air blow is carried out for the 1st gauging.)
9. The Z-axis moves to the sensor position.
10. Scanning cycle starts if the cycle is selected.
11. In the case of several times of gauging, the NC repeats the gauging cycle by the
specified number of times.
12. The Y-axis is positioned at the Z-axis lowering position.
13. The sensor is positioned near the Z-axis positive limit.*
14. The laser shutter closes.
15. The sensor retracts.*
* Positioning to the positive limit by the sequence No.13 is omitted when PCON is
specified.
Sensor retraction by the sequence No.15 is omitted when PRET is specified.
6130-E P-354
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Calling sequence
CALL OO99 [PH=*] [PLI=*] [PRI=*] [PRA=*] [PRS=*] [PUDT=*] [POVT=*] PAT=* [PRET=*]
[PCON=*] [PRE=*] [PF1=*] [PF2=*] [PF3=*] [PF4=*] [PSBA=*]
PH: Tool length offset number, Cutter radius compensation number
PLI: Tool length
PRI: Cutter radius
PRA: The angle added for gauging sphericity
PRS: Spindle orientation position
PUDT: Under-travel amount in the first approach. (Default: 10 mm (0.39 in.))
POVT: Over-travel amount in the first approach. (Default: 10 mm (0.39 in.))
PAT: Attachment offset number
PRET: Sensor retraction inhibiting parameter*
PCON: Z-axis retraction inhibiting parameter*
PRE: Detected error
PF1: The 1st approach speed of the sensor
PF2: The 2nd approach speed of the sensor
PF3: The 3rd approach speed of the sensor & the 1st approach speed in scanning cycle
PF4: The 4th approach speed of the sensor & the 2nd approach speed in scanning cycle
PSBA: Dwelling time [s] for sensor air blow (3 [s] by default)
Refer to “6-3. Maker’s Subprogram in the Movable Sensor Mode”.
Cycle operation
1. The sensor is positioned near the Z-axis positive limit.
2. The Y-axis is positioned at the Z-axis lowering position.
3. Spindle orientation is done except for gauging of rotating tool.
4. The sensor advances.
5. The Z-axis is positioned at the sensor position.
6. The Y-axis moves to the under-travel position.
7. The laser shutter opens.
8. Gauging cycle starts. (Sensor air blow is carried out for the 1st gauging.)
9. The Y-axis and the Z-axis move to the sensor position.
10. The PRA angle is added and the sensor gauges sphericity in the slanting direction.
11. Operation sequences No.9 and 10 are repeated up to the gauging angle of 90°.
12. The Y-axis and Z-axis move to the sensor position.
13. The sensor gauges in the radial direction.
14. The Y-axis is positioned at the Z-axis lowering position.
15. The sensor is positioned near the Z-axis positive limit.*
16. The laser shutter closes.
17. The sensor retracts.*
18. The sphericity is judged, if the judgment command is specified.
* Positioning to the positive limit by the sequence No.15 is omitted when PCON is
specified.
Sensor retraction by the sequence No.17 is omitted when PRET is specified.
6130-E P-355
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Calling sequence
CALL OO95 [PLI=*][PRS=*] [PSPN=* [PPIC=*] [PTOL=*]] [PUDT=*] [POVT=*] PAT=* [PH=*]
[PRET=*] [PCON=*] [PGO=*] [PLE1=*] [PLE2=*][PF1=*] [PF2=*] [PF3=*] [PF4=*]
[PSBA=*] [PSAM=*] [PSPR=*] [PSRA=*] [PRTY=*]
PLI: Tool length
PRS: Spindle orientation position
PSPN [PPIC] [PTOL]: Gauging width in scanning [Pick feed in scanning] [Skip value in
scanning]
PUDT: Under-travel amount in the first approach. (Default: 10 mm (0.39 in.))
POVT: Over-travel amount in the first approach. (Default: 10 mm (0.39 in.))
PAT: Attachment offset number
PH: Tool length offset number
PRET: Sensor retraction inhibiting parameter*
PCON: Z-axis retraction inhibiting parameter*
PGO: Action to be taken on detection of tool breakage
PLE1: Threshold value for judging tool breakage
PLE2: Threshold value for judging tool wear
PSBA: Dwelling time [s] for sensor air blow (3 [s] by default)
PSAM: The number of gauging times
PSPR: Allowable difference between the maximum and the minimum measurements
PSRA: Action to be taken when the variation exceeds the allowable range (alarm)
PRTY: Action to be taken when the variation exceeds the allowable range (retry).
Refer to “6-3. Maker’s Subprogram in the Movable Sensor Mode”.
6130-E P-356
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Cycle operation
1. The sensor is positioned near the Z-axis positive limit.
2. The Y-axis is positioned at the Z-axis lowering position.
3. Spindle orientation is done except for gauging of rotating tool.
4. The sensor advances.
5. The Z-axis is positioned at the sensor position.
6. The Y-axis moves to the under-travel position.
7. The laser shutter opens.
8. Gauging cycle starts. (Sensor air blow is carried out for the 1st gauging.)
9. The Y-axis moves to the sensor position.
10. Scanning cycle starts if the cycle is selected.
11. In the case of several times of gauging, the NC repeats the gauging cycle by the
specified number of times.
12. The Y-axis is positioned at the Z-axis lowering position.
13. The sensor is positioned near the Z-axis positive limit.*
14. The laser shutter closes.
15. The sensor retracts.*
16. The gauging result is judged to be tool breakage or tool wear.
17. When the tool breakage is detected, the tool is changed according to the PGO setting.
* Positioning to the positive limit by the sequence No.13 is omitted when PCON is
specified.
Sensor retraction by the sequence No.15 is omitted when PRET is specified.
6130-E P-357
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Calling sequence
CALL OO96 [PRI=*] [PLI=*] [PRS=*] [PSPN=* [PPIC=*] [PTOL=*]] [PIN=*] [PUDT=*] [POVT=*]
PAT=* [PD=*] [PRET=*] [PCON=*] [PGO=*] [PLE1=*] [PLE2=*][PF1=*] [PF2=*]
[PF3=*] [PF4=*] [PSBA=*] [PSAM=*] [PSPR=*] [PSRA=*] [PRTY=*]
PLI: Tool length
PRI: Cutter radius
PRS: Spindle orientation position
PSPN [PPIC] [PTOL]: Gauging width in scanning [Pick feed in scanning] [Skip value in
scanning]
PIN: Y-axis infeed amount
PUDT: Under-travel amount in the first approach. (Default: 10 mm (0.39 in.))
POVT: Over-travel amount in the first approach. (Default: 10 mm (0.39 in.))
PAT: Attachment offset number
PD: Cutter radius compensation number
PRET: Sensor retraction inhibiting parameter*
PCON: Z-axis retraction inhibiting parameter*
PGO: Action to be taken on detection of tool breakage
PLE1: Threshold value for judging tool breakage
PLE2: Threshold value for judging tool wear
PF1: The 1st approach speed of the sensor
PF2: The 2nd approach speed of the sensor
PF3: The 3rd approach speed of the sensor & the 1st approach speed in scanning cycle
PF4: The 4th approach speed of the sensor & the 2nd approach speed in scanning cycle
PSBA: Dwelling time [s] for sensor air blow (3 [s] by default)
PSAM: The number of gauging times
PSPR: Allowable difference between the maximum and the minimum measurements
PSRA: Action to be taken when the variation exceeds the allowable range (alarm)
PRTY: Action to be taken when the variation exceeds the allowable range (retry).
Refer to “6-3. Maker’s Subprogram in the Movable Sensor Mode”.
6130-E P-358
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Cycle operation
1. The sensor is positioned near the Z-axis positive limit.
2. The Y-axis is positioned at the Z-axis lowering position.
3. Spindle orientation is done except for gauging of rotating tool.
4. The sensor advances.
5. The Z-axis moves to the under-travel position.
6. The Y-axis is positioned at the sensor position. (When PIN is specified, the Y-axis is
positioned at the shifting point from the sensor position by a distance specified with PIN.)
7. The laser shutter opens.
8. Gauging cycle starts. (Sensor air blow is carried out for the 1st gauging.)
9. The Z-axis moves to the sensor position.
10. Scanning cycle starts if the cycle is selected.
11. In the case of several times of gauging, the NC repeats the gauging cycle by the
specified number of times.
12. The Y-axis is positioned at the Z-axis lowering position.
13. The sensor is positioned near the Z-axis positive limit.*
14. The laser shutter closes.
15. The sensor retracts.*
16. If the tool breakage is detected, the NC judges if the tool has been broken or worn.
17. If the judgment is tool breakage, the NC changes the tool according to the PGO setting.
* Positioning to the positive limit by the sequence No.13 is omitted when PCON is
specified.
Sensor retraction by the sequence No.15 is omitted when PRET is specified.
6130-E P-359
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
Calling sequence
CALL OO97 [PLI=*] [PRI=*] [PRS=*] [PIN=*] [PUDT=*] [POVT=*] PAT=* [PH=*] [PRET=*]
[PCON=*]
PLI: Tool length
PRI: Cutter radius
PRS: Spindle orientation position
PIN: Y-axis infeed amount
PUDT: Under-travel amount in the first approach. (Default: 50 mm (1.97 in.))
POVT: Over-travel amount in the first approach. (Default: 10 mm (0.39 in.))
PAT: Attachment offset number
PH: Tool offset number
PRET: Sensor retraction inhibiting parameter*
PCON: Z-axis retraction inhibiting parameter*
Refer to “6-3. Maker’s Subprogram in the Movable Sensor Mode”.
Cycle operation
1. The sensor is positioned near the Z-axis positive limit.
2. The Y-axis is positioned at the Z-axis lowering position.
3. Spindle orientation is done except for gauging of rotating tool.
4. The sensor advances.
5. The Z-axis moves to the under-travel position.
6. The Y-axis is positioned at the sensor position. (When PIN is specified, the Y-axis shifts in
feed direction by a distance specified with PIN.)
7. The laser shutter opens.
8. The Z-axis skips to the target position (sensor position + over travel position).
9. The Y-axis is positioned at the Z-axis lowering position.
10. The sensor is positioned near the Z-axis positive limit.*
11. The laser shutter closes.
12. The sensor retracts.*
13. The tool breakage is judged.
14. When the tool breakage is detected, the tool is changed according to the PGO setting.
* Positioning to the positive limit by the sequence No.10 is omitted when PCON is
specified.
Sensor retraction by the sequence No.12 is omitted when PRET is specified.
6130-E P-360
SECTION 7 NON-CONTACT SENSOR GAUGING FUNCTION
[Measures to Take]
Use a proper tool, such as a spare tool.
ME61315R0301000010001
* Scanning gauging: The sensor gauges a tool in a gauging direction (e.g. the Y-axis) and shifts
along the axis at right angles with the gauging axis (e.g. the Z-axis). By repeating the above
gauging several times, the sensor determines the maximum tool length (or diameter).
6130-E P-363
SECTION 8 NON-CONTACT SENSOR GAUGING FUNCTION FOR HORIZONTAL MC
8-2. Outline
Non-contact sensor gauging is roughly classified into two methods according to the position where
the sensor is installed: This gauging function is possible only with the fixed sensor type.
Y+
X+ Z+
ME61315R0301000020001
The sensor mode (fixed/movable) can be switched by bit 3 of the system-variable VFST.
Bit 3 of VFST 0 ...... Movable sensor
1 ...... Fixed sensor
The tool-gauging program consists of the following maker’s subprograms:
Gauging program
Programs classified by the sensor position are described on the following pages.
ME61315R0301000040003
[Spindle speed]
When performing gauging while rotating the spindle, specify the spindle speed by referring to
the speed obtained by the following formula:
S=F/N
Here,
S means the actual spindle speed. This is the S command value multiplied by the spindle
speed override.
F is the actual feedrate. If PFI (the 1st approach speed of the sensor) is not specified with an
argument, this value is 2,000 multiplied by the cutting feedrate override. If PFI is specified with
an argument, this value is the specified value multiplied by the cutting feedrate override.
N is the number of tool blades.
[B-axis positioning function]
This function moves the B-axis to the machine zero before execution of the program for each
gauging cycle. Use this function when interference is anticipated between the workpiece and
the sensor during gauging.
NC optional parameter No. 36 bit 5 (POSITIONING 1: DOES, 0: DOES NOT)
[Setting a barrier]
There is an area in which the tool interferes with the sensor when a large-diameter tool is
attached to the spindle. A barrier must be set to avoid this.
For the setting of a barrier, see the attached manual “SECTION 9 SPECIAL BARRIER
FUNCTION FOR HORIZONTAL MC.”
[Sensor zero setting cycle in the lengthwise direction (OO93)]
This cycle determines the sensor position used to gauge the tool length and detect tool breakage.
The offset method can be switched by bit 7 of VFST.
Bit 7 of VFST OFF : Relatively position offset
ON : Absolutely position offset
Do not change this setting after you select the offset method here. The gauging results are stored
in the system-work coordinates No.20.
Calling sequence
CALL 0093 PAXI=* PLI=* [PRS=*] [PSPN=* [PPIC=*] [PTOL=*]] [PUDT=*] [POVT=*]
[PRET=1] [PCON=1] [PF1=*] [PF2=*] [PF3=*] [PF4=*] [PSBA=*]
PAXI: Axis of which zero point is set (bit0: the X-axis, bit1: the Y-axis, bit2: Z-axis)
Normal setting data is PAXI=#05H. In the case of movable sensor, however, set the
X-axis position. Otherwise, the sensor interferes with the tool, damaging the
machine.
PUDT: Under-travel amount in the first approach. (Default: 50 mm (1.97 in.))
POVT: Over-travel amount in the first approach. (Default: 50 mm (1.97 in.))
PLI: Reference tool length
For the absolute position offset (as mentioned earlier), specify the length from the
gauge line to the end of the reference tool. For the relative position offset, specify
the difference between the reference tool length for relative position offset and the
reference tool length used for individual gauging. If they are the same, just specify 0.
PRS: Spindle orientation position
If PRS is omitted and an M code for spindle rotation (M03 or M04) is specified, the
tool is measured while in rotation. When PRS is specified, the spindle is orient-
stopped and the sensor gauges the stopped tool. With out the above M code,
however, the spindle is orient-stopped and the sensor gauges the stopped tool even
if PRS is omitted.
6130-E P-366
SECTION 8 NON-CONTACT SENSOR GAUGING FUNCTION FOR HORIZONTAL MC
PSPN [PPIC] [PTOL]: Gauging width in scanning [Pick feed in scanning] [Skip value in
scanning]
Specify the width of gauging in one direction. In scanning gauging, the sensor
measures the tool in both positive and negative directions. Without designation
of PSPN, the sensor cannot gauge the tool. The default pick feed for gauging is
0.1 mm (0.004 in.). Scanning gauging is intended for determining the maximum
tool length position.
When the measured value decreased, it is assumed that the subsequent
gauging data will no more in crease. This means the sensor does not need to
continue gauging before it covers the width of PSPN. The criterion for stopping
gauging is called skip value. The default is 0.005 mm (0.00020 in.).
ME61315R0301000040001
Gauging operation
1. install the reference tool.
2. Advance the sensor with M144. (Ensure that the sensor does not interfere with anything.)
3. Turn on the laser with M375. (The laser is turned off by M374.)
4. Locate the tool near the sensor by hand. (Locate the tool in a position where the sensor
works by Z-axis movement)
5. Execute the sensor zero setting cycle in automatic or MDI operation mode.
Cycle operation
1. The sensor is positioned near the Z-axis positive limit.
2. The sensor is positioned at the Y-axis retract position, if the machine needs retraction of
Y-axis before gauging.
3. Spindle orientation is done except for gauging of rotating tool.
4. The sensor advances.
5. The B-axis moves to the machine zero at the rapid traverse when “1” is set at bit 5 of NC
optional parameter No. 36.
6. The Y-axis is positioned.
7. The X-axis is positioned.
8. The Z-axis moves to the under-travel position.
9. The laser shutter opens.
10. Gauging cycle starts. (Sensor air blow is carried out for the 1st gauging.)
11. The Z-axis moves to the sensor position.
12. Scanning cycle starts if the cycle is selected.
13. The sensor is positioned near the Z-axis positive limit.*
14. The laser shutter closes.
15. The Y-axis retracts if it is so designed.*
16. The sensor retracts.*
* Positioning to the positive limit by the sequence No.13 is omitted when PCON is
specified.
Sensor retraction by the sequence No.15 and 16 is omitted when PRET is specified.
6130-E P-368
SECTION 8 NON-CONTACT SENSOR GAUGING FUNCTION FOR HORIZONTAL MC
Calling sequence
CALL OO94 PAXI=* PRI=* PLI=* [PIN=*] [PRS=*] [PSPN=* [PPIC=*] [PTOL=*]] [PUDT=*]
[POVT=*] [PRET=*] [PCON=*] [PF1=*] [PF2=*] [PF3=*] [PF4=*] [PSBA=*]
PAXI: Axis of which zero point is set (bit0: X-axis, bit1: Y-axis, and bit2: Z-axis)
Normal setting is #02H.
PUDT: Under-travel amount in the first approach. (Default: 50 mm (1.97 in.))
POVT: Over-travel amount in the first approach. (Default: 50 mm (1.97 in.))
PRI: Reference tool radial
PLI: Reference tool length
PIN: Z-axis infeed amount
PRS: Spindle orientation position
PSPN [PPIC] [PTOL]: Gauging width in scanning [Pick feed in scanning] [Skip value in
scanning]
PRET: Sensor retraction inhibiting parameter*
PCON: Z-axis retraction inhibiting parameter*
PF1: The 1st approach speed of the sensor
PF2: The 2nd approach speed of the sensor
PF3: The 3rd approach speed of the sensor & the 1st approach speed in scanning cycle
PF4: The 4th approach speed of the sensor & the 2nd approach speed in scanning cycle
Refer to the sensor zero setting cycle in the lengthwise direction.
PSBA: Dwelling time [s] for sensor air blow (3 [s] by default)
Gauging operation
1. Install the reference tool.
2. Advance the sensor with M144. (Ensure that the sensor does not interfere with anything.)
3. Turn on the laser with M375. (The laser is turned off by M374.)
4. Locate the tool near the sensor by hand. (Locate the tool in a position where the sensor
works by Y-axis movement.)
5. Execute the sensor zero setting cycle in automatic or MDI operation mode.
6130-E P-369
SECTION 8 NON-CONTACT SENSOR GAUGING FUNCTION FOR HORIZONTAL MC
Cycle operation
1. The sensor is positioned near the Z-axis positive limit.
2. The sensor is positioned at the Y-axis retract position, if the machine needs retraction of
Y-axis before gauging.
3. Spindle orientation is done except for gauging of rotating tool.
4. The sensor advances.
5. The B-axis moves to the machine zero at the rapid traverse when “1” is set at bit 5 of NC
optional parameter No. 36.
6. The Y-axis is positioned at the gauging start position.
7. The X-axis is positioned at the under-travel position.
8. The Z-axis is positioned at the gauging starting position. (When PIN is specified, the Z-
axis shifts from the starting position in the negative direction by a distance specified with
PIN.)
9. The laser shutter opens.
10. Gauging cycle starts. (Sensor air blow is carried out for the 1st gauging.)
11. The Y-axis moves to the sensor position.
12. Scanning cycle starts if the cycle is selected.
13. The sensor is positioned near the Z-axis positive limit.*
14. The laser shutter closes.
15. The Y-axis retracts if it is so designed.*
16. The sensor retracts.*
* Positioning to the positive limit by the sequence No.13 is omitted when PCON is
specified.
Sensor retraction by the sequence No.15 and 16 is omitted when PRET is specified.
6130-E P-370
SECTION 8 NON-CONTACT SENSOR GAUGING FUNCTION FOR HORIZONTAL MC
Calling sequence
CALL OO95 PLI=* [PRS=*] [PSPN=* [PPIC=*] [PTOL=*]] [PUDT=*] [POVT=*] [PH=*]
[PRET=*] [PCON=*] [PF1=*] [PF2=*] [PF3=*] [PF4=*] [PSBA=*] [PSAM=*]
[PSPR=*] [PSRA=*] [PRTY=*]
PLI: Tool length
PRS: Spindle orientation position
PSPN [PPIC] [PTOL]:Gauging width in scanning [Pick feed in scanning] [Skip value in
scanning]
PUDT: Under-travel amount in the first approach. (Default: 10 mm (0.39 in.))
POVT: Over-travel amount in the first approach. (Default: 10 mm (0.39 in.))
PH: Tool length offset number
PRET: Sensor retraction inhibiting parameter*
PCON: Z-axis retraction inhibiting parameter*
PF1: The 1st approach speed of the sensor
PF2: The 2nd approach speed of the sensor
PF3: The 3rd approach speed of the sensor & the 1st approach speed in scanning cycle
PF4: The 4th approach speed of the sensor & the 2nd approach speed in scanning cycle
PSBA: Dwelling time [s] for sensor air blow (3 [s] by default)
Refer to the sensor zero setting cycle in the lengthwise direction.
PSAM: The number of gauging times.
If PSAM is set to 2 or more, the NC repeats the gauging cycle by the set number
of times.
For the 1st gauging, the NC performs normal gauging (with 4 times of approach).
For the 2nd and later gauging cycles, the NC performs gauging by 2 times of
approach to the sensor. The approaching speeds in the 2nd and later gauging
cycles are as follows:
1st approach ... The 3rd approach speed in the normal gauging cycle
2nd approach ... The 4th approach speed in the normal gauging cycle
The average value obtained by several times of gauging is regarded as the
finally measured value.
The 2nd and later gauging cycles do not include the scanning gauging.
The default is 3 (times).
PSPR: Allowable difference between the maximum and the minimum measurements
The maximum and the minimum values are obtained from the results of several
times of gauging. Set the allowable range of the difference between the
maximum and minimum measurements (variation) at this parameter. The default
is 0.005 [mm] (0.00020 in.).
PSRA: Action to be taken when the variation exceeds the allowable range (alarm)
Set whether the variation exceeding the allowable range causes an alarm or not.
Set “1” if you want an alarm to be generated. Set “0” if not. The default is “0” (no
alarm).
6130-E P-371
SECTION 8 NON-CONTACT SENSOR GAUGING FUNCTION FOR HORIZONTAL MC
PRTY: Action to be taken when the variation exceeds the allowable range (retry).
Set whether the variation exceeding the allowable range triggers another
gauging cycle or not. When retry is desired, set the number of retry times at
PRTY.
If retry is not desired, set “0” at PRTY.
The NC performs gauging by the number of times set at PSAM (number of
gauging times) for each retry gauging. During the retry gauging, two times of
approach is made even in the 1st gauging cycle.
If the variation does not fall within the allowable range after the specified number
of retrials, an alarm occurs.
If PSRA is set to “1”, the PRTY value is ignored. If “0” is set at both PSRA and
PRTY, the average value is regarded as the measured value even when the
variation is out of the allowable range. The default is “0” (no retry).
Cycle operation
1. The sensor is positioned near the Z-axis positive limit.
2. The sensor is positioned at the Y-axis retract position, if the machine needs retraction of
Y-axis before gauging.
3. Spindle orientation is done except for gauging of rotating tool.
4. The sensor advances.
5. The B-axis moves to the machine zero at the rapid traverse when “1” is set at bit 5 of NC
optional parameter No. 36.
6. The X-axis is positioned at the sensor position.
7. The Y-axis is positioned at the sensor position.
8. The sensor-air-blower is turned off.
9. Gauging cycle starts. (Sensor air blow is carried out for the 1st gauging.)
10. The Z-axis moves to the sensor position.
11. Scanning cycle starts if the cycle is selected.
12. In the case of several times of gauging, the NC repeats the gauging cycle by the
specified number of times.
13. The Z-axis moves to the sensor position.
14. The sensor is positioned near the Z-axis positive limit.*
15. The laser shutter closes.
16. The Y-axis retracts if it is so designed.*
17. The sensor retracts.*
* Positioning to the positive limit by the sequence No.14 is omitted when PCON is
specified.
Sensor retraction by the sequence No.16 and 17 is omitted when PRET is specified.
6130-E P-372
SECTION 8 NON-CONTACT SENSOR GAUGING FUNCTION FOR HORIZONTAL MC
Calling sequence
CALL OO96 PRI=* PLI=* [PRS=*] [PSPN=* [PPIC=*] [PTOL=*]] [PIN=*] [PUDT=*] [POVT=*]
[PD=*] [PRET=*] [PCON=*] [PGO=*] [PF1=*] [PF2=*] [PF3=*] [PF4=*]
[PSBA=*] [PSAM=*] [PSPR=*] [PSRA=*] [PRTY=*]
PLI: Tool length
PRI: Cutter radius
PRS: Spindle orientation position
PSPN [PPIC] [PTOL]: Gauging width in scanning [Pick feed in scanning] [Skip value in
scanning]
PIN: Z-axis infeed amount
PUDT: Under-travel amount in the first approach. (Default: 10 mm (0.39 in.))
POVT: Over-travel amount in the first approach. (Default: 10 mm (0.39 in.))
PD: Cutter radius compensation number
PRET: Sensor retraction inhibiting parameter*
PCON: Z-axis retraction inhibiting parameter*
PF1: The 1st approach speed of the sensor
PF2: The 2nd approach speed of the sensor
PF3: The 3rd approach speed of the sensor & the 1st approach speed in scanning cycle
PF4: The 4th approach speed of the sensor & the 2nd approach speed in scanning cycle
PSBA: Dwelling time [s] for sensor air blow (3 [s] by default)
PSAM: The number of gauging times
PSPR: Allowable difference between the maximum and the minimum measurements
PSRA: Action to be taken when the variation exceeds the allowable range (alarm)
PRTY: Action to be taken when the variation exceeds the allowable range (retry)
See the description of the zero setting cycle of the sensor for gauging in
lengthwise direction and the gauging cycle in lengthwise direction.
6130-E P-373
SECTION 8 NON-CONTACT SENSOR GAUGING FUNCTION FOR HORIZONTAL MC
Cycle operation
1. The sensor is positioned near the Z-axis positive limit.
2. The sensor is positioned at the Y-axis retract position, if the machine needs retraction of
Y-axis before gauging.
3. Spindle orientation is done except for gauging of rotating tool.
4. The sensor advances.
5. The B-axis moves to the machine zero at the rapid traverse when “1” is set at bit 5 of NC
optional parameter No. 36.
6. The X-axis is positioned at the sensor position.
7. The Y-axis moves to the under-travel position.
8. The Z-axis is positioned at the sensor position. (When PIN is specified, the sensor
position shifts in infeed direction by a distance specified with PIN.)
9. The laser shutter opens.
10. Gauging cycle starts. (Sensor air blow is carried out for the 1st gauging.)
11. The X-axis moves to the sensor position.
12. Scanning cycle starts if the cycle is selected.
13. In the case of several times of gauging, the NC repeats the gauging cycle by the
specified number of times.
14. The X-axis moves to the sensor position.
15. The sensor is positioned near the Z-axis positive limit.*
16. The laser shutter closes.
17. The Y-axis retracts if it is so designed.*
18. The sensor retracts.*
* Positioning to the positive limit by the sequence No.15 is omitted when PCON is
specified.
Sensor retraction by the sequence No.17 and 18 is omitted when PRET is specified.
6130-E P-374
SECTION 8 NON-CONTACT SENSOR GAUGING FUNCTION FOR HORIZONTAL MC
Calling sequence
CALL OO99 [PH=*] [PLI=*] [PRI=*] [PRA=*] [PRS=*] [PUDT=*] [POVT=*] [PRET=*]
[PCON=*] [PRE=*] [PF1=*] [PF2=*] [PF3=*] [PF4=*] [PSBA=*]
PH: Tool length offset, cutter radius compensation number
Specify the tool management number where the tool length offset amount and the
cutter radius compensation amount are stored for judgment of sphericity. When
PH is omitted, the active tool number (VTLCN) is set.
PLI: Tool length
Specify the tool length. When omitted, the offset amount of the tool management
number is set.
PRI: Cutter radius
Specify the cutter radius. When omitted, the compensation amount of the tool
management number is set.
PRA: The angle added for gauging sphericity
The sensor gauges the sphericity from the length wise direction to the radial
direction.
Specify the incremental angle used for this gauging. The angle must be 5° or over
and a divisor of 90°. Default is 15°.
PRS: Spindle orientation position
PUDT: Under-travel amount in the first approach. (Default: 10 mm (0.39 in.))
POVT: Over-travel amount in the first approach. (Default: 10 mm (0.39 in.))
PRET: Sensor retraction inhibiting parameter*
PCON: Z-axis retraction inhibiting parameter*
PRE: Maximum allowable error
When the error in the sphericity gauging exceeds this amount, an alarm occurs.
When PRE is not specified, the cycle does not judge the errors.
PF1: The 1st approach speed of the sensor
PF2: The 2nd approach speed of the sensor
PF3: The 3rd approach speed of the sensor & the 1st approach speed in scanning cycle
PF4: The 4th approach speed of the sensor & the 2nd approach speed in scanning cycle
PSBA: Dwelling time [s] for sensor air blow (3 [s] by default)
Refer to the sensor zero setting cycle in the lengthwise direction.
6130-E P-375
SECTION 8 NON-CONTACT SENSOR GAUGING FUNCTION FOR HORIZONTAL MC
Cycle operation
1. The sensor is positioned near the Z-axis positive limit.
2. The sensor is positioned at the Y-axis retract position, if the machine needs retraction of
Y-axis before gauging.
3. Spindle orientation is done except for gauging of rotating tool.
4. The sensor advances.
5. The B-axis moves to the machine zero at the rapid traverse when “1” is set at bit 5 of NC
optional parameter No. 36.
6. The X-axis is positioned at the sensor position.
7. The Y-axis is positioned.
8. The laser shutter opens.
9. Gauging cycle starts.(Sensor air blow is carried out for the 1st gauging.)
10. The X-axis and the Z-axis move to the sensor position.
11. The PRA angle is added and the sensor gauges sphericity in the slanting direction.
12. Operation sequences No. 10 and 11 are repeated up to the gauging angle of 90°.
13. The X-axis and Z-axis move to the sensor position.
14. The sensor gauges in the radial direction.
15. The sensor is positioned near the Z-axis positive limit.*
16. The laser shutter closes.
17. The Y-axis retracts if it is so designed.*
18. The sensor retracts.*
19. The sphericity is judged, if the judgment command is specified.
* Positioning to the positive limit by the sequence No.15 is omitted when PCON is
specified.
Sensor retraction by the sequence No.17 and 18 is omitted when PRET is specified.
6130-E P-376
SECTION 8 NON-CONTACT SENSOR GAUGING FUNCTION FOR HORIZONTAL MC
Calling sequence
CALL OO95 [PLI=*][PRS=*] [PSPN=* [PPIC=*] [PTOL=*]] [PUDT=*] [POVT=*] [PH=*]
[PRET=*] [PCON=*] [PGO=*] [PLE1=*] [PLE2=*][PF1=*] [PF2=*] [PF3=*] [PF4=*]
[PSBA=*] [PSAM=*] [PSPR=*] [PSRA=*] [PRTY=*]
PLI: Tool length
PRS: Spindle orientation position
PSPN [PPIC] [PTOL]: Gauging width in scanning [Pick feed in scanning] [Skip value in scanning]
PUDT: Under-travel amount in the first approach. (Default: 10 mm (0.39 in.))
POVT: Over-travel amount in the first approach. (Default: 10 mm (0.39 in.))
PH: Tool length offset number
PRET: Sensor retraction inhibiting parameter*
PCON: Z-axis retraction inhibiting parameter*
PGO: Parameter for designating the action when tool breakage is detected
PLE1: Threshold value for judging tool breakage
PLE2: Threshold value for judging tool wear
PSBA: Dwelling time [s] for sensor air blow (3 [s] by default)
PSAM: The number of gauging times
PSPR: Allowable difference between the maximum and the minimum measurements
PSRA: Action to be taken when the variation exceeds the allowable range (alarm)
PRTY: Action to be taken when the variation exceeds the allowable range (retry)
See the description of the zero setting cycle of the sensor for gauging in
lengthwise direction and the gauging cycle in lengthwise direction.
6130-E P-377
SECTION 8 NON-CONTACT SENSOR GAUGING FUNCTION FOR HORIZONTAL MC
Cycle operation
1. The sensor is positioned near the Z-axis positive limit.
2. The sensor is positioned at the Y-axis retract position, if the machine needs retraction of
Y-axis before gauging.
3. Spindle orientation is done except for gauging of rotating tool.
4. The sensor advances.
5. The B-axis moves to the machine zero at the rapid traverse when “1” is set at bit 5 of NC
optional parameter No. 36.
6. The X-axis is positioned at the sensor position.
7. The Y-axis is positioned at the sensor position.
8. The laser shutter opens.
9. Gauging cycle starts. (Sensor air blow is carried out for the 1st gauging.)
10. The Z-axis moves to the sensor position.
11. Scanning cycle starts if the cycle is selected.
12. In the case of several times of gauging, the NC repeats the gauging cycle by the
specified number of times.
13. The Z-axis moves to the sensor position.
14. The sensor is positioned near the Z-axis positive limit.*
15. The laser shutter closes.
16. The Y-axis retracts if it is so designed.*
17. The sensor retracts.*
18. The tool breakage or the tool wear are judged.
19. When the tool breakage is detected, the tool is changed according to the PGO setting.
* Positioning to the positive limit by the sequence No.14 is omitted when PCON is
specified.
Sensor retraction by the sequence No.16 and 17 is omitted when PRET is specified.
6130-E P-378
SECTION 8 NON-CONTACT SENSOR GAUGING FUNCTION FOR HORIZONTAL MC
Calling sequence
CALL OO96 [PRI=*] [PLI=*] [PRS=*] [PSPN=* [PPIC=*] [PTOL=*]] [PIN=*] [PUDT=*] [POVT=*]
[PD=*] [PRET=*] [PCON=*] [PGO=*] [PLE1=*] [PLE2=*] [PF1=*] [PF2=*]
[PF3=*] [PF4=*] [PSBA=*] [PSAM=*] [PSPR=*] [PSRA=*] [PRTY=*]
PLI: Tool length
PRI: Cutter radius
PRS: Spindle orientation position
PSPN [PPIC] [PTOL]: Gauging width in scanning [Pick feed in scanning] [Skip value in
scanning]
PIN: Z-axis infeed amount
PUDT: Under-travel amount in the first approach. (Default: 10 mm (0.39 in.))
POVT: Over-travel amount in the first approach. (Default: 10 mm (0.39 in.))
PD: Cutter radius compensation number
PRET: Sensor retraction inhibiting parameter*
PCON: Z-axis retraction inhibiting parameter*
PGO: Parameter for designating the action when tool breakage is detected
PLE1: Threshold value for judging tool breakage
PLE2: Threshold value for judging tool wear
PF1: The 1st approach speed of the sensor
PF2: The 2nd approach speed of the sensor
PF3: The 3rd approach speed of the sensor & the 1st approach speed in scanning cycle
PF4: The 4th approach speed of the sensor & the 2nd approach speed in scanning cycle
PSBA: Dwelling time [s] for sensor air blow (3 [s] by default)
PSAM: The number of gauging times
PSPR: Allowable difference between the maximum and the minimum measurements
PSRA: Action to be taken when the variation exceeds the allowable range (alarm)
PRTY: Action to be taken when the variation exceeds the allowable range (retry)
See the description of the zero setting cycle of the sensor for gauging in
lengthwise direction and the gauging cycle in lengthwise direction.
6130-E P-379
SECTION 8 NON-CONTACT SENSOR GAUGING FUNCTION FOR HORIZONTAL MC
Cycle operation
1. The sensor is positioned near the Z-axis positive limit.
2. The sensor is positioned at the Y-axis retract position, if the machine needs retraction of
Y-axis before gauging.
3. Spindle orientation is done except for gauging of rotating tool.
4. The sensor advances.
5. The B-axis moves to the machine zero at the rapid traverse when “1” is set at bit 5 of NC
optional parameter No. 36.
6. The X-axis is positioned at the sensor position.
7. The Y-axis moves to the under-travel position.
8. The Z-axis is positioned at the sensor position. (When PIN is specified, the Z-axis shifts
in infeed direction by a distance specified with PIN.)
9. The laser shutter opens.
10. Gauging cycle starts. (Sensor air blow is carried out for the 1st gauging.)
11. The X-axis moves to the sensor position.
12. Scanning cycle starts if the cycle is selected.
13. In the case of several times of gauging, the NC repeats the gauging cycle by the
specified number of times.
14. The X-axis moves to the sensor position.
15. The sensor is positioned near the Z-axis positive limit.*
16. The laser shutter closes.
17. The Y-axis retracts if it is so designed.*
18. The sensor retracts.*
19. The tool breakage or the tool wear are judged.
20. When the tool breakage is detected, the tool is changed according to the PGO setting.
* Positioning to the positive limit by the sequence No.15 is omitted when PCON is
specified.
Sensor retraction by the sequence No.17 and 18 is omitted when PRET is specified.
6130-E P-380
SECTION 8 NON-CONTACT SENSOR GAUGING FUNCTION FOR HORIZONTAL MC
ME61315R0301000040002
Calling sequence
CALL OO97 [PLI=*] [PRI=*] [PRS=*] [PIN=*] [PUDT=*] [POVT=*] [PH=*] [PRET=*]
[PCON=*]
PLI: Tool length
Specify the tool length offset amount. When omitted, the value specified with the
offset number is set.
PRI: Cutter radius
Specify the cutter radius compensation amount. When omitted, the value specified
with the offset number is set.
PRS: Spindle orientation position
PIN: Z-axis infeed amount
The sensor starts gauging by shifting from the starting position in the negative
direction by a distance specified with PIN. (Default: 0.2 mm (0.008 in.))
PUDT: Under-travel amount in the first approach. (Default: 50 mm (1.97 in.))
POVT: Over-travel amount in the first approach. (Default: 10 mm (0.39 in.))
PH: Tool offset number
Specify the tool off set number. When omitted, the active tool number (VTLCN) is
set.
PRET: Sensor retraction inhibiting parameter*
PCON: Z-axis retraction inhibiting parameter*
Refer to the sensor zero setting cycle in the lengthwise direction.
6130-E P-381
SECTION 8 NON-CONTACT SENSOR GAUGING FUNCTION FOR HORIZONTAL MC
Cycle operation
1. The sensor is positioned near the Z-axis positive limit.
2. The sensor is positioned at the Y-axis retract position, if the machine needs retraction of
Y-axis before gauging.
3. Spindle orientation is done except for gauging of rotating tool.
4. The sensor advances.
5. The B-axis moves to the machine zero at the rapid traverse when “1” is set at bit 5 of NC
optional parameter No. 36.
6. The X-axis is positioned at the sensor position.
7. The Y-axis moves to the under-travel position.
8. The Z-axis is positioned at the sensor position. (When PIN is specified, the Z-axis shifts
in infeed direction by a distance specified with PIN.)
9. The laser shutter opens.
10. The X-axis skips to the target position (sensor position + over travel position).
11. The sensor is positioned near the Z-axis positive limit.*
12. The laser shutter closes.
13. The Y-axis retracts if it is so designed.*
14. The sensor retracts.*
15. The tool breakage is judged.
16. When the tool breakage is detected, the tool is changed according to the PGO setting.
* Positioning to the positive limit by the sequence No.11 is omitted when PCON is
specified.
Sensor retraction by the sequence No.13 and 14 is omitted when PRET is specified.
6130-E P-382
SECTION 8 NON-CONTACT SENSOR GAUGING FUNCTION FOR HORIZONTAL MC
[Measures to Take]
Use a proper tool, such as a spare tool.
9-1. Outline
If a non-contact sensor is mounted on a horizontal MC, there is an area in which the tool interferes
with the sensor when a large-diameter tool is attached to the spindle, and consequently the tool may
strike against the sensor.
To prevent the tool from striking against the sensor, a special barrier function is adopted.
This function is intended to limit the X-axis travel depending on the Y-axis position.
a. If the DISPLAY CHANGE popup window shows BARRIER (X, Y), select it to display the
BARRIER (X, Y) screen.
ME61315R0301100020001
6130-E P-384
SECTION 9 SPECIAL BARRIER FUNCTION FOR HORIZONTAL MC
The Y-axis position in the machine coordinate system is within the set range.
The X-axis position in the machine coordinate system is not within the set range.
6130-E P-385
SECTION 9 SPECIAL BARRIER FUNCTION FOR HORIZONTAL MC
ME61315R0301100040001
9-3. Alarms
9-3-1. Alarm A
1203 Barrier
If a non-contact sensor is mounted on a horizontal MC, there is an area in
which the tool interferes with the sensor when a large-diameter tool is
attached to the spindle.
On the parameter setting screen, set a barrier as the interference range of the
X- and Y-axes.
When (Barrier Y-axis N limit ≤ Y command value ≤ Barrier Y-axis P limit), the
alarm lamp lights in either of the following cases:
(Barrier X-axis N limit value ≥ X command value) or
(Barrier X-axis P limit value ≤ X command value).
[Index]
None
[Character-string]
None
[Code]
2: Special barrier function for horizontal MC
[Measures to Take]
Review the program.
A barrier check does not take place in the manual operation mode. When the
barrier alarm lamp is lit, select the manual operation mode and reset the
alarm. After resetting, axis movement is possible only with the pulse handle.
Move the problem axis out of the barrier range using the pulse handle.
6130-E P-387
SECTION 10 NON-CONTACT SENSOR GAUGING FUNCTION FOR MCR-AF
ME61315R0301200010001
* Scanning gauging: The sensor gauges a tool in a gauging direction (e.g. the X-axis) and shifts
along the axis at right angles with the gauging axis (e.g. the Z-axis). By repeating the above
gauging several times, the sensor determines the maximum tool length (or diameter).
6130-E P-388
SECTION 10 NON-CONTACT SENSOR GAUGING FUNCTION FOR MCR-AF
10-2. Outline
Non-contact sensor gauging is roughly classified into two methods according to the position where
the sensor is installed: This manufacturer’s subprogram (hereinafter called the MSB) is for a fixed
sensor and can gauge vertical spindle tools.
The sensor mode (fixed/movable) can be switched by bit 3 of the system-variable VFST.
Bit 3 of VFST 0 ...... Movable sensor
1 ...... Fixed sensor
ME61315R0301200020001
Gauging program
Programs classified by the sensor position are described on the following pages.
ME61315R0301200030001
Procedure :
1 Move the X-axis to the position to be set as the X-axis retract position.
The positions of the Z- and Y-axes do not affect the setting.
2 Select the automatic operation mode and execute the following subprogram:
CALL OO120
M02
[Spindle speed]
When performing gauging while rotating the spindle, specify the spindle speed by referring to
the speed obtained by the following formula:
S=F/N
Here,
S means the actual spindle speed. This is the S command value multiplied by the spindle
speed override.
F is the actual feedrate. If PF1 (the 1st approach speed of the sensor) is not specified with an
argument, this value is 2,000 multiplied by the cutting feedrate override. If PF1 is specified
with an argument, this value is the specified value multiplied by the cutting feedrate override.
N is the number of tool blades.
The laser sensor mounting position of the double-column MC “MCR-AF” is outside the travel limit.
That is, gauging is performed in a range out of the control of the soft limit.
In the sensor zero setting cycle (OO93 or OO94) of this manufacturer’s subprogram, the spindle
is positioned in the sensor position, and it is, therefore, necessary for the operator to move it out
of the travel limit by manual interrupt.
Perform this operation with extreme care because it is very dangerous.
6130-E P-391
SECTION 10 NON-CONTACT SENSOR GAUGING FUNCTION FOR MCR-AF
Calling sequence
CALL OO93 PAXI=* PLI=* [PRS=*] [PSPN=* [PPIC=*] [PTOL=*]] [PUDT=*] [POVT=*] [PAT=*]
[PF1=*] [PF2=*] [PF3=*] [PF4=*] [PSBA=*]
PAXI: Axis of which zero point is set (bit0: the X-axis, bit1: the Y-axis, bit2: Z-axis)
Normal setting is #04H.
PLI: Reference tool length
For the absolute position offset (as mentioned earlier), specify the length from the
gauge line to the end of the reference tool. For the relative position offset, specify
the difference between the reference tool length for relative position offset and the
reference tool length used for individual gauging. If they are the same, just specify
0.
PRS: Spindle orientation position
If PRS is omitted and an M code for spindle rotation (M03 or M04) is specified, the
tool is measured while in rotation. When PRS is specified, the spindle is orient-
stopped and the sensor gauges the stopped tool. With out the above M code,
however, the spindle is orient-stopped and the sensor gauges the stopped tool
even if PRS is omitted.
PSPN [PPIC] [PTOL]: Gauging width in scanning [Pick feed in scanning] [Skip value in
scanning]
Specify the width of gauging in one direction. In scanning gauging, the sensor
measures the tool in both positive and negative directions. Without designation of
PSPN, the sensor cannot gauge the tool. The default pick feed for gauging is 0.1
mm (0.004 in.). Scanning gauging is intended for determining the maximum tool
length position.
When the measured value decreased, it is assumed that the subsequent gauging
data will no more in crease. This means the sensor does not need to continue
gauging before it covers the width of PSPN. The criterion for stopping gauging is
called skip value. The default is 0.005 mm (0.00020 in.).
ME61315R0301200040001
6130-E P-392
SECTION 10 NON-CONTACT SENSOR GAUGING FUNCTION FOR MCR-AF
Gauging operation
1. Install the reference tool.
2. Execute the sensor zero setting cycle in automatic or MDI operation mode.
6130-E P-393
SECTION 10 NON-CONTACT SENSOR GAUGING FUNCTION FOR MCR-AF
Cycle operation
1. The laser shutter opens.
2. The sensor advances.
3. The ATC door opens (disabling the Z-axis limit).
4. The program stops on reception of M00.
5. Select the manual interrupt mode and move the reference tool near the sensor.
The operator must perform the following operations:
Turn ON manual interrupt mode.
Manually move the reference tool close to the sensor (where the laser beam is
blocked simply by Z-axis movement).
Turn OFF manual interrupt mode.
Press the START button.
6. The shift is canceled.
7. The sensor is positioned near the Z-axis positive limit.
8. The sensor is positioned at the X-axis retract position.
9. Spindle orientation is done except for gauging of rotating tool.
10. The X-axis is positioned.
11. The Z-axis moves to the under-travel position.
12. Gauging cycle starts. (Sensor air blow is carried out for the 1st gauging.)
13. The Z-axis moves to the sensor position.
14. Scanning cycle starts if the cycle is selected.
15. The sensor is positioned near the Z-axis positive limit.
16. The laser shutter closes.
17. The X-axis retracts.
18. The sensor retracts.
19. The ATC door closes (enabling the Z-axis limit).
6130-E P-394
SECTION 10 NON-CONTACT SENSOR GAUGING FUNCTION FOR MCR-AF
Calling sequence
CALL OO94 PAXI=* PRI=* PLI=* [PIN=*] [PRS=*] [PSPN=* [PPIC=*] [PTOL=*]] [PUDT=*]
[POVT=*] [PAT=*] [PF1=*] [PF2=*] [PF3=*] [PF4=*] [PSBA=*]
PAXI: Axis of which zero point is set (bit0: X-axis, bit1: Y-axis, and bit2: Z-axis)
Normal setting is #01H.
PRI: Reference tool radial
Specify the cutter radius of the reference tool.
PLI: Reference tool length
Refer to the sensor zero setting cycle in the lengthwise direction.
PIN: Z-axis infeed amount
When the sensor zero setting cycle is executed, the sensor starts gauging by
shifting from the starting position in the negative direction by a distance specified
with PIN.
PRS: Spindle orientation position
Refer to the sensor zero setting cycle in the lengthwise direction.
PSPN [PPIC] [PTOL]: Gauging width in scanning [Pick feed in scanning] [Skip value in
scanning]
Refer to the sensor zero setting cycle in the lengthwise direction.
PUDT: Under-travel amount in the first approach. (Default: 50 mm (1.97 in.))
POVT: Over-travel amount in the first approach. (Default: 50 mm (1.97 in.))
PAT: Attachment offset number
Refer to the sensor zero setting cycle in the lengthwise direction.
PF1: The 1st approach speed of the sensor
PF2: The 2nd approach speed of the sensor
PF3: The 3rd approach speed of the sensor & the 1st approach speed in scanning cycle
PF4: The 4th approach speed of the sensor & the 2nd approach speed in scanning cycle
Refer to the sensor zero setting cycle in the lengthwise direction.
PSBA: Dwelling time [s] for sensor air blow (3 [s] by default)
Gauging operation
1. Install the reference tool.
2. Execute the sensor zero setting cycle in automatic or MDI operation mode.
6130-E P-395
SECTION 10 NON-CONTACT SENSOR GAUGING FUNCTION FOR MCR-AF
Cycle operation
1. The laser shutter opens.
2. The sensor advances.
3. The ATC door opens (disabling the Z-axis limit).
4. The program stops on reception of M00.
5. Select the manual interrupt mode and move the reference tool near the sensor.
The operator must perform the following operations:
Turn ON manual interrupt mode.
Manually move the reference tool close to the sensor (where the laser beam is
blocked simply by X-axis movement).
Turn OFF manual interrupt mode.
Press the START button.
6. The shift is canceled.
7. The sensor is positioned near the Z-axis positive limit.
8. The sensor is positioned at the X-axis retract position.
9. Spindle orientation is done except for gauging of rotating tool.
10. The X-axis is positioned at the under-travel position.
11. The Z-axis is positioned at the gauging starting position. (When PIN is specified, the Z-
axis shifts from the starting position in the negative direction by a distance specified with
PIN.)
12. Gauging cycle starts. (Sensor air blow is carried out for the 1st gauging.)
13. The X-axis moves to the sensor position.
14. Scanning cycle starts if the cycle is selected.
15. The sensor is positioned near the Z-axis positive limit.
16. The laser shutter closes.
17. The X-axis retracts.
18. The sensor retracts.
19. The ATC door closes (enabling the Z-axis limit).
6130-E P-396
SECTION 10 NON-CONTACT SENSOR GAUGING FUNCTION FOR MCR-AF
Calling sequence
CALL OO95 PLI=* [PRS=*] [PSPN=* [PPIC=*] [PTOL=*]] [PUDT=*] [POVT=*] [PAT=*] [PH=*]
[PF1=*] [PF2=*] [PF3=*] [PF4=*] [PSBA=*] [PSAM=*] [PSPR=*] [PSRA=*]
[PRTY=*]
PLI: Tool length
Specify the (expected) tool length.
PRS: Spindle orientation position
Refer to the sensor zero setting cycle in the lengthwise direction.
PSPN [PPIC] [PTOL]:Gauging width in scanning [Pick feed in scanning] [Skip value in scanning]
Refer to the sensor zero setting cycle in the lengthwise direction.
PUDT: Under-travel amount in the first approach. (Default: 10 mm (0.39 in.))
POVT: Over-travel amount in the first approach. (Default: 10 mm (0.39 in.))
PAT: Attachment offset number
Refer to the sensor zero setting cycle in the lengthwise direction.
PH: Tool length offset number
Specify the tool length offset number where the gauged tool length is stored.
When PH is omitted, the active tool offset number (VTLCN) is set.
PF1: The 1st approach speed of the sensor
PF2: The 2nd approach speed of the sensor
PF3: The 3rd approach speed of the sensor & the 1st approach speed in scanning cycle
PF4: The 4th approach speed of the sensor & the 2nd approach speed in scanning cycle
Refer to the sensor zero setting cycle in the lengthwise direction.
PSBA: Dwelling time [s] for sensor air blow (3 [s] by default)
PSAM: The number of gauging times.
If PSAM is set to 2 or more, the NC repeats the gauging cycle by the set number
of times.
For the 1st gauging, the NC performs normal gauging (with 4 times of approach).
For the 2nd and later gauging cycles, the NC performs gauging by 2 times of
approach to the sensor. The approaching speeds in the 2nd and later gauging
cycles are as follows:
1st approach ... The 3rd approach speed in the normal gauging cycle
2nd approach ... The 4th approach speed in the normal gauging cycle
The average value obtained by several times of gauging is regarded as the finally
measured value.
The 2nd and later gauging cycles do not include the scanning gauging.
The default is 3 (times).
PSPR: Allowable difference between the maximum and the minimum measurements
The maximum and the minimum values are obtained from the results of several
times of gauging. Set the allowable range of the difference between the maximum
and minimum measurements (variation) at this parameter. The default is 0.005
[mm] (0.00020 in.).
PSRA: Action to be taken when the variation exceeds the allowable range (alarm)
Set whether the variation exceeding the allowable range causes an alarm or not.
Set “1” if you want an alarm to be generated. Set “0” if not. The default is “0” (no
alarm).
6130-E P-397
SECTION 10 NON-CONTACT SENSOR GAUGING FUNCTION FOR MCR-AF
PRTY: Action to be taken when the variation exceeds the allowable range (retry).
Set whether the variation exceeding the allowable range triggers another gauging
cycle or not. When retry is desired, set the number of retry times at PRTY.
If retry is not desired, set “0” at PRTY.
The NC performs gauging by the number of times set at PSAM (number of
gauging times) for each retry gauging. During the retry gauging, two times of
approach is made even in the 1st gauging cycle.
If the variation does not fall within the allowable range after the specified number
of retrials, an alarm occurs.
If PSRA is set to “1”, the PRTY value is ignored. If “0” is set at both PSRA and
PRTY, the average value is regarded as the measured value even when the
variation is out of the allowable range. The default is “0” (no retry).
Cycle operation
1. The laser shutter opens.
2. The sensor is positioned near the Z-axis positive limit.
3. The sensor is positioned at the X-axis retract position, if the machine needs retraction of
Y-axis before gauging.
4. Spindle orientation is done except for gauging of rotating tool.
5. The ATC door opens (disabling the Z-axis limit).
6. The sensor advances.
7. The X-axis is positioned at the sensor position.
8. Gauging cycle starts. (Sensor air blow is carried out for the 1st gauging.)
9. The Z-axis moves to the sensor position.
10. Scanning cycle starts if the cycle is selected.
11. In the case of several times of gauging, the NC repeats the gauging cycle by the
specified number of times.
12. The Z-axis moves to the sensor position.
13. The sensor is positioned near the Z-axis positive limit.
14. The laser shutter closes.
15. The X-axis retracts.
16. The sensor retracts.
17. The ATC door closes (enabling the Z-axis limit).
6130-E P-398
SECTION 10 NON-CONTACT SENSOR GAUGING FUNCTION FOR MCR-AF
Calling sequence
CALL OO96 PRI=* [PRS=*] [PSPN=* [PPIC=*] [PTOL=*]] [PIN=*] [PUDT=*] [POVT=*]
[PAT=*] [PD=*] [PGO=*] [PF1=*] [PF2=*] [PF3=*] [PF4=*]
[PSBA=*] [PSAM=*] [PSPR=*] [PSRA=*] [PRTY=*]
PLI: Tool length
Specify the offset amount of the tool length.
PRI: Cutter radius
Specify the offset amount of the cutter radius (: the expected offset amount of the
cutter radius).
PRS: Spindle orientation position
Refer to the sensor zero setting cycle in the lengthwise direction.
PSPN [PPIC] [PTOL]: Gauging width in scanning [Pick feed in scanning] [Skip value in
scanning]
Refer to the sensor zero setting cycle in the lengthwise direction.
PIN: Z-axis infeed amount
The sensor starts gauging by shifting from the starting position in the negative
direction by a distance specified with PIN.
PUDT: Under-travel amount in the first approach. (Default: 10 mm (0.39 in.))
POVT: Over-travel amount in the first approach. (Default: 10 mm (0.39 in.))
PAT: Attachment offset number
Refer to the Gauging cycle in the lengthwise direction.
PD: Cutter radius compensation number
Specify the cutter radius compensation number where is stored the gauged cutter
radius.
When omitted, the active tool compensation number (VTLCN) is set.
PF1: The 1st approach speed of the sensor
PF2: The 2nd approach speed of the sensor
PF3: The 3rd approach speed of the sensor & the 1st approach speed in scanning cycle
PF4: The 4th approach speed of the sensor & the 2nd approach speed in scanning cycle
Refer to the sensor zero setting cycle in the lengthwise direction.
PSBA: Dwelling time [s] for sensor air blow (3 [s] by default)
PSAM: The number of gauging times
Refer to the Gauging cycle in lengthwise direction.
PSPR: Allowable difference between the maximum and the minimum measurements
Refer to the Gauging cycle in lengthwise direction.
PSRA: Action to be taken when the variation exceeds the allowable range (alarm)
Refer to the Gauging cycle in lengthwise direction.
PRTY: Action to be taken when the variation exceeds the allowable range (retry)
Refer to the Gauging cycle in lengthwise direction.
6130-E P-399
SECTION 10 NON-CONTACT SENSOR GAUGING FUNCTION FOR MCR-AF
Cycle operation
1. The laser shutter opens.
2. The sensor is positioned near the Z-axis positive limit.
3. The sensor is positioned at the X-axis retract position.
4. Spindle orientation is done except for gauging of rotating tool.
5. The ATC door opens (disabling the Z-axis limit).
6. The sensor advances.
7. The X-axis moves to the under-travel position.
8. The Z-axis is positioned at the sensor position. (When PIN is specified, the sensor
position shifts in infeed direction by a distance specified with PIN.)
9. Gauging cycle starts. (Sensor air blow is carried out for the 1st gauging.)
10. The X-axis moves to the sensor position.
11. Scanning cycle starts if the cycle is selected.
12. In the case of several times of gauging, the NC repeats the gauging cycle by the
specified number of times.
13. The X-axis moves to the sensor position.
14. The sensor is positioned near the Z-axis positive limit.
15. The laser shutter closes.
16. The X-axis retracts.
17. The sensor retracts.
18. The ATC door closes (enabling the Z-axis limit).
6130-E P-400
SECTION 10 NON-CONTACT SENSOR GAUGING FUNCTION FOR MCR-AF
Calling sequence
CALL OO99 [PH=*] [PLI=*] [PRI=*] [PRA=*] [PRS=*] [PUDT=*] [POVT=*] [PAT=*]
[PRE=*] [PF1=*] [PF2=*] [PF3=*] [PF4=*] [PSBA=*]
PH: Tool length offset, cutter radius compensation number
Specify the tool management number where the tool length offset amount and the
cutter radius compensation amount are stored for judgment of sphericity. When
PH is omitted, the active tool number (VTLCN) is set.
PLI: Tool length
Specify the tool length. When omitted, the offset amount of the tool management
number is set.
PRI: Cutter radius
Specify the cutter radius. When omitted, the compensation amount of the tool
management number is set.
PRA: The angle added for gauging sphericity
The sensor gauges the sphericity from the length wise direction to the radial
direction.
Specify the incremental angle used for this gauging. The angle must be 5° or over
and a divisor of 90°. Default is 15°.
PRS: Spindle orientation position
Refer to the sensor zero setting cycle in the lengthwise direction.
PUDT: Under-travel amount in the first approach. (Default: 10 mm (0.39 in.))
POVT: Over-travel amount in the first approach. (Default: 10 mm (0.39 in.))
PAT: Attachment offset number
Refer to the Gauging in the lengthwise direction.
PRE: Maximum allowable error
When the error in the sphericity gauging exceeds this amount, an alarm occurs.
When PRE is not specified, the cycle does not judge the errors.
PF1: The 1st approach speed of the sensor
PF2: The 2nd approach speed of the sensor
PF3: The 3rd approach speed of the sensor & the 1st approach speed in scanning cycle
PF4: The 4th approach speed of the sensor & the 2nd approach speed in scanning cycle
Refer to the sensor zero setting cycle in the lengthwise direction.
PSBA: Dwelling time [s] for sensor air blow (3 [s] by default)
6130-E P-401
SECTION 10 NON-CONTACT SENSOR GAUGING FUNCTION FOR MCR-AF
Cycle operation
1. The laser shutter opens.
2. The sensor is positioned near the Z-axis positive limit.
3. The sensor is positioned at the X-axis retract position.
4. Spindle orientation is done except for gauging of rotating tool.
5. The ATC door opens (disabling the Z-axis limit).
6. The sensor advances.
7. The X-axis is positioned at the sensor position.
8. Gauging cycle starts.(Sensor air blow is carried out for the 1st gauging.)
9. The X-axis and the Z-axis move to the sensor position.
10. The PRA angle is added and the sensor gauges sphericity in the slanting direction.
11. Operation sequences No.9 and 10 are repeated up to the gauging angle of 90°.
12. The X-axis and Z-axis move to the sensor position.
13. The sensor gauges in the radial direction.
14. The sensor is positioned near the Z-axis positive limit.
15. The laser shutter closes.
16. The X-axis retracts.
17. The sensor retracts.
18. The ATC door closes (enabling the Z-axis limit).
19. The sphericity is judged, if the judgment command is specified.
6130-E P-402
SECTION 10 NON-CONTACT SENSOR GAUGING FUNCTION FOR MCR-AF
Calling sequence
CALL OO95 [PLI=*] [PRS=*] [PSPN=* [PPIC=*] [PTOL=*]] [PUDT=*] [POVT=*] [PAT=*] [PH=*]
[PGO=*] [PLE1=*] [PLE2=*][PF1=*] [PF2=*] [PF3=*] [PF4=*]
[PSBA=*] [PSAM=*] [PSPR=*] [PSRA=*] [PRTY=*]
PLI: Tool length
Specify the tool length (: the expected tool length).
PRS: Spindle orientation position
Refer to the sensor zero setting cycle in the lengthwise direction.
PSPN [PPIC] [PTOL]: Gauging width in scanning [Pick feed in scanning] [Skip value in scanning]
Refer to the sensor zero setting cycle in the lengthwise direction.
PUDT: Under-travel amount in the first approach. (Default: 10 mm (0.39 in.))
POVT: Over-travel amount in the first approach. (Default: 10 mm (0.39 in.))
PAT: Attachment offset number
Refer to the [Gauging cycle in the lengthwise direction].
PH: Tool length offset number
Specify the tool length offset number of which data is compared with the gauging
result.
When omitted, the active tool number (VTLCN) is set.
PGO: Action to be taken on detection of tool breakage
PGO= The tool is changed on detection of tool breakage.
1
PGO= The tool is changed on detection of tool breakage. The broken tool moves
2 to the tool change position before being changed.
If PGO is omitted, the cycle ends with alarm occurrence.
PLE1: Threshold value for judging tool breakage
Specify the threshold value for judging tool breakage as a difference from the tool
offset value. Default is 0.1 mm (0.004 in.).
PLE2: Threshold value for judging tool wear
Specify the threshold value for judging tool wear as a difference from the tool
offset value. When the difference is less than PLE2, the NC judges that the tool is
worn and up dates the tool length offset amount. If PLE2 is omitted, the NC does
not make this judgment.
PF1: The 1st approach speed of the sensor
PF2: The 2nd approach speed of the sensor
PF3: The 3rd approach speed of the sensor & the 1st approach speed in scanning cycle
PF4: The 4th approach speed of the sensor & the 2nd approach speed in scanning cycle
Refer to the sensor zero setting cycle in the lengthwise direction.
PSBA: Dwelling time [s] for sensor air blow (3 [s] by default)
PSAM: The number of gauging times
Refer to the Gauging cycle in lengthwise direction.
PSPR: Allowable difference between the maximum and the minimum measurements
Refer to the Gauging cycle in lengthwise direction.
6130-E P-403
SECTION 10 NON-CONTACT SENSOR GAUGING FUNCTION FOR MCR-AF
PSRA: Action to be taken when the variation exceeds the allowable range (alarm)
Refer to the [Gauging cycle in lengthwise direction].
PRTY: Action to be taken when the variation exceeds the allowable range (retry)
Refer to the [Gauging cycle in lengthwise direction].
Cycle operation
1. The laser shutter opens.
2. The sensor is positioned near the Z-axis positive limit.
3. The sensor is positioned at the X-axis retract position.
4. Spindle orientation is done except for gauging of rotating tool.
5. The ATC door opens (disabling the Z-axis limit).
6. The sensor advances.
7. The X-axis is positioned at the sensor position.
8. Gauging cycle starts. (Sensor air blow is carried out for the 1st gauging.)
9. The Z-axis moves to the sensor position.
10. Scanning cycle starts if the cycle is selected.
11. In the case of several times of gauging, the NC repeats the gauging cycle by the
specified number of times.
12. The Z-axis moves to the sensor position.
13. The sensor is positioned near the Z-axis positive limit.
14. The laser shutter closes.
15. The X-axis retracts.
16. The sensor retracts.
17. The ATC door closes (enabling the Z-axis limit).
18. The tool breakage or the tool wear are judged.
19. When the tool breakage is detected, the tool is changed according to the PGO setting.
6130-E P-404
SECTION 10 NON-CONTACT SENSOR GAUGING FUNCTION FOR MCR-AF
Calling sequence
CALL OO96 [PRI=*] [PLI=*] [PRS=*] [PSPN=* [PPIC=*] [PTOL=*]] [PIN=*] [PUDT=*] [POVT=*]
[PAT=*] [PD=*] [PGO=*] [PLE1=*] [PLE2=*] [PF1=*] [PF2=*]
[PF3=*] [PF4=*] [PSBA=*] [PSAM=*] [PSPR=*] [PSRA=*] [PRTY=*]
PLI: Tool length
Specify the offset amount of the tool length.
PRI: Cutter radius
Specify the offset amount of the cutter radius (: the expected offset amount of the
cutter radius).
PRS: Spindle orientation position
Refer to the sensor zero setting cycle in the lengthwise direction.
PSPN [PPIC] [PTOL]: Gauging width in scanning [Pick feed in scanning] [Skip value in scanning]
Refer to the sensor zero setting cycle in the lengthwise direction.
PIN: Z-axis infeed amount
The sensor starts gauging by shifting from the starting position in the negative
direction by a distance specified with PIN.
PUDT: Under-travel amount in the first approach. (Default: 10 mm (0.39 in.))
POVT: Over-travel amount in the first approach. (Default: 10 mm (0.39 in.))
PAT: Attachment offset number
Refer to the [Gauging cycle in the lengthwise direction].
PD: Cutter radius compensation number
The cutter radius is compared with this value.
When omitted, the data of the active tool number (VTLCN) is set.
PGO: Action to be taken on detection of tool breakage
Refer to the sensor zero setting cycle in the lengthwise direction and the tool
breakage detection cycle.
PLE1: Threshold value for judging tool breakage
Refer to the sensor zero setting cycle in the lengthwise direction and the tool
breakage detection cycle.
PLE2: Threshold value for judging tool wear
Refer to the sensor zero setting cycle in the lengthwise direction and the tool
breakage detection cycle.
PF1: The 1st approach speed of the sensor
PF2: The 2nd approach speed of the sensor
PF3: The 3rd approach speed of the sensor & the 1st approach speed in scanning cycle
PF4: The 4th approach speed of the sensor & the 2nd approach speed in scanning cycle
Refer to the sensor zero setting cycle in the lengthwise direction.
PSBA: Dwelling time [s] for sensor air blow (3 [s] by default)
PSAM: The number of gauging times
Refer to the Gauging cycle in lengthwise direction.
PSPR: Allowable difference between the maximum and the minimum measurements
Refer to the Gauging cycle in lengthwise direction.
PSRA: Action to be taken when the variation exceeds the allowable range (alarm)
6130-E P-405
SECTION 10 NON-CONTACT SENSOR GAUGING FUNCTION FOR MCR-AF
Cycle operation
1. The laser shutter opens.
2. The sensor is positioned near the Z-axis positive limit.
3. The sensor is positioned at the X-axis retract position.
4. Spindle orientation is done except for gauging of rotating tool.
5. The ATC door opens (disabling the Z-axis limit).
6. The sensor advances.
7. The X-axis moves to the under-travel position.
8. The Z-axis is positioned at the sensor position. (When PIN is specified, the Z-axis shifts
in infeed direction by a distance specified with PIN.)
9. Gauging cycle starts. (Sensor air blow is carried out for the 1st gauging.)
10. The X-axis moves to the sensor position.
11. Scanning cycle starts if the cycle is selected.
12. In the case of several times of gauging, the NC repeats the gauging cycle by the
specified number of times.
13. The X-axis moves to the sensor position.
14. The sensor is positioned near the Z-axis positive limit.
15. The laser shutter closes.
16. The X-axis retracts.
17. The sensor retracts.
18. The ATC door closes (enabling the Z-axis limit).
19. The tool breakage or the tool wear are judged.
20. When the tool breakage is detected, the tool is changed according to the PGO setting.
6130-E P-406
SECTION 10 NON-CONTACT SENSOR GAUGING FUNCTION FOR MCR-AF
ME61315R0301200040002
Calling sequence
CALL OO97 [PLI=*] [PRI=*] [PRS=*] [PIN=*] [PUDT=*] [POVT=*] [PAT=*] [PH=*]
PLI: Tool length
Specify the tool length offset amount. When omitted, the value specified with the
offset number is set.
PRI: Cutter radius
Specify the cutter radius compensation amount. When omitted, the value specified
with the offset number is set.
PRS: Spindle orientation position
Refer to the sensor zero setting cycle in the lengthwise direction.
PIN: Z-axis infeed amount
The sensor starts gauging by shifting from the starting position in the negative
direction by a distance specified with PIN. (Default: 0.2 mm (0.008 in.))
PUDT: Under-travel amount in the first approach. (Default: 50 mm (1.97 in.))
POVT: Over-travel amount in the first approach. (Default: 10 mm (0.39 in.))
PAT: Attachment offset number
Refer to the [Gauging cycle in the lengthwise direction].
PH: Tool offset number
Specify the tool off set number. When omitted, the active tool number is set.
6130-E P-407
SECTION 10 NON-CONTACT SENSOR GAUGING FUNCTION FOR MCR-AF
Cycle operation
1. The laser shutter opens.
2. The sensor is positioned near the Z-axis positive limit.
3. The sensor is positioned at the X-axis retract position.
4. Spindle orientation is done except for gauging of rotating tool.
5. The ATC door opens (disabling the Z-axis limit).
6. The sensor advances.
7. The X-axis moves to the under-travel position.
8. The Z-axis is positioned at the sensor position. (When PIN is specified, the Z-axis shifts
in infeed direction by a distance specified with PIN.)
9. The X-axis skips to the target position (sensor position + over travel position).
10. The sensor is positioned near the Z-axis positive limit.
11. The laser shutter closes.
12. The X-axis retracts.
13. The sensor retracts.
14. The ATC door closes (enabling the Z-axis limit).
15. The tool breakage is judged.
16. When the tool breakage is detected, the tool is changed according to the PGO setting.
6130-E P-408
SECTION 10 NON-CONTACT SENSOR GAUGING FUNCTION FOR MCR-AF
[Measures to Take]
Use a proper tool, such as a spare tool.
ME61315R0301300010001
* Scanning gauging: The sensor gauges a tool in a gauging direction (e.g. the Y-axis) and shifts
along the axis at right angles with the gauging axis (e.g. the Z-axis). By repeating the above
gauging several times, the sensor determines the maximum tool length (or diameter).
6130-E P-410
SECTION 11 NON-CONTACT SENSOR GAUGING FUNCTION FOR 30°/45° AT
11-2. Outline
Non-contact sensor gauging is classified into two methods:
Gauging with a sensor fixed at a desired position
Gauging with a movable sensor
Gauging the tool mounted in a 30°/45° angular attachment (hereinafter called a 30°/45° AT) is
possible only with the fixed sensor.
Movable sensor for gauging a vertical spindle tool
Fixed sensor for gauging a vertical spindle tool or horizontal spindle tool
for 30°/45° AT
ME61315R0301300020001
The sensor mode (fixed/movable) can be switched by bit 3 of the system-variable VFST.
Bit 3 of VFST 0 ...... Movable sensor
1 ...... Fixed sensor
The tool-gauging program consists of the following maker’s subprograms:
Gauging program
Programs classified by the sensor position are described on the following pages.
6130-E P-411
SECTION 11 NON-CONTACT SENSOR GAUGING FUNCTION FOR 30°/45° AT
ME61315R0301300030001
6130-E P-412
SECTION 11 NON-CONTACT SENSOR GAUGING FUNCTION FOR 30°/45° AT
30° AT
[List of gauging preparation cycle]
OO31 Position setting cycle for tool change
OO32 Position setting cycle for Y-axis retract
OO123 Sensor zero setting cycle in the lengthwise direction
OO124 Sensor zero setting cycle in the radial direction
[List of gauging cycle]
OO125 Gauging in the lengthwise direction
OO126 Gauging in the radial direction
OO129 Gauging the sphericity
[List of tool breakage detection cycle]
OO125 Tool breakage detection in the lengthwise direction
OO126 Tool breakage detection in the radial direction
OO127 High-speed tool breakage detection
45° AT
[List of gauging preparation cycle]
OO31 Position setting cycle for tool change
OO32 Position setting cycle for Y-axis retract
OO113 Sensor zero setting cycle in the lengthwise direction
OO114 Sensor zero setting cycle in the radial direction
[List of gauging cycle]
OO115 Gauging in the lengthwise direction
OO116 Gauging in the radial direction
OO119 Gauging the sphericity
[List of tool breakage detection cycle]
OO115 Tool breakage detection in the lengthwise direction
OO116 Tool breakage detection in the radial direction
OO117 High-speed tool breakage detection
6130-E P-413
SECTION 11 NON-CONTACT SENSOR GAUGING FUNCTION FOR 30°/45° AT
Calling sequence
CALL OO123 PAXI=* PLI=* [PRS=*] [PSPN=* [PPIC=*] [PTOL=*]] [PUDT=*] [POVT=*] PAT=*
(OO113) [PRET=1] [PCON=1] [PF1=*] [PF2=*] [PF3=*] [PF4=*] [PSBA=*]
PAXI: Axis of which zero point is set (bit0: the X-axis, bit1: the Y-axis, bit2: Z-axis)
Normal setting is #06H.
PLI: Reference tool length
For the absolute position offset (as mentioned earlier), specify the length from
the gauge line to the end of the reference tool. For the relative position offset,
specify the difference between the reference tool length for relative position
offset and the reference tool length used for individual gauging. If they are the
same, just specify 0.
PRS: Spindle orientation position
If PRS is omitted and an M code for spindle rotation (M03 or M04) is specified,
the tool is measured while in rotation. When PRS is specified, the spindle is
orient-stopped and the sensor gauges the stopped tool. With out the above M
code, however, the spindle is orient-stopped and the sensor gauges the stopped
tool even if PRS is omitted.
PSPN [PPIC] [PTOL]: Gauging width in scanning [Pick feed in scanning] [Skip value in scanning]
Specify the width of gauging in one direction. In scanning gauging, the sensor
measures the tool in both positive and negative directions. Without designation
of PSPN, the sensor cannot gauge the tool. The default pick feed for gauging is
0.1 mm (0.004 in.). Scanning gauging is in tended for determining the maximum
tool length position.
When the measured value decreased, it is assumed that the subsequent
gauging data will no more in crease. This means the sensor does not need to
continue gauging before it covers the width of PSPN. The criterion for stopping
gauging is called skip value. The default is 0.005 mm (0.00020 in.).
ME61315R0301300040001
6130-E P-415
SECTION 11 NON-CONTACT SENSOR GAUGING FUNCTION FOR 30°/45° AT
Gauging operation
1. install the reference tool.
2. Advance the sensor with M144. (Ensure that the sensor does not interfere with anything.)
3. Turn on the laser with M375. (The laser is turned off by M374.)
4. Locate the tool near the sensor by hand. (Locate the tool in a position where the sensor
moves by angular operation in the tool lengthwise direction.)
5. Execute the sensor zero setting cycle in automatic or MDI operation mode.
6130-E P-416
SECTION 11 NON-CONTACT SENSOR GAUGING FUNCTION FOR 30°/45° AT
Cycle operation
1. The laser shutter opens.
2. The sensor is positioned near the Z-axis positive limit.
3. The sensor is positioned at the Y-axis retract position, if the machine needs retraction of
Y-axis before gauging.
4. Spindle orientation is done except for gauging of rotating tool.
5. The sensor advances.
6. The Y-axis moves to the under-travel position.
7. Locate the X-axis in the gauging start position.
8. The Z-axis moves to the under-travel position.
9. Gauging cycle starts. (Sensor air blow is carried out for the 1st gauging.)
10. The Y-axis and the Z-axis move to the sensor position.
11. Scanning cycle starts if the cycle is selected.
12. The sensor is positioned near the Z-axis positive limit.*
13. The laser shutter closes.
14. The Y-axis retracts if it is so designed.*
15. The sensor retracts.*
* Positioning to the positive limit by the sequence No.12 is omitted when PCON is
specified.
Sensor retraction by the sequence No.14 and 15 is omitted when PRET is specified.
6130-E P-417
SECTION 11 NON-CONTACT SENSOR GAUGING FUNCTION FOR 30°/45° AT
Calling sequence
CALL OO124 PAXI=* PRI=* PLI=* [PIN=*] [PRS=*] [PSPN=* [PPIC=*] [PTOL=*]] [PUDT=*]
(OO114) [POVT=*] PAT=* [PRET=*] [PCON=*] [PF1=*] [PF2=*] [PF3=*] [PF4=*] [PSBA=*]
PAXI: Axis of which zero point is set (bit0: X-axis, bit1: Y-axis, and bit2: Z-axis)
Normal setting is #06H.
PRI: Reference tool radial
Specify the cutter radius of the reference tool.
PLI: Reference tool length
Refer to the sensor zero setting cycle in the lengthwise direction.
PIN: Z-axis infeed amount
When the sensor zero setting cycle is executed, the sensor starts gauging by
shifting from the starting position in the negative direction by a distance specified
with PIN.
When calculating the sensor zero, however, set the tip of the reference tool as
the sensor zero by taking this Z-axis infeed amount into account.
PUDT: Under-travel amount in the first approach. (Default: 50 mm (1.97 in.))
POVT: Over-travel amount in the first approach. (Default: 50 mm (1.97 in.))
PRS: Spindle orientation position
PSPN [PPIC] [PTOL]: Gauging width in scanning [Pick feed in scanning] [Skip value in scanning]
PAT: Attachment offset number
PRET: Sensor retraction inhibiting parameter*
PCON: Z-axis retraction inhibiting parameter*
Usually the Z-axis is positioned near the positive travel limit where the gauging
cycle is finished. To hold the Z-axis after gauging, specify “1” for PCON.
PF1: The 1st approach speed of the sensor
PF2: The 2nd approach speed of the sensor
PF3: The 3rd approach speed of the sensor & the 1st approach speed in scanning cycle
PF4: The 4th approach speed of the sensor & the 2nd approach speed in scanning cycle
PSBA: Dwelling time [s] for sensor air blow (3 [s] by default)
Refer to the sensor zero setting cycle in the lengthwise direction.
Gauging operation
1. Install the reference tool.
2. Advance the sensor with M144. (Ensure that the sensor does not interfere with anything.)
3. Turn on the laser with M375. (The laser is turned off by M374.)
4. Locate the tool near the sensor by hand. (Locate the tool in a position where the sensor
moves at an upward angle of 90° from the lengthwise direction.)
5. Execute the sensor zero setting cycle in automatic or MDI operation mode.
6130-E P-418
SECTION 11 NON-CONTACT SENSOR GAUGING FUNCTION FOR 30°/45° AT
Cycle operation
1. The laser shutter opens.
2. The sensor is positioned near the Z-axis positive limit.
3. The sensor is positioned at the Y-axis retract position, if the machine needs retraction of
Y-axis before gauging.
4. Spindle orientation is done except for gauging of rotating tool.
5. The sensor advances.
6. Position the Y-axis at the under-travel position (if PIN is designated, locate the Y-axis in a
position shifted by the Y-axis component of PIN).
7. The X-axis is positioned at the gauging start position.
8. Position the Z-axis at the under-travel position (if PIN is designated, locate the Z-axis in a
position shifted by the Z-axis component of PIN).
9. Gauging cycle starts. (Sensor air blow is carried out for the 1st gauging.)
10. The Y-axis and the Z-axis move to the sensor position.
11. Scanning cycle starts if the cycle is selected.
12. The sensor is positioned near the Z-axis positive limit.*
13. The laser shutter closes.
14. The Y-axis retracts if it is so designed.*
15. The sensor retracts.*
* Positioning to the positive limit by the sequence No.12 is omitted when PCON is
specified.
Sensor retraction by the sequence No.14 and 15 is omitted when PRET is specified.
6130-E P-419
SECTION 11 NON-CONTACT SENSOR GAUGING FUNCTION FOR 30°/45° AT
Calling sequence
CALL OO125 PLI=* [PRS=*] [PSPN=* [PPIC=*] [PTOL=*]] [PUDT=*] [POVT=*] PAT=* [PH=*]
(OO115) [PRET=*] [PCON=*] [PF1=*] [PF2=*] [PF3=*] [PF4=*] [PSBA=*] [PSAM=*]
[PSPR=*] [PSRA=*] [PRTY=*]
PLI: Tool length
Specify the (expected) tool length.
PRS: Spindle orientation position
PSPN [PPIC] [PTOL]: Gauging width in scanning [Pick feed in scanning] [Skip value in scanning]
PUDT: Under-travel amount in the first approach. (Default: 10 mm (0.39 in.))
POVT: Over-travel amount in the first approach. (Default: 10 mm (0.39 in.))
PH: Tool length offset number
Specify the tool length offset number where the gauged tool length is stored.
When PH is omitted, the active tool offset number (VTLCN) is set.
PRET: Sensor retraction inhibiting parameter*
PCON: Z-axis retraction inhibiting parameter*
* Usually the Z-axis is positioned near the positive travel limit where the gauging
cycle is finished. To hold the Z-axis after gauging, specify “1” for PCON.
PF1: The 1st approach speed of the sensor
PF2: The 2nd approach speed of the sensor
PF3: The 3rd approach speed of the sensor & the 1st approach speed in scanning cycle
PF4: The 4th approach speed of the sensor & the 2nd approach speed in scanning cycle
PSBA: Dwelling time [s] for sensor air blow (3 [s] by default)
Refer to the sensor zero setting cycle in the lengthwise direction.
PAT: Attachment offset number
The offset must be set at VATSC [184, attachment offset designation number].
PSAM: The number of gauging times.
If PSAM is set to 2 or more, the NC repeats the gauging cycle by the set number
of times.
For the 1st gauging, the NC performs normal gauging (with 4 times of approach).
For the 2nd and later gauging cycles, the NC performs gauging by 2 times of
approach to the sensor. The approaching speeds in the 2nd and later gauging
cycles are as follows:
1st approach ... The 3rd approach speed in the normal gauging cycle
2nd approach ... The 4th approach speed in the normal gauging cycle
The average value obtained by several times of gauging is regarded as the finally
measured value.
The 2nd and later gauging cycles do not include the scanning gauging.
The default is 3 (times).
PSPR: Allowable difference between the maximum and the minimum measurements
The maximum and the minimum values are obtained from the results of several
times of gauging. Set the allowable range of the difference between the maximum
and minimum measurements (variation) at this parameter. The default is 0.005
[mm] (0.00020 in.).
6130-E P-420
SECTION 11 NON-CONTACT SENSOR GAUGING FUNCTION FOR 30°/45° AT
PSRA: Action to be taken when the variation exceeds the allowable range (alarm)
Set whether the variation exceeding the allowable range causes an alarm or not.
Set “1” if you want an alarm to be generated. Set “0” if not. The default is “0” (no
alarm).
PRTY: Action to be taken when the variation exceeds the allowable range (retry).
Set whether the variation exceeding the allowable range triggers another gauging
cycle or not. When retry is desired, set the number of retry times at PRTY.
If retry is not desired, set “0” at PRTY.
The NC performs gauging by the number of times set at PSAM (number of
gauging times) for each retry gauging. During the retry gauging, two times of
approach is made even in the 1st gauging cycle.
If the variation does not fall within the allowable range after the specified number
of retrials, an alarm occurs.
If PSRA is set to “1”, the PRTY value is ignored. If “0” is set at both PSRA and
PRTY, the average value is regarded as the measured value even when the
variation is out of the allowable range. The default is “0” (no retry).
Cycle operation
1. The laser shutter opens.
2. The sensor is positioned near the Z-axis positive limit.
3. The sensor is positioned at the Y-axis retract position, if the machine needs retraction of
Y-axis before gauging.
4. Spindle orientation is done except for gauging of rotating tool.
5. The sensor advances.
6. The Y-axis is positioned on the extension line from the sensor position in the tool
lengthwise direction.
7. The X-axis is positioned at the gauging start position.
8. Gauging cycle starts. (Sensor air blow is carried out for the 1st gauging.)
9. The Y-axis and the Z-axis move to the sensor position.
10. Scanning cycle starts if the cycle is selected.
11. In the case of several times of gauging, the NC repeats the gauging cycle by the
specified number of times.
12. The Z-axis moves to the sensor position.*
13. The laser shutter closes.
14. The Y-axis retracts if it is so designed.*
15. The sensor retracts.*
* Positioning to the positive limit by the sequence No.12 is omitted when PCON is
specified.
Sensor retraction by the sequence No.14 and 15 is omitted when PRET is specified.
6130-E P-421
SECTION 11 NON-CONTACT SENSOR GAUGING FUNCTION FOR 30°/45° AT
Calling sequence
CALL OO126 PRI=* PLI=* [PRS=*] [PSPN=* [PPIC=*] [PTOL=*]] [PIN=*] [PUDT=*] [POVT=*]
(OO116) PAT=* [PD=*] [PRET=*] [PCON=*] [PF1=*] [PF2=*] [PF3=*] [PF4=*]
[PSBA=*] [PSAM=*] [PSPR=*] [PSRA=*] [PRTY=*]
PLI: Tool length
Specify the offset amount of the tool length.
PRI: Cutter radius
Specify the offset amount of the cutter radius (: the expected offset amount of the
cutter radius).
PRS: Spindle orientation position
Refer to the sensor zero setting cycle in the lengthwise direction.
PSPN [PPIC] [PTOL]: Gauging width in scanning [Pick feed in scanning] [Skip value in scanning]
PIN: Z-axis infeed amount
Set a distance by which the Z-axis further advances from the original advanced
distance in the sensor zero setting cycle in the radial direction.
PUDT: Under-travel amount in the first approach. (Default: 10 mm (0.39 in.))
POVT: Over-travel amount in the first approach. (Default: 10 mm (0.39 in.))
PAT: Attachment offset number
PD: Cutter radius compensation number
Specify the cutter radius compensation number where is stored the gauged cutter
radius.
When omitted, the active tool compensation number (VTLCN) is set.
PRET: Sensor retraction inhibiting parameter*
PCON: Z-axis retraction inhibiting parameter*
Usually the Z-axis is positioned near the positive travel limit where the gauging
cycle is finished. To hold the Z-axis after gauging, specify “1” for PCON.
PF1: The 1st approach speed of the sensor
PF2: The 2nd approach speed of the sensor
PF3: The 3rd approach speed of the sensor & the 1st approach speed in scanning cycle
PF4: The 4th approach speed of the sensor & the 2nd approach speed in scanning cycle
PSBA: Dwelling time [s] for sensor air blow (3 [s] by default)
PSAM: The number of gauging times
PSPR: Allowable difference between the maximum and the minimum measurements
PSRA: Action to be taken when the variation exceeds the allowable range (alarm)
PRTY: Action to be taken when the variation exceeds the allowable range (retry)
Refer to the sensor zero setting cycle in the lengthwise direction and the gauging
cycle in the lengthwise direction.
6130-E P-422
SECTION 11 NON-CONTACT SENSOR GAUGING FUNCTION FOR 30°/45° AT
Cycle operation
1. The laser shutter opens.
2. The sensor is positioned near the Z-axis positive limit.
3. The sensor is positioned at the Y-axis retract position, if the machine needs retraction of
Y-axis before gauging.
4. Spindle orientation is done except for gauging of rotating tool.
5. The sensor advances.
6. Position the Y-axis at the under-travel position (if PIN is designated, locate the Y-axis in a
position shifted by the Y-axis component of PIN).
7. The X-axis is positioned at the gauging start position.
8. Position the Z-axis at the under-travel position (if PIN is designated, locate the Z-axis in a
position shifted by the Z-axis component of PIN).
9. Gauging cycle starts. (Sensor air blow is carried out for the 1st gauging.)
10. The Y-axis and the Z-axis move to the sensor position.
11. Scanning cycle starts if the cycle is selected.
12. In the case of several times of gauging, the NC repeats the gauging cycle by the
specified number of times.
13. The sensor is positioned near the Z-axis positive limit.*
14. The laser shutter closes.
15. The Y-axis retracts if it is so designed.*
16. The sensor retracts.*
* Positioning to the positive limit by the sequence No.13 is omitted when PCON is
specified.
Sensor retraction by the sequence No.15 and 16 is omitted when PRET is specified.
6130-E P-423
SECTION 11 NON-CONTACT SENSOR GAUGING FUNCTION FOR 30°/45° AT
Calling sequence
CALL OO129 [PH=*] [PLI=*] [PRI=*] [PRA=*] [PRS=*] [PUDT=*] [POVT=*] PAT=* [PRET=*]
(OO119) [PCON=*] [PRE=*] [PF1=*] [PF2=*] [PF3=*] [PF4=*] [PSBA=*]
PH: Tool length offset, cutter radius compensation number
Specify the tool management number where the tool length offset amount and the
cutter radius compensation amount are stored for judgment of sphericity. When
PH is omitted, the active tool number (VTLCN) is set.
PLI: Tool length
Specify the tool length. When omitted, the offset amount of the tool management
number is set.
PRI: Cutter radius
Specify the cutter radius. When omitted, the compensation amount of the tool
management number is set.
PRA: The angle added for gauging sphericity
The sensor gauges the sphericity from the length wise direction to the radial
direction.
Specify the incremental angle used for this gauging. The angle must be 5° or over
and a divisor of 90°. Default is 15°.
PRS: Spindle orientation position
PUDT: Under-travel amount in the first approach. (Default: 10 mm (0.39 in.))
POVT: Over-travel amount in the first approach. (Default: 10 mm (0.39 in.))
PAT: Attachment offset number
PRET: Sensor retraction inhibiting parameter*
PCON: Z-axis retraction inhibiting parameter*
Usually the Z-axis is positioned near the positive travel limit where the gauging
cycle is finished. To hold the Z-axis after gauging, specify “1” for PCON.
PRE: Maximum allowable error
When the error in the sphericity gauging exceeds this amount, an alarm occurs.
When PRE is not specified, the cycle does not judge the errors.
PF1: The 1st approach speed of the sensor
PF2: The 2nd approach speed of the sensor
PF3: The 3rd approach speed of the sensor & the 1st approach speed in scanning cycle
PF4: The 4th approach speed of the sensor & the 2nd approach speed in scanning cycle
PSBA: Dwelling time [s] for sensor air blow (3 [s] by default)
Refer to the sensor zero setting cycle in the lengthwise direction and the gauging
cycle in the lengthwise direction.
6130-E P-424
SECTION 11 NON-CONTACT SENSOR GAUGING FUNCTION FOR 30°/45° AT
Cycle operation
1. The laser shutter opens.
2. The sensor is positioned near the Z-axis positive limit.
3. The sensor is positioned at the Y-axis retract position, if the machine needs retraction of
Y-axis before gauging.
4. Spindle orientation is done except for gauging of rotating tool.
5. The sensor advances.
6. The Y-axis is positioned on the extension line from the sensor position in the tool
lengthwise direction.
7. The X-axis is positioned at the gauging start position.
8. Gauging cycle starts.(Sensor air blow is carried out for the 1st gauging.)
9. The Y-axis and the Z-axis move to the sensor position.
10. The PRA angle is added and the sensor gauges sphericity in the slanting direction.
11. Operation sequences No.9 and 10 are repeated up to the gauging angle of 90°.
12. The sensor is positioned near the Z-axis positive limit.*.
13. The laser shutter closes.
14. The Y-axis retracts if it is so designed.*
15. The sensor retracts.*
16. The sphericity is judged, if the judgment command is specified.
* Positioning to the positive limit by the sequence No.12 is omitted when PCON is
specified.
Sensor retraction by the sequence No.14 and 15 is omitted when PRET is specified.
6130-E P-425
SECTION 11 NON-CONTACT SENSOR GAUGING FUNCTION FOR 30°/45° AT
Calling sequence
CALL OO125 [PLI=*][PRS=*] [PSPN=* [PPIC=*] [PTOL=*]] [PUDT=*] [POVT=*] [PAT=*] [PH=*]
(OO115) [PRET=*] [PCON=*] [PGO=*] [PLE1=*] [PLE2=*][PF1=*] [PF2=*] [PF3=*] [PF4=*]
[PSBA=*] [PSAM=*] [PSPR=*] [PSRA=*] [PRTY=*]
PLI: Tool length
Specify the tool length (: the expected tool length).
PRS: Spindle orientation position
PSPN [PPIC] [PTOL]: Gauging width in scanning [Pick feed in scanning] [Skip value in scanning]
PUDT: Under-travel amount in the first approach. (Default: 10 mm (0.39 in.))
POVT: Over-travel amount in the first approach. (Default: 10 mm (0.39 in.))
PAT: Attachment offset number
PH: Tool length offset number
Specify the tool length offset number of which data is compared with the gauging
result.
When omitted, the active tool number (VTLCN) is set.
PRET: Sensor retraction inhibiting parameter*
PCON: Z-axis retraction inhibiting parameter*
Usually the Z-axis is positioned near the positive travel limit where the gauging
cycle is finished. To hold the Z-axis after gauging, specify “1” for PCON.
PGO: Action to be taken on detection of tool breakage
PGO= The tool is changed on detection of tool breakage.
1
PGO= The tool is changed on detection of tool breakage. The broken tool
2 moves to the tool change position before being changed.
If PGO is omitted, the cycle ends with alarm occurrence.
PLE1: Threshold value for judging tool breakage
Specify the threshold value for judging tool breakage as a difference from the tool
offset value. Default is 0.1 mm (0.004 in.).
PLE2: Threshold value for judging tool wear
Specify the threshold value for judging tool wear as a difference from the tool
offset value. When the difference is less than PLE2, the NC judges that the tool is
worn and up dates the tool length offset amount. If PLE2 is omitted, the NC does
not make this judgment.
PF1: The 1st approach speed of the sensor
PF2: The 2nd approach speed of the sensor
PF3: The 3rd approach speed of the sensor & the 1st approach speed in scanning cycle
PF4: The 4th approach speed of the sensor & the 2nd approach speed in scanning cycle
PSBA: Dwelling time [s] for sensor air blow (3 [s] by default)
PSAM: The number of gauging times
PSPR: Allowable difference between the maximum and the minimum measurements
PSRA: Action to be taken when the variation exceeds the allowable range (alarm)
PRTY: Action to be taken when the variation exceeds the allowable range (retry)
Refer to the sensor zero setting cycle in the lengthwise direction and the gauging
cycle in the lengthwise direction.
6130-E P-426
SECTION 11 NON-CONTACT SENSOR GAUGING FUNCTION FOR 30°/45° AT
Cycle operation
1. The laser shutter opens.
2. The sensor is positioned near the Z-axis positive limit.
3. The sensor is positioned at the Y-axis retract position, if the machine needs retraction of
Y-axis before gauging.
4. Spindle orientation is done except for gauging of rotating tool.
5. The sensor advances.
6. The Y-axis is positioned on the extension line from the sensor position in the tool
lengthwise direction.
7. The X-axis is positioned at the sensor position.
8. Gauging cycle starts. (Sensor air blow is carried out for the 1st gauging.)
9. The Y-axis and the Z-axis move to the sensor position.
10. Scanning cycle starts if the cycle is selected.
11. In the case of several times of gauging, the NC repeats the gauging cycle by the
specified number of times.
12. The sensor is positioned near the Z-axis positive limit.*
13. The laser shutter closes.
14. The Y-axis retracts if it is so designed.*
15. The sensor retracts.*
16. The tool breakage or the tool wear are judged.
17. When the tool breakage is detected, the tool is changed according to the PGO setting.
* Positioning to the positive limit by the sequence No.12 is omitted when PCON is
specified.
Sensor retraction by the sequence No.14 and 15 is omitted when PRET is specified.
6130-E P-427
SECTION 11 NON-CONTACT SENSOR GAUGING FUNCTION FOR 30°/45° AT
Calling sequence
CALL OO126 [PRI=*] [PLI=*] [PRS=*] [PSPN=* [PPIC=*] [PTOL=*]] [PIN=*] [PUDT=*] [POVT=*]
(OO116) PAT=* [PD=*] [PRET=*] [PCON=*] [PGO=*] [PLE1=*] [PLE2=*] [PF1=*] [PF2=*]
[PF3=*] [PF4=*] [PSBA=*] [PSAM=*] [PSPR=*] [PSRA=*] [PRTY=*]
PLI: Tool length
Specify the offset amount of the tool length.
PRI: Cutter radius
Specify the offset amount of the cutter radius (: the expected offset amount of the
cutter radius).
PRS: Spindle orientation position
PSPN [PPIC] [PTOL]: Gauging width in scanning [Pick feed in scanning] [Skip value in scanning]
PIN: Z-axis infeed amount
Set a distance by which the Z-axis further advances from the original advanced
distance in the sensor zero setting cycle in the radial direction.
PUDT: Under-travel amount in the first approach. (Default: 10 mm (0.39 in.))
POVT: Over-travel amount in the first approach. (Default: 10 mm (0.39 in.))
PAT: Attachment offset number
PD: Cutter radius compensation number
The cutter radius is compared with this value.
When omitted, the data of the active tool number (VTLCN) is set.
PRET: Sensor retraction inhibiting parameter*
PCON: Z-axis retraction inhibiting parameter*
Usually the Z-axis is positioned near the positive travel limit where the gauging
cycle is finished. To hold the Z-axis after gauging, specify “1” for PCON.
PGO: Parameter for designating the action when tool breakage is detected
PLE1: Threshold value for judging tool breakage
PLE2: Threshold value for judging tool wear
PF1: The 1st approach speed of the sensor
PF2: The 2nd approach speed of the sensor
PF3: The 3rd approach speed of the sensor & the 1st approach speed in scanning cycle
PF4: The 4th approach speed of the sensor & the 2nd approach speed in scanning cycle
PSBA: Dwelling time [s] for sensor air blow (3 [s] by default)
PSAM: The number of gauging times
PSPR: Allowable difference between the maximum and the minimum measurements
PSRA: Action to be taken when the variation exceeds the allowable range (alarm)
PRTY: Action to be taken when the variation exceeds the allowable range (retry)
See the sensor zero setting cycle in the lengthwise direction, the gauging cycle in
the lengthwise direction, and the tool breakage detection cycle in the lengthwise
direction.
6130-E P-428
SECTION 11 NON-CONTACT SENSOR GAUGING FUNCTION FOR 30°/45° AT
Cycle operation
1. The laser shutter opens.
2. The sensor is positioned near the Z-axis positive limit.
3. The sensor is positioned at the Y-axis retract position, if the machine needs retraction of
Y-axis before gauging.
4. Spindle orientation is done except for gauging of rotating tool.
5. The sensor advances.
6. Position the Y-axis at the under-travel position (if PIN is designated, locate the Y-axis in a
position shifted by the Y-axis component of PIN).
7. The X-axis is positioned at the gauging start position.
8. Position the Z-axis at the under-travel position (if PIN is designated, locate the Z-axis in a
position shifted by the Z-axis component of PIN).
9. Gauging cycle starts. (Sensor air blow is carried out for the 1st gauging.)
10. The Y-axis and the Z-axis move to the sensor position.
11. Scanning cycle starts if the cycle is selected.
12. In the case of several times of gauging, the NC repeats the gauging cycle by the
specified number of times.
13. The sensor is positioned near the Z-axis positive limit.*
14. The laser shutter closes.
15. The Y-axis retracts if it is so designed.*
16. The sensor retracts.*
17. The tool breakage or the tool wear are judged.
18. When the tool breakage is detected, the tool is changed according to the PGO setting.
* Positioning to the positive limit by the sequence No.13 is omitted when PCON is
specified.
Sensor retraction by the sequence No.15 and 16 is omitted when PRET is specified.
6130-E P-429
SECTION 11 NON-CONTACT SENSOR GAUGING FUNCTION FOR 30°/45° AT
ME61315R0301300040002
Calling sequence
CALL OO127 [PLI=*] [PRI=*] [PRS=*] [PIN=*] [PUDT=*] [POVT=*] PAT=* [PH=*] [PRET=*]
(OO117) [PCON=*]
PLI: Tool length
Specify the tool length offset amount. When omitted, the value specified with the
offset number is set.
PRI: Cutter radius
Specify the cutter radius compensation amount. When omitted, the value specified
with the offset number is set.
PRS: Spindle orientation position
PIN: Z-axis infeed amount
The sensor starts gauging by shifting from the starting position in the negative
direction by a distance specified with PIN. (Default: 0.2 mm (0.008 in.))
PUDT: Under-travel amount in the first approach. (Default: 50 mm (1.97 in.))
POVT: Over-travel amount in the first approach. (Default: 10 mm (0.39 in.))
PAT: Attachment offset number
PH: Tool offset number
Specify the tool off set number. When omitted, the active tool number (VTLCN) is
set.
PRET: Sensor retraction inhibiting parameter*
PCON: Z-axis retraction inhibiting parameter*
Usually the Z-axis is positioned near the positive travel limit where the gauging
cycle is finished. To hold the Z-axis after gauging, specify “1” for PCON.
Refer to the sensor zero setting cycle in the lengthwise direction and the gauging
cycle in the lengthwise direction.
6130-E P-430
SECTION 11 NON-CONTACT SENSOR GAUGING FUNCTION FOR 30°/45° AT
Cycle operation
1. The laser shutter opens.
2. The sensor is positioned near the Z-axis positive limit.
3. The sensor is positioned at the Y-axis retract position, if the machine needs retraction of
Y-axis before gauging.
4. Spindle orientation is done except for gauging of rotating tool.
5. The sensor advances.
6. Position the Y-axis at the under-travel position (if PIN is designated, locate the Y-axis in a
position shifted by the Y-axis component of PIN).
7. The X-axis is positioned at the gauging start position.
8. Position the Z-axis at the under-travel position (if PIN is designated, locate the Z-axis in a
position shifted by the Z-axis component of PIN).
9. The Y-axis and the Z-axis skip to the target position (sensor position + over travel
position).
10. The sensor is positioned near the Z-axis positive limit.*
11. The laser shutter closes.
12. The Y-axis retracts if it is so designed.*
13. The sensor retracts.*
14. The tool breakage is judged.
15. When the tool breakage is detected, the tool is changed according to the PGO setting.
* Positioning to the positive limit by the sequence No.10 is omitted when PCON is
specified.
Sensor retraction by the sequence No.12 and 13 is omitted when PRET is specified.
6130-E P-431
SECTION 11 NON-CONTACT SENSOR GAUGING FUNCTION FOR 30°/45° AT
[Measures to Take]
Use a proper tool, such as a spare tool.
This manual may be at variance with the actual product due to specification or
design changes.
Please also note that specifications are subject to change without notice.
If you require clarification or further explanation of any point in this manual,
please contact your OKUMA representative.