
B–61804E–2/05
2. SPECIFICATIONS
BACK MACHINING FAPT
309
2) Function codes
The following function codes are referenced. These function codes
are the same as those used conventionally to output M codes for the
first spindle. No additional function code need be defined for the
second spindle.
Upper three
digits
Detailed
classification
Lowest digit
Major
classification
Function
0 0 0 5 Outputs the spindle forward/reverse rotation M
code.
(Outputs the M code specified with MTF1410 or
MTF1411.)
0 1 0 5 Outputs the spindle stop M code when
reversing the spindle rotation.
(Outputs the M code specified with MTF1412.)
0 2 0 5 Outputs the spindle stop M code.
(Outputs the M code specified with MTF1412.)
1 0 0 5 Outputs the C–axis connection/disconnection
M code.
(Outputs the M code specified with MTF1413 or
MTF1414.)
1 6 0 5 Outputs the C–axis clamping M code.
(Outputs the M code specified with MTF1415.)
1 7 0 5 Outputs the C–axis unclamping M code.
(Outputs the M code specified with MTF1416.)
2 (rear end face) can be designated as mounting direction of tool data for
milling (CP).
CP = _ (1: SIDE, 1: FRONT FACE, 2: REAR FACE)
In this case, tool information 2 in tool data (FLAG2) means as follows:
#7 #6 #5 #4 #3 #2 #1 #0
Bit 0 Rotation direction (TR)
0 : Positive rotation
1 : Inverse rotation
Bit 1, 2 Mounting direction (CP)
00: Side
01: Front face
11: Rear face
2.2.3
Tool Data