PWM output
-
How to set pwm on output 100% in config? Need to use this as power source for magnetic PNP end switch.
-
@tecno For what port? Is it a fan, servo, or general-purpose output port?
-
@chrishamm
1XD Out0 or Out1 -
@tecno Like this I suppose:
M950 P0 C"122.out0" M42 P0 S1
Of course I don't know if you already have GPIO pins defined, in that case you may need to increment the P parameter of both commands.
-
-
; Endstops
M574 X2 S1 P"121.io1.in" ; configure switch-type (e.g. microswitch) endstop for high end on X via pin io0.in
M950 P0 C"121.out0" ; config output
M42 P0 S1 ; set pwm 100%
M574 Y2 S1 P"122.io1.in" ; configure switch-type (e.g. microswitch) endstop for high end on Y via pin io1.in
M950 P1 C"122.out0" ; config output
M42 P1 S1 ; set pwm 100%
M574 Z2 S1 P"123.io1.in" ; configure switch-type (e.g. microswitch) endstop for high end on Z via pin io2.in
M950 P2 C"123.out0" ; config output
M42 P2 S1 ; set pwm 100% -
Failed to enable endstops, what is wrong in config?
NO magnetic switches, working as LED lights up
https://www.festo.com/us/en/a/download-document/datasheet/150855