Denford Cyclone Lathe

Moderators: TomKerekes, dynomotion

Post Reply
Moray
Posts: 284
Joined: Thu Apr 26, 2018 10:16 pm

Denford Cyclone Lathe

Post by Moray » Fri Jul 26, 2019 11:01 pm

This was the first machine I ever fitted a KFlop too, and although initially running it on Mach3 for the first couple years (my previous lathe ran Mach3 with a SmoothStepper), after yet another crash where Mach sent the unlocked and spinning tool turret into the still spinning spindle, I finally jumped to KMotionCNC. Since moving to KMCNC, the only crashes have been operator error :roll:
new-toy_9861412773_o_resize.jpg
I retrofitted it with a KFlop+Kanalog combo, Kinco servos, and added a Click PLC to handle the turret (the Konnect board didn't exist when this was retrofitted, so a PLC was the easiest option).
wiring-tidied_10679267344_o_resize.jpg
Cable trunking helps to hide a multitude of sins!

I thought I had more photos, but can't currently find them, but here's a video of the turret working-



The only thing it's had done since the original retrofit and move to KMCNC, is I finally created a custom screen a few months ago to show a few key statuses-
KMCNC_grab.png

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

Re: Denford Cyclone Lathe

Post by TomKerekes » Sun Jul 28, 2019 4:51 pm

Hi Moray,

Nice to finally see your machine. Thanks for sharing.
Regards,

Tom Kerekes
Dynomotion, Inc.

Moray
Posts: 284
Joined: Thu Apr 26, 2018 10:16 pm

Re: Denford Cyclone Lathe

Post by Moray » Sun Jul 28, 2019 11:31 pm

Found a couple more photos.
This is the original electrical cabinet-
electrics-as-delivered_9861320395_o_resize.jpg
It originally used a Baldor Eurostep controller with Parker stepper drivers (all rack mounted), along with a custom control card for handling the tool turret.

As part of my retrofit, I replaced the stepper motors with a 700W servo on the Z axis, and a 400W servo on the X axis.

And my comment in my first post about cable trunking hiding a multitude of sins, this was a photo nearing completion, but prior to everything being hidden back in the trunking -
getting-tidier_10500394085_o_resize.jpg
Creating tidy wiring is an artform, which is why I've come to rely on making sure to use large trunking in any new control boxes I've built!

turbothis
Posts: 325
Joined: Fri Mar 15, 2019 4:07 pm
Location: southern oregon

Re: Denford Cyclone Lathe

Post by turbothis » Tue Aug 27, 2019 5:56 pm

looks nice!

BattyZ
Posts: 32
Joined: Fri Jul 02, 2021 7:29 pm

Re: Denford Cyclone Lathe

Post by BattyZ » Sat Oct 26, 2024 4:56 pm

Hi Morary,

Nice retrofit! Would you be willing to share your code for the turret and that nice custom screen you made?

Thanks!

Z

Moray
Posts: 284
Joined: Thu Apr 26, 2018 10:16 pm

Re: Denford Cyclone Lathe

Post by Moray » Sat Oct 26, 2024 5:48 pm

PLC code is attached.
It's been a few years since I sold this machine, but I think the two required files are Baraffaldi_Main<with date of last edit>, and Baraffaldi_Position.
The main contains the code for carrying out the position changes, with the Position simply a subroutine to calculate the position from the encoder (and IIRC store it in a variable).
The communication for transferring position info was handled via Modbus, with one KFlop -> CLICK output to signal to the CLICK that it was safe to change position, and one CLICK -> KFlop input to acknowledge that the turret was on the required position and locked.

The screen is also attached.

I've also attached the complete C archive, as the tool change functionality spans a few files.

Personally, if I was to do a similar machine again, I'd just use a Konnect board, as when I retrofitted this machine, the Konnect board didn't exist, and the Kanalog board didn't have enough inputs to handle the turret (and I couldn't be bothered building a buffer board to use more of the KFlop inputs!)
Attachments
Cyclone.zip
(33.91 KiB) Downloaded 3 times
DualPane2AxisCode.zip
(5.49 KiB) Downloaded 4 times
CLICK.zip
(11.75 KiB) Downloaded 2 times

BattyZ
Posts: 32
Joined: Fri Jul 02, 2021 7:29 pm

Re: Denford Cyclone Lathe

Post by BattyZ » Sun Oct 27, 2024 6:43 pm

Thanks Moray!

Just acquired a Mazak Quick Turn 8N. About to start on a few simple parts with Mazatrol programming but I would much rather just run gcode like my other machines. Due to the daisy chain wiring of the servo and spindle drives I may be gutting a lot!

I will go the Konnect route. Just want to have a good handle on the code before pulling wires.

Thanks again for posting your code. Should help greatly.

Z

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

Re: Denford Cyclone Lathe

Post by TomKerekes » Mon Oct 28, 2024 4:39 pm

Moray, thanks for all your contributions to the community. Its appreciated.
Regards,

Tom Kerekes
Dynomotion, Inc.

BattyZ
Posts: 32
Joined: Fri Jul 02, 2021 7:29 pm

Re: Denford Cyclone Lathe

Post by BattyZ » Tue Oct 29, 2024 12:01 am

What Tom said!!

Pretty sure I am running some of your old code on my Fadal 4020...

Post Reply