FX Series Programmable Controlers Applied Instructions 5
5-212
5.16.1.1.14 Example program 3
This program writes the speed parameter from PLC to inverter, performs forward rotation by
input X1, and reverse rotation by input X2.
By re-writing D10 in the peripheral equipment or the display unit, the frequency of the inverter
can be changed.
This program also monitors the frequency and output current in the inverter.
M8000
MOV D8154 D7990
MOV D8155 D7791
M8002
SET M10
END
MOV D8156 D7992
MOV D8157 D7993
M8157
M10
EXTR K11 K6 H0FB H0
EXTR K13 K6 K1 K1200
EXTR K13 K6 K2 K500
EXTR K13 K6 K4 K5980
EXTR K13 K6 K5 K4980
EXTR K13 K6 K6 K3980
EXTR K13 K6 K7 K10
EXTR K13 K6 K8 K10
RST M10
M8029
M8002
MOV K6000 D10
M8000
M8000
M8000
EXTR K11 K6 H0ED D10
EXTR K11 K6 H0FA K2X000
EXTR K10 K6 H7A K2Y000
EXTR K10 K6 H6F D50
EXTR K10 K6 H70 D51
EXTR K10 K6 H71 D52
Program which
monitors the
related special
devices from the
personal computer
X1: Forward,
X2: Reverse
Sets the default value of the frequency
Re-writes the frequency
Gives commands to the inverter
Writes parameters to the inverter at start
Monitors the inverter
Waiting time for
response from
inverter
Step No. of
instruction
currently executing
Error code
Step in which an
error has occurred
for the first time
Specifies
computer link
operation
Maximum
frequency
Minimum
frequency
Multi-speed
setting (speed 3)
Multi-speed
setting (speed 2)
Multi-speed
setting (speed 1)
Acceleration time
Deceleration time
Clears M10 when
execution is
complete
Monitors status
Monitors
frequency
Monitors output
current
Monitors output
voltage