Retrofit an Emco Compact 6P-CNC
- Zahnrad Kopf
- Offline
- Elite Member
Less
More
- Posts: 218
- Thank you received: 3
07 May 2013 23:37 #33736
by Zahnrad Kopf
Replied by Zahnrad Kopf on topic Retrofit an Emco Compact 6P-CNC
This may be a stupid question, given LinuxCNC's capabilities, but I don't know ( having only done mills so far with it ) so I will ask - what about controlling the pneumatic spindle draw bar and tail stock ram? Thanks.
Please Log in or Create an account to join the conversation.
08 May 2013 01:08 #33744
by BigJohnT
Replied by BigJohnT on topic Retrofit an Emco Compact 6P-CNC
Usually that is done in Classicladder or M1xx. Take a look in the M Code section of the manual for M1xx.
John
John
Please Log in or Create an account to join the conversation.
- Zahnrad Kopf
- Offline
- Elite Member
Less
More
- Posts: 218
- Thank you received: 3
08 May 2013 09:22 #33749
by Zahnrad Kopf
Thanks John. It's looking like I might be forced to do this project. I just removed a nice Hoffman box from one of my mills when I installed a VFD box, so now I have an almost perfect enclosure for the control that will fit nicely on the side of the actual machine, keeping things tidy. I'm thinking I can put the monitor and keyboard on an arm. With a little scrounging and some luck I might be able to break even except for the time and headaches getting back up to speed on ... ... oh, hey, it's called LinuxCNC now... I guess it's been a while for me... Ha. Anyway, I'll sell off the present contol's pieces and parts and it's looking like what I will need to purchase might come to about $600 - $700.
Well... here we go... I'm gonna have a lot of questions and need a lot of hand holding... I'm guessing that for the most part I should be posting those in the Lathe forum?
Replied by Zahnrad Kopf on topic Retrofit an Emco Compact 6P-CNC
Usually that is done in Classicladder or M1xx. Take a look in the M Code section of the manual for M1xx. John
Thanks John. It's looking like I might be forced to do this project. I just removed a nice Hoffman box from one of my mills when I installed a VFD box, so now I have an almost perfect enclosure for the control that will fit nicely on the side of the actual machine, keeping things tidy. I'm thinking I can put the monitor and keyboard on an arm. With a little scrounging and some luck I might be able to break even except for the time and headaches getting back up to speed on ... ... oh, hey, it's called LinuxCNC now... I guess it's been a while for me... Ha. Anyway, I'll sell off the present contol's pieces and parts and it's looking like what I will need to purchase might come to about $600 - $700.
Well... here we go... I'm gonna have a lot of questions and need a lot of hand holding... I'm guessing that for the most part I should be posting those in the Lathe forum?
Please Log in or Create an account to join the conversation.
08 May 2013 20:35 #33778
by BigJohnT
Replied by BigJohnT on topic Retrofit an Emco Compact 6P-CNC
Just depends on the nature of the question as to what forum is best to use.
John
John
Please Log in or Create an account to join the conversation.
02 Jun 2013 06:33 #35127
by caviera
Replied by caviera on topic Retrofit an Emco Compact 6P-CNC
I'm very newbie on linuxCNC, actually i'm trying to retrofit an emco120 lathe. I have problems compiling/installing .comp:
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.2
Machine configuration directory is '/home/mechtronic/linuxcnc/configs/SherlineLathe'
Machine configuration file is 'SherlineLathe_mm.ini'
INIFILE=/home/mechtronic/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=31383
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
insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/emcochanger.ko': -1 Invalid module format
emcochanger.hal:10: exit value: 1
emcochanger.hal:10: insmod failed, returned -1
See the output of 'dmesg' for more information.
31383
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Kernel message information:
[13618.819694] I-pipe: Domain RTAI registered.
[13618.819699] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[13618.819701] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[13618.819726] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[13618.819728] PIPELINE layers:
[13618.819730] fc88ee20 9ac15d93 RTAI 200
[13618.819732] c085cb20 0 Linux 100
[13618.835025] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[13618.835184] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[13618.835189] RTAI[sched]: hard timer type/freq = APIC/12500318(Hz); default timing: periodic; linear timed lists.
[13618.835192] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2499778000 hz.
[13618.835194] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[13618.835265] RTAI[usi]: enabled.
[13618.873953] RTAI[math]: loaded.
[13618.928850] config string '0xe010'
[13618.937004] emcochanger: version magic '2.6.32.11+drm33.2 SMP mod_unload 586TSC ' should be '2.6.32-122-rtai SMP mod_unload 586TSC '
[13619.211522] RTAI[math]: unloaded.
[13619.229580] SCHED releases registered named ALIEN RTGLBH
[13619.260281] RTAI[malloc]: unloaded.
[13619.360016] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[13619.361917] I-pipe: Domain RTAI unregistered.
[13619.361947] RTAI[hal]: unmounted.
Any help is very appreciated!!
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.2
Machine configuration directory is '/home/mechtronic/linuxcnc/configs/SherlineLathe'
Machine configuration file is 'SherlineLathe_mm.ini'
INIFILE=/home/mechtronic/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=31383
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
insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/emcochanger.ko': -1 Invalid module format
emcochanger.hal:10: exit value: 1
emcochanger.hal:10: insmod failed, returned -1
See the output of 'dmesg' for more information.
31383
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Kernel message information:
[13618.819694] I-pipe: Domain RTAI registered.
[13618.819699] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[13618.819701] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[13618.819726] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[13618.819728] PIPELINE layers:
[13618.819730] fc88ee20 9ac15d93 RTAI 200
[13618.819732] c085cb20 0 Linux 100
[13618.835025] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[13618.835184] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[13618.835189] RTAI[sched]: hard timer type/freq = APIC/12500318(Hz); default timing: periodic; linear timed lists.
[13618.835192] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2499778000 hz.
[13618.835194] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[13618.835265] RTAI[usi]: enabled.
[13618.873953] RTAI[math]: loaded.
[13618.928850] config string '0xe010'
[13618.937004] emcochanger: version magic '2.6.32.11+drm33.2 SMP mod_unload 586TSC ' should be '2.6.32-122-rtai SMP mod_unload 586TSC '
[13619.211522] RTAI[math]: unloaded.
[13619.229580] SCHED releases registered named ALIEN RTGLBH
[13619.260281] RTAI[malloc]: unloaded.
[13619.360016] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[13619.361917] I-pipe: Domain RTAI unregistered.
[13619.361947] RTAI[hal]: unmounted.
Any help is very appreciated!!
Please Log in or Create an account to join the conversation.
02 Jun 2013 07:53 #35128
by andypugh
Is it possible that you compiled the component with a different kernel loaded?
Replied by andypugh on topic Retrofit an Emco Compact 6P-CNC
This looks to be the problem, but I have no idea what that line means.[13618.937004] emcochanger: version magic '2.6.32.11+drm33.2 SMP mod_unload 586TSC ' should be '2.6.32-122-rtai SMP mod_unload 586TSC '
Is it possible that you compiled the component with a different kernel loaded?
Please Log in or Create an account to join the conversation.
02 Jun 2013 10:06 #35132
by caviera
Replied by caviera on topic Retrofit an Emco Compact 6P-CNC
How to do that?
Please Log in or Create an account to join the conversation.
02 Jun 2013 10:27 #35133
by andypugh
OK, let us back up a bit.
If you open a terminal and typewhat is the output ?
Replied by andypugh on topic Retrofit an Emco Compact 6P-CNC
How to do that?
OK, let us back up a bit.
If you open a terminal and type
uname -a
The following user(s) said Thank You: caviera
Please Log in or Create an account to join the conversation.
02 Jun 2013 10:29 #35134
by caviera
Linux mechtronic-desktop 2.6.32-122-rtai #rtai SMP Tue Jul 27 12:44:07 CDT 2010 i686 GNU/Linux
Replied by caviera on topic Retrofit an Emco Compact 6P-CNC
How to do that?
OK, let us back up a bit.
If you open a terminal and typewhat is the output ?uname -a
Linux mechtronic-desktop 2.6.32-122-rtai #rtai SMP Tue Jul 27 12:44:07 CDT 2010 i686 GNU/Linux
Please Log in or Create an account to join the conversation.
02 Jun 2013 11:02 #35138
by andypugh
Replied by andypugh on topic Retrofit an Emco Compact 6P-CNC
Linux mechtronic-desktop 2.6.32-122-rtai #rtai SMP Tue Jul 27 12:44:07 CDT 2010 i686 GNU/Linux
Well, that matches.
Did you compile the emcochanger component (and if so, was it on the same machine and config) or find it somewhere else?
The following user(s) said Thank You: caviera
Please Log in or Create an account to join the conversation.
Moderators: cncbasher
Time to create page: 0.369 seconds