Wery stupid action from me...
As my work computer is WinXp based and I do all the mail here I just 
copy/paste that and use usb-stick to move on EMC machine.
Well that's not good. The routine fail as line termination is Windows 
style CR/LF instead Linux style LF only.
Now the routine is in working condition.
When come into M6 the standard prompt show up (I don't know why is 
delayed aprox 5 second - old routine show up instant.).
It's little stupid for 1'st tool as near all time is already installed. 
On other tools then 5 sec delay is not bother as spindle must stop.

Maybe is still good idea to have this option enabled/disabled in ini 
file. (some machine need that and other can be crashed)
Slavko




Slavko Kocjancic pravi:
> Alex Joni pravi:
>   
>> ----- Original Message ----- 
>> From: "Slavko Kocjancic" <[email protected]>
>> To: "Enhanced Machine Controller (EMC)" <[email protected]>
>> Sent: Tuesday, March 16, 2010 12:57 PM
>> Subject: Re: [Emc-users] Jog under PAUSE / tool cnange
>>
>>
>>   
>>     
>>> Alex Joni pravi:
>>>     
>>>       
>>>> http://article.gmane.org/gmane.linux.distributions.emc.user/17898/match=
>>>>
>>>>
>>>>       
>>>>         
>>> .. Just little different name but I got it.
>>> Just can't run it. I get error and can't proceed. Seems that NML_FILE
>>> cause problem.
>>> For now I happily run my cnc without NML_FILE. When I change I got error
>>> and here is error log:
>>>     
>>>       
>> you need a line like: NML_FILE = emc.nml
>>
>>   
>>     
>>> So I try to setup some NML_FILE. As I don't have clue what here should
>>> be (manual explain that in one line ?!? -nothing-) I just run stepconf
>>> and I get emc.nml file. The problem is that with this file assigned I'm
>>> can't run machine any more.  Here is log of attempt to run machine with
>>> old toolchanger routine and NML_FILE = emc.nml assigned in inifile.
>>>
>>>     
>>>       
>> that seems like you have an old nml file.
>> for 2.5.0~pre (which you are running) you need the nml file to be like this:
>> http://git.linuxcnc.org/gitweb?p=emc2.git;a=blob;f=configs/common/emc.nml;h=3b3d72b0f9087cb044be3c6e9bf6e20f47721328;hb=HEAD
>> in your checkout it should be included in emc2-dev/configs/common/emc.nml
>>
>> regards,
>> Alex
>>   
>>     
> Yes I found nml file and install in correct place.
> Now I'm able to run emc with old toolchange routine but still got error 
> with new one.
> I instal new hal_manualtoolchange and set permissinos to 777. but still 
> got error.
>
> I'm just don't understand what file is missing? (as part of log say's that)
> Debug file information:
> Caa3Axis.hal:78: execv(hal_manualtoolchange): No such file or directory
> Caa3Axis.hal:78: hal_manualtoolchange exited without becoming ready
>
> in Caa3Axis.hal line 78 is command to load  hal_manualtoolchange 
> (loadusr -W hal_manualtoolchange)
>
>
>
>
> Here's the log:
>
> Print file information:
> RUN_IN_PLACE=yes
> EMC2_DIR=
> EMC2_BIN_DIR=/home/slavko/emc2-dev/bin
> EMC2_TCL_DIR=/home/slavko/emc2-dev/tcl
> EMC2_SCRIPT_DIR=
> EMC2_RTLIB_DIR=/home/slavko/emc2-dev/rtlib
> EMC2_CONFIG_DIR=
> EMC2_LANG_DIR=/home/slavko/emc2-dev/src/objects
> INIVAR=inivar
> HALCMD=halcmd
> EMC2_EMCSH=/usr/bin/wish8.4
> EMC2 - 2.5.0~pre
> Machine configuration directory is '/home/slavko/emc2/configs/IronCnc'
> Machine configuration file is 'Caa3Axis.ini'
> INIFILE=/home/slavko/emc2/configs/IronCnc/Caa3Axis.ini
> PARAMETER_FILE=stepper.var
> EMCMOT=motmod
> EMCIO=io
> TASK=milltask
> HALUI=
> DISPLAY=axis
> NML_FILE=emc.nml
> 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=26751
> Removing HAL_LIB, RTAPI, and Real Time OS modules
> Removing NML shared memory segments
> Cleanup done
>
> Debug file information:
> Caa3Axis.hal:78: execv(hal_manualtoolchange): No such file or directory
> Caa3Axis.hal:78: hal_manualtoolchange exited without becoming ready
> 26751
>   PID TTY      STAT   TIME COMMAND
> Stopping realtime threads
> Unloading hal components
>
> Kernel message information:
> [ 8074.758900] I-pipe: Domain RTAI registered.
> [ 8074.758914] RTAI[hal]: <3.6.1> mounted over IPIPE-NOTHREADS 2.0-04.
> [ 8074.758917] RTAI[hal]: compiled with gcc version 4.2.4 (Ubuntu 
> 4.2.4-1ubuntu3).
> [ 8074.758922] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL 
> IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
> [ 8074.758925] PIPELINE layers:
> [ 8074.758928] dcc36000 9ac15d93 RTAI 200
> [ 8074.758930] c0383180 0 Linux 100
> [ 8074.775078] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
> [ 8074.775685] RTAI[sched]: loaded (IMMEDIATE, UP, USER/KERNEL SPACE: 
> <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
> [ 8074.775691] RTAI[sched]: hard timer type/freq = 8254-PIT/1193180(Hz); 
> default timing: periodic; linear timed lists.
> [ 8074.775695] RTAI[sched]: Linux timer freq = 250 (Hz), CPU freq = 
> 2120175000 hz.
> [ 8074.775698] RTAI[sched]: timer setup = 2010 ns, resched latency = 
> 2688 ns.
> [ 8074.965372] RTAI[math]: loaded.
> [ 8074.992940] RTAPI: Init
> [ 8074.993358] RTAPI: Init complete
> [ 8075.002532] HAL_LIB: loading kernel lib
> [ 8075.002543] RTAPI: initing module HAL_LIB
> [ 8075.002549] RTAPI: module 'HAL_LIB' loaded, ID: 1
> [ 8075.003553] RTAPI: shmem 01 created by module 01, key: 1212238898, 
> size: 262000
> [ 8075.003567] HAL_LIB: kernel lib installed successfully
> [ 8075.071427] config string '0x0378'
> [ 8075.510716] RTAI[math]: unloaded.
> [ 8075.575658] SCHED releases registered named ALIEN RTGLBH
> [ 8075.591750] RTAI[malloc]: unloaded.
> [ 8075.690832] RTAI[sched]: unloaded (forced hard/soft/hard transitions: 
> traps 0, syscalls 0).
> [ 8075.694550] I-pipe: Domain RTAI unregistered.
> [ 8075.694562] RTAI[hal]: unmounted.
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
>   


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to