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.

Update modbus profile
#8
Thanks, yes I read that in another post that I never should open the serial if mapper is used.
But then I read that MBPROXY could be used instead? So my second example should be OK together with mapper right? Or should I skip the proxy and luamodbus in the script, because the serial is already open due to mapper?
It's a LM2 I'm working with.

I think I might have a collision, because I have set the same group adress in mapper and script for same register, so when the script reads value and send it out on the group adress, then the mapper will listen to this GA and write that value to register. Some sort of loop, I will test to use different GA in the script and see if it collides.

I will probably go for an event script triggered by a GA, so on init of my device I will trigger this GA to learn in all the values.
Reply


Messages In This Thread
Update modbus profile - by sx3 - 02.10.2016, 09:48
RE: Update modbus profile - by admin - 02.10.2016, 10:08
RE: Update modbus profile - by sx3 - 02.10.2016, 10:40
RE: Update modbus profile - by admin - 02.10.2016, 12:15
RE: Update modbus profile - by sx3 - 02.10.2016, 19:05
RE: Update modbus profile - by sx3 - 03.10.2016, 04:28
RE: Update modbus profile - by admin - 03.10.2016, 07:18
RE: Update modbus profile - by sx3 - 03.10.2016, 07:53
RE: Update modbus profile - by sx3 - 03.10.2016, 10:23
RE: Update modbus profile - by FatMax - 16.11.2016, 11:13
RE: Update modbus profile - by admin - 16.11.2016, 11:21
RE: Update modbus profile - by FatMax - 16.11.2016, 11:34
RE: Update modbus profile - by admin - 16.11.2016, 11:58

Forum Jump: