{"action":"created","issue":{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/9791","repository_url":"https://api.github.com/repos/MarlinFirmware/Marlin","labels_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/9791/labels{/name}","comments_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/9791/comments","events_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/9791/events","html_url":"https://github.com/MarlinFirmware/Marlin/issues/9791","id":299945987,"number":9791,"title":"TMC2130, Ramps 1.4, Marlin, pronterface-> X not homing","user":{"login":"steverichab","id":18090414,"avatar_url":"https://avatars3.githubusercontent.com/u/18090414?v=4","gravatar_id":"","url":"https://api.github.com/users/steverichab","html_url":"https://github.com/steverichab","followers_url":"https://api.github.com/users/steverichab/followers","following_url":"https://api.github.com/users/steverichab/following{/other_user}","gists_url":"https://api.github.com/users/steverichab/gists{/gist_id}","starred_url":"https://api.github.com/users/steverichab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steverichab/subscriptions","organizations_url":"https://api.github.com/users/steverichab/orgs","repos_url":"https://api.github.com/users/steverichab/repos","events_url":"https://api.github.com/users/steverichab/events{/privacy}","received_events_url":"https://api.github.com/users/steverichab/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-24T14:46:31Z","updated_at":"2018-02-24T15:43:54Z","closed_at":null,"author_association":"NONE","body":"Hello from a newbie to 3D printing,\r\n\r\nI have recently converted an old original Wanhao DI3 to Ramps 1.4 w/ LCD and it has been working fine with DRV8825 stepper drivers.\r\n\r\nAfter watching Toms \"Dolly Upgrade\" video on TMC2130 stepper drivers I got 3 for my X/Y/Z axis's\r\nI got the cheep Fysetc drivers but they appear to work fine after I soldered the proper jumpers.\r\n\r\nI have gotten all axis working through Pronterface and even the LCD is fine via SPI.\r\n\r\nX Axis limit and Y axis limit are wired to the diag pin on the TMC2130s but the Z limit is wired to a mechanical switch.\r\nnote: M119 reports back open always on X&Y and triggered on Z when it is home.\r\n\r\n**All seems well but 2 things do not work 1) when I hit XHome on Pronterface the motor only shutters. 2) M122 returns nothing**. I also do not know if sensor less homing is working but first things first.\r\n\r\nHere is a summary of my configuration.h and I have modified the configuration.adv.h and pins.ramps files\r\n\r\nPlease Help !!!\r\n\r\n//**************************************************************************************************************************************\r\n\r\n#ifndef CONFIGURATION_H\r\n#define CONFIGURATION_H\r\n#define CONFIGURATION_H_VERSION 010100\r\n#define SERIAL_PORT 0\r\n#define BAUDRATE 250000\r\n\r\n#ifndef MOTHERBOARD\r\n#define MOTHERBOARD BOARD_RAMPS_14_EFB\r\n#endif\r\n#define CUSTOM_MACHINE_NAME \"TMC2130 X Home Broken\"\r\n//===========================================================================\r\n//======================== Extruder =======================\r\n//===========================================================================\r\n#define EXTRUDERS 1\r\n#define POWER_SUPPLY 0\r\n#define PREVENT_COLD_EXTRUSION\r\n#define EXTRUDE_MINTEMP 170\r\n// This option prevents a single extrusion longer than EXTRUDE_MAXLENGTH.\r\n// Note that for Bowden Extruders a too-small value here may prevent loading.\r\n#define PREVENT_LENGTHY_EXTRUDE\r\n#define EXTRUDE_MAXLENGTH 200\r\n#define INVERT_E0_DIR false\r\n//===========================================================================\r\n//======================== Thermal Runaway Protection =======================\r\n//===========================================================================\r\n\r\n#define THERMAL_PROTECTION_HOTENDS // Enable thermal protection for all extruders\r\n#define THERMAL_PROTECTION_BED // Enable thermal protection for the heated bed\r\n\r\n//===========================================================================\r\n//============================== Endstop Settings ===========================\r\n//===========================================================================\r\n#define USE_XMIN_PLUG\r\n#define USE_YMIN_PLUG\r\n#define USE_ZMIN_PLUG\r\n#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.\r\n#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.\r\n#define Z_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.\r\n#define Z_MIN_PROBE_ENDSTOP_INVERTING false // set to true to invert the logic of the probe.\r\n#define INVERT_X_DIR true \r\n#define INVERT_Y_DIR false \r\n#define INVERT_Z_DIR false\r\n#define X_HOME_DIR -1\r\n#define Y_HOME_DIR -1\r\n#define Z_HOME_DIR -1\r\n\r\n//=============================================================================\r\n//============================== Movement Settings ============================\r\n//=============================================================================\r\n//************************************************************************************************************\r\n//#define DEFAULT_AXIS_STEPS_PER_UNIT { 159.86, 159.8, 799.09, 190 }\r\n// These settings are for DRV8825 stepper drivers at 1/32 steps/mm cut in half if A4988 drivers @ 1/16 steps/mm\r\n#define DEFAULT_AXIS_STEPS_PER_UNIT { 79.95, 79.9, 399.55, 190 }\r\n// These settings are for TMC2130 stepper drivers at 1/16, E0 DRV8825 drivers @ 1/32 steps/mm\r\n//*************************************************************************************************************\r\n//*************************************************************************************************************\r\n/\r\n// Travel limits (mm) after homing, corresponding to endstop positions.\r\n#define X_MIN_POS 0\r\n#define Y_MIN_POS 0\r\n#define Z_MIN_POS 0\r\n#define X_MAX_POS 170\r\n#define Y_MAX_POS 170\r\n#define Z_MAX_POS 170\r\n#define X_ENABLE_ON 0\r\n#define Y_ENABLE_ON 0\r\n#define Z_ENABLE_ON 0\r\n#define E_ENABLE_ON 0 // For all extruders\r\n```\r\nOne more thing if I use the correct DEFAULT_AXIS_STEPS_PER_UNIT { 79.95, 79.9, 399.55, 190 } the Y Home behaves the same way as the X Home \r\nIf I use the original DEFAULT_AXIS_STEPS_PER_UNIT { 159.86, 159.8, 799.09, 190 } only the x home behaves that way\r\n\r\nFYI:  G28 X0 in pronterface does not go home either."},"comment":{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/comments/368237059","html_url":"https://github.com/MarlinFirmware/Marlin/issues/9791#issuecomment-368237059","issue_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/9791","id":368237059,"user":{"login":"steverichab","id":18090414,"avatar_url":"https://avatars3.githubusercontent.com/u/18090414?v=4","gravatar_id":"","url":"https://api.github.com/users/steverichab","html_url":"https://github.com/steverichab","followers_url":"https://api.github.com/users/steverichab/followers","following_url":"https://api.github.com/users/steverichab/following{/other_user}","gists_url":"https://api.github.com/users/steverichab/gists{/gist_id}","starred_url":"https://api.github.com/users/steverichab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steverichab/subscriptions","organizations_url":"https://api.github.com/users/steverichab/orgs","repos_url":"https://api.github.com/users/steverichab/repos","events_url":"https://api.github.com/users/steverichab/events{/privacy}","received_events_url":"https://api.github.com/users/steverichab/received_events","type":"User","site_admin":false},"created_at":"2018-02-24T15:43:54Z","updated_at":"2018-02-24T15:43:54Z","author_association":"NONE","body":"Thank you I will try the bug fix branch.\r\nUnfortunately there are  2 problems with my installation:\r\n1) when I hit X Home on Pronterface the motor only shutters. \r\n2) M122 returns nothing.\r\nI think there is a way to enable TMC_DEBUG in configuration.adv.h but I am not sure how to do it.\r\n\r\nAs soon as I get M122 working I will post its output\r\n\r\nThanks Again\r\n"}}
{"actor":{"display_login":"steverichab"}}