I have a screen that can be opened by 4 different buttons. Each button loads a different parameter file for that screen.
I am passing a constant to the screen (in the parameter file) to see which button called it.
ie.. #10 = tagconstant1
now, from the screen that is open, how do I get the value of #10 into a tag that the PLC could see?
I tried to use a macro on the screen load to say that: tagint = #10 but it seems that the macro is running before the parameter file loads.. not sure if that's correct or maybe the syntax I had was wrong. any advice on a method to do this?
I am passing a constant to the screen (in the parameter file) to see which button called it.
ie.. #10 = tagconstant1
now, from the screen that is open, how do I get the value of #10 into a tag that the PLC could see?
I tried to use a macro on the screen load to say that: tagint = #10 but it seems that the macro is running before the parameter file loads.. not sure if that's correct or maybe the syntax I had was wrong. any advice on a method to do this?