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

Скачать
Страница из 61
PROGRAMMING EXAMPLES
38
6.6  Parameter Reading Program Example
1) The following program reads Pr. 7 "the acceleration time" of station 2 inverter to D1.
Pr. 7 "Acceleration time" reading code number: 07
H
 (hexadecimal)
For the parameter code numbers, refer to the inverter manual.
The reply code at the time of instruction code execution is set to D2. (Refer to page 32.)
Switches on the instruction code execution
request (RY2F).
M9036
FROM 0000
H
00E2
H
M303
FROM 0000
H
02E7
H
MOV
TO
0000
H
01E6
H
26
45
X0000 X000F X0001 X0020
M302
M215
FROM 0000
H
02E6
H
61
TO
0000
H
0162
H
SET
M303
M200 2
K
PLS
M302
D1
1
K
0007
H
D100
D100 1
K
K4
SET
M115
D2
1
K
RST
M115
RST
M303
M100
K4
2
K
M9036
82
36
43
Read setting
Writes Pr. 7 reading code (07
H
) to RWw
6
.
Switches off the instruction code execution
request (RY2F).
Reads the remote input (RX20 to RX3F) data
of buffer memory to M200-M231.
Writes M100-M131 data to the remote outputs
(RY20 to RY2F) of buffer memory.
M215: "Reads acceleration time (RWr
7
) and reply
code (RWr
6
) to D1 and D2" when the
instruction code execution completion
(RX2F) switches on.
Note:
For parameters having numbers 100 and later, change their link parameter extension settings (set them to
other than 0000
H
).