<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[SoliForum - 3D Printing Community — Davinci to RAMP/Marlin: endstop doesn't stop Z axis]]></title>
	<link rel="self" href="https://www.soliforum.com/feed/atom/topic/15849/" />
	<updated>2016-12-15T04:59:23Z</updated>
	<generator>PunBB</generator>
	<id>https://www.soliforum.com/topic/15849/davinci-to-rampmarlin-endstop-doesnt-stop-z-axis/</id>
		<entry>
			<title type="html"><![CDATA[Re: Davinci to RAMP/Marlin: endstop doesn't stop Z axis]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/129214/#p129214" />
			<content type="html"><![CDATA[<p>Ok but is it also possible to setup with Z max? With Z max setup, the endstop does stop when triggered.&nbsp; The problem so far with Z min, Z axis moves after the endstop is triggered, then hits the bed.&nbsp; I&#039;m using Pronterface and S3D to calibrate. Thanks</p>]]></content>
			<author>
				<name><![CDATA[leadpan]]></name>
				<uri>https://www.soliforum.com/user/10725/</uri>
			</author>
			<updated>2016-12-15T04:59:23Z</updated>
			<id>https://www.soliforum.com/post/129214/#p129214</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Davinci to RAMP/Marlin: endstop doesn't stop Z axis]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/129204/#p129204" />
			<content type="html"><![CDATA[<p>Set the Z home direction to -1 so it homes in the minimum direction. You may also need to invert the the actual direction the motor moves. The correct movement is opposite of what you would think. All movement in gcode is in relation to the tool head or extruder. not the bed. Gcode was originally a machine language for routers and other machines with a moving head. So on a Da Vinci you have to picture the head moving instead of the bed. So when you want the head to move up the bed should go down and when the head should move down the bed would go up. So the directions are reversed if set correctly but will move in the correct direction when using the controls in Repetier Host.</p>]]></content>
			<author>
				<name><![CDATA[carl_m1968]]></name>
				<uri>https://www.soliforum.com/user/7731/</uri>
			</author>
			<updated>2016-12-15T01:13:36Z</updated>
			<id>https://www.soliforum.com/post/129204/#p129204</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Davinci to RAMP/Marlin: endstop doesn't stop Z axis]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/129200/#p129200" />
			<content type="html"><![CDATA[<p>I&#039;ve tried both, Z min and max.&nbsp; <br />Currently, plugged into Z min on RAMP1.4 with Marlin 1.0.2<br />When plugged into Z min the endstop TRIGGERED(M119) does not stop the Z axis.<br />When plugged into Z max endstop TRIGGERED does WORK, but when I Home(G28) the Z tries to go down to 0 position cause it thinks it&#039;s at 200 position.<br />Here&#039;s my endstop configuration.h</p><br /><p>//===========================================================================<br />//============================= Mechanical Settings </p><p>// Uncomment this option to enable CoreXY kinematics<br />// #define COREXY</p><p>// Enable this option for Toshiba steppers<br />// #define CONFIG_STEPPERS_TOSHIBA</p><p>// coarse Endstop Settings<br />#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors</p><p>#ifndef ENDSTOPPULLUPS<br />&nbsp; // fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined<br />&nbsp; #define ENDSTOPPULLUP_XMAX<br />&nbsp; #define ENDSTOPPULLUP_YMAX<br />&nbsp; #define ENDSTOPPULLUP_ZMAX<br />&nbsp; #define ENDSTOPPULLUP_XMIN<br />&nbsp; #define ENDSTOPPULLUP_YMIN<br />&nbsp; #define ENDSTOPPULLUP_ZMIN<br />#endif</p><p>// Mechanical endstop with COM to ground and NC to Signal uses &quot;false&quot; here (most common setup).<br />const bool X_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.<br />const bool Y_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.<br />const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.<br />const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.<br />const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.<br />const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.<br />//#define DISABLE_MAX_ENDSTOPS<br />//#define DISABLE_MIN_ENDSTOPS</p><p>// For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1<br />#define X_ENABLE_ON 0<br />#define Y_ENABLE_ON 0<br />#define Z_ENABLE_ON 0<br />#define E_ENABLE_ON 0 // For all extruders</p><p>// Disables axis when it&#039;s not being used.<br />#define DISABLE_X false<br />#define DISABLE_Y false<br />#define DISABLE_Z false<br />#define DISABLE_E false // For all extruders<br />#define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled</p><p>// Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.<br />#define INVERT_X_DIR false<br />#define INVERT_Y_DIR false<br />#define INVERT_Z_DIR true<br />#define INVERT_E0_DIR false<br />//#define INVERT_E1_DIR false<br />//#define INVERT_E2_DIR false<br />//#define INVERT_E3_DIR false</p><p>// ENDSTOP SETTINGS:<br />// Sets direction of endstops when homing; 1=MAX, -1=MIN<br />#define X_HOME_DIR -1<br />#define Y_HOME_DIR -1<br />#define Z_HOME_DIR 1</p><p>#define min_software_endstops true // If true, axis won&#039;t move to coordinates less than HOME_POS.<br />#define max_software_endstops true&nbsp; // If true, axis won&#039;t move to coordinates greater than the defined lengths below.</p><p>// Travel limits after homing (units are in mm)<br />#define X_MAX_POS 150<br />#define X_MIN_POS 0<br />#define Y_MAX_POS 200<br />#define Y_MIN_POS 0<br />#define Z_MAX_POS 200<br />#define Z_MIN_POS 0</p>]]></content>
			<author>
				<name><![CDATA[leadpan]]></name>
				<uri>https://www.soliforum.com/user/10725/</uri>
			</author>
			<updated>2016-12-15T00:15:55Z</updated>
			<id>https://www.soliforum.com/post/129200/#p129200</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Davinci to RAMP/Marlin: endstop doesn't stop Z axis]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/129199/#p129199" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>leadpan wrote:</cite><blockquote><p>gcode M119 correctly says endstop is TRIGGERED but the Z axis keep moving up hitting the hotend.<br />Trying to use Marlin, does using Repetier make a difference?</p></blockquote></div><p>Is the&nbsp; endstop set for Z max or Z min and where do you have it plugged into the board at?</p>]]></content>
			<author>
				<name><![CDATA[carl_m1968]]></name>
				<uri>https://www.soliforum.com/user/7731/</uri>
			</author>
			<updated>2016-12-15T00:05:03Z</updated>
			<id>https://www.soliforum.com/post/129199/#p129199</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Davinci to RAMP/Marlin: endstop doesn't stop Z axis]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/129198/#p129198" />
			<content type="html"><![CDATA[<p>gcode M119 correctly says endstop is TRIGGERED but the Z axis keep moving up hitting the hotend.<br />Trying to use Marlin, does using Repetier make a difference?</p>]]></content>
			<author>
				<name><![CDATA[leadpan]]></name>
				<uri>https://www.soliforum.com/user/10725/</uri>
			</author>
			<updated>2016-12-15T00:03:00Z</updated>
			<id>https://www.soliforum.com/post/129198/#p129198</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Davinci to RAMP/Marlin: endstop doesn't stop Z axis]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/129195/#p129195" />
			<content type="html"><![CDATA[<p>Use the M 119 code via Repiteir host and check the end stop. </p><p><a href="https://thingiverse-production-new.s3.amazonaws.com/assets/87/b0/2c/f5/4c/CheatSheet.pdf">https://thingiverse-production-new.s3.a … tSheet.pdf</a></p>]]></content>
			<author>
				<name><![CDATA[Tin Falcon]]></name>
				<uri>https://www.soliforum.com/user/6775/</uri>
			</author>
			<updated>2016-12-14T23:18:45Z</updated>
			<id>https://www.soliforum.com/post/129195/#p129195</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Davinci to RAMP/Marlin: endstop doesn't stop Z axis]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/129188/#p129188" />
			<content type="html"><![CDATA[<p>I&#039;m trying to convert to RAMP 1.4 and Marlin firmware.<br />All the x-axis and the y-axis move the right direction homing direction is ok, but the Z endstop hits the bed after endstop is triggered.</p>]]></content>
			<author>
				<name><![CDATA[leadpan]]></name>
				<uri>https://www.soliforum.com/user/10725/</uri>
			</author>
			<updated>2016-12-14T22:12:36Z</updated>
			<id>https://www.soliforum.com/post/129188/#p129188</id>
		</entry>
</feed>
