geniusintraining
Lifetime Supporting Member + Moderator
Hello everyone, I have a customer that needs some help and I dont really understand the question so im posting it here, I think he is over thinking the problems
I have asked him for the logix he has made to date and will post once he shows it to me
I’m stuck because I do not fully understand how the ON/OFF for outputs really work.
For example, I wrote a rudimentary program to mimic the operation of a traffic light that controls a North/South and East/West intersection. My process is simple:
Start:
Green_North (Y0) and Red_East (Y5) = ON
After TMR A reaches 100,
Amber_North (Y1) and Red_East (Y5) = ON - - Green_North (Y0) = OFF
When TMR A is between 100 and 200
Red_North (Y2) and Green_East (Y3) are ON - - Amber_North (Y1) and Red_East (Y5) are OFF
And so-on until the cycle repeats itself.
Obviously, I’m in the “Cycle 2” hell. The scan of the process is seeing lights turn on at the start of my ladder and then seeing them turn off later in the ladder so when the output actually starts, the initially set lights never come on.
How do I fix this condition? Would “Immediate” output instructions work or is there a better process?
I have asked him for the logix he has made to date and will post once he shows it to me