Help- Marlin convert: Dual endstops & LCD Menus
-
hi all-
I switching from Marlin 2.0 to RRF- so far so good! There are a couple of things I am not figuring out that I need some help on. My machine is a Cartesian gantry type unit. -
- Dual endstops- I use dual endstops, @MAX & @MIN. Only the MIN's seem to be read . RRF does not seem to stop when one if the MAX is triggered. In Marlin, I had all the endstops set not to deactivate once printing.
How can I configure Duet to stop on tripping the MAX switches? They don't have to be unique, they can be wired in series and trigger and estop.
Why do I want this: because if you are printing near the boundary and loose steps, you can crash into the extents of the motion system.
- Menus: I am using a LCD with Greg3D's menus. I am trying to add some content. I am having trouble formatting the menu syntax for position.
In the docs I read that you can do it from the web interface, but I do not have a network connection yet - I am using the LPC1768/9 port.
Is there a 'template' file of sorts for the menu layout showing position and font and element sizes?
Might there be some sort of virtual RRF demo somewhere like the configurator that one can use demo the meus and syntax?
Thanks in advance
Dennis
-
@sinned6915 said in Help- Marlin convert: Dual endstops & LCD Menus:
Dual endstops- I use dual endstops, @MAX & @MIN. Only the MIN's seem to be read . RRF does not seem to stop when one if the MAX is triggered. In Marlin, I had all the endstops set not to deactivate once printing.
The endstops are only honoured if the G0/G1 has the S1 option set.
In the docs I read that you can do it from the web interface, but I do not have a network connection yet - I am using the LPC1768/9 port.
Is there a 'template' file of sorts for the menu layout showing position and font and element sizes?
Might there be some sort of virtual RRF demo somewhere like the configurator that one can use demo the meus and syntax?No since there is no need for it on the duet. you just configure the files on the fly.
-
The S1 option- can that be set globally? that would solve my issue.
EDIT: Reading the G1_G0 gcode page, is it S1 or H1 that forces the sensing of the endstop? I am trying to understand the way of documentation.
The configuration wizard put S1's in the home*.g files.Menus- I understand that the conventional way is to use the web interface, but right now, I don't have one. TLDR: I am on LPC1768 port, using, network dongle not yet arrived. I am coding manually.
https://duet3d.dozuki.com/Wiki/Duet_2_Maestro_12864_display_menu_system
I can not find anyone using Maestro to make me a dummy file.
I can not tell from the dozuki page what the font heights and widths are for small and large fonts.
-
The S1 switch is only used for homing moves. The firmware enforces soft limits thereafter so typically only one endstop is used per axis. If you want to have end stops there in case of collision, perhaps setting up stall detection would make more sense. Or you could use the max endstop as a trigger for the e stop.
https://duet3d.dozuki.com/Wiki/Connecting_an_Emergency_Stop
This may be a good starting menu system for the Maestro: https://forum.duet3d.com/topic/8679/my-maestro-menu-files-are-now-on-github
Having the web interface will make a huge difference for usability. Right now you have both hands tied behind your back.
-
Thanks for that other menu file posting.
I was using the ones via Greg3D -
https://twitter.com/Greg191134/status/1060312518659358720I was not able to find any follow up thread here yet.
-
Phaedrux- Thanks for that link to the other menus- I have gotten one hand free and things are good!
I am trying to figure out how to implement M581/M582 on my board. I have to determine how to define the trigger pin. I think i can do it by assigning one of the LPC interrupt pins.
I am leaning towards wiring the other 3 switches in series, NC, so that if one of them trips, the condition is set. I really want this for stopping the printer from crashing the carriage out of bounds resulting from missed steps/layer shifts-hangs-hiccups-whatever.
Thanks again for your help.
Dennis
-
@sinned6915 said in Help- Marlin convert: Dual endstops & LCD Menus:
.........................I am leaning towards wiring the other 3 switches in series, NC, so that if one of them trips, the condition is set. I really want this for stopping the printer from crashing the carriage out of bounds resulting from missed steps/layer shifts-hangs-hiccups-whatever................
That's how I have my machine configured. As @Phaedrux says, once homed any moves will respect the axes maxima but I tend to do stupid things from time to time, so having additional switches can be useful. In my case I use a spare end stop on the Duex5 (E4) and connect the 3 switches wired in series to that. So any one opening will cause the trigger to happen using this command in config.g M581 E4 S1 T0 C0. The E4 is the end stop number, S1 means detect rising edge, T0 means do an emergency stop like M122 (but you can take other action or call your own macro), and C0 means any time (using C1 means only when printing from SD card).