Mitsubishi Electric FR-D720-0.2K-G Instruction Manual page 212

S-pm geared motor drive unit fr-d700-g series
Table of Contents

Advertisement

 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 sub function code H00).
Sub function code H00 (Return Query Data)
Query message
1) Slave Address
2) Function
H08
(8 bits)
(8 bits)
Normal response (Response message)
1) Slave Address
2) Function
H08
(8 bits)
(8 bits)
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.
NOTE
For broadcast communication, no response is returned in reply to a query. Therefore, the next query must be
made when the drive unit 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
H
(8 bits)
(8 bits)
(8 bits)
Normal response (Response message)
1) Slave Address
2) Function
H10
(8 bits)
(8 bits)
 Query message setting
Message
1) Slave Address
2) Function
3) Starting Address
4) No. of Registers
5) Byte Count
6) Data
3) Subfunction
H00
H00
(8 bits)
(8 bits)
3) Subfunction
H00
H00
(8 bits)
(8 bits)
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)
Starting
No. of
Address
Registers
L
H
L
(8 bits)
(8 bits)
(8 bits)
3) Starting Address
H
L
(8 bits)
(8 bits)
Address to which the message will be sent
Setting of address 0 enables broadcast communication
Set H10.
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.
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 (2 to 250).
Set a value 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
Communication operation and setting
4) Data
CRC Check
H
L
L
(8 bits)
(8 bits)
(8 bits)
4) Data
CRC Check
H
L
L
(8 bits)
(8 bits)
(8 bits)
Setting Description
5)
6)
ByteCount
Data
H
L
(8 bits)
(8 bits)
(8 bits)
4) No. of Registers
CRC Check
H
L
L
(8 bits)
(8 bits)
(8 bits)
Setting Description
H
(8 bits)
H
(8 bits)
CRC Check
...
L
H
(n28 bits)
(8 bits)
(8 bits)
H
(8 bits)
209
4

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents