MELSEC IQ-F FX5 User's Manual (Application)

2y ago
13 Views
1 Downloads
2.37 MB
306 Pages
Last View : 3d ago
Last Download : 1y ago
Upload by : Tia Newell
Transcription

MELSEC iQ-FFX5 User's Manual (Application)

SAFETY PRECAUTIONS(Read these precautions before use.)Before using this product, please read this manual and the relevant manuals introduced in this manual carefully and payattention to safety in order to handle the product correctly.This manual classifies the safety precautions into two categories: [WARNING] and [CAUTION].WARNINGIndicates that incorrect handling may cause hazardous conditions, resulting indeath or severe injury.CAUTIONIndicates that incorrect handling may cause hazardous conditions, resulting inminor or moderate injury or property damage.Depending on the circumstances, procedures indicated by [CAUTION] may also cause severe injury.It is important to follow all precautions for personal safety.Store this manual in a safe place so that it can be read whenever necessary. Always forward it to the end user.[DESIGN PRECAUTIONS]WARNING Make sure to set up the following safety circuits outside the PLC to ensure safe system operationeven during external power supply problems or PLC failure. Otherwise, malfunctions may causeserious accidents.- Most importantly, set up the following: an emergency stop circuit, a protection circuit, an interlockcircuit for opposite movements (such as forward vs. reverse rotation), and an interlock circuit toprevent damage to the equipment at the upper and lower positioning limits.- Note that when the CPU module detects an error, such as a watchdog timer error, during selfdiagnosis, all outputs are turned off. Also, when an error that cannot be detected by the CPUmodule occurs in an input/output control block, output control may be disabled. External circuitsand mechanisms should be designed to ensure safe machine operation in such a case.- Note that the output current of the 24 V DC service power supply varies depending on the modeland the absence/presence of extension modules. If an overload occurs, the voltage automaticallydrops, inputs in the PLC are disabled, and all outputs are turned off. External circuits andmechanisms should be designed to ensure safe machine operation in such a case.- Note that when an error occurs in a relay or transistor of an output circuit, the output might stay onor off. For output signals that may lead to serious accidents, external circuits and mechanismsshould be designed to ensure safe machine operation. Construct an interlock circuit in the program to ensure safe operation for the whole system whenexecuting control (for data change) of the PLC in operation.Read the manual thoroughly and ensure complete safety before executing other controls (for programchange, parameter change, forced output and operation status change) of the PLC in operation.Otherwise, the machine may be damaged and accidents may occur due to erroneous operations. In an output circuit, when a load current exceeding the current rating or an overcurrent caused by aload short-circuit flows for a long time, it may cause smoke and fire. To prevent this, configure anexternal safety circuit, such as a fuse. For the operating status of each station after a communication failure of the network, refer to relevantmanuals for the network. Incorrect output or malfunction may result in an accident.1

[DESIGN PRECAUTIONS]CAUTION After the CPU module is powered on or is reset, the time taken to enter the RUN status variesdepending on the system configuration, parameter settings, and/or program size.Design circuits so that the entire system will always operate safely, regardless of this variation in time.[INSTALLATION PRECAUTIONS]CAUTION Connect the expansion board and expansion adapter securely to their designated connectors. Looseconnections may cause malfunctions. Connect the extension cables, peripheral device cables, input/output cables and battery connectingcable securely to their designated connectors. Loose connections may cause malfunctions. When using an SD memory card, insert it into the SD memory card slot. Check that it is insertedcompletely. Poor contact may cause malfunction. Turn off the power to the PLC before attaching or detaching the following devices. Failure to do somay cause device failures or malfunctions.- Peripheral devices, expansion board and expansion adapter- Extension modules, bus conversion module and connector conversion module- Battery[WIRING PRECAUTIONS]CAUTION Do not bundle the power line, control line and communication cables together with or lay them close tothe main circuit, high-voltage line, load line or power line. As a guideline, lay the power line, controlline and connection cables at least 100 mm (3.94") away from the main circuit, high-voltage line, loadline or power line. Noise may cause malfunctions.2

[STARTUP AND MAINTENANCE PRECAUTIONS]WARNING Do not touch any terminal while the PLC's power is on. Doing so may cause electric shock ormalfunctions. Before modifying the program in mid-operation, forcing output, running or stopping the PLC, read thismanual and the associated manuals carefully and ensure complete safety. An operation error maydamage the machinery or cause accidents. Do not change the program in the PLC from two or more peripheral equipment devices (such as anengineering tool and a GOT) at the same time. Doing so may cause destruction or malfunction of thePLC program. Use the battery for memory backup in conformance to the FX5 User's Manual (Hardware).- Use the battery for the specified purpose only.- Connect the battery correctly.- Do not charge, disassemble, heat, put in fire, short-circuit, connect reversely, weld, swallow orburn the battery, or apply excessive force (vibration, impact, drop, etc.) to the battery.- Do not store or use the battery at high temperatures or expose to direct sunlight.- Do not expose to water, bring near fire or touch liquid leakage or other contents directly.Incorrect handling of the battery may cause excessive heat, bursting, ignition, liquid leakage ordeformation, and lead to injury, fire or failures and malfunction of facilities and other equipment.[PRECAUTIONS IN OPERATION]CAUTION Construct an interlock circuit in the program to ensure safe operation for the whole system whenexecuting control (for data change) of the PLC in operation. Read the manual thoroughly and ensurecomplete safety before executing other controls (for program change, parameter change, forcedoutput and operation status change) to the PLC in operation. Otherwise, the machine may bedamaged and accidents may occur by erroneous operations.3

INTRODUCTIONThis manual contains text, diagrams and explanations which will guide the reader in the correct installation, safe use andoperation of the FX5 Programmable Controllers and should be read and understood before attempting to install or use themodule.Always forward it to the end user.Regarding use of this product This product has been manufactured as a general-purpose part for general industries, and has not been designed ormanufactured to be incorporated in a device or system used in purposes related to human life. Before using the product for special purposes such as nuclear power, electric power, aerospace, medicine or passengermovement vehicles, consult Mitsubishi Electric. This product has been manufactured under strict quality control. However when installing the product where majoraccidents or losses could occur if the product fails, install appropriate backup or failsafe functions in the system.Note If in doubt at any stage during the installation of the product, always consult a professional electrical engineer who isqualified and trained in the local and national standards. If in doubt about the operation or use, please consult the nearestMitsubishi Electric representative. Since the examples indicated by this manual, technical bulletin, catalog, etc. are used as a reference, please use it afterconfirming the function and safety of the equipment and system. Mitsubishi Electric will accept no responsibility for actualuse of the product based on these illustrative examples. This manual content, specification etc. may be changed without a notice for improvement. The information in this manual has been carefully checked and is believed to be accurate; however, if you notice a doubtfulpoint, an error, etc., please contact the nearest Mitsubishi Electric representative. When doing so, please provide themanual number given at the end of this manual.4

MEMO5

CONTENTSSAFETY PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4RELEVANT MANUALS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12TERMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12PART 1PROGRAMMINGCHAPTER 1PROGRAM EXECUTION1.116Scan Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16Initial processing and initialization processing in RUN mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16I/O refresh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17Program operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17END processing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171.2Scan Time. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18Initial scan time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181.3Program Execution Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191.4Execution Type of Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20Initial execution type program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20Scan execution type program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21Fixed scan execution type program. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21Event execution type program. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25Stand-by type program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281.5Program Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29Subroutine program. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29Interrupt program. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30CHAPTER 2CHAPTER 33.1PROCESSING OF OPERATIONS ACCORDING TO CPU MODULEOPERATION STATUS35CPU MODULE MEMORY CONFIGURATION37Memory Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37Memory configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373.2Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39File type and storage destination memory. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39Executable file operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39PART 2FUNCTIONSCHAPTER 4FUNCTION LIST42CHAPTER 5SCAN MONITORING FUNCTION445.1Scan time monitoring time setting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 445.2Resetting of the watchdog timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 445.3Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44Watchdog timer reset when executing a program repeatedly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44Scan time when the WDT instruction is used . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 456

CHAPTER 66.1CLOCK FUNCTION46Time Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46Clock data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46Changing the clock data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46Reading clock data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 476.2Setting Time Zone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 486.3System clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49Special relay used for system clock. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49Special register used for system clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49CHAPTER 77.1ONLINE CHANGE50Online Ladder Block Change . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50Editable contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50Range changeable in a single session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50CONTENTSPrecautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47Online ladder block change during the boot operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50CHAPTER 88.1INTERRUPT FUNCTION53Multiple Interrupt Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53Interrupt priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53CHAPTER 9PID CONTROL FUNCTION559.1Outline of Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 559.2Basic Operation Expressions in PID Instruction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 559.3How to Use PID Instruction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56Basic operation expression for PID control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 559.4Relationship Between Parameter Setting and Auto-Tuning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57When auto-tuning is not executed (parameter setting) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57When auto-tuning is executed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 579.5Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 589.6Details of Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59Sampling time (s3). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59Operation setting (S3) 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59Input filter constant (s3) 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61Proportional gain (s3) 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62Integral time (s3) 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63Differential gain (s3) 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64Differential time (s3) 6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65Alarm output (s3) 24. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 679.7Auto-Tuning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68Limit Cycle Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68Step Response Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 719.8Examples of Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73System configuration example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73Program example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74Prog

This manual contains text, diagrams and explanations which will guide the reader in the correct installation, safe use and operation of the FX5 Programmable Controllers and should be read and understood before attempting to install or use the module. Always

Related Documents:

MELSEC iQ-F FX5 Programming Manual (Program Design) JY997D55701 Describes the specifications of ladder, ST, FBD/LD, and SFC programs, and labels. MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Functions/Function Blocks) JY997D55801 Describes the specifications of instructions and functions that can be used in programs.

MELSEC iQ-F FX5 Programming Manual (Program Design) JY997D55701 Describes specifications of ladders, ST, FBD/LD, and other programs and labels. MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Functions/Function Blocks) JY997D55801 Describes specifications of instructions an d functions that can be used in programs.

MELSEC iQ-F FX5 User's Manual (Positioning Control) 7 FX Series Programmable Controllers Introduction to FX Positioning Control Systems 1 The Basics of Positioning Control 1.1 What is positioning control? 1 The Basics of Positioning Control 2 Positioning by AC Servo System 3 Components of Positioning Control 4

MELSEC iQ-F FX5 User's Manual (Application) 1 SAFETY PRECAUTIONS (Read these precautions before use.) Before using this product, please read this manual and the relevant manuals introduced in this manual carefully and pay . PART 1 PROGRAMMING CHAPTER 1 PROGRAM EXECUTION 16

Use the product within the generic environment specifications described in the FX5 User's Manual (Hardware). Never use the product in areas with excessive dust, oily smoke, conductive dusts, corrosive gas (salt air, Cl2, H2S, SO2 or NO2), flammable gas, vibration or impacts, or expose it to high temperature, condensation, or rain and wind.

4 Setting/resetting the master control. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .137

Nov 11, 2010 · User Story 1 User Story 2 User Story 4 User Story 5 User Story 5 (Cont.) User Story 3 User Story 6 User Story 7 rint 1 User Story 8 2 User Story 1 User Story 2 User Story 4 . Process Template Light on security artifacts/documentati on. OWASP Making SDL-Agile Manageable Toolin

ACCOUNTING AND REPORTING 13th Edition FINANCIAL ACCOUNTING AND REPORTING ELLIOTT AND ELLIOTT Financial Accounting & Reporting is the most up-to-date text on the market. Now fully updated in its 13th edition, it includes extensive coverage of International Accounting Standards (IASs) and International Financial Reporting Standards (IFRSs). This market-leading text offers students a clear, well .