<p>Why is it that if I execute a gcode command that causes the stepper motor to turn in reverse (any negative move on the X axis), after the step it will emit a high pitched whine until it gets another command to rotate in its forward direction?</p>

<p>Executing multiple reverse commands will cause the tone to vary in frequency each step, and always it goes away after another step in the opposite (forward) direction. </p>

<p>Sometimes.</p>

<p>And other times it does it in both directions, but only on every other step. One step +X its there, next step its gone, next step its back, and so on...</p>

<p>Then they also make a different noise when idle, before I disable them with the "disable steppers" command.</p>

<p>What are these noises?</p>

<p>And is it bad to leave the motors in this state? Will it burn them out?</p>

[{'answer_id': 7732, 'author': 'entropicCreator', 'author_id': 12706, 'author_profile': 'https://3dprinting.stackexchange.com/users/12706', 'pm_score': 0, 'selected': False, 'text': "<p>this is normalISH for stepper motors. they have a fair ammount of current pulsing through them at relatively high frequencies, coils and other parts that will vibrate. if it quite loud you can look into the boards that drive them, depending on your printer they are replaceable, and better 'drivers' send cleaner signals that make less noise. however: if your motors get hot or start making clicking noises, or stop randomly, or acting up more significantly, you should look adjusting how much current they are getting. search for stepper motor calibration, basically you need to adjust the ammount of current the motors are getting, but if the machine prints normally, then this is not something you want to play with. you can also probably find the data sheet for your motor, they are usually rated to operate up to about 50C</p>\n"}, {'answer_id': 11100, 'author': '0scar', 'author_id': 5740, 'author_profile': 'https://3dprinting.stackexchange.com/users/5740', 'pm_score': 1, 'selected': False, 'text': '<p>When idle, the stepper is stationary, no rotation.</p>\n<p>Normal standard electric motors will start spinning as soon as you apply power to them. However, steppers only rotate when a magnetic field is applied<sup>1)</sup>:</p>\n<blockquote>\n<p>Stepper motors effectively have multiple &quot;toothed&quot; electromagnets\narranged around a central gear-shaped piece of iron. The\nelectromagnets are energized by an external driver circuit or a micro\ncontroller. To make the motor shaft turn, first, one electromagnet is\ngiven power, which magnetically attracts the gear\'s teeth. When the\ngear\'s teeth are aligned to the first electromagnet, they are slightly\noffset from the next electromagnet. This means that when the next\nelectromagnet is turned on and the first is turned off, the gear\nrotates slightly to align with the next one. From there the process is\nrepeated. Each of those rotations is called a &quot;step&quot;, with an integer\nnumber of steps making a full rotation. In that way, the motor can be\nturned by a precise angle.</p>\n<p>The motor\'s position can then be commanded to move and hold at one of\nthese steps without any position sensor for feedback (an open-loop\ncontroller), as long as the motor is carefully sized to the\napplication in respect to torque and speed.</p>\n</blockquote>\n<p>When you power the printer and energyze the steppers there is no movement, but, the magnetic coils in the stepper are activated to hold the rotor in position. This is controlled by the stepper driver. The creation of the signal for the magnetic coils is causing the noise. It is a function of the driver type, micro-stepping setting, the stepper motor inductance, current setting and supply voltage.</p>\n<p>If the stepper motor, stepper driver and power supply can take it, increasing the current setting of the driver may lower the noise.</p>\n<p>Turning off the steppers (disabling them with <a href="https://reprap.org/wiki/G-code" rel="nofollow noreferrer">G-code</a> using <code>M2</code>, <code>M18</code>, or <code>M84</code> depending on your firmware) will stop the noise, but you will easily lose the current position as it is not hold into place anymore.</p>\n<hr />\n<p><sup>1)</sup> source <a href="https://en.wikipedia.org/wiki/Stepper_motor" rel="nofollow noreferrer">Wikipedia</a></p>\n'}]
['https://3dprinting.stackexchange.com/questions/7714', 'https://3dprinting.stackexchange.com', 'https://3dprinting.stackexchange.com/users/13829/']