Duex 5 generic I/O question
-
Hello,
I want to configure an emergency button on a duex5 input. I have all the limit switches engaged, how could I do? Can I use a generic duex input which when activated calls the M112 command?
Thank you
Marco -
Are you using the 2 endstop inputs on the CONN_LCD connector? If not then I suggest you use one of those instead.
-
Thanks for the answer, the LCD connector is free, the pins are 2 and 3? Is there a reference guide for the configuration?
Thanks -
Sorry, pin 10 (ENC_A) and pin 11(ENC_B), to activate the limit switch is correct the command M581 E10 S1 T0 C0?
-
@marco-bona said in Duex 5 generic I/O question:
Sorry, pin 10 (ENC_A) and pin 11(ENC_B), to activate the limit switch is correct the command M581 E10 S1 T0 C0?
In the M581 command, endstops 0 to 11 are X Y Z then E0 to E8. So you would use E7 or E8 in M581 depending on which one you connect to.
In a future 2.03beta (probably the next one) this may change, because we are moving to logical pin numbering and flexible pin allocation.
-
I did not understand what I should use to activate the limit switch on CONN_LCD
-
Connect the switch between one of the endstop inputs on CONN_LCD and ground. The CONN_LCD pinout is at https://duet3d.dozuki.com/Wiki/Using_external_stepper_motor_drivers.
-
Sorry David, I explained myself wrongly, in the firmware which command should I use to activate the pin on CONN_LCD because it does not currently work and I do not know how to enable it as a limit switch
-
Unless you are using very old firmware, it should already be configured as an endstop input, and the M581 command with E7 or E8 in it should just work.
-
It works perfectly!!
Thanks