one button multiple functions

More
20 Dec 2011 09:35 #15891 by fabworx
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.

More
10 Apr 2012 18:39 #19108 by joekline9
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

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

More
10 Apr 2012 20:11 #19109 by BigJohnT
Instead of hijacking a 3 month old thread you should start a new one...

John

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

More
11 Apr 2012 06:22 #19121 by ArcEye
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

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

Time to create page: 0.092 seconds
Powered by Kunena Forum