8.2
Programming example for setting the operation mode
The following explains a program to write various data to the inverter.
The following explains a program to change the operation mode of station 1 inverter to network operation.
• Operation mode write code: HFB (hexadecimal)
• Network operation set data: H0000 (hexadecimal) (Refer to
• The reply code at the time of instruction code execution is set to D2. (RWr10: Refer to
SB49
SW0B0.0
0
M0
X20
3
M300
7
M301
X1025
9
M302
X1025
18
24
92
PROGRAMMING EXAMPLES
page
79)
Check the data link status of the station 1
M0
PLS M300
SET M301
MOV H0FB W110
Write operation mode write code (HFB)
to RWw10 and set data (H0000) to RWw11.
MOV H0
W111
Turn on the instruction code execution
SET Y1025
request (RY25)
RST M301
SET M302
Read reply code (RWr10) to D2 when the instruction
MOV W10 D2
code execution completion (RX25) turns on.
Turn off the instruction code execution
RST Y1025
request (RY25)
RST M302
END
page
77)