AVC ModBus Protocol 自动电压控制调度电源 modbus协议数据采集对接调试

Revision

Section

Details

R1.0

 

Initial Release

R1.1

 

Address 1: definition of Status is updated

Added Frequency, Setting and Target Output Voltage

R1.2

 

Added Output Current, and registers address of the 12 to 20 are updated

R1.3

 

Status bit10 added for Iout over limit. Bit position of overheat and by-pass contactor error moved

Added Temperature2, Max output current limit, Calibration of Vin[3], Vout[3], Iin[3], Iout[3]

R1.4

 

ModBus address set by DIP switch

 

  1. Physical Layer Setting

- 19200

- 8 bit

- No Parity

- 1 stop bit

 

  1. Supported ModBus Command

- Read Data by Command 04 (0x04) Read Input Registers.

- Write Data by Command 16 (0x10) - Write Multiple registers.

- No ack for all the unsupported command.

- Reply within 20ms after command is received

 

  1. Address is set by DIP switch.

- Slave Address = 1 to 16, set by DIP switch:

DIP switch position 2,3,4,5 to set the ModBus address:

n Pos 2 for A3, Pos 3 for A2, Pos 4 for A1, Pos 5 for A0

n ModBus address = (Binary value of A3, A2, A1, A0) + 1

Example:

DIP switch position 2,3,4,5

ModBus Address

All at OFF position

1

All at OFF, except position 5 = ON

2

All at ON position

16

- Broadcasts Address = 0x0


ModBus Register Map

Address

Register Name

Data format

Type

R/W

Description

0

Firmware Version

unsigned 16bit

ID

R

 

1

Status

unsigned 16bit

Live Status

R

Lowest 3 bit (Bit 0,1,2) = Operating Mode:

 0 = Protected Mode

1 = Soft Start Mode

2 = Normal operation

 Other value = reserved, not used

The Bit 3 to Bit 11 = Alarm, =1 means Error found

Bit 3: Phase Error

Bit 4: Freq Error

Bit 5: Vin Over Error

Bit 6: Vin Under Error

Bit 7: Vo Over Error

Bit 8: Vo Under Error

Bit 9: I in Over Error

Bit 10: I out Over Error

Bit 11: Over heat Error

Bit 12: By Pass Contactor Error

2

Input voltage – L1

unsigned 16bit

Live Status

R

Unit is 0.1V(rms)

Eg. Value = 2218 means 221.8V

3

Input voltage – L2

unsigned 16bit

Live

R

Same as above

4

Input voltage – L3

unsigned 16bit

Live

R

Same as above

5

Output voltage – L1

unsigned 16bit

Live

R

Same as above

6

Output voltage – L2

unsigned 16bit

Live

R

Same as above

7

Output voltage – L3

unsigned 16bit

Live

R

Same as above

8

Input current – L1

unsigned 16 bit

Live

R

Unit is 0.1A(rms)

Eg. Value = 103 means 10.3V

9

Input current – L2

unsigned 16bit

Live

R

Same as above

10

Input current – L3

unsigned 16bit

Live

R

Same as above

 

11

Reserved

Unsigned 16 bit

NA

R

Reserved

12

Output current – L1

unsigned 16 bit

Live

R

Unit is 0.1A(rms)

Eg. Value = 103 means 10.3V

13

Output current – L2

unsigned 16bit

Live

R

Same as above

14

Output current – L3

unsigned 16bit

Live

R

Same as above

15

Frequency

unsigned 16bit

Live

R

Unit is 0.1Hz

Eg. Value = 496 means 49.6Hz

16

Temperature1

signed 16bit

Live

R

Temperature of the Heat Sink

Unit is ℃

17

Temperature2

signed 16bit

Live

R

Temperature of the Heat Sink

Unit is ℃

18

Min Input voltage

unsigned 16bit

Setting

R/W

Shunt down when Input Voltage is below this value

RMS, 0.1V per count.

Eg. 2205 means 220.5V

19

Max Input voltage

unsigned 16bit

Setting

R/W

Shunt down when Input Voltage is above this value

RMS, 0.1V per count.

Eg. 2205 means 220.5V

20

Max Input current

unsigned 16bit

Setting

R/W

Shunt down when Input Current is above this value

RMS, 0.1A per count.

Eg. 215 means 21.5V

21

Max Output current

unsigned 16bit

Setting

R/W

Shunt down when Output Current is above this value

RMS, 0.1A per count.

Eg. 215 means 21.5V

22

Alarm Delay

unsigned 16bit

Setting

R/W

Delay time of Sending the Alarm to Dry Contact output

23

Setting

unsigned 16bit

Setting

R/W

Bit 0:

= 0 means single phase

= 1 means 3 phase

Bit 1..15: reserved

24

Reserved

Unsigned 16bit

NA

R

Reserved

25

Target Output Voltage

Unsigned 16bit

Setting

R/W

Set the Output Voltage

Unit is 0.1V(rms)

Eg. Value = 2218 means 221.8V

26

Vin Calibration - L1

Unsigned 16 bit

Calibration

R/W

Gain = Vin_Calibration / 1000

Eg. 1027 means 1.027

27

Vin Calibration – L2

Unsigned 16 bit

Calibration

R/W

Similar as above

28

Vin Calibration – L3

Unsigned 16 bit

Calibration

R/W

Similar as above

29

Vout Calibration - L1

Unsigned 16 bit

Calibration

R/W

Gain = Vout_Calibration / 1000

Eg. 1027 means 1.027

30

Vout Calibration – L2

Unsigned 16 bit

Calibration

R/W

Similar as above

31

Vout Calibration – L3

Unsigned 16 bit

Calibration

R/W

Similar as above

32

I in Calibration - L1

Unsigned 16 bit

Calibration

R/W

Gain = I in_Calibration / 1000

Eg. 1027 means 1.027

33

I in Calibration – L2

Unsigned 16 bit

Calibration

R/W

Similar as above

34

I in Calibration – L3

Unsigned 16 bit

Calibration

R/W

Similar as above

35

I out Calibration - L1

Unsigned 16 bit

Calibration

R/W

Gain = I out_Calibration / 1000

Eg. 1027 means 1.027

36

I out Calibration – L2

Unsigned 16 bit

Calibration

R/W

Similar as above

37

I out Calibration – L3

Unsigned 16 bit

Calibration

R/W

Similar as above

posted @   数采物联网PLC黑匣子  阅读(224)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· AI 智能体引爆开源社区「GitHub 热点速览」
· 从HTTP原因短语缺失研究HTTP/2和HTTP/3的设计差异
· 三行代码完成国际化适配,妙~啊~
点击右上角即可分享
微信分享提示