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

Hide thumbs Also See for FR-A8NC:
Table of Contents

Advertisement

8.6

Program example for parameter writing

The following program changes the setting of Pr.7 Acceleration time of station 1 inverter to 3.0 s.
• Acceleration time writing instruction code: H87 (hexadecimal)
• Acceleration time set data: K30 (decimal)
For the parameter instruction codes, refer to the Instruction Manual (Detailed) of the inverter. The reply code at the time of
instruction code execution is set to D2. (Refer to
X0
X0F
X1
SW80.0
0
M0
X20
7
M300
11
M301
X100F
13
M302
X100F
22
28
page
73)
Check the data link status of the station 1
M0
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
8
93

Advertisement

Table of Contents
loading

Table of Contents