Reduce Jog Speed for pendant

More
02 Jan 2024 22:40 #289614 by der hobbyist
Hi,
I use a 7i73 pendant board to control my lathe.
All works fine, but if I jog with the Mpg encoder the axis moves with max velocity.
I'm wondering if I can reduce the jogspeed with the jogspeed slider in gmoccapy.
Thanks in advance
 

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

More
03 Jan 2024 09:26 #289643 by Aciera
Replied by Aciera on topic Reduce Jog Speed for pendant
I think the 7i73 also provides some analog inputs. I have a potentiometer connected to a 7i76 but it should also work for you to control the jog velocity in gmoccapy like this:


# --- POTENTIOMETER 'FEEDRATE %' SETUP ---
setp scale.feed.gain 0.0425 #1/24
setp scale.max-speed.gain 60 #mm/s -> mm/min
net poti-feed-raw <= <your-7i73-analog-value> => scale.feed.in
net poti-feed-scaled <= scale.feed.out


# Postguihal: --- POTENTIOMETER FEED OVERRIDE ---
setp gmoccapy.jog.jog-velocity.analog-enable 1
net poti-feed-scaled => gmoccapy.jog.jog-velocity.direct-value

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

More
30 Jan 2024 15:32 #291987 by der hobbyist
Hi,
Thanks to your reply, I could add a potentiometer to control the jog velocity.
If I jog with the gui buttons all works fine, but with the encoder the jogspeed is not reduced.
Is there a hal pin to control pendant velocity?

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

Time to create page: 0.090 seconds
Powered by Kunena Forum