Something is writing to it (most likely).
Check for usage at the word level.
Check for indirect addressing.
Check for the presence of a device on a communication channel.
There is also the very remote possibility that your PC is showing erratic info and the bit isn't really flickering. I've only seen that once or twice in nearly 30 years. You can rule that out by tying that bit to a counter.
Can you show a screenshot of the COP instructions?
You may know this already, but note that the AFI instruction doesn't disable the rung, it just makes the logic status of its branch is 0, which will write a 0 to the target of an OTE instruction downstream of it. AFI: Always False Instruction
Indeed. The COP does not deal with individual bits, the 'length' operand is in whatever element the destination has.Also, the COP instruction only specify a length of 7 , so I am assuming bit 0-6 of Word 1 ....but bit 12 is still being energized...I must have an incorrect asumption.
Indeed. The COP does not deal with individual bits, the 'length' operand is in whatever element the destination has.
B3:1 is a word, so the COP shown will copy 7 words starting with the addresses specified. Everything from B3:1/0 to B3:7/15 will be overwritten in this case whenever the COP instruction runs.
You can put an OTU B3:1/9 or 11 right after the COP instruction, on the very next rung or even a branch on the same rung. This will clear the bit for the entire rest of the scan. It is possible to still see flicker but just remember what you are seeing is the value of the bit when the PC requests an update of the bit. The bit should only be true after the COP and before your new OTU. This will be a very short period of time.