Looks like a bespoke control board with built in drivers that use's PClathe software by German company called HSE. Looking at the Dongle it's very old version has well.? a quick google shows they don't do it anymore and they are at V15 of the current software called Windreh.!!

Personally I'd be converting these machines to a modern set of drives and use control software like Mach3. The PSU could be re-used.

The red box is just a safety interlock relay controlling signals so the machine won't start with door open probably.? This could be re-used.