Programming Example For Fault Record Reading - Mitsubishi Electric CC-Link IE TSN FR-A8NCG Instruction Manual

Table of Contents

Advertisement

8.8

Programming example for fault record reading

The following program reads fault records of station 1 inverter to D1.
• Fault 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
SB49
SW0B0.0
0
M0
X20
3
M300
7
M301
X1025
9
M302 X1025
16
24
M0
Check the data link status of the station 1
PLS M300
SET M301
Write fault history No.1 and No.2 read
MOV H74
W110
code (H74) to RWw10.
SET Y1025
Turn on the instruction code execution request
(RY25)
RST M301
SET M302
MOV W11 D1
Read fault record (RWr11) and reply code
(RWr10) to D1 and D2 when the instruction
code execution completion (RX25) turns on.
MOV W10 D2
Turn off the instruction code execution request
RST Y1025
(RY25)
RST M302
END
PROGRAMMING EXAMPLES
page
77)
8
99

Advertisement

Table of Contents
loading

This manual is also suitable for:

800 series

Table of Contents