E658130
- 42 -
6.6.
Program example for parameter writing
Example 6 shows
a ladder logic to
chang the setting of
f311
of station 1 inverter to 1
f311
: Reverse-run prohibition reading code number: 2311H (hexadecimal)
Reverse-run prohibition set data: 1 (decimal)
Refer to 5.5.8 for detail.
X0
X0F X1
SW80.0
M0
X20
M300
M301
X100F
[ MOV H2311 W102]
M302
X100F
[ MOV W2 D2]
( M0)
[ PLS M300]
[ SET M301]
[ MOV K1 W103]
[ SET Y100F]
[ RST M301]
[ SET M302
]
[ RST Y100F]
[ RST M302]
[ END]
Check the ready of the Station 1
Write
f311
write code (2311H) to
RWw2 and r
everse-run prohibition
setting
Turn on the instruction code
execution
Read reply code (RWr2) to D2 when the
Instruction code execution completion
flag
Turn off the instruction code
execution
Example