<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[SoliForum - 3D Printing Community — Help with a Gcode]]></title>
	<link rel="self" href="https://www.soliforum.com/feed/atom/topic/12762/" />
	<updated>2015-11-08T19:10:08Z</updated>
	<generator>PunBB</generator>
	<id>https://www.soliforum.com/topic/12762/help-with-a-gcode/</id>
		<entry>
			<title type="html"><![CDATA[Re: Help with a Gcode]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/109181/#p109181" />
			<content type="html"><![CDATA[<p>So after getting some help on another forum, and alot of hours spending, this is the code I came up with. This makes the bed lower before extruder moves over the edge.</p><p>M140 S[first_layer_bed_temperature] ; Bed (no wait)<br />G90 ; set absolute coordinates<br />G28 ; home all axis<br />M190 S[first_layer_bed_temperature] ; Bed (wait)<br />M109 S[first_layer_temperature] ; Extruder (wait)<br />M116 ; Wait for temperatures<br />M117 Start<br />M300 s1000 p400 ; Beep<br />M300 s1500 p400<br />M300 s2000 p400<br />M300 s2500 p400<br />M117 Cleaning<br />M100 ; Cleaning<br />G1 Z5 F1500<br />G1 X0 Y15 F1000<br />G1 X32 Y30 F1000<br />G92 E0 ; reset extrusion distance<br />G1 Z[first_layer_height] F4800.000<br />G1 X32 Y170 E14 F1000<br />G1 X32 Y185 F1000<br />M117 Printing</p><p>There was a m106 and m104 code in there but I got back from the printer that the code was not recognized.</p>]]></content>
			<author>
				<name><![CDATA[Landin81]]></name>
				<uri>https://www.soliforum.com/user/11562/</uri>
			</author>
			<updated>2015-11-08T19:10:08Z</updated>
			<id>https://www.soliforum.com/post/109181/#p109181</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Help with a Gcode]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/109138/#p109138" />
			<content type="html"><![CDATA[<p>Only one guy that reply? Someone else know anything about this?</p>]]></content>
			<author>
				<name><![CDATA[Landin81]]></name>
				<uri>https://www.soliforum.com/user/11562/</uri>
			</author>
			<updated>2015-11-08T01:51:52Z</updated>
			<id>https://www.soliforum.com/post/109138/#p109138</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Help with a Gcode]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/109090/#p109090" />
			<content type="html"><![CDATA[<p>Hm. But the G28 is set almost at the first point, and I want it to set home position sometime before the print starts due to if the extruder or bed is off for some reson. </p><p>So after the G28 is done, the other codes starts, and should not have anything to do with the G28 itself?</p><p>And after all the other codes have been executed, a G28 code is sent to the printer anyway for some reson, and that code isnt in my script =/</p>]]></content>
			<author>
				<name><![CDATA[Landin81]]></name>
				<uri>https://www.soliforum.com/user/11562/</uri>
			</author>
			<updated>2015-11-07T06:32:09Z</updated>
			<id>https://www.soliforum.com/post/109090/#p109090</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Help with a Gcode]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/109088/#p109088" />
			<content type="html"><![CDATA[<p>You need to take the G28 line out and use your own code to move the extruder and home the axis the way you want. </p><p>The most basic you want to home then move down a safe distance then move to print start position and move back up to zero position. All the extruder feed 3mm and other stuff can be left out or at least commented out till you get what you want.</p>]]></content>
			<author>
				<name><![CDATA[carl_m1968]]></name>
				<uri>https://www.soliforum.com/user/7731/</uri>
			</author>
			<updated>2015-11-07T06:19:56Z</updated>
			<id>https://www.soliforum.com/post/109088/#p109088</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Help with a Gcode]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/109087/#p109087" />
			<content type="html"><![CDATA[<p>I did test some new codes, It did what I wanted, exept for the extruder to go far back. </p><p>BUT, in the end, what ever codes I put in there, the printer always do a G28 on all axis before the print starts =/</p><br /><p>G1 X100 Y100 F3000; move extruder over bed center</p><p>G1 Z[first_layer_height]; Move Z to first layer height</p><p><div class="fancy_video_tag_player"><iframe class="youtube-player" type="text/html" width="640" height="385" src="http://www.youtube.com/embed/P0oxHlepJgw" frameborder="0"></iframe></div></p>]]></content>
			<author>
				<name><![CDATA[Landin81]]></name>
				<uri>https://www.soliforum.com/user/11562/</uri>
			</author>
			<updated>2015-11-07T06:15:59Z</updated>
			<id>https://www.soliforum.com/post/109087/#p109087</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Help with a Gcode]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/109085/#p109085" />
			<content type="html"><![CDATA[<p>Hm.<br />The first line you added was: G1 Z30.0 ;move the platform down to 30mm (not added but modified to 30 insted of 15)</p><p>The second line was: G1 Z15.0 ;move the platform up to 15mm &lt;&lt;&lt;&lt; This should be your zero offset where the extruder is in print height. Now this line will raise the bed 15mm leaving the bed 15mm off than what it was from the start.</p><p>The funny thing is that when I cali the bed its fine, even when I do a hot cali. I always do it with a paper.<br />but than, from nowhere, the extruder hits it anyway, sometimes. </p><p>thats why I need the bed to go down, let the extruder pass over the edge, and than rise the bed up again before print, just like in stock firmware. It has do be some way to fix it? <img src="https://www.soliforum.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[Landin81]]></name>
				<uri>https://www.soliforum.com/user/11562/</uri>
			</author>
			<updated>2015-11-07T05:24:22Z</updated>
			<id>https://www.soliforum.com/post/109085/#p109085</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Help with a Gcode]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/109084/#p109084" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Landin81 wrote:</cite><blockquote><p>I dont know if that would be right. </p><p>As I have the code now. The bed moves down 15mm, but moves back up before the extruder start to move =/</p><p>So With your code, wont it: Lower to 30mm, than move up 15mm and than move up 15mm more before start?</p></blockquote></div><br /><p>You might be right, but I did not add an extra 15mm line, I only added one line to your header. </p><br /><p>Also if your extruder is hitting then that back corner is not at the same level as the rest of the bed.. Did you use the manual procedure which is a sticky here in the XYZ section or are you using the broken built in method?</p>]]></content>
			<author>
				<name><![CDATA[carl_m1968]]></name>
				<uri>https://www.soliforum.com/user/7731/</uri>
			</author>
			<updated>2015-11-07T04:56:42Z</updated>
			<id>https://www.soliforum.com/post/109084/#p109084</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Help with a Gcode]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/109083/#p109083" />
			<content type="html"><![CDATA[<p>I dont know if that would be right. </p><p>As I have the code now. The bed moves down 15mm, but moves back up before the extruder start to move =/</p><p>So With your code, wont it: Lower to 30mm, than move up 15mm and than move up 15mm more before start?</p>]]></content>
			<author>
				<name><![CDATA[Landin81]]></name>
				<uri>https://www.soliforum.com/user/11562/</uri>
			</author>
			<updated>2015-11-07T04:45:11Z</updated>
			<id>https://www.soliforum.com/post/109083/#p109083</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Help with a Gcode]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/109082/#p109082" />
			<content type="html"><![CDATA[<p>Try this and see if it helps..</p><p>G21 ;metric values</p><p>G90 ;absolute positioning</p><p>M82 ;set extruder to absolute mode</p><p>G28 ; Home extruder</p><p>G1 Z30.0 ;move the platform down to 30mm</p><p>G92 E0 ;zero the extruded length</p><p>G1 F200 E3 ;extrude 3mm of feed stock</p><p>G92 E0 ;zero the extruded length again</p><p>G1 Z15.0 ;move the platform up to 15mm &lt;&lt;&lt;&lt; This should be your zero offset where the extruder is in print height.</p><p>M100</p><p>G4 P2 ; Paus for 2 seconds</p><p>Note on the Da Vinci I can&#039;t remember if positive values or negative values move the bed down so you might need to make the values for the Z moves negative. If that 30mm move tries to move up.</p>]]></content>
			<author>
				<name><![CDATA[carl_m1968]]></name>
				<uri>https://www.soliforum.com/user/7731/</uri>
			</author>
			<updated>2015-11-07T04:20:07Z</updated>
			<id>https://www.soliforum.com/post/109082/#p109082</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Help with a Gcode]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/109081/#p109081" />
			<content type="html"><![CDATA[<p>Im running repetier on my da vinci 1.0A and run Simplify3D.</p><p>I want my bed to lower before extruder goes over it from the starting position. And when extruder is over the bed I want the bed to get in to the 0 position again. sometimes my nozzle hits the bed and I want that gone, just like it was on the stock firmware when the bed lowered before the extruder get in to start the print. </p><p>Is that posible?</p><p>My current Gcode startup script that I got from &quot;luc&quot; looks like this: (without the indiana song <img src="https://www.soliforum.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>G21 ;metric values</p><p>G90 ;absolute positioning</p><p>M82 ;set extruder to absolute mode</p><p>G28 ; Home extruder</p><p>G1 Z15.0 ;move the platform down 15mm</p><p>G92 E0 ;zero the extruded length</p><p>G1 F200 E3 ;extrude 3mm of feed stock</p><p>G92 E0 ;zero the extruded length again</p><p>M100</p><p>G4 P2 ; Paus for 2 seconds</p>]]></content>
			<author>
				<name><![CDATA[Landin81]]></name>
				<uri>https://www.soliforum.com/user/11562/</uri>
			</author>
			<updated>2015-11-07T04:03:28Z</updated>
			<id>https://www.soliforum.com/post/109081/#p109081</id>
		</entry>
</feed>
