CNC Sewing machine question

More
6 years 9 months ago #154903 by andypugh
Replied by andypugh on topic CNC Sewing machine question
In the case where the thread is broken, does it matter if the needle axis moves?

The other option would be for the thread-break detection to report the G-code line where the thread broke (this is fairly easy if it also monitors motion.program-line)
You could then possibly use the run-from-line feature.

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

More
6 years 9 months ago #154915 by ahmetbm
Replied by ahmetbm on topic CNC Sewing machine question

andypugh wrote: In the case where the thread is broken, does it matter if the needle axis moves?

The other option would be for the thread-break detection to report the G-code line where the thread broke (this is fairly easy if it also monitors motion.program-line)
You could then possibly use the run-from-line feature.


I re-checked but unfortunately, i can not move backward needle axis. I must find a way to move back all axes without rotating needle motors. This is the point where i stuck.
I will use a thread sensor to detect the break. I can pause machine when thread broke signal is arrived. However i can not figure out how to go back and use start from here?

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

More
6 years 9 months ago #154916 by andypugh
Replied by andypugh on topic CNC Sewing machine question
restart could, in theory, be handled by your GUI.
If it knows where the break happened, c.auto(linuxcnc.AUTO_RUN, line-number)

linuxcnc.org/docs/2.8/html/config/python..._linuxcnc_command_tt

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

More
6 years 9 months ago #154917 by andypugh
Replied by andypugh on topic CNC Sewing machine question
(I would anticipate the machine remembering exactly where the break happened, and moving the workpiece to there before restarting.)

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

More
6 years 9 months ago #154929 by jmelson
Replied by jmelson on topic CNC Sewing machine question

ahmetbm wrote: I designed the needle as an axis which made it easy to manage the sewing steps. However when it comes to moving backward or forward, it rotates the needle. So i am confused to change back the needle to spindle.

Yes, I think this is the wrong approach. You could configure the sewing machine as a "spindle", with a spindle on/off
and a speed setting. And, you'd need to come up with a way to "index" the sewing motor to the needle-up position.
So, when the program does M03, the sewing motor starts. When the program does M05, the motor slows to a lower
speed and then stops when a sensor detects needle up. Every M05 would be followed by a wait command (dwell G04 Pnnn) to allow for the needle to come to a stop. During sewing, the X-Y feedrates would be slow enough that the moves would be accomodated by material stretch. Only after the M05 and dwell would the X-Y axes move faster to move
to a new part of the embroidery pattern. I'm pretty sure a number of people have done this before.


Jon

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

  • tommylight
  • Away
  • Moderator
  • Moderator
More
6 years 9 months ago #154931 by tommylight
Replied by tommylight on topic CNC Sewing machine question
Search for RugBot.

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

Time to create page: 3.491 seconds
Powered by Kunena Forum