5 axis CNC Router/3d printer

Moderators: TomKerekes, dynomotion

George Butty
Posts: 104
Joined: Sun Mar 22, 2020 9:36 pm

Re: 5 axis CNC Router/3d printer

Post by George Butty » Thu Mar 09, 2023 9:54 pm

Hi Tom, yes the Off button does trigger the M05. For some reason I thought the
the DAC value should also go to zero if the Off button was triggered. Long as the
outputs go to 0 then yes spindle will stop in either direction.
Is there a way to configure a spindle override slider to control spindle speed while
a Gcode program is running?

George

User avatar
TomKerekes
Posts: 2636
Joined: Mon Dec 04, 2017 1:49 am

Re: 5 axis CNC Router/3d printer

Post by TomKerekes » Fri Mar 10, 2023 12:34 am

Hi George,

The one on the Screen isn't working?
Regards,

Tom Kerekes
Dynomotion, Inc.

George Butty
Posts: 104
Joined: Sun Mar 22, 2020 9:36 pm

Re: 5 axis CNC Router/3d printer

Post by George Butty » Fri Mar 10, 2023 2:35 pm

Hi Tom, I must be missing something because all I have on the 5 axis custom screen I am running is
a rapid slider and a feed rate slider no spindle speed slider.

George

George Butty
Posts: 104
Joined: Sun Mar 22, 2020 9:36 pm

Re: 5 axis CNC Router/3d printer

Post by George Butty » Fri Mar 10, 2023 2:39 pm

Tom, sorry for being dumb again. I found it.

George

George Butty
Posts: 104
Joined: Sun Mar 22, 2020 9:36 pm

Re: 5 axis CNC Router/3d printer

Post by George Butty » Thu Mar 16, 2023 7:44 pm

HI Tom, looking to set up a homing operation for my machine. I would like to have a home button on the
KmotionCNC screen and activate the homing program. I would be using the SimpleHome3 axis.c program sample
and set it up to home my 5axis. Not sure how to connect the home button in KmotionCNC to activate the homing program.
I am assuming the homing program would have to be place in the int.c startup program. Any insight would be appreciated .
Thanks
George

User avatar
TomKerekes
Posts: 2636
Joined: Mon Dec 04, 2017 1:49 am

Re: 5 axis CNC Router/3d printer

Post by TomKerekes » Thu Mar 16, 2023 7:47 pm

Hi George,

Like this.
Regards,

Tom Kerekes
Dynomotion, Inc.

George Butty
Posts: 104
Joined: Sun Mar 22, 2020 9:36 pm

Re: 5 axis CNC Router/3d printer

Post by George Butty » Fri Mar 17, 2023 5:23 pm

Thanks Tom, I think this should do the trick.
George

George Butty
Posts: 104
Joined: Sun Mar 22, 2020 9:36 pm

Re: 5 axis CNC Router/3d printer

Post by George Butty » Tue Mar 21, 2023 9:58 pm

Hi Tom, I had my B Axis running in the wrong rotation direction. It was not following the righthand run and the
machine would go the wrong direction based on the cad data I sent to the machine. I reversed the rotation of the B Axis
and now its following the Right Hand rule but now the RTCP is not going in the right direction. The X Axis is going in
the wrong direction to to make the RTCP compensations in the X Axis. Its moving away from center not staying on center.
How can that be reversed without effecting the Right Hand rule.

Thanks
George

User avatar
TomKerekes
Posts: 2636
Joined: Mon Dec 04, 2017 1:49 am

Re: 5 axis CNC Router/3d printer

Post by TomKerekes » Wed Mar 22, 2023 12:07 am

Hi George,

I'd guess that you could add a negative sign in the Kinematics. Such as change:

Code: Select all

	Rotate3(0, 0, 0, m_MotionParams.TCP_X, m_MotionParams.TCP_Y, (m_MotionParams.TCP_Z + PivotToChuckLength), 0, b, c, &TCP_Rotated_x, &TCP_Rotated_y, &TCP_Rotated_z);
	
to:

Code: Select all

	Rotate3(0, 0, 0, m_MotionParams.TCP_X, m_MotionParams.TCP_Y, (m_MotionParams.TCP_Z + PivotToChuckLength), 0, -b, c, &TCP_Rotated_x, &TCP_Rotated_y, &TCP_Rotated_z);
	
Are you still using the standard Kinematics5AxisGimbalCB? Strange that that would need to be changed. Are you sure you don't have something else reversed? ie the X axis? A common mistake is to think moving the Table to the right is +X. But that is like moving the tool to the left.
Regards,

Tom Kerekes
Dynomotion, Inc.

George Butty
Posts: 104
Joined: Sun Mar 22, 2020 9:36 pm

Re: 5 axis CNC Router/3d printer

Post by George Butty » Wed Mar 22, 2023 2:17 pm

Hi Tom, my machine runs all axis in the upper gantry. I don't have a moving bed so I think that is what
is causing things to go reverse. I am still running Kinematics5AxisGimbalCB but I am assuming that this file
runs a table in the +- X direction. From what I can understand from the change you recommend that will reverse
the RTCP B rotation. Is this correct?

George

Post Reply