Bugs item #3605604, was opened at 2013-02-21 19:03 Message generated for change (Comment added) made by jmkasunich You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=106744&aid=3605604&group_id=6744
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: GUI - AXIS Group: None >Status: Closed >Resolution: Invalid Priority: 5 Private: No Submitted By: James Boulton (jmboulton) Assigned to: Chris Radek (cradek) Summary: Successive o103 repeat loops locks axis Initial Comment: With axis in lathe mode two successive o103 loops stops axis when loading file. If loops are in separate files they work. ---------------------------------------------------------------------- >Comment By: John Kasunich (jmkasunich) Date: 2013-02-22 05:57 Message: This isn't a bug. Change the second loop to use O104 (or any other number than 103). The purpose of the number on an O-word is so that the computer can connect the word that starts the loop (like repeat), with the one that ends it (like endrepeat). It is perfectly acceptable to have nested loops or nested conditionals, and without the numbers it would be much harder for the g-code interpreter to undertand what you want. "O103 repeat" gets matched up with "O103 endrepeat", "O104 repeat" gets matched with "O104 endrepeat", "O200 if" gets matched with "O200 endif", and so on. If there are two "O103 repeat" lines in the file, the interpreter doesn't know which one to use when it encounters the "O103 endrepeat". ---------------------------------------------------------------------- Comment By: James Boulton (jmboulton) Date: 2013-02-21 19:05 Message: Linuxcnc version 2.5.1 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=106744&aid=3605604&group_id=6744 ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers