Files

728 B

bar-detection

Runs continuously, once a second. Detects a bar entering the oven on the rising edge of the entry photocell Hin (3) and writes a pulse to in-detect-oven (11). Detects a bar leaving when the reading it calls THact crosses above 600 and writes a pulse to out-detect-oven (12). Both outputs are i7state pulse signals, consumed by bar-tracker.

Known mismatch, kept as it runs today: signals.yml maps id 17 to the name THact, but signal 17 is THprocess; the real THact is 18. The exit trigger therefore fires on THprocess. Correcting it means changing the id to 18 in signals.yml and tagging a new version.

Runs in docker.izazpi.cloud/aml/aml-python; the version is in schedule.yaml.