Download Print this page

Advertisement

Communication operation and setting
Function diagnosis (H08 or 08)
A communication check can be made since the query message sent is returned unchanged as a response
message (function of subfunction code H00). Subfunction code H00 (Return Query Data)
Query Message
1) Slave Address 2) Function
(8bit)
Normal Response (Response message)
1) Slave Address 2) Function
(8bit)
Query message setting
Message
1) Slave Address
2) Function
3) Subfunction
4) Data
Description of normal response
1) to 4) (including CRC check) of the normal response are the same as those of the query message.
CAUTION
For broadcast communication, no response is returned in reply to a query. Therefore, the next query must be made when
the inverter processing time has elapsed after the previous query.
Write multiple holding register data (H10 or 16)
You can write data to multiple holding registers.
Query message
1) Slave
2)
Address
Function
H10
(8bit)
(8bit)
Normal Response (Response message)
1) Slave Address
(8bit)
Query message setting
Message
1) Slave Address
2) Function
3) Starting Address
4) No. of Points
5) Byte Count
6) Data
212
3) Subfunction
H08
H00
(8bit)
(8bit)
3) Subfunction
H08
H00
(8bit)
(8bit)
Set the address to which the message will be sent. Broadcast
communication cannot be made (0 is invalid)
Set H08.
Set H0000.
Any data can be set if it is 2 bytes long. The setting range is H0000
to HFFFF.
3)
4) No. of
Starting Address
Registers
H
L
H
(8bit)
(8bit)
(8bit)
2) Function
3) Starting Address 4) No. of Registers
H10
H
(8bit)
(8bit)
Set the address to which the message will be sent. Setting of address 0
enables broadcast communication
Set H10.
Set the address where holding register data write will be started.
Starting address = starting register address (decimal)
For example, setting of the starting address 0001 reads the data of the
holding register 40002.
Set the number of holding registers where data will be written. The number of
registers where data can be written is a maximum of 125.
The setting range is H02 to HFA (0 to 250).
Set twice greater than the value specified at 4).
Set the data specified by the number specified at 4). The written data are set
in order of Hi byte and Lo byte, and arranged in order of the starting address
data, starting address + 1 data, starting address + 2 data ...
4) Date
H00
H
L
(8bit)
(8bit)
(8bit)
4) Date
H00
H
L
(8bit)
(8bit)
(8bit)
Setting Description
5)
ByteCount
L
H
(8bit)
(8bit)
(8bit)
L
H
L
(8bit)
(8bit)
(8bit)
Setting Description
CRC Check
L
H
(8bit)
(8bit)
CRC Check
L
H
(8bit)
(8bit)
6) Data
CRC Check
L
...
L
(8bit)
(n 2 8bit)
(8bit)
CRC Check
L
H
(8bit)
(8bit)
40001
H
(8bit)

Advertisement

Comments to this Manuals

Symbols: 0
Latest comments: