- Posts: 153
- Thank you received: 0
emcoturn 120 / 220 tool turret hal outputs
PCW wrote: OK well that points to a wiring/hardware issue
Its working!!!!
and now it keeps turning...but, we got progress.
what could it couse that it keeps turning.?
Please Log in to join the conversation.
Please Log in to join the conversation.
PCW wrote: Not detecting the sensors maybe
true,
one sensor had still the wrong input.
so now its reading and should stops. it slowing down and i can continue operating linuxcnc.
but it keeps rotating really slow in the same direction. its not going the other way.
Please Log in to join the conversation.
(if this is not what the tool changer component generates then some hal work will be needed)
Please Log in to join the conversation.
PCW wrote: The PWM value needs to be negative to go backwards
(if this is not what the tool changer component generates then some hal work will be needed)
As far i know this should be in the emco changed component.
Where should look doe this that the pwm signaal will invert?
Please Log in to join the conversation.
Please Log in to join the conversation.
PCW wrote: Does the tool changer component have any documentation?
Unfortunately not.
Please Log in to join the conversation.
polarity is not used to change directions
Can you list all of the emcochanger pins?
halcmd show pin emcochanger*
(in a terninal window)
When LinuxCNC is running should do this
Please Log in to join the conversation.
PCW wrote: I see the emcochanger.forward pin which suggests that the PWM
polarity is not used to change directions
Can you list all of the emcochanger pins?
halcmd show pin emcochanger*
(in a terninal window)
When LinuxCNC is running should do this
I got the picture in the attachment.
Please Log in to join the conversation.
To do this with the current firmware would require disabling one more stepgens and using one of the free pins of say stepgen3 for the direction signals.
It would probably be cleaner if I made firmware that left the DIR pin of Stepgen4 a GPIO pin instead of the PWM direction pin (which is under control of the PWM gen)
EDIT
freeby.mesanet.com/7i76e_7i76pdpo.bit
Here is firmware that has stepgen4 STEP pin replaced with PWM but left Stepgen4s DIR pin as GPIO
(GPIO8) so it can output the toolchanger forward pin
Please Log in to join the conversation.
