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

Inverter plug-in option cc-link communication function
Table of Contents

Advertisement

PROGRAMMING EXAMPLES

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 66)
X0
X0F
X1 SW80.0
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 68).
86
M0
Check the data link status of the station 1
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
station 1
inverter to 3.0s.

Advertisement

Table of Contents
loading

Table of Contents