external start

More
7 years 5 months ago #134095 by phoenix
external start was created by phoenix
i need external start button in my program what files do i need to configure in order to do that

Please Log in to join the conversation.

More
7 years 5 months ago #134103 by rodw
Replied by rodw on topic external start
Halui is your friend. Check the docs but try halui.machine.on

Please Log in to join the conversation.

More
7 years 5 months ago #134106 by phoenix
Replied by phoenix on topic external start
I need more help than that i dont know anything about hal

OR JUST TELL ME WHICH FILES I NEED TO CONFIGURE AND ILL FIGURE IT OUT

Please Log in to join the conversation.

More
7 years 5 months ago #134120 by pl7i92
Replied by pl7i92 on topic external start
in the INI of your mashine
enable in HAL section POSTGUIFILE
# Single file that is executed after the GUI has started. Only supported by
# AXIS at this time (only AXIS creates a HAL component of its own)
POSTGUI_HALFILE = mtest_postgui.hal

HALUI = halui


THEN in the postgui FILE
# External Mashine on
net ext-mashine-on halui.machine.on <= YOUR PIN

video to do it Axis button



infos here
linuxcnc.org/docs/html/man/man1/halui.1.html


IF you tell us here where and how did you connect your button
we can give you the clear and correct command to put in postgui file

Please Log in to join the conversation.

More
7 years 5 months ago #134134 by phoenix
Replied by phoenix on topic external start
sir i connected that button to parport.0.15.in
i.e. pin no 15 on my parellal port

Please Log in to join the conversation.

More
7 years 5 months ago #134136 by pl7i92
Replied by pl7i92 on topic external start
thanks
then its
# External Mashine on
net ext-mashine-on halui.machine.on <= parport.0.pin-15-in

Please Log in to join the conversation.

More
7 years 5 months ago #134139 by phoenix
Replied by phoenix on topic external start
i added that line to my filename.hal axis starts without errror but button not doing anything
i have push button connected to pin 15

Please Log in to join the conversation.

More
7 years 5 months ago #134142 by pl7i92
Replied by pl7i92 on topic external start
can you please post the ini and Halfile

i guess you dident do what we talked about
there is to be a new HAL file inside your mashine Folder

Please Log in to join the conversation.

More
7 years 5 months ago #134145 by phoenix
Replied by phoenix on topic external start

Attachment not found

Attachment not found

Attachment not found




these are my files
thanks buddy your help is greatly appreciated

Please Log in to join the conversation.

More
7 years 5 months ago #134149 by phoenix
Replied by phoenix on topic external start
i need help qickly

Please Log in to join the conversation.

Time to create page: 0.099 seconds
Powered by Kunena Forum