Look here and review NFPA 79, Industrial Machinery
http://www.nfpa.org/aboutthecodes/list_of_codes_and_standards.asp?cookie%5Ftest=1


Joe Tedesco, NEC Consultant