Some content on this site is available only to logged-in subscribers. Contact Us for information on becoming a subscriber.

InSource.Solutions | InSource Training | InSource Client Portal
InSource Solutions Logo
Log In Sign Up
InSource.Solutions InSource Training InSource Client Portal Log In Sign Up
  • Home
  • AVEVA InTouch
  • AVEVA InTouch Tech Notes

TN IT119 Dropping IO On Disconnect

Last updated: March 6th, 2025

Description

  • Author: Kevin Modlin
  • Published: March 6th, 2025

Details:

Description

When an IO connection is lost, the default behavior is for the last good value to be retained while the quality goes to "bad". Some users would rather have the IO "drop" completely in such a case, meaning that all the numerical values go to zero and all the boolean values go to false. A workaround to accomplish this via scripting is to use IOSetAccessName to toggle the topic name. As an example, the following script could be triggered based on a heartbeat tag with quality not equal to 192:

  • Author: Kevin Modlin
  • Published: 04/06/2014
  • Applies to: Only tested on InTouch 11. Should work on other versions as well.
IOSetAccessName("ABCIP", "localhost", "DASABCIP", "Fake");
IOSetAccessName("ABCIP", "localhost", "DASABCIP", "Distributing");

This will cause the IO to reinitialize, which will force the tag values to return to the initial value configured for the tag

Sample script screenshot below:

 

disconnect io drop
Give feedback about this article

Recommended articles

How to receive group emails

Read More
Support Icon

CONTACT SUPPORT

How to reach us

10800 Midlothian Turnpike Tpke, Suite 209, Richmond, VA 23235

1.877.INSOURCE

Technical Support - 1.888.691.3858

Contact Us

  • InSource Solutions
  • InSource Training
  • InSource Client Portal
  • Log In
InSource Solutions Logo

© 2025 InSource Solutions. All Rights Reserved.

Knowledge Base Software powered by Helpjuice

Expand