I am just trying to understand the NEC 400.8 section a little bit more.
Is it against the code if lets say you install track bar lighting in a room and run the wiring along the ceiling and add an extension cord to run the wiring down to a recep? and could a fix be to add a recep. to the ceiling and use the wiring plug from the track bar and plug-in to the recep on the ceiling?
And I just want to make sure this is okay as well, in my area there are water softener units on the outside of the home, and typically the pumps will be hardwired and they run conduit back to the inside of the home to the panel, but the electronic timer box has a plug and will usually be plugged into the wall receptacle on the exterior, is that okay?