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...
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...
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...
CAD/CAM LOL! You're over my head, that was just a joke. Good luck!
You're looking for a CAD/CAM software package.
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?
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/
this G-Code, I assume, can then be interpreted by my program? Is it difficult to use?
Oh yeah,
And CAD/CAM can design the part and CAM can make instructions called G-Code for your interpreter.
http://chuckscnc.blogspot.com/
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/
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?
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
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/