To Write Value in Variable with Status

To Write Value in Variable with Status


Is it possible to write the variable with status in zenon?
I have tried using below program.

Sub Dummy()
thisProject.Variables.Item("T01_1_2_Command").SetValueWithStatusEx 1, 1078067200, 65545, Now, 666
End Sub

Using this program I Get the value of variable but status is not updated.
Variable used of IEC60870_104 driver (TID=45,COA=1, IOA=2).

Please suggest any setting to do.

Rahul I.

This is a migrated post! Originally posted on 30.05.2019 by user rahulindore05. Please be aware that information can be outdated.