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