I'm building a small ICS-like process automation system that will be housed in an ABS enclosure with a clear latched and hinged door. Inside the enclosure is a small peristaltic pump powered by 24 VDC.
I want to power the enclosure with a standard appliance cord through a knockout on the bottom, using a cable gland for stress relief. The cord gets connected to 120 V utility power and inside the box there would be a DIN rail with a Meanwell 120 VAC to 24 VDC power supply and a 24 V relay that uses an external control signal to operate the pump. The DIN rail would be grounded to the mains circuit via the appliance cord and the 24 VDC devices would share an isolated ground.
Are there any requirements for enclosures like this from the NEC or another organization? Anything I’m missing for safety purposes when using DIN devices inside an enclosure?