An open source Emco 120P lathe tool turret control

More
10 years 6 months ago - 10 years 6 months ago #73874 by LutzTD
Hi Tom,

I just dumped gerbers from the KiCad. This was my first experience with a pcb. Its funny because I soldered it at work in an esd workstation because its slow right now. The tech I had review my solder joints was confused by the silkscreens, he was worried I had the optical couplers 90 degrees out becuase of the silkscreen, but after we reviewed a bare board he saw they wouldn't fit the other way. so that makes sense now. Of course I don't know what is normal or not, I never really looked at pcb boards because the EE's at my job always handle that. I ordered the din rail power supplies same as the ones you linked so Ill be able to power it up by the end of the week and maybe cycle it. That will be a thrill :)
Last edit: 10 years 6 months ago by LutzTD.

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

More
10 years 5 months ago #74667 by LutzTD
today I loaded linuxcnc debian from this link www.linuxcnc.org/linuxcnc-2.7-wheezy.iso using all of the install instructions from here

then I installed arduino from here

connected the toolerator3000 pcba and using the toolerator300.ino from here

I compiled the toolerator3000.ino and loaded the software on the arduino nano on the toolerator3000 PCBA.


now I need to run this command "sudo halcompile --INSTALL toolerator.comp" but "halcompile" comes back as command not found.

where can I get this command file?

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

More
10 years 5 months ago #74672 by tome

LutzTD wrote: today I loaded linuxcnc debian from this link www.linuxcnc.org/linuxcnc-2.7-wheezy.iso using all of the install instructions from here

then I installed arduino from here

connected the toolerator3000 pcba and using the toolerator300.ino from here

I compiled the toolerator3000.ino and loaded the software on the arduino nano on the toolerator3000 PCBA.


now I need to run this command "sudo halcompile --INSTALL toolerator.comp" but "halcompile" comes back as command not found.

where can I get this command file?


Perhaps you need to install linuxcnc-dev to get halcompile...

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

More
10 years 5 months ago - 10 years 5 months ago #74678 by LutzTD
ok got halcompile

sudo apt-get install linuxcnc-dev

but im not getting the syntax right for halcompile I guess

issue1 I had opened it as a word doc so I was getting all kinds of syntax error, redownloaded it using mousepad.

issue2 said component name didnt match, so I renamed the .comp file to toolerator3000.comp

then got this, does that mean it executed properly?

user@linuxcnc:~/linuxcnc$ sudo halcompile --install toolerator3000.comp
gcc -Os -g -I. -I/usr/realtime-3.4-9-rtai-686-pae/include -I. -I/usr/realtime-3.4-9-rtai-686-pae/include -I/usr/include/i386-linux-gnu -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -fno-math-errno -funsafe-math-optimizations -fno-rounding-math -fno-signaling-nans -fcx-limited-range -mhard-float -DRTAI=3 -fno-fast-math -mieee-fp -fno-unsafe-math-optimizations -DRTAPI -D_GNU_SOURCE -Drealtime -D__MODULE__ -I/usr/include/linuxcnc -Wframe-larger-than=2560 -URTAPI -U__MODULE__ -DULAPI -Os -o toolerator3000 /tmp/tmp59_Fcm/toolerator3000.c -Wl,-rpath,/lib -L/lib -llinuxcnchal
Last edit: 10 years 5 months ago by LutzTD.

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

More
10 years 5 months ago #74683 by tome

LutzTD wrote: does that mean it executed properly?

user@linuxcnc:~/linuxcnc$ sudo halcompile --install toolerator3000.comp
gcc -Os -g -I. -I/usr/realtime-3.4-9-rtai-686-pae/include -I. -I/usr/realtime-3.4-9-rtai-686-pae/include -I/usr/include/i386-linux-gnu -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -fno-math-errno -funsafe-math-optimizations -fno-rounding-math -fno-signaling-nans -fcx-limited-range -mhard-float -DRTAI=3 -fno-fast-math -mieee-fp -fno-unsafe-math-optimizations -DRTAPI -D_GNU_SOURCE -Drealtime -D__MODULE__ -I/usr/include/linuxcnc -Wframe-larger-than=2560 -URTAPI -U__MODULE__ -DULAPI -Os -o toolerator3000 /tmp/tmp59_Fcm/toolerator3000.c -Wl,-rpath,/lib -L/lib -llinuxcnchal


I believe so, there is no error output. You should be good to go.

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

More
10 years 5 months ago #74685 by Zahnrad Kopf
Is this available in complete form for those of us component level and soldering iron retarded? :blush:

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

Time to create page: 0.094 seconds
Powered by Kunena Forum