emc 2.2.x had an arbitrary limitation of 10 MDI commands.  Starting in
emc 2.3.0, this limit was increased to 64.

If you require more halui mdi commands, then you can either upgrade to a
newer version of emc2 such as the current 2.4.4 version, or if you have
the expertise to build emc2 from source yourself you can increase the
limit by making a change like the following:

commit afd1e01
Author: Alex Joni <[email protected]>
Date:   Tue Feb 17 09:48:38 2009 +0000

    fix SF #2607450, can't have more than 10 MDI commands in halui

diff --git a/src/emc/usr_intf/halui.cc b/src/emc/usr_intf/halui.cc
index 404baf2..a75d735 100644
--- a/src/emc/usr_intf/halui.cc
+++ b/src/emc/usr_intf/halui.cc
@@ -207,7 +207,7 @@ DONE: - spindle-override
 
 */
 
-#define MDI_MAX 10
+#define MDI_MAX 64
 
 struct halui_str {
     hal_bit_t *machine_on;         //pin for setting machine On

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to