Toshiba E6581830 ユーザーズマニュアル
E658130
- 39 -
6.2.
Program example for setting the operation mode
Example 2 shows
a ladder logic to
write data in the inverter.
The operation mode of station 1 inverter can be changed to network operation.
Operation mode writing code number: 2003H (hexadecimal)
Network operation set data: 0004H (hexadecimal)
The reply code at the time of instruction code execution is set to D2.
Operation mode writing code number: 2003H (hexadecimal)
Network operation set data: 0004H (hexadecimal)
The reply code at the time of instruction code execution is set to D2.
Check the ready of the station 1
Write operation mode write code
(2003H) to RWw2 and set data
(0004H) to RWw3.
(2003H) to RWw2 and set data
(0004H) to RWw3.
X0
X0F X1
( M0)
SW80.0
M0
X20
[ PLS M300]
M300
[ SET M301]
M301
X100F
[ MOV H2003 W102]
[ MOV H0004 W103]
[ SET Y100F]
[ RST M301]
[ SET M302]
M302
X100F
[ MOV W2 D2]
[ RST Y100F]
[ RST M302]
[ END]
Turn on the instruction code
execution
execution
Read reply code (RWr2) to D2 when the
Instruction code execution completion
flag
Instruction code execution completion
flag
Turn off the instruction code
execution
execution
Example