Mitsubishi Electric 800 Series Instruction Manual page 64

Communication
Hide thumbs Also See for 800 Series:
Table of Contents

Advertisement

 Example) Write 0.5 s (H05) to register 41007 (Pr.7) and 1 s (H0A) to register 41008 (Pr.8) in the
inverter.
Query message
Transaction
Protocol
identifier
identifier
H00
H00
H00
*1
*1
(8
(8
(8
bits)
bits)
bits)
*1
A given value is set.
Normal response (Response message)
Transaction
Protocol
identifier
identifier
H00
H00
H00
*1
*1
(8
(8
(8
bits)
bits)
bits)
*1
The values are the same as those in the query message.
 Read holding register access log (H46 or 70)
• Queries by function codes H03, H06, and H10 are supported.
The number and start address of holding registers successfully accessed by the previous communication are returned.
"0" is returned for both the number and start address for queries other than the function codes above.
• Query message
a. Transaction
b. Protocol
identifier
identifier
H
L
H
L
(8 bits)
(8 bits)
(8 bits)
(8 bits)
• Normal response (Response message)
a. Transaction
b. Protocol
identifier
identifier
H
L
H
L
(8 bits)
(8 bits)
(8 bits)
(8 bits)
• Query message setting
Message
a
Transaction identifier
b
Protocol identifier
c
Length field
d
Unit identifier
e
Function code
• Content of normal response
Message
f
Starting address
g
No. of points
 Example) Read the successful register start address and the number of successful accesses
from the inverter.
Query message
Transaction
Protocol
identifier
identifier
H00
H00
*1
*1
(8 bits)
(8 bits)
*1
A given value is set.
Unit
Function
Length field
identifier
code
H0B
HFF
H10
(8
(8 bits)
(8 bits)
bits)
Unit
Function
Length field
identifier
code
H06
HFF
H10
(8
(8 bits)
(8 bits)
bits)
d. Unit
c. Length field
identifier
H
L
(8 bits)
(8 bits)
(8 bits)
d. Unit
c. Length field
identifier
H
L
(8 bits)
(8 bits)
(8 bits)
The master adds the data for the purpose of transaction control.
The same data is returned in the response from the slave.
Fixed to 0. (When the slave receives data other than 0, it does not send the response message.)
"0" is returned in the response from the slave.
The data length from the unit identifier to the data is stored in byte.
Fixed to 255
Set H46.
The start address of the holding register that was successfully accessed is returned.
Starting address = start register address (decimal) - 40001
For example, when starting address 0001 is returned, the holding register address that was
successfully accessed is 40002.
The number of holding registers that were successfully accessed is returned.
Length field
Unit identifier
H00
H02
HFF
(8 bits)
(8 bits)
(8 bits)
Starting
Quantity of
address
registers
count
H03
HEE
H00
H02
H04
(8
(8
(8
(8
(8 bits)
bits)
bits)
bits)
bits)
Starting
Quantity of
address
registers
H03
HEE
H00
H02
(8
(8
(8
(8
bits)
bits)
bits)
bits)
e. Function
code
H46
(8 bits)
e. Function
f. Starting
code
address
H46
H
L
(8 bits)
(8 bits)
(8 bits)
Description
Description
Function code
H46
(8 bits)
Byte
Register value
H00
H05
H00
(8
(8
(8 bits)
bits)
bits)
g. No. of
Points
H
L
(8 bits)
(8 bits)
2. Ethernet Communication
2.7 MODBUS/TCP
1
2
3
4
5
6
7
8
9
10
63

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr-e800

Table of Contents