Error by startup 4 axis machine
26 Jan 2014 20:16 #43195
by etnur
Error by startup 4 axis machine was created by etnur
Hey crazy guys, please excuse my bad English
.
Sorry, I have seen the problem was often discuss !
I have to read some threads but I didn't find the solution for my problem.
Since two years ago, I am use a 3 axis milling machine with EMC2 without problems.
In the last month I upgrade my machine with an second X/Y Portal, so I have two parallel X/Y portal with 4 axis for foam cutting.
I made a new (Simulation)Configuration for the 4 axis machine but it will not run, I became only an error message.
I hope anybody found my failure and can help me.
Here are the Copy from the error window.
In the appendix still hal and ini file.
THX a Lot.
Print file information:
RUN_IN_PLACE=no
EMC2_DIR=
EMC2_BIN_DIR=/usr/bin
EMC2_TCL_DIR=/usr/share/emc/tcl
EMC2_SCRIPT_DIR=
EMC2_RTLIB_DIR=/usr/realtime-2.6.32-122-rtai/modules/emc2
EMC2_CONFIG_DIR=
EMC2_LANG_DIR=/usr/share/emc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
EMC2_EMCSH=/usr/bin/wish8.5
EMC2 - 2.4.6
Machine configuration directory is '/home/frank/emc2/configs/Meine-Styro-Maschine'
Machine configuration file is 'Meine-Styro-Maschine.ini'
INIFILE=/home/frank/emc2/configs/Meine-Styro-Maschine/Meine-Styro-Maschine.ini
PARAMETER_FILE=emc.var
EMCMOT=motmod
EMCIO=io
TASK=milltask
HALUI=
DISPLAY=axis
NML_FILE=
Starting EMC2...
Starting EMC2 server program: emcsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting EMC2 IO program: io
Shutting down and cleaning up EMC2...
Killing task emcsvr, PID=4501
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done
Debug file information:
Meine-Styro-Maschine.hal:1: Unknown command ''
4501
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Kernel message information:
[ 3965.104135] I-pipe: Domain RTAI registered.
[ 3965.104139] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 3965.104140] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 3965.104158] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 3965.104160] PIPELINE layers:
[ 3965.104161] ff795e20 9ac15d93 RTAI 200
[ 3965.104163] c085cb20 0 Linux 100
[ 3965.116033] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 3965.116111] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 3965.116114] RTAI[sched]: hard timer type/freq = APIC/20833237(Hz); default timing: periodic; linear timed lists.
[ 3965.116116] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 3333475000 hz.
[ 3965.116118] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[ 3965.116159] RTAI[usi]: enabled.
[ 3965.139247] RTAI[math]: loaded.
[ 3965.364323] RTAI[math]: unloaded.
[ 3965.382308] SCHED releases registered named ALIEN RTGLBH
[ 3965.412206] RTAI[malloc]: unloaded.
[ 3965.512009] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 3965.513794] I-pipe: Domain RTAI unregistered.
[ 3965.513816] RTAI[hal]: unmounted.
![:( :(](/media/kunena/emoticons/sad.png)
Sorry, I have seen the problem was often discuss !
I have to read some threads but I didn't find the solution for my problem.
Since two years ago, I am use a 3 axis milling machine with EMC2 without problems.
In the last month I upgrade my machine with an second X/Y Portal, so I have two parallel X/Y portal with 4 axis for foam cutting.
I made a new (Simulation)Configuration for the 4 axis machine but it will not run, I became only an error message.
I hope anybody found my failure and can help me.
Here are the Copy from the error window.
In the appendix still hal and ini file.
THX a Lot.
Print file information:
RUN_IN_PLACE=no
EMC2_DIR=
EMC2_BIN_DIR=/usr/bin
EMC2_TCL_DIR=/usr/share/emc/tcl
EMC2_SCRIPT_DIR=
EMC2_RTLIB_DIR=/usr/realtime-2.6.32-122-rtai/modules/emc2
EMC2_CONFIG_DIR=
EMC2_LANG_DIR=/usr/share/emc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
EMC2_EMCSH=/usr/bin/wish8.5
EMC2 - 2.4.6
Machine configuration directory is '/home/frank/emc2/configs/Meine-Styro-Maschine'
Machine configuration file is 'Meine-Styro-Maschine.ini'
INIFILE=/home/frank/emc2/configs/Meine-Styro-Maschine/Meine-Styro-Maschine.ini
PARAMETER_FILE=emc.var
EMCMOT=motmod
EMCIO=io
TASK=milltask
HALUI=
DISPLAY=axis
NML_FILE=
Starting EMC2...
Starting EMC2 server program: emcsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting EMC2 IO program: io
Shutting down and cleaning up EMC2...
Killing task emcsvr, PID=4501
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done
Debug file information:
Meine-Styro-Maschine.hal:1: Unknown command ''
4501
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Kernel message information:
[ 3965.104135] I-pipe: Domain RTAI registered.
[ 3965.104139] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 3965.104140] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 3965.104158] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 3965.104160] PIPELINE layers:
[ 3965.104161] ff795e20 9ac15d93 RTAI 200
[ 3965.104163] c085cb20 0 Linux 100
[ 3965.116033] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 3965.116111] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 3965.116114] RTAI[sched]: hard timer type/freq = APIC/20833237(Hz); default timing: periodic; linear timed lists.
[ 3965.116116] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 3333475000 hz.
[ 3965.116118] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[ 3965.116159] RTAI[usi]: enabled.
[ 3965.139247] RTAI[math]: loaded.
[ 3965.364323] RTAI[math]: unloaded.
[ 3965.382308] SCHED releases registered named ALIEN RTGLBH
[ 3965.412206] RTAI[malloc]: unloaded.
[ 3965.512009] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 3965.513794] I-pipe: Domain RTAI unregistered.
[ 3965.513816] RTAI[hal]: unmounted.
Please Log in or Create an account to join the conversation.
26 Jan 2014 20:33 - 26 Jan 2014 21:40 #43196
by ArcEye
Replied by ArcEye on topic Error by startup 4 axis machine
Hi
This is the error
If you load your hal file into a proper Linux editor, there is a stray unprintable charactor which is rendered as a dot in front of the # on line one
Delete that, or the whole line and it should run
regards
PS
In fact if you put it through a Hex editor, there are 3 unprintable chars before the 0x23h char which is a #
If you edited this in a windoze editor or word processor, then this is why you should not
This range of charactors are used in unicode with languages that have charactors with diaeresis etc, so that could be something to do with it.
This is the error
Meine-Styro-Maschine.hal:1: Unknown command ''
If you load your hal file into a proper Linux editor, there is a stray unprintable charactor which is rendered as a dot in front of the # on line one
Delete that, or the whole line and it should run
regards
PS
In fact if you put it through a Hex editor, there are 3 unprintable chars before the 0x23h char which is a #
If you edited this in a windoze editor or word processor, then this is why you should not
This range of charactors are used in unicode with languages that have charactors with diaeresis etc, so that could be something to do with it.
Last edit: 26 Jan 2014 21:40 by ArcEye.
The following user(s) said Thank You: etnur
Please Log in or Create an account to join the conversation.
26 Jan 2014 22:21 #43198
by etnur
Replied by etnur on topic Error by startup 4 axis machine
Thank you for the tip, I never have to find that.
I have clean the hal file and search at the similar failure in the ini,
but emc don't run.![:( :(](/media/kunena/emoticons/sad.png)
The error message is the same.
Here the copy of the error window and the cleaned files.
THK for your Job.
Print file information:
RUN_IN_PLACE=no
EMC2_DIR=
EMC2_BIN_DIR=/usr/bin
EMC2_TCL_DIR=/usr/share/emc/tcl
EMC2_SCRIPT_DIR=
EMC2_RTLIB_DIR=/usr/realtime-2.6.32-122-rtai/modules/emc2
EMC2_CONFIG_DIR=
EMC2_LANG_DIR=/usr/share/emc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
EMC2_EMCSH=/usr/bin/wish8.5
EMC2 - 2.4.6
Machine configuration directory is '/home/frank/emc2/configs/Meine-Styro-Maschine'
Machine configuration file is 'Meine-Styro-Maschine.ini'
INIFILE=/home/frank/emc2/configs/Meine-Styro-Maschine/Meine-Styro-Maschine.ini
PARAMETER_FILE=emc.var
EMCMOT=motmod
EMCIO=io
TASK=milltask
HALUI=
DISPLAY=axis
NML_FILE=
Starting EMC2...
Starting EMC2 server program: emcsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting EMC2 IO program: io
Shutting down and cleaning up EMC2...
Killing task emcsvr, PID=7164
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done
Debug file information:
Meine-Styro-Maschine.hal:5: Empty variable name.
7164
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Kernel message information:
[14531.457888] I-pipe: Domain RTAI registered.
[14531.457892] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[14531.457894] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[14531.457912] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[14531.457914] PIPELINE layers:
[14531.457915] fef55e20 9ac15d93 RTAI 200
[14531.457917] c085cb20 0 Linux 100
[14531.469619] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[14531.469696] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[14531.469699] RTAI[sched]: hard timer type/freq = APIC/20833237(Hz); default timing: periodic; linear timed lists.
[14531.469701] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 3333475000 hz.
[14531.469703] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[14531.469746] RTAI[usi]: enabled.
[14531.493430] RTAI[math]: loaded.
[14531.723738] RTAI[math]: unloaded.
[14531.742167] SCHED releases registered named ALIEN RTGLBH
[14531.772205] RTAI[malloc]: unloaded.
[14531.872010] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[14531.873766] I-pipe: Domain RTAI unregistered.
[14531.873787] RTAI[hal]: unmounted.
I have clean the hal file and search at the similar failure in the ini,
but emc don't run.
![:( :(](/media/kunena/emoticons/sad.png)
The error message is the same.
Here the copy of the error window and the cleaned files.
THK for your Job.
Print file information:
RUN_IN_PLACE=no
EMC2_DIR=
EMC2_BIN_DIR=/usr/bin
EMC2_TCL_DIR=/usr/share/emc/tcl
EMC2_SCRIPT_DIR=
EMC2_RTLIB_DIR=/usr/realtime-2.6.32-122-rtai/modules/emc2
EMC2_CONFIG_DIR=
EMC2_LANG_DIR=/usr/share/emc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
EMC2_EMCSH=/usr/bin/wish8.5
EMC2 - 2.4.6
Machine configuration directory is '/home/frank/emc2/configs/Meine-Styro-Maschine'
Machine configuration file is 'Meine-Styro-Maschine.ini'
INIFILE=/home/frank/emc2/configs/Meine-Styro-Maschine/Meine-Styro-Maschine.ini
PARAMETER_FILE=emc.var
EMCMOT=motmod
EMCIO=io
TASK=milltask
HALUI=
DISPLAY=axis
NML_FILE=
Starting EMC2...
Starting EMC2 server program: emcsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting EMC2 IO program: io
Shutting down and cleaning up EMC2...
Killing task emcsvr, PID=7164
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done
Debug file information:
Meine-Styro-Maschine.hal:5: Empty variable name.
7164
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Kernel message information:
[14531.457888] I-pipe: Domain RTAI registered.
[14531.457892] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[14531.457894] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[14531.457912] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[14531.457914] PIPELINE layers:
[14531.457915] fef55e20 9ac15d93 RTAI 200
[14531.457917] c085cb20 0 Linux 100
[14531.469619] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[14531.469696] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[14531.469699] RTAI[sched]: hard timer type/freq = APIC/20833237(Hz); default timing: periodic; linear timed lists.
[14531.469701] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 3333475000 hz.
[14531.469703] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[14531.469746] RTAI[usi]: enabled.
[14531.493430] RTAI[math]: loaded.
[14531.723738] RTAI[math]: unloaded.
[14531.742167] SCHED releases registered named ALIEN RTGLBH
[14531.772205] RTAI[malloc]: unloaded.
[14531.872010] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[14531.873766] I-pipe: Domain RTAI unregistered.
[14531.873787] RTAI[hal]: unmounted.
Please Log in or Create an account to join the conversation.
26 Jan 2014 22:34 #43200
by ArcEye
No the message is not the same
This time you have a carraige return in the wrong place, pushing the variable 'SERVO PERIOD' onto line 6
(line 5) loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]
(line 6) SERVO_PERIOD num_joints=[TRAJ]AXES
Change it to
(line 5) loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD
(line 6) num_joints=[TRAJ]AXES
and hopefully will now run
regards
Replied by ArcEye on topic Error by startup 4 axis machine
Thank you for the tip, I never have to find that.
I have clean the hal file and search at the similar failure in the ini,
but emc don't run.
The error message is the same.
No the message is not the same
Meine-Styro-Maschine.hal:5: Empty variable name.
This time you have a carraige return in the wrong place, pushing the variable 'SERVO PERIOD' onto line 6
(line 5) loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]
(line 6) SERVO_PERIOD num_joints=[TRAJ]AXES
Change it to
(line 5) loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD
(line 6) num_joints=[TRAJ]AXES
and hopefully will now run
regards
The following user(s) said Thank You: etnur
Please Log in or Create an account to join the conversation.
26 Jan 2014 22:39 - 26 Jan 2014 22:43 #43201
by etnur
Replied by etnur on topic Error by startup 4 axis machine
So the Simulation RUN
![:cheer: :cheer:](/media/kunena/emoticons/cheerful.png)
I delete the first lines, then there came three new mistakes that, however, I could repair.
Thank you for your support.
![;) ;)](/media/kunena/emoticons/wink.png)
Best regards FR
![:cheer: :cheer:](/media/kunena/emoticons/cheerful.png)
![:cheer: :cheer:](/media/kunena/emoticons/cheerful.png)
![:cheer: :cheer:](/media/kunena/emoticons/cheerful.png)
![:cheer: :cheer:](/media/kunena/emoticons/cheerful.png)
I delete the first lines, then there came three new mistakes that, however, I could repair.
![;) ;)](/media/kunena/emoticons/wink.png)
![;) ;)](/media/kunena/emoticons/wink.png)
![;) ;)](/media/kunena/emoticons/wink.png)
![;) ;)](/media/kunena/emoticons/wink.png)
Best regards FR
Last edit: 26 Jan 2014 22:43 by etnur. Reason: Spelling correct
Please Log in or Create an account to join the conversation.
Time to create page: 0.096 seconds