[Emc-users] maximum number of queued MDI commands exceeded

2013-12-29 Thread Konstantin Navrockiy
I try to give few commands MDI,
error:
'maximum number of queued MDI commands exceeded'
how to fix it?

--
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=84349831iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] maximum number of queued MDI commands exceeded

2013-12-29 Thread Kirk Wallace
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 ~~~
oprobe_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

oprobe_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=84349831iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] maximum number of queued MDI commands exceeded

2013-12-29 Thread Philipp Burch
Hi all!

I used the same approach as Kirk, but I've found some interesting
behaviour when running this subroutine file: If no program file is
loaded at the moment the MDI command is issued, it fails with the error
message Unable to open file xy (or similar wording, can't test it
right now).
Do you get this as well?

Thanks and best regards,
Philipp

On 12/29/2013 08:05 PM, Kirk Wallace wrote:
 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 ~~~
 oprobe_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
 
 oprobe_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.
 
 



signature.asc
Description: OpenPGP digital signature
--
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=84349831iu=/4140/ostg.clktrk___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] maximum number of queued MDI commands exceeded

2013-12-29 Thread Konstantin Navrockiy
I have another idea:
I wanted to do the reverse Gcode (using commands MDI)

--
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=84349831iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] maximum number of queued MDI commands exceeded

2013-12-29 Thread Konstantin Navrockiy
I found:
http://git.mah.priv.at/gitweb?p=emc2-dev.git;a=blob;f=src/emc/task/emctaskmain.cc;h=e6a93ed5cdf1a1ae6886398f1453eabf2ce95df6;hb=d4d4b07fb3a95459c5e41069825a5036e127586a#l3171
(it can help))

--
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=84349831iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] maximum number of queued MDI commands exceeded

2013-12-29 Thread Michael Haberler
please note - I did the original diagnosis and initial code you referred to

however, the current code in master was worked over by Seb, you might want to 
talk to him

I am unclear about the status - the way I understand it is that there is 
currently no backpressure mechanism on the MDI queue

- Michael


Am 29.12.2013 um 22:39 schrieb Konstantin Navrockiy nkp...@gmail.com:

 I found:
 http://git.mah.priv.at/gitweb?p=emc2-dev.git;a=blob;f=src/emc/task/emctaskmain.cc;h=e6a93ed5cdf1a1ae6886398f1453eabf2ce95df6;hb=d4d4b07fb3a95459c5e41069825a5036e127586a#l3171
 (it can help))
 
 --
 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=84349831iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
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=84349831iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users