Follow

cursed software documentation 

@scanlime could be worse

cursed software documentation 

@fraggle @scanlime thisisfine.jpg

cursed software documentation 

@fraggle @scanlime I don't know much about axle counters, but was the assumption here maybe that a train with that many axles would be longer than the track segment anyway?

cursed software documentation 

@T045T
From that restriction alone, I imagine axle counters to be implemented as 8bit counters. If the number between two counters does not match, a train has passed one of these counters, but not the other one: the segment is occupied.
If the two counters match: the train has passed both counters.
An 8bit counter loops back to 0 after 255. So, after a train with 256 axes passing only one counter, the two counters still match.
@scanlime

cursed software documentation 

@anathem @scanlime sorry I wasn't clearer: I know a bit about axle counters, including what you said.

I also know they're subject to strict safety norms, so I'd imagine there's a reason (other than cost) the designers decided that an 8 bit counter was enough.
But even so, this is a hazard, and one way of mitigating a hazard is mentioning it in the safety manual and forbidding use that triggers it.

Sign in to participate in the conversation
Octodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!