- Posts: 17524
- Thank you received: 0
emcoturn 120 / 220 tool turret hal outputs
( did you check this? )
and if DIR4+ is wired to LM298 IN1 and DIR4- is wired to LM298 IN2
the state of emcochanger.forward should control the direction of motion
and if STEP4- is wired to LM298 ENA, The PWM value should control the speed
Please Log in to join the conversation.
PCW wrote: So now DIR4 on the 7I76 should follow the state of emcochanger.forward
( did you check this? )
confirmed, it does. i watched emcochanger.forward and GPIO8 out in and ion_not in halshow.
But between DIR+ and DIR- does nothing. it stays +5v
PCW wrote:
and if DIR4+ is wired to LM298 IN1 and DIR4- is wired to LM298 IN2
the state of emcochanger.forward should control the direction of motion.......
Its is wired like that indeed. but does not change direction. DIR+ stays high and DIR- stays low
PCW wrote:
and if STEP4- is wired to LM298 ENA, The PWM value should control the speed
STEP- does what it has to do.
Please Log in to join the conversation.
but it doesn't. what could this be?
Please Log in to join the conversation.
mesaflash --device 7i76e --addr 10.10.10.10 --readhmid > pins.txt
Please Log in to join the conversation.
PCW wrote: can you post your current hal file and the results of
mesaflash --device 7i76e --addr 10.10.10.10 --readhmid > pins.txt
Thanks for your reply.
I will do the readhmid right now.
Here are the hal file and schematics in advance.
Attachment not found
Attachment not found
Please Log in to join the conversation.
Attachment not found
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
- Posts: 22012
- Thank you received: 4
If it spins, try the other output as that one is gone.
Please Log in to join the conversation.
Erikcnc wrote: hm2_7i76e.0.gpio.008.out should control the direction signals on DIR4+ and DIR4-,
but it doesn't. what could this be?
if the state of hm2_7i76e.0.gpio.008.out changes and the
external pins STEP4 DIR pins dont change, that unfortunately
suggests damaged hardware.
Do you have a ground between the LM298 board and the 7I76E?
If this connections is missing you could possibly damage step/dir outputs
especially if the 24V supply common is not grounded to the same place
as the 7I76 logic section
Please Log in to join the conversation.
PCW wrote:
Erikcnc wrote: hm2_7i76e.0.gpio.008.out should control the direction signals on DIR4+ and DIR4-,
but it doesn't. what could this be?
if the state of hm2_7i76e.0.gpio.008.out changes and the
external pins STEP4 DIR pins dont change, that unfortunately
suggests damaged hardware.
Do you have a ground between the LM298 board and the 7I76E?
If this connections is missing you could possibly damage step/dir outputs
especially if the 24V supply common is not grounded to the same place
as the 7I76 logic section
uhm, only ground on the 24v section. but it doesn't go to the mesa.
So now what? cant i use dir3?
and btw, the resistors i had to add were meant to protect my mesa board??
Please Log in to join the conversation.
damaged.
can you do a simple test?
First comment out
net sig-forward emcochanger.forward => setp hm2_7i76e.0.gpio.008.is_output true
in you hal file then start LinuxCNC
then from a terminal, type halcmd -f then
setp hm2_7i76e.0.gpio.008.out true
setp hm2_7i76e.0.gpio.008.out false
and
show param hm2_7i76e.0.gpio.008.is_output
and copy/paste the results here (please no screenshots)
Please Log in to join the conversation.
