I've just put an example program, called "jdi" ("just do it") on the
AXIS blog:

    jdi.py is an example of controlling emc with a simple Python program
    that sends NML messages. It will turn off estop, turn the machine on,
    enter "AUTO" mode, open the named file, and then run it.

    While the program is running, it prints the line number and machine
    position about once a second.

    When it finishes, it turns on estop and exits.

    By using it as your DISPLAY=, you can make emc run one .ngc file and
    then exit:

        emc configs/..../your.ini /full/path/to/your/gcode.ngc

    http://axis.unpy.net/01167419757
    http://axis.unpy.net/files/01167419757/jdi.py

Jeff

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to