Mitsubishi Electric C70 PLC Owner's manual

  • Hello! I am an AI chatbot trained to assist you with the Mitsubishi Electric C70 PLC Owner's manual. I’ve already reviewed the document and can help you find the information you need or explain it in simple terms. Just ask your questions, and providing more details will help me assist you more effectively!
Introduction
This manual describes the various signal interfaces and functions required when creating sequence
program of PLC CPU to operate C70.
Read this manual thoroughly before programming.
Thoroughly study the "Safety Precautions" on the following page to ensure safe use of this CNC unit.
Details described in this manual
For items described in "Restrictions" or "Usable State", the instruction manual issued by the machine
maker takes precedence over this manual.
Items not described in this manual must be interpreted as "not possible".
This manual is written on the assumption that all option functions are added. Refer to the specifications
issued by the machine maker before starting use.
Some screens and functions may differ or may not be usable depending on the CNC version.
CAUTION
Precautions for Safety
Always read the specifications issued by the machine tool builder, this manual, related manuals and
attached documents before installation, operation, programming, maintenance or inspection to ensure
correct use. Understand this numerical controller, safety items and cautions before using the unit.
This manual ranks the safety precautions into "DANGER", "WARNING" and "CAUTION".
Note that even items ranked as " CAUTION" may lead to major results depending on the situation. In
any case, important information that must always be observed is described.
The following signs indicate prohibition and compulsory.
The meaning of each pictorial sign is as follows.
There are no "Danger" items in this manual.
When there is a great risk that the user could be subject to fatalities or serious injuries if
handling is mistaken.
When the user could be subject to fatalities or serious injuries if handling is mistaken.
When the user could be subject to injuries or when physical damage could occur if
handling is mistaken.
This sign indicates prohibited behavior (must not do).
For example, indicates "Keep fire away".
This sign indicated a thing that is pompously (must do).
For example, indicates "it must be grounded".
CAUTION
CAUTION rotated
object
CAUTION HOT
Danger Electric shock
risk
Danger explosive
Prohibited
Disassembly is
prohibited
KEEP FIRE AWAY
General instruction
Earth ground
DANGER
WARNING
CAUTION
DANGER
1. Items related to prevention of electric shocks
Do not operate the switches with wet hands, as this may lead to electric shocks.
Do not damage, apply excessive stress, place heavy things on or sandwich the cables, as this may lead
to electric shocks.
1. Items related to product and manual
For the items described in the "Restrictions" and "Usable State", the instruction manual issued by the
machine maker takes precedence over this instruction manual.
Items not described in this manual must be interpreted as "not possible".
This manual has been written on the assumption that all options are provided.
Check the specifications issued by the machine maker before starting use.
Some screens and functions may differ or may not be usable depending on the CNC system version.
2. Items related to connection
When using an inductive load such as relays, always contact a diode in parallel to the load as a noise
measure.
When using a capacitive load such as a lamp, always connect a protective resistor serially to the load to
suppress rush currents.
3. Items related to design
Always turn the spindle phase synchronization completion signal ON before chucking both ends of the
workpiece to the basic spindle and synchronous spindle. If the spindle phase synchronization signal is
turned ON when both ends of the workpiece are chucked to the basic spindle and synchronous spindle,
the chuck or workpiece could be damaged by the torsion that occurs during phase alignment.
If the temperature rise detection function is invalidated with the parameters, the control could be
disabled when the temperature is excessive. This could result in machine damage or personal injuries
due to runaway axis, and could damage the device. Enable the detection function for normal use.
In order to prevent illegal transfer of bit data, use data update program.
WARNING
CAUTION
Disposal
(Note) This symbol mark is for EU countries only.
This symbol mark is according to the directive 2006/66/EC Article 20 Information for end-
users and Annex II.
Your MITSUBISHI ELECTRIC product is designed and manufactured with high quality materials and
components which can be recycled and/or reused.
This symbol means that batteries and accumulators, at their end-of-life, should be disposed of
separately from your household waste.
If a chemical symbol is printed beneath the symbol shown above, this chemical symbol means that the
battery or accumulator contains a heavy metal at a certain concentration. This will be indicated as
follows:
Hg: mercury (0,0005%), Cd: cadmium (0,002%), Pb: lead (0,004%)
In the European Union there are separate collection systems for used batteries and accumulators.
Please, dispose of batteries and accumulators correctly at your local community waste collection/
recycling centre.
Please, help us to conserve the environment we live in!
Trademarks
MELDAS, MELSEC, EZSocket, EZMotion, iQ Platform, MELSOFT, GOT, CC-Link, CC-Link/LT, CC-Link IE
are either trademarks or registered trademarks of Mitsubishi Electric Corporation in Japan and/or other
countries.
Ethernet is a registered trademark of Xerox Corporation in the United States and/or other countries.
Microsoft®, Windows® are either trademarks or registered trademarks of Microsoft Corporation in the United
States and/or other countries.
CompactFlash and CF are either trademarks or registered trademarks of SanDisk Corporation in the United
States and/or other countries.
Other company and product names that appear in this manual are trademarks or registered trademarks of the
respective companies.
本製品の取扱いについて
( 日本語 /Japanese)
本製品は工業用 ( クラス A) 電磁環境適合機器です。販売者あるいは使用者はこの点に注意し、住商業環境以外で
の使用をお願いいたします。
Handling of our product
(English)
This is a class A product. In a domestic environment this product may cause radio interference in which case the
user may be required to take adequate measures.
본 제품의 취급에 대해서
( 한국어 /Korean)
이 기기는 업무용 (A ) 전자파적합기기로서 판매자 또는 사용자는 이 점을 주의하시기 바라며 가정외의 지역에
서 사용하는 것을 목적으로 합니다 .
CONTENTS
1 Outline........................................................................................................................................................... 1
2 System Configuration.................................................................................................................................. 3
2.1 Flow of Signals....................................................................................................................................... 5
2.1.1 Flow of PLC CPU and CNC CPU Data..........................................................................................5
2.1.2 Handling of Devices....................................................................................................................... 6
2.1.3 Data update program with NC ....................................................................................................... 7
2.1.4 Shared Device CNC Internal Device Correspondence Table...................................................... 10
3 Input/Output Signals Table with Controller............................................................................................. 13
3.1 Bit Type Input Signals (CNC->PLC)..................................................................................................... 16
3.1.1 System State................................................................................................................................ 16
3.1.2 Axis State..................................................................................................................................... 20
3.1.3 Part System State........................................................................................................................ 22
3.1.4 Spindle State ............................................................................................................................... 26
3.2 Data Type Input Signals (CNC->PLC)................................................................................................. 28
3.2.1 System State................................................................................................................................ 28
3.2.2 Part System State........................................................................................................................ 30
3.2.3 Axis State..................................................................................................................................... 33
3.2.4 Spindle State ............................................................................................................................... 34
3.3 Bit Type Output Signals (PLC->CNC).................................................................................................. 35
3.3.1 System Command ....................................................................................................................... 35
3.3.2 Axis Command............................................................................................................................. 39
3.3.3 Part System Command................................................................................................................ 42
3.3.4 Spindle Command ....................................................................................................................... 49
3.4 Data Type Output Signals (PLC->CNC) .............................................................................................. 51
3.4.1 System Command ....................................................................................................................... 51
3.4.2 Part System Command................................................................................................................ 53
3.4.3 Axis Command............................................................................................................................. 56
3.4.4 Spindle Command ....................................................................................................................... 57
3.5 Each Application.................................................................................................................................. 58
3.5.1 PLC Axis State............................................................................................................................. 58
3.5.2 PLC Axis Control.......................................................................................................................... 60
3.5.3 Window Result Information.......................................................................................................... 62
3.5.4 Window Command....................................................................................................................... 65
3.5.5 Data Registered to Magazine for M System................................................................................ 72
3.5.6 Tool Life Management (M System).............................................................................................. 74
3.5.7 Safety Observing ......................................................................................................................... 76
3.5.8 PLC Constants............................................................................................................................. 78
3.5.9 PLC Bit Selection......................................................................................................................... 80
3.5.10 PLC Axis Indexing Interface....................................................................................................... 81
3.6 Special Relay/Register Signals............................................................................................................ 82
3.6.1 Special Relay............................................................................................................................... 82
3.6.2 Special Register........................................................................................................................... 84
4 Explanation of Interface Signals............................................................................................................... 89
4.1 Bit Type Input Signals : System State ( CNC CPU->PLC CPU).......................................................... 91
4.2 Bit Type Input Signals : Axis State (CNC CPU->PLC CPU).............................................................. 103
4.3 Bit Type Input Signals : Part System State (CNC CPU->PLC CPU) ................................................ 117
4.4 Bit Type Input Signals : Spindle State (CNC CPU->PLC CPU)......................................................... 146
4.5 Data Type Input Signals : System State ( CNC CPU->PLC CPU)..................................................... 156
4.6 Data Type Input Signals : Axis State (CNC CPU->PLC CPU)........................................................... 173
4.7 Data Type Input Signals : Part System State (CNC CPU->PLC CPU).............................................. 177
4.8 Data Type Input Signals : Spindle State (CNC CPU->PLC CPU)...................................................... 195
4.9 Bit Type Output Signals : System Command ( PLC CPU->CNC CPU)............................................. 197
4.10 Bit Type Output Signals : Axis Command ( PLC CPU->CNC CPU)................................................ 213
4.11
Bit Type Output Signals : Part System Command ( PLC CPU->CNC CPU) ................................... 229
4.12 Bit Type Output Signals : Spindle Command ( PLC CPU->CNC CPU)........................................... 292
4.13 Data Type Output Signals : System Command ( PLC CPU->CNC CPU)........................................ 307
4.14 Data Type Output Signals : Axis Command ( PLC CPU->CNC CPU).............................................321
4.15 Data Type Output Signals : Part System Command (PLC CPU->CNC CPU).................................323
4.16 Data Type Output Signals : Spindle Command ( PLC CPU->CNC CPU)........................................ 341
5 Explanation for Each Application........................................................................................................... 345
5.1 PLC Axis Control................................................................................................................................346
5.1.1 Specifications............................................................................................................................. 346
5.1.2 Detailed Explanation..................................................................................................................347
5.1.3 Interface with PLC...................................................................................................................... 348
5.1.4 Details of PLC Axis Control Information Data............................................................................350
5.1.5 Precautions................................................................................................................................ 358
5.1.6 Timing Chart ..............................................................................................................................358
5.1.7 Reference Position Return Near Point Detection....................................................................... 365
5.1.8 Handle Feed Axis Selection....................................................................................................... 365
5.1.9 Buffering Mode........................................................................................................................... 366
5.1.10 Parameters .............................................................................................................................. 369
5.1.11 PLC Axis Monitor..................................................................................................................... 371
5.1.12 Absolute Position Detection..................................................................................................... 371
5.1.13 Rotary axis............................................................................................................................... 371
5.1.14 Position switch......................................................................................................................... 371
5.1.15 Usage Example........................................................................................................................ 372
5.2 PLC Window ...................................................................................................................................... 373
5.2.1 Details........................................................................................................................................ 373
5.2.2 Read window .............................................................................................................................377
5.2.3 Write window.............................................................................................................................. 380
5.2.4 Operation Details .......................................................................................................................383
5.2.5 Usage Examples........................................................................................................................ 385
5.2.6 Precautions................................................................................................................................ 389
5.3 Tool Life Management (M System)....................................................................................................390
5.3.1 Outline of Tool Life Management Function................................................................................390
5.3.2 Tool Life Management Methods ................................................................................................391
5.3.3 Procedure when Tool Function Command is Executed.............................................................392
5.3.4 Procedure when Spindle Tool is Changed.................................................................................393
5.3.5 Tool Life Management II Method ............................................................................................... 394
5.3.6 Maximum Number of Registerable Tools...................................................................................394
5.3.7 Tool Data ...................................................................................................................................395
5.3.8 Usage Time, Work Count........................................................................................................... 397
5.3.9 Tool Data Flow (R Register) ...................................................................................................... 398
5.3.10 User PLC Processing...............................................................................................................399
5.3.11 Interface with PLC.................................................................................................................... 400
5.4 Tool Life Management (L System)..................................................................................................... 405
5.4.1 Interface with PLC...................................................................................................................... 405
5.5 External Search..................................................................................................................................409
5.6 External Machine Coordinate System Compensation........................................................................ 416
5.7 Safety Observing................................................................................................................................ 417
5.7.1 CNC CPU -> PLC CPU Interface signals................................................................................... 417
5.8 GOT Window...................................................................................................................................... 429
5.8.1 GOT Window Interface .....................................................................................................
......... 430
5.8.
2 How to Obtain Window Data......................................................................................................433
5.8.3 Details of Command ..................................................................................................................436
5.8.4 Automatic setting window ......................................................................................................... 451
5.8.5 Error code for each command code..........................................................................................454
5.9 PLC Constants...................................................................................................................................455
5.10 PLC bit selection..............................................................................................................................456
5.11 Chopping......................................................................................................................................... 457
5.11.1 Interface with PLC.................................................................................................................... 458
5.11.2 Chopping command from PLC................................................................................................. 465
5.11.3 Chopping operation.................................................................................................................. 466
5.11.4 Interrupt operation during chopping........................................................................................466
5.11.5 Changing the peformance parameter during the chopping start state..................................... 467
5.11.6 Chopping compensation operation..........................................................................................468
5.11.7 Chopping feedrate ................................................................................................................... 471
5.11.8 Usage example........................................................................................................................ 473
5.12 PLC Axis Indexing............................................................................................................................ 474
5.12.1 Functions ................................................................................................................................. 474
5.12.2 PLC Axis Indexing Interface..................................................................................................... 476
5.13 Switching between NC Axis / PLC Axis........................................................................................... 496
5.13.1 Outline ..................................................................................................................................... 496
5.13.2 Specification............................................................................................................................. 496
5.13.3 Combined Functions................................................................................................................ 499
5.13.4 Parameter settings................................................................................................................... 503
5.13.5 Interface with PLC.................................................................................................................... 506
6 Spindle Control ........................................................................................................................................ 509
6.1 Related Parameters........................................................................................................................... 510
6.2 Connection Method............................................................................................................................ 510
6.3 Flow of Spindle (S) Data.................................................................................................................... 511
7 Handling of M, S, T, B Functions............................................................................................................ 513
7.1 Command Format.............................................................................................................................. 514
7.2 Miscellaneous Function Finish........................................................................................................... 514
7.2.1 Operation Sequence 1 (Using FIN1 with M Command)............................................................. 515
7.2.2 Operation Sequence 2 (Using FIN2 with M Command)............................................................. 516
7.2.3 When M Commands Continue (Using FIN2 with M Command) ................................................ 517
7.3 M Code Independent Output.............................................................................................................. 518
7.3.1 Operation Sequence.................................................................................................................. 518
7.4 Axis Movement and M Commands.................................................................................................... 520
7.5 Precautions........................................................................................................................................ 521
8 Exclusive Instructions............................................................................................................................. 523
8.1 ATC Exclusive Instruction.................................................................................................................. 525
8.1.1 Outline of ATC Control............................................................................................................... 525
8.1.2 ATC Operation........................................................................................................................... 525
8.1.3 Explanation of Terminology ....................................................................................................... 526
8.1.4 Relationship between Tool Registration Screen and Magazines............................................... 526
8.1.5 Use of ATC and ROT Instructions ............................................................................................. 527
8.1.6 Format of ATC Exclusive Instruction.......................................................................................... 528
8.1.7 Functions ................................................................................................................................... 530
8.1.8 Operation Outline....................................................................................................................... 532
8.1.9 Errors......................................................................................................................................... 533
8.1.10 Program Example.................................................................................................................... 533
8.1.11 File Register Allocation and Parameters for ATC Control........................................................ 534
8.1.12 Details of Each Instruction....................................................................................................... 536
8.2 ROT Instruction.................................................................................................................................. 547
8.2.1 Instruction List............................................................................................................................ 547
8.2.2 Format of ROT Instruction ......................................................................................................... 547
8.2.3 Functions ................................................................................................................................... 549
8.2.4 Operation Outline....................................................................................................................... 550
8.2.5 Errors......................................................................................................................................... 551
8.2.6 Program Example..........................................................................................................
............ 551
8.2.7
Details of Each Instruction......................................................................................................... 552
8.3 D (P).DDWR Instruction..................................................................................................................... 556
8.3.1 Format of DDWR Instruction...................................................................................................... 557
8.3.2 Operation when executing the DDWR instruction...................................................................... 559
8.3.3 Error contents ............................................................................................................................ 560
8.3.4 Calculation error......................................................................................................................... 560
8.3.5 Interlock using the PLC instruction exclusive for NC................................................................. 561
8.3.6 Program example....................................................................................................................... 562
8.4 D(P).DDRD Instruction....................................................................................................................... 563
8.4.1 Format of DDRD Instruction....................................................................................................... 564
8.4.2 Operation when executing the DDRD instruction ...................................................................... 566
8.4.3 Error contents ............................................................................................................................567
8.4.4 Calculation error......................................................................................................................... 567
8.4.5 Program example.......................................................................................................................568
8.5 Read/Write of Common Variables...................................................................................................... 569
8.5.1 Instruction Format...................................................................................................................... 569
8.5.2 CNC Side Devices to be Specified ............................................................................................569
8.5.3 Common Variable Control Data.................................................................................................570
8.5.3.1 Data Type .......................................................................................................................... 571
8.5.3.2 Decimal Point Position in the Data..................................................................................... 571
8.5.3.3 Error Notification Selection ................................................................................................ 572
8.5.4 Error Contents............................................................................................................................572
8.5.5 Program Examples .................................................................................................................... 573
8.5.5.1 Write Data to Common Variables ...................................................................................... 573
8.5.5.2 Read Common Variable Data............................................................................................573
8.5.5.3 Change the Common Variable Control Data ..................................................................... 574
8.5.5.4 Read Common Variable Data, Calculate and then Write the Data to Common Variables 575
8.6 Precautions........................................................................................................................................ 576
8.6.1 Transmitting Exclusive Instructions between CPUs...................................................................576
8.6.2 Executing NC Exclusive Instructions ........................................................................................579
8.6.3 Completion Status Information................................................................................................... 579
Appendix 1 List of PLC Window Data ....................................................................................................... 581
Appendix 1.1 Section No. List.................................................................................................................. 590
Appendix 1.2 Sub-section No. List........................................................................................................... 591
Appendix 1.3 Explanation of Read/Write Data......................................................................................... 606
Appendix 1.3.1 How to refer to the data ............................................................................................. 606
Appendix 1.3.2 Data unit system........................................................................................................ 607
Appendix 1.3.3 Explanation of data details.........................................................................................608
1
1
Outline
1 Outline
MITSUBISHI CNC
2
This manual is prepared to assist you to understand the various control signals necessary for creating the sequence
program.
The manual is composed as shown below. Refer to related sections as necessary to gain the maximum benefit from the
manual.
<Caution>
Please note that the specifications referred to in the text represent the maximum
specifications which include also those under development.
3
2
System Configuration
2 System Configuration
MITSUBISHI CNC
4
MITSUBISHI
MITSUBISHI MITSUBISHI
(USB/Serial)
QJ71 E71-100
47 0
+0+ 6
12' 0
5&
'4 4
%1/ '44
 / 4&
QXxxx x
27..
MITSUBISHI
QXxxx x QXxxx x QXxxx x QXxxx x
Q172DNCPU-S2
MITSUBISHI
PLC CPU module
CNC CPU module(s)
Communication, I/O module(s)
HMI with touch panel
(For GOT/CNC exclusive use)
Machine operation panel
Servo/Spindle drive unit
sensor
PLC program development tool
GX-DEVELOPER installed
Personal computer
(Optical communication)
Power
supply
Manual handle
Switches, coils, etc.
(Display interface)
C70 PLC Interface Manual
2.1 Flow of Signals
5
2.1 Flow of Signals
2.1.1 Flow of PLC CPU and CNC CPU Data
The flow of PLC CPU and CNC CPU data is shown below.
(1) The data PLC CPU wrote into G device is automatically transmitted to each CNC CPU by the high-speed bus.
(2) The CNC data (state signal) is automatically written into the read area corresponding to each CNC CPU of PLC
CPU by the high-speed bus.
(3) For the writing area of PLC CPU (G device), the writing area (G device) is different depending on the signal for
which CNC CPU.
(4) Writing area 1 and 2 are the same data structures.
(5) Read area 1 and 2 are the same data structures.
(6) When one CNC CPU is used, writing area 1 and read area 1 are used.
(7) When two CNC CPUs are used, writing area 1 and read area 1 are used for CNC CPU#1, writing area 2 and read
area 2 are used for CNC CPU#2.
(8) Note that the head address of G device in writing area 2 corresponding to CNC CPU#2 and the head address of G
device in writing area 1 corresponding to CNC CPU#1 is different. In "3 INPUT/OUTPUT SIGNALS TABLE WITH
CONTROLLER", this is indicated like "Sharing G+1234".
(9) It is possible to change the head address "U3E0\G13072" for a writing area 2 to "U3E0\G14000" to start from a
round number.
(Y,R)
(X,R)
(Y,R)
(X,R)
Write area
No.1
The devices shared between
CNC CPU-#2 (No.3)
CNC CPU-#1 (No.2)
PLC CPU (No.1)
multi-CPU (G)
Write area 1
Write area 2
Read area 1
Read area 2
No.1
No.2
No.3
Write area
Read area
Read area
Write area
Control signal
Control signal
State signal State signal
/