mycnc:mycnc_pulse_width_setup
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
mycnc:mycnc_pulse_width_setup [2019/04/24 13:04] – ivan | mycnc:mycnc_pulse_width_setup [2019/04/24 13:47] – ivan | ||
---|---|---|---|
Line 10: | Line 10: | ||
====Selecting the Appropriate Pulse Width for your motor==== | ====Selecting the Appropriate Pulse Width for your motor==== | ||
- | A common procedure required for proper motor operation is selecting the appropriate pulse width for the signal going from the controller to the step/servo motor on the CNC machine. As seen in the following instructions from Panasonic' | + | A common procedure required for proper motor operation is selecting the appropriate pulse width for the signal going from the controller to the step/servo motor on the CNC machine. |
+ | |||
+ | As seen in the following instructions from Panasonic' | ||
{{: | {{: | ||
Line 23: | Line 25: | ||
As such, the pulse impulses sent from the controller to the motor have to have a certain minimum width for the motor to be able to register those signals. However, that signal width also cannot be too large due to the signal overlap that would otherwise occur due to each individual signal interfering with the next one. This is done by ensuring the controller sends impulse signals at a rate that is lower than the period of the impulse at its maximum frequency, resulting in impulse signals that do not interfere with one another while the width of the signal is wide enough for the motor to register the impulse. | As such, the pulse impulses sent from the controller to the motor have to have a certain minimum width for the motor to be able to register those signals. However, that signal width also cannot be too large due to the signal overlap that would otherwise occur due to each individual signal interfering with the next one. This is done by ensuring the controller sends impulse signals at a rate that is lower than the period of the impulse at its maximum frequency, resulting in impulse signals that do not interfere with one another while the width of the signal is wide enough for the motor to register the impulse. | ||
- | These constraints on the minimum and the maximum pulse width create a permissible range of pulse widths for each motor depending on its hardware specifications and the particular speeds it is required to be operated at. | + | These constraints on the minimum and the maximum pulse width create a permissible range of pulse widths for each motor depending on its hardware specifications and the particular speeds it is required to be operated at. Such an optimal pulse width for the controller based on these particular specifications can be calculated. |
====Pulse Width Calculations==== | ====Pulse Width Calculations==== | ||
- | *Choose the speed at which your machine will move in **[meters / minute]** | + | *Choose the speed at which your machine will be moving |
- | *Convert the **[meters / minute]** speed with which the machine | + | *Convert the **[meters / minute]** speed with which the machine |
- | | + | |
< | < | ||
5 meters/ | 5 meters/ | ||
Line 49: | Line 51: | ||
*As discussed earlier, the value selected on the stepper motor must be equal or smaller than the number of **[steps / revolution]** obtained from the previous step for the motor to register the signal and function properly. | *As discussed earlier, the value selected on the stepper motor must be equal or smaller than the number of **[steps / revolution]** obtained from the previous step for the motor to register the signal and function properly. | ||
- | *//For example, if the **[steps / revolution]** value has been calculated to be 7812.5 steps/ | + | *//For example, if the **[steps / revolution]** value has been calculated to be 7812.5 steps/ |
*Using the **[revolutions / second]** value and the updated stepper driver **[steps / revolution]** value, calculate the actual **[seconds / step]** value of the motor. This actual **[seconds / step]** value will always be equal or higher than the minimum allowable **[seconds / step]** value of the motor due to selecting a lower **[steps / revolution]** value in the previous steps. | *Using the **[revolutions / second]** value and the updated stepper driver **[steps / revolution]** value, calculate the actual **[seconds / step]** value of the motor. This actual **[seconds / step]** value will always be equal or higher than the minimum allowable **[seconds / step]** value of the motor due to selecting a lower **[steps / revolution]** value in the previous steps. | ||
Line 62: | Line 64: | ||
*//For example, if the **[seconds / step]** value was equal to 9.76 μs/step, and an ET6 or an ET7 board was used, 12 μs would be selected from the chart in the **Common Hardware Settings** tab as it is the closest value that's higher than 9.76 μs// | *//For example, if the **[seconds / step]** value was equal to 9.76 μs/step, and an ET6 or an ET7 board was used, 12 μs would be selected from the chart in the **Common Hardware Settings** tab as it is the closest value that's higher than 9.76 μs// | ||
{{: | {{: | ||
- | *The 12 μs corresponds to Setting 7 in the chart, thus the **Pulse width** value should be set to 7. | + | *The 12 μs corresponds to Setting 7 in the chart, thus the **Pulse width** value should be set to 7 in myCNC software. |
- | | + | |
{{: | {{: | ||
*The pulse width setup is now complete. | *The pulse width setup is now complete. |
mycnc/mycnc_pulse_width_setup.txt · Last modified: 2024/01/22 11:05 by ivan