Instruction manual

Table Of Contents
3.4 Programming Examples
58
3.4 Programming Examples
The following table lists program examples which control the inverter with sequence
programs.
Item Program Example Refer to Page
3.4.1
Reply code definitions List of codes checked after completion of
instruction code execution
58
3.4.2
Reading the inverter status Reading the inverter status from the buffer
memory of the master station
59
3.4.3 Setting the operation mode Selecting the CC-Link operation mode 60
3.4.4
Setting the operation commands Commanding the forward rotation and medium
speed signals
61
3.4.5 Setting the monitoring function Monitoring the output frequency 61
3.4.6 Reading the parameter value Reading the value of Pr. 7 "acceleration time" 62
3.4.7 Writing the parameter value Setting "3.0 seconds" in Pr. 7 "acceleration time" 63
3.4.8
Over of the Functions
"acceleration time"
Setting to 50.00Hz
64
3.4.9 Reading the alarm definitions Reading the inverter alarms 65
3.4.10 Inverter reset Resetting the inverter 66
System configuration for programming example
X0020
FR-E520-KN FR-E520-KN
PLC
Power
supply
Master
station
(X/Y00 to 1F)
Input
module
(X20 to X2F)
Station 1
CPU
Station 2
Inverter
(1 station
occupied)
Inverter
(1 station
occupied)
3.4.1 Reply code definitions
When executing the frequency setting (RYD, RYE) or instruction code execution
(RYF), check the reply code (RWr
2
) in the remote register after execution.
Data Item Alarm Definition
0000
H
Normal Normal completion of instruction code execution
0001
H
Write error
Parameter write was attempted during other than a
stop in the CC-Link operation mode.
0002
H
Parameter selection error Unregistered code number was set.
0003
H
Setting range error Set data is outside the permissible data range.
3