I have a question about system.tag.read and system.tag.write instructions: if I execute a read just after a write on the same tag path, e.g.
shall the newValue be the value just written to tagPath by the write instruction? Or is the result not deterministic: it could be the old value, i.e. the value stored in tagPath before the write instruction, as well as the new one, i.e. the one written to the tagPath with the write instruction, it depends on network speed, CPU load, Gateway load, etc?
Thanks in advance, regards
Just found the answer in the help: system.tag.writeSynchronous does what I need, i.e. write and wait for the value to be stored in the PLC.