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 variables: import massive
#2
Hi,

You can use this script to map your modbus profiles to objects automatically.
.lua   Auto create objects and map to modbus profile.lua (Size: 1.13 KB / Downloads: 132)


PS: Make backup before you run it because there is a lot created (:

It creates 255 objects each run and skips already mapped objects, so you need to change to address scope and run it again for the next 255 objects. So for 1200 objects you need to run it 5 times.

BR,

Erwin
Reply


Messages In This Thread
RE: Modbus variables: import massive - by Erwin van der Zwart - 03.05.2018, 06:40

Forum Jump: