E658130

- 43 -

6.7. Program example for parameter reading
Example 7 shows a ladder logic to read parameter f311 of station 1 inverter to D2.
f311: Reverse-run prohibition reading code number: 1311H (hexadecimal)
The reply code at the time of instruction code execution is set to D1.
Refer to 5.5.8 for detail.
Check the ready of the station 1
X0 X0F X1
( M0)
SW80.0
M0 X20
[ PLS M300]
M300
[ SET M301]
M301 X100F
[ MOV H1311 W102]
[ SET Y100F]
[ RST M301]
[ SET M302]
M302 X100F
[ MOV W2 D1]
[ RST Y100F]
[ RST M302]
[ END]
[ MOV W3 D2]

Write f311 read code (1311H)

to

Turn on the instruction code

execution

Read reverse-run prohibition (RWr3) and

reply code (RWr2) to D2 and D1 when

the instruction code execution

completion

Turn off the instruction code

execution

Example 7