no option to home just Y axis on gantry with 2 Y motors

More
4 years 8 months ago #234837 by dbotos
Would it help to add a kinstype=BOTH callout to my INI file?  I'm assuming that's safe to do since my config has it so that nothing actually moves when it homes.

Is the error and failure to start LinuxCNC because of the homing thing or something about the formatting of the halcmd it's trying to run for gladevcp?
More
4 years 8 months ago #234842 by dbotos
I just noticed I had the "HALUI = halui" line in my INI file's [HAL] section commented out.  Should probably uncomment that since the VCP HAL file is calling out halui pins.  
More
4 years 8 months ago #234874 by dbotos
I uncommented the "HALUI = halui" line in the INI file's [HAL] section.  That had no effect on the error message, but was something that needed to be done anyway.

Then, I added "kinstype=BOTH" to the end of the "KINEMATICS = trivkins coordinates=XYZY" line in the [KINS] section.  That got rid of the part of the error message that said:
Code:
Note: Individual axis homing is not currently supported for KINEMATICS_IDENTITY with duplicate axis letter

But the other parts of the error were still there (the warning about forward kinematics handling duplicate coordinate letters and the GladeVCP command error).  Is there something wrong with the line that calls out GladeVCP in the INI file's [DISPLAY] section?  It currently says:
Code:
GLADEVCP = -u ./dbotos_laser_2_8_vcp.ui
More
4 years 8 months ago #234880 by rodw
I might be wrong and am too lazy to check the docs but I have a feeling shared joints must start with -1 in the ini file and you have used -2. Try changing that
More
4 years 8 months ago - 4 years 8 months ago #234882 by dbotos
From section 8.3.6.10 of the 2.8.2 documentation:

"The initial HOME_SEQUENCE number may be 0, 1 (or -1). The absolute value of sequence numbers must increment by one—
skipping sequence numbers is not supported. If a sequence number is omitted, HOME ALL homing will stop upon completion
of the last valid sequence number.

Negative HOME_SEQUENCE values indicate that joints in the sequence should synchronize the final move to [JOINT_n]HOME
by waiting until all joints in the sequence are ready. If any joint has a negative HOME_SEQUENCE value, then all joints with
the same absolute value (positive or negative) of the HOME_SEQUENCE item value will synchronize the final move.

A negative HOME_SEQUENCE also applies to commands to home a single joint. If the HOME_SEQUENCE value is negative,
all joints having the same absolute value of that HOME_SEQUENCE will be homed together with a synchronized final move.
If the HOME_SEQUENCE value is zero or positive, a command to home the joint will home only the specified joint."

My four joints have HOME_SEQUENCE values of 0, 1, and -2, which meets the first two rules.  The Y1 and Y2 joints having a negative value may be unnecessary since they're not actually moving during homing.
Last edit: 4 years 8 months ago by dbotos.
The following user(s) said Thank You: Clive S
More
4 years 8 months ago #234885 by Todd Zuercher
Kins type=both should not be necessary nore would I advise adding it. I didn't have it in my simulation. Adding it will give you access to joint mode and you really don't want the ability to jog the y joints independently.
Time to create page: 1.256 seconds
Powered by Kunena Forum