Mist and Flood

If you have a question about the software please ask it here.

Mist and Flood

Postby kljosc » Mon Nov 05, 2018 6:41 pm

Hi *,

I have a fogbuster and 2 solenoids between the coolant tank and the nozzle to control the air (M7) and coolant flow (M8). Now I tried to change the M8.txt to

exec.Miston();
exec.Floodon();

so the coolant is always sprayed with air and not dripping out of the nozzle when pushing the Flood button. But this does not work. It seems that only exec.Floodon() is executed. But, calling M8 from the MDI works as expected.
Could someone please explain what's wrong.

Thanks
Klemens
kljosc
 
Posts: 5
Joined: Sun Jun 03, 2018 1:52 pm

Re: Mist and Flood

Postby dezsoe » Mon Nov 05, 2018 8:19 pm

I don't know the reason, but that four buttons (M3, M4, M7 and M8) works the way you wrote: the buttons execute internally, but when you type the word in MDI or run them in g-code they execute their macro. You can work around writing macros for the buttons (and changing their button number) to call Mx with exec.Code(). (Don't forget to check the current states, because M3 and M4 work different: when the current is on then you have to call M5 to turn off the spindle.)
dezsoe
 
Posts: 594
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: Mist and Flood

Postby kljosc » Wed Nov 07, 2018 6:02 am

Ah, thanks. Now it's clear. The button does not call M7 or M8 directly. I will test it with a new macro for the buttons.

Klemens
kljosc
 
Posts: 5
Joined: Sun Jun 03, 2018 1:52 pm


Return to Ask a question from support here

Who is online

Users browsing this forum: No registered users and 5 guests