I was asked if the following use of flexible cord was OSHA and NEC compliant. I am a safety officer and electical compliance is not my strength. I would appreciate all feedback. These conditions are in an industiral site, not construction site.

1. Can flexible cord be used to hard wire a electric arc welding machine directly to a main disconnect? (No plug or outlet.) The machine is removed occassionally for maintenance, but has to be calibrated every time it is returned to service so the removal is not done frequently. Monthly may be the most frequent this is done.

2. Can a flexible cord be hard wired to a disconnect at one end, with a receptacle at the other end? (I've heard it called a pig tail.)