Hi there
Can anyone provide an example of how to use the scripting feautre in the OPC Scada Viewer? e.g. to maniuplate a value before it is displayed (Value = Value / 10) by a vizualization block?
Thx
Herbi
Hello, Herbi.
You need to use the "Scale" function instead. Just specify the expression like: X/10
So even so, is there any examples of scripting in OPC Scada Viewer??
The scripting engine is mainly identical.
Hi,
i'm trying to scale OPC Value just before to send to excel export plugin.
In variable combo i see variable name :
ex. CODESYS.OPC.DA.SCREW_SPEED
I would, before to send excel, to scale this value by a factor 10.
I tried with
CODESYS.OPC.DA.SCREW_SPEED = CODESYS.OPC.DA.SCREW_SPEED 10
with no result
Anyone could help me please?
Hello,
Are you really using OPC Scada Viewer? It cannot send data to Excel.