Axis 2.14 and CVS Head I just cooked up a program that calculates & uses two different spindle speeds, which I set as they're needed. The moves work just as they should, but the "Active G-Codes" display in Axis always shows the second S value.
This turns out to be important, because I'm setting the spindle speed by turning the knob on the Sherline motor controller by hand. The calculated S value is, therefore, just documentation, but it's the only way I could think of to display the result of the calculations. (The alternative, calculating the speed with a calculator, is -so- 20th Century...) What I'd like to have happen looks like this: #101 = 111 (calculate spindle speed 1) #102 = 222 S#101 (msg,Set knob to match S value) M0 <<< I set the speed and resume execution >>> <<< various moves occur at S=111 >>> S#102 (msg,Set knob to match S value) M0 <<< I set the speed and resume execution >>> <<< various moves occur at S=222 >>> Unfortunately, Axis seems to parse through (msg, x) prompts, even when they're followed by M0 pauses, so that the displayed "active" S value actually applies to moves far, far down the program. That makes my prompts pretty much useless. I -think- what's happening is that Axis just rips through the program lines, parsing lines like crazy, feeding motions to EMC, and updating the display as it goes. Putting the S words on the same line as the moves doesn't change anything; even when the active line shows the move with the first S value (which is what the machine is actually chugging along at), the display shows the second. Is there any way to throttle Axis down so it shows the active codes at the point where the M0 pause occurs? Thanks! -- Ed ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users