Using M64 command for a relay trigger

  • Hamel2020
  • Hamel2020's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
04 Jan 2021 05:05 #194017 by Hamel2020
Replied by Hamel2020 on topic Using M64 command for a relay trigger
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.

  • Hamel2020
  • Hamel2020's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
04 Jan 2021 05:07 #194018 by Hamel2020
Replied by Hamel2020 on topic Using M64 command for a relay trigger
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.

  • Hamel2020
  • Hamel2020's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
04 Jan 2021 05:09 #194019 by Hamel2020
Replied by Hamel2020 on topic Using M64 command for a relay trigger
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
Replied by PCW on topic Using M64 command for a relay trigger
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.

  • Hamel2020
  • Hamel2020's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
04 Jan 2021 05:47 #194021 by Hamel2020
Replied by Hamel2020 on topic Using M64 command for a relay trigger
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
Replied by PCW on topic Using M64 command for a relay trigger
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.

  • Hamel2020
  • Hamel2020's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
04 Jan 2021 06:05 #194023 by Hamel2020
Replied by Hamel2020 on topic Using M64 command for a relay trigger
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.

  • Hamel2020
  • Hamel2020's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
04 Jan 2021 06:55 #194024 by Hamel2020
Replied by Hamel2020 on topic Using M64 command for a relay trigger
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.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
04 Jan 2021 11:39 #194028 by tommylight
Replied by tommylight on topic Using M64 command for a relay trigger
No 0V from PSU.

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

More
04 Jan 2021 15:43 #194046 by PCW
Replied by PCW on topic Using M64 command for a relay trigger
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.070 seconds
Powered by Kunena Forum