Program Example For Setting The Operation Mode - 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

PROGRAMMING EXAMPLES
8.2

Program example for setting the operation mode

The following explains a program to write various data to the inverter.
The following explains a program to change the operation mode of
 Operation mode writing code number: HFB (hexadecimal)
 Network operation set data: H0000 (hexadecimal) (Refer to page 61)
 The reply code at the time of instruction code execution is set to D2. (Refer to page 60)
X0
X0F
X1
0
M0
X20
7
M300
11
M301
X100F
13
M302
X100F
22
28
72
SW80.0
station 1
M0
Check the data link status of the station 1
PLS
M300
SET M301
MOV H0FB W102
Write operation mode write code (HFB)
to RWw2 and set data (H0000) to RWw3.
MOV H0
W103
Turn ON the instruction code execution
SET Y100F
request (RY0F)
RST M301
SET M302
Read reply code (RWr2) to D2 when the instruction
MOV W2
D2
code execution completion (RX0F) turns ON.
Turn OFF the instruction code execution
RST Y100F
request (RY0F)
RST M302
END
inverter to network operation.

Advertisement

Table of Contents
loading

Table of Contents