lathe programming

More
28 Mar 2011 20:40 #8224 by andypugh
Replied by andypugh on topic Re:lathe programming
Sorry, I didn't actually answer your questions, did I?

The XML file goes in the same directory as the HAL and INI files.
See section 1.4 here for how to get that panel to display:
www.linuxcnc.org/docs/2.2/html/hal_pyvcp...#sec:pyvcp-with-axis

You will need to tweak the HAL code to suit your signal names. If you start emc2 from the command-line (just type emc ) then you will get a message about what is wrong when it can't find a pin or signal name. Just keep at it until it stops complaining :-)

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

More
28 Mar 2011 20:48 #8227 by RotarySMP
Replied by RotarySMP on topic Re:lathe programming
Do you know the planned release date for a live image of 2.5? If it is soon, I might wait, but I would really like to get some form of conversational programming running, as writing numerous turning or facing routines soon gets old.

I spent about three hours yesterday trying to work out what I needed to do to get NGCGUI or your pyVCP panel installed. It was time well invested, as I have not done much in Linux or EMC before. I didn't get to a result though.

I'd appreciate having your gladeVCP interface widget, if you'd help me with the setup steps.

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

More
29 Mar 2011 10:41 #8253 by andypugh
Replied by andypugh on topic Re:lathe programming
I will try to pull the current config off of the lathe tonight, and update the web page.

However, when you watch Dewey and NGCGUI in action, that does look like a better solution.

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

More
29 Mar 2011 22:08 #8269 by andypugh
Replied by andypugh on topic Re:lathe programming
RotarySMP wrote:

I'd appreciate having your gladeVCP interface widget, if you'd help me with the setup steps.

It's PyVCP, but there should be all you need here:
www.bodgesoc.org/lathe/lathe.html

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

More
30 Mar 2011 07:21 #8277 by RotarySMP
Replied by RotarySMP on topic Re:lathe programming
Thanks Andy. It'll be Friday before I can install this, but look forward to learning how to use it over the weekend.

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

More
31 Mar 2011 15:55 #8331 by RotarySMP
Replied by RotarySMP on topic Re:lathe programming
The spindle speed display is running correctly now, but commanding g33 Z-20 K1 (metric lathe) returns an error that the spindle is not running even though it is. I commanded S500 before the G33 command.

Any ideas what is wrong?

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

More
31 Mar 2011 16:12 #8332 by andypugh
Replied by andypugh on topic Re:lathe programming
You probably have one or more of the required speed feedback pins back into the motion controller unconnected.
linuxcnc.org/docs/html/examples_spindle....-Synchronized-Motion

specifically motion.spindle-revs, motion.spindle-speed-in & motion.spindle-index-enable

it should be OK to make the missing connections in the custom_postgui HAL file.

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

More
19 Jan 2012 07:01 #16921 by roach81
Replied by roach81 on topic Re:lathe programming
i have error on start GWiz:

Ignoring attempt to set cHRM RGB triangle with zero area

what's the problem?

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

More
19 Jan 2012 07:23 #16922 by ftkalcevic
Replied by ftkalcevic on topic Re:lathe programming
Is there any other messages? That message looks like a warning not an error. Actually, googling the message shows it is only a warning. It has to do with a .png image being loaded. Are you customising GWiz?

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

More
19 Jan 2012 09:28 #16929 by roach81
Replied by roach81 on topic Re:lathe programming
ftkalcevic wrote:

Is there any other messages? That message looks like a warning not an error. Actually, googling the message shows it is only a warning. It has to do with a .png image being loaded. Are you customising GWiz?

Attachments:

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

Moderators: Dan Falck
Time to create page: 0.083 seconds
Powered by Kunena Forum