80
8.6 Programming example for parameter writing
The following program changes the setting of
Pr.7 Acceleration time
of inverter to 3.0 s.
• Acceleration time writing instruction code: H87 (hexadecimal)
• Acceleration time set data: K30 (decimal)
For the parameter instruction code, refer to the Instruction Manual (Detailed) of the inverter.
The reply code at the time of instruction code execution is set to D2. (RWr10: Refer to
NOTE
• For parameters having numbers 100 and later, change their link parameter extended settings (set them to other than
H00). Refer to the parameter list of the Instruction Manual (Detailed) of the inverter for settings.
• For other functions, refer to the instruction codes (Refer to
).
SET M301
PLS M300
MOV W10 D2
MOV H87 W110
Write
Pr. 7
write code (H87) to RWw10 and
acceleration time setting data (K30) to RWw11.
SET Y1025
Turn off the instruction code execution request (RY25)
0
3
7
9
18
24
M0
X20
X1025
M301
SB49
X1025
M300
SET M302
M302
RST Y1025
RST M302
END
Turn on the instruction code execution request (RY25)
MOV K30 W111
RST M301
Read reply code (RWr10) to D2 when the instruction
code execution completion (RX25) turns on.
Check the data link status of the station 1
M0
SW0B0.0