38
COM462RTU_D00010_04_M_XXDE / 06.2021
Modbus process image in the memory of the COM462RTU
Answer:
Byte
Name
Example
Byte 0
Modbus address of the COM462RTU
02
Byte 1
Function code
10
Byte 2, 3
Start register
FC 00
Byte 4, 5
Number of registers
00 04
Byte 6, 7
CRC16 Checksum
F1 A9
Register addresses for writing. function code write: 0x10
0xFC00:
Ext. address.
0xFC01:
Int. address.
0xFC02:
Channel
0xFC03:
Control command
Writing to register:
• Use the COM462RTU's address.
• Use function code 0x10 (write several registers).
• Start address in the register: 0xFC00
• Number of registers: 4
• Number of bytes: 8
• External address: must always be "1" for COM462RTU.
• The internal BMS address to which this control command applies.
• Channel number
• Control command
• CRC16 Checksum
Register addresses for reading. Function code read: 0x03
0xFC00:
Ext. address.
0xFC01:
Int. address.
0xFC02:
Channel
0xFC03:
Control command
0xFC04: Status
Reading out register:
• To read, use function code 0x03 (read several registers).
Possible response in "Status" register:
0
Busy
Processing command.
1
Error
An error has occurred.
2
Ready
Command has been processed successfully.