User Tools

Site Tools


mycnc:mycnc_pulse_width_setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
mycnc:mycnc_pulse_width_setup [2019/04/24 13:32] ivanmycnc: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's MINAS A5-series AC Servo Motor & Driver, the pulses also have to have a minimum width for the machine to register the signal, for example, 0.25 μs for t1 of the 4 Mpps input and 2.5 μs for t1 of the 500 kpps input:+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. A minimum pulse width is usually noted by the motor manufacturer so as to ensure that the motor can register the signals going to it from the controller (if the pulse width is lower, then the motor cannot "see" the impulse being sent from the controller to the machine). 
 + 
 +As seen in the following instructions from Panasonic's MINAS A5-series AC Servo Motor & Driver, the pulses have to have a minimum width for the machine to register the signal, noted to be 0.μs for the 4 Mpps input and 5 μs for the 500 kpps input:
  
 {{:mycnc:pulse-width:panasonic-2-1-v2.png|}} {{:mycnc:pulse-width:panasonic-2-1-v2.png|}}
Line 27: Line 29:
 ====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 in **[meters / minute]**
  
   *Convert the **[meters / minute]** speed with which the machine will move to the number of **[revolutions / second]** of the screw/belt/etc based on the **[meters / revolution]** value of the screw/belt on your machine (this screw/belt value is specific to each hardware setup)   *Convert the **[meters / minute]** speed with which the machine will move to the number of **[revolutions / second]** of the screw/belt/etc based on the **[meters / revolution]** value of the screw/belt on your machine (this screw/belt value is specific to each hardware setup)
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/revolution, then if the stepper driver allows for 3200, 6400, and 12800 steps/revolution, 6400 steps/revolution will be selected//+      *//For example, if the **[steps / revolution]** value has been calculated to be 7812.5 steps/revolution, then if the stepper driver allows for 3200, 6400, and 12800 steps/revolution, 6400 steps/revolution will be selected as it is the closest value that's equal to or lower than 7812.5//
  
   *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 63: Line 65:
 {{:mycnc:pulse-width:pulse-width-chart2.png}} {{:mycnc:pulse-width:pulse-width-chart2.png}}
       *The 12 μs corresponds to Setting 7 in the chart, thus the **Pulse width** value should be set to 7 in myCNC software.        *The 12 μs corresponds to Setting 7 in the chart, thus the **Pulse width** value should be set to 7 in myCNC software. 
-         *//NOTE: The first value in the **Pulse Width** line refers to the first four axes of the controller (for example, the horizontal X and Y axes), while the second value refers to the other two axes of the controller (for example, the vertical Z axis). These values are set to be different if the controller used on the vertical axis is separate from that used on the horizontal, and are left the same if a single controller is used.//+         *//NOTE: The first value in the **Pulse Width** line refers to the first four axes of the controller (for example, the horizontal X and Y axes), while the second value refers to the other two axes of the controller (for example, the vertical Z axis). These values are set to be different if the controller used on the vertical axis is separate from that used on the horizontal, and are left the same if a single controller is used. If two controllers are desired, the calculations for these values need to be performed separately based on the desired speed for each axis//
 {{:mycnc:pulse-width:pulse-width-chart3.png}} {{:mycnc:pulse-width:pulse-width-chart3.png}}
  
     *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

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki