No, you need to create a [HALUI] section in you main INI file, and add
these elements.


Rick

On 04/20/2016 11:31 AM, [email protected] wrote:
> So you're saying [HALUI] in a supplemental .ini file?  
> Alright, that sounds like the problem!
> 
> 
> Are there more elements which will only work if placed in the main .ini file?
> 
> layout20.ini has [XHC_HB04_BUTTONS], [EMC], [HAL], [XHC_HB04_CONFIG], and 
> [APPLICATIONS].
> 
> I'm guessing [EMC] and [HAL] need to be in the main .ini, right?  What about 
> [APPLICATIONS]?
> 
> 
> [XHC_HB04_BUTTONS]
> step        = xhc-hb04.stepsize-up
> spindle     = halui.spindle.start
> 
> So, the step size did not go up when I pressed the button.  Spindle didn't 
> start.  Those are NOT an MDI, so I still have another problem, right?  What 
> might it be?
> 
> Danny
> 
> 
> ---- andy pugh <[email protected]> wrote: 
>> On 20 April 2016 at 07:29, Danny Miller <[email protected]> wrote:
>> IIRC the halui.mdi-command-01 etc didn't seem to exist under halui.
> 
> 
> Those pins are created by halui based on the MDI_COMMAND entries in
> the [HALUI] section of the main INI file.
> 
> So, you need to find or create a [HALUI] section in your main .ini
> file (as many as you need) and each one will define a single-line
> G-code command that will be run when the corresponding HAL pin is
> triggered.
> 
> http://linuxcnc.org/docs/2.7/html/config/ini-config.html#_halui_section
> 
> For more complex actions your MDI_COMMAND can be a subroutine call
> such as O<machine_interocitor> CALL
> 

-- 
Thanks


Rick Lair
Superior Roll & Turning LLC
399 East Center Street
Petersburg MI, 49270
PH: 734-279-1831
FAX: 734-279-1166
www.superiorroll.com

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to