I did a 'git pull' and built the 'run in place' version.
I modified the SherlineLathe_inch.ini file to have 2 axis and removed
the [Y Axis] and [joint_1] sections. I changed the [Z Axis] [joint_2]
to [Joint_1].
The SherlineLathe_inch.ini uses
HALFILE = core_stepper.hal
I think I need to cut out all the references to _2 and _2 and put a
stepper_xy.hal in my config directory. The Sherline mill config uses
stepper_xyza.hal in the config directory.
What do I cut out?
When I start linuxcnc I see:
LINUXCNC - 2.9.0~pre0
Machine configuration directory is
'/home/tomdean/linuxcnc/configs//by_machine.sherline.SherlineLathe'
Machine configuration file is 'SherlineLathe_inch.ini'
Starting LinuxCNC...
.
Found file(lib): /home/tomdean/RTAI/linuxcnc/lib/hallib/core_stepper.hal
/home/tomdean/RTAI/linuxcnc/lib/hallib/core_stepper.hal:23: Pin
'joint.2.motor-pos-cmd' does not exist
Shutting down and cleaning up LinuxCNC...
LinuxCNC terminated with an error. You can find more information in the
log:
/home/tomdean/linuxcnc_debug.txt
and
/home/tomdean/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
> cat ~/linuxcnc_debug.txt
30889
Stopping realtime threads
Unloading hal components
> cat ~/linuxcnc_print.txt
RUN_IN_PLACE=yes
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/home/tomdean/RTAI/linuxcnc/bin
LINUXCNC_TCL_DIR=/home/tomdean/RTAI/linuxcnc/tcl
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/home/tomdean/RTAI/linuxcnc/rtlib
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/home/tomdean/RTAI/linuxcnc/src/objects
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
INIFILE=/home/tomdean/linuxcnc/configs//by_machine.sherline.SherlineLathe/SherlineLathe_inch.ini
VERSION=1.1
PARAMETER_FILE=stepper.var
TASK=milltask
HALUI=
DISPLAY=axis
COORDINATES=X Z
KINEMATICS=trivkins coordinates=XZ
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Tom Dean
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users