Summary of the content on the page No. 1
FR-A700 INVERTER PLC FUNCTION PROGRAMMING MANUAL
INVERTER
FR-A700
PLC FUNCTION
PROGRAMMING MANUAL
PLC FUNCTION
Chapter 1
CC-Link
Chapter 2
COMMUNICATION
HEAD OFFICE:MITSUBISHI DENKI BLDG MARUNOUCHI TOKYO 100-8310
SEQUENCE
Chapter 3
PROGRAMMING
ERROR CODE
Chapter 4
LIST
IB(NA)-0600262EG-A(0509)MEE Printed in Japan Specifications subject to change without notice.
A
Summary of the content on the page No. 2
CONTENTS 1. PLC FUNCTION 1 1.1 Function Block Diagram ...........................................................2 1.2 PLC Function Specifications....................................................3 1.3 System Configuration ...............................................................4 1.4 Wiring of the Inverter and Personal Computer Using GX Developer for RS-485 Communication..............................5 1.5 Prior to Sequence Program Creation ......................................6 1.5.1 P
Summary of the content on the page No. 3
2. CC-Link COMMUNICATION 45 2.1 System Configuration.............................................................46 2.1.1 System configuration example.................................................................... 46 2.1.2 Function block diagram............................................................................... 47 2.2 CC-Link Parameters................................................................49 2.2.1 CC-Link Extended Setting (Pr. 544)......................................
Summary of the content on the page No. 4
3.9.5 100ms, 10ms and 100ms retentive timers .................................................. 80 3.9.6 Timer processing method and accuracy ..................................................... 81 3.10 Counters C ...............................................................................83 3.10.1 Count processing in refresh system............................................................ 84 3.10.2 Maximum counting speed of counter .........................................................
Summary of the content on the page No. 5
3.25.6 Output Instructions : Device set, reset ... SET, RST................................. 126 3.25.7 Output Instructions : Leading edge, trailing edge differential outputs ... PLS, PLF ........................................................................................................... 129 3.25.8 Shift Instructions : Bit device shift ... SFT, SFTP ...................................... 131 3.25.9 Master Control Instructions : Master control set, reset ... MC, MCR......... 133 3.25.10En
Summary of the content on the page No. 6
1. PLC FUNCTION This manual describes the functions and devices necessary for programming. 1.1 Function Block Diagram ...................................... 2 1.2 PLC Function Specifications............................... 3 1.3 System Configuration .......................................... 4 1.4 Wiring of the Inverter and Personal Computer Using GX Developer for RS-485 Communication... 5 1.5 Prior to Sequence Program Creation ................. 6 1.6 Device Map..................................
Summary of the content on the page No. 7
Function Block Diagram 1.1 Function Block Diagram How I/O data are transferred to/from the inverter by the built-in PLC function is explained using function blocks. (1) I/O data read, write, etc. can be performed by accessing the inverter in the predetermined method using special relays, special registers, etc. (2) Operation, parameter read/write, etc. can be performed in accordance with the created sequence programs (built in the inverter) using input data from the control input terminals. With
Summary of the content on the page No. 8
PLC Function Specifications 1.2 PLC Function Specifications The following table indicates the program capacity and devices of the PLC function. A700 Sequence Section Control method Repeated operation (by stored program) I/O control method Refresh Relay symbolic language (ladder mode) Programming language Logic symbolic language (list mode) PLC instructions 23 Basic instructions 32 Application instructions 18 Processing speed PLC instruction 1.9µs to 12µs/step(*2) 128 (X: 64 points, Y: 64 points)
Summary of the content on the page No. 9
System Configuration 1.3 System Configuration The following shows the system configuration for use of the PLC function. GX Developer: FR-A700 Programming tool PU connector RS-232C/ RS-485 converter Motor 3-phase AC power supply Communication specifications Set the following setting in communication parameters of the inverter. Inverter Parameter GX Developer Setting Inverter initial setting Pr.118 PU communication speed 96 (9600bps) 192 (19200bps) 0 (data length: 8
Summary of the content on the page No. 10
Wiring of the Inverter and Personal Computer Using GX Developer for RS-485 Communication 1.4 Wiring of the Inverter and Personal Computer Using GX Developer for RS-485 Communication PU connector Personal computer GX Developer : Programming tool RS-232C-RS-485 converter RS-232C connector Personal computer - inverter connection cable Make connection after conversion between RS-232C and RS-485. Examples of commercially available products (as of Sep., '05) Type Maker SC-FRPC BEIJERS REMARKS
Summary of the content on the page No. 11
Prior to Sequence Program Creation 1.5 Prior to Sequence Program Creation 1.5.1 Precautions for sequence program creation POINT •Online change of the sequence program and access to other stations are not allowed. In addition, program read/write from other stations and all PLC memory clear cannot be performed. •Back up the ladder configured with the protective function of GX Developer. If any of the instructions (refer to page 103) and devices (refer to page 3) that cannot be used with the built
Summary of the content on the page No. 12
Prior to Sequence Program Creation 1.5.3 Sequence program execution key The sequence program execution key (STOP/RUN) of the PLC is switched by turning off/on the SQ signal. POINT •For the terminal used for SQ signal input, set "50" in any of Pr.178 to Pr. 189 to assign the function. •SQ-SD must be shorted to execute the built-in PLC function. CAUTION If the SQ signal is not turned on, the start signal of the inverter is designed to become valid by the factory setting of Pr.415 Inverter operati
Summary of the content on the page No. 13
Prior to Sequence Program Creation 1.5.4 Sequence program write POINT Sequence program write can be performed in any operation mode. When rewriting the PLC function parameters and sequence program using GX Developer, check the following: 1)Check that the sequence program execution key is in the STOP position (SQ signal is off) (refer to page 7). 2)Check that the inverter is at a stop. 3) Check that the communication specification setting parameters (Pr.117 to Pr.124) are set correctly. If any o
Summary of the content on the page No. 14
Function Block Diagram 1.5.5 Setting list of built-in PLC function parameter The built-in PLC function parameters are designed to specify the ranges of using the PLC function, e.g. program capacity, device assignment and various functions. Setting Range Item GX Developer Default Sequence program 6k steps 1k step capacity File register capacity None Cannot be set (default) Comment capacity None Cannot be set (default) Status latch None Cannot be set (default) Sampling trace
Summary of the content on the page No. 15
Device Map 1.6 Device Map 1.6.1 I/O device map Device Device Name Remarks Name Remarks No. No. X00 STF terminal Y00 RUN terminal X01 STR terminal Y01 SU terminal X02 RH terminal Y02 OL terminal External X03 RM terminal Y03 IPF terminal terminal X04 RL terminal Y04 FU terminal X05 JOG terminal Y05 ABC1 terminal External terminal X06 RT terminal Y06 ABC2 terminal X07 AU terminal Y07 X08 CS terminal Y08 X09 MRS terminal Y09 X0A STOP terminal Y0A X0B RES terminal Y0B Empty X0C Y0C X0D Y0D Empty X
Summary of the content on the page No. 16
Device Map Device Device Name Remarks Name Remarks No. No. Operation mode setting Operation mode setting X20 D9140 Y20 D9140 read completion read command Set frequency read Set frequency read X21 D9141 Y21 D9141 completion (RAM) command (RAM) Set frequency read Set frequency read X22 D9142 Y22 D9142 2 2 completion (E PROM) command (E PROM) Operation mode setting Operation mode setting X23 D9143 Y23 D9143 write completion write command Set frequency write Set frequency write X24 D9144 Y24 D
Summary of the content on the page No. 17
Device Map 1.6.2 Internal relay (M) device map Device No. Description M0 to M63 Use freely on user side. 1.6.3 Data register (D) device map Data Inverter Pr. Reference Parameter Name Register (D) Number Page D0 to D99 Use freely on user side. — Pr.506 to D100 to D119 User parameters. Use freely on user side. 38 Pr.515 1.6.4 Special relays The special relays are internal relays with special applications and therefore should not be switched on-off in the program. Number Name Description M9008 Se
Summary of the content on the page No. 18
Device Map Number Name Description Inverter operation status Control the RES terminal of the inverter from PLC M9211 control flag (RES) function M9216 Inverter status (RUN) Inverter running M9217 Inverter status (FWD) Forward running M9218 Inverter status (REV) Reverse running M9219 Inverter status (SU) Up to frequency M9220 Inverter status (OL) Overload alarm M9221 Inverter status (IPF) Instantaneous power failure/undervoltage M9222 Inverter status (FU) Output frequency detection M9223 Inverte
Summary of the content on the page No. 19
Device Map 1.6.5 Special registers The special registers are data registers with special applications and therefore data should not be written to the special registers in the program. Number Name Description Page Self-diagnostic Stores the self-diagnosed error number in BIN. (Refer D9008 22 error to page 22 for the error codes.) Stores the step number in BIN, at which an instruction Operation error D9010 execution error occurred. After that, data is updated — step each time operation error oc
Summary of the content on the page No. 20
Device Map Number Name Description Page Output frequency Stores the current output frequency. D9133 monitor 0.01Hz units Output current Stores the current output current. D9134 20 monitor 0.01A units Output voltage Stores the current output voltage. D9135 monitor 0.1V units D9136 Error history 1, 2 D9137 Error history 3, 4 Store the errors that occurred in the inverter in order 21 of occurrence. D9138 Error history 5, 6 D9139 Error history 7, 8 Operation mode D9140 Stores the current operation