drbitboy
Lifetime Supporting Member
I have three ladder solutions to a deadtime task: a discrete input rising edge generates a 1s discrete output pulse after a delay of 20s, which delay can be adjusted via HMI (yes, this started on another thread).
I am requesting any and all opinions, please, on ordering the three A-B .RSS files in the attached .ZIP by relative complexity. Our internal discussions revolve around things like "indirect addressing is evil." Coming from a broader programming background I am comfortable with indirect addressing and so prefer the circular buffer, but it is also interesting to watch the bits traverse the binary file in the two BSR-based solutions.
Also, a statement of how complex each solution is e.g. would the average maintenance tech* be able to grok the code so I don't get a call at 2am? If any are so opaque that they cannot be understood, that would be helpful to know too.
I realize the answers will be subjective, but I am interested anyway.
I also realize this is a lot to ask, so only those with copious free time should even look at the code (less than a dozen equivalent rungs each), and I will not be insulted if nobody responds.
If anyone is interested but unable to deal with .RSS format, I could post PDFs.
Thanks!
* now there's a subjective concept.
I am requesting any and all opinions, please, on ordering the three A-B .RSS files in the attached .ZIP by relative complexity. Our internal discussions revolve around things like "indirect addressing is evil." Coming from a broader programming background I am comfortable with indirect addressing and so prefer the circular buffer, but it is also interesting to watch the bits traverse the binary file in the two BSR-based solutions.
Also, a statement of how complex each solution is e.g. would the average maintenance tech* be able to grok the code so I don't get a call at 2am? If any are so opaque that they cannot be understood, that would be helpful to know too.
I realize the answers will be subjective, but I am interested anyway.
I also realize this is a lot to ask, so only those with copious free time should even look at the code (less than a dozen equivalent rungs each), and I will not be insulted if nobody responds.
If anyone is interested but unable to deal with .RSS format, I could post PDFs.
Thanks!
* now there's a subjective concept.