Program Example For Parameter 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.5 Program Example for Parameter Reading

The following program reads Pr. 7 Acceleration time of
⋅ Pr. 7 Acceleration time reading code number: H07 (hexadecimal)
⋅ Refer to the inverter manual for details of the parameter codes .
⋅ 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
REMARKS
For parameters having numbers 100 and later, change their link parameter expansion settings (set them to other than
H0000). Refer to the inverter manual (applied) for details.
68
station 1
BMOV SW80 K4M0 K4
Read data link status of each station
PLS M300
SET M301
MOV H7
W102
Write Pr. 7 read code (H07) to RWw2.
SET Y100F
Turn on the instruction code execution request (RY0F)
RST M301
SET M302
Read acceleration time (RWr3) and reply code
MOV W3
D1
(RWr2) to D1 and D2 when the instruction code
MOV W2
D2
execution completion (RX0F) turns on.
RST Y100F
Turn off the instruction code execution request (RY0F)
RST M302
END
inverter to D1.

Advertisement

Table of Contents
loading

Table of Contents