Pimping the mini-lathe

More
03 Dec 2020 23:55 #190989 by my1987toyota
Replied by my1987toyota on topic Pimping the mini-lathe
The Lathe looks great . A lot better then most of my stuff anyway. Hopefully Sunfounder will be of help with that ribbon cable.
The following user(s) said Thank You: RotarySMP

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

More
04 Dec 2020 17:40 - 04 Dec 2020 18:17 #191046 by RotarySMP
Replied by RotarySMP on topic Pimping the mini-lathe
Thanks. They asked for my order number and I sent it too them. Hope they get back to me soon.

I have my MPG connected as in this example:
gnipsel.com/linuxcnc/hardware/mpg.html

On my lathe the outputs are to axis.x.counts, and axis.z.counts. The whole signal change works in HALSHOW, with encoder movement changing all the counts through to those axis pins, but no motion. The appropriate axis.x.jog-enable (or axis.z.jog-enable) are both connected and working, but no motion happens. I have done a fair bit of searching but find no reference to Gmoccapy specific pins or settings I need for this to work.


It make no difference whether the axis is homed or not. No motion.

I have attached the postgui HAL. Please help.
Mark
Attachments:
Last edit: 04 Dec 2020 18:17 by RotarySMP. Reason: Add the hal file

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

More
04 Dec 2020 18:09 #191050 by tommylight
Replied by tommylight on topic Pimping the mini-lathe
Might want to ask in the Gmoccapy section of the forum as Norbert is busy and usually just checks that section.
The following user(s) said Thank You: RotarySMP

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

More
04 Dec 2020 20:24 #191064 by rodw
Replied by rodw on topic Pimping the mini-lathe

Might want to ask in the Gmoccapy section of the forum as Norbert is busy and usually just checks that section.


I did not use any gmocappy specific features. Its not required.

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

More
04 Dec 2020 20:25 #191065 by rodw
Replied by rodw on topic Pimping the mini-lathe
Ooops, my earlier reply did not stick. Sorry.

Mark, there is a step by step guide in my build (for a 7i76e)
forum.linuxcnc.org/show-your-stuff/32029...build?start=20#85279
Hope it helps.
The following user(s) said Thank You: tommylight

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

More
04 Dec 2020 20:44 #191067 by RotarySMP
Replied by RotarySMP on topic Pimping the mini-lathe
Thanks Rod, I have the encoder reading in, the axis select working, and the jog increment working. The jog counts are going to the assigned axis.[].jog-counts, but nothing is moving?

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

More
04 Dec 2020 20:52 #191070 by PCW
Replied by PCW on topic Pimping the mini-lathe
I don't see anyway that the jog scale values are set
The default scale is likely 0 so if these are not
set, I would not expect any motion

That is I don't see
joint.N.jog-scale
axis.C.jog-scale
connected in your hal file

They may be connected in you main hal file
but are certainly something to add to your
halshow debug watch list
The following user(s) said Thank You: RotarySMP

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

More
04 Dec 2020 21:01 #191071 by rodw
Replied by rodw on topic Pimping the mini-lathe
You seem to be connecting to gmocappy pins. My guess that driving the dro but not the machine.
My complete config

Warning: Spoiler!


I never have got ilowpass working nicely. get it wrong like I did and one click = 1 metre so be careful the first move!

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

More
04 Dec 2020 21:03 #191072 by rodw
Replied by rodw on topic Pimping the mini-lathe
Just an aside, my pendant has a yellow safety button that must be pressed to use the MPG dial. I use it to select the gmocappy jog tab otherwise noting will work.

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

More
04 Dec 2020 21:26 #191074 by RotarySMP
Replied by RotarySMP on topic Pimping the mini-lathe
Those last three lines:
net jog.inc1 select8.0.out1 => gmoccapy.jog.jog-inc-0
net jog.inc2 select8.0.out2 => gmoccapy.jog.jog-inc-1
net jog.inc3 select8.0.out3 => gmoccapy.jog.jog-inc-2

set the jog increments to continuous, 0.1mm and 0.01mm I defined in the Gmoccapy ini. This works. I flick that switch and the corresponding gmoccapy screen button becomes active. Also the on screen jog buttons follow this setting correctly.

I thought I had tried setting joint.[].jog-scale and axis.().jog-scale to 1 or other values to see if that did anything, but it makes sense if I am passing steps of 0, nothing happens. I'll try again setting them to 1 tomorrow.

Rod, I see you yellow jog activate button is net to halui.mode.teleop. I'll try netting my jog axis enable to that and see if it works.
Mark

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

Moderators: piasdom
Time to create page: 0.143 seconds
Powered by Kunena Forum