This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Modbus over RS232 or USB?
#7
Thanks!

I'm trying to understand the modbus registers of this APC UPS, the PDF doesn't define it with Coil/discreteinput/inputregister.
It refers to Modicon standard. Could someone plase help me with a couple of JSON mapper examples so that I understand how it should be set up?

The registers are in this PDF:
http://www.apc.com/salestools/LFLG-A32FW..._R1_EN.pdf

Regards!

Hmm.. am I correct that 4000 is Holding register?
And 40001, is Holding register adress 1 (0).
Within this adress, there are 16 bits with values?

Would this be correct for bit 6 in 40003? Then I just repeat the whole row for each bit I want to read out?

{ "name": "Boost trim reley fault", "bus_datatype": "bool", "type": "register", "address": 2, "writable": 0, "value_bitmask": 0x40 },


bit 0 = 0x1
bit 1 = 0x2
bit 2 = 0x4
bit 3 = 0x8
bit 4 = 0x10
bit 5 = 0x20
bit 6 = 0x40
bit 7 = 0x80
bit 8 = 0x100
bit 9 = 0x200
bit A = 0x400
bit B = 0x800
bit C = 0x1000
bit D = 0x2000
bit E = 0x4000
bit F = 0x8000

Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
Modbus over RS232 or USB? - by sx3 - 18.04.2018, 11:46
RE: Modbus over RS232 or USB? - by admin - 18.04.2018, 18:34
RE: Modbus over RS232 or USB? - by sx3 - 18.04.2018, 18:55
RE: Modbus over RS232 or USB? - by mlaudren - 18.04.2018, 21:12
RE: Modbus over RS232 or USB? - by admin - 19.04.2018, 06:14
RE: Modbus over RS232 or USB? - by sx3 - 28.04.2018, 20:37
RE: Modbus over RS232 or USB? - by Daniel - 30.04.2018, 10:51

Forum Jump: