Mitsubishi Electronics FR-E5NC User Manual

TRANSISTORIZED INVERTER
– INSTRUCTION MANUAL –
Control & Communication Link
FR-E5NC
Thank you for choosing the Mitsubishi transistorized inverter option unit. This instruction manual gives handling information and precautions for use of this product. Incorrect handling might cause an unexpected fault. Before using the equipment, please read this manual carefully to use it to its optimum. Please forward this manual to the end user.
Safety Instructions
Do not attempt to install, operate, maintain or inspect this product until you have read through this instruction manual and appended documents carefully and can use the equipment correctly. Do not use this product until you have a full knowledge of the equipment, safety information and instructions. In this manual, the safety instruction levels are classified into "WARNING" and "CAUTION".
Denotes that incorrect handling may cause hazardous conditions, resulting in death or severe
WARNING
injury.
Denotes that incorrect handling may cause hazardous conditions, resulting in medium or slight
CAUTION
Note that even the CAUTION level may lead to a serious consequence under some circumstances. Please follow the instructions of both levels as they are important to personnel safety.
injury, or may cause physical damage only.
A - 1

SAFETY INSTRUCTIONS

1. Electric Shock Prevention WARNING
!
While power is on or when the inverter is running, do not open the front cover. You may get an electric shock.
!
Do not run the inverter with the front cover removed. Otherwise, you may access the exposed high-voltage terminals
and charging part and get an electric shock.
!
If power is off, do not remove the front cover except for wiring or periodic inspection. You may access the charged
inverter circuits and get an electric shock.
!
Before starting wiring or inspection, switch power off, wait for more than 10 minutes, and check for no residual voltage
with a meter etc.
!
Any person who is involved in the wiring or inspection of this equipment should be fully competent to do the work.
!
Always install the option unit before wiring. Otherwise, you may get an electric shock or be injured.
!
Operate the switches with dry hands to prevent an electric shock.
!
Do not subject the cables to scratches, excessive stress, heavy loads or pinching. Otherwise, you may get an electric
shock.
!
While power is on, do not move the station number and baud rate setting switches. Doing so can cause an electric shock.
2. Injury Prevention
CAUTION
!
Apply only the voltage specified in the instruction manual to each terminal to prevent damage, etc.
!
Ensure that the cables are connected to the correct terminals. Otherwise, damage, etc. may occur.
!
Always make sure that polarity is correct to prevent damage, etc.
!
While power is on or for some time after power-off, do not touch the inverter as it is hot and you may get burnt.
A - 2
3. Additional instructions
Also note the following points to prevent an accidental failure, injury, electric shock, etc.:
(1) Transportation and installation
CAUTION
!
Do not install or operate the option unit if it is damaged or has parts missing.
!
Do not stand or rest heavy objects on the product.
!
Check that the mounting orientation is correct.
!
Prevent screws, metal fragments, conductive bodies or oil, other flammable substance from entering the inverter.
(2) Test operation and adjustment
CAUTION
!
Before starting operation, confirm and adjust the parameters. A failure to do so may cause some machines to make
unexpected motions.
(3) Usage
!
Do not modify the equipment.
WARNING
A - 3
CAUTION
!
When parameter clear or all parameter clear is performed, each parameter returns to the factory setting. Re-set the
required parameters before starting operation.
!
For prevention of damage due to static electricity, touch nearby metal before touching this product to eliminate static
electricity from your body.
(4) Maintenance, inspection and parts replacement
CAUTION
!
Do not test the equipment with a megger (measure insulation resistance).
(5) Disposal
CAUTION
!
Dispose of this product as general industrial waste.
(6) General instruction
All illustrations given in this manual may have been drawn with covers or safety guards removed to provide in-depth description. Before starting operation of the product, always return the covers and guards into original positions as specified and operate the equipment in accordance with the manual.
A - 4

CONTENTS

1 PRE-OPERATION INSTRUCTIONS 1
1.1 Unpacking and Product Confirmation......................................................................................................................................1
1.2 Structure ..................................................................................................................................................................................2
1.3 Inverter Option (FR-E5NC) Specifications...............................................................................................................................3
2 INSTALLATION 4
2.1 Pre-Installation Instructions......................................................................................................................................................4
2.2 Installation Procedure..............................................................................................................................................................4
2.3 Inverter Replacement................................................................................................................................................................6
2.4 System Configuration Example................................................................................................................................................7
2.5 Wiring Method..........................................................................................................................................................................8
2.6 Connection of Several Inverters...............................................................................................................................................9
3 INVERTER SETTING 10
3.1 Pre-Operation Setting............................................................................................................................................................10
3.1.1 Inverter station number setting................................................................................................................................................10
3.1.2 Setting of the transmission baud rate setting switch................................................................................................................11
3.2 Operation Modes of the Inverter............................................................................................................................................12
3.2.1 Operation mode switching .......................................................................................................................................................12
3.3 Operation at Alarm Occurrence.............................................................................................................................................15
3.4 Operation and Speed Command Write..................................................................................................................................17
4 FUNCTION OVERVIEW 19
4.1 Function Block Diagram.........................................................................................................................................................19
4.2 Setting the Running Frequecy................................................................................................................................................20
4.2.1 Monitoring function ..................................................................................................................................................................21
4.2.2 Operation commands ..............................................................................................................................................................22
4.2.3 Running frequency...................................................................................................................................................................22
4.2.4 Parameter write .......................................................................................................................................................................22
4.2.5 Parameter read........................................................................................................................................................................22
5 COMMUNICATION SPECIFICATIONS 23
5.1 I/O Signal List.........................................................................................................................................................................23
5.1.1 Output signals (mast er unit → inverter (FR-E5NC)).................................................................................................................23
5.1.2 Input signals (inverter (FR-E5NC) → master unit) ...................................................................................................................26
5.2 Remote Register Assignment................................................................................................................................................28
5.2.1 Remote registers (master unit → inverter (FR-E5NC))............................................................................................................28
5.2.2 Remote registers (inverter (FR-E5NC) → master unit)............................................................................................................28
5.3 Instruction Codes...................................................................................................................................................................29
6 PROGRAMMING EXAMPLES 31
6.1 Replay Code Definitions ........................................................................................................................................................32
6.2 Program Example for Reading the Inverter Status ................................................................................................................33
6.3 Program Example for Setting the Operation Mode................................................................................................................34
6.4 Program Example for Setting the Operation Commands.......................................................................................................35
6.5 Program Example for Monitoring the Output Frequency........................................................................................................ 36
6.5.1 Monitor codes..........................................................................................................................................................................37
6.6 Parameter Reading Program Example..................................................................................................................................38
6.7 Parameter Writing Program Example....................................................................................................................................39
6.8 Running Frequency Setting Program Example......................................................................................................................40
6.9 Alarm Definition Reading Program Example..........................................................................................................................42
6.10 Program Example for Resetting the Inverter at Inverter Error..............................................................................................44
6.11 Instructions...........................................................................................................................................................................45
7 HOW TO CHECK FOR ERROR USING THE LEDS 47
7.1 When One Inverter Is Connected ..........................................................................................................................................47
7.2 When Two or More Inverters Are Connected ........................................................................................................................49
7.3 Communication Stops During Operation................................................................................................................................51
1 PRE-OPERATION INSTRUCTIONS
PRE-OPERATION INSTRUCTIONS

1 PRE-OPERATION INSTRUCTIONS

1.1 Unpacking and Product Confirmation

Take the option unit out of the package, check the unit name, and confirm that the product is as you ordered and intact. This product is an inboard option specifically used with the FR-E500 series (FR-E540-0.4K to 7.5K (-NA) (-EC) (-CH), FR-E520S-0.4K to 2.2K (-EC) (-CH)).
(1) Packing Confirmation
Make sure that the package includes the following accessories:
· Instruction manual..................................1
×
· Mounting screws M3
· LED indication seal ................................1
(2) Instruction Manual Note
1) Refer to the following manuals for full information on the CC-Link master station:
AJ61BT11/A1SJ61BT11 Control & Communication Link system master/local module user's manual.............. IB-66721
6........................2
AJ61QBT11/A1SJ61QBT11 Control & Communication Link system master/local module user's manual......... IB-66722
2) In this manual, Control & Communication Link is abbreviated to CC-Link.
1

1.2 Structure

g
Transmission baud rate setting switch
Mounting hole
Station number setting switches
B.RATE X10
0
1
2
9
8
3
4
7
5
6
NC
Terminal block mounting/ dismountin
screw
0
1
2
9
8
3
4
7
5
6
DB DG
SLD
DA
FR-E5NC
X1
L.RUN
SD
0
1
2
9
8
3
RD
4
7
5
6
L.ERR
FG
Terminal block screw size M3
Mounting hole
Connector
Operating status indicator LEDs Terminal block mounting/ dismounting screw
PRE-OPERATION INSTRUCTIONS
(1) Names and functions
Name Function
Station number setting switches
Transmission baud rate setting switch
Operating status indicator LEDs
0
1
2
9
3
8
4
7
5
6
10
×
Used to set the transmission speed. For details, refer to page 11.
L.RUN...... Lit to indicate that refresh data is
SD............ Extinguished to indicate that send
RD............ Lit to indicate that the carrier of
L.ERR ...... Lit to indicate the communication
0
1
9
8
7
5
6
1
×
received properly. Extinguished to indicate a break in data for a given period of time.
data is "0". receive data is detected. error of the station itself. Flickers to
indicate that the switch or other setting was changed while power is on.
Used to set the inverter
2
3
4
station number between 1 and 64. For details, refer to page 10.
2

1.3 Inverter Option (F R -E 5N C ) S p ecificatio n s

PRE-OPERATION INSTRUCTIONS
Type Power supply 5VDC supplied from the inverter
Number of units connect ed 42 units max. (1 station occupied by 1 unit). May be used with other equipm ent. Terminal block 8-pin terminal block (M3 × 6 screws) Cable size 0.75mm2 to 2.00mm Station type Remote device station Number of stations occupied One inverter occupies one station. Communication cable CC-Link dedicated cable
Inverter inboard option fitted to the t erminal block (can be mounted/dismounted to/from the inverter front face)
2
Note: When the CC-Link unit (FR-E5NC) is plugged in, the protective structure (JEM1030) is open type (IP00).
3
2 INSTALLATION

2 INSTALLATION

2.1 Pre-Installation Instruction s

(1) Make sure that the input power of the inverter is off.
With input power on, do not install or remove the option unit. Otherwise, the inverter and option unit may be
damaged.

2.2 Installation Procedure

CAUTION
FR-E5NC plugged-in status
INSTALLATION
Connector for connection of inboad option
Inboad option mounting position
Accessory screw (2pcs.)
Apply the LED indication seal.
CC-Link unit
(FR-E5NC)
Terminal block
Wiring port cover for option
4
INSTALLATION
(1) Remove the front cover and option wiring port cover. (Refer to the inverter manual.) (2) Remove the sponge from the inboard option connector, align the option unit connector with the inboard option connector
of the inverter, and securely insert it far enough into the inverter.
(3) Securely fix the top and bottom of the option unit to the inverter with the accessory mounting screws. If the screw holes do
not match, check for insecure connector insertion. The connector may not have been inserted securely.
(4) Reinstall the front cover to the inverter. (Refer to the inverter manual.)
Note:1. While the inboard option is plugged in, store the option wiring port cover carefully.
2. When this option is plugged in, the protective structure of the inverter is the open type (IP00).
3. If the inverter cannot recognize the plugged-in option, the E.OPT error appears. (Refer to the inverter manual.)
5

2.3 Inverter Replacement

You can replace the inverter without removing the terminal block wiring.
Before replacement New inverter
Terminal block
Note: The mounting screws
will not come off.
INSTALLATION
6
INSTALLATION

2.4 System C o n fig u ratio n E xamp le

(1) PLC side
Load the "AJ61BT11", "
A1SJ61BT11
master/local module" on the main or extension base unit having the PLC CPU used as the master station.
(2) Inverter side
Mount the "CC-Link unit (FR-E5NC)" on the inverter.
(3) Connect the PLC CC-Link unit master station and the FR-E5NC with the CC-Link dedicated cable.
If the cable used is other than the CC-Link dedicated cable, the performance of the CC-Link system is not guaranteed. For the specifications and availability of the CC-Link dedicated cable, refer to the CC-Link catalog L (NA) -74108143E.
", "AJ61QBT11" or "A1SJ61QBT11" "Control & Communication Link system
Masters for CC-Link master station
AJ61BT11/A1SJ61BT11 Control & Communication Link system master/ local module user's manual ... IB-66721 AJ61QBT11/A1SJ61QBT11 Control & Communication Link system master/ local module user's manual ... IB-66722
CC-Link dedicated cable
Master station
CPU AJ61
Power supply
module
Termination resistor
BT11
Power supply
Inverter
Motor
Up to 42 units may be connected when only inverters are connected
Power supply
Inverter
Termination resistor
Motor
7
INSTALLATION
(4) When the CPU has automatic refresh function (example: QnA series CPU)
Through communication with the corresponding devices using sequence ladder logic, data is automatically transferred to the refresh buffer of the master station at the execution of the END instruction to perform communication with the remote devices.
(5) When the CPU does not have automatic refresh function (example: AnA series CPU)
Data is transferred to the refresh buffer of the master station directly by sequence ladder logic to perform communication with the remote devices.

2.5 Wiring Method

The following diagram shows how to wire the inverter and PLC CC-Link master unit:
PLC CC-Link master unit
Power supply
DA DB
DG
SLD
Inverter
R S T
FR-E5NC DA
DB DG SLD FG
U V
W
Motor
Note: Ensure that no wire offcuts can enter the inverter during wiring. They may cause a fault, failure or malfunction.
8
INSTALLATION
T

2.6 Connection of S everal Inverters

Factory Automation can be applied to several inverters which share a link system as CC-Link remote device stations and are controlled and monitored by PLC user programs.
Master module
ermination
resistor*
Use the termination resistors supplied with the PLC.
*
DA DB DG
SLD
FG
Shielded twisted cable
1) Maximum number of units connected to one master station 42 units (when only inverters are connected) If any other units are included, the number of stations occupied depends on the unit and therefore the following conditions must be satisfied:
FR-E5NC
DA DB DG
SLD
FG
FR-E5NC
Shielded twisted cable
DA DB DG
SLD
FG
Termination resistor*
{(1 × a) + (2 × b) + (3 × c) + (4 × d)} ≤ 64 a: Number of units occupying 1 station b: Number of units occupying 2 stations c: Number of units occupying 3 stations d: Number of units occupying 4 stations
{(16 × A) + (54 × B) + (88 × C)} A: Number of remote I/O stations
2304
64 B: Number of remote device stations ≤ 42 C: Number of local stations
26
9
3 INVERTER SETTING
INVERTER SETTING

3 INVERTER SETTING

3.1 Pre-Operation Setting

3.1.1 Inverter station n u m b er setting

Set the inverter station number before switching on the inverter and do not change the setting while power is on. When setting the station number, the following points should be taken into consideration:
1) The station number may be set between 1 and 64. Fully note that if the station number is changed during operation, data communication cannot be made with the new station number.
2) Setting method
z
Set the arrow (×) of the corresponding switch to the required numeral.
Example:
y
For station number 1: Set (×) of ×10 to "0" and (×) of ×1 to "1".
y
For station number 26: Set (×) ×10 to "2" and (×) ×1 to "6".
z
Set station numbers consecutively in a connection sequence. (The station numbers may also be set independently of the connection sequence.)
z
Note that the same station number cannot be repeated. (If the same station number is repeated, proper communication cannot be made.)
z
Set each station number switch to the position of its numeral without error. If it is set to any position between numerals, normal data communication cannot be made.
Station number setting switches
0
1
9
8
Good example
2
7
3
4
6
5
10
×
0
1
9
8
2
7
3
4
6
5
0
1
9
8
Bad example
2
7
3
4
6
5
1
×
0
1
9
8
2
7
3
4
6
5
10
3) Connection example
INVERTER SETTING
Inverter 1
CC-Link
master unit
Station 00
PLC remote I/O station
(1 station occupied)
(CC-Link unit)
Remote device station
Station 02Station 01 Station 03 Station 04
Note: One inverter occupies one station (one remote device station)

3.1.2 Setting of the transmission b au d rate settin g switch

Set the transmission speed. (For details, refer to the CC-Link master unit manual.)
Inverter 2
(CC-Link unit)
Remote device station
Number of units connected is 4.
Inverter 3
(CC-Link unit)
Remote device station
Setting Switch Transmission Speed
0 156kbps 1 625kbps 2 2.5Mbps 3 5Mbps
4 10Mbps 5 or later should not be used. (If the switch is set to position 5 or later, the "L.ERR" LED is lit and a communication error occurs.)
11
INVERTER SETTING

3.2 Operation Modes of th e In verter

The inverter mounted with the CC-Link unit (FR-E5NC) has the following operation modes:
02
(1) PU operation mode............... Controls the inverter from the keyboard of the operation panel (FR-PA02-
) or parameter
unit (FR-PU04) installed to the inverter.
(2) External operation mode ....... Controls the inverter by switching on/off external signals connected to the control circuit
terminals of the inverter.
(3) CC-Link operation mode....... Controls the inverter in accordance with the PLC program via the CC-Link unit (FR-E5NC).

3.2.1 Operation mode switching

(1) Operation mode switching conditions
Before switching the operation mode, check that:
1) The inverter is at a stop;
2) Both the forward and reverse rotation signals are off; and
3) The Pr. 79 "operation mode" setting is correct. (For setting, use the inverter's operation panel or optional parameter unit.)
Pr. 79 Setting Operation Mode Selection Switching to CC-Link Operation Mode
0 PU or external operation 1 PU operation mode Disallowed
2 External operation mode Allowed
3, 4 External/PU combined operation mode Disallowed
6 Switch-over Allowed 7 External operation (PU operation interlock) 8 PU or external (signal switching) Allowed only in the external operation mode (X16 on).
Disallowed when the PU mode is selected. Allowed when the external mode is selected.
Allowed only in the external operation mode when the output shut­off signal (MRS) is off.
12
(2) Operation mode switching method
Change the operation mode as described below:
INVERTER SETTING
Switched
from PU
A
PU operation
B
CC-Link
Switched by PC program
C
D
External
operation
E
F
(Switching disallowed)
Symbol Switching Type Switching Method
A PU operation → External operation Operate the external operation key on the PU. B External operation → PU operation Operate the PU operation key on the PU. C External operation → CC-Link operation By the user program of the PLC. D CC-Link operation → External operation By the user program of the PLC.
E PU operation → CC-Link operation
F CC-Link operation → PU operation
Switching disallowed. Allowed if external operation is selected in A and CC-Link operation is then selected in C. Switching disallowed. Allowed if external operation is selected in D and PU operation is then selected in B.
(Note 2)
(Note 2)
When "1" is set in Pr. 340 "link start mode selection", the operation mode is CC-Link operation at power on or inverter reset.
Note:1. When setting "1" in Pr. 340, the initial settings (station number setting, etc.) of the inverter must be made
without fail.
2. In the switch-over mode (Pr. 79 = 6), switching in E and F is allowed.
13
INVERTER SETTING
(3) Link start mode
The operation mode at power on and at restoration from instantaneous power failure can be selected. To choose the CC-Link operation mode, set "1" in Pr. 340. After the link has started, parameter write is enabled with a program. (Refer to page 39 for a parameter write program example.)
Note: For Pr. 79 "operation mode", different inverters have different functions. For full information, refer to the inverter
manual.
Pr. 340
Setting
0
(Factory
Setting)
1 CC-Link operation
Pr. 79
0 PU or external operation Inverter goes into the external operation mode. 1 PU operation Inverter goes into the PU operation mode. 2 External operation Inverter goes into the external operation mode.
3 External/PU combined operation mode
4 External/PU combined operation mode 6 Switch-over mode Operation mode is switched while running.
7 External operation mode
8 External/PU combined operation mode
Operation Mode
Running frequency is set in the PU operation m ode and the start signal is set in the external operation mode. Running frequency is set in the external operation m ode and t he start signal is set in the PU operation mode.
MRS signal ON .......Shif t to the PU operation mode enabled (output
MRS signal OFF..... Shift to the PU operation mode inhibited
X16 signal ON........Shift to external operation mode
X16 signal OFF ......Shift to PU operation mode
Inverter goes into the CC-Link operation mode. (Program need not be used for switching)
Mode at Power On or at Restoration
from Instantaneous Power Failure
stopped during external operation)
1) The Pr. 340 value may be changed in any operation mode.
2) When Pr. 79 "operation mode selection" = "0, 2 or 6", "1" in Pr. 340 is made valid.
14

3.3 Operation at Alarm Occurrence

INVERTER SETTING
Fault Location Description
Inverter alarm
Communication alarm (E5NC)
PU operation External operation CC-Link operation
Inverter operation Stop (inverter trip) Stop (inverter trip) Stop (inverter trip) Data communication E5NC Continued Continued Continued Inverter operation Continued Continued Stop (inverter trip) Data communicat ion E5NC Stop Stop Stop
Operation Mode
(1) Inverter alarm
Refer to the inverter manual and remove the cause of the alarm.
(2) Communication alarm
Check the LED states of the FR-E5NC and remove the cause of the alarm. (Refer to page 47.) Check the CC-Link master station.
(3) Communication error during CC-Link operation
When a communication error occurs, the error message "E.OPT" is displayed .
(4) Inverter reset (Note)
(Refer to page 44 for an inverter reset program example.)
Resetting Method
Inverter reset (*1)
PLC program
Connect terminals RES-SD Allowed Allowed Allowed Switch off inverter power Allowed Allowed A llowed
Instruction code Error reset at inverter fault (RY1A) (*2) Allowed Allowed Allowed
CC-Link operation External operation PU operation
Allowed Disallowed Disallowed
Operation Mode
(*1) Inverter reset can be made any time. (*2) Reset can be made only when the protective function of the inverter is activated.
15
Note:1. When a communication fault has occurred, reset cannot be made from the PLC.
2. The inverter is set to the external operation mode if it has been reset in the CC-Link operation mode. To resume the CC-Link operation, the inverter must be switched to the CC-Link operation again. (When "1" is set in Pr. 340 "link start mode selection", switching is not needed. Refer to page 14.)
INVERTER SETTING
16
INVERTER SETTING

3.4 Operation and Speed C o mman d Write

In the CC-Link operation mode, commands from the external terminals and sequence program are as listed below: (For Pr. 180 to Pr. 183 (input terminal function selection), different inverters have different functions. For full information, refer to the inverter manual.)
Control location selection
Fixed functions (Functions equivalent to terminals)
0 Low-speed operation command (RL) PLC External PLC External Pr. 59 = 0 1 Middle-speed operation command (RM) PLC External PLC External Pr. 59 = 0 2 High-speed operation command (RH) PLC External PLC External Pr. 59 = 0 3 Second function selection (RT) PLC PLC External External 4 Current input selection (AU) 5 Start self-holding selection (STOP) 6 Output shut-off (MRS) Both Both External External (Note) 7 External thermal relay input (OH) External External External External
Selective functions
8 15-speed selection (REX) PLC External PLC External Pr. 59 = 0
16
Pr. 180 to Pr. 183 settings
18 Magnetic flux-V/F switching (X18) PLC PLC External External
Pr. 338 "operation comm and write" 0: PLC 0: PLC 1: External 1: External Pr. 339 "speed command write" 0: PLC 1: External 0: PLC 1: External
Forward rotation command (STF) PLC PLC External External Reverse rotation command (STR) PLC PLC External External Reset (RES) Both Both Both Both CC-Link operation frequency PLC 2 4
PU operation-external operation switching (X16)
 
 
External External External External
External External
Both
PLC
 
External External
External External
Both
Remarks
RH, RM, RL selection functions
Remote setting (RH, RM, RL) PLC External PLC External Pr. 59 = 1, 2
17
INVERTER SETTING
[Explanation of table]
External : Control by signal from external terminal is only valid. PLC : Control from sequence program is only valid. Both : Control from both external terminal and PLC is valid.
: Control from both external terminal and PLC is invalid.
Note: W hen "7" (PU operation interlock function) is set in Pr. 79 "operation mode selection", only the external terminal is
made valid independently of the Pr. 338 and Pr. 339 settings, since this function is also used by terminal MRS.
18

4. FUNCTION OVERVIEW

FUNCTION OVERVIEW
4 FUNCTION OVERVIEW

4.1 Function Block Diagram

Using function blocks, this section explains I/O data transfer to/from an inverter in CC-Link:
#
Link refresh is continuously executed between the master station and inverter in the CC-Link system at intervals of 1.1ms to
141ms (512 points).
Inverter
Input
I/O interface
Output
1) AJ61BT11 I/O signals
PLC CPU
2) Buffer memory access
PLC CC-Link system master/local unit
CPU
Interface with PLC
Buffer
memory
CC-Link dedicated cable
CC-Link interface
FR-E5NC
CC-Link interface
1) I/O signals assigned to the CC-Link system master/local unit. These signals are used for communication between the PLC CPU and CC-Link system master/local unit. For further details of the signals, refer to page 23.
2) Allows input data to be read, output data to be written, and a CC-Link faulty station to be read, etc. (The FROM/TO instruction is not needed when the automatic refresh function is used.) Buffer memory is accessed by the FROM and TO instructions in the sequence program. For full information on the buffer memory, refer to the CC-Link system master/local unit manual.
3) CC-Link start is dictated by the sequence program. After CC-Link is initiated, I/O refresh is continually executed independently of (or in synchronization with) the sequence program execution. For details, refer to the CC-Link system master/local unit manual.
Inverter CPU
19
FUNCTION OVERVIEW

4.2 Setting the Running Frequecy

The following table lists the functions which can be executed from the programmable logic controller in the CC-Link system:
Control Location Item
Operation command Disallowed Disallowed Allowed Running frequency setting Disallowed Disallowed Allowed Monitoring Allowe d Allowed Allowed Parameter write Disallowed (*3) Disallowed (*3) Allowed (*3)
User program
Control circuit terminal
(*1) At occurrence of a communication error, the inverter cannot be reset from the computer. (For inverter reset, refer
to the inverter manual.)
(
2) As set in Pr. 75.
*
(
3) As set in Pr. 77.
*
Values can be written to Pr. 4 to Pr. 6, Pr. 22, Pr. 24 to Pr. 27, Pr. 52 to Pr. 56, Pr. 72, Pr. 232 to Pr. 239 during operation. (For full information, refer to the inverter manual.)
(
4) As set in Pr. 338 and Pr. 339
*
Note 1. The inverter goes into the external operation mode if it is reset from the PLC in the CC-Link operation mode.
The setting of "1" in Pr. 340 (link start mode) selects CC-Link operation mode.
Parameter read Allowed Allowed Allowed Inverter reset Disallowed Disallowed Allowed (*1) Error reset at inverter fault (RY1A) Stop command (*2) Disallowed Disallowed Allowed Inverter reset terminal Allowed Allowed Allowed Operation command Disallowed Allowed Allowed (*4) Frequency setting Disallowed Allowed Allowed (*4)
PU operation External operation CC-Link operation
Allowed (*1) Allowed (*1) Allowed (*1)
Operation Mode
20

4.2.1 Monitoring function

(Refer to page 36.) The following items can be monitored by the PLC:
1) Output frequency.............. Binary in 0.01Hz increments
2) Output current................... Binary in 0.01A increments
3) Output voltage .................. Binary in 0.1V increments
4) Alarm definition
5) Special monitoring............ Monitored data selected by instruction code F3
6) Inverter status
$
Forward running
$
Reverse running
$
Running (RUN)
$
Up to frequency (SU)
The output signals marked * can be changed using Pr. 190 to Pr. 192 (output terminal function selection).
*
$
Overload (OL)
$
Frequency detection (FU)
$
Alarm
*
*
FUNCTION OVERVIEW
H
Note: Items 1) to 4) are read from the buffer memory by setting the corresponding code numbers when needed.
Item 6) can be read from the buffer memory any time.
21
FUNCTION OVERVIEW

4.2.2 Operation commands

(Refer to page 35.) Any of the following commands can be output from the PLC to the inverter as an operation command any time:
$
Forward rotation (STF)
$
Reverse rotation (STR)
$
Low speed (RL)*1
The input signals marked *1 can be changed using Pr. 180 to Pr. 183 (input terminal function selection). Depending on the setting, however, some signals do not accept the command from the PLC. For details, refer to page 17.
$
Middle speed (RM)*1
$
High speed (RH)*1
$
Inverter output halt (MRS)*1

4.2.3 Running frequency

(Refer to page 40.)
The running frequency is written from the PLC to the inverter when it is changed.........Binary in 0.01Hz increments
The running frequency may either be written to E write the data to the inverter RAM.
2
PROM or to RAM. When changing the frequency continuously, always

4.2.4 Parameter write

(Refer to page 39.) Functions can be written from the PLC. Note that write during inverter operation will result in a write error. For the parameter data code list, refer to the inverter manual.

4.2.5 Parameter read

(Refer to page 38.) Functions can be read to the PLC. For the parameter data code list, refer to the inverter manual.
22

5. COMMUNICATION SPECIFICATIONS

COMMUNICATION SPECIFICATIONS
5 COMMUNICATION SPECIFICATIONS

5.1 I/O Signal List

The following device No.s are those for station 1. For stations 2 and later, the device No.s are different. (For the device No. correspondence list, refer to the master unit manual.)
5.1.1 Output signals (master unit →→ inverter (FR-E5NC))
The output signals from the master unit are indicated. (Input signals to inverter)
Device
No.
RY0 Forward rotation command
RY1 Reserve rotation comm and
RY2
RY3
RY4 RY5
RY6 RY7 RY8 RY9 Output halt (MRS) When the MRS signal switches on, the inverter output st ops.
RH terminal function (high speed) RM terminal function (middle speed) RL terminal function (low speed)
Reserved (Note 5) Reserved for the system.
Signal Description
OFF : Stop com mand ON : Forward rotation start (Note 1) OFF : Stop com mand ON : Reserve rotation start (Note 1)
Functions assigned to RH/RM/RL are selected. In the factory setting, multi-speed selection can be made by the combination of RH, RM and RL. (Note 2)
Note: 1. Switching on RY0 and RY1 at the same time gives a stop command.
2. With Pr. 180 to Pr. 183 (input terminal function selection), you can set the input signals of device No.s RY2 to RY8. For full information, refer to the inverter manual.
23
COMMUNICATION SPECIFICATIONS
Device
No.
RYA RYB
Reserved (Note 5) Reserved for the system.
Signal Description
RYC Monitor command
RYD
(Note 4)
RYE
(Note 4)
RYF
(Note 4)
Frequency setting command (RAM)
Frequency setting command (E
2
Instruction code execution request
PROM)
When the monitor command (RYC) is switched on, the monitored value is set to rem ot e register RWr0 and monitoring (RXC) switches on. While the monitor command (RYC) is on, the monitored value is always updated. When the frequency setting command (RYD) is switched on, the set frequency (RW
W1
is written to the inverter. (Note 3) On completion of write, frequency setting completion (RXD) switches on. When the frequency setting command (RYE) is switched on, the set frequency (RW
W1
is written to the inverter. On completion of write, frequency setting completion (RXE) switches on. When the inst ruction code execution request (RYF) is switched on, processing
W2
corresponding to the instruction code set to RW
is executed. After completion of instruction code execution, instruction code execution completion (RXF) switches on. When an instruction code execution error occurs, a value other than 0 is set to the reply
2
code (RWr
).
)
)
24
COMMUNICATION SPECIFICATIONS
Device
No.
RY10 RY11 RY12 RY13 RY14 RY15 RY16 RY17 RY18 RY19
RY1A Error reset request flag
Reserved (Note 5) Reserved for the system.
Signal Description
If the error reset request flag (RY1A) is switched on only when an inverter fault occurs, the inverter is reset and the error status flag (RX1A) switches off.
Note: 3. While the set frequency designation (RYD) is on, the set frequency (RWW1) value is always returned.
4. If these commands are switched on simultaneously, only one of these is executed.
5. The reserved input signal should be off. (Enter 0)
25
5.1.2 Input signals (inverter (FR-E5NC) →→ master unit)
The input signals to the master unit are indicated. (Output signals from inverter)
COMMUNICATION SPECIFICATIONS
Device
No.
RX0 Forward running
RX1 Reverse running RX2 Running (RUN) On while the inverter is running. (Note)
RX3 Up to frequency (SU) Switched on when the output frequency reaches the set frequency ± Pr. 41. RX4 Overload (OL) RX5 Reserved Reserved for the system .
RX6 Frequency detection (FU) Switched on when the output frequency reaches set frequency. (Note) RX7 Alarm (A, B, C) Switched on when the inverter's protective function is activated to stop the output. (Note) RX8 RX9 RXA RXB
RXC Monitoring
RXD
RXE
RXF
Reserved Reserved for the system .
Frequency setting command (RAM)
Frequency setting command
2
(E
PROM)
Instruction code execution completion
Signal Description
OFF : Other than forward running (during stop or reverse rotation) ON : Forward running OFF : Other than reverse running (during stop or f orward rotation) ON : Reverse running
Switched on when stall prevention is activated and switched off when stall prevention is deactivated.
Switched on when the monitored value is set to RWr switching on. Switched off when the monitor command (RYC) is switched off. Switched on when the set frequency is written to the inverter by the frequency setting command (RYD) switching on. Switched off when the frequency setting command (RYD) is switched off. Switched on when the set frequency is written to the inverter by the frequency setting command (RYE) switching on. Switched off when the fr equency setting command (RYE) is switched off. Switched on on completion of the processing corresponding to the instruction code (RWW2) which is executed when the instruction code execution request (RYF) switches on. Switched off when the instruction code execution completion (RXF) is switched off.
0
by the monitor command (RYC)
26
COMMUNICATION SPECIFICATIONS
Device
No.
RX10 RX11 RX12 RX13 RX14 RX15 RX16 RX17 RX18 RX19
RX1A Error status flag Switched on when an inverter error occurs (protective function is activated).
RX1B Remote station ready
Reserved Reserved for the system .
Signal Description
Switched on when the inverter goes into the ready status on completion of initial setting after power-on or hardware reset. (Used as an interlock for read/write from/to the master station. ) Switched off when an inverter error occurs (protective function is activated).
Note: With Pr. 190 to Pr. 192 (output terminal function selection), you can set the output signals of device No.s RX2,
RX6, RX7. For full information, refer to the inverter manual.
27

5.2 Remote Register Assignment

5.2.1 Remote registers (master unit →→ inverter (FR-E5NC))
Device No. Signal Description
RW
RW
RW
RW
W0
W1
W2
W3
Monitor code
Set frequency
Instruction code
Writ e data
Set the monitor code to be referenced. By switching on the RYC signal after setting, the specified monitored data is set to RWr Specify the set frequency. At this time, whether it is written to RAM or E differentiated by the RYD and RYE signals. After set ting the frequency to this register, switch on the above RYD or RYE to write the frequency. On completion of frequency write, RXD or RXE switches on in response to the input command. Set the instruction code for execution of operation mode rewrite, Pr. read/write, error reference, error clear, etc. (refer t o page 29). The corresponding instruction is executed by switching on RYF after completion of register setting. RXF switches on on completion of instruction execution. Set the data specified by the above instruction code. (When required) Switch RYF on after setting the above instruction code and this register. Set zero when the write code is not required.
COMMUNICATION SPECIFICATIONS
0
.
2
PROM is
5.2.2 Remote registers (inv erter (F R-E 5N C ) →→ master unit)
0
RWr RWr
RWr RWr
1
2 3
Monitored value The monitored value specified by RWW0 (monitor code) is set. Output frequency The present output frequency is always set.
Reply code
The reply code corresponding to RW and a value other than 0 is set for a data error.
W2
Read data For a normal reply, the reply data to the instruction specified by the instruction code is set.
28
(instruction code) is set. 0 is set for a normal reply

5.3 Instruction Codes

Item Code Number Description
Operation mode read 007B
Operation mode write 00FB Alarm history No. 1, No. 2 read 0074
Alarm history No. 3, No. 4 read 0075 Alarm history No. 5, No. 6 read 0076 Alarm history No. 7, No. 8 read 0077 Set frequency (RAM) read 006D Set frequency (E2PROM) read 006E Set frequency (RAM) write 00ED Set frequency (E2PROM) write 00EE Parameter read 0000H to 006C
Parameter write 0080H to 00EC Batch alarm definit ion clear 00F4
Parameter clear 00FC
Inverter reset 00FD
H
H
H H H H
H H
H
H
H
H
H
COMMUNICATION SPECIFICATIONS
0000H: CC-Link operation
H
0001 0002
: External operation
H
: PU operation
0000H: CC-Link operation
H
0001
: External operation Reads the most recent No. 1 and 2 alarms. Reads the most recent No. 3 and 4 alarms. Reads the most recent No. 5 and 6 alarms. Reads the most recent No. 7 and 8 alarms. Reads the set frequency (RAM). (Note) Reads the set frequency (E2PROM). (Note) Writ es the set frequency to RAM. (Note) Writ es the set frequency to E2PROM. (Note)
H
Refer to the data code list in the inverter manual, and perform read/write as required. It should be noted that some parameters cannot be accessed.
H
9696H: Batch-clears the alarm history. 9696H: Parameter clear (parameters values other than calibrated values are reset
to factory settings.)
H
9966
: All clear 9696H: Resets the inverter.
Note: Setting can be made from the remote register.
29
Item Code Number Description
Link parameter expansion setting
Second parameter changing
Read 007F
Write 00FF
Read 006C
Write 00EC
COMMUNICATION SPECIFICATIONS
Changes the 0000H to 006CH and 0080H to 00ECH parameter values.
H
H
H
H
H
0000 0001 0002 0003 0009
: Pr. 0 to Pr. 96
H
: Pr. 100 to Pr. 156, Pr. 900 to Pr. 905
H
: Pr. 160 to Pr. 192, Pr. 232 to Pr. 250
H
: Pr. 338 to Pr. 340
H
: Pr. 990, Pr. 991
Pr. 902 to Pr. 905
H
0000 0001 0002
: Offset/gain
H
: Analog
H
: Analog value of terminal
30

6. PROGRAMMING EXAMPLES

PROGRAMMING EXAMPLES
6 PROGRAMMING EXAMPLES
This chapter provides programming examples which control the inverter with sequence programs.
Item Program Example Refer to Page
6.1 Reply code definitions List of codes checked after completion of instruction code execution 32
6.2 Reading the inverter status
6.3 Setting the operation mode Selecting the CC-Link operation mode 34
6.4 Setting the operation commands Commanding the forward rotation and medium speed signals 35
6.5 Setting the monit oring function Monitoring the output frequency 36
6.6 Reading a parameter value Reading the value of Pr. 7 "accelerat ion time" 38
6.7 Writing a parameter value Setting "3.0 seconds" in Pr. 7 "acceleration time" 39
6.8
Over of the Functions "acceleration time"
6.9 Reading the alarm definitions Reading the inverter alarms 42
6.10 Inverter reset Resetting the inverter 44
Reading the inverter status from the buffer m emory of the m ast er station
Setting to 50.00Hz 40
33
System configuration for programming example
PLC
Power supply
CPU
Master station
(X/Y00 to 1F)
Station 1
Inverter
(1 station
occupied)
FR-E5NC FR-E5NC
31
X0020
Input
module
(X20 to X2F)
Station 2
Inverter
(1 station
occupied)
PROGRAMMING EXAMPLES

6.1 Reply Code Definitions

When executing the frequency setting (RYD, RYE) or instruction code execution (RYF), check the reply code (RWr2) in the remote register after execution.
Date Item Alarm Definition
H
0000
Normal Normal completion of instruction code execution 0001 0002
0003
H
Write error
operation mode.
H
Parameter selection error Unregistered code number was set.
H
Setting range error Set data is outside the permissible data range.
Parameter write was attempted during operation other than a stop in the CC-Link
32
PROGRAMMING EXAMPLES

6.2 Program Example for Read in g th e In verter Status

Write a program as explained below to read the inverter status from the master station buffer memory: The following program reads the inverter status of station 1 to M0-M7:
X0000 X000F X0001
Address of master unit buffer memory
Station 1
Station 2
Station 64
Note:
*
H H
E2
H
E3
H
15E
H H
: Indicates addresses of one inverter.
: 0 or 1 because of reserved bits
Remote Input
RXF to RX0E0 RX1F to RX10E1 RX2F to RX20 RX3F to RX30
RX7EF to RX7E0
RX7FF to RX7F015F
FROM0000H00E0HD0 1
FROM
instruction
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
D0
Inverter status
M0: Forward running M1: Reverse running M2: Running (RUN) M3: Up to frequency (SU) M4: Overload (OL) M5: M6: Frequency detection (FU) M7: Alarm
MOV D0 M0
0
000
[RXF to RX8]
****
K
K2
0 0 0 1 1 0 1
M7 M6 M5 M4 M3 M2 M1 M0
0
Example: The above indicates up to frequency during forward running.
Reads the remote input data of buffer memory to D0.
Stores b0-b7 (status) in D0 to M0-M7.
*
[Inverter status]
Up to
frequency
MOV instruction
0 0 1 1 0 1
*
Inverter status
Running Forward
running
33
PROGRAMMING EXAMPLES
264
6
8
364

6.3 Program Example for Settin g th e Op eratio n Mo d e

Write programs as explained below to write various data to the inverters:
1) The following program changes the operation mode of station 2 inverter to CC-Link operation.
H
Operation mode writing code number: FB
H
CC-Link operation set data: 0000
(hexadecimal) (Refer to page 29.)
The reply code at the time of instruction code execution is set to D2. (Refer to page 32.)
(hexadecimal)
M9036
X0000 X000F X0001 X0020
M302
4
M303
6
M215
7
M9036
8
Write setting
M202
Inverter running
FROM0000H00E2HM200 2
K4
PLS M302
SET M303
MOV 00FBHD100
MOV 0000HD101
TO 0000H01E6HD100 2
SET M115
FROM0000H02E6HD2 1
RST M115
RST M303
TO 0000H0162HM100K42
K
K
K
K
Reads the remote input (RX20 to RX3F) data of buffer memory to M200-M231.
Writes operation mode writing code (FB to RWw
Switches on the instruction code executi on request (RY2F).
Reads reply code (RWr code execution completion (RX2F) switches on.
Switches off the instruction code executio n request (RY2F).
Writes M100-M131 data to the remote outputs (RY20 to RY3F) of buffer memory.
and set data (000 0H) to RWw7.
6
) to D2 when the instruction
6
)
H
34
PROGRAMMING EXAMPLES

6.4 Program Example for Setting th e O p eratio n C o mman d s

Write a program as explained below to write the inverter operation commands to the master station buffer memory: The inverter is operated in accordance with the operation commands written to the remote outputs (addresses 160
H
1DF The following program outputs the commands of forward rotation and middle speed signals to the inverter of station 2:
).
X0000 X000F X0001
26
SET M100
Forward rotation command (RY20)
H
to
M115 M110 M105 M100
0000
[RY2F to RY2A] [Operation commands]
Note: : Enter 0 since they are reserved bits.
*
RY2F to RY2A
M110 .....
M111 .....
M112 ..... Monitor command
M113 ..... Frequency setting command (RAM)
M114 ..... Frequency setting command (E PROM)
M115 ..... Instruction code execution request
** *
0
***
2
SET M103
TO 0000H0162HM100 1
0 1 0 0 1
Middle speed
Operation commands
M100 ..... Forward rotation command
M101 ..... Reverse rotation command
M102 ..... High speed (RH)
M103 ..... Middle speed (RM)
M104 ..... Low speed (RL)
K4
Forward rotation
K
TO instruction
1: ON 0: OFF
Middle-speed command (RY23)
Writes the operation commands to buffer memory and outputs to the inverter.
Address
RY0F to RY00160
H
RY1F to RY10161
H
162 163
1DE
M105 .....
M106 .....
M107 .....
M108 .....
M109 ..... MRS
RY2F to RY20
H
RY3F to RY30
H
RY7EF to RY7E0
H
RY7FF to RY7F01DF
H
Station 1
Station 2
Station 64
35

6.5 Program Example for Monitoring the Output Frequency

2636657
)
Write programs as explained below to monitor the data of the inverters: The following program reads the output frequency of station 2 inverter to D1.
Output frequency reading code number: 0001 Example: The output frequency of 60Hz is indicated 1770
H
(hexadecimal)
H
(6000).
PROGRAMMING EXAMPLES
M9036
X0000 X000F X0001 X0020
M9036
X0000 X000F X0001 X0020
5
Read
setting
M212
FROM0000H00E2HM200K42
MOV 0001HD100
TO 0000H01E4HD100 1
SET M112
FROM0000H02E4HD1 1
TO 0000H0162HM100K42
RST M112
K
K
K
K
Reads the remote input (RX20 to RX3F) data of buffer memory to M200-M231.
Sets the monitor code (01 of the output frequency to RWw4.
Switches on the monitor command (RY2C). M212: Reads output frequency (RWr
when monitoring (RX2C) switches on. Writes M100-M131 data to the remote
outputs (RY20 to RY3F) of buffer memory. Monitoring stop.
)
H
to D1
4
36

6.5.1 Monitor codes

Code Number Description Increments
H
0000 0001 0002 0003
H H H
No monitoring (monitored value fixed to 0) Output frequency (Note) 0.01Hz Output current 0.01A Output voltage 0.1V
Note: About the speed display
When Pr. 37≠0, output frequency m onitoring changes to speed monitoring. Unit for speed display: 1rpm *Note that the speed display of higher than 65535 (FFFF
H
) is 65535 (FFFFH).

PROGRAMMING EXAMPLES
37

6.6 Parameter Reading Program E xamp le

264
6
8
364
1) The following program reads Pr. 7 "the acceleration time" of station 2 inverter to D1. Pr. 7 "Acceleration time" reading code number: 07 For the parameter code numbers, refer to the inverter manual. The reply code at the time of instruction code execution is set to D2. (Refer to page 32.)
H
(hexadecimal)
PROGRAMMING EXAMPLES
M9036
X0000 X000F X0001 X0020
M302
3
M303
5
M215
1
M9036
2
Read setting
FROM0000H00E2
H
MOV H
TO 0000H01E6
H
FROM0000H02E7
H
FROM0000H02E6
H
TO 0000H0162
K4 M200 2
PLS M302
SET M303
0007HD100
D100 1
SET M115
D1 1
D2 1
RST M115
RST M303
M100K42
K
K
K
K
K
Reads the remote input (RX20 to RX3F) data of buffer memory to M200-M231.
Writes Pr. 7 reading code (07
Switches on the instruction code execution request (RY2F).
M215: "Reads acceleration time (RWr
code (RWr instruction code execution completion (RX2F) switches on.
Switches off the instruction code execution request (RY2F).
Writes M100-M131 data to the remote outputs (RY20 to RY2F) of buffer memory.
) to D1 and D2" when the
6
) to RWw6.
H
) and reply
7
Note: For parameters having numbers 100 and later, change their link parameter extension settings (set them to
other than 0000
H
).
38
PROGRAMMING EXAMPLES
8

6.7 Parameter Writing Program Example

1) Program example which changes the Pr. 7 "acceleration time" setting of station 2 inverter to 3.0 seconds Acceleration time writing code number: 87H (hexadecimal) Acceleration time set data: K30 (decimal) For the parameter code numbers, refer to the inverter manual. The reply code at the time of instruction code execution is set to D2. (Refer to page 32)
M9036
26
X0000 X000F X0001 X0020
36
M302
43
M303
45
M215
M9036
7
Write setting
FROM0000H00E2HM200 2
K4
PLS M302
SET M303
MOV 0087HD100
MOV 0030KD101
TO 0000H01E6HD100 2
SET M115
FROM0000H02E6HD2 1
RST M115
RST M303
TO 0000H0162HM100K42
K
K
K
K
Reads the remote input (RX20 to RX3F) data of buffer memory to M200-M231.
Writes Pr. 7 write (87 acceleration time setting data (K30) to RWw
Switches on the instruction code execution request (RY2F).
Reads reply code (RWr6) to D2 when the instruction code execution completion (RX2F) switches on.
Switches off the instruction code execution request (RY2F).
Writes M100-M131 data to the remote outputs (RY20 to RY3F) of buffer memory.
) to RWw6 and
H
.
7
Note: 1. For parameters having numbers 100 and later, change their link parameter extension settings (set them to
other than 0000H).
2. For other functions, refer to the instruction codes (page 29).
39

6.8 Running Frequency Setting Program Example

4
4
y
1) The following program changes the running frequency of station 2 inverter to 50.00Hz. Set frequency: K5000 (decimal) The reply code at the time of instruction code execution is set to D2. (Refer to page 32.)
PROGRAMMING EXAMPLES
M9036
26
X0000 X000F X0001 X0020
36
M302
3
M303
5
M213
66
M9036
82
Write setting
FROM0000H00E2HM200 2
K4
PLS M302
SET M303
MOV 5000KD100
TO 0000H01E5HD100 1
SET M113
FROM0000H02E6HD2 1
RST M113
RST M303
TO 0000H0162HM100K42
K
K
K
K
Reads the remote input (RX20 to RX3F) data of buffer memory to M200-M231.
Writes set frequency to RWw5.
Switches on the frequency setting command RAM (RY2D).
Reads reply code (RWr setting completion (RX2D) switches on.
Switches off the frequenc
Writes M100-M131 data to the remote outputs (RY20 to RY3F) of buffer memory.
) to D2 when the frequency
6
setting command (RY2D).
40
PROGRAMMING EXAMPLES
2) To continuously change the running frequency from PLC When the frequency setting completion (example: RX2D) switches on, make sure that the reply code in the remote
H
register is 0000
3) Program example for writing data to E
and change the set data (example: RWw5) continuously.
2
PROM Modify the above program as follows: Change the frequency setting command from RY2D to RY2E.
Frequency setting completion
<Timing chart for write to RAM>
RY2D
RW
W5
Inverter running
frequency
RX2D → RX2E
<Timing chart for write to E PROM>
RY2E
RWw
5
Inverter running frequency
2
(Note 2)
(Note1)
Reflecte d on i nv er t er at the point when RY2E switches on
Note:1. For E2PROM, write is made only once when RY2E is switched on.
2. If the set data is changed with RY2E on, it is not returned on the inverter.
41

6.9 A larm Defin itio n R ead ing P ro g ram E xamp le

264
6
82364
1) The following program reads the alarm definition of station 2 inverter to D1.
H
Alarm (error) history No. 1, No. 2 reading code number: 74 The reply code at the time of instruction code execution is set to D2. (Refer to page 32.)
(hexadecimal)
PROGRAMMING EXAMPLES
M9036
X0000 X000F X0001 X0020
M302
3
M303
5
M215
1
M9036
Read setting
FROM0000
TO 0000H01E6HD100 1
FROM0000H02E7HD1 1
FROM0000H02E6HD2 1
TO 0000H0162HM100K42
HH
00E2
MOV 0074HD100
K4 M200 2
PLS M302
SET M303
SET M115
RST M115
RST M303
K
K
K
K
K
Reads the remote input (RX20 to RX3F) data of buffer memory to M200-M231.
Writes alarm history No. 1, No. 2 reading code (74
Switches on the instruction code execution request (RY2F).
Reads alarm data (RWr7) and reply code (RWr code execution completion (RX2F) switches on.
Switches off the instruction code execution request (RY2F).
Writes M100-M131 data to the remote outputs (RY20 to RY3F) of buffer memory.
) to RWw6.
H
) to D1 and D2 when the instruction
6
42
2) Alarm definition display example Example: Read data is 30A0
H
Previous alarm........ THT
Current alarm.......... OPT
PROGRAMMING EXAMPLES
b15 b8 b7 b0
0011000010100000
3) Alarm data For full information on alarm definition, refer to the inverter manual.
Data Definition Data Definition
00 10 11 12 20 21 22 30 31 40
H H H H H H H H H H
No alarm 60 E. OC1 70 E. OC2 80 E. OC3 81 E. OV1 90 E. OV2 A0 E. OV3 B0 E. THT B1 E. THM B2 E. FIN
H H H H H H H H H
E. OLT E. BE E. GF E. LF E. OHT E. OPT E. PE E. PUE E. RET
Previous alarm
)
(30
H
Current alarm
(A0H)
43

6.10 Program Example for Resettin g th e In verter at Inverter Error

g (
)
1) The following program resets the inverter of station 2.
PROGRAMMING EXAMPLES
M9036
26
X0000 X000F X0001 M226
36
M302
43
M9036
87
M226
FROM0000H00E2HM200 2
K4
X0020
SET M126
Write setting
SET M302
RST M302
RST M126
TO 0000H0162HM100K42
K
K
Reads the remote input (RX20 to RX3F) data of buffer memory to M200-M231.
Switches on the error reset request flag (RY1A).
Switches off the error reset request fla if the error status flag (RX1A) is off.
Writes M100-M131 data to the remote outputs (RY20 to RY3F) of buffer memory.
Note: 1. The above inverter reset using RY1A may be made only when an inverter error occurs.
Also, inverter reset can be made independently of the operation mode.
2. When using the instruction code execution request (RYF) with the instruction code (FD to reset the inverter, set "1" in Pr. 341 "link start mode" (refer to page 14) or change the operation mode to the CC-Link operation mode. (For the program example, refer to page 34.)
RY1A
H
) and data (9696H)
44
PROGRAMMING EXAMPLES

6.11 Instructions

(1) Programming instructions
1) Since the buffer memory data of the master station is kept transferred (refreshed) to/from the inverters, the TO instruction need not be executed every scan in response to data write or read requests. The execution of the TO instruction every scan does not pose any problem.
2) If the FROM/TO instruction is executed frequently, data may not be written reliably. When transferring data between the inverter and sequence program via the buffer memory, perform the handshake to confirm that data has been written without error.
Correct
TO instruction
Write completion
Incorrect
TO instruction Write completion
(2) Operating and handling instructions
1) During CC-Link operation, the inverter only accepts commands from the PLC and ignores any external operation command and any operation command from the parameter unit.
2) If the same station number is set to different inverters, wrong data will be transferred and normal communication cannot be made.
3) The inverter is brought to any of the alarm stops "E.OPT" if data communication stops, even instantaneously, due to a PLC fault, an open CC-Link dedicated cable etc. during CC-Link operation.
4) If the PLC (master station) is reset during CC-Link operation or if the PLC is powered off, data communication stops and the inverter is brought to any of the alarm stops "E.OPT". To reset the PLC (master station), switch the operation mode to the external operation once, then reset the PLC.
45
PROGRAMMING EXAMPLES
5) When the main power of any inverter is restored, that inverter is reset to return to the external operation mode. To resume the CC-Link operation, therefore, set the operation mode to the CC-Link operation using the PLC program. Note that setting "1" in Pr. 340 (link start mode) selects the CC-Link operation mode.
(3) Troubleshooting
1) Operation mode does not switch to CC-Link
!
Check that the CC-Link units (FR-E5NC) and CC-Link dedicated cables are fitted properly.
(Check for contact fault, open cable, etc.)
!
Check that the station number setting switches are set to the correct positions. (Check that the station number
matches the program, the station numbers are not repeated, and the station number is not outside the range.)
!
Check that the inverter is in the external operation mode.
!
Check that the operation mode switching program is running.
!
Check that the operation mode switching program has been written correctly.
2) Inverter does not start in CC-Link operation mode
!
Check that the inverter is in the CC-Link operation mode.
!
Check that the inverter starting program has been written correctly.
!
Check that the inverter starting program is running.
!
Check that the inverter is providing output.
46

7. HOW TO CHECK FOR ERROR USING THE LEDS

HOW TO CHECK FOR ERROR USING THE LEDS
7 HOW TO CHECK FOR ERROR USING THE LEDS

7.1 When One Inverter Is Connected

The following example indicates the causes of faults which may be judged from the LED states of the CC-Link unit (FR­E5NC) of the inverter under the condition that the SW, M/S and PRM LEDs of the master unit are off (the master unit setting is correct) in a system configuration where one inverter is connected:
Power supply
CPU
Master
unit
Station 1
Inverter
47
LED Status Cause
L. RUN SD RD L. ERR
" " " " " " " "
$### $##$ $#$# $#$$ $$##
$$#$
$$$# $$$$ $$#
"
$$$
### ##$ #$# #$$ $## $#$ $$# $$$
$
###
"
"
HOW TO CHECK FOR ERROR USING THE LEDS
Normal communication is made but CRC error has occurred due to noise. Normal communication Hardware fault Hardware fault Cannot answer due to CRC error of receive data. Data sent to the host station does not reach dest ination. Hardware fault Hardware fault Polling response is made but refresh receive is in CRC error. Hardware fault Hardware fault Hardware fault Data sent to the host station is in CRC error. There is no data sent to the host station, or data sent to the host station cannot be received due to noise. Hardware fault Cannot receive data due to open cable, etc. Invalid baud rate or station number setting Baud rate or station number changed during operation. WDT error occurrence (hardware fault), power off, power supply failure
48
"
: On, $: Off, #: Flicker
HOW TO CHECK FOR ERROR USING THE LEDS

7.2 When Two or More Inverters Are Co n n ected

The following example indicates the causes and corrective actions for faults which may be judged from the LED states of the CC-Link units (FR-E5NCs) of the inverters under the condition that the SW , M/S and PRM LEDs of the master unit are off (the master unit setting is proper) in the system configuration shown below:
Master
unit
TIME LINE
or TIME LINE
Power supply
LED States
Inverters (FR-E5NC)
Station 1 Station 2 Station 3
" " "
$ $ $ $ $
$ $
"
$
L. RUN SD RD L. ERR L. RUN SD RD L. ERR
CPU
L. RUN SD RD L. ERR L. RUN SD RD L. ERR
" " "
$
" " "
$
Master
unit
L. RUN SD RD L. ERR L. RUN SD RD L. ERR
Station 1
Inverter A
Cause Corrective Action
Station 2
Inverter B
" "
Normal
"
$
" "
Poor contact of the FR-E5NC with the inverter
"
$
Station 3
Inverter C

Plug the FR-E5NC securely. Check the connector.
49
Master
unit
TIME LINE
or TIME LINE
LED States
Inverters (FR-E5NC)
Station 1 Station 2 Station 3
$
* *
$ $
* *
$ $
* * *
$ $
"
$
L. RUN SD RD L. ERR L. RUN SD RD L. ERR L. RUN SD RD L. ERR
" " "
$ $
* *
$ $
* * *
L. RUN SD RD L. ERR L. RUN SD RD L. ERR L. RUN SD RD L. ERR
L. RUN SD RD L. ERR L. RUN SD RD L. ERR L. RUN SD RD L. ERR
HOW TO CHECK FOR ERROR USING THE LEDS
Cause Corrective Action
$
Since the L.RUN LEDs of the FR-E5NCs on station 2 and later are off, the transmission cable
*
between the remote I/O units A and B is open or
*
$
disconnected from the terminal block.
$
*
The transmission cable is shorted.
*
$ $
*
The transmission cable is wired improperly.
* *
: On, $: Off, #: Flicker, *: Any of on, flicker or off
"
Referring to the LED "on" condition, search for an open point and repair.
Among the three wires of the transmission cable, search for the shorted wire and repair.
Check the wiring on the inverter terminal block and correct the improper wiring point.
50
HOW TO CHECK FOR ERROR USING THE LEDS

7.3 Communication Stops During Operation

!
Check that the CC-Link unit (FR- E 5N C) and CC-Link dedicated cables are fitted properly. (Chec k f or c ontac t faul t , open
cable, etc.)
!
Check that the programmable controller program is executing reliably and that the PLC CPU is running.
!
Check that data communication has not stopped due to an instantaneous power failure, etc.
LED States
Master
unit
TIME LINE
or TIME LINE
Inverters (FR-E5NC)
Station 1 Station 2 Station 3
$ $
"
$
L. RUN SD RD L. ERR L. RUN SD RD L. ERR L. RUN SD RD L. ERR
L. RUN SD RD L. ERR
$
*
"
$
" " "
$
" " "
$
$ $
" "
L. RUN SD RD L. ERR L. RUN SD RD L. ERR L. RUN SD RD L. ERR
L. RUN SD RD L. ERR
" " "
$ $ $
"
$
" " "
$
" " "
$
L. RUN SD RD L. ERR L. RUN SD RD L. ERR L. RUN SD RD L. ERR
L. RUN SD RD L. ERR
$
Since the L.RUN LEDs of the FR-E5NC on station 1 and the FR-E5NC on station 3 are off,
*
"
the station numbers of the inverters set as
$
stations 1 and 3 are the same.
"
Since the L.RUN and SD LEDs of the FR-E5NC
"
on station 2 are off, t he transmission speed
"
setting of the FR-E5NC on station 2 is wrong
$
within the setting range (0 to 4).
"
Since the L.ERR LED of the FR-E5NC on station
"
3 flickers, the setting switch of the FR-E5NC on
"
station 3 was moved during normal operation.
#
Since the L.RUN and SD LEDs of the FR-E5NC
"
on station 1 are off and its L. ERR LED is on, the
"
setting switch setting of the FR-E5NC on station
"
1 is outside the range (transmission speed: 5 to
$
9, station number: 65 or more).
Cause Corrective Action
After correcting the repeated station numbers of t he inverters, switch power on again.
After correcting the transmission speed setting, switch power on again.
After returning the setting switch of the FR-E5NC to the original position, power on the inverter again.
After correcting the setting switch position of the FR-E5NC, switch power on again.
51
Master
unit
TIME LINE
or TIME LINE
LED States
Inverters (FR-E5NC)
Station 1 Station 2 Station 3
" "
$
"
L. RUN SD RD L. ERR L. RUN SD RD L. ERR L. RUN SD RD L. ERR
" " "
$
" " "
$
" " "
$
L. RUN SD RD L. ERR L. RUN SD RD L. ERR L. RUN SD RD L. ERR
" " " " " " " " " " "
$
L. RUN SD RD L. ERR L. RUN SD RD L. ERR L. RUN SD RD L. ERR
HOW TO CHECK FOR ERROR USING THE LEDS
Cause Corrective Action
"
Since the L.ERR LED of the FR-E5NC on station
"
2 is on, the FR-E5NC itself on station 2 is
"
affected by noise. (L.RUN may go off.)
$
"
Since the L.ERR LEDs of the FR-E5NCs on
"
station 2 and later are on, the transmission cable
"
between the inverters of stations 2 and 3 is
"
affected by noise. (L.RUN may go off.)
" "
Terminal resistors are left unconnected. (L.RUN
"
may go off.)
"
: On, $: Off, #: Flicker, *: Any of on, flicker or off
"
Securely connect FG of each inverter and master unit to ground.
Check that the transmission cable is connected to SLD. Also run it as far away as possible from the power lines. (100mm or more)
Check that the terminal resistors are connected.
52

REVISIONS

*The manual number is given on the bottom left of the back cover.
Print Date
Jul, 1999 IB(NA)-0600003-A First edition
*Manual Number
Revision
Loading...