
21
Modbus TCP
Device supports Modbus protocol for communication with SCADA systems. Device use
Modbus TCP protocol.
TCP port
is set to
502
by default. Port can be changed using web
interface. Only two Modbus clients can be connected to device at one moment. Modbus
device address (Unit Identifier) can be arbitrary. Modbus write command is not supported.
Specification and description of the Modbus protocol is free to download on:
www.modbus.org.
Supported Modbus commands (functions):
Command
Code
Description
Read Holding Register (s) 0x03
Read 16b register(s)
Read Input Register(s)
0x04
Read 16b register(s)
Modbus device registers. Address could be by 1 higher, depending on type used
communication library:
Address [DEC] Address [HEX]
Description
Type
39970
0x9C22
1st two digits from serial number
BCD
39971
0x9C23
2nd two digits from serial number
BCD
39972
0x9C24
3rd two digits from serial number
BCD
39973
0x9C25
4th two digits from serial number
BCD
39974
0x9C26
Device type
Int16b
39975, 39976 0x9C27, 0x9C28
Current on channel [uA]
Int16b
39977
–
39978
39979
–
39980
0x9C29
–
0x9C2A
0x9C2B
–
0x9C2C
Actual value channel1
Actual value channel2
Float32b
39981, 39982 0x9C2D, 0x9C2E Actual value
Int16b
39983, 39984 0x9C2F, 0x9C30
Actual value
Int16b*10
39985, 39986 0x9C31, 0x9C32
Actual value
Int16b*100
39987, 39988 0x9C33, 0x9C34
Unit on the channel
Ascii
39989, 39990 0x9C35, 0x9C36
Channel alarm state
uInt16b
39991
–
39999 0x9C37
–
0x9C3F Unused
n/a
40000
0x9C40
Channel 1 actual value
Int16b*10
40001
0x9C41
Channel 1 alarm status
Ascii
40002
0x9C42
Channel 1 current [uA]
Int16b*10
40003
–
40004 0x9C43
–
0x9C44 Channel 1 Actual value
Int32b*100
40005
0x9C45
Unused
n/a
40006
0x9C46
Channel 2 actual value
Int*10
40007
0x9C47
Channel 2 alarm status
Ascii
40008
0x9C48
Channel 2 current [uA]
Int16b*10
40009
–
40010 0x9C49
–
0x9C4A Channel 2 Actual value
Int32b*100
40011
0x9C4B
Unused
n/a
Description:
Int16b
registry range is -31999 to 32767, error value <= -32000
Int16b*10
registry is in format integer*10
–
16 bits, 12.5dgrC = 125, error value
<= -32000
Int16b*100
registry is in format integer*100
–
16 bits, 12.53dgrC = 1253, error
value <= -3200