Consider the following program: G1X1F10 G1X0F10 (G43) M2 GUI is AXIS and two HAL meters are displayed, one looking at halui.program.is-idle, and the other at halui.mode.is-auto.
When the program is initially opened the mode changes briefly to auto while the program is verified. When the program is run the mode is auto and the interpreter is not idle. When the program reaches the M2 or the Abort button is pressed, the mode is not auto and the interpreter is idle. The program is now changed to this: G1X1F10 G1X0F10 G43 M2 When the program is initially opened the mode changes to auto while the program is verified. The error is detected an an error message (Offset index missing) is displayed, and the mode stays in auto until the message is acknowledged after which the mode is not auto. So far, so good! But now there are two possibilities: 1. If the X position is not 1.0000 and the run button is pressed: A. The mode will switch to auto and the interpreter will become not idle. B. The error message will pop up. C. The machine will execute the move in the first block to X1.000 and motion will stop. D. The mode will switch to not auto and the interpreter will become idle. 2. If the X position is 1.0000 and the run button is pressed: A. The mode will switch to auto and the interpreter will become not idle. B. The error message will pop up. C. The machine is already at X1.000 and no other motion takes place. D. The mode sticks sticks at auto and the interpreter will stay idle. E. Pressing stop (abort) at this point does not cause the mode to change to a non idle state. Is this the intended behavior? I would expect that in case #2 above that once the error message was displayed, the mode would switch back to manual. This is the problem that prompted this e-mail post to the list. In case #1, I think it would be best if either no blocks would be executed at all, or all the blocks right up to the error block would be executed. This isn't really a problem as you are warned that something is wrong beforehand. It just strikes me as inconsistent. Thanks, Matt ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
