Mitsubishi Electric FR-A820-00046 Instruction Manual page 1027

Fr-a800 series
Hide thumbs Also See for FR-A820-00046:
Table of Contents

Advertisement

Parameters
Programming example for setting the operation mode
The following explains a program to write various data to the inverter.
The following program changes the operation mode of the station 1 inverter to network operation.
● Operation mode write code: HFB (hexadecimal)
● Network operation set data: H0000 (hexadecimal) (Refer to page 5-816.)
● The reply code at the time of instruction code execution is set to D2. (Refer to page 5-815.)
SM1536
SD1536.0
SD1540.0
(0)
M0
X20
(4)
M300
(8)
M301
X100F
10)
M302
X100F
19)
25)
Fig. 5-394:
Programming example 2
FR-A800
Ethernet communication (FR-A800-E)
M0
Check the data link status of the station 1.
PLS
M300
SET
M301
Write the operation mode write code (HFB)
MOV
H0FB
W102
to RWw2 and the set data (H0000) to RWw3.
MOV
H0
W103
Turn ON the instruction code execution request
SET
Y100F
(RY0F).
RST
M301
SET
M302
Read the reply code (RWr2) to D2 when the
instruction code execution completion (RX0F) turns
MOV
W2
D2
ON.
Turn OFF the instruction code execution request
RST
Y100F
(RY0F).
RST
M302
END
I003130E
5 - 825

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents