Just make sure that if you build a new panel, or do any work on the panel, in the same way that you "must" design and construct the rewire or modifications of the wiring in a house to the current version of BS7671, that the control system for the machine is designed and constructed, modifications or new, to the current versions of the relevant standards, else if something goes wrong, you will end up on the wrong end of an HM HSE investigation.
By the way, if you don't have copies of the standards, then again you would find HM HSE quite forthright in their opinions from my meetings with them.