83
8
8.8 Programming example for fault record reading
The following program reads fault records of station 1 inverter to D1.
• Faults history No. 1, No. 2 reading instruction code: H74 (hexadecimal)
For the error code, refer to the Instruction Manual (Detailed) of the inverter.
The reply code at the time of instruction code execution is set to D2. (RWr10: Refer to
SET M301
PLS M300
MOV W11 D1
MOV H74 W110
Write faults history No.1 and No.2 read
code (H74) to RWw10.
SET Y1025
Turn off the instruction code execution request
(RY25)
0
3
7
9
16
24
M0
X20
X1025
SB49
M302 X1025
M301
M300
RST M301
SET M302
MOV W10 D2
RST Y1025
RST M302
END
Turn on the instruction code execution request
(RY25)
Read fault record (RWr11) and reply code
(RWr10) to D1 and D2 when the instruction
code execution completion (RX25) turns on.
Check the data link status of the station 1
M0
SW0B0.0