On 20 September 2010 03:19, Howard Bruce <[email protected]> wrote:

> I need to advance the A Axis in a while loop and when a photo cell changes
> state, then advance to a predetermine position.

Sounds like a possible job for MDI_COMMMAND
http://linuxcnc.org/docs/2.4/html/gui_halui.html#sub:MDI
However that is not active in Auto mode, so might not work in your application.

> Also the functions:
> Looping: do, while, endwhile, break, continue

Have you read:
http://www.linuxcnc.org/docview/html//gcode_main.html#cha:O-Codes

> Not too sure which file to place the code for M100 to M199.

You call the files M100.ngc etc. They need to be in the directory
pointed to in the INI file.
http://www.linuxcnc.org/docview/html//gcode_main.html#sec:M100-to-M199:

-- 
atp

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to