585,758 active members*
4,572 visitors online*
Register for free
Login
Results 1 to 17 of 17
  1. #1
    Join Date
    Mar 2004
    Posts
    1542

    Embroidery machines

    My January landlord is in the custom embroidery business. She's buying a new four head unit to the tune of $30K because the DOS software the old unit uses is no longer supported.

    I can see the machine is very similar to a stepper table mill with toolchanger. I have no idea what sort of code today's embroidery software puts out for machines to read.

    So, is it feasable to refit these machines with camsoft, or any other, controls?

    Karl

  2. #2
    Join Date
    Jan 2007
    Posts
    869
    I do computerized embroidery as well as machining. I guess i'm addicted to motion control!?!?!?

    Unfortunately, you cannot retrofit it with standard CNC controls. The reason is because in addition to X and Y movements, there are lots of other controls that get involved.

    There is computerized tension, needle up down positions, thread cutter operation, thread movement sensors and many other things. Even though there are similarities, the differences are big enough that CNC and computerized embroidery are definitely in different spectrums.

    Hope this helps,
    Wade

  3. #3
    Join Date
    Mar 2004
    Posts
    1542
    Quote Originally Posted by wwendorf View Post
    I do computerized embroidery as well as machining. I guess i'm addicted to motion control!?!?!?
    Exactly my problem. Must be a new disease

    Modern controls could handle all the issues you mention. But, I wonder about the machine command files. Are they similar to G and M codes?

    Karl

  4. #4
    Join Date
    Apr 2005
    Posts
    3634
    Most machines (brands) have their own format as far as the code to run the machine.

    Here is a little info on just 1 of many file extensions
    http://www.fileinfo.net/extension/pes

    The guys that build the machines are very smart, that they write their own software that only runs on their machines, keeps the customer buying more & more.




    .

  5. #5
    Join Date
    Apr 2005
    Posts
    3634
    I've read about this program a while back (havn't tried it).

    Converts a bunch of file types.

    http://www.threadsmith.com/nav.srf?page=software

  6. #6
    Join Date
    Apr 2005
    Posts
    3634
    I found this link for "Running a DOS application and capture its output in VB .NET 2005"

    http://www.vb-helper.com/howto_net_run_dos.html

    Maybe you could write something?


    .

  7. #7
    Join Date
    Jan 2007
    Posts
    869
    The biggest problem is that yes, modern controls "could" work, but the problem lies in that you would HAVE to have a lot of experience with sewing and understand how tensions work, etc... In my mind, an embroidery machine has aspect of 4 axis cnc. The computer controls X and Y movement, then it controls the needle up and down as well as the frequency of the needle up/down (as in speed of sewing motor), then you have the other issue of the machine controlling (sometimes) the tension and the automatic trimmer.

    So, while it would be difficult if you didn't understand how sewing machines work (lots more complicated than milling) it is possible.

    As far as different embroidery formats, that's not really any different than us having lots of different post processors. No machines GCode is completely identical. Same with embroidery formats. None of them are identical, but they all work pretty much the same.

    Wade

  8. #8
    Join Date
    Apr 2005
    Posts
    3634
    Quote Originally Posted by wwendorf View Post
    The biggest problem is that yes, modern controls "could" work, but the problem lies in that you would HAVE to have a lot of experience with sewing and understand how tensions work, etc... In my mind, an embroidery machine has aspect of 4 axis cnc. The computer controls X and Y movement, then it controls the needle up and down as well as the frequency of the needle up/down (as in speed of sewing motor), then you have the other issue of the machine controlling (sometimes) the tension and the automatic trimmer.

    So, while it would be difficult if you didn't understand how sewing machines work (lots more complicated than milling) it is possible.

    As far as different embroidery formats, that's not really any different than us having lots of different post processors. No machines GCode is completely identical. Same with embroidery formats. None of them are identical, but they all work pretty much the same.
    Wade
    G-code is an industry standard.

    Several embroidery formats isn't the same, not much of a standard. If a control can't read the file, it's useless.

    I'm not saying it can't be done, when in fact it could be, it all depends on how much you want it, & how much time you have to invest in the project.

    A stepper motor is a stepper motor regardless of how it's setup.



    .

  9. #9
    Join Date
    Jan 2007
    Posts
    869
    Yup, GCode is an industry standard. There are a few embroidery formats that are considered industry standards as well. Pretty much all embroidery machines read a format called DST. It's a format that all machines use. Additonally, all machines typically have their own formats which give features not commonly covered in the "generic" features.

    There are also conversion programs out there that translate one format to another in about 2 seconds flat without modifying the design in any way or changing how it sews.

    And, i'm not arguing with ya, I'm just saying that converting it to use GCode would be very counter-productive because you wouldn't be able to digitize or purchase designs in a format the machine could use. You would have to write a design converter to even attempt to create a design in GCode. Or your own digitizing program. Lots of custom software to write as well.

    Additionally, another thing about embroidery machines and their formats is that they also typically automatically change threads. Some machine can have up to 15 threads pre-loaded in them. I guess that is kind of like an automatic tool changer in a way?

    Wade

  10. #10
    Join Date
    Apr 2006
    Posts
    3498
    Yes everything is possible.. Now we can convert the embroidery format to our Gcode format..
    http://www.cnczone.com/forums/showth...=57404&page=24
    http://free3dscans.blogspot.com/ http://my-woodcarving.blogspot.com/
    http://my-diysolarwind.blogspot.com/

  11. #11
    Join Date
    Jan 2007
    Posts
    869
    Quote Originally Posted by Khalid View Post
    Yes everything is possible.. Now we can convert the embroidery format to our Gcode format..
    http://www.cnczone.com/forums/showth...=57404&page=24
    Yes, I've been monitoring your posts on your build thread. Nice job on that! I definitely didn't have the patience to reverse engineer the software, or the desire to build a machine from the ground up. Of course, that's likely because I have several top end embroidery machines already. <grin>

    Wade

  12. #12
    Join Date
    Dec 2003
    Posts
    24220
    Quote Originally Posted by Karl_T View Post
    So, is it feasable to refit these machines with camsoft, or any other, controls?

    Karl
    Did you see the example of embroidery machine in the Galil animated examples with code, I know it does not go into detail as to code input, but evidentially there was someone that originally put a version together based around the legacy DMC-1000 and used the old Galil Opint software , I believe they have since upgraded to a later version card and software. I don't have a link anymore.
    This was the patent, http://www.patentstorm.us/patents/5458075/fulltext.html
    ( just noticed it is a post from 2007!)
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  13. #13
    Join Date
    Apr 2006
    Posts
    3498
    Quote Originally Posted by wwendorf View Post
    Yes, I've been monitoring your posts on your build thread. Nice job on that! I definitely didn't have the patience to reverse engineer the software, or the desire to build a machine from the ground up. Of course, that's likely because I have several top end embroidery machines already. <grin>

    Wade
    Hi Wade,
    Then why not you join us and share your experience... I didn't tried the software on my machine, probably i will use it in practice by coming sunday.. I will experience thread tension problems etc.. as RENE is facing..
    Your help will lit our candle and keep us in light in dark surrounding
    http://free3dscans.blogspot.com/ http://my-woodcarving.blogspot.com/
    http://my-diysolarwind.blogspot.com/

  14. #14
    Join Date
    May 2016
    Posts
    6

    Re: Embroidery machines

    Quote Originally Posted by Khalid View Post
    Hi Wade,
    Then why not you join us and share your experience... I didn't tried the software on my machine, probably i will use it in practice by coming sunday.. I will experience thread tension problems etc.. as RENE is facing..
    Your help will lit our candle and keep us in light in dark surrounding




    Hello Khalid .
    You know Any File Information pes in visual basic?

  15. #15
    Join Date
    May 2016
    Posts
    6

    Re: Embroidery machines

    Hello Khalid .
    You know Any File Information pes in visual basic?

  16. #16
    Join Date
    Mar 2009
    Posts
    533

    Re: Embroidery machines

    Have you looked at this website? Technical Info
    You would have to create your own Visual Basic program and use the PES info given above.

    You can also find source code for embroidery using EmbroiderModder as indicated here; About - Embroidermodder

  17. #17
    Join Date
    May 2016
    Posts
    6

    Re: Embroidery machines

    unsuccessfully


    Dim bytes() As Byte
    Dim singleByte As Byte
    Dim Colour(36) As String
    Colour(1) = RGB(0, 0, 255)
    Colour(2) = RGB(255, 0, 0)
    Colour(3) = RGB(51, 140, 38)
    Colour(4) = RGB(0, 200, 200)
    Colour(5) = RGB(204, 153, 153)
    Colour(6) = RGB(102, 230, 100)
    Colour(7) = RGB(230, 255, 102)
    Colour(8) = RGB(204, 0, 102)
    Colour(9) = RGB(153, 51, 102)
    Colour(10) = RGB(0, 153, 0)
    Colour(11) = RGB(0, 0, 153)
    Colour(12) = RGB(204, 51, 255)
    Colour(13) = RGB(205, 205, 0)
    Colour(14) = RGB(255, 193, 37)
    Colour(15) = RGB(56, 142, 142)
    Colour(16) = RGB(0, 206, 209)
    Colour(17) = RGB(255, 165, 0)
    Colour(18) = RGB(186, 85, 211)
    Colour(19) = RGB(218, 112, 214)
    Colour(20) = RGB(220, 92, 215)
    Colour(21) = RGB(125, 157, 62)
    Colour(22) = RGB(241, 156, 187)
    Colour(23) = RGB(255, 191, 0)
    Colour(24) = RGB(127, 255, 212)
    Colour(25) = RGB(8, 232, 222)
    Colour(26) = RGB(0, 221, 221)
    Colour(27) = RGB(255, 153, 102)
    Colour(28) = RGB(172, 225, 175)
    Colour(29) = RGB(223, 255, 0)
    Colour(30) = RGB(155, 221, 255)
    Colour(31) = RGB(140, 146, 172)
    Colour(32) = RGB(205, 0, 204)
    Colour(33) = RGB(150, 200, 162)
    Colour(34) = RGB(204, 204, 255)
    Colour(35) = RGB(32, 178, 170)
    Dim Color As Integer


    CommonDialog1.Filter = "All Files brother (*.pes)|*.pes|"
    CommonDialog1.FilterIndex = 2
    CommonDialog1.ShowOpen



    filelocation = CommonDialog1.FileName
    Dim intEmpFileNbr As Integer
    file = FreeFile

    Open filelocation For Binary Access Read As #file



    Dim val1 As Byte
    Dim val2 As Byte
    Dim val3 As Byte


    Dim numColors As Integer
    ReDim bytes(4)
    Get file, , bytes
    ' pecstart
    pecstart = file
    ' Design dimensions
    imageWidth = 1000
    imageHeight = 1000
    ' Color table
    Seek file, pecstart + 48
    Get file, , numColors

    numColors = numColors + 1
    For x = 0 To numColors
    Get file, , singleByte
    Colour(x) = singleByte

    Next
    ' Stitch data
    Seek file, pecstart + 532
    thisPartIsDone = False
    prevX = 0
    prevY = 0
    maxx = 0
    minX = 0
    maxY = 0
    minY = 0
    colorNum = -1
    colorIndex = 0
    tempStitches = Array()

    Do While Not thisPartIsDone And EOF(file)



    If val1 = 255 And val2 = 0 Then
    ' end of stitches
    thisPartIsDone = True
    ' add the last block
    curBlock = stitchBlock
    stitches = tempStitches
    stitchesTotal = (tempStitches)
    colorNum = colorNum + 1
    colorIndex = Colour(colorNum)
    colorIndex = colorIndex
    Color = (colorIndex)
    blocks = curBlock

    ElseIf val1 = 254 And val2 = 176 Then
    curBlock = stitchBlock
    stitches = tempStitches
    stitchesTotal = (tempStitches)
    colorNum = colorNum + 1
    colorIndex = Colour(colorNum)
    colorIndex = colorIndex
    Color = (colorIndex)
    blocks = curBlock
    tempStitches = Array()
    Get file, , singleByte
    Else
    deltaX = 0
    deltaY = 0
    If (val1 And 128) = 128 Then
    deltaX = ((val1 & 15) * 256) + val2
    If (deltaX And 2048) = 2048 Then
    deltaX = deltaX - 4096
    End If
    Get file, , val2
    ElseIf (val1 >= 64) Then
    val1 = val1 - 128
    End If
    If (val2 And 128) = 128 Then
    val2 = ((val2 & 15) * 256) + val3
    If (val2 And 2048) = 2048 Then
    val2 = val2 - 4096
    End If
    ElseIf (val2 >= 64) Then
    ' normal stitch
    val2 = val2 - 128
    MsgBox val2
    End If
    prevX = prevX + val1
    prevY = prevY + val2
    tempStitches = Point(prevX, prevY)
    If prevX > maxx Then
    maxx = prevX
    ElseIf prevX < minX Then
    minX = prevX
    End If
    If prevY > maxY Then
    maxY = prevY
    ElseIf prevY < minY Then
    minY = prevY
    End If
    End If
    Loop

Similar Threads

  1. DIY- CNC Embroidery Machine
    By Khalid in forum CNC Wood Router Project Log
    Replies: 1006
    Last Post: 01-30-2024, 05:43 PM
  2. DIY Embroidery
    By infomatrix in forum DIY CNC Router Table Machines
    Replies: 0
    Last Post: 06-22-2013, 09:46 AM
  3. Replies: 1
    Last Post: 07-06-2010, 08:48 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •