This is the error. I assume the relevant bit is "parameter or pin 'hal_pi_gpio.pin-29.invert_output' not found". I've tried lots of variations and no luck
Code:
Error report created by /usr/lib/tcltk/linuxcnc/show_errors.tcl:
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/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.8.0
Machine configuration directory is '/home/pi/linuxcnc/configs/Harrison_Vert_Mill'
Machine configuration file is 'Harrison_Vert_Mill.ini'
INIFILE=/home/pi/linuxcnc/configs/Harrison_Vert_Mill/Harrison_Vert_Mill.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=halui
DISPLAY=axis
COORDINATES=X Y Z
KINEMATICS=trivkins
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
twopass:invoked with <> options
twopass:found ./Harrison_Vert_Mill.hal
twopass:found ./custom.hal
twopass:pass0: loadusr -W hal_manualtoolchange
twopass: Error in file ./Harrison_Vert_Mill.hal:
setting parameter 'hal_pi_gpio.pin-29.invert_output' to 'TRUE'
parameter or pin 'hal_pi_gpio.pin-29.invert_output' not found
Shutting down and cleaning up LinuxCNC...
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Debug file information:
Note: Using POSIX realtime
3852
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
And this is how it appears in the HAL file
Code:
setp hal_pi_gpio.pin-29.invert_output TRUE
net xenable => hal_pi_gpio.pin-29-out
net xstep stepgen.0.step => hal_pi_gpio.pin-32-out
net ystep stepgen.1.step => hal_pi_gpio.pin-23-out
net zstep stepgen.2.step => hal_pi_gpio.pin-36-out
# i use GPIO 14,15,18 for xdir ydir zdir, thats rpin
net xdir stepgen.0.dir => hal_pi_gpio.pin-24-out
net ydir stepgen.1.dir => hal_pi_gpio.pin-19-out
net zdir stepgen.2.dir => hal_pi_gpio.pin-40-out