Control box build part 1

Control box for 6040 own build I received my 6040 2 years ago thinking it will be plug and play with the hardware side and realised I bit off more than i could chew. Original controller was no better than scrap and did not work from day one, after slowly learning about electrics and the internals of a cnc machine I attempted to make my own control box but failed and ended up shelving the machine for a year due to the stress it caused as these aren't cheap and having no warranty. I have started a fresh and hopefully sort out all the demons. I currently have: Uc400eth 5 axis breakout board 3x DM542T stepper drivers 48v psu 24v psu 5v psu