Page 1 of 2 12 LastLast
Results 1 to 12 of 16

Thread: turning a image/model into directions for motors

  1. #1
    Registered
    Join Date
    Mar 2008
    Location
    USA
    Posts
    7
    Downloads
    0
    Uploads
    0

    Question turning a image/model into directions for motors

    Hi, I am making my own CNC program (in order to use a USB I/O 24 from elexol, twenty four ins and outs, takes four minimum for a stepper motor, leaving plenty for other purposes (laser heat sensor, focusing lens, etc)... but anyway, I have successfully driven the motors, but now need to know how to take an image, or model, and turn them into usable directions for the motors (I am using VB .NET)... any help is appreciated...


  2. #2
    Registered
    Join Date
    Mar 2008
    Location
    USA
    Posts
    7
    Downloads
    0
    Uploads
    0
    can anyone point me in the right direction? I recently realized that since the elexol module is a virtual serial port, that might help integrate other programs, but it is a serial, not parallel, port...


  3. #3
    Registered mc-motorsports's Avatar
    Join Date
    Feb 2007
    Location
    USA
    Posts
    1,084
    Downloads
    0
    Uploads
    0
    CAD/CAM LOL! You're over my head, that was just a joke. Good luck!


  4. #4
    Registered
    Join Date
    Oct 2007
    Location
    USA
    Posts
    14
    Downloads
    0
    Uploads
    0
    You're looking for a CAD/CAM software package.


  • #5
    Registered
    Join Date
    Mar 2008
    Location
    USA
    Posts
    7
    Downloads
    0
    Uploads
    0
    I looked at the packages I could find, and I can't find information on using them with a homemade controller like this, or am I missing something?


  • #6
    Registered
    Join Date
    Oct 2006
    Location
    usa
    Posts
    104
    Downloads
    0
    Uploads
    0
    Hello,
    I could be mistaken but I think windows gets in the way motor control timing. My machine runs through the parallel port but doesn't work right in windows because it doesn't pass on information right when its received. I have to use dos. All the serial systems I've seen have a controller between the machine and computer to queue up instructions. I don't have any experience with that though.

    What your looking for is a G-code interpreter. It takes instructions and converts them to motor control signals usually through a parallel or serial port.

    Chuck
    http://chuckscnc.blogspot.com/


  • #7
    Registered
    Join Date
    Mar 2008
    Location
    USA
    Posts
    7
    Downloads
    0
    Uploads
    0
    this G-Code, I assume, can then be interpreted by my program? Is it difficult to use?


  • #8
    Registered
    Join Date
    Oct 2006
    Location
    usa
    Posts
    104
    Downloads
    0
    Uploads
    0
    Oh yeah,
    And CAD/CAM can design the part and CAM can make instructions called G-Code for your interpreter.
    http://chuckscnc.blogspot.com/


  • #9
    Registered
    Join Date
    Oct 2006
    Location
    usa
    Posts
    104
    Downloads
    0
    Uploads
    0
    No its fairly easy, you load the g-code file and tell the machine where to start. Don't know how to set it up for a serial port though.
    http://chuckscnc.blogspot.com/


  • #10
    Registered
    Join Date
    Mar 2008
    Location
    USA
    Posts
    7
    Downloads
    0
    Uploads
    0
    all the control is on the computer, the Elexol USB module merely listens and drives the motors, each motor has four power transistors, and the program, when ever it sends a movement (at least for my test version) just turns on the transistors in sequential order, making a step... main thing is that I needed something to tell my programs which way to turn the motors, and it seems that G code is the answer to that, but what I meant to ask is if making the program I am writing understand g code difficult... maybe there is a tutorial somewhere?


  • #11
    Moderator Switcher's Avatar
    Join Date
    Apr 2005
    Location
    mydxf.blogspot.com
    Posts
    3,665
    Downloads
    0
    Uploads
    0
    What you need to do is parse a DXF file.

    A .DXF file is just a simple text file.

    You should be able to find a bunch of info on google for vb.net etc.

    Open any .DXF file in Windows Notepad, you'll see after the header it's a pattern that keeps repeating with different coordinates.

    This thread might help?

    Like chazmtu said, timing might be an issue?


    .
    Free DXF Files - myDXF.blogspot.com


  • #12
    Registered
    Join Date
    Oct 2006
    Location
    usa
    Posts
    104
    Downloads
    0
    Uploads
    0
    I've not seen a tutorial but then I wasn't looking for one. I'm not much of a programmer but it might be easier to modify an already existing program. A lot of people really like mach3. I can tell you that usb control for CNC is still experimental. I thought I saw a thread on it a few days ago. I'll see if I can find it.
    http://chuckscnc.blogspot.com/


  • Page 1 of 2 12 LastLast

    Similar Threads

    1. Mach3 Mill.... Motors not turning.
      By junior85 in forum Mach Mill
      Replies: 3
      Last Post: 05-29-2007, 02:45 AM
    2. Cut Directions
      By thebiglad in forum EdgeCam
      Replies: 6
      Last Post: 07-29-2006, 10:31 AM
    3. Access to Fanuc motors/amps for BP Boss, help me choose model
      By jderou in forum Bridgeport and Hardinge Mills
      Replies: 1
      Last Post: 07-16-2006, 12:36 PM
    4. Manual turning of stepper motors
      By Pat in forum Stepper Motors and Drives
      Replies: 1
      Last Post: 08-08-2005, 04:04 PM
    5. It's getting there....motors are turning
      By johnt in forum General Waterjet
      Replies: 1
      Last Post: 03-27-2005, 06:34 PM

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.