Quote Originally Posted by TomKerekes View Post
Hi Amit,

This is very strange. The only difference between it working and not working is we added this one line of code:

if (m_MotionParams.TCP_Active)

Please help us debug the error. Run the code in Debug Configuration (both Libraries and KMotionCNC) and place a breakpoint on this line and check if m_MotionParams.TCP_Active is true.

(Of course you must execute G43.4 H1001 first)


Regards

Hi Tom,

Thanks for your reply.

I tried running different iterations of tcp command using G43.4 H1001 command.

I found one pattern. in Kinematics5AxisTableAC.cpp file ASaddleZCenterpoint = 0.511811023 is modified in my machine and it is now ASaddleZCenterpoint = 1.023622047.

Have you included this old value
ASaddleZCenterpoint = 0.511811023 somewhere. if yes then please change it to updated value ASaddleZCenterpoint = 1.023622047.
and then compile.

because When i am running tcp, my tcp optimisation value of Y is always 13 mm more. as i said above center of rotation is 13 mm earlier but its now modified to 26mm.

kindly suggest me what is wrong in this.


Thank You
AMIT KUMAR