Inserting an Output-ON M-Code in QtPlasmac g-code

More
25 Jul 2024 21:05 #306034 by sin-do-re
Hey everyone.

I need to have the functionality of triggering M3 $0 S1 (plasma start) , and then, after a while, turn on another output. What G-Code can i use for this?

Then, I woud add also another one at M5 to turn off both at the same time.

M5 $0 (plasma end)
M7 $0

I cannot use the same output from M3 a timer for this, because the delay between both outputs will be variable and parameterized with the g-code.

Can i use the output from the marker? what if i also need the marker, are there other options available?

thank you.

 

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

More
26 Jul 2024 00:15 #306045 by rodw

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

More
26 Jul 2024 15:01 #306097 by sin-do-re
Thank you Rod.

Assuming I use M64 P3 and M65 P3,

How is the “3” linked to HMOT CARD ssr output 3, in the HAL file?
I assume there should be some reference to the output number 3 in the Hal file otherwise it won’t work.

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

  • Aciera
  • Aciera's Avatar
  • Away
  • Administrator
  • Administrator
More
26 Jul 2024 15:39 #306104 by Aciera
The connection would be made in your hal file:
net digital-pin3 <= motion.digital-out-03 => your_HMOT_CARD_ssr_output_3_pin

linuxcnc.org/docs/2.9/html/man/man9/motion.9.html

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

More
26 Jul 2024 23:59 #306132 by phillc54
QtPlasmaC uses digital-out-01~03 internally so digital-out-00 is the only free pin available unless you add extra pins with num_dio when loading the motion module:
linuxcnc.org/docs/2.9/html/man/man9/motion.9.html

 

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

Time to create page: 0.055 seconds
Powered by Kunena Forum