I should probably do a write-up on how this worked, it was a pretty creative solution to a very hard problem and as far as I know it never failed to work in production. The machines are still in use in some places after all these years, never ceases to amaze me how long lived some of those projects were. Atari ST as the hardware, software in a combination of GFA basic and 68K assembler, just about every port on it used to drive some output or read a sensor.