Need Help! How to setup kinematics RTCP in KmotionCNC - Page 4


Page 4 of 5 FirstFirst 12345 LastLast
Results 37 to 48 of 51

Thread: How to setup kinematics RTCP in KmotionCNC

  1. #37
    Gold Member amitkumar171's Avatar
    Join Date
    Aug 2017
    Location
    India
    Posts
    59
    Downloads
    0
    Uploads
    0

    Default Re: How to setup kinematics RTCP in KmotionCNC

    Quote Originally Posted by TomKerekes View Post
    Hi Amit,

    Thanks for telling me what the Tool Offsets are and for sending the files. The offsets are zero and the files are exactly the same except for the one new "if" statement.

    Please answer all the following questions:

    #1 - did you replace the other files from the patch: Kinematics.cpp, TrajectoryPlanner.h, rs274ngc.h, rs274ngc.cpp, , rs274ngc errors.h

    #2 - did you recompile the code after making the changes using BuildAllLibs.sln?

    #3 - did you recompile KMotionCNC also?

    #4 - are you compiling Release or Debug configurations?

    #5 - does TCP work if you put back the last working Kinematics file

    Regards
    Hi tom,

    Thanks for reply.

    Yes after i did what you said on last post.

    And after replacing all files i rebuilt using release mode in visual studio.

    Please tell me what am i missing?

    Hope can we talk on mail or Skype that will be convenient.

    Thanks

    AMIT KUMAR

    Sent from my Lenovo K50a40 using Tapatalk

    Regards

    Amit Kumar


  2. #38
    Gold Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    2526
    Downloads
    0
    Uploads
    0

    Default Re: How to setup kinematics RTCP in KmotionCNC

    Hi Amit,

    Thanks. Please answer questions #3 and #5.

    Regards

    TK
    http://dynomotion.com


  3. #39
    Gold Member amitkumar171's Avatar
    Join Date
    Aug 2017
    Location
    India
    Posts
    59
    Downloads
    0
    Uploads
    0

    Default Re: How to setup kinematics RTCP in KmotionCNC

    Quote Originally Posted by TomKerekes View Post
    Hi Amit,

    Thanks. Please answer questions #3 and #5.

    Regards
    Hi Tom,

    Answer 3- yes i compiled.

    Answer 5- yes tcp is working after replacing the old file.

    Thanks

    AMIT KUMAR

    Sent from my Lenovo K50a40 using Tapatalk

    Regards

    Amit Kumar


  4. #40
    Gold Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    2526
    Downloads
    0
    Uploads
    0

    Default Re: How to setup kinematics RTCP in KmotionCNC

    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

    TK
    http://dynomotion.com


  5. #41
    Gold Member amitkumar171's Avatar
    Join Date
    Aug 2017
    Location
    India
    Posts
    59
    Downloads
    0
    Uploads
    0

    Default Re: How to setup kinematics RTCP in KmotionCNC

    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

    Regards

    Amit Kumar


  6. #42
    Gold Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    2526
    Downloads
    0
    Uploads
    0

    Default Re: How to setup kinematics RTCP in KmotionCNC

    Hi Amit,

    Now I'm confused and don't understand.

    I found one pattern. in Kinematics5AxisTableAC.cpp file ASaddleZCenterpoint = 0.511811023 is modified in my machine and it is now ASaddleZCenterpoint = 1.023622047.
    Yes I saw you made that change.

    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.
    No that value isn't used anywhere else and you should be compiling not me.

    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.
    I don't understand. I'm guessing you think the TCP is not correcting Y correctly because the ASaddleZCenterpoint is wrong.

    Answer 5- yes tcp is working after replacing the old file.
    Because you said you replaced the file and TCP works correctly there should not be anything required to change in other files. Did I understand that correctly?. Did you really replace the old file and prove that it works correctly?

    Regards

    TK
    http://dynomotion.com


  7. #43
    Gold Member amitkumar171's Avatar
    Join Date
    Aug 2017
    Location
    India
    Posts
    59
    Downloads
    0
    Uploads
    0

    Default Re: How to setup kinematics RTCP in KmotionCNC

    Hi Tom,

    Thanks for your reply.

    I got it can you please compile the Buildall libs file with my ASaddleZCenterpoint = 1.023622047

    can you please send me that same 8 patch files (Index of /Software/Patch/AddG43.4G49_TCP_OnOff_V4.34j)

    that you sent me earlier after rebuilding it with the new ASaddleZCenterpoint = 1.023622047 value in 5axiskinematicsAC .cpp file.


    thank you

    AMIT KUMAR


    Regards

    Amit Kumar


  8. #44
    Gold Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    2526
    Downloads
    0
    Uploads
    0

    Default Re: How to setup kinematics RTCP in KmotionCNC

    Hi Amit,

    Answer 3- yes i compiled.
    Why don't you compile it? I asked before if you compiled it and you said yes.

    Regards

    TK
    http://dynomotion.com


  9. #45
    Gold Member amitkumar171's Avatar
    Join Date
    Aug 2017
    Location
    India
    Posts
    59
    Downloads
    0
    Uploads
    0

    Default Re: How to setup kinematics RTCP in KmotionCNC

    Quote Originally Posted by TomKerekes View Post
    Hi Amit,



    Why don't you compile it? I asked before if you compiled it and you said yes.

    Regards
    Hi tom,

    I compiled it already but mine is not working after compilation.

    Mine is 13 mm extra optimisations in y direction when a is 90.
    Thats why i want compiled file from your side. With updated asaddlezero point.


    Thank you

    Sent from my Lenovo K50a40 using Tapatalk

    Regards

    Amit Kumar


  10. #46
    Gold Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    2526
    Downloads
    0
    Uploads
    0

    Default Re: How to setup kinematics RTCP in KmotionCNC

    Hi Amit,

    I don't understand why you don't troubleshoot why is is not changing.

    I recompiled the files for you and updated the patch.

    Regards

    TK
    http://dynomotion.com


  11. #47
    Gold Member amitkumar171's Avatar
    Join Date
    Aug 2017
    Location
    India
    Posts
    59
    Downloads
    0
    Uploads
    0

    Default Re: How to setup kinematics RTCP in KmotionCNC

    Quote Originally Posted by TomKerekes View Post
    Hi Amit,

    I don't understand why you don't troubleshoot why is is not changing.

    I recompiled the files for you and updated the patch.

    Regards
    Thanks tom

    I will try and get back to you.

    I am trying to make your controller, haas competitor.

    Thanks

    Sent from my Lenovo K50a40 using Tapatalk

    Regards

    Amit Kumar


  12. #48
    Gold Member amitkumar171's Avatar
    Join Date
    Aug 2017
    Location
    India
    Posts
    59
    Downloads
    0
    Uploads
    0

    Default Re: How to setup kinematics RTCP in KmotionCNC

    Hi Tom,

    Thanks for your reply.

    I tried the updated patch files with my machine and everything is working as i wanted.

    Our G43.4 H1001 is working also as well as G49.

    I will continue try running it if any problem occurs i will get back to you.

    Please update the TCP on off Gcode in next update KMotion4.34k. and also update that init and external buttons merged file code into your beta version of KMotion4.34k.



    Thank You

    AMIT KUMAR

    Regards

    Amit Kumar


Page 4 of 5 FirstFirst 12345 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

How to setup kinematics RTCP in KmotionCNC
How to setup kinematics RTCP in KmotionCNC