What alternatives to gantrykins?

More
6 years 9 months ago #155243 by captain chaos
OK so i now have an old Acer computer running running Ubuntu 10.04 linux cnc 3 with a Latency of Base jitter 17,000 (ns). I have my old files # Kinematics lodart gantrykins.
Can anyone tell me how I go about setting up these original files in a gantrykins config to run on this computer with Ubuntu 10.04 Linuxcnc3.
this would be much appreciated
Thanks Paul.

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

More
6 years 9 months ago #155838 by andypugh
What do you mean by "LinuxCNC 3" ?

If you are using LinuxCNC 2.7, and you still have your old gantrykins configs, what is it that isn't working now?
The following user(s) said Thank You: captain chaos

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

More
More
6 years 9 months ago #155889 by captain chaos
Hi Andy thanks for your interest,

I am running Gecko 251 drives with MB-02V6 Bidirectional Breakout board
All Parallel ports are to be active high
I selected Gantry with gantrykins from configs and created desktop shortcut.
I then cut and pasted my files into the config .
When I try to run it on my machine I get the following.

[Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/realtime-2.6.32-122-rtai/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
LINUXCNC - 2.5.0
Machine configuration directory is '/home/paul/linuxcnc/configs/gantry'
Machine configuration file is 'gantry.ini'
INIFILE=/home/paul/linuxcnc/configs/gantry/gantry.ini
PARAMETER_FILE=emc.var
TASK=milltask
HALUI=
DISPLAY=axis
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Shutting down and cleaning up LinuxCNC...
Killing task linuxcncsvr, PID=2086
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done

Debug file information:
Can not find -sec MOT -var MOT -num 1
Can not find -sec IO -var IO -num 1
Can not find -sec LINUXCNC -var NML_FILE -num 1
Can not find -sec EMC -var NML_FILE -num 1
Could not open command file 'gan_xxyz.hal'
2086
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components

Kernel message information:
[ 980.116514] I-pipe: Domain RTAI registered.
[ 980.116530] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 980.116534] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 980.116543] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 980.116546] PIPELINE layers:
[ 980.116551] dfacde20 9ac15d93 RTAI 200
[ 980.116554] c085cb20 0 Linux 100
[ 980.148190] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 980.148476] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 980.148485] RTAI[sched]: hard timer type/freq = APIC/8333018(Hz); default timing: periodic; linear timed lists.
[ 980.148490] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2799658000 hz.
[ 980.148493] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
[ 980.148668] RTAI[usi]: enabled.
[ 980.307659] RTAI[math]: loaded.
[ 980.878644] RTAI[math]: unloaded.
[ 981.004568] SCHED releases registered named ALIEN RTGLBH
[ 981.021706] RTAI[malloc]: unloaded.
[ 981.120025] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 981.126321] I-pipe: Domain RTAI unregistered.
[ 981.126335] RTAI[hal]: unmounted.]

I removed the combined limit / home switches, spindle and probe from the machine to simplify things
may actually have complicated things :(
I have set Parallel port to SPP mode

Cheers Paul

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

More
6 years 9 months ago #155890 by andypugh
The error is:

Could not open command file 'gan_xxyz.hal'

So there is a file referenced in your INI which does not exist in your config folder.
The following user(s) said Thank You: captain chaos

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

More
6 years 9 months ago #156052 by captain chaos
Thank you very much for that Andy,
set the little old grey cells in motion, I remembered I posted my config way back so I went to my profile > Attachment Manager > #4 My Zip.Zip. - U Axis Configuration, had all my original files how lucky.
I simply took my old config folder (gan_xxyz ) dumped it in the configs folder created a shortcut to it with
CNC > Linux CNC > Linux CNC Configuration Selector
Ticked the create short cut box > hit OK

Now all I need to do is configure the Parallel Port

Thanks again

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

Time to create page: 0.238 seconds
Powered by Kunena Forum