I don't know your board, but a Chinese NVEM controller specifies in the manual that the X/Y/Z/A/B/C ports are hard-coded in the driver and you don't need to specify them in Mach3 (defaults to port/pin 1/0). Try it and see.

Click image for larger version. 

Name:	Screenshot 2021-07-09 at 07.39.53.png 
Views:	150 
Size:	703.2 KB 
ID:	30199