emcoturn 120 / 220 tool turret hal outputs

More
7 years 2 months ago #141287 by PCW
So now DIR4 on the 7I76 should follow the state of emcochanger.forward

( 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.

More
7 years 2 months ago #141292 by Erikcnc

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.

More
7 years 2 months ago #141318 by Erikcnc
hm2_7i76e.0.gpio.008.out should control the direction signals on DIR4+ and DIR4-,

but it doesn't. what could this be?

Please Log in to join the conversation.

More
7 years 2 months ago #141329 by PCW
can you post your current hal file and the results of
mesaflash --device 7i76e --addr 10.10.10.10 --readhmid > pins.txt

Please Log in to join the conversation.

More
7 years 2 months ago #141330 by Erikcnc

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.

More
7 years 2 months ago #141331 by Erikcnc
The pin file as requested


Attachment not found

Please Log in to join the conversation.

More
7 years 2 months ago #141335 by tommylight
Just to be sure, can you remove the connector that goes to L298 from Mesa and power the drive.
If it spins, try the other output as that one is gone.

Please Log in to join the conversation.

More
7 years 2 months ago #141339 by PCW

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.

More
7 years 2 months ago #141340 by Erikcnc

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.

More
7 years 2 months ago #141341 by PCW
If you had resistor in all three interface lines its not likely the 7I76e outputs were
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.

Time to create page: 1.541 seconds
Powered by Kunena Forum