Add Relay to Z-Probe macro
-
My 'Job' for Z-Probing is:
1 G38.2 Z-300
2 G92 Z13.85
3 G91
4 G1 Z2
5 G90
I want to the same 'Job' to include powering on a 12vdc relay, until the probing has finished.
Can all you smart people educate me?
Thanks in advance, Ron. -
@Valveman you would normally connect a 12V relay to an OUT connector. You didn't say which board you are using, however the medium-current OUT connectors on Duet 3 boards can be jumpered to be provided with 12V power, which would be correct for your 12V relay. You would control it using the M950 command to set up a GpOut port on that output pin and then M42 commands to turn it on and off.
-
My 6XD board has OUT_6, 2-Pin KK available. Can it be used as my on/off 12vdc for a small signal relay?
-
@Valveman yes, if you jumper the VOUTLC for that bank of out ports to 12v , and the other devices on that bank are also ok at 12V
-
Thanks so much for your assistance. My son has been texting the same info, but I'm still learning to fully understand implementation. M42 will have a P value [got that part], but is the S value a 1=0n and 0=off?
-
Well, it took this old geezer long enough, but it works perfectly. -
@Valveman yes S is the PWM value to use, so for an on/off device such as a relay, 1 is on and 0 is off.
-
-
-
@dc42 Sorry, I forgot to reply the subject as 'Solved'.