UCON Driver - How to connect to an unsolicited device through Ethernet encapsulation when the device does not initiate the socket connection
How do I get TOP Server to establish and keep the socket connection to my unsolicited device that is utilizing Ethernet encapsulation, but the device does not initiate the socket connection?
- Create a new Channel.Device using the UCON driver with the following channel properties
-
Serial Communications > Mode = Solicited
Mode > Unsolicited Mode = No
-
Note: These settings can be changed only during creation of a new channel. Editing is disabled afterwards
- In the transaction editor, define a "Read" transaction that:
-
begins with writing a <NUL> character - this will initiate the socket connection
- follow with a Transmit
- continue with reading the device response
- add desired steps to split the response and update the tag(s).
-
- Adjust the timing parameters in the Device properties
- Client application should request that data twice as fast as it changes in the target device, to not miss any updates