Escolar Documentos
Profissional Documentos
Cultura Documentos
Warning
Warning notices are used in this publication to emphasize that hazardous voltages, currents,
temperatures, or other conditions that could cause personal injury exist in this equipment or
may be associated with its use.
In situations where inattention could cause either personal injury or damage to equipment, a
Warning notice is used.
Caution
Caution notices are used where equipment might be damaged if care is not taken.
Note
Notes merely call attention to information that is especially significant to understanding and
operating the equipment.
This document is based on information available at the time of its publication. While efforts
have been made to be accurate, the information contained herein does not purport to cover all
details or variations in hardware or software, nor to provide for every possible contingency in
connection with installation, operation, or maintenance. Features may be described herein
which are not present in all hardware and software systems. GE Fanuc Automation assumes
no obligation of notice to holders of this document with respect to changes subsequently made.
This manual includes safety precautions for protecting the user and preventing damage to the
machine. Precautions are classified into Warning and Caution according to their bearing on safety.
Also, supplementary information is described as a Note. Read the Warning, Caution, and Note
thoroughly before attempting to use the machine.
WARNING
Applied when there is a danger of the user being injured or when there is a damage of both the user
being injured and the equipment being damaged if the approved procedure is not observed.
CAUTION
Applied when there is a danger of the equipment being damaged, if the approved procedure is not
observed.
NOTE
The Note is used to indicate supplementary information other than Warning and Caution.
s–1
CONTENTS
DEFINITION OF WARNING, CAUTION, AND NOTE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . s–1
1. OUTLINE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.1 BMI Interface for the Series 15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.1.1 Address table for 15–T and 15–M(for PMC–NA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.1.2 Address list for 15–TT(for PMC–MODEL NA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
2.1.3 Address table for 15–T and 15–M(for PMC–MODEL NB) . . . . . . . . . . . . . . . . . . . . . . . 50
2.1.4 Address table for 15–TT(for PMC–MODEL NB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
2.2 Signal Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
2.3 Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
2.3.1 Ready signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
2.3.2 Operation mode selection signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
2.3.3 Reset and emergency stop signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
2.3.4 Alarm signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
2.3.5 Battery alarm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
2.3.6 Manual continuous feed and incremental feed signals . . . . . . . . . . . . . . . . . . . . . . . . . . 127
2.3.7 Manual handle feed signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
2.3.8 Three–dimensional handle feed signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
2.3.9 Manual interruption function for three–dimensional coodinate conversation . . . . . . . . 133
2.3.10 Manual arbitrary angle feed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
2.3.11 Simultaneous automatic and manual operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
2.3.12 Function to compensate for manual intervention during automatic operation . . . . . . . 140
2.3.13 Reference position return . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
2.3.14 Dog–less reference position setting function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
2.3.15 Floating reference position return . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
2.3.16 Digital adjustment of origin deceleration limit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
2.3.17 Start, stop, and restart of automatic operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
2.3.18 Active block cancel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
2.3.19 Feedrate override . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
2.3.20 F1 digit selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
2.3.21 Automatic operation test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
2.3.22 Optional block skip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
2.3.23 Corner control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
2.3.24 Miscellaneous functions, spindle–speed functions, tool functions, and
secondary auxiliary functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
2.3.25 High–speed M/S/T/B interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
2.3.26 Multiple M commands for one block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
2.3.27 External operation function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
2.3.28 Canned cycle spindle–speed function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
2.3.29 Spindle analog output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
2.3.30 Spindle positioning function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
2.3.31 Detecting fluctuation of the spindle speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
2.3.32 Function for specifying a desired spindle gear ratio . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
2.3.33 Spindle serial output and Cs contour control functions . . . . . . . . . . . . . . . . . . . . . . . . . . 197
c–1
2.3.34 Signals for spindle orientation of the serial interface spindle by a position coder . . . . 211
2.3.35 Spindle synchronization signals for the serial interface spindle . . . . . . . . . . . . . . . . . . 214
2.3.36 Signals for switching the spindle output of serial interface spindle . . . . . . . . . . . . . . . . 225
2.3.37 Signals for switching spindle control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
2.3.38 Program status output signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
2.3.39 Axis movement status output signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
2.3.40 Mirror image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
2.3.41 Overrun . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
2.3.42 Tail stock barrier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
2.3.43 Externally–requested deceleration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
2.3.44 Interlock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
2.3.45 Servo off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
2.3.46 Detachment of controlled axes (noncontrolled axes) . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
2.3.47 Axis interchange signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
2.3.48 Memory protection keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
2.3.49 External input/output signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
2.3.50 External workpiece number search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
2.3.51 External data input/output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
2.3.52 Skip function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
2.3.53 Signal for outputting the states of the high–speed skip signal and
the high–speed measuring position reach signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253
2.3.54 Torque limit reached signal (TRQLn) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253
2.3.55 Custom macro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254
2.3.56 Tool measurements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
2.3.57 Method B for directly inputting tool compensation
(for the Series 15–T and 15–TT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
2.3.58 Tool life management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264
2.3.59 Tool retraction and recovery (15–M/T) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
2.3.60 Tool retraction and recovery (for Series 15–TT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
2.3.61 Software operator’s panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271
2.3.62 Run hour display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
2.3.63 Parts count indication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
2.3.64 Key input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276
2.3.65 Indexing signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
2.3.66 Turret axis control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286
2.3.67 Switching between synchronous and independent control . . . . . . . . . . . . . . . . . . . . . . 291
2.3.68 Parallel axis control signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293
2.3.69 Twin table control/simplified synchronous control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294
2.3.70 Simple synchronization control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297
2.3.71 Tool post selection and signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298
2.3.72 Signal for checking tool post interference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299
2.3.73 Override playback signals (Series 15–MFB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299
2.3.74 Cutting depth override for the canned turning cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
2.3.75 Rigid tapping signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
2.3.76 Retrace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308
2.3.77 Teach–in (recorded) mode and signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310
2.3.78 Chopping function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311
2.3.79 Override playback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
c–2
2.3.80 Axis Control by the PMC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
2.3.81 Signals for specifying a speed in PMC axis control . . . . . . . . . . . . . . . . . . . . . . . . . . . . 326
2.3.82 Torque control based on PMC axis control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331
2.3.83 Ignore disconnect detector alarm in continuous velocity command of
axis control by PMC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333
2.3.84 Virtual axis control signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333
2.3.85 Axis selection signals in actual speed display:
*ACTF1, *ACTF2, *ACTF3, ..., *ACTF15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334
2.3.86 NC window signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334
2.3.87 Remote buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335
2.3.88 Load display signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335
2.3.89 Switching the spindle load display of the serial interface spindles . . . . . . . . . . . . . . . . 336
2.3.90 Position switching function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
2.3.91 Two–axis electronic gear box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
2.3.92 Function for separating UI/UO used in user programs and P–code programs . . . . . . 340
2.3.93 High–precision contour control with 64–bit RISC processor . . . . . . . . . . . . . . . . . . . . . 341
2.3.94 Interface with a linear scale having reference marks . . . . . . . . . . . . . . . . . . . . . . . . . . . 341
c–3
B–62073E–1/04 1. OUTLINE
1. OUTLINE
This manual describes the signals of the BMI (Basic Machine Interface) that can be used with the Series
15/150–B.
For connection of other items than the BMI interface, refer to “Series 15/150–MODEL B Connection Manual
(B–62073E).”
The models covered by this manual, and their abbreviations are :
(*1) The FANUC Series 15TED/TEE/TEF–MODEL B–4 is a software–fixed CNC capable of 4 contouring axes
switchable out of 8 axes for milling machines and machining centers.
Further the following functions can not be used in the 15TED, 15–TEE or 15TEF.
D Increment system D/E (Increment system C is an option function)
D Helical interpolation B
D OSI/ETHERNET function
D High–precision contour control using RISC
D Macro compiler (self compile function)
D MMC–III, MMC–IV
D Connecting for personal computer by high–speed serial–bus
(*2) The FANUC Series 15MEK/MEL–MODEL B–4 is a software–fixed CNC capable of 4 contouring axes
switchable out of 8 axes for milling machines and machining centers.
Further the following functions can not be used in the 15MEK or 15MEL.
D Increment system D/E (Increment system C is an option function)
D Helical interpolation B
D Plane switching
D Designation direction tool length compensation
D 2 axes electric gear box
D Manual interruption of 3–dimensional coordinate system conversion
D 3–dimensional cutter compensation
D Trouble diagnosis guidance
D OSI/ETHERNET function
D High–precision contour control using RISC
D Macro compiler (self compile function)
D MMC–III, MMC–IV
D Smooth interpolation
D Connecting for personal computer by high–speed serial–bus
–1–
1. OUTLINE B–62073E–1/04
–2–
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
–3–
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
–4–
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
–5–
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
–6–
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
–7–
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
Continues similarly
(164 – 167: 11st Axis )
(168 – 171: 12nd Axis )
(172 – 175: 13rd Axis )
(176 – 179: 14th Axis
(180 – 183: 15th Axis
(184 – 187: 16th Axis
(188 – 191: 17th Axis
(192 – 195: 18th Axis
(196 – 199: 19th Axis
(100 – 103: 10th Axis
(104 – 107: 11th Axis
(108 – 111: 12th Axis
(112 – 115: 13th Axis
(116 – 119: 14th Axis
(120 – 123: 15th Axis
–8–
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
G128 ( MDI KEY IMAGE SIGNAL : See the contents for details )
G129 ( MDI KEY IMAGE SIGNAL : See the contents for details )
G130 ( MDI KEY IMAGE SIGNAL : See the contents for details )
G131 ( MDI KEY IMAGE SIGNAL : See the contents for details )
G132 ( MDI KEY IMAGE SIGNAL : See the contents for details )
G133 ( MDI KEY IMAGE SIGNAL : See the contents for details )
G134 ( MDI KEY IMAGE SIGNAL : See the contents for details )
G135 ( MDI KEY IMAGE SIGNAL : See the contents for details )
G136 ( MDI KEY IMAGE SIGNAL : See the contents for details )
G137 ( MDI KEY IMAGE SIGNAL : See the contents for details )
G138 ( MDI KEY IMAGE SIGNAL : See the contents for details )
G139 ( MDI KEY IMAGE SIGNAL : See the contents for details )
G140
G141
G142
G143
–9–
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
G148 RSPR
– 10 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
G225
– 11 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
Continues similarly
( 240 – 243: 17th Axis )
( 244 – 247: 18th Axis )
( 248 – 251: 19th Axis )
252 – 255: 20th Axis
256 – 259: 21st Axis
260 – 263: 22nd Axis
264 – 267: 23rd Axis
268 – 271: 24th Axis
– 12 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
G369 OV2X7 OV2X6 OV2X5 OV2X4 OV2X3 OV2X2 OV2X1 OV2X0 2nd
axis
G370 OV3X7 OV3X6 OV3X5 OV3X4 OV3X3 OV3X2 OV3X1 OV3X0 3rd
axis
Continues similarly
G371: 14th axis G375 18th axis
G372: 15th axis G376 19th axis
G373 16th axis G377 10th axis
G374 17th axis
G378
G379
G380
G381
G382
– 13 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
G384 MSKB1
1st axis
G387 FD1X7 FD1X6 FD1X5 FD1X4 FD1X3 FD1X2 FD1X1 FD1X0
G392 MSKB2
2nd axis
G396 DT2X31 DT2X30 DT2X29 DT2X28 DT2X27 DT2X26 DT2X25 DT2X24
G400 MSKB3
Continues similarly
( G384 – G391: 11st axis )
( G392 – G399: 12nd axis )
G400 – G407: 13rd axis
G408 – G415: 14th axis
G416 – G423: 15th axis
G424 – G431: 16th axis
G432 – G439: 17th axis
G440 – G447: 18th axis
G448 – G455: 19th axis
G456 – G463: 10th axis
– 14 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 15 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
F019 M7 M6 M5 M4 M3 M2 M1 M0
F023 S7 S6 S5 S4 S3 S2 S1 S0
F027 T7 T6 T5 T4 T3 T2 T1 T0
F031 B7 B6 B5 B4 B3 B2 B1 B0
– 16 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 17 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– 18 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
Continues similarly
( 164 – 167: 11st Axis )
( 168 – 171: 12nd Axis )
( 172 – 175: 13rd Axis )
176 – 179: 14th Axis
180 – 183: 15th Axis
184 – 187: 16th Axis
188 – 191: 17th Axis
192 – 195: 18th Axis
196 – 199: 19th Axis
100 – 103: 10th Axis
104 – 107: 11th Axis
108 – 111: 12th Axis
112 – 115: 13th Axis
116 – 119: 14th Axis
120 – 123: 15th Axis
– 19 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
F139
F140
– 20 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
F154 HEMG
F156
– 21 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
F160
F161
F162
F163
F171
– 22 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
F224
F225
F226
F227
F230
F237
F238
F239
– 23 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
F241
F242
F243
F246
F253
F254
F255
– 24 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
Continues similarly
( 288 – 291: 17th Axis )
( 292 – 295: 18th Axis )
( 296 – 299: 19th Axis )
300 – 303: 20th Axis
304 – 307: 21st Axis
308 – 311: 22nd Axis
312 – 315: 23rd Axis
316 – 319: 24th Axis
– 25 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
G002 BRN
#1
G003
G010 TLRST
#1
G011
G014
G015
NOTE There are some signals which are provided for the first and second tool posts respectively
and they provide just the same function.
There signals are identified by symbol #1 or #2 which is affixed to their names. Symbol #1
shows a signal exclusively provided for the first tool post, while symbol #2 shows a signal
exclusively provided for the second tool post.
– 26 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
G016
G017
G018
G020
G021
G022
G023
G027
G029
G030 TSB
G031
– 27 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– 28 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
BRN
G050
#2
G051
G058 TLRST
#2
G059
G062
G063
– 29 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
G064
G065
G066
G068
G069
G070
G071
G075
G077
G078 TSB
#2
G079
– 30 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 31 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– 32 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
G125
– 33 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
Continues similarly
( G128 – G131: 11st axis )
( G132 – G135: 12nd axis )
( G136 – G139: 13rd axis )
G140 – G143: 14th axis
G144 – G147: 15th axis
G148 – G151: 16th axis
G152 – G155: 17th axis
G156 – G159: 18th axis
G160 – G163: 19th axis
G164 – G167: 10th axis
– 34 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
G224
G225
G232
G233
– 35 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
Continues similarly
G371: 14th axis
G372: 15th axis
G373: 16th axis
G374: 17th axis
G375: 18th axis
G376: 19th axis
G377: 10th axis
G378
G379
G380
G381
G382
– 36 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
G384 MSBK1
1st axis
G387 FD1X7 FD1X6 FD1X5 FD1X4 FD1X3 FD1X2 FD1X1 FD1X0
G392 MSBK2
2nd axis
G395 FD2X7 FD2X6 FD2X5 FD2X4 FD2X3 FD2X2 FD2X1 FD2X0
G400 MSBK3
Continues similarly
( G384 – G391: 11st axis )
( G392 – G399: 12nd axis )
G400 – G407: 13rd axis
G408 – G415: 14th axis
G416 – G423: 15th axis
G424 – G431: 16th axis
G432 – G439: 17th axis
G440 – G447: 18th axis
G448 – G455: 19th axis
G456 – G463: 10th axis
– 37 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
F015
– 38 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
F019 M7 M6 M5 M4 M3 M2 M1 M0
#1 #1 #1 #1 #1 #1 #1 #1
F023 S7 S6 S5 S4 S3 S2 S1 S0
#1 #1 #1 #1 #1 #1 #1 #1
F027 T7 T6 T5 T4 T3 T2 T1 T0
#1 #1 #1 #1 #1 #1 #1 #1
F031 B7 B6 B5 B4 B3 B2 B1 B0
#1 #1 #1 #1 #1 #1 #1 #1
– 39 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– 40 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
F063
– 41 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
F067 M7 M6 M5 M4 M3 M2 M1 M0
#2 #2 #2 #2 #2 #2 #2 #2
F071 S7 S6 S5 S4 S3 S2 S1 S0
#2 #2 #2 #2 #2 #2 #2 #2
F075 T7 T6 T5 T4 T3 T2 T1 T0
#2 #2 #2 #2 #2 #2 #2 #2
F079 B7 B6 B5 B4 B3 B2 B1 B0
#2 #2 #2 #2 #2 #2 #2 #2
– 42 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 43 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
F102 RPBSY
F108
F109
– 44 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
F122
F123
F125
F126 HEMG
F127
– 45 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
F131 MSCNTR1
F135 MSCNTR2
F139 MSCNTR3
Continues similarly
( F128 – F131: 11st Axis )
( F131 – F135: 12nd Axis )
( F136 – F139: 13rd Axis )
F140 – F143: 14th Axis
F144 – F147: 15th Axis
F148 – F151: 16th Axis
F152 – F155: 17th Axis
F156 – F159: 18th Axis
F160 – F163: 19th Axis
F164 – F167: 10th Axis
– 46 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
F196
F197
F198
F199
F200
F201
F202
F203
F204
F205
F206
F207
– 47 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
F224
F225
F226
F227
F230
F237
F238
F239
– 48 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
F241
F242
F243
F246
F253
F254
F255
– 49 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– 50 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 51 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– 52 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 53 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
Continues similarly
( G64 – G67: 11st Axis )
( G68 – G71: 12nd Axis )
( G72 – G75: 13rd Axis )
G76 – G79: 14th Axis
G80 – G83: 15th Axis
G84 – G87: 16th Axis
G88 – G91: 17th Axis
G92 – G95: 18th Axis
G96 – G99: 19th Axis
G100 – G103: 10th Axis
G104 – G107: 11th Axis
G108 – G111: 12th Axis
G112 – G115: 13th Axis
G116 – G119: 14th Axis
G120 – G123: 15th Axis
– 54 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
G128 ( MDI KEY IMAGE SIGNAL : See the contents for details )
G129 ( MDI KEY IMAGE SIGNAL : See the contents for details )
G130 ( MDI KEY IMAGE SIGNAL : See the contents for details )
G131 ( MDI KEY IMAGE SIGNAL : See the contents for details )
G132 ( MDI KEY IMAGE SIGNAL : See the contents for details )
G133 ( MDI KEY IMAGE SIGNAL : See the contents for details )
G134 ( MDI KEY IMAGE SIGNAL : See the contents for details )
G135 ( MDI KEY IMAGE SIGNAL : See the contents for details )
G136 ( MDI KEY IMAGE SIGNAL : See the contents for details )
G137 ( MDI KEY IMAGE SIGNAL : See the contents for details )
G138 ( MDI KEY IMAGE SIGNAL : See the contents for details )
G139 ( MDI KEY IMAGE SIGNAL : See the contents for details )
G140
G141
G142
G143
– 55 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
G148 RSPR
– 56 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
G165
G166
G167
G172
G173
G174
G175
– 57 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
G224
G225
– 58 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
G378
G379
G380
G381
G382
– 59 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
G384 MSKB1
1st axis
G387 FD1X15 FD1X14 FD1X13 FD1X12 FD1X11 FD1X10 FD1X9 FD1X8
G392 MSKB2
2nd axis
G396 DT2X7 DT2X6 DT2X5 DT2X4 DT2X3 DT2X2 DT2X1 DT2X0
– 60 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
G400 MSKB3
3rd axis
G404 DT3X7 DT3X6 DT3X5 DT3X4 DT3X3 DT3X2 DT3X1 DT3X0
G408 MSKB4
Continues similarly
( G384 – G391: 11st Axis )
( G392 – G399: 12nd Axis )
( G400 – G407: 13rd Axis )
G408 – G415: 14th Axis
G416 – G423: 15th Axis
G424 – G431: 16th Axis
G432 – G439: 17th Axis
G440 – G447: 18th Axis
G448 – G455: 19th Axis
G456 – G463: 10th Axis
– 61 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– 62 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
F016 M7 M6 M5 M4 M3 M2 M1 M0
F020 S7 S6 S5 S4 S3 S2 S1 S0
F024 T7 T6 T5 T4 T3 T2 T1 T0
F028 B7 B6 B5 B4 B3 B2 B1 B0
– 63 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– 64 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 65 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
Continues similarly
( F64 – F67: 11st Axis )
( F68 – F71: 12nd Axis )
( F72 – F75: 13rd Axis )
F76 – F79: 14th Axis
F80 – F83: 15th Axis
F84 – F87: 16th Axis
F88 – F91: 17th Axis
F92 – F95: 18th Axis
F96 – F99: 19th Axis
F100 – F103: 10th Axis
F104 – F107: 11th Axis
F108 – F111: 12th Axis
F112 – F115: 13th Axis
F116 – F119: 14th Axis
F120 – F123: 15th Axis
– 66 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
F139
F140
– 67 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
F154 HEMG
F156
– 68 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
F160
F161
F162
F163
F171
– 69 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
F224
F225
F226
F227
F230
F237
F238
F239
– 70 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
F240
F241
F242
F243
F246
F253
F254
F255
– 71 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
G002 BRN
#1
G003
G010 TLRST
#1
G011
G014
G015
– 72 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
G016
G017
G018
G020
G021
G022
G023
G027
G029
G030 TSB
#1
G031
– 73 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– 74 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
BRN
G050
#2
G051
G058 TLRST
#2
G059
G062
G063
– 75 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
G064
G065
G066
G068
G069
G070
G071
G075
G077
G078 TSB
#2
G079
– 76 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 77 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– 78 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
G125
– 79 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
Continues similarly
( G128 – G131: 11st axis )
( G132 – G135: 12nd axis )
( G136 – G139: 13rd axis )
G140 – G143: 14th axis
G144 – G147: 15th axis
G148 – G151: 16th axis
G152 – G155: 17th axis
G156 – G159: 18th axis
G160 – G163: 19th axis
G164 – G167: 10th axis
– 80 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
G204
G205
G206
G207
– 81 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
G210
G211
G212
G213
G214
G215
G216
G217
G218
G219
G220
G221
G222
G223
– 82 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
G224
G225
G232
G233
– 83 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
G378
G379
G380
G381
G382
– 84 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
G384 MSKB1
1st axis
G387 FD1X15 FD1X14 FD1X13 FD1X12 FD1X11 FD1X10 FD1X9 FD1X8
G392 MSKB2
2nd axis
G395 FD2X15 FD2X14 FD2X13 FD2X12 FD2X11 FD2X10 FD2X9 FD2X8
– 85 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
G400 MSKB3
3rd axis
G403 FD3X15 FD3X14 FD3X13 FD3X12 FD3X11 FD3X10 FD3X9 FD3X8
G408 MSKB4
Continues similarly
( G384 – G391: 11st Axis )
( G392 – G399: 12nd Axis )
( G400 – G407: 13rd Axis )
G408 – G415: 14th Axis
G416 – G423: 15th Axis
G424 – G431: 16th Axis
G432 – G439: 17th Axis
G440 – G447: 18th Axis
G448 – G455: 19th Axis
G456 – G463: 10th Axis
– 86 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
F015
– 87 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
F020 S7 S6 S5 S4 S3 S2 S1 S0
#1 #1 #1 #1 #1 #1 #1 #1
F024 T7 T6 T5 T4 T3 T2 T1 T0
#1 #1 #1 #1 #1 #1 #1 #1
F028 B7 B6 B5 B4 B3 B2 B1 B0
#1 #1 #1 #1 #1 #1 #1 #1
– 88 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 89 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
F063
– 90 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
F068 S7 S6 S5 S4 S3 S2 S1 S0
#2 #2 #2 #2 #2 #2 #2 #2
F072 T7 T6 T5 T4 T3 T2 T1 T0
#2 #2 #2 #2 #2 #2 #2 #2
F076 B7 B6 B5 B4 B3 B2 B1 B0
#2 #2 #2 #2 #2 #2 #2 #2
– 91 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– 92 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
F102 RPBSY
F108
F109
– 93 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
F122
F123
F125
F126 HEMG
F127
– 94 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
F131 MSCNTR1
F135 MSCNTR2
F139 MSCNTR3
Continues similarly
( F128 – F131: 11st Axis )
( F131 – F135: 12nd Axis )
( F136 – F139: 13rd Axis )
F140 – F143: 14th Axis
F144 – F147: 15th Axis
F148 – F151: 16th Axis
F152 – F155: 17th Axis
F156 – F159: 18th Axis
F160 – F163: 19th Axis
F164 – F167: 10th Axis
– 95 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
F196
F197
F198
F199
F200
F201
F202
F203
F204
F205
F206
F207
– 96 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
F224
F225
F226
F227
F230
F237
F238
F239
– 97 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
F240
F241
F242
F243
F246
F253
F254
F255
– 98 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 99 –
Fig. 2.1.2(a)
1st tool post
BMI
Position X1
Spindle DI/DO exclusively provided
coder
motor for 1st tool post
Z1
Spindle control
1st spindle
Control other
than spindle control
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 100 –
Machine ConĆ DI/DO common to
operator's tact both tool posts
panel I/O
Position
Spindle coder
motor Control other
than spindle control
2nd spindle
Spindle control
Z2
Spindle DI/DO exclusively provided
Position motor
coder for 2nd tool post
X2
PMC CNC
2nd tool post
Concept diagram of tool posts and BMI in case of two–spindle/two–tool post turning
B–62073E–1/04
B–62073E–1/04
Fig. 2.1.2(b)
1st tool post
X1 BMI
DI/DO exclusively provided
for 1st tool post
Z1
Spindle control
– 101 –
Machine ConĆ DI/DO common to
operator's tact both tool posts
Spindle I/O
panel
Spindle control
Z2
DI/DO exclusively provided
for 2nd tool post
X2
PMC CNC
2nd tool post
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
Concept diagram of tool posts and BMI in case of one–spindle/two–tool post turning
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
NOTE The addresses listed in the tables are those for the PMC–MODEL NA. Some differ from those
used for the PMC–MODEL NB. For details, see the address lists for the PMC–MODEL NB in
2.1.3 and 2.1.4.
– 102 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 103 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– 104 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 105 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– 106 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 107 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– 108 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 109 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– 110 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
56 Tool life TLRST G010.7 G010.7 G058.7 TLCHA F007.6 F003.6 F051.6 2.3.57
management TLSKP G009.7 G009.7 G057.7 TLCHB F007.7 F003.7 F051.7
TL01 G009.0 G009.0 G057.0
TL02 G009.1 G009.1 G057.1
TL04 G009.2 G009.2 G057.2
TL08 G009.3 G009.3 G057.3
TL16 G009.4 G009.4 G057.4
TL32 G009.5 G009.5 G057.5
TL64 G009.6 G009.6 G057.6
TL128 G043.7
TL256 G042.0
TL512 G043.6
TLV0 G155.0
TLV1 G155.1
TLV2 G155.2
TLV3 G155.3
TLV4 G155.4
TLV5 G155.5
TLV6 G155.6
TLV7 G155.7
TLV8 G154.0
TLV9 G154.1
57 Tool retract & TRRTN G031.1 TRSPS F044.5 2.3.58
recover TRESC G031.0 TRMTN F044.4
(15–T/15–M) TRACT F044.3
58 Tool retract & TRESC G127#0 TRACT F110#3 2.3.59
recover (15–TT) TRRTN G127#1 TRMTN F110#4
TRHD1 G127#2 TRSPS F110#5
TRHD2 G127#3
59 Software (S) G003.0 SO F129.0 2.3.60
operator’s panel (H) G003.1 HO F129.1
(J) G003.2 JO F129.2
(D) G003.3 MDIO F129.3
(T) G003.4 TO F129.4
(MEM) G003.5 MEMO F129.5
(EDT) G003.6 EDTO F129.6
(ZRN) G002.7 ZRNO F128.7
(+J1) G065.0 +J1O F136.0
(+J2) G069.0 +J2O F136.2
(+J3) G073.0 +J3O F136.4
(+J4) G077.0 +J4O F136.6
(+J5) G081.0 +J5O F138.0
(+J6) G085.0 +J6O F138.2
(–J1) G065.1 –J1O F136.1
(–J2) G069.1 –J2O F136.3
(–J3) G073.1 –J3O F136.5
(–J4) G077.1 –J4O F136.7
(–J5) G081.1 –J5O F138.1
(–J6) G085.1 –J6O F138.3
RT G006.7 RTO F132.7
HS1A G011.0 HS1AO F131.0
HS1B G011.1 HS1BO F131.1
HS1C G011.2 HS1CO F131.2
HS1D G011.3 HS1DO F131.3
MP1 G006.2 MP1O F132.2
MP2 G006.3 MP2O F132.3
MP4 G006.4 MP4O F132.4
ROV1 G006.5 ROV1O F132.5
ROV2 G006.6 ROV2O F132.6
JV0 ~ G014 ~ JV0O ~ F134 ~
JV15 G015 JV15O F135
FV0 ~ G012 FV0O ~ F133
FV7 FV7O
BDT1 G004.2
SBK G004.3 BDT1O F130.2
MLK G004.7 SBKO F130.3
DRN G004.1 MLKO F130.7
KEY1 G005.4 DRNO F130.1
KEY2 G005.5 KEYO F131.4
KEY3 G005.6 SPO F128.5
KEY4 G005.7 OPU0 ~ F137
SP G000.5 OPU7
– 111 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– 112 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 113 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– 114 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 115 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– 116 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
2.3 Signals
This section describes the signals used by the Series 15–T, 15–M, and 15–TT. Functions that can be used
depend on machine types. Read the corresponding specifications and check the functions that can be used.
The name of the signal provided for the Series 15–TT is enclosed between brackets ([]).
NOTE The servo–off state is one of states in which the servo system, or position control does not
function. In the servo–off state, the SA signal remains high unless an event causes the signal
to go low.
– 117 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
Automatic
A i Tape command Except
T MT
operation 15–TT
Automatic Memory command MEM MMEM
operation
ti Part program storage
EDT MEDT
& edit
Test mode TEST MTEST
Manual handle feed H MH Common to
C
all system
Incremental feed S MS
Manuall
M Manual continuous
operation J MJ
feed
Manual arbitrary angle
AGJ MAGJ
feed
Automatic/manual simultaneous Except
MOVL MMOVL
operation 15–TT
Selecting the operation mode
When an input signal is set high, the corresponding operation mode is selected. While an operation mode is
selected, the corresponding output signal is high.
The Series 15 allows two or more operation modes to be selected at a time as listed in the table below.
NOTE Signals marked with an asterisk () cannot be used in the Series 15–TT.
When the MOVL signal is set high, manual operation can be executed during automatic operation. When both
the J or S signal and the H signal are set high, the manual continuous feed or incremental feed and the manual
handle feed can be selected without switching the mode.
Operations from the MDI panel enable background editing at any time, irrespective of the operation modes de-
scribed above.
If the selection signals are entered in a different manner from those listed in the table above, the previous opera-
tion mode is kept for a certain time (T1). Then, neither automatic operation mode nor manual operation mode
is selected.
If the selection signals are entered in one of manners listed in the table within T1, the corresponding operation
mode is selected.
– 118 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
When all the selections signals are low, either of the following can be selected by a parameter:
a. The operation mode selected last is kept.
b. The operation mode selected last is kept for a specified time (T0), then neither automatic operation mode
nor manual operation mode is selected. If the selection signals are entered in a specified manner within
T0, the corresponding operation mode is selected.
Time periods T0 and T1 are specified by parameters within the range of 0 to 2 seconds.
Switching the operation mode
When an operation mode is switched to another, the control unit usually operates in one of the following man-
ners:
a. Immediate switching: The control unit immediately stops and resumes the operation in the new mode.
b. Switching at the end of a block: The control unit continues the operation in the current mode until the cur-
rent block terminates. Then, it stops once and resumes the operation in the new mode.
c. Non–stop switching: The control unit enters the new mode without stopping the current operation.
Before stopping, all axis movements are decelerated.
The operation of the control unit depends on the newly selected mode and the previous mode as shown in the
table below.
NOTE 1 The operation marked with an asterisk () is not executed in the Series 15–TT.
NOTE 2 When an operation mode concerning automatic operation is switched, the automatic operation
is switched at the end of the current block and the manual operation is continued. When an
operation mode concerning manual operation is switched, the automatic operation is
continued and the manual operation is switched immediately.
While the specified movement is decelerated for immediate switching or while the previous operation is contin-
ued for switching at the end of the current block, the system does not assume that the new mode is selected.
During this period, the output signal indicates that the previous operation mode is selected.
(a) Manual data input selection signal: D
[Classification]
Input signal
[Function] Selects the manual data input operation mode. Executes data input from the MDI panel or
tape and automatic operation according to the command program entered from the MDI pan-
el.
[Operation] See the descriptions of “Selecting the Operation Mode” and “Switching the Operation Mode.”
(b) Tape mode selection signal: T (15–T/M)
[Classification]
Input signal
[Function] Selects the tape mode. Executes automatic operation according to the command program
entered from the tape.
[Operation] See the descriptions of “Selecting the Operation Mode” and “Switching the Operation Mode.”
– 119 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– 120 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 121 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– 122 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
NOTE 1 A parameter can be specified so that the emergency stop signal does not reset the control unit
but issues an alarm. If a parameter is specified, the control unit is not reset as described in step
ii of (Operation). In this case, the emergency stop state is released only when the reset key
on the MDI panel is pressed or another reset signal (ERS, RRW) is set high after the emergency
stop signal goes high. Even if the emergency stop signal goes high, the system assumes that
the signal is low until the emergency stop state is reset by other means.
*ESP
Emergency stop
Reset
SA
*ESP
ERS, RRW, reset key
Emergency stop
Reset
SA
NOTE 2 The control unit monitors the *ESP signal when it is input from the PMC to the NC unit and when
it is sent to the input interface between the machine and the PMC. The interface (connector
pins) between the machine and PMC must not be changed.
NOTE A parameter can be set to specify that the reset signal is output only when the reset key on the
MDI panel is pressed (condition i). Even if this parameter is specified, the reset signal is
returned from high to low only when all conditions concerning ERS, RRW, and *ESP are
satisfied.
– 123 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
NOTE 1 While the tape in the reeled tape reader is being rewound, the rewind signal is output. The
output period of the rewind signal depends on the length of the tape being rewound. The
minimum period the signal is high cannot be predetermined.
NOTE 2 The rewinding time required for a main program in memory is nearly zero. Before the rewind
signal goes low, the tape of the main program is rewound.
[Output Condition]
The signal goes high when:
i. The control unit enters the corresponding alarm state.
– 124 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
DVAL
*SP
AC power line
of servo unit MMC
t t
t : 50ms or more
NOTE When the power is turned on, if the level of this signal is high, the servo motor is not excited.
The servo ready signal SA does not go high either. Set the level of this signal to low before
turning on the power. Set the level high, if necessary, after the servo motor has been excited.
– 125 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– 126 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
The only difference between manual continuous feed and incremental feed is the method of selecting the feed
distance. In manual continuous feed, the tool continues to be fed while the following signals selecting the feed
axis and direction are high: +J1, –J1, +J2, –J2, +J3, –J3, etc. In incremental feed, the tool is fed the distance
selected by the DIST0 to DIST26 signals.
For the signals selecting the mode, see Section 2.3.2, “Mode Selection Signals.” For rapid traverse feedrate
override signals ROV1 and ROV2, see Section 2.3.14, “Feedrate Override Signals.”
Other signals are described below.
(a) Feed axis and direction selection signals: +J1, –J1, +J2, –J2, +J3, –J3, etc.
[Classification]
Input signals
[Function] Selects a desired feed axis and direction in manual continuous feed or incremental feed. The
sign (+ or –) in the signal name indicates the feed direction. The number following J indicates
the number of the control axis.
+J 1
1 ……First axis is fed
[Operation] When the signal is high, the control unit operates as described below.
i. When manual continuous feed or incremental feed is allowed, the control unit moves the
specified axis in the specified direction.
ii. In manual continuous feed, the control unit continues to feed the axis while the signal is
high.
J
+J1
– 127 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
iii. In incremental feed, the control unit feeds the specified axis the distance selected by in-
cremental feed distance selecting signals DIST0 to DIST26. Then the control unit stops
it. Even if the J signal is set low while the axis is being fed, the control unit does not stop
feeding it.
To feed the axis again, set the J signal low, then set it high again.
S
+J1
NOTE 1 If both the positive direction and negative direction signals of the same axis are simultaneously
set high, neither the positive direction nor the negative direction is selected. The control unit
assumes that both these J signals are set low.
NOTE 2 Up to two axes can be controlled in manual operation. If three or more signals selecting the
feed axis and direction are set high, the first two signals are validated. If the optical extension
function for simultaneous axis control is added, all control axes can be simultaneously
controlled even in manual operation.
NOTE 3 If the feed axis and direction selection signals are set high before the manual continuous feed
mode or incremental feed mode is selected, these signals are invalidated. After the manual
continuous feed more or incremental feed mode is selected, set these signals low, then set
them high again.
J
+J1
1st axis move
NOTE 4 If the control unit is reset while the feed axis and direction selection signals are set high or if
a feed axis and direction signal goes high while the control unit is in the reset state, the signal
cannot be validated by releasing the reset state. After the reset state is released, set these
signals low, then set them high again.
J
Reset
+J1
+J1 is ineffective
during this period.
(b) Manual feedrate override signals: *JV0 to *JV15
[Classification]
Input signals
[Function] Selects a feedrate in manual continuous feed or incremental feed. These signals are sixteen
binary code signals, which correspond to the override values as follows:
– 128 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
(2
15
Override value (%) = 0.01% × i
Vi)
i0
where
Vi = 0 when the *JVi signal is high
Vi = 1 when the *JVi signal is low
The override value is assumed to be zero when all of the signals, (*JV0 to *JV15) are set high
or low. When this occurs, the feed is stopped. The override value can be specified in the
range of 0% to 655.34% in units of 0.01%. Some examples are listed below.
*JV0 – *JV15
Override value (%)
15 12 8 4 0
1111 1111 1111 1111 0
1111 1111 1111 1110 0.01
1111 1111 1111 0101 0.10
1111 1111 1001 1011 1.00
1111 1100 0001 0111 10.00
1101 1000 1110 1111 100.00
0110 0011 1011 1111 400.00
0000 0000 0000 0001 655.34
0000 0000 0000 0000 0
(0: Signal low 1: Signal high)
[Operation] If rapid traverse selection signal RT is low during manual continuous feed or incremental feed,
the manual feedrate specified by the parameter is overridden by the value specified by the
JVi signal.
NOTE The JVi signals also serve as the override signals during dry run in automatic operation mode.
Rapid traverse
speed
CAUTION After the power is turned on, the stored stroke limit function does not work until the reference
position return is completed. During this period, the control unit ignores the RT signal, if it
is set high, and keeps moving the tool at a feedrate selected by the manual feedrate override
signal. A parameter can be specified so that the rapid traverse is validated before the
reference position return is completed.
– 129 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
(2
26
Feed distance = Least increment unit × i
Vi)
i0
where
Vi = 0 when the DISTi signal is low
Vi = 1 when the DISTi signal is high
The feed distance can be specified in the range of 0 to 99,999,999. When a value outside
this range is specified, zero is assumed.
[Operation] Each time a step of incremental feed is executed (the feed axis and direction selection signal
is set low, then high), the tool is fed the distance specified by the signal.
CAUTION Since a value is entered in a specified increment unit, the actual feed distance depends on
the increment unit and the input system, metric or inch. An identical value may result in
different feed distances if the axes have different increment units.
NOTE A parameter can be specified so that the feed distance of incremental feed can be determined
by manual handle feed distance signals, MP1, MP2, MP4 instead of the DIST signals. See
Section 2.3.7, “Manual Handle Feed Signals.”
– 130 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
(b) Manual handle feed distance selection signals: MP1, MP2, MP4
[Classification]
Input signals
[Function] Selects the feed distance per pulse of the manual pulse generator in manual handle feed.
Each time a pulse is output by the manual pulse generator in manual handle feed, the tool
is feed the distance selected by the signal.
Move amount
selection signals Move amount ((manual handle feed))
MP4 MP2 MP1
0 0 0 Least input increment × 1
0 0 1 Least input increment × 10
0 1 0 Least input increment × n1
or least input increment × 100
0 1 1 Least input increment × n
1 0 0 Least input increment × n
1 0 1 Least input increment × n
1 1 0 Least input increment × n
1 1 1 Least input increment × n
(0: Signal low 1: Signal high) 1: n is set by parameter. (Range 1 to 200)
CAUTION Since the value is entered in a specified increment unit, the actual feed distance depends
on the increment unit and the input system, metric or inch. An identical value may result in
different feed distances if the axes have different increment units.
NOTE A parameter can be specified so that the feed distance in manual step feed can be selected
by the MP signals. When this parameter is specified, the feed distance is determined as shown
below:
Move amount
selection signals Move amount ((incremental feed))
MP4 MP2 MP1
0 0 0
Least input increment × 1
0 0 1
Least input increment × 10
0 1 0
Least input increment × 100
0 1 1
Least input increment × 1,000
1 0 0
Least input increment × 10,000
1 0 1
Least input increment × 100,000
1 1 0
Least input increment × 100,000
1 1 1
– 131 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
⋅ The axis selection signal of the first manual pulse generator is in the mode of handle feed
in the direction of the tool axis specified in the parameter.
(2) Signal for executing handle feed perpendicular to the tool axis: RGHTH
[Classification]
Input signal
[Function] Validates the function of handle feed perpendicular to the tool axis.
[Operation] If the signal goes high when the following conditions are satisfied, the system enters the mode
of perpendicular handle feed to the tool axis:
⋅ The system is in the handle mode.
⋅ The axis selection signal of the first manual pulse generator is in the mode of handle feed
perpendicular to the tool axis as specified in the parameter.
If the signal goes high when the following conditions are satisfied, the system enters the mode
of handle interrupt perpendicular to the tool axis:
⋅ The system is in the manual handle interrupt mode.
⋅ The system is in a cutting feed mode, such as G01, G02 or G03.
⋅ The axis selection signal of the first manual pulse generator is in the mode of handle feed
perpendicular to the tool axis as specified in the parameter.
(3) Signal for rotating the tool around the center of the tool tip with the handle: RNDH
[Classification]
Input signal
[Function] Validates the function of handle rotation around the center of the tool tip.
[Operation] If the signal goes high when the following conditions are satisfied, the system enters the mode
of handle rotation around the center of the tool tip:
⋅ The system is in the handle mode.
⋅ The axis selection signal of the first manual pulse generator is in the mode of handle rota-
tion around the center of the tool tip as specified in the parameter.
If the signal goes high when the following conditions are satisfied, the system enters the mode
of handle interrupt around the center of the tool tip:
⋅ The system is in the manual handle interrupt mode.
⋅ The system is in a cutting feed mode, such as G01, G02 or G03.
⋅ The axis selection signal of the first manual pulse generator is in the mode of handle rota-
tion around the center of the tool tip as specified in the parameter.
(4) Signal for changing the tool length compensation in the direction of the tool axis with the handle: CNGTL
[Classification]
Input signal
[Function] Validates the function for changing the tool length compensation in the direction of the tool
axis.
[Operation] If the signal goes high when the following conditions are satisfied, the system enters the mode
for changing the tool length compensation in the direction of the tool axis:
⋅ The system is in the manual handle interrupt mode.
⋅ The system is in the mode of tool length compensation in the direction of the tool axis.
(G43.1)
⋅ The axis selection signal of the first manual pulse generator is in the mode for changing the
tool length compensation in the direction of the tool axis.
– 132 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 133 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
Two sets of signals are provided. One set is for selecting the first axis, and the other set is
for selecting the second axis. Each set consists of four code signals: A, B, C, and D. A num-
ber following AJP in a signal name indicates whether the signal selects the first or second axis
of a plane.
AJP1A
1 ……Selection of the first axis of the plane in which manual arbitrary angle
feed is performed
2 ……Selection of the second axis of the plane in which manual arbitrary angle
feed is performed
+2nd axis
-2nd axis
These input signals are divided into two groups. One group consists of code signals AJA0
to AJA12, which specify an angle. The other group consists of strobe signal AJSTB, which
reports that the code signals are valid. The relation between the code signals and a selected
angle is expressed as follows:
– 134 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
(2i + Vi)
12
Angle = 1/16 deg +
i0
NOTE If the specified angle is 360.0deg or larger, the angle obtained by subtracting 360.0 from the
specified value is assumed.
NOTE 1 If +AJ and –AJ go high at the same time, both signals are ignored.
NOTE 2 If a feed signal is already high before the manual arbitrary angle feed mode is selected, the feed
signal is invalid. In this case, after the manual arbitrary angle feed mode is selected, the feed
signal needs to go low, then go high again.
NOTE 3 If the system is reset when a feed signal is left high, or if a feed signal goes high when a reset
is in progress, that feed signal is invalid even when the reset is released. In this case, after the
reset is released, the feed signal needs to go low, then go high again.
NOTE 4 Manual arbitray angle feed is not correctly performed if the increment systems for the two axes
are different.
– 135 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
Continuous manual feed, incremental feed, and manual handle feed can be used for interrupt.
For example, cutting along an axis can be interrupted to change the depth of cut on that axis during auto-
matic operation.
(ii) Setup interrupt
An interrupt is made by manual operation for an axis along which a tool is not moved during automatic op-
eration.
Continuous manual feed, incremental feed, and manual handle feed can be used for interrupt.
The interrupt type can be selected for each axis by parking signals (PK1, PK2, PK3, ...) input from the PMC.
Selecting the simultaneous automatic and manual mode
The table below lists the states of mode selection input signals to select the simultaneous automatic and manu-
al operation mode.
The following example shows the case where automatic operation is switched to simultaneous automatic and
manual operation starting with a certain block.
1 Program command Mxx; switches automatic operation to simultaneous automatic and manual operation.
Program command M∆∆ ; returns simultaneous automatic and manual operation to automatic operation.
Set parameters so that Mxx; and M∆∆ ; do not direct buffering the next block.
Automatic operation
N10Mxx ;
Automatic/manual simultaneous operation
N20M∆∆ ;
Automatic operation
2 The following time chart shows the operation for block Mxx;:
Next block
M command Mxx ;
Strobe signal MF
Automatic/manual simultaneous
operation selection signal MOVL
End signal
Set a signal (H, J, or S) high for selecting a manual mode after turning on signal MOVL for selecting simulta-
neous automatic and manual operation, or set them high at the same time.
The simultaneous automatic and manual mode is selected by the procedure described above.
For each axis, either a cutting axis interrupt or setup interrupt is selected by the state of the parking signal
for the axis when the simultaneous automatic and manual operation mode is selected. Specify the desired
interrupt type in the parking signal for each axis before turning on signal MOVL and a signal for selecting
a manual mode.
– 136 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
3 The following time chart shows the operation for block M∆∆ ; which switches simultaneous automatic and
manual operation to automatic operation:
Next block
M command M∆∆ ;
Strobe signal MF
Automatic/manual simultaneous
operation selection signal MOVL
End signal
Set signal MOVL low for selecting simultaneous automatic and manual operation after setting a signal low
for selecting a manual mode, or turn them low at the same time.
Assume that a switch named “Manual handle interrupt” is prepared on the machine operator’s panel to
enable the operator to interrupt the cutting axis by manual handle feed to change the cutting depth. If the
sequence is set as shown in the following time chart, operation immediately changes from automatic op-
eration to simultaneous automatic and manual operation and it is possible to interrupt the cutting axis by
manual operation.
MDI
Manual reference
Memory operation
point return
ON
OFF
Automatic/manual simultaneous
operation selection signal MOVL
– 137 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
describes the precautions when the interrupt type is switched during simultaneous automatic and manual op-
eration.
The timing for switching the interrupt type is different for single block operation and continuous operation.
1 For single block operation
Excution block :
: Block currently being executed Next block
The interrupt type changes at timing (2), which starts the next block. The interrupt type remains as cutting
axis interrupt even if the parking signal goes high between (1) and (2). The interrupt type does not change
until the next block is started even if the parking signal is switched while execution of the current block is
in progress.
2 For continuous operation
Execution block
: Block currently Next block Next but one
being executed block
The interrupt from type changes at timing (5), which starts the block two blocks from the current block. The
interrupt type remains as cutting axis interrupt even if the parking signal goes high between (3) and (5).
The interrupt type does not change until the block two blanks from the current block is started even if the
parking signal is switched, while execution of the current block is in progress.
3 When reset
– 138 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
As indicated in the above table, setup interrupt is not affected by the state of automatic operation. For cut-
ting axis interrupt, interrupts are possible in modes other than the positioning mode.
2 Values for feed
The table below lists the distance fed along the axis, feedrate, and time constant for each interrupt type.
NOTE The feedrate along the axis subject to the cutting axis interrupt is the result of superimposition
of the feedrate by the manual interrupt on the feedrate in automatic operation. If the resultant
feedrate exceeds the maximum cutting feedrate for that axis, it is clamped at the maximum
cutting feedrate.
3 Signals
The table below lists the states of signals for each interrupt type.
NOTE 1 Movement by manual operation automatically stops when the interrupt type is changed.
NOTE 2 Movement by manual operation automatically stops when automatic operation changes from
cutting to rapid traverse or from rapid traverse to cutting.
NOTE 3 If acceleration/deceleration is performed before interpolation, movement by manual operation
automatically stops when automatic operation changes from threading to cutting or from
cutting to threading.
NOTE 4 During single block operation, movement by automatic operation stops after each block; but
movement by manual operation does not stop. Stop manual operation to start the next block.
The above are precautions on cutting axis interrupt and does not apply to setup interrupt.
NOTE 5 To perform simultaneous automatic and manual operation for manual handle feed, the manual
handle interrupt option is required.
– 139 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– 140 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
NOTE 1 Select absolute switch signal ABS and set signal MIGET high before returning signal FIN for
an M code without buffering.
NOTE 2 Keep signal MIGET low while the control unit is in the reset state or has just started automatic
operation.
NOTE 3 Alarm PS059 occurs if signal MIGET goes high when there is no M code without buffering (the
block has already been read).
Manual reference position return is performed using the signals listed above in the following procedure:
(1) Select the continuous manual feed mode (J), and set the manual reference position return selection signal
(ZRN) high.
(2) Feed a target axis toward the reference position by making an appropriate feed axis direction selection
signal (+J1, –J1, +J2, –J2, ...) high.
– 141 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
(3) While the feed axis direction selection signal is high, rapid traverse takes place along that axis. Although
the rapid traverse override signals (ROV1, ROV2) are valid, the override is generally set to 100%.
(4) When the reference position is approached, a limit switch installed on the machine is turned on, making
the deceleration signal (*DEC1, *DEC2, *DEC3, ...) low. Consequently, the feedrate is decelerated to 0,
then the tool is fed at a constant, low speed (reference position return FL feedrate specified by parameter
setting).
(5) When the deceleration signal goes high again after the limit switch for deceleration is passed, the operation
varies depending on the method used for manual reference position return. If the grid method is used with-
out reference position proximity signals, the tool is fed with the feedrate unchanged, then the tool stops
at the first grid point (electric grid point).
Multi–axes system only.
If the method of using a magnetic switch is used, the tool is further decelerated to a constant, low speed
(reference position return FL feedrate specified by parameter setting), then the tool stops at the point when
the reference position arrival signal (ZP1, ZP2, ZP3, ...) goes high.
(6) Upon confirmation that the current position is in the effective area, the reference position return end signal
(ZP1, ZP2, ZP3, ...) goes high.
Step (2) and subsequent steps are performed independently for each axis. The standard specifications permit
simultaneous operation for up to two axes. If the simultaneous controllable axes expansion option is provided,
simultaneous movement for all controlled axes is possible.
If the feed axis direction selection signal (+J1, –J1, +J2, –J2, ...) goes low between steps (2) and (5), the tool
is stopped at once, and reference position return is assumed to be canceled. If the signal goes high again,
operation resumes from step (3) (rapid traverse).
The timing charts for the basic procedures are given below.
1) Grid method (when no reference position proximity signal is used)
J
ZRN
+J1
DEC1
*
Grid
ZP1
Feedrate
– 142 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
J
ZRN
+J1
* DEC1
ZD1
Grid
ZP1
Feedrate
J
ZRN
+J1
*DEC1
ZD1
ZP1
Feedrate
– 143 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
NOTE If the ZRN status changes from low to high or high to low during continuous manual feed, the
feedrate is decelerated to 0, then it is accelerated to a specified feedrate for manual reference
position return or continuous manual feed. The operation continues at that feedrate. During
that time, the feed axis direction selection signal may remain high.
– 144 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
NOTE 1 The direction of reference position return is predetermined for each axis. If the tool is fed in the
opposite direction to the predetermined direction in manual reference position return, the
deceleration signal goes low, and the tool is returned to the point at which the deceleration
signal goes high again (that is, the point where the deceleration limit switch would be
encountered if the tool were fed in the predetermined direction). Then reference position return
is performed automatically in the predetermined direction.
J
ZRN
-J1
*DEC1
Grid
ZR1
Feedrate
NOTE 2 When reference position return is selected, an axis whose reference position return end signal
is already high or an axis whose reference position return end signal was set high upon
completion of reference position return is locked, and movement along that axis is disabled
while the reference position return selection signal (ZRN) is high. To perform movement along
such an axis, ZRN must be set low, and the feed axis direction selection signal must be set low
then set high again.
– 145 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
DEC1
1 ……Reference position return deceleration signal for the first axis
[Operation] For the operation of the control unit in response to the deceleration signal, see the description
of the basic procedure for reference position return.
(e) Reference position proximity signals/reference position arrival signals (ZD1, ZD2, ZD3,...) (Multi–
axes system only)
NOTE These signals are not interface signals between the PMC and control unit.
[Classification]
Input signals
[Function] The function of these signals varies depending on the method used for reference position re-
turn.
If the grid method is used, these signals indicate that the reference position is approached.
The next grid point is the reference position. These signals need not necessarily be used.
If they are not used, the reference position proximity signal is assumed to be always high.
So, the first grid point encountered after the deceleration signal goes high again becomes the
reference position.
If the method of using a magnetic switch is used, these signals indicate that the reference
position has been reached. They are provided for axes in a one–to–one correspondence.
A number appended to a signal represents a controlled axis number.
ZD1
1 ……Reference position proximity/arrival signal for the first axis
These signals must be connected to the control unit directly, not via the PMC.
[Operation] For the operation of the control unit in response to these reference position proximity/arrival
signals, see the description of the basic procedure for reference position return.
– 146 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 147 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
ZRN mode
+X or -X
(PMC → NC)
X-axis V
X-axis grid
Reference position
Stop position
+X or -X
(PMC → NC)
X-axis V New reference position
X-axis grid
Stop position
– 148 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 149 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
Grid point →
Shifted by grid shift
To match the electrical stop position with the machine zero point, a grid shift is set automatically. From the elec-
trical stop position, the grid point can be shifted by +1/2 of a grid point interval.
[After a grid shift is set]
Grid point →
Furthermore, a software deceleration dog is automatically set (software extension of the deceleration dog).
The software deceleration dog can be used to match the electrical stop position with the machine zero point
by turning off the deceleration dog 1/2 of grid point interval from the machine zero point.
[After a grid shift and software deceleration dog are set]
Grid point →
1/2 of the grid
point interval
– 150 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
When using the automatic reference position setting function, follow the procedure below. An example is shown
for the following figure:
1 Perform manual reference position return. Upon completion of manual reference position return, a stop
occurs at grid point (1) shown in the figure, and the reference position return completion signals (ZP1, ZP2,
ZP3, etc .) are output.
2 Set the automatic reference position setting signals (RAST1, RAST2, RAST3, etc.) to high. Note that auto-
matic reference position setting signals are enabled only when the RASx bit of parameter 1008 is on.
3 Perform manual operation (continuous manual feed or manual feed using the manuals pulse generator)
to reach point (2) (the machine zero point). This operation determines distance LMANMV between machine
zero point and the grid point at which the tool stops after manual reference position return.
4 Set the automatic reference position setting signals to low. Grid shift LGRID and software deceleration dog
amount LSFTDEF are obtained from the expression shown below. The obtained grid shift is set in parameter
1850 and the software deceleration dog amount is set in parameter 1885, automatically.
(1) (2)
LMANMV
Limit switch
Grid point →
LGRID
LDEC
LGHALF
LSFTDEC
Grid shift LGRID: Remainder of the distance of manual movement LMANMV divided by the grid point interval
Software deceleration dog amount LSFTDEC: LGHALF (half of the grid point interval) is subtracted from the dis-
tance of manual movement (LMANMV) in 3. The result of the subtraction is then added to distance LDEC from
the p oint immediately after the deceleration dog to the point at which the first stop occurred in 1.
LSFTDEC = LDEC + (LMANMV – LGHALF)
NOTE 1 This function is valid only for axes along which reference position return is performed using the
grid method.
NOTE 2 When a software deceleration dog value and grid shift have been set using this function, the
power must be turned off and on again before operation can be started.
NOTE 3 When an absolute pulse coder is used as the position detector for this function, the APZx bit
of parameter 1815 (the parameter for zero–point adjustment during absolute position
detection) must be set to OFF.
NOTE 4 When a grid point is matched with the machine zero point using this function, the software
deceleration dog value is added in the same direction as for reference position return.
This means that the software deceleration dog can extend the effective range of the
deceleration dog as shown below, but cannot shorten the range.
– 151 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
[Using this function when reference position return is performed in the positive direction]
Positive
direction
Grid point →
[Using this function when reference position return is performed in the negative direction]
NOTE 5 The distance ((1) in the following figure) from the position where the deceleration dog is
released to the reference position where a stop takes place is indicated in item No. 3008 on
the diagnosis screen. When a sof tware deceleration dog is set, the distance ((2) in the figure)
from the position where the software deceleration dog is released to the reference position
where a stop takes place is indicated.
(1)
(2)
Grid point →
(1) Automatic reference position setting signals RAST1, RAST2, RAST3, etc.
[Classification]
Input signals
[Function] When reference position return is performed, these signals automatically set the software de-
celeration dog value and grid shift to match the grid position where reference position return
stops with the machine ze ro point.
A number appended to a signal name represents a controlled axis number.
RAST1
1 ……Automatic reference position setting signal for the first axis
[Operation] When an automatic reference position setting signal is high, manual operation (continuous
manual feed or manual handle feed operation using the manual pulse generator) from the grid
point where a stop occurred t o the machine zero point can be performed to determine the
distance between these points automatically. When the signal goes low from high, the soft-
ware deceleration dog value and grid shift are set automatically.
– 152 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
NOTE 1 Before setting an automatic reference position setting signal to high, perform reference
position return to set the reference position return completion signals (ZP1, ZP2, ZP3, etc.) to
high.
NOTE 2 The distance from the grid point where reference position return stopped to the machine zero
point can be measured only by performing manual operation (continuous manual feed or
manual operation using the manual pul se generator).
NOTE 3 When an automatic reference position setting signal is used to set the software deceleration
dog value and grid shift, alarm message PW000 POWER MUST BE OFF is displayed.
– 153 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
NOTE When registering programs from tape to memory in background editing, use external
registration start signal EXRD instead of the ST signal. In this case, if the mode is other than
the part program storage and edit mode, the registration can be performed without affecting
a program executed in the memory mode. See Section 2.3.47 for details.
– 154 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
NOTE If SP goes low during automatic operation, it is stopped immediately. In the following cases,
however, automatic operation continues until it reaches a point at which it can be stopped. At
that point operation is stopped. (Operation is stopped at this point even if SP goes high again
before this point is reached.)
1 Cutting feed is in progress in the tapping canned cycle. In this case, operation is stopped
when return to the reference position or initial position has been performed after the ter-
mination of tapping.
2 Threading is in progress. In this case, operation is stopped when a non–threading block
subsequent to the blocks of the current threading operation has been executed. If SP
is still low, however, operation is stopped immediately after that non–threading block
starts (at the start point of the block).
3 A control variable that disables feed hold is set in a custom macro. In this case, operation
is stopped when a subsequent block that clears the control variable for the first time has
been executed. If SP is still low, however, operation is stopped immediately after that
block starts (at the start point of the block).
(c) Single block signal (SBK)
[Classification]
Input signal
[Function] This signal selects single–block operation.
[Operation] If the signal goes high, the control unit functions as described below.
1 If the control unit is performing automatic operation, it stops operation after the executing
block terminates. To execute the next block, automatic operation must be started again.
2 Unless the control unit is performing automatic operation, the control unit does not per-
form any particular operation. When automatic operation is started while SBK is left high,
operation stops after one block is executed. This function is useful for executing a pro-
gram block by block.
NOTE 1 The high or low state of SBK is determined at the end point of a block being executed. When
SBK is low at the end of a block, single–block operation cannot result even if SBK goes high
at the start of a block or during block execution.
NOTE 2 If SBK is high at the end of a block, operation is stopped immediately. In the following cases,
however, operation continues until it reaches a point at which it can be stopped. At that point
operation is stopped. (If SBK goes low before this point is reached, operation does not stop.)
1 A cycle operation, such as a canned cycle, is in progress. In this case, which block, among
the blocks performing cycle operation, accepts single block operation depends on the
cycle. Refer to the description of cycles in the programming description.
2 A control variable that disables single block operation is set in a custom macro. In this
case, when a block that clears that control variable appears, single block operation is
accepted and operation is stopped if SBK is still high.
NOTE 3 SBK is invalid for manual numerical commands. Manual numerical commands can be
specified for one block only, so single block operation is unnecessary.
– 155 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
Cycle operating signal Cycle start lamp signal Feed hold lamp signal
OP SPL STL
Reset
0 0 0
condition
Automatic operation
1 0 0
stop condition
Automatic operation
1 1 0
pause condition
Automatic operation
1 0 1
start condition
(0: Signal low 1: Signal high)
The basic meanings of these statuses are as follows:
(1) Reset status: A program has been executed, and automatic operation is stopped.
(2) Automatic operation stop status: A block has been executed, and automatic
operation is stopped.
(3) Automatic operation pause status: A block was partially executed, and automatic
operation is stopped.
(4) Automatic operation start status: Automatic operation is being performed.
For details about how statuses are changed, see the automatic operation status transition
table.
(f) Program restart selection signal (SRN)
[Classification]
Input signal
[Function] This signal selects the restart of a program. For details, refer to the operator’s manual.
(g) Block restart selection signal (BRN)
[Classification]
Input signal
[Function] This signal selects the restart of a program. For details, refer to the operator’s manual.
– 156 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
NOTE These three signals, SRN, BRN, and ABS, are turned on and off by using switches on the
machine operator’s panel.
Comand program
Next block
Cutter compensation
During cutter compensation, the tool moves as follows when the program is restarted:
– 157 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
Canned cycle
If a block is canceled during a canned cycle, the canned cycle is canceled. The program is restarted from
the next block.
Example N010 G84 G91 X x1 Y y1 Z z1 R r L 3 ;
N020 G00 G90 X x2 Y y2 Z z2 ;
– 158 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
(2 Vi) %
6
i
Override value =
i0
where Vi = 0 when the RViB signal is high. Vi = 1 when the RViB signal is low.
Each signal indicates the following override:
RV0B: 1%, RV1B: 2%, RV2B: 4%, RV3B: 8%, RV4B: 16%, RV5B: 32%, RV6B: 64%
When all signals are low or high, the system assumes that the override is 0%. If an override
exceeding 100% is specified, the system assumes that the override is 100%.
For the Series 15–M or 15–T, specify 1 for G40.7. For the Series 15–TT, specify 1 for G120.7.
[Operation] During automatic and manual operation (including manual reference position return), the rap-
id traverse feedrate specified by parameter is overridden with the value specified by these
signals. The tool is moved at the overridden rapid traverse feedrate. .pa (p.65)
(c) Feedrate override signals (FV0 to FV7 [#1, #2])
[Classification]
Input signals
[Function] These signals override a cutting feedrate.
Eight binary code signals are provided. The relation between these signals and an override
is expressed as follows:
(2 Vi) %
7
i
Override =
i0
where, Vi = 0 when FVi is high
Vi = 0 when FVi is low
– 159 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
If all signals are low, the override is assumed to be 0% in the same way as when all signals
are high.
By using these signals, an override ranging from 0% to 254% can be selected in 1% steps.
[Operation] In cutting feed in automatic operation, the actual feedrate is obtained by multiplying the speci-
fied feedrate by the override selected with these signals.
In the following cases, however, the override is assumed to be 100% regardless of the states
of these signals:
⋅ Override cancel signal OVC is high.
⋅ Cutting is being performed in the tapping canned cycle.
⋅ The tapping mode is in progress (G63).
⋅ Threading is being performed.
Only when the override is 0% (when all signals are high or low), does it become valid not only
for cutting feed but also rapid traverse in automatic operation. This means that when the over-
ride is set to 0%, rapid traverse stops as well as cutting feed. (Even when the override is 0%,
continued rapid traverse can be specified by parameter setting.)
(d) Second feedrate override signals (AFV0 to AFV7 [#1, #2])
[Classification]
Input signals
[Function] These signals override a cutting feedrate. A feedrate resulting from the application of the first
override set by FV0 to FV7 is further overridden. Whether to use the second feedrate over-
ride signals is selected by parameter setting.
Eight binary code signals are provided. The relation between these signals and an override
is expressed as follows:
(2 Vi) %
7
i
Override =
i0
where, Vi = 0 when AFVi is high
Vi = 0 when AFVi is low
The signals have the following weights:
AFV0 : 1% AFV4 : 16%
AFV1 : 2% AFV5 : 32%
AFV2 : 4% AFV6 : 64%
AFV3 : 8% AFV7 : 128%
If all signals are low, the override is assumed to be 0% in the same way as when all signals
are high.
By using these signals, an override ranging from 0% to 254% can be selected in 1% steps.
[Operation] In cutting feed in automatic operation, the feedrate resulting from the application of the first
feedrate override to the specified feedrate is again overridden. The actual feedrate is ob-
tained by multiplying the specified feedrate by the override selected by these signals.
The conditions for ignoring the first feedrate override and assuming 100% also apply to the
second feedrate override.
Only when the override is 0% (when all signals are high or low), does it become valid not only
for cutting feed but also rapid traverse in automatic operation. This means that when the over-
ride is set to 0%, rapid traverse stops as well as cutting feed. (Even when the override is 0%,
continued rapid traverse can be specified by parameter setting.)
– 160 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
(2 Vi) ×0.01%
7
i
Override value =
i0
where Vi = 0 when APFi is high and
Vi = 1 when APFi is low
That is, each signal has the following weight:
APF00 : 0.01% APF04 : 0.16% APF08 : 2.56% APF12 : 40.96%
APF01 : 0.02% APF05 : 0.32% APF09 : 5.12% APF13 : 81.92%
APF02 : 0.04% APF06 : 0.64% APF10 :10.24%APF14 :163.984%
APF03 : 0.08% APF07 : 1.28% APF11 :20.48% APF15 :327.68%
When all these signals are low, an override of 0% is assumed, just like when all these signals
are high.
The override can be selected in the range from 0 to 655.34% with 0.01% increments.
[Operation] Same as the specifications for the conventional second feedrate override.
Example To set the second feedrate override to 55.55%, set the signals as follows:
G146 1 1 1 0 1 0 1 0
G147 0 1 0 0 1 1 0 0
– 161 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
Fmax represents a maximum F1 digit feedrate, and is set in a parameter separately for
F1 to F4 and F5 to F9. If an increased feedrate exceeds Fmax, the feedrate is clamped
to Fmax. Conversely, if a decreased feedrate becomes lower than 0, the feedrate is
clamped to 0.
An increased or decreased feedrate is preserved even if the power is turned off.
2 When movement in automatic operation mode is not in progress according to an F1 digit
command, no F1 digit feedrate adjustment can be made. In this case, the manual pulse
generator is reserved for F1 digit feedrate adjustment; the manual pulse generator can-
not be used for axis feed.
3 In manual operation mode, this signal has no effect. Even when this signal is high, manu-
al handle feed is allowed.
NOTE The F1 digit command F0 specifies rapid traverse. There is no corresponding F1 digit setting.
– 162 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
NOTE 1 The machine lock signal for the Z–axis is equivalent to the signal that has been referred to as
the Z–axis ignore signal ZNG.
NOTE 2 To stop machine operation for a program check, axis movement must be stopped using these
machine lock signals, and the execution of auxiliary functions must also be stopped using the
auxiliary function lock signal AFL.
– 163 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
NOTE The control unit does not have a function for setting the axis–by–axis machine lock signals on
the MDI panel.
(e) Axis–by–axis machine lock check signals (MMLK1, MMLK2, MMLK3, ...)
[Classification]
Output signals
[Function] These signals report the machine lock states of the axes, axis by axis.
A number appended to an axis–by–axis signal represents a controlled axis number.
MMLK 1
1 ……Machine lock check signal for the first axis
2 ……Machine lock check signal for the second axis
3 ……Machine lock check signal for the third axis
: :
: :
[Output Condition]
These signals go high when:
⋅ The machine lock signal for each axis is high
These signals go low when:
⋅ The machine lock signal for each axis is low
NOTE However, note that these signals are always low when machine lock on each axis is disabled
by setting the parameter (data number 1005, ZNGn = 0).
NOTE This signal has no effect on the absolute position display (ABSOLUTE) field and machine
position display (MACHINE) field among the CRT position display fields.
– 164 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
CAUTION Even when this signal is high, spindle control (output of data, including a spindle–speed
command to the PMC, output of a spindle motor voltage command to the D/A converter, and
so forth) is exercised.
– 165 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
[Operation] When “ / ” or “ /n ” appears in a command program during automatic operation, the corre-
sponding optional block skip signal is checked. When the signal is high, the block is skipped.
When the signal is low, the block is executed in the ordinary manner.
For detailed information, refer to the Operator’s Manual.
(b) Optional block skip check signals (MBDT1 to MBDT9 [#1, #2])
[Classification]
Output signals
[Function] These signals report the states of the optional block skip signals. The purpose of these sig-
nals is to notify the machine of the statuses of the optional block skip switches, which can be
optionally provided in the control unit so that they can be turned on and off on the MDI panel.
Nine optional block skip check signals are available; these signals correspond to nine option-
al block skip signals. Each optional block skip signal corresponds to the optional block skip
check signal that has the same number appended.
[Output Condition]
An optional block skip check signal goes high when:
⋅ The corresponding optional block skip signal BDTi is high
⋅ The corresponding optional block skip switch in the control unit is on
An optional optional block skip check signal goes low when:
⋅ The corresponding optional block skip signal BDTi is low, and the corresponding
optional block skip switch in the control unit is off
NOTE 1 A position check is made before and after a positioning block regardless of the state of this signal.
NOTE 2 A parameter can specify whether to only check that an acceleration/deceleration delay has
been eliminated, or to also check that a servo delay (error) has been reduced to within a certain
range.
NOTE 3 In general, whether to make a position check is to be determined in a command program by
turning on or off this signal with an appropriate miscellaneous function. However, as this signal
is low, it is equivalent to the specification of G09 or G61 in a command program. It is
recommended to use these G codes instead of this signal unless otherwise required.
– 166 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
2.3.24 Miscellaneous functions, spindle–speed functions, tool functions, and secondary auxil-
iary functions
These functions have the following associated signals:
Input
Output signals
Program
g signal
Function
address
dd Distribution End
Code signal Strobe signal
end signal signal
Miscellaneous
M M0 – M31 MF
function
Spindle speed
S S0 – S31 SF
function DEN, IPEN
DEN, FIN
Tool function T T0 – T31 TF
Second auxiliary
B 1 B0 – B31 BF
function
1 The address A, C, U, V, or W can also be used instead of B by parameter setting. However,
such an address must not duplicate a controlled axis address. In the text below, the address
B is used for explanation.
Basic send procedure
The addresses and signals used in programs vary from one program to another. However, the same send pro-
cedure applies to all functions as described below. The description below uses a miscellaneous function. How-
ever, the code M used in the described procedure can be replaced with S, T, and B to explain the spindle–speed
functions, tool functions, and second auxiliary functions, respectively.
(1) Suppose that Mxxx is specified in a command program.
A numeric value from –99,999,999 to +99,999,999 can be specified as xxx. A parameter can specify the
maximum number of digits (0 to 8) for each function, and can raise an alarm for a command exceeding
the specified maximum number of digits. A parameter can also specify whether to allow the minus sign
to be used.
(2) A code signal from M0 to M3 is sent, and the strobe signal MF goes high at the same time. A code signal
represents the program command value xxx in binary. That is,
xxx (specified value)
where Vi = 0 when Mi is low, and
Vi = 1 when Mi is high.
A time delay from code signal setting until the strobe signal goes high can be set using a parameter. The
strobe signal never goes high before code signal setting.
When a miscellaneous function is specified with other functions (such as a move command, dwell, and
spindle–speed function), the code signal is output at the same time as the start of the execution of the other
functions.
(3) The PMC must read the code signal to execute the corresponding operation when the strobe signal goes
high.
(4) When the corresponding operation is to be executed upon completion of a move command, dwell, or other
function specified in the same block, wait for the distribution end signal DEN or IPEN to go high.
(5) The PMC must drive the end signal FIN high upon completion of the corresponding operation. Note, how-
ever, that the end signal is commonly used with the miscellaneous functions, spindle–speed functions, tool
functions, second auxiliary function functions, and external operation functions described in the next sec-
tion. If these other functions are concurrently operating, the end signal must go high when all functions
have been executed.
(6) When the FIN signal is high for a certain time (the FIN signal check time, T–FIN, which is set by a parame-
ter) or longer, the control unit drives the strobe signal MF low to report the reception of the FIN signal.
(7) The PMC must drive the end signal FIN low when the strobe signal MF goes low.
(8) The miscellaneous function sequence is completed when the FIN signal goes low.
– 167 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
Upon completion of other commands in the same block, the control unit proceeds to the next block. The timing
charts below show the procedure above.
Example 1 Single miscellaneous function specified in a block
T-FIN
T-FIN
– 168 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
For the output conditions and procedure, see the description of “Basic send procedure”
above.
NOTE 1 The following miscellaneous functions are only processed internally by the control unit; they
are not subject to output even when specified:
M98: Subprogram call
M99: Return to a main program
NOTE 2 Decode signals as well as the code signals and strobe signal are output for the miscellaneous
functions listed below. For further information, see the next item.
M00, M01, M02, M30
(b) Decode M signals (DM00 [#1, #2], DM01 [#1, #2], DM02 [#1, #2], DM30 [#1, #2])
[Classification]
Output signals
[Function] These signals report particular miscellaneous functions are specified.
The miscellaneous functions in a command program correspond to output signals as indi-
cated below.
– 169 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
NOTE Use a parameter to select one of the addresses A, B, C, U, V, and W to specify a second
auxiliary function. However, such an address must not duplicate a controlled axis address.
NOTE 1 Only one end signal is used for all functions above. The end signal must go high after all
functions are completed.
NOTE 2 A parameter may also specify use of the FIN signal as the end signal for a canned cycle
spindle–speed function. (See Section 2.3.26.)
(g) Distribution end signals (DEN [#1, #2], IPEN [#1, #2])
[Classification]
Output signals
[Function] These signals report that all commands (such as move commands and dwell) are completed
except those miscellaneous functions, spindle–speed functions, tool functions, and so forth
that are contained in the same block and have been sent to the PMC. They also report that
the end signal from the PMC is being awaited.
Two types of signals are used, depending on the status of move command execution comple-
tion:
IPEN: This signal is sent when although move commands have been completed an
acceleration/deceleration delay and servo delay may still exist.
DEN: This signal is sent when move commands have been completed, an
acceleration/deceleration delay is eliminated, and a servo delay is reduced
to within a certain range (when the current position is in the effective area).
In general, IPEN first goes high, then DEN goes high after some delay. If no move command
is specified, IPEN and DEN go high at almost the same time.
[Output Condition]
The IPEN and DEN signals go high when:
– IPEN: The completion of miscellaneous functions, spindle–speed functions, tool
functions, and so forth is being awaited, and all other commands in the same
block are completed
– DEN: The completion of miscellaneous functions, spindle–speed functions, tool
functions, and so forth is being awaited, all other commands in the same block
– 170 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
Code signal
Mxx Myy
Strobe signal MF
Auxiliary function
completion signal MFIN
Mxx Myy
Code signal
Strobe signal MF
– 171 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
NOTE 1 Whether to use the conventional system or high–speed system for strobe signal and
completion signal handling can be specified by parameter setting.
NOTE 2 The strobe signals MF, SF, TF, and BF go low when the machine is turned on.
NOTE 3 When the control unit is reset, MF, SF, TF, and BF go low.
NOTE 4 This function cannot be used for the completion signals FFIN and FIN for the canned cycle
spindle stop command signal (SSP) and spindle reverse rotation command signal (SSV); the
conventional signal transfer system is used.
This function cannot be used for the completion signal FIN for the external operation signal (EF)
output by G81 to specify external operation; the conventional signal transfer system is used.
– 172 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
(2 Vi) bb
15
i
i0
where vi = 0 when M(200 + i) is low, and
vi = 1 when M(200 + i) is high.
3 When a strobe signal goes high, the PMC reads the code signal corresponding to the strobe signal and
performs the appropriate operation.
4 When all M command operations are completed, the PMC sets FIN (completion signal) to high.
5 When FIN remains high for the time (T–FIN) specified by the parameter, the control unit resets all strobe
signals (MF, MF2, MF3, MF4, and MF5) to low simultaneously, thereby indicating that it has received FIN.
6 When all the strobe signals go low, the PMC resets FIN to low.
– 173 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
M command MaaMbbMccMddMee
Strobe signal MF
PMC operation
PMC operation
PMC operation
PMC operation
PMC operation
MF-DLY
A high–speed interface can also be used to simplify the transfer of the strobe signal and the completion signal
for multiple M commands issued for one block. This interface provides separate completion signals for each
M code. They are called MFIN (the same name as for the single M command per block function), MFIN2,
MFIN3, MFIN4, and MFIN5, respectively. The signal transfer sequence for multiple M codes per block is the
same as that for a single M code per block.
NOTE 1 The control unit is basically designed to issue up to five M codes. However, some types of M
codes cannot be issued simultaneously with others because of mechanical constraints. For
example, M42 can be issued only after the mechanical operation specified by M41 has
finished. Refer to the manual published by the machine builder for details about whether
mechanical operations inhibit particular commands from being issued for a block
simultaneously.
NOTE 2 Do not issue M00, M01, M02, M30, M98, or M99 simultaneously with other M codes.
NOTE 3 Besides M00, M01, M02, M30, M98, and M99, there are M codes that cannot be used
simultaneously with others and must be issued one at a time.
For example, M codes that direct the control unit to perform internal operations in addition to
sending out M code signals should not be used more than once in a single block. Such M
codes include an M code for calling programs 9001 to 9009, an M code for spindle positioning,
and an M code for inhibiting preread of the next block (M code without buffering). In other
words, M codes that can be issued more than once or with other M codes in a single block are
those that only direct the control unit to send M code signals to the machine tool.
– 174 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
(a) Auxiliary function code signals (M200 to M215, M300 to M315, M400 to M415, M500 to M515)
Auxiliary strobe signals (MF2, MF3, MF4, MF5)
[Classification]
Output signals
[Function] Indicate that the second to fifth auxiliary functions have been issued. The output conditions
and procedures are the same as those described in the “Signal transfer sequence” above.
(b) Auxiliary function completion signals (MFIN2, MFIN3, MFIN4, MFIN5)
[Classification]
Input signals
[Function] Indicate that when the high–speed interface is used for multiple M commands per block, the
second to fifth auxiliary functions have been completed.
[Operation] See above description for how the control unit operates and what it performs when the signal
goes high or low.
2.3.27 External operation function
The external operation function is generally used when the drilling axis is not an NC–controlled axis. The exter-
nal operation function performs special operations, such as drilling, punching, and clamping, on the machine
by using the external operation signal EF output each time G81 command positioning is completed.
(a) External operation signal (EF [#1, #2])
[Classification]
Output signal
[Function] This signal reports that G81 positioning must be completed with a device having the external
operation function, and that a particular external operation must be performed externally.
[Output Condition]
This signal goes high when:
⋅ G81 positioning is completed, and the current position is in the effective area
This signal goes low when:
⋅ The end signal FIN is returned
⋅ Reset occurs
The PMC must handle the EF and FIN signals in the same procedure as for the miscellaneous
function strobe signal, as shown in the timing chart below.
G81 command
Positioning
EF
Machine tool
operation
FIN
DEN, IPEN
T-FIN
DEN and IPEN are also sent. However, the same conditions applied to DEN are also applied
to the EF signal. Consequently, the DEN and IPEN signals generally need not be used.
– 175 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– 176 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
The procedure above is shown by the timing charts in the canned cycle as follows:
(G74 in canned cycle I)
X, Y
-Z +Z
-R +R
SSP
FMF
FFIN
SRV goes high at the end of cutting feed distribution in –Z without waiting for acceleration/deceleration
delay and servo delay to be eliminated. (No position check is made.)
(G84 in canned cycle I) Same as G74 except that the spindle rotation direction is opposite
(G86 in canned cycle I)
X, Y
-Z +Z
-R +R
SSP
FMF
FFIN
Stop
Spindle rotation CW rotation CW rotation
SRV goes high at the end of cutting feed distribution in –Z after waiting for acceleration/deceleration delay
and servo delay to be eliminated. (A position check is made.)
(G88 in canned cycle I) Same as G86 except that a dwell operation performed after cutting in –Z
– 177 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
X,Y
-R +R
-Z +Z
DEN DEN
X,Y
-R +Z,+R
-Z
DEN DEN
M05 M03
MF MF
FIN FIN
(G76 in canned cycle II)
X,Y
-R +Z,+R
-Z
DEN DEN
– 178 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
(a) Canned cycle spindle reverse rotation signal (SRV [#1, #2])
[Classification]
Output signal
[Function] This signal specifies that the current rotation direction of the spindle is to be switched to the
opposite direction. Control is required so that the spindle continues to rotate in the opposite
direction while this signal is high, and so that the direction of the spindle rotation returns to
the previous state when this signal goes low.
[Output Condition]
See the description of “Basic send procedure” for canned cycle I.
(b) Canned cycle spindle stop signal (SSP [#1, #2])
[Classification]
Output signal
[Function] This signal specifies that the spindle is to be stopped. Control is required so that the spindle
continues to stop while this signal is high, and so that the spindle returns to the previous state
when this signal goes low.
[Output Condition]
See the description of “Basic send procedure” for canned cycle I.
(c) Canned cycle auxiliary signal read signal (FMF [#1, #2])
[Classification]
Output signal
[Function] This signal prompts the spindle reverse rotation signal and spindle stop signal to be read.
This signal, when handshaked with the FFIN signal, reports that the spindle rotation direction
has been switched, or the spindle has stopped.
[Output Condition]
See the description of “Basic send procedure” for canned cycle I.
(d) Canned cycle auxiliary signal end signal (FFIN [#1, #2])
[Classification]
Input signal
[Function] This signal reports the completion of execution by the spindle reverse rotation signal or
spindle stop signal.
[Operation] See the description of “Basic send procedure” for canned cycle I.
– 179 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
Constant surface
Spindle speed check
G92S speed
command Maximum spindle speed
CNC PMC
– 180 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
(ii) The 15–TT exercises spindle analog output control as shown below.
(a) When two spindles and two tool posts are used
A spindle analog output control interface provided for each tool post is used to control the spindle of
each tool post.
Spindle voltage
output Spindle motor
command voltage Command voltage
calculation
Constant surface
speed
Spindle speed check
S command Command spindle speed
S code
Orientation
M command M03, M04 M05, M19, 0 M code
Gear selection
– 181 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
(b) When one spindle and two tool posts are used
A spindle analog output control interface provided for the first tool post is used to control a spindle com-
monly used for the two tool posts.
Constant surface
speed
Spindle speed check
G92S
command Maximum spindle speed
S command
The G92S command, S command, and constant surface speed control commands (G96, G97) for
each tool post are related to maximum spindle speed, command spindle speed, and S code as follows:
⋅ The latest G92S command value specified for the two tool posts serves as the maximum spindle
speed to be reported to the PMC.
⋅ Whether to exercise constant surface speed control is determined by the latest G96 com-
mand(constant surface speed control on) or G97 (constant surface speed control cancel) speci-
fied for the two tool posts. When constant surface speed control is cancelled, the latest S com-
mand value specified for the two tool posts is used as a command spindle speed and as an S code
to be reported to the PMC. Constant surface speed control is applied to the tool post for which
the latest G96 command is specified. After constant surface speed control is exercised, the
spindle speed is reflected in a command spindle speed sent to the PMC.
M codes are reported for each tool post to the PMC. So, M codes related to spindle control, such as
M03, M04, M05, and M19, are to be handled by the PMC according to the M codes reported from each
tool post.
– 182 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
ȍ (2
15
Spindle speed + i
Vi) ń 10 N RPM
i+0
where Vi = 0 when ROi is low
Vi = 1 when ROi is high
N represents a number (0 to 3) set by a parameter.
The parameter N is commonly applied to the other output signals (actual spindle speed, maxi-
mum spindle speed) as well as this signal.
[Output Condition]
These signals are output at all times. These signals change only during constant surface sig-
nal control, or when S is specified in a command program. During constant surface signal
control, these values usually change every 16 msec.
(b) Maximum spindle speed signals (MR0 to MR15 [#1, #2])
[Classification]
Output signals
[Function] These signals report a maximum spindle speed specified by G92Sxxx. Whether to clamp the
spindle signal to this maximum spindle speed only during constant surface speed control or
at all times depends on the PMC specifications. These signals consist of 16 binary signals.
A spindle speed is related to these signals as follows:
ȍ (2
15
Spindle speed + i
Vi) ń 10 N RPM
i+0
where Vi = 0 when MRi is low
Vi = 1 when MRi is high
N represents a number (0 to 3) set by a parameter.
The parameter N is commonly applied to the other output signals (command spindle speed,
actual spindle speed) as well as this signal.
[Output Condition]
These signals are output at all times. These signals change only when G92Sxxx is specified
in a command program.
(c) Actual spindle speed signals (AR0 to AR15 [#1, #2])
[Classification]
Output signals
[Function] These signals report the actual spindle speed calculated using a feedback pulse signal from
a position coder mounted on the spindle.
These signals consist of 16 binary signals. A spindle speed is related to these signals as fol-
lows:
ȍ (2
15
Spindle speed + i
Vi) ń 10 N RPM
i+0
where Vi = 0 when ARi is low
Vi = 1 when ARi is high
N represents a number (0 to 3) set by a parameter.
The parameter N is commonly applied to the other output signals (command spindle speed,
maximum spindle speed) as well as this signal.
[Output Condition]
These signals are output at all times. These signals usually change every 64 msec.
NOTE An absolute error of about 0.5 rpm may be observed as a measuring error.
– 183 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
(d) Spindle motor command voltage signals (RISGN [#1, #2], RI0 to RI12 [#1, #2])
[Classification]
Input signals
[Function] These signals specify an output voltage for the spindle motor. The control unit controls a spe-
cified voltage to be output to the spindle motor by using these input signals only, regardless
of an output command spindle signal. The PMC may output, as these signals, a value calcu-
lated according to a selected gear from a received command spindle speed. The PMC may
also output a different speed (for example, a speed for spindle orientation).
These signals consist of the sign signal RISGN for determining the voltage polarity, and 13
binary signals, RI0 to RI12, for determining an absolute voltage value.
A positive (+) voltage is output when RISGN is low.
A negative (–) voltage is output when RISGN is high.
The 13 binary signals are related to an output voltage as follows:
(2 Vi) 8191
12
Command voltage i E volt
i0
where Vi = 0 when RIi is low
Vi = 1 when RIi is high
E represents a maximum voltage dependent on hardware.
[Operation] The control unit outputs the value of these input signals to the D/A converter every 16 msec.
(e) Spindle alarm code signals (SPAL1, SPAL2, SPAL4, and SPAL8 [#1, #2])
[Classification]
Output signals
[Function] These signals report the details of an alarm raised in the spindle speed control unit. The
spindle alarm signal available on the FANUC spindle speed control unit must be connected
to the control unit.
The table below explains the meanings of spindle alarm code signals SPAL to SPAL8 and
alarms.
– 184 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
CMR
+
xM x1 Error counter D-A converter Spindle AMP Spindle motor
-
Gear ratio
n:m
DMR 1024pul/rev
– 185 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
(3) When strobe signal MF is turned on, the PMC reads the code signals and takes action according to
value xx indicated by the code signals. For example, if Mxx is specified when the spindle is rotating,
the PMC may take one of the following actions: (1) Stops the rotation of the spindle by the Mxx com-
mand. (2) Sounds an alarm using the external data input/output function to inhibit an Mxx command
when the spindle is rotating. In general, the second way is recommended because the spindle is
stopped by the M05 command. In any case, when the spindle is stopped the PMC turns on spindle
stop check signal SPSTP.
(4) The control unit checks if spindle stop check signal SPSTP is on, immediately after turning on strobe
signal MF. If the SPSTP signal is on, the control unit changes the mode of the spindle control unit from
spindle control to position control and turns on spindle unclamp signal SUCLP.
(5) When the SUCLP signal is turned on, the PMC unclamps the spindle. After the spindle is unclamped,
the PMC turns off spindle unclamp completion signal *SEUCL.
(6) When the *SEUCL signal is turned off, the control unit turns off spindle unclamp signal SUCLP and
notifies that the *SEUCL signal has been received.
(7) When the SUCLP signal is turned off, the PMC turns on spindle unclamp completion signal *SEUCL.
After turning off the SUCLP signal, the control unit places the position control of the spindle in the ser-
vo–on state, rotates the spindle, and stops the spindle at a specified position (spindle orientation).
(8) The control unit then turns on reference position return completion signal ZPj (j: Control axis number
for the spindle), places the position control of the spindle in the servo–off state, and turns on spindle
clamp signal SCLP.
(9) When the SCLP signal is turned on, the PMC mechanically clamps the spindle with a clutch or shot
pin. After the spindle is clamped, the PMC turns off spindle clamp completion signal *SECLP.
(10)When the *SECLP signal is turned off, the control unit turns off spindle clamp signal SCLP and notifies
that the *SECLP signal has been received.
(11)When the SCLP signal is turned off, the PMC turns on spindle clamp completion signal *SECLP.
(12)Finally, the PMC turns on completion signal FIN for miscellaneous function strobe signal MF. Next,
the control unit turns off strobe signal MF, then the PMC turns off the FIN signal.
This completes the sequence for exiting the spindle turning mode and entering the spindle positioning
mode.
The following time chart shows the above sequence:
Time chart for exiting the spindle turning mode and entering the spindle positioning mode
(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (11) (12)
M command ( independent ) Mxx
Strobe signal MF
Spindle rotation
– 186 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 187 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
(10)When the *SECLP signal is turned off, the control unit turns off spindle clamp signal SCLP and
notifies that the *SECLP signal has been received.
(11)When the SCLP signal is turned off, the PMC turns on spindle clamp completion signal *SECLP.
(12)Finally, the PMC turns on completion signal FIN for miscellaneous function strobe signal MF.
Next, the control unit turns off strobe signal MF, then the PMC turns off the FIN signal.
This completes the sequence for positioning the spindle in the spindle positioning mode.
The following time chart shows the above sequence:
Time chart for positioning the spindle in the spindle positioning mode
(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (11) (12)
M command ( independent ) Myy
Strobe signal MF
Spindle rotation
– 188 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
Strobe signal MF
NOTE 1 Automatic operation stop signal *SP is disabled when operations are executed for exiting the
spindle turning mode and entering the spindle positioning mode (Mxx command), positioning
the spindle in the spindle positioning mode (Myy to Myy+5 commands and C command), or
exiting the spindle positioning mode and entering the spindle turning mode (Mzz command).
Automatic operation is not stopped until each of the above operations is completed even if the
*SP signal is turned off.
NOTE 2 Dry run signal DRN and machine lock signal MLK are invalid for spindle positioning.
NOTE 3 Miscellaneous function lock signal AFL is invalid for spindle positioning with an M command
(Mxx command, Myy to Myy+5 commands, and Mzz command).
The mode of the spindle control unit is changed from spindle control to position control in order
to exit the spindle turning mode and enter the spindle positioning mode. In position control,
the specified angle by which to turn the spindle is input to the error counter and converted to
a speed command to the motor. The factor for the conversion (loop gain multiplier) differs
depending on the gear ratio between the spindle motor and spindle. The loop gain multiplier
for the gear currently selected is set in the position control circuit based on the gear selection
signals. Set the loop gain multiplier for each gear in a parameter beforehand.
When the serial interface spindle is used, up to four steps of gear can be used. (See the sub-
sections on spindle serial output and Cs contour control function for details.)
– 189 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– 190 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
Sq
Sm min
Sd
Command speed Sc
When specified speed Sc is less than allowable speed fluctuation Sm (except Sc = 0), the minimum allowable
speed Sm min is 0. When the actual spindle speed is less than minimum allowable speed Sm min for one se-
cond or more, in other words, when the actual spindle speed is 0 rpm for one second or more, an alarm is issued.
No judgment is made in the following cases:
(1) The machine is in a mode where detection of the spindle speed fluctuation is canceled (G25)
To allow the spindle speed fluctuation to be detected, G26 (spindle speed fluctuation detecting mode) must
be specified.
(2) The specified spindle speed is 0.
The control unit assumes specified spindle speed Sc to be 0 when all spindle motor command voltage sig-
nals (RI0 to RI12) input from the PMC are off. This means that all signals RI0 to RI12 must be turned off
when voltage to the spindle amplifier and spindle motor is reduced to 0 to stop the spindle without using
the voltage output to the spindle amplifier from the control unit.
(3) Search is in progress when a program is restarted.
(4) When specified spindle speed Sc is changed, the spindle speed fluctuation is not detected until either of
the following two conditions is satisfied:
(i) Until time Tp set by a parameter elapses after specified speed Sc changes. Tp is a constant indepen-
dent of Sc.
(ii) Until the actual speed is in a given error range with respect to specified speed Sc. The error range
is between Sc + Sq and Sc – Sq, where Sq is obtained by multiplying specified speed Sc by constant
ratio r.
Specify ratio r in % in a parameter or program command. In the constant surface speed control mode
(G96), specified speed Sc changes while the tool is moving along the X–axis. The spindle speed fluc-
tuation is therefore not detected in this case.
The control unit calculates specified speed Sc as follows: First, it sets the maximum spindle speed
(S max 1 to S max 8) for each gear ratio between the spindle motor and spindle in a parameter. Each
maximum spindle speed (S max 1 to S max 8) is the theoretical maximum for the gear ratio when all
spindle motor command voltage signals (RI0 to RI12) input from the PMC are on (8191 in decimal).
8191
0
Gear 1 Smax 1 Gear 2 Smax 2 Gear 3 Smax 3
– 191 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
The PMC notifies the control unit of the currently selected gear with spindle gear selection signals
GS1, GS2, and GS4. See Section 2.3.30, “Spindle positioning function” for the details of spindle gear
selection signals GS1, GS2, and GS4. The control unit calculates specified speed Sc based on
spindle gear selection signals GS1, GS2, and GS4 and spindle motor command voltage signals RI0
to RI12.
Actual spindle speed Sa is obtained from feedback pulses from the position coder mounted on the
spindle. The pulses are detected at 64–ms cycle and converted to rpm. Specified speed Sc is then
compared with actual spindle speed Sa. If the difference between them exceeds allowable speed fluc-
tuation Sm, an alarm is issued.
Example 1 When an alarm is issued after the specified speed is reached
Actual spindle sped
Alowable
Sm max
maximum speed
Sm
Sc Command speed
Sq
Speed which has
reached the
command speed
Sm
Allowable
Sm min minimum speed
No
Judgement Judgement Judgement
Time
Another speed Judgement start Alarm
is instructed
Example 2 When an alarm is issued before the specified speed is reached
Allowable
Sm max
maximum speed
Sc Command speed
Sq
Speed which has
reached the
command speed
Allowable
Sm min minimum speed
Time Tp
No
Judgement Judgement Judgement
Time
Another speed Judgement start Alarm
is instructed
– 192 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
i. The actual spindle speed is higher than the maximum or lower than the minimum allow-
able speed for the specified speed. When automatic operation is being started, this sig-
nal (SPAL) performs automatic operation for a single block and stops the operation. The
control unit does not reduce the output voltage to the spindle amplifier to zero when SPAL
is turned on. The control unit outputs voltage in accordance with spindle motor command
voltage signals RI0 to RI12. Therefore, when SPAL is turned on, the PMC turns off all
spindle motor command voltage signals RI0 to RI12.
This signal is turned off when:
i. The alarm for spindle speed fluctuation is not detected
ii. The control unit is reset with this signal on and the alarm is terminated
– 193 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
When the gear ratio of the spindle to the position coder is expressed as N:M, this function allows both M and
N to be specified with an integer within the range of 1 to 9999.
The following functions can be executed with the desired gear ratio:
⋅ Threading
⋅ Circular threading (15–TB only)
⋅ Threading with a variable pitch (15–TB only)
⋅ Feed per rotation
⋅ Actual spindle speed display
⋅ Constant surface speed control
The following function cannot be executed with the desired gear ratio:
⋅ Spindle positioning
(1) Use
(a) Specifying a desired gear ratio in parameters
Parameter input
Data type : Word
Unit of data : 1
Valid range : 1 to 9999
When non–zero values are specified in both parameters above, the function for specifying a desired
gear ratio is validated. If the value of either parameter is set to zero, conventional parameter 5610 is
validated.
– 194 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
(b) Specifying a desired gear ratio with system variables of a custom macro
The parameters of (1) above can be read and written as the following system variables of a custom
macro:
#3013: Parameter 5709
#3014: Parameter 5710
When these system variables are used, the gear ratio can be sent from the PMC to the CNC unit via
the PMC window.
The gear ratio can be changed by the PMC by one of the following procedures:
(i) Automatic operation
M code to change
the spindle gear
MF
FIN
Operation of changing
the spindle gear
– 195 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
CNC
Feedback (P)
Position detecter 1 revolution signal
M : N
Z
CAUTION The gear ratio parameters must not be changed during threading or other machining.
NOTE 1 Under the following conditions, the threading error per pitch does not exceed the value
obtained by the expression shown below:
⋅ There is no deviation due to servo delay or acceleration/deceleration delay.
⋅ The spindle rotates at constant speed.
⋅ The mechanical system is free from deviation.
L M (mmńrev) L : Screw pitch (mm/rev)
4096 N
(This expression is obtained by setting P to 1 in the expression described above.)
The threading error can be reduced by smoothing (setting the number of times sampling is
executed in parameter 5611). (If parameter 5611 is set to 4, the error can be reduced to 1/16
of its value.)
The threading error will not accumulate because it is the maximum value per pitch.
NOTE 2 When the gear ratio is specified as shown in the figure of (c) above, the position of the single
rotation signal of the spindle deviates by the amount calculated by the following expression:
360/4096/780×S (degrees) S: Spindle speed (rpm)
– 196 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 197 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– 198 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 199 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
Gear
GS4 GS2 GS1 CTH1A CTH2A
slelct
0 0 0 0 0 1st step
0 0 1 0 1 2nd step
0 1 0 1 0 3rd step
0 1 1 1 1 4th step
1 0 0
1 0 1
U
Unusable
bl
1 1 0
1 1 1
15
%data = ( 2 i Ti ) N
32767
i0
where Ti = 0 when SLDMA is low and
1 when SLDMA is high,
and N is a value set in parameter 3127 (for the second spindle , in parameter
3267).
[Output Condition]
Output at all times
(b) Serial interface spindle motor rotation signals (first spindle) (SSPDA0 to SSPDA15)
Serial interface spindle motor rotation (second spindle) (SSPDB0 to SSPDB15)
[Classification]
Output signals
[Function] Indicate the motor speed for the serial interface spindle.
The speed and the signal correspond to each other as shown below:
15
%speed (rpm) = ( i 2 i Si ) N
16383
i0
where Si = 0 when SSPDA is low and
1 when SSPDA is high,
and N is a value set in parameter 3020 (for the second spindle , in parameter
3160).
[Output Condition]
Output at all times
– 200 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
(c) Serial interface spindle motor alarm signals (first signal) (SSPAA0 to SSPAA7)
Serial interface spindle motor alarm signal (second spindle) (SSPAB0 to SSPAB7)
[Classification]
Output signals
[Function] Indicate the type of alarm in the serial interface spindle amplifier.
Serial interface spindle alarm code signals SSPAA0 to SSPAA7 and their meanings are listed
below:
The torque and the signal correspond to each other as shown below:
NOTE The conventional spindle alarm code signals SPAL1 to SPAL8 cannot be used.
– 201 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– 202 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 203 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
2 ……2nd axis
3 ……3rd axis
: :
: :
[Output Condition]
The signal is high in the spindle contour control mode and low in the spindle rotation control
mode.
– 204 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
(g) Spindle contour control mode switch signals (SCNTR1, SCNTR2, SCNTR3, ...)
[Classification]
Input signals
[Function] [Function] Used in switching between the spindle rotation control mode and the spindle con-
tour control mode. One signal is available for each controlled axis. The last digit in the signal
name indicates the number of a controlled axis. It is necessary to use the signal with the con-
trolled axis number corresponding to the spindle contour control axis.
SCNTR1
1 ……1st axis
2 ……2nd axis
3 ……3rd axis
: :
: :
[Operation] When the signal is low, the machine tool enters the spindle contour control mode. When the
signal is high it enters the spindle rotation control mode. Before switching from spindle con-
tour control to spindle rotation control, it is necessary to ensure that the spindle move com-
mand is complete. Switching from spindle rotation control to spindle contour control is pos-
sible while the spindle is rotating.
High
SCNTRi Low
High
MSCNTRi
(h) Signals for specifying the voltage output to the spindle motor (RISGN, RISGNB, RI0 to RI12, RIB0 to
RIB12)
[Classification]
Input signals
[Function] Specify the output voltage for the spindle motor. The control unit controls the voltage output
to the spindle motor using these signals, only regardless of the spindle rotation speed speci-
fied in the output command. The PM C uses these signals for specifying the voltage after cal-
culating it from the received spindle rotation speed according to the selected gear, or for spec-
ifying the voltage for other purposes (for example, for spindle orienta tion).
The signals include the polarity signal, RISGN, which specifies the polarity of the voltage, and
13–bit binary code signals, RI0 to RI12, which specify the absolute value of the voltage.
A positive voltage is output when RISGN is low and a negative voltage is output when RISGN
is high.
The output voltage is calculated from the 13–bit binary code signals –– using the following
formula:
– 205 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
{2 Vi}
12
Output voltage i E volt
8191
i0
Number Diagnosis
1500 SIC LSI internal data
1501 SIC LSI data/PCB data/other data
1502 NC internal processing sequence data/spindle status data –1
1503 NC internal processing sequence data/spindle status data –2
1504 Torque data for No.1 spindle motor
1505 Rotational speed data for No.1 spindle motor
1506 Torque data for No.2 spindle motor
1507 Rotational speed data for No.2 spindle motor
1508 Spindle synchronization control processing sequence/other data
Number of error pulses for No.1 spindle motor during spindle
1509
synchronization control
Number of error pulses for No.2 spindle motor during spindle
1510
synchronization control
Difference of the number of error pulses between the two spindles
1511
during spindles synchronization control
(b) Detailed contents
#7 #6 #5 #4 #3 #2 #1 #0
Information in the LSI chip for the Serial Interface Controller (SIC)
CPER 1: CRC error (warning)
FRER 1: Framing error (warning)
SNER 1: Wrong transmission/reception station
CER 1: Receive error
CMER 1: No reply during automatic scanning
CALM 1: Communication alarm in the spindle amplifier
SALMI 1: System alarm in the spindle amplifier
#7 #6 #5 #4 #3 #2 #1 #0
– 206 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
#7 #6 #5 #4 #3 #2 #1 #0
NC internal processing sequence information and spindle status 1
SNOTC1 1: No SIC1–LSI connected to the serial line
SCOMA1 1: Serial communication alarm (failure in the SIC1–LSI)
SNOKD1 1: Something other than the spindle amplifier (SIC1) connected at one end of the
serial line.
SSTB1 1: NC ready to communicate but the first spindle is not
SREQ1 1: NC operable but the first spindle is requesting a parameter
SYNC1 1: Spindle SIC1–LSI out of synchronization
#7 #6 #5 #4 #3 #2 #1 #0
NC internal processing sequence information and spindle status 2
SNOTC2 1: No SIC2–LSI connected to the serial line
SNCRM2 1: NC SIC2–LSI error (parameter check error)
SSPRM2 1: NC SIC2–LSI communication busy high, or spindle SIC2–LSI error
(parameter check error)
SSTB2 1: NC ready to communicate but the second spindle is not
SREQ2 1: NC operable but the second spindle is requesting a parameter
SLES2 1: More spindle amplifiers connected than the number of spindles specified by
parameter
– 207 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
#7 #6 #5 #4 #3 #2 #1 #0
SP SP SP SP
Status of internal processing
SYC3 SYC2 SYC1 SYC0
Mode is not spindle synchronization control mode
0 0 0 0
(waiting for SPSYC = 1)
Waiting for clearing synchronization arrival speed
0 0 0 1
(during spindle speed synchronization control)
0 0 1 0 Waiting for setting synchronization arrival speed signal
Waiting for completion of spindle speed synchronization
0 0 1 1 and spindle phase synchronization command
(waiting for SPPHS = 1)
0 1 0 0 Phasing ON / OFF
Waiting for clearing synchronization arrival speed signal
0 1 0 1
(during spindle phase synchronization control)
0 1 1 0 Waiting for setting synchronization arrival speed signal
0 1 1 1 Spindle phase synchronization completed
1509 1st spindle motor error pulse amount at spindle synchronization control
Number of error pulses for the motor for spindle 1 during spindle sequence control
Unit: Pulses
1510 2nd spindle motor error pulse amount at spindle synchronization control
Number of error pulses for the motor for spindle 2 during spindle sequence control
Unit: Pulses
Difference in the number of error pulses between the two spindles during spindle sequence con-
trol
Unit: Pulses
(5) FANUC Series 15 (multiaxis)
The multiaxis FS15 shares all parameters, their setting methods, alarms, DI/DO signals, and their address-
es with the standard FS15 except for the following:
i) Serial interface spindle connection method
ii) Axis allocation method for the Cs contour control function
iii) Restrictions in relation to other functions
– 208 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 209 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– The eleventh controlled axis is subject to spindle contour control (Cs contour control). Its ser-
vo axis setting (parameter 1023) is 4.
(Axis assignment example 4)
X, Y, Z1, Z2, X3, U, V, W, A, B: Controlled axes
C: Spindle contour control (Cs contour control)
– 210 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
2.3.34 Signals for spindle orientation of the serial interface spindle by a position coder
This section describes the function of spindle orientation by a position coder for the serial interface spindle.
For the function of spindle orientation by a magnetic sensor, refer to the specifications of the function.
A 12–bit signal must be entered from the PMC to execute either of the following functions: function to stop the
rotation of the spindle at a stop position in orientation specified in a normal parameter, or the function of spindle
orientation by a position coder with the stop position set externally. The function stops the spindle at a predeter-
mined position in orientation. The stop position can be specified in units of 0.088 degrees (= 360 de-
grees/4096).
NOTE 1 This function cannot be used when the system is in any of the following states in the remote
buffer operation mode:
⋅ The operation by binary–format statements is in progress.
⋅ The operation by NC data statements is in progress, DNC, a bit of parameter 0000, is set
to 0 so that high–speed distribution can be executed if the requirements are satisfied in the
DNC operation by a remote buffer, and the following conditions are not satisfied:
⋅ All axes are stopped.
⋅ Orientation is completed while all axes are stopped.
⋅ The DI signal concerning the orientation must not be changed while an axis is moving.
NOTE 2 When the function of spindle orientation by a position coder with the stop position set externally
is used, the parameter for specifying the stop position in orientation by a position coder,
parameter 3031 or 3171, is invalidated.
– 211 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
(d) Signals for executing a shortcut rotation when the stop position in spindle orientation is changed:
NRROA, NRROB (for the second spindle of 15–TT)
[Classification]
Input signals
[Function] Specify the direction of rotation or execute a shortcut rotation when the stop position in
spindle orientation is changed to a desired position in a single rotation of the spindle.
[Operation] When the signal is high, the spindle is rotated in the direction of a shortcut (within +180 de-
grees) and stopped at the specified position. When the signal is low, the spindle rotates in
the direction specified by ROTAA or ROTAB, and stops at the specified position.
(e) Signals for specifying the stop position in orientation of the serial interface spindle: SHA00 to SHA11,
SHB00 to SHB11 (for the second spindle)
[Classification]
Input signals
[Function] Specify a stop position in orientation using the orientation of the serial interface spindle with
the stop position set externally function.
(2 P
11
Stop position [degree] = 360 i
i )
4096
i0
where
Pi = 0 when the SHAi signal is low
Pi = 1 when the SHAi signal is high
Example Specifying the stop position in orientation to 90 degrees
SHA11 SHA10 SHA09 SHA08 SHA07 SHA06 SHA05 SHA04 SHA03 SHA02 SHA01 SHA00
0 1 0 0 0 0 0 0 0 0 0 0
NOTE This input signal is valid when the function of spindle orientation by a position coder with the
stop position set externally is used. When the input signal is used, the parameter for specifying
the stop position in orientation by a position coder, parameter 3031 or 3171, is invalidated.
(f) Spindle orientation completion signals: ORARA, ORARB (for the second spindle)
[Classification]
Output signals
[Function] This signal is output when the spindle stops near the predetermined position after the spindle
orientation signal is entered. The range in which this signal is output is specified in the param-
eter determining the detection level of the spindle orientation completion signal, parameter
3075 or 3215.
[Operation] This signal goes high when:
⋅ The spindle stops near the predetermined position after the spindle orientation signal is en-
tered.
This signal goes low when:
⋅ The spindle does not stop near the predetermined position after the spindle orientation sig-
nal is entered.
⋅ The spindle orientation signal is not entered.
– 212 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
(2) Sample sequence when the spindle orientation with the stop position set externally function is executed
Spindle orientation command
ORCMA *1 *1 *1 *1 *1 *1
Spindle
stop
Position command
SHA00-1
*1 *1
Other notes:
1. If the spindle orientation function is started by ORCMA while the spindle is rotating, the forward spindle rotation
signal, SFRA, and the reverse spindle rotation signal, SRVA, must be set to zero for the sake of safety.
2. ORCMA must be set to zero by the tool change completion signal or the workpiece load/unload completion
signal that is provided by the machine tool builder.
3. Before the power is turned on ORCMA must be set to zero.
4. If the emergency stop function is executed while the spindle orientation is in progress, ORCMA must be
reset to zero.
– 213 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– 214 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
The spindle phase synchronization function is executed when the spindle phase synchronization signal,
SPPHS, is entered in the spindle synchronization mode (after the spindle speed difference between the
error pulses of the two spindles becomes smaller than or equal to the permitted number of pulses specified
in parameter 5810 of the NC unit, the spindles are synchronized in the same phase. Then the signal indi-
cating that the spindle phase synchronization MSPPHS, is completed is output.
The position of spindle phase synchronization can be separately specified for the two spindles. The posi-
tion of the first spindle can be specified in parameter 3034, and that of the second spindle in parameter
3174.
When the operation for spindle phase synchronization is in progress (until the spindle phase synchroniza-
tion completion signal, MSPPHS, goes high), the two spindles are not synchronized.
While the two spindles are holding an identical workpiece, the spindle phase synchronization command
must not be specified. If it is specified, the operation for spindle phase synchronization is automatically
started.
A PMC signal, SPSYAL, is provided so that the synchronization error between the two spindles can be
monitored when they are in the state of spindle synchronization or spindle phase synchronization. The
synchronization error between the two spindles is always monitored. If the error is greater than or equal
to the limit (absolute number of error pulses) specified in parameter 5811 of the first spindle, SPSYAL goes
high and the signal status is maintained.
The spindle speed command specified during spindle synchronization or spindle phase synchronization
is handled as the command specifying the spindle speed to be detected in synchronization. The command
can be specified as the conventional command specifying the voltage of the spindle motor. The RISGN
and RI0 to RI12 are also valid as usual. However, the maximum spindle speed that can be actually speci-
fied may be restricted by the fact described in Note (f) of Item (3)
(3) Notes
(a) The spindle phase synchronization command is valid only in the spindle synchronization mode.
(b) The spindle speed synchronization completion signal, MSPSYC, or the spindle phase synchroniza-
tion completion signal, MSPPHS, always checks whether the actual speed or phase in synchroniza-
tion is within the permitted range determined by the spindle synchronization command or the spindle
phase synchronization command.
(c) If the load varies during cutting or threading while the spindles are synchronized, the spindle speeds
may vary accordingly, setting the spindle speed synchronization completion signal, MSPSYC, off mo-
mentarily.
If the threading command is specified while the two spindles are synchronized, MSPSYC may be set
off momentarily.
(d) When the spindles are synchronized, normally, SFR must be set on. (SFV must be set off.) If SFV
is set on (and SFR is set off), the motor rotates in the opposite direction.
The table below shows the relationship between #0 (first spindle) and #1 (second spindle) of parame-
ter parameter 5820.
When SFR = ON When SRV = ON
Parameter PRM 5820 #0 or #1 = “0” CCW CW
Parameter PRM 5820 #0 or #1 = “1” CW CCW
SFR and SVR are provided for the first and second spindles.
RISGN can also change the direction of rotation.
The direction of rotation must be carefully considered when a Ladder program is created.
(e) The gear ratio of the spindle to the position coder must be 1:1. The identical gear ratio must be speci-
fied for the first and second spindles. (parameter 5610 and 5660)
(f) The maximum spindle speed in synchronization depends on the maximum speed of the spindle motor
of the first spindle (parameter 3020).
Example Maximum speed of the spindle motor of the first spindle: 6000 rpm
Maximum speed of the spindle motor of the second spindle: 4500 rpm
In the example above, the maximum speed that can be specified for the first spindle is 6000 rpm, while
the speed that can be specified by the speed command is limited to 212, or 4096. If 6000 rpm is speci-
fied when the two spindles are synchronized, the overspeed alarm occurs in the second spindle. In
this example, a speed of up to 4500 rpm can be specified while the two spindles are synchronized.
– 215 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
No.1 No.2
spindle spindle
Velocity Feedback
Spindle Signal Spindle
motor 1 motor 2
Optical Cable
Optical Cable
COP5
CNC
Series 15-TT
NOTE The S1 pin of the first axis of the serial interface spindle amplifier must be set to B.
– 216 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
Built-in Built-in
Sensor 1 Sensor 2
Built-in Built-in
Motor 1 Motor 2
Velocity Velocity
Position Feedback Signal Feedback Signal Position
Feedback Feedback
Signal Power Line Power Line Signal
Optical Cable
Optical Cable
COP5
CNC
Series 15-TT
NOTE The S1 pin of the first axis of the serial interface spindle amplifier must be set to B.
– 217 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
NOTE The signal is switched from high to low if the value specified in parameter 3033 is exceeded
due to a change in cutting load or other reasons.
– 218 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
NOTE The signal is switched from high to low if the value specified in parameter 5810 is exceeded
due to a change in cutting load or other reasons.
– 219 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
(the velocity integrating control function must be invalidated) after the two spindles are me-
chanically connected to each other as described above.
(7) Sample sequences
(a) While spindle 1 is rotating, spindle 2 is accelerated to be synchronized with spindle 1. Then the
spindles are controlled to be in the same phase. The spindle speed to be detected in synchronization
is changed, and the spindles synchronously are accelerated or decelerated.
RPM
Phasing
Spindle 1
Acceleration/Deceleration
for Synchronization
Synchronization
speed rpm A
Synchronization
speed rpm B
Spindle 2
Time
Spindle Synchronization
(1)
Control Signal
(1) The signal specifying the spindle speed to be detected in synchronization is specified, and the
spindle synchronization signal, SPSYC, is set high.
(2) The system waits until the spindle speed synchronization completion signal, MSPSYC, goes
high.
(3) The spindle phase synchronization signal,SPPHS, is set high.
(4) The system waits until the spindle phase synchronization completion signal, MSPPHS, goes
high.
NOTE After SPPHS is entered, MSPSYC is set low. MSPSYC goes high again when spindle phase
synchronization is completed.
– 220 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
(b) Spindles 1 and 2 are controlled to be in the same phase while they are stopped. Then the two spindles
synchronously are accelerated.
RPM
Spindle 1, Spindle 2
Synchronization
speed rpm Acceleration/Deceleration
for Synchronization
Phasing
Time
(5)
Spindle Synchronization Speed (1)
Command Signal
(3)
Spindle Phase Synchronization
Control Signal
(1) The signal specifying the spindle speed to be detected in synchronization is set to zero, and the
spindle synchronization signal, SPSYC, is set high.
(2) The system waits until the spindle speed synchronization completion signal, MSPSYC, goes
high.
(3) The spindle phase synchronization signal, SPPHS, is set high.
(4) The system waits until the spindle phase synchronization completion signal, MSPPHS goes high.
(5) The signal specifying the spindle speed to be detected in synchronization is entered.
NOTE After SPPHS is entered, MSPSYC is set low. MSPSYC goes high again when spindle phase
synchronization is completed.
– 221 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
RPM
Spindle 1
Phasing
Synchronization
speed rpm
Spindle 2
Spimdle Synchronization
Control Signal
Spindle Synchronization
Speed Command Signal
Phase Control Synchronous signal
NOTE INTGA or INTGB must be set high while the two spindles are holding an identical workpiece.
– 222 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
(8) Diagnosis
See (4) in Subsec⋅2.3.31
(a) Procedure for starting the spindle synchronization function
[Outline] The following describes the procedure for starting the spindle synchronization function in the
serial interface spindle amplifier when the system has already started a normal operation.
[Procedure]
CONTENTS
OK
⋅ Velocity loop proportional gain during synchronization control
⋅ Velocity loop integrating gain during synchronization control
⋅ VAdjustment of motor voltage during synchronization control
(2) (1)
– 223 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
(2) (1)
⋅ Check the parameter for the difference in error pulses
between the two spindles that outputs the spindle phase
synchronization control complete signal ą
Check to make sure that phase synchronization Check the parameter for the allowable number of error
NG is performed pulses between the two spindles during spindle
synchronization control
End
– 224 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
(d) Specify the difference of error pulses in parameter 3174 of the second spindle as the shift in spindle
phase synchronization.
Generally, the shift of the first spindle must be set to zero.
(e) After canceling the spindle synchronization command, re–execute spindle phase synchronization un-
der the following conditions. Check that the spindles are synchronized in the same phase as desired.
1 SFR is set on (SRV is set off) for both the first and second spindles: M03
2 The command specifying the spindle speed to be detected in synchronization is set to 0 rpm: S0
2.3.36 Signals for switching the spindle output of serial interface spindle
(1) DI/DO signals
(a) Switching request signals: RSLA, RSLB
[Classification]
Input signals
[Function] Switch the output characteristics.
[Operation] When the signal is low, high–speed output (high) is executed.
When the signal is high, low–speed output (low) is executed.
(b) Power line status check signals: RCHA, RCHB
[Classification]
Input signals
[Function] Check the selection status of the magnetic contactor that switches the output characteristics
of the spindle motor.
[Operation] When the signal is low, high–speed output (high) is executed. When the signal is high, low–
speed output (low) is executed.
(c) Power line switching signals: RCHPA, RCHPB
[Classification]
Output signals
[Function] The request signal for switching the output characteristics, RSLA or RSLB, turns off the power
supply to the motor. When the power supply is turned off, the status of RCHPA or RCHPB
is changed. The magnetic contactor for switching the power line must then be switched with
this signal as shown in (iii), (iv), and (v) of (2), “Sequence.”
[Operation] When the signal is low, high–speed output (high) is executed. When the signal is high, low–
speed output (low) is executed.
(d) Switching completion signals: RCFNA, RCFNB
[Classification]
Output signals
[Function] The request signal for switching the output characteristics, RSLA or RSLB, and the power line
status check signal, RCHA or RCHB, are entered in that order. After checking that the desired
status is selected, the initial setting of the spindle control circuit is completed and the system
becomes ready for the next operation. On that occasion, RCFNA or RCFNB is output.
[Operation] When the signal is low, high–speed output (high) is executed. When the signal is high, low–
speed output (low) is executed.
– 225 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
(2) Sequences
(a) Switching from low–speed output (low) to high–speed output (high)
3 Electromagnetic
ON(LOW) OFF(HIGH)
contactor 1 (MCC1)
Output conversion
speed or less.
4 Electromagnetig
contactor 2 (MCC2) OFF(LOW) ON(HIGH)
Output conversion
speed or more.
ON(LOW) OFF(HIGH)
6 Conversion completion
signal (RCFNA)
Refer to 1) d).
ON OFF ON
7 Drive enable signal
– 226 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
3 Electromagnetic
contactor 1 (MCC1) OFF(HIGH) ON(LOW)
Output conversion
speed or less.
4 Electromagnetig
contactor 2 (MCC2) ON(HIGH) OFF(LOW)
Output conversion
speed or more.
NOTE High–speed output cannot be switched to low–speed output if the switching request signal,
RSLA or RSLB, is entered with a speed exceeding the specified limit.
(2
1
Spindle number i
x V i)
i0
where
Vi = 0 when SPNi is low
Vi = 1 when SPNi is high
[Output Condition]
The signal is always output. The value is changed when spindle control is switched by
G10.7_; specified in a program.
Example When tool post 1 controls the first spindle and tool post 2 controls the second spindle in TT
series, the signals are output as follows:
– 227 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
#7 #6 #5 #4 #3 #2 #1 #0
F13 – – – – – – 0 1
#7 #6 #5 #4 #3 #2 #1 #0
F61 – – – – – – 1 0
NOTE 1 Rapid traverse in automatic operation includes all rapid traverse operations, such as canned
cycle positioning and automatic reference position return, as well as move commands (G00).
Manual rapid traverse includes rapid traverse for reference position return.
NOTE 2 It is not true that this signal goes high only during movement. Once rapid traverse is triggered,
this signal remains high until a feed operation other than rapid traverse is started, even if the
rapid traverse has finished.
NOTE 3 In simultaneous automatic/manual operation, this signal is dependent on whether the mode
of feed in automatic operation is rapid traverse; this signal is not affected by manual feed.
– 228 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
NOTE When the input mode is changed by setting data on the MDI panel, the state of this signal
changes accordingly.
NOTE 1 In a very slow feed operation, these signals may go high during movement.
NOTE 2 A parameter can remove from the conditions for driving these signals high the requirement that
the servo error must be within a certain range. In this case, these signals are turned on and
off, only depending on whether the acceleration/deceleration delay is zero.
– 229 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
MV 1
1 …… The tool is moving along the first axis.
NOTE These signals are output, regardless of whether automatic operation or manual operation is
performed.
MD 1
1 ……The tool is moving along the first axis in the negative direction.
2 ……The tool is moving along the second axis in the negative direction.
NOTE 1 These signals are output, regardless of whether automatic operation or manual operation is
performed.
NOTE 2 When the tool stops moving along an axis, the corresponding signal holds the previous state.
When the tool stops moving along an axis after moving in the negative direction, the
corresponding signal does not go low.
NOTE 3 In simultaneous automatic/manual operation, the direction is determined from the sum of the
move command values of both operations.
– 230 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
MI 1
1 …… The mirror image function is applied to the first axis.
NOTE Programmed mirror images do not affect these signals. Some commands, such as a
command for automatic reference position return, are not subject to the mirror image function
even when a mirror image signal is high. When such a command is executed, it does not affect
the mirror image check signals.
– 231 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
2.3.41 Overrun
(a) Overrun signals (+L1, –L1, +L2, –L2, +L3, –L3, ...)
[Classification]
Input signals
[Function] Report that a stroke limit on a controlled axis has been reached.
These signals are provided for the controlled axes. For each controlled axis, two signals, one
for the positive direction and one for the negative direction, are provided. The + or – sign of
a signal indicates the direction, and a number appended to a signal represents the controlled
axis number.
+L 1
1 …… First–axis overrun
2 …… Second–axis overrun
3 …… Third–axis overrun
: :
: :
When G23 (stored stroke limit OFF) is specified, the tail stock barrier is invalid, regardless of
whether TSB is high or low. The tail stock barrier is made invalid by driving TSB high when
G22 (stored stroke limit ON) is specified.
This signal is used, for example, to make the tail stock barrier valid or invalid when the tail
stock is to be pushed against a workpiece or the tail stock is to be placed away from a work-
piece by using an M function.
NOTE A tool intrusion prohibition area for the tail stock barrier and chuck barrier is to be separately
set by MDI operation.
– 232 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
+ED 1
1 …… Deceleration on the first axis
– 233 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
2.3.44 Interlock
(a) All–axis interlock signal (IT)
[Classification]
Input signal
[Function] Stops feed along all controlled axes in automatic or manual operation.
[Operation] While this signal is low, feed along the controlled axes is stopped with the specified feedrates
on all axes set to 0 in both automatic and manual operation. Feed being performed along an
axis is decelerated and stopped.
Since the move command remains valid while the signal is low, the command is resumed as
soon as the signal goes high again.
Commands other than move commands are not affected.
(b) Automatic operation all–axis interlock signal (AIT [#1, #2])
[Classification]
Input signal
[Function] Stops feed along all controlled axes in automatic operation.
[Operation] While this signal is low, feed along the controlled axes is stopped with the specified feedrates
on all axes set to 0 in automatic operation. Feed being performed along an axis is decelerated
and stopped.
Since the move command remains valid while the signal is low, the command is resumed as
soon as the signal goes high again.
Manual operation is not affected.
Commands other than move commands are not affected.
(c) Axis interlock signals (IT1, IT2, IT3, ...)
[Classification]
Input signals
[Function] Stop feed along a corresponding axis in automatic and manual operation.
These signals are provided for the controlled axes on a one–to–one basis. A number ap-
pended to a signal name represents a controlled axis number.
IT 1
1 …… First–axis interlock
2 …… Second–axis interlock
3 …… Third–axis interlock
: :
: :
[Operation] When an axis interlock signal goes low, the control unit functions as described below.
1 In manual operation (except manual arbitrary angle feed), the control unit sets the fee-
drate for the corresponding axis to 0 to stop feed. When the tool is moving, the control
unit decelerates the tool, then stops it. The axes other than the axis corresponding to
the signal which is low are not affected.
2 In automatic operation or manual arbitrary angle feed, if any one of the signals for the
axes along which the tool is moving goes low, the control unit sets the feedrates on all
axes to 0 to stop feed. When the tool is moving, the control unit decelerates the tool, then
stops it.
Since the move command remains valid while these signals are low, the command is re-
sumed as soon as they go high again.
Commands other than move commands are not affected.
– 234 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
NOTE For cycle blocks generated internally in a canned cycle, generally only the first block is
interlocked by the signal. Intermediate blocks are continuously executed even after the signal
goes low. This signal, however, can be made valid for all blocks in a cycle, including
intermediate blocks, by parameter setting.
NOTE This signal is valid for all blocks including cycle blocks internally generated in a canned cycle.
As with the 3/6 interface SAR signal, the cutting block start interlock signal can be checked
when a time specified by parameter setting has elapsed after a transition from the rapid
traverse mode to the cutting mode or after an S code is specified.
The procedure is explained below.
1. Set bit 7 of parameter 5602 (SAR) to 1.
2. In parameter 5620, set a time from one of the following points until checking of the cutting
block start interlock signal starts:
⋅ When a shift from the rapid traverse mode to a block of the cutting mode is made
⋅ When an S code is specified
Then, the cutting block start interlock signal is checked, and pulse distribution starts with the
timing shown below.
– 235 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
SVF 1
1 …… Servo off for the first axis
NOTE Method (2) is generally used for the mechanical handle feature. This feature drives the motor
to move the tool.
– 236 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
DTCH 1
1. Specify the first axis as a noncontrolled axis.
2. Specify the second axis as a noncontrolled axis.
3. Specify the third axis as a noncontrolled axis.
[Operation] When a cancel controlled axis signal goes high, the corresponding axis is regarded as a non-
controlled axis.
1 No position control is performed.
2 Servo alarms related to the axis are ignored.
3 The interlock signal for the axis is automatically assumed to be set low.
4 Although commands for the axis are valid in the automatic and manual operation modes,
they must not be specified.
Such a command can be accepted, but its operation is suppressed because the interlock
signal is low. Automatic operation is stopped at the block specified by the command, and
it cannot proceed to further execution.
5 The axis is also included in the position display on the CRT screen.
The signals can be switched from high to low, or low to high at any time, irrespective of
whether the power has been turned on. But be sure not to switch the signals while the
tool is moving.
[Use] When a detachable rotary table is used, these signals are set according to whether the table
is mounted.
NOTE 1 Before these signals can be used, the corresponding axes must be specified as axes that can
be noncontrolled by parameter setting. For axes without this parameter specification, these
signals are invalid.
NOTE 2 The same switching as with these signals is enabled by MDI panel setting.
NOTE 3 When a multiaxis amplifier, such as a 2–axis or 3–axis amplifier, is being used, specifying
detachment for any of the axes controlled by the amplifier causes the SV013 IMPROPER
V–READY OFF alarm to be issued for the other axes, even if detachment has not been
specified for those axes. This alarm can be suppressed by keeping the MCC signal turned on
during controlled axis detachment. For details, refer to the description of bit 5 of parameter No.
1009 in the parameter manual.
– 237 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
NOTE If either parameter 1049 or the signals received from the machine specify axis interchange
number 0, the axes are interchanged according to the other axis interchange number, which
is not zero. If neither axis interchange number is zero, the axes are interchanged according
to the axis interchange number specified by the signals sent from the machine. When the axes
need not be interchanged, the two axis interchange numbers must be set to zero.
– 238 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
NOTE 1 Input devices (tape reader, RS–232–C, etc.) to be used for registration in foreground editing
and background editing can be selected separately from the MDI panel (setting data).
NOTE 2 There are conditions on the execution of registration. When the registration is performed as
foreground editing, for example, automatic operation must be reset. When it is performed as
background editing, a program having the same number must not be executed in the memory
mode simultaneously. For details of the conditions, refer to the “Operator’s Manual.”
NOTE 1 Output devices (tape punch, RS–232–C, etc.) to be used for output in foreground editing and
background editing can be selected separately from the MDI panel (setting data).
NOTE 2 There are conditions on the execution of output. A program being edited in the foreground, for
example, cannot be output in the background and vice versa. For details of the conditions,
refer to the “Operator’s Manual.”
– 239 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
NOTE In addition to registration and output started by the external read start signal and external punch
start signal, the signal can stop any background registration, collation, and output, even when
the operator started background registration, collation, and output using the MDI panel.
– 240 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
Workpiece number 00 is used for special designation “no search.” Thus, a workpiece number
ranges from 01 to 31. A workpiece number is associated with a program number (Oxxxx) by
one of the following methods. The method used is specified by parameter setting.
1 A workpiece number is used as a program number. For example, specifying workpiece
number 21 causes a search for O0021.
2 A workpiece number is set in the first 2 digits of a program number, and any number is
set in the last 2 digits.
If workpiece number 21 is specified, for example, memory is searched for O0021, O0121,
O0221, O0321, ..., or O9921.
The number searched for is determined by the order of registration in the program num-
ber directory in memory. As a result, the number cannot be specified. When this method
is used, therefore, care must be taken not to register programs with program numbers
whose first 2 digits are the same in memory.
3 A workpiece number is set in the first 2 digits of a program number, and a number specified
by parameter setting is set in the last 2 digits. If workpiece number 21 is specified when the
parameter–set value in the last 2 digits is 15, for example, 01521 is searched for.
[Operation] A program number associated with a workpiece number specified by these signals is
searched for when:
⋅ The system is reset in the memory mode.
⋅ After automatic operation is reset (automatic operation in–progress signal OP is low), it is
started in the memory mode (automatic operation start signal goes high).
When the workpiece number is 00, no search is performed.
The searched program is used for the following:
⋅ Automatic operation in the memory mode
⋅ Foreground editing in the part program storage and edit mode
– 241 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– 242 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 243 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
External data output does not necessarily occur immediately after external data input for making an external
data output request. If it takes a long time for the control unit to prepare output data, external data output may
be delayed. In such a case, before the external data output is completed, no additional external data input op-
erations are accepted; they are forced to wait. Even if EISTB goes high, the control unit does not read data
until the current external data output operation is completed; in this case, the alarm O0T124 is raised.
External data that can be input/output
(i) Program number
[Input] A program to be executed in the memory command mode is searched for when its program
number is specified.
A program number from 1 to 9999 can be specified in binary.
[Output] The program number of the main program currently executed is output.
(ii) Sequence number
[Input] A block to be executed in the memory command mode is searched for when its sequence
number is specified.
A sequence number from 1 to 9999 can be specified in binary.
[Output] The program number of the block currently executed is output.
– 244 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 245 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
A coordinate system number is to be specified in binary using eight bits. The table below indi-
cates the correspondence between the coordinate system numbers and workpiece coordi-
nate system offset values.
– 246 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
ator message setting). A previously entered operator message can be cancelled by specify-
ing its message number (operator message clearing).
The address section is used to set and clear an operator message.
An operator message number from 0 to 999 is to be specified in binary. For identification, the
control unit prefixes the character string EX to an operator message number from 0 to 99, and
displays EX and a specified operator message number before an operator message charac-
ter string. For an operator message number of 100 or greater, no message number is dis-
played; only a message character string is displayed.
A message character string is to be entered according to item (viii) below immediately after
a specified operator message number.
Up to 128 characters are accepted for each message in the PMC–MODEL NA and up to 256
characters in the PMC–MODEL NB.
The control unit can accept up to four external operator messages at a time. (up to two at a
time when a 9” CRT system is used with the PMC–MODEL NB) Set messages are not cleared
by resetting the control unit. To clear a set message, the external operator message must
be input with its number and clear operation specified.
[Output] There is no corresponding output. So ERDRQ must always be 0.
(viii)Message character strings
[Input] A desired character string can be entered after the setting of an external alarm message or
external operator message. If the immediately preceding external data input is not for such
a setting, an entered message character string is ignored. The data section can contain up
to six characters. Eight bits are used to represent one character. See the character code
table (conforming to the JIS code table.) Higher characters (on the EID47 side) are displayed
earlier.
When the specified character code is 00, the character is ignored. Consequently, an arbitrary
number of characters not exceeding six characters can be sent at a time.
When the character LF (code: 0000 1010) is sent, line feed occurs on the screen display; LF
itself cannot be not displayed.
At the end of a message, the character ETX (code: 0000 0011) is sent. All preceding mes-
sage character strings that have been input are assumed to be continuous. However, the
following restrictions are imposed on the length of a character string:
Alarm message character string ………up to 30 characters
Operator message character string……up to 128 characters
[Output] There is no corresponding output. So ERDRQ must always be 0.
(ix) Custom macro variable values
[Input] By specifying a custom macro variable number, the value of the variable is changed. A vari-
able number from 100 to 999 is to be specified in binary. A common variable must be speci-
fied. If a variable number exceeding a specifiable range (varying from one option to another)
is specified, an alarm is raised.
A variable value in the range 0 to +99,999,999 is to be specified in binary.
[Output] [Output] Specifying a custom macro variable number outputs the value of the variable.
A variable number must be specified for an output request in the same way as it is specified
for an input request.
Signal configuration in external data input/output
The configuration of the address and data sections for external data input/output depends on the type of data
to be transmitted. The table below indicates the configurations.
– 247 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– 248 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
E EIA/EOA EID/EOD
EIHEAD
RD
N
No. D t
Data NA 47 32 31 16 15 0 R
Remarks
k
EOHEAD RQ
(11TT) 7 6 5 4 3 2 1 0
NB 32 47 0 15 16 31
Milling system tool offset value – 0/1 0 0 0 1 a/i g/w 0 r/l Offset number Tool offset value 0–"999,999
3
Turning system tool offset value 0/1 0/1 0 0 0 1 a/i g/w xz ry Offset number Tool offset value 0–"999,999
Axis Coordinate
4 Work zero point offset value x 0/1 0 0 1 0
number
a/i –––– system
Work zero point offset value 0–"99,999,999
Axis
5 Machine zero point shift value x 0/1 0 0 1 1
number –––––––––––––– Zero point shift value 0–"9,999
9 Custom macro variable value x 0/1 0 1 0 1 0 0 0 0 Variable number Variable value 0–"99,999,999
15
EID/EOD (bit)
No.
39 38 37 36 35 34 33 32
10 emp 0 0 0 0 0 t–type
11 emp 0 0 0 0 0 0 0
12 emp 0 0 0 0 0 0 r/1
ȍ(2
b
i
Data value = Vi)
i+0
where Vi = 0 when EIDi is low
Vi = 1 when EIDi is high
a, b: Depend on the type of data (0 x a < b x 47).
For detailed information, see Table 2.3.51.
– 249 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
(c) Tool post specification signal for external data input (EIHEAD (15–TT))
[Classification]
Input signal
[Function] This signal indicates whether data sent with the external data input function is for the first tool
post or the second tool post.
When this signal is low, the data is for the first tool post. When this signal is high, the data
is for the second tool post. When external input data is common to both tool posts, this signal
has no effect.
(d) Strobe signal for external data input (EISTB)
[Classification]
Input signal
[Function] This signal reports that an address and data have been prepared for external data input.
When this signal goes high, the control unit reads the address and data signals sent with the
external data input function.
For the operation and procedure of the control unit when this signal goes high, see “Basic
procedure” described earlier in this section.
(e) Read end signal for external data input (EIREND)
[Classification]
Output signal
[Function] This signal reports that the control unit has read data sent with the external data input function.
For the output conditions and procedure, see “Basic procedure” described earlier in this sec-
tion.
(f) External data output request signal (ERDRQ)
[Classification]
Input signal
[Function] This signal indicates whether external data input is for data input or for an external data output
request.
For the operation and procedure of the control unit when this signal goes high, see “Basic
procedure” described earlier in this section.
(g) Address signals for external data output (EOA0 to EOA7)
[Classification]
Output signals
[Function] These signals indicate the type of data sent with the external data output function. These sig-
nals consist of eight code signals. For the correspondence between the codes and data
types, see Table 2.3.51.
(h) Data signals for external data output (EOD0 to EOD47)
[Classification]
Output signals
[Function] These signals represent data sent with the external data output function. These signals con-
sist of 47 code signals, and the method of using these signals depends on the type of data.
These signals are generally used as binary code signals as follows:
ȍ(2
b
i
Data value = Vi)
i+0
where Vi = 0 when EODi is low
Vi = 1 when EODi is high
a, b: Depend on the type of data (0 x a < b x 47).
For detailed information, see Table 2.3.51.
(i) Tool post specification signal for external data output (EOHEAD (15–TT))
[Classification]
Output signal
[Function] This signal indicates whether data sent with the external data output function is for the first
tool post or the second tool post.
When this signal is low, the data is for the first tool post. When this signal is high, the data
is for the second tool post. When external input data is common to both tool posts, this signal
has no effect, but is low when output.
– 250 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 251 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
[Use] These signals can be used for the applications described below.
(1) To measure the dimensions of a workpiece, for example, a skip signal is set high by ap-
plying the sensor to the workpiece with a G31 command, and the position is read using
a custom macro.
(2) In cutting, for example, the termination position of cutting is not programmed, but a skip
signal is set high by a cutting condition signal from the machine in order to proceed to the
next block.
(3) As described in the example below, multiple cutting conditions can correspond to multi-
ple skip signals, particularly in an application such as 2.
Example Suppose that the procedure below is used for machining.
1 A feedrate of 10 is used until cutting condition 1 is satisfied.
2 A feedrate of 3 is used until cutting condition 2 is satisfied.
3 A dwell operation is performed until cutting condition 3 is satisfied.
The cutting conditions correspond to the skip signals and the G codes as follows:
Cutting condition 1 Skip signal 1 G31.1
Cutting condition 2 Skip signal 2 G31.1, G31.2
Cutting condition 3 Skip signal 3 G31.1, G31.2, G04
The machining is programmed as follows:
N1 G31.1 X1000.0 F10 ; Feed
N2 G31.2 X100.0 F3 ; Feed
N3 G04 X100.0 ; Dwell
If cutting condition 2 is already present at the beginning, execution starts with N3 (dwell).
NOTE 1 G31.1, G31.2, G31.3, and G31.4 for skip cutting are identical to each other, except for their
correspondence to skip signals. The tool moves along the specified axis until its corresponding
skip signal goes high in linear interpolation or until it completes the movement. Parameter
setting can select whether to use a programmed feedrate or skip cutting speed specified in a
parameter. G31 is equivalent to G31.1.
NOTE 2 A skip signal monitoring delay or variation of 0 to 2 msec is present on the control unit only; this
delay does not include a delay on the PMC. When a skip signal is used for position
measurement, the control unit automatically compensates for an acceleration/deceleration
delay and servo delay(1), provided that a certain speed has been reached. Accordingly, a
measurement error is obtained by adding this 2 msec delay to a skip signal delay or variation
(including a receiver delay or variation) on the PMC, and multiplying the sum by the feedrate
at that time.
By using a high–speed skip signal (Item (b)), a receiver delay and control unit delay or variation
can be reduced to 0.1 msec or less.
1 Parameter setting can disable automatic compensation for an acceleration/deceleration
delay and servo delay.
NOTE 3 The delay or variation produced after skip signal monitoring until the feed is stopped is 0 to 8
msec. To calculate an overshoot, an acceleration/deceleration delay, servo delay, and delay
on the PMC must be considered.
(b) High–speed skip signals (HSKP1 [#1, #2], HSKP2, HSKP3, HSKP4); HSKP2, HSKP3, and HSKP4 are
not used with the 15–TT.
NOTE These signals are not interface signals between the PMC and control unit.
[Classification]
Input signals
[Function] HSKP1, HSKP2, HSKP3, and HSKP4 are equivalent to the skip signals SKIP1, SKIP2,
SKIP3, and SKIP4, respectively. For the functions and operations of these high–speed skip
signals, see Item (a). These signals must be connected directly to the control unit, not via the
PMC. With these signals, the control unit can read the current position within 0.1 msec (in-
– 252 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
cluding a receiver delay and control unit delay or variation) after a signal state transition.
Note, however, that the delay or variation produced until the feed is stopped is 0 to 8 msec,
which is the same as that of the skip signals.
Parameter setting can select whether to use a skip signal or high–speed skip signal.
2.3.53 Signal for outputting the states of the high–speed skip signal and the high–speed mea-
suring position reach signal
The input states of the high–speed skip signal and the high–speed measuring position reach signal can be
output to the PMC.
(1) Signal
Signals for outputting the states of the high–speed skip signal and the high–speed measuring position
reach signal: HDO0 to HDO6
[Classification]
Output signals
[Function] Informs the PMC of the input states of the high–speed skip signal and the high–speed mea-
suring position reach signal. The bits of the high–speed skip signal correspond to the bits of
the output signal as shown below:
HDI0 HDO0
HDI1 HDO1
HDI2 HDO2
(HDI3 HDO3)
HDI4 HDO4
HDI5 HDO5
HDI6 HDO6
[Output Condition]
The bit is set high when:
⋅ The corresponding bits of the high–speed skip signal and the high–speed measuring posi-
tion reach signal are high.
The bit is set low when:
⋅ The corresponding bits of the high–speed skip signal and the high–speed measuring posi-
tion reach signal are low.
– 253 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
ȍ(2
30
#1032+n = i
Vi ) * 2 31 V 31
i+0
ȍ(2
30
1 Variable value #1132+n = i
Vi ) * 2 31 V 31
i+0
– 254 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
Feedrate
Presumed measuring
position
Rapid traverse
Start point ε ε
[Operation] When the signal is turned on, the control unit operates as follows:
1 Reads the position of the tool along the axis currently specified and updates the current
compensation value based on the difference between the specified measuring position
and the read measuring position in the following case: When the measuring position
reached signal corresponding to the G code is turned on in a block where one of G37.1,
G37.2, and G37.3 is specified after the tool is within distance ε of the measuring position
specified by a program and before the tool overshoots the measuring position by dis-
tance ε. The control unit then decelerates, stops the tool, and terminates the move com-
mand for the block.
– 255 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
2 Enters an alarm state and terminates the move command for the block without updating
the compensation value in the following case: When the measuring position reached sig-
nal corresponding to the G code is turned on in a block where one of G37.1, G37.2, and
G37.3 is specified after the tool is within distance γ of the measuring position but before
the tool is within distance ε of the measuring position.
3 In other cases, no particular operation is done. The control unit does not monitor the
measuring position reached signal for its rising edge but monitors the state of the signal.
If the signal remains on when the next corresponding automatic tool measurement (auto-
matic tool compensation) is specified, the control unit enters an alarm state when the tool
is within distance γ of the measuring position.
NOTE 1 All functions of automatic tool compensation codes G37.1, G37.2, and G37.3 are equal to one
another, except the following:
⋅ The corresponding measuring position reached signals are different.
⋅ The parameters for the measuring speed and distances γ and ε are independently set.
NOTE 2 Only one axis can be specified in G37.1, G37.2, or G37.3. Each code, however, does not
correspond to a certain axis but corresponds to a certain measuring position reached signal.
If signal AE1 is set to be turned on when the tool reaches the measuring position along either
the X or Z axis, both axes can be specified in G37.1 codes.
NOTE 3 The compensation value is updated by the following formula:
New compensation value = (Current compensation value) + [(Current position of the tool
along the specified axis when the measuring position reached
signal is turned on) – (Specified measuring position)]
The following compensation values are updated:
(1) In a milling system, the compensation value corresponding to the tool compensation
number selected by an H code
(2) In a lathe system, the compensation value corresponding to the tool compensation
number selected by a T code and to the specified axis (X, Y, or Z) in G37.1, G37.2, or G37.3
NOTE 4 The delay or dispersion in monitoring a measuring position reached signal is 0 to 2 ms in the
control unit (the value in the PMC is not included). The maximum measuring error is obtained
by adding 2 ms to the delay or dispersion in transmitting a measuring position reached signal
in the PMC (including the delay or dispersion in the receiver) and multiplying the result by the
measuring speed preset in a parameter.
The delay or dispersion in the receiver and control unit can be suppressed to 0.1 ms or less
using a high–speed measuring position reached signal (see item (b) below).
NOTE 5 A delay or dispersion of 0 to 8 ms occurs until the feed is stopped after the measuring position
reached signal is monitored. The acceleration/deceleration delay, servo delay, and PMC delay
must also be taken into account to calculate the overshoot distance.
(b) High–speed measuring position reached signals (HAE1 (#1, #2), HAE2 (#1, #2), HAE3 (#1, #2))
NOTE These signals are not interface signals between the PMC and control unit.
[Classification]
Input signals
[Function] These three signals, HAE1, HAE2, and HAE3, are equivalent to measuring position reached
signals AE1, AE2, and AE3, respectively.
– See item (a) for the functions and operations of the above signals.
The high–speed measuring position reached signals must be connected directly to the con-
trol unit without passing the PMC. By using these signals, the control unit can read the current
position within 0.1 ms (including the delay and dispersion in the receiver and control unit) after
the signals have changed.
A delay or dispersion of 0 to 8 ms occurs until the feed is stopped after the signal is monitored
in the same way as for the measuring position reached signals.
A parameter setting determines whether the measuring position reached signals or the high–
speed measuring position reached signals are used.
– 256 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
2.3.57 Method B for directly inputting tool compensation (for the Series 15–T and 15–TT)
Section 2.3.37 describes the methods of measuring tool compensation according to a program command and
by measuring the dimensions of a workpiece after trial cutting. Besides those methods, a lathe system permits
the methods stated below to be used for measuring tool compensation. Moreover, the workpiece reference
point along the Z–axis can be set by simple operation.
The signals in the table below are for the functions for measuring tool compensation and for setting the work-
piece reference point along the Z–axis.
+Z
+X feed direction
contact face
– 257 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
Specify the measurement reference point on the machine and set the distance between the reference point
and measuring point (the sensing surface of the touch sensor) in the parameter for each sensing point.
1 Select the manual handle feed or continuous manual feed mode.
2 Turn on the switch on the machine operator’s panel for notifying the control unit that tool compensation is
to be measured. The PMC then turns on signal GOQSM for selecting the mode for writing tool compensa-
tion. Next, the control unit automatically switches the screen currently displayed on the CRT to the tool
geometry compensation screen and blinks the OFST status display at the bottom of the screen to notify
that preparation has been completed for measuring tool compensation.
3 Select the tool for which tool compensation is to be measured. This selection should be made prior to step
(1) if there is no other selection method than manual data input and memory program command. After a
tool has been selected, the PMC notifies the control unit of the compensation number of the selected tool
by means of tool compensation number input signals OFN0 to OFN5.
The tool compensation number should generally be the same as the tool number. Instead of using signals
OFN0 to OFN5, a parameter can be set so that the operator can select the tool compensation number on
the tool compensation setting screen.
4 Bring the tool into contact with the touch sensor by manual handle feed or continuous manual feed. The
PMC then turns on the manual feed interlock signal for the axis that corresponds to the sensing point of
the touch sensor that was contacted. When the tool comes into contact with the sensing surface in the
–X direction, the PMC turns on manual feed interlock signal –MIT1 for the negative direction of the first axis
(–X).
5 When the manual feed interlock signal for an axis, for example, manual feed interlock signal –MIT1 for the
negative direction of the first axis (–X), is turned on, the control unit stops manual feed for that direction.
At the same time, the control unit sets, in tool compensation memory, a tool geometry compensation that
is the difference between the machine coordinates and measurement reference distance (parameter set-
ting value) and sets the tool wear compensation value to 0.
Tool geometry compensation = (Machine coordinates obtained when the manual feed interlock signal is
turned on) – (Measurement reference distance corresponding to the manual feed interlock signal)
– 258 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
Example 1 The position of the tip of the reference tool when the tool is at the machine zero point is used
as the measurement reference position. The distance between the position of the tip of the
tool to be measured and the reference position can be set as the tool geometry compensa-
tion.
( 0,0 )
Measuremenr reference
point (the position of
the blade tip of the tool
GOFSx to be measured at the
zero point in machine
coordinate system)
Xm
Zt
+X
Zm
Zp
+Z
Xp : Measurement reference distance to the sensing surface in the +X feed direction (parameter
setting)
Xm : Measurement reference distance to the sensing surface in the –X feed direction (parameter
setting)
Zp: Measurement reference distance to the sensing surface in the +Z feed direction (parameter
setting)
Zm : Measurement reference distance to the sensing surface in the –Z feed direction (parameter
setting)
Xt : Machine coordinates along the X–axis when the tool to be measured contacts the sensing
surface in the –X feed direction
Zt: Machine coordinates along the Z–axis when the tool to be measured contacts the sensing
surface in the –Z feed direction
GOFSx : Tool geometry compensation along the X–axis (GOFSx = Xt – Xm)
GOFSz : Tool geometry compensation along the Z–axis (GOFSz = Zt – Zm)
– 259 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
Example 2 An arbitrary point on the machine is used as the measurement reference position.
Set the distance between the reference position and each sensing point of the touch sensor
in a parameter. The distance between the measurement reference position and the tip of the
tool to be measured when the tool is at the machine zero point can be set as the tool geometry
compensation. In this case, the measurement reference position along the X–axis should
generally be the center of the spindle (X = 0 in the workpiece coordinate system). The mea-
surement reference position along the Z–axis can be set as desired. However, the distance
from the reference position to the end of the workpiece should be measured in the following
way and set as the shift distance for the workpiece coordinate system. The distance between
the workpiece reference position and the tip of each tool when the tool is at the machine zero
point can thereby be set as the tool geometry compensation (for the Z–axis, also add the shift
distance for the workpiece coordinate system to obtain the actual distance from the work-
piece reference position).
Zt
GOFSz
Zm
Zp Xm
Xp
Workpiece
– 260 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
Basic procedure for measuring the shift distance for the workpiece coordinate system along the Z–axis
The workpiece reference position along the Z–axis can be easily set because the shift distance for the work-
piece coordinate system along the Z–axis can be easily measured as follows:
Set the distance between the measurement reference position and the workpiece reference position as the
shift distance as described in the basic procedure for measuring tool compensation. Namely, the distance be-
tween the machine zero point and workpiece reference position in Example 1 or the distance between the spe-
cified reference position and the workpiece reference position in Example 2 is set as the shift distance for the
workpiece coordinate system.
1 Select the manual handle feed or continuous manual feed mode.
2 Turn on the switch on the machine operator’s panel for notifying the control unit that the shift distance for
the workpiece coordinate system along the Z–axis is to be measured. The PMC then turns on signal
WOQSM to select the mode for writing the shift distance for the workpiece coordinate system. Next the
control unit automatically switches the screen currently displayed on the CRT to the screen for the shift
distance for the workpiece coordinate system and blinks the OFST status display in the bottom of the
screen to notify that preparation has been completed for measuring the shift distance for the workpiece
coordinate system.
3 Select the tool for which the shift distance is to be measured. The tool geometry compensation value must
already be set for the selected tool. This selection should be made prior to step 1 if there is no other selec-
tion method than manual data input and memory program command. After a tool has been selected, the
PMC notifies the control unit of the compensation number of the selected tool by means of tool compensa-
tion number input signals OFN0 to OFN5. The tool compensation number should generally be the same
as the tool number. Instead of using signals OFN0 to OFN5, a parameter can be set so that the operator
can select the tool compensation number on the tool compensation setting screen.
4 Bring the tool into contact with the end of the workpiece by manual handle feed or continuous manual feed.
The PMC does not know that the tool has contacted the end of the workpiece because a touch sensor
generally cannot be mounted on the end of a workpiece. There is therefore no way to automatically stop
the tool when the tool contacts the end of the workpiece. Instead the operator should stop manual feed.
If a touch sensor can be mounted on the tool, however, the tool can be automatically stopped when it con-
tacts the end of the workpiece using a manual feed interlock signal.
5 Turn on the switch on the machine operator’s panel for notifying the control unit that the shift distance for
the workpiece coordinate system along the Z–axis has been measured. The PMC then turns on signal
WOQSM to select the mode for writing the shift distance for the workpiece coordinate system. The value
obtained by subtracting the tool geometry compensation from the machine coordinate value is then set
as the shift distance for the workpiece coordinate system.
The shift distance for the workpiece coordinate system along the Z–axis = (Tool geometry compensation along
the Z–axis) – (Machine coordinates along the Z–axis when signal WOSET for writing the shift distance for the
workpiece coordinate system is turned on)
– 261 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
+X GOFSz
GOFSx
6 To shift the workpiece reference position from the end of the workpiece toward the spindle by the cutting
allowance for example, input the shift value in incremental input by MDI operation.
(a) Signal for selecting the mode for writing tool compensation (GOQSM (#1, #2))
[Classification]
Input signal
[Function] Selects the mode for writing tool compensation.
[Operation] When this signal is turned on in a manual operation mode, the mode for writing tool com-
pensation is selected. The control unit then automatically switches the screen displayed on
the CRT to the tool geometry compensation screen and blinks the OFST status display in the
bottom of the screen to notify that the mode has been changed to the mode for writing tool
compensation.
(b) Manual feed interlock signal for each axis (+MIT1, –MIT1, +MIT2, –MIT2, +MIT3, –MIT3)
[Classification]
Input signals
[Function] Each of these signals inhibits tools from being fed along the corresponding axis during manu-
al operation. When signal GOQSM for selecting the mode for writing tool compensation is
turned on, the manual feed interlock signal also automatically calculates the tool geometry
compensation along the axis and sets the result in tool compensation memory.
[Operation] When these signals are turned on, the control unit operates as follows:
i. Inhibits tools from being fed along the corresponding axis during manual operation.
+MIT1 : Inhibits tools from being manually fed in the positive direction along the X–axis.
–MIT1 : Inhibits tools from being manually fed in the negative direction along the X–axis.
+MIT2 : Inhibits tools from being manually fed in the positive direction along the Z–axis.
–MIT2 : Inhibits tools from being manually fed in the negative direction along the Z–axis.
+MIT3 : Inhibits tools from being manually fed in the positive direction along the Y–axis.
–MIT3 : Inhibits tools from being manually fed in the negative direction along the Y–axis.
ii. When signal GOQSM for selecting the mode for writing tool compensation is turned on,
the manual feed interlock signal also automatically calculates the tool geometry com-
pensation for the tool compensation number pointed to by the cursor and sets the result
in tool compensation memory.
– 262 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
(c) Tool compensation number input signals (OFN0, OFN1, OFN2, OFN3, OFN4, OFN5 (#1, #2))
[Classification]
Input signals
[Function] Selects the tool compensation number.
[Operation] When the mode for writing tool compensation is selected, the cursor is automatically posi-
tioned on the tool geometry compensation number selected by these signals. Instead of us-
ing these signals, a parameter can be set so that the operator can select the tool geometry
compensation number on the CRT.
NOTE When the optional function that provides compensation for 160 groups of tools is provided,
the maximum selectable tool compensation number is between 1 to 63 for the Series 15–T,
and between 1 to 31 for the Series 15–TT.
(d) Signal for selecting the mode for writing the shift distance for the workpiece coordinate system
(WOQSM (#1, #2))
[Classification]
Input signal
[Function] Selects the mode for writing the shift distance for the workpiece coordinate system.
[Operation] When this signal is turned on in a manual operation mode, the mode for writing the shift dis-
tance for the workpiece coordinate system is selected. The control unit then automatically
switches the screen displayed on the CRT to the screen for writing the shift distance for the
workpiece coordinate system and blinks the OFST status display in the bottom of the screen
to notify that the mode has been changed to the mode for writing the shift distance for the
workpiece coordinate system. However, this is not performed when the mode for writing tool
compensation values is selected.
(e) Signal for writing the shift distance for the workpiece coordinate system (WOSET (#1, #2))
[Classification]
Input signal
[Function] Automatically calculates and sets the shift distance for the workpiece coordinate system.
[Operation] When this signal goes high the mode for writing the shift distance for the workpiece coordinate
system, it triggers automatic calculation and setting of the shift distance for the workpiece
coordinate system.
– 263 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
T command Txxxx
Strobe signal TF
– 264 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
NOTE Set the tool change reset signal, TLRST, from low to high in the following cases:
NOTE Turn on tool skip signal TLSKP when the control unit is in the reset state or in the automatic
operation stop state. In other words, turn on the signal when both automatic operation starting
signal STL and automatic operation stopping signal SPL are off.
– 265 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
( 2 V
9
i
Override value = i ) times
i0
where
When TLVi is on, Vi = 0.
When TLVi is off, Vi = 1.
That is, each signal corresponds to the following value:
TLV0: x 0.1 TLV5 : x 3.2
TLV1: x 0.2 TLV6 : x 6.4
TLV2: x 0.4 TLV7 : x 12.8
TLV3: x 0.8 TLV8 : x 25.6
TLV4: x 1.6 TLV9 : x 51.2
When all signals are on, the override value becomes 0.
The override value can be set from 0 to 99.9 in steps of 0.1.
The parameter (No. 7401, LFV) determines whether these signals are used.
[Operation] The life count for tool life management is obtained by multiplying the actual cutting time by
the override value selected by the signals.
– 266 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
:ăRetract path
Z
:ăManual operation
ă(retract path)
:ăReturn path
:ăRe-positioning X
– 267 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– 268 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
NOTE Set TRESC high in the automatic operation mode. TRACT then goes high.
When TRACT goes high, the machine enters the tool retraction mode (refer to Item 5.6.3 in part
I, “Operation” in the Series 15/150–B Operator’s Manual (Operation) for details).
When TRACT goes high, set TRESC low.
TRACT goes high immediately after TRESC goes high if retraction does not occur. If retraction
occurs, TRACT goes high after retraction is completed.
Returning
NOTE Set the tool recovery signal high, then set it low.
The signal is described in the item on tool recovery in the Series 15/150–B Operator’s Manual
(Operation).
When the tool has been returned to the retraction position, TRSPS goes high.
NOTE Refer to the Series 15/150–B Operator’s Manual (Operation) for detailed operation.
– 269 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– 270 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 271 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
NOTE 1 Only the modes shown below can be selected by soft switches. When the mode for manual
feed in an arbitrary direction is present, for example, all control switches for mode selection
should be on the machine operator’s panel or a general–purpose soft switch should be used
to select the mode for manual feed in an arbitrary direction.
Soft switches available for mode selection
(i) Part program storage/edit
(ii) Memory command
(iii) Tape command
(iv) Manual data input
(v) Continuous manual feed
(vi) Manual reference position return
(vii) Manual handle feed
(viii)Incremental feed
NOTE 2 Use numeric keys 1 to 9 on the CRT/MDI for soft switches in group 2, i.e., soft switches for axis
direction selection for continuous manual feed or incremental feed and manual rapid traverse
selection. These soft switches can be used only for a 9” CRT/MDI.
NOTE 3 Only one soft switch is available for memory protection. However, four input signals are
available for memory protection (KEY1, KEY2, KEY3, and KEY4). Generally, four input signals
are simultaneously turned on or off according to the state of the soft switch for memory
protection.
NOTE 4 When the soft switch for automatic operation stop is on, output signal SPO is turned on. At this
time, the PMC turns off automatic operation stop signal SP.
In contrast to the above, when the soft switch for automatic operation stop is turned off, output
signal SPO is turned off and the PMC turns on automatic operation stop signal SP. For soft
switches other than automatic operation stop and general soft switches, when an output signal
informing the state of a soft switch is turned on, the corresponding input signal is turned on.
– 272 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
NOTE 5 The following table lists the override values which can be selected by soft switches for manual
feedrate override.
– 273 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
NOTE 6 The following table lists the override values which can be selected by soft switches for feedrate
override.
– 274 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
NOTE The PMC can read from or write to the required parts count setting meter and cumulative parts
counter by using the external data input/output function.
EIA/EOA bit 0
0 : Required parts count
1 : Value of the cumulative parts counter
– 275 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
CRT
FUNM SK 1 SK 2 SK 3 SK 4 SK 5 OPEN
CRT
FUNM SK 1 SK 2 SK 3 SK 4 SK 5 SK 6 SK 7 SK 8 SK 9 SK 10 OPEN
– 276 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
G128
G129 7 6 5 4 3 2 1 0
#
G130
G131 0 / = EOB ⋅ – 9 8
A & ) , +
G132
G133 H D F Z Y X G N
@ L E W V U C B
G134
G136
G138
– 277 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
G128
G129 7 6 5 4 3 2 1 0
#
G130
G131 0 / = EOB ⋅ – 9 8
P & ) , +
G132
G133 H W U F Z X G N
@ B A E D L R Q
G134
G136
G138
– 278 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
G128 CAN ⋅ = – + 9 8 7
G129 6 5 4 3 2 1 0
G130 C R K J I B Q Z
SP W
G131 Y X A P G N O
V U
→ ← / # EOB
G132
, )
G133 T S M L H D F
( ] [ & @ ? E
G134 ↓ ↑
G136
G138
G139
– 279 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
G128 CAN ⋅ = – + 9 8 7
G129 6 5 4 3 2 1 0
G130 R V H W U F Y C
L B @ E A SP
G131 Z X Q P G N O
→ ← / # EOB
G132
, )
G133 T S M J D K I
( ] [ & ?
G134 ↓ ↑
G136
G138
G139
– 280 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
G128 CAN ⋅ = – + 9 8 7
G129 6 5 4 3 2 1 0
G130 C R K J I B Q Z
SP W
G131 Y X A P G N O
V U
G132 → ← / # EOB
, )
G133 T S M L H D F
( ] [ & @ ? E
G134 ↓ ↑
G138
G139
– 281 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
G128 CAN ⋅ = – + 9 8 7
G129 6 5 4 3 2 1 0
G130 R V H W U F Y C
L B @ E A SP
G131 Z X Q P G N O
G132 → ← / # EOB
, )
G133 T S M J D K I
( ] [ & ?
G134 ↓ ↑
G138
G139
– 282 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
G128 CAN ⋅ = – + 9 8 7
/
G129 6 5 4 3 2 1 0
G130 R ) ( W U F SP C
V L E
G131 Z X @ P G N O
Y A Q H
G132 → ← , # EOB
G133 T S M B D K I
] [ & ? J
G134 ↓ ↑
G138
G139
– 283 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
NOTE 1 It is possible to perform soft key operations from the PMC by turning on or off signals for soft
keys; however, pay attention to the following: The function of a soft key depends on its
assignment. There are so many functions assigned to a soft key that the state of the soft key
is not informed to the PMC. Therefore, when the signal for a soft key is turned on or off, it is
possible that an unexpected operation is performed. To avoid this, before the signal for a soft
key is turned on or off, the operator shall select the screen displaying the soft key.
NOTE 2 The rising edge of a signal is regarded as a key input. Turn on only one signal at a time.
NOTE 3 A key input signal must be on or off for 32 seconds or more.
X" ON
Y" ON
– 284 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
(7) When the B–axis clamp signal, BCLP, is set high, the B–axis must be mechanically clamped with a clutch
or shot pin by the PMC. After the B–axis is mechanically clamped, the PMC sets the B–axis clamp comple-
tion signal, *BECLP, low.
(8) When the B–axis clamp completion signal, *BECLP, goes low, the control unit sets the B–axis clamp signal,
BCLP, low to inform that the *BECLP signal is received. In procedure B, the B–axis positioning control is
placed in the servo–off state when the B–axis clamp signal, BCLP, is set low.
(9) When the B–axis clamp signal, BCLP, is set low, the PMC sets the B–axis clamp completion signal,
*BECLP, high.
(10)The entire sequence for positioning the index table terminates.
The following timing charts illustrate the procedures.
Timing chart of procedure A for positioning the index table
(1) (2) (3) (4) (5) (6) (7) (8) (9)
B command ( independent ) Bbbbb
Servo ON of position control of B axis
Unclamp signal of B axis BUCLP
Unclamp completion signal of B axis *BEUCL
B axis rotation
Clamp signal of B axis BCLP
Clamp complection signal of B axis *BECLP
Timing chart of procedure B for positioning the index table
(1) (2) (3) (4) (5) (6) (7) (8) (9)
B command ( independent ) Bbbbb
Servo ON of position control of B axis
Unclamp signal of B axis BUCLP
Unclamp completion signal of B axis *BEUCL
B axis rotation
Clamp signal of B axis BCLP
Clamp complection signal of B axis *BECLP
NOTE 1 While an axis is being moved for indexing, input signals that reset the control unit are valid.
For example, the emergency stop signal, *ESP, external reset signal, ERS, and reset and
rewind signal, RRW, are valid. When the control unit is reset, indexing stops. The automatic
operation halt signal, *SP, is also valid. When the *SP signal goes low, the axis movement is
stopped and the system enters the automatic operation halt state.
NOTE 2 When the B–axis is positioned, the dry run signal, DRN, is invalid.
NOTE 3 When the B–axis is positioned, the machine lock signal, MLK, is valid. If the machine lock
signal, MLK, goes high while the B–axis is moving, the signal continues to be invalid until the
axis movement terminates.
NOTE 4 For the B–axis, manual operations such as manual continuous feed, incremental feed, and
manual handle feed are not allowed. Only manual reference position return is allowed. If a
reset occurs while the B–axis is being moved, manual reference position return must be
executed. The following timing chart illustrates manual reference position return of the B–axis
in procedure A.
Timing chart of procedure A for manual reference position return of the B–axis
B axis manual feed selection signal +JB *1
B axis position control servo ON
B axis unclamp completion signal *BEUCL
B axis unclamp completion signal *BEUCL
B axis rotation
B axis deceleration signal *DECb *1
B axis return completion signal ZPb *1
B axis clamp signal BCLP
B axis clamp completion signal *BECLP
*1: “b” expresses the control axis number of B axis
– 285 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– 286 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
ZRN
+Jt
Unclamp signal
TUCLP
Unclamp operation
Unclamp completion
signal *TEUCL
Servo-on
*DECt
Grid point
In-position
Zpt
Clamp signal
TCLP
Clamp operation
Clamp completion
signal *TECLP
– 287 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– 288 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
6 When a specified tool is selected, and turret stops moving, and the control unit drives the turret clamp
signal TCLP high.
7 When TCLP goes high, the PMC mechanically clamps the turret with a shot pin or the like. After me-
chanically clamping the turret, the PMC drives the turret clamp completion signal *TECLP low.
8 When *TECLP goes low, the control unit drives TCLP low to report the reception of *TECLP. At the
same time, the control unit places the turret axis in the servo–off state.
9 When TCLP goes low, the PMC drives *TECLP high.
10 When *TECLP goes high, the control unit completes a series of operations for the Txxyy command.
The procedure above (steps 6 through 10) to clamp the turret is exactly the same as in the case of
manual operation.
NOTE 1 When the auxiliary function lock is on (when the AFL signal is high), turret indexing in automatic
operation is not performed.
NOTE 2 A rapid traverse override is applicable to turret movement at rapid traverse feedrate. For
acceleration/deceleration, linear acceleration/deceleration is used.
NOTE 3 Specify G28T0yy; or G28T99yy; for automatic reference position return of the turret. This
means that when 0 (or 99, depending on the parameter) is specified as the tool number in a
G28 block, automatic reference position return is performed. Note, however, that this operation
is always performed at low–speed reference position return (using a deceleration signal). This
operation can be performed simultaneously with reference position return for other axes. The
intermediate point is always the current turret position.
NOTE 4 Once reference position return is performed, the position of the turret on the machine
corresponds to the position of the turret stored in the control unit on a one–to–one basis. After
that, each time turret indexing is performed, the position stored in the control unit is updated,
so that no reference position return is required when the power is turned on and off. This means
that the position of the turret is stored in nonvolatile memory within the NC system even when
the power is turned off. It is assumed, however, that when the power is turned off, the turret
is mechanically clamped, and turret movement is disabled. If this assumption is not satisfied,
be sure to perform reference position return after the power is turned on. If reference position
return is interrupted by a reset, emergency stop, alarm, mode switching, and so forth, be sure
to perform reference position return again. If turret indexing in automatic operation is
interrupted by a reset and so forth, and the power is turned off again without performing turret
indexing, or if the power is turned off during turret indexing, be sure to perform reference
position return. An alarm is issued when an attempt to move the turret is made in a situation
where reference position return is required.
NOTE 5 The turret cannot be moved by manual handle feed.
NOTE 6 The all–axis machine lock capability cannot be applied to the turret axis. Disable the
axis–by–axis machine lock capability for the turret axis by parameter setting.
NOTE 7 Executing reset or mode switch during turret indexing stops turret indexing; turret movement
is immediately stopped, and the clamp signal is not output. The servo–on state continues.
NOTE 8 Feed hold is not applicable to the turret axis. However, feed hold is applicable to other axes
specified in the same block.
NOTE 9 The tool number currently selected is displayed at the T–axis position (turret axis) in the
absolute coordinate (ABSOLUTE) data and relative coordinate (RELATIVE) data on the
position display screen. However, no data is displayed until the first reference position return
is performed.
NOTE 10 If a tool number specified is already indexed in automatic operation, the clamp signal and
unclamp signal are not output. However, the unclamp signal is output when the turret moves
out of the unclamped state.
NOTE 11 On the turret axis, up to 16 tool positions and the corresponding tool numbers can be specified
by parameter setting. A different value can be used for the distance between adjacent tools.
A tool number to be selected upon completion of reference position return can be specified by
parameter setting. In this case, all other tool numbers are incremented by one.
NOTE 12 Handle interrupt cannot be performed during turret indexing.
– 289 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– 290 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
Calculation of
movement command X-axis
movement
command
X-axis related Position
Positioning I/O signal CMR
deviation X-axis
processing motor
Linear
interpolation
Position
detector
Circular DMR
interpolation
Y-axis related
Position
Thread I/O signal CMR
deviation Y-axis
cutting processing motor
Position
detector
DMR
Synchronous control for the Y–axis and X–axis is possible only during automatic operation by tape command,
manual data input, and memory command. Synchronous control for the X–axis and Y–axis is not performed
during manual operation by continuous manual feed, manual handle feed, or incremental feed.
– 291 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
NOTE 1 During synchronous control for the Y–axis and X–axis (in a block between Mmm; and Mnn;),
do not specify commands which affect the position in the machine coordinate system, such as
automatic reference position return (G28), second reference position return (G30), and
machine coordinate system selection (G53). Also, do not specify commands which do not
move the tool along the X–axis, such as workpiece coordinate system setting (G50).
NOTE 2 When tool offset is applied with a Ttttt command during synchronous control for the Y–axis and
X–axis, specify the same tool offset as that specified by the tool offset number for the X–axis
and Y–axis.
In the above explanation, a machine which synchronizes tool movement along the Y–axis and X–axis is de-
scribed. However, any axis can be selected for synchronous control using a parameter.
– 292 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
(a) Synchronous control selection signals (SYNC1, SYNC2, SYNC3, SYNC4, ...)
[Classification]
Input signals
[Function] These signals enable synchronous control of axes.
[Operation] When these signals are turned on, the control unit operates as follows:
i. Performs synchronous control for the axis specified by a signal which is turned on during
automatic operation. The axis with which tool movement is synchronized is specified by
a parameter. In other words, when there is a movement command for the axis specified
by a parameter, the control unit performs synchronous control for the movement com-
mand.
When these signals are turned off, the control unit operates as follows:
i. Moves a tool along an axis only in accordance with a movement command for the axis
during automatic operation.
NOTE Be sure to turn on or off these signals with an independent M code as mentioned above. Do
not change the signals while a tool is moving.
The parallel axes usually move as specified by the program command (normal). A specific input signal sent
from the PMC directs movement along an axis in the direction opposite to that specified by the program com-
mand (mirror) or suppresses the movement along an axis by ignoring program commands concerning it (park-
ing).
The table below shows how the three operation modes can be selected by the input signals.
– 293 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– 294 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
Y V
The simplified synchronous control function is very similar to the twin table control function, but differs from
the twin table control function as described below.
(1) The simplified synchronous control function does not have the independent operation mode; it only has
the synchronous operation and normal operation modes. This means that no move commands for the
master axis can move the table along the slave axis.
(2) The simplified synchronous control function allows synchronous operation in manual reference position
return. Note, however, that table movement along the master axis and table movement along the slave
axis are in phase with each other only until the table is decelerated; the two movements are independent
of each other in the grid detection that follows.
The synchronous control selection signals sent from the PMC to the control unit choose from synchronous
operation, independent operation, and normal operation under twin table control, and also choose from
synchronous operation and normal operation under simplified synchronous control.
(a) Synchronous control selection signals (SYNC1, SYNC2, SYNC3, ...)
[Classification]
Input signals
[Function] Notify the control unit of which mode is to be chosen from synchronous operation, indepen-
dent operation, and normal operation.
[Operation] The functions of these signals differ between automatic operation and manual operation as
described below.
i. Automatic operation
A combination of SYNCm and SYNCs determines how control is exercised, where m rep-
resents the axis number of the master axis, and s represents the axis number of the slave
axis.
* 1 SYNCm may be either high or low when simplified synchronous control is used, or when
manual operation is performed under twin table control.
* 2 Master axis independent operation is performed in the same way as it is in normal operation.
* 3 Independent operation is not applicable to simplified synchronous control and manual opera-
tion under twin table control.
– 295 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
NOTE 1 During synchronous operation, the reference position return command (G28), or the 2nd, 3rd,
or 4th reference position return command (G30) moves the table along the V–axis in the same
way as Y–axis reference position return. After the table is moved, if it is at the V–axis reference
position, the V–axis reference position return completion signal is turned on, just as it is turned
on for the Y–axis. In general, the G28 and G30 commands should be used in normal operation.
NOTE 2 During synchronous operation, the automatic reference position return check command (G27)
synchronously moves the table along the V–axis and Y–axis. When reference position return
is completed for the V–axis and Y–axis after the table has been moved synchronously along
the axes, the respective reference position return completion signals are turned on. If the
reference position is not reached, an alarm is issued. In general, the G27 command is to be
used in normal operation.
NOTE 3 Before G28, G30, and G27 can be used, manual reference position return must be completed
after the power is turned on.
NOTE 4 When a command involving no table movement, such as the workpiece coordinate system
setting command (G92) and local coordinate system setting command (G52) is specified, the
Y–axis is used for setting in synchronous operation, and the V–axis is used for setting in slave
independent operation according to the program command Yyyyy for the master axis.
NOTE 5 Manual reference position return under twin table control is to be performed in normal
operation.
NOTE 6 Signals such as the external deceleration signal, interlock signal, and machine lock signal are
valid only for the slave axis in slave axis independent operation, and are valid only for the
master axis in synchronous operation; the signals for the other axis are ignored.
NOTE 7 Which axis to choose as the master axis or slave axis is determined by parameter setting
(Parameter 7702).
NOTE 8 The pitch error and backlash error for the master axis and slave axis are corrected separately.
NOTE 9 By using M functions in a program, the PMC can turn on and off the synchronous control
selection signals SYNC1, SYNC2, SYNC3, and so forth. Note, however, that all M codes used
must be specified as non–buffering M codes beforehand by parameter setting.
( Sample Program )
Mmm
⋅
⋅
Normal
operation
⋅
⋅
Mss
⋅
⋅
Slave axis
independent operation
⋅
⋅
Mpp
⋅
⋅
Synchronous
operation
⋅
⋅
Mmm
⋅
⋅
Normal
operation
– 296 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 297 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
NOTE 1 Strictly speaking, the manual reference position return and manual numeric command are not
operation modes. In the table above, they are handled as operation modes for the sake of
convenience.
NOTE 2 A parameter is provided so that the tool post to be operated in the manual data input mode or
by a manual numeric command can be selected by the IHEAD1 and IHEAD2 signals.
When the operation of each tool post is specified on the MDI panel, the corresponding tool post is selected by
pressing numeric keys on the MDI panel. A command program of manual data input mode and a manual nu-
meric command can be entered for each tool post. A command program in memory can also be edited for each
tool post. The target tool post of the operation is specified by pressing numeric keys on the MDI panel.
(a) Signals for selecting a tool post in the memory mode: IHEAD1, IHEAD2
[Classification]
Input signals
[Function] Select the tool post to be subjected to automatic operation in the memory mode.
[Operation] When it is in the reset or automatic operation halt state in the memory mode, the control unit
reads this signal and selects the tool post to be subjected to automatic operation in the
memory mode.
NOTE 1 For the reset and automatic operation halt states, see Item (e) in subsec. 2.3.17, “Automatic
Operation State Output Signals OP, STL, SPL.”
NOTE 2 A parameter is provided so that this signal can select the tool post to be operated in the mode
of manual data input or manual numeric command.
– 298 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
NOTE 1 For the requirements for the tool post interference check, refer to the operator’s manual.
NOTE 2 If a command causing interference is specified while the tool post interference check is in
progress, the two tool posts are decelerated and finally stopped. The control unit then enters
the alarm state. The tool post interference alarm signal, TIALM, goes high, informing that the
tool post interference alarm has been issued.
Override Override
Feedrate Spindle speed
playback memory
override override
signal (OMEP) signal (OME)
Functions according Functions according
OFF –
to override signals. to override signals.
Functions according Functions according
to override signals to override signals
and repeated values. and repeated values.
ON Note 1) Note 1)
– 299 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
Override Override
Feedrate Spindle speed
playback memory
override override
signal (OMEP) signal (OME)
Functions according Functions according
OFF –
to override signals. to override signals.
Functions according Functions according
to override signals to override signals
and repeated values. and repeated values.
ON Note 1) Note 1)
1 The value specified by the override signal (reproduced value) is used as the override.
2 The override signal (reproduced value) is stored.
3 The reproduced value is assumed as 100% if it is not stored.
(iii) Second feedrate override
The second feedrate override is neither stored nor reproduced. Only the input signal is validated.
– 300 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
[Operation methed]
1 Select the memory mode and the program to be executed.
2 Set on the override playback signal (switch).
3 To reproduce a stored override, set off the override storage signal (switch). (Reproduction mode)
To reproduce a stored override and store it again at the same time, set on the override storage
signal (switch) and turn on the memory protect switch. (Store mode)
4 Press the cycle start switch on the operator’s panel and start the automatic operation.
5 Checking the cutting status, adjust the override switch.
To store the cutting status in the reproduction mode, turn on the override storage switch. (The
memory protect switch must be turned on beforehand.)
(c) Storing data in holding memory
The override data is stored in holding memory according to the main program.
The data is written into holding memory only when the memory operation is terminated (reset state).
The data is not stored at the time of single–block stop, feed hold, or mode change.
In holding memory, only the override data corresponding to the D and H codes used in the main pro-
gram is written after the program.
In the reproduction mode, the data is read and used.
O1234 ;
N001 G92 X100. Y200. ;
N002 G00 M03 S250 ;
⋅
⋅
Machining program
⋅
⋅
⋅
N309 G28 G91 X0 Y0 ;
N310 M30 ;
G10.5 ;
D001 F080 S100 ;
H016 F130 S110 ;
⋅
⋅ Override memory data
⋅
D035 F100 S080 ;
G11.5 ;
After the override data is stored, the storage area of the program on the tape is slightly lengthened.
(0.7 m of tape is required for 20 offsets.)
When the program is punched, the override data is also output. When the punched program is read,
the override data is also read.
When the stored override data is not required, the unnecessary part of the data can be deleted in edit-
ing.
(d) D and H codes
The override playback function is valid for D00 to D200 and H00 to H200. The function is invalid for
D codes D201 and above H codes H201 and above.
When an identical D or H code is specified twice or more, the corresponding data is stored and repro-
duced as the same override data.
If the override data corresponding to a specified D or H code is not found during reproduction, 100%
is assumed.
If identical values are specified for the D and H codes, the values are stored and reproduced as differ-
ent data.
– 301 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
(e) Signals
1 Override playback signal (input): OMEP
This signal selects whether the override playback function is used. When this signal is high (on),
the OME signal following it one selects whether the data is stored or reproduced. When this signal
is low (off), the override playback function is not executed. This signal is invalid if it is switched
during automatic operation.
2 Override storage signal (output): OME
This signal is valid only when the OMEP signal is high. It selects whether the data is stored or
reproduced. When this signal is high (on), the data is stored and reproduced. When this signal
is low (off), the data is reproduced only. This signal can be switched during automatic operation.
3 Spindle override signals (input): SPA, SPB, SPC
These signals inform the NC unit of the state of the spindle override switch. Enter the signals as
shown below.
Spindle Override
SPC SPB SPA
50% 1 1 1
60% 1 1 0
70% 0 1 0
80% 0 1 1
90% 0 0 1
100% 0 0 0
110% 1 0 0
120% 1 0 1
4 Spindle override reproduction signals (output): SPAO, SPBO, SPCO
These signals inform the PMC of the spindle override signal (SPA, SPB, SPC) or the stored or
reproduced signal.
These signals do not keep the override at 100% in threading. This must be arranged by the PMC.
Spindle Override
SPCO SPBO SPAO
50% 1 1 1
60% 1 1 0
70% 0 1 0
80% 0 1 1
90% 0 0 1
100% 0 0 0
110% 1 0 0
120% 1 0 1
– 302 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
(2
7
Override value = i
Vi ) %
i0
where
When CDVi is off, Vi = 0.
When CDVi is on, Vi = 1.
That is, each signal corresponds to the following value:
CDV0: 1% CDV4: 16%
CDV1: 2% CDV5: 32%
CDV2: 4% CDV6: 64%
CDV3: 8% CDV7: 128%
When all signals are off, the override value becomes 100%.
The override value can be set from 1% to 255% in steps of 1%.
[Operation] In the outer/inner surface roughing cycle (G71) and end face roughing cycle (G72), the cutting
depth is obtained by multiplying the cutting depth specified by a program by the override value
selected by the signals.
2.3.75 Rigid tapping signals
In tapping, the distance which the tool moves along the Z–axis per spindle rotation must equal the pitch of the
tap. Ideal tapping always satisfies the following equation:
F = F/S where P:Pitch of the tap (mm)
F:Z–axis feedrate (mm/min.)
S:Spindle speed (rpm)
In tapping (G84) and reverse tapping (G74), the rotation of the spindle and the movement along the Z–axis are
controlled independently of each other. Consequently, the equation described above is not always satisfied
in tapping and reverse tapping. Namely, at the bottom of a hole, in particular, the rotation of the spindle and
the movement along the Z–axis are decelerated and finally stopped, then resumed and accelerated in the op-
posite direction. As the rotation of the spindle and the movement along the Z–axis are accelerated and deceler-
ated independently of each other, the equation described above cannot be satisfied.
Normally, a spring is mounted in the holder of the tap so tapping precision can be improved by adjusting the
distance the tap is moved.
In rigid tapping, the rotation of the spindle and the movement along the Z–axis are synchronously controlled.
In normal operation, only the speed at which the spindle rotates is controlled. In rigid tapping, however, the
speed at which the spindle rotates and the position of the spindle are controlled. Linear interpolation is applied
to the spindle and the Z–axis in order to control the spindle rotation and the movement along the Z–axis. This
enables P = F/S to be satisfied even during acceleration and deceleration at the bottom of a hole, enabling
high–precision tapping.
G84.2 specifies rigid tapping. G84.3 specifies rigid reverse tapping.
G84.2
X–– Y–– Z–– R–– P–– F–– S–– L–– ;
G84.3 Repetition number
Spindle speed rpm
Cutting feedrate
Dwell time at Z–points and R–point return
(when P is made valid in parameter selection)
R–point coordinate value
Z–point coodinate value
Hole drilling position
When G84.2 or G84.3 is specified in the feed per rotation (G95) mode, the cutting feedrate following F can be
specified in units of mm/rev or inch/rev. The pitch of the tap can be directly specified.
– 303 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
Spindle control
(calculation of speed
voltage of spindle
speed rpm)
CMR
Spindle Spindle
x1 + Error counter D/A converter motor
- amplifier
Gear ratio
n:m
DMR 1024pulse/rev
– 304 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
6 After the control system is switched to positioning control, the control unit starts applying linear interpolation
to the Z–axis and the spindle. Prior to linear interpolation, the control unit specifies an identical time
constant in the acceleration/deceleration circuits of the Z–axis and the spindle. It also sets an identical
servo loop gain in the positioning control circuits of the Z–axis and the spindle. If it does not specify them,
correct linear interpolation cannot be applied. Time constants of acceleration/deceleration circuits and ser-
vo loop gains of the positioning control circuits of the Z–axis and the spindle to be used in rigid tapping must
be specified as parameters beforehand.
7 Linear interpolation is applied to the Z–axis and the spindle. The distance moved and the feedrate of the
Z–axis and the spindle are calculated as follows.
8 The dwell command can be executed at the bottom of the hole. After the dwell command is executed, linear
interpolation is applied to the Z–axis and the spindle so that the tap is returned from point Z to point R on
the Z–axis while the spindle is rotated in the reverse direction. Both the tap movement along the Z–axis
and the spindle rotation are in opposite directions to those described in 7 above.
9 If the return to the initial position command (G98) is executed, the tap is returned to the initial position on
the Z–axis.
This is the entire sequence of rigid tapping. If another G84.2 is specified after that, the same procedure
is repeated. In the second or later sequence of G84.2, however, steps 5 and 6 are not executed because
the control system of the spindle has already been switched to positioning control.
If either i) or ii) below occurs in the rigid tapping (G84.2), the control system of the spindle is switched from
positioning control to spindle control and the time constant of the acceleration/deceleration circuit and the
servo loop gain of the positioning control circuit of the Z–axis are returned to normal values. Then the RTAP
signal is set low. After this, the next operation is started. When the RTAP signal goes low, the torque limit
signal, TLML, must be set low in the PMC.
(i) A canned cycle of drilling other than G84.3 is specified. For example, G81 is specified.
(ii) A canned cycle of drilling is canceled. That is, G80 or a G code of the 01 group such as G00, G01,
G02, or G03 is specified.
– 305 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
Signal RTAP
Movement along
the X-and Y-axis,
and return to point
R on the Z axis
RI0 to RI12
SFR
SRV
SST
(TLML)
Signal SPSTP
RSPP
RSPM
RSPC
Rated speed Rated speed
M code output
( M04 )
NOTE 1 The operation procedure for rigid reverse tapping (G84.3) is the same as that for rigid tapping
(G84.2), except that the spindle rotates in the opposite direction.
NOTE 2 In the description above, the drilling axis is the Z–axis. Another axis such as the X–axis or
Y–axis can be used as the drilling axis instead.
Example G18G84.2 X––Z––Y––R––F––; The Y–axis is used as the drilling axis.
NOTE 3 In rigid tapping (G84.2) and rigid reverse tapping (G84.3), the feedrate override function is
invalid and the override is always 100%.
– 306 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
NOTE 4 The table below shows the relationships between the number of the selected gear and the
spindle gear selection signals that inform the control unit of the state of the gear between the
spindle motor and the spindle.
GS4 GS2 GS1 Gear selection
0 0 0 1st step
0 0 1 2nd step
0 1 0 3rd step
0 1 1 4th step
1 0 0 5th step
1 0 1 6th step
1 1 0 7th step
1 1 1 8th step
NOTE 5 A spindle motor containing a position coder, or built–in sensor, can be used in rigid tapping.
When the gear ratio of the spindle to the position coder, or the spindle motor is expressed as
n:m, rigid tapping can be executed after n and m are specified in parameters. When the spindle
motor with a built–in sensor is used, rigid tapping can be executed with only one gear position.
If three gear positions, high, medium, and low, are provided, rigid tapping can be executed only
with high gear.
NOTE This signal cannot be switched in rigid tapping mode. The current state of this signal when
G84.2 or G84.3 is specified in canned cycle cancel mode becomes effective in rigid tapping
mode.
– 307 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
2.3.76 Retrace
A tool can retrace the tool path along which the tool has moved. This operation is referred to as retrace. In
addition, a tool can move forward again along the path that the tool has retraced. This operation is referred
to as re–forward. The tool can then resume machining according to the program when it returns to the position
where it started retrace.
Retrace signal
Retrace end, re–forwarding start HIGH
Retrace start
Retrace signal
LOW
By using the retrace signal RVS, which is an input signal from the PMC to the control unit, retrace and re–for-
ward can be performed. Retrace is performed when the retrace signal RVS goes high. Re–forward operation
is performed when the retrace signal goes low. In retrace, a tool can retrace blocks that have been executed
in the automatic operation mode (memory command, tape command, manual data input), but a limit is imposed
on the number of blocks that can be retraced. For detailed information, refer to the operator’s manual.
Whether to use the same feedrate as specified for normal operation or use a feedrate dedicated to retrace can
be determined by parameter setting.
(a) Retrace signal (RVS)
[Classification]
Input signal
[Function] Directs the control unit to retrace the tool along the path which the tool was moved in automat-
ic operation (memory command, tape command, manual data input).
[Operation] When RVS goes high while the tool is being moved forward (hereafter referred to as forward),
the tool retraces the machining path along which it was moved. Note, however, that the tool
does not start retrace immediately after this signal goes high; the tool starts retrace after the
block performing the current forward operation is executed. When RVS goes low while re-
trace is in progress, the tool switches from retrace operation to re–forward. In this case also,
the tool does not start re–forward (to resume machining) immediately after this signal goes
low; the tool starts re–forward after retracing all commands of the block currently subject to
retrace.
The movement of a tool can be immediately switched from forward to retrace or from retrace
to re–forward. For this purpose, first drive the automatic operation stop signal *SP low to stop
automatic operation. Then, change the state of RVS after the automatic operation stop state
is set with the automatic operation start in–progress signal STL low and the automatic opera-
tion suspend in–progress signal SPL high. Next, drive the automatic operation start signal
ST low from high to start automatic operation. Then, the tool can switch its movement to re-
trace or re–forward during execution of a block.
– 308 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
Retrace start
( Retrace signal
HIGH )
Block in which the move command
and auxiliary function are included
NOTE While a tool is in retrace, the retrace–in–progress signal RVSL is sent, and the character string
RVRS blinks on the CRT screen to signal that the tool is currently in retrace. When a tool is
in re–forward, the character string RTRY blinks to signal that the tool is currently in re–forward.
The indication of RTRY continues until the tool returns to the block where retrace was started,
that is, until forward movement is resumed. When there are no more retraceable blocks, the
character string RVED blinks to signal that no further retrace can take place.
– 309 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– 310 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 311 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
– 312 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
NOTE Teaching can be performed by using the keys on the MDI panel or by using the switches and
buttons on the machine operator’s panel.
Whether to use the keys on the MDI panel or the switches and buttons on the machine operator’s
panel is specified by a parameter. When keys on the MDI panel are used, there is a key for
selecting the override teaching mode on the MDI panel and the signal is not necessary.
NOTE When the parameter specifies that teaching is performed using keys on the MDI panel, there
is a key for teaching feedrate overrides on the MDI panel and the signal is not necessary.
NOTE When the parameter specifies that teaching is performed using keys on the MDI panel, there is a
key for teaching overrides for the spindle speed on the MDI panel and the signal is not necessary.
The table below lists the correspondence between SPA, SPB, and SPC and overrides.
NOTE The control unit does not specify the command voltage to the spindle motor by multiplying the
spindle speed by the override specified by these signals. These signals only notify the control
unit of the spindle speed override selected with switches on the machine operator’s panel. The
above multiplication is performed by the PMC.
– 313 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
Override(%)
Signal
50 60 70 80 90 100 110 120
SPA0 1 0 0 1 1 0 0 1
SPB0 1 1 1 1 0 0 0 0 0 : LOW
1 : HIGH
SPC0 1 1 0 0 0 0 1 1
When the override playback function is used, the spindle override must be calculated in the
PMC not based on the switches on the machine operator’s panel but based on these signals.
In other words, the PMC reads the specified spindle speed with spindle speed signals RO0
to RO15, multiplies the speed by the spindle speed override input by SPA, SPB, and SPC,
and returns the result to the control unit using spindle motor voltage signals RI0 to RI12. The
control unit inputs voltage to the spindle amplifier based on RI0 to RI12 sent from the PMC.
Spindle
amplifier
D/A converter
RI0 to RI12
Command voltage
calculation
RO0 to RO15
S Command
Command spindle
speed
SPA0, SPB0, SPC0
Override value
calculation Override
NOTE 1 The method in which SPA0, SPB0, and SPC0 are not used in the PMC can be specified by a
parameter. In this case, the control unit multiplies the value specified in an S command by the
taught override for the spindle speed, and outputs the result with RO0 to RO15.
The PMC calculates the voltage by multiplying the spindle speed notified with RO0 to RO15
by the value specified by the override switches on the machine operator’s panel, that is, the
override notified to the control unit by SPA, SPB, and SPC.
NOTE 2 The ,L1S command register in the above figure stores the taught spindle speed override, which
is specified by a ,L1S command. This register is preset to 100% by resetting or program
number search.
– 314 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
PMC
BMI
1st axis Pulse dis- Servo
management trribution control Motor
1st axis
PMC axis
control data
2nd axis Pulse dis- Servo
management trribution control Motor
2nd axis
PMC axis
Command control data
3rd axis Pulse dis- Servo
management trribution control Motor
3 rd axis
PMC axis
control data
A lower–case x is found in input/output signal names related to axis control by the PMC, for example, PMCAx.
A signal whose name is PMCAx does not exist. x in PMCAx represents numbers 1, 2, 3, ... in signals PMCA1,
PMCA2, PMCA3, ... , which correspond to the first axis, second axis, third axis, ..., respectively.
– 315 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
3 When the specification of one operation equivalent to one block completes, the logical level of control axis
command read strobe signal PMCAx is inverted: When PMCAx is off, it goes high, and vice versa.
This operation, however, cannot be performed until it is confirmed that control axis command read comple-
tion signal CNCAx, which is an output signal from the CNC, is at the same logical level as that of PMCAx.
In axis control by the PMC, command blocks are buffered in the CNC so that several operations are con-
secutively carried out by the PMC. Even when a command is being executed, the next command block
is read into the CNC if there is an empty buffer.
~ ~
The above figure shows that command [1] is being executed, command [2] has been read into a CNC buff-
er, and that command [3] has already been sent to the CNC.
When command [1] has been executed, commands [2] and [3] are transferred as follows:
Command [2] : Input register → Execution register
Command [3] : Command block (axis control block data signals) → Input register
Command [4] can be sent to the CNC when command [3] has been transferred to the input buffer.
– 316 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
PMCAx (Input)
Command disable
CNCAx (output)
Execution
waiting
buffer
The buffer state of the CNC can be known by exclusive ORing PMCAx axis control command read strobe
signal input from the PMC with CNCAx (axis control command read completion signal) output from the
CNC.
PMCA
/ Exclusive OR(XOR) Status of CNC side
CNCA
01
Since the reading of the previous command block has ended,
/ / 0
the next block can be commanded
01
The buffer is full and it is not possible to read the command
01
from the PMC side. Do not inverse the signal PMCAx. When it
/ / 1
is inversed in this status, the blocks which have been comman-
10
ded become invalid.
– 317 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
NOTE For the reference position return command (05H), the same operation as manual reference
position return is performed in the specified direction set by a parameter.
The correspondence between each axis control command and command data is shown below.
Command block
Axis control command code signal Command data
CDxX7 to CDxX0
00H , 06H Total move distance(DTxX31 to DTxX0)
01H , 02H Total move distance (DTxX31 to DTxX0)
Cutting feed rate (FDxX15 to FDxX0)
05H , 0BH None
07H Dwell time(DTxX31 to DTxX0)
08H Auxiliary function selection + code
(DTxX15 to DTxX0)
0AH Simultaneous start axis specification
(FDxX15 to FDxX0)
0CH Override value(DTxX7 to DTxX0)
– 318 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 319 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
Example In the case of a simultaneous start command for the first, third, and fourth axes
CDxX7 to CDxX0 = 00001010 (=0AH)
FDxX15 to FDxX0 = 0000000000001101 (=000DH)
PMC commands Buffers for pending Execution registers
commands (for each axis) (for each axis)
[AX1_BLK] [AX1] [AX1_act]
[AX2_BLK]
[AX3_BLK] [AX3] [AX3_act]
[AX4_BLK] [AX4] [AX4_act]
[AX5_BLK]
(1) Transfer to the buffers : The axis control block data signals are transferred immediately after the buffers
become empty.
(2) Transfer to the execution registers : The signals are transferred immediately after register [AXn_act]
becomes empty. Buffer [AXn], however, does not become empty.
When the signals have been transferred to registers [AX1_act], [AX3_act], and [AX4_act], buffers
[AX1], [AX3], and [AX4] become empty and the commands in the execution registers are started simul-
taneously. Other axes can be specified normally.
NOTE 1 The RSTx and STPx signals are effective independently for each axis even in the simultaneous
start mode.
NOTE 2 The starting of all the axes along which moving a tool is simultaneously started is stopped when
the SBKx signal goes high for one of them.
NOTE When rapid traverse, reference position return, and positioning in the machine coordinate
system are performed in axis control by PMC by using conversational macros, parameter No.
1409 #2 becomes ineffective. This means that only the feedrate set in parameter No. 1420 can
be used for execution.
(iii) By setting the parameter accordingly (data No. 1001 #6), external deceleration in axis control by
PMC can be applied to the axial movement being performed by one of the following axis control
commands:
– Rapid traverse
– Cutting feed mm/min
– Cutting feed sec/block
– Reference position return
– Positioning in the machine coordinate system
– 320 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
In both cases, the value set in parameter No. 1427 (external deceleration feedrate in rapid tra-
verse for each axis) is used as the external deceleration feedrate.
– External deceleration is not applied to axial movement performed by execution of the PMC
axis control feedrate command.
– Even in simultaneous start mode, external deceleration can be applied for each axis.
For details of how to specify axis control, refer to the description of axis control by PMC.
For details of how to apply external deceleration, refer to the description of external deceleration.
(d) External deceleration signals +ED1, –ED1, +ED2, –ED2, +ED3, –ED3, ...
[Classification]
Input signals
[Function] These signals apply deceleration to the controlled axis externally. Using these signals, the
feedrate can be decelerated to a parameter–set constant feedrate.
An external deceleration signal is provided for each direction of each controlled axis. The +
or – sign in each signal name indicates the direction, and the number at the end of the signal
name indicates the axis number. Consecutive numbers are assigned as the axis numbers
of the CNC and PMC axes.
+ ED1
1 Decelerates the axial movement of the 1st axis.
2 Decelerates the axial movement of the 2nd axis.
3 Decelerates the axial movement of the 3rd axis.
:
:
– 321 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
The feedrates for those axes whose signals are not low are not affected. This means that the
feedrates for the CNC axes along which automatic operation is being performed and other
PMC axes are not affected.
When the option for axis control by PMC is not provided, these signals are effective only for
the CNC axes.
These signals are shared between the CNC and PMC axes.
For FS15M and FS15T
#7 #6 #5 #4 #3 #2 #1 #0
For FS15TT
#7 #6 #5 #4 #3 #2 #1 #0
(e) PMC axis control rapid traverse override signals ROV1E and ROV2E
[Classification]
Input signals
[Function] In axis control by PMC, the feedrate for rapid traverse, reference position return, and position-
ing in the machine coordinate system is overridden.
These two signals are combined to indicate a code. Each code corresponds to an override-
value as shown below.
NOTE The feedrate for rapid traverse, reference position return, and positioning in the machine coordinate
system, all of which are performed in axis control by PMC by using conversational macros can be
overridden using the override signals.
The following table shows the relationship between the feedrate and override for rapid traverse, refer-
ence position return, and positioning in the machine coordinate system:
– 322 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
NOTE 1 The override is maintained until a change command (CDxX7 to CDxX0: 0CH) is executed.
The override is set to 100% when the power goes high.
NOTE 2 The override change command can be specified for any axis controlled by the PMC. However,
when the override is changed during linear interpolation in the simultaneous start mode while
synchronizing the movements along the axes, specify the change command for an axis
controlled by the PMC which is not involved in simultaneous start and has the minimum or
maximum controlled axis number.
– 323 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
PMCAx (Input)
CNCAx (Output)
Execution
waiting
buffer
Executing [1]
register
Start
(l) Miscellaneous function BCD code signals (output signal)
AFnX7 to AFnX0
Miscellaneous function read signal (output signal) MFnX
Miscellaneous function completion signal (input signal) FINnX
(n = 1, 2, or, 3)
– 324 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
When a miscellaneous function command (CDxX7 to CDxX0: 08H) is sent from the PMC, the CNC sends
the miscellaneous function code (DTnX7 to DTnX0) with miscellaneous function BCD code signals
(AFnX7 to AFnX0) and waits for miscellaneous function completion signal FINnX.
When FINnX is returned, the CNC proceeds to the next command block.
The timings of sending the miscellaneous function code signals and miscellaneous function read signal
and receiving the miscellaneous function completion signal, are the same as miscellaneous functions (M
functions) controlled by the CNC control.
The miscellaneous function selection code (DTxX15 to DTxX8) specifies which number (n) of a miscella-
neous function signal is used. When n is a number other than 1, 2, and 3, the block becomes invalid.
AFnX7 - AFnX0
(Output)
MFnX (Output)
FINnX (Input)
NOTE 1 The axis control is not affected by the state of the CNC, such as which mode is selected and
whether the CNC is reset.
NOTE 2 Rapid traverse override, cutting feed override, and dry run cannot be controlled; but cutting
override specific to the control by the PMC can be applied.
NOTE 3 Feed hold, single block stop, reset, and interlock which are controlled by the CNC do not affect
the axis control by the PMC; but similar control is possible with a window specific to control by
the PMC.
NOTE 4 Emergency stop, machine lock, and machine lock for each axis are valid.
NOTE 5 Mirror images (settings, parameters, and input signals) are invalid.
NOTE 6 In a continuous cutting block, the machine proceeds to the next block without waiting until there
is no remaining pulse for servo acceleration/deceleration.
In a block other than a continuous cutting block, the machine proceeds to the next block after
waiting until there is no remaining pulse for servo acceleration/deceleration.
NOTE 7 All–axis interlock and each–axis interlock can be enabled or disabled using a parameter (DITL
of parameter No. 2005).
– 325 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
Axis control
(Rotary axis)
Axis Axis control block
control data signal
Signal monitor
– 326 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
Table 2.3.81 Axis control block data signals for use of speed command
Axis control block data Command value Data
Description
signal or data range unit
Axis control command 0DH Specify the axis control for the velocity command.
code signal
CDxX7 to CDxX0
Feed rate specify +32767 to rpm Specify the rotation speed at speed command by a binary
signal –32767 code.
FDxX15 to FDxX0 (excluding 0) Specify a positive value when the rotation direction is forward
and a negative value (a complement of 2) when reverse.
Axis control data 0 Specify 0 for the velocity command.
signal
DTxX31 to DTxX0
CAUTION Even after the velocity command is executed, the position of the tool is not lost.
The position may, however, be lost if the feedrate obtained as a result of conversion exceeds
the maximum rapid traverse rate corresponding to the set increment system.
NOTE 1 For the general description of the PMC axis control function, see Section 2.3.80.
NOTE 2 If the velocity command skip signal is set high before the block of velocity command is started,
the system ignores the signal. It must be set low while the block is being executed.
NOTE 3 If a gear is mounted between the motor and the actual axis, FDxX15 to FDxX0 determine the
speed of the servo motor instead of the speed of the axis.
NOTE 4 The feedrate may erroneous due to the following reasons:
Velocity command
Gear
AMP Motor
2 Axis
Detector
1
Fig. 2.3.81 (b)
1 The velocity command used with the PMC axis control function specifies the speed of the servo motor
that determines the feedrate. If a gear is mounted between the axis and the servo motor, the feedrate
of an axis must be specified after converting it into the speed of the servo motor. As the feedrate must
be specified by an integer, the speed of the motor obtained by rounding the feedrate may be erro-
neous.
2 The feedrate must be specified by an integer and the minimum unit in which it can be specified is calcu-
lated from the following expression. The command cannot be specified in smaller units.
Fmin : Minimum unit in which the feedrate command can be
specified
F min P 2 10 –3 P : Number of pulses per rotation of the velocity feedback
15
detector
The specified speed is calculated by the following expression:
F : Specified speed (integer)
F N P 2 10 –3 N : Speed of the motor (rpm)
15
P : Number of pulses per rotation of the velocity feedback
detector
NOTE 5 In the velocity command mode, the velocity command is provided for the servo control unit.
The servo motor is started with the velocity loop gain of the servo unit. At that time, the
acceleration/deceleration loop gain and position loop gain are invalidated.
– 327 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
Time
N1 N2
Example When the following commands are specified, the PMC sequence becomes as illustrated be-
low:
M80 ; Executes the miscellaneous function that selects the velocity command.
S200 ; Specifies a rotation speed of 200 rpm.
⋅
⋅
S300 ; Specifies a rotation speed of 300 rpm.
S100 ; Specifies a rotation speed of 100 rpm.
⋅
⋅
M81 ; Cancels the velocity command.
PMC sequence
Velocity co0mmand S200 S300 S100
SF
Command block
PMCAx
CNCAx
BUFx (Buffer)
S300
Time
Fig. 2.3.81 (d) Sequence of changing feed rate without halt
– 328 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
(3) Override
While an axis is moving as specified by the velocity command, the feedrate can be overridden by the over-
ride signal.
The override signal is provided for each axis (OVnX7 to OVnX0).
Feed rate
Time
Override
160%
100%
80%
Time
100% 160% 160% 80%
Fig. 2.3.81 (e) Override
NOTE The feedrate can be overridden by the PMC axis control command as well as the override
signal. These two override functions cannot be used at the same time. A parameter is provided
to select the override function to be used.
(4) Acceleration/deceleration
The speed specified by the PMC axis control function can be increased or decreased.
When a movement starts and ends, this function linearly increases and decreases a specified feedrate.
This allows the tool to be started and stopped smoothly. Moreover, when a different feedrate is specified,
the function automatically increases or decreases the speed smoothly.
If a command to rotate the tool about the rotation axis in the opposite direction is specified, the acceleration/
deceleration function for the speed specified by the PMC axis control function first linearly decrease s the
feedrate to zero. Then, the function linearly increases the feedrate to the specified speed. If a different fee-
drate in the same direction is specified, the current feedrate is linearly increased or decreased to the speci-
fied feedrate without being decreased to zero.
Feedrate
V2
V1
V3
Fr
Time
Tr
V4
Fr Fr : Acceleration/deceleration rate (parameter 1644)
Tr : Acceleration/deceleration time (parameter 1645)
Tr
– 329 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
If the acceleration/deceleration time for each axis (parameter 1645) is set to zero, this function is disabled.
Override signal can be applied during acceleration/deceleration. In this case, the overridden feedrate is
increased or decreased.
If the reset signal, axis control pause signal, or block stop signal is on, the speed is decreased gradually.
(5) Signals
(a) Velocity command skip signal: VCSKPx
[Classification]
Input signal
[Function] VCSKPx is set high to stop the rotation executed by setting the velocity command, CDxX7
to CDxX0, to 0DH, and to terminate the corresponding block.
[Operation] When the signal goes high, the velocity command is terminated. The system ignores the sig-
nal if it is set high before the block in which the velocity command is specified is executed.
The signal must be set low while the block is being executed.
(b) Override signal for each axis in PMC axis control: OVnX7 to OVnX0
[Classification]
Input signals
[Function] Override the feedrate of each axis specified by the PMC axis control function. The signal con-
sists of eight binary codes. It specifies an override obtained by the following expression:
7
Override = ( 2 i Vi ) %
i0
where
Vi = 0 when the OVnXi signal is low
Vi = 1 when the OVnXi signal is high
Each bit has the following weight:
OVnX0 : 1% OVnX4 : 16%
OVnX1 : 2% OVnX5 : 32%
OVnX2 : 4% OVnX6 : 64%
OVnX3 : 8% OVnX7 : 128%
The override is assumed as 0% when all bits are set high or low.
The override can be specified in units of 1% in the range of 0% to 254%.
[Operation] The actual feedrate is determined by multiplying the feedrate specified by the PMC axis con-
trol function and the override selected by this signal.
(c) Override signals for PMC axis control in the simultaneous start mode: OVA7 to OVA0
[Classification]
Input signals
[Function] Override the feedrate specified by the PMC axis control function in the simultaneous start
mode. The signal consists of eight binary codes. It specifies an override obtained by the fol-
lowing expression:
7
Override = ( 2 i Vi ) %
i0
where
Vi = 0 when the OVAi signal is low
Vi = 1 when the OVAi signal is high
Each bit has the following weight:
OVA0 : 1% OVA4 : 16%
OVA1 : 2% OVA5 : 32%
OVA2 : 4% OVA6 : 64%
OVA3 : 8% OVA7 : 128%
The override is assumed as 0% when all bits are set high or low.
The override can be specified in units of 1% in the range of 0% to 254%.
[Operation] The actual feedrate is determined by multiplying the feedrate specified by the PMC axis con-
trol function and the override selected by this signal.
– 330 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
Torque control mode Indicates that torque control mode is currently selected.
signal
TRQMx
– 331 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
CAUTION When torque control is canceled while the tool is moving along a torque–controlled axis, the
machine is subjected to a jolt upon the return to position control. The faster the tool is
moving, the greater the jolt. Therefore, the tool should be decelerated or stopped before
canceling torque control.
NOTE 1 Torque control cannot be applied using PMC axis control based on the macro executor.
NOTE 2 If the tool is moved along a torque–controlled axis in torque control mode, specify follow–up
by setting parameter No. 1409 (TRQFU) to 1.
– 332 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
2.3.83 Ignore disconnect detector alarm in continuous velocity command of axis control by
PMC
When a servo motor is being controlled using a speed command, if the motor speed is too high, it becomes
impossible to receive position feedback pulses by hardware, and an alarm may be raised falsely to indicate
that a separate detector has been disconnected.
This function is used to ignore a signal indicating that a separate detector has been disconnected during the
speed command mode, thereby suppressing an alarm.
a) Hardware disconnection alarm clear signal NDCAL1, NDCAL2, NDCAL3, NDCAL4
[Classification]
Input signal
[Operation] When a signal changes from ”1” to ”0”, an internally detected hardware disconnection alarm
condition is cleared (not output to the outside).
NOTE These signals must be changed from ”1” to ”0” before the servo control mode is switched from
speed command to position command.
PRM No.1954#7 1
0
Signal NDCALx 1
0
CAUTION Once the servo control mode is switched from speed command to position command, a
manual return to the reference position must be made before the axis is driven.
NOTE This function cannot be used for a servo motor with an absolute–position detector.
– 333 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
2.3.85 Axis selection signals in actual speed display: ACTF1, ACTF2, ACTF3, ..., ACTF15
In the conventional system, the actual speed displayed on the CRT screen is a composite speed of all axes.
The axes to be included in the calculation of the actual speed can be selected by the signals entered from the
PMC.
For example, when two or more heads are simultaneously operated in the parallel axis control mode, the actual
speed of one of the heads can be displayed by selecting the axis corresponding to the head by entering signals
from the PMC.
Calculating the actual speed
The conventional system calculates and displays the actual speed periodically by considering the total dis-
tances the tool moves along all the axes. For example, when the machine has five axes, X, Y1, Z1, Y2, Z2,
the actual speed is calculated as follows. (Y1 and Y2, and Z1 and Z2 are different sets of parallel axes.)
Ǹ 2
F + X ) Y1 ) Z1 ) Y2 ) Z2
2 2 2 2
T
The signals entered from the PMC can select the axes to be included in the calculation of the actual speed.
If the signals are entered from the PMC so that the Y2 and Z2 axes are excluded from the calculation of the
actual speed, the speed is calculated as follows:
Ǹ 2
F + X ) Y1 ) Z1
2 2
T
Parameters 1020 to 1022 determine the correspondence between the axis names and the signals.
[Classification]
Input signal
[Function] Excludes the corresponding axis from the calculation of the actual speed. The signal is pro-
vided for each control signal. The number at the end of the signal name indicates the number
of the control axis.
ACTFi 1⋅⋅ The first axis is excluded from the calculation of the actual speed.
2⋅⋅ The second axis is excluded from the calculation of the actual
speed.
3⋅⋅ The third axis is excluded from the calculation of the actual speed.
⋅
⋅
15⋅The fifteenth axis is excluded from the calculation of the actual speed.
[Operation] When the signal is high, the corresponding axis is excluded from the calculation of the actual
speed. When the signal is low, the corresponding signal is included in the calculation of the
actual speed.
– 334 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
DO (8 points) DO
The host and PMC can communicate with each other using a remote buffer.
The PMC communicates with the remote buffer at intervals of 16 ms. The host on the other hand, does not
communicate with the remote buffer regularly. Communication between the two is triggered by sending a com-
mand.
The host can communicate with the remote buffer only through protocol A. This protocol provides eight input
and output signals. The machine tool can use them for its own purposes.
Override
Signal
50 60 70 80 90 100 110 120
SPA 1 0 0 1 1 0 0 1
SPB 1 1 1 1 0 0 0 0 0 : LOW
1 : HIGH
SPC 1 1 0 0 0 0 1 1
NOTE The control unit does not specify the voltage of the spindle motor by multiplying the specified
spindle speed and the override value selected by the signal. The signal informs the control unit
of the spindle speed override value selected by the switch on the machine operator’s panel.
The PMC multiplies the specified spindle speed by the override value.
– 335 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
2.3.89 Switching the spindle load display of the serial interface spindles
Signal for selecting the spindle load display: SPLDS
[Classification]
Input signal
[Function] When two serial interface spindles are controlled, this signal selects whether the load of the
first or second spindle is indicated by the load display function.
[Operation] When the signal is low, the first spindle is selected. When the signal is high, the second
spindle is selected.
EGBM1, EGBM2, and so forth are the EGB mode confirm signals for respective axes. Their
addresses are listed below. EGBM1 First axis F066.3 EGBM2 Second axis F070.3 EGBM3
Third axis F074.3
...
...
EGBMx is output only to slave axes; EGBMx is not output to dummy axes.
Explanation of Signals
(1) Retract signal (RTRCT)
[Classification]
Input signal
[Function] Performs retract operation along the axis specified in a parameter.
[Operation] When RTRCT goes high, retract operation can be performed along the axis for which the RTR
bit of parameter 1006 is set to 1; a rising edge of RTRCT is detected. The retract amount and
retract feedrate specified in parameter s 7796 and 7795 are used. Upon completion of retract
operation, the retract completion signal, RTRCTF, is output.
– 336 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
The retract signal is valid either in the automatic operation mode (MEM, MDI, etc.) or in the
manual operation mode (H, JOG, etc.). When the retract signal goes high during automatic
operation, retract operation is performe d, and automatic operation is stopped.
(2) (Retract completion signal (RTRCTF)
[Classification]
Output signal
[Function] Informs that retract operation is completed.
[Operation] RTRCTF goes high upon completion of retract operation (upon completion of movement).
This signal goes low when a movement along an axis is made with a command such as a
move command.
(3) EGB mode confirm signals (EGBM1, EGBM2, ...)
[Classification]
Output signal
[Function] Informs that the synchronization mode based on the EGB is set.
[Operation] EGBMx goes high when:
– The synchronization mode based on the EGB is set.
EGBMx goes low when:
– The synchronization mode based on the EGB is canceled.
(4) Synchronous mode signal (SYNMOD)
[Classification]
Output signal
[Function] Indicates that synchronous operation is in progress for that axis for which synchronization is
established by G81. While EGBMx is provided for each axis, this signal is not provided be-
cause it indicates only the state of the axis for which synchronization is started by G81.
[Operation] This signal is high when:
– Synchronous operation based on the EGB is in progress for that axis for which synchro-
nization is established by G81.
This signal goes low when:
– Synchronous operation based on the EGB is canceled for that axis for which synchro-
nization is established by G81.
NOTE If two EGBs are used, the axis for which synchronization is established by G81 is selected with
parameter No. 5995.
– 337 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
Spindle
speed
Workpiece
axis feedrate
Acceleration
Deceleration
1 Specify G81R1 to start synchronization. The G81R1 command accelerates the tool along the workpiece
axis. Once the synchronization feedrate has been reached, the synchronous mode signal (F153.5) is
turned on and the G81R1 block ends.
2 To cancel synchronization, ensure that the tool has been retracted from the workpiece, then specify
G80R1.
3 The G80R1 command turns off the synchronous mode signal, after which deceleration is started immedi-
ately. Once the feedrate has fallen to 0, the G80R1 block ends.
NOTE The EGB mode confirm signals (F066.3, F070.3, ...) are turned on and off in the same way as
the synchronous mode signal.
– 338 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
Spindle
speed
Workpiece
axis feedrate
Acceleration
Deceleration
1 Orient the workpiece axis to that position which corresponds to the spindle one–revolution signal.
2 Specify G81R2 to start synchronization. The G81R2 command accelerates the tool along the workpiece
axis. Once the synchronization feedrate has been reached, the phase is automatically aligned. Upon the
completion of automatic phase alignment, the synchronous mode signal (F153.5) is turned on and the
G81R2 block ends.
3 To cancel synchronization, ensure that the tool has been retracted from the workpiece, then specify
G80R2.
4 The G80R2 command turns off the synchronous mode signal, after which deceleration is started immedi-
ately.
5 Once the feedrate has fallen to 0, the G80R2 block ends.
NOTE The EGB mode confirm signals (F066.3, F070.3, ...) are turned on and off in the same way as
the synchronous mode signal.
– 339 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
2.3.92 Function for separating UI/UO used in user programs and P–code programs
(a) P–code macro input signals, EUI00 to EUI15 (These 16 signals are collectively referred to as EUI32.)
[Classification]
Input signals
[Function] These signals have no specific functions. They can be read by P–code macros as system
variables and used as an interface between P–code macros and the PMC.
The table below describes the corresponding system variables.
NOTE These system variables cannot be used in the left–hand side of an equation.
(b) P–code macro output signals, EUO00 to EUO15 (These 16 signals are collectively referred to as EUI32.)
[Classification]
Output signals
[Function] These signals have no specific functions. They can be read or written by P–code macros as
system variables and used as the interface between P–code macros and the PMC.
The table below describes the corresponding system variables.
NOTE These system variables can be used in both the left–hand and right–hand sides of an equation.
When a system variable is used in the right–hand side of an equation, the variable used (sent)
last in the left–hand side of the equation remains in the buffer.
– 340 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
Reference mark
– 341 –
2. INTERFACE BETWEEN CNC AND PMC–NA OR NB B–62073E–1/04
JOG
ZRN
+J1
Reference mark
ZRF1
Feedrate
FL speed FL speed FL speed
Scale end
Reference mark
SĄSĄSĄS
– 342 –
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
5 This function cannot be applied to an axis for which any of the following functions is used.
– PMC axis control
– Simple synchronous control
– Straightness compensation
6 This function is invalid when any of the following conditions is satisfied:
– Either parameter No. 1896 (mark 1 interval) or No. 5226 (mark 2 interval) is set to 0.
– Parameters No. 1896 and No. 5226 are set to the same value.
– Parameter No. 1896 is set to a value two or more times greater than the value set with parameter
No. 5226, or vice versa.
– A rotary axis is specified.
NOTE 1 Some machines use an absolute pulse coder to establish the reference position upon
power–on. In the case of such a machine, this signal is output upon power–on.
NOTE 2 When a linear scale having reference marks is used, this signal is output once three or four
reference marks have been detected during the establishment of the reference position.
[Operation] This signal is set to 1 once the CNC has established the reference position by means of refer-
ence position return. The state of 1 is maintained until the CNC loses the reference position.
– 343 –
INDEX
C K
Canned cycle spindle–speed function, 176 Key input, 276
Chopping function , 311
Corner control, 166 L
Custom macro, 254 Load display signals, 335
Cutting depth override for the canned turning cycle,
303 M
Manual arbitrary angle feed, 133
D Manual continuous feed and incremental feed sig-
Detachment of controlled axes (noncontrolled axes), nals, 127
237 Manual handle feed signals, 130
Detecting fluctuation of the spindle speed, 190 Manual interruption function for three–dimensional
coodinate conversation, 133
Digital adjustment of origin deceleration limit, 150
Memory protection keys, 238
Dog–less reference position setting function, 148
Method B for directly inputting tool compensation
(for the Series 15–T and 15–TT), 257
E Mirror image, 231
External data input/output , 242 Miscellaneous functions, spindle–speed functions,
External input/output signals, 239 tool functions, and secondary auxiliary functions,
167
External operation function, 175
Multiple M commands for one block, 173
External workpiece number search, 241
Externally–requested deceleration, 233 N
NC window signals, 334
F
F1 digit selection, 161 O
Feedrate override, 159 Operation mode selection signals, 118
Floating reference position return, 149 Optional block skip , 165
i–1
OUTLINE, 1 Simple synchronization control, 297
Override playback, 312 Simultaneous automatic and manual operation, 135
Override playback signals (Series 15–MFB), 299 Skip function , 251
Overrun, 232 Software operator’s panel, 271
Spindle analog output , 180
P Spindle positioning function, 185
Parallel axis control signals, 293 Spindle serial output and Cs contour control func-
Parts count indication, 275 tions, 197
Position switching function, 336 Spindle synchronization signals for the serial inter-
face spindle, 214
Program status output signals, 228
Start, stop, and restart of automatic operation, 153
i–2
Revision Record
Correction of errors
The signals of the following functions were added.
Simple synchronization control Positional deviation check
function, Active block cancel, Dog–less reference position
setting function, Position switching function,Second feedrate
override B, Automatic reference position setting function,
Function for overriding the rapid traverse feedrate in 1% units,
02 Oct.,’93
Retrace program editing function, Manual Interpolation func-
tion for three–dimensional coordinate conversion, Electronics
gearbox, Acceleration/deceleration function for the constant
speed specified by the PMC control function
Correction of errors
01 Dec., ’92