Welcome! Log In Create A New Profile

Advanced

how to pause 3d printer when filament is not there

Posted by swaroop 
how to pause 3d printer when filament is not there
September 25, 2017 07:48AM
Hi, Please help me in getting out from that problem. As i am using optical sensor and ramps 1.4 board i connected the optical sensor to X_ MAX pins which are the unused pins. I want what are the things i have to configure in marlin firmware. Please help me in coding
Re: how to pause 3d printer when filament is not there
September 25, 2017 11:15AM
Hell swaroop

Depending on your version of Marlin may change a little , My version is Marlin 1.1.X
In configuration.h

#define Z_MIN_ENDSTOP_INVERTING false // set to true for SN-04N False for TL-W3M.
#define X_MAX_ENDSTOP_INVERTING false // set to true to for Filament run-out sensor. // Most likely you only need to change this

In Pins_Ramps.h // or whatever you board uses

// Redefined Max end-stop to filament run-out sensor
#ifndef X_MAX_PIN
#define X_MAX_PIN 2
#endif

// I changed my to Filament run-out sensor, as I could not for whatever reason get the filament run-out sensor to work on default pin.
// #define FIL_RUNOUT_PIN 4
// define X_MAX_PIN 2 for the filament runout sensor.
#define FIL_RUNOUT_PIN 2

Edited 5 time(s). Last edit at 09/25/2017 11:28AM by Roberts_Clif.
Re: how to pause 3d printer when filament is not there
September 27, 2017 12:58AM
Hi Robert,

Thanks for the suggestions. It worked perfectly. I used X min pins, accordingly I changed it in "pins_RAMPS.h".

Also, in "Configuration_adv.h" we have to un comment the following line:
#define FILAMENT_CHANGE_FEATURE

Edited 1 time(s). Last edit at 09/27/2017 08:24AM by swaroop.
Re: how to pause 3d printer when filament is not there
September 27, 2017 07:53AM
I Made a Lighted NC switch circuit. Schematic attached. You do not have to include the LED circuit.
Are you using a NC (normally closed) switch, a NO (normally Open) switch will not work.

All part should be soldered directly onto the connector or the switch.
The lighted Filament Run-out gives you a visual Filament present indication.



Edited 4 time(s). Last edit at 09/27/2017 08:06AM by Roberts_Clif.
Re: how to pause 3d printer when filament is not there
September 27, 2017 08:26AM
Hi Robert,

Thanks for the suggestions. As per the previous instructions, my optical end stop was connected to X min and tt worked perfectly. I used X min pins, accordingly I changed it in "pins_RAMPS.h".

Also, in "Configuration_adv.h" we have to un comment the following line:
#define FILAMENT_CHANGE_FEATURE
Sorry, only registered users may post in this forum.

Click here to login