The forthcoming SOXS (Son Of X-Shooter) will be a new spectroscopic facility for the ESO New Technology Telescope in La Silla, focused on transient events and able to cover both the UV-VIS and NIR bands. The instrument passed the Final Design Review in 2018 and is currently in manufacturing and integration phase. This paper is focused on the assembly and testing of the instrument control electronics, which will manage all the motorized functions, alarms, sensors, and electric interlocks. The electronics is hosted in two main control cabinets, divided in several subracks that are assembled to ensure easy accessibility and transportability, to simplify test, integration and maintenance. Both racks are equipped with independent power supply distribution and have their own integrated cooling systems. This paper shows the assembly strategy, reports on the development status and describes the tests performed to verify the system before the integration into the whole instrument.