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

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

------------------------------------------------------------------------------
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



------------------------------------------------------------------------------
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