TCP 5-axis kinematics

More
6 years 11 months ago #150026 by plopes9000
Replied by plopes9000 on topic TCP 5-axis kinematics
I have only two cores on the linuxcnc machine :-) yeah one can try between number of cores and the double of that value. Any number bigger that one is an improvement ;-)
The following user(s) said Thank You: Leon82

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

More
6 years 11 months ago #150028 by 3D-Master
Replied by 3D-Master on topic TCP 5-axis kinematics
okay thank you plopes, it seems to have worked, i have manually added the code to the files in linuxcnc-master-branch and re ran make -j2 but when i start linuxcnc and manually call g12.1 p0 it still says unknown gcode

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

More
6 years 11 months ago #150029 by plopes9000
Replied by plopes9000 on topic TCP 5-axis kinematics
did you run it like below?

> cd linuxcnc-master-branch/src
> sudo make setuid
> source ../scripts/rip-environment
> linuxcnc <full path to you ini file>/<ini-file.ini>

Code:
> linuxcnc -v Verbose mode on RUN_IN_PLACE=yes LINUXCNC_DIR= LINUXCNC_BIN_DIR=/home/youruser/linuxcnc-master-branch/bin LINUXCNC_TCL_DIR=/home/youruser/linuxcnc-master-branch/tcl LINUXCNC_SCRIPT_DIR= LINUXCNC_RTLIB_DIR=/home/youruser/linuxcnc-master-branch/rtlib LINUXCNC_CONFIG_DIR= LINUXCNC_LANG_DIR=/home/youruser/linuxcnc-master-branch/src/objects INIVAR=inivar HALCMD=halcmd LINUXCNC_EMCSH=/usr/bin/wish8.5 LINUXCNC - 2.9.0~pre0

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

More
6 years 11 months ago #150032 by 3D-Master
Replied by 3D-Master on topic TCP 5-axis kinematics

did you run it like below?

> cd linuxcnc-master-branch/src
> sudo make setuid
> source ../scripts/rip-environment
> linuxcnc <full path to you ini file>/<ini-file.ini>


that worked (somehow 2.9 starts), but i need to do this every time because if i just start using the desktop icon it starts 2.8 and doesnt recognize the new g12 command. If i start with the terminal i can switch kinematics and start the g12.ngc program but if i go into mdi and enter for example g0 x0 sometimes it says "linear move on line 2 would exceed B`s positive limit" and "invalid param in linear command". Somehow sometimes if i enter g0 a0 it stays at 90 degrees. i need to test this more and then i can say what is really wrong or what i think is wrong.

thank you so far for your help

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

More
6 years 11 months ago #150033 by plopes9000
Replied by plopes9000 on topic TCP 5-axis kinematics
Yes you always need to make as below - simplified version.

You can put those in a shell script and call it from a desktop link. Not exactly sure how to do the desktop link but I’m sure mr google knows ;-)

cd linuxcnc-master-branch
> source scripts/rip-environment
> linuxcnc <full path to you ini file>/<ini-file.ini>

Assuming that you applied the changes without mistakes, if things don’t seam to work as expected, assume that either your configuration is incorrect or you are misunderstanding the correct behavior - I say this because the code does work, as I have tested it many times - I mean the switchkins code.

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

More
6 years 11 months ago #150034 by andypugh
Replied by andypugh on topic TCP 5-axis kinematics
Open the desktop icon with a text editor, and edit the command.

I have on that looks like this:
Code:
[Desktop Entry] Name=Holbrook Exec=linuxcnc-dev/scripts/linuxcnc '/home/andypugh/linuxcnc/configs/Holbrook/Holbrook.ini' Type=Application Comment= Icon=linuxcncicon

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

Time to create page: 0.182 seconds
Powered by Kunena Forum