Retrofit an Emco Compact 6P-CNC

More
23 May 2014 09:11 #47220 by caviera
After one year, i decide take a look on this again. I succesfully compiled .comp but system now shows me this error:

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.4
Machine configuration directory is '/home/mech01/linuxcnc/configs/SherlineLathe'
Machine configuration file is 'SherlineLathe_mm.ini'
INIFILE=/home/mech01/linuxcnc/configs/SherlineLathe/SherlineLathe_mm.ini
PARAMETER_FILE=stepper.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=28892
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
core_stepper.hal:78: Pin 'parport.0.pin-10-in' does not exist
28892
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components

Kernel message information:
[ 7109.749873] I-pipe: Domain RTAI registered.
[ 7109.749878] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 7109.749880] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 7109.749905] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 7109.749907] PIPELINE layers:
[ 7109.749909] fdd33e20 9ac15d93 RTAI 200
[ 7109.749911] c085cb20 0 Linux 100
[ 7109.765841] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 7109.765994] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 7109.765999] RTAI[sched]: hard timer type/freq = APIC/12500318(Hz); default timing: periodic; linear timed lists.
[ 7109.766002] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2499921000 hz.
[ 7109.766004] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[ 7109.766076] RTAI[usi]: enabled.
[ 7109.799970] RTAI[math]: loaded.
[ 7110.098003] RTAI[math]: unloaded.
[ 7110.118357] SCHED releases registered named ALIEN RTGLBH
[ 7110.148276] RTAI[malloc]: unloaded.
[ 7110.248016] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 7110.249937] I-pipe: Domain RTAI unregistered.
[ 7110.249966] RTAI[hal]: unmounted.

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

More
23 May 2014 16:19 #47242 by cgc
Replied by cgc on topic Retrofit an Emco Compact 6P-CNC
core_stepper.hal:78: Pin 'parport.0.pin-10-in' does not exist

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

More
23 May 2014 19:16 #47250 by caviera

core_stepper.hal:78: Pin 'parport.0.pin-10-in' does not exist

Where can I declare this port and how?

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

More
23 May 2014 21:39 #47256 by andypugh

core_stepper.hal:78: Pin 'parport.0.pin-10-in' does not exist

Where can I declare this port and how?


It is created by the line "loadrt hal_parport..." somewhere in the HAL file.
It may be that the order in which HAL files have been specified in the INI file is incorrect and that the system is trying to net the pin before it has loaded the driver.
The following user(s) said Thank You: caviera

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

More
23 May 2014 21:46 #47257 by caviera
Thank you very much, I will check this.

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

Moderators: cncbasher
Time to create page: 0.065 seconds
Powered by Kunena Forum