Programming Example For Parameter Writing - Mitsubishi Electric CC-Link IE TSN FR-A8NCG Instruction Manual

Table of Contents

Advertisement

8.6

Programming example for parameter writing

The following program changes the setting of Pr.7 Acceleration time of inverter to 3.0 s.
• Acceleration time writing instruction code: H87 (hexadecimal)
• Acceleration time set data: K30 (decimal)
For the parameter instruction code, refer to the Instruction Manual (Detailed) of the inverter.
The reply code at the time of instruction code execution is set to D2. (RWr10: Refer to
SB49
SW0B0.0
0
M0
X20
3
M300
7
M301
X1025
9
M302
X1025
18
24
NOTE
• For parameters having numbers 100 and later, change their link parameter extended settings (set them to other than
H00). Refer to the parameter list of the Instruction Manual (Detailed) of the inverter for settings.
• For other functions, refer to the instruction codes (Refer to
96
PROGRAMMING EXAMPLES
M0
Check the data link status of the station 1
PLS M300
SET M301
MOV H87 W110
Write Pr. 7 write code (H87) to RWw10 and
acceleration time setting data (K30) to RWw11.
MOV K30 W111
Turn on the instruction code execution request (RY25)
SET Y1025
RST M301
SET M302
Read reply code (RWr10) to D2 when the instruction
MOV W10 D2
code execution completion (RX25) turns on.
Turn off the instruction code execution request (RY25)
RST Y1025
RST M302
END
page
79).
page
77)

Advertisement

Table of Contents
loading

This manual is also suitable for:

800 series

Table of Contents