emcoturn 120 / 220 tool turret hal outputs
02 Aug 2019 17:18 #141208
by Erikcnc
Its working!!!!
and now it keeps turning...but, we got progress.
what could it couse that it keeps turning.?
Replied by Erikcnc on topic emcoturn 120 / 220 tool turret hal outputs
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 or Create an account to join the conversation.
02 Aug 2019 17:21 #141209
by PCW
Replied by PCW on topic emcoturn 120 / 220 tool turret hal outputs
Not detecting the sensors maybe
The following user(s) said Thank You: Erikcnc
Please Log in or Create an account to join the conversation.
02 Aug 2019 17:27 - 02 Aug 2019 17:28 #141210
by Erikcnc
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.
Replied by Erikcnc on topic emcoturn 120 / 220 tool turret hal outputs
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.
Last edit: 02 Aug 2019 17:28 by Erikcnc.
Please Log in or Create an account to join the conversation.
02 Aug 2019 17:56 - 02 Aug 2019 18:40 #141212
by PCW
Replied by PCW on topic emcoturn 120 / 220 tool turret hal outputs
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)
(if this is not what the tool changer component generates then some hal work will be needed)
Last edit: 02 Aug 2019 18:40 by PCW.
The following user(s) said Thank You: Erikcnc
Please Log in or Create an account to join the conversation.
02 Aug 2019 19:29 #141223
by Erikcnc
As far i know this should be in the emco changed component.
Where should look doe this that the pwm signaal will invert?
Replied by Erikcnc on topic emcoturn 120 / 220 tool turret hal outputs
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 or Create an account to join the conversation.
02 Aug 2019 20:18 #141227
by PCW
Replied by PCW on topic emcoturn 120 / 220 tool turret hal outputs
Does the tool changer component have any documentation?
Please Log in or Create an account to join the conversation.
02 Aug 2019 21:45 #141233
by Erikcnc
Unfortunately not.
Replied by Erikcnc on topic emcoturn 120 / 220 tool turret hal outputs
Does the tool changer component have any documentation?
Unfortunately not.
Please Log in or Create an account to join the conversation.
02 Aug 2019 22:06 - 02 Aug 2019 22:07 #141235
by PCW
Replied by PCW on topic emcoturn 120 / 220 tool turret hal outputs
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
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
Last edit: 02 Aug 2019 22:07 by PCW.
The following user(s) said Thank You: Erikcnc
Please Log in or Create an account to join the conversation.
02 Aug 2019 22:56 - 02 Aug 2019 22:58 #141238
by Erikcnc
I got the picture in the attachment.
Replied by Erikcnc on topic emcoturn 120 / 220 tool turret hal outputs
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.
Last edit: 02 Aug 2019 22:58 by Erikcnc.
Please Log in or Create an account to join the conversation.
02 Aug 2019 23:29 - 03 Aug 2019 03:26 #141241
by PCW
Replied by PCW on topic emcoturn 120 / 220 tool turret hal outputs
Looks like the emcochanger.forward signal needs to be linked to the 2 complementary direction signals on the LM298
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
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
Last edit: 03 Aug 2019 03:26 by PCW.
The following user(s) said Thank You: Erikcnc
Please Log in or Create an account to join the conversation.
Time to create page: 0.103 seconds