Auto connect at Runtime start

Previous chapterNext chapter Show allShow all    Hide allHide all

If the Runtime is started and Autoconnect is configured, the connection to the defined station is established immediately. If this is successful, all variables of the connected station are read without being disturbed.

This connection is established even, if no variables of the station have to be read. If this is not desired, it can be avoided with a little trick. Deactivate Autoconnect in the driver configuration. Telephone number and HW address however have to be configured. Set the driver variable Autoconnect to 1 in the AUTOSTART script. Now the connection is automatically established, when data are needed. The same is true for writing.