Lathe tool changer turret - DC motor based

More
08 Apr 2020 12:06 #163184 by rodw
I think there is a typo. Try:
Compile the component with 'sudo halcompile --install PC200changer.comp'

You don't need to install the source code for Linuxcnc but if you do, drop the sudo.

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

More
08 Apr 2020 12:10 #163188 by tommylight
And Wheezy comes with RTAI, not Preempt-RT.
No source code, just install dev.

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

More
08 Apr 2020 21:24 #163243 by AndrewL
I'm using a mesa 7i76e ethernet card. As I understand it, rtai will not work. In order to halcompile, what steps do I need to take to install a -dev version which will work with a 7i76e?

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

More
09 Apr 2020 01:04 #163268 by tommylight
Get the Stretch version from here:
linuxcnc.org/downloads/
After you install it to hard drive go to menu>administration>synaptics package manager
there search for Linuxcnc, it will be under Linuxcnc-userspace
linuxcnc-userspace-dev
click on it, mark for installation, apply.
The following user(s) said Thank You: AndrewL

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

More
09 Apr 2020 19:29 #163385 by AndrewL
I've installed Stretch with linuxcnc-uspace-dev 1:2.7.15

cms@CMS:~$ sudo halcompile --install PC200changer.comp
Traceback (most recent call last):
File "/usr/bin/halcompile", line 1354, in <module>
main()
File "/usr/bin/halcompile", line 1323, in main
process(f, mode, outfile)
File "/usr/bin/halcompile", line 1193, in process
a, b = parse(filename)
File "/usr/bin/halcompile", line 418, in parse
f = open(filename).read()
IOError: [Errno 2] No such file or directory: 'PC200changer.comp'

Ultimately, I'm trying to get a turret tool changer working that uses a prox switch to identify various index positions in the turret. I feel at this point that I may be pursuing the wrong solution. Is there a better way to do this? If not, what do I do about the error posted above? Thanks.

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

More
09 Apr 2020 20:53 #163389 by PCW
Where is " PC200changer.comp" referenced?
it does not seem to be part of the LinuxCNC distribution
The following user(s) said Thank You: AndrewL

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

More
09 Apr 2020 21:14 #163392 by AndrewL
page 1 of this post

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

More
09 Apr 2020 21:23 #163394 by rodw
make sure you are iin the folder where the component source exits or include the full path to the source on the command line. NO different to running any other program that accepts a file name as input.

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

More
09 Apr 2020 21:54 #163396 by AndrewL
I don't have any file. There is some code posted on page 1 but I don't know what it is or how to use it. I had thought that it was a sort of template that I could use to make a tool change operation that is initiated by a M6 in the g-code. What is a better alternative?

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

More
09 Apr 2020 22:10 #163398 by rodw
OPen a text editor, paste the code in , save it as that file name PC200changer.comp
Then run halcompile
The following user(s) said Thank You: AndrewL

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

Time to create page: 0.181 seconds
Powered by Kunena Forum