Hi all, I have just finished re-doing the ladder in an ancient G&L Pic409. Nothing like doing changes during the debug that requires 40k uploads at 2400bps! Smashing success though. Anyhow, I came upon a couple of lines in the ladder that were originally written as follows:
--][----][----..etc....( )
1 2 x
--][----][----..etc....( )
1 2 y
These rungs had more than what I show but they were IDENTICAL and in this sequence except for the outputs. I do not understand why the original programmer (who is quite intelligent) wrote it this way. I would ask him if he was still with my company. Is there a particular reason why you would program like this as I, in my infinant confusion, would have just had the second rung activate output "y" with the actuation of the output of the previuos rung. eg:
---][-----( )
x y
If you guys can clue me in on this, I will once again consider myself "learned" and offer my eternal gratitude to this forum.
Thanks,
Scott C
--][----][----..etc....( )
1 2 x
--][----][----..etc....( )
1 2 y
These rungs had more than what I show but they were IDENTICAL and in this sequence except for the outputs. I do not understand why the original programmer (who is quite intelligent) wrote it this way. I would ask him if he was still with my company. Is there a particular reason why you would program like this as I, in my infinant confusion, would have just had the second rung activate output "y" with the actuation of the output of the previuos rung. eg:
---][-----( )
x y
If you guys can clue me in on this, I will once again consider myself "learned" and offer my eternal gratitude to this forum.
Thanks,
Scott C