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/17 12:37] – ivan | mycnc:mycnc_pulse_width_setup [2019/04/24 13:04] – ivan | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | -===== MyCNC Pulse Width Setup ====== | + | ===== MyCNC Pulse Width Setup ====== |
- | ==== MyCNC Pulse Width elements ==== | ||
*In myCNC software, navigate to **Settings** | *In myCNC software, navigate to **Settings** | ||
*Open the **Hardware** tab | *Open the **Hardware** tab | ||
Line 9: | Line 8: | ||
- | ====To Select | + | ====Selecting the Appropriate Pulse Width for your motor==== |
- | A common issue with CNC machines is selecting the appropriate pulse width for the signal going from the controller to the step/servo motor on the CNC machine. The pulse impulse sent from the controller has a width that cannot be higher than the frequency at which the signals are sent to the motor, due to the signal overlap that occurs otherwise. As seen in the following instructions from Panasonic' | + | |
- | {{:mycnc:pulse-width: | + | A common procedure required for proper motor operation is selecting the appropriate |
- | {{:mycnc: | + | |
- | As another example, the Yaskawa' | + | {{:mycnc:pulse-width:panasonic-2-1-v2.png|}} |
- | {{: | + | As another example, the Yaskawa' |
- | In order to select the appropriate | + | {{:mycnc:pulse-width:yaksawa-2-2.png}} |
- | *Choose the speed at which your machine will move in **[meters/ | + | A step motor also requires a minimum pulse width, |
+ | {{: | ||
- | *Convert | + | As such, the pulse impulses sent from the controller |
- | *For example, if the desired **[meters/ | + | |
- | *Locate | + | These constraints on the minimum |
+ | ====Pulse Width Calculations==== | ||
- | *Using the **[revolutions/ | + | *Choose |
- | *For example, if the **[steps/ | + | |
- | *Using the **[revolutions/second]** value and the updated stepper driver **[steps/ | + | *Convert |
- | *For example, if the **[revolutions/second]** value was equal to 16 revolutions/second | + | |
+ | < | ||
+ | 5 meters/ | ||
+ | 80 millimeters/ | ||
+ | The value for the [revolutions / second] | ||
+ | </code> | ||
- | *The value for the **Pulse Width** in myCNC software must be equal or higher than the actual **[seconds/ | + | *Locate the minimum **[seconds / step]** value of your step/servo motor (the minimum time it takes the motor to process each individual impulse). This minimum time should be provided in the motor manual. |
- | *For example, if the **[seconds/ | + | |
+ | |||
+ | *Using the **[revolutions / second]** value and the minimum allowed **[seconds / step]** value of the motor, calculate how many **[steps / revolution]** the stepper driver will have to make. | ||
+ | | ||
+ | < | ||
+ | 1 ÷ (16 revolutions/ | ||
+ | The value for the number of [steps / revolution] will be equal to 7812.5 steps/ | ||
+ | </ | ||
+ | |||
+ | |||
+ | *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/ | ||
+ | |||
+ | *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. | ||
+ | | ||
+ | < | ||
+ | 1 ÷ (16 revolutions/ | ||
+ | The value for the [seconds / step] will be equal to 9.76 μs/step. | ||
+ | </ | ||
+ | |||
+ | |||
+ | *The value for the **Pulse Width** in myCNC software must be equal or higher than the actual **[seconds / step]** value of the motor. | ||
+ | *//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. | ||
+ | | ||
{{: | {{: | ||
- | *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