Program Example For Alarm Definition Reading - Mitsubishi Electric FR-A7NC Instruction Manual

Plug-in option, cc-link communication function
Hide thumbs Also See for FR-A7NC:
Table of Contents

Advertisement

PROGRAMMING EXAMPLES

8.8 Program Example for Alarm Definition Reading

The following program reads alarm definitions of
⋅ Alarm (error) history No. 1, No. 2 reading code number: H74 (hexadecimal)
For the error code numbers, refer to page 58.
The reply code at the time of instruction code execution is set to D2. (Refer to page 54)
X0
X0F
X1
0
M0
X20
7
M300
11
M301
X100F
13
M302 X100F
20
28
72
station 1
inverter to D1.
BMOV SW80 K4M0 K4
Read data link status of each station
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
MOV W2
D2
Turn off the instruction code execution request
RST Y100F
(RY0F)
RST M302
END
Read alarm data (RWr3) and reply code
(RWr2) to D1 and D2 when the instruction
code executioncompletion (RX0F) turns on.

Advertisement

Table of Contents
loading

Table of Contents