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.

Create Modbus client via script
#4
Hi,

Yes i could, but i don't see the point (:

You can change grp.address = '1/1/' .. counter to grp.address = '1/2/' .. counter and run it again, the script checks already if a object is already mapped and skips it then, so it will resume on the unmapped objects.

If you have 900 objects just run it 4 times and change the grp.address range between each run.

also add script.disable(_SCRIPTNAME) at the end of the above script to avoid it from running multiple times when using it from a resident script

BR,

Erwin
Reply


Messages In This Thread
Create Modbus client via script - by FatMax - 17.02.2017, 11:31
RE: Create Modbus client via script - by AEK - 28.09.2017, 16:04
RE: Create Modbus client via script - by Erwin van der Zwart - 28.09.2017, 20:22
RE: Create Modbus client via script - by AEK - 29.09.2017, 07:56
RE: Create Modbus client via script - by AEK - 02.08.2018, 10:55

Forum Jump: