right try this put the 540.xml in your M3 folder load up M3 chose the 540 profile once its loaded clear E stop, close M3 back down start M3 again select 540.xml clear E stop.
then go into ports and pins your outputs and inputs should be ok just go through with the manual check each setting is correct look at the manual so you know what each setting is.
just make sure the stepper motors are going the correct direction and that your home switches are set to hi or low what ever they need to be trip them so you can see if they are working go to the diagnostics page so you can see if the are working don't use the machine to do it use what ever trips them be it finger or magnet.
your spindle setting should be fine just have a look and check.
once you have that correct go into general config go through and check the settings are correct use the manual to help just make sure your motion mode is set to constant velocity, distant mode is set to absolute and ij mode is set to inc.
change look ahead to 100 and all other settings look through the manual so you know if you need them or not just go through it once that's done restart M3.
now go to config click on safe z set up tick allow_safe Z moves, check safe z dro is in work coordinates, set safe z to .125, and tick go to safe z when stop button is hit.
with all of that done go to set steppes per unit do one axis at a time tale it to move 0.1 measure that put in box how fare it moved click ok then do it again do 0.1 again if its correct increase the distance it moves so if you tale it to move 4 inch it does repeat on all axis when that's finished restart M3
after all that load a G code done in cut2D a small file say a 1 inch squire outside cut do it as an air cut first don't cut anything if it looks correct do a cut setting z zero to top of work pieces in M3 and cut2D measure the squire check the it is 1 inch by 1 inch and how deep you make it, if its correct good if not re check your calibration.
do it again if its was not correct, if it was correct load a G code up what ever you wont 2 do run it as an air cut just mark the start point if when the file is finished it goes back to the same spot thats good.
close M3 down start again do the same G code again if its still good, try running a .pvc file if it goes wrong ( tale the machine its going for a one way walk )LOL.
if it goes mad and you have it all set up correctly work heights and home and all of that set correctly do a complex cut2 file lots of x,y and z movements do it as a file as big as a .pvc file see what happens