Re: [Emc-developers] manual tool change

2022-12-01 Thread Nicklas SB Karlsson
Have implemented a manual tool change component.

To release tool hydraulic pump is started and stopped. To clamp tool
hydraulic pressure have to be released. There is also two digital
inputs from sensors that will tell if open or closed.

There is buttons to unlock tool, clamp tool and tell then done
otherwise machine woule start immediately then clamped.


Nicklas Karlsson



tor 2022-12-01 klockan 10:37 -0600 skrev Jon Elson:
> On 11/21/22 19:35, Jon Elson wrote:
> 
> I have a user who tried to implement the manual tool change 
> button in LinuxCNC 2.8, he says there is no continue button 
> displayed.
> His original code was :
> 
> loadusr-W hal_manualtoolchange
> 
> net tool-change iocontrol.0.tool-change => 
> hal_manualtoolchange.change
> 
> net tool-changed iocontrol.0.tool-changed <= 
> hal_manuatoolchange.changed
> 
> net tool-number iocontrol.0.tool-prep-number => 
> hal_manualtoolchange.number
> 
> net tool-prepare-loopback iocontrol.0.tool-prepare => 
> iocontrol.0.toolprepared
> 
> net tool-changed-btn hal_manualtoolchange.change_button <= 
> parport.0.pin-15-in
> 
> This would not start, as there was no parport in his 
> system.  I told him to just delete the last line, I assumed 
> this would just use the on-screen  button to continue from 
> the tool change.  But, now he doesn't get a "continue" 
> button on the screen.  Does the new version require a 
> hardware button, or require a signal to be netted to the 
> hal_manualtoolchange.change_button?
> 
> Thanks for any insight, I don't use this feature at the moment.
> 
> Jon
> 
> 
> 
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers




___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] manual tool change

2022-12-01 Thread andy pugh
On Thu, 1 Dec 2022 at 16:42, Jon Elson  wrote:

> Thanks for any insight, I don't use this feature at the moment.
>

It seems to work fine in a simulator (sim/axis_mm) without anything
connected to hal_manualtoolchange.change_button.

Perhaps he has an odd graphics setup or skin that is making the button not
show up?

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

___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] manual tool change

2022-12-01 Thread Jon Elson

On 11/21/22 19:35, Jon Elson wrote:

I have a user who tried to implement the manual tool change 
button in LinuxCNC 2.8, he says there is no continue button 
displayed.

His original code was :

loadusr-W hal_manualtoolchange

net tool-change iocontrol.0.tool-change => 
hal_manualtoolchange.change


net tool-changed iocontrol.0.tool-changed <= 
hal_manuatoolchange.changed


net tool-number iocontrol.0.tool-prep-number => 
hal_manualtoolchange.number


net tool-prepare-loopback iocontrol.0.tool-prepare => 
iocontrol.0.toolprepared


net tool-changed-btn hal_manualtoolchange.change_button <= 
parport.0.pin-15-in


This would not start, as there was no parport in his 
system.  I told him to just delete the last line, I assumed 
this would just use the on-screen  button to continue from 
the tool change.  But, now he doesn't get a "continue" 
button on the screen.  Does the new version require a 
hardware button, or require a signal to be netted to the 
hal_manualtoolchange.change_button?


Thanks for any insight, I don't use this feature at the moment.

Jon



___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers