Справочник Пользователя для Mitsubishi Electronics FR-E5NC

Скачать
Страница из 61
PROGRAMMING EXAMPLES
40
6.8  Running Frequency Setting Program Example
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.)
Writes set frequency to RWw
5
.
SET
M303
M9036
FROM 0000
H
00E2
H
M200 2
K
PLS
M302
M303
FROM 0000
H
02E6
H
D2
1
K
MOV 5000
K
D100
TO
0000
H
01E5
H
D100 1
K
26
45
X0000 X000F X0001 X0020
M302
K4
SET
M113
M213
66
RST
M113
RST
M303
TO
0000
H
0162
H
M100
K4
2
K
M9036
82
36
43
Write setting
Switches on the frequency setting command
RAM (RY2D).
Switches off the frequency setting command (RY2D).
Reads the remote input (RX20 to RX3F)
data of buffer memory to M200-M231.
Reads reply code (RWr
6
) to D2 when the frequency 
setting completion (RX2D) switches on.
Writes M100-M131 data to the remote outputs
(RY20 to RY3F) of buffer memory.