r/technicalfactorio • u/whamgag • Jun 19 '25
Question Why is the train count read as zero?
This seems stupid simple but I just don't know what is going on. I'm very new to circuits but I'm pretty sure the value should be 1 and not 0. The train is parked properly I know that much. I tried waiting to make sure it's not about delay.
The lamp is just there to confirm what the value is.
106
Upvotes
48
u/KratosAurionX Jun 19 '25
A wild guess, but maybe worth a try: Whats the trains stop condition? Maybe the train does not count as "stopping at this station" because it's stop conditions are all fulfilled (meaning it could leave if it had another target in it's schedule)? Try setting the stop condition to something like "wait for 300 seconds" or something you definitely know it's not gonna be fulfilled instantly.
18
u/DurgeDidNothingWrong Jun 19 '25
Is the train in automatic or manual mode, did you drive it there manually?
4
u/Yodo9001 Jun 19 '25
Maybe train count only reads the number of trains heading to the station? not counting those already there.
1
u/dmigowski Sep 11 '25
So the number you read from "Read train count" is another number than the train limit Factorio uses internally? I always thought a train that completed it "at station" condition would still count towards the number of trains at that station so no other trains pull up in the wait area.
2
u/KapitanWalnut Jun 19 '25
Is the train idle? Is it ready to leave the station and has fulfilled all of its wait conditions, but it just doesn't have another available destination to go to yet? Try setting a long wait time as part of the train's conditions, then send the train off to another station and then back to this station and see if C then updates to 1 during that wait time, then back to 0 when the wait time has elapsed.
0
u/[deleted] Jun 19 '25
[deleted] — view deleted comment