I have an timer, and I'd like to update tag value (called Led) to tag value (called Button) every time timer ticks.
My timer is exactly like this example:
Board index » iX Developer FAQ » Scripting FAQ » How to create periodic Timers in iX Developer.
Timer works okey, and tags are changed well if I do it like this:
Code: Select all
private static void TimeOut1(Object myObject, EventArgs myEventArgs)
{
Globals.Tags.Tag1.Value = Globals.Tags.Tag1.Value + 1;
Globals.Tags.Led.Value = Globals.Tags.Button.Value;
}