Cannot jog Gantry Machine
- racedirector
- Offline
- Elite Member
-
- Posts: 267
- Thank you received: 42
I setup [KINS] with
KINEMATICS = trivkins coordinates=XXYZ
JOINTS = 4
Then set [TRAJ]
AXES = 4
JOINTS = 4
COORDINATES = X X Y Z
If I set this any other way, for example AXES=3 then LCNC complains about JOINT_3 not existing. It also does not matter if I put X Y Z in coordinates, the problem remains.
JOINT_0 and JOINT_1 are the X motors
JOINT_2 is Y
JOINT_3 is Z
Homing setup with both X's at -1
Homing works fine, both X motors home at the same time, Y homes fines and Z is manual homing.
After that it all turns pear shaped...
Jogging X only jogs 1 motor, JOINT_0, horrible noises result.
Jogging Y actually jogs the other X motor (JOINT_1) resulting in more horrible noises.
I have read both Rods saga with GMoccapy and other threads on how to setup gantry's and don't quite get what I did wrong. Can anyone suggest where I should now look as this is driving me nuts. I thought GMOccapy was ready for gantry machines on 2.8 but something is very wrong here....
Cheers
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
- Posts: 18462
- Thank you received: 5042
Please Log in or Create an account to join the conversation.
- racedirector
- Offline
- Elite Member
-
- Posts: 267
- Thank you received: 42

Please Log in or Create an account to join the conversation.
- racedirector
- Offline
- Elite Member
-
- Posts: 267
- Thank you received: 42
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
- Posts: 20095
- Thank you received: 6839
I setup [KINS] with
KINEMATICS = trivkins coordinates=XXYZ
JOINTS = 4
Then set [TRAJ]
AXES = 4 <<<<<<<<<<<<<<< remove this
JOINTS = 4 <<<<<<<<<<<<<<< remove this
COORDINATES = X X Y Z
It will work as is, and that is the normal behaviour you describe there.
You have to home the double axis before jogging, otherwise you have to look at it as a machine with 4 axis when in Joint mode. After homing it goes to World mode so you can jog normally.
Please Log in or Create an account to join the conversation.
- racedirector
- Offline
- Elite Member
-
- Posts: 267
- Thank you received: 42
Still no go, startup fails complaining about missing AXES
/home/cnc/linuxcnc-dev/scripts/linuxcnc '/home/cnc/linuxcnc/configs/bsww-mesa/bsww-mesa.ini'
LINUXCNC - 2.8.0~pre1
Machine configuration directory is '/home/cnc/linuxcnc/configs/bsww-mesa'
Machine configuration file is 'bsww-mesa.ini'
Starting LinuxCNC...
Found file(REL): ./bsww-mesa.hal
Note: Using POSIX realtime
./bsww-mesa.hal:6: Ini variable '[TRAJ]AXES' not found.
Shutting down and cleaning up LinuxCNC...
Note: Using POSIX realtime
LinuxCNC terminated with an error. You can find more information in the log:
/home/cnc/linuxcnc_debug.txt
and
/home/cnc/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
I am attaching my files for consideration...
Cheers
Please Log in or Create an account to join the conversation.
- racedirector
- Offline
- Elite Member
-
- Posts: 267
- Thank you received: 42
Please Log in or Create an account to join the conversation.
- racedirector
- Offline
- Elite Member
-
- Posts: 267
- Thank you received: 42
in "loadrt trivkens" I added "coordinates=xxyz"
and in "[TRAJ]" I changed coordinates to "X Y Z" only
and the machine now behaves itself. After homing X jog uses both X1 & X2, Y jog does Y only and Z jog does Z.
Now I can go on to adding everything else I need to get it working like Pathpilot.
Thanks those that looked and answered, I do appreciate it.
Cheers
Please Log in or Create an account to join the conversation.