Axis selection and move it by encoder handwell

More
02 Apr 2010 15:52 - 03 Apr 2010 11:15 #2493 by Banda
Hello to Everybody!!
I would like ask if somebody can help me.
I have build my equipment with Axis X,Y,Z,A,B,C and all is working well.
Emc2 is very nice!

Now I would like build a box with a selector of 6 position to associate to each axis.
(Position 1 Axis X, Position 2 Axis Y, Position 3 Axis Z, Position 4 Axis A, Position 5 Axis B, Position 6 Axis C) Each position will be associated at one input for example at the parport LP2 .

I have 3 parallel port on my Pc with Ubuntu 8.04 (Lp0 , Lp1 ,Lp2).
On the same box I would like connect one encoder with channel A and B on the same parport LP2.
This will move the selected axis by the selector in positive or negative positions in the value of minimum or maximum travel area of each axis.

In this mode I will use it for move each axis like in jog mode with very accuracy.
The scale of movement will be used from the button under the sign + and - of the jog dialog box present on the AXIS interface.

Please can somebody help me to realize it?
I'm not new on EMC2 but I don't have the experience to write the code myself
Very thanks for Your help !!
Kind Regards!!!
Luciano
Last edit: 03 Apr 2010 11:15 by BigJohnT.

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

More
03 Apr 2010 11:21 #2496 by BigJohnT
I had to edit out some characters that made your message not show up. Only standard punctuation is allowed or the forum software won't display the message.

Take a look at the MPG example.

www.linuxcnc.org/docview/html//examples_mpg.html

John

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

More
05 Apr 2010 09:15 #2516 by Banda
Dear John!!
Very Thanks for Your Quick Reply to me !!
Apologize me if I wrote with a different editor for mine message!
Now I write just from the forum's Editor!
Very thanks for Your help to me.
Now I understand better about MPG so I will try it with the Your information to me !!
I hope I can realize it otherwise i will ask again to You and Your Big Experience!
It's a Big pleasure for me!!
Very Thanks Again,
Arrivederci a presto,
Kind Regards,
Luciano!

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

Time to create page: 0.117 seconds
Powered by Kunena Forum