86
PROGRAMMING EXAMPLES
8.6 Program Example for Parameter Writing
The following program changes the setting of
Pr.7 Acceleration time
of
inverter to 3.0s.
⋅
Acceleration time writing code number: H87 (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 66)
REMARKS
1. For parameters having numbers 100 and later, change their link parameter expansion settings (set them to other
than H0000). Refer to the parameter list of
the inverter manual (applied)
for settings.
2. For other functions, refer to the instruction codes
(page 68)
.
station 1
SET M301
PLS M300
MOV W2
D2
MOV H87 W102
Write Pr. 7 write (H87) to RWw2 and
acceleration time setting data (K30) to RWw3.
SET Y100F
Turn off the instruction code execution request (RY0F)
0
7
11
13
22
28
M0
X20
X100F
M301
X0
X0F
X1 SW80.0
X100F
M300
SET M302
M302
RST Y100F
RST M302
END
Turn on the instruction code execution request (RY0F)
MOV K30
W103
RST M301
Read reply code (RWr2) to D2 when the instruction
code execution completion (RX0F) turns on.
Check the data link status of the station 1
M0