Professional Documents
Culture Documents
SETEC Protocol
SETEC Protocol
Protocols
Edition2.0
SETEC POWER
=====================================================================
Communication protocols
A. Summary This article describes the communication protocol of SETMINI
Embedded DC power supply system. This Agreement complies with the standard
Modbus RTU protocol, the system IP is fixed to 1
BHardware resource
Baud rate
..9600 BPS
Data length ..8 bit
Stop bit
1 bit
Check
.. No
Port connection
Computer
power supply monitor
===================================
RX <---------- TX (pin 2)
TX
----------> RX (pin 3)
GND <---------- GND (pin 5)
(9 pins D female connector)
Agreement summary
Function
Functional code
Register address
Remark
0x06
0x1000~0x1001
0x06
0x1002~0x1003
0x06
0x1004~0x1005
0x06
0x1006~0x1007
Set LVD1
0x06
0x1008~0x1009
0x06
0x100a~0x100b
Set LVD 2
0x06
0x100c~0x100d
0x06
0x100e~0x100f
0x06
0x1010~0x1011
0x06
0x1012~0x1013
Set
temperature 0x06
0x1014~0x1015
compensation
coefficient
Set
temperature 0x06
0x1016~0x1017
0x1018~0x1019
0x06
0x101a~0x101b
0x06
0x101c~0x101d
0x10
0x1100~0x110b
HourMinuteSecondYear
Monthday
0x10
0x1200~0x120b
HourMinuteSecondYear
Monthday
0x03
0x1000~0x1001
0x03
0x1002~0x1003
0x03
0x1004~0x1005
0x03
0x1006~0x1007
Read LVD 1
0x03
0x1008~0x1009
0x03
0x100a~0x100b
Read LVD 2
0x03
0x100c~0x100d
0x03
0x100e~0x100f
0x03
0x1010~0x1011
of under 0x03
0x1012~0x1013
Read the
voltage
value
Actual
temperature
value=setting value/100
alarm
current
Read
Temperature
compensation coefficient
0x03
0x1014~0x1015
Read
Temperature 0x03
compensation starting point
0x1016~0x1017
0x1018~0x1019
0x03
0x101a~0x101b
0x03
0x101c~0x101d
0x03
0x1100~0x110b
HourMinuteSecondYear
Monthday
0x03
0x1200~0x120b
HourMinuteSecondYear
Monthday
0x1600
0x1600
0x01
Function
Actual
temperature
value=setting value/100
alarm
Functional code
Register address
Remark
0x03
0x2000~0x2001
0x03
0x2002~0x2003
0x03
0x2004~0x2005
0x03
0x2006~0x2007
0x03
0x2008~0x2009
0x03
0x200a~0x200b
Actual
temperature
value/100
A phase voltage
0x03
0x200c~0x200d
B phase voltage
0x03
0x200e~0x200f
C phase voltage
0x03
0x2010~0x2011
AC frequency
0x03
0x2012~0x2013
Module 1 current
0x03
0x3000~0x3001
0x03
0x3002~0x3003
Actual
temperature
value/100
0x03
0x3004~0x3005
0x03
0x3006~0x3007
Actual
temperature
value/100
0x03
0x3008~0x3009
0x03
0x300a~0x300b
Actual
Module
1
temperature
battery
Module 2 current
Module
2
temperature
battery
Module 3 current
Module
battery
temperature
value=setting
value=setting
value=setting
value=setting
temperature
value/100
Module 4 current
0x03
0x300c~0x300d
0x03
0x300e~0x300f
Actual
temperature
value/100
Module N current
0x03
0x03
Actual
temperature
value/100
Module
4
temperature
Module
N
temperature
battery
battery
LVD1 alarm
0x02
0x0000
1Alarm 0Normal
LVD2 alarm
0x02
0x0001
1Alarm 0Normal
0x02
0x0002
1Alarm 0Normal
0x02
0x0003
1Alarm 0Normal
0x02
0x0004
1Alarm 0Normal
0x02
0x0005
1Alarm 0Normal
value=setting
value=setting
Battery 1
discharge
charge
and
0x02
0x0006
Battery 2
discharge
charge
and
0x02
0x0007
Byte name
Content
Device address
0x01
Order NO.
0x06
0x10
Low 8 bit
0x00
0x00
Low 8 bit
0x08
Remark
Device response If returning the command computer sends successfully, otherwise it does
not respond.
Byte name
Content
Remark
Device address
0x01
Order NO.
0x06
0x10
Low 8 bit
0x02
0x12
Low 8 bit
0x48
46.810046800x1248
Device response If returning the command computer sends successfully, otherwise it does
not respond.
Byte name
Content
Remark
Device address
0x01
Actual
voltage
value/100
Order NO.
0x06
0x10
Low 8 bit
0x04
0x12
Low 8 bit
0xd4
48.210048200x12d4
setting
Device response If returning the command computer sends successfully, otherwise it does
not respond.
Byte name
Content
Remark
Device address
0x01
Actual
voltage
value/100
Order NO.
0x06
0x10
Low 8 bit
0x06
0x1f
Low 8 bit
0x90
80.810080800x1f90
setting
Device response If returning the command computer sends successfully, otherwise it does
not respond.
5. Set LVD 1
Host PCLower computer
NO.
Byte name
Content
Remark
Device address
0x01
Actual
voltage
value/100
Order NO.
0x06
0x10
Low 8 bit
0x08
0x0f
Low 8 bit
0xdc
40.610040600xfdc
setting
Device response If returning the command computer sends successfully, otherwise it does
not respond.
Byte name
Content
Remark
Device address
0x01
Actual
voltage
value/100
Order NO.
0x06
0x10
Low 8 bit
0x0a
0x14
Example:
set
voltage 1 is 53V.
reconnection
Low 8 bit
0xb4
5310053000x14b4
setting
Device response If returning the command computer sends successfully, otherwise it does
not respond.
7. Set LVD 2
Host PCLower computer
NO.
Byte name
Content
Remark
Device address
0x01
Actual
voltage
value/100
Order NO.
0x06
0x10
Low 8 bit
0x0c
0x14
Low 8 bit
0xe6
53.510053500x14e6
setting
Device response If returning the command computer sends successfully, otherwise it does
not respond.
Byte name
Content
Remark
Device address
0x01
Actual
voltage
value/100
Order NO.
0x06
0x10
Low 8 bit
0x0e
0x15
Low 8 bit
0x7c
5510055000x157c
setting
Device response If returning the command computer sends successfully, otherwise it does
not respond.
Byte name
Content
Remark
Device address
0x01
Actual
voltage
value/100
Order NO.
0x06
0x10
Low 8 bit
0x10
0x16
Low 8 bit
0xbc
58.210058200x16bc
setting
Device response If returning the command computer sends successfully, otherwise it does
not respond.
Byte name
Content
Remark
Device address
0x01
Actual
voltage
value/100
Order NO.
0x06
0x10
Low 8 bit
0x12
0x0e
Low 8 bit
0xd8
3810038000x0ed8
setting
Device response If returning the command computer sends successfully, otherwise it does
not respond.
Byte name
Content
Device address
0x01
Order NO.
0x06
0x10
Low 8 bit
0x14
0x00
Low 8 bit
0x02
Remark
Example:
temperature
compensation coefficient is 2.
7
Device response If returning the command computer sends successfully, otherwise it does
not respond.
Byte name
Content
Device address
0x01
Order NO.
0x06
0x10
Low 8 bit
0x16
0x00
Low 8 bit
0x28
Remark
Example:
temperature
compensation starting point
is 40
Device response If returning the command computer sends successfully, otherwise it does
not respond.
Byte name
Content
Remark
Device address
0x01
Actual
temperature
value=setting value/100
Order NO.
0x06
0x10
Low 8 bit
0x18
0x13
Low 8 bit
0x88
5010050000x1388
alarm
Device response If returning the command computer sends successfully, otherwise it does
not respond.
Byte name
Content
Device address
0x01
Order NO.
0x06
0x10
Low 8 bit
0x1a
0x00
Low 8 bit
0x0a
Remark
Device response If returning the command computer sends successfully, otherwise it does
not respond.
Byte name
Content
Device address
0x01
Order NO.
0x06
0x10
Low 8 bit
0x1c
0x00
Low 8 bit
0xc8
Remark
Device response If returning the command computer sends successfully, otherwise it does
not respond.
Byte name
Content
Remark
Device address
0x01
Order NO.
0x10
0x11
Low 8 bit
0x00
0x00
Low 8 bit
0x06
Byte number
0x0c
Example84000
Data 1
0x00
[hour]HI
Data 2
0x08
[hour]Lo
10
Data 3
0x00
[minute]HI
11
Data 4
0x28
[minute]Lo
12
Data 5
0x00
[second]HI
13
Data 6
0x00
[second]Lo
14
Data 7
0x07
[year]HI
15
Data 8
0xd8
[year]Lo
16
Data 9
0x00
[month]HI
17
Data 10
0x05
[month]Lo
18
Data 11
0x00
[date]HI
19
Data 12
0x01
[date]Lo
20
21
2008-05-01
Device response[Device address] [Order NO. 10] [Register address high 8 bit] [Low 8 bit] [Set
analog number high 8 bit] [Low 8 bit][ CRC check low 8 bit] [CRC check high 8 bit]
Byte name
Content
Remark
Device address
0x01
Order NO.
0x10
0x11
Low 8 bit
0x00
0x00
Low 8 bit
0x06
Byte number
0x0c
Example83000
Data 1
0x00
[hour]HI
Data 2
0x08
[hour]Lo
10
Data 3
0x00
[minute]HI
11
Data 4
0x28
[minute]Lo
12
Data 5
0x00
[second]HI
13
Data 6
0x00
[second]Lo
14
Data 7
0x07
[year]HI
15
Data 8
0xd8
[year]Lo
16
Data 9
0x00
[month]HI
17
Data 10
0x05
[month]Lo
18
Data 11
0x00
[date]HI
19
Data 12
0x01
[date]Lo
20
21
2008-05-01
Device response[Device address] [Order NO. 10] [Register address high 8 bit] [Low 8 bit] [Set
analog number high 8 bit] [Low 8 bit][ CRC check low 8 bit] [CRC check high 8 bit]
Byte name
Content
Device address
0x01
Order NO.
0x03
0x10
Low 8 bit
0x00
0x00
Low 8 bit
0x01
Remark
Device response [Device address] [Order NO. 03] [The number of returned bytes] [Data
1][ Data 2]...[ Data n][ CRC check low 8 bit] [CRC check high 8 bit]
ExampleLower computerPC
[01][03][02][00][08] [CRC Low][CRC High]
Byte name
Content
Device address
0x01
Order NO.
0x03
0x10
Low 8 bit
0x02
0x00
Low 8 bit
0x01
Remark
Device response [Device address] [Order NO. 03] [The number of returned bytes] [Data
1][ Data 2]...[ Data n][ CRC check low 8 bit] [CRC check high 8 bit]
Actual voltagesetting value/100
ExampleLower computerPC
[01][03][02][12][48] [CRC Low][CRC High] V=4680/100=46.8
Byte name
Content
Device address
0x01
Order NO.
0x03
0x10
Low 8 bit
0x04
0x00
Low 8 bit
0x01
Remark
Device response [Device address] [Order NO. 03] [The number of returned bytes] [Data
1][ Data 2]...[ Data n][ CRC check low 8 bit] [CRC check high 8 bit]
Actual voltagesetting value/100
Example: [01][03][02][12][d4] [CRC Low][CRC High] V=4820/100=48.2
Byte name
Content
Device address
0x01
Order NO.
0x03
0x10
Low 8 bit
0x06
0x00
Low 8 bit
0x01
Remark
Device response [Device address] [Order NO. 03] [The number of returned bytes] [Data
1][ Data 2]...[ Data n][ CRC check low 8 bit] [CRC check high 8 bit]
Actual limit current =setting value/100
Example: [01][03][02][1f][90] [CRC Low][CRC High]
I=8080/100=80.8
Byte name
Content
Device address
0x01
Order NO.
0x03
0x10
Low 8 bit
0x08
0x00
Low 8 bit
0x01
Remark
Device response [Device address] [Order NO. 03] [The number of returned bytes] [Data
1][ Data 2]...[ Data n][ CRC check low 8 bit] [CRC check high 8 bit]
Actual voltagesetting value/100
Example: [01][03][02][0f][dc] [CRC Low][CRC High] V=4060/100=40.6
Byte name
Content
Device address
0x01
Order NO.
0x03
0x10
Low 8 bit
0x0a
0x00
Low 8 bit
0x01
Remark
Device response [Device address] [Order NO. 03] [The number of returned bytes] [Data
1][ Data 2]...[ Data n][ CRC check low 8 bit] [CRC check high 8 bit]
Actual voltagesetting value/100
Example: [01][03][02][14][b4] [CRC Low][CRC High] V=5300/100=53
Byte name
Content
Device address
0x01
Order NO.
0x03
0x10
Low 8 bit
0x0c
0x00
Low 8 bit
0x01
Remark
Device response [Device address] [Order NO. 03] [The number of returned bytes] [Data
1][ Data 2]...[ Data n][ CRC check low 8 bit] [CRC check high 8 bit]
Actual voltagesetting value/100
Example: [01][03][02][14][e6] [CRC Low][CRC High] V=5350/100=53.5
Byte name
Content
Device address
0x01
Order NO.
0x03
0x10
Low 8 bit
0x0e
0x00
Low 8 bit
0x01
Remark
Device response [Device address] [Order NO. 03] [The number of returned bytes] [Data
1][ Data 2]...[ Data n][ CRC check low 8 bit] [CRC check high 8 bit]
Actual voltagesetting value/100
Example: [01][03][02][15][7c] [CRC Low][CRC High]
V=5500/100=55
Byte name
Content
Device address
0x01
Order NO.
0x03
0x10
Low 8 bit
0x10
0x00
Low 8 bit
0x01
Remark
Device response [Device address] [Order NO. 03] [The number of returned bytes] [Data
1][ Data 2]...[ Data n][ CRC check low 8 bit] [CRC check high 8 bit]
Actual voltagesetting value/100
Example: [01][03][02][16][bc] [CRC Low][CRC High]
V=5820/100=58.2
Byte name
Content
Device address
0x01
Order NO.
0x03
0x10
Low 8 bit
0x12
0x00
Low 8 bit
0x01
Remark
Device response [Device address] [Order NO. 03] [The number of returned bytes] [Data
1][ Data 2]...[ Data n][ CRC check low 8 bit] [CRC check high 8 bit]
Actual voltagesetting value/100
Example: [01][03][02][0e][d8] [CRC Low][CRC High] V=3800/100=38
Byte name
Content
Device address
0x01
Order NO.
0x03
0x10
Low 8 bit
0x14
0x00
Low 8 bit
0x01
Remark
Device response [Device address] [Order NO. 03] [The number of returned bytes] [Data
1][ Data 2]...[ Data n][ CRC check low 8 bit] [CRC check high 8 bit]
Example: [01][03][02][00][02] [CRC Low][CRC High]
Byte name
Content
Device address
0x01
Order NO.
0x03
0x10
Low 8 bit
0x16
0x00
Low 8 bit
0x01
Remark
Device response [Device address] [Order NO. 03] [The number of returned bytes] [Data
1][ Data 2]...[ Data n][ CRC check low 8 bit] [CRC check high 8 bit]
Example: [01][03][02][00][28] [CRC Low][CRC High]
Byte name
Content
Device address
0x01
Order NO.
0x03
0x10
Low 8 bit
0x18
0x00
Low 8 bit
0x01
Remark
Device response [Device address] [Order NO. 03] [The number of returned bytes] [Data
1][ Data 2]...[ Data n][ CRC check low 8 bit] [CRC check high 8 bit]
Actual battery temperature alarm value= setting value/100
Example: [01][03][02][13][88] [CRC Low][CRC High] V=5000/100=50
Byte name
Content
Device address
0x01
Order NO.
0x03
0x10
Low 8 bit
0x1a
0x00
Low 8 bit
0x01
Remark
Device response [Device address] [Order NO. 03] [The number of returned bytes] [Data
1][ Data 2]...[ Data n][ CRC check low 8 bit] [CRC check high 8 bit]
Example: [01][03][02][00][0a] [CRC Low][CRC High]
Float charge time=10
Byte name
Content
Device address
0x01
Order NO.
0x03
0x10
Low 8 bit
0x1c
0x00
Low 8 bit
0x01
Remark
Device response [Device address] [Order NO. 03] [The number of returned bytes] [Data
1][ Data 2]...[ Data n][ CRC check low 8 bit] [CRC check high 8 bit]
Example: [01][03][02][00][c8] [CRC Low][CRC High]
Float charge interval =0x00c8=200
Byte name
Content
Remark
Device address
0x01
Order NO.
0x03
0x11
Low 8 bit
0x00
0x00
Low 8 bit
0x06
Device response [Device address] [Order NO. 03] [The number of returned bytes] [Data
1][ Data 2]...[ Data n][ CRC check low 8 bit] [CRC check high 8 bit]
Example: Lower computerPC
[01][03][0c][00][08] [00][28] [00][00] [07][d8] [00][05] [00][01] [CRC Low][CRC High]
time 83000 2008-05-01
Byte name
Content
Remark
Device address
0x01
Order NO.
0x03
0x12
Low 8 bit
0x00
0x00
Low 8 bit
0x06
Device response [Device address] [Order NO. 03] [The number of returned bytes] [Data
1][ Data 2]...[ Data n][ CRC check low 8 bit] [CRC check high 8 bit]
Example: Lower computerPC
[01][03][0c][00][08] [00][28] [00][00] [07][d8] [00][05] [00][01] [CRC Low][CRC High]
The specified float charge time 83000 2008-05-01
Byte name
Content
Device address
0x01
Order NO.
0x03
0x20
Low 8 bit
0x00
0x00
Low 8 bit
0x01
Remark
Device response [Device address] [Order NO. 03] [The number of returned bytes] [Data
1][ Data 2]...[ Data n][ CRC check low 8 bit] [CRC check high 8 bit]
Actual voltagesetting value/100
Example: [01][03][02][12][f2] [CRC Low][CRC High] V=4850/100=48.5
36. Read battery current 1
Host PCLower computer
NO.
Byte name
Content
Device address
0x01
Order NO.
0x03
0x20
Low 8 bit
0x02
0x00
Low 8 bit
0x01
Remark
Device response [Device address] [Order NO. 03] [The number of returned bytes] [Data
1][ Data 2]...[ Data n][ CRC check low 8 bit] [CRC check high 8 bit]
Actual voltagesetting value/100
Example: [01][03][02][27][60] [CRC Low][CRC High]
I=10080/100=100.8
Byte name
Content
Device address
0x01
Order NO.
0x03
0x20
Low 8 bit
0x04
0x00
Low 8 bit
0x01
Remark
Device response [Device address] [Order NO. 03] [The number of returned bytes] [Data
1][ Data 2]...[ Data n][ CRC check low 8 bit] [CRC check high 8 bit]
Actual voltagesetting value/100
Example[01][03][02][27][60] [CRC Low][CRC High]
I=10080/100=100.8
38. Read module current
Host PCLower computer
NO.
Byte name
Content
Device address
0x01
Order NO.
0x03
0x20
Low 8 bit
0x06
0x00
Low 8 bit
0x01
Remark
Device response [Device address] [Order NO. 03] [The number of returned bytes] [Data
1][ Data 2]...[ Data n][ CRC check low 8 bit] [CRC check high 8 bit]
Actual voltagesetting value/100
Example[01][03][02][27][60] [CRC Low][CRC High]
I=10080/100=100.8
Byte name
Content
Device address
0x01
Order NO.
0x03
0x20
Low 8 bit
0x08
0x00
Low 8 bit
0x01
Remark
Device response [Device address] [Order NO. 03] [The number of returned bytes] [Data
1][ Data 2]...[ Data n][ CRC check low 8 bit] [CRC check high 8 bit]
Actual voltagesetting value/100
Example[01][03][02][27][60] [CRC Low][CRC High]
I=10080/100=100.8
Byte name
Content
Device address
0x01
Order NO.
0x03
0x20
Low 8 bit
0x0a
0x00
Low 8 bit
0x01
Remark
Device response [Device address] [Order NO. 03] [The number of returned bytes] [Data
1][ Data 2]...[ Data n][ CRC check low 8 bit] [CRC check high 8 bit]
Actual temperature alarm value=setting value/100
Example[01][03][02][0c][b2] [CRC Low][CRC High] T=3250/100=32.5
Byte name
Content
Device address
0x01
Order NO.
0x03
0x20
Low 8 bit
0x0c
0x00
Low 8 bit
0x01
Remark
Device response [Device address] [Order NO. 03] [The number of returned bytes] [Data
1][ Data 2]...[ Data n][ CRC check low 8 bit] [CRC check high 8 bit]
Actual voltagesetting value/100
Example[01][03][02][56][22] [CRC Low][CRC High] V=22050/100=220.5
42. Read B phase voltage
Host PCLower computer
NO.
Byte name
Content
Device address
0x01
Order NO.
0x03
0x20
Low 8 bit
0x0e
0x00
Low 8 bit
0x01
Remark
Device response [Device address] [Order NO. 03] [The number of returned bytes] [Data
1][ Data 2]...[ Data n][ CRC check low 8 bit] [CRC check high 8 bit]
Actual voltagesetting value/100
Example[01][03][02][56][22] [CRC Low][CRC High] V=22050/100=220.5
Byte name
Content
Device address
0x01
Order NO.
0x03
0x20
Low 8 bit
0x10
0x00
Low 8 bit
0x01
Remark
Device response [Device address] [Order NO. 03] [The number of returned bytes] [Data
1][ Data 2]...[ Data n][ CRC check low 8 bit] [CRC check high 8 bit]
Actual voltagesetting value/100
Example[01][03][02][56][22] [CRC Low][CRC High] V=22050/100=220.5
Byte name
Content
Device address
0x01
Order NO.
0x03
0x20
Low 8 bit
0x12
0x00
Low 8 bit
0x01
Remark
Device response [Device address] [Order NO. 03] [The number of returned bytes] [Data
1][ Data 2]...[ Data n][ CRC check low 8 bit] [CRC check high 8 bit]
Actual voltagesetting value/100
Example[01][03][02][13][87] [CRC Low][CRC High]
V=4999/100=49.99
Byte name
Content
Device address
0x01
Order NO.
0x03
Low 8 bit
Low 8 bit
Remark
Device response [Device address] [Order NO. 03] [The number of returned bytes] [Data
1][ Data 2]...[ Data n][ CRC check low 8 bit] [CRC check high 8 bit]
Actual valuesetting value/100
Byte name
Content
Device address
0x01
Order NO.
0x05
0x16
Low 8 bit
0x00
0xff
Low 8 bit
0x00
Remark
ffboost charge
00float charge
Device response If returning the command computer sends successfully, otherwise it does
not respond.
Byte name
Content
Device address
0x01
Order NO.
0x01
0x16
Low 8 bit
0x00
0x00
Low 8 bit
0x01
Remark
Device response [Device address] [Order NO. 01] [The number of returned bytes] [Data
1][ Data 2]...[ Data n][ CRC check low 8 bit] [CRC check high 8 bit]
Example: [01][01][01][01] [CRC Low][CRC High]
[01][01][01][00] [CRC Low][CRC High]