4 ms·
It's not that it has to have less than 256 axles, it has to not have exactly 256 axles (or presumably multiples of 256)
by shawabawa3 10y ago
It's not that it has to have less than 256 axles, it has to not have exactly 256 axles (or presumably multiples of 256)
- masklinn 10y agoConsidering the context is track vacancy detection, I'd think even going through the counter would be dangerous (as it could temporarily mark a rail section as unoccupied during its occupation before underflowing, a good old race condition) and would thus be operationally avoided as a recipe for disasters.
- jcranmer 10y agoIt wouldn't be difficult to require that a count of 0 be maintained for several seconds before registering as vacant.
- lostlogin 10y agoThis is exactly the sort of repair that gets implemented - fixing the wrong thing!
- kilotaras 10y agoPresumably the original limitation is hardware that is actually counting axles, while timing check can be done programmaticaly.
- masklinn 10y agoIt is much safer to lock the segment on overflow or underflow (and require manual rearming), a timer can be defeated and dumb luck means it will eventually be.