NFPA79 : 5.1.9.6
Each machine disconnect means other than attachment plugs and receptacles shall be mounted within the control enclosure it supplies OR IMMEDIATELY ADJACENT THERTO.
I have one machine that I do not include the disconnect means, the customer/installer must provide the disconnect. And I put this in big letters on my drawings..