one button multiple functions
20 Dec 2011 09:35 #15891
by fabworx
Replied by fabworx on topic Re:one button multiple functions
I had just tried that as you responded thanx again im heading to Ned now that its loading without errors tomorrow I will make the physical connections and let you know how things go. I've been writing the hal completely from scratch. I've still got a lot to learn thanx alot for your expertise.
Please Log in or Create an account to join the conversation.
10 Apr 2012 18:39 #19108
by joekline9
Replied by joekline9 on topic Re:one button multiple functions
Hi,
I am new to EMC2.
I have a test machine (Desktop mill with 4 axis servos via Mesa 5i20).
My goal is to retro several large machines.
I'm using AXIS gui with pyvcp.
I am having trouble finding which pins and signals to use.
Is there a way to show what is driving each pin?
Where can I find the source code for AXIS?
I am trying to use external hardware buttons to increase and decrease feed override and control Program execution.
Would use comp if needed. I know 'C' pretty well but not with EMC.
I just need a simple example to get me started.
Joe Kline
I am new to EMC2.
I have a test machine (Desktop mill with 4 axis servos via Mesa 5i20).
My goal is to retro several large machines.
I'm using AXIS gui with pyvcp.
I am having trouble finding which pins and signals to use.
Is there a way to show what is driving each pin?
Where can I find the source code for AXIS?
I am trying to use external hardware buttons to increase and decrease feed override and control Program execution.
Would use comp if needed. I know 'C' pretty well but not with EMC.
I just need a simple example to get me started.
Joe Kline
Please Log in or Create an account to join the conversation.
10 Apr 2012 20:11 #19109
by BigJohnT
Replied by BigJohnT on topic Re:one button multiple functions
Instead of hijacking a 3 month old thread you should start a new one...
John
John
Please Log in or Create an account to join the conversation.
11 Apr 2012 06:22 #19121
by ArcEye
Replied by ArcEye on topic Re:one button multiple functions
Hi
Quick input, then suggest as John says you re-post under either Axis or Advanced Configuration, whichever matches your query best.
Axis is a python script, so it is its own source code.
If you are familiar with C you will be able to read it, albeit the lack of terminating semicolons and the use of strict indentation instead of curly braces does confuse sometimes.
Anything starting def: is basically a function in C terms and they have to be declared before use, as in C, albeit they will not necessarily all be at the header of the file, that would be too easy!
Once you have had a chance to assimilate what Axis does and decide exactly which bits you need to do, fire away.
regards
Quick input, then suggest as John says you re-post under either Axis or Advanced Configuration, whichever matches your query best.
Axis is a python script, so it is its own source code.
If you are familiar with C you will be able to read it, albeit the lack of terminating semicolons and the use of strict indentation instead of curly braces does confuse sometimes.
Anything starting def: is basically a function in C terms and they have to be declared before use, as in C, albeit they will not necessarily all be at the header of the file, that would be too easy!
Once you have had a chance to assimilate what Axis does and decide exactly which bits you need to do, fire away.
regards
Please Log in or Create an account to join the conversation.
Time to create page: 0.123 seconds