21.03.2017, 14:08 (This post was last modified: 22.03.2017, 09:03 by leondias.)
Hello,
I'm trying to make a connection with Modbus TCP slave device.
I tried to do so with scripts (you can see it below) and visual mapper.
In visual mapper I tried many different combinations in device profile, but couldn't get right value:
Are you sure it's float16 on ModBus side? float16 is KNX-specific datatype and I've only seen one ModBus AC unit which has it as register value. Also, second mb:readregistervalue() parameter must be a string, not a dt.something. Do you have documentation for your ModBus device?
(21.03.2017, 14:34)admin Wrote: Are you sure it's float16 on ModBus side? float16 is KNX-specific datatype and I've only seen one ModBus AC unit which has it as register value. Also, second mb:readregistervalue() parameter must be a string, not a dt.something. Do you have documentation for your ModBus device?
21.03.2017, 14:47 (This post was last modified: 21.03.2017, 14:56 by leondias.)
(21.03.2017, 14:42)admin Wrote: Datatype should be "float32", you also might have to set "read_swap" property as stated here: http://openrb.com/docs/modbus.htm
Can I use this property in script or only in visual mapper?
If yes, how?
(21.03.2017, 14:34)admin Wrote: Are you sure it's float16 on ModBus side? float16 is KNX-specific datatype and I've only seen one ModBus AC unit which has it as register value. Also, second mb:readregistervalue() parameter must be a string, not a dt.something. Do you have documentation for your ModBus device?
(29.11.2017, 13:09)admin Wrote: Are you trying to make a profile or use scripts? In any case you need to subtract 1 from documented address, so 315 becomes 314 and so on.
I trying with profile. With read only addresses it works without subtract.
(29.11.2017, 17:15)admin Wrote: What value are you getting? Try setting read_swap to b, datatype should be set to uint16, bus_datatype can be float16 and set value_multiplier to 0.01
Thank you! Setting value_multiplier to 0.01 helped.
For everyone who use Komfovent Ping2 (modbus gateway for Komfovent ventilation AHU) my profile in attachment.
17.12.2017, 10:22 (This post was last modified: 17.12.2017, 10:26 by Igor68.)
Hi, help, please solve the problem. It is necessary to send a command to the infrared module using the Modbus TCP/IP protocol.
Team 01 02 00 00 00 0B 01 10 04 4F 00 02 04 00 03
Where 01 02 00 00 00 0B - MBAP header
01-number of the device in the network ID
10-function command FC
04 4F -address
mb: writeregisters (1103,0, 3) does not work.
With the help of programm Modbus Pool, commands are sent and executed)
12.09.2019, 11:20 (This post was last modified: 12.09.2019, 12:17 by SportMaster10.)
Hi!
A Komfovent DOMEKT REGO-400PE-AC-C4 recuperator with C4-plus automation is installed in my house.
According to the documentation (https://www.vortvent.nl/wp-content/uploa...N-2016.pdf) port settings 19200-8E1, slave_id = 20 , registrs 1000-1362.
Experimentally discovered that in fact the registers start at 10000.
Maybe someone has a complete list of registers and their purpose for C4-plus?