212
Communication operation and setting
z
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
Normal Response (Response message)
Query message setting
Description of normal response
1) to 4) (including CRC check) of the normal response are the same as those of the query message.
z
Write multiple holding register data (H10 or 16)
You can write data to multiple holding registers.
Query message
Normal Response (Response message)
Query message setting
1) Slave Address 2) Function
3) Subfunction
4) Date
CRC Check
(8bit)
H08
(8bit)
H00
(8bit)
H00
(8bit)
H
(8bit)
L
(8bit)
L
(8bit)
H
(8bit)
1) Slave Address 2) Function
3) Subfunction
4) Date
CRC Check
(8bit)
H08
(8bit)
H00
(8bit)
H00
(8bit)
H
(8bit)
L
(8bit)
L
(8bit)
H
(8bit)
Message
Setting Description
1) Slave Address
Set the address to which the message will be sent. Broadcast
communication cannot be made (0 is invalid)
2) Function
Set H08.
3) Subfunction
Set H0000.
4) Data
Any data can be set if it is 2 bytes long. The setting range is H0000
to HFFFF.
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.
1) Slave
Address
2)
Function
3)
Starting Address
4) No. of
Registers
5)
ByteCount
6) Data
CRC Check
(8bit)
H10
(8bit)
H
(8bit)
L
(8bit)
H
(8bit)
L
(8bit)
(8bit)
H
(8bit)
L
(8bit)
...
(n
u
2
u
8bit)
L
(8bit)
H
(8bit)
1) Slave Address
2) Function
3) Starting Address 4) No. of Registers
CRC Check
(8bit)
H10
(8bit)
H
(8bit)
L
(8bit)
H
(8bit)
L
(8bit)
L
(8bit)
H
(8bit)
Message
Setting Description
1) Slave Address
Set the address to which the message will be sent. Setting of address 0
enables broadcast communication
2) Function
Set H10.
3) Starting Address
Set the address where holding register data write will be started.
Starting address = starting register address (decimal)
40001
For example, setting of the starting address 0001 reads the data of the
holding register 40002.
4) No. of Points
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.
5) Byte Count
The setting range is H02 to HFA (0 to 250).
Set twice greater than the value specified at 4).
6) Data
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 a 1 data, starting a 2 data ...
Содержание F700
Страница 327: ...318 MEMO ...
Страница 340: ...331 MEMO ...