Sunteți pe pagina 1din 3

MODBUS CUSTOM PROTOCOL MANUAL

MODBUS CUSTOM PROTOCOL MANUAL


Version 2.0
MODBUS CUSTOM PROTOCOL MANUAL
ModBus Protocol Parameter Definition
For Custom Ups Protocol

MODBUS protocol is a messaging structure developed by Medicon in 1979 to establish master-slave /


client-server Communication between intelligent devices, widely used in SCADA and process control
applications.

Communication prerequisites:
 Transmission Mode: Standard RTU
 Baud Rate: 2400.
 Word Length: 8
 Parity: None
 Stop Bit: 1
 Delay between polls – 1000 msec.

Command: 03: Holding Register


UPS Parameters Group: -

ADDRESS Parameter Name Range Description

0001 UPS Status Byte Unsigned integer8 Bit 0 – Mains Ok

Bit 1 - Mains Fail

Bit 2 – Overload

Bit 3 – Battery Low

Bit 4 - Scheduled Shutdown

Bit 5 – (Rectifier Fail) DC Under Voltage

Bit 6 –(High Temperature) Over Temperature

Bit 7 – Inverter OFF

Bit 8 to Bit 15 - NA

0002 Test status byte Unsigned integer Bit 0 – Test Passed

Bit 1- Test Failed

Bit 2 – Output Under Voltage

Bit 3 – Output Over Voltage

Bit 4 – Output Short Circuit

Bit 5 – DC Over Voltage

Bit 6 – Input Abnormal


MODBUS CUSTOM PROTOCOL MANUAL
Bit 7 – Load on Bypass

Bit 8 to Bit 15 - NA

0003 Date of Last Self 1 – 31 NA


Test

0004 Day of Last Self 1–7 NA


Test

0005 Month of Last 1 – 12 NA


Self Test

0006 Year of Last Self 0 – 99 NA


Test

0007 Mains R Phase Unsigned integer Present in 1 V


Voltage

0008 DC Voltage Unsigned integer Present in 1 V

0009 Battery Current Unsigned integer Present in 1 A

0010 Output Voltage Unsigned integer Present in 1 V

0011 Battery Voltage Unsigned integer Present in 1 V

0012 UPS Load Unsigned integer Present in 1 %

0013 Inverter Unsigned integer Present in 0.01 Hz


Frequency

0014 UPS Temperature Unsigned integer Present in 1 Deg

0015 Battery Time Unsigned integer Present in 1 Min

Note:

1. NA Means Not Applicable.

2. For Address 0001 - UPS Status Byte and 0002 -Test status byte Bit value will be 1 if that alarm
is active and Bit value will be zero if alarm is inactive.

S-ar putea să vă placă și