Mitsubishi Electric 800 Series Function Manual page 41

Cc-link ie tsn communication function
Hide thumbs Also See for 800 Series:
Table of Contents

Advertisement

 Programming example for parameter reading
The following program reads Pr.7 Acceleration time of station 1 inverter to D1.
• Pr.7 Acceleration time reading instruction code: H07 (hexadecimal)
• Refer to the Instruction Manual (Detailed) of the inverter for details of the parameter instruction code.
• 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
16
24
NOTE
• For parameters having numbers 100 and later, change their link parameter extended settings (set them to other than H00).
Refer to the Instruction Manual (Detailed) of the inverter.
 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
(N) Operation via communication and its settings
M0
Check the data link status of the station 1
PLS M300
SET M301
MOV H7
W110
Write Pr. 7 read code (H07) to RWw10.
Turn on the instruction code execution request (RY25)
SET Y1025
RST M301
SET M302
MOV W11 D1
Read acceleration time (RWr11) and reply code
(RWr10) to D1 and D2 when the instruction code
execution completion (RX25) turns on.
MOV W10 D2
RST Y1025
Turn off the instruction code execution request (RY25)
RST M302
END
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
SET Y1025
Turn on the instruction code execution request (RY25)
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
34).
page
33)
page
33)
PARAMETER
2
GROUP
N
41

Advertisement

Table of Contents
loading

This manual is also suitable for:

A800-gn

Table of Contents