Strange problem toggling bits within a word

I have happened upon the unfortunate task of troubleshooting some code that I did not write.

Has anybody run into problems toggling bits within a word? For example, making TEST_DINT.0 an outpout on an OTE. Of course I checked duplicate destructive instructions, and found no problem there.

The example above should change the value TEST_DINT from a 0 to a 1 - however it is not.

I’m at a bit of a loss - anybody have any clues?

Did you leave out the example? :scratch:

edit: Just noticed the forum this appeared in. If your question isn’t related to Ignition then ignore my confusion. :smiley: