{"action":"created","issue":{"url":"https://api.github.com/repos/repetier/Repetier-Firmware/issues/570","repository_url":"https://api.github.com/repos/repetier/Repetier-Firmware","labels_url":"https://api.github.com/repos/repetier/Repetier-Firmware/issues/570/labels{/name}","comments_url":"https://api.github.com/repos/repetier/Repetier-Firmware/issues/570/comments","events_url":"https://api.github.com/repos/repetier/Repetier-Firmware/issues/570/events","html_url":"https://github.com/repetier/Repetier-Firmware/issues/570","id":174906148,"number":570,"title":"Crash after G30 command (Zonestar P802N Melzi 2.0 V0.92.9)","user":{"login":"xpix","id":3763176,"avatar_url":"https://avatars.githubusercontent.com/u/3763176?v=3","gravatar_id":"","url":"https://api.github.com/users/xpix","html_url":"https://github.com/xpix","followers_url":"https://api.github.com/users/xpix/followers","following_url":"https://api.github.com/users/xpix/following{/other_user}","gists_url":"https://api.github.com/users/xpix/gists{/gist_id}","starred_url":"https://api.github.com/users/xpix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xpix/subscriptions","organizations_url":"https://api.github.com/users/xpix/orgs","repos_url":"https://api.github.com/users/xpix/repos","events_url":"https://api.github.com/users/xpix/events{/privacy}","received_events_url":"https://api.github.com/users/xpix/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-09-03T17:07:42Z","updated_at":"2016-09-05T06:59:09Z","closed_at":"2016-09-04T06:31:17Z","body":"Hello Friends,\r\n\r\ni recompile the zonestar master of repetier firmware and add my ABL capacitive Sensor. \r\n\r\nIf i send the \"G30\" command, then he try first to home X-Axis and after ~1 second the firmware is freezed. The controller don't receive more commands and i have to reset with the \"Emergency Button\".\r\n\r\nHere my Configuration file:\r\n\r\n``\r\n\r\n/*\r\n    This file is part of Repetier-Firmware.\r\n\r\n    Repetier-Firmware is free software: you can redistribute it and/or modify\r\n    it under the terms of the GNU General Public License as published by\r\n    the Free Software Foundation, either version 3 of the License, or\r\n    (at your option) any later version.\r\n\r\n    Repetier-Firmware is distributed in the hope that it will be useful,\r\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r\n    GNU General Public License for more details.\r\n\r\n    You should have received a copy of the GNU General Public License\r\n    along with Repetier-Firmware.  If not, see <http://www.gnu.org/licenses/>.\r\n\r\n*/\r\n\r\n#ifndef CONFIGURATION_H\r\n#define CONFIGURATION_H\r\n\r\n/**************** READ FIRST ************************\r\n\r\n   This configuration file was created with the configuration tool. For that\r\n   reason, it does not contain the same informations as the original Configuration.h file.\r\n   It misses the comments and unused parts. Open this file file in the config tool\r\n   to see and change the data. You can also upload it to newer/older versions. The system\r\n   will silently add new options, so compilation continues to work.\r\n\r\n   This file is optimized for version 0.92\r\n   generator: http://www.repetier.com/firmware/v092/\r\n\r\n   If you are in doubt which named functions use which pins on your board, please check the\r\n   pins.h for the used name->pin assignments and your board documentation to verify it is\r\n   as you expect.\r\n\r\n*/\r\n\r\n#define NUM_EXTRUDER 1\r\n#define MOTHERBOARD 63\r\n#include \"pins.h\"\r\n\r\n// ################## EDIT THESE SETTINGS MANUALLY ################\r\n// ################ END MANUAL SETTINGS ##########################\r\n\r\n#undef FAN_BOARD_PIN\r\n#define FAN_BOARD_PIN -1\r\n#define BOARD_FAN_SPEED 255\r\n#define FAN_THERMO_PIN -1\r\n#define FAN_THERMO_MIN_PWM 128\r\n#define FAN_THERMO_MAX_PWM 255\r\n#define FAN_THERMO_MIN_TEMP 45\r\n#define FAN_THERMO_MAX_TEMP 60\r\n#define FAN_THERMO_THERMISTOR_PIN -1\r\n#define FAN_THERMO_THERMISTOR_TYPE 1\r\n\r\n//#define EXTERNALSERIAL  use Arduino serial library instead of build in. Requires more ram, has only 63 byte input buffer.\r\n// Uncomment the following line if you are using Arduino compatible firmware made for Arduino version earlier then 1.0\r\n// If it is incompatible you will get compiler errors about write functions not being compatible!\r\n//#define COMPAT_PRE1\r\n#define BLUETOOTH_SERIAL  -1\r\n#define BLUETOOTH_BAUD  115200\r\n#define MIXING_EXTRUDER 0\r\n\r\n#define DRIVE_SYSTEM 0\r\n#define XAXIS_STEPS_PER_MM 100\r\n#define YAXIS_STEPS_PER_MM 100\r\n#define ZAXIS_STEPS_PER_MM 400\r\n#define EXTRUDER_FAN_COOL_TEMP 50\r\n#define PDM_FOR_EXTRUDER 0\r\n#define PDM_FOR_COOLER 0\r\n#define DECOUPLING_TEST_MAX_HOLD_VARIANCE 20\r\n#define DECOUPLING_TEST_MIN_TEMP_RISE 1\r\n#define KILL_IF_SENSOR_DEFECT 0\r\n#define RETRACT_ON_PAUSE 2\r\n#define PAUSE_START_COMMANDS \"\"\r\n#define PAUSE_END_COMMANDS \"\"\r\n#define SHARED_EXTRUDER_HEATER 0\r\n#define EXT0_X_OFFSET 0\r\n#define EXT0_Y_OFFSET 0\r\n#define EXT0_Z_OFFSET 0\r\n#define EXT0_STEPS_PER_MM 95\r\n#define EXT0_TEMPSENSOR_TYPE 1\r\n#define EXT0_TEMPSENSOR_PIN TEMP_0_PIN\r\n#define EXT0_HEATER_PIN HEATER_0_PIN\r\n#define EXT0_STEP_PIN ORIG_E0_STEP_PIN\r\n#define EXT0_DIR_PIN ORIG_E0_DIR_PIN\r\n#define EXT0_INVERSE 0\r\n#define EXT0_ENABLE_PIN ORIG_E0_ENABLE_PIN\r\n#define EXT0_ENABLE_ON 0\r\n#define EXT0_MIRROR_STEPPER 0\r\n#define EXT0_STEP2_PIN ORIG_E0_STEP_PIN\r\n#define EXT0_DIR2_PIN ORIG_E0_DIR_PIN\r\n#define EXT0_INVERSE2 0\r\n#define EXT0_ENABLE2_PIN ORIG_E0_ENABLE_PIN\r\n#define EXT0_MAX_FEEDRATE 50\r\n#define EXT0_MAX_START_FEEDRATE 20\r\n#define EXT0_MAX_ACCELERATION 5000\r\n#define EXT0_HEAT_MANAGER 3\r\n#define EXT0_WATCHPERIOD 1\r\n#define EXT0_PID_INTEGRAL_DRIVE_MAX 230\r\n#define EXT0_PID_INTEGRAL_DRIVE_MIN 40\r\n#define EXT0_PID_PGAIN_OR_DEAD_TIME 7\r\n#define EXT0_PID_I 2\r\n#define EXT0_PID_D 40\r\n#define EXT0_PID_MAX 255\r\n#define EXT0_ADVANCE_K 0\r\n#define EXT0_ADVANCE_L 0\r\n#define EXT0_ADVANCE_BACKLASH_STEPS 0\r\n#define EXT0_WAIT_RETRACT_TEMP 150\r\n#define EXT0_WAIT_RETRACT_UNITS 0\r\n#define EXT0_SELECT_COMMANDS \"\"\r\n#define EXT0_DESELECT_COMMANDS \"\"\r\n#define EXT0_EXTRUDER_COOLER_PIN -1\r\n#define EXT0_EXTRUDER_COOLER_SPEED 255\r\n#define EXT0_DECOUPLE_TEST_PERIOD 20000\r\n#define EXT0_JAM_PIN -1\r\n#define EXT0_JAM_PULLUP 0\r\n\r\n#define FEATURE_RETRACTION 1\r\n#define AUTORETRACT_ENABLED 0\r\n#define RETRACTION_LENGTH 3\r\n#define RETRACTION_LONG_LENGTH 13\r\n#define RETRACTION_SPEED 40\r\n#define RETRACTION_Z_LIFT 0\r\n#define RETRACTION_UNDO_EXTRA_LENGTH 0\r\n#define RETRACTION_UNDO_EXTRA_LONG_LENGTH 0\r\n#define RETRACTION_UNDO_SPEED 20\r\n#define FILAMENTCHANGE_X_POS 0\r\n#define FILAMENTCHANGE_Y_POS 0\r\n#define FILAMENTCHANGE_Z_ADD  2\r\n#define FILAMENTCHANGE_REHOME 1\r\n#define FILAMENTCHANGE_SHORTRETRACT 5\r\n#define FILAMENTCHANGE_LONGRETRACT 50\r\n#define JAM_STEPS 220\r\n#define JAM_SLOWDOWN_STEPS 320\r\n#define JAM_SLOWDOWN_TO 70\r\n#define JAM_ERROR_STEPS 500\r\n#define JAM_MIN_STEPS 10\r\n#define JAM_ACTION 1\r\n\r\n#define RETRACT_DURING_HEATUP true\r\n#define PID_CONTROL_RANGE 20\r\n#define SKIP_M109_IF_WITHIN 2\r\n#define SCALE_PID_TO_MAX 1\r\n#define TEMP_HYSTERESIS 0\r\n#define EXTRUDE_MAXLENGTH 160\r\n#define NUM_TEMPS_USERTHERMISTOR0 0\r\n#define USER_THERMISTORTABLE0 {}\r\n#define NUM_TEMPS_USERTHERMISTOR1 0\r\n#define USER_THERMISTORTABLE1 {}\r\n#define NUM_TEMPS_USERTHERMISTOR2 0\r\n#define USER_THERMISTORTABLE2 {}\r\n#define GENERIC_THERM_VREF 5\r\n#define GENERIC_THERM_NUM_ENTRIES 33\r\n#define HEATER_PWM_SPEED 0\r\n\r\n// ############# Heated bed configuration ########################\r\n\r\n#define HAVE_HEATED_BED 1\r\n#define HEATED_BED_MAX_TEMP 120\r\n#define SKIP_M190_IF_WITHIN 3\r\n#define HEATED_BED_SENSOR_TYPE 1\r\n#define HEATED_BED_SENSOR_PIN TEMP_1_PIN\r\n#define HEATED_BED_HEATER_PIN 12\r\n#define HEATED_BED_SET_INTERVAL 5000\r\n#define HEATED_BED_HEAT_MANAGER 0\r\n#define HEATED_BED_PID_INTEGRAL_DRIVE_MAX 255\r\n#define HEATED_BED_PID_INTEGRAL_DRIVE_MIN 80\r\n#define HEATED_BED_PID_PGAIN_OR_DEAD_TIME   196\r\n#define HEATED_BED_PID_IGAIN   33\r\n#define HEATED_BED_PID_DGAIN 290\r\n#define HEATED_BED_PID_MAX 255\r\n#define HEATED_BED_DECOUPLE_TEST_PERIOD 300000\r\n#define MIN_EXTRUDER_TEMP 150\r\n#define MAXTEMP 275\r\n#define MIN_DEFECT_TEMPERATURE -10\r\n#define MAX_DEFECT_TEMPERATURE 290\r\n\r\n// ##########################################################################################\r\n// ##                             Laser configuration                                      ##\r\n// ##########################################################################################\r\n\r\n/*\r\nIf the firmware is in laser mode, it can control a laser output to cut or engrave materials.\r\nPlease use this feature only if you know about safety and required protection. Lasers are\r\ndangerous and can hurt or make you blind!!!\r\n\r\nThe default laser driver only supports laser on and off. Here you control the eíntensity with\r\nyour feedrate. For exchangeable diode lasers this is normally enough. If you need more control\r\nyou can set the intensity in a range 0-255 with a custom extension to the driver. See driver.h\r\nand comments on how to extend the functions non invasive with our event system.\r\n\r\nIf you have a laser - powder system you will like your E override. If moves contain a\r\nincreasing extruder position it will laser that move. With this trick you can\r\nuse existing fdm slicers to laser the output. Laser width is extrusion width.\r\n\r\nOther tools may use M3 and M5 to enable/disable laser. Here G1/G2/G3 moves have laser enabled\r\nand G0 moves have it disables.\r\n\r\nIn any case, laser only enables while moving. At the end of a move it gets\r\nautomatically disabled.\r\n*/\r\n\r\n#define SUPPORT_LASER 0\r\n#define LASER_PIN -1\r\n#define LASER_ON_HIGH 1\r\n\r\n// ##                              CNC configuration                                       ##\r\n\r\n/*\r\nIf the firmware is in CNC mode, it can control a mill with M3/M4/M5. It works\r\nsimilar to laser mode, but mill keeps enabled during G0 moves and it allows\r\nsetting rpm (only with event extension that supports this) and milling direction.\r\nIt also can add a delay to wait for spindle to run on full speed.\r\n*/\r\n\r\n#define SUPPORT_CNC 0\r\n#define CNC_WAIT_ON_ENABLE 300\r\n#define CNC_WAIT_ON_DISABLE 0\r\n#define CNC_ENABLE_PIN -1\r\n#define CNC_ENABLE_WITH 1\r\n#define CNC_DIRECTION_PIN -1\r\n#define CNC_DIRECTION_CW 1\r\n\r\n\r\n#define DEFAULT_PRINTER_MODE 0\r\n\r\n// ################ Endstop configuration #####################\r\n\r\n#define ENDSTOP_PULLUP_X_MIN true\r\n#define ENDSTOP_X_MIN_INVERTING true\r\n#define MIN_HARDWARE_ENDSTOP_X true\r\n#define ENDSTOP_PULLUP_Y_MIN true\r\n#define ENDSTOP_Y_MIN_INVERTING true\r\n#define MIN_HARDWARE_ENDSTOP_Y true\r\n#define ENDSTOP_PULLUP_Z_MIN false\r\n#define ENDSTOP_Z_MIN_INVERTING false\r\n#define MIN_HARDWARE_ENDSTOP_Z false\r\n#define ENDSTOP_PULLUP_X_MAX true\r\n#define ENDSTOP_X_MAX_INVERTING false\r\n#define MAX_HARDWARE_ENDSTOP_X false\r\n#define ENDSTOP_PULLUP_Y_MAX true\r\n#define ENDSTOP_Y_MAX_INVERTING false\r\n#define MAX_HARDWARE_ENDSTOP_Y false\r\n#define ENDSTOP_PULLUP_Z_MAX true\r\n#define ENDSTOP_Z_MAX_INVERTING false\r\n#define MAX_HARDWARE_ENDSTOP_Z false\r\n#define max_software_endstop_r true\r\n\r\n#define min_software_endstop_x false\r\n#define min_software_endstop_y false\r\n#define min_software_endstop_z false\r\n#define max_software_endstop_x true\r\n#define max_software_endstop_y true\r\n#define max_software_endstop_z true\r\n#define ENDSTOP_X_BACK_MOVE 5\r\n#define ENDSTOP_Y_BACK_MOVE 5\r\n#define ENDSTOP_Z_BACK_MOVE 2\r\n#define ENDSTOP_X_RETEST_REDUCTION_FACTOR 3\r\n#define ENDSTOP_Y_RETEST_REDUCTION_FACTOR 3\r\n#define ENDSTOP_Z_RETEST_REDUCTION_FACTOR 3\r\n#define ENDSTOP_X_BACK_ON_HOME 1\r\n#define ENDSTOP_Y_BACK_ON_HOME 1\r\n#define ENDSTOP_Z_BACK_ON_HOME 0\r\n#define ALWAYS_CHECK_ENDSTOPS 1\r\n\r\n// ################# XYZ movements ###################\r\n\r\n#define X_ENABLE_ON 0\r\n#define Y_ENABLE_ON 0\r\n#define Z_ENABLE_ON 0\r\n#define DISABLE_X 0\r\n#define DISABLE_Y 0\r\n#define DISABLE_Z 0\r\n#define DISABLE_E 0\r\n#define INVERT_X_DIR 0\r\n#define INVERT_Y_DIR 0\r\n#define INVERT_Z_DIR 1\r\n#define X_HOME_DIR -1\r\n#define Y_HOME_DIR -1\r\n#define Z_HOME_DIR -1\r\n#define X_MAX_LENGTH 245\r\n#define Y_MAX_LENGTH 210\r\n#define Z_MAX_LENGTH 230\r\n#define X_MIN_POS -38\r\n#define Y_MIN_POS -7\r\n#define Z_MIN_POS 0\r\n#define DISTORTION_CORRECTION 0\r\n#define DISTORTION_CORRECTION_POINTS 5\r\n#define DISTORTION_CORRECTION_R 100\r\n#define DISTORTION_PERMANENT 1\r\n#define DISTORTION_UPDATE_FREQUENCY 15\r\n#define DISTORTION_START_DEGRADE 0.5\r\n#define DISTORTION_END_HEIGHT 1\r\n#define DISTORTION_EXTRAPOLATE_CORNERS 0\r\n#define DISTORTION_XMIN 10\r\n#define DISTORTION_YMIN 10\r\n#define DISTORTION_XMAX 190\r\n#define DISTORTION_YMAX 190\r\n\r\n// ##########################################################################################\r\n// ##                           Movement settings                                          ##\r\n// ##########################################################################################\r\n\r\n#define FEATURE_BABYSTEPPING 1\r\n#define BABYSTEP_MULTIPLICATOR 1\r\n\r\n#define DELTA_SEGMENTS_PER_SECOND_PRINT 180 // Move accurate setting for print moves\r\n#define DELTA_SEGMENTS_PER_SECOND_MOVE 70 // Less accurate setting for other moves\r\n#define EXACT_DELTA_MOVES 1\r\n\r\n// Delta settings\r\n#define DELTA_HOME_ON_POWER 0\r\n\r\n#define DELTASEGMENTS_PER_PRINTLINE 24\r\n#define STEPPER_INACTIVE_TIME 360L\r\n#define MAX_INACTIVE_TIME 0L\r\n#define MAX_FEEDRATE_X 400\r\n#define MAX_FEEDRATE_Y 400\r\n#define MAX_FEEDRATE_Z 5\r\n#define HOMING_FEEDRATE_X 100\r\n#define HOMING_FEEDRATE_Y 100\r\n#define HOMING_FEEDRATE_Z 4\r\n#define HOMING_ORDER HOME_ORDER_XYZ\r\n#define ZHOME_MIN_TEMPERATURE 0\r\n#define ZHOME_HEAT_ALL 1\r\n#define ZHOME_HEAT_HEIGHT 20\r\n#define ZHOME_X_POS 999999\r\n#define ZHOME_Y_POS 999999\r\n#define ENABLE_BACKLASH_COMPENSATION 0\r\n#define X_BACKLASH 0\r\n#define Y_BACKLASH 0\r\n#define Z_BACKLASH 0\r\n#define RAMP_ACCELERATION 1\r\n#define STEPPER_HIGH_DELAY 0\r\n#define DIRECTION_DELAY 0\r\n#define STEP_DOUBLER_FREQUENCY 12000\r\n#define ALLOW_QUADSTEPPING 1\r\n#define DOUBLE_STEP_DELAY 0 // time in microseconds\r\n#define MAX_ACCELERATION_UNITS_PER_SQ_SECOND_X 1000\r\n#define MAX_ACCELERATION_UNITS_PER_SQ_SECOND_Y 1000\r\n#define MAX_ACCELERATION_UNITS_PER_SQ_SECOND_Z 100\r\n#define MAX_TRAVEL_ACCELERATION_UNITS_PER_SQ_SECOND_X 2000\r\n#define MAX_TRAVEL_ACCELERATION_UNITS_PER_SQ_SECOND_Y 2000\r\n#define MAX_TRAVEL_ACCELERATION_UNITS_PER_SQ_SECOND_Z 100\r\n#define INTERPOLATE_ACCELERATION_WITH_Z 1\r\n#define ACCELERATION_FACTOR_TOP 50\r\n#define MAX_JERK 20\r\n#define MAX_ZJERK 0.3\r\n#define PRINTLINE_CACHE_SIZE 16\r\n#define MOVE_CACHE_LOW 10\r\n#define LOW_TICKS_PER_MOVE 250000\r\n#define EXTRUDER_SWITCH_XY_SPEED 100\r\n#define DUAL_X_AXIS 0\r\n#define FEATURE_TWO_XSTEPPER 0\r\n#define X2_STEP_PIN   ORIG_E1_STEP_PIN\r\n#define X2_DIR_PIN    ORIG_E1_DIR_PIN\r\n#define X2_ENABLE_PIN ORIG_E1_ENABLE_PIN\r\n#define FEATURE_TWO_YSTEPPER 0\r\n#define Y2_STEP_PIN   ORIG_E1_STEP_PIN\r\n#define Y2_DIR_PIN    ORIG_E1_DIR_PIN\r\n#define Y2_ENABLE_PIN ORIG_E1_ENABLE_PIN\r\n#define FEATURE_TWO_ZSTEPPER 0\r\n#define Z2_STEP_PIN   ORIG_E1_STEP_PIN\r\n#define Z2_DIR_PIN    ORIG_E1_DIR_PIN\r\n#define Z2_ENABLE_PIN ORIG_E1_ENABLE_PIN\r\n#define FEATURE_THREE_ZSTEPPER 0\r\n#define Z3_STEP_PIN   ORIG_E2_STEP_PIN\r\n#define Z3_DIR_PIN    ORIG_E2_DIR_PIN\r\n#define Z3_ENABLE_PIN ORIG_E2_ENABLE_PIN\r\n#define FEATURE_DITTO_PRINTING 0\r\n#define USE_ADVANCE 0\r\n#define ENABLE_QUADRATIC_ADVANCE 0\r\n\r\n\r\n// ################# Misc. settings ##################\r\n\r\n#define BAUDRATE 115200\r\n#define ENABLE_POWER_ON_STARTUP 1\r\n#define POWER_INVERTING 0\r\n#define KILL_METHOD 1\r\n#define ACK_WITH_LINENUMBER 1\r\n#define WAITING_IDENTIFIER \"wait\"\r\n#define ECHO_ON_EXECUTE 1\r\n#define EEPROM_MODE 1\r\n#undef PS_ON_PIN\r\n#define PS_ON_PIN ORIG_PS_ON_PIN\r\n#define JSON_OUTPUT 0\r\n\r\n/* ======== Servos =======\r\nControl the servos with\r\nM340 P<servoId> S<pulseInUS>   / ServoID = 0..3  pulseInUs = 500..2500\r\nServos are controlled by a pulse width normally between 500 and 2500 with 1500ms in center position. 0 turns servo off.\r\nWARNING: Servos can draw a considerable amount of current. Make sure your system can handle this or you may risk your hardware!\r\n*/\r\n#define FEATURE_SERVO 0\r\n#define SERVO0_PIN 11\r\n#define SERVO1_PIN -1\r\n#define SERVO2_PIN -1\r\n#define SERVO3_PIN -1\r\n#define SERVO0_NEUTRAL_POS  -1\r\n#define SERVO1_NEUTRAL_POS  -1\r\n#define SERVO2_NEUTRAL_POS  -1\r\n#define SERVO3_NEUTRAL_POS  -1\r\n#define UI_SERVO_CONTROL 0\r\n#define FAN_KICKSTART_TIME  200\r\n\r\n        #define FEATURE_WATCHDOG 0\r\n\r\n// #################### Z-Probing #####################\r\n\r\n#define Z_PROBE_Z_OFFSET 0\r\n#define Z_PROBE_Z_OFFSET_MODE 0\r\n#define UI_BED_COATING 1\r\n#define FEATURE_Z_PROBE 1\r\n#define Z_PROBE_BED_DISTANCE 10\r\n#define Z_PROBE_PIN ORIG_Z_MIN_PIN\r\n#define Z_PROBE_PULLUP 0\r\n#define Z_PROBE_ON_HIGH 1\r\n#define Z_PROBE_X_OFFSET -25\r\n#define Z_PROBE_Y_OFFSET -45\r\n#define Z_PROBE_WAIT_BEFORE_TEST 0\r\n#define Z_PROBE_SPEED 2\r\n#define Z_PROBE_XY_SPEED 150\r\n#define Z_PROBE_SWITCHING_DISTANCE 1\r\n#define Z_PROBE_REPETITIONS 3\r\n#define Z_PROBE_HEIGHT 0.3\r\n#define Z_PROBE_START_SCRIPT \"G28 XY\"\r\n#define Z_PROBE_FINISHED_SCRIPT \"G0 X100 Y100 Z10\"\r\n#define Z_PROBE_REQUIRES_HEATING 0\r\n#define Z_PROBE_MIN_TEMPERATURE 150\r\n#define FEATURE_AUTOLEVEL 1\r\n#define Z_PROBE_X1 35\r\n#define Z_PROBE_Y1 50\r\n#define Z_PROBE_X2 190\r\n#define Z_PROBE_Y2 50\r\n#define Z_PROBE_X3 35\r\n#define Z_PROBE_Y3 200\r\n#define BED_LEVELING_METHOD 0\r\n#define BED_CORRECTION_METHOD 0\r\n#define BED_LEVELING_GRID_SIZE 5\r\n#define BED_LEVELING_REPETITIONS 5\r\n#define BED_MOTOR_1_X 0\r\n#define BED_MOTOR_1_Y 0\r\n#define BED_MOTOR_2_X 200\r\n#define BED_MOTOR_2_Y 0\r\n#define BED_MOTOR_3_X 100\r\n#define BED_MOTOR_3_Y 200\r\n#define BENDING_CORRECTION_A 0\r\n#define BENDING_CORRECTION_B 0\r\n#define BENDING_CORRECTION_C 0\r\n#define FEATURE_AXISCOMP 0\r\n#define AXISCOMP_TANXY 0\r\n#define AXISCOMP_TANYZ 0\r\n#define AXISCOMP_TANXZ 0\r\n\r\n\r\n#ifndef SDSUPPORT  // Some boards have sd support on board. These define the values already in pins.h\r\n#define SDSUPPORT 0\r\n#undef SDCARDDETECT\r\n#define SDCARDDETECT -1\r\n#define SDCARDDETECTINVERTED 0\r\n#endif\r\n#define SD_EXTENDED_DIR 1 /** Show extended directory including file length. Don't use this with Pronterface! */\r\n#define SD_RUN_ON_STOP \"\"\r\n#define SD_STOP_HEATER_AND_MOTORS_ON_STOP 1\r\n#define ARC_SUPPORT 1\r\n#define FEATURE_MEMORY_POSITION 1\r\n#define FEATURE_CHECKSUM_FORCED 0\r\n#define FEATURE_FAN_CONTROL 1\r\n#define FEATURE_FAN2_CONTROL 0\r\n#define FEATURE_CONTROLLER 24\r\n#define ADC_KEYPAD_PIN 1\r\n#define LANGUAGE_EN_ACTIVE 1\r\n#define LANGUAGE_DE_ACTIVE 1\r\n#define LANGUAGE_NL_ACTIVE 0\r\n#define LANGUAGE_PT_ACTIVE 0\r\n#define LANGUAGE_IT_ACTIVE 0\r\n#define LANGUAGE_ES_ACTIVE 0\r\n#define LANGUAGE_FI_ACTIVE 0\r\n#define LANGUAGE_SE_ACTIVE 0\r\n#define LANGUAGE_FR_ACTIVE 0\r\n#define LANGUAGE_CZ_ACTIVE 0\r\n#define LANGUAGE_PL_ACTIVE 0\r\n#define LANGUAGE_TR_ACTIVE 0\r\n#define UI_PRINTER_NAME \"P802_8_V1.5\"\r\n#define UI_PRINTER_COMPANY \"Zonestar 3D printer\"\r\n#define UI_PAGES_DURATION 4000\r\n#define UI_ANIMATION 0\r\n#define UI_SPEEDDEPENDENT_POSITIONING 0\r\n#define UI_DISABLE_AUTO_PAGESWITCH 1\r\n#define UI_AUTORETURN_TO_MENU_AFTER 30000\r\n#define FEATURE_UI_KEYS 0\r\n#define UI_ENCODER_SPEED 1\r\n#define UI_REVERSE_ENCODER 0\r\n#define UI_KEY_BOUNCETIME 20\r\n#define UI_KEY_FIRST_REPEAT 500\r\n#define UI_KEY_REDUCE_REPEAT 50\r\n#define UI_KEY_MIN_REPEAT 50\r\n#define FEATURE_BEEPER 0\r\n#define CASE_LIGHTS_PIN -1\r\n#define CASE_LIGHT_DEFAULT_ON 1\r\n#define UI_START_SCREEN_DELAY 3000\r\n#define UI_DYNAMIC_ENCODER_SPEED 1\r\n        /**\r\nBeeper sound definitions for short beeps during key actions\r\nand longer beeps for important actions.\r\nParameter is delay in microseconds and the secons is the number of repetitions.\r\nValues must be in range 1..255\r\n*/\r\n#define BEEPER_SHORT_SEQUENCE 2,2\r\n#define BEEPER_LONG_SEQUENCE 8,8\r\n#define UI_SET_PRESET_HEATED_BED_TEMP_PLA 60\r\n#define UI_SET_PRESET_EXTRUDER_TEMP_PLA   190\r\n#define UI_SET_PRESET_HEATED_BED_TEMP_ABS 110\r\n#define UI_SET_PRESET_EXTRUDER_TEMP_ABS   240\r\n#define UI_SET_MIN_HEATED_BED_TEMP  30\r\n#define UI_SET_MAX_HEATED_BED_TEMP 120\r\n#define UI_SET_MIN_EXTRUDER_TEMP   170\r\n#define UI_SET_MAX_EXTRUDER_TEMP   260\r\n#define UI_SET_EXTRUDER_FEEDRATE 2\r\n#define UI_SET_EXTRUDER_RETRACT_DISTANCE 3\r\n\r\n\r\n#define NUM_MOTOR_DRIVERS 0\r\n\r\n//----------------------------------------------------------------------------------\r\n// Sample configuration for Zonestar P802M 3D printer and similar models.\r\n// http://forum.repetier.com/discussion/1105/melzi-v2-0-with-lcd2004-and-5-keys\r\n//----------------------------------------------------------------------------------\r\n// A bit optimized settings for Zonestar 3D printer with Melzi board. Most important\r\n// settings are steps/mm, Z direction inversion, homing order, digital pin 12 for\r\n// bed heater (instead of default 10 set in Melzi configuration), Zonestar display\r\n// controller with analog pin 1 for keypad. This firmware is a bit faster than\r\n// Repetier firmware defaults.\r\n//\r\n// Do not forget to update X/Y/Z min positions for your printer (it homes with\r\n// negative values for X/Y) and then set X/Y/Z max travel so the printer does not\r\n// kick max ends (all set from General tab of web configurator or later via EEPROM\r\n// editor).\r\n//\r\n// Make sure you use this firmware settings and not previously stored ones. M502\r\n// (restore firmware defaults) and M500 (save to EEPROM) commands may help.\r\n//\r\n// By default the Enter/OK (center) key is mapped to the same action\r\n// as the Right one (ACTION_OK). It can be redefined here if desired:\r\n//#define ADC_KEYPAD_CENTER_ACTION UI_ACTION_TOP_MENU\r\n//----------------------------------------------------------------------------------\r\n\r\n#endif\r\n\r\n/* Below you will find the configuration string, that created this Configuration.h\r\n\r\n========== Start configuration string ==========\r\n{\r\n    \"editMode\": 2,\r\n    \"processor\": 0,\r\n    \"baudrate\": 115200,\r\n    \"bluetoothSerial\": -1,\r\n    \"bluetoothBaudrate\": 115200,\r\n    \"xStepsPerMM\": 100,\r\n    \"yStepsPerMM\": 100,\r\n    \"zStepsPerMM\": 1600,\r\n    \"xInvert\": 0,\r\n    \"xInvertEnable\": 0,\r\n    \"eepromMode\": 1,\r\n    \"yInvert\": 0,\r\n    \"yInvertEnable\": 0,\r\n    \"zInvert\": \"1\",\r\n    \"zInvertEnable\": 0,\r\n    \"extruder\": [\r\n        {\r\n            \"id\": 0,\r\n            \"heatManager\": 3,\r\n            \"pidDriveMin\": 40,\r\n            \"pidDriveMax\": 230,\r\n            \"pidMax\": 255,\r\n            \"sensorType\": 1,\r\n            \"sensorPin\": \"TEMP_0_PIN\",\r\n            \"heaterPin\": \"HEATER_0_PIN\",\r\n            \"maxFeedrate\": 50,\r\n            \"startFeedrate\": 20,\r\n            \"invert\": \"0\",\r\n            \"invertEnable\": \"0\",\r\n            \"acceleration\": 5000,\r\n            \"watchPeriod\": 1,\r\n            \"pidP\": 7,\r\n            \"pidI\": 2,\r\n            \"pidD\": 40,\r\n            \"advanceK\": 0,\r\n            \"advanceL\": 0,\r\n            \"waitRetractTemp\": 150,\r\n            \"waitRetractUnits\": 0,\r\n            \"waitRetract\": 0,\r\n            \"stepsPerMM\": 95,\r\n            \"coolerPin\": -1,\r\n            \"coolerSpeed\": 255,\r\n            \"selectCommands\": \"\",\r\n            \"deselectCommands\": \"\",\r\n            \"xOffset\": 0,\r\n            \"yOffset\": 0,\r\n            \"zOffset\": 0,\r\n            \"xOffsetSteps\": 0,\r\n            \"yOffsetSteps\": 0,\r\n            \"zOffsetSteps\": 0,\r\n            \"stepper\": {\r\n                \"name\": \"Extruder 0\",\r\n                \"step\": \"ORIG_E0_STEP_PIN\",\r\n                \"dir\": \"ORIG_E0_DIR_PIN\",\r\n                \"enable\": \"ORIG_E0_ENABLE_PIN\"\r\n            },\r\n            \"advanceBacklashSteps\": 0,\r\n            \"decoupleTestPeriod\": 20,\r\n            \"jamPin\": -1,\r\n            \"jamPullup\": \"0\",\r\n            \"mirror\": \"0\",\r\n            \"invert2\": \"0\",\r\n            \"stepper2\": {\r\n                \"name\": \"Extruder 0\",\r\n                \"step\": \"ORIG_E0_STEP_PIN\",\r\n                \"dir\": \"ORIG_E0_DIR_PIN\",\r\n                \"enable\": \"ORIG_E0_ENABLE_PIN\"\r\n            }\r\n        }\r\n    ],\r\n    \"uiLanguage\": 0,\r\n    \"uiController\": 0,\r\n    \"xMinEndstop\": 1,\r\n    \"yMinEndstop\": 1,\r\n    \"zMinEndstop\": 1,\r\n    \"xMaxEndstop\": 0,\r\n    \"yMaxEndstop\": 0,\r\n    \"zMaxEndstop\": 0,\r\n    \"motherboard\": 63,\r\n    \"driveSystem\": 0,\r\n    \"xMaxSpeed\": 400,\r\n    \"xHomingSpeed\": 100,\r\n    \"xTravelAcceleration\": 2000,\r\n    \"xPrintAcceleration\": 1000,\r\n    \"yMaxSpeed\": 400,\r\n    \"yHomingSpeed\": 100,\r\n    \"yTravelAcceleration\": 2000,\r\n    \"yPrintAcceleration\": 1000,\r\n    \"zMaxSpeed\": 5,\r\n    \"zHomingSpeed\": 4,\r\n    \"zTravelAcceleration\": 100,\r\n    \"zPrintAcceleration\": 100,\r\n    \"xMotor\": {\r\n        \"name\": \"X motor\",\r\n        \"step\": \"ORIG_X_STEP_PIN\",\r\n        \"dir\": \"ORIG_X_DIR_PIN\",\r\n        \"enable\": \"ORIG_X_ENABLE_PIN\"\r\n    },\r\n    \"yMotor\": {\r\n        \"name\": \"Y motor\",\r\n        \"step\": \"ORIG_Y_STEP_PIN\",\r\n        \"dir\": \"ORIG_Y_DIR_PIN\",\r\n        \"enable\": \"ORIG_Y_ENABLE_PIN\"\r\n    },\r\n    \"zMotor\": {\r\n        \"name\": \"Z motor\",\r\n        \"step\": \"ORIG_Z_STEP_PIN\",\r\n        \"dir\": \"ORIG_Z_DIR_PIN\",\r\n        \"enable\": \"ORIG_Z_ENABLE_PIN\"\r\n    },\r\n    \"enableBacklash\": \"0\",\r\n    \"backlashX\": 0,\r\n    \"backlashY\": 0,\r\n    \"backlashZ\": 0,\r\n    \"stepperInactiveTime\": 360,\r\n    \"maxInactiveTime\": 0,\r\n    \"xMinPos\": -38,\r\n    \"yMinPos\": -7,\r\n    \"zMinPos\": 0,\r\n    \"xLength\": 245,\r\n    \"yLength\": 210,\r\n    \"zLength\": 230,\r\n    \"alwaysCheckEndstops\": \"1\",\r\n    \"disableX\": \"0\",\r\n    \"disableY\": \"0\",\r\n    \"disableZ\": \"0\",\r\n    \"disableE\": \"0\",\r\n    \"xHomeDir\": \"-1\",\r\n    \"yHomeDir\": \"-1\",\r\n    \"zHomeDir\": \"-1\",\r\n    \"xEndstopBack\": 1,\r\n    \"yEndstopBack\": 1,\r\n    \"zEndstopBack\": 0,\r\n    \"deltaSegmentsPerSecondPrint\": 180,\r\n    \"deltaSegmentsPerSecondTravel\": 70,\r\n    \"deltaDiagonalRod\": 445,\r\n    \"deltaHorizontalRadius\": 209.25,\r\n    \"deltaAlphaA\": 210,\r\n    \"deltaAlphaB\": 330,\r\n    \"deltaAlphaC\": 90,\r\n    \"deltaDiagonalCorrA\": 0,\r\n    \"deltaDiagonalCorrB\": 0,\r\n    \"deltaDiagonalCorrC\": 0,\r\n    \"deltaMaxRadius\": 150,\r\n    \"deltaFloorSafetyMarginMM\": 15,\r\n    \"deltaRadiusCorrA\": 0,\r\n    \"deltaRadiusCorrB\": 0,\r\n    \"deltaRadiusCorrC\": 0,\r\n    \"deltaXOffsetSteps\": 0,\r\n    \"deltaYOffsetSteps\": 0,\r\n    \"deltaZOffsetSteps\": 0,\r\n    \"deltaSegmentsPerLine\": 24,\r\n    \"stepperHighDelay\": 0,\r\n    \"directionDelay\": 0,\r\n    \"stepDoublerFrequency\": 12000,\r\n    \"allowQuadstepping\": \"1\",\r\n    \"doubleStepDelay\": 0,\r\n    \"maxJerk\": 20,\r\n    \"maxZJerk\": 0.3,\r\n    \"moveCacheSize\": 16,\r\n    \"moveCacheLow\": 10,\r\n    \"lowTicksPerMove\": 250000,\r\n    \"enablePowerOnStartup\": \"1\",\r\n    \"echoOnExecute\": \"1\",\r\n    \"sendWaits\": \"1\",\r\n    \"ackWithLineNumber\": \"1\",\r\n    \"killMethod\": 1,\r\n    \"useAdvance\": \"0\",\r\n    \"useQuadraticAdvance\": \"0\",\r\n    \"powerInverting\": 0,\r\n    \"mirrorX\": 0,\r\n    \"mirrorXMotor\": {\r\n        \"name\": \"Extruder 1\",\r\n        \"step\": \"ORIG_E1_STEP_PIN\",\r\n        \"dir\": \"ORIG_E1_DIR_PIN\",\r\n        \"enable\": \"ORIG_E1_ENABLE_PIN\"\r\n    },\r\n    \"mirrorY\": 0,\r\n    \"mirrorYMotor\": {\r\n        \"name\": \"Extruder 1\",\r\n        \"step\": \"ORIG_E1_STEP_PIN\",\r\n        \"dir\": \"ORIG_E1_DIR_PIN\",\r\n        \"enable\": \"ORIG_E1_ENABLE_PIN\"\r\n    },\r\n    \"mirrorZ\": \"0\",\r\n    \"mirrorZMotor\": {\r\n        \"name\": \"Extruder 1\",\r\n        \"step\": \"ORIG_E1_STEP_PIN\",\r\n        \"dir\": \"ORIG_E1_DIR_PIN\",\r\n        \"enable\": \"ORIG_E1_ENABLE_PIN\"\r\n    },\r\n    \"mirrorZ3\": \"0\",\r\n    \"mirrorZ3Motor\": {\r\n        \"name\": \"Extruder 2\",\r\n        \"step\": \"ORIG_E2_STEP_PIN\",\r\n        \"dir\": \"ORIG_E2_DIR_PIN\",\r\n        \"enable\": \"ORIG_E2_ENABLE_PIN\"\r\n    },\r\n    \"dittoPrinting\": \"0\",\r\n    \"featureServos\": \"0\",\r\n    \"servo0Pin\": 11,\r\n    \"servo1Pin\": -1,\r\n    \"servo2Pin\": -1,\r\n    \"servo3Pin\": -1,\r\n    \"featureWatchdog\": \"0\",\r\n    \"hasHeatedBed\": \"1\",\r\n    \"enableZProbing\": \"0\",\r\n    \"extrudeMaxLength\": 160,\r\n    \"homeOrder\": \"HOME_ORDER_XYZ\",\r\n    \"featureController\": 24,\r\n    \"uiPrinterName\": \"P802_8_V1.5\",\r\n    \"uiPrinterCompany\": \"Zonestar 3D printer\",\r\n    \"uiPagesDuration\": 4000,\r\n    \"uiAnimation\": \"0\",\r\n    \"uiDisablePageswitch\": \"1\",\r\n    \"uiAutoReturnAfter\": 30000,\r\n    \"featureKeys\": \"0\",\r\n    \"uiEncoderSpeed\": 1,\r\n    \"uiReverseEncoder\": \"0\",\r\n    \"uiKeyBouncetime\": 20,\r\n    \"uiKeyFirstRepeat\": 500,\r\n    \"uiKeyReduceRepeat\": 50,\r\n    \"uiKeyMinRepeat\": 50,\r\n    \"featureBeeper\": \"0\",\r\n    \"uiPresetBedTempPLA\": 60,\r\n    \"uiPresetBedABS\": 110,\r\n    \"uiPresetExtruderPLA\": 190,\r\n    \"uiPresetExtruderABS\": 240,\r\n    \"uiMinHeatedBed\": 30,\r\n    \"uiMaxHeatedBed\": 120,\r\n    \"uiMinEtxruderTemp\": 170,\r\n    \"uiMaxExtruderTemp\": 260,\r\n    \"uiExtruderFeedrate\": 2,\r\n    \"uiExtruderRetractDistance\": 3,\r\n    \"uiSpeeddependentPositioning\": \"0\",\r\n    \"maxBedTemperature\": 120,\r\n    \"bedSensorType\": 1,\r\n    \"bedSensorPin\": \"TEMP_1_PIN\",\r\n    \"bedHeaterPin\": 12,\r\n    \"bedHeatManager\": 0,\r\n    \"bedUpdateInterval\": 5000,\r\n    \"bedPidDriveMin\": 80,\r\n    \"bedPidDriveMax\": 255,\r\n    \"bedPidP\": 196,\r\n    \"bedPidI\": 33,\r\n    \"bedPidD\": 290,\r\n    \"bedPidMax\": 255,\r\n    \"bedDecoupleTestPeriod\": 300,\r\n    \"caseLightPin\": -1,\r\n    \"caseLightDefaultOn\": \"1\",\r\n    \"bedSkipIfWithin\": 3,\r\n    \"gen1T0\": 25,\r\n    \"gen1R0\": 100000,\r\n    \"gen1Beta\": 4036,\r\n    \"gen1MinTemp\": -20,\r\n    \"gen1MaxTemp\": 300,\r\n    \"gen1R1\": 0,\r\n    \"gen1R2\": 4700,\r\n    \"gen2T0\": 25,\r\n    \"gen2R0\": 100000,\r\n    \"gen2Beta\": 4036,\r\n    \"gen2MinTemp\": -20,\r\n    \"gen2MaxTemp\": 300,\r\n    \"gen2R1\": 0,\r\n    \"gen2R2\": 4700,\r\n    \"gen3T0\": 25,\r\n    \"gen3R0\": 100000,\r\n    \"gen3Beta\": 4036,\r\n    \"gen3MinTemp\": -20,\r\n    \"gen3MaxTemp\": 300,\r\n    \"gen3R1\": 0,\r\n    \"gen3R2\": 4700,\r\n    \"userTable0\": {\r\n        \"r1\": 0,\r\n        \"r2\": 4700,\r\n        \"temps\": [],\r\n        \"numEntries\": 0\r\n    },\r\n    \"userTable1\": {\r\n        \"r1\": 0,\r\n        \"r2\": 4700,\r\n        \"temps\": [],\r\n        \"numEntries\": 0\r\n    },\r\n    \"userTable2\": {\r\n        \"r1\": 0,\r\n        \"r2\": 4700,\r\n        \"temps\": [],\r\n        \"numEntries\": 0\r\n    },\r\n    \"tempHysteresis\": 0,\r\n    \"pidControlRange\": 20,\r\n    \"skipM109Within\": 2,\r\n    \"extruderFanCoolTemp\": 50,\r\n    \"minTemp\": 150,\r\n    \"maxTemp\": 275,\r\n    \"minDefectTemp\": -10,\r\n    \"maxDefectTemp\": 290,\r\n    \"arcSupport\": \"1\",\r\n    \"featureMemoryPositionWatchdog\": \"1\",\r\n    \"forceChecksum\": \"0\",\r\n    \"sdExtendedDir\": \"1\",\r\n    \"featureFanControl\": \"1\",\r\n    \"fanPin\": \"ORIG_FAN_PIN\",\r\n    \"featureFan2Control\": \"0\",\r\n    \"fan2Pin\": \"ORIG_FAN2_PIN\",\r\n    \"fanThermoPin\": -1,\r\n    \"fanThermoMinPWM\": 128,\r\n    \"fanThermoMaxPWM\": 255,\r\n    \"fanThermoMinTemp\": 45,\r\n    \"fanThermoMaxTemp\": 60,\r\n    \"fanThermoThermistorPin\": -1,\r\n    \"fanThermoThermistorType\": 1,\r\n    \"scalePidToMax\": \"1\",\r\n    \"zProbePin\": -1,\r\n    \"zProbeBedDistance\": 10,\r\n    \"zProbePullup\": \"0\",\r\n    \"zProbeOnHigh\": \"0\",\r\n    \"zProbeXOffset\": 0,\r\n    \"zProbeYOffset\": 0,\r\n    \"zProbeWaitBeforeTest\": \"0\",\r\n    \"zProbeSpeed\": 2,\r\n    \"zProbeXYSpeed\": 150,\r\n    \"zProbeHeight\": 40,\r\n    \"zProbeStartScript\": \"\",\r\n    \"zProbeFinishedScript\": \"\",\r\n    \"featureAutolevel\": \"1\",\r\n    \"zProbeX1\": 20,\r\n    \"zProbeY1\": 20,\r\n    \"zProbeX2\": 160,\r\n    \"zProbeY2\": 20,\r\n    \"zProbeX3\": 100,\r\n    \"zProbeY3\": 160,\r\n    \"zProbeSwitchingDistance\": 1,\r\n    \"zProbeRepetitions\": 1,\r\n    \"sdSupport\": \"0\",\r\n    \"sdCardDetectPin\": -1,\r\n    \"sdCardDetectInverted\": \"0\",\r\n    \"uiStartScreenDelay\": 3000,\r\n    \"xEndstopBackMove\": 5,\r\n    \"yEndstopBackMove\": 5,\r\n    \"zEndstopBackMove\": 2,\r\n    \"xEndstopRetestFactor\": 3,\r\n    \"yEndstopRetestFactor\": 3,\r\n    \"zEndstopRetestFactor\": 3,\r\n    \"xMinPin\": \"ORIG_X_MIN_PIN\",\r\n    \"yMinPin\": \"ORIG_Y_MIN_PIN\",\r\n    \"zMinPin\": \"ORIG_Z_MIN_PIN\",\r\n    \"xMaxPin\": \"ORIG_X_MAX_PIN\",\r\n    \"yMaxPin\": \"ORIG_Y_MAX_PIN\",\r\n    \"zMaxPin\": \"ORIG_Z_MAX_PIN\",\r\n    \"deltaHomeOnPower\": \"0\",\r\n    \"fanBoardPin\": -1,\r\n    \"heaterPWMSpeed\": 0,\r\n    \"featureBabystepping\": \"1\",\r\n    \"babystepMultiplicator\": 1,\r\n    \"pdmForHeater\": \"0\",\r\n    \"pdmForCooler\": \"0\",\r\n    \"psOn\": \"ORIG_PS_ON_PIN\",\r\n    \"mixingExtruder\": \"0\",\r\n    \"decouplingTestMaxHoldVariance\": 20,\r\n    \"decouplingTestMinTempRise\": 1,\r\n    \"featureAxisComp\": \"0\",\r\n    \"axisCompTanXY\": 0,\r\n    \"axisCompTanXZ\": 0,\r\n    \"axisCompTanYZ\": 0,\r\n    \"retractOnPause\": 2,\r\n    \"pauseStartCommands\": \"\",\r\n    \"pauseEndCommands\": \"\",\r\n    \"distortionCorrection\": \"0\",\r\n    \"distortionCorrectionPoints\": 5,\r\n    \"distortionCorrectionR\": 100,\r\n    \"distortionPermanent\": \"1\",\r\n    \"distortionUpdateFrequency\": 15,\r\n    \"distortionStartDegrade\": 0.5,\r\n    \"distortionEndDegrade\": 1,\r\n    \"distortionExtrapolateCorners\": \"0\",\r\n    \"distortionXMin\": 10,\r\n    \"distortionXMax\": 190,\r\n    \"distortionYMin\": 10,\r\n    \"distortionYMax\": 190,\r\n    \"sdRunOnStop\": \"\",\r\n    \"sdStopHeaterMotorsOnStop\": \"1\",\r\n    \"featureRetraction\": \"1\",\r\n    \"autoretractEnabled\": \"0\",\r\n    \"retractionLength\": 3,\r\n    \"retractionLongLength\": 13,\r\n    \"retractionSpeed\": 40,\r\n    \"retractionZLift\": 0,\r\n    \"retractionUndoExtraLength\": 0,\r\n    \"retractionUndoExtraLongLength\": 0,\r\n    \"retractionUndoSpeed\": 20,\r\n    \"filamentChangeXPos\": 0,\r\n    \"filamentChangeYPos\": 0,\r\n    \"filamentChangeZAdd\": 2,\r\n    \"filamentChangeRehome\": 1,\r\n    \"filamentChangeShortRetract\": 5,\r\n    \"filamentChangeLongRetract\": 50,\r\n    \"fanKickstart\": 200,\r\n    \"servo0StartPos\": -1,\r\n    \"servo1StartPos\": -1,\r\n    \"servo2StartPos\": -1,\r\n    \"servo3StartPos\": -1,\r\n    \"uiDynamicEncoderSpeed\": \"1\",\r\n    \"uiServoControl\": 0,\r\n    \"killIfSensorDefect\": \"0\",\r\n    \"jamSteps\": 220,\r\n    \"jamSlowdownSteps\": 320,\r\n    \"jamSlowdownTo\": 70,\r\n    \"jamErrorSteps\": 500,\r\n    \"jamMinSteps\": 10,\r\n    \"jamAction\": 1,\r\n    \"primaryPort\": 0,\r\n    \"numMotorDrivers\": 0,\r\n    \"motorDrivers\": [\r\n        {\r\n            \"t\": \"None\",\r\n            \"s\": \"\",\r\n            \"invertEnable\": \"0\",\r\n            \"invertDirection\": \"0\",\r\n            \"stepsPerMM\": 100,\r\n            \"speed\": 10,\r\n            \"dirPin\": -1,\r\n            \"stepPin\": -1,\r\n            \"enablePin\": -1\r\n        },\r\n        {\r\n            \"t\": \"None\",\r\n            \"s\": \"\",\r\n            \"invertEnable\": \"0\",\r\n            \"invertDirection\": \"0\",\r\n            \"stepsPerMM\": 100,\r\n            \"speed\": 10,\r\n            \"dirPin\": -1,\r\n            \"stepPin\": -1,\r\n            \"enablePin\": -1\r\n        },\r\n        {\r\n            \"t\": \"None\",\r\n            \"s\": \"\",\r\n            \"invertEnable\": \"0\",\r\n            \"invertDirection\": \"0\",\r\n            \"stepsPerMM\": 100,\r\n            \"speed\": 10,\r\n            \"dirPin\": -1,\r\n            \"stepPin\": -1,\r\n            \"enablePin\": -1\r\n        },\r\n        {\r\n            \"t\": \"None\",\r\n            \"s\": \"\",\r\n            \"invertEnable\": \"0\",\r\n            \"invertDirection\": \"0\",\r\n            \"stepsPerMM\": 100,\r\n            \"speed\": 10,\r\n            \"dirPin\": -1,\r\n            \"stepPin\": -1,\r\n            \"enablePin\": -1\r\n        },\r\n        {\r\n            \"t\": \"None\",\r\n            \"s\": \"\",\r\n            \"invertEnable\": \"0\",\r\n            \"invertDirection\": \"0\",\r\n            \"stepsPerMM\": 100,\r\n            \"speed\": 10,\r\n            \"dirPin\": -1,\r\n            \"stepPin\": -1,\r\n            \"enablePin\": -1\r\n        },\r\n        {\r\n            \"t\": \"None\",\r\n            \"s\": \"\",\r\n            \"invertEnable\": \"0\",\r\n            \"invertDirection\": \"0\",\r\n            \"stepsPerMM\": 100,\r\n            \"speed\": 10,\r\n            \"dirPin\": -1,\r\n            \"stepPin\": -1,\r\n            \"enablePin\": -1\r\n        }\r\n    ],\r\n    \"manualConfig\": \"\\/\\/----------------------------------------------------------------------------------\\n\\/\\/ Sample configuration for Zonestar P802M 3D printer and similar models.\\n\\/\\/ http:\\/\\/forum.repetier.com\\/discussion\\/1105\\/melzi-v2-0-with-lcd2004-and-5-keys\\n\\/\\/----------------------------------------------------------------------------------\\n\\/\\/ A bit optimized settings for Zonestar 3D printer with Melzi board. Most important\\n\\/\\/ settings are steps\\/mm, Z direction inversion, homing order, digital pin 12 for\\n\\/\\/ bed heater (instead of default 10 set in Melzi configuration), Zonestar display\\n\\/\\/ controller with analog pin 1 for keypad. This firmware is a bit faster than\\n\\/\\/ Repetier firmware defaults.\\n\\/\\/\\n\\/\\/ Do not forget to update X\\/Y\\/Z min positions for your printer (it homes with\\n\\/\\/ negative values for X\\/Y) and then set X\\/Y\\/Z max travel so the printer does not\\n\\/\\/ kick max ends (all set from General tab of web configurator or later via EEPROM\\n\\/\\/ editor).\\n\\/\\/\\n\\/\\/ Make sure you use this firmware settings and not previously stored ones. M502\\n\\/\\/ (restore firmware defaults) and M500 (save to EEPROM) commands may help.\\n\\/\\/\\n\\/\\/ By default the Enter\\/OK (center) key is mapped to the same action\\n\\/\\/ as the Right one (ACTION_OK). It can be redefined here if desired:\\n\\/\\/#define ADC_KEYPAD_CENTER_ACTION UI_ACTION_TOP_MENU\\n\\/\\/----------------------------------------------------------------------------------\",\r\n    \"zHomeMinTemperature\": 0,\r\n    \"zHomeXPos\": 999999,\r\n    \"zHomeYPos\": 999999,\r\n    \"zHomeHeatHeight\": 20,\r\n    \"zHomeHeatAll\": \"1\",\r\n    \"zProbeZOffsetMode\": 0,\r\n    \"zProbeZOffset\": 0,\r\n    \"uiBedCoating\": \"1\",\r\n    \"langEN\": \"1\",\r\n    \"langDE\": \"1\",\r\n    \"langNL\": \"0\",\r\n    \"langPT\": \"0\",\r\n    \"langIT\": \"0\",\r\n    \"langES\": \"0\",\r\n    \"langFI\": \"0\",\r\n    \"langSE\": \"0\",\r\n    \"langFR\": \"0\",\r\n    \"langCZ\": \"0\",\r\n    \"langPL\": \"0\",\r\n    \"langTR\": \"0\",\r\n    \"interpolateAccelerationWithZ\": 1,\r\n    \"accelerationFactorTop\": 50,\r\n    \"bendingCorrectionA\": 0,\r\n    \"bendingCorrectionB\": 0,\r\n    \"bendingCorrectionC\": 0,\r\n    \"preventZDisableOnStepperTimeout\": \"0\",\r\n    \"supportLaser\": \"0\",\r\n    \"laserPin\": -1,\r\n    \"laserOnHigh\": \"1\",\r\n    \"defaultPrinterMode\": 0,\r\n    \"supportCNC\": \"0\",\r\n    \"cncWaitOnEnable\": 300,\r\n    \"cncWaitOnDisable\": 0,\r\n    \"cncEnablePin\": -1,\r\n    \"cncEnableWith\": \"1\",\r\n    \"cncDirectionPin\": -1,\r\n    \"cncDirectionCW\": \"1\",\r\n    \"startupGCode\": \"\",\r\n    \"jsonOutput\": \"0\",\r\n    \"bedLevelingMethod\": 0,\r\n    \"bedCorrectionMethod\": 0,\r\n    \"bedLevelingGridSize\": 5,\r\n    \"bedLevelingRepetitions\": 5,\r\n    \"bedMotor1X\": 0,\r\n    \"bedMotor1Y\": 0,\r\n    \"bedMotor2X\": 200,\r\n    \"bedMotor2Y\": 0,\r\n    \"bedMotor3X\": 100,\r\n    \"bedMotor3Y\": 200,\r\n    \"zProbeRequiresHeating\": \"0\",\r\n    \"zProbeMinTemperature\": 150,\r\n    \"adcKeypadPin\": \"1\",\r\n    \"sharedExtruderHeater\": \"0\",\r\n    \"extruderSwitchXYSpeed\": 100,\r\n    \"dualXAxis\": \"0\",\r\n    \"boardFanSpeed\": 255,\r\n    \"hasMAX6675\": false,\r\n    \"hasMAX31855\": false,\r\n    \"hasGeneric1\": false,\r\n    \"hasGeneric2\": false,\r\n    \"hasGeneric3\": false,\r\n    \"hasUser0\": false,\r\n    \"hasUser1\": false,\r\n    \"hasUser2\": false,\r\n    \"numExtruder\": 1,\r\n    \"version\": 92.9,\r\n    \"primaryPortName\": \"\"\r\n}\r\n========== End configuration string ==========\r\n\r\n*/\r\n"},"comment":{"url":"https://api.github.com/repos/repetier/Repetier-Firmware/issues/comments/244671752","html_url":"https://github.com/repetier/Repetier-Firmware/issues/570#issuecomment-244671752","issue_url":"https://api.github.com/repos/repetier/Repetier-Firmware/issues/570","id":244671752,"user":{"login":"repetier","id":933919,"avatar_url":"https://avatars.githubusercontent.com/u/933919?v=3","gravatar_id":"","url":"https://api.github.com/users/repetier","html_url":"https://github.com/repetier","followers_url":"https://api.github.com/users/repetier/followers","following_url":"https://api.github.com/users/repetier/following{/other_user}","gists_url":"https://api.github.com/users/repetier/gists{/gist_id}","starred_url":"https://api.github.com/users/repetier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/repetier/subscriptions","organizations_url":"https://api.github.com/users/repetier/orgs","repos_url":"https://api.github.com/users/repetier/repos","events_url":"https://api.github.com/users/repetier/events{/privacy}","received_events_url":"https://api.github.com/users/repetier/received_events","type":"User","site_admin":false},"created_at":"2016-09-05T06:59:09Z","updated_at":"2016-09-05T06:59:09Z","body":"I saw using sensvo pin 11 but missed that the feature is disabled.\r\n\r\nFor finding the crash position write some text to log to see how far you get. Maybe with a delay followed to make sure it gets send before crash like\r\n\r\n`Com::printFLN(PSTR(\"Pos 1\"));HAL::delay(50);`\r\n\r\nafter some iterations you know extactly where it happens. Must be somehwere in runZProbe in BedLeveling.cpp from your description.\r\n"}}
{"actor":{"display_login":"repetier"}}