Using M64 command for a relay trigger

More
04 Jan 2021 05:05 #194017 by Hamel2020
Hi peter , As I told , it was typing mistake , the used pin is pin No.6 , as I stated in the revised drawing , and I test it with the hal meter , it shows correct result True , False , but no signal ...

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

More
04 Jan 2021 05:07 #194018 by Hamel2020
apologize , I was waiting for a reply , I thought I post it with incorrect topic .

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

More
04 Jan 2021 05:09 #194019 by Hamel2020
Her is the drawing and the hal , ini files
Attachments:

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

More
04 Jan 2021 05:43 #194020 by PCW
That looks OK
Do you get any errors from LinuxCNC?

And you do have a 7I76E, not a 7I76ED?

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

More
04 Jan 2021 05:47 #194021 by Hamel2020
I did not get an error ,
I have 7i76ED

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

More
04 Jan 2021 05:52 #194022 by PCW
OK a 7I76ED has sinking outputs so the load is connected:

+24V ==> Relay coil+
Relay coil- ==> 7I76ED output

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

More
04 Jan 2021 06:05 #194023 by Hamel2020
Ahhh, that's make sense ,,, So (correct me if I'm wrong) I have to provide +24V to the pin ....
and if yes , can I supply the 24V from the power supplier ( not from Mesa card itself ) ?
I mean like :
from power supplier +24V ==> Relay coil+
Relay coil- ==> 7I76ED output
also the 0V from (PSU)

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

More
04 Jan 2021 06:55 #194024 by Hamel2020
Hi Peter ,
I did the wiring as a sinking signal , I got an error message :
Attachments:

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

More
04 Jan 2021 11:39 #194028 by tommylight
No 0V from PSU.

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

More
04 Jan 2021 15:43 #194046 by PCW
That error means you have a shorted load (backwards flyback diode?)

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

Time to create page: 0.083 seconds
Powered by Kunena Forum