Program Example For Fault Record Reading - Mitsubishi Electric FR-A7NC E kit-SC Instruction Manual

700 series cc-link communication function
Hide thumbs Also See for FR-A7NC E kit-SC:
Table of Contents

Advertisement

8.8

Program example for fault record reading

The following program reads fault records of
 Faults history No. 1, No. 2 reading code number: H74 (hexadecimal)
For the error code numbers, refer to page 65.
The reply code at the time of instruction code execution is set to D2. (Refer to page 60)
X0
X0F
X1 SW80.0
0
M0
X20
7
M300
11
M301
X100F
13
M302 X100F
20
28
station 1
inverter to D1.
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.
Turn ON the instruction code execution request
SET Y100F
(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
PROGRAMMING EXAMPLES
8
79

Advertisement

Table of Contents
loading

Table of Contents