Ok your pins for axes are different, I take it this is working the same machine just different profiles?
Anyway in the plasma X is Step and Dir 2,3. y 4,5, z 6,7 a 8,9
in the mill it is 2, 6 3,7 4,8 5,9
Also you have port 2 enabled in Plasma but not in Mill and you have different addresses for port 2.
Hood