81
8
8.7 Programming example for setting the running frequency
The following program example changes the running frequency of station 1 inverter to 50.00
Hz
Set frequency: K5000 decimal
The reply code at the time of instruction code execution is set to D2. (RWr0: Refer to
)
SET M301
PLS M300
M301
MOV W0
D2
MOV K5000 W100
Write set frequency to RWw0.
SET Y1021
Turn off the frequency setting command RAM
(RY21)
0
3
7
9
16
22
RST M301
M0
X20
X1021
SB49
M302 X1021
M300
SET M302
RST Y1021
RST M302
END
Turn off the frequency setting
command RAM (RY21)
Read reply code (RWr0) to D2 when the
frequency setting completion (RX21) turns on.
Check the data link status of the station 1
M0
SW0B0.0