Modbus Protocol

Strona 3 z 6
1. Revision history
Version
Date
Author
Changes
1.0
1.06.2017
BTR
Initial release
1.1
15.01.2017
BTR
Added Write Multiple Registers
2. The Modbus Protocol
The Modbus Protocol is an industrial communication protocol that is currently used in EN54 Power Supplies.
The Power Supplies use two type of connections:
RS-485 - Modbus RTU (115200 kbps, 8E1 default settings)
TCP/IP - Modbus RTU over TCP (See the instruction of the appropirate interface: INTE, INTW)
3. Function codes
The following Modbus function codes are supported by the implemented protocol:
Function code
Dec
Read Input Registers
04
Write Multiple Registers
16
4. Read Input Registers
Register
address
Register description
Position
Type
Format
Access
00
Firmware version and
power supply version
7…0
uint8_t
v1.0 is equal to 10
R
11…8
4-bit
0 PSBEN
1 EN54
03
Error flags (1)
0
1-bit
0 inactive
1 active
R
2
1-bit
0 inactive
1 active
3
1-bit
0 inactive
1 active
4
1-bit
0 inactive
1 active
5
1-bit
0 inactive
1 active
6
1-bit
0 inactive
1 active
8
1-bit
0 inactive
1 active