CNC DUET 3 6XD - Proximity Sensor for Endstop - Is this OK ?
-
Hello everybody.
I am planning to use an 6XD to drive my CNC with proximity sensor for endstop.
The sensor will be NPN NC 6-36v (i will use 24V).
I think I have to use the opto isolated input (IO_5_ISO_IN --> IO_8_ISO_IN)In the config.g I will put these lines :
M574 X1 S0 P"!io5.in.iso" ; X LEFT HOME PROXIMITY SENSOR IO_5 OPTOISO configure switch-type (e.g. microswitch) endstop for low end on X via pin io5.in M574 Y1 S0 P"!io6.in.iso" ; Y RIGHT HOME PROXIMITY SENSOR IO_6 OPTOISO configure switch-type (e.g. microswitch) endstop for low end on Y via pin io6.in M574 Z2 S0 P"!io8.in.iso" ; Z HOME PROXIMITY SENSOR IO_8 OPTOISO configure switch-type (e.g. microswitch) endstop for low end on Z via pin io7.in M574 V1 S0 P"!io7.in.iso" ; Y LEFT HOME PROXIMITY SENSOR IO_7 OPTOISO
And the wiring that I am imaging :
Could you tell me if you are ok with my wiring and config ? I don't want to burn my mainboard
Thank you !
-
@jeffouille yes that looks OK to me. Alternatively, as they are NPN-output sensors, you could connect their outputs directly to non-isolated IO_IN pins.
-
@dc42 Thank you for your answer.
As you suggested, I connect directly the nc output on the IO_IN and it is working very well. No need opto-iso indeed for NPN Proximity sensor -
-