On 12/29/2013 10:17 AM, Konstantin Navrockiy wrote:
> I try to give few commands MDI,
> error:
> 'maximum number of queued MDI commands exceeded'
> how to fix it?

... snip

I may have had a similar problem to yours. I fixed it by creating an 'o' 
subroutine file, then calling the file from the MDI line.

~~~ subroutines/probe_corner.ngc ~~~
o<probe_corner> sub
(probe to find south-west corner and set origin)

#<x_max> = [#<_ini[AXIS_0]MAX_LIMIT> - #5221 - .001]      (Position of 
G54 east end)
#<y_max> = [#<_ini[AXIS_1]MAX_LIMIT> - #5222 - .001]      (Position of 
G54 north end)

... (more stuff)

G53 G0 Y #<y_start_g53>
G53 G0 X #<x_start_g53>        (return to start)

F #<feed_rate>

o<probe_corner> endsub

M02 (end program)
~~~ subroutines/probe_corner.ngc ~~~

I seem to recall a limit of ten lines before the MDI queue barfs. 
Calling the subroutine doesn't use MDI and throttles the feeding of the 
lines properly.


-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to