Program Example For Parameter Writing - Mitsubishi Electric FR-A7NC Instruction Manual

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

Advertisement

8.6 Program Example for Parameter Writing

The following program changes the setting of Pr.7 Acceleration time of
⋅ Acceleration time writing code number: H87 (hexadecimal)
⋅ Acceleration time set data: K30 (decimal)
For the parameter code numbers, refer to the inverter manual.
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
22
28
REMARKS
1. For parameters having numbers 100 and later, change their link parameter expansion settings (set them to other
than H0000). Refer to the parameter list of the inverter manual (applied) for settings.
2. For other functions, refer to the instruction codes (page 55).
Read data link status of each station
BMOV SW80 K4M0 K4
PLS M300
SET M301
MOV H87 W102
Write Pr. 7 write (H87) to RWw2 and
acceleration time setting data (K30) to RWw3.
MOV K30 W103
SET Y100F
Turn on the instruction code execution 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 request (RY0F)
RST Y100F
RST M302
END
PROGRAMMING EXAMPLES
station 1
inverter to 3.0s.
8
69

Advertisement

Table of Contents
loading

Table of Contents