5 axis CNC Router/3d printer
Moderators: TomKerekes, dynomotion
-
- Posts: 108
- Joined: Sun Mar 22, 2020 9:36 pm
5 axis CNC Router/3d printer
Hi Tom, finally got to the control setup for the large scale 5 axis router/ 3d printer I am building. (X 16' Y 8' Z 4' travels with B and C head head).
I purchased your Kflop and Kanalog boards for this. I am running Teknic clear path motors and I will be using the step and direction signals
to run the motors. You previously said to run 6 axis with the Kanalog (Master\Slave on Y axis) I need to set the pulse and direction output to JP4 and JP6. I am not sure about where the FPGA code has to go to activate it. Is it in the main Initialization C program?
Thanks
George
I purchased your Kflop and Kanalog boards for this. I am running Teknic clear path motors and I will be using the step and direction signals
to run the motors. You previously said to run 6 axis with the Kanalog (Master\Slave on Y axis) I need to set the pulse and direction output to JP4 and JP6. I am not sure about where the FPGA code has to go to activate it. Is it in the main Initialization C program?
Thanks
George
- TomKerekes
- Posts: 2679
- Joined: Mon Dec 04, 2017 1:49 am
-
- Posts: 108
- Joined: Sun Mar 22, 2020 9:36 pm
Re: 5 axis CNC Router/3d printer
Does it matter where in the program. Should it be right at the beginning?
George
George
- TomKerekes
- Posts: 2679
- Joined: Mon Dec 04, 2017 1:49 am
Re: 5 axis CNC Router/3d printer
Yes at the begining of the main() function would be good. It needs to be executed once (or more times) after a power cycle before the Step/Dir generators are used.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
-
- Posts: 108
- Joined: Sun Mar 22, 2020 9:36 pm
Re: 5 axis CNC Router/3d printer
Thanks, I suspect I will be bugging you as things start moving around.
George
George
-
- Posts: 108
- Joined: Sun Mar 22, 2020 9:36 pm
Re: 5 axis CNC Router/3d printer
Hi Tom, I am slowly finishing my machine. I would like to run 5 axis (x,y,z,B,C Head) router in RTCP mode. I have been looking at other posts but
its hard to follow the process to set up. Any chance of giving me a general run down of how to go about setting this up?
Thanks
George Butty
its hard to follow the process to set up. Any chance of giving me a general run down of how to go about setting this up?
Thanks
George Butty
- TomKerekes
- Posts: 2679
- Joined: Mon Dec 04, 2017 1:49 am
Re: 5 axis CNC Router/3d printer
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
-
- Posts: 108
- Joined: Sun Mar 22, 2020 9:36 pm
Re: 5 axis CNC Router/3d printer
Thanks
George
George
-
- Posts: 108
- Joined: Sun Mar 22, 2020 9:36 pm
Re: 5 axis CNC Router/3d printer
Hi Tom, setting up my kflop with kanalog board. Running 6 teknic motors on pulse and direction. First 4 motors are being driven by
kflop JP5 and the last two set to multplex on JP4 and JP6. FPGA(STEP_PULSE_LENGTH_ADD)=32 + 0x40; // set the pulse time to ~ 2us and multiplex to JP4 and JP6 . Just testing the motors on JP5 and set output to open collector mode to drive the 5 volt input on the teknic motors. I set the
OutputChan0=4 to run in open collector mode. This worked fine, can jog forward and reverse. When running at a jog setting of 1000 the motor runs
nice. When I run it bellow 100 I get a low frequency squeal and running it at 5, I get pulses in the rotation and not a slow smooth rotation of the motor.
When I run it on the teknic setup software I get a nice slow smooth rotation from the motor. Any suggestions?
George
kflop JP5 and the last two set to multplex on JP4 and JP6. FPGA(STEP_PULSE_LENGTH_ADD)=32 + 0x40; // set the pulse time to ~ 2us and multiplex to JP4 and JP6 . Just testing the motors on JP5 and set output to open collector mode to drive the 5 volt input on the teknic motors. I set the
OutputChan0=4 to run in open collector mode. This worked fine, can jog forward and reverse. When running at a jog setting of 1000 the motor runs
nice. When I run it bellow 100 I get a low frequency squeal and running it at 5, I get pulses in the rotation and not a slow smooth rotation of the motor.
When I run it on the teknic setup software I get a nice slow smooth rotation from the motor. Any suggestions?
George
- TomKerekes
- Posts: 2679
- Joined: Mon Dec 04, 2017 1:49 am
Re: 5 axis CNC Router/3d printer
Hi George,
You didn't specify the model number, any drive specifications, or any details on how it is wired.
A Google search found this. You might try adding a 1K pull up resistor as shown.
You might try using quadrature mode if supported by the Drive as it is much more forgiving timing wise.
Or increase the pulse length to max of 3.78us (63 instead of 32)
Or invert the pulse polarity (add 0x80)
But it is very strange that it would work at higher pulse rate and not lower. All these pulse rates are quite low.
Maybe a grounding issue?
HTH
You didn't specify the model number, any drive specifications, or any details on how it is wired.
A Google search found this. You might try adding a 1K pull up resistor as shown.
You might try using quadrature mode if supported by the Drive as it is much more forgiving timing wise.
Or increase the pulse length to max of 3.78us (63 instead of 32)
Or invert the pulse polarity (add 0x80)
But it is very strange that it would work at higher pulse rate and not lower. All these pulse rates are quite low.
Maybe a grounding issue?
HTH
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.