Ext hard buttons duplicate Power_PB and Reset

More
7 months 1 week ago #344699 by ts
Hi, JT!

i didnt understand how to add functionallity, to doplicate fleglxgui buttons like a PowerPB and Reset (included functions, and there are not in Hal components) to the external hard electrical contacf buttons (ext btn already in hal, but where the pin signals to connect it)?

Thanks in advace!
TS

Please Log in or Create an account to join the conversation.

More
7 months 5 days ago #344811 by ts
Additional :
I tryed to add halui to have functionality of power on button and reset with external hard button, but somewhy there is an errors duing start of halui. May be flexgui didnt let halui to start?

Please Log in or Create an account to join the conversation.

More
7 months 5 days ago #344841 by JT
Flex GUI has nothing to do with halui.

This is my code for my BP external Estop.
Code:
# E-Stop Chain loadrt estop_latch count=1 addf estop-latch.0 servo-thread # E-Stop Loop net estop-loopin iocontrol.0.user-enable-out => estop-latch.0.ok-in net estop-loopout estop-latch.0.ok-out => iocontrol.0.emc-enable-in # E-Stop Reset net estop-reset iocontrol.0.user-request-enable net estop-reset => estop-latch.0.reset net remote-estop0 estop-latch.0.fault-in <= hm2_5i25.0.7i77.0.0.input-06-not

JT

Please Log in or Create an account to join the conversation.

More
7 months 4 days ago - 7 months 4 days ago #344864 by ts
Thanks for your answer.
I will try it

An what about External power button to switch ServoOn? I need separately button to send command the same as power_pb ib flexgui

TS
Last edit: 7 months 4 days ago by ts.

Please Log in or Create an account to join the conversation.

More
7 months 4 days ago #344874 by JT
Connect your external power button to halui.machine.on, note the estop must be released before pressing the power button.

JT

Please Log in or Create an account to join the conversation.

More
7 months 1 day ago - 7 months 1 day ago #344986 by ts
Ok, it is reset of latched estop.
And how to realise reset button for external errors, for example drives errors or external devises (torch head or edm generator)?

Also i couldnt startup halui component, but somehow flexgui send power on signal to drives , i want to know how to use the same logic and send signal the same way
Last edit: 7 months 1 day ago by ts.

Please Log in or Create an account to join the conversation.

Moderators: JT
Time to create page: 0.062 seconds
Powered by Kunena Forum