You are on page 1of 198

m:-:.

a:*
MITSUBISHI CNC
MELD/IS 300/3004/ Series
SPECIFICATIONS MANUAL
320M/330M1330HM1335M(CNC‘
( 320M-V/330M-V/330HM-V/335M-V0 >

ADVANCED AND EVER ADVANCING


MITSUBISHI ELECTRIC
,.,

CONTENTS .

CONTENTS.
GENERAL INTRODUCTION ....................................................................................................... 1

1. CONTROL AXES ............................................................................................................................ 2

1.1 CONTROL AXES ................................................................................................................. 2

2. CONTROL UNITS .......................................................................................................................... 3

2.1 INPUT SETITNG UNITS .................................................................................................... 3


2.2 COMMAND UNITS X1O ..................................................................................................... 3

3. INPUT DATA FORMAT ................................................................................................................ 4

3.1 AUTOMATIC ISO/EL4 IDENTIFICATION ...................................................................... 4


3.2 LABEL SKIP, CONTROL IN/CONTROL OUT ................................................................ 4
3.3 PARITY CHECK .................................................................................................................. 5
3.4 OPTIONAL BLOCK SKIP ................................................................................................... 5
3.5 WORD ADDRESS FORMAT ............................................................................................. 6
3.6 PROGRAM NUMBERS .........................................................+..................................>........mm 6
3.7 SEQUENCE NUMBERS ............................................................................................e..o....oo6
3.8 M2/MO FORMAT ................................................................................................................. 6

4. BUFFERS ................................................................................................................................. ........ 7

4.1 INPUT BUFFER ................................................................................................................... 7


4.2 PRE-READ BUFFER ........................................................................................................... 7
4.3 BUFFER DATA CORRECTION ........................................................................................ 7

5. POSITION COMMANDS ............................................................................................................... 8

5.1 POSITION COMMAND SYSTEM (G90, G91) .................................................................. 8


5.2 INCH/METRIC CONVERSION (G20, G21) ...................................................................... 9
5.3 DECIMAL POINT INPUT ................................................................................................. 10

6. INTERPOLATION FUNCTIONS ................................................................................................ 12

6.1 POSITIONING (GOO).......................................................................................................... 12


6.2 UNI-DIRECTION POSITIONING (G60) ......................................................................... 13
6.3 LINEAR INTERPOLATION (GO1) ................................................................................... 14
6.4 CIRCULAR INTERPOLATION (G02, G03) .................................................................... 15
6.5 HELICAL INTERPOLATION (G02, G03) ........................................................................ 17
6.6 SPIRAL INTERPOLATION (G02.1, G03.1) (G69G02, G69G03) .................................... 18
6.7 HYPOTHETICAL AXIS INTERPOLATION (G07) ......................................................... 19
6.8 CONTINUOUS THREAD CUTTING (G33) .................................................................... 20
6.9 CYLINDRICAL INTERPOLATION ................................................................................. 21
6.10 PLANE SELECTION (G17, G18, G19) ............................................................................. 21
6.11 SYNCHRONOUS TAPPING CYCLE ............................................................................... 22
6.12 NORMAL LINE CONTROL ............................................................................................. 23

7. FEED FUNCTIONS ...................................................................................................................... 25

7.1 RAPID TRAVERSE RATE ................................................................................................ 25


7.2 CUTTING FEED RATE .................................................................................................... 25

-1-
CONTENTS .

7.3 PER-MINUTE FEED (G94) ............................................................................................... 25


7.4 PER-REVOLUTION FEED (G95) ..................................................................................... 25
7.5 F1-DIGIT FEED ................................................................................................................. 26
7.6 AUTOMATIC ACCELERATION/DECELERATION ..................................................... 27
7.7 HIGHLY ACCURATE CONTROL FUNCTIONS (G61.1) ............................................. 28
7.8 RAPID TRAVERSE OVERRIDE ...................................................................................... 31
7.9 CUTTING FEED OVERRIDE .......................................................................................... 31
7.10 2ND FEED RATE OVERRIDE ......................................................................................... 31
7.11 CUTTING FEED RATE CLAMP ..................................................................................... 32
7.12 ERROR DETECT ............................................................................................................... 32
7.13 EXACT STOP CHECK (G09) ............................................................................................ 32
7.14 EXACT STOP CHECK MODE (G61) ............................................................................... 32
7.15 TAPPING MODE (G63) ..................................................................................................... 33
7.16 CUTTING MODE (G64) .................................................................................................... 33
7.17 AUTOMATIC CORNER OVERRIDE (G62) ................................................................... 33
7.18 OVERRIDE CANCEL ........................................................................................................ 33

8. DWELL ........................................................................................................................................... 34

8.1 DWELL (TIME DESIGNATION) (G04) ........................................................................... 34


8.2 DWELL (REVOLUTION DESIGNATION) (G(M) ........................................................... 34

9. MISCELLANEOUS FUNCTIONS ............................................................................................... 35

9.1 M2-DIGIT BCD OUTPUT (M**) ...................................................................................... 35


9.2 4 SETS OF M8-DIGIT (M********) .................................................................................. 36
9.3 M INDEPENDENT OUTPUT ........................................................................................... 36
9.4 MISCELLANEOUS FUNCTION LOCK .......................................................................... 37
9.5 MISCELLANEOUS FUNCTION FINISH ........................................................................ 37
9,6 SECONDARY MISCELLANEOUS FUNCTIONS
(A******”*, B or C) ............................................................................................................. 38

10. SPINDLE FUNCTIONS ................................................................................................................ 38

10.1 S2-DIGIT BCD OUTPUT (S**) ......................................................................................... 38


10.2 s5-DIGIT ANALOG (S*****) ............................................................................................ 38
10.3 S8-DIGIT (s********) ......................................................................................................... 38
10.4 CONSTANT SURFACE SPEED CONTROL (G96, G97) ................................................ 39

11. TOOL FUNCTIONS ...................................................................................................................... 40

11.1 T2-DIGIT BCD OUTPUT ~“*) ........................................................................................ 40


11.2 T8-DIGIT (T********) ........................................................................................................ 40
11.3 ATC TOOL ENTRY ........................................................................................................... 40
11.4 TOOL LIFE MONITORING I ........................................................................................... 41
11.5 TOOL LIFE MONITORING 11 ......................................................................................... 41
11.6 NUMBER OF TOOL LIFE MANAGEMENT SETS ....................................................... 41

12. TOOL OFFSET FUNCTIONS ...................................................................................................... 42

12.1 TOOL LENGTH OFFSET (G43, G44, G49) (G43, G44) .................................................. 42
12.2 TOOL POSITION OFFSET (G45 - G48) ........................................................................... 43
12.3 CU’ITER COMPENSATION (G38 - G42) ........................................................................ 44

-2-
CONTENTS .

12.4 3-DIMENSIONAL TOOL RADIUS COMPENSATION (G40 -


G42) ...................................................................................................................................... 45
12.5 TOOL OFFSET MEMORY ................................................................................................ 46
12.6 NUMBER OF TOOL OFFSET SETS ................................................................................ 46
----- . ..--. --— ———.-.-——.—---
13. I?K(.WKANI SUYJKJR1 ISUN CTIWN S ......................................................................................... 47

13.1 CANNED CYCLES (G72 - G89) ........................................................................................ 47


13.2 SUBPROGRAM CONTROL (M98, M99) (G22, G23) ...................................................... 51
13.3 PATTERN ROTATION (M98, M99) (G22, G23) .................................... .......................... 52
13.4 PROGRAM COORDINATE ROTATION (G68, G69) (G68.1,
G68.2) ................................................................................................................................... 53
13.5 PARAMETER COORDINATE ROTATION .................................................................... 54
13.6 VARIABLE COMMANDS, NUMBER OF SETS (#100-, %30-) .................................... 55
13.7 USER MACROS (G65, G66, G66.1, G67) (G65, G66, G66.1,
G67, G68) ............................................................................................................................. 56
13.8 VARIABLE MEMORY EXPANSION .............................................................................. 58
13.9 MACRO INTERRUPT (M96, M97) (ION, IOF) .............................................................. 58
13.10 SCALING (G50, CJ51) ......................................................................................................... 59
13,11 MIRROR IMAGE ............................................................................................................... 60
13.12 G-COMMAND MIRROR IMAGE (G50.1, G51.1) (G50.1,
G51.1, G62) .......................................................................................................................... 60
13.13 CHAMFERING, CORNER R I (.., C/, ... R) .................................................................... 61
13.14 LINEAR ANGLE COMMAND (...A A A) ........................................................................ 62
13.15 GEOMETRIC COMMAND I ............................................................................................ 63
13.16 PROGRAMMABLE PARAMETER INPUT (G1O) .......................................................... 63
13.17 PROGRAMMABLE OFFSET INPUT (G1O) .................................................................... 64
13.18 CIRCULAR CUTTING (G12, G13) .................................................................................. 65
13.19 COORDINATE READOUT (G14) .................................................................................... 65
13.20 SPECIAL CANNED CYCLES (G34, G35, G36, G37.1) (G34,
G35, G36, G37) .................................................................................................................... 66
13.21 USER MACRO I (G101 - G11O, G200 - G202) ................................................................. 69

14. COOR131NATE SYSTEM SETTING FUNCTIONS ................................................................... 70

14.1 MANUAL REFERENCE POINT RETURN .................................................................... 70


14.2 AUTOMATIC REFERENCE POINT RETURN (G28, G29) .......................................... 71
14.3 2ND, 3RD, 4TH REFERENCE POINT RETURN (G30) ................................................ 72
14.4 REFERENCE POINT CHECK (G27) ............................................................................... 73
14.5 AUTOMATIC COORDINATE SYSTEM SETTING ....................................................... 74
14.6 MACHINE COORDINATE SYSTEM (G53) .................................................................... 75
14.7 WORK COORDINATE SYSTEM OFFSET (G54 - G59) ................................................ 76
14.8 LOCAL COORDINATE SYSTEM SETTING (G52) ........................................................ 77
14.9 COORDINATE SYSTEM SETTING (G92) ............................. ......................................... 78
14.10 ORIGIN SET ....................................................................................................................... 78
14.11 COUNTER SET .................................................................................................................. 79
14.12 PROGRAM RESTART ...................................................................................................... 79
14.13 COORDINATE SYSTEM FOR ROTARY AXIS ............................................................. 79

15. MACHINE ERROR COMPENSATION ...................................................................................... 80

15.1 BACKLASH COMPENSATION ........................................................................................ 80


15.2 MEMORY PITCH ERROR COMPENSATION ............................................................... 80
15.3 MEMORY RELATIVE POSITION ERROR
COMPENSATION .............................................................................................................. 81

-3-
CONTENTS .

16. PROTECTION FUNCTIONS ....................................................................................................... 82

16.1 EMERGENCY STOP .......................................................................................................... 82


16.2 STROKE END (OVERTRAVEL) ...................................................................................... 82
16.3 STORED STROKE LIMIT I .............................................................................................. 83
16.4 STORED STROKE LIMIT II ............................................................................................. 84
16.5 EXTERNAL DECELERATION ........................................................................................ 84
16.6 INTERLOCK ....................................................................................................................... 85
16.7 DATA PROTECTION KEYS ............................................................................................. 85
16.8 STROKE CHECK BEFORE MOVEMENT (G22, G23) (G22.1,
G23.1) ................................................................................................................................... 86

17. OPERATION MODES ................................................................................................................... 87

17.1 TAPE ..................................................................................................................................... 87


17.2 MEMORY ............................................................................................................................ 87
17.3 MANUAL DATA INPUT (MDI) ...................................................................................... 87
17.4 JOG FEED (MM/MIN) ...................................................................................................... 88
17.5 INCREMENTAL FEED ..................................................................................................... 88
17.6 HANDLE FEED ................................................................................................................. 88
17.7 HANDLE FEED (3 AXES) ................................................................................................ 88
17.8 MANUAL RAPID TRAVERSE ......................................................................................... 89
17.9 MANUAL REFERENCE POINT RETURN .................................................................... 89
17.10 AUTOMATIC HANDLE INTERRUPT ........................................................................... 89
17.11 SIMULTANEOUS MANUAL/AUTOMATIC OPERATION .......................................... 90
17.12 MANUAL NUMERICAL COMMAND ........................................................................... 90
17.13 HIGH-SPEED MACHINING MODE I (G05) .................................................................. 91
17.14 HIGH-SPEED MACHINING MODE IB (G05, Pl) ......................................................... 92
17.15 HIGH-SPEED MACHINING MODE 11 (G05, P2) .......................................................... 93

18. EXTERNAL CONTROL FUNCTIONS ....................................................................................... 96

18.1 CONTROL POWER SUPPLY ON/OFF ........................................................................... 96


18.2 NC RESET 1 ......................................................................................................................... 97
18.3 NC RESET 2 ........................................................................................................................ 97
18.4 AUTOMATIC OPERATION START ................................................................................ 97
18.5 FEED HOLD ....................................................................................................................... 98
18.6 SINGLE BLOCK ................................................................................................................. 98
18.7 DRY RUN ........................................................................................................................... 99
18.8 MIRROR IMAGE ............................................................................................................... 99
18.9 MANUAL ABSOLUTE SELECTION ............................................................................. 100
18.10 MACHINE LOCK FOR ALL AXES ............................................................................... Iol
18.11 MACHINE LOCK FOR EACH AXIS ............................................................................. 101
18.12 ZrAXIS COMMAND CANCEL ....................................................................................... 101
18.13 DISPLAY LOCK ............................................................................................................... 102
18.14 RESET & REWIND .......................................................................................................... 102

19. STATUS OUTPUT FUNCTIONS ............................................................................................... 103

19.1 NC OPERATION READY OUTPUT .............................................................................. 103


19.2 SERVO OPERATION READY OUTPUT ...................................................................... 103
19.3 IN-AUTOMATIC OPERATION OUTPUT ..................................................................... 103
19.4 IN-AUTOMATIC START OUTPUT ............................................................................... 103
19.5 IN-AUTOMATIC PAUSE OUTPUT ............................................................................... 103
19.6 IN-RAPID TRAVERSE OUTPUT ................................................................................... 103

-4-
CONTENTS .

19.7 IN-CUTTING FEED OUTPUT ....................................................................................... 104


19.8 IN-TAPPING OUTPUT ..................................................................................................... 104
19.9 IN-REWINDING OUTPUT ............................................................................................. 104
19.10 AXIS SELECTION OUTPUT .......................................................................................... 104
19.11 AXIS MOVEMENT DIRECTION ................................................................................... 104
19.12 NC ALARM ...................................................................................................................... 105
19.13 IN-RESETTING OUTPUT ............................................................................................... 105
19.14 MOVEMENT COMMAND FINISH OUTPUT .............................................................. 105

20. MEASUREMENT SUPPORT FUNCTIONS ............................................................................. 106

20.1 MANUAL TOOL LENGTH MEASUREMENT ............................................................ 106


20.2 AUTOMATIC TOOL LENGTH MEASUREMENT (G37)
(G37.1) ................................................................................................................................ 107
20.3 SKIP FUNCTION (G31) ................................................................................................... 108
20.4 MULTI-STEP SKIP FUNCTION (G31.1, G31.2, G31.3) ................................................ 109

21. AXIS CONTROL FUNCTIONS ................................................................................................. 110

21.1 SERVO OFF ...................................................................................................................... 110


21.2 MECHANICAL HANDLE ............................................................................................... 110
21.3 FOLLOW-UP FUNCTION ............................................................................................... 110
21.4 AXIS REMOVAL .............................................................................................................. 111
21,5 SYNCHRONOUS CONTROL ......................................................................................... 112
21.6 CHOPPING FUNCTION ................................................................................................. 113

22. TAPE MEMORY FUNCTIONS ................................................................................................. 115

22.1 TAPE MEMORY FUNCTIONS (INPUT, OUTPUT,


COMPARE, COPY, CONDENSE) ................................................................................... 115
22.2 PROGRAM EDITING FUNCTIONS (ALTER, ERASE, ADD,
MOVE, QUOTE) ............................................................................................................... 117
22.3 BACKGROUND EDITING ............................................................................................. 118
22.4 ADDITIONAL PROGRAM MEMORY CAPACITY .................................................... 118

23. SETTING AND DISPLAY FUNCTIONS .......................................+.......................................... 119

23.1 SETTING AND DISPLAY UNIT .................................................................................... 119


23.2 SETTINGS AND DISPLAYS (COORDINATE VALUES,
TOOL COMPENSATION AMOUNTS, VARIABLES, ETC.) ....................................... 120
23.3 PROGRAM AND SEQUENCE NUMBER SEARCH ................................................... 120
23.4 COLLATION STOP .......................................................................................................... 120
23.5 PROGRAM EXECUTION STATUS DISPLAY ............................................................. 121
23.6 MDI DATA SETTING AND DISPLAY ......................................................................... 121
23.7 RUN-OUT TIME DISPLAY ............................................................................................ 121
23.8 PARAMETER SETTING AND DISPLAY ..................................................................... 122
23.9 MACHINING TIME COMPUTATION .......................................................................... 122
23.10 DATA INPUT/OUTPUT .................................................................................................. 122
23.11 PLC SWITCH SETTING AND DISPLAY ...................................................................... 123
23.12 PLC SCREEN RELEASE ................................................................................................. 123
23.13 DISPLAY LANGUAGES ................................................................................................. 124
23.14 THIRD/FOURTH LANGUAGE DISPLAY ................................................................... 124

24. PROGRAMMING SUPPORT FUNCTIONS ............................................................................ 125

-5-
CONTENTS .

24.1 GRAPHIC ADDRESS MENU PROGRAM INPUT ...................................................... 125


24.2 PLAYBACK PROGRAM INPUT .................................................................................... 125
24.3 AUDIO OUTPUT ...................................................................................................+.......... 126
24.4 GRAPHIC DRAWLNG FUNCTIONS (TRACE ETC.) ................................................. 127

25. INTERACTIVE AUTOMATIC PROGRAMMING .................................................................. 128

25.1 AUTOMATIC PROGRAMMING SYSTEM .................................................................. 128

26. SELF-DIAGNOSIS FUNCTIONS .............................................................................................. 129

26.1 PROGRAM ERROR DISPLAY ....................................................................................... 129


26.2 OPERATION ERROR DISPLAY .................................................................................... 129
26.3 SERVO ERROR DISPLAY .............................................................................................. 129
26.4 OPERATION STOP CAUSE DISPLAY .......................................................................... 130
26.5 SERVO MONITOR DISPLAY ......................................................................................... 130
26.6 SPECIFICATIONS TABLE DISPLAY ............................................................................ 130
26.7 INPUT/OUTPUT INTERFACE DISPLAY ..................................................................... 131

27. DATA COUPLING FUNCTIONS .............................................................................................. 132

27.1 RS-232-C
(INTERFACE FOR GENERAL-PURPOSE EQUIPMENT) ......................................... 132
27.2 RS-232-C (FOR HOST LINK) .......................................................................................... 132
27.3 CONVERTER UNITS (RS-422 INTERFACE PARALLEL
INTERFACE) .................................................................................................................... 133
27.4 INTELLIGENT TERMINAL LINK FUNCTION ......................................................... 133
27.5 COMPUTER LINK FUNCTION (A) .............................................................................. 134
27.6 COMPUTER LINK FUNCTION (B) .............................................................................. 135
27.7 MAP LINK FUNCTION .................................................................................................. 135
27.8 HIGH-SPEED SERVER OPERATION ........................................................................... 135

28. INPUT/OUTPUT DEVICES ........................................................................................................ 136

28.1 INPUT/OUTPUT DEVICES ............................................................................................. 136

29. MACHINE INTERFACES .......................................................................................................... 137

29.1 HIGH-SPEED INPUT SIGNALS .................................................................................... 137


29.2 SPINDLE INTERFACES ................................................................................................. 138
29.3 MACHINE CONTACT INPUT/OUTPUT INTERFACE .............................................. 140
29.4 OPERATION BOARD INTERFACES ............................................................................ 144
29.5 REMOTE 1/0 UNIT ......................................................................................................... 144

30. PLC SYSTEM FUNCTIONS ....................................................................................................... 145

30.1 STANDARD PLC ............................................................................................................. 145


30.2 BUILT-IN PLC .................................................................................................................. 145

31. UNITS ........................................................................................................................................... 146

31.1 CNC CONTROL UNIT .................................................................................................... 146


31.2 DRIVE AMPLIFIER UNIT ............................................................................................. 147
31.3 TAPE HANDLER ............................................................................................................. 147

-6-
CONTENTS ,

32. AC SERVO, AC SPINDLE SYSTEMS ....................................................................................... 148

32.1 AC SERVO MOTOR ......................................................................................................... 148


32.2 AC SERVO SYSTEM CONFIGURATION ..................................................................... 150
32.3 AC SPINDLE DRIVE .......................$............................................................................... 151

33. POWER SUPPLIES ...................................................................................................................... 153

33.1 POWER SUPPLY FOR CNC SYSTEM .......................................................................... 153


33.2 POWER SUPPLY FOR DRIVE SECTION ..................................................................... 153
33.3 TRANSFORMERS .......................................................................................................... 153

34. ENVIRONMENTAL CONDITIONS .......................................................................................... 154

34.1 ENVIRONMENTAL CONDITIONS ........................................+...................................... 154

35. BUILT-IN PLC SYSTEM ............................................................................................................ 155

35.1 LADDER SEQUENCE ..................................................................................................... 155


35.2 APLC LANGUAGE .......................................................................................................... 155
35.3 PLC AXIS CONTROL ...................................................................................................... 156
35.4 LADDER MONITOR ....................................................................................................... 157
35.5 D.D.B. INTERFACE ......................................................................................................... 157
35.6 EXTERNAL SEARCH ..................................................................................................... 157
35.7 EXTERNAL MACHINE COORDINATE SYSTEM
COMPENSATION ............................................................................................................ 157
35.8 EXTERNAL WORK COORDINATE SYSTEM
COMPENSATION LNPUT ............................................................................................... 158
35.9 EXTERNAL TOOL COMPENSATION INPUT ............................................................. 158
35.10 EXTERNAL ALARM MESSAGE ................................................................................... 158
35.11 EXTERNAL OPERATOR MESSAGE ............................................................................ 158
35.12 USER MACRO DATA I.NPUT/OUTPUT ...................................................................... 159
35.13 PLC/APLC ROM CAPACITY ......................................................................................... 160
35.14 APLC RAM CAPACITY .................................................................................................. 160
35.15 PLC LADDER DEVELOPMENT ENVIRONMENT ..................................................... 161

36 CUSTOMISED SCREEN RELEASE SYSTEM ......................................................................... 162

APPENDIX 1. SPECIFICATIONS TABLES ...........................................................................+. 163


APPENDIX 2. FUNCTION CODE TABLE .............................................................................. 180
APPENDIX 3. FORMATTING DETAILS ................................................................................ 181
APPENDIX 4. LIST OF COMMAND VALUES AND SETTING
VALUE RANGES ....00.....O.................................................................................. 182
APPENDIX 5. LIST OF G COMMANDS ................................................................................. 183
APPENDIX 6. G CODE AND ADDRESS MENU CORRESPOND-
ENCES ................................................................................................................. 187
APPENDIX 7. LIST OF VARIABLE NUMBERS .................................................................... 188

9006

-’7-
GENERAL INTRODUCTION .
# FOREWORD

GENERAL INTRODUCTION

O FOREWORD
This computerized numerical controller (CNC) with its software-fixed configuration is designed for
executing high-performance contouring control mainly with milling machines and machining centers.
This manual details the specifications of this controller. Any changes made to the contents of this manual
will be indicated by updating the letter (A, B, etc.) which follows the descriptive number of the manual
located at the top of the cover. The manual should be used in conjunction with the following
documentation which is provided separately.
a ) Instruction manual
b ) Connections manual
c ) AC servo system specifications manual

u FEATURES
(1) Multiple CPU system using highly innovativ% high-speed 32-bit machine
(2) Built-in programmable logic controller (PLC)
(3) High-sped data link betsveen PC and NC using direct data bus (DDB) system
(4) High-speed control (60 m/min with 0.001 mm control unit)
(5) Background editing function
(6) Built-in FMS interface
(7) Complete troubleshooting system
(8) Larg>capacity memory - -
( 9 ) Full range of DI/DO functions
(10 )Digital servo system adopted
(11 ) Small-sized control unit

.,,,,

-1-
1. CONTROL AXES
1.1 CONTROL AXES

1. CONTROL AXES
1.1 CONTROL AXES

No. of axes Names of axes


Standard no ~f control axes 3 axes Standard X, Y, Z
Additional axis control 1 axis Selected from U, V, W, A, B, C
(total 4 axes)
Special additional axis control 2 axes Selected from U, V, W, A, B, C
(total 6 axes)
Number of simultaneously Standard 3 axes + All axes specified by system
controlled axes additional axis

NOTE The maximum number of control axes for the M320M and M320M-V systems is 4.

-2-
2. CONTROL+ UNITS
2.1 INPUT SETTING UNITS

2. CONTROL ms
2.1 INPUT SETTING UNITS

The units below can be selected by parameters for each axis.

Linear axis Rotary axis


Unit Type
(deg)
Millimeter Inch
A 0.01 0.001 0.01
Command unit B 0.001 0.0001 0.001
c O.0001 0.00001 0.0001
A 0.01 0.001 0.01
Least command increment B 0.001 0.0001 0.001
c O.0001 0.00001 O.ooi)l

NOTE The millimeter and inch systems cannot be used together.

2.2 COMMAND UNITS XIO


1
The command units can be multiplied by 10 for use when the x1O function is specified by parameter.
The command units x1O function is valid only when the decimal point is not used for command unit type
B or C; it is not valid for the command unit type A.
1 ) When already prepared programs for the 10 ~m command unit are used for machining on an CNC
system with a 1 pm command unit setting, this function enables machining to be accomplished in the
same wav as before,
2 ) Similarly: when already prepared programs for the 1 ~m command unit are used for machining on
an CNC system with a 0.1 Km command unit setting, this function enables machining to be
accomplished in the same way as before.

Programming example “Command unit x1O”


(Machining program already parameter
prepared with 1 = 10 p;
CNC system 1 = 1 /J) ON OFF

x Y x Y
I’ll G90GOOXOYO: 0 0 0 0
N2691 X-1OOOO
Y-15000; -100.000 -150.000 -10.000 -15.000
N3.COIX-1OOOO
Y-5000F500; -200.000 -200.000 -20.000 -20.000
N4G03X-1OOOO
Y-1OOOO
J-1OOOO
; -300.000 -300.000 -30.000 -30.000
N5 X1OOOO
Y-10000R5000; -200.000 -400.000 -20.000 -40.000
:.

-3-
3.INPUT DATA FORMAT
3.1 AUTOMATIC IS O/EIA IDENTIFICATION

3. INPUT DATA FORMAT


3.1 AUTOMATIC IS O/EIA
IDENTIFICATION

If an ISO code (LF/NL) is used for the first end of block in a tape which is read in the initialized status
of the NC unit (after the power has been switched on or in the NC reset status), all subsequent codes are
identified as 1S0 codes. Alternatively, if an EIA code (CR) is used, all subsequent codes are identified as
EI.A codes.
(Refer to Appendix 2 for the ISO/EIA function code table.)

3.2 LABEL SKIP CONTROL


IN/CONTRO~ OUT

( 1 ) Label skip
During tape operation, label skip is ignored up to the first end of block (EOB) code in the tape
information when the power is switched on and when the NC controller is reset.
A “significant data section” during tape operation is, thereforq the section extending from the first
EOB code after resetting to when the reset signal is received.

NOTE Tape operation includes tape search and memory entry.


(2) Control in/controI out
AU information within parentheses ( ) is ignored with the ISO code. The “control in” status is
established when the power is switched on.
When conducting control irdout with the EIA code, the code corresponding to the 1S0 parentheses
( ) can be designated by parameter.

-4-
3. INPUT DATA FORMAT
3.3 PARITY CHECK

33 PARITY CHECK

(1) Parity H (applicable with tape operation, tape reading)


ISO code
An alarm is generated by a code not listed in the ISO code table and by a code with an odd
number of holes in a significant data section.
EIA code
An alarm is generated by a code not listed in the EIA code table and by a code with an even
number of holes in a significant data section.

NOTE 1. The above does not apply to the “all mark” code.

NOTE 2. Neither does it apply during control out and label skip.
(2) Parity V (applicable with tape operation)
1 ) An alarm is generated when, in a significant data section, the number of characters is odd
starting from the first significant code in the vertical direction of the tape (1 block) and ending
with EOB.
(This is valid only when the parity V selection is set ON by parameter.)
2 ) An alarm is generated when there is blank data in a significant data section.

NCYIX2 1. The above does not apply to DEL (Delete) and to the “all mark” codes.
Neither does it apply during control out and label skip.

NOTE 2. A “significant data section” extends from the first data after EOB to the EOB:
; . . .. GO OX–lOO. O. GO1. .X1 O. OYIO. OF1OO.

Insignificant Significant Alarm


data section data section
NOTE 3. The semi-colon denotes EOB code display. @he “;’ mark is substituted as the symbol
indicating the EOB code.)

3.4 OPTIONAL BLOCK SKIP

When “/” (slash code) is programmed at the head of a block, when the optional block skip input signal
is selected from the external source and when the mode is set to automatic operation, the block with the
“/” code is skipped.
If the function is not selected, the block with the “/” code will be executed as it is.

(Optional block skip)


Programming
mample I
@ Switch OFF @ Switch ON
l—
N1

N2
1N3
IAW
:1
:1
H El
N4 iI I
I

El
1---- -1
I t
N5 i i

IN6 :1 N6 N6
N’1 N7
El

I ● I ●

-5-
3.INPUT DATA FORMAT
3.5 WORD ADDRESS FORMAT

35 WORD ADDRESS FORMAT

Apart from the sequence numbers (N) and optional block skip code (/), the address data in a block may
be programmed at any position in the block.

Example NI GO X200. Y200. Z300. ;


N1 X200. GO Y200. Z300. ;

The above two programs are equivalent.

3.6 PRO GRAM NUMBERS


1
These numbers are used for classifying the programs into subprogram units and into workpiece
correspondences. They are designated by an 8-digit number following the address “O.”

Example Comment in
012345678 (TEST PROGRAM) ;
parentheses
G28 XO YO 20 ; I
IGOO X-1OO. Y-100. ; I
1 1
NOTE 1. Designate the program number including the required comment in an independent block.

NOTE 2. When the ISO code is used, “:” can be used in place of “O.”

3.7 SEQUENCE NUMBERS

These numbers are specified at the head of each program block where they serve to identify the various
command blocks, and they are used as the call codes for sequence number searches when checking the
program execution position and starting machining. -
They are designated by a 5-digit number following the address “N”.

Example
I 012345678
N12345 G28
(TEST
XO YO
PRO GRAMI
ZO ;
;
Comment in
parentheses

N12346 GOO X–lOO. Y–1OO. ;


(Remainder omitted)

NOTE 1. The sequence number is easier to see if it is placed at the head of each block.

3.8 M2/MO FORMAT

Programming can be conducted with the command format conforming to the MELDAS-M2/MO
specifications. Detailed documentation will be supplied separately.

-6-
4. BUFFER’S
4.1 INPUT BUFFER

4. BUFFERS
I 4.1 I INPUT BUFFER
I I

Data containing a maximum of 248 characters can be stored in the input buffer in order to safeguard the
machine cutting from being interrupted by delays in the read speed of the tape reader.

4.2 PRE-REm Bummt

One block is pre-read with normal automatic operation. However, with cutter compensation, up to 5
blocks are preread and stored in the pre-read buffer in order to perform the intersection point calculation.
The maximum number of characters in a block is 248.

4.3 131JFI?EI? DATA CO R.RIK3’1OI’4

Operation can be resumed after the buffer data has been corrected.
It can be corrected in the following 2 cases.
(1) Correction during tape operation or memory operation
The block stop status is established during tape operation or memory operation and the buffer data
from the setting and display unit k corrected.
After the data has been corrected, operation is resumed with the corrected data by means of the
automatic start function.
(2) Correction when program error arises
Buffer data can be corrected only when, during tape operation or memory operation, the alarm lamp
lights and the error contents of the alarm is a program error.
As with correction (l), after the data has been corrected, operation is resumed with the corrected
data by means of the automatic start function.

-7-
5. POSITION COMMANDS
5.1 POSITION COMMAND SYSTEM

5. POSITION COMMANDS

I
I
5.1

I
:::TWEI:N COMMAND
1
G90, G91

I
TWOposition command systems can be used when axis coordinate data is supplied in machining program
commands: the incremental value system (G91) which assigns the relative distance from the present
position, and the absolute value system (G90) which moves the tool to the designated position of the preset
coordinate system.
Commands of the two systems can be used together within a single block and they are selected by the G90
and G91 commands. The incremental system is always used for designating the radius of an arc (with R)
or for designating the center of an arc (with I, J and K).
G90: Absolute value command
G91: Incremental value command
A multiple number of these G codes can be issued in a single block.

fiample G90 X1OO. G91 Y200. G90 2300. ;


Absolute value Incremental value Absolute value

NOTE 1. The coordinates of an absolute value command are set by the coordinate system setting
command G92.
When this command is executed, the present value display is also set to the designated
coordinate values.

NOTE 2. Even with MDI commands. as with memorv commands. oDeration follows the mwiouslv
‘ .
executed modal when the G’90/G91 codes ark not designat~.

(Incremental value mode) (Absolute value mode)

G91 X1OO. Yloo. ; G90 X1OO. YIOO. ;

End point Y 100. End point


------- ------- ---
8
1
1
I
~/ I
Present position !
I
1

I
Present-position x 100.

-8-
5. POSITION COMMANDS
5.2 INCH/METRIC CONVERSION

5.2 INCHIMETRIC CONVERSION G20, G21

Axis coordinate data can be supplied in a machining program either by metric commands (the decimal
point denotes “mm”) or by inch commands (the decimal point denotes “inch”).
G20 Inch input
G21: Metric input
Inch/metric conversion is conducted either by codes G20/G21 or by parameter. Conversion by G20/G21
converts the input units only. With conversion by parameter, the basic data units of the data inside the
CNC apply in the “parameter” designation mode, and so care should be taken since, when “parameter”
is selected, the data units inside the CNC will change.

Parameter mode “Parameter” = metric “Parameter” = inch


G command mode G20 (inch) G21 (metric) G20 (inch) G21 (metric)
Input command Input command Input command Input command
Coordinate command mode based on mode based on mode based on mode b ascd on
inches metric inches metric
Display Metric units Inch units
Internal data Metric units Inch units

NOTE 1. “ 0” (deg.) units are used for a rotary axis regardless of inch/metric.

NOTE 2. Parameter conversion is effective after power off/on.

-9-
5. POSITION COMMANDS
5.3 DECIMAL POINT INPUT

5.3 DECIMAL POINT INPUT

There are two types of the decimal point input commands and they can be selected by parameter.
( 1 ) Decimal point input I
When axis coordinates and other data are supplied in machining program commands, the
assignment of the program data can be facilitated by using the decimal point input.
Usable addresses can be applied not only to axis coordinate values but also to speed commands and
dwell commands.

Example NO” O1 GOO X–lOO. Y–2OO. ; D-d point command in movement command

NO02 GO1 X–200. F350. ; Dechmd point command in movement and sped comnmnds

NO03 G04 X1.5 ; Decimal point command in dweU time desigm~tion

(Remainder omitted)

The decimal point position serves as the millimeter point in the metric mode and as the inch point
in the inch mode. In either case, it serves as the second point with a dwell time assignment.

G91 GOO X-1OO Y–200. ;


fiample

Present position

Y,200.

End point io
x lal

-1o-
5. POSITION COMMANDS
5.3 DECIMAL POINT INPUT

(2) Decimal point input II (when the “decimal point type 2“ control parameter is ON)
When a decimal point input command is used to supply axis coordinates and other such data in a
machining program, data in programs without points besides those programs with the above-
mentioned points can be controlled by this decimal point command type.
The usable addresses are identical to those of the decimal point command I, and the decimal point
can be used with axis coordinate values, speed commands-and time assignment.

[
Example NOO1 GOO X–1OO Y–200 ; Mm or inches nre used for movement comnmnd units.

NO02 GO1 X–200 F350 ; Mm or inches are used for movement and speed comnumrds.

NO03 G04 X2 ; Seconds are used for dweU command.

(Remainder omitted)

Even when there is no decimal point, the final digit serves as the millimeter point in the metric mode
and the inch point in the inch mode. In either case, it serves as the second point with a dwell time
assignment.
The “.” (point) must be designated when commands below the decimal point are requird.

G91 Goo x–loo Y-200. ;


Example

Present position

End point
(XICOmm)

-11-
6.INTERPOLATION FUNCTIONS
6.1 POSITIONING

6. INTERPOLATION FUNCTIONS
6.1 POSITIONING GOO

This function positions the tool at high speed using rapid traverse with the movement command value
given in the program.
f
GOO Xxl Yyl Zzl ; (Also possible for additional axes
& B, C, U, V, W simultaneously)
(xl, yl, z1: numerical values denoting the position data)

The above command positions the tool by rapid traverse. The tool path is the shortest path as a
straight line connecting the start point and end point.
The maximum speed for the NC is 60 m/min for each axis but this will depend on the machine being
used. Refer to the machine specifications issued by the machine builder.

1. The rapid traverse rate


GOO G91 X1OO. Yloo. : for the X and Y axes
Example
can be set separately.
2. The vector speed to the
end point is the value
produced by combining
the distance and the
respective speeds.

100.

Present
position

(1) Refer to the sueeifications for the number of axes which can be driven simultaneously (number of
simuhneousl~ controlled axes). The axes can be used in any combination within this range.
(2) The feed rate is controlled so that it does not exceed the rapid traverse rate of each axis and so that
the shortest time is taken.
Parameter setting enables movement at the rapid traverse rates of the respective axes independently
for each axis. In this case, the tool path does not take the form of a straight line to the end point.
(3) The tool is accelerated at the start of the program command block and decelerated at the end of the
block.

-12-
6. INTERPOLATION FUNCTIONS
6.2 UNI-DIRECTION POSITIONING

6.2 UNI-DIRECTION G60


POSITIONING

The G60 command always moves the tool to the final position from a single determined direction.
The tool can be positioned with a high degree of precision without backlash and other such machine
errors.

; (Also possible for additional axes

I
G60 XXI Yyl Zzl
A, B, C, U, V, W simultaneously)
(xl, yl, z1: numerical values denoting the position data)

The above command serves to position the tool by rapid traverse. The tool path is such that the tool
is first moved to a position distanced from the end point position by an amount equivalent to the
creep distance and then moved to its final position.
The maximum rauid traverse rate for each axis is 60 m/min but this will deuend on the machine beirw
used. Refer to th~ machine specifications issued by the machine builder:

I
Positioning at the final point is shown below (when this positioning is in the
“+” direction).

> 1. The rapid traverse rates


Example G60 G91 X1OO. Yloo. ; for the- X and Y axes are
the values set by the GOO
command.
2. The vector speed to the
interim point is the value
Interim point produced by combining
the distance and
point respective speeds.
3. The creep distance of the
distance between the
interim and end points
can be set independently
for each axis by
“parameters.”
Present position

.E!lL
NOTI% 1. The processing of the above pattern will be followed for the Z.%xis command with %mis
command cancel and machine lock.

-13-
6.INTERPOLATION FUNCTIONS
6.3LINEAR INTERPOLATION

NOTE 2. The GOOmode serves as the creep distance mode.

NOTE 3. Drilling is mnducted by the G60 command with a canned cycle.

NOTE 4. When the mirror image function is on, the tool will be moved in the reverse direction by
mirror image as far as the interim position, but operation over the creep distance with the
final advance will not be affected by the mirror image.

I 6.3 I LINEAR INTERPOLATION 1601 I

Linear interpolation is a function that moves a tool linearly by the movement command value supplied in
the program at the cutting feed rate designated by the F code.

GO1 XXI Yyl Zzl Ffl ; (Also possible for additional axes
A, B, C, U, V, W simultaneously)
(xl, yl, z1: numerical values denoting the position data; fl: numerical value denoting the feed rate data)

Linear interpolation is conducted by the above command at the fl feedrate. The tool path takes the
shortest distance to the end point in the form of a straight line.
The maximum fl command value for the NC is GOm/min but this will deuend on the machine beirwa
used. Refer to the machine specifications issued by the machine builder:

.. The cutting feed rate


Example GO I G91 X1OO. Yloo. F120 ; command moves the
tool in the vector
direction.
I
,. The proportional
distr;but_ion of the
respective command
values determines the
Feed rate 120 mm/min component speeds of
each axis.

(85 mm/min)

Present
position
‘100” (85 mm/min)

(1) Refer to the specifications for the number of axes which can be driven simultaneously (number of
simultaneously controlled axes). The axes can be used in any combination within this range.
(2) The feed rate is controlled so that it does not exceed the cutting feed rate clamD of each axis.
(3) When a rotary axis has been commanded in the same block, it is &ated as a line& axis in “ “ “ (deg.)
units, and linear interpolation is performed.

-14-
6.INTERPOLATION FUNCTIONS
6.4 CIRCULAR INTERPOLATION

6.4 CIRCULAR INTERPOLATION G02, G03

( 1 ) Circular interpolation with 1, ~, K commands


This function moves a tool along a circular arc on the plane selected by the plane selection G code,
and the tool is moved by an amount equivalent to the movement command value supplied in the
program.

G02/G03 Xxl Yyl Iil Jjl Ffl: (Additional axes: A, B,C,


Arcrotation End point Arc center Feed rate u, v, w)
direction coordinate values values

The above commands move the tool along the circular arc at the fl feed rate. The tool moves along
a circular path, whose center is the position from the start point designated by distance “i” in the
X-axis direction and distance “j” in the Y-axis direction, toward the end point. z

The direction of the arc rotation is specified by G02 or G03.


G02 Clockwise (CW) G02 G19
G02
G03: Counterclockwise (CCW) G18
The plane is selected by G17, G18 or G19. G G(L’3
Gll XY plane k%
Gl& ZX plane
G19 YZ plane & 2 Y
Exampl= See below for examples of 1/4, 1/2, 3/4 and full circles.
‘w

( 1 ) Refer to the specifications for the number of axes which can be driven simultaneously (number of
simultaneously controlled axes). The axes can be USEX3 in any combination within this range.
(2) The feed rate is controlled so that the tool always moves at a sped along the circumference of the
circle.
(3) When a rotary axis is commanded in the same block, the circular interpolation treats the axis as a
linear axis in “ 0” (deg.) units.
(4) Circular interpolation can be commanded within a range extending from 0° to 360”.

NOTE 1. The arc plane is always based on the G17, G18 or G19 command. Even if a command is
issued with two addresses which do not match the plane, the arc will be controlled on the
plane designated by G17, G18 or G19.

-15-
6.INTERPOLATION FUNCTIONS
6.4 CIRCULAR INTERPOLATION

(2) R-specified circular interpolation


Besides the designation of the arc center coordinates using the above-mentioned I, J and K
commands, arc commands can also be issued by designating the arc radius directly.

G02/G03 XXI Yyl Rrl Ffl ; (Additional axes:& B, C, U, V, W)


— _
Arc rotation End point Arc Feed
direction inordinate values radius rate

G02 or G03 is used to designate the direction of the arc rotation.


The arc plane is designated by G17, G18 or G19.
The arc center is on the bisector which orthogonally intersects the segment connecting the start and
end points, and the point of intersection with the circle, whose radius has been designated with the
start point serving as the center, is the center coordinate of the arc command.
When the sign of the value of R in the command program is positive, the command will be for an
arc of less than 180°; when it is negative, it will b; fo~ an arc-of more than 18(T.

Example
G02 G91 X1OO. Yloo. R1oo. F120 ;

Feed rate
120 mm/min .a
.
/w=,%+
-@@s+-c
#A:::.-= Arc end point coordinates

(x),,

Present wxition %

(1) Refer to the specifications for the number of axes which can be driven simultaneously (number of
simultaneously controlled axes). The axes can be used in any combination within this range.
(2) The feed rate is controlled so that the tool always moves at a speed along the circumference of the
circle.
(3) When a rotary axis is commanded in the same block, the circular interpolation treats the axis as a
linear axis in “ 0 “ (deg) units.

NOTE 1. The arc plane is always based on the G17, G18 or G19 command. Even if a command is
issued with two addresses which do not match the plane, the arc will be controlled on the
plane designated by G17, G18 or G19.

-16-
6. INTERPOLATION FUNCTIONS
6.5 HELICAL INTERPOLATION

6.5 HELICAL INTERPOLATION G02, G03

With this function, any two of three axes intersecting orthogonally are made to perform circular
interpolation while the third axis performs linear interpolation in synchronization with the arc rotation.
This simultaneous 3-axis control can be exercised to machine large-diameter screws or 3-dimensional
cams.
G17 G02/G03 Xxl Yyl Zzl Iil Jjl PP1 Ffl ;
—— —.
Arc Arc rotation Endpoint cooxhrrde Endpoint Am center Pitch Feed
uL?ne direction vaiuesfor arc of linearaxis coordinates no. rate
(1) The arc plane is designated by G17, G18 or G19.
(2) G02 or G03 is used to designate the direction of the arc rotation.
(3) Absolute or incremental values can be assigned for the arc end point coordinates and the end point
coordinate of the linear axis, but incremental values must be assigned for the arc center coordinates,
(4) The linear interpolation axis is the other axis which is not included in the plane selection.
(5) Command the speed in the component direction that represents all the axes combined for the feed
rate.

Example G91 G17 G02 XO. Y200. Z1OO. I –lOO. JIOO. F12O ;
z
I Command program path End
kY

XY plane ~rojection path


/
x in command program
\ J
Pitch tl is determined by the formula below.
ll=zl/( (2z*pl+e) /27)
0=6e– Os=arctan (ye/x e)–arctan(ys/xs)
Where XS,ys are the start point coordinates (ose<27r)
xe, ye are the end point coordinates
The combination of the axes which can be commanded simultaneously depends on the specifications. Any
combination can be used within the specified range. The feed rate is controlled so that the tool always
moves at a speed along the circumfer&ce of the drcle.
t \
When a simultaneous 4-axis command is z)~ I
used with the V axis as the axis parallel to
the Y axis, helical interpolation will result
for a cylinder which is inclined as shown
in the figure on the right. In other words,
linear interpolation of the Z and V axes
is conducted in synchronization with the
circular interpolation on the XY plane.
The same movement results with
simultaneous 5-axis commands.

L
x 1
-17-
6.INTERPOLATION FUNCTIONS
6.6 SPIRAL INTERPOLATION

6.6 SPIRAL INTERPOLATION M300 standard G02.1, G03.1


format
M2 format G69G02,
G69G03
This function provides smooth interpolation in spiral form for arcs such as those whose start and end
points do not lie on the same circumference.

G17 G02. l/G03. l XXI Yyl lil Jjl Ppl



Ffl
_
;
R= Direction of arc End point Arc center Pitch Feed
plane rotation coordinates no. rate

The above commands provide circular interpolation for the tool at the fl feed rate. The tool path describes
a spiral arc, whose center is the position designated by the distance “j” in the Y-axis direction and distance
“i” in the X-=is dirmtion from the start point, and the tool moves toward the end point.
The arc plane is selected by G17, G18 or G19.
G17: XY plane
G18 ZX plane
G19 YZ plane
The direction of the arc rotation is specified by G2.1 or G3.1.
G2.1: Clockwise (CW)
G3.1: Counterclockwise (CCW)
The pitch number (rotational speed) is designated by pl.
Up to 1 rotation results when pl is O. Between 1 and 2 rotations result when pl is 1.

G91 G17 GO1 X@. F500 ;


Y140. ;
G2. IXOO. YO 1100. P1 F300 ;
GOIX-120 ;
G909
G17 GO1 X80. F500 ;
Y 140.;
G2.1 X120. Y140. 1100. P1 F300 ;
I lCO. “
GOIXO ;
yw m. 160. x

(1) The combination of the axes which can be commanded simultaneously depends on the specifications.
Any combination can be used within this rarwe.
(2) The feed rate is the angular speed at the start p&ition, after which the angular speed is constant. The
speed at the end point is not identical.

NOTE 1. Synchronized control using a combination with a cutter compensation command (G41, G42)
cannot be executed.

NOTE 2. The arc plane is always based on the G17, G18 or G19 command. Even if a command is
issued with two addresses which do not match the plan% the arc will be controlled on the
plane designated by G17, G18 or G19.

-18-
6. INTERPOLATION FUNCTIONS
6.7HYPOTHETICAL AXIS INTERPOLATION

When an axis outside the spiral interpolation


Example
plane has been commanded simultaneously,
that other axis will also be interpolated in
synchronization with the spiral interpolation.
G17 G91 G2.1 X1OO.Z150. 1150. P3 F500 ;
In this example, conical interpolation

&-----
results. w

L x

6.7 HYPOTHETICAL AXIS G07


lNT.ERPOLATION

This function is used in helical interpolation for sine or cosine interpolation with 2 axes by issuing the axis
command cancel for one arc command axis.

G07 XO ; (X-axis command cancel ON)


G07 Xl : (X-axis command cancel OFF)
J

The designati~ ~ of the axis, which is the object of axis command cancel, can be applied to all the axes used
by the system.
The axis command cancel is valid only with automatic operation.

Example GI)7 ZO ;
G18 G02 XO. Yloo. 1–100. P3 ;

(1) Refer to the specifications for the number of axes which can be driven simultammusly (number of
simultaneously controlled axes). The axes can be used in any combination within this range.

-19-
6.INTERPOLATION FUNCTIONS
6.8 CONTINUOUS THREAD CUTTING

6.8 CONTINUOUS THREAD G33


CUTTING

(. 1 ). Lead designation
Thread cutting of constant leads is based on the sync signals from the spindle encoder.

G33 Zzl Qql Ffl (Eel) ; (“ql” is the shift angle at thread
—. .
cutting start)
Thread Thread Shift Thread lead
command length angle
O - 360°

The tables below indicate the thread leads,

Metric command Inch wmmand


Least input Lead command Least input Lead command
increment mm) range (mm/rev) increment (inch) range (inch/rev)
0.0001-9999.9999 0.00001-999.99999
0.01 0.001
(0.01-9999.99) (0.001-999.999)
0.00001-999.99999 o.000Mll-99.999999
0.001 0.0001
(0.001-999.999) (0.0001-99.9999)
0.000001-99.999999 0.0000001-9,9999999
0.0001 0.00001
(0.001-99.9999) (0.00001-9.99999)
The table shows the thread lead command specification ranges for address E and for address F (in
parentheses).
The axis direztion characterized by a large movement serves as the reference for the lead.
(2) Thread number designation
Inch threads are cut by designating the number of theads per inch with the E address.

G33 Zzl Qql Eel ; (“ql” is the shift angle at thread cutting
—— —— start)
Thread Thread Shift Threadno.
command length
angle K:$:%% 0*360°
directionaxis

The tables below indicate the thread leads.

Metric command Inch command


Least input Thread no. Least input Thread no.
increment (mm) command range increment (inch) command range
0.01 0.0025-9999.9999 0.001 0.00025-999.99999
0.001 0.02540-999.99999 0.0001 0.002540-99.999999
IO.octol I 0.254000-99.999999 J I O.00001 I 0.0254000-9.9999999

The number of threads per inch is commandczl for both metric and inch systems, and the direction
of the axis with a high movement serves as the reference.
A parameter can be used to select whether the E command is to designate the number of threads per
inch or to designate the had.

-20-
6. INTERPOLATION FUNCTIONS
6.9 CYLINDRICAL INTERPOLATION

6.9 CYLINDRICAL
INTERPOLATION

Details of this function are available through separate consultation.

6.10 PLANE SELECTION G17, G18, G19

These G codes are for specifying the planes for the arc, cutter compensation, coordinate rotation and other
such commands.

G17; -.””..”-.X-....X P, Y P Planed=imation


G18; .... .... ....... Z p, X p planedesignation

G19; ..-..””-.....*.Y P, Z p planedesignation

(1) A parameter can be used to set either the X, Y or Z axis to which the additional axis is to be parallel.
( 2 ) A parameter can be used to set the initialization status (when the Dower has been switched on or
wh-en the reset status has been established) to either G17; G18 or G19.
(3) The movement commands have no connection with plane selection.

Example G19 X1OO. ; With these program commands, X1OO.


is the axis which does not exist on the
G19 (Yp, Zp) plane, YpZp are
selected by G19 and the X axis moves
by 100. mm separately from the
plane selection.

G17 X1OO. R50. ; With these program mmmands, the


Xp, Yp plane is selected by G17 and
the arc command is cmtrolled on the
~ Y plane by this command.

CON I R(IL PflRN’lt I ERI Pf)RN’1 2 - 1/ , Sk LIP Pi)RMIEItRl PflRfXl4


n
i GWI DRY-RUN GD INTERP- OFF
2
3
flACROSINGLE E
THREflDLEADE
II-POINT NGLECT 15 C-CllP. TYPE B
[PLANESELECTI
II ~ BW5E-9XI x
[OTHERSI
11 G73n
12 G83 n
0.@OQ
4
:
F1 DIGIT FEED
tlC LOCKRfIPID
16 EXT. DEC. OFF
17 INITIAL INCH
3
J
4 AI..W+XI! x
$ 13 fiRC ERR
I43-0 crlP
Q-W
0-Em
0.00
18 INITIAL (IBS J Y 15 F-UNIT-TYPE
7 GB4 FIXED TIIIE INITIAL SYNC- z 16 C-rot-R Q-ml
8 COLL. ALtl OFF % INITIAL G96 \ ? AUX+)X2f x 17 C-tns.R 0.E10
9 UNIT *1O 21’ INITIAL Z-X J Y IQ R COtlP- P( Q-UX3)
il~ DECItlflL PNT2 22 INITIOL Y-Z :. z 19 flINUTEI.&MS
il 1 I19CR0IT ON 23 INITIAL G88 2Q OCC- fWqE
~12SUB-PROIT ON 24 RESTORTMITO ~%fw:fl ‘0 21
;n( )
JOG
SFTUP
~fi! G40 G54 )
IkYmd. . JOG

-21-
6.INTERPOLATION FUNCTIONS
6.11SYNCHRONOUS TAPPING CYCLE

6.11 SYNCHRONOUS TAPPING G84, G74


CYCLE
I I I I
This function links the NC system with the spindle amplifier (FR-SF) and performs tapping through the
synchronized control of the spindle and servo. This obviates the need for floating taps and enables tapping
to be conducted at a highly precise tap depth.
( 1 ) Tap pitch assignment

G84 XXI YYI Zzl Rrl PP1 Ffl Ss1 ,Rl;


(G741
Mode Hole position Hole machining pitch -e Synchronous
data data speed system
(2) Tap thread number assignment
,

G84 Xxl YY1 Zzl Rrl Ppl Eel Ss1 ,Rl;


(G74)
Mode Hole position Hole machining Thread =Ie Synchronous
data data number speed system

The address data is as follows.


G84 Forward tap; G74 reverse tap
X, Y: Hole drilling coordinate position
z Hole bottom position
R: Hole R position
P: Dwell time at hole bottom
F: 2%xis feed (tap pitch) per spindle rotation
E Thread number per l-inch feed of Z axis
s: Spindle speed
, R: Synchronous system selection

‘153!2 Table

-22-
6. INTERPOLATION FUNCTIONS
6.12C-AXIS NORMAL LINE CONTROL

tin (/-.#X;Sr;RMAL LINE G40.1, G41.1, G42.1

Center of C axis (rotary


In the programmed operation mode, axis)
this function turns the C axis (rotary
axis) and controls its turning so that the
tool is always pointing in the normal
direction vis-a-vis the movement com-
mand for the X and Y axes. It can be
used for spring machining, machine
sewing and the sewing of carpets, etc.
Tool nose
u position
Turning of C axis

G code Function
G40.1 Normal line direction control cancel
I G41.I Normal line direction control left ON
~G42.I I Normal line direction control right ON

G41. 1 (G42. 1) X X1 Y Y1 F fl ; ““-””. NormalON


”.-”.”~On~ro, line dircxtion
*-*
End pointcoordinates F~ rate Normallinedirection
G40. I Xxlyyl; ... ......... ..................... ......... controlOFF

Turning of C axis in respect of movement commands


(1) Start-up
After the C axis is turned to be positioned at right angles to the direction of the movement based on
the XY axis commands, the X and Y axes are moved.
(2) In normal line control mode
1) Block joins
After the C axis has been turned to be positioned at right angles to the direction of the XY axes
in the next block, its block is moved.
2) In block movement
When a linear command is assigned, the C-axis angle is kept constant. When a circular
command is assigned, the C axis is turned in synchronization with the XY circular
interpolation axis path.
3) Cancel
The C axis is not rotated and the axes are moved on the basis of the XY axis commands.
Turning speed of C axis
(1) Turning speed at bIock join (type l/type 2 selection)
~pe 1] The speed is automatically controlled by computation inside the CNC system so that the
feed rate at the tool nose position matches the F command value.

~pe 2] The C-axis turning speed Fc is set as a parameter.


(2) Speed of C-axis turning synchronized with circular interpolation
This is the angular speed which corresponds to the XY axis interpolation sped.

-23-
6.INTERPOLATION FUNCTIONS
6.12C-AXIS NORMAL LINE CONTROL

Definitions of C-axis turning directions


( 1 ) The C-axis angle is calculated in degrees when the tool is pointing in the +X direction.
(2) Turning in the counterclockwise direction is positivq turning in the clockwise direction is negative.

C axis
Example 1) Main program (spindle)
)1[)[) [1: Sub-program
G!ll~ZKX!J: w 2 point
~p~xoyo:” 01001:
G28 CO: G17G!II GIY20. ,RIO. Z– 0. 00 “m”~iti I&L
G$IOG92G53XOYOZO: X-70. , RIO. Z- O. OO4:
G(IG?14G 43 X35. YOZIOO. HI: y-lo. , RIO. Z–l).O [)4: ‘“w
GOZ3; X70. , RI O. Z-O. 001:
Start
~]~o. l~fjooo: Y20. z–o. no4: I point
(;412. 1: \’199: \ /
I
M98P11101[,255:
~/. 1
M9f+rl(l(12L2; 01002:
G91GIYII). zo. []5: G17G91G1Y?0., R1O. : ‘ -
G4!I.1: X-7C. .RIO. : +?
G90GtiZl [)0. : Y-40ZPRI0. :
G23X(IYOZ[): X70. .RIO. : / ~ -— -
M02: Y20. :
M99: 35 ! 35
*

,.

-24-
7. FEED FUNCTIONS
7.1RAPID TRAVERSE RATE

7. FEED FUNCTIONS
7.1 RAPID TRAVERSE RATE

The rapid traverse rate (GOO, G27, G28, G29, G30, G60) can be set independently for each axis using
parameters in 1 mm/min units up to a maximum of 60,000 mm/min.
The maximum value differs accordin~ to the machine mecifications
. and so the instruction manual issued
by the machine builder should be cofisulted.

The combined speed in the positioning direction is


calculated and the speed is controlled in the shortest
Fx Start time so that the speed as the axis component does
point not exceed the rapid traverse setting for that axis.
I Parameter setting enables the tool to be moved
i independently for each axis by the rapid traverse
——. _ Fy
rate of the respective axes. In this case, the tool path
does not take the form of a straight line to the end
End 7 point.
point

r7.2
I
I CUTTING FEED RATE

This function specifies the feed rate of the cutting commands (GO1, G02, G03), and a feed rate per minute
is commanded.
Once assigned, it is stored in the memory as a modal value. The feed rate modal value is cleared to zero
only when the power is switched on.

Linear command Arc command

Center
F
,4
/
,/ 0
i
End point 1
I
I
L
F
Start point

The feed rate in the tangential direction is controlled so that the commanded feed rate (F) is always
obtained.

7.3 PER-MINUTE FEED G94

By issuing the G94 command, the commands from that block are issued directly by the numerical value
following F as the feed rate per minute (mm/min, inch/rein). (F1 = lmm/min)

I 7.4 I PER-REVOLUTION FEED I G95 I

By issuing the G95 command, the commands from that block are issued directly by the numerical value
following F as the feed rate per spindle revolution (mm/revolution or inchhvolution). (F1 =
O.Olmm/revolution)

-25-
7.FEED FUNCTIONS
7.5F1-DIGIT FEED

7.5 F1-DIG_IT FEED

When the “Fldigit valid” control parameter is ON, the assignment of a singl~digit number following
address F enables the corresponding feed rate to be commanded.
There are 9 F codes ranging from F1 through F8 and including FO. The FO code provides a rapid traverse
rate which is the same as for GOO.
When codes F1 through F8 are assigned, the set cutting feed rates corresponding to the individual codes
function as the actual speed commands.
When a code exceeding F9 is commanded, it functions as an ordinary F5-digit direct wmmand.
When an F1-digit command is issued in the automatic operation mode, the feed rate can be increased or
reduced by rotating the manual pulse generator. Such changes in the speed are valid only when the
external “FI-digit valid” signal has been selected.
With an F1-digit command, the “In-Fl digit” external output signal is output.
The amount of increase or reduction in the feed rate is calculated by the formula below.

FMn
~AF= x (* no. of pulses from manual pulse generator)
K
Where + : Increase
— : Reduction
FMn : Maximum speed for F1—F8; “n” is 1 or 2
FM1: Maximum speed for F1–F4
FM2 Maximum speed for F5—F8

K
: Arithmetic constant (number of FMn division, computa-
tion constant for increased or reduced speed per scale unit
of manual pulse generator)
NOTE 1. The manual pulse generator is also used for the original purpose of axis movement with
handle interrupt and other such functions, and so the proposed application is selected by
parameter.

Manual pulse II [Fl digit feed rates]


generator )trixirlpuk -
11% e feed rate
oft the nrrrnber &
1 FI 300
2 F2
--” “
500 -- -
Matrix output:
The feed rote
data for the
I assigned in the] - 3 F3 1000 -- number
~Fl digit - assigned
-q.ster is 4 F4 1500 --
irr the F1
urfl by - 5 F5 1800 -- “ digit register
atur the & 6 Fli 2400 -- is t<tien out.
nuraf pnlse -
lerator 7F7 MOO -- .
ndle. h 8 F8 4800 -- .
Ilid . . 9M 2400
UN 4— 10 FW 4800
* 11 K 100

1%
‘)
n
UL ‘F
#O DATA()
Machining F8 and
program - F command .
----- -.
r 1 modal
I. . . I
I I
,COI1-?3. F] :
!~!~ YIXLF4 : ~
.. ... .
I
,Hi : I X axis . X axis servo

Fk-
. . . I commzand value -
I I Y axis Linear/circular
~ I comm: and value
- - Y axis servo
——-- -- J interpolation
Z axis control
comman d value -
- Z axis servo
- - 4th axis semo
% d valu~

-26-
FEED FUNCTIONS
7.
7.6AUTOMATIC ACCELERATION/ DECELERATION

7.6 AUTOMATIC
ACCELERATION/
DECELERATION

Acceleration and deceleration automatically apply to all the commands. There are 3 acceleration/dwelera-
tion patterns which can be selected by parameter: linear acceleration/deceleration, exponential function
acceleration/deceleration and exponential function acceleration/linear deceleration.
Acceleration and deceleration are always performed block by block for rapid traverse and manual
operation, and the time constants can be set independently for each axis.
The time constants can also be set independently for each axis with a cutting feed command (GO1, etc.),
but normallv the same data is set. Furthermore, the command is issued continuously without acceleration
and deceler~tion being performed block by block.

Linear acceleration/deceleration Exponential function acceleration/


deceleration

FC

Tsc Tsc

NOTFl 1. The acceleration and deceleration pattern for rapid traverse is even valid in the following
circumstances.
GOO, G27, G28, G29, G30 and manual rapid traverse, jog feed, handle feed and reference
point return

-27-
7.FEED FUNCTIONS
7.7HIGHLY ACCURATE CONTROL FUNCTIONS

7.7 HIGHLY ACCURATE G61.1


CONTROL FUNCTIONS

Using the (1) acceleration/deceleration prior to interpolation, (2) optimum comer deceleration, (3) vector
fine interpolation and (4) active feed forward functions, the V series can yield reductions in machining time
and improvements in the machining precision for its movement commands and, compared with
conventional machining, deliver high-accuracy functions which pave the way to dramatic improvements.
The table below shows the correspondences between the NC functions and element functions for achieving
higher degrees of accuracy. -

Element GOOrapid GO1linear interpolation G02/G03 circular


functions/Move traverse/positioning interpolation
ment mode
Acceleration/ Reduced position- Reduced acceleration/deceleration time Vastly improved
deceleration prior ing time for with constant gradient acceleration/ arc radius reduc-
to interpolation microscopic deceleration tion in command
distances system
Optimum comer Clean machining of sharp comers without Clean machining of
deceleration waste sharp comers
without waste
Vector fine High-speed finishing of shapes with
interpolation microscopic segments along a smooth
path with consideration to precision
Active feed forward Reduced position- Improved machining path precision due to Improved arc path
ing time due to reductions in tracking delay errors accuracy due to
reductions in track- reductions in track-
ing delay errors ing delay errors

Effects with GOOrapid traverse/positioning


*
speed ,
I 4

Constant
time

-
Constant Positioning time Time

“rnOde-
(higldy accurate

1
1
Effects with GO1 linear interpolation

Even more smooth and exact interpolation of interpolating pitch linear


Q@uum
1,
CW ad w-+= -ch~ng of *IP mm~ WfihOptfiUm
a@emuon/d~lerarxm md vector Judgmemfkmmr
with vector fine interpolation control
Atter vector
fine inter-
Iation Y

Before vector
fine inter-
Tpolation IL

-28-
7. FEED FUNCTIONS
7.7 HIGHLY ACCURATE CONTROL FUNCTIONS

Effects with G02/G03 circular interpolation

+“ R Assigned radius (mm)


AR Radial error (mm)
Atl Angle error (rad)
/ F: Cutting rate (m/min)

[1] Acceleration/deceleration prior to interpolation


Due to the acceleration/deceleration prior to interpolation, errors in the machining shapes caused by
the smoothing circuit can be eliminated and highly accurate path control can be exercised. With arc
commands, radius reduction errors can be m~tlv reduced. -
Acceleration/deceleration also occurs at a ‘mns~ant gradient so that it is possible to reduce the
positioning time for microscopic distances with the GOOcommand.

G61.1,. .............. .... ... ..... . Highly accurate control mode valid
***
I
Highly accurate control mode cancel
G61(G62,G63,C64)... ... .... .. (canceled by command in same group)

The improvements yielded in the arc radius reduction error areas follows:
Radius error AR is calculated from the formula below.
F
Highly accur- Exponential AR = l/R”(l/2Ts2 +
ate control acceleration/
mode OFF deceleration
(acceleration/ Linear AR = @??@24Tp2 +
deceleration acceleration/ l/2Tp2).
after interpola- deceleration (Fx103/60)2
tion) (mm)
Highly accurate control mode AR = l/R.(0+ l/2Tp2
ON (acceleration/deceleration (1-K~J} ,
prior to interpolation) (FX1OIGO)
(mm)

R
J R: Assigned radius (mm) TS Smoothing circuit time constant
AR: Radial error (mm) setting (see)
At? Angle error (rad) Tp: Position loop time constant (WC)
F: Assigned cutting Kf: Feed forward gain (fwd. g/94)
rate (m/min) F: Actual cutting rate (m/min)

-29-
7.FEED FUNCTIONS
7.7HIGHLY ACCURATE CONTROL FUNCTIONS

/
[2] Optimum corner deceleration
It is possible to machine edges with a high degree of accuracy by judging the command vectors in
the machining program and decelerating at the comer. The fimue below shows the deceleration
speed pattern- at a ‘corner. @he optimu& corner deceleration f~nction is valid only in the highly
accurate control mode.)
I ....-— —
speed

F
t

r-i
Ifo 4 W~I~YO02-J
F
XC!J12 I F: Cutting feed rate
) ax enwim toV
I
I
GlbtL Cutting feed time constant
with acceleration/decelera-
tion prior to interpolation
I ‘\ Vr) Vo: Maximum allowable decelem-
1 tion rate
w *
Glbt L Time

[3] Vector fine interpolation


In order to operate the next stage active feed forward control function more effectively and stably,
vector fine interpolation is conducted and a smooth interpolation path is calculated. (Vector fine
interpolation is valid only in the highly accurate control mode.)

Assigned path Vector fine interpolation

e
-

[4] Active feed forward control


The active feed forward control function which is unique to this CNC system realizes servo control
which is stable and characterized by very low servo errors.
(The active feed forward control function is valid only in the highly accurate control mode.)

‘Co_d withacebratiotid Wk’rLtionprior


b mhphtion Active feed forward
control I
r ----- 1=-----

I
Kp: Position loop gain i
Kv: S eed loop gain I
M: ~otor L ---- —_____ A
S: Differentiation I I

-30-
7.FEED FUNCTIONS
7.8RAPID TRAVERSE OVERRIDE

7.8 RAPID TRAVERSE


IOVERRIDE

1 ) Type 1
Four levels of override (1%, 25%, 50% and 100%) can be applied to manual or automatic rapid
traverse, depending on the external input signal supplied.
2 ) Type 2
Override can be appIied in 1% steps from O% to 100% to manual or automatic rapid traverse,
depending on the external input signal supplied. (Use type 2 to set the conventional system of
selection using the F1 and F2 parameters. Parameters F1 and F2 can be accommodated by selection
and processing at the PLC.)

NOTE 1. Type 1 and type 2 can be selected by PLC processing.

NOTE 2. A PLC must be built into the unit for type 2.

7.9 CUTTIIVG I?EE13 OVERRIDE

1 ) Type 1
Override can be applied in 10% steps from O% to 300% to the feed rate command designated in the
machining program, depending on the external input signal supplied.
2 ) Type 2
Override can be applied in 1% steps from O% to 327% to the feed rate command designated in the
machining program, depending on the external input signal supplied.

NOITl 1. A PLC must be built into the unit for type 2.

7.10 21W3 FEED R#LTE OVERRIDE

Override can be further applied in 0.01% steps from O% to 327.67% as a second stage override to the fed
rate after the cutting feed override described above has been applied.

NOTE 1. A PLC must be built into the unit for this function.

-31-
7.FEED FUNCTIONS
7.11CUTTING FEED RATE CLAMP

7.11 ~IJJIJG FEED RATE

1 I 1 I

This function controls the actual cutting feed rate with override applied to the cutting feed command so
that it does not exceed the speed clamp value preset independently for each axis.
The sped clamp value is determined by the configuration of the machine and so reference should be made
to the instruction manual issued by the machine builder.
(R can be set in 1 mm/min units on the machine parameter screen of the setting and display unit.)

I
7.S2
I
ERROR DETECT I
!
I
I

By setting the external signal switch on, this function decelerates and stops the tool at the end of a block
in order to safeguard against corner rounding during cutting feed.

I 7-H I EXACT STOP CHECK 1 G09 I


With any of the cutting commands (GO1, G02, G03), the G09 command decelerates and stops the tool at
the end of a block in order to safeguard against corner rounding.
The G09 command is issued in the same block as the cutting command. It is an unmodal command and
so must be issued every time that it is required.

NOTE 1. Depending on the pattern, identification of deceleration and stop can be selected from a
complete ~top to a certain degree of deceleration.

Without G09 command With G09 command


Y
NOlO GO1 X1OO.; NOIO G09 GO1 Xl(Xl. ;
NO1l GO1Y-W.: NO1l GO1Y-50.:

----

///’/////////// /./////////////

Corner rounding
/’ A sharp edge is
/$
occurs formed since the tool
stops at the comer.
A
/

‘%22
I 7.14 I EXACT STOP CHECK MODE 1 G61 I

In contrast with the unmodal exact stop check command (G09), this command decelerates and stops the
tool in all blocks with the cutting commands once it is issued until it is released. It functions as a modal
automatic deceleration command which holds the status.
The exact stop check mode command is released by issuing any of the following commands.
G62 Automatic corner override
G63: Tapping mode
G64: Cutting mode

-32-
7.FEED FUNCTIONS
7.15TXPPING MODE

7.f5 TAPPING MODE G63 I


The NC control status is set as follows when the tapping mode command has been issued,
1. Cutting override fixed at 100%

3 Output of in-tapping mode signal


4. Deceleration command at joins between blocks invalid
~

The tapping mode can be released by the G commands below.


G61: Exact stop check mode
G62 Automatic corner override
G64 Cutting mode

7.16 CUTTING M ODE G64

In contrast with the exact stop check mode (G61) to which the deceleration check is applied at the end
point of each block, the following command is executed continuously without deceleration between the
blocks. Deceleration and stop apply with rapid traverse,
This cutting mode is set when the NC is initialized.

7.1’? AUTOMATIC CORNER M300 standard G62


OVERRIDE format
M2 format Made valid by
parameter
The cutting load increases with cornering in the cutting mode, and so this command automatically applies
override to the cutting feed rate so that the cutting amount per fixed time at the corners will not be
increased.
Automatic corner override is valid only during tool radius offset.
The automatic corner override mode is released by any of the G commands below.
G61: Exact stop check mode
G63 Tapping mode
GM Cutting mode

7.18 OVERRIDE CANCEL

By turning on the override cancel external signal, the override is automatically set to 100% for the cutting
feed during an automatic operation mode (tape, memory, MDI).
1 ) The override cancel signal is not valid for manual operation.
2 ) When the cutting feed override or second cutting fed override is O%, the O% override takes
precedence and the override is not canceled.

-33-
8. D WELL
8.1 D WELL
(TIME DESIGNATION)

8. DWELL
8.1 DWELL G04
(TIME DESIGNATION)

The G04 command temporarily stops the machine control and sets the machine on standby for the amount
of time designated in the program.

(G94) G04 XXI ; Besides address X, P can also be


+mtinws Dwell ~ designated.

“xl” of the dwell time may be any value ranging from 0.001 to 99999.999 sec.

8.2 DWELL REVOLUTION G04


DESIGN L TION)

The G04 command temporarily stops the machine control and sets the machine on standby for the number
of revolutions des.ignat~ in the program.

(G95) G04
—— XXI ; Besides address X, P can also be
Synchmncus Dwell Revolutions designated.

“xl” of the dwell revolution is any value from rarwin~ 0.001 to 99999.999 rev.
The dwell time can also be design~t ed in the synch~on-ous mode through parameter setting.

-34-
9. MISCELLANEOUS FUNCTIONS
9.1M2-DIGIT BCD OUTPUT

9. MISCELLAJ!WHXJSFUNCTIONS
9.1 M2-DIGIT BCD OUTPUT M**

When a 2-digit number (MOO-M97) is assigned following address M, the BCD 2-digit code signal and start
signal are output to the machine.
One set of M commands can be issued in a block.
Apart from the above signals, various special independent signals are also output for the following signals.
MOO:Program stop
MO1: Optional stop
M02 Program end
M30: Program end
Respective processing and completion sequences are required for all M commands from MOO to M97.

Example G28 XO YO ZO ;
TO1 ;
T02 M06 ; Tool change
M03 ; Spindle forward
rotation start
GOO G43 Z+2. O HOI ;
w
0
*
M05 ; Spindle rotation
M02; stop
Program end
%

-35-
9. MISCELLANEOUS FUNCTIONS
9.24 SETS OF M8-DIGITS

9.2 4 SETS OF M 8-DIGITS M********

When an 8-digit number (MOOOOOOOO-M99999999) is assigned following address M, the signed 32-bit
binary data and start signal or BCD 8-digit code signal and start signal are output to PLC.
Four sets of M commands can be issued simultaneously in a block.
Apart from the above signals, various special independent signals are also output for the following signals.
MOO: Program stop
MO1: Optional stop
M02: Program end
M30: Program end
Respective processing and completion sequences are required for all M commands from MOOOOOOOO
to
M99999999 (except M98 and M99).

Example G28 XO YO ZO ;
TO1 ;
T02 M06 M03 :Tool change and spindle forward rotation start
GOO G43 Z+2. O HOI ;
*
*
M12345678 ; Machine’s own M command
9

M05 M02 ; Spindle rotation stop and program end


%

NOTE 1. This function requires a built-in PLC. In this case, the code signal and start signal are
transferred simultaneously as the M command in the same block from the CNC to the PLC,
and so high-speed machine control can be exercised by the PLC processing and sequence.

NOTE 2. Parameters are set for selecting between the binary output and BCD output.

I 9.3 I M INDEPENDENT OUTPUT I I


When the MOO,MO1, M02 or M30 command is assigned during an automatic operation (memo~, MDI,
tape) or by a manual numerical command, the signal of this function is set ON. It is set OFF by the
miscellaneous function finish signal, reset signal or reset & rewind signal.

Machining program M independent output Response to CNC


MOO MOO Finl or Fin 2
MO1 MO1 Finl or Fin 2
M02 M02 Reset or reset & rewind
M30 M30 Reset or reset & rewind

If movement and dwell commands exist in the same block, this signal is set ON upon completion of the
movement and dwell commands.

-36-
9. MISCELLANEOUS FUNCTIONS
9.4MISCELLANEOUS FUNCTION LOCK

9.4 MISCELLANEOUS
FUNCTION LOCK

The M, S, T and B (secondary miscellaneous function) output signals are not output to the machine or
PLC when the external input miscellaneous function lock signal is turned on. This function lock facility
can be used when checking only the movement commands in a program check.
The start signals are output for the MOO,MO1, M02 and M30 commands, and so a completion signal must
be input.
(1) Canned cycle spindle functions and any M, S, T or B function assigned by a manual numerical
command or in automatic operation will not be executed. The code data and strobe (MF1-MF4,
SF1, TF1, TF2, SF1-SF4) outputs are stopped.
(2) If this signal is set ON after the code data has already been output, the output is executed as it would
normally be executed until the end (until FIN1 or FIN2 is received and the strobe is set to O).
(3) Even when this signal is ON, the MOO, MO1, M02 and M30 commands among the miscellaneous
functions are executed, and the decode signal, code data and strobe signals are also output as they
would be normally.
(4) Any miscellaneous functions which are executed only .inside the CNC system and not output (M98,
M99) are executed as they would be normally even if this signal is ON.

9.5 IWISCELIX.INEOUS
FUNCTION l?lNISEI

These signals inform the CNC system that a miscellaneous function (M), spindle function (S), tool
function ~) or secondary miscellantxms function (A, B, C) has been assigned and that the PLC which has
received it has completed the required operation. They include miscellaneous function finish signal 1
(FINl) and miscellaneous function finish signal 2 (FIN2).
.
MmceWmmms function finish signal 1 (mu)
When the CNC system checks that FIN1 is ON, it sets the function strobes OFF. Furthermore, when the
PLC checks that the function strobes are OFF, it sets FIN1 OFF. The CNC system checks that FIN1 is
OFF and advances to the next block.
Below is an example of a time chart applying when a miscellaneous function has been assigned.

Command Nmt block

Miscellaneous function strobe (&IF)


-’7;6
Miscellaneous function finish signal (FIN1)
.
Mlscdmmus functkm finidlsigna12 (FIN2)
When the CNC system checks that FIN2 has been set ON, it sets the function strobes OFF and
simukaneoudy advances to the next block. The PLC checks that the strobe signals are OFF and sets FIN2
OFF.
Below is an example of a time chart applying when a miscellaneous function has been assigned.

Command

1“
Miscellaneous function strobe (MF)

Miscellaneous function finish signal (FIN2)

-37-
10.SPINDLE FUNCTIONS
9.6SECONDARY MISCELLANEOUS FUNCTIONS

9.6 SECONDARY
MISCELLANEOUS
FUNCTIONS

The BCD and start signals are output by issuing an 8-digit command using the address code A, B or C—
whichever does not duplicate the axis name.

10. SPINDLE FUNCTIONS


10.1 S2-DIGIT BCD/BIN s“* I
When a 2-digit number (S00-S99) is assigned following address S, the BCD 2-digit code signal and start
signal are output to the machine.
Only one set of S commands can be issued in a block.
Respective processing and completion sequencw are required for all S commands from S00 to S99.
When the optional S5-digit analog output is added, the code which is output to the machine side is a
binary code.

10.2 S5-DIGIT ANALOG S*****

When the spindle speed (rPm) is assigned by a 5-digit number (S000WS99999) following the address S,
the gear signal, start signal and S analog signal corresponding to the spindle motor speed are output to
the machine or PLC.
The specifications of the analog signals are as below.
(1) Output voltage O to 10V, or -8V to + 8V
(2) Resolution: 1/4095 (2 to the power of -12)
(3) Load condition~ 10 kilohms
(4) Output impedance 220 ohms
When the various parameters up to a maximum of 4 steps are preset, the NC system will select the gear
corresponding to the S command and output the gear signal. The analog voltage is calculated in
accordance with the input gear signal.
( 1 ) Parameters corresponding to individual gears ..... Limit speed, maximum speed, gear shift
speed, orientation speed, maximum speed
for tapping
(2) Parameter corresponding to all gears ..... Maximum speed

NOTE 1. When the S5-digit analog output option is added, select the binary output setting for the
parameter that determines whether the S command output is to be in the binary or BCD
format.

10.3 S8-DIGIT S********

When an 8-digit number (SOOOOOOOO-S99999999) is assigned following address S, the signed 32-bit binary
data and start signal or BCD 8-digit code signal and start signal are output to PLC.
Only one set of S commands can be issued simultaneously in a block.
The respective processing and completion sequences are required for all S commands.

NOTE 1. A PLC must be built into the unit for this function.

NOTE 2. Parameters are set for selecting between the binary output and BCD output.

-38-
10.SPINDLE FUNCTIONS
10.4CONSTANT SURFACE SPEED CONTROL

3
10.4 ::~;;~LT SURFACE S PEED G96, G97, G92 S*****

These functions apply to radial direction cutting, and they enable the spindle speed to be controlled
automatically in accordance with changes in the radius coordinate values and the workpiece to be cut with
the cutting point always ‘kept at a con~tant speed (constant surface speed).

Spindlespeedis controlled
G90 G96 GO1 X50. Zloo. S30 ; so that wrfacespeedis
30 m/min.
e
m

G97 GO1 X50. Zloo. F 30 0 S 5 0 0 ; :~::;~i$$~:/~,: and


*

M02 ; Modalreturnsto initialvalue

The initial value of the modal can be selected bv uarameter.


The axis or axes wnducting the wnstant surface ~p’eedwntrol can be specified in the program. The format
in this case appears as below.

PI: Constant surface speed control axis


G96 PP1 ;
is 1st axis
P2 Constant surface speed control axis
is 2nd axis
P3: Constant surface sped control axis
is 3rd axis
Parameter setting applies when P is
omitted or PO has been designated.
The maximum spindle speed during constant peripheral speed wntrol can be clamped.

G92 Ss1 ;
Maximum spindle speed during constant peripheral speed control

-39-
,.,. ., . ..

11.TOOL FUNCTIONS
11.1T2-DIGIT BCD

11. TOOL FUNCTIONS


11.1 T2-DIGIT BCD T**

When a 2-digit number (TOO-T99) is assigned following address T, the BCD 2-digit code signal and start
signal are output to the machine.
Only one set of T commands can be issued in a block.
Respective processing and completion sequences are required for all T commands from TOOto T99.

f
Ekmlple
G28 XO YO ZO ;
TO1 ; .... .... ........... .....!... ....... . Tool TO1 indexing

T02 M06 ,. ............... .... ........ Tool TO1 attachment to spindle and tool
T02 indexing
GOO G43 22.0 HOI ;
*
0

I 11.2
1
I T8-DIGIT
I
\T ********
I
II
When an 8-digit number (TOOOOOCMIO-T99999999) is assigned following address T, the signed 32-bit binary
data and start signal or BCD 8-digit code signal and start signal are output to I’LC.
Only one set of T commands can be issued simultaneously in a block.
The respwtive processing and completion sequences are required for all T commands.

NOTE 1. A PLC must be built into the unit for this function.

NOTE 2. Parameters are set for selecting between the binary output and BCD output.

11-3 ATC TOOL ENTRY

The tool number corresponding to the ATC magazine can be set from the setting and display unit using
this function.
The number of tools displayed is assigned from the PLC.

(fTOOL F&G1SlR9TIONl TOOL 2- 1/ 1 ) The tools used can be entered in the magazine pots.
2 ) The new tool number is indicated when a magazine pot
2
fl~ +OOL- D MGTOOt D II:TOOL- O or tool number has been changed by a tool selection or
@- 0 tool change command.
2 0-0
3 !a-@ 3 ) Any data can be set in the AUX ( ) parentheses in the
4 0-0 setting area, and its sequence can be processed by the
5 0-0
6 0-0 user PLC.
7 0-0
8 0-0 4 ) Tools can be entered into the spindle, standby 1-3 and
index display area on the top part of the screen.
Moreover, the display name and number of displays can
be changed.
5 ) The number of tools entered depends on the specifica-
tions. Up to 80 tools and tool numbers up to 8 digits can
be entered.
6 ) Tools can be selected and the spindle changed by manual
numerical commands.

-40-
11.TOOL FUNCTIONS
11.4TOOL LIFE MONITORING I

I 11.4 I TOOL LIFE MONITORING I I I


This function accumulates the amount of time during which tools assigned from the user PLC are ustxl and
the frequency with which they are used, and it monitors the actual use of those tools. The function also
outputs the data of such tools designated from the PLC, such as the amount of time and frequency of use.

11.5 TOOL LIFE MONITORING II

This adds a spare tool change function to the tool life monitoring I function. The usable tools are selected
from among the spare tools in the group determined by the numerical value designated from the user PLC,
and the tool data of such tools is output. There are two ways to select the spare took selection of the tools
from the usable tools in the same group or selection of the tools with the maximum remaining life from
among the tools in the same group. -

1111
W m 3. 1/1
(KI.i
lKLNlj
S1PM I.-UPR-UPNJ UFEND
p!;
.-. R
@at’M -

)( )[)[ H )( H 1( )( )
x IBlttwaw ‘w’lo
Isl !&x . KfK m

11-6 ~~t:ber of Tool Life Management

The number of tool life management sets can be selected from the table below.

No. of tool sets Specification configuration (indicated by user on order list)


100 Added when tool life management 1/11 is assigned
200 Ikpanded specifications for tool life management specifications
300 Same as above
400 Same as above
I 500 I Same as above
@x) Same as above
700 Same as above
800 Same as above
900 Same as above
1 1000 / Same as above

-41-
12. TOOL OFFSET FUNCTIONS
12.1TOOL LENGTH OFFSET

12. TOOL OFFSET FUNCTIONS


121 TOOL LENGTH OFFSET M300 standard G43, G44, G49
format
M2 format G43, G44
These commands make it possible to control the axis movement by offsetting the position of the end point
of the movement command by an offset amount set on the TOOL/OFFSET screen.
Using this function, it is possible to offset the difference in distance between the actual position of the
machine’s tool nose and the program coordinate position using the tool length and to enhance both the
programming and operational efficiency.

G43 Zzl Hhl ; Offsetcan be providednot onlyfor the


Z axisbut for all other axes which can
G44 Zzl Hhl ; be controlled in the ~stem @ Y, etc.).
—. .
offset offset Offset No.
direction axis

G49 ; Offset cancel

The offset direction is determined by the G command.


G43: Forward direction (z1 +- hl) (Note) When the M2 format applies, G44
G44: Reverse direction (z1 - hl) cannot be used for tool length
compensation since it serves to cancel
this compensation.
Offset can be canceled by the following G commands.
G49 ; (Note) When the tool length compensation
G43 HO ; axis is returned to the reference point,
G44 HO ; the compensation of that axis is
canceled.
Example 1: Example of tool length compensation using a combination with tool length compensation type
I

-f%
G28 XOYOZO ; (Note) The tool length compcnmtion
TO1 : is set as a negative value
;uch as HOI= -450.000.
T02 M06 ; I
Z+2. 0: I
G91 GOO G43
Z2.O HOI ; --- ~r -

L
--

R
HOI ‘~ti
F =-450. fxxl

1
// Table //// ‘2*

-42-
12. TO(3L OFFSET FUNCTIONS
12.2TOOL POSITION OFFSET

l%ample 2: Example of tool length compensation using a combination with tool length compensation type
II
G% XO .% Zf): (Note) The tool length compensation
TO1 ; is set as a positive value such as
HC = + 150.000.
T02 MOO:
G90 G54 GOO G43 ~“ y!
22.0 HOI :

1“

& & ,
I

‘~==r
Lnd’
‘ HOI= 1 22. 0
HOI=
II + 150. + 150,
Ooo
w w
Workpiem Workpiece

1///’ Table
/
Table

IZ.2 TOOL POSITION OFFSET G45 - G48 I


These commands make it possible to move the position of the end point of the movement command to a
position which is extended or reduced by a distance equivalent to the offset amount set on the
TOOL/OFFSET screen.
Using this function, it is possible to offset the difference in distance between the position where the tool
is actually mounted on the machine and the program coordinate position using the tool position and to
enhance both the programming and operational efficiency.

~G45
——
GOO XXI
. .
Yyl Ddl
.
; I
1offset Movement Movement Offset I
! .ax is .m is No. I
Tool position offset is conducted only in a block containing a command from G45 to G48.

G code Function
G45 Extension by offset amount set in tool offset memory designated by offset number
G46 Reduction by offset amount set in tool offset memory designated by offset number
G47 Extension by twice offset amount set in tool offset memory designated by offset number
G48 I Reduction by twice offset amount set in tool offset memory designated by offset number

045 command 046 conmmnd G47conunnnd 04S conmmnd

Extension by offset amount Reduction by otlket amount Extension by twice offset Reduction by twice offsel
amount amount
Internal Internal Internnl Internal
..........,3,:.W.,:,:
computat Ion w+,.:.: ~,::,,:,:,:,
............ . .. .... . ,.

Movement Movement .+.:.,..!.>-...>:,$~,$$~,$


} Movement Movement
amount nmount “”””
‘“’”
““ ‘‘’ amount
‘H

With arcs, the radius can be extended or reduced only for one or three quadrants.
When an absolute value command is issued, the extension or reduction applies in each axis direction
in the direction of the position commanded by the block with G45 (-G48) from the end point of the
previous block.
When a command is given for “n” number of axes simultaneously, the same offset is applied to all
axes, which are subject to the command, within the rated range of the number of simultaneously
controlled axes.
Tool position offset is also valid for additional axes.

-43-
12.TOOL OFFSET FUNCTIONS
12.3CUTTER COMPENSATION

J3ample

G28 XO YO ZO ;
TO1 ;
T02 M06 ;
GOO G43 Z2. O HOI ;
G45 X1OO. D21 ; ... ...... X axis is offset by D21 to the X1OOmm position.
G46 Y50. D22 ;“.-”””””.””oY axis is offset by D22 to the Y50 mm position.
e

I 12.3 I CUTTER COMPENSATION I G38 - G42

These commands function to provide cutter compensation. Through a combination with the G command
and D address assignment, they compensate for the actual tool nose center ~ath either inside or outside
the programmed path by an arnount-equivalent to the tool nose radius. ‘
The tool path is calculated by the intersmtion point arithmetic system and, as a result, excessive cut
amounts on the inside of corners are avoided.

G code Function
G38 Vector change during cutter compensation
G39 Corner arc during cutter compensation
G40 Cutter compensation cancel
G41 Cutter compensation left command
G42 Cutter compensation right command
t \
Tool path

r: Cutter compensation amount


\ J

The cutter compensation command controls the compensation from that block in which G41 or G42 is
commanded.

G17 GO1 G41 Xxl Yyl Ddl ;


,— __
corlpal- Cutting Mt mm. Mcwemmt Movement
* Offset No.
saion plane pensation ~~

The compensation plane, movement axes and next advance direction vector are based on the plane
selection command designated by G17-G19.
G1’71XY plane, X, Y, I, J
Gl& ZX plane, z X, K, I
G19 YZ plane, Y, Z J, K

-44-
12.TOOL OFFSET FUNCTIONS
12.43-DIMENSIONAL TOOL RADIUS COMPENSATION

The corner selection is undertaken by the following command.

G39 Xx, YY, : I

The compensation vector can be changed in two ways.

G38 XXI yyl; ..... ..... .. The cotter wmpensrrtion vector amount and dweetion are retained.

G38 lil Jjl ; .. ....... The cutter compensation veetor diredion is updated by IJ.
<

The cutter compensation is canceled by the following command.

G40 Xxl YY1 Iil Jjl ; .. ....... Thevectorprior to cancelingis ttpared by calculating
the irtteraectionpoirrt with the I.?directirm.

12.4 3-DIMENSIONAL TOOL G40 - G42


RADIUS COMPENSATION

These functions compensate for the spherical radius of a ball end tool. They compensate for the actual tool
center path either inside or outside the programmed path by an amount equivalent to the cutter radius in
ac.cnrd”ace with the 3-dimensional vec~ors~

G code Function
G40 Cutter compensation cancel
G41 Cutter compensation left command (compensation in I.TK direction)
G42 Cutter compensation right command (compensation in opposite direction to that
of IJK)
Three-dimensional cutter compensation controls the compensation from the block in which G41 or G42
is assigned.

GO1 G41 XXI Yyl Zzl Iil Jjl Kkl Ddl ;


—.
cutting Leflcom- Movemerrl
axis Toolballcenter OffsetNo.
penmtion command Vwtora

The value of the tool offset


number assigned by d 1 is the
spherical radius of the tool as
far as the tool nose.
The usable offset numbers are
Workpiece Surface assigned in the “number of
normal tool offset SeIs.”
Programmed vector
coordinates
(xl, Yl, Zl)

-45-

,.
12.TOOL OFFSET FUNCTIONS
12.5TOOL OFFSET MEMORY

125 TOOL OFFSET MEMORY

There are two types of tool offset.


(1) l“ooloffset memory (type 1)
Since there is no differentiation between the shape offset memory and wear offset memory, an
amount combining shape and wear offset is set.
The offset data is used in common for the tool length and tool position offset, and for cutter and
3-dimensional cutter compensation.
(2) Tool offset memory (type II)
This function is not featured in the M320M system.
The shape offset and wear offset amounts are set separately. The shape offset amount is further

-i=/
divided into the length and radial dimensions.
The length dimension data among the offset data is used for the tool length and tool position offset
while the radial dimension data is used for cutter and 3-dimensional cutter compensation.

r.m
Tool offset memory (type I) Tool offset memory (type II)

-,,A:
W-ski 1 TGck
“0.60 ,.A: -----mm

1
~I:[NC.: [MOIINE1 Z nI:INC-: [MACHINEI Z @.@@

1
SURFACE N3= 0.00 SLF3%CE !0= 0-00
1 LENG WAR RAolus WEAR !4 LENG WEAR RADIUS WEAR
0-000 0-000 0.000 El-w E.EMB EI.wn 8.000 Et-B@
; 0.000 : 0-080 -008 0.00
El i D.EMB Et-EfEf8 El -80a 0-80
3 0-000 0-aOO 10-000 0.00 3 0.000 0-000 10-000 a.00
4 0.EffO 0-000 0-000 0-00 4 13-OM o.EtEB 0-0!30 0-00
5 0.8!30 @-000 0.000 0.00 5 B-wit Et.fzw 0.000 0-00
6 @-Et@@ 0-000 0.000 0.00 6 O.EIEM Et-w 0-000 0-00
7 5-000 a-OEE 0-000 0.00, 7 Et-EtEftEl-awl 0-000 0.00
8 0.00a 0-08$3 0-000 0.00 8 EJ-EuEi B-BEE 0.000 0-00
0.000 0-000 e .000 0-BO D-E!EIEiEf.ElEt8 E!-000 0.00
1: 0.0@@ 0.OErzf 0.000 0.0@ \: 0-m 0.000 0-000 B-@@i
Drl ‘- - ! 8rl “- - II
1:
SK- mm It+2G&G54 . RAPID SK- mm INC G412G54 RAPID
IIST 1 ldORK I

x
R
#1 #1 radial #1 length
Tool length dimension J dimension
#2” #1 radial wear
Tool radius II 4! j!
LJ
‘ #1 iengthwear
~43Z+3.0 HOI ; length offset is
TOOI
G43Z+3. OHOI ; men toollengthoffw k amigned w HOJ
assignedwith HOI. the vaiue equk?knt to the #l length
~ys minus Lhe #l length wear is use
G.41X10.1’ 10. 13t32; Cutter compensation
is assigned with D02

minus the #l radial wear is used for


OffW.

126 JJWJ$BER OF TOOL OFFSET

The number of tool offset sets can be selected as below. (Note)


Tool offset memory (type I) Tool offset memoxy(type II) Depending on how the number of
Standard Standard
tool offset sets is combined with the
40 sets
tape memo~ capacity, number of
100sets Optional specifications Optional specifications
common variable sets and the number
200 sets Ootional specifications Ootional swcifications
of tool life monitoring sets, the
400 sets I Optional specifications I Cptional specifications configuration of the CNC system may
Soo sets I Optional specifications I – be subject to certain restrictions.

-46-
13.PROGRAM SUPPORT FUNCTIONS
13.1CANNED CYCLES

13. PROGRAM SUPPORT FUNCTIONS


B.1UllW1’W~~
CYCLES G72 - G89

These functions enable drilling, tapping and other hole machining cycles to be assigned in a simple 1-block
program.

G code Function
G72
G73 Step cycle
G74 Reverse tap cycle
G75
G76 Fine boring
G77
G78
G79
G80 Canned cycle cancel
G81 Drill, spot drill cycle
G82 Drill, counterboring cycle
G83 Deep hole drill cycle
G84 Tap cycle
G85 Boring cycle
G86 Boring cycle
G87 13ackboring cycle
G88 Boring cycle
G89 Boring cycle
There are two hole machining axis return levels which apply upon completion of the canned cycle
machining operation.

G code Function
G98 Initial point level return
G99 Reference point level return
The basic program format for the canned cycle commands is shown below.

G98 G81 Xxl Yyl Zzl Rrl Qql Ppl Lll Ffl ;
~~i~tm = Holeposition Hole machining data Fed rate
ata ,
The addresses of the hole position data and hole machining data are listed below.
x, Y ..... X-axis/Y-axis hole machining position commands (rapid traverse)
(absolute or incremental values)
z .......... For assigning hole bottom position (absolute or incremental value)
R .......... For assigning hole R position (absolute or incremental value)
Q .......... For assigning cutting amount for each cycle with G73 or G83 (incremental value)
Shift amount with G76 or G87
P ........... For assigning dwell time at hole bottom
L ........... For assigning number of repetitions of canned cycle
F ........... For assigning cutting feed rate

-47-
13.PROGRAM SUPPORT FUNCTIONS
13.1CANNED CYCLES

Operation
G code Remarks
G98 mode G99 mode

Step cycle
Initial Initial

q
G73 q

t
t1

(M03) (MO 3)

(MO 3) Fine boring


(M03)

G,, ~~~ ;&:t


‘“e

(Ml. 9)
(Ml 9)

symbols
~ ; Rapid traverse (M03) ; Spindleclockwiserotation
~ ; Cuttingfeed (M04) ; Spindlecounte~lockwkerotation
@ ; Dwell (M05) ; Spindlestop
o ; StopwithsingleblockON (M19) ; Spindleorientationand stop
+ ; Shift(shiftamountsI, J, K or ~ if q, parameterappliesto q dirertion)
n ; Parametwsetting

-48-
13.PROGRAM SUPPORT FUNCTIONS
13.1CANNED CYCLES

Operation
G code Remarks
G98 mode G99 mode

Drill cycl~
spot drill
cycle

’81 ~rE -“~

Drill cycle,
counter-

~,, &Fg &–:y ‘;:”

@ @

Deep hole
initial Inithl drilling cycle

(283 q

Tapping

feed hold and


override are

(MO 4)
(M04)

-49-
13.PROGRAM SUPPORT FUNCTIONS
13.1CANNED CYCLES

Operation
3 code Remarks
G98 mode G99 mode
Boring cycle

Initialpoint Initialpoint

G85 Reference Reference


point point
Zeropoint %0 point

(MO 3) Boring cycle


(M03)” .. -

G,, ~? ~=;: ~

(M05)
(M05)

(Ml 9) Boring cycle


++ Initialpoint

G87 (Ml 9) L Zeropoint G99 mode is not used


~F Reference
point
q(M03)

G,, JYF ~=:5t ‘ringqc’e

@ (M05) @ (M05)

Boring cycle

G*, ?~;~ ~T~:

D @

-50-
13.PROGRAM SUPPORT FUNCTIONS
13.2SUBPROGRAM CONTROL

13.2 SU13FR0 GRAIM CONTROL M300 standard M98, M99


format
M 2 format G22, G23
When the same patterns are present for a particular number of times during machining, these functions
enable the mach;ning pattern-s to be enter~ as a single subprogram. The sa-me machin~ng processes can
then be easily conducted by calling the subprogram from the main program when required, and so this
helps to increase the effectiveness of the program~ applications.

M98 Ppl Hhl Lll; (p p 1 ) Subprogram


callCOmmaml Subprogram number Sequence number Numd.Yerof ●
I’epetitiom
(Branchingto .5@r0gmm)

Nhl
*

M99 : @etum to mainprogram)

Subprogram call is possible up to maximum of 8 nesting levels.

**.

>lWU PI

n
M98 1 ;
MN:
~k n
MO!l.4W0:

P ICQO

n
H M

M~
1:

n M30 ;

n .GKsl!zl
Pmm PI P2

H’< ‘‘~:
u
M98P2 :
M98PI : n
‘0M99 : M%3P3: :
u
M99:
MO~30 :

The subprogram branch destinations and the number of times that the subprogram is to be repeated can
be assigned.

-51-
13.PROGRAM SUPPORT FUNCTIONS
13.3PATTERN ROTATION

I Subprogmm branch destination assignment Subprogram repeat assignment I


Main program Subprogram Main program Subprogram

““Hq~\
‘lmMJJJq

8 Return after exeal-


MO’@30 : tion 5 times
DMO 30:

13.3 PATTERN ROTATION M300 standard M98, M 99


format
M2 format G22, G23

When the same pattern in machining is repeated for a particular number of times on a concentric circle,
these commands enable a single rotation machining pattern to be entered as a single subprogram. When
the subprogram is called from the main program, machining is easily conducted in a form resembling the
rotation on the concentric circle by assigning the rotation center. This, in turn, facilitates programming.

M98 Iil Jjl Ppl Hh 1 Lll ;


Callcmmmmd Rotation center mmdinata Subpmgmm number and sequemz nuder Number of rqxtitiom

( 1 ) Branching from a subprogram or to a subprogram during pattern rotation is not possible.


(2) Reference point return is not possible for the rotation plane axis during pattern rotation but it is
possible for axes which are not on the rotation plane.

t 1 times

Center of
rotation il

.
Main program (01000)
NO1 G90 G54 GOO XO YO ;
N02 GO1 G41 X200. Y150. DO1 F
N03 GO1Z-50. F300 ;
N04 M98 P2200 L5 J-1OO.;
N05 G90 GO1 Z50. F500 ;
N08 G40 ;
N07 GOO XO YO ;
Subprogram (02200)
NO1 G91 GO1 X29.389 Y59.549 ;
N02 x65.717 Y9.549 ;
N03 M99 ;

-52-
13.PROGRAM SUPPORT FUNCTIONS
13.4PROGRAM COORDINATE ROTATION

13.4 PROGRAM COORDINATE M300 standard G68, G69


ROTAT’IOIN format
M 2 format G68.1, G69.1
When machining a complm rotating shape, the basic machining shape program can be prepared using the
non-rotary work coordinate systems, the parallel movements and rotary angles can be assigned using the
program coordinate rotation command, and the shape can be easily defined at the desired position.
The program format for the coordinate rotation command is given below.

G68 XXI Yyl R r 1 ; ...........”.-. ~~dinate rotation


cdl—ml Roration omrer mmdimtei Angle of rotation

G69 ; ... .......... ..... ... .............. .... ........ ..... ......... ...., Coordinate rotation
cancel
(1) Angle of rotation “rl” can be set in O.OO1°units from 0° to 360.00@.
(2) Th~ coordinates are rotated counterclockwise by an amount equivalent to the angle which is
designated by angle of rotation “rl.”

Yt \

yl
—.—. —.
Y’

I
\

TO1 G28 XYZ:

W G54 G52 X150. Y75. ;“4”””””””J.-HI mrdim?te a=.iwment

W G90 GO1 G42 XO YO: “.’ Cuttermp~~tion ON


‘J04 G66 XO Yo R20.; .........- hrdi~qte rolalionON
~OS M96 HIO1: ........................ Subprogr.mn execution
!406 G69: ...........................”---”...- @rdimrterotationmrr~l

N06 GW G40 XO YO : ............ ~:~mmpa’ion

N07 M02 ; ...................................- Completion

N101 G90 GO1 X!XLFZOO


:
N102 G02 Xl@l. R25. ;
N102 Gt)l X125.:
N104 Y7S. : Subprogram
(SimIpeprogrammed
N 105 Gffl XI(XLY103. R25. : with origirml
coordinate system)
N106 GO1 X50.;
N107 GOZ XO YSO.R50.;
N108 GO1 XO YO:
N109 M99:

-53-
13.PROGRAM SUPPORT FUNCTIONS
13.5PARAMETER COORDINATE ROTATION

13.5 PARAMETER COORDINATE


ROTATION

When a deviation or shift has occurred between the machine coordinate system and the reference line of
the workpiece during the attachment of the workpiece, these commands can be used to rotate the
machining program coordinates in accordance with that deviation from the workpiece& reference line and
control the machine. The coordinate rotation amount is set by parameters which can be entered on the
CRT setting and display board or by the G1O command.
[CRT setting and display unit] ~rogram parameter input: G1O]
[COORIXNATE ROTATfON] HOR. AXIS VEP.. AMS G1O Iii J jl ;
#1. PLANE x Y Hotiontal ax!s v.xtor Venmalamsvector

# 2 cm-mgmATm O.oco O.000


# 3 ~g;mT~ 1000.000 267.949 or

# 4 ANGLE 15.000 G1O Kkl :


—-. . ----
—--- ---- ---
-——. - Angle
of mkwion

# ( )DATA ( .- ==---- =====


Y ~“
[ ) I

1) The rotation center position or machine coordin-


ate system position Massigned.
2) All the work coordinate systems G54 to G59 are
Ym rotated by the rotation command. The machine
coordinate system is not rotated but it should be
understood that imaginary machine coordinate
systems are present at the coordinate Tstems
after rotation.
3) The coordinate display is not rotated. The
positions applying for the original work coordin-
----- .- ate wstems which have not been rotated are
disp~ayed.

l\i\wl !’\ !Ld

M lkisicmachine
eoordimte Xm

m’
ample
when the function tocompasate
is used

liOl G28x Yz:


N02 M$jS pm: ....... ..............
N02 G90 G53 X#100Y#lOl : ...
NM G92 G.52 XO Yr) ; .... .....
NM G jo K#lo2 ; ...... ..................

NOS G90 G54 G02 XO YO :


N07 M!% H101 ;
NOS G30 G55 GOO XO YO;
NW M93 H1OI ; x
xa
I.....G56WOI’kMZiChiII@
N 10 G90 G% GCO Yo :
N 101 G91 GO1 G42 DOI F2W ;
N 11 MW H101:
N 102 x lm. ;
N 12 G90 G57 GOO Xo Yo :
N 13 M93
N14 G% XYZ;
H 101: I . . . . . G57woIk llXIChi@ N 102 G02 YW. R25. ;
N 104 GO1 X-1OO. ;
Machining
shape
pmgmm
N 105 G02 Y-W. R25.:
N 15 M02 :
N KM GO1 G40 ;
N107 M99 :

-54-
13.PROGRAM SUPPORT FUNCTIONS
13.6VARIABLE COMMANDS, NUMBER OF SETS

X3.6 VARIABLE COMMANDS, M300 standard #loo-, #500-


NUMBER OF SETS format
M2 format See above;
based on macro
converter for
input, operation.
Programming can be endowed with flexible and general-purpose capabilities by designating variables
instead of directly assigning numbers for addresses in programs and by supplying the values of those
variables as required when running the programs.
Arithmetic operations (adding, subtracting, multiplying and dividing) can also be conducted for the
variables.
Variables
Type A #100 - #149, #500 - #549 100 sets
Type B #100 - #199, #500 - #599 200 sets
Type C #100 - #199, 4500- %99 300 sets
@ Variable names can be set for #500-#519.
Variable expressions
Variable : #number #loo
( Numerical valuti 1.2,3.
,,. .....)
~# [expression] #loo ‘
&pression : Numerical value
.. Variable
Expression Operator Expression #loo + #lol
. - (minus) Expression - #120
@expression] [#no]
Function [expression] SIN [#110]
( 1 ) The standard operators are “ +”, “-”, “*” and “/”, All other operators require the user macro
specifications.
Operators applying with user macro specifications.
OR (logical OR)
XOR (exclusive logical OR)
AND ~OgiC~ AND)
MOD (remainder)
(2) The functions require the user macro specifications.

SIN (sine) ROUND (rounding up)


COS (cosine) FIX (discarding below dccimal point)
TAN (tangent) FUP (rounding up below decimal point)
ATAN (arctangent) ACOS (arccosine)
SQRT (square root) LN (natural logarithm)
ABS (absolute value) EXP (exponent with e = (2.718 .....) at base)
BIN (BCD + BIN)
BCD (BIN - BCD)

Variable definition
Variable = expression

NOTE 1. Variables cannot be used with addresses “O”, “N” and “/”.

-55-
13.PROGRAM SUPPORT FUNCTIONS
13.7 USER MACROS

13.7 USER MACROS M300 standard G65, G66,


format G66.1, G67
M2 format G65, G66,
G66.1, G67,
G68
(1) Macro commands (1)
In order to carry through one integrated function, a group of control and arithmetic instructions can
be used and entered as a macro program. Furthermore, subprograms with a high degree of
expandability can be configured by setting these macro programs as types which are capable of
conducting control and arithmetic operations using variable commands.

G code Function
G65 Simple call
G66 Modal call A
G66.1 Modal call B
G67 \ Macro call cancel
The program formats are given below.

90 ,4rgum$lt*. . we macroprogramis called


G65 PpI Lll j Immediatelyby this command.
callWlllnmd Programno. No. of rqxtitims Variabk data a.wi@ment

G66 Ppl Lll ● ● .@lllmllt


*● The macroprogramis executed
; fmm the block with the axis
CallCnmmad Programna No. of rqxtitim-s Variabk
data assignment command following this command.

● ● Argument ● ● The macro program is executed


G66. 1 Ppl Lll ; with the word data of each block
Callcommand Pmgrara no. No. Of I@itbs Vtibk data a~i-t
as the argument.

The following macro command functions are available.

Arithmetic #l= <expression > ;


commands Various arithmetic operations can be conductcxl between variables by the above.
“ <Expression>” is a combination of constants, variables, functions and
operators.
Assignment of The portion in which the operator is to be given priority can be enclosed in [].
priority of Up to five pairs of square parentheses [ ] including the function [ ] can be used.
arithmetic The normal priority of operation is functions and multiplication/division followed
operations by additiordsubtraction.
Control (1) II? [< conditional expression>] GOTOn ; The flow of the program can
commands (2) WHILE [<conditional expression >] DOm ; be controlled by these com-
... mands. “n” and “m” denote
ENDm ; the sequence numbers of the
branching destination,

-56-
13.PROGRAM SUPPORT FUNCTIONS
13.7USER MACROS

(2) Macro commands (2)


Specific G commands and the miscellaneous commands (M, S, T, B) can be used for macro call.
1 ) Macro call using G codes
Simply by assigning a G code, it is possible to call user macro subprograms with the prescribed
program number.

Format : GXX <argument>;

~ G code for performing macro call

The correspondence between the Gxx code which performs macro call and the program number P
A A A A for the macro to be called is set by a parameter.
Up to 10 codes from GOOto G255 can be used for this command. (Codes such as GOO,GO1 or G02
which have already been clearly assigned for specific applications by the EIA standards cannot be
used.)
2 ) Macro call using miscellaneous commands (M, S, T, B)
Simply by designating an M (or S, T, B) code, it is possible to call user macro subprograms with
the prescribed program number. (Entered M codes and all S, T and B codes can be used.)

f ‘1
Format : Mm ; (or Ss;, Tt;, Bb;)
Z M (or S, T, B) code for performing macro call

The correspondence between the Mm code which performs macro call and the program number P
A A A A for the macro to be called is set by a parameter. Up to 10 M codes from MOOto M95 can
be entered.
Select codes to be entered which are not basically codes required by the machine and which are not
M codes MO, Ml, M30 and M96 through M99.

NOTE G commands in G code macro programs are not subject to macro calls but normal
G commands.
M commands in M code macro programs are not subject to macro calls but normal
M commands.
(The same applies to S, T and B codes.)

-57-
13.PROGRAM SUPPORT FUNCTIONS
13.8VARL4BLE MEMOR Y EXPANSION

13.8 VARIABLE MEMORY


EXPANSION

The number of variable memory sets can be expanded.


Type B #100 - #199, #i500 - #599 200 sets
Type C #100 - #199, *OO - #699 3(X)sets

13.9 MACRO INTERRUPT

~
By inputting a user macro interrupt signal from the machine, priority can be given to the program being
run and other programs can be called.

fachining program Oprn



Interrupt program Opi

e

M9f5Ppj; The user macro o

interrupt signal is * ‘The resmuptiun of

1
Interrupt e accepted during this e
operation from a
signal * period. ●
malfunction includ-

1 / ing the saving and
b
b ✎
= relum with a broken
● tool, for instmwe, is

The modal data is ● .progrmmned.
: restored to the status *
* applying before interrupt. ●
✽✻
M97 :
* \
M; ;
Interrupt ●
signal ● The user macro interrupt -
b ● signal is not accepted
b during this period. (Interrupt type 1) The machining

b program being
executed is immediately
M;; interrupted, and the inter-
rupt program is run
immediately.

(Interrupt type 2) The interrupt program is run


parallel with the machining
program being executed. If,
however, a movement com-
mand is assigned, the block
containing that command in
the machining program is
first
executed and then the
movement command is
executed by means of the
interrupt
program.

-58-
13. PROGRAM SUPPORT FUNCTIONS
13.10SCALING

I III(I I SCALING I G50, G51 I

The shape commanded by the program can be extended or reduced to the desired size by applying a scale
factor to the movement axis command value within the range assigned by the scaling command.

G code Function
G50 Scaling cancel
G51 Scaling ON
The program format is given below.

G51 Xxl Yyl Zzl Ppl ;


au mmmati .SAing
rxnter
cmrdinnt~ *le factor

The scale factor ranges from 0.000001 to 99.999999 times.

Y
S1 Sc
Sc pl
yl -- --------- Scaling center
\\
~ N’N / II
~,>, ‘\~3 pl, p2, p3
~ ~ f..l: Programmed shape
I \
\ ‘x, Sl, S2, S3
\ \\ Shape after scaling.
1
,A p2 \
p3
x
xl

NOTE 1. Scanning cannot be applied to cutter compensation, tool position offset, tool length offset or
to other such offset amounts.

lWYFFk 2. Scaling applies only to those axes among ~ Y and Z which have been commanded; it does
not apply to axes which have not been commanded.

NOTE 3. When the scaling magnification is not assigned, the parameter setting applies instead.

-59-
13.PROGRAM SUPPORT FUNCTIONS
13.11MIRROR IMAGE

H.11 MIRROR IMAGE

This function enables symmetrical cutting by reversing the sign of the commanded value for tape, memory
and MDI operation.
(1) Mirror image can be applied to all controlled axes and it is assigned by an external switch input.
(2) Mirror image applies to those incremental amounts which are to be executed regardless of whether
the coordinate command values are absolute or incremental.
(3) Mirror image is selected after block stop.
(4) Mirror image on/off control can be selected by the following operation~
1 ) Setting & display unit: On/off operation on parameter screen
2 ) External input signal: On/off switch operation on machine operation board via PLC

Y Mirror image “off” tool path

Lageapplied
I

I
x
L -—-
\-
Mirror image “on” tool path

13.12 G-COMMAND MIRROR M300 standard G50.1, G51.1


IMAGE format
M2 format G50.1, G51.1,
G62
Mirror image can be applied directly by a G command when preparing a machining program. Operation
is thus facilitated since the machine can be controlled without the operator having to be made aware of
the mirror image.

G code Function
G50.1 G-command mirror image cancel
G51.1 G-command mirror image ON
The program format for the G-command mirror image is shown below.

G51. 1 Xxl Yyl Zzl ; Mirrorimageis appliedwith the


mirror positioned at (xl, y1, z1).
Minurimase
on Command axes and mmmati positioms

The program format for the G-command mirror image cancel is shown below.

G50. 1 Xxl Yyl Zzl ; The eoordioste word indicates the axes for
which the mirror image fimction is to be
Minor imagecancel Command axes canceled and the coordinrd es are ignored.

-60-
13.PROGRAM SUPPORT FUNCTIONS
13.13CHAMFERING. CORNER R I

13.13 CHAMFERING, CORNER R I I (GO1) .... C or (GO1) _., R

Corner chamfering or corner rounding can be inserted between linear blocks by assigning the “,C” or “,R”
command in linear interpolation.
( 1 ) Corner chamfering

N1 GO1 X1OO. Yloo. ,C lo. ;


Example
N2 X1OO. ;

N1

(2) Corner rounding

&ample N1 GO1 X1OO. Yloo. R1o. ;


N2 X1OO. ;

N2

Nr

NOTE 1. A program error results when the N1 or N2 block contains an arc command.

NOTE 2. A program error results when a longer corner chamfering or rounding than the lengths in the
N1 and N2 block is assigned.

-61-
13.PROGRAM SUPPORT FUNCTIONS
13.14LINEAR ANGLE COMMAND

13.14 LINEAR ANGLE COMMAND

The end point coordinates are automatically computed by assigning one element (one component of the
selected plane) of the end point coordinates and the linear angle.

G17 XXI Aal ;


——
selected 1 .@gle
plane element
Or G17 Yyl Aal ;

Eiample
G17 G91 Xloo. A60. ;

End point
o

Start point Zi!l 60°

x lm.
y?

NOTI? 1. This function cannot be used when using the A axis or secondary miscellaneous function A.

-62-
13. PROGRAM SUPPORT FUNCTIONS
13.15GEOMETRIC COMMAND I

13.15 GE(I METRIC COMMAND I


I I
When it is hard to find the intersection point of two straight lines with a continuous linear interpolation
command, this point can be computed automatically by programming the command for the angle of the
straight lines.

Example k Angle ~) formed


N1 G17 A150. ; between straight line
N2 G90 X1OO. Y200. A120. ; and horizontal axis on
plane

The plane is the


Y selected plane at that point.
End point
200. –-– ,

1‘b
I
N2
I
I 120°
I

.utom~c<n N1 ~~o
pointcalculation
I Start point
I

NOTE 1. This function cannot be used when using the A axis or seeondaxy miscellaneous function A.

13.16 PRO GRA.MMA5LE M300 standard G1O, Gll


PARAMETER INPUT format
M2 format G1O, G1l.1
Parameters which are set from the setting and display unit can be input using the program commands.

G1O L50; “.”Program parameter input start


P 1 N1084 H51 ;
P2 Al N272 H30; Program parameter input
P2 A2 N272 H40; 1

\
Gll : SS-Program parameter input end

-63-
13.PROGRAM SUPPORT FUNCTIONS
13.17PROGRAMMABLE OFFSET INPUT

13.17 fNRPOuGTRAM
MABLE OFFSET G1O

( 1 ) Work coordinate system offset input


The values of the work coordinate systems selected bv the G54 to G59 commands can be set or
changed by program commands. -

G code Function
G1O L2 PO External work coordinate system setting
G1O L2 PI Work coordinate system 1 setting
G1O L2 P2 Work coordinate system 2 setting
G1O L2 P3 Work coordinate system 3 setting
G1O L2 P4 Work coordinate system 4 setting
G1O L2 P5 Work coordinate system 5 setting
G1O L2 P6 Work coordinate system 6 setting
(Note) L2 can be omitted.
The format for the work coordinate system setting commands is shown below,

G1O L2 Ppl XXI Yyl 221 ;


Parameler
change Work Settings
mmnmnd coordhnteno.

(2) Tool offset input


The tool offset amounts, which have been set from the setting and display unit, can be entered by
program commands.

G code Function
G1O L1O Setting for tool length shape offset amount
G1O Lll Setting for length wear offset amount
G1O L12 Setting for cutter shape offset amount
G1O L13 Setting for cutter wear offset amount

The tool offset input format is as follows,


?
G1O Lll Ppl Rrl ; Note When Lll is omitted, the tool
command
for seuing OffsEt offset
length shape offset amount is
offset alrmrmt number amount 4 set. This therefore facilitates
programming when the offset
memo~ (type I) is used.

-64-
13.PROGRAM SUPPORT FUNCTIONS
13.18CIRCULAR CUTTING

13.18 CIRCULAR CUTTING G12, G13


I
Using this function, the tool starts from the center of the circle, it is rotated along the inside of the circle
and ~hen is returned to the center of the circle.

G12/G13 I i, D d, Ffi;
G12 Cw Clockwise(CW) I Circle radius
G13 C C W Counterclockwise
(CCW) D Offset number

Y When the G12 command is used


(path of tool center)
odl*2-+3d4d5j6~7
+0
When the G13 command is used
(path of tool center)
0*7-6~5~4~3*2~1
+0

rNotesl
~. Circfilar cutting is undertaken on the plane
which has been currently set by the
corresponding command (G17, G18 or G19).
2. The (+) and (–) signs for the offset amount
denote reduction and expansion,
respectively.
3. When [radius (I) – offset amount] is zero or
negative, the P223 alarm results to indicate
an error in the circular cutting radius.

1
3.3.19 CO ORDINATE READOUT G14 (This can be selected only
when the M 2 format is assigned.)

G14Xnl Ynz Zn~anq Ppl;


Using the above command, the coordinates of the axes can be read out into the desired variables #nl
through nq (nl—nl are the numbers of the local or common variables).
“a?’ denotes the additional axis.
The type of coordinate system whose coordinates are read out is designated by P.
The G14 cnmmand is unmodal and so it needs to be issued each time it is required.

pl Coordinate system I
No command Absolute coordinate system which has previously been set by the
or any number G92 command (or set zero)
except 1, 2, 3, 4
1 Basic machine coordinate system
2 Work coordinate system now in use
3 Coordinate system whose zero point is that point applying when
the TLM switch is set from OFF to ON while the machine has
stopped
4 Skip signal input coordinates (work coordinate system)

-65-
13.PROGRAM SUPPORT FUNCTIONS
13.20SPECIAL CANNED CYCLES

13.20 SPECIAL CANNED CYCLES

w
The special canned cycle commands must be used in combination with the canned cycles.
(1) Bolt hole circle (G34)

G34 X I
X, Yyj IrJOKn;
x, Y“””””” Center position of bolt hole cirelq this is affeeted by the G90/G91 commands.

I ............ Radius “r” of citdq its unit is based on the input setting unit and is provided using a positive number.
J. . ..... .. ..... Angle Oat point to be drilled initially; the counterclockwisedirection is taken to be positive.
(l%e decimal point position is in degree units 0.001 degree units apply when there is no decimal point,)

K . .... ....... Number “n” of holes to be drilled; any number of holes from 1 through 9999 can be designated; Ocan-
not be assigned. A positive number provides positioning in the counterclockwisedirection, a negative
number provides positioning in the clockwisedirection. When Ohas been designated, alarm P221 results
denoting that the number of holes for the special canned cycle is zero.

The tool starts at the point forming angle 0 with the X axis on the circumference of a circle with
radius R whose center-is the C.oordi;at= designated by X and Y, and it drills “n” number of holes
at “n” equal intervals along the circumference of that circle. The drilling data for the standard
canned cycle of the G81 or other such command is retained for the drilling operation at each hole
position.
All movements between the hole positions are conducted in the GOOmode. The data is not retained
upon completion of the G34 command.

@ample)
With 0.001 mm input setting unit 7
NOO1 G91 ;
NO02 G81 Z –10000 R5000 L O F 200 ; (LO is not required with M2 format.)
NO03 G90 G34 X200000 Y1OOOOO1100000 J 20000 K 6 ;
NO04 G80 ; ...............”.. (G81 cancel)
NO05 G90 G O X500000 Y1OOOOO;
x,=200n n = 6 holes

20”
h
Yl= 100=

v 6

Position prior to execution of GO command in NO05


G34 command d
As shown in the figure, the tool is positioned above the final hole upon completion of the G34
command. This” means that when it is to be moved to the next position, it will be necessary to
calculate the coordinates in order to issue the command or commands with incremental values, and
so it is convenient to use the absolute value mode.

-66-
13.PROGRAM SUPPORT FUNCTIONS
13.20SPECIAL CANNED CYCLES

(2) Line at angle (G35)

G35X~, YY,ld J8K n;


x, Y“””””” These assign the starting point cocndinatw, they are affcctcd by the G90/G91
,Ommand$
I ‘“..”-“-”-o- Interval “d”; its unit is based on the input setting unit and when “d” is negativq drilling proceeds
the point symmetrical direction centered on the starting point.

J ............ Angle @the counterclockwisedirection is taken to be positive. (T’hedecimal point position is in


degree units 0.001 degree units apply when there is no decimal
point.)
Number “n” of holes to be drilled including the starting point; any number of
K ““”--....””” holes fmm 1 through 9999can be assigned.
With the starting point at the position designated by X and Y, the tool drills “n” number of holes each
at interval “d” in the direction forming angle f3with the X axis. A standard canned cycle applies for the
drilling operation at each of the hole positions and so there is a need to retain beforehand the drilling data
(drilling mode and drilling data). All movements between the hole positions are conducted in the GOO
mode. The data is not retained upon completion of the G35 comma-rid.
-
With 0.001 mm input setting unit
Example
1
G91 ;
d=100m
G81 Z-1OOOO R5000 L O F1OO ;
(LO is not required with M2 format.)

G35 X200000 Y 100000 I 100000


J 30000 K 5 ;
YI=IOQ
Position prior to >
execution of G35
command
(3) Arc

G36Xx, Yy,lr J6P Af3Kn;


x, Y-””.” Center coordinates of arq they are affected by the G$O/G91commands.
I ....... .. Radius “r” of arq its unit is based on the input setting unit and is provided with a positive number
...

J .- ......... Angle 8 at the int to be drilled initially; the counterclockwisedirection is taken


to be positive, & e decimal point position is in degree unit% 0.001 degree units
apply when there is no decimal point.)
Angle interval A @when it is positivq the tool drills in the counterclockwise direction and when it i
P .. .. . ....... negative, it drills in the clockwisedirection. (I’he decimal point position is in degree unit% 0.031
d~ree units apply when there is no decimal
. point.)
Number “n” of holes to be drill% any number of holes from 1 through 9999can
K .. .... .. .... La ~-:-”n*aA

The tool starts at the point forming angle@ with the X axis on the circumference of a circle with radius
“r” whose center is the coordinates designated by X and Y, and it drills “n” number of holes aligned at
angle interval A 0. As with the bolt hole circle function, the drilling operation at each of the hole positions
is based on a standard canned cycle and so there is a need to retain the drilling data beforehand.
AN movements between the hole positions are conducted in the GOOmode. The data k not retakd upon
completion of the G36 command.

-67-
13.PROGRAM SUPPORT FUNCTIONS
13.20SPECIAL CANNED CYCLES

I&ample With 0.001 mm input setting unit


NOO1 G91 ;
NO02 G81 Z –10000 R5000 F 100 ;
NO03 G36 X300000 Y 100000I 300000J 10000
P 15000 K 6 ;
Positionprior to
meeutionof G36
command

w >
x 1= 300= d

(4) Grid (G37.1) (Command G37 applies when the M2 format is designated.)

G37Xxl Yy, IAx Pnx JAy Kny;


These aasign the starting point coordinat~ they are affected by the G$O/G91commands.
x, Y“”””””
I .. ........ .. X-axis interval Ax; the unit is based on the input setting unit; when Ax is positive the internals are
provided in the positive direction as seen from the starting point and when it is negativq they are
provided in the negative direction.
Number of holes ‘%x” in the X-axis direction; any number of holes from 1 through 9999 can be
P .. .. . . . .. . . . assigned.
Y-axis interval Ay; the unit is based on the input setting unit; when Ay is positive the intewals are
J .. .......... provided in the positive direction as seen from the starting point and when it is negative thty are
provided in the negative direction.
Number of holes “ny” in the Y-axis dirwtion; any number of holes from 1 through 9999 can be design.
K . .... .... ... ated.

With the starting point based on the position designated by X and Y, this function enables the tool to drill
the holes on the lattice with “nx” number of holes at parallel intervals of Ax to the X axis. Drilling
proceeds in the X-axis direction. The drilling operation at each of the hole positions is based on a standard
canned cycle and so there is a need to retain the drilling data (drilling mode and drilling data) beforehand.
All movements between the hole positions are conducted in the GOOmode. The data is not retained upon
completion of the G37.1 command.
\
Example
With 0.001 mm input setting unit
~ ------
G91 ;
G81 Z –10000 R5000 F 20 ; 7
------ ~
G37. 1 X300000Y – 1000001 50000P 10 r
J1OOOOOK 8 ; ~ --------- @---~
* ny=8
Positionprior to executionof
G37command holes

AX = mm
XI=300ME nx = 10 holes
. /

-68-
13.PROGRAM SUPPORT FUNCTIONS
13.21USER MACRO I

1.3.21 USER MACRO I G101-G1IO, G200-G202

These macro instructions (arithmetic and control instructions) can be used to uerform 1
arithmetic
calculations between variabks or constants and to branch decisions.
Formats
Arithmetic eommand~ G1OA Aa Bb Cc;
Control commands: G20A Aa Bb Cc;
List of arithmetic commands

G code Arithmetic calculation


1

GIO1 ~=1)
G102 a= b-t-c
G103 a=b–c
G104 a=bxc
G105 a= b/c
G106 a .~~
GI07 a=b sine
G108 a=b cos c
G109 a= arc tan b/c
G11O a =~

List of control commands

G code Function Condition


G200 Unconditional branching Unconditional branching to block with sequence number
<<>>
a
G201 \ Equivalent branching I Branching to block with sequence munber “a” if b is equal
to c
Advance to next block if b is not equal to c,
G202 Negative conditional Branching to block with sequence number “a” if b is less
branching than c
Advance to next block if b is equal to or greater than c.

N03TZ The figures are in O.Oil1°or 0.0001 inch units,

-69-
. . . .,.. . .,

14.COORDINATE SYSTEM SETTING FUNCTIONS


14.1MANUAL REFERENCE POINT RETURN

14. COORDINA~ SYSTEM SETTING


FUNCTIONS
14.1 MANUAL REFERENCE
POINT RETURN

This function enables the tool to be returned to the position (reference point) which is inherently
determined by the machine. The reference point differs according to the configuration of the machine and
so reference should be made to the instruction manual issued by the machine builder.

be indicated and the coordinate system may


~

Manual operation log-type refenmcepoint return Reference point arrival mark


node ~attem appems on CRT screen.
Referenfe 1 jnt
return

E
~OSITION]
6
x O.(XX)*l
4xis start
-x +x Y O.000*1
\l/ z
m ~
O.000*1

Iigh-sped referencepoint xetum The reference point arrival


}attern lamp on the machine operation
board mav be litited.

-z +Z
tlt
[ :~o~:~ R Me coordinate systems are
rested by the values which
Iave been set by the parametem.

Refer to the sgction on a~tom~ic


coordinate setting.

( 1 ) The first reference point return after the power has been switched on is always the dog-type reference
return.
(2) For the second and subsequent returns, however, parameters can be used to select whether dog-type
of high-speed return is to be used.
(3) For the rapid traverse rate with dog-type reference point return, a parameter can be set to the
appropriate speed corresponding to the length of the dog.

-70-
14. COORDINATE SYSTEM SETTING FUNCTIONS
14.2AUTOMATIC REFERENCE POINT RETURN

14.2 AIJTOM.ATIC REFERENCE G28, G29


POINT RETURN

This function enables the tool to be returned to the position (reference point) inherently determined by the
machine. The reference point differs according to the configuration of the machine and so reference should
be made to the instruction manual issued by the machine builder.
The initial reference point return after the NC power has been switched on uses the dog-type of return.
For the second and subsequent returns, however, parameters can be assigned to select dog-type return or
high-speed return.

G code Function
G28 Automatic reference point return
G29 Start position return (The tool first returns to the interim position of the refer-
ence point return start from the reference point, and then is positioned at the
position designated in the program.)
The G28 programming format is given below.

G28 Xxl Yyl 221 ; The tool is first positioned by rapid traverse
Return Return control axes to the position assigned for the assigned axis
command and then is moved to the reference point.

The G29 programming format is given below.

G29 Xxl Yyl Zzl ; The toolis firstmovedby rapid tmvemeto the
interimpositionwhichit passedthroughwith G28,
Return Return control axes and is thenpositionedby rapidtmver?xat the
command positionassignedby the program.

IWYrE 1. The reference point return pattern based on the dog type is the same as for manual reference
point return.

NQTE 2. The number of axes for which reference point return can be performed simultaneously
depends on the number of simultaneously controlled axes.

Nom 3. If the tool length offset function is not canceled when reference point return is conducted, it
will be canceled upon completion of reference point return, and the offset amount will be
cleared.

NOTE 4. The high-speed reference point return operation positions the tool directly at the reference
point.

Reference point
I
-x

G28

G 29
-Y

-71-
14.COORDINATE SYSTEM SETTING FUNCTIONS
14.32ND, 3RD, 4TH REFERENCE POINT RETURN

14.3 2ND 3RD 4TH REFERENCE G30


POIlkT RfiTURN

As with reference point return, this command can be used to return the tool to the positions (2nd, 3rd or
4th reference points) inherently determined by the machine. The 2nd, 3rd and 4th reference points can be
set by parameters.

G code Function
G30 P2 2nd reference point return
G30 P3 3rd reference point return
G30 P4 4th reference point return

The G30 programming format is given below.

G30 XXI Yyl 221 Ppl ; The tool is first positioned by rapid
Return Return control Return traverse to the position commanded
command axes point for the assigned axis and then is
moved to the reference point.

NOTE 1. The number of axes for which reference point return can be performed simultaneously
depends on the number of simukancously controlled axes.

NOTE 2. If the tool length offset function is not canceled when reference point return is conducted, it
will be canceled upon completion of reference point return, and the offset amount will be
cleared.

NOTE 3. If the P command is omitted, second reference point return is performed.

2nd reference point


f & R#l

Start position

-72-
14.COORDINATE SYSTEM SETTING FUNCTIONS
14.4REFERENCE POINT CHECK

14.4 REFERENCE POINT CHECK G27

If the tool positioning point is the first reference point after the tool has been positioned at the position
supplid bytheprogrm, this mmmandoutputs thereferencepoint arrival signal to the machine, aswith
the G28 command.
A machining program, which has been prepared so that the tool starts off from the first reference point
and returns to the first reference point, can be used to check whether the tool will return properly
.-. to the
first reference point.
The G27 programming format is given below.

G27 XXI YY1 221 Ppl : The tool is first positioned by rapid
Check Return control Check traverse to the position commanded
command axes no. for the assigned axis and then, if this
is the reference ~oint. the reference
point arrival si&al ii output.

P1 : Ist reference point check When the P command is omitted, the


first reference point check will result.
P2:2
P3:3
“P4 : 4

NOTIZ 1. The number of axes for which reference point check can be performed simultaneously
depends on the number of simultaneously controlled axes.

NOTE 2. An alarm results unless the tool is positioned at the reference point upon completion of the
command.

-73-
14.COORDINATE SYSTEM SETTING FUNCTIONS
14.5AUTOMATIC COORDINATE SYSTEM SETTING

14.5 AUTOMATIC COORDINATE


SYSTEM SETTING

When the tool has arrived at the reference point by means of the dog type of reference point return or the
first manual reference noint return. this function creates the coordinate svstems in accordance with the
parameters preset in tie NC system after the NC power has been switch&l on.
The coordinate systems created are given below.
1 ) G53 machine coordinate system
2 ) G54-G59 work coordinate systems
3 ) Local coordinate systems created under G54-G59 work coordinate systems
.
Machine coordinate system ~,M
(G53)

‘k9’’”*- ---
// fl
8
0 f
0 f
/
0 If
0
/ )
0 I
0 I
0

“-:’””* I

The NC parameters supply the distances from the zero point of all the G53 machine coordinate systems.
Therefore, this serves as the setting as to where the first reference point is positioned on the machine.

-74-
14.COORDINATE SYSTEM SETTING FUNCTIONS
14.6MACHINE COORDINATE SYSTEM

14.6 ~YL&IllNE CO ORDINATE G53

This is the coordinate system inherent to the machine and, as described in the previous section, it is set
automatically upon completion of the first reference point return after the pow;r has been switched on.
The programming format for the commands to move the tool to the machine coordinate system is given
below.

I G53 GOO Xxl Yyl Zzl ; I


I cbmKMlaE
Selaion
Movement End point mm’dinate ucsitiom I
I mode I

The command for movement to the G53 machine coordinate system is an unmodal command and is valid
only in the command block. Due to this command, the work coordinate selection modal is not changed
and the previous work coordinate system is displayed unchanged.

Machine coordinate system


( G53)
y

Work coordinate system 1


(G54)
WI

G53 G90 GOO XO YO ;

-75-
14.COORDINATE SYSTEM SETTING FUNCTIONS
14.7WORK COORDINATES YSTEM OFFSET

14.7 WORK COORDINATE G54 - G59


SYSTEM OFFSET

When a multiple number of workplaces with the same shape are to be machined, these commands enable
the same shape to be machined by executing the machining with the coordinates of each workpiece in a
single machining program.
Up to 6 work coordinate systems can be selected.

G code Function
G54 Work coordinate system 1 (WI)
G55 Work coordinate system 2 (W2)
G56 Work coordinate system 3 (W3)
G57 Work coordinate system 4 (W4)
G58 Work coordinate system 5 (W5)
G59 Work coordinate system 6 (W6)

The work coordinate system selection and the command format for movement to those work coordinates
are given below. -

(G90) G!54 GOO XXI Yyl 221 ;


;M&l@ CcOrdillati Movement End point
coordinate
selection values

The work coordinate positions are the distances from the zero point of the machine coordinate position.
The work coordinate zero point data can be set for each workpicce and for all axes through settings made
either from the setting and display unit or in the machining program.

Machine coordinate system tM

Work
iG55)
/ /
/0 /’
//
#/ 11
Start ,Z’ )]
\ ,0’
G90 G% GOO!’XOYO :

.,v -
N-

T
Work Vork coordinate system
3
{G57) (G56)

-76-
14.COORDINATE SYSTEM SETTING FUNCTIONS
14.8LOCAL COORDINATE SYSTEM SETTING

14.8 LOCAL COORDINATE G52


SYSTEM SETTING

This command is for assigning a coordinate system in the work coordinate system now being selected. This
enables the work coordinate system to be changed temporarily.
The local coordinate system can be selected for each work coordinate system.

G code Function
G54 G52 Local coordinate system with work coordinate system 1
G55 G52 Local coordinate system with work coordinate system 2
G56 G52 Local coordinate system with work coordinate system 3
G57 G52 Local coordinate system with work coordinate system 4
G58 G52 Local coordinate system with work coordinate system 5
G59 G52 Local coordinate system with work coordinate system 6

The work coordinate system selection and the command format for movement to those work coordinates
are given below.

(G54) G52 XXI Yyl 221 ;


work Lixal % Cc.31dimlte
value
‘xxmdinatd CcOrdhlate

The local coordinate positions are the distances from the zero point of the work coordinate positions.
This command is unmodal but the local coordinate system created by G52 is valid until the next G52
command is issued.
\

Machine coordinate system M

L1 :
.ocal coordinate system %
G54 G52

yl

J. .- -----

I
G54 coordinate system i

!
I

-77-
.,, .: .,. , ,-

14.COORDINATE SYSTEM SETTING FUNCTIONS


14.9 COORDINATE SYSTEM SETTING

14.9 :~TOTlll&NATE SYSTEM G92

This function makes it possible to create a coordinate system in the program without using the work
coordinate system function.

G92 XXI Yyl 221 ;


Cocndinate Set coordinates
Svstem settirw
When the coordinate system setting is commandtxl by G92, all the work coordinate systems from G54
through G59 based on the machine coordinate system undergo a shift. The imatinarv machine coordinate
system produced by this shift is known as the ~maginary m;chine coordinate ~ystern.
Coordinate system created by Coordinate svstem after coordinate
automatic coordinate svstem settirw system setting by G92
It

{Ji
s
======+ II I Machine
I ~~~inate ,(
New W1 system
/1

WI
3
G 92
I
Y,l
I
——-- ____
Old wl6 ,
i

Y’ I I
, Xxl
Yyl -.x 1- 1
Tool positio~ 7G92 I
command I
~ position 1.

1 ) AL the work coordinates from G54 to G j move in parallel.


2 ) There are two ways to return to its ori la] position a coordinate system which has been
moved.
a ) Dog-type reference point return
b ) Movement to machine coordinate system zero point, assignment of G92 and G53
commands in same block, and machine coordinate system setting.
G90G53GOOX0 Yo; — Positioning at machine coordinate system
zero point
G92 G53 XO YO’; Coordinate system zero setting in machine
coordinate ~stem
This returns all the work coordinates from
G54 to G59 to their original positions.

14.10 ORIGIN SET


1
Zero coordinate system settings can be made through CRT screen operation using the setting and display
unit.
This is equiva nt to the G92 XO (or YO, ZO); I ordinate system setting command.

~OSITION] ~ORK (G54)] ~ ~OSITION] WORK (G54)]


X-150.345 X-150.345 x C.B x O.000 x 0.000
C.4M
Y- 12.212 Y- 12.212 Y 0.000 Y O.000
z- 1.000 z- 1.000 z O.000 z 0.000
A- 0.000 A 0.000 A 0.000 A 0.000

When setting the axes in sequence to zero, Y and Z can be omitted, and the [C.B CAN] key pressed
continuously.

-78-
14. COORDINATE SYSTEM SETTING FUNCTIONS
14.11COUNTER SET

$4.11 COUNTER SET

The present position display can beset to zero through CRT screen operation using the setting and display
unit.
1 ) The operation is the same as that for origin set in the previous section. The ~NPUT] key is
pressed instead of the [C.B CAN] key.
2 ) The ~tXSITION] display area only is set to zero, and the other coordinate displays remain
unchanged.

14.12 PROGRAM IU3STAI?T

This function enables automatic operation to be resumed from midway through a machining program
when a tool is worn or broken during cutting in the automatic operation mode or when a cutting operation
is suspended on one day and the NC power is then switched back on the following day in order to resume
the cutting performed the day before.

Re@art type 1 Restart type 2


Machining program Machining program Another

>n~ , .DZ:D
D

An outline of the operation for program restart is given below.


1) The sequence number of the machining program, which is to be restarted, is recalled by the “restart
search” function.
@he data from the start of the program is indicated on the setting and display unit.)
2) Based on the CRT display data, the tools are changed, the spindle is controlled and other such
operations are carried out manually.
3) The tool offset amount applicable to the selected tool is then set.
4) The manual feed operation checks the paths axis by axis and provides feed to the restart position
which has been assigned by the restart search function.
5) Operation is now returned to the automatic mode and automatic operation is resumed.

14.13 COORDINATE SYSTEM FOR


ROTARY AXIS

This function provides a coordinate system ranging from O to t 3G0°when the assigned axis in automatic
operation is a rotary axis. Therefore, the display will also be in this range.

-79-
15.MACHINE ERR OR COMPENSATION
15.1BACKLASH COMPENSATION

15. MACHINE ERROR COMPENSAHON


15.1 BACKLASH COMPENSATION

This function compensates for the error (backlash) produced when the direction of the machine system is
reversed.
The amount of compensation for each axis ranges from O to A 9999 (p.dses).
The initial direction, applying when the power is switched on, can be set by parameter. (The standard
direction is” + .“ When the parameter has been set for the” +” direction, the backlash is compensated
for with the first “+” movement command.)

ls.2 MEMORY PITCH ERROR


COMPENSATION

The machine accuracy can be enhanced by compensating for the errors in the screw pitch intervals among
the mechanical errors (production errors, wear, etc.) of the feed screws.
The compensation positions and amounts are stored in the memory by setting them beforehand for each
axis, and this means that there is no need to attach dogs to the machine.
The compensation points are divided into the desired equal intervals.
1) Division intervals of compensation points: 1 to 9999999 (machine constant input unit)
2) Number of compensation points: 128* no. of controlled axes
3) Compensation amount: –128 to 127 pulses (output unit)
(1) The compensation position is set for the compensation axis whose reference point serves as the
zero (0) point. Therefore, after the NC power has been switched on and after servo ON, the
pitch error is not compensated for with an axis which has not returned to the reference point.
(2) In the case of a rotary axis, the division intervals should be selected so that a single rotation
can be divided up.
/ 1 i 1 \
+ I :
*
9
I /“
R* I

I i 1
Division ~ ~ I1 ,
interval ‘
\ J
(3) As shown in the figure above, highly individualized compensation control is exercised using the
minimum output units with linear approximation for the compensation intervals between the
compensation points.

-80-
15.MACHINE ERR OR COMPENSATION
15.3MEMORY RELATIVE POSITION ERROR COMPENSATION

15.3 MEMORY RELATIVE


POSITION ERROR
COMPENSATION

The machine precision can be enhanced by compensating for relative errors (production errors, aging, etc.)
between the machine axes.
The compensation reference axis and compensation axis are set by parameters.
The compensation points are divided into the desired equal intervals.
1) Division intervals of compensation points: 1 to 9999999 (output units)
2) Number of compensation points: 128* no. of controlled axes
3) Compensation amount: –128 to 127 pulses (detection unit)
(1) The compensation position is set for the compensation axis whose reference point serves as the
zero (0) point. Therefore, after the NC power has been switched on and after servo ON, the
relative position is not compensated for with the compensation reference and compensation
axes unless they have returned to the reference points.
(2) If the compensation reference axis is a rotary axis, the division intervals should be selected so
that a single rotation can be divided up.
(3) This compensation shifts all the coordinate systems of the compensation axis by the
compensation amount, which means that the stroke check point and machine coordinate
system will also shift.

-81-
16.PROTECTION FUNCTIONS
16.1EMERGENCY STOP

16. PROTJXXION FUNCTIONS


16.1 EMERGENCY STOP

All commands are stopped by the emergency stop function and, at the same time, the drive section is cut
off, and the movement of the machine is stopped by the dynamic brake.
During this time, the READY lamp on the setting and display unit goes off and the servo ready signal is
turned off.

16.2 STROKE END

When limit switches and dogs have been attached to the machine and a limit switch has kicked a dog, this
function stops the movement of the machine.
At the same time, the alarm output is sent to the machine.
The stroke end mode is maintained and the alarm state is released by feeding the machine in the reverse
direction in the manual mode to disengage the dog.

-82-
16.PROTECTION FUNCTIONS
16.3STORED STROKE LIMIT I

16.3 STORED STROKE LIMIT I


1
This is the stroke limit function used by the machine builder, and the area outside the set limits is the
prohibited area.
The maximum and minimum values for each axis can be set in millimeter units by parameters. The
function itself is used together with the stored stroke limit 11 function described in the following section,
and the narrow area assigned by both functions serves as the effective operation range.
The setting range is –99999.999 to +99999.999 mm.
The stored stroke limit I function is made valid not immediately after the NC power is switched on but
after reference point return.
The stored stroke limit I function will not be made valid if the maximum and minimum values are set to
the same data (except 0),

Prohibited area Point 1


9
d
&%
Machine coordinate system Points 1 and 2 are set using
the coordinates in the
machine coordinate system.

~ Machine movement effective range 8

$ :
.* .%
a
.“ a
.-
s A
2 ~
L Q
0
~ Point 2 Prohibited area
I “-” setting 9 d + ~J
setting ~
: Feed rate I
I I
: I
1
4Li--

All axes will decelerate and stop if an alarm occurs even for a single axis during automatic operation. Only
the axis for which the alarm occurs decelerate and stops during manual operation. The stop position must
be before the prohibited area.
The value of d~stance “L” between the stop position and prohibited range differs according to the feed rate
and other factors.

-83-
16.PROTECTION FUNCTIONS
16.4STORED STROKE LIMIT II

16.4 STORED STROKE LIMIT II

This is the stroke limit function which can be set by the user, and the area outside the set limits is the
prohibited area.
The maximum and minimum values for each axis can be set in millimeter units by parameters. The
function itself is used together with the stored stroke limit I function described in the aforegoing section,
and the narrow area assigned by both functions serves as the effective operation range.
The setting range is –99999.999 to +99999.999 mm.
The stored stroke limit U function will not be made valid if the maximum and minimum parameters values
are set to the same data.

Point 1
1
~-------
The values of points 3 and 4
1 Machinecoordinate \. are set with the coordinates in
I system L ‘M i
I the machine coordinate system,
J Points 1 and 2 represent the
I 1
8 I 8 prohibited range set by the
a Areaprohibited 1 I a stored stroke limit I function.
by storedstroke ! Machinemovement
~ limitfunctionII 1 effeetiverange 1 ~
~ I 2
A I 1 2
0 I
& I 2
I I A
Point 4
Point 2 ----- ---- .- - d
9I
I :t :
1 I “-” setting +:
11 ~ ~
1 setting~~
1I 1 ,4=1 Feed rate I
1
1I I
I

All axes will decelerate and stop if an alarm occurs even for a single axis during automatic operation. Only
the axis for which the alarm occurs decelerates and stops during manual operation. The stop position must
be before the prohibited area.
The value of d~stance “L” between the stop position and prohibited range differs according to the feed rate
and other factors.

I 16.5 I EXTERNAL DECELERATION I I

This function reduces the machine fed rate to a constant deceleration speed when the external
deceleration input signal is turned on.
Both “+” and “-” external deceleration input signals are available for each axis. The movement speed
changes to the deceleration speed when there is an axis whose commanded movement direction matches
the direction of the external deceleration input signal which has been turned on. When the axis returns in
the opposite direction, it will return immediately to its normal commanded sped.
The external deceleration function is valid with both automatic and manual operation. With manual
operation, control is exercised independently for each axis, and with automatic operation all axes
decelerate and stop if even one axis matches the conditions for external deceleration.

-84-
16.PROTECTION FUNCTIONS
16.6INTERLOCK

I 16.6 I INTERLOCK I I

The machine movement will decelerate and stop as soon as the interlock signal, serving as the external
input, is turned ON.
When the interlock signal is turned off, the machine starts moving again.
1) In the manual mode, only that axis for which the interlock signal is input will stop.
2) In the automatic mode, all axes will stop when the interlock signal is input to even one axis
which coincides with the moving axis.
3) Block start interlock
While the block start interlock signal ~BLS) is OFF, the execution of the next block during
automatic operation will not be started. The blocks whose execution has already commenced
are unaffected and they will be executed until the last such block. Automatic operation is not
suspended. The commands in the next block are placed on standby as valid commands, and
their execution is started as soon as the signal is set ON.

Nom 1. This signal is valid for all blocks including blocks with cycle operations created internally
using canned cycles, etc.

Nom 2. This signal (*BLS) is set ON when the power is switched on. If it is not used, there is no need
to make a program with the PLC.
4) Cutting start interlock
While the cutting start interlock signal (*CSL) is OFF, the execution of all movement
command blocks except positioning during automatic operation will not be started. The blocks
whose execution has already commenced are unaffected and they are executed until the last
such block. Automatic operation is not suspended. The commands in the next block are placed
on standby as valid commands, and their execution is started as soon as the signal is set ON.

NOTE 1! This signal is valid for all blocks including blocks created internally using canned cycles, etc.

16.7 DATA PROTECTION KEYS

Using the data protection keys, it is possible to prohibit the setting and deletion of parameters and the
editing of programs from the setting and display unit.
Key 1: For protecting the tool data and protecting the coordinate system
presetting as based on origin setting (zero)
Key 2 For protecting the user parameters and common variables
Key 3: For protecting the machining programs.

-85-
16.PROTECTION FUNCTIONS
16.8STROKE CHECK BEFORE MOVEMENT

16.8 STROKE CHECK BEFORE M300 standard G22, G23


MOVEMENT format
M 2 format G22.1, G23.1
The effective movement range (soft limit) of the machine can be set with these program commands.

G code Function
G22 Stroke check before movement ON
G23 Stroke check before movement OFF

The G22 programming format is given below.


*
G22 Xxl Yyl Zzl Iil Jjl Kkl ;
Softlimiton Point 1 coordinates Point 2 coordinates

The area inside the limits commanded by the program is the prohibited area.
When this function is used together with the stored stroke limit functions mentioned above. an area not
assigned by those functions ca~ be made to serve as the effective operation range. The setting range is from
–99999.999 to +99999.999 mm.

Point 1 (XYZ) I1

~---- ----q y;~ ‘“ordinate !


~—”—”
—”—-+-—-—-—*M-”.
,.
1. I
[ Area 1
Machine i
I prohibited I movement
I by G22 I
effective i
1
I I range
I
i
I
I
I I
1 i
1 i
&oint2
-------
(l JK)~
i*
I. +
P .... setting
“’–”
.
( 1 ) A program alarm occurs if the stroke check function is used before the movement in the appropriate
---
block.
(2) The function is effective only during automatic operation, and the prohibited range is also moved by
an interrupt when the manual absolute switch is off.
(3) In the case of stroke check before movement function I, an alarm occurs only when the end point
is in the prohibited area.
In the case of function II, an alarm results when the end point of the block is inside the prohibited
range and when a command is issued so that the tool will pass through the prohibited area even when
the end point of the block is not in that area.
However, an arc with differing radii at the start and end points is treated as a proper arc at the start
point radius. In addition, an alarm may result when the tool passes extremely close to the prohibited
area.

-86-
17.OPERA TION MODES
17.1TXPE

17. OPERATION MODES


17.1 TAPE
1
In this mod% the tape is installed in the tape reader and, by operating the automatic operation start
button, machining p;ograms can be read ou~ from the tape r~d;r and ~hen run. -

Tape Paper tape

je
Machine tool
Dm
‘$
CNC Tool
4?
#
Automatic start button
Tape
0
u
“OUQ
❑ buffer

Workpiece

17.2 MEMORY
I I
In this mode, only one of the machining programs stored in the memory cart be searched, and it can then
be run by operating the automatic operation start button.

Memory

Machine tool

CNC
w Tool

m.
@
~Q
Automatic start button Data o ~o”
Progrmns anniysi.s,
interpolntio~
al enteredia
meamy
servo control

“ @
Workpiece
r I *
I I
I 17.3 I MANUAL DATA INPUT @ IX) I
I I 1 I

In this mode, the machining programs entered as MDI data can be run by operating the automatic
operation start button.

MD1

4) m w Tool
1

o
htomatic start button 00
0

IEll @
Workpiece

-87-
17.OPERA TION MODES
17.4JOG FEED {MM/MIN)

17.4 JOG FEED (MM/MIN)


1
In this mode, the machine can be continuously moved manually by setting the axis to be moved, the
direction (“+” and “-”) switches (JOG switches) and the feed rate switch.

Jog Feed rate Override

~ ‘i’-
Machine tool
CNC
I I Tool

-,1/+
~
x
-,1,
*
Y
+
-w+
z

Iccl PLC llmvenent


control j
Manual cutting
feed

17.5 INCREMENTAL FEED

In this mode. the axis moves bv the desimated (incremental value) amount in the axis direction everv time
the jog switch is pushed once:

r1Incremental Scale factor


‘“lm
II
I CNC
Machine tool

El
o Tool

I 17.6
I

I HANDLE
-.18+
x

FEED
-\

b!) I,+ -,1,


z
+

r PLC \ ~;
i *#,
Ill
k tep feed

In this mode, the machine can be moved in very small amounts by rotating the manual pulse generator.

Handle Scale actor


Machine tool
* .l&w
CNC
Tool

‘$’z6$
“ ‘$x
Manualpulsefeed
1

I 17.7 I HANDLE FEED (3 AXES)

In the handle feed mode. individual axes can be moved in very small amounts either scmaratelv or
simultaneously by rotating the manual pulse generators installed ;n each of the axes.

Machine tool
CNC
Tool

!Z
x Y z 4 1
* ‘$/I --dY
x
Manual puk feed

-88-
17.OPERA TION M ODES
17.8MANUAL RAFID TRAVERSE

17.8 MANUAL RAPID TRAVERSE

Selection of this mode enables movement at the rapid traverse rate. Override can also be applied to the
rapid traverse rate by means of the rapid traverse override function.

Rapid traverse Rapid traveraeoverride


Machine tool
CNC
o ‘:G:2”

Rapid traverse
-;’ “i+ -;+

17.9 MANUAL REFERENCE


POINT RETURN

When this mode is selected, the tool can be returnd manually to the reference point. The first reference
point return after the NC power has been switched on uses the dog system but for second and subsequent
returns it is possible to designate by parameter whether the dog type of return or high-speed return is to
be used.
Refer to the section on manual reference point return in 15.1.

17.10 AUTOMATIC HANDLE


INTERRUPT
I 1 1 1

The handle command can interrupt and be superimposed onto a command without suspending automatic
operation and the machine can be moved by rotating the manual pulse generator during an automatic
operation (tape, memory and MDI).
If the spindle load is greatly exceeded when cutting a workpiece as per the machining program due to a
high rough cutting amount in face machining, for instance, automatic handle interrupt makes it possible
to raise the Z surface and reduce the load easily without suspending feed in the automatic operation mode.
Automatic handle feed is conducted by setting the “automatic handle interrupt” valid switch which is
provided separately from the “manual operation mode.” ‘I’he axis selection and pulse scale factor
operation are conducted as for manual handle feed.
Parameters are used to determine whether the absolute value coordinates in the machining program for
automatic operation should be rewritten.

Tool

Feed path with automatic fed and handle feed


superimposed

-89-
17.OPERA TION MODES
17.11 SIMULTmEOUS MANUAL/AUTOMATIC OPERATION

17.11 SIMULTANEOUS
MANUAL/AUTOMATIC
OPERATION

It is possible to execute a manual operation during automatic operation by simultaneously selecting the
automatic mode (tape, MDI or memo~) and the manual mode (handle, step, jog, manual reference point
return).
(Any feed can be assigned with the PLC.)
Axis selection

Autom

Separate feed rates are assigned for the automatic command axis and manual command axis. This also
applies for the acceleration/deceleration mode (rapid traverse or cutting feed).
Rapid traverse override, cutting feed override and secondary cutting feed override are valid together with
the automatic command axis and manual command axis. Override cancel is valid for the automatic
command axis.
Manual interlock is valid for the manual command axis; automatic interlock is valid for the automatic
command axis.

17.12 ~o~~AL~UMERICAL

On the ~OSITION] screen of the CRT setting and display unit, the M, S, T and B commands can easily
be executed by setting numerical values and pressing the ~NPUT] key.
This enables operations such as spindle speed changing, starting, stopping, calling and selecting assigned
tools and replacing with the spindle tools to be done easily without having to prepare or amend the
machining program. Even in a manual operation and automatic operation mode, these operations can be
conducted with block stop.
Furthermore, the operations can be conducted even on the tool offset setting and display screen so that
for manual tool length measurement the tools can be called successively to the spindle and measured very
simply without having to change the screen page.

/
789
‘L--
BB
s
T 456
Input Notti The input operation starts the exeeu-
M 123
tion of the M, S or T command.
B -o” n-

-90-
17.OPERATION M ODES
17.13HIGH-SPEED MACHINING MODE I

17.13 ~Il&iW&SfEED MACHINING G05 PI

This function enables the processing time per block of the machining program to be reduced and
microscopic segments to be machined at high speed. The capacity to control microscopic segment
commands at high speed is necessary for the machining of very intricate shapes such as those found in
die-making. A greater processing capacity for such commands makes it possible to reduce the cutting time
provided that the workplaces have an identical shape and also to accommodate the machining of more
intricate shapes provided that the cutting speed is the same,
The index denoting the processing capacity for microscopic segment commands is expressed with respect
to the GO1 cutting feed, simultaneous 3-axis and linear segment 1 mm commands in terms of the cutting
feed (how many mm/min?).
Cutting operations on ordinary planes is done with cutter compensation and other forms of tool path
compensation. However, with the 3-dimensional machining of very fine shapes, the capacity to machine
microscopic segments is enhanced by not using cutter compensation and other such commands and by
limiting the CNC systemi functions. This control mode is called the “high-speed machining mode.”

G05 PI; ------------------------------------- High-speed


machining mode
Call command ON

G05 PO; ----.-----------------------------.” High-speed


machining mode
OFF
1 I

(1) HA codes can be used without change or modification for the command format.
(2) GO1 is the basic command in the high-speed machining mode. Refer to the programming
instructions for the codes which can be uswl.
(3) There are no particular restrictions on such external operations as single block, fed hold and
override.
!iOOlG28 XO ~
!iO02 G9 I COO X-1OO. Y-1 00. : !iOOl C28 XOYO20:
NO03 G43 Z-5. H03 : W02 G91 Goo x-loo. Y-loo.:
1004 GOI F3000 : W03 G43 Z-5. H03 ;

1
!KI04 GOI F3000 : “High-speed machining
Xo. 1 : Microscopic NO05G05 POl : mode I“ ON
Xo.120.001: segment machining X().1 ;
Xo. 1 Zo. 002: commands Xo.1 Zo.001 : Microscopic segment
. . . machining commands
Xo.1 Zo.002:
Xo.I : . . .
Xo.I :
G4920 ; G05PO: I “High-s~ machining
M02; G4920: mode I’ OFF
n U02:
L
%

Nom In the high-speed machining mode for the M300 series a speed of 4.2 m/min applies without
cutter compensation added whereas a speed of 2.1 m/min applies with cutter compensation
added.
In the high-speed machining mode I for the M300-V series a speed of 4.2 m/min applies for
2 axes without cutter compensation added whereas a speed of 4.2 m/min applies with cutter
compensation added.

-91-
17.OPERATION MODES
17.14 HIGH-SPEED MACHINING MODE IB

17.14 ~I:~~S:l?EED MACHINING G05, P 1

High-speed machining with the MELDAS-300V series features a “high-sped analysis engine” which
enables the microscopic segment capability to be improved enormously. The “high-speed machining mode
IB’ is not restricted at all by machining program preparation and it achieves a two-fold (8,4 m/min)
microscopic segment capability under cmstant conditions.
[1] The extent of the machining commands up to G05 PO; represents the “high-speed machining mode
IB” function.

G code Function NOTE The microscopic segment capability


(G05 P2) (High-speed machining mode II differs between the 300M series and
ON) 300M-V series when the high-speed
G05 P1 High-speed machining mode lB machining mode is OFF.
ON (Compared with the 300M series, the
300M-V series realizes double the
G05 PO High-speed machining mode OFF
performance improvement.)

High-speed machining
G05 PI ; ‘“-””””””””””””””””””mode IB ON
G05 PO ; . ... .... .... .... .... . Hi~$s~.~ machining

(1) Although the “high-speed machining mode IB” can be operated in the computer link, tape or
memo~ mode, u%h computer link and tape mode operation and with memory operation which sets
limits on the data read speed in terms of capacity the “high-speed server operation” (on-line
operation function using the 750 kbps high-speed data communication facility of HDLC) has been
provided to offset both the complications of securing the CNC memory size and the waste of time
taken for memory entry and verification.
(2) Position errors due to the control arise at the command position and actual machine position
depending on the machining speed. Also, the higher the speed of the machining, the greater the
extent of these errors and the greater the deterioration in the machining shape accuracy.
In order to improve these points, the V series comes with “highly accurate control functions.” (See
Section 7.7)
(3) There are no particular restrictions on the “high-speed machining mode IB” function in terms of
overridq single block operation, dry run, manual pulse feed and other external operating conditions
and in terms of machining program preparation.
1 ) The G05P1; and G05PQ commands provide temporary deceleration and so they should be set
ON/OFF at a position where the tool is distanced from the work.

,.

-92-
17. OPERA TION M ODES
17.15 HIGH-SPBBD MACHINING MODE II

?4001G28XOYOZO:
NO02 G91 Goo X-1OO. Y-1oo. ;
NO03 G43 Z-5. H03 :
f4004(J)I F3000 : —,
Microscopic
Xo,I ;
Xo,I Zo.001:
segment IRMWF’?; “High-speed machining
mode IB” ON

1
machinin ~xo. l;
Xo.1 Zo.002: comman f s ~ Xo.1 Zo.001 :
. . . Microscopic segment
I \ Xo.1 Zo.002 ;
Xo. 1 ; ~.. . machining commands
G49 ZO :
M02 :
i i%5’pi;
G49 Zo :
J ;g~jiwo=hining
n !.432:

If the identical feed rate is used, 1/2 microscopic segment commands


can be processed, as shown in the above figure.

17.15 I&I:~ES~EED MACHINING G05, P2


I I
The MELDAS-300V series features several functions to achieve high speeds and high accuracies for
microscopic segment improvement. The “high-speed machining mode II” function realizes a greater
improvement in the microscopic segment capability than the “high-speed machining mode IB” function
mentioned in the last section, and it provides a fed of 33 m/min. under the conditions of the GO1 linear
command, 3 axes simultaneously and 1 mm segments.
The extent of the machining commands from G05P2; to G05 P(J repr~ents the “high-spd machining
mode D“ function.

NOTE The microscopic segment capability


differs between the 300M series and
G code Function
300M-V series when the high-speed
G05 P2 High-speed machining mode II machining mode is OFF.
ON It features an improvement equivalent
(G05 Pl) (High-speed machining mode I to 8-fold over the standard machining
ON) mode (G05PO) and 4-fold over the
G05 PO High-speed machining mode OFF “high-speed machining mode IB”
function (G05P1).

High-speed machining
605 P1 ; “....”..””-’.””””””” mode IB ON
G05 PO ; ............ ... .... . High-speed machining
mode OFF

In the “high-speed machining mode II,” only movement amount F commands based on incremental
commands and axis names are valid. A program error will result with all other commands,

-93-
,,, ,,, .,,, , ,,

17.OPERA TION MODES


17.15 HIGH-SPEED MACHINING MODE H

(1) Although the “high-speed machining mode II” can be operated in the computer link, tape or
memory mode, with computer link and tape mode operation and with memory operation which sets
limits on the data read speed in terms of capacity the “high-speed server operation” (on-line
operation function using the 750 kbps high-speed data communication facility of HDLC) has been
provided to offset both the complications of securing the CNC memory size and the waste of time
taken for memory entry and verification.
(2) Position errors due to the control arise at the command position and actual machine position
depending on the machining speed. Also, the higher the speed of the machining, the greater the
extent of these errors and the greater the deterioration in the machining shape accuracy.
In order to improve these points, the V series comes with “highly accurate control functions.” (See
Section 7.7)
(3) There are no particular restrictions on the “high-speed machining mode II” function in terms of
override, single block operation, dry run, manual pulse feed and other external operating conditions,
but machining programs are subject to some restrictions.
1 ) The G05P02; and G05PQ commands provide tempora~ deceleration and so they should be set
ON/OFF at a position where the tool is distanced from the work.
2 ) Speed clamping is limited not by the usual vector speed judgment but by the minimum value
of the clamp speed for the assigned axis. This means that when the speed clamp parameter
values differ greatly between the axes, the speixl will be limited to a value which is lower than
normal operation.

?iOolG28 Xo Yo 20:
S002 G91 COO X-1OO. Y-iOO. : NOO1 C28 XO YO ZO :
{003 G43 Z-5. H03 : XO02 G91 COO X-1OO. Y-100. :
YOM GO1 F3000 : XO03 G43 Z-i 1103 :
Microscopic N104 COl F3000 :
“High-:pced
Xo.I ; segment \O05 G05P02 ; ~ ~&~~goN
Xo.1 Zo.001: machinin Xo.1 :
Xo.120.002: comman f s Xo. 120.001 : Microscopic segment
. . . Xo.1 20.002 : machining command:
Xo.1 : 1 . . .
Xo.1 ; “High-speed
G05Po : 1
G4920 ; machining
M12; G4920 ; mode II” OFF
% \io2 :
%

If the identifical feed rate is used, 1/8 micr~scopic segment


commands can be processed, as shown in the figure above.

-94-
17.OPERA TION MODES
17.15 HIGH-SPEED MACHINING’ MODE 11

General capabilities in high-speed machining modes

Microscopic segment capability


High-speed - Restrictions on program-
machining Withoutcuttercompensation Withcuttercompensation ming, operation
mode (incrementalGOl,simultaneous3 (incrementalml, simultaneous2 (feed hold, override, etc.)
ax% 1 mm) ax% 1 mm)
I M3W 4.2 m/min 2.1 mlmin None
M300-V 4.2 mjmin 4.2 mjmin None
m 8.4 mlmin 8.4 mhnin None
(wheninterferencechwk is invalid)
11 33.7 mlmin Not possible Axisnamg movementamountand
F commandsonlycanbe assigned
h incremental(N1 mode.
Otherwi~ an error results.

Km-E The specifications of the high-speed machining modes are in no way identical for the M300
series and M300-V series. Refer to the respective programming manuals of the series.

,:

-95-
18.EXTERNAL CONTROL FUNCTIONS
18.1CONTROL POWER SUPPLY ON/OFF

18. EXTERNAL CONTROL FUNC’I’IONS


Depending on the control input signal supplied txtemally, the CNC system features various forms of
control.
A diagram showing the general transition of statuses in the system is given below.

Power OFF status

t
Not ready status Machine ready standby Ready down
(emergency stop)
I
I I
NC ready Factor release 3 Emergency stop
@I 4I 4
I
L.. Emergency
Ready status I stop factor

----- ~——-—. -—— —---- ----- .


i In automatic operation ~

Ihput L–-----------l
l_CK’1’_O~eYafio%
- -”~

I
I
L ---- -——- -—-—— ----- ---- —--- -. --= ---
operations]

Diagram showing correlation between operating statuses

18.1 ::~~~FOL POWER SUPPLY

The NC power can be switched on and off by external input signals.

-96-
18.EXTERNAL CONTROL FUNCTIONS
18.2NC RESET 1

18.2 NC RESET 1

The NC unit is reset by supplying the NC reset 1 signal.


1) G command medals are retained.
2) Tool length/cutter compensation is retained.
3) During memory operation, the tape is rewound to the head block of the main program.
4) Errors and alarms are reset.
5) M, S and T code outputs are retained.
6) The M independent output is set OFF.
7) Axis movement is stopped.
8) The in-reset signal is output.

I 18.3 \NC RESET 2 I I

The NC unit is reset by supplying the NC reset 2 signal.


1) G command moclals are initialized.
2) Tool length/tool radius compensation is canceled (no compensation operations).
3) During memory operation, the tape position is retained.
4) Errors and alarms are reset.
5) M, S and T code outputs are retained.
6) The M ind~endent output is set OFF.
7) Axis movement is stopped.
8) The in-reset signal is output.

18.4 :4::TMATIC OPERATION

This is the restart signal which is effective during pause or operation start of the tape, memory or MDI
machining program, and its execution is commenced when it changes from ON to OFF.

Automatic operation start (ST)

Movement block ~
GOIXIOO. SO

-97-
18.EXTERNAL CONTROL FUNCTIONS
18.5FEED HOLD

18.5 FEED HOLD

When the feed hold signal is set ON during execution in an automatic operation mode (tape, memory or
MDI), the machine feed is immediately decelerated and stoppcxl. The machine is started again by the
“automatic operation start (cycle start)” signal.
1) When the feed hold mode is established during automatic start, the machine feed is stopped
immediately, but the M, S, T and B commands are still executed as programmed.
2) When the mode is switched during automatic operation to manual operation (jog feed, handle
feed or incremental feed), the feed hold stop mode is stopped.
3) An interrupt operation, based on manual operation (jog feed, handle feed or incremental feed)
can be executed during feed hold.

Automatic operation start

)
Feed hold /

Axis movement mode 1 ?

18.6 SINGLE BLOCK

The commands for tape, memory or MDI operation can be executed one block at a time by turning ON
the single block input signal. When the single block input signal is turned ON temporarily during
continuous operation, the machine will stop after that block has been execut cd.
When operation is switched to another automatic operation mode (tape, memory or MDI) during
continuous operation, the machine will stop after that block has been executed.
The single block signal is valid in the state established after a single block has bem executed.

Single block (SBK)


~~

Automatic
)
operation I
start (ST)
11
Movement
block GO1Z1OO... $Lkk..!’L

Q Q Q
SBK ON at start SBK change SBK ON after
INVALID during movement block completion
VALID VALID

-98-
18.EXTERNAL CONTROL FUNCTIONS
18.7DRY RUN

18.7 DRY RUN

F code feed commands based on the tape, memory or MDI mode can be switched to the manual feed rate
data of the machine operation board by turning ON the dq run input signal.

Command Manual rapid traverse Manual rapid traverse


selector switch OFF selector switch ON
GOO,G27, G28, G29, G30, G60 Manual feed rate Rapid traverse rate
GOI, G02, G03 Manual feed rate Cutting clamp speed

18.8 MXRRO R IMAGE

A shape which is symmetrical with the originally machined workpiece can be cut by reversing the sign of
the coordinate command value in the machinimz momam which is executed in one of the automatic
-.”

operation modes (tape, memory or MDI).

X-axis mirror Mirror image


image ON ~ OFF

[-, Y-axis I Y-axis mirror


lirror image ON image ON

+AY Y-axis mirrorimage


-AY I applied
-FYI
‘7 Path nfter mirror image ON
( II
[L *
.-----
-Y1 ~

r Tool does not come


to this point.

-“99 -
18.EXTERNAL CONTROL FUNCTIONS
18.9MANUAL ABSOLUTE SELECTION

I
18.9
I
MANUAL
SELECTION
ABSOLUTE
I
I I
I
The program coordinates are updated by an amount equivalent to the distance by which the tool is moved
by hand when the manual absolute selection input signal is turned ON.
In other words, the coordinate system based on the original
--- mom-am will not shift even if the tool
(machine) is moved by hand. -
/ >

r x
Programmed path

w
1 Feed hold stop (absolute value command)

Manual interrupt
.~gmrnrn~ mo~inat.~.t..i.
updatedby an amountequivalentto
.— — A \ traveledvalue.)
Start after manual interrupt
i
\
Tool passes along same path as that programmed.

I
-Y
With manual absolute switch ON

+-- w ‘T x

1+ c
Manual interrupt
r- ‘
1
(Programmed coordinate
system is not updated.)
Start after manual interrupt
. -l

iI Path is shifted by amount equivalent to manual


-Y interrupt value.
(Zero point moves.)
With manual absolute switch OFF

-mo-
18.EXTERNAL CONTROL FUNCTIONS
18.10MACHINE LOCK FOR ALL AXES

18.10 MASCSHINE LOCK FOR ALL

NC operation can be executed with the machine in the servo lock status when the machine lock input
signal is turned ON.
The feed rate in the machine lock status can be selected by parameter to high speed or command speed.
The M, S, T and B commands are executed as usual and operation is completed by returning the FIN
signal.
1 ) Reference point return (manual, G28, G29, G30) is controlled as far as the interim point in the
machine lock status but control is ignored up to the reference point.
2 ) Machine lock is effective in the signal status applying when the axis has stopped.

AI1 axis machine


I
&i!!jg
lock
old B
@J OFF
/
[_

Tool does not move. display is counted.

1
18.11 kO&HINE LOICK FOR EACH

This function enables the above-mentioned machine lock control function to be exercised independently
for each axis.

18.X2 Z-MIS COMMAND CANCEL

The axis, which has been set by parameter, is set to the machine lock status when the ihxis cancel switch
is set ON. However, this is effective only for automatic operation. It is used with machine lock for each
axis (automatic machine lock for Z axis).

2%uris cancel z)
Z-axis cancel
ON I
r -- 1
& I
OFF ~
! i- —-* —-.
L.-1 Actual command
m

Time

-101-
,. ~,
!,

18. EXTERNAL CONTROL FUNCTIONS


18.13DISPZ.AY LOCK

18.13 DISPLAY LOCK

The updating of the position display data during operation is locked when the display lock signal is turned
ON.

3 u
Display lock
X123. 456
ON Y234. 567

& Z 45. 678


OFF

Present position display is


not counted.

18.14 RESET & REWIND I


This function enables the CNC system to be reset and either the head of the machining program being run
to be called in the memory operation mode or the tape to be rewound if the tape reader is equipped with
reels in the tape operation mode.
1) G command medals are initialized.
2) Tool length/cutter compensation is canceled (no compensation operations).
3) Errors and alarms are reset.
4) M, S and T code outputs are retained.
5) M independent output
6) A control axis moving is decelerated and stopped.

-102-
19.STATUS OUTPUT FUNCTIONS
19.1NC OPERATION READY OUTPUT

19. STA~S (XJTl?ll’1’ FUNCTIONS


19.1
FTC K311?ERA.TION R?3%DY
OUTPUT

When the NC power is switched on and the operation ready status is established, the “ready” signal is
output to the machine.
Refer to the PLC Interface Instruction Manual for details of the sequences from when the NC power is
supplied to when the NC ready status is established.
I I I 1

When the NC power is switched on and the servo system is ready to operate, the “servo ready” signal is
output to the machine.
Refer to the PLC Interface Instruction Manual for details of the sequences from when the power is
supplied to when the “servo ready” signal is turned C)N.

19.3 ~N!’&#&MATIC OPERATION

The signal that denotes the automatic operation status is output from the time when the automatic start
button is pressed in the tape or memory mode and automatic operation is started until the reset mode is
established.
1 1 1 1

‘I’hesignal that denotes that the NC is operating in the automatic mode is output from the time when the
automatic start button is pressed in the tape, memory or MDI mode and the automatic start status has
been established until the time when the automatic operation is terminated in the form of automatic pause
established by the feed hold function or block completion stop established by the block stop function.

1%5 ~N6$~~~MAT1C I?AKR$E

This signal denotes that the machine movement control is in the pause state, and it is output when the
machine stops midway at the block of the command program, to which the feed hold or other such signal
has been supplied during automatic start.

The “in-rapid traverse” signal is output when the command now being executed is moving an axis by rapid
traverse.

-103-
19.STATUS OUTPUT FUNCTIONS
19.7IN-CUTTING FEED OUTPUT

19.7 IN-CUTTING FEED OUTPUT

The “in-cutting fed” signal is output when the command now being executed is moving an axis by cutting
feed.

I 19.8 I IN-TAPPING OUTPUT


I I

The “in-tapping” signal is output when the command now being executed is in a tap modal which means
that one of the statuses below is established.
1 ) G84 (canned cycle tapping cycle)
2 ) G74 (canned cycle reverse tapping cycle)
3 ) G63 (tapping mode)

19.9 IN-REWINDING OUTPUT

The “in-rewinding” signal is output when the paper tape reader provided with tape handler is in the rewind
status.
1 ) Tape rewinding by the M30 or other such command during tape operation
2 ) In-rewinding after end code (EOR: %) detection during sequence number search on the tape
3 ) The signal is output for half a second after the reset & rewind signal has been input during
memory operation.

19.10 AXIS SELECTION OUTPUT

The “axis selection output” signal for each axis is output while the movement of the machine is being
controlled.
1) Automatic mode
The signal is output in the movement command of each axis. It is output until the machine
stops during stop based on feed hold or block stop.
2) Manual mode (including incremental feed)
The signal is output while the axis is moving from the time when the jog feed signal is turned
on unfil the time when it is turned off and ~he machine feed stem..
3) Handle fcml mode
The signal is output at all times when the axis selection input is on.
The signal is not output for the machine lock axis.

19.11 AXIS MOVEMENT


DIRECTION

This output signal denotes the direction of the axis now moving, and for each axis a” +” (plus) signal and
a “-” (minus) signal are output respectively.

-1o4-
19. STATUS OUTPUT FUNCTIONS
W. 12 NC ALARM

19.12 NC ALARM

This signal indicates the various alarm statuses that arise during NC operation. It is divided into the
following types and output.
1) System errors
2) Servo alarms
3) Program errors
4) Operation errors

I 19.13 I IN-RESETTING OUTPUT I I

This “reset” signal is output in the reset command status which is established either by the “reset” input
signal from the machine operation board or by the reset button on the NC setting and display unit.
The signal is output even when the MA (controller ready) and SA (servo ready) signals are off.

19.14 MOVEMENT COMMAND


FINISH OUTPUT

In the tape, memory or MDI automatic operation mode, the “movement command finish” signal is output
when the command block in the machining program features a movement command and when that
movement command has been completed.
When the movement command and M, S, T or B command have been assigned in the same block, then
the movement command signal can be used as a sync signal for either executing the processing of the M,
S, T or B signal at the same time as the command or executing it upon completion of the movement
command.

-105-
20.MEASUREMENT SUPPORT FUNCTIONS
20.1iUANUXL. TOOL LENGTH MEAS U.EMENT

20. MEASUREMENT SUPPORT FUNCTIONS


20.1 MANUAL TOOL LENGTH
MEASUREMENT

Reference point
( 1 ) Tool length measurement I
When the tool is at the reference
point, this function enables the
1, 1
distance from the tool nose to the
measurement point (top of Id
workpiece) to be measured and set as
the tool offset data.

~~=:=mount
+T4
(t&l length offset d~ta)

The type of measurement is indic-


ated on the 14-inch CRT screen by
graphics.
*

m
I 6
7
E.m 8.88B
B.8E8 8.BEB
6.888 8.88
8.888 8.88i
F
u
I TLnz[
7 I
II
12
8.LME tlBBa
6.E8B B.EBB
6.6666.68
8.680 8.88i

OFFSETI TM REGIST LIFE (ORK WIRK-ti ROTtlTE-H tiENU

Reference point
(2) Tool length measurement II
When the tool is positioned at the
reference point, this function enables
the distance from the reference point
to the tool nose to be measured and
set as the tool offset data. ++’7?ky (Internally
calculated

f
I
1
Gauge
block I1
Reference height #O = OC
L1
Table

-106-
MEASUREMENT
20. SUPPORT FUNCTIONS
20.2AUTOMATIC TOOL LENGTH MEASUREMENT

20.2 AUTOMATIC TOOL LENGTH M 300 standard


MEASIJREM ENT
~

1 ) Type 1
This function moves the tool nose to the tool measurement position by means of the program
command, it stops the tool as soon as it arrives at the measurement point and cancels the remaining
commands. At the same time, it calculates the difference between the position when the G37
command is issued and the coordinate values when the tool has arrived at the measurement position,
it adds this difference to the tool length compensation amount for that tool, and this amount is then
used as the new tool length compen-sation amount.

I G37 221
Meamment Gmunand
Rrl
Deceleration
Ddl
Meamrement
Ffl
Feed rate
;
I
--
Tool change position

-4P------
At this time, the tool length

+7-
-’-. --- Reference point compensation amount has a minus
I (“-”) value.
Example of program
Tool : Amount of movement
I based on tool length
I G26 20 ;
t measurement
TO1 ;
M06 T02 ;
I
I
G43 GOO Z O HOI ;
1 I
G37 2–300. RIO. D2. FIO ;
t
.+------
L’_-F-J
I
}-’ ;----’--- } Tool length
measurement point
.
LT4-. +
~11
Ill I*
In this case, the distance (HOI = Zal
- zO) from the tool TO1 nose to the
top of the measurement sensor is
calculated as the tool length
compensation amount which is then
entered in the tool compensation table.

— Start point
When the tool heads from the start noint to the’
measurement point designated by Z~ of G37, the tool
moves through area A by rapid traverse. It is also
moved from the position designated by R at the
measurement speed set by the F command or ;
parameter. An error will result if the measurement
position arrival signal is ON while the tool is moving
through area B. An error also results if this sigma] is
not ON even when the measurement point (z1) is pas-
d, sed through and it is moved by dl.
Measurement
d, point (~)

1-

! ) Type 2
When the tool is positioned at the reference point, this function enables the distance from the
reference point to the tool nose to be measured and it enables the tool length to be measured when
that distance is used as the tool length compensation amount.

-107-
20.MEA5’ UREMENT S UPP (3RT FUNCTIONS
20.3SKIP FUNCTION

20.3 SKIP FUNCTION G31

When the external skip signal is input during linear interpolation with the G31 command, the machine
feed is stopped immediately, the remaining distance is discarded and the commands in the next block are
exalted.

I G31 XXI YY1 Zzl Ffl: I


I bfamr-
-—..
Command values Feed rate I
1 t
.

Feed rate Skip signal input


I
‘-----~ Programmed
t end point
Start point
1

Remaining
Actual movement distance distance
Command value
4 *

There are two types of skip feed rate.


( 1 ) Feed rate based on program command when F command is present in program
(2) Feed rate based on parameter setting when F command is not present in program

NOTE The approximate coasting distance up to feed stop based on the detection delay in the skip signal
input is calculated as below.

d: Coasting distance (mm)


(3 =:X T P’+;Xt F: G31 speed (mm/min)
TP : Positionloop timeconstant(see)= @ositionloopgain~’
r?
=~X (Tp+t) t: Response delay time of 0.008 (SW)

,,:

-108-
20.MEASUREMENT SUPPORT FUNCTIONS
20.4MULTI-STEP SKIP FUNCTION

20.4 MULTI-STEP SKIP G31.1, G31.2, G31.3


FUNCTION

This function differentiates external skip signals 1, 2 and 3 during linear interpolation based on the skip
commands (G31.1, G31.2, G31.3), and it provides skipping under the various conditions.
The correspondence between the skip signals and G commands is set by parameter.

G31. 1 ~xl YY1 Zzl Ffl;


Skip Command Feed
command values m te

Feed rate Skip signal input


+_..—--~ pro~ammd

Start point ~ end point

Remaining
Actual movement distance
distance
/~ 4 w
Command value
4 +

There are two types of skip feed rate.


( 1 ) Fed rate based on program command when F command is present in program
(2) Feed rate based on parameter setting when F command is not present in program

-109-
21.AXIS CONTROL FUNCTIONS
21.1SERVO OFF

21. AXIS CONTROL FUNCTIONS


21.1 SERVO OFF

The servo OFF input signal (for each axis) cuts off the drive section of the corresponding axis.
When the moving axis is mechanically clamped, this function is designed to prevent the servo motor from
being overloaded by the clamping force.
Even if the motor shaft should move for some reason or other in the servo OFF stat% selection as to
whether the movement amount is to be compensated for or not in the next servo ON state can be made
by parameter.
In the servo OFF state, the axis is simultaneously set to the interlock state.

21.2 MECHANICAL HANDLE

When the servo OFF axis has been moved by the mechanical handle, the position data is read at all times,
the machine position is updated and playback is enabled.

I 213 I FOLLOW-UP FUNCTION I I

This function monitors the movement of the machine in the emergency stop state and reflects the
movement at the present position, machine position coordinates and work coordinates.
Consequently, the machining program can be continued even without rc+mating reference point return
after emergency stop.

-110-
21.AXIS CONTROL FUNCTIONS
21.4AXIS REMOVAL

21.4 AXIS REMOVAL

The axis removal signal enables the control axis to be freed from control. Conversely, an axis which has
been freed from control can be returned to the control status.
This function enables the rotary table or attachments to be removed and replaced. It can also be used to
couple the spindle to the feed motor for NC axis control or couple the spindle to the spindle motor and
free the feed motor from control.
Automatic o~eration
. is disabled until the axis for which the axis removal command has been released
compIetes its dog-type reference point return.

4-)
The iir.ure shows the
configuration of a machine
which provides C-axis/turning

Rotary magnescale
G!!!is5is’turning (Position feedback)
table switching. When the
spindle motor is coupled, the
C axis is removed. Due to
this, the position feedback of
I the detector is ignored.

POSITION
X 123.456 S 123 The in-removal status s < is indicated on the
right of the present value counter on the present
z O.000# 1 T 1212
value screen and at the same time the servo delay
C 345.678 ) ( M 3 for the NC output signal is set low (to zero). The
FC 0.00 present value counter retains the value applying
NO1 G28XY; S rpm 320 when removal was assigned.
N02 GOOX1OO.;
N03 G01Y200.;

POSITION 1COORDINATE
ICOMMAND1 SIUiRCH MENU
J

-111-
21.AXIS CONTROL FUNCTIONS
21.5SYNCHRONOUS CONTROL

21.5 SYNCHRONOUS CONTROL

In a largekwd machine tool such as a 5-face cutting machine which drives a single axis with two servo
motors, synchronous control refers to the control of the two servo motors using the movement command
for 1 axis.
Since axis names are set for each semo motor, upper-case and lower-case characters for the same addresses
are set as the names of the two axes to be synchronized. The axis set with upper-case characters is called
the master axis and the axis set by the lower-case characters is called the slave axis. Normally,
synchronized axis control is exercised by the movement command for the master axis only.
( 1 ) Two control modes are available for the synchronous control axes, as below.
1 ) Synchronous mode control
In normal machining program operations, this provides position control while errors in
synchronization between the two motors are monitored.
2 ) Modified mode control
Manual handle feed control is possible for each axis so as to adjust the balance between the
master and slave axes during the machine adjustments.
(2) During synchronous control, a function is provided to check constantly the relationship between the
positions of the master and slave axes and to stop the feed immediately when the “allowable
synchronous error” set by parameter is exceeded.
(3) When the first reference point return command is assigned after the power has been switched on, the
machine balance is provided by exercising control independently with an amount equivalent to the
zero point shift which is set for the master and slave axes.

(mas e)

fiample of machine with W and w synchronized axes

CNC system

Axis motor

Machining
x Normal axis control Sewo control ❑
program
Y Normal axis control Servo control l-q

z Normal fixis control Sewo control lq

w Synchronous mntrol
Servo control
I

NC main control aeetion Position control section
. Calculation of movcrnent . Reference point return
direction$ movement amounts . Backlash compensation
. Calculation of feed rates . Pitch error compensation
. Interpolation processing

-112-
21.AXIS CONTROL FUNCTIONS
21.6CHOPPING FUNCTION

I 21.6 I CHOPPING FUNCTION

While a profile program is being executed, the chopping function serves to constantly move the chopping
axis perpendicularly and independently from the programmed operation.

ece

( 1 ) Chopping operation

The chopping operation is started by


setting the top and bottom dead point
positions and number of cycles (number Start stop
of perpendicular motions per. mlnUte) Reference
and by pressing the chopping start position
switch. Rapid traverse Rapid
Top dead - traverse
Nom Reference should be made
to the Instruction Manual point
issued by the machine tool . ----
builder for details on the Bottom d~d
settings for the top and point &d .—
bottom dead point
positions and number of
cycles and on the chopping
start command in the
machining program.
The actual chopping operation is as follows:
1 ) Movement proceeds at rapid traverse from the reference position to the top dead point.
2 ) Movement from the top dead point to the bottom dead point and from the bottom dead point to the
top dead point is then repeated.
The feed rate is set to correspond to the number of cycles for which the perpendicular has been set.
(2) Chopping Stop
The chopping operation is canceled by pressing the chopping start switch.
(3) Chopping Override
Override in 1% increments from O% to 1009%can be applied to the chopping operation.
NOTE Bear in mind that the override increments vary according to the machine specifications.
(4) Parameter Changes During Chopping
The top and bottom dead point positions and number of cycles can be changed during the chopping
operation.

-113-
21.AXIS CONTROL FUNCTIONS
21.6CHOPPING FUNCTION

(5) Compensation for Servo Delay


When the chopping operation is conducted at high speed, the actual grindstone will not arrive at the
assigned bottom dead point due to servo delay and a delay in the acceleration/deceleration. This function,
however, compensates for any errors caused by the servo delay and a delay in the acceleration/deceleration
to enable the grindstone to reach the assigned bottom dead point. (The number of cycles is not changed
through this compensation.)
Compensation is provided gradually after chopping starts, and when the error between the assigned
bottom dead point position and grindstone position falls below the parameter setting, the compensation
value is no longer updated and chopping continues with the value applying at that time.

,,.

-114-
22. TAPE MEMORY FUNCTIONS
22.1TAPE MEMOR Y FUNCTIONS

22. TAPE MEMORY FUNCTIONS


I 221 I TAPE MEMORY FUNCTIONS
I I

( 1 ) Data input
1) Machining programs, tool data and parameter data can be input.
2) After the data has bcxn input, the input data and memory data can be checked using the
compare function.
3) The connection port number of the input device and data transfer rate are assigned by
parameter.
TDFil%INPUT] lN/OLITI
~T 1 1N/OUT I <LoCK>
<LOCK> # I fl~
IN PROGRNI ABC III PORT NO. 2
I 1 IWIN PROGRQtlABC ’11I PORT NO. B r 2 TOOL OflTA III !L12OEVICE NO- B
t 2 T004 DATA ~iJ 112 DEVICE NO. 0
it3 PARAMETER 1 3 PARAHETER
<oEvICE> 3.5
<DEVICE> <Bfjul)
f/ATE>4800
t10 rlODE <BAUD RATE> 4g0i II
10 IIOOE
1: IN _
~NpmTA,2:c0mp <INPUT DOTA>

1’
CODP. DATA>

1( ) DATA(
RAPID
r
COtlP
- OATA>

IIEIIORY
FllF FllF
The 1S0 and HA codes in the input
data an? automatically identified.
(2) Data output

1 ) Machining programs, tool data and parameter data can be output.


2 ) The corm-a-tio~ port number of th; output device, data tran;fer rate and data codes are
assigned by parameter.
3 ) Any program in the memory or all the programs in the memory can be output as the machining
program data.
TOATR OulI-Ill
1 IN/OUT 2
<LocK>
U I tlAINPROGRiYlABC III PORT NO. B
n 2 TOOL DATA III 112 DEVICE NO. D
1 3 PARAMETER
<DEVICE>
<BAIJORATE> 4&i
<lSO/EIA> 1s0
<TITLE FEEO> 13 E E EE E
% (30~23( )0~1...OMIj2(j020° I)-() %
<WTPUT DATfl> + B B BB B &

Fmtrmcldrring
program Secondand
Drm.
L Reference code subsequent end
B( ) DATA( )( ) nmchinbtg co&
Ravind stop code pro#rmns
(none with tit
program
assignment )

(3) Input and output device parameter setting


1) The connection port numbers and connected devices can be set by the application of the input
and output devices.
1/0 devices are used for a) data input, b) data output, c) NC operation, d) macro printing, e)
PLC 1/0 and f) computer link functions.
2) Up to 5 sets of specifications for devices at hand used for 1/0 devices can be set.
The dewice name code, baud rate, stop bit, parity valid, even parity, character length,
terminator code and type, rewind code, handshake system, DC code and other parameters are
set.
3) Output code assignment (setting of special codes for EL4 code output)
Although 1S0 is used as the standard code for 1/0 data, EIA code output can also be assigned.
A number of special codes must be defined for converting 1S0 codes into EIA codes.

-115-
22. TAPE MEMORY FUNCTIONS
22.1T~E MEMORY FUNCTIONS

,.. -
(4) Yrogram erasing
IN/OUT3
~“~~ ‘s” I 1 ) Machining programs can be erased individually.
1 I llf31N
PROGFWI R
1@00~~~9999;;$
12 B 8000-- 899?
#3 c 9000-- 999: 2 ) Programs are classified into A, B and C, and their
1 4 FIXED CYCLE
numbers are matched with the classification code
and erased.

1( ) DATA(
_SK mm INC G4L3G5~ RAPID
FllF

1 ) This function displays a list of the machining


programs stored (entered) in the CNC system
memory.

2 ) The programs are displayed in ascending order.

3 ) Comments can be entered in the setting area for


corresponding program numbers.
1llmhw
Stmlitwlili! m“ IN

(6) Program copying


lN/OUT 5 1 ) Machining programs stored in the CNC memory
n I COPY can be copied, condensed or merged.
; ; CD4~NSE

t 4 PROGRM NO. CHANGE


2 ) The number of the machining programs in the
memo~ can be changed.

U( ) 0( )
RAPIO
PAR(W’I

-116-
22. TAPE MEMORY FUNCTIONS
22.2PROGRAM EDITING FVNCTIONS

222 PROGRAM EDITING


FUNCTIONS

The following 3 types of machining program data can be edited.


1 ) MD1 programx These are machining programs which are cxecutcd with automatic start in the
MDI mode. Multiple numbers of blocks even in MDI machining programs
can be assigned.
2 ) Main (sub) programs entered in memory: These are machining programs (main) which are
executed with automatic start in the memory
mode, and programs which are called as
subprograms from the memory, tape or MDI
mode.
3 ) Canned cycle subprogram These are machining programs (sub) which are called when
canned cycles or special canned cycles are executed during
memory, tape or MDI operation. (These programs can be
revised only during parameter setting.)
A breakdown of the editing operations for preparing and revising MDI and memory (main, sub) programs
is given below.
1 ) MDI programs: MDI program preparation, revision
Entry into MDI program memory
2 ) Memory programs
(Canned cycle
subprograms) Block number assignment and call
‘atas*rch::Ern;;c:ll
Program preparation New number preparation
_ Revision of existing program data
I Display of entered files
Machining programs are revised through combinations of the following operations. The editing operation
method is commonly referred to as the screen editor.
Editing operations Data scrolling Screen scrolling
(selection of screen display data) Line-by-line scrolling
Cursor movement Horizontal movement
(assignment of revised data Vertical movement
position)
Data rewriting
(data revised by overwriting)
Data insertion
(data interrupt adding)

,:’ ‘?-~~zz~~n
(execution of memory revisions)
The data adding, revising and deleting operations change only the data on the CRT setting and display
unit screen; the data in the CNC memory remains unchanged. Press the INPUT key to revise the data in
the CNC memo~. When the displayed data is changed by data scrolling or any other such operation
before the input operation, a return will be made to the original data.

-117-
22. TAPE MEMORY FUNCTIONS
22.3BACKGROUND EDITING

22.3 I BACKGROUND EDITING

This function enables one program to be prepared or edited while another program is being run,
Prohibited

e o 100i)

4
02000

4
03000

040ca

1 Program editing ,
3 -

-
. Machining with memory oueration .

1 ) The data of the machining programs being used in memory operation can be displayed and
scrolled on the CRT setting and display unit, but data cannot be added, revised or deleted.
2 ) The editing functions mentioned in the preceding section can be used at any time for machining
programs which are not being used fo; memofi operation. This makes ii possible to prepar;
and edit the next program for machining, and so the machining preparations can be made more
efficiently.

E224 ADDITIONAL
MEMORY
PROGRAM
CAPACITY

Tape Tape 330M-V


320M 330M 330HM 335M 320M-V 330HM-
length length 335M-V
{
120(40)101–1–1–1 1 20 ( 40)1 Iol–1 I
40m( 64) A — — — 40m( 64) A –
80m(128) A o 0 ,0 80m( 128) A o
160m(200) A A A ‘A 160m( 200) A A
300m(400) I * ~~’1I A 1
A 1
A 320m( 400) A A
t 600m(400) I — I A I A I A I 600m( 400)1 1- IAI I
1200m(400) — A A A
2500m(400) — A A A
I 5000m(400) I – I A I A llLNote21

Indicated in the parenthm.s is the


number of programs which can be entered.
Note 1: This does not apply when the
APLC specifications have been added.
Note 2:4500 m

-118-
23. SETTING AND DISPLAY FUNCTIONS
23.1SETTING AND DISPLAY UNIT

23. Slzrmw AP’a’DDISPLAY mcncms


23.1 SETTING AND DISPLAY
UNIT

The setting and display unit is composed of a CRT character graphic display, flat key switches and menu
key switches. A buzzer sounds whenever the key switches are pressed for aural confirmation over and
above the visual confirmation of the operation. The Chinese character (kanji) display is standard and so
it is easy to identify the display contents. Funckim
CRT di$pk~ Keys selector keys Alphmrumeriq symbol keys

“~

!EIEEIEmEII

I Id& I
Brightness control
P Menu selector keys
i
Pm-e
k.ys
R-
key
I I Data
cmmaiorl f
CursOr ksv
movement -
11
W

(%%%0.)
key

kqs

EMerior of 9-inch CRT setting and display unit (M320M/M330M)


Alpbs
CRT dispkty sym!ro y.s Rew key
Rmdion
Mwtor kqs Shift key
I Ready LED I
. +- +

IKITSUBISHICNC

b + -+-
(
Cakulstion
ky
Brightnesswnt ml Menu selector keys Page keys Cursor movement Input 1
k~s k~

Wmior of 14-inch CRT setting and display unit (M330HM/M335M)

-119-
23. SETTING AND DISPLAY FUNCTIONS
23.2SETTINGS AND DISPLAYS

23.2 SETTINGS AND DISPLAYS

(1) MONITOR
Position displays (present position, remaining distancq work coordinate system position)
Display of block being executed, modal display
Variable data
Program search, collation stop
(2) TOOL/PARAMETER
Tool offset settings and display
Tool life monitoring
Operation, workpiece and machine parameters
(3) EDIT/MDI
Machining program editing
MDI data setting
(4) DL4GNOSIS
Diagnosis
PLC interface check
(5) IN/OUT
Data input, verify, output, erase
(6) SFG (GRAPHIC)
Graphic tracing, program check
(7) SFP
(8) FO
PLC screen release
PLC ladder monitor

23.3 PROGRAM AND SEQUENCE


NUMBER SEARCH

3 40 N 0 @ ~om 4 - 1/14
Tape or memory searches can be conducted by setting <SUB> O N- -
[PROGRfTl,
FILEI
the program number, sequence number and block 6 II 213
number in the program to be searched and by assigning 7 13 21
the tape or memory mode. ~ 8 16 22
18 23
The searched program is displayed upon completion of 5 1: 19 24
the search.
[COLL9TIONNBLOGKI

‘OPEN :


23.4 COLLATION STOP

This function can be used to stop operation at the block in the machining program by means of the
assigned sequence number.

-120-
23. SETTING AND DISPLAY FUNCTIONS
23.5PROGRAM EXECUTION STATUS DISPLAY

23.5 PRO GRAM EXECUTION


STATUS DIS PLAY

The status of the program now being executed is indicated.


1) Display of present positions for all axes, remaining distances, work coordinate system positions
and machine coordinate system positions
2) Display of G, S, T, M commands and secondaxy miscellaneous command modal values
3) Feed rate display
4) Tool offset number and offset display
5) Display of program now being executed
ON &@ mm? 3 m N 0- u HONITOR 3 2/
P 40 N @ a tluNITOR 1
Oil Fc m ‘am [POtTITIOil
f$’&T?Ot41 - lKmNl
NIRwill
101$10
m ~~Df$F&JJAT&l ,~; f ~.a
K 9.B3
x km x a.fm
N 0.kltl s 1? m
\#::
Y ualr w 521~
1 0.63
z 9.633
1 0.S3
z 8.63
367
038 G54”034 Z
697 815 0W3.1 C
::00:
.
p a.faO@ T w+;;
c Mal c ml~. c ml I $:
IZ
OafiWd M 11%18
: ~4B: D- =‘ lM:P 0
0.00 ww m IWIWI aw[=
IFFJTIWII .
:C 0. mm ‘c x E.ux 9.!3x Ma
T 8SM ? W Y 9.IM ‘A “ a.m on
j~w?d;p~;. @.G@: B
@
Pa
#1(
LSI
m

ml
The MDI data in a multiple number of blocks can be ax [m.) :
set and displayed. As with the editing of machining y: Mml w. Flm :
114331)
:
programs, the programs which have been set can be b(m; m;
revised using the delete, change and add functions. 31tiM.: B w,
y; WMMWD:
Operation can be repeated using the programs which i~~1~ ;
have been set.

il Mw; 4
ING?2W, I
~,. ~
x Emlwww mltoWIN
11

23.7 RUN-OUT TIME DN31WAY

4a N 0 0 rlONITIIR
3- 3/ 3
The times which have elapsed during power-on, automatic WB> i) N“ -
operation, automatic start and external run-out time signal ITIIIEI
n ~ Ip&? 0$1 i34:35:6
ON can be set and display ml. The display time extends up to 2;:3$$
9999 hours, 59 minutes and 59 seconds. j ~oT[;~ :
0: 0: 0
POWER ON time This is the time which has elapsed from TIrlE2 0:0: 0
5 E)(-T
when the power was switch~ on until
when the power was switched off.
AUTO OP time: In the memory (tape) automatic operation 1
mode, this is ~he total machin;ng time
which has elapsed from when the
automatic operation start button was
pressed until when the M02 (or M30)
command is issued or the reset switch is
pressed.
AUTO STL tim~- In the memory (tape) or MDI automatic operation mode, this is the total time which
has elamed from when the automatic oDeration start button was pressed until feed
hold stbp or block stop or until the res~ switch is pressed.
EXT TIMER: This depends on the PLC sequence.
-121-
23. SETTING AND DISPLAY FUNCTIONS
23.8PARAMETER SETTING AND DISPLAY

23.8 ~&RALA;TER SETTING AND

The parameters used in NC operations can be set and displayed. They can be differentiated between those
used by the user and those used by the machine and set as required.
User parameter~ F1-digit feed data, canned cycle constants, work coordinate system offset
amounts, stored stroke limit rangq G-code initial values, command unit x1O,
PLC switches, etc.
Machine parameters Input command units, rapid traverse rates, rapid traverse and cutting feed
acceleration/deceleration time constants, stored stroke limit range, reference
point return data (speed, shift amount, mode, coordinates), servo data, pitch
error compensation amounts and maximum rotational speeds of spindle
gears, etc.

23-9 MACHINING TIME


COMPUTATION

This function enables the time taken for the machining of the machining programs to be computed at high
speed.
The computed time is indicated in hours, minutes and seconds.

3 40 N B- Q llONITOR b -1/2 Computation method


<SUB> O
lRESTA~Ti+’&G !’1 ~RE;T9RT-Rl 1 ) The execution times for each of the commands in
x 0-800 the order of execution starting at the head of the
Y Q:Wi Y a- 8Q8 assigned program are computed and added up.
z 0 -OEtO z a -880
c 0- EtOO c 0- aaa
2 ) With subprogram, user macro or canned cycle call,
the execution time is added up only for the number
‘OPEN ;
# 18B=E3; of calls.
[PROCESS T ItlEl 3 ) The command time is added up without change or
H: flODE @+lEtlORY <I >Tf!PE modification for each of the G04 dwell commands.
T: TYPE <EtXJNflODLE <I >TYPE 1 <2>TYPE2

J T(R~pi/~ ~ 4 ) The cutting feed and rapid traverse overrides are


. IIFNI I added up as 1005ZO.
5 ) The M, S and T command execution times differ
according to the sequence and function codes, and
so they are not added up.

23.10 DATA INPUT/OUTPUT

Data can be input and output using the RS-232-C (optional specification) facility.
( 1 ) Input/output of machining programs
(2) Input/output of parameter data
(3) Input/output of tool data

T] 1N/OUT 1 TDAT9 OUTPUTI lN/OUT 2

x 1 tWN PR08RM%i?””!l I POFT NO- 9 8 I HAIN PRCKiRFil<Li?’ !1 I PORT NO- 0


! 2 TOOL DATA ~ 812 DEVICE Nu- 0 82 TOOL DflTfl ON 112 DEVICE NO. 8
u 3 P.WWETER 1 3 PA1-w-lETER ON
<OEVICE> 3.5 <DEVI ~
nlo m <WKl IwTE> 4888 awo RAE 4%:
<13U/EI~> 1s0
< ItW~TP,>2:cm <T [Tl_E FEED> Q

@JPUT 09TW
cCiW- DATA>

)( )
RAPID RAPID
Fll F F Fll F

-122-
23. SETTING AND DISPLAY FUNCTIONS
23.11PLC SWITCH SETTING AND DISPLAY

23.11 &.CSy+TCH SETTING AND

The CRT screen can be provided with 32 PLC switches for ON/OFF control. The switches can be used
as part of the machine operation switches. Their applications are determined freely by the sequence
program and their respective names can be prepard by the PLC and displayed on the CRT.

This screen page is prepared by the user PLC and


differs according to each NC system. The instruc-
tions issued by the machine tool builder should
therefore be referred to. 3Q 11 ‘?
4’? 12 Q

13 Q
14 *

RiP ID
SFTUP

23.12 PIX SCREEN RELEASE I I


This function allows setting and display screens to be prepared for use only with the PLC. C language is
used for descriptions and entry is made as the tasks inside the CNC system. For details, reference should
be made to the APLC programming instructions (C language).

PLC RELEASE SCREEN


C language~ PLC screen a p&m z
amen APLC releme
editor ‘ function is CANNED
OTCLEG$O
- El - 27 LENGTH OF-
r FSETE FIXED
Screen data a
K+AMBTER
preparation 29
WORK
COORD. 30
31
/ I x
I

-123-
23. SETTING AND DISPLAY FUNCTIONS
23.13DISPLAY LANGUAGES

23.13 DISPLAY LANGUAGES

Not only Japanese but also foreign languages can be displayed


. . on the CRT.
Languages displayed: Japanese, l%glis~ -

W
[AXIS PARAMETER] X PARAM 3.1/“ 4
ii
013 OT-CHECK OFF 1
014 OT-CHECK-N 0.000
015 OT-CHECK-P O.CQO
.’ 016 G 60 SH IFT O.ocu
5 G76/87971s% O 17 017
6 G76/87>7F(–)0 18 018
7 7“” 19
8 ;: 8 20
9 21 21
10 22 1: 22
11 23 11 23
12 24 12 24

#( ) 7’–4( ) #( )DATA( )
LSK mm INC G40 G54 %+1)
LSK mmINC G40 G54 MEMORY
( MENU

Japanese English

This function enables the disdav


. . of the CNC functions in both JaDanese
. and Erwlish to be extended to
a further two languages (third and fourth languages) among those languagts which can be displayed on
the CRT setting and display board.

CNC control unit

— . .

— — —
..... ..... Zpanese/l@liZ language display contained
.. . .
‘-------------- 3rd/4th language display incorporated
(1) Due to the nature of these specifications, the ladder monitor and automatic programming functions
cannot be displayed in the-third and fourth languages on the screen. Th; lad-der mon;tor screen
appears in English while automatic programming appears in the respective languages.
(2) The 3rd/4th language screens can be prepared by the machine builder. In a case like this, the
M-FAS302 Type 11 work station is required for the development environment.
(3) A memory area of 16KB per language is required for each language displayed. This means an area
equivalent to 32KB if the third and fourth languages are to be added. Accommodation for the title
displays, etc. must also be made within these areas.
(4) Depending on the languages displayed, it may not be possible under the M300 standard
specifications to accommodate the character generator (display character font ROM) corresponding
to the 3rd/4th language display. lf a special character generator must be prepared, please consult
separately with MELDAS.
(5) Since, according to the needs of the machine builder, a large number of combinations can be
imagined in connection with the third and fourth languages, these are incorporated on PLC section
ROM cards (or on cassettes for the 300V series).

-124-
24.PROGRAMMING SUPPORT FUNCTIONS
24.1GRAPHIC ADDRESS MENU PROGRAM INPUT

24. PROGWMING SUPPORT m~ONS


24.1 GRAPHIC
PROGRAM
ADDRESS MENU
INPUT I I
When machining programs are being prepared and edited on the editing and MDI screen, the address
menu corresponding to the “G” codes set and graphic patterns are displayed. This means that
programming can be facilitated while these are referred to.
When a G code is input, the address menu and graphic pattern appear on the right-hand half of the screen.
If a G code has already been entered, the same will be displayed when the cursor is moved to the position
where the G wde is displayed.
Address menu display
G37. 1 ~[G37. I:x YIJKP] + ~ The G code and address
I[(J 14 used are displayed.
I ( &3)
1 Up to tsvo types are
displayed for the address
used if there are many
kinds of command

1 ~J~f~pattern&p~ay
iG37.lXYIJKP
1

Reference should be made to the list of address menus and list of graphic patterns for the G codes, address
menus and graphic patterns which are displayed.
1

I
L
24.2

I
fl&A;~ACK PROGRAM
1 1

Machining programs can be prepared in sequence by converting the machine movement amounts based
on jog fed, rapid traverse and handle feed into NC command formats and by repeat edly writing them into
the memory.

-125-
,. ,.. ,,

24.PROGRAMMING SUPPORT FUNCTIONS


24.3AUDIO OUTPUT

24.3 AUDIO OUTPUT

Machining programs can be output aurally (audio output).

1 I Audio output of Speaker


I I machining program data
i L -- ——--
1 >--~.::;.> a
1-. -—--—---- . ————
Audio output of key switch data
L ‘A
H~”dp~ones
(1) Echo back corresponding to NC function key input
When an alphanumeric, symbol or other key switch on the CRT setting and display unit is pressed,
the character em-responding to that key switch will appear on the screen, and a sound will be output
simultaneously. On the machining program editing and MDI screens, this function makes it possible
to eliminate errors in data input and to prepare and edit machining programs while checking aurally
the data entered by the functions keys.
(2) Reading of machining programs stored in NC system
On the machining program editing and MDI screens, the contents of a machining program are
automatically output aurally by starting the audio output of that program. There are 3 modes: the
character string output mode for outputting the contents of the machining program character string
by character string, the single output mode for outputting the contents block by block, and the
continuous output mode for outputting automatically each block in sequence.

-126-
24. PROGRAMMING SUPPORT FUNCTIONS
24.4GRAPHIC DRA WING FUNCTIONS

24.4 GRAPHIC DRAWING


FUNCTIONS

This function enables the movement path of the machine tool to be monitored and traced and machining
programs to be traced and checked using the check and tracing functions based on processing inside the
CNC system.

012345S78 SIKAKUSUI 1 ) TRACE The actual movement path of the


X -12345.678 machine is traced. This operation
N013 o applies for automatic and manual
N014 o
N015 operations.
NOT6
NO17 2 ) PROGRAM: This displays the machining
N018 program ii automatic operation
N019
N 020 and enables the operator to see
N 021 clearly the relationship between the
N022
N023 tracing and the machining program
N 024 being executed.
‘&x
... 3 ) DELETE This can delete the tracing. (On a
TRACING 1 color CRT, the rapid traverse areas
m } m ! ] ,,’f@f ~ M,J ‘--- are deleted the first time and the
[1
cutting feed areas the second time.)

(%’W[ sTm \ Mm I I NJ 4) CHECK CONT.: A machining program for
automatic operat[on is
continuously traced without
3 1234 TEST-CUT- I operating any functions.
5 ) STEP: A machining program is checked and
traced block by block using check l-block
control.
6 ) CHECK SEARCH This assigns the machining
program number and
sequence number to be
checked and traced.
7 ) DIS. RANGE This changes and assigns the
display range for tracing and
CHECK COMPLETED checking.
8 ) STD RANGE This automatically identifies and
i EFM I i-Eu set the effective stroke of the
I’racing with the graphic check machine so that it is contained
function is done at high speed within the CRT display range.
simultaneously for th; path with 9 ) DIS. MODE This assigns the graphic display
and without cutter compensation. mode for the CRT screen. The
mode can be sekcted from
1) 1 plane, 2) 2 planes and
3)3 dimensions.
10) ROTATE In the 3-dimensional display mode,
this enablea cubic shapes to be
rotated and tracing of the figure
seen from the desired direction to
be assigned.

-127-
25.INTERACTIVE A UTOMA TIC PROGRAMMING
25.1AUTOMATIC PROGRAMMING S YSTEM

25. INTERACTIVE A~OMA~C


PROGRAMMING
25.1 AUTOMATIC
PROGRAMMING SYSTEM

Refer to the separate MELDAS 335M Automatic Programming Manual (BNP-A2S44).

-128-
26.SELF-DIAGNOSIS FUNCTIONS
26.1PROGRAM ERROR DISPLAY

26. SEIJYDIAGNCXHS mmONs


I 26.1 I PROGRAM ERROR DISPLAY I I

This function checks the machining program contents. If there is an error in any of the codes or formats,
it stops operation at that block and indicates a message on the setting and display unit.

rT
6.TOP ~E>
wJ?f?rlEsSAGE>

QPERATDR tESSf6E>

SK mm INC G4EtG54 R9P1O


/F NC-SPEC

26.2 OPERATION ERROR


DISPLAY

This function checks incorrect operations on the machine operation board and indicates a message on the
setting and display unit.
<Ncm > DIAGN I

6T@P CJJB
aARrl rEssAGE>

WERRTDR r’lESWiE>

_SK
* .. INC G40 G54 RAPID
/F NC-SPFC

I 26.3 I SERVO ERROR DISPLAY


I I

When there is an error (drive section alarm, excessive error) in the servo system, this function sets the NC
to emergency stop and indicates the cause of the error on the setting and display unit,
<NCw > Dlm I

<STOPCOOE>
$UWl tlESW3E>

WmffKI? EsSAGE>

WIO
/F NC-SPFC
h

-129-
26.SELF-DIAGNOSIS FUNCTIONS
26.4OPERATION STOP CAUSE DISPLAY

I 1 I

This function indicates the cause of automatic operation stop on the setting and display unit.

<Nc ~~ DIAGN1

eTOP CDOD
@LAWlRESSAGE>

<OPERATORIW3SAG0

SK mm INC G40 G54 RAPID


/F NC-SPFC

26.5 SERVO MONITOR DISPLAY

This function indicates the position loop tracking deviation of the servo system, speed error output, motor
speed and other such factors for each of the axes on the setting and display unit.

DIN2.1/3 ~lNDLE IIONITDRI DIAGN 2. 2/:


O(P”Q
YIN 0.0 B.B 0.6 ~ 331N @-h
068 ROOP 0
M BBBO Prl 0
I.fwM B 00 -080 RATE
.(W
Mt B i! B 4LARIINO. faO8:
m.mIE ‘! IATA BIT HONlTOR
RIO ~ 1$ ; 76543219
0 E D/I L 00000000
d ! H O ] 000000
WI N1. d W! mm d 0/0 L O ] 000000
H 00000000

RRPID
/F NC-SPFC

26.6 S&;~I;ATIONS TABLE

This tabulates the added specifications and indicates them on the setting and display unit.

NC SPtCH-ICATION] DIAGN 4 - I/ ~G St’kCIFICGTIONl 4- 2/ (


OIf4GN

1
I
I
AIN BND-2E14W13B13-EB
I:rJ
LCU

HAR
OAD
AN
SV1 BNO-
2EIIW1131-A8
SV2
2BIW2BI-BB SV3
SV4

201W7Ek3-AOSP
281W96EMI

ALARn ~FRVO PIC-I/F ~ “? HFNU

-130-
SELF-DIAGNOSIS FUNCTIONS
26.
26.7INPUT/OUTPUT INTERFACE DISPLAY

The various input/output signals for PLC control can be displayed and forcibly output.
The input/output signals can be checked and set with the same device numbers as those used when
programming.
There are two methods used for forced output: the method where the outputs are written only once into
the memory, and the method that continues writing them at all times. The latter method can be conducted
for up to 4 devices at the same time, Given below is an example of the input/output interface display
screen.

[t’LC-1/’l-l DIOGN3
<SET D13TWI

76543’21
Q HEX 7654321 !2 HEX

1
WI?13 O1OOOO1O 42 Y W@3 00001110 !3E
0008 10001000 88 Y W38 0000001 ~ t33
!mlo 01010000 50 Y Eml@ 00000000 En
001800001111 OF Y EX318 00000000 ~g
oQ2a 10001111 8F Y E132Q 00000000 m
C1328 10001111 8F Y @i128 00000000 EIQ
m3a 00000000 m Y EM3EI 00000000 Em
0038 10100011 f+3 Y 803800000000 w

Example of sequence input/output data display

-131-
27.DATA COUPLING FUNCTIONS
27.1RS-232-C(INTERFACE FOR GENERAL-PURPOSE
EQUIPMENT)

27. DATA COUPLING FUNCTIONS


27.1 RS-232-C (INTERFACE FOR
GENERAL-PURPOSE
EQUIPMENT)

This enables the data to be input to, and output from, general-purpose equipment.
Machining programs

‘r-----——-——— -— -—-----J
i f- -— ___ 1

serial
I I
1 I
i
I
I
Iu
(1
L----- J
i
l—
I 0
input
0— —
serial
output
—1
i
I
I

RS-232-C device
RS-232-C device

Nc

Fl”: RS-232-C

l—___.1~
CH1
Equipment
box

Connection with general-purpose equipment

27.2 RS-232-C (FOR HOST LINK)

This enables the data to be input to, and output from, special-purpose equipment.
NC

RS-232-C

CH2 [ %A-J ‘ostunit

Connection with host unit

-132-
27. DATA COUPLING FUNCTIONS
27.3CONVERTER UNIT

27.3 CONVERTER UNIT


L , I
I
This enablm a paper tape reader or paper tape puncher provided with a parallel interface and RS-422
interface to be connected to serial channels for use.

Machining
programs-

EGiiiiiijjy
——--
rogram ~
output
s KEY screen _ I
———- ———— . . . . ____
.---- -----

&u fl
[ol-H”&- -‘ -:-.[ I ] ‘
.— --+- L----- J
*araIlel mt~rface I/O device
Parallel interface I/O device [ RS-422 1/0 device

r - R S -232-C RS-422 r--–-l


I1/0 Con-
Conver- 1 1/0
b+ verter
/device P unit ter unit {~ device !
1 I
L--- A Parallel interface parallel interface 1---- -J

27.4 INTELLIGENT TERMINAL


LINK FUNCTION

This enables connection with a personal computer and, by sending key code data in sequence from the
personal computer, it enables operations conducted by the NC operator to be assigned from the host side.

R S -232-C

Transfer ratw
48(XIbps (standard)
tmlIil#l Es

1) Removal of machining programs


from CNC system using personal
computer (upioading) *V ~ F
---- --
2) Entry of machining programs interface 5- ,,, $
Machine
into CNC system memory m!
fdysisl
Mactim $ control
using personal computer (downloading) operal
io
@
3) Instruction for operation search for PLC
machining programs inside CNC
system using personal computer I
4) Instructions for CNC system
automatic start, feed hold and
reset using personal computer
5) CRT operations, such as CNC screen
sehxtion and data settings, using personal computer

-133-
,,, , ,. ~,.

27.DATA COUPLING FUNCTIONS


27.5COMPUTER LINK FUNCTION A

2Z5 ~OMPUTER LINK FUNCTION

This enables operations to be conducted either from the NC system or from the host computer. It features
excellent expansion capabilities and, in addition to the machining program download, upload and other
basic functions, it uses a communications interface for PLC data transmission.

R S -232-C

Transfer ratti 9600 bps

C!n I CNC PLC

Machine
~control

Operating functions from host computer


( 1 ) Instruction for automatic start of CNC system, and transmission of machining program data during
operation
(2) Instruction to delete machining programs in CNC system memory
(3) Entry of machining programs into CNC system memory from the host computer (downloading)
(4) Removal of machining programs inside CNC system memory to host computer (uploading)
The following operations and functions can also be carried out by incorporating user sequences into the
PLC inside the CNC system.
(5) Uploading and downloading of CNC system tool offset data
( 6 ) Uploading and downloading of CNC system parameters
(7) Uploading and downloading of CNC system PLC data
(8) Instructions for CNC system automatic start, feed hold and reset
CNC operations and functions
(9) BTR behind tape reader) operation start/stop
(10 )Recall of machining programs inside host computer
(11 )Entry of host computer machining programs into CNC system memory

-134-
27. DATA COUPLING FUNCTIONS
27.6COMPUTER LINK FUNCTION B

27.6 ~OMFUTER LINK FUNCTION

This enables BTR operation which is ideal for the high-speed machining of microscopic segment data, etc.

Finer shapes can be machined at high speed by


using this function in combination with the CNC
optional specifications (high-speed machining
mode).

I 27.7 I MN LINK FUNCTION I I

This provides a data link based on MAP (manufacturing automation protocol).

27.8 HIGH-SPEED s ERVER


OPERATION
i
The V series comes with an ultra-high-speed (750 kbps) optical communication interface so that
microscopic segments are machined fast er than before, and this makes it possible to conduct on-line
machining using a link-up with the MELD AS data server.
MELDAS data server.
1 ) It contains a 40MB large-capacity hard disk. (Machining programs approximately equivalent
to a tape length of 78,000 meters can be stored in a 30MB memory.)
2 ) Possible methods of entering machining programs include 3.5-inch floppy disks and network
connections using Ethernet and RS-232C facilities.
3 ) Background input from floppy disks, etc. is also possible during on-line machining with the
CNC system.
For further details, consult with MELDAS separately.
M300-V series
ata server

HDL,C
750kbps

-135-
28.INPUT/OUTPUT DEVICES
28.1INPUT/OUTPUT DEVICES

28. INPUT/OUIIWI’DEVICES
%1 INPUT/OUTPUT DEVICES

The following 1/0 devices can be connected.


(1) Serial paper tape reader PTR-02
Dimensions: 31O(W) x 150(D) x 185(H) mm
Weight: 6 kg
2-meter long cable provided
(2) Serial paper tape puncher PTP-02
Dimensions: 164(W) x 365(D) x 203(H) mm
Weight: 6 kg
2-meter long cable provided
(3) Serial printer PRT-02
Dimensions 398(W) x 285(D) x 121(H) mm
Weight: 8.5 kg
2-meter long cable provided
(4) Serial floppy disk drive FD-3.5
Dimensions: 305(W) x 85(D) x 143(H) mm
Weight: 3.5 kg
2-meter long cable provided
NOl”lZ 1 The separate floppy disk drive (FDO1 unit) is provided for sequence debugging operations,

-136-
29. MACHINE INTERFACES
29.1HIGH-SPEED INPUT SIGNALS

29. MACHINE HVI’ERFACES


29.1 I&K&L&EED INPUT

High-speed input signals are available as skip inputs.


There are 4 input points.
Another DIO card

+24V
-- —-*
:
7 I
= 1
2,
~ I I
+24V
----— -
1
9 “t
4.7K -- I 4.7X .~:i_T :
r,=l
I
f $--”
J.
+j5i& ,/
! I I
b b
Regulated
= jower
UPPIY
J I

Figure showing high-speed input Figure showing high-speed input signal


signal connections for M300 series connections for M300-V series

NOTE 1. Sensor switch ON time

I I
T-—i’ tson=2m

NO”l”Fk 2. The sensor input is used for high-speed signal processing. Take care to prevent noise
induction, etc.

NOTE 3. Either the power supply built into the NC system or an external regulated power supply can
be Lmxl as the power supply (+ 24V) for the high-speed input signals. In the case of the
M300-V series, however, the power is supplied from another DIO card when the power
supply built into the NC system is used.
29.MACHINE INTERFACES
29.2SPINDLE INTERFACES

29.2 SPINDLE INTERFACES

( 1 ) An S-analog output interface is provided for the spindle motor control,

~~~ ,\()

IIJ—II
..
10
K
~-––-1

1)/ A
I.-—

A] JFG
Diagram of S analog output signal connections for spindle control

1 ) Output voltage O to +1OV (*5%) or -8 to +8V (Y5%)


Resolution: 2 to the power of 12 (1/4095)x full scale
Load conditions: 10-kilohm resistive load (standard)
Output impedancti 220 ohms

NOTE 1. The analog output voltage for the DIO-B card (MC303) ranges from –8V to + 8V.

NOTE 2. The analog output voltage for the DIO-D card (MC323) and MCP card (MC611/MC616)
ranges from –8V to + 8V or from OV to + 10V
IJNote The MCP cm-d can be used only for the MELDAS 300 series].
For details on the voltage setting, refer to the MELDAS 300 Series Maintenance Manual
(Hardware Section) or the MELDAS 300-V Series Maintenance Manual (Hardware Section).

Nom 3. Since the S analog signals on the DIO-B/D cards are output with PLC processing and the S
analog signals on the MCP card are output without PLC processing, whether PLC processing
is to apply or not can be selected in the MELDAS 300 series for these outputs. However, in
the MELDAS 300-V series, only PLC processing on the DIO-B/D cards applies for these
outputs.

Nom 4. When the DIO-B card (MC303) is installed in the NC svstem. the analo~ simals on the
DIO-D card (MC323) cannot be output. Even when a multiple number of D~O-fi cards have
been installed in the NC system, only one point in the DIO card total can be applied for the
output s.
(2) A spindle encoder feedback interface has been provided for feeding which is synchronized with the
spindle rotation.

,.PA r---? 44
Phase A I y
PA* !
I

Phase B -PB* i

Phase Z

Rotary encoder for spindle

Diagram of connections for spindle encoder feedback interface


The encoder feedback interface for spindle synchronous feed is mounted on the MCP card (MC611/616)
in the MELDAS 300 series and on the MC161 card in the MELDAS 300-V series.
For details on the number of axes and connectors, refer to the MELDAS 300 Series Maintenance Manual
(Hardware Section) or the MELDAS 300-V Series Maintenance Manual (Hardware Section) and
MELDAS 300 Series Connections Manual.

-138-
29.MACHINE INTERFACES
29.2SPINDLE INTERFACES

(3) Analog input signals from outside control unit


Generally, these signals are used for the load meter display in axis control.

I
II CA NNEI. SELECT
O.OIUF !
27. 33K Q
All’ 0
56KQ
All

O.OIUF

r 1

I
A16*
A16

<Supplement ary note>


Depending on the application concerned
OFFSET I.Gand GAIN I.Gmay be required.

Input characteristics

AII - AIc Actual data Offset data


10V 4048 2000
5V 3048 1000 e Supplementary note R
2048 0 AIl and AI1 are for the voltage input only.
Ov
Offset data (used by user) = Actual data -2048
-5V 1048 -1000
–1OV 48 –2000

Resolution: 10V/2000 = 5mV


Accuracy: Less than &570
Conversion time Less than 50 ps/channel e Notes Subject to separate restrictions, depend-
ing on the system concerned.
Maximum rating: &15V

-139-
29.MACHINE INTERFACES
29.3MACHINE CONTACT INP UT/OUTPUT INTERFACE

29.3 MACHINE CONTACT


INPUT/OUTPUT INTERFACE

( 1 ) Input interface
1 ) Conformance to VDE standards

Con-
nec- Insulated type Non-insulated type
tor

DIO-A card DIO-D card

+ 24V +24V
J
1,8K
10
~ins

(NC side) (Machine side) (NC side) (Machine side)

DIO-A, B cards DIO-D card

Same as for 20-pin connector


J
1.8K
50
pins <)
.

(NC side) (Machine side)

NOTE 1. Levels of at least DC 30V and 16mA are required as the contact capacity on the machine side.

NOTE 2. Make the settings as follows so that the receiver circuit on the NC side will function normally.
When contact is ON: Min. 18V, min. 9mA
When contact is OFF: Max. 4~, max. 2mA

NOTE 3. Under conformance to VDE standards the input logic is “l” when the contact is ON and “O”
when it is OFF.

-140-
29. MACHINE INTERFACES
29.3MACHINE CONTACT INPUTIOUTPUT INTERFACE

Input signal waveforms


The chattering time and maintenance time for the input signals from the machine are regulated as follows
for normally open and normally closed contacts.
Delay time for receiver operation: 3ms STl=Tz=20ms
Allowance chattering time for input signal: T~ < 3 ms
Maintenance time for input signal: TJ s 40 ms
T3 T3 ‘3 ‘3

n r-l t-l t-l

t-’-i
lJ---kf
Normally closed contact Normally open contact

2 ) Conformance to non-VDE standard

G
nix- Insulated type Non-insulated type
tor

DIO-A card DIO-D, E cards

4-L
Z=200KQ -&
+2.4V
+24V
‘1 I
(NC side) (Machine side) @C side) (Machine side)

I
DIO-D card
.—. . . . Same as for 20-pin connector
I

NOTE 1. Levels of at least DC 30V and 16mA are required as the contact capacity on the machine side.

NOTE 2. Make the settings as follows so that the receiver circuit on the NC side will function normally.
When contact is ON: Max. 4V, min. 9mA
When contact is OFF: Min. 18V, max. 2mA

NOTE 3. Under conformance to non-VDE standards, the relationship between contact ON/OFF and
input logic differs according to the card in question. This relationship is indicated for each
card below.

-141-
29.MA CHINE INTERFACES
29.3MACHINE CONTACT INPUT/OUTPUT INTERFACE

Input logic for conformance to non-VDE standards

Card name Contact ON Contact OFF Remarks


Input logic DIO-A 1 0 20-pin connector (CMD1l: DI
(MC301) 16 points) only applicable
DIO-D o 1 20-pin connector (CMD41: DI
(’MC323) 16 points) only applicable
DIO-E 1 0 All points (III 64 points) in
(MC311) conformance with non-VDE
standard

For details on how to set the VDE - non-VDE standard selection, refer to the MELDAS 300 Series
Maintenance Manual (Hardware Section) or the MELDAS 300-V Series Maintenance Manual (Hardware
Section).
(1) Output interface
1 ) VDE standard conformance
DIO-A, B, D cards

~tide)
~~d? Inductive load
Allowable current of driver: Less than (50mA (DC 24V)
Capacitive load

When using a relay or other such inductive load, a diode (with a dielectric strength of over 100V, over
100mA) must be connected in parallel with the load.
When using a lamp or other such capacitive load, a protective resistor (with a resistance of 150 ~) must
be connected in series with the load in order to limit the inrush current. (Ensure that the current is below
the above-mentioned allowable value inclusive of momenta~ situations.)
2 ) Non-VDE standard conformance
D1O-E card
i-24v Protective resistor

PL

P
(NC side) (Machine side) (NC ~ide) (Machine side)
Inductive load Capacitive load
Allowable current of driver: Less than 40mA (DC 24V)
When using a relay or other such inductive load, a diode (with a dielectric strength of over 100V, over
100mA) must be connected in parallel with the load.
When using a lamp or other such capacitive load, a protective resistor (with a resistance of 150 Q) must
be connected in series with the load in order to limit the inrush current. (Ensure that the current is below
the above-mentioned allowable value inclusive of momentaxy situations.)

-142-
29, MACHINE INTERFACES
29.3MACHINE CONTACT INPUT/OUTPUT INTERFACE

DIO card specifications

DI DO !4V Functions other


naximum than DI/DO
:urrent
go. of ?ated <0. of <ated consumption Handle AI AO
~oints :urrent Joints urrent RNote 1) nterface
DIO-A 64 points kpprox. 45 points iOmA ;.40A 3 axes
:ard 48 fixed llmA 45 freed
(MC301) VDE VDE
points points
16 VDE/ .—. -—.
non-VDE
selection
points
~Insulated
types
DIO-B 48 points Approx. 45 points $OmA 3.23A 6 2
card .48 fixed llmA 45 tked points points
(MC303) VDE VDE —-. -8 to
points points + 8V
. Insulated
types
DIO-D 64 points Approx. 47 points 50mA 4.54A 6 1
card .48 fixed llmA ~64 fixed points point
(MC323) VDE VDE -8 to
points points + 8V
I 16 VDE/ or O
non-VDE --- to
selection i- low
points
. Non-
insulated
types
DIO-E 64 points Approx. 47 points 40mA 2.58A 3 axea
card .64 fixed llmA 047 fixed
(MC311) non-VDE non-VDE
points points --- ---
. Non-
insulated
types
ACO 16 triac 2A/ With 7.5A protective fuse
card output point (1 for each common = 8
(MC331) points 5AI points)
-—- -—- (AC85 - common ——- (Note 2) This card can be
132V 10AI used only with the remote
50/60Hz) all 1/0 unit.
points

NOTE2 1. The allowable current applying when the 24V power supply inside the NC system is used to
power the driver and receiver of the DIO card is 1.5A. If the 24V usage should exceed 1,5A
k]pply the 24V power of the output transistors from a regulated powe; supply external to the
NC system. For details on the internal settings for the cards in such a case, refer to the
MELDAS 300 Series Maintenance Manual (Hardware Section) or the MELDAS 30@V
Series Maintenance Manual (Hardware Section).
Use the 24V power inside the NC system for the input receiver.

Nom 2. Only 1 analog input is provided for the DIO-D card. This is increased to 6 inputs by attaching
an adapter card but an area equivalent to 2 slots is used for this.

-143-
29,MACHINE INTERFACES
29.4 OPERATION BOARD INTERFACES

29.4 OPERATION BOARD


INTERFACES

. The CRT setting and display unit can be provided with an 1/0 signal interface compatible with the
operation board for the serial transfer data.
● An efficient system with the minimum of wiring connections can be created by incorporating
machine control switches and lamps.
DI/DO type (Up to two boards can be configured with each board containing 64 input points/48 output
points.)
Control unit
Mounted on CRT

29.5 REM OTE 1/0 UNIT

1/0 facilities can be added to the basic unit bv attaching a remote 1/0 unit.
( 1 ) Di/Do adding (max. 512 points for Di, $12 point~for Do)
(2) AC 100V output (16 points per card)
Remote I/O-A Remote I/O-B

NOTE 1. The maximum number of DI/DO cards which can be mounted in the remote 1/0 unit is 4 for
I/O-A and 5 for I/O-B.

NOTE 2. The maximum number of DI or DO points which can be added for the control unit and
remote 1/0 unit combined is 512 in each case.

-144-
30. PLC SYSTEM FUNCTIONS
30.1ST~DARD PLC

30. PLC SYSTEM FuNcTIoNs


30.1 STANDARD PLC

Based on the MELDAS standard interface, the various signals between the machine and NC system can
be controlled, and the machine can be controlled also. Refer to the Connection Manual for further details.

I 30.2 I BUILT-IN PLC I I

The various signals between the machine and NC system can be controlled, and special sequence control
functions for controlling the various machine operations can be incorporated efficiently.
The machine can be controlled very efficiently in the 5 sequence execution modes interrupt processing,
high-speed processing, main processing, base processing 1 and base processing 2. (Base processing 1 and
2 operations are valid when the APLC function is added.)
1) Interrupt processing
This is the immediate execution mode which is used when an interrupt has been generated by
the sensor input signal, etc. It is used to process signals requiring a high-speed response.
2) High-speed processing
This mode provides repeated execution at 7.1 ms cycles. It is used to process signals requiring
high speeds.
3) Main processing
This mode provides normal sequence processing. The processing cycle exists in the number of
sequence steps.
4) Base processing 1
This is the mode for the lowest order level of the system. Programs are written in C language,
and the programs displayed on the screen are executed.
5) Base processing 2
This is the next highest level mode to base processing 1.
Communications processing programs are executed (in C language).
For details on the specifications when the built-in PLC applies, refer to the built-in 35. PLC
system.

-145-
31. UNITS
31.1CNC CONTROL UNIT

31. UNITS
This CNC system is composed of the following units.

/’ I CRT operation panel

❑m
m :-‘/
=
00000
@@@@@
000000
~ Control unit

ca Manual pulse generator

//5!?
f l“t,m

11
——————— rs
AC spinch’e
drive
unit

Spindle motor

31.1 CNC CONTROL UNIT

The standard specifications call for the supply of a discrete control unit and operation board.
(1) M320 (2) M330 (3) (4)

I 1

6 slots 10 slots 10 slots 10 slots (with FLD)

-146-
31. UNITS
31.2DRIVE AMPLIFIER UNIT

I 31.2 I DRIVE AMPLIFIER UNIT I I


The standard specification calls for the supply of discrete amplifier drive units,

MR-Sl/Sll MR-S2/S12 MR-S3


(l-axis amplifier) (2-axis integrated amplifier) (3-axis integrated amplifier)

Nwrl% MR-S1, S2 and S3 are standard drive amplifiers; MR-S1l and S12 are high-speed,
high-precision amplifiers.

31.3 TUE HANDLER


1
The tape handler can be attached to the CNC main unit when tape operations are to be performed or when
the data on tapes is to be stored in the memory.

-147-
32.AC SERVO, AC’ SPINDLE SYSTEMS
32.1AC SER VU MOTOR

32. AC SERVO, AC SPINDLE SYSTEMS


321 AC SERVO MOTOR

( 1 ) (2000 rpm specifications)

Motor Without Without oif — — HAlooc HA200c HANMc —


brake semi
With oif HA40C-S H.Asoc-s HAlooc-s HA203GS HA300c-s HA7@3-SR
Sml
With brake Without oif — — HA1OOCB HA200c f-IA300c —
seal
With oil HA40CB-S HA80CB-S HA1OOCB-S HA703CB-S I-LMOOCB-S HA700B-SR
senl
Motor Rated KW 0.5 1.0 20 3.5 4.5 7
character- output
istics Rllted kgcm 24.4 4s.7 97.4 170 219 341
torque
Torque kgmrr 34 a 140 230 380 500
when stal-
led
M.axinmm torque when kgcm 144 264 432 608 8S8 1216
combined wit h amplifier
M.axinrum sp d rpm 2000
Motor Without Jm kgcms2 0.010 0.020 0.070 0.134 0.1% 0.259
inertia brake GD2 kgcm2 39.2 78.4 274 525 768 1015
With brnke Jm kgcms2 0.011 0.021 0.074 0.138 0.200 0.263
GD2 kgcma 41.9 81.1 291 542 7ss 1031
Weight Without kg 8 12 21 32 43 56
(iicluding brake
detector) 27 33 49
W]th broke kg 10 14 62
Accessories Thermal protector Provided
Slmft through area oil seal Provided Provided/not provided choice Provided
Magnetic brake DC 24V DC 24V
15W 25W
60 kgcm 300 kgcnr
Cable connectors Cannon cormector I Terminal
I t box
Motor end detector Model name of detector must be indicated (selected).
AfIow.able r: al load at shaft end kg 40 210
Operating e] ronment I WC1040”C ambient temoeratnre no oil or water drirmimz. no condensation

-148-
3.2. AC SERVO, AC SPINDLE SYSTEMS
32.1AC SERVO MOTOR

(2) (3000 rpm specifications)

Hotor Without Without — — HAI03C HA203c


brake oil seal
I I
With oil HA053C-S HA13C-S HA23C-S HA33C-S HA43C-S HAS3C-S HA103C.S nA203c-s
seal I I
With Without — — — HA103CB HA203CB
brake oil seal

With oil HA53CB-S HM3CB-S HA23CB-S HA33CB-S HA43CB-S HA83CB-S HA103CB-S HA203CB.S
seal

Motor Rated KW 0.05 0.1 0.18 0.3 0.s 1.0 2.0 3.5

=l=H
character- output
istics
Rated kgcm 1.63 3.25 5.8 9.7 16.3 32.5 65 114
torque

Torque kgcm 2.5 5 7 12 30 60 140 230


when stal-
led

Maximum torque when kgcm 6.0 12 22 34 103 198 408

I
564
mmbined with
amdifier

Maximum peed rpm 3000

Motor Without Jm kgcms ~ 1.88X104 3.65x104 0.001 0.002 0.01 0.02 0.07 0.134
inertia brake

GD2 0.74 1.43 3.92 7.84 39.2 78.4 274 525


kgcma

With Jm kgcms 2 2.04x104 3.81x104 0.0011 0.0021 0.011 0.021 0.074 0.138
brake

GDa 0.80 1.49 4.31 8.23 41.9 81.1 291 542


kgcma

Weight Without kg 1.1 1.5 3.5 4.5 8 12 21 32


(incIuding brake
detector)
With kg 1.6 2s3 4.5 5,5 10 14 27 38
brake

Acces.wr- Thermal motector I Provided I


ie9
Shrift through area I Provided I Pmvidedhmt provided I
oil seal
I choice -

M aznetic brake DC 24V 15W DC WV 7.4W I DC ?/W 15w DC 24V 25W


4 kgcm 9 kgcm 60 kgcm .XK1kgcm
Cable connectors Cannon connector

Motor end detector Detector must be indi~ Model name of detector must be indicated (selected).
ated.

A130walIle radial load at shaft end 8 20 40 210


kg

Ooeratine environment O“C to 40”C ambient temoemture. no oil or water drioDine. no condenaaticm

-149-
32. AC SERVO, AC’SPINDLE SYSTEMS
32.2AC SER V(ISYSTEM CONFIGURATION

-150-
32. AC SERVO, AC SPINDLES YS TEMS
32.3AC SPINDLE DRIVE

I 323 I AC SPINDLE DRIVE I I

series
Item
Smao-capadly
series 1500rpmbase ~ series I
AC -fw SJ-J- .,,-
spindle
mowr 22A 3.7A 55A 73A 5.5A 75A 13AP 11A 15A 185 224P 22A 26A 33A

GlttDut I COndnuous mtine 2/1S [ 271 I 513.7I 715.5 51


it3.7 7155 917 10/ 15/11 23/35 2(V15 231 3W22 ?0/
~PypCwq - 2.2 7.5 185 22
walimlte Iatin& 271 X4.7 7/55 w 7/5.s lW 35/11 33/11 2WJ5 251 3W22 30122 35/26 w
50% ED rating 25, 15 75 75 18S ?4
pPy@Aq 35 UliIt
milt
&w@ ~m 1502
Maximum speed SXto 6mXl 45WJ
Qm

Frame number A90 BSO Al12 B112 A312 B112 B132 C132 AWG i B160
Continuous mted torque ~g.m] 0.97 1.43 24 357 24 3s7 454 4.87 7.35 9.74 9.74 12.0 14.3
GDZ &g.m2] 0.017 0,021 O.cds 0.071 0.% 0.10 0.12 0.17 0.21 0.27 0.32 055 I 0.69
Weight ~g] 33 37 63 74 60 70 75 lW 110 130 150 175 m
Allmvd?le radial load Kg] 100 300
I 15012iXJl 150 I m
CcOling fan pvl 40 35 134
VWatiOn V5 Vlo
, WA- l,WXfA>
..”!--- ,“”, ,. .,
7<
,“
m
I Mmtntine direction I Horizontal or txmemlimdar downward direciion for o.mut shmft I
I Cwerlo?.d !wistanct I 1 minute at 120% of Xhdnute rated uttput (for 22A and 3.7A 1 min. at 123% of Eminute rated I
I I Outmll) I
I Ambient temoemture PC1 I 0.40 I
I Insulation I Cluss F I
I rmw
----- “f. . “aint
. ...... t .---.—---
[ M,mdl --- ....
\97G7d6/1121
t A—...
.—. .. wk.
I .-— ~- .. . .... . . -... h-ting
“Mm,.. .“,,.7
detector
I
I Bearing lubrication Greax
serks
FR-sFJ-2- FR-SF.2.
km
controller Type Inside
board Z2K 3.7K 5sK 75K 55K 7sK UK 15K 185K 22K m ?JJK
nwunting typ
Inmrm?diate panel – - - – 5.5K 7SK lIK.C 15K 185 22K.C 26K 20K
VP -c -c -c K. -c -c
c
Power capacity @LVA] 4 7 9 12 9 12 17 23 28 33 37 44
ToIal hew generation (see Note 1) 1s0 210 .* 3S3 ?40 4C0 4s0 SW 700 810 lm 10W
,.,,
mm
I I I I I I 1 I I I 1 I
Power recwirenmus (W Nae 2) 20W2C0-230V +10% -Js%. 5W60 Hz = 3 Hz I
Weight In&k board 8 10 % 27 37 48 67
w mounting type
intermediate panel – 24 27 37 48 67
. .. .
I F ,Y I I I I
II .,-.-.—
h4nin circuit wstem
I Tmrai~.. sin?wnve P\V)vfj“ver&r
I I I

I ri.hd
. . ..... . .. . .... Imp mntm~ speedfeed-reckwith puke gmerator
I ..... . . ..... . “,6...
~tim I v...+.. m.!ml d:.iral cl-
I
Braking sjslem Regenemtive control Pcwerregmemt ive bnddng
(r&stanm conwmption)
Speed mnttul nmge rpm 33.8(XM 35.6KKJ .35.43m

1 1 1 1
Speed tluct uation me
I Less Ihtm 0.2% of mmimum sp+cd (with M-l (KJ%kmd fluctuations)
Speed mnunanck AnalOE commands, + 10V max (rippmx. 10 kilohm input impedmtcd)
Ambient tempraturdhum!dity 1---s to +55W4545%
.-. ..—r
At m-, h.,,
....-
1
NO
. .- .,.+.+,.
..-... . . . . m dwt @ mmfmmily,wilh G!ade
”- .,,—
t
“. C of J EM 1103 for cm,irmmwn! rcismncd I
I
V&ration 05G or less
Conformity 10stmtdmds EC

-151-
32.AC SERVO, AC SPINDLE SYSTEMS
32.3AC SPINDLE DRIVE

Widerange (klz) rated output


1150 RPM * Wide-range (h8) rated cutput series (see Note 3) His@eed k
series (. Note 3)

ST. I SFl- 1 sr- 1 sl-


55X 75X 55X 7.5X 11X
?QB 37B 45B ~8 ~ ~ ~ ~ ~: Wc w= w= $C 53AZ 75AZ 5.5LH 7.5LH lILH 15LH

?0/22 40/32 SW37 .$13.7 715.5 10/75 25/11 aws $; 513.7 7155 10/7.5 lwll 513.7 7155 513.7 7155 10/7.5 15/11

40L?JI 50/37 61Y45 7i55 1L4’75 25/11 ZWL5 & 3W22 7155 10/75 25/11 ml-f 7155 1W75 715.5 10/7.5 15/11 2w15

1152 m 62$ 5fYl 5C0 4ca 15W 5(DI m

?4Xl Woo 5r!ol 4cca dao 48W lm m 150co

1 ,
. . — . .. 1
133 3+60 25 130 13+60 35 180 3+562 35
Vlo V5 V20 V5 Vlo V5

80 85 75 80 85 75 80 85 75 85
I

Oil/air hbricalim

I FR-sF-2-

5.5K 75K 75K 15K


3WK 3X 45K llK 1lK z?K 26K 30K 37K llK 15K 26K ?IIK .* -H -H llK-H
-H

15K
30K-C 37K-C 45K-C IIK-C lIK-C 22K-C 25K-C 39K-C 37fC-cllK-C 15K-C 26K-C 30K-C :;: :;: ::: llK-HC
-HC

44 54 63 9 12 17 23 28 33 9 12 17 23 9 12 9 12 17 23
low 15@3 l?QO 340 4@l 493 Sw m 810 340 m 4!W 5$0 340 4CQ 3$0 400 493 5$Q

+ 10% -15Y0,5WtLlHz = 3 HZ
22W2W3-2?OV
67 73 ‘X7 27 48 67 73 27 37 48 67 24 27 37

67 73 90 27 48 67 73 27 37 48 67 24 27 37

35- 35- 35-lo@)o 35.m 35-15rno


35-3450 35-ai13 35-5m 35-4SWI
4rC!f2 m

NOTE 1. This is the total heat generation at the continuous rating. In thecase of the intermediate panel
type, the heat generated outside Ihe panel is approximately (heat generation - 120)x 0.7 (W).

N0T12 2. A step-clown transformer is required if the voltage is other than that listed.

NOTE 3. Consult with a MELDAS representative if a rated output range other than 1:8 or 1:12 is
required.

-152-
33. POWER SUPPLIES
33.1POWER SUPPLY FOR CNC S YSTEM

33. POVVER SUPPLIES


33.1 POWER SUPPLY FOR CNC
SYSTEM

Listed below are the uower SUUDIV smcifications for the CNC svstem
. in both the M300 and M300-V series.
Voltage input ‘ : AC “1’tiV”+ 10%/-15%
Power line frequency : 50/60 Hz &1 Hz
Power consumption :0.6 KVA (max.)
Instantaneous power failure This time is guaranteed to be less than 15 ms.

33.2 l?~CWT133:UPl?LY FOR DRIVE

Listed below arethepower supply specifications for the drive section in both theM300 and M300-V series.
Voltage intmt: AC 2001220V + 10%/-15%
Powe; lin~ frequency: 50/60 l% & 1 Hz
Power consum-ption: This differs according to the type of motor used. Refer to the following separate
documentation:
cMELDAS AC Servo MR-S Series Specifications Manual
. Mitsubishi AC Spindle Drive FREQROL-SF Standard Specifications Manual
. Mitsubishi AC Spindle Drive FREQROL-SFJ Standard Specifications Manual

33.3 lTL414SFOlZM13RS

Specially designed transformers are available for domestic or export use.

-153-
34.ENVIRONMENTAL CONDITIONS
34.1ENVIRONMENT CONDITIONS

34. ENVIRONMENTAL CONDITIONS


34.1 ENVIRONMENTAL
CONDITIONS

(1) Ambient temperature


During operation: O - + 55°C (ambient temperature of CNC control unit, drive amplifier unit)
During storag~ transportation: –2(TC to + 60*C
If the temperature exceeds + 55°C during operation, the thermostat inside the NC system is activated
to warn the operator.
(2) Humidity
Max. relative humidity of 75% under normal conditions (no condensation)
Increases in the humidity tend to cause deterioration in the insulation and accelerate parts
deterioration. Although no special dehumidification is required, installation in any location Exposcd
to high humidity should be avoided.
(3) Vibration
During operation: Less than 0.5G
During transportation: Less than 3.5G (shock)
(4) Atmosphere
Use in an environment Exposcd to a great deal of dust or to high concentrations of spray-type
organic corrosive gases should be avoided.

-154-
35. BUIL T-IN PLC S’YSTEM
35.1LADDER SEQUENCE

35. BUILT-INI%(2SYSTEM

1) Ladder instructions
Basic instructions @it processing instructions)
About 20 instructions including LD, LDI, OR, ORI, AND, ANI, OUT, PLS, etc.
Function instructions
76 instructions including data transfer, 4 basic arithmetic rules, logic arithmetic operations,
large/small identification, binary/BCD conversion, branching, conditional branching, decod-
ing, encoding, etc.
Special-purpose instructions
Approx. 16 instructions including ATC control instructions, DDB instructions, etc.
2) Devices
Input (x): 896 points
output (Y) 1024 points
Internal relay (M): 1280 points [5120 points]
NOTE 1. Devices G, B and Q are
Internal relay (G) 2816 points [3072 points]
valid when the bit calcula-
Internal relay (3?) 128 points tion expansion option has
Spwial relay (E): 128 points been added in the M300M
Latch relay (L) 128 points series.
Counter (C) 24 points NO’IT2 2. The figures inside the
Counter (B) 104 points square parentheses denote
Timer (T) 80 points (100 ms) the number of points for
16 points (10 ms) the M300M-V series.
8 points (100 ms integrated)
Timer (Q): 96 points (100 ms)
40 points (10 ms)
16 points (100 ms integrated)
Data register (D): 1024 points
File register (R) 900 points holding, 50 points non-holding (released to user)

35.2 APLC b%.FIGIJAGE

Programming can be undertaken using C language in order to achieve a more sophisticated degree of
machine diagnosis, Ioad monitoring, measuring and additional axis control, etc.
(1) Execution
There are two methods of running C language programs: one is to call the programs from the
ladder program section in the form of subroutines and then run them; the other is to run them
as special processing tasks.
When the programs are called from the ladder, they are run in the individual ladder program
processing modes.
The C language specifications newly provide for base processing modes (1) and (2) as running
modes, and these can be used as C language special processing tasks.
Base processing mode
This is the lowest processing level and is used to run programs during the free time of normal
NC processing. It is used for background processing which is minimally restrictwl in terms of
time.

,, :,

-155-
35.BUIL T-IN PLC SYSTEM
35.3PLC AXIS CONTROL

(2) C language
The general-purpose C language can be used.
A library dedicated to C language processing only is provided and information can be exchanged
with the NC svstem.
o CRT Scr-&n control
. Serial 1/0 control
S Axis control
I 1 I
35.3 I PLC AXIS CONTROL

Over and above the NC control axes, this function enables independent axes to be controlled by
commands based on the PLC.

Item —----- .. . ..
Number of control axes Max. 4 axes
simultaneously controllcxl axes PLC control axis is controlled independently from NC
control axes. A multiple number of PLC axes can be
started simultaneously.
Qommand units Least command increment 0.001 mm (0.0001 inch)
0.0001 mm (0.00001 inch)
(Same as command units for NC control axes)
?eed rate < Minimum programmable dimension 0.001 mms
Rapid traverse 0-60000 mm/min (0-6000 inch/rein)
Cutting feed 0-64)000 mm/min (0-6000 inch/rein)
< Minimum programmable dimension 0.0001 mm>
Rapid traverse 0-12000 mm/min (0-1200 inch/rein)
Cutting feed 0-12000 mm/min (0-1200 inch/rein)
Movement commands Incremental commands from present position
Absolute commands for machine coordinate system
O + 99999999 (0.ml mm/().OOO1inch)
Dperation modes Rapid traverse, cutting feed, jog feed (+) (–), reference
point return feed (+) (–)
Acceleration/deceleration Rapid traversq jog feed, reference point return feed ...
Linear acceleration/deceleration
Cutting feed ... Exponential function acceleration/decelera-
tion
Servo amplifier interface Digital interface
Backlash compensation Available
Stroke end None
Soft limit Available
Rotary axis command Available. For absolute commands: amount within 1 rota-
tion (rotation by amount remaining after
division into 36@)
For incremental commandx rotation by as-
signed amount
Inch/mm conversion None. Assign commands corresponding to feedback units.
.. . -.
l-’osltlon detector I kmcocler

-156-
35, B?YILT-IN PLC SYSTEM
35.4LADDER MONITOR

I 35.4 I LADDER MONITOR I I


This function enables the operating status of the sequence circuit to be checked on the CRT screen of the
NC system.
( 1 ) Circuit monitoring
(2) Screen stop by monitor stop trigger point Xo xl Y.%
(3) Entry monitoring

E==!!
m
(4) Decimal s hexadecimal conversion present x2 MO Y30
20.?
value monitoring
x3

T]
207 ~o~: ~oq :~o

DO=O

MEMORY (6040\8102 SllWS)


MoDE CIRCUITFUNCTION MONITOR SET DATA

35.5 D. D. Il. INTERFACE

A high-speed direct data bus (DDB) is provided as a function enabling direct reading and writing of the
data inside the NC system from the PLC, and this enables data to be transferred to the NC side at any
time.
There are two read/write methods: the asynchronous method enabling read/write immediately when
required by the PLC, and the synchronous method enabling read/write in accordance with the NC system
timing.
( 1 ) Asynchronous method
1 ) Read data: Position information, machining information, tool information, operating modes,
error monitoring information, compensation, parameters
2 ) Write data: Tool information, compensation, parameters
(2) Synchronous system
External search, PLC axis control

35.6 EXTERNAL SEARCH

This function enables program numbers or sequence numbers in machining programs to be searched from
the memory or tape using external input signals.

35.7 EXTERNAL MACHINE


COORDINATE SYSTEM
COMPENSATION

This function allows coordinate systems to be shifted by inputting the compensation amount externally.
If the thermal distortion positions of the machine are input, the function can be used to compensate for
thermal distortion.

-157-
35.BUIL T-IN PL C S YS TE.M
35.8EXTERNAL WORK COORDINATE SYSTEM
COMPENSATION INPUT

35.8 EXTERNAL WORK


CO ORDINATE SYSTEM
COMPENSATION INPUT

This function allows the work coordinate system offset amounts based on G54 to G59 and set by the
setting and display unit to be further shifted by the compensation amount (external work coordinate
system offset amounts) which is read out externally.
I I ! I
35.9 EXTERNAL TOOL
COMPENSATION INPUT

This function allows the tool compensation amount to be input by means of an external input signal.

35.10 ~XE;~TE~L ALARM

This function allows alarm numbers and alarm messages to be displayed on the setting and display unit
by inputting them from the built-in PLC.
The maximum length of a message is (an even number of) up to 32 characters long, and up to four
messages can be displayed simultaneously.

This function allows operation instruction messages to be displayed on the setting and display unit by
externally inputting the operator instruction numbers and operator messages.
The maximum length of a message is (an even number of) up to 60 characters long, and only one message
can be displayed simultaneously.

-158-
35. BUIL T-IN PLC SYSTEM
35.12USER MACRO DATA INPUT/OUT..UT

35.= USER MACRO DATA


INPUT/O IJTPUT

Variables can be used to input data to, and output it from, external units.

Input Outpu
#looo 1 point R72 bit O #lloo 1 point ?172 bit O
#lool 1 point R72 bit 1 #llol 1 point R172 bit 1
#looz 1 point R72 bit 2 #llo2 1 point R172 bit 2
#loo3 1 point R72 bit 3 #llo3 1 point R172 bit 3
#1004 1 point R72 bit 4 #llo4 1 point R172 bit 4
#loos 1 point R72 bit 5 #llo5 1 point R172 bit 5
#1006 1 point R72 bit 6 #1106 1 point R172 bit 6
#1007 1 point R72 bit 7 #llo7 1 point R172 bit 7
#1008 1 point R72 bit 8 #1108 1 point R172 bit 8
#loo9 1 point R72 bit 9 #llo9 1 point R172 bit 9
#lolo 1 point R72 bit 10 #11 10 1 point R172 bit 10
#loll 1 point R72 bit 11 #1111 1 point R172 bit 11
#lo12 1 point R72 bit 12 #1112 1 point R172 bit 12
#lo13 1 point R72 bit 13 #1113 1 point R172 bit 13
#lo14 1 point R72 bit 14 #1114 1 point R172 bit 14
#lo15 1 point R72 bit 15 #1115 1 point R172 bit 1.5
#1016 1 point R73 bit O #1116 1 point R173 bit O
#lo17 1 point R73 bit 1 #1117 1 point R173 bit 1
#1018 1 point R73 bit 2 #1118 1 point R173 bit 2
#lo19 1 point R73 bit 3 #1119 1 point R173 bit 3
#lo20 1 point R73 bit 4 #l120 1 point R173 bit 4
#lo21 1 point R73 bit 5 #1121 1 point R173 bit 5
#lo22 1 point R73 bit 6 #1122 1 point R173 bit 6
#lo23 1 point R73 bit 7 #1123 1 point R173 bit 7
#lo24 1 point R73 bit 8 #1124 1 point R173 bit 8
#lo2.5 1 point R73 bit 9 #1125 1 point R173 bit 9
#lo26 1 point R73 bit 10 #l 126 1 point R173 bit 10
#1027 1 point R73 bit 11 #1127 1 point R173 bit 11
#1028 1 point R73 bit 12 #1128 1 point R173 bit 12
#1029 1 point R73 bit 13 #1129 1 point R173 bit 13
#lo30 1 point R73 bit 14 #l130 1 point R173 bit 14
#lo31 1 point R73 bit 15 #1131 1 point R173 bit 15
#1032 32 points R72, R73 #1132 32 points R172, R173
#lo33 32 points R74, R75 #1133 32 points R174, R175
#lo34 32 points R76, R77 #1134 32 points R176, R177
#lo35 32 points R78. R79 #1 135 32 points R178. R179

NOTIZ 1. Variables cannot be made into the left-side member when they are input,

-159-
35.13UILT-IN PLC SYSTEM
35.13PLC/APLC ROM CAPACITY

35.13 I PLC/APLC ROM CAPACITY

The sequence program, alarm message and other such user software is contained in the PLC memory
(ROMs) built into the NC system.

(1) Ladder instructions 4 bytes/step


Standard 32KB
(2) Maximum number of ladder steps:
Expansion (1) 64KB 16K steps, 64 KB (including mess-
age data)
(3) Message data is also contained
inside memory.
(4) C language program area is also
contained inside this memo~.

I 35.14 I APLC RAM CAPACITY

This is the RAM area used by the APLC.


With APLC specifications, the standard capacity is 64KB and the txtended capacity is 128KB.

;,, ,

-160-
35. 13U.LT-IN PLC SYSTEM
35.15 PLC LADDER DEVELOPMENT ENVIRONMENT

I I
35.15 PLC LADDER
DEVELOPMENT
ENVI.RO NM 13NT
I ! I I

-161-
.,

36. Customized Release System

36. Customized Release System


The V series features the “customized release system,” an improved version of the APLC (CRT screen
preparation) function for the built-in PLC system. This makes the series more able to respond to the
creation of functions inherent to the system. The “customized release” functions can be broken down and
listed as follows.
1) “Screen release” interface function: Enables the standard CNC screens (all screens, some screens,
screen transition control) to be changed, and screens inherent to the system to be created.
2) “Communication release” interface function: Enables machining programs and user data to be input
and output using the RS-232C port on the NC system.
3) “File release” interface function: Enables user files to be prepared, revised and entered using the “file
system” CNC function.
4) “Expansion DDB” interface function: Enables data and variables in the CNC system to be read and
written at high speed by means of the top table type of DDB.
A general configuration of the system is shown in the figure below. For details, refer to the “Customized

o
Screen Release Programming Manual” (BNP-A2928).

p[, y //1
,\p 1. c
Customized software development system
PLC APLC
\l- l?.1s
---------F@=H ~ ‘c

EEL
ti
Q

o
I

I
p,~~, [ @ii) ~,,.
I
r -— e,’wl~mmmnt - \ _ _ ~
I
+3 Customized release areas
I
13asememOV
I
(-%&F> Cm40mired
. =— 131!ll
:
I
I ilrterrace
I
“o
I
I ~ff,~ _ @zE!!+
L --

‘~~~ “ ~%.?t
0
=’+ 130stcomputer

<~y F

--~*--- $@= f2:

4
‘. system
&ta
lies
The machine tool builder is D
\
responsible for preparing all “., Cattberepeated
the functions indicated by \
the thick lines. //1
Sizeof memoryfor customized .SMB 1
release
o.5/l.o/l.5MB ‘asetk 0.5MB I
mssetle
O&&: I
memolyl
inmllctiom$
I
Cassette memoT (RAM/ROM) (1) J
I
----- ~ i’iax.lMB
r ---- I ba~ memory

‘! ‘: Qo
I Jf>

, ‘f’ ‘
I The combination of the functions can be changed by
I replacing the cassette memories,
.— -- -— --
m

-162-
APPENDIX 1. SPECIFICATIONS TABLES

APPENDIX L! SPJKXFICA~ONS TABLES


0: Standard specifications @ : Standard specifications with built-in PLC
@ *: Standard specifications requiring additional 1/0 or built-in PLC
A : Optional specifications .4: Optional specifications with built-in PLC
A*: Optional specifications requiring additional 1/0 or built-in PLC
~ : Special optional specifications or separate consultation

01 control axes
300M Xlt9M-v
spa- ““ - 3mP4 330M Snmd
=
33X%4
No.of omtrofled
axes Stmd.mdnumber 3 3 3 3
ofcontrolaxes
Max.no.ofcontroued
aes Maximum mpmr- 4 6 4 6
sion frr nmnber of
basic control axes
Nurrrher of PLC *4 *4 *4 *4 Described in PLC
control axes

02 control Q&m
330M mmf-v
Spin-- .- - 32f3m5 330M 3mh4 Zuud

33SA4 m!mrl
Progmmmable dimension 0.001 mm o 0 0 0
Least input fncrernent 0.001mm o 0 0 0
InterpoMou unit 0.0005 mm o 0 0 0
output Unit 0.001 mm o 0 0 0

Pro&ymrunable dimension x1O Progrnm 1 x10 A A A A


Subnricron command O.OS*for * * A A
interpolation O.lf.L
for input

03 Data format
mlM 3UM-V
spa - -- mmf 330M 32mt4 33fm

335M 335$4
ISO/EfA Arrtonmt ic o 0 0 0
identiflmtion
Label skip Ignored untif fiist o 0 0 0
EOB
Prnity check Pmity M parity V o 0 0 0
Control irr/out Comment in ( ) o 0 0 0
optional block skip 1st code h,andled o 0 0 0
ns
Word addrw forrrmt Afph,mmmencs o 0 0 0
Program number O + S digits o 0 0 0
(L + 8 digits)
Sequerree number N + 5 digits o 0 0 0
M2 format stmrdtrrd o 0 0 0 Macro converter,
error check relem-e

0’4 Ihlfk
3tm4 ?um&v
f$P-”- Daib 320M 330M 32m4
Si%l
33SM
333M
Input buffer 24S chmacters x 5 0 0 0 0
Pre-read buffer Mnx. 5 blocks o 0 0 0
Buffer correction Memory correc- 0 0 0 0
tion

-163-
,,, , ,, ... .,, .,,,,, ,,,,...,, .,

APPENDIX 1. SPECIFICATIONS TABLES

O : Standard specifications . : Standard specifications with built-in PLC


o *: Standard specifications requiring additional 1/0 or built-in PLC
A : Optional specifications A : Optional specifications with built-in PLC
A*: Optional specifications requiring additional 1/0 or built-in PLC
* : Special optional specifications or separate consultation

05 Position commands
- 3UOM-V
%--- mltaas 310M 3mA4 32flM - P +3
S -
Position ommrrmndtystem Absolute/ o 0 0 0
incremental
Inch/metric conversion Parameter switch- A A A A
in& G20/G21
Decimsl point input I, II Il=lprq o 0 0 0
IEl=lmm

06 Interpolation functions
3otJM 3floM-v
s& - -- Details 32ftM 33DM 320A4 330M P

33s4 msf+i
I Positioning IGOO 10101 Iolol -1
I

Unidirwtion positioning la I A A I A I A
Linear intemolation Gcrl o I o I o 0 I [
L
Circufar interpolation (IJK, G02@03 (2 axes) o 0 0 0
R)
Helicrrf interoolrdion GOZG03 (3 axes) A A A A
Spimf interpolation — A — A
Imaginmy axis interpolation 007 A — A
llrread-arttirrg (feadltfrread G33 — A — A
number designation)
Cylindrical interpolation — * — *
Plnne selection G17, G18, G19 o 0 0 0
Synchronous tap cycle A A A A FR-SF/SFJ
required
Normal line control (341.1, G421 — — A A See above

07 Feed functions
~ m -v
320M 330m6 32ffM

336M
I Ranid traverse I o o 0 0
CUttiogfeed 0 0 0 01 I
Feed designation Per-minute (094) 0 0 0
Per-revolution A A A
(095)
Fldigit feal FO 000, F1-F8 A A
001
S@ change A ~. A Feedrate
incrensed or
reduced by
manual pufse
generator
Automatic o o 0 o
I mxeleratiort/deceleration I
Higlrfy awrrrnte control Acceleratiord
tirrrctions deceleration prior
to interpotatio%
Gdl.1 — A
optimum comer
deceleration
Vector time
interpolation
Feed forward

-164-
APPENDIX 1. SPECIFICATIONS TABLES

O : Standard specifications ● : Standard specifications with built-in PLC


@*: Standard specifications requiring additional 1/0 or built-in PLC
A : Optional specifications A : Optional specifications with built-in PLC
A*: Optional specifications requiring additional 1/0 or built-in PLC
* : Special optional specifications or separate consultation

07 Feed functions
300M mobs-v
Sfleaissdim 320M 3mM 32m4 330M r.

33M 3mPd
Rapid tmveme Overnde ~ 2.5,50, 100% o 0 0 0
Any vafue from e e e e 170 units
I-lwo
Culting f&xl override 0%0-300% in 1070 0 0 0 0
St+
0%-327% in 1% e b e e
stem
---r-

2ud cutting feed override 0%-327.67% in – e — e


0.0170 steps
...
fi,rti”m
..-..efF.=Ard.
.— . .-Innm Vector control for o 0 0 0
I
..”.—.....~

Ieach axis I I I I I I I I
Error detect In-position chwk ● 8 o .* ●

Exact stofr check Go9 o 0 0 0


Qn-position check)
—-. ”..r -..-.. _mde (361 o 0 0 0
Tapping mode 063 0 0 0 0
Cutting mode m o 0 0 0
Automatic comer override 062 A A A A
Cverride cancel G o 0 0

08 Dwell
3#M 3am4-v
Spe- -- netai!a 320M 3a)bf mM mtmi
33SM 335M
Tree-based design~tion OIM (094) o 0 0 0
Revolution+med desigrmtion CW3(G95) . 0 . 0 Spindle encoder
required

09 M iscelkuwxms fnnctions
3rm4 311fmf-v
Specmakm - 32fM 32m4 3mu
2%
3&M mm
M2d@t BCD output o 0 0 0
4 sets of M8digit oulpuls e * e e
Independent M output MOO,MOI, MIXL o 0 0 0
M30
Miscelfmmus function lock o 0 0 0
Mbcelkmeous function finish o 0 0 0
.
2ndtniscelkmeous funciions S-digit BCD A A A A From Aj B, C
output

10 Spindk fnnctiom
3aoM 300M-V
s~ 3ZIM 32aP4rl 330M
J%&
33SM
S2.digit ECD output o 0 0 0
S5-digit mmhg output A A A A
.%-digit output * @ e o
Coust<mt peripheral speed A — A Ss-dglt mudog
Control requirwf
Spindle C-axis control A A A A FR-SF/SFJ
required

-165-
APPENDIX 1. SPECIFICATIONS TABLES

O : Standard specifications . : Standard specifications with built-in PLC


. *: Standard specifications requiring additional 1/0 or built-in PLC
A : Optional specifications A : Optional specifications with built-in PLC
A*:Optional specifications requiring additional 1/0 or built-in PLC
A : Special optional specifications or separate consultation

11 Tool functions
3X)M 30DM-V
*--- - 3mM 33)M 320M 33M ?-

33SM 33SM
T2digit BCD output o 0 0 0
TSdigit output * ● ● 0
ATC tool entry A A A A Mnx. S0 took
Tool fife monitoring I Tmq frequency * A * A No. of took must
monitoring be specified
Tool fife monitoring II spare tool * A * A See above
monitoring
Number of tool fife mannge 100 sets * L * A
ment sets 200 sets * A * A
m sets — A — A
400 Sets — A — A
m sets — A — A
doo sets — A — A
700 sets — A — A
Soo Sets — A — k
900 seis — A — A
lorm sets — A — A

12 Tool offset
XMKh4 300M-V
Sk - -“ Dedk 320M 331M 32m4 33nPd[
–u
33fEm
3m+A 3?5M
. ---
Tool Im).rh
.-.-m.. nffc-
“..”.,.
CM’?
..,.., P.&l
--, CMo
-7.
n c1 0 0
045-048 0 0 0 0
G3S-G42 A A A A
. .—.-- . . . . .... r&P.A?
--–., -. —
— A A .A
compensation
,
Tool offset memory VPe w o o o o No distinction
(1 . .re orrfy can be selwted)
. tVD I I I I I I I betwea I
I ~ ! shape/wear
I
We 01) — A A A Distinction
between
shape/were
No. Of too] Off.@WS 40 sels o 0 0 0 Combinations of
Sels
100 sets A A A A See above
200 sets — A — A See above
4ofi sets * — A See above
SOOsets — * — A See above

-166-
APPENDIX 1. SPECIFICATIONS TABLES

O : Standard specifications . : Standard specifications with built-in PLC


@ *: Standard sp~ifications requiring additional 1/0 or built-in PLC
A : Optional specifications A : Optional specifications with built-in PLC
A“: Optional specifications requiring additional 1/0 or built-in PLC
k : Special optional specifications or separate consultation

13 F rogram snpport fnnctions


3WM 3aoM-v
Sporaidirm 32i?M 33m5 320M T
=
33SM
canned CyCtes G72-G89 A A A A
Subprogram control M9Sj M99 o 0 0
Pattern rotation A A
Program mordmte rotation w, 069 A . A
Parameter coordirmte rota- A — A
tion
User macros Gals, Gd6, G67 A A A A
No. of variable cmrurumd sets IN sets A A A A Some restrictions
on eorntrirmtions
m sets A A Some restrictions
on corrrbirmtions
304 sets A . A some restrictions
on combinations

Macro irrtermpt A . A
Smling G50, G51 — A A
Mirror inmge Par<meter setting o 0 0 0
Exterml input ** ** ** .*
G50.1, G51.1 o 0 0 0
(G cmrrrmmds)
Comer ctmmfering/comer R I 2 lines A — A
Linear angle command o 0 0 0
Geometric comrmmrdI 2 lines A . A
Program parameter input A A A A
Program compensation input G1O, workpiece, A A A A
tool
Cim.ilur cuttiag Glz G13 A A A A
Gordinate readout (G14) A Note A Note A Nole A Note GnIy possible with
M2 format
Special cmmed cycles G34-G37. 1 A A A A
User macro (I) G1OO-G2O2 A A A A

14 Coordinate system settings


- MM-V
sp~ - mM mold
ZL z%
Mauualrefereuce poiut o 0 0 0
returu
Autonmtic refereucepoint (32S, G29 o 0 0 0
return

2rrd13rd/4th reference point G30 A A A A


return
Refereuce point veri!j G27 o 0 0 0
Automatic coordinate system o 0 0 0
set ting
Machine cwrdlmrte system G53 o 0 0 0
Work coordinate system of. G54-G59 o 0 0 0
fset
f..mxd oxwcfimrte system aett- G52 0 0 0 0
~g

-167-
,,. ,. .,, ,., ,,, .,, ,, ,.,,, ,

APPENDIX 1. SPECIFICATIONS TABLES

O : Standard specifications . : Standard specifications with built-in PLC


. *: Standard specifications requiring additional 1/0 or built-in PLC
A : Optional specifications A : Optional specifications with built-in PLC
A*: Optional specifications requiring additional 1/0 or built-in PLC
* : Special optional specifications or separate consultation

14 Coordinate system settings


- alwl-v
Sk - “- Ilelaml sm!l mm xmd mllM P
m-ml 3rs14
Coordinate~stemsetting c% o 0 0 0
tigin setting Clmr~onCRT o 0 0 0
Countersetting -red onCRT o 0 0 0
Programrmtartiimction A* A ~. A
coordinatesystem for rotay o 0 0 0
Z&

15 Machine error compensation


m wml-v
sp- rx?raib 3aml mM - 330M P, *

3&5M 33SM
Backfash compensation o 0 0 0

Memory pitch error A A A A


mnpmsntion

Memory relative position er- A A A A


ror compensation

Arc radius error compensa- A A A A


tion
Lost motion compensation — — *
Thermaf distortion compensa- — — — *
tion

16 Protection fnnctions
- 3mr4-v
Sfmmatim mlaik m mm mM 33DM P *
- -
Emergency stop o 0 0 0
Stroke end o 0 0 0
Stored stroke tinrit I Outside inhibit o 0 0 0
Stored stroke limit II Outside inhibit o 0 0 0

IMernal deceleration ● * .: ● * ,*

fnterbck No directionality ● * o ● * o
Directionntity e ● ● ●

Data protection keys o 0 0 0


Stroke check before Only prohibited - A — A
movement in.4de

-168-
APPENDIX 1. SPECIFICATIONS TABLES

O : Standard specifications ● : Standard specifications with built-in PLC


@ *: Standard specifications requiring additional 1/0 or built-in PLC
A : Optional specifications A : Optional specifications with built-in PLC
A“: Optional specifications requiring additional 1/0 or built-in PLC
* : Special optional specifications or separate consultation

170 peration modes


3dloM 3QOM-V
Ikraik 320m4 3ami 3mM 330M
336DHM
335M 3amf
I Tape I Based on RS-Z32- I 0 I O I 10101 I 1
C cbarrnel O
Memmy o 0 0 0
MDI o 0 0 0
Jog feed (mm/min) Code system o 0 0 0
Incremental fed xl, Xlo, X103, o 0 0 0
XICQO
L

Handle feed xl, Xlo, Xlw, A A A A


Xlooo
Hrmdle feed (3 exee) xl, Xlo, X1OO, L A A A
] X1OOO I I
Mmmrrl rapid tmverse I o 0 0 0
Murnd reference point Dog system high- 0 0 o 0
I return I mwd selexXiOn 1 I 1– “1
~ssible

Automatic bandfe interrupt A A A A


%uuttaneons A A A A
manual/automatic operation
Manual numerical command MST commands A A A A
on CRT
High-sped machining mode I as P1 A A A A 4.2 nr/min cutting
capacity
High-speed nmcbining mode 003 P1 — — * * 8.4 urlmin cutting
lB high-speed capacity
analysis engine
H@speed machining mode 005 P2 (linear * * 33 nr/min cutting
ff corrrmmrdsorrlvl camcihf

18 External control
300M 30MA-V
Sk - -- IMails 32Q144 33tM 32itM 33Km4 P
33fEIM
33iM mmf
Control Wwer oa/off o 0 0 , 0 I 1

NCmaet
1 0
I o
I
o 0

NC meet 2 ** c0 I ** I o I I I
1 I I 1 1 I 1 1
Automatic operation start o 0 0 0
Feed hold o 0 0 0

Smate
. block “7 0 0 0 0

Diy mn o 0 0 0
Mirror image ** o .* o

Mmmal absolute selection ** o ** o

Maclrine lock for aft axes Common for o 0 0 0


nuto/mmmaf
Machine lock for ench axis Sepamte for B e e Q
aut ohnmnmf I I I I
&axis cancel o 0 0 0
DisL)LwIock I I
Reset and rewind I o 0 0 1 0
I

-169-
APPENDIX 1. SPECIFICATIONS TABLES

0: Standard specifications . : Standard specifications with built-in PLC


e *: Standard specifications requiring additional 1/0 or built-in PLC
A : Optional specifications A : Optional specifications with built-in PLC
A*: Optional specifications requiring additional 1/0 or built-in PLC
* : Special optional specifications or separate consultation

19 Status outputs
xmd m-v
s~ - -- - 3a3M 3mM xaw mmd T
mm =
NCready o 0 0 0
*No m@ o 0 0 0
In-automatic ope~tion o 0 9 0
In-autormrticoperationstart o 0 0 0
in-autOrnatiCoperationpause o 0 0 0
In-rapidtmverse .* o ● * o
in-arttingfeed .* o .* o
In-tapping ● * o ** o
In-rewinding ** o .* o
A& seledionoutput ● * .* ** **
Axialmovement direction + ● e *
NCalarms Alarm1 0 0 0 0
tmrln~3,4 ** o ** o
In-re@ting o 0 0 0
Movement .xmunrmd o 0 0 0
completion

20 Measurement support functions

mtaits

Lmeasrrrement
Automatic tool length G37
I
— A — A
measurement
Skip timction G31 A A A A
Multi-step skip function G31.1-G31.3 — A — A

21 Axis control functions


300M Xtm4-v
*- ‘- Wtaifs 320?44 3mM 3am4 3md
330HM
335M 33SM
servo off ** ** ** **
Mechanical handle o 0 0 0
Folfow-up function o 0 0 0
Axis removal ~. ~. A. ~.
synchronous control 1 address, 2 mo- — — k *
tors
Chopping function — — * * PLC built-in DDB
reauired

-170-
APPENDIX 1. SPECIFIC’A TIONS TABLES

0: Standard specifications e : Standard specifications with built-in PLC


@ *: Standard sp~ifications requiring additional 1/0 or built-in PLC
A : Optional specifications A : Optional specifications with built-in PLC
A*: Optional specifications requiring additional 1/0 or built-in PLC
* : Special optional specifications or separate consultation

22. Tape memory


3om4 3fm4-v
spe- -“ Details 320md 330M 32DM 33m4

33SM 333M
Tape memory Input, outpu~ etc. o 0 0 0
Program editing CQrrect, deletq o 0 0 0
etc.
Background editing o 0 0 0
Program memory capacity 2om (35) o — o
(the number of programs 40 (64) A – A -
which can be entered is indic-
ated inparentheses) so (127) A o A o
160 (200) A A A A
30il (400) * A A A Not possible for
* with APLC
600 (400) - A — A
1200 (ltxq - A4CQ — A
2.500 (1OOC) - A400 — A
5000 (1OGQ) - A400 — A 4.500m for 335M,
5000 m for
335MV

23 Setting and display functions


3NM MOM-V I
?q - -“ m?aik 3xib4
3?2!4
Seltirrg
and dispfay UIdt 9-ilrch 20M 30M
monochrome I 1 1
144nch color HM135M — HM/35M i
Various settings and displays o 0
Progrmrr/aequenc&number o 0
aemmh
Ciilatimr StOD A
GOrdmite valu~ O o

I
program mmdrrg stahrs
display modrda, nmchining
uroarams I I
MDI data seUbrg/dispL~y o 0
Run-out time d~play o 0
Parmneter settings/dkp?ay Work coordinrd~ o 0
I tool offset. etc. I I I
Machining time computation A
PLC switches * e
PLC screen release i A
Languages displnyed Jap,anesq Errgfiih o 0 o
I o
3rd, 4th L?rrguages * * & A Based on APLC
system

-171-
., .-,

APPENDIX 1. SPECIFICATIONS TABLES

0: Standard specifications . : Standard specifications with built-in PLC


. *: standard spwifications requiring additional 1/0 or built-in PLC
A : Optional specifications A : Optional specifications with built-in PLC
A*: Optional specifications requiring additional 1/0 or built-in PLC
* : Special optional specifications or separate consultation

24 Programming support functions


3WM I Sitomd-v I
Spe- “- DMails 32aM 33aM 3iuiM 33M

I 33SM 335M
Gmphic address menu A A A A
program input
Ptayback program input A ~. A
Voice input * A * A
Graphic trace Tracing of A A A A
machine operation
irrreal tti

Graphic check High-speed A A A A


I tracing of
G.cofind paths

25 Interactive automatic programming


301M 3fnM-v
Sk -- -- Iktaifs 32aA4 ?3AlM 3am4 330M T
XUHM
335M 3xiM
Automatic programming Built-in FLD — O 35M — 0 35M
system system

26 Self-diagnosis
33aM 3UJM-V
Sk “- -- Iktaik 3mM 33DM 3am4 33JM
33aHM
335P16 335M
Program error display o 0 0 0
Operation error display o 0 0 0
Servo error displny o 0 0 0
Operation stop cause dispL~ o 0 0 0
Sewo monitor displny o 0 0 0
Specification table display o 0 0 0
1/0 interface dispLIy o 0 0 0

27 Data link functions


I -“mA Xm4-v
Spabtilm Wtails 3mM 33aM 32(M 3miM

-1’KM 335M
RS-232-C interface channel I For I I
(1} I general-purpose I I I I I I I I

RS-232-C interface channel I For host fink IAIAI ]AIAI I I


(2)
Conversion unit RS422 interface A A A A
Optical interface A A A A
Paratlel puncher A A A A

Parallel render A A A A
I interface I I I I I I I I

-172-
APPENDIX 1. SPECIFICATIONS TABLES

O : Standard specifications . : Standard specifications with built-in PLC


e *: Standard sp~ifications requiring additional 1/0 or built-in PLC
A : Optional specifications A : Optional specifications with built-in PLC
A*: Optional specifications requiring additional I/O or built-in PLC
$r : Speeial optional specifications or separate consultation

27 Data link functions


3oaik4 Xiowv
Spe 32nM 330M 3mM 33(M

33mY XfiM
Computer fink funcliom Intelligent A A A A RS-2?.2C CH-2
termkml lii required
Computer fink A A A A A See nbove
Computer link B A A A A See abwe
MAP link function * * * *
13igh-spead sewer operation HDLC 750 kbps – – * * On-lime operation
cimunurdcation wit h datn server

28 1/0 devices
alma 3nomfi-v
Spifidrm - 3X)$9 mmd 32M4

33SM
3%%s
Serial r.ader PTR-0Z4 A A A A
%wial puncher kTP-02A A A A A
Serial printer ~P-02A A A A A
3.5-iich seriill floppy disk A A A A
drive

29 Machine interfaces
3WM am’.f-v
s~~ 32m4 330PC4 32tM 33ilh9
33GHM
33SM 33s$4
High-speed input signal 4 points o 0 0 0

Spindle interface Am 1, encodec 1 0 0 0 0

Machine txmtad I/O interface Standard DI 64 112 .54 112


Standmd DO 45 90 45 9Q
Maximum DI 192 240 192 240 Further expansion
with remote IO

Maximum DO 173 218 173 218 See above


Operation board interface (1) Di d$ Dw 48 A A A A
CPeration board interfme (2) Dk 64,Drx48 A — A
Remote 1/0 unit Dt 51Z DC 51Z - fr . *
AC output

30 PLC system
3mM 3ot.YM-v
spifirsh - 32m4 310M 330M
S%K4 3mm#
Standard PLC Ekmedon standard o 0 0 0
connect ion table
Built-in PLC Ladder sequenm A A A A Refer to built-in
PLC system
13rteraal PLC fink .%rid lii with – - * * MELSEC-A
MELSEC renuird

-173-
. .,.,,,/,,,.. i-’.

APPENDIX 1.SPECIFICATIONS TABLES

O : Standard specifications ● : Standard specifications with built-in PLC


a *: Standard sp~ifications requiring additional 1/0 or built-in PLC
A : Optional specifications L : Optional spmifications with built-in PLC
A*: Optional specifications requiring additional 1/0 or built-in PLC
* : Special optional specifications or separate consultation

31 units
XKrM 300M-V
*- - 320P’A 333M 3atM ZxtM

mmA 335M
CNC control unit o 0 0 0

Drive amplifier unit MR-S series o 0 0 0 NCYIZ2


Tape handfer A A A A

NOTE A drive amplifier in the MR-S1l series is required when the high-speed machining II option
of the 300M-V series is added.

32 Servo systems
I 3r3mi I ml+v
Delzik 3XM 31W Zzfm4 3XW r
33emM
335M 32s4
AC servo motor (Smaff) So-lww k * * * ZMIOrpm rating
0.2kW, 0.3kW, selected apedfkationa WOOrpm rating
0.5kW
lkw, 2kw, With diviaiona
3.skw, 4.5kw
ilame) 71CW,9kw * * * *
Detecior Encoder o 0 0 0
Linear scale A A A A
Inductosyn * * * *

Abaohrte position * * * *
detection

Submicron detec- * * * *
tion (encoder)

33 Power requirements

.. Wfsita 3mh’1
XwM
I
X?mf
3mM-v
33(M ?-
1~1 1- 330HM
3i35M
o 0
33SM
0
1
Step-down
trarraformer for
AC 100~ (0.8
KVA) optiorml
A A A
export w

34 Environment
3XE4 3mM-v
Specs=-- - 32m4 33X%4 32DM 330M r -%
lmlrw 330HM
33s!6 33SM
Temperature 0 to 5YC during o 0 0 0 Ambient
operation temperrrture of
unit itself
Humidity Max. 75% o 0 0 0
Viirntion Mnx. 0.5G during o 0 0 0
operation
Atmosphere Dust, organic o 0 0 0
corrosive gases

-174-
APPENDIX 1. SPECIFICATIONS’ TABLES

0: Standard specifications @ : Standard specifications with built-in PLC


@ *: Standard specifications requiring additional 1/0 or built-in FLC
A : Optional specifications A : Optional specifications with built-in PLC
A“: Optional specifications requiring additional 1/0 or built-in PLC
A : Special optional specifications or separate consultation

35 Btilt-im PLC system


ImMl mm-v I
Sfl.- -- E!lai3s 3m4 333M 32DM 3mM

33!M 33SM
Ladder sequence Bmic instrucliorw 20 instructions for
19/20 M309-V serkx
Function instrrm
tiorw 76
e e b e
Specinl iostruc- ATC mntro~ etc.
Iiou$ 16
Bit operation 16,384 bits for
data 44%/163S4 M3W-V series
under stmrdmd
specifimtioas
External alarm messages e * 0 *
External operator messages @ e * e
PLC switch ON/OFF with e e e e
ladder sequence
Load meter dispL?y Gmpft displny on e e e e
present value
screen
Trier/counter settirrg/dispIay Variable e o 0 0
timer/connter used
PLC pmnrneter Reference possible e 0 e 0
sett ing/dispL?y from ladder sequ-
ence
Intertkme dingnosis Forced sigrrnl @ o ● e
operatio~ latch
monitor

Bit opemtion data expansion +4096 bits A A e a 163S4 bits for


M3t%V serie9 I
Ladder monitor Ladder nrn status A A A A
displny
DDB interface Dir&t cormaion A A A A
beivwert NC PLC
Externrd search A A A A
Exterod tool offset input Exterrml nmchine A A A A
wordirrrrte system
mmpensation
Ektemnl work A 4 A A DDB interface
coordimte system required
comperrsntion
input
Ektemal tool A A A A DDB interface
offsetinput required
User macro data input/output A A A A
PLCaxis
control Independent axis * * k *
control for
ATC/trrmsporta-
tioq etc
APLC (PLC functions in C CRT screen M-FAS302
fanguage) (chirmcters, graph- required for
its) development
CNC dato A A A A environment
read/write
IM-232C data
writ rol
3rd/4th kmgunge
disfiny

-175-
,,. ,.

APPENDIX 1. SPECIFICATIONS TABLES

O : Standard specifications . : Standard specifications with built-in PLC


. *: Standard specifications requiring additional 1/0 or built-in PLC
A : Optional specifications A : Optional specifications with built-in PLC
A*: Optional specifications requiring additional 1/0 or built-in PLC
* : Special optional specifications or separate consultation

35 Feed functions
- 3aM-v
% - 3ioPd Xa+l 320M 3313M T

33SM 33s4 I
PLCIAPLC ROM Sk PLCROM I e * e ● 1 PLCIAPLC
32KB ROM selected
1164KB A A A A
III 12SKB & A A A
Iv 256KB A A A A
V 512KB . A , — k
APLC RAM Sire PLCRAM I A A A A E5sentinl
64KB
II 12S KB — A — A Possible without

36 Customized release system


l-l 3aQM-v I
Sp “- “- Detaiis 32DM 330M 3mr4 330M
335M ?ashl
screen releaseinterface Au screens — — * *
released
Some CNC — — * *
screensreleased
screen selex%ion — — * *
menu release
CNC fii & drdri interface CNC data — — * *
readlwnte
Machining . — * *
program access
Tool data — — * *
read/write
Communication interfam RS-232C DC — — * *
mntrol
Custom data fde interface — — * *
Custom ROM size Cassette ROM I – – * *
256KB
H 512KB — * *
Base ROM — — * *
1024KB
Custom RAM sire Custom RAM I – – * * Essential
64KB
II 12SKB — — * * Possible with no
APLC (W Note)

NOTE The maximum RAM size is 128KB when the APLC functions and customized release functions
are used.

-176-
APPENDIX 1. SPECIFICATIONS TABLES

~LC/AFLC/customized release function development environment]


Both PLC on-board functions using the CNC system and the Mitsubishi FA station (M-FAS302) are
available for the development environment.
For details on the M-FAS302 specifications and hardware configuration, reference should be made to the
separate documents.
PLC/APLC development environment (0: standard specification, A: optional specification, —: cannot be
developed)

On-board M-FAS302 Remarks


300M 300M-V TYPE-1 TYPE-2
Ladder editing o 0 0 0
Message editing o 0 0 0
ROM cutting o (Note) o 0 Using ROM cassette writer
for 3@3M-V
F1oppy disk drive 1/0 o 0 0 0 (FDOIA required)
Print output . 0 0 0 (PRT-02 requi~)
File division o 0
Lkt editing — — A
Cimuit use — — — A Using “vi”
Device collective conversion I — 1— IA I Using ‘%”
CAD communication — 1A A6GPP format 1
C language I. 1A I
screen editor (CRT screen I – — — 1A
preparation) ‘ I

[On-board PLC development tools]


[300 series]

Specification Details 320M 330M 330HM 335M Remarks


I
PLC development MC942 RAM card A A A A Compatible with
tool A MC411/MC413 ROM
cards
On-board .?oftware A(3) A(3) A(4) A(4) (3) for 9-inch uniG
ROM (3)/(4) (4) for 14-inch unit

[300M-V series]

Specification Details 320M 331JM 330HM 335M Remarks


PLC development MC431 (with on- A A A A Both 9-/l4-inch
card board software) units accommod-
ated
RAM cassette MC84~ MC844 A A A A Compatible with
MC841/MC843
ROM cassettes
ROM writer With card/cas- A A A A Dtwelopment of
aette adapter MC841/MC843/
MC431 ROMs

-177-
APPENDIX 1. SPECIFICATIONS TABLES

O : Standard specifications ● : Standard specifications with built-in PLC


. *: Standard specifications requiring additional 1/0 or built-in PLC
A : Optional specifications A : Optional specifications with built-in PLC
A*: Optional specifications requiring additional 1/0 or built-in PLC
* : Special optional specifications or separate consultation

NOITZ The following restrictions should be borne in mind for overall combinations with the tape storage
capacity, number of tool life monitoring sets, number of tool offset sets and number of common
variable sets. Cheek out the table below,

Program storage < Empty No. of common No. of No. of No. of tool life
capacity blocks > variable sets offset I offset II monitoring sets
sets sets
20 (44) 100 ssts (4) 40 sets (1) 40 Sets (4) 100 sets (lo)
40 (Iq 200 sets (7) 10Usets 100 sets 200 Ssts (20)
(2) (8)
80 (150) 300 sets (lo) 200 sets 2CQsets 300 sets (30)
(4) (16)
160 (64) 40Usets 400 sets 400 sets (40)
(7 (28)
3(KI (150) WJOsets — 5011sets (50)
(13)
600 (150) m sets (60)
1200 (150) 70Qsets (70)
2500 (150) m sets (80)
50CHI (150) $COsets (90)
lCGUsets (100)
Required 02 () + () + ()
specification
configuration

The total number of blocks used for the common variables, offset and tool life monitoring must be less
than the number of empty blocks of the program storage capacity.

-178-
APPENDIX 1. SPECIFICATIONS TABLES

0: Standard specifications @ : Standard specifications with built-in PLC


@*: Standard specifications requiring additional 1/0 or built-in PLC
A : Optional specifications A : Optional specifications with built-in PLC
A*: Qptional specifications requiring additional 1/0 or built-in FLC
* : Special optional specifications or separate consultation

51 Diagnosis fnnctions
lmkMl Xm&lr I
Sp -- “- - 329M 330M 3amA 3mM

33.m4 3z5iM
Operation stop factor dispL~y Blcck & fed hold o 0 0 0
stop
Operation error fmlor display Operation error & o 0 0 0
external sigrml
Sbnorrndiiy
Program error factor display o 0 0 0
Servo error fnctor display F@ WVO & o 0 0 0
spindle SF
Emergency stop factor o 0 0 0
dis@ny
Machine sequence error fac- Retated to * * ● e
tor d~lay machine power
board
Temperature rise detection Control unit & oEO oEO o 0
CRT board
DC suppty voltage deteclion + w, + 12V, oEO OEO o 0
+24V

Key opemtimr history Automatic storage OEO OEO o 0


monitor of CRT key data
AC input power malfunction Cumulative count, oEO OEO o 0
detection monitor cumulative time
Sofhvme configuration Main nnit, IOP, o 0 0 0
disptay MCP, LAN, etc.
Hmxfware/sewo table display System — o 0
cordlgnmtion
display
servo . 0 0
confignrat ion
display
System ROM check EPROM code * * * k
check
Parameter data 1/0 check o 0 0 0
. .. . aam
urmr
. . u. ,-.
w cnecK
. I Ivlul Iulwl I

NOTE 1. “HI” in the columns denotcx the CNC main software version and it indicates that the
corresponding function is valid in the EO and subsequent versions.
APPENDIX 2. FUNCTION CODE TABLE
APPENDIX 3. FORMATTING DETAILS

APPENDIX 3. FC)RMATI’ING DETAILS


mm De&d
Program number 08 (L8 can be selected with M2
format)

Preparatory functions I G31G21 I


Movement commands Least input increment A O.O1°/mm X+52 Y+52 Z+52 w+52
Least input increment B O.OO1°/mm x+53 Y+53 Z+53 a+53
Least input increment C x+44 Y+44 Z+44 0!+44
O.OOO1°/mm
Movement Least input increment A 0,01 ‘/mm 1+52 J+52 K+52
commandslarc and Least input increment B O.OO1°/mm 1+53 J+53 K+53
cutter diameter
Least input increment C 1+44 J+44 K+44
O.OOO1°/mm
Dwell Least input increment A 0.01 “/mm x+ 53, P5
Least immt increment B O.OO1°/mm x+ 53. P5
Least input increment C x+ 53, P5
O.OOO1°/mm
Feed functions Least input increment A O.O1°/mm F62
Least input increment B O.OO1°/mm F53
Least input increment C F44
O.OOO1°/mm
Tool offset H3, D3
Miscellaneous functions I M2/M4/M8 I
Spindle functions s2/s51s8
Tool functions T2/T8
Secondary miscellaneous function A8/B8/c8
Subprogram P8 H5 L4
Canned cycles Least input increment A O.O1°/mm R+62 Q62 P5 L4
Least input increment B O.001”/mm R+53 Q53 p5 L4
Least input increment C R+44 Q44 P5 L4
O.OOO1°/mm

NOTE 1. “a” can denote A, B, C, U, V or W.

Nom 2. The number of digits in a word is checked by the maximum number of digits in the address.

Nom 3. Ml leading zeros in numbers may be omitted.

Nom 4. The significance of the symbols and abbreviations used areas follows.
Example 1) Otk 8-digit program number
Example 2) (.321: Dimension G has 2 digits to the left of the decimal point and one to the
right.
Example 3)X +53: Dimension X has a” +” or “-” sign and 5 digits to the left of the decimal
point and 3 to the right.
The example given below is a case where the X-axis is positioned (by the GOOcommand) at
the 45.123 mm position in the absolute value (G90) mode.
G X45123;
-3 digits below decimal point
This denotes 5 digits above decimal point. However, since the actual
value is “+00045,” the hmding zeros and “+” sign are omitted.
L GO may be programmed instead.

-181-
APPENDIX 4. LIST OF COMMAND VALUES AND SETTING
RANGES

APPENDIX 4. LISTOF COMMAND VALUES


AND SETTING RANGES
Linear axis Rotary axis
Input unit (mm) Input unit (inch) 0 (deg)
Least input increment o.0001/o.col/o.ol o.ouool/o.ocol/o.oul 0.001/0.01
Minimumstroke ? 9999.9999mm k 999.99999 inch
(value at machine coordinate SySem) *99999.999 mm &9999.9999 inch * 99999.99Y
&99999.99 mm ? 9999.999 inch * 99999.99°
Maximum programmable dimension *9999.9999 mm &999.99999 inch
&99999.999 mm k 9999.9999 inch t 99999.99Y
*99999.99 mm & 9999.999 inch * 99999.9Y
Rapid traverse rate 1-1200U mm/min 1-1200 inch/rein l-6W30°/min
1-600C0 mmlmin l-@30 inch/rein
Cutting feed rate 1-12000 mm/min 1-1200 inch/rein l-60CKD0/min
1-60CKKImm/min 1-6MKI inch/rein
2nd-4th zero point offset = 9999.9999 mm k 999.99999 inch
(value at machine coordinate system) & 99999.999 mm ? 9999.9999 inch ? 99999.999’
k 99999.99 mm z 9999.999 inch * 99999.9Y
Tool offset amount (shape) * 99.9999 mm * 9.99999 inch
* 999.999 mm ? 99.9999 inch
? 999.99 mm &99.999 inch
Tool offset amount (wear) *9.9999 mm &0.99999 inch
*99.999 mm &9.9999 inch
*99.99 mm &9.999 inch
Incremental feed amount 0.001 mm/P, O.CH)l O.OCDO1inch/P o.ool”/P
mm/P O.OW1inch/P
Handle feed amount 0.001 mm/P, 0.001 0.00IMl inch/P o.oolO/P
mm/P O.OCH)linch/P
Soft limit range -9999.9999 mm – -999.99999 inch –
(value at machine coordinate system) + 9999.9999 mm + 999.99999 inch
-99999.999 mm – -9999.9999 inch – 1-359.999’
+ 99999.999 mm + 9999.9999 inch
Dwell time o-99999.999 s o-99999.999 Sec
o-99999 rev O-99999 rev
Backlash compensation amount 0- *511 pulses 0- =511 pulses 0- *511 pulses
Pitch error compensation amount o- 2127 pulses 0-3127 PUk5 O - *127 pU&
Dry run rate 0-3600 mm/min 0-360 inch/rein O-3600’/min
Manual jog rapid traverse O-600CKImm/min O-6(X)Oinch/rein O-600CP/min
Thread lead 0.OW1-99.999999mm 0.WJO1-9.9999999
0.001-999.99999 mm 0.0031-99.999999 inch
Synchronous feed 0.0CK11-99.9999 0.CKM31-9.99999
0.001-999.999 mm/rev 0.OKJ1-99.9999inch/rev

-182-
APPENDIX 5. LIST OF G COMMANDS

APPENDIX 5. LIST OF G COMMANDS


LIST OF G CODES (1/4)
Note 1: An asterisk (*) denotes a code which must be selected in the initialized status or a code which has
already been selwted. The ‘%” denotes a code which must be selected by parameter in the
initialized status or a code which has already been selected by parameter.
Note 2: When two or more G codes in the same group have been speeified, the G code entered last will
be valid.

G code I Group I Function


I
Remarks
I
M300 standati format M2JM0 format
froo 01 Positioning Same as left
*O1 01 Linear interpolation Same as left
02 01 Chcular interpolation CW Same as left
03 01 Cimular interpolation CCW Same as left
02.1 00 Spiral interpolation CW Same as left
03.1 00 Spiral interpolation CCW Same as left
04 00 Dwell Same as left
05 00 High-spesd mode Same as left
06
07 00 Imaginary axis interpolation Same as left
08
09 00 Exact stop check Same as left
10 00 Program parameter input same as left
11 00 Program parameter input cancel Progmm tool offset input
10.1
11.1 ~ Program parameter input cancel
12 00 Circular cutting CW Same as left
13 00 Circular cutting CCW Same as left
14 ~ Coordinate readout
-.
15 !
16
*17 02 Plane selection X-Y Same as left
*18 02 Plane sekction ZX Same as left
*19 02 Plane selection Y-Z Same as left
J%20 06 Inch command Same as left
“21 06 Metric command Same as left
22 04 Stroke check before movement Subprogmm call/pattern rotation
ON
*23 04 Stroke check before movement Subprogram return
OFF
22.1 Stroke check before movement
ON
23.1 Stroke check before movement
OFF
24
25 I I I I I
26 I I I I I
27 00 Reference point verify Same as left
28 00 Reference point return Same as left
29 00 Starting point return Same as heft
30 00 2nd-4th reference uoint @urn Same as left I

-183-
,1 .,.,,.

APPENDIX 5. LIST OF G COMMANDS

LIST OF G CODES (2/4)

G code Group Function Remarks

M300 standard format MZMO format


31 00 Skip Same as left
31.1 00 Multi-step skip 1 Same as left
31.2 00 Multi-step skip 2 Same as left
31.3 00 Multi-step skip 3 Same as left
32
33 01 Thread-cuttin~ Same as left
34 00 Special canned cycle (bolt hole Same as left
circle)
35 00 Special canned cycle (line at Same as left
angle)
36 00 Special canned cycle (arc) Same as left
37 00 Automatic tool length Sp&ial canned cycle (grid)
measurement
37.1 00 Special canned cycle (grid) Automatic tool length
measurement

38 100 ] Cutter compensation vector as- I Same as left I


signmcnt
39 100 Cutter comuensstion comer arc Same as left I
*4O 107 I Cutter comm2mation cancel/3- Ssme as left
dimensiona~ radius compen&ion
41 07 Cutter compensation Same as left
left/34imensional radius
compensation
42 07 Cutter compensation nght/3- Same as left
dimensional radius compensation
*40.1 15 Normal line dircdion control Same as left Only for V
cancel scrcis
41.1 15 Normal line direction control left Same as left Only for V
ON series
42.1 15 Normal line direction control Same as left only for V
I I rieht ON I series
43 08 Tool length offret (+) Same as left
44 08 Tool length offset (-) * Tool length offset cancel
45 00 Tool position offset expansion Same as left
46 00 Tool msition offset reduction Same as left
47 100 I Tool tmsition offset cmansion x2 I Same as left I
48 \oo I Tool position offset reduction x2 Same as left
*49 1~ Tool length offset cancel I
“50 11 Scafing cancel Same as left
51 11 Scaling ON Same as left
“50.1 19 G command mirror image cancel Same as left
51.1 ] 19 I G command mirror image ON Same as left
52 oil Local ccmrdinate system setting Same as left
53 00 Machine coordinate system selee- Same as left
tion
*54 12 Work coordinate Tstcm 1 Same as left
setting
55 12 Work coordinate system 2 Same as left
setting
56 12 Work coordinate system 3 Same as left
setting
57 12 Work coordinate system 4 Same as left
setting

-184-
APPENDIX 5. LIST OF G COMMANDS

LIST OF G CODES (3/4)

G code Group Function Remarks


M3fXlstandard format M2/MO format
58 12 Work coordinate system 5 Same as left
settirw
I 59 [ 12 Work coordinate Vstem 6 same as left
setting
@ 100 Uni-ditection positioning Same as left
61 I 13 Exact &on check mode Same as left
61.1 13 High-accuracy control mode Same as left Only for V
Series
62 13 Automatic comer override G command mirmr image

63 13 Tapping mode Same as left


*64 13 Cutting mode Same as left
65 00 User macro simple call Same as left
66 14 User macro modal call A same as left
66.1 14 User macro modal call B Same as left
*67 14 User macro modal call cancel Same as left
68 16 Conrdnate rotation ON User macm subprogram end

I *69 I 16 ~
00
Coordinate rotation cancel I End point error check r.deaw I I
I I I I
68.1 ~ Coordinate rotation ON
69.1 ~ Coordinate rotation cancel
70 09 User canned cycle Same as left
71 I 09 I Uwr canned cycle I Same as left I
72 I 09 I User canned evcle Same as left
73 09 Canned cycle (step) Same as left
74 09 Canned cycle (reverse tap) Same as left
75 09 User canned cycle Same as left
76 I 09 I Canned cycle (fine boring) I Same as left
77 I 09 User canned cvcle same as left
78 09 User canned cycle Same as left
79 09 User canned cycle Same as left
*8O 09 Canned cycle cancel Same as left
81 09 Cannd cycle (drilling/spot dril- Same as left
ling)

82 09 Canned cycle Same as left


(drillirtglcounterboring)
83 09 Canned cycIe (deep hole drilling) Same as left
84 09 canned cycle (tapping) Same as left
85 09 Canned cvcle iborhw) Same as left
186 I 09 I Canned cvcle (borimzl I Same as left I I
~ 87 I 09 I Canned cycle (backborirtg) I Same as left 1
88 09 Canned cycle (boring) Same as left
89 09 Canned cycle (boring) Same as left
lk90 03 Absolute value command Same as left
*91 03 Incremental value command Same as left
92 00 Machine coordinate system sett- Same as left
ing
93
I *94 I 05 I Asynchronous feed (per-minute I Same as left I I
I I I fe&f’1 I I I

-185-
.,,

APPENDIX 5. LIST OF G COMMANDS

LIST OF G CODES (4/4)

G code Group Function Remarks


M300standardformat M2/MOformat
*95 05 Synchronousfeed(per-rotation Sameas left
(feed)
f@6 17 Constantperipheralspeed Sameas left
controlON
*97 17 Constantperipheralspeal Sameas left
controlOFF
’98 10 Cannedcycle,initiallevelreturn Sameas left
99 10 Cannedcycle,Rferencepoint Sameas left
Iwelreturn
100 00
101 00 UsermacmI (substitution)= Sameas left
102 00 Usermacm1 (addition)+ Sameas left
103 00 UsermacroI (subtraction)- Sameas left
104 00 UsermacroI (multiplication)
x Sameas left
105 00 UsermacxoI (division)I Sameas left
106 00 UsermacroI (squaremot) ~ Sameas left
107 00 UsermacmI (sine) sin Same as left
108 00 User macm I (cosine) cos Same as left
109 00 User macm I (arctangent) tan-l Same as left
110 00 User macm I (square mot) ~ Same as left

200 00 User macm Same as left


(unconditional branching)
201 m User macm Same as left
(zero condition branching)
202 00 User macm Same as left
(negative condition branching)

–255 00 User macm (G code call> max. Same as left


10 commands

List of special M commands

M code Group M300 standanl format M2JM0 format Remarks


00 Progmm stop Same as left
01 Optional stop Same as left
02 Progmm end Same as left
, 1 I
30 Program end Same as left
I
96 Macro interrupt ON – (ION)
97 Macro interrupt cancel – (IOF)
98 Subprogmm call – (G22)
99 Subprogram return – (G23)

-186-
APPENDIX 6. G CODE AND ADDRESS MENU CORRESPOND-
ENCES

APPENDIX 6. G CODE AND .#iDDRESS


MENU

G12. IoF

-i:;?
SKIP
SIGNAL

G31 XYZF

G35 XYIJK

[ G41 XYD II (w XYD G43 ZH

G43 XYD

mmm
p_uH-.llsv.!LlLxw_

GM XYZRFP Gs5 XYZRF


1 G33 XYZRQF II II

[X .Y) M3 G9fj
*~-~---r
“V”-y-;r

-’ “d&z:+ ‘“ ~~ - &?r;, F

t .i. -.L L
-i5 O(P) --d (;) “—”

1 GG9 XYZRFP II G@ XYZRFP


1

-187-
,,,

APPENDIX 7. LIST OF VARIABLE NUMBERS

APPENDIX 7. LISTOF VARIABLE NUMBERS


0: Can be read or written
X : Cannot be written
– : Read/write does not apply

Variable Description Read Write


number (~
o Blank o x
1-33 Local variable levels O-4 0 o

Argument assignment I

# 1 2 3 4 5 6 7 8 9 10 11 12 13 14-26 27-33

zm~ A B c 1 J K D E F G H L M N-Z

Argument assignment II

# 1 2 3 4 5 6 7 8 9 IO-27 28 29 30 31 32 33

z=~ A B c 11 J1 K1 u J2 K2 13-K8 19 J9 K9 110 J1O K1o

100-199 Common vanablea 100 setx 103-149, 500-549 0 0


500-699 200 sets 100-199, 500-599
300 sets 100-199, 5011-699
Variable names can be entered into #500-#519
1OOO-1031 Macro interface input 0 x
1032
1033
1034 # Details
1035

1031 Register R?3, bit 15

1100-1131 Macro interface output 0 o


1132
1133
1134
1135

1131 I Rarister R1?3. bit 15 I

30CKI NC alarms (alarm display in macm program) —


3CQ1 Run-out time 1 0 o
3002 Run-out time 2 0 0
3003 0 0
3004 Feed hold. feed rate override. G09 valid/invalid 0 0
3006 Meaaage display/stop (mcasage display in macro program, block stop) —
3007 Mirror image 0 x
NOTE The variables corresponding to the optional specifications can be used when those specifications
have been added.

-188-
APPENDIX 7. LIST OF VARIABLE NUMBERS

O: Can be read or written


X: Cannot be written
-: Read/write doea not apply

Variable
number (A
Dtsmiption Read Write

4C01-4520 Modal information o x


Some modal groups for
Modal Pm-read Ezwllting Macro the modal information
information irrtenupt G codes may not exist.
G code 4cOl 4201 4401
(group 1)
5 $ { 5
G code
(group21) 4021 4221 4421
D code 4107 4307 4507
F wde 4109 4309 4509
H code 4111 4311 4511
M code 4113 4313 4513
N wde 4114 4314 4514
0 code 4115 4315 4515
S code 4119 4319 4519
T code 4120 I 4320 4520

5OO1-51O6 Po3ition information 0 x

w
A-dsl Axisz Axis3 Axis 4 A%i35 Axis6
Position infornrrmo
Blcck d poinr SOJl 5C02 XK13 5004 5005 5(06
Machine cooxtimrte 5021 5022 5023 5024 5025 5026
work C00rdirrate9 5041 5042 SrM3 .5044 ...-
5(M4 <(l
..M6
skin mdinnt= ,
5(X51 I .5C6’2
..- 1
?mn
--— 43(%I
.-=. 1
~
50s5 5056
Tcol pcsition offset amounr 50s1 50S2 50s3 50s4 50s5 50S6
I
Servo deviation amcmru 5101 I 5102 I 5103 5104 5105 5106

5201-5326 Work coo~inate offset 0 o

Axis 1 Axis 2 Axis 3 Axis 4 Axis 5 Axis 6


Work
EXT 5201 5202 5203 5234 5205 5236
GM 5221 5222 5223 5?24 5225 5226
G55 5241 5242 5243 5244 5245 5246
G56 5261 5262 5263 5264 5265 5264
G57 52M 5282 5233 52a4 5285 5284
G.% 5301 5302 5303 5304 5305 5306
G59 5321 5322 5323 5324 5325 5326

10001-17512 Tool offiet 0 0


2001-2800
Type I (up to max. 8011sets)
Tool position offsw 1OOOI-103W 2001-2200

WPO II (Up tO 400 Sets)

Toollength
drapeoffset 10301-N4C0 mol-zioo
Trml length wear oft- 11OO1-114OI Z331-Z400
Tcoldiamete shape ofk lrmO1-K4m 2401-ZOO
Tcol diameter shape offsa 17001-17400 2601-2s00

NOTE The variables corresponding to the optional specifications can be used when those specifications
have been added.

-189-
HISTORY OF PAST REVISIONS

suffix Date revised Description


A March 1990 (1) The MELDAS 320M/330M/330HM/335M (CNC) Specifica-
tions Manual @NP-B3368B) and MELDAS 300-V Series
Specifications Manual [320M-V/330M-V/330HM-V/335M-V
(CNC)] (BNP-B3608*) were combined to form the MELDAS
300/300-V Series Specifications Manual covering the following
systemx
320M/330M/330HM/335M (CNC)

[ 320M-V/330M-V/330HM-V/335M-V (CNC) 1
(2) References to the M325M system were deleted from the
specifications lists.
(3) M320M-V normal line control described in Section 6
covering the interpolation functions was made an optional
specification.
(4) The M320M-V chopping function described in Section 21
covering the axis control functions was made a special
optional specification and is subject to separate
consultation.
(5) The PLC axis control specifications described in Section 35
covering the built-in PLC system were made special
optional specifications and are subject to separate
consultation.
(6) Inaccuracies were corrected and additions made.

-190-

You might also like