external start

More
18 May 2019 03:09 #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 or Create an account to join the conversation.

More
18 May 2019 06:47 #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 or Create an account to join the conversation.

More
18 May 2019 06:58 #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 or Create an account to join the conversation.

More
18 May 2019 09:11 - 18 May 2019 09:24 #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
Last edit: 18 May 2019 09:24 by pl7i92. Reason: Video
The following user(s) said Thank You: phoenix

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

More
18 May 2019 09:38 #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 or Create an account to join the conversation.

More
18 May 2019 09:40 #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 or Create an account to join the conversation.

More
18 May 2019 09:46 #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 or Create an account to join the conversation.

More
18 May 2019 09:48 #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 or Create an account to join the conversation.

More
18 May 2019 09:54 #134145 by phoenix
Replied by phoenix on topic external start

File Attachment:

File Name: custom.hal
File Size:0 KB

File Attachment:

File Name: start.hal
File Size:3 KB

File Attachment:

File Name: start.ini
File Size:2 KB



these are my files
thanks buddy your help is greatly appreciated
Attachments:

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

More
18 May 2019 10:05 #134149 by phoenix
Replied by phoenix on topic external start
i need help qickly

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

Time to create page: 0.091 seconds
Powered by Kunena Forum