If we want to start script after a button was clicked, we can use something like:
void Button1_Click(System.Object sender, System.EventArgs e)
{
}
How to start a script after tag's value changed, for example, values from PLC?
Regards, Waldemar
Starting script from PLC.
-
- Posts: 824
- Joined: Tue Mar 13, 2012 9:53 am
Re: Starting script from PLC.
Go to the Script section of the Tags Tab and put your script in the value change event section of the tag that you want to use to trigger the event.
Best Regards,
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
Re: Starting script from PLC.
Thank You very much Mark.
At first did not work. The HMI did not notice short pulses in PLC. After the pusle was made long enough it works fine.
regards, Waldemar
At first did not work. The HMI did not notice short pulses in PLC. After the pusle was made long enough it works fine.
regards, Waldemar