lathe programming
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23377
- Thank you received: 4966
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
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.
- RotarySMP
-
- Offline
- Platinum Member
-
Less
More
- Posts: 1491
- Thank you received: 551
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.
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.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23377
- Thank you received: 4966
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.
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.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23377
- Thank you received: 4966
29 Mar 2011 22:08 #8269
by andypugh
Replied by andypugh on topic Re:lathe programming
RotarySMP wrote:
www.bodgesoc.org/lathe/lathe.html
It's PyVCP, but there should be all you need here:I'd appreciate having your gladeVCP interface widget, if you'd help me with the setup steps.
www.bodgesoc.org/lathe/lathe.html
Please Log in or Create an account to join the conversation.
- RotarySMP
-
- Offline
- Platinum Member
-
Less
More
- Posts: 1491
- Thank you received: 551
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.
- RotarySMP
-
- Offline
- Platinum Member
-
Less
More
- Posts: 1491
- Thank you received: 551
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?
Any ideas what is wrong?
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23377
- Thank you received: 4966
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.
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.
- roach81
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
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?
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.
- ftkalcevic
- Offline
- Junior Member
-
Less
More
- Posts: 33
- Thank you received: 4
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.
- roach81
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
19 Jan 2012 09:28 #16929
by roach81
Replied by roach81 on topic Re:lathe programming
Please Log in or Create an account to join the conversation.
Moderators: Dan Falck
Time to create page: 0.229 seconds