8.7
Program 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. (Refer to
X0
X0F
X1
SW80.0
0
M0
X20
7
M300
11
M301
X100D
13
M302 X100D
20
26
90
PROGRAMMING EXAMPLES
page
M0
Check the data link status of the station 1
PLS
M300
SET M301
MOV K5000 W101
Write set frequency to RWw1.
SET Y100D
Turn off the frequency setting
command RAM (RY0D)
RST M301
SET M302
Read reply code (RWr2) to D2 when the
MOV W2
D2
frequency setting completion (RX0D) turns on.
RST Y100D
Turn off the frequency setting command RAM
(RY0D)
RST M302
END
70)