Hi,
Back in the days there were power points describing how this works but I don't have access to these anymore.
My basic scenario:
1) App Engine 500ms
2) One integer attribute (e.g. MyInt) and one I/O integer attribute (e.g. MyIOInt) which is pointing to MyInt
3) Then I do have a script which switches the value of MyIOInt between 5 and 10 over and over again.
4) Two data change scripts for the MyInt and MyIOInt which just give me the value in the logger.
When executing the script I would expect the following:
Because it's an IO attribute the change of value happens not instantly and I would have expected to have the correct value in the next scan cycle but according to my tests the value switches every second.
It seems the write value of the I/O attribute is the same in the first two script executions and on the third it changes for the next two script executions.
Is there anyone who has experience with that and can give me a hint where to look at? I've tested in 2020 R2 SP1 and 2023 R2 and the behavior is identical, so I doubt this is an issue.
Thanks
Peter
Some screenshots
MyIOInt which points to MyInt
MyInt
Switch script, triggers while true
DataChangeIO Script
Result in logger to see the timing: