8.8
Program example for fault record reading
The following program reads fault records of station 1 inverter to D1.
• Fault record No. 1, No. 2 reading instruction code: H74 (hexadecimal)
For the error codes, refer to the FR-E800 Instruction Manual (Maintenance).
The reply code at the time of instruction code execution is set to D2. (Refer to
X0
X0F
X1
SW80.0
0
M0
X20
7
M300
11
M301
X100F
13
M302 X100F
20
28
92
PROGRAMMING EXAMPLES
page
M0
Check the data link status of the station 1
PLS M300
SET M301
Write error history No.1 and No.2 read
MOV H74
W102
code (H74) to RWw2.
SET Y100F
Turn on the instruction code execution request
(RY0F)
RST M301
SET M302
MOV W3
D1
Read alarm data (RWr3) and reply code
(RWr2) to D1 and D2 when the instruction
MOV W2
D2
code execution completion (RX0F) turns on.
Turn off the instruction code execution request
RST Y100F
(RY0F)
RST M302
END
70)