For anyone that is upgrading their PM 940CNC from the supplied nMotion controller ( for Mach3) to the 7176e ( for use with linuxcnc ) here is the wiring schematic that my brother made for me. Its been a bit since i got it up and going, so I don't recall the details but hopefully it is of some help. Assuming the wiring on yours is the same as my PM940CNC that I got January 2017 with the Delta VFD.
Best Regards,
Jake
Best Regards,
Jake