
2 G Code
2 - 14
NJ/NY-series G code Instructions Reference Manual (O031)
Use the skip function and measure the wear volume of tool length. In this example, the tool touches the
sensor and skip signal is input while it moves toward the cutting surface. The stop position is captured
using the skip signal, and notified to the sequence control program as an argument of M code output.
Based on the captured position, calculate the wear volume of tool length in the sequence control pro-
gram. For the procedure for setting the wear volume of tool length that was calculated, refer to the
How
to Enable Tool Replacement
in the
NJ/NY-series NC Integrated Controller User’s Manual
(Cat. No.
O030).
Use of M101 for transferring the captured data to the sequence control program is an example. When
using this command, refer to the instruction manual provided by the machine tool manufacturer.
Programming Example
N01 G17 G91 G64 F1000
N02 G28 X5 Y5
// Moves to the position to start measuring the
wear volume of tool length.
N03 G31 Z-10
// Moves to the cutting surface.
N04 M101 VA[_CNC_CapturedPosi
-
tion2]
// Notification to the sequence control program
N05 M30
N03
_CNC_CapturedPosition(2)
Stop
Sensor input
Z
0
Time
Drop
Trigger position
1S-series Servo Drive
EtherCAT communications
built-in type
Sensor
Содержание NJ501-5300
Страница 13: ...11 CONTENTS NJ NY series G code Instructions Reference Manual O031...
Страница 28: ...Revision History 26 NJ NY series G code Instructions Reference Manual O031...
Страница 38: ...1 Basic Information on NC Programming 1 10 NJ NY series G code Instructions Reference Manual O031...
Страница 40: ...2 G Code 2 2 NJ NY series G code Instructions Reference Manual O031...
Страница 53: ...2 15 NJ NY series G code Instructions Reference Manual O031 2 Dwell Instruction Name Page G04 Dwell P 2 16...
Страница 72: ...2 G Code 2 34 NJ NY series G code Instructions Reference Manual O031...
Страница 108: ...3 M Code 3 2 NJ NY series G code Instructions Reference Manual O031...
Страница 112: ...3 M Code 3 6 NJ NY series G code Instructions Reference Manual O031...
Страница 124: ...3 M Code 3 18 NJ NY series G code Instructions Reference Manual O031...
Страница 128: ...3 M Code 3 22 NJ NY series G code Instructions Reference Manual O031...
Страница 136: ...4 PROGRAM CODES 4 8 NJ NY series G code Instructions Reference Manual O031...
Страница 141: ......