Hello all,
I got an error message from one customer who uses the expression to set the value bit0 to bit14. Bit0 is a status from one DDC, and the bit14 is a command to another DDC.
In the event viewer, every time the value of bit0 changes, then we got a message "Error affection SET forbidden." Then, the expression did not work.
But on the HMI, he can used the bit send animation to set the value of the bit14.
Here, i tried with two OPC bits, and for the expression, it works well.
Do you know what does the error message mean or why SET is forbidden? Thanks.
BTW: the engineer created the variables in the System, that's bad. I told them to modify, but they did not.
Hi
You are correct. You customer cannot force a SYSTEM variable create by PcVue. These variable are set only by PcVue internally and cannot be force by the application.
He needs to create his own variable not starting by SYSTEM.
Hello Emmanuel,
The customer created their variables under the SYSTEM folder manually. In this case when we cut this variable and paste it to another branch which is not SYSTEM, then the expression can work.
But the strange thing is, when i tried with OPC variables, the expression(System.OPC.bit02 = bit01) works well although result variable is system.OPC.bit02. I don't know why PcVue has these two different behaviors.
🙁



