Combinator timer and train signal control help
Posted: Thu Mar 09, 2017 12:44 am
I'm looking for some help regarding combinators
I'm a total noob at this and I know what I want is doable and probably fairly easy for any combinator expert out there
I'm looking to control 2 train signals based on 1 final condition with 2 different timer involved
1 Timer will be a countdown to verify the condition every X amount of time
the other timer is for if the condition is met it will maintain that condition "true" for X amount of seconds
From the pictures below:
Left signal is to be green (unless there is a train in between the 2 or unless it meets my condition to be red)
Right signal is to be red at all time unless it meets my condition
I have 3 constant combinator that I want to use to modify value freely if needed
One on the left is a 10 seconds countdown timer that I want to use to turn ON the right signal green and force the left signal to go red for 10 seconds (or whatever amount of seconds I decide to change on that combinatory)
In other words when my condition is met, I want to allow the train in between the signal to go trough and force the "next train in line" to stop at the left signal (until the 10 seconds timer is over so that both signals changes and allow that next train to place itself between the 2 signals)
One in the middle is a 180 seconds is another countdown timer of 3 minutes that I want to use in this circuit logic to perform a check every 3 minutes
Basically my final condition cannot be met at all time... I want it to be verified only once every 3 minutes (or more... or less depending how I want to tweak it.. but I have to be able to change that timer freely if I need to)
Combinator on the right is currently at R=6. It is what I want to use to verify against the amount of ores on a belt (or multiple belts)... (that is my final condition check)
R for resources and 6 because if the amount of ores fall below that R value then condition is met. I want it to be able to change it freely from the combinatory directly so I could put 4 or 5 or 7 if I want to
In the end you should have guessed it by now... If the amount of ores fall below my variable (3rd combinatory R=6) is want to allow a changeable time of 10 seconds for the train in between the 2 signals to go trough (but blocking all other trains behind) and this check has to be performed every X amount of time (currently set at 3 minutes) because I need to give some time for the extra train in the system to actually grab the stuff and come back to the unloading station before rechecking the ore status again otherwise there would be too much trains sent out in the system while that 1 train does his thing come back with goods
I plan to have ore loading station already set with trains ready to go... just waiting for the "low ore" signals to send them out
hope that make any sense... any questions feel free to ask!
(Image were reversed when I submitted... check them from bottom to top...)
I'm a total noob at this and I know what I want is doable and probably fairly easy for any combinator expert out there
I'm looking to control 2 train signals based on 1 final condition with 2 different timer involved
1 Timer will be a countdown to verify the condition every X amount of time
the other timer is for if the condition is met it will maintain that condition "true" for X amount of seconds
From the pictures below:
Left signal is to be green (unless there is a train in between the 2 or unless it meets my condition to be red)
Right signal is to be red at all time unless it meets my condition
I have 3 constant combinator that I want to use to modify value freely if needed
One on the left is a 10 seconds countdown timer that I want to use to turn ON the right signal green and force the left signal to go red for 10 seconds (or whatever amount of seconds I decide to change on that combinatory)
In other words when my condition is met, I want to allow the train in between the signal to go trough and force the "next train in line" to stop at the left signal (until the 10 seconds timer is over so that both signals changes and allow that next train to place itself between the 2 signals)
One in the middle is a 180 seconds is another countdown timer of 3 minutes that I want to use in this circuit logic to perform a check every 3 minutes
Basically my final condition cannot be met at all time... I want it to be verified only once every 3 minutes (or more... or less depending how I want to tweak it.. but I have to be able to change that timer freely if I need to)
Combinator on the right is currently at R=6. It is what I want to use to verify against the amount of ores on a belt (or multiple belts)... (that is my final condition check)
R for resources and 6 because if the amount of ores fall below that R value then condition is met. I want it to be able to change it freely from the combinatory directly so I could put 4 or 5 or 7 if I want to
In the end you should have guessed it by now... If the amount of ores fall below my variable (3rd combinatory R=6) is want to allow a changeable time of 10 seconds for the train in between the 2 signals to go trough (but blocking all other trains behind) and this check has to be performed every X amount of time (currently set at 3 minutes) because I need to give some time for the extra train in the system to actually grab the stuff and come back to the unloading station before rechecking the ore status again otherwise there would be too much trains sent out in the system while that 1 train does his thing come back with goods
I plan to have ore loading station already set with trains ready to go... just waiting for the "low ore" signals to send them out
hope that make any sense... any questions feel free to ask!
(Image were reversed when I submitted... check them from bottom to top...)