08-27-2006 07:36 AM
I have an application in LV & DSC 8.01. I want to read Data and Alarms of some shared variables bound to PLC items. Using "Value Change Notification" Functions, I want to update a display chart only if a shared variable value changes not polling the shared variables all the time. As I understand, these functions, "Enable Value Change Notification" and "Request Value Change Notification" with "Register for Event" Node, register a value change event for shared variables specified handling by an event structure.
But when I run the code it works in this way: at the first a number of events arise without any value change, and after that it waits for a value change on shared variables. With any value change more than one event arise.
I want to know what the problem is. I've attached a sample code.
08-29-2006 06:11 AM
08-30-2006 07:58 AM
08-30-2006 07:59 AM
08-31-2006 05:22 AM
09-04-2006 02:09 AM
Thanks Jon, my shared variables are Boolean type and there's no need to deadband. They are just configured to log data, alarm and events and there's no buffer for them.
What're these events arisen at first for? and my question still remain.
09-08-2006 04:07 AM