63
3.4.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)
The reply code at the time of instruction code execution is set to D2. (Refer to
page 58)
SET M303
M9036
FROM 0000 00E2 M200 2
PLS M302
M303
MOV 0087
H
D100
TO 0000 01E6 D100 2
HH K
6
5
X0000 X000F X0001 X0020
M302
HH KK4
SET M115
RST M115
RST M303
TO 0000 0162 M100 2
HHK4K
M9036
7
6
3
MOV 0030
K
D101
M215
FROM 0000 02E6 D2 1
HH K
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.
Reads reply code (RWr
6
) to D2 when the instruction
code execution completion (RX2F) switches on.
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 57).