Synchronize 2 axes in manual mode

More
20 Jul 2023 17:55 #275908 by angelnu
Synchronize 2 axes in manual mode was created by angelnu
It is possible to move 2 axes at the same time (synchronized) in manual mode by means of a joystick, the idea is to move the X axis and the A axis to position parts with helix. Enter the pitch of the helix in some text box and with the joystick or a button move the X axis and the A axis according to the pitch of the helix.

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

More
20 Jul 2023 19:40 #275912 by PCW
Replied by PCW on topic Synchronize 2 axes in manual mode
Should be possible in hal, basically a custom jogging mode...
The following user(s) said Thank You: angelnu

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

More
21 Jul 2023 04:07 #275926 by zz912
Replied by zz912 on topic Synchronize 2 axes in manual mode
I think that one of the ways could be switching the kinematics.
linuxcnc.org/docs/2.9/html/motion/switchkins.html
Normal kinematics:
A = A
Thread kinematics:
A = constant * Z

I am by no means a kinematics specialist.

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

More
22 Jul 2023 19:12 #276011 by angelnu
Replied by angelnu on topic Synchronize 2 axes in manual mode
Any example of how to perform a custom jogging mode?

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

More
22 Jul 2023 21:11 #276022 by PCW
Replied by PCW on topic Synchronize 2 axes in manual mode
Do you have normal joystick jogging set up?

That would be the first step.

Basically you would feed the jog count generated by the joystick component
to both A and Z jog count pins (axis.a.jog-counts and axis.z.jog-counts)
with a predefined jog scale for A and Z (axis.a.jog-scale and axis.z.jog-scale)

You would also have to set axis.a.jog-enable and axis.z.jog-enable
Ultimately you would like need some logic and perhaps multiplexer
components to allow selection of this specific mode while allowing the normal
per axis jog modes to still operate normally
The following user(s) said Thank You: tommylight

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

More
05 Sep 2023 19:49 #280024 by angelnu
Replied by angelnu on topic Synchronize 2 axes in manual mode
I have been very busy all month and I have not been able to resume the issue.
The joystick is connected to:
# --- JOG-X-POS ---
Net Jog-X-Pos <= Hm2_5i25.0.7i76.0.0.input-20

# --- Jog-X-Neg ---
Net Jog-X-Neg <= Hm2_5i25.0.7i76.0.0.input-21

How can I connect the joystick to the axis.x.jog-counts?
In the manual:
axis.l.jog-counts in S32

Connect to The "Counts" Pin of an External Encoder to use Physical Jog Wheel.

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

Time to create page: 0.059 seconds
Powered by Kunena Forum