Customized Gscreen for gear Hobbing machine

More
3 years 10 months ago #259254 by Henk
Hi
I am deep into a retrofit of a Pfauter gear hobbing machine. 

The X and Y axes servos of the machine is driven by the same drive. It is a siemens 6RA... thyristor drive fitted with two independent speed regulators but only one output stage, meaning that you can only drive one of the two motors at any given time. 

I have this working, and i can select either axis using a switch and/or Mcode. 

I would like to disable the one not selected so that it cannot be jogged or commanded to move when not selected. 

I will probably end up making dedicated programs for hobbing gears for this machine, so i can make sure that only one of the two axes are commanded to move at any given time, but how do i prevent a user from jogging an axis that is not selected using the keyboard or gui (Axis)

Is there an easier way of controlling this other than a custom gui?

Henk

Please Log in to join the conversation.

More
3 years 10 months ago #259262 by zz912
You should look at JOINT UNLOCK PINS
in motion HAL component.
linuxcnc.org/docs/stable/html/man/man9/m...OINT%20UNLOCK%20PINS

Please Log in to join the conversation.

More
3 years 10 months ago #259315 by Henk
Hi
Thanks for the tip.

I explored this today. It creates the additional pins joint.N.unlock (out pin) and joint.N.is-unlocked (in), but it does not seem to have any effect when i drive joint.N.is-unlocked true or false.

The joint can be commanded and jogged as normal.

Please Log in to join the conversation.

More
3 years 10 months ago #259322 by andypugh
I don't think that there is an easy way to prevent the GUIs from jogging an axis, but button and mpg jogging prevention is as simple as setting the relevant jog-enable pin low.

Which GUI will you be using?

I made a GladeVCP panel for hobbing, though it isn't terribly pretty as it was just for my own use:
It does, however, automatically calculate the span-over-N-teeth check for when the gear is cut to the right profile (including profile shift)
wiki.linuxcnc.org/cgi-bin/wiki.pl?Hobbing

Please Log in to join the conversation.

More
3 years 10 months ago #259447 by Henk
Hi Andy
I have seen this before, nice work.

This is an embedded tab in Touchy correct? I had plans to do something similar with glade and embed it in axis.

A more elegant sollustion would be a dedicated UI though. Do you think this can be done with glade to build a standalone gui or would it be better to go with one of the newer QTvcp routes?

I am using axis, have never bothered with the other UI's.

Please Log in to join the conversation.

More
3 years 10 months ago #259450 by andypugh
My gear tab should embed OK in any GUI, certainly in Axis or Gmoccapy.

But yes, making a dedicated hobbing GUI should work. Maybe start with Gscreen, which is intentionally customisable but has most of the necessary stuff already implemented so you are not starting from scratch with things like e-stop release and power-on.

linuxcnc.org/docs/stable/html/gui/gscreen.html

Please Log in to join the conversation.

More
3 years 10 months ago #259481 by zz912
Are you try this:
axis.L.jog-enable IN BIT

When TRUE (and in manual mode), any change to "jog-counts" will result in motion. When false, "jog-counts" is ignored

?

Please Log in to join the conversation.

More
3 years 10 months ago #259534 by Henk
Hi
I can disable motion for any axis caused by esternal hardware like jog buttons, MPG and so on, but what i would like to prevent is following errors resulting from MDI commands that moves both X and Y, for example "G0 X0 Y200"

As Andy said, i dont think this is an easy task...

Please Log in to join the conversation.

More
3 years 10 months ago #259535 by Henk
Hi Andy
A modified Gscreen would be ideal. I was looking into this this morning using the sim >> Industrial Gscreen.

I could not find the xml, .ui, handler files

I will do some more digging and reading...

Please Log in to join the conversation.

More
3 years 10 months ago #259748 by tommylight
Spammer booted.

Please Log in to join the conversation.

Time to create page: 0.059 seconds
Powered by Kunena Forum