- Posts: 59
- Thank you received: 0
Disable jogging until machine is homed
5 years 4 months ago #212312
by MichalHK
Disable jogging until machine is homed was created by MichalHK
Hi all,
is it possible disable all moving (jogging) until hachine is homed first.
For safety reason I would like disable all movings until user press home button.
Thanks Michal
is it possible disable all moving (jogging) until hachine is homed first.
For safety reason I would like disable all movings until user press home button.
Thanks Michal
Please Log in to join the conversation.
5 years 4 months ago #212361
by andypugh
Replied by andypugh on topic Disable jogging until machine is homed
I think that this is the default with kinstype=both.
Try adding "kinstype = Both" at the end of of the [KINS]KINEMATICS section of the INI file.
Try adding "kinstype = Both" at the end of of the [KINS]KINEMATICS section of the INI file.
Please Log in to join the conversation.
5 years 4 months ago #212363
by BigJohnT
Replied by BigJohnT on topic Disable jogging until machine is homed
linuxcnc.org/docs/2.8/html/man/man9/kins.9.html
From the man page...
Use kinstype=B (KINEMATICS_BOTH) for configurations that need to move joints independently (joint mode) or as coordinated (teleop) movements in world coordinates.
When using the axis gui with KINEMATICS_BOTH, the ’$’ key is used to toggle between joint and teleop (world) modes.
An axis letter may be used more than once (duplicated) to assign multiple joints to a single axis coordinate letter.
Example: coordinates=xyyzw kinstype=B
Assigns: x==joint0, y==joint1 AND joint2, z==joint3, w==joint4
The above example illustrates a gantry configuration that uses duplicated coordinate letters to indicate that two joints (joint1 and joint2) move a single axis (y). Using kinstype=B allows the configuration to be toggled between joint and world modes of operation. Homing configuration options are available to synchronize the final homing move for selected joints -- see the documentation for Homing Configuration.
NOTES for duplicated coordinates:
When duplicated coordinate letters are used, specifying KINEMATICS_BOTH (kinstype=
allows a gui to support jogging of each individual joint in joint mode. Caution is required for machines where the movement of a single joint (in a set specified by a duplicated coordinate letter) can lead to gantry racking or other unwanted outcomes. When the kinstype= parameter is omitted, operation defaults to KINEMATICS_IDENTITY (kinstype=1) and a gui may allow jogging based upon a selected axis coordinate letter (or by a keyboard key) before homing is completed and the machine is still in joint mode. The joint selected will depend upon the gui implementation but typically only one of the multiple joints in the set will jog. Consequently, specifying KINEMATICS_BOTH is recommended as it enables support for unambiguous, independent jogging of each individual joint. Machines that implement homing for all joints (including the provisions for synchronizing the final homing move for multiple joints) may be homed at machine startup and automatically switch to world mode where per-coordinate jogging is available.
I don't have kins both on my BP and you can not jog until all axes are homed. Maybe I need to add kins both so I can jog before homing.
JT
From the man page...
Use kinstype=B (KINEMATICS_BOTH) for configurations that need to move joints independently (joint mode) or as coordinated (teleop) movements in world coordinates.
When using the axis gui with KINEMATICS_BOTH, the ’$’ key is used to toggle between joint and teleop (world) modes.
An axis letter may be used more than once (duplicated) to assign multiple joints to a single axis coordinate letter.
Example: coordinates=xyyzw kinstype=B
Assigns: x==joint0, y==joint1 AND joint2, z==joint3, w==joint4
The above example illustrates a gantry configuration that uses duplicated coordinate letters to indicate that two joints (joint1 and joint2) move a single axis (y). Using kinstype=B allows the configuration to be toggled between joint and world modes of operation. Homing configuration options are available to synchronize the final homing move for selected joints -- see the documentation for Homing Configuration.
NOTES for duplicated coordinates:
When duplicated coordinate letters are used, specifying KINEMATICS_BOTH (kinstype=
I don't have kins both on my BP and you can not jog until all axes are homed. Maybe I need to add kins both so I can jog before homing.
JT
Please Log in to join the conversation.
5 years 4 months ago #212369
by andypugh
Replied by andypugh on topic Disable jogging until machine is homed
Right, so I have it back-to-front.
Please Log in to join the conversation.
5 years 1 month ago #221888
by jurod
Replied by jurod on topic Disable jogging until machine is homed
So how disable all moving until machine is homes first ? In version 2.7.xx pin motion.feed-inhibit did it. Very necessary for me.
Please Log in to join the conversation.
5 years 1 month ago #221889
by phillc54
Replied by phillc54 on topic Disable jogging until machine is homed
If you set the HOME_SEQUENCE of a joint to a negative number then that will inhibit jogging that joint until homed.
Please Log in to join the conversation.
5 years 1 month ago #221893
by jurod
Replied by jurod on topic Disable jogging until machine is homed
Perfect. Thanks.
Please Log in to join the conversation.
- snowgoer540
- Offline
- Platinum Member
-
Less
More
- Posts: 2580
- Thank you received: 0
5 years 1 month ago #221898
by snowgoer540
Replied by snowgoer540 on topic Disable jogging until machine is homed
Just to add to this, generally the numbering for the home sequence starts at 0, but it is also valid to start the numbering at 1. If you wanted to make all axes disabled, then you would have to start the numbering at 1 instead of 0 so that you can set it negative.
Please Log in to join the conversation.
Time to create page: 0.107 seconds
