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

Скачать
Страница из 61
PROGRAMMING EXAMPLES
39
6.7  Parameter Writing Program Example
1) Program example which changes the Pr. 7 "acceleration time" setting of station 2 inverter to 3.0 seconds
Acceleration time writing code number: 87
H
 (hexadecimal)
Acceleration time set data: K30 (decimal)
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)
Reads reply code (RWr
6
) to D2 when the instruction
code execution completion (RX2F) switches on.
SET
M303
M9036
FROM 0000
H
00E2
H
M200 2
K
PLS
M302
M303
FROM 0000
H
02E6
H
D2
1
K
MOV 0087
H
D100
TO
0000
H
01E6
H
D100 2
K
26
45
X0000 X000F X0001 X0020
M302
K4
SET
M115
M215
RST
M115
RST
M303
TO
0000
H
0162
H
M100
K4
2
K
M9036
87
36
43
Write setting
Writes Pr. 7 write (87
H
) to RWw
6
 and 
acceleration time setting data (K30) to RWw
7
.
Switches on the instruction code execution
request (RY2F).
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 RY3F) of buffer memory.
MOV 0030
K
D101
Note: 1. For parameters having numbers 100 and later, change their link parameter extension settings (set them to
other than 0000
H
).
2. For other functions, refer to the instruction codes (page 29).