elfmanp
Member
I am trying to figure out how ladder programs in the compactlogix/controllogix platforms handle JSRs and general flow, etc.
If I have 1 rung that calls 6 routines as seen in Image1, does each routine run successive, or do they run in parallel? Versus 6 rungs that run 6 routines as seen in Image2.
What are some common practices to make sure routine 1 runs and finishes before routine 2, etc through the 6 routines? Say I have a routine "Initialize" that must run and complete before routines 1-6, what is the best way to achieve?
Trying to learn to fish here, rather than asking for a fish. Thanks in advance!
If I have 1 rung that calls 6 routines as seen in Image1, does each routine run successive, or do they run in parallel? Versus 6 rungs that run 6 routines as seen in Image2.
What are some common practices to make sure routine 1 runs and finishes before routine 2, etc through the 6 routines? Say I have a routine "Initialize" that must run and complete before routines 1-6, what is the best way to achieve?
Trying to learn to fish here, rather than asking for a fish. Thanks in advance!