Davek0974
Member
Reading seems to point to using latches as bad practice, and using a sealed in rung is better.
I'm sketching out a project now and trying to use sealed-in rungs instead of latches but as far as I know, the way to turn off a sealed in rung is to add an XIO set and open that elsewhere. That would mean that the XIO used to open that rung must be closed again at some point for the process to repeat, multiple XIO's if I want to open it in various places?
This seems more complex than simply using an OSR-OTU pair wherever needed to unlatch a bit.
Is there a real issue with using latched bits and having more than one OTU command?
Am I correct that if OTL/OTU is used then a reset section of code should be executed once at each power up to clear all the latches?
Am I missing something?
I'm sketching out a project now and trying to use sealed-in rungs instead of latches but as far as I know, the way to turn off a sealed in rung is to add an XIO set and open that elsewhere. That would mean that the XIO used to open that rung must be closed again at some point for the process to repeat, multiple XIO's if I want to open it in various places?
This seems more complex than simply using an OSR-OTU pair wherever needed to unlatch a bit.
Is there a real issue with using latched bits and having more than one OTU command?
Am I correct that if OTL/OTU is used then a reset section of code should be executed once at each power up to clear all the latches?
Am I missing something?