Modbus Device connection

Christie Widget Designer Version 6 - Q&A

Moderator: Moderator Group

Forum rules
When asking make sure to include the operating system and the revision of Widget Designer you are using.

Modbus Device connection

Postby julien » Thu Jun 14, 2018 8:00 pm

Hi,

I am using the new modbus device fonction (WD 6.0.4) to interact with an ADAM 6066.

When the Widget is loading/opening the modbus device isn't connect automaticly.
I have to manually re-connect the device each time I open WD.
Is their a script that we can run at startup to make the connection ?

Thanks & Regards

Julien
julien
 
Posts: 4
Joined: Thu Mar 12, 2015 9:24 pm

Re: Modbus Device connection

Postby Dennis Kuypers » Fri Jun 15, 2018 1:30 pm

Hello Julien,

If you named your device for example "MyModbus", then you can simply do MyModbus.Connect() (or Reconnect, which is the same as a Disconnect followed by a Connect)

Regards
Dennis
Dennis Kuypers
(former Product Developer, Software)
Dennis Kuypers
coolux Germany
 
Posts: 771
Joined: Thu Jul 05, 2012 12:18 pm

Re: Modbus Device connection

Postby julien » Mon Jun 18, 2018 11:48 pm

Working thanks !
julien
 
Posts: 4
Joined: Thu Mar 12, 2015 9:24 pm


Return to Widget Designer V6

Who is online

Users browsing this forum: No registered users and 18 guests

cron