Re: How to setup kinematics RTCP in KmotionCNC
[QUOTE=TomKerekes;2117158]Hi Amit,
This is very strange. The only difference between it working and not working is we added this one line of code:
[B]if (m_MotionParams.TCP_Active)[/B]
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[/QUOTE]
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 [COLOR=#000000][B]ASaddleZCenterpoint = 0.511811023[/B] is modified in my machine and it is now [/COLOR][COLOR=#000000][B]ASaddleZCenterpoint = 1.023622047.[/B]
Have you included this old value [/COLOR][B]ASaddleZCenterpoint = 0.511811023 [/B]somewhere. if yes then please change it to updated value [B]ASaddleZCenterpoint = 1.023622047.[/B]
and then compile.
because When i am running tcp, my tcp optimisation value of [B]Y [/B]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
Re: How to setup kinematics RTCP in KmotionCNC
Hi Amit,
Now I'm confused and don't understand.
[QUOTE]I found one pattern. in Kinematics5AxisTableAC.cpp file ASaddleZCenterpoint = 0.511811023 is modified in my machine and it is now ASaddleZCenterpoint = 1.023622047.[/QUOTE]Yes I saw you made that change.
[QUOTE]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.[/QUOTE]No that value isn't used anywhere else and you should be compiling not me.
[QUOTE]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.[/QUOTE]I don't understand. I'm guessing you think the TCP is not correcting Y correctly because the ASaddleZCenterpoint is wrong.
[QUOTE]Answer 5- yes tcp is working after replacing the old file.[/QUOTE]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
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 [COLOR=#000000][FONT=Tahoma][I]ASaddleZCenterpoint = 1.023622047
[/I][/FONT][/COLOR]can you please send me that same 8 patch files ([url=http://dynomotion.com/Software/Patch/AddG43.4G49_TCP_OnOff_V4.34j/]Index of /Software/Patch/AddG43.4G49_TCP_OnOff_V4.34j[/url])
that you sent me earlier after rebuilding it with the new [COLOR=#000000][FONT=Tahoma][I]ASaddleZCenterpoint = 1.023622047 value in 5axiskinematicsAC .cpp file.
thank you
AMIT KUMAR[/I][/FONT][/COLOR]
Re: How to setup kinematics RTCP in KmotionCNC
Hi Amit,
[QUOTE]Answer 3- yes i compiled.[/QUOTE]
Why don't you compile it? I asked before if you compiled it and you said yes.
Regards
Re: How to setup kinematics RTCP in KmotionCNC
[QUOTE=TomKerekes;2117684]Hi Amit,
Why don't you compile it? I asked before if you compiled it and you said yes.
Regards[/QUOTE]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
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
Re: How to setup kinematics RTCP in KmotionCNC
[QUOTE=TomKerekes;2117704]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[/QUOTE]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
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
Re: How to setup kinematics RTCP in KmotionCNC
Hi Kumar,
Great. Thanks for posting back.
If you find time please try to troubleshoot why you weren't compiling the code. Some things I sometimes do is to put an intentional error in the file that I'm changing. If there isn't an error when compiling I know I'm changing the wrong file. Also check the timestamp on the executable to see that it has actually been re-built.
Regards
Re: How to setup kinematics RTCP in KmotionCNC
[QUOTE=TomKerekes;2118016]Hi Kumar,
Great. Thanks for posting back.
If you find time please try to troubleshoot why you weren't compiling the code. Some things I sometimes do is to put an intentional error in the file that I'm changing. If there isn't an error when compiling I know I'm changing the wrong file. Also check the timestamp on the executable to see that it has actually been re-built.
Regards[/QUOTE]Hi tom,
Thanks
Actually timestamp on the Kmotioncnc.exe file was not changing. When i was trying to compile the code earlier but after you compiled timestamp was changing. How is that even possible.?
Thanks
AMIT KUMAR
Sent from my Lenovo K50a40 using Tapatalk
Re: How to setup kinematics RTCP in KmotionCNC
Hi Amit,
Were you compiling the Libraries (BuildAllLibs.sln) or the Examples (BuildExamples.sln) ? KMotionCNC is an example Application not a library. The Kinematics is part of the Libraries.
Were you looking at the correct Debug or Release directory depending on whether you were building the Debug or Release Configuration?
Was the build successful? Did the build compile the file?
Regards
Re: How to setup kinematics RTCP in KmotionCNC
[QUOTE=TomKerekes;2118032]Hi Amit,
Were you compiling the Libraries (BuildAllLibs.sln) or the Examples (BuildExamples.sln) ? KMotionCNC is an example Application not a library. The Kinematics is part of the Libraries.
Were you looking at the correct Debug or Release directory depending on whether you were building the Debug or Release Configuration?
Was the build successful? Did the build compile the file?
Regards[/QUOTE]
Hi Tom,
I have successfully built and complied the files.
I am able to turn off the RTCP using G49 but when i try to turn it back on by using (G43,4 H1001), I am not getting the correct results.
The RTCP is not turning back on in the same state that we turned it off at. I feel that there is some problem with the tool height optimization.
Awaiting your earliest response.
Thank you,
Re: How to setup kinematics RTCP in KmotionCNC
Hi Amit,
What happens? What State is different? What Tool and Length was selected before?
Regards
Re: How to setup kinematics RTCP in KmotionCNC
[QUOTE=TomKerekes;2166342]Hi Amit,
What happens? What State is different? What Tool and Length was selected before?
Regards[/QUOTE]
Hi Tom ,
[B]TCP[/B] seems to be working fine by using [B]G43.4 H1001[/B] command.
It is optimizining according to the tool length in tool table.
But the problem we are facing is the value mentioned in tool table has to be in inches but the optimization and [B]DRO[/B] shows values in [B]MM.[/B]
For example My machine coordinate is [B]Z110[/B] at some point and we are taking tool length of [B]36mm[/B] and value of this tool height i input in tool table of [B]H1001[/B] is [B]36/25.4 = 1.417 inch[/B].
So after i turn on [B]G43.4 H1001[/B] command. [B]TCP[/B] is working with [B]Z74 (110-36)[/B] and it is correctly optimizing.
But in Machine coordinates (Orange) it is showing [B]Z110[/B]. And in Work Coordinates (Green) It is showing[B] Z108.583. [/B]
And [B]TCP[/B] optimization is according to [B]Z74[/B]. So i want this [B]Z74 [/B]to be displayed in work coordinates (green).
I think the issue is with the value putting to [B]DRO[/B] from tool table. Optimization is correctly working.
Waiting for your kind reply.
Re: How to setup kinematics RTCP in KmotionCNC
Hi Amit,
I believe that issue was discussed and solved here:
[url]https://www.cnczone.com/forums/dynomotion-kflop-kanalog/352558-tool-offset-issue-rtcp-kflop-5-axis.html#post2137030[/url]
It should also be fixed in [URL="http://dynomotion.com/Software/KMotion434k.exe"]Version 4.34k[/URL]. See [URL="http://dynomotion.com/Software/KMotion%20Released%20Version%204.34k%20Changes.pdf"]Changes[/URL].
Note that a bug was introduced in Version 4.34k where Screen Script Buttons that invoke Actions will fail. If you need that functionality you should apply this [URL="http://dynomotion.com/Software/Patch/FixInvokingActionFromScreenEditorButton_V434k/"]patch[/URL].
HTH
Regards
Re: How to setup kinematics RTCP in KmotionCNC
Hi ChristianLL,
Sorry I missed this but somehow it was posted with no subject title and so doesn't show on the forum.
But yes KMotionCNC and our Libraries have a Kinematics Layer you can modify.
Not sure what mid operation C axis unwinds are. But probably not. You can reset an angular axis to its 0-360 degree equivalent with an MCode.
Regards
Re: How to setup kinematics RTCP in KmotionCNC
Hi there
I'm planning to build a 5 axis router and looking for some answers on the following:
Does the KmotionCNC software with RTCP work well with the CSMIO/IP - S breakout board?
Re: How to setup kinematics RTCP in KmotionCNC
[QUOTE=vanwyksc;2237566]Hi there
I'm planning to build a 5 axis router and looking for some answers on the following:
Does the KmotionCNC software with RTCP work well with the CSMIO/IP - S breakout board?[/QUOTE]
No.
KMotionCNC will only work Dynomotion's KFlop
CS-Labs controllers require either Mach3/4 or their own software (although I have no idea how developed that is now, as last time I heard about it, it was still alpha/beta release with minimal functionality).