Port 2 - Shutter MSB
Port 3 - X motor (shutter) and Y motor (scanner)
Port 4 - Flat Field light and flat stage.
Port 5 - Flat stage limits.