- Posts: 36
- Thank you received: 0
triac changer tool
I have a working configuration with mesa 6i26 7i76 step dir XYZA
I would like some information on how to correctly install triacchanger.comp and ioControll.cc attached to triacchanger.
I used "sudo halcompile --triacchanger.comp"
but I do not know how to do with ioControl.cc
How do I then know which pin output and pin input for the tool change
Thank you in advance
gmarconi2
NB my tool changer is a carousel with 10 positions and an arm that moves horizontally, so the spindle must be raised and lowered
Please Log in to join the conversation.
linuxcnc.org/docs/2.7/html/man/man9/carousel.9.html
Axis moves as part of a tool change are best handled by a G-code subroutine.
Load the sim/axis/vismach/VMC-toolchange sample config for an example (this can run on your installed system without harm, it will not attempt to move any hardware).
The G-code subroutine looks like this:
github.com/LinuxCNC/linuxcnc/blob/master...hange/toolchange.ngc
Please Log in to join the conversation.
I've already tried and I have a simulated VMC-toolchange configuration and I think that's the solution for me.
My problem is that I do not understand how to go from simulation to the real machine.
Greetings gmarconi
Please Log in to join the conversation.
In the toolchange.ngc
M64 P2 #mute high digital output 2 to move the arm) I read well?
In the toolchange_index.hal
net arm-act motion.digital -out 02 #how I know in my mesa card that pin is
or how do I connect it to an output, I have to make a connection hal ??
Excuse the questions but I'm a beginner (a 62-year-old beginner)
Greetings gmarconi2
Please Log in to join the conversation.
gmarconi2 wrote: In the toolchange_index.hal
net arm-act motion.digital -out 02 #how I know in my mesa card that pin is
or how do I connect it to an output, I have to make a connection hal ??
You would need to choose an output pin, for example on my lathe it might be hm2_5i24.0.7i84.0.1.output-12
So either add another line somewhere else in the HAL,
or modify the line above to put it all on one line
You can ignore everything in sim_vmc.hal, that is a bunch of components that do various time-delays to simulate the inputs and outputs of a real machine. You have a real machine to do that.
Please Log in to join the conversation.
andypugh wrote:
gmarconi2 wrote: In the toolchange_index.hal
net arm-act motion.digital -out 02 #how I know in my mesa card that pin is
or how do I connect it to an output, I have to make a connection hal ??
You would need to choose an output pin, for example on my lathe it might be hm2_5i24.0.7i84.0.1.output-12
So either add another line somewhere else in the HAL,
Code:net arm-act hm2_5i24.0.7i84.0.1.output-12
or modify the original HAL line to put it all on one line
Code:net arm-act motion.digital-out 02 => hm2_5i24.0.7i84.0.1.output-12
You can ignore everything in sim_vmc.hal, that is a bunch of components that do various time-delays to simulate the inputs and outputs of a real machine. You have a real machine to do that.
Please Log in to join the conversation.
So what I would like to do is test the various output signals and generate the input signals.
However, thanks to your answers to my question and reading in the forum today I learned something.
However, I will continue to ask questions to complete the retrofit project of a vertical BF400 milling machine produced in Italy by Meccanica Cortini
Greetings gmarconi2
Please Log in to join the conversation.
In my working configuration I added the following file:
toolchange.ncg (your macro for output and tool change input)
toolchangeindex.hal In this file this is right:
in my configuration I have to add this?
However, I tried to start the configuration without changing anything and stop with this error:
Greetings gmarconi2
Please Log in to join the conversation.
linuxcnc.org/docs/2.7/html/
Scroll to the bottom, and press "expand man pages". You will find carousel and conv_float_s32 in "Realtime components and kernel modules"
[code]Error: could not insert module /usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc/conv_float_s32.ko: Unknown symbol in module[code]Is an odd error. Is there any chance that the file has been edited on a Windows PC and the line-end character has been changed?
What is your actual "loadrt conv_float_s32" line?
Please Log in to join the conversation.
After rewriting files without using "windows"
this is the mistake
Greetings gmarconi2
Please Log in to join the conversation.
