Upgraded to 2.9 and stuck on 4.6. Add PlasmaC To Base Machine
02 Sep 2019 02:31 #143840
by TexasCNC
Replied by TexasCNC on topic Upgraded to 2.9 and stuck on 4.6. Add PlasmaC To Base Machine
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/realtime-3.4-9-rtai-686-pae/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
LINUXCNC - 2.9.0-pre0-525-gead53e6
Machine configuration directory is '/home/carr/linuxcnc/configs/torch_height'
Machine configuration file is 'torch_height.ini'
INIFILE=/home/carr/linuxcnc/configs/torch_height/torch_height.ini
VERSION=1.1
PARAMETER_FILE=imperial_parameters.txt
TASK=milltask
HALUI=halui
DISPLAY=axis
COORDINATES=X Y Z
KINEMATICS=trivkins coordinates=XYZ
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 ./torch_height.hal
twopass:found ./plasmac.hal
twopass:found ./torch_height_connections.hal
twopass: Error in file ./torch_height_connections.hal:
Pin '15' does not exist
Shutting down and cleaning up LinuxCNC...
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
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-3.4-9-rtai-686-pae/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
LINUXCNC - 2.9.0-pre0-525-gead53e6
Machine configuration directory is '/home/carr/linuxcnc/configs/torch_height'
Machine configuration file is 'torch_height.ini'
INIFILE=/home/carr/linuxcnc/configs/torch_height/torch_height.ini
VERSION=1.1
PARAMETER_FILE=imperial_parameters.txt
TASK=milltask
HALUI=halui
DISPLAY=axis
COORDINATES=X Y Z
KINEMATICS=trivkins coordinates=XYZ
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 ./torch_height.hal
twopass:found ./plasmac.hal
twopass:found ./torch_height_connections.hal
twopass: Error in file ./torch_height_connections.hal:
Pin '15' does not exist
Shutting down and cleaning up LinuxCNC...
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Please Log in or Create an account to join the conversation.
02 Sep 2019 02:31 #143841
by phillc54
Replied by phillc54 on topic Upgraded to 2.9 and stuck on 4.6. Add PlasmaC To Base Machine
That's better...
OK, the pin names need to be parport.0.pin-nn-out or parport.0.pin-nn-in like in your HAL file
OK, the pin names need to be parport.0.pin-nn-out or parport.0.pin-nn-in like in your HAL file
Please Log in or Create an account to join the conversation.
02 Sep 2019 02:31 #143842
by rodw
No its not.
Replied by rodw on topic Upgraded to 2.9 and stuck on 4.6. Add PlasmaC To Base Machine
here is the error
No its not.
Please Log in or Create an account to join the conversation.
02 Sep 2019 02:36 #143843
by phillc54
Replied by phillc54 on topic Upgraded to 2.9 and stuck on 4.6. Add PlasmaC To Base Machine
I just noticed that you already have those pins connected in your HAL file. You will need to comment them out there.
Please Log in or Create an account to join the conversation.
02 Sep 2019 02:44 #143846
by TexasCNC
Replied by TexasCNC on topic Upgraded to 2.9 and stuck on 4.6. Add PlasmaC To Base Machine
Where do I comment them out? Sorry I was trying to figure why the error wasn’t pasting.
Please Log in or Create an account to join the conversation.
02 Sep 2019 03:15 #143852
by phillc54
Replied by phillc54 on topic Upgraded to 2.9 and stuck on 4.6. Add PlasmaC To Base Machine
try this one:
Please Log in or Create an account to join the conversation.
02 Sep 2019 03:55 #143859
by TexasCNC
Replied by TexasCNC on topic Upgraded to 2.9 and stuck on 4.6. Add PlasmaC To Base Machine
Still get error for pin 15 does not exist
Please Log in or Create an account to join the conversation.
02 Sep 2019 03:56 #143860
by phillc54
Replied by phillc54 on topic Upgraded to 2.9 and stuck on 4.6. Add PlasmaC To Base Machine
Did you fix the name in your connections.hal
Please Log in or Create an account to join the conversation.
02 Sep 2019 03:59 #143861
by TexasCNC
Replied by TexasCNC on topic Upgraded to 2.9 and stuck on 4.6. Add PlasmaC To Base Machine
here?
net plasmac:arc-ok-in 15 => plasmac.arc-ok-in
net plasmac:float-switch 10 => debounce.0.0.in
# net plasmac:breakaway {YOUR BREAKAWAY PIN} => debounce.0.1.in
# net plasmac:ohmic-probe {YOUR OHMIC PROBE PIN} => debounce.0.2.in
# net plasmac:ohmic-enable plasmac.ohmic-enable => {YOUR OHMIC ENABLE PIN}
net plasmac:torch-on => 14
net plasmac:move-up 13 => plasmac.move-up
net plasmac:move-down 11 => plasmac.move-down
net plasmac:arc-ok-in 15 => plasmac.arc-ok-in
net plasmac:float-switch 10 => debounce.0.0.in
# net plasmac:breakaway {YOUR BREAKAWAY PIN} => debounce.0.1.in
# net plasmac:ohmic-probe {YOUR OHMIC PROBE PIN} => debounce.0.2.in
# net plasmac:ohmic-enable plasmac.ohmic-enable => {YOUR OHMIC ENABLE PIN}
net plasmac:torch-on => 14
net plasmac:move-up 13 => plasmac.move-up
net plasmac:move-down 11 => plasmac.move-down
Please Log in or Create an account to join the conversation.
02 Sep 2019 04:00 #143862
by phillc54
Replied by phillc54 on topic Upgraded to 2.9 and stuck on 4.6. Add PlasmaC To Base Machine
Yes, use this.
# Keep your plasmac i/o connections here to prevent them from
# being overwritten by updates or pncconf/stepconf changes
# Other customisations may be placed here as well
# This file is built by the configurator in your configuration directory
#***** debounce for the float switch *****
# the lower the delay here the better
# each 1 is a 0.001mm (0.00004") increase in probed height result
loadrt debounce cfg=3
setp debounce.0.delay 5
addf debounce.0 servo-thread
#***** arc voltage lowpass cutoff frequency *****
#***** change to the cutoff frequency you require *****
setp plasmac.lowpass-frequency 0
#***** the joint associated with the Z axis *****
net plasmac:axis-position joint.2.pos-fb => plasmac.axis-z-position
net plasmac:arc-ok-in parport.0.pin-15-in => plasmac.arc-ok-in
net plasmac:float-switch parport.0.pin-10-in => debounce.0.0.in
# net plasmac:breakaway {YOUR BREAKAWAY PIN} => debounce.0.1.in
# net plasmac:ohmic-probe {YOUR OHMIC PROBE PIN} => debounce.0.2.in
# net plasmac:ohmic-enable plasmac.ohmic-enable => {YOUR OHMIC ENABLE PIN}
net plasmac:torch-on => parport.0.pin-14-out
net plasmac:move-up parport.0.pin-13-in => plasmac.move-up
net plasmac:move-down parport.0.pin-11-in => plasmac.move-down
# a 1 here allows multiple tools to be used
# gcode M3 S1 needs to be changed to:
# M3 $0 S1 for the plasma torch
# M3 $1 S1 for the air scribe
setp plasmac.multi-tool 0
# net plasmac:air-scribe-arm plasmac.air-scribe-arm => ***YOUR_AIR_SCRIBE_ARMING_OUTPUT***
# net plasmac:air-scribe-start plasmac.air-scribe-start => ***YOUR_AIR_SCRIBE_START_OUTPUT***
Please Log in or Create an account to join the conversation.
Time to create page: 0.177 seconds