Mitsubishi M80 Programming Manual V2
![Mitsubishi M80 Numerical Control manual cover](/images/skQyJWyDlgrAswPAndapMEwx/thumbs/thumb175x175.webp)
![English English](/static/img/blank.webp)
Introduction
These specifications are the programming manual used when creating the sequence program with the PLC development
software, or Mitsubishi Electric Co.'s integrated FA software MELSOFT Series (GX Developer/GX Works2).
The PLC (Programmable Logic Controller) instructions are largely categorized into the basic instructions, function
instructions and exclusive instructions. There are many types of instructions. The instructions can be used according to
the purpose and application such as the PLC support function used when supporting the user PLCs.
Supported models are as follows:
Abbreviations in this manual are as follows:
Be sure to keep this manual always at hand.
An effort has been made to describe special handling of this machine, but items that are not described
must be interpreted as "not possible".
This manual is written on the assumption that all the applicable functions are included.
Some of them, however, may not be available for your NC system.
Refer to the specifications issued by the machine tool builder before use.
Some screens and functions may differ depending on each NC system (or version), and some functions
may not be possible. Please confirm the specifications before starting to use.
To protect the availability, integrity and confidentiality of the NC system against cyber-attacks including
unauthorized access, denial-of-service (Dos) (*1) attack, and computer virus from external sources via a
network, take security measures such as firewall, VPN, and anti-virus software.
(*1) Denial-of-service (Dos) refers to a type of cyber-attack that disrupts services by overloading the system
or by exploiting a vulnerability of the system.
Mitsubishi Electric assumes no responsibility for any problems caused to the NC system by any type of
cyber-attacks including DoS attack, unauthorized access and computer virus.
In this manual, the following abbreviations might be used.
MTB: Machine tool builder
Also refer to the manuals on "Manual List" as necessary.
Supported models Abbreviations in this manual
M800W Series M850W, M830W
M800S Series M850S, M830S
M80W Series M80W
M80 Series M80 TypeA, M80 TypeB
E80 Series E80 TypeA, E80 TypeB
Abbreviations Supported models
M800, M800 Series M800W Series/M800S Series
M80, M80 Series M80W Series/M80 Series
M800/M80, M800/M80 Series M800W Series/M800S Series/M80W Series/M80 Series
M8, M8 Series M800W Series/M800S Series/M80W Series/M80 Series/E80 Series
CAUTION
Manual List
Manuals related to M800/M80/E80/C80 Series are listed as follows.
These manuals are written on the assumption that all optional functions are added to the targeted model.
Some functions or screens may not be available depending on the machine or specifications set by MTB. (Confirm the
specifications before use.)
The manuals issued by MTB take precedence over these manuals.
Manual IB No. Purpose and Contents
M800/M80/E80 Series Instruction Manual
IB-1501274 Operation guide for NC
Explanation for screen operation, etc.
C80 Series Instruction Manual
IB-1501453 Operation guide for NC
Explanation for screen operation, etc.
M800/M80/E80/C80 Series Programming Manual (Lathe System) (1/2)
IB-1501275 G code programming for lathe system
Basic functions, etc.
M800/M80/E80/C80 Series Programming Manual (Lathe System) (2/2)
IB-1501276 G code programming for lathe system
Functions for multi-part system, high-accuracy function, etc.
M800/M80/E80/C80 Series Programming Manual (Machining Center System) (1/2)
IB-1501277 G code programming for machining center system
Basic functions, etc.
M800/M80/E80/C80 Series Programming Manual (Machining Center System) (2/2)
IB-1501278 G code programming for machining center system
Functions for multi-part system, high-accuracy function, etc.
M800/M80/E80 Series Alarm/Parameter Manual
IB-1501279 Alarms
Parameters
C80 Series Alarm/Parameter Manual
IB-1501560 Alarms
Parameters
Manuals for MTBs (NC)
Manuals for MTBs (drive section)
Manual IB No. Purpose and Contents
M800/M80/E80/C80 Series Specifications Manual (Function)
IB-1501505 Model selection
Outline of various functions
M800/M80/E80/C80 Series Specifications Manual (Hardware)
IB-1501506 Model selection
Specifications of hardware unit
M800W/M80W Series Connection and Setup Manual
IB-1501268 Detailed specifications of hardware unit
Installation, connection, wiring, setup (startup/adjustment)
M800S/M80/E80 Series Connection and Setup Manual
IB-1501269 Detailed specifications of hardware unit
Installation, connection, wiring, setup (startup/adjustment)
C80 Series Connection and Setup Manual
IB-1501452 Detailed specifications of hardware unit
Installation, connection, wiring, setup (startup/adjustment)
M800/M80/E80 Series PLC Development Manual
IB-1501270
Electrical design
I/O relation (assignment, setting, connection), field network
Development environment (PLC on-board, peripheral development environment), etc.
M800/M80/E80 Series PLC Programming Manual
IB-1501271
Electrical design
Sequence programming
PLC support functions, etc.
M800/M80/E80/C80 Series PLC Interface Manual
IB-1501272 Electrical design
Interface signals between NC and PLC
M800/M80/E80 Series Maintenance Manual
IB-1501273 Cleaning and replacement for each unit
Other items related to maintenance
C80 Series Maintenance Manual
IB-1501454 Cleaning and replacement for each unit
Other items related to maintenance
Manual IB No. Contents
MDS-E/EH Series Specifications Manual
IB-1501226 Specifications for power supply regeneration type
MDS-E/EH Series Instruction Manual
IB-1501229 Instruction for power supply regeneration type
MDS-EJ/EJH Series Specifications Manual
IB-1501232 Specifications for regenerative resistor type
MDS-EJ/EJH Series Instruction Manual
IB-1501235 Instruction for regenerative resistor type
MDS-EM/EMH Series Specifications Manual
IB-1501238 Specifications for multi-hybrid, power supply regeneration
type
MDS-EM/EMH Series Instruction Manual
IB-1501241 Instruction for multi-hybrid, power supply regeneration type
DATA BOOK IB-1501252 Specifications of servo drive unit, spindle drive unit, motor, etc.
Manuals for MTBs (Others)
For M800/M80/E80 Series
Manual No. Purpose and Contents
GOT2000 Series Users Manual (Hardware)
SH-081194 Outline of hardware such as part names, external dimensions,
installation, wiring, maintenance, etc. of GOTs
GOT2000 Series Users Manual (Utility)
SH-081195 Outline of utilities such as screen display setting, operation
method, etc. of GOTs
GOT2000 Series Users Manual (Monitor)
SH-081196 Outline of each monitor function of GOTs
GOT2000 Series Connection Manual (Mitsubishi Electric Products)
SH-081197 Outline of connection types and connection method between
GOT and Mitsubishi Electric connection devices
GT Designer3 (GOT2000) Screen Design Manual
SH-081220 Outline of screen design method using screen creation
software GT Designer3
Manual No. Purpose and Contents
GOT2000/GOT1000 Series CC-Link Communication Unit User's Manual
IB-0800351 Explanation for handling CC-Link communication unit (for
GOT2000 series/GOT1000 series)
GX Developer Version 8 Operating Manual (Startup)
SH-080372E Explanation for system configuration, installation, etc. of PLC
development tool GX Developer
GX Developer Version 8 Operating Manual
SH-080373E Explanation for operations using PLC development tool GX
Developer
GX Converter Version 1 Operating Manual
IB-0800004E Explanation for operations using data conversion tool GX
Converter
GX Works2 Installation Instructions BCN-P5999-0944 Explanation for the operating environment and installation
method of GX Works2
GX Works2 Version 1 Operating Manual (Common)
SH-080779ENG
Explanation for the system configuration of GX Works2 and the functions common to Simple project and Structured project such as parameter setting, operation method for the online function
GX Works2 Version 1 Operating Manual (Simple Project)
SH-080780ENG Explanation for methods for such as creating and monitoring
programs in Simple project of GX Works2
GX Works2 Version 1 Operating Manual (Simple Project, Function Block)
SH-080984ENG Explanation for methods for such as creating function blocks,
pasting function blocks to sequence programs, and operating FB library in Simple project of GX Works2
GX Works2 Version 1 Operating Manual (Structured Project)
SH-080781ENG Explanation for methods for such as creating and monitoring
programs in Structured project of GX Works2
GX Works3 Installation Instructions BCN-P5999-0391 Explanation for the operating environment and installation
method of GX Works3
MELSEC-Q CC-Link System Master/ Local Module Users Manual
SH-080394E Explanation for system configuration, installation, wiring, etc.
of master/local modules for CC-Link system
GOT2000 Series Connection Manual (Non-Mitsubishi Electric Products 1)
SH-081198ENG Explanation for connection types and connection method
between GOT and other company's devicesGOT2000 Series Connection Manual (Non-Mitsubishi Electric Products 2)
SH-081199ENG
GOT2000 Series Connection Manual (Microcomputers, MODBUS/ Fieldbus Products, Peripherals)
SH-081200ENG Explanation for connection types and connection method
between GOT and microcomputers, MODBUS/fieldbus products, peripherals
GT SoftGOT2000 Version1 Operating Manual
SH-081201ENG Explanation for system configuration, screen configuration
and operation method of monitoring software GT SoftGOT2000
For C80 Series
Reference Manual for MTBs
Manual No. Purpose and Contents
MELSEC iQ-R Module Configuration Manual
SH-081262 Outline of system configuration, specifications, installation,
wiring, maintenance, etc.
MELSEC iQ-R CPU Module Users Manual (Startup)
SH-081263 Outline of specifications, procedures before operation,
troubleshooting, etc. for CPU module
MELSEC iQ-R CPU Module Users Manual (Application)
SH-081264 Outline of memory, functions, devices, parameters, etc. for
CPU module
MELSEC iQ-R CC-Link IE Field Network User's Manual (Application)
SH-081259 Explanation for functions, parameter settings, programming,
troubleshooting, etc. of the CC-Link IE Field Network function
QCPU Users Manual (Hardware Design, Maintenance and Inspection)
SH-080483 Outline of specifications, necessary knowledge to configure
the system and maintenance-related descriptions for Q series CPU module, etc.
GX Works3 Operating Manual SH-081215 Outline of functions, programming, etc.
Manual No. Purpose and Contents
M800/M80 Series Smart safety observation Specification manual
BNP-C3072-022 Explanation for smart safety observation function
C80 Series Smart safety observation Specification manual
BNP-C3077-022
M800/M80 Series CC-Link (Master/ Local) Specification manual
BNP-C3072-089 Explanation for CC-Link
M800/M80 Series PROFIBUS-DP Specification manual
BNP-C3072-118 Explanation for PROFIBUS-DP communication function
M800/M80 Series Interactive cycle insertion (Customization) Specification manual
BNP-C3072-121- 0003
Explanation for interactive cycle insertion
M800/M80 Series EtherNet/IP Specifications manual
BNP-C3072-263 Explanation for EtherNet/IP
M800/M80 Series CC-Link IE Field (Master/local) Specifications manual
BNP-C3072-283 Explanation for CC-Link IE Field
M800/M80 Series GOT Connection Specifications manual
BNP-C3072-314 Explanation for GOT connection
M800/M80 Series CC-Link IE Field Basic Specifications manual
BNP-C3072-337 Explanation for CC-Link IE Field Basic
M800/M80 Series FL-net Specifications manual
BNP-C3072-368 Explanation for FL-net
M800/M80 Series Synchronous Control Specifications manual
BNP-C3072-074 Explanation for synchronous control
M800/M80 Series Multiple-Axis Synchronization Control Specifications manual
BNP-C3072-339 Explanation for multiple-axis synchronization control
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.
DANGER
When there is a great risk that the user could be subject to fatalities or serious injuries if handling is
mistaken.
WARNING
When the user could be subject to fatalities or serious injuries if handling is mistaken.
CAUTION
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 indicates a thing that is compulsory (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
Mitsubishi CNC is designed and manufactured solely for applications to machine tools to be used for industrial
purposes.
Do not use this product in any applications other than those specified above, especially those which are
substantially influential on the public interest or which are expected to have significant influence on human lives or
properties.
Not applicable in this manual.
Not applicable in this manual.
1. Items related to product and manual
For items described as "Restrictions" or "Usable State" in this manual, the instruction manual issued by
the machine tool builder takes precedence over this manual.
An effort has been made to describe special handling of this machine, but items that are not described
must be interpreted as "not possible".
This manual is written on the assumption that all the applicable functions are included.
Some of them, however, may not be available for your NC system.
Refer to the specifications issued by the machine tool builder before use.
Refer to the Instruction Manual issued by each machine tool builder for details on each machine tool.
Some screens and functions may differ depending on each NC system (or version), and some functions
may not be possible. Please confirm the specifications before starting to use.
To protect the availability, integrity and confidentiality of the NC system against cyber-attacks including
unauthorized access, denial-of-service (Dos) (*1) attack, and computer virus from external sources via a
network, take security measures such as firewall, VPN, and anti-virus software.
(*1) Denial-of-service (Dos) refers to a type of cyber-attack that disrupts services by overloading the system
or by exploiting a vulnerability of the system.
Mitsubishi Electric assumes no responsibility for any problems caused to the NC system by any type of
cyber-attacks including DoS attack, unauthorized access and computer virus.
2. Items related to start up and maintenance
Read this manual carefully and confirm the safety enough before executing the operation of the program
change, forced output, RUN, STOP, etc. during operation. Operation mistakes may cause damage of the
machine and accidents.
3. Items related to program development
Always observe the cautions before development to develop a program.
If the data transferred does not follow the file name rule, unexpected operations will occur.
E.g. PLC program erasure
Do not read a sequence program on which a conversion error occurred into the GX Developer/GX Works2.
The file may include unexpected contents to result an illegal operation.
When an error occurred at GX Developer/GX Works2 On-line function, the error message may not explain
exactly the state in the CNC side. Always refer to the error list.
For Safe Use
DANGER
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, MELSEC iQ-R, MELSOFT, GOT, CC-Link, CC-Link/LT,
CC-Link IE, CC-Link IE/field, EcoMonitorLight and SLMP 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, SQL Server and Access are either trademarks or registered trademarks of Microsoft
Corporation in the United States and/or other countries.
SD logo and SDHC logo are either registered trademarks or trademarks of LLC.
UNIX is a registered trademark of The Open Group in the United States and/or other countries.
Intel and Pentium are either trademarks or registered trademarks of Intel Corporation in the United States and/or
other countries.
MODBUS is either a trademark or a registered trademark of Schneider Electric USA, Inc. or the affiliated
companies in Japan and/or other countries.
EtherNet/IP is a trademark of Open DeviceNet Vendor Association,Inc.
PROFIBUS-DP and PROFINET are either trademarks of Profibus International.
Oracle is a registered trademark of Oracle Corporation, the subsidiaries, or the affiliated companies in the United
States and /or other countries.
VNC is a registered trademark of RealVNC Ltd. in the United States and 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 PLC Processing Program............................................................................................................................ 3 2.1 Outline of PLC Processing Project............................................................................................................................ 4 2.2 Multi-project Function................................................................................................................................................ 5
2.2.1 Outline .............................................................................................................................................................. 5 2.2.2 Range of Usable Project .................................................................................................................................. 6 2.2.3 Multi-project Function Usage Steps ................................................................................................................. 6
2.3 PLC Processing Program Level and Operation ........................................................................................................ 7 2.4 Outline of PLC Processing Program (Two Program Method) ................................................................................... 9 2.5 Independent Program Method .................................................................................................................................. 9 2.6 Multi-program Method ............................................................................................................................................. 10
2.6.1 Number and Types of Registerable Programs ............................................................................................... 10 2.6.2 Program Execution Order............................................................................................................................... 11
2.7 User PLC Data Area Configuration and Size .......................................................................................................... 12 2.7.1 In the Independent Program Method.............................................................................................................. 13 2.7.2 In the Multi-program Method .......................................................................................................................... 13
2.8 Storing PLC Processing Program and Execution Mode ......................................................................................... 14 2.8.1 Path from Storage to Execution ..................................................................................................................... 14 2.8.2 Conversion of Instruction Code at Execution ................................................................................................. 14 2.8.3 How to Confirm the Number of Steps at Storage/Execution .......................................................................... 14
3 Input/Output Signals.................................................................................................................................. 15 3.1 Input/Output Signal Types and Processing............................................................................................................. 16 3.2 Handling of Input Signals Designated for High-speed Input ................................................................................... 17 3.3 PLC Device Assignment of Digital Signal (DI/DO) .................................................................................................. 18
3.3.1 Fixed Device Assignment ............................................................................................................................... 19 3.3.2 Arbitrary Device Assignment .......................................................................................................................... 21
4 Explanation of Devices.............................................................................................................................. 25 4.1 Devices and Device No........................................................................................................................................... 26 4.2 List of Devices......................................................................................................................................................... 27 4.3 Device Range Setting at Multi-project..................................................................................................................... 28
4.3.1 Common Device Among Projects .................................................................................................................. 30 4.3.2 Independent Device Among Projects ............................................................................................................. 31 4.3.3 M Device/D Device Commonizing Setting...................................................................................................... 32
4.4 Detailed Explanation of Devices ............................................................................................................................. 34 4.4.1 Input/Output X, Y............................................................................................................................................ 34 4.4.2 Internal Relays M and F, Latch Relay L ......................................................................................................... 35 4.4.3 Special Relay for Link (SB), Special Register for Link (SW) .......................................................................... 35 4.4.4 Link Relay B, Link Register W........................................................................................................................ 35 4.4.5 Special Relay SM, Special Register SD......................................................................................................... 36 4.4.6 Edge Relay V ................................................................................................................................................. 39 4.4.7 Timer T ........................................................................................................................................................... 39 4.4.8 Integrated Timer ST ....................................................................................................................................... 43 4.4.9 Counter C ....................................................................................................................................................... 44 4.4.10 Data Register D............................................................................................................................................ 45 4.4.11 File Register R, ZR....................................................................................................................................... 46 4.4.12 Index register Z ............................................................................................................................................ 47 4.4.13 Nesting N...................................................................................................................................................... 48 4.4.14 Pointer P....................................................................................................................................................... 49
4.4.14.1 General Pointers.................................................................................................................................. 49 4.4.14.2 Local Pointers ...................................................................................................................................... 50 4.4.14.3 Common Pointers ................................................................................................................................ 51 4.4.14.4 Reserved Pointers ............................................................................................................................... 52
4.4.15 Decimal Constant K...................................................................................................................................... 53 4.4.16 Hexadecimal Constant H.............................................................................................................................. 53
5 Explanation of Instructions....................................................................................................................... 55 5.1 Instruction Tables.................................................................................................................................................... 56
5.1.1 How to Read Instruction Table ....................................................................................................................... 56 5.1.2 Basic Instructions ........................................................................................................................................... 58
5.1.3 Comparison Operation Instructions................................................................................................................ 60 5.1.4 Arithmetic Operation Instructions ................................................................................................................... 62 5.1.5 Data Conversion Instructions ......................................................................................................................... 65 5.1.6 Data Transmission Instructions...................................................................................................................... 66 5.1.7 Program Branch Instruction ........................................................................................................................... 67 5.1.8 Logical Operation Instructions........................................................................................................................ 68 5.1.9 Rotation Instructions ...................................................................................................................................... 70 5.1.10 Data Processing Instructions ....................................................................................................................... 71 5.1.11 Other Function Instructions .......................................................................................................................... 71 5.1.12 Exclusive Instructions................................................................................................................................... 72
5.2 Data Designation Method ....................................................................................................................................... 73 5.2.1 Bit Data .......................................................................................................................................................... 73 5.2.2 Word (16-bit) Data.......................................................................................................................................... 74 5.2.3 Using Double Word Data (32 bits) ................................................................................................................. 76
5.3 Index Modification................................................................................................................................................... 78 5.3.1 For Models with Extended Index Modification ............................................................................................... 78
5.4 Operation Error ....................................................................................................................................................... 81 5.5 Execution Condition of Instruction .......................................................................................................................... 82 5.6 Counting Step Number ........................................................................................................................................... 83 5.7 Operations when the OUT, SET/RST, or PLS/PLF Instruction of the Same Device is Used ................................. 85 5.8 PLS/PLF Instruction Behavior in the State from PLC STOP to RUN...................................................................... 88 5.9 How to Read Instruction Tables.............................................................................................................................. 91
6 Basic Instructions ...................................................................................................................................... 93 6.1 Contact instruction .................................................................................................................................................. 95 6.2 Connection Instruction ............................................................................................................................................ 98 6.3 Output Instruction ................................................................................................................................................. 110 6.4 Shift Instruction ..................................................................................................................................................... 125 6.5 Master Control Instruction..................................................................................................................................... 128 6.6 Other Instructions ................................................................................................................................................. 131
7 Function Instructions .............................................................................................................................. 135 7.1 Comparison Operation Instruction ........................................................................................................................ 137 7.2 Arithmetic Operation Instruction ........................................................................................................................... 141 7.3 Data Conversion Instruction ................................................................................................................................. 170 7.4 Data Transfer Instruction ...................................................................................................................................... 176 7.5 Program Branch Instruction .................................................................................................................................. 191 7.6 Logical Operation Instructions .............................................................................................................................. 205 7.7 Rotation Instruction............................................................................................................................................... 225 7.8 Data Processing Instructions ................................................................................................................................ 243 7.9 Other Instructions ................................................................................................................................................. 258
8 Exclusive Instructions ............................................................................................................................. 261 8.1 ATC Exclusive Instruction..................................................................................................................................... 263
8.1.1 Outline of ATC Control ................................................................................................................................. 263 8.1.2 ATC Operation ............................................................................................................................................. 263 8.1.3 Explanation of Terminology.......................................................................................................................... 264 8.1.4 Relationship between Tool Registration Screen and Magazines................................................................. 265 8.1.5 Use of ATC and ROT Instructions................................................................................................................ 266 8.1.6 Basic Format of ATC Exclusive Instruction .................................................................................................. 267 8.1.7 Instruction List .............................................................................................................................................. 267 8.1.8 Control Data Buffer Contents ....................................................................................................................... 267 8.1.9 File Register (R Register) Assignment and Parameters .............................................................................. 268 8.1.10 Details of Each Instruction ......................................................................................................................... 272 8.1.11 Precautions for Using ATC Exclusive Instructions ..................................................................................... 280 8.1.12 Examples of Tool Registration Screen....................................................................................................... 280 8.1.13 Display of Spindle Tool and Standby Tool ................................................................................................. 282
8.2 ROT Instructions................................................................................................................................................... 283 8.2.1 Instruction List .............................................................................................................................................. 283
9 Parameters................................................................................................................................................ 287 9.1 PLC Constants...................................................................................................................................................... 288 9.2 Bit Selection Parameters ...................................................................................................................................... 290 9.3 Other Parameters ................................................................................................................................................. 294
9.3.1 PLC Startup Condition Switchover............................................................................................................... 294
9.3.2 Multi-project Setting Parameters (Project Setting) ....................................................................................... 295 9.3.3 Multi-project Setting Parameter (Device Setting) ......................................................................................... 297 9.3.4 Changing Processing Cycle of the High-speed Ladder by the Parameter ................................................... 298 9.3.5 Initializing Remote I/O at PLC STOP ........................................................................................................... 299
10 Handling of M, S, T, B Functions.......................................................................................................... 301 10.1 Command Format ............................................................................................................................................... 302 10.2 Miscellaneous Function Finish ............................................................................................................................ 302
10.2.1 Operation Sequence .................................................................................................................................. 303 10.2.1.1 Operation sequence with the "FIN1" signal for completing a miscellaneous command .................... 303 10.2.1.2 Operation sequence with the "M function finish 2" signal (FIN2) for completing a miscellaneous command........................................................................................... 303
10.2.2 Example of Machining Program ................................................................................................................. 304 10.2.2.1 Using FIN1 with M Command............................................................................................................ 304 10.2.2.2 Using FIN2 with M Command............................................................................................................ 305 10.2.2.3 When M Commands Continue (Using FIN2 with M Command) ........................................................ 306
10.3 Miscellaneous Command High-speed Output..................................................................................................... 307 10.3.1 Operation Sequence for the High-speed Method....................................................................................... 309
10.3.1.1 Operation Sequence which Waits for a Finish Signal from the PLC during Miscellaneous Command Performance.................................................................................... 309 10.3.1.2 Operation Sequence which does not Wait for a Finish Signal from the PLC during Miscellaneous Command Performance.................................................................................... 311
10.3.2 Operation Sequence for Normal Method.................................................................................................... 313 10.3.2.1 Operation Sequence which Waits for Finish Signal from the PLC during Miscellaneous Command Performance.................................................................................... 313 10.3.2.2 Operation Sequence which does not Wait for a Finish Signal from the PLC during Miscellaneous Command Performance.................................................................................... 313
10.3.3 Precautions and Restrictions...................................................................................................................... 316 10.4 M Code Independent Output............................................................................................................................... 317
10.4.1 Operation Sequence ................................................................................................................................. 317 10.5 Axis Movement and M Commands ..................................................................................................................... 319 10.6 Precautions ......................................................................................................................................................... 320
11 Spindle Control ...................................................................................................................................... 321 11.1 Related Parameters ............................................................................................................................................ 322 11.2 Connection Method ............................................................................................................................................. 323 11.3 Flow of Spindle (S) Data ..................................................................................................................................... 324 11.4 Selecting Z Phase Detection Method.................................................................................................................. 325 11.5 Proximity Switch Method Orientation .................................................................................................................. 326 11.6 Spindle-mode Servo Motor Control..................................................................................................................... 327
11.6.1 Outline ........................................................................................................................................................ 327 11.6.2 Glossary ..................................................................................................................................................... 328 11.6.3 Function Enabling Conditions..................................................................................................................... 328 11.6.4 Spindle Features Available for Spindle-mode Servo.................................................................................. 329 11.6.5 Spindle Features with Different Operation or Settings from Normal Spindle.............................................. 330 11.6.6 Example Usage .......................................................................................................................................... 332 11.6.7 Relation with Other Functions .................................................................................................................... 333 11.6.8 Precautions ................................................................................................................................................ 333
11.7 Spindle-mode Rotary Ax