@LB said in switching via an unused pin a relay (to drive bigger loads):
(I do not really get it, what it means in the reference by ";M950 command must have exactly one of the H, F, J, P or S parameters
" any help appreciated, they way I understand it is "must have not more then 1 H, F, J, P/S parameters"?)
It means that your M950 must be for EITHER a single (F)an, (H)eater, Input pin (J), Output pin(P)/(S)ervo pin.
So it depends on what the pin will be used for which of the F/H/J/P/S you would use.
In M42 the P value must match the pin number you created for it in M950
So M950 P88 means your must be M42 P88
The 88 is just an index number and could be any unique number from 0 on up. The important thing is that it matches.
Have you tested your conditional gcode yet?
@LB said in switching via an unused pin a relay (to drive bigger loads):
since this pin cannot do pwm
I thin that would mean the pin you choose isn't switchable, and not really suitable for switching a relay.