Help! this a problem for me, use gateway event is OK,but i wish use tag script value change
Error executing script.
Traceback (most recent call last):
File "tagevent:valueChanged", line 2, in valueChanged
NameError: global name 'PLCTriggerScript' is not defined
1 Like
You need to specify the full path.
MESInterface.PLCTriggerScript.OperatorLogin(.....)
1 Like
Also, is the project containing that script library the gateway scripting project? If not, then a tag event script cannot reach the library at all.
1 Like