command to home Y axis
AXIS Help->Quick reference says the Home key will 'Send active joint home'. This does work for X and Z for me but nothing for Y. I'm using the master branch with KINEMATICS = trivkins coordinates=XYYZ.
Please Log in or Create an account to join the conversation.
I
Please Log in or Create an account to join the conversation.
config for a gantry with two joints (motors) driving a
single axis (coordinate letter).
The configuration is available from the Configuration
Selector as:
configs/sim/axis/gantry
No special hardware is needed (it's a simulation).
You can experiment with this axis-gui-based config to show
both 'Home All' and individual joint homing (and unhoming):
1) Home All ------------ a main screen button
2) Machine/Homing/ ----- menu dropdown
3) Machine/Unhoming/ --- menu dropdown
Note that when joints are synchronized (using negative
HOME_SEQUENCE numbers), the synchronized joints
are always homed together (not individually). Synchronized
joints cannot be jogged prior to homing but the corresponding
axis coordinate can be jogged after homing of course.
Using the trivkins specifier kinstype=both helps to clarify
the distinctions of joints and axis letters in this sim config.
Important notes for configuring machines with nontrivial kinematics
(including gantries with two motors for a single coordinate)
are at:
linuxcnc.org/docs/devel/html/getting-sta...dating-linuxcnc.html
and especially:
linuxcnc.org/docs/devel/html/getting-sta..._axes_specifications
More information on the trivkins kinematics module are in the man
page ($ man trivkins) or at:
linuxcnc.org/docs/devel/html/man/man9/trivkins.9.html
Excerpts from configs/sim/axis/gantry.ini:
[KINS]
JOINTS = 4
KINEMATICS = trivkins coordinates=XYZY kinstype=BOTH
# Notes:
# KINEMATICS coordinates=value MUST agree with [TRAJ]COORDINATES
#
# X: JOINT_0
# Y: JOINT_1 and JOINT_3
# Z: JOINT_2
#
# kinstype=BOTH specifies non-identity kinematics
#
# HOME ALL sequence:
# HOME_SEQUENCE 0 (first) JOINT_0 (coordinate X)
# HOME_SEQUENCE -1 (second) JOINT_1 and JOINT_3 (coordinate Y)
# HOME_SEQUENCE 2 (third) JOINT_2 (coordinate Z)
# The negative (-1) sequence indicates synchronization of
# the final move for all joints in the sequence
...
[HAL]
HALFILE = gantrysim.hal
HALFILE = sim_spindle_encoder.hal
HALFILE = simulated-gantry-home.hal
...
[TRAJ]
COORDINATES = XYZY
Please Log in or Create an account to join the conversation.
$, 1, Home, Enter
I will update my config similar to this.
Please Log in or Create an account to join the conversation.
Homing is the process by which two coordinated joints are recognized as an axis - so there is no "Y axis" until homing of the two joints that comprise the Y axis is complete. You will be able to move the right and left sides of your ganty one at a time - but this can totally mess things up, racking, bending and possibly breaking your gantry. Until a coordinated homing cycle is complete you will remain in Joint Mode - only after successfully homing will the controller combine the two joints and switch to World Mode, where your axes earn their letter names.
Just be careful out there!
Please Log in or Create an account to join the conversation.
Incorrect.You will be able to move the right and left sides of your
ganty one at a time
As mentioned earlier:
Synchronized joints cannot be jogged prior to homing but
the corresponding axis coordinate can be jogged after homing of
course.
This behavior is documented in the section on HOME_SEQUENCE (3.10):
in the chapter on 'Homing Configuration'. Excerpt:
Joint mode jogging of joints having a negative HOME_SEQUENCE
is disallowed. In common gantry applications, such jogging can lead
to misalignment (racking). Note that conventional jogging in
world coordinates is always available once a machine is homed.
Ref: linuxcnc.org/docs/devel/html/config/ini-homing.html
linuxcnc.org/docs/devel/html/config/ini-....html#_home_sequence
Some machines with complex kinematics require a calibration
procedure to jog joints prior to homing but the homing final
moves must be synchronized. This can be accomplished by changing
the HOME_SEQUENCE settings temporarily but provisions must be
made to inhibit homing under these conditions. The inifile
HOME_SEQUENCE items can be altered between runs or one can use a
different inifile for the calibration procedures. A method using
hal logic for doing this within a running system is described in
'3.14. Inhibiting Homing' in the referenced docs Homing
Configuration chapter.
Ref: linuxcnc.org/docs/devel/html/config/ini-...l#_inhibiting_homing
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
There are *no* releases of the master branch (2.8~pre).release of 2.8pre
Changes are made on an ongoing basis and may occasionally
break things or alter behavior.
Users building from git can monitor commits from
the command line ('$ git fetch' for instance); users
using deb packages from the buildbot may need to
monitor commit messages as the buildbot makes debs
when new commits are made.
Developers try to maintain the 'Updating' docs when
signficant behaviors are changed:
linuxcnc.org/docs/devel/html/getting-sta...dating-linuxcnc.html
However, the best information about the state of the master branch
is attained by monitoring the commit messages made with
each commit.
Ref: github.com/LinuxCNC/linuxcnc/commits/master
Users need to understand the potential instabilities and
the risk inherent in any software particularly a code
with ongoing development.
Please Log in or Create an account to join the conversation.
I find I can home Y through the menu (in either World mode or Joint mode) Machine->Homing->Home Joint 1 (Sequence -1 SYNC)
or Home Joint 2 (Sequence -1 SYNC)
The Home shortcut key, however, does not work in World mode. If pressed, there is a message in the terminal "home_joint <y> Use joint mode for homing".
Please Log in or Create an account to join the conversation.
In the axis gui, you can toggle between world and joint mode with the '$' key.
Please Log in or Create an account to join the conversation.