Dan123
Member
Hi,
This seems like a simple question, but I haven't been able to find a clear/definitive answer so far -- when writing a value to a PLC tag through an external application (through OPC-UA), when will that tag update in relation to the PLC scan?
More specifically -- should I worry about one of my tags changing in the middle of a routine? I have a continuous routine where one bit is being set externally by Ignition. Once this bit has been set, I would like to check it in multiple places in my routine, then clear it at the end of the routine. This will be an issue if it is possible for that bit to update during the scan of the routine, because then only a portion of my routine will see the set bit.
I know I could create another intermediate bit to latch the external bit for one cycle, but I still would like to know about the timing as I've run into similar questions on some other projects as well.
This seems like a simple question, but I haven't been able to find a clear/definitive answer so far -- when writing a value to a PLC tag through an external application (through OPC-UA), when will that tag update in relation to the PLC scan?
More specifically -- should I worry about one of my tags changing in the middle of a routine? I have a continuous routine where one bit is being set externally by Ignition. Once this bit has been set, I would like to check it in multiple places in my routine, then clear it at the end of the routine. This will be an issue if it is possible for that bit to update during the scan of the routine, because then only a portion of my routine will see the set bit.
I know I could create another intermediate bit to latch the external bit for one cycle, but I still would like to know about the timing as I've run into similar questions on some other projects as well.