Motenc Card
- emad_ahmed2
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
10 Feb 2013 20:46 #29859
by emad_ahmed2
Motenc Card was created by emad_ahmed2
Hello,
I am trying to build another LinuxCNC system (currently running 4 machines on LinuxCNC using mesa 5i25) and I ran into a problem with version 2.5.
I am not sure if the card is not being recognized or if there is some other problem.
I even tried pulling a Motenc card from a running machine to verify that I don't have a bad card.
thanks
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.1
Machine configuration directory is '/home/home/linuxcnc/configs/motenc'
Machine configuration file is 'motenc.ini'
INIFILE=/home/home/linuxcnc/configs/motenc/motenc.ini
PARAMETER_FILE=motenc.var
TASK=milltask
HALUI=
DISPLAY=tkemc
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=1805
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
HAL: ERROR: function 'motenc.0.encoder-read' not found
motenc_motion.hal:9: addf failed
1805
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Kernel message information:
[ 2002.095406] I-pipe: Domain RTAI registered.
[ 2002.095410] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 2002.095412] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 2002.095437] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 2002.095439] PIPELINE layers:
[ 2002.095441] fa413e20 9ac15d93 RTAI 200
[ 2002.095443] c085cb20 0 Linux 100
[ 2002.112237] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 2002.112343] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 2002.112347] RTAI[sched]: hard timer type/freq = APIC/20781191(Hz); default timing: periodic; linear timed lists.
[ 2002.112350] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2660224000 hz.
[ 2002.112352] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
[ 2002.112409] RTAI[usi]: enabled.
[ 2002.156052] RTAI[math]: loaded.
[ 2002.617388] RTAI[math]: unloaded.
[ 2002.642899] SCHED releases registered named ALIEN RTGLBH
[ 2002.672270] RTAI[malloc]: unloaded.
[ 2002.772032] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 2002.773890] I-pipe: Domain RTAI unregistered.
[ 2002.773916] RTAI[hal]: unmounted.
I am trying to build another LinuxCNC system (currently running 4 machines on LinuxCNC using mesa 5i25) and I ran into a problem with version 2.5.
I am not sure if the card is not being recognized or if there is some other problem.
I even tried pulling a Motenc card from a running machine to verify that I don't have a bad card.
thanks
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.1
Machine configuration directory is '/home/home/linuxcnc/configs/motenc'
Machine configuration file is 'motenc.ini'
INIFILE=/home/home/linuxcnc/configs/motenc/motenc.ini
PARAMETER_FILE=motenc.var
TASK=milltask
HALUI=
DISPLAY=tkemc
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=1805
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
HAL: ERROR: function 'motenc.0.encoder-read' not found
motenc_motion.hal:9: addf failed
1805
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Kernel message information:
[ 2002.095406] I-pipe: Domain RTAI registered.
[ 2002.095410] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 2002.095412] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 2002.095437] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 2002.095439] PIPELINE layers:
[ 2002.095441] fa413e20 9ac15d93 RTAI 200
[ 2002.095443] c085cb20 0 Linux 100
[ 2002.112237] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 2002.112343] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 2002.112347] RTAI[sched]: hard timer type/freq = APIC/20781191(Hz); default timing: periodic; linear timed lists.
[ 2002.112350] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2660224000 hz.
[ 2002.112352] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
[ 2002.112409] RTAI[usi]: enabled.
[ 2002.156052] RTAI[math]: loaded.
[ 2002.617388] RTAI[math]: unloaded.
[ 2002.642899] SCHED releases registered named ALIEN RTGLBH
[ 2002.672270] RTAI[malloc]: unloaded.
[ 2002.772032] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 2002.773890] I-pipe: Domain RTAI unregistered.
[ 2002.773916] RTAI[hal]: unmounted.
Please Log in or Create an account to join the conversation.
10 Feb 2013 20:53 #29860
by cncbasher
Replied by cncbasher on topic Motenc Card
HAL: ERROR: function 'motenc.0.encoder-read' not found
motenc_motion.hal:9: addf failed
which motion controller card are you using ?
check your hal file on line 9 addf
motenc_motion.hal:9: addf failed
which motion controller card are you using ?
check your hal file on line 9 addf
Please Log in or Create an account to join the conversation.
- emad_ahmed2
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
10 Feb 2013 21:35 #29861
by emad_ahmed2
Replied by emad_ahmed2 on topic Motenc Card
I am using motenc lite card and I am can't finde Hal file
Please Log in or Create an account to join the conversation.
10 Feb 2013 22:40 #29862
by cncbasher
Replied by cncbasher on topic Motenc Card
Machine configuration directory is '/home/home/linuxcnc/configs/motenc'
Please Log in or Create an account to join the conversation.
- emad_ahmed2
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
18 Feb 2013 06:32 #30233
by emad_ahmed2
Replied by emad_ahmed2 on topic Motenc Card
I know but i am using the default file I need to know how to solve it
Please Log in or Create an account to join the conversation.
18 Feb 2013 07:12 #30235
by BigJohnT
Replied by BigJohnT on topic Motenc Card
Machine configuration directory is '/home/home/linuxcnc/configs/motenc'
Please Log in or Create an account to join the conversation.
- emad_ahmed2
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
22 Feb 2013 08:29 #30431
by emad_ahmed2
Replied by emad_ahmed2 on topic Motenc Card
i am finally found the error reason .........its very trivial reason ?????
its jumper position it must be 2 of them installed to set "ID0" its very stubbed
thank for every one tray to help me
its jumper position it must be 2 of them installed to set "ID0" its very stubbed
thank for every one tray to help me
Please Log in or Create an account to join the conversation.
Time to create page: 0.074 seconds