- Posts: 109
- Thank you received: 6
CNC Sewing machine question
- SPH
- Offline
- Premium Member
-
Less
More
7 years 2 months ago #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.
- rjd1234
- Offline
- New Member
-
Less
More
- Posts: 19
- Thank you received: 0
7 years 2 months ago #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?
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.
- rjd1234
- Offline
- New Member
-
Less
More
- Posts: 19
- Thank you received: 0
7 years 2 months ago #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.
- andypugh
- Offline
- Moderator
-
Less
More
- Posts: 19899
- Thank you received: 4655
7 years 2 months ago #142000
by andypugh
Replied by andypugh on topic CNC Sewing machine question
No eBay APP ID and/or Cert ID defined in Kunena configurationI 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:
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.
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:
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.
- ahmetbm
- Offline
- Junior Member
-
Less
More
- Posts: 34
- Thank you received: 1
6 years 9 months ago #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.
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.
- andypugh
- Offline
- Moderator
-
Less
More
- Posts: 19899
- Thank you received: 4655
6 years 9 months ago #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
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.
Time to create page: 0.142 seconds