587,124 active members*
3,433 visitors online*
Register for free
Login
IndustryArena Forum > OpenSource CNC Design Center > Coding > What can I use to create a step & direction file?
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2011
    Posts
    0

    What can I use to create a step & direction file?

    I have a controller based on an Atmega chip. It is very similar to the Phigdgets controller at

    Phidgets Inc. - Unique and Easy to Use USB Interfaces.

    Like the Phidget connects via USB instead of parallel port and takes ascii text instructions. Unlike the Phidgets it takes only one simple instruction set. The instructions are basically step and direction, except you can tell it to take multiple steps per instruction. M1R1000 = Motor 1 move Right 1000 steps.

    I would like to use this controller with a standard PC CNC program. It shouldn't be rocket science to turn standard step/direction instructions into something this machine can read, but I need a file with step/direct instructions to start with. Does anyone either know of a standard PC programs that will write a step/direct file, or of a stand-alone program which does the same thing from either G-coode or a vector image? Open source preferred, but not required.

    TIA

  2. #2
    Join Date
    Jan 2010
    Posts
    2141
    I don't know how easy or difficult it might be to jump into the source code and intercept the step and direction controls for output to a file (or whether they might already support such functionality), but in the following thread, two gcode-to-stepper solutions were suggested that might be worth investigating (EMC2 and RepRap arduino gcode interpreter):

    http://www.cnczone.com/forums/hobby_...tml#post959526

Similar Threads

  1. Step/Direction pins should be Step FWD and Step BACK
    By rayscott in forum Mach Software (ArtSoft software)
    Replies: 6
    Last Post: 02-10-2010, 12:57 AM
  2. How do I create an .INC file in Surfcam?
    By MetLHead in forum Surfcam
    Replies: 6
    Last Post: 02-21-2009, 11:23 PM
  3. How to edit MPFAN post file step by step
    By m_bhui in forum Post Processors for MC
    Replies: 2
    Last Post: 10-04-2008, 11:42 AM
  4. How do I create a DFX file
    By Blacksunshine in forum DIY CNC Router Table Machines
    Replies: 7
    Last Post: 06-27-2008, 01:32 AM
  5. Is possible to create my own step board?
    By samsagaz in forum CNC Machine Related Electronics
    Replies: 2
    Last Post: 03-28-2005, 10:24 PM

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
  •