emcoturn 120 / 220 tool turret hal outputs

More
03 Aug 2019 18:57 - 03 Aug 2019 18:57 #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
Last edit: 03 Aug 2019 18:57 by PCW.
The following user(s) said Thank You: Erikcnc

Please Log in or Create an account to join the conversation.

More
03 Aug 2019 19:24 - 04 Aug 2019 09:08 #141292 by Erikcnc

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



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




and if STEP4- is wired to LM298 ENA, The PWM value should control the speed


STEP- does what it has to do.
Last edit: 04 Aug 2019 09:08 by Erikcnc.

Please Log in or Create an account to join the conversation.

More
04 Aug 2019 09:43 #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 or Create an account to join the conversation.

More
04 Aug 2019 13:50 #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
The following user(s) said Thank You: Erikcnc

Please Log in or Create an account to join the conversation.

More
04 Aug 2019 13:58 - 04 Aug 2019 14:07 #141330 by Erikcnc

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.



File Attachment:

File Name: EMCOTURN22...8-04.hal
File Size:12 KB
Attachments:
Last edit: 04 Aug 2019 14:07 by Erikcnc.

Please Log in or Create an account to join the conversation.

More
04 Aug 2019 14:07 #141331 by Erikcnc
The pin file as requested


File Attachment:

File Name: pins.txt
File Size:5 KB
Attachments:

Please Log in or Create an account to join the conversation.

More
04 Aug 2019 14:16 #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 or Create an account to join the conversation.

More
04 Aug 2019 14:39 #141339 by PCW

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 or Create an account to join the conversation.

More
04 Aug 2019 15:18 - 04 Aug 2019 15:19 #141340 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?


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??
Last edit: 04 Aug 2019 15:19 by Erikcnc.

Please Log in or Create an account to join the conversation.

More
04 Aug 2019 15:34 #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 or Create an account to join the conversation.

Time to create page: 0.108 seconds
Powered by Kunena Forum