Welcome! Log In Create A New Profile

Advanced

Print stop on specific endstop hit

Posted by Coolerooney 
Print stop on specific endstop hit
September 23, 2019 05:48PM
Hi all

Plotter project, running Marlin, 2560+ ramps etc

How can i stop the program when a specific endstop is hit
Which command/code should be used

Thx

Coolerooney
Re: Print stop on specific endstop hit
September 23, 2019 06:59PM
Endstops are what they are. The only way to change their function is it to modify the firmware
Re: Print stop on specific endstop hit
October 02, 2019 10:28AM
Hi Dust,

Thx again for your input

What is the polling frequency of the end stop pins, or how fast can be switched between end stops?

Thx

Best

C
Re: Print stop on specific endstop hit
October 02, 2019 11:37AM
Most modern firmware the end stops are interrupt's
Re: Print stop on specific endstop hit
October 02, 2019 04:00PM
Hi Dust,

Apologies for my noob-ness
But how quickly could the endstop interrups be processed?

The is an option in marlin to swicth this off and save cpu cycles, but when I tried it, with mech end stops, it gave inconsistent results

Switch to 32bit? To be quicker?
Re: Print stop on specific endstop hit
October 05, 2019 04:50PM
What about this option:

Repurpose the filament runout sensor

Change the M600 script into M32, calling a sequenced shutdown program?

Are there any other similar, hardware triggered scripts in Marlin

Thx

C
Sorry, only registered users may post in this forum.

Click here to login