CNC Sewing machine question

More
05 Aug 2019 18:37 #141463 by SPH
Replied by SPH on topic CNC Sewing machine question
You've seen this guys video yeah?

Please Log in or Create an account to join the conversation.

More
06 Aug 2019 08:15 #141524 by rjd1234
Replied by rjd1234 on topic CNC Sewing machine question
I agree SPH. Right now my strategy is to have the needle stepper running constantly, but have the x/y moves take place when the needle position is between 160 and 360 degrees. The needle is down between 0 and 160 degrees.

The piece I am missing is:
- how do I measure the stepper position while it is in spindle mode?

Please Log in or Create an account to join the conversation.

More
06 Aug 2019 08:16 #141525 by rjd1234
Replied by rjd1234 on topic CNC Sewing machine question
Yes, I have seen that video. That is basically how mine is running now.

Please Log in or Create an account to join the conversation.

More
12 Aug 2019 15:37 #142000 by andypugh
Replied by andypugh on topic CNC Sewing machine question
I think that the way to do this is to use adaptive-feed to halt the fabric when the needle is down.

How do you know the needle position? The stepgen outputs a position. If you add homing for the spindle then you can use a custom HAL component to output the adaptive-feed ratio.

But how to home a spindle? Currently that's not built-in behaviour. But it could be part of your custom hal component

Have you seen the commercial sewing machine servos? They are surprisingly cheap, and have a rudimentary encoder:
www.ebay.co.uk/itm/392335513626
as an example, Cheaper ones exist, and more expensive more powerful ones too.

I think I would be looking to use one of those, and then try to work out the adaptive feed from the needle-up signal and some cleverness in a HAL component.

The stepper should work, but the dedicated motors are a lot more powerful.

Tell us which way you want to go, and I think we can come up with something.

Please Log in or Create an account to join the conversation.

More
08 Jan 2020 06:16 #154303 by ahmetbm
Replied by ahmetbm on topic CNC Sewing machine question
Hi,
I am sorry if here is not the right place to ask this question.
I am developing a cnc sewing and cutting machine.
I am using 2 different motors to move hook and needle seperately as an axis(Z and A) and 2 other motors for x-y movement.
However i have a problem, what should i do when thread is broken?
Thanks.

Please Log in or Create an account to join the conversation.

More
08 Jan 2020 06:45 #154305 by andypugh
Replied by andypugh on topic CNC Sewing machine question
You could trigger a program-pause.

halui.program-pause

linuxcnc.org/docs/2.7/html/man/man1/halui.1.html

Please Log in or Create an account to join the conversation.

More
08 Jan 2020 07:59 #154308 by ahmetbm
Replied by ahmetbm on topic CNC Sewing machine question

You could trigger a program-pause.

halui.program-pause

linuxcnc.org/docs/2.7/html/man/man1/halui.1.html

Thank you.
How can i be sure the needle is at top position?
In other words how can i pause when needle and hook motors are complated revolution?

Please Log in or Create an account to join the conversation.

More
08 Jan 2020 08:33 #154310 by andypugh
Replied by andypugh on topic CNC Sewing machine question
How are you controlling the machine? Is the needle slaved to XY?

Please Log in or Create an account to join the conversation.

More
08 Jan 2020 11:03 #154319 by ahmetbm
Replied by ahmetbm on topic CNC Sewing machine question
I added needle and hook as 3rd and 4th rotary axes and they are not slave to xy. X and Y are linear.

Please Log in or Create an account to join the conversation.

More
08 Jan 2020 11:13 #154323 by andypugh
Replied by andypugh on topic CNC Sewing machine question
By "hook" do you mean "foot"?

If the needle is a rotary axis then you can just make sure you only stop at specific positions?

Please Log in or Create an account to join the conversation.

Time to create page: 0.264 seconds
Powered by Kunena Forum