Hi
not sure if this is still an issue (as it is 6 months old)
I had the same issue on a TNC155 because of the same cause (lost parameters and added from a similar machine)
In my case, the cause was that my XY spindels were reversed from that other machine, so they ran in the wrong direction.
So in my case, the spindle was mirrored (left instead of right handed thread), but it is also possible that the encoder wires are simply swapped, or the, or the drive polarity is connected the wrong way around.
I fixed it my changing both "counting direction" and the "drive polarity"
In your case, if the table is moving in the correct direction, you maybe should not swap MP24/MP24, but you should only swap MP20/MP21. Or alternatively, swap the actual wiring.
By the way, in my case my spindle was actually reversed (left instead of right handed), but it is also possible that the encoder wires are simply connected the wrong way around, or the drive polarity is connected the wrong way around.
I drop the other parameters I messed with too, though you probably do not need to change those.
My notes:
Code:
Issue 3) Modify Machine Parameters
No Machine Parameters were present for this machine. We rebuild them based on Machine (2) parameters
To enter individual Machine Parameters.
- Press MOD (the bottom-right one)
- Walk down to Code, and enter code 95148
- You can walk up/down, or use GOTO
- When done, press ENT and then END
- Depending on the parameter changed, the machine may reset
Spindle Direction Parameters
It turns out Machine (1) has X and Y spindles turning the opposite direction from Machine (2), whose machine parameters we copied. So we had to change the spindle and position count directions
Old New
MP20 1 0 X counting direction
MP21 1 0 Y counting direction
MP24 0 1 X drive polarity
MP25 0 1 Y drive polarity
Changed Calibration Parameters
Software limits were tuned to avoid running into hardware limit switch
Old New
MP44 +8.500 +6.600 X+ limit
MP45 -448.600 +450.500 X- limit
MP46 +6.500 +7.200 Y+ limit
MP47 -298.600 -297.900 Y- limit
MP48 +8.000 Z+ limit
MP49 -119.100 Z- limit
Changed Configuration Parameters
Old New
MP92 0 3 3=English/Decimal point; 0=Dutch/Comma
MP217 0 P 0 P 0 = Klartext Dialog; 1=ISO G-codes
MP222 168 168 V24 RS232 definitions (see manual)
MP223 0 0=Normal, 1=Blockwise transfer (seems to work with 0 too though??