
37
5
Request:
0x83
0x04
0x00 60
0x00 01
0x2F F6
0x83 Slave ID 3
:
0x04:
Function code 4(Read analog input registers)
0x00 60:
The data address of the first register requested
0x00 01:
The total number of registers requested(Read only 1
register from 0x0060)
0x2F F6:
CRC-16 error check. Please be aware that CRC sending
the Low byte first.
0x83 Slave ID 3
:
0x04:
Function code 4(Read analog input register)
0x02:
The number of data bytes to follow(2 bytes)
0x15 7C:
The contents of register: HEX 0x15 7C = DEC 5500 =
55.00V
0xCE 5F:
CRC-16 error check. Please be aware that CRC sending
the Low byte first.
0x15 7C
0x83
0x04
0x02
0xCE 5F
Response:
5.4.2.3 Write Single Register FC=06
(
)
Request:
0x83
0x06
0x00 00
0x00 01
0x56 28
0x83 Slave ID 3
:
0x06 Function code 6
:
(
)
Pre-set single register
0x00 00:
The data address of the register
0x00 01:
The value to write
0x56 28:
CRC-16 error check. Please be aware that CRC sending the
Low byte first.
The request message specifies the register reference to be written.
For example: the master writes PSU ON to analog output holding
register of 0x0000 (OPERATION) for slave 3.
The normal response is an echo of the query, returned after the register
contents have been written.
Response:
38
5
5 4 3 CANBus
. .
communication
l
Physical layer
This protocol complies with CAN ISO-11898, and baud rate is
250Kbps.
l
Protocol frame format
The protocol complies with CAN 2.0B, the extended frame format.
l
Communication inter face
PSU CAN-RX
(form Controller)
PSU CAN-TX
Request period
(Controller to PSU/CHG)
Response time
(PSU/CHG to Controller)
RX data
T
X d
ata
RX data
Packet Margin time
(Controller to PSU/CHG)
Packet Margin time
( Controller to PSU/CHG)
Response time
(PSU/CHG to Controller)
Request period
Min. request period
(Controller to PSU/CHG): 20mSec。
Max. response time
(PSU/CHG to Controller): 5mSec。
Min. packet margin time
(Controller to PSU/CHG): 5mSec。
5 4 3 1
. . . Message ID
PS:
XX means device address of DRS (depend on A0~A1, from
0x00 to 0x03)
Description
Message ID of DRS
Message ID of Master
Broadcast
Message ID
0x000C00XX
0x000C01XX
0x000C01FF