{"action":"created","issue":{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/4090","repository_url":"https://api.github.com/repos/MarlinFirmware/Marlin","labels_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/4090/labels{/name}","comments_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/4090/comments","events_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/4090/events","html_url":"https://github.com/MarlinFirmware/Marlin/issues/4090","id":161089573,"number":4090,"title":"FILAMENT_RUNOUT_SENSOR not working?","user":{"login":"lavato","id":12762832,"avatar_url":"https://avatars.githubusercontent.com/u/12762832?v=3","gravatar_id":"","url":"https://api.github.com/users/lavato","html_url":"https://github.com/lavato","followers_url":"https://api.github.com/users/lavato/followers","following_url":"https://api.github.com/users/lavato/following{/other_user}","gists_url":"https://api.github.com/users/lavato/gists{/gist_id}","starred_url":"https://api.github.com/users/lavato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lavato/subscriptions","organizations_url":"https://api.github.com/users/lavato/orgs","repos_url":"https://api.github.com/users/lavato/repos","events_url":"https://api.github.com/users/lavato/events{/privacy}","received_events_url":"https://api.github.com/users/lavato/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/labels/Bug:%20Potential%20?","name":"Bug: Potential ?","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-06-19T20:11:24Z","updated_at":"2016-06-20T19:19:17Z","closed_at":null,"body":"I am trying to use the FILAMENT_RUNOUT_SENSOR option for printer to pause when there is no filament however, it does not seam to work.\r\n\r\nI use RC6 latest DEV  with RAMPS EEB config and filament sensor which is HIGH (4.9v)  on the signal side when the filament is not available.\r\nRegardless if I supply HIGH  to Signal or not (which I do manually when testing) nothing happens, printer does not pause.\r\n\r\nI have tried two pins D4  (servo) & D2 (X_MAX) both don't work.\r\n\r\nWhen trying D4, I did below updates to config:\r\n```\r\n#define FILAMENT_RUNOUT_SENSOR\r\n#if ENABLED(FILAMENT_RUNOUT_SENSOR)\r\n  const bool FIL_RUNOUT_INVERTING = true;\r\n  //#define ENDSTOPPULLUP_FIL_RUNOUT  **<--Commented out**\r\n  #define FILAMENT_RUNOUT_SCRIPT \"M600\"\r\n#endif\r\n```\r\n\r\n![d4](https://cloud.githubusercontent.com/assets/12762832/16179601/55bb826e-3662-11e6-9126-4a48c11a64bc.png)\r\n\r\nWhen trying D2, I did the same as for D4 put also did update the \"pins_RAMPS_14.h\" with below:\r\n```\r\n#if ENABLED(FILAMENT_RUNOUT_SENSOR)\r\n  #define FILRUNOUT_PIN     2\r\n#endif\r\n\r\n```\r\n![d2](https://cloud.githubusercontent.com/assets/12762832/16179603/5d9f1e28-3662-11e6-967b-c4b75e7ed8c8.png)\r\n\r\n\r\nIs there something else which needs to be set or this is a bug?"},"comment":{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/comments/227241693","html_url":"https://github.com/MarlinFirmware/Marlin/issues/4090#issuecomment-227241693","issue_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/4090","id":227241693,"user":{"login":"thinkyhead","id":698003,"avatar_url":"https://avatars.githubusercontent.com/u/698003?v=3","gravatar_id":"","url":"https://api.github.com/users/thinkyhead","html_url":"https://github.com/thinkyhead","followers_url":"https://api.github.com/users/thinkyhead/followers","following_url":"https://api.github.com/users/thinkyhead/following{/other_user}","gists_url":"https://api.github.com/users/thinkyhead/gists{/gist_id}","starred_url":"https://api.github.com/users/thinkyhead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thinkyhead/subscriptions","organizations_url":"https://api.github.com/users/thinkyhead/orgs","repos_url":"https://api.github.com/users/thinkyhead/repos","events_url":"https://api.github.com/users/thinkyhead/events{/privacy}","received_events_url":"https://api.github.com/users/thinkyhead/received_events","type":"User","site_admin":false},"created_at":"2016-06-20T19:19:17Z","updated_at":"2016-06-20T19:19:17Z","body":"I've made some tweaks to this feature, but probably not anything that will affect your results. Still, start with the latest code and try also changing `FIL_RUNOUT_INVERTING` to `false`, both with and without `ENDSTOPPULLUP_FIL_RUNOUT`, to see if the results change."}}
{"actor":{"display_login":"thinkyhead"}}