one button multiple functions
would classic ladder be the way to do it or just in hal. any help in the right direction would be greatly appreciated.
also im having trouble figuring out how to make the pc startup with axis in full screen. i have it currently starting up with axis but it is in reduced mode i have to maximize the axis screen and it would be nice to see it startup like a pro machine interface.
Please Log in or Create an account to join the conversation.
I think it would be easiest in a custom HAL component, written using comp. (which is basically C with a bunch of macros for creating HAL pins etc)
linuxcnc.org/docs/html/hal_comp.html
Please Log in or Create an account to join the conversation.
There is a program that can make Axis start in full screen mode but I forget the funny name it has...
John
Please Log in or Create an account to join the conversation.
how would i write hal so that each press of the same button would cycle to the next function, also how do i tell axis which step to be in through hal. step meaning, 0.01, or 0.001 or what ever.
Please Log in or Create an account to join the conversation.
how would i write hal so that each press of the same button would cycle to the next function
Lots of And2 functions. And Or2 too. Perhaps some Oneshots and WeightedSums.
Probably a mux4 for the feedrate.
Look at the Realtime Components here:
www.linuxcnc.org/docview/html/
You will need to draw a logic diagram.
I still contend that C is easier, even if you have to learn it.
Please Log in or Create an account to join the conversation.
There is a program that can make Axis start in full screen mode but I forget the funny name it has...
John
You are probably thinking of 'devilspie' which is supposed to work for this.
I have never had a problem just doing 'Alt-Space X' takes longer to say than do.
regards
Please Log in or Create an account to join the conversation.
John
Please Log in or Create an account to join the conversation.
also im having trouble figuring out how to make the pc startup with axis in full screen. i have it currently starting up with axis but it is in reduced mode i have to maximize the axis screen and it would be nice to see it startup like a pro machine interface.
To start Axis in full screen mode in your ~.axisrc file place the following
maxgeo=root_window.tk.call("wm","maxsize",".")
fullsize=maxgeo.split(' ')[0] + 'x' + maxgeo.split(' ')[1]
root_window.tk.call("wm","geometry",".",fullsize)
To start Axis with a special size use:
root_window.tk.call("wm","geometry",".","1000x600")
John
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
John
Please Log in or Create an account to join the conversation.