<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>Contraptor Firmware With XY, XZ, &amp; YZ arcs</title>
		<link>https://www.contraptor.org/forum/t-291261/contraptor-firmware-with-xy-xz-yz-arcs</link>
		<description>Posts in the discussion thread &quot;Contraptor Firmware With XY, XZ, &amp; YZ arcs&quot;</description>
				<copyright></copyright>
		<lastBuildDate>Fri, 06 Nov 2026 19:29:09 +0000</lastBuildDate>
		
					<item>
				<guid>http://www.contraptor.org/forum/t-291261#post-1383937</guid>
				<title>Re: Contraptor Firmware With XY, XZ, &amp; YZ arcs</title>
				<link>https://www.contraptor.org/forum/t-291261/contraptor-firmware-with-xy-xz-yz-arcs#post-1383937</link>
				<description></description>
				<pubDate>Tue, 28 Feb 2012 15:27:32 +0000</pubDate>
				<wikidot:authorName>Albanetc</wikidot:authorName>				<wikidot:authorUserId>381022</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi Koen,</p> <p>There are quite a few Arduino firmwares out there. Can you tell me where you got yours (with links preferably)?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-291261#post-1383931</guid>
				<title>Re: Contraptor Firmware With XY, XZ, &amp; YZ arcs</title>
				<link>https://www.contraptor.org/forum/t-291261/contraptor-firmware-with-xy-xz-yz-arcs#post-1383931</link>
				<description></description>
				<pubDate>Tue, 28 Feb 2012 15:19:12 +0000</pubDate>
				<wikidot:authorName>Koen de Greef</wikidot:authorName>				<wikidot:authorUserId>1316771</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi!</p> <p>I have recently build my own CNC and successfully ran the &quot;old&quot; arduino firmware (without the arc function, because the latest one for some reason doesn't work; probably something wrong with my settings) along with the Gcode feeder GUI (which I updated with some jog functions). It works, however, the buffer in the arduino firmware seems to remain unused; the machine constantly accelerates and decelerates instead of making fluent motions.</p> <p>It is like the processing program waits for the arduino firmware to finish a motion before sending the next line of gcode, is this correct behavior or is the program actually meant to fill a buffer, creating fluent tool motions?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-291261#post-1351216</guid>
				<title>Re: Contraptor Firmware With XY, XZ, &amp; YZ arcs - closed loop servo mod.</title>
				<link>https://www.contraptor.org/forum/t-291261/contraptor-firmware-with-xy-xz-yz-arcs#post-1351216</link>
				<description></description>
				<pubDate>Sun, 15 Jan 2012 17:12:12 +0000</pubDate>
				<wikidot:authorName>MMarz</wikidot:authorName>				<wikidot:authorUserId>632172</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I've been off of this project for a while, but I'm actually picking it up again starting today. You have good timing with your questions.</p> <p>1. *step_output_reg[X_AXIS] sets the pin high/low for a step in the X axis. For linear and arc moves, there are two different routines for setting the pin high. And this will set the direction for movement.<br /> fastDigitalWrite(direction_output_reg[i], direction_bitmask[i], !current_move_ptr-&gt;direction[i]);</p> <p>0=x-axis, 1=y-axis, 2=z-axis</p> <p>Again, it is implemented in two different locations for arc vs linear.</p> <p>2. enable_steppers() and disable_steppers().<br /> 3. This portion is what constitutes a completed move:<br /> if ( move_finished )</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-291261#post-1351138</guid>
				<title>Contraptor Firmware With XY, XZ, &amp; YZ arcs - closed loop servo mod.</title>
				<link>https://www.contraptor.org/forum/t-291261/contraptor-firmware-with-xy-xz-yz-arcs#post-1351138</link>
				<description></description>
				<pubDate>Sun, 15 Jan 2012 12:48:59 +0000</pubDate>
				<wikidot:authorName>dewy721</wikidot:authorName>				<wikidot:authorUserId>1285326</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I have a closed-loop servo setup with driver code, I just need to know 3 things:</p> <p>1.Variables for targeted X,Y and Z Coordinates.<br /> 2.The variable for drive enable/disable.<br /> 3.Where to respond with a moveComplete=true.</p> <p>I could post back my code mods if I get it going.<br /> Thanks in advance.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-291261#post-1012036</guid>
				<title>Re: Contraptor Firmware With XY, XZ, &amp; YZ arcs</title>
				<link>https://www.contraptor.org/forum/t-291261/contraptor-firmware-with-xy-xz-yz-arcs#post-1012036</link>
				<description></description>
				<pubDate>Fri, 25 Feb 2011 19:22:05 +0000</pubDate>
				<wikidot:authorName>MMarz</wikidot:authorName>				<wikidot:authorUserId>632172</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>For me, when I set the feedrates faster than my machine could handle, I got unexpected results. Certain rapid moves would result in a loss of steps. There are two aspects to consider with the feedrates: the fastest your stepper motors can step (this is controlled by the inductance of your motors and the supplied voltage) and the most amount of force your motors can handle without missing steps. I don't know your machine or its capabilities, but it's something to think about.</p> <p>For the L297 idea, you still have a 0-point reference because you would tell the machine to move for example, 40&#160;cm to the left. If your table only has 40&#160;cm of travel, then no matter the starting position, you are now at the limit. After that move, the machine issues a G92 command marking its current location as X0.0.</p> <p>I do like your idea with the interrupts, but I wouldn't know how to program it. I'm still learning a lot of this stuff. In the end, I need those pins, so it's not going to be the solution for me.</p> <p>I think I'm going to start writing my own firmware from scratch. That would be the fastest way to learn. I do like this firmware, but it is not written very efficiently. The pauses between moves is just too much. I had hoped to use my machine for extruding as well, but I can see why reprap abandoned this firmware. I'll let you guys know if I ever end up with anything useful.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-291261#post-1010953</guid>
				<title>Re: Contraptor Firmware With XY, XZ, &amp; YZ arcs</title>
				<link>https://www.contraptor.org/forum/t-291261/contraptor-firmware-with-xy-xz-yz-arcs#post-1010953</link>
				<description></description>
				<pubDate>Thu, 24 Feb 2011 18:02:05 +0000</pubDate>
				<wikidot:authorName>buddhafragt</wikidot:authorName>				<wikidot:authorUserId>703780</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I am cheering up to know, you dont fully understand the stepper_control.pde too ;-)</p> <p>For the feedrates, I can say I use the standard:<br /> #define FAST_XY_FEEDRATE_INCH 12<br /> #define FAST_Z_FEEDRATE_INCH 12<br /> #define FAST_XY_FEEDRATE_MM 350<br /> #define FAST_Z_FEEDRATE_MM 350<br /> and this rates are not too fast&#8230;.</p> <p>I think you idea to use the L297 to switch of the steppers is not a good solution, because you loose the 0-point refference (the software cout further steps..)<br /> My idea: You dont need to waste processing power checking all six limit switches for each step if you have an interrupt for the switches and in the interrupt routine you request whats happen and stop the movement.<br /> Isnt it a more cleanly solution?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-291261#post-1009107</guid>
				<title>Re: Contraptor Firmware With XY, XZ, &amp; YZ arcs</title>
				<link>https://www.contraptor.org/forum/t-291261/contraptor-firmware-with-xy-xz-yz-arcs#post-1009107</link>
				<description></description>
				<pubDate>Tue, 22 Feb 2011 23:09:53 +0000</pubDate>
				<wikidot:authorName>MMarz</wikidot:authorName>				<wikidot:authorUserId>632172</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>You are not alone in not understanding stepper_control.pde. The main reason I didn't use the g-code movement interrupt for the manual controls is that I don't fully understand what it is doing. If I were to use the interrupt, I would have to translate the joy stick movements into linear g-code movements and feed them into the interrupt. But since the buffer only allows two commands, there would be a lot of pauses unless I made each movement many many steps long. And since timing isn't all that important for hand controlled movements, I figured I would just write my own code to step the motors. The way I have it now, the joysticks can move the stage 3 steps at a time smoothly and there is no stuttering. I'm not sure what is wrong with your setup. What do you have your max speeds set to for each axis? (FAST_XY_FEEDRATE_INCH and the others) If you have them set too high, one or more of your motors could be stalling/skipping steps.</p> <p>Having separate digital lines for the limits switches would be great if I had unlimited I/O lines. But for what I'm trying to build, I can't afford to give them up. It is also a waste of the processing power checking all six limit switches for each step. What I'm currently working on is wiring the limit switches directly to my L297 so that if a limit is reached, the driver itself forces all movements for that axis to be reversed. This is doubly good because the limits become independent of the arduino. So if your chip locks up and drives the motors to one direction non-stop, the L297 will stop it at the limit.</p> <p>With the limit switches described above, you could find a home position by sending a command moving in the -X -Y and -Z directions for the full length of your stage.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-291261#post-1008987</guid>
				<title>Re: Contraptor Firmware With XY, XZ, &amp; YZ arcs</title>
				<link>https://www.contraptor.org/forum/t-291261/contraptor-firmware-with-xy-xz-yz-arcs#post-1008987</link>
				<description></description>
				<pubDate>Tue, 22 Feb 2011 20:23:05 +0000</pubDate>
				<wikidot:authorName>buddhafragt</wikidot:authorName>				<wikidot:authorUserId>703780</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I compeatly switch off the limit switch functions.. but still not working.<br /> Now I try to get a deeper understanding whats going on in the code, but I am not the C++ crack.<br /> One question to MMarz: Why you dont realize the manual stepper control with interrupts, like the G code movement?<br /> You can spare a lot of difficult code for the time handling&#8230;.?<br /> Furthermore: Isnt it better, to realize the limitswitches with single digital ports for each axis with a port interupt to trigger if reached?<br /> What I am missing is a start routine to start up the 0 point for the axis.<br /> I try to inplement it, but for now, I dont understand whats realy going on in the stepper_control.pde, its a little bit too much C++ for me now :-I</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-291261#post-1001007</guid>
				<title>Re: Contraptor Firmware With XY, XZ, &amp; YZ arcs</title>
				<link>https://www.contraptor.org/forum/t-291261/contraptor-firmware-with-xy-xz-yz-arcs#post-1001007</link>
				<description></description>
				<pubDate>Sun, 13 Feb 2011 04:03:34 +0000</pubDate>
				<wikidot:authorName>MMarz</wikidot:authorName>				<wikidot:authorUserId>632172</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Try checking the voltage for the min_max pin. That might be what's causing the problem. Here is what the values should be:</p> <div class="code"> <pre><code>+5V--5kohm--max_min_pin--x_min--1kohm--ymin--1kohm--zmin--1kohm--x_max--1kohm--y_max--1kohm--z_max</code></pre></div> <p>No limits: 5V<br /> Zmax: 2.5V<br /> Ymax: 2.22V<br /> Xmax: 1.875<br /> Zmin: 1.429V<br /> Ymin: 0.833V<br /> Xmin: 0V</p> <p>This wasn't designed for multiple limits to be reached at once. You can adjust the design if you want. Read up here: <a href="http://www.example.com">http://en.wikipedia.org/wiki/Resistor_ladder</a></p> <p>Here is how the limit switches are used. This is how movement to the &quot;left&quot; on the x axis is determined:</p> <div class="code"> <pre><code> xstepsave = analogRead(X_LEFT_RIGHT); //Record user input limitswitch = analogRead(MAX_MIN_PIN); //Check limit switches if(xstepsave &lt; 440 &amp;&amp; (limitswitch &lt; 344 || limitswitch &gt; 424)){ xstepsave = ((440-xstepsave)*100)/440; //Turn pot value into a % xdir = HIGH; }</code></pre></div> <p>5V = 1023<br /> 0V = 0</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-291261#post-1000827</guid>
				<title>Re: Contraptor Firmware With XY, XZ, &amp; YZ arcs</title>
				<link>https://www.contraptor.org/forum/t-291261/contraptor-firmware-with-xy-xz-yz-arcs#post-1000827</link>
				<description></description>
				<pubDate>Sat, 12 Feb 2011 22:00:16 +0000</pubDate>
				<wikidot:authorName>buddhafragt</wikidot:authorName>				<wikidot:authorUserId>703780</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p><em>The only thing I can think of that might be causing this is the limit switches. The machine has to check them before every step. Try turning them off. In stepper_control look for the function &quot;boolean canStep(unsigned char axis, bool direction)&quot;. Then comment out everything between &quot;#if MANUAL_ATTACH ==1&quot; and &quot;#else&quot;. See if that fixes the problem. Be careful because, during G-code operations, your machine won't stop at the limits.</em></p> <p>Yes, this was the fault!! Now it works correct&#8230;.</p> <p><em>2. For your second issue, make sure you have wired the X pot to the correct pin. I know that sounds dumb, but I've done it before. Check _init and the actual arduino to make sure they match up. Also make sure you are using these pins for the step pins:<br /> #define X_STEP_PIN 12<br /> #define Y_STEP_PIN 10<br /> #define Z_STEP_PIN 8</em></p> <p>pity.. this setup is corect&#8230;. but after disabeling the limit switches Y works in booth directions!<br /> But.. X still not working. Changing the X pot - port, recheck the connections, nothing!</p> <p><em>On some axes not moving - if limit switch pins aren't connected and/or don't have any default input (either ground or VCC), they will ofter return random state. It happened to me many times.</em></p> <p>Hm, but in this case G-code comands also not working&#8230;.?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-291261#post-1000673</guid>
				<title>Re: Contraptor Firmware With XY, XZ, &amp; YZ arcs</title>
				<link>https://www.contraptor.org/forum/t-291261/contraptor-firmware-with-xy-xz-yz-arcs#post-1000673</link>
				<description></description>
				<pubDate>Sat, 12 Feb 2011 18:11:33 +0000</pubDate>
				<wikidot:authorName>Albanetc</wikidot:authorName>				<wikidot:authorUserId>381022</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I would guess that Z axis has a slower default - check init.pde</p> <p>On some axes not moving - if limit switch pins aren't connected and/or don't have any default input (either ground or VCC), they will ofter return random state. It happened to me many times.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-291261#post-1000601</guid>
				<title>Re: Contraptor Firmware With XY, XZ, &amp; YZ arcs</title>
				<link>https://www.contraptor.org/forum/t-291261/contraptor-firmware-with-xy-xz-yz-arcs#post-1000601</link>
				<description></description>
				<pubDate>Sat, 12 Feb 2011 16:27:38 +0000</pubDate>
				<wikidot:authorName>MMarz</wikidot:authorName>				<wikidot:authorUserId>632172</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>HI there!</p> <p>1. I haven't touched anything dealing with the G-code portion for linear motion. Have you tried the original firmware? Does it do the same thing?</p> <p>The only thing I can think of that might be causing this is the limit switches. The machine has to check them before every step. Try turning them off. In stepper_control look for the function &quot;boolean canStep(unsigned char axis, bool direction)&quot;. Then comment out everything between &quot;#if MANUAL_ATTACH ==1&quot; and &quot;#else&quot;. See if that fixes the problem. Be careful because, during G-code operations, your machine won't stop at the limits.</p> <p>I'm actually working on a design that doesn't require the arduino to check the limit switches. If we make the min and max limit switches ground and +5V, we can wire them directly to the l297's CW/CCW direction pin. When a limit is reached, the limit switch would override the pin and force the motor to reverse direction no matter what the arduino is directing it to do. We just need to put a 10K resistor between the arduino's direction pins and the l297 to protect the arduino. This would speed up the arduino greatly and reduce a lot of the code. Especially for microstepping, this would help.</p> <p>The problem could also be the maximum feedrate for your z axis. If it is slower than the other two, I think the firmware defaults to the lowest one. I'm not exactly sure because I didn't write that portion of the code.</p> <p>2. For your second issue, make sure you have wired the X pot to the correct pin. I know that sounds dumb, but I've done it before. Check _init and the actual arduino to make sure they match up. Also make sure you are using these pins for the step pins:<br /> #define X_STEP_PIN 12<br /> #define Y_STEP_PIN 10<br /> #define Z_STEP_PIN 8</p> <p>As of now, they are the only ones that will work. The g-code portion won't be adversely effected if you change these pins, but the manual controls require these pins because I didn't set them up in a robust way. I didn't know or the have the patience to code the manual controls to account for every pin configuration. If you know of a better way, let me know.</p> <p>I'm not sure why the y axis would only move in one direction. Are you pressing any of the limit switches?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-291261#post-1000536</guid>
				<title>Re: Contraptor Firmware With XY, XZ, &amp; YZ arcs</title>
				<link>https://www.contraptor.org/forum/t-291261/contraptor-firmware-with-xy-xz-yz-arcs#post-1000536</link>
				<description></description>
				<pubDate>Sat, 12 Feb 2011 14:28:43 +0000</pubDate>
				<wikidot:authorName>buddhafragt</wikidot:authorName>				<wikidot:authorUserId>703780</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi there,</p> <p>2 problems:<br /> First, I am talking about normal G-code opertion. For example:<br /> with &quot;G1 X100 Y100 F500&quot; I take 1800&#160;Hz at the stepper pulse pin.<br /> with &quot;G1 X100 Y100 Z100 F500&quot; I take 830&#160;Hz at the stepper pulse pin.<br /> I assume the &quot;F&quot; statement is for all 3 axis, or not??</p> <p>Second, the manual imput with a joystick:<br /> only Y axis is moving, and only in left direciton. (when I push the joystick left and right from midle position).<br /> X dont move manually. (I check the voltage at the analog pins, joystck working correctly).</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-291261#post-999703</guid>
				<title>Re: Contraptor Firmware With XY, XZ, &amp; YZ arcs</title>
				<link>https://www.contraptor.org/forum/t-291261/contraptor-firmware-with-xy-xz-yz-arcs#post-999703</link>
				<description></description>
				<pubDate>Fri, 11 Feb 2011 10:10:43 +0000</pubDate>
				<wikidot:authorName>MMarz</wikidot:authorName>				<wikidot:authorUserId>632172</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi there,</p> <p>I've actually been gone for a while. So I haven't made good on my lofty goals I posted before.</p> <p>I assume you are talking about the axis moving different amounts based on the manual inputs, correct? I am aware of the behavior. The reason it does this is that the manual controls are completely separate from the interrupts that control the motion when G-code is fed in. I sloppy put together that bit of code so that I could manually position the stage. It probably wouldn't be all that hard to fix, but it's a very low priority issue for me. As Albanetc noted, if the different axis move at different speeds, that will cause problems. I haven't factored that into the calculations. If you would like to take a stab at it, all of the relevant code is in void manual_control() inside of stepper_control.pde</p> <p>But if you are talking about the movements being wrong during normal G-code, operations, then I'm not sure what the problem is. As I stated above, this firmware should behave just like the original firmware if you are not dealing with arcs om the XZ and YZ plane.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-291261#post-999306</guid>
				<title>Re: Contraptor Firmware With XY, XZ, &amp; YZ arcs</title>
				<link>https://www.contraptor.org/forum/t-291261/contraptor-firmware-with-xy-xz-yz-arcs#post-999306</link>
				<description></description>
				<pubDate>Thu, 10 Feb 2011 23:26:03 +0000</pubDate>
				<wikidot:authorName>Albanetc</wikidot:authorName>				<wikidot:authorUserId>381022</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>You might want to check the default Z speed, it's usually lower. When axes move together, the top speed may be limited by the slowest axis speed, in this case, Z.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-291261#post-998933</guid>
				<title>Re: Contraptor Firmware With XY, XZ, &amp; YZ arcs</title>
				<link>https://www.contraptor.org/forum/t-291261/contraptor-firmware-with-xy-xz-yz-arcs#post-998933</link>
				<description></description>
				<pubDate>Thu, 10 Feb 2011 16:47:57 +0000</pubDate>
				<wikidot:authorName>buddhafragt</wikidot:authorName>				<wikidot:authorUserId>703780</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>This one:</p> <p>//Updated 12/12/2010 By MMarz with XZ and YZ arcs + manual controls</p> <p>It is the last version of the RepRap firmware created by Chris Meighan I think!<br /> (Do you use a other version??)</p> <p><a href="https://sourceforge.net/projects/arduinocncmilll/">https://sourceforge.net/projects/arduinocncmilll/</a></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-291261#post-998235</guid>
				<title>Re: Contraptor Firmware With XY, XZ, &amp; YZ arcs</title>
				<link>https://www.contraptor.org/forum/t-291261/contraptor-firmware-with-xy-xz-yz-arcs#post-998235</link>
				<description></description>
				<pubDate>Wed, 09 Feb 2011 21:31:28 +0000</pubDate>
				<wikidot:authorName>arthurwolf</wikidot:authorName>				<wikidot:authorUserId>471107</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>What firmware do you use that has manual control via joystick ?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-291261#post-998220</guid>
				<title>Re: Contraptor Firmware With XY, XZ, &amp; YZ arcs</title>
				<link>https://www.contraptor.org/forum/t-291261/contraptor-firmware-with-xy-xz-yz-arcs#post-998220</link>
				<description></description>
				<pubDate>Wed, 09 Feb 2011 21:21:24 +0000</pubDate>
				<wikidot:authorName>buddhafragt</wikidot:authorName>				<wikidot:authorUserId>703780</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Dear Arthur,</p> <p>OK, I try a bigger PSU!</p> <p>Today I connect a joystick for manual control, but I get unexpected motions.<br /> Only Y stepper move and only if joystick X-Y is operate together&#8230;.<br /> Furtermore I dont know, if I connect the limitswithes correctly. The comment in the code is confusing me&#8230;</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-291261#post-998135</guid>
				<title>Re: Contraptor Firmware With XY, XZ, &amp; YZ arcs</title>
				<link>https://www.contraptor.org/forum/t-291261/contraptor-firmware-with-xy-xz-yz-arcs#post-998135</link>
				<description></description>
				<pubDate>Wed, 09 Feb 2011 19:13:15 +0000</pubDate>
				<wikidot:authorName>arthurwolf</wikidot:authorName>				<wikidot:authorUserId>471107</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Did you do something special to the firmware code ? If not, I'd really try a bigger PSU to see if that changes anything.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-291261#post-998064</guid>
				<title>Re: Contraptor Firmware With XY, XZ, &amp; YZ arcs</title>
				<link>https://www.contraptor.org/forum/t-291261/contraptor-firmware-with-xy-xz-yz-arcs#post-998064</link>
				<description></description>
				<pubDate>Wed, 09 Feb 2011 18:00:40 +0000</pubDate>
				<wikidot:authorName>buddhafragt</wikidot:authorName>				<wikidot:authorUserId>703780</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Dear Arthur,</p> <p>yes alle axis travel the same distance.<br /> I see, I make a mistake, if X and Y travel together, the distange is around 1/3 longer, so the steppers must move slower.<br /> But, if X, Y and Z axis move together the speed from X and Y is slower as only X and Y move! Thats wrong&#8230;.<br /> The Amperage rating PSU is 3A, the steppers take together under 2A&#8230;</p> <p>regards<br /> Michael</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-291261#post-997273</guid>
				<title>Re: Contraptor Firmware With XY, XZ, &amp; YZ arcs</title>
				<link>https://www.contraptor.org/forum/t-291261/contraptor-firmware-with-xy-xz-yz-arcs#post-997273</link>
				<description></description>
				<pubDate>Tue, 08 Feb 2011 20:51:41 +0000</pubDate>
				<wikidot:authorName>arthurwolf</wikidot:authorName>				<wikidot:authorUserId>471107</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>What's the amperage rating on your PSU and the amperage rating of your steppers ?</p> <p>Also, are you moving all the axes the same distance ? If not, the axis that moves the less goes slower to arrive at destination at the same time as the one with the more distance to travel.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-291261#post-997231</guid>
				<title>Re: Contraptor Firmware With XY, XZ, &amp; YZ arcs</title>
				<link>https://www.contraptor.org/forum/t-291261/contraptor-firmware-with-xy-xz-yz-arcs#post-997231</link>
				<description></description>
				<pubDate>Tue, 08 Feb 2011 20:14:22 +0000</pubDate>
				<wikidot:authorName>buddhafragt</wikidot:authorName>				<wikidot:authorUserId>703780</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi there,<br /> I installed the firmware and it is realy good work!<br /> But I noticed the stepper motor speed differs with the number of driven steppers.<br /> Only X axis is fast, X and Y is slower and X,Y and Z more slower.<br /> Even with slow motor speed. (F50)<br /> I take a look at the code, but I understand not all. I thought the step pulses are interrupt driven, so why this happen?<br /> Is there a solution for this problem?</p> <p>greetings<br /> Michael</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-291261#post-955222</guid>
				<title>Re: Contraptor Firmware With XY, XZ, &amp; YZ arcs</title>
				<link>https://www.contraptor.org/forum/t-291261/contraptor-firmware-with-xy-xz-yz-arcs#post-955222</link>
				<description></description>
				<pubDate>Sun, 19 Dec 2010 22:40:07 +0000</pubDate>
				<wikidot:authorName>Albanetc</wikidot:authorName>				<wikidot:authorUserId>381022</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>That's a lot of changes, looking forward to try it when I fix my X-axis.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-291261#post-950310</guid>
				<title>Re: Contraptor Firmware With XY, XZ, &amp; YZ arcs</title>
				<link>https://www.contraptor.org/forum/t-291261/contraptor-firmware-with-xy-xz-yz-arcs#post-950310</link>
				<description></description>
				<pubDate>Mon, 13 Dec 2010 22:21:06 +0000</pubDate>
				<wikidot:authorName>arthurwolf</wikidot:authorName>				<wikidot:authorUserId>471107</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Wow, nice work !</p> <p>You really really need to make a video of all this !</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-291261#post-949502</guid>
				<title>Contraptor Firmware With XY, XZ, &amp; YZ arcs</title>
				<link>https://www.contraptor.org/forum/t-291261/contraptor-firmware-with-xy-xz-yz-arcs#post-949502</link>
				<description></description>
				<pubDate>Mon, 13 Dec 2010 00:12:57 +0000</pubDate>
				<wikidot:authorName>MMarz</wikidot:authorName>				<wikidot:authorUserId>632172</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p><strong>Warning! I have not extensively tested this code. Do not leave your machine unattended while it is running. Let me know if you find any bugs. I take no responsibility for any damage that occurs from using this code.</strong></p> <p>I've modified the Contraptor firmware to include XZ and YZ arcs. The way I implemented this was by creating dummy indices I_Axis, J_Axis, &amp; K_axis. I-J is the plane that the arc resides in and K is always normal to it. So for XY arcs I = X, J = Y, &amp; K = Z. For XZ, I = X, J = Z, &amp; K = Y. Since the code originally only acted on the XY plane, I made it act on the new generic I-J plane. The way I set it up, the code will behave identically to the original unless you provide it with the g-codes G18 or G19. G18 = XZ plan. G19 = YZ plane. Although I did add a small fix to the way feedrates were handled after a change in the unit system. The original code would not change the units for the feedrate properly if an arc move immediately followed the unit change command.</p> <p>The syntax for arc moves goes like this:</p> <div class="code"> <pre><code>G90 G20 G17 G1 X0.0 Y0.0 Z0.0 G3 X0.5 Y-0.5 I0.5 J0.0 G18 G1 X0.0 Y0.0 Z0.0 G3 X0.5 Z-0.5 I0.5 K0.0 G19 G1 X0.0 Y0.0 Z0.0 G3 Y0.5 Z-0.5 J0.5 K0.0</code></pre></div> <p>That should draw the same quarter circle in all three planes. If you wanted to draw a helix, you can use the following command:</p> <div class="code"> <pre><code>G90 G20 G18 G1 X0.0 Y0.0 Z0.0 G3 X0.5 Z-0.5 I0.5 K0.0 Y1.0</code></pre></div> <p>G17 = XY plane, G18 = XZ plane, G19 = YZ plane.</p> <p><strong>Other bonuses in this code include:</strong><br /> -<a href="http://www.contraptor.org/forum/t-275140/reprap-new-firmware-1-16-microstepping-trouble#post-897494">arthurwolf microstepping fix</a> (I haven't tested this but he seems to know what he is doing)<br /> -<a href="http://www.contraptor.org/forum/t-192541/mini-cnc-case-study#post-749373">Albanetc's arc fix</a><br /> -Added M2, M3, M5 and M30 codes for starting and stopping your cutting head. Use TOOL_HEAD_PIN in _init to select which pin that will act on. Set it to -1 if you don't want to use it.<br /> -Added manual controls:</p> <ol> <li>-START_PAUSE pin is an analog pin connected to a pull down resistor and a high side switch. When switched to high, it exits all of the running code, and enters a while loop that allows you to jog the stage. The jogging isn't taken to account by the main program. So absolute positioning is not maintained. I used an analog pin for START_PAUSE, so that I can add other functions later.</li> <li>-TOOL_HEAD_SW_PIN will turn on the cutting head when the code is paused. If it is left high when you enter the paused loop, it must be toggled low and then high again to turn on the cutting head (safety feature).</li> <li>-HOLD_PIN will enable and disable all of the steppers. If it is left high when you enter the paused loop, it must be toggled low and then high again to turn on the steppers (safety feature).</li> <li>-MAX_MIN_PIN is an analog pin which all of the limit switches are connected to. A resistor ladder is used to differentiate between the limit switches. This is necessary when manually jogging if you want to back off of a limit switch. This also frees up more pins.</li> <li>-_LEFT_RIGHT are analog pins connected to pots to move the axis. 2.5V = no movement. 0V = fastest left. 5V = fastest right. All directions can be moved at once. I used an old gaming controller and wired the existing pots to my arduino.</li> </ol> <p>You can enable and disable the manual controls code by using MANUAL_ATTACH inside reprap_new_firmware_arc.pde. If you don't want the manual controls, set #define MANUAL_ATTACH 0 and the firmware should behave like the original.</p> <p>Here is the firmware: <a href="http://www.mediafire.com/?6756ivkwz7kk8ih">http://www.mediafire.com/?6756ivkwz7kk8ih</a></p> <p>(Small update: fixed an issue that caused the manual controls to not work.)</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>