![]() In case of PWM regulation, if commanded speed would result in duty cycle lower than specified minimum in SpindleSetup (figure 1), Mach3 would respond with warning " PWM Bumped to minimum setting" and would set PWM duty cycle to given minimum value. by using S command, speed is requested that is lower than Min Speed, Mach3 would issue a warning and set speed to specified minimum. Min Speed (rpm) represents minimum valid spindle revolution speed for the given pulley. If commanded speed should be greater than Max Speed, Mach3 would present a warning " To Fast for Pulley. On this picture MotorSpeed is shown as v. In other words, if given speed changes from Min Speed to Max Speed, MotorSpeed changes from Vmin to Velocity as it is shown on figure 6.b. General equation for STEP/DIR control is:Īs minimum speed that is possible to command is Min Speed, from previous eqauation it follows that minimum resulting motor speed is: If transmission is 1:1 (direct motor drive, no reduction) it is required to set Max Speed to the same value as Velocity so that correct speed calculation is performed. In case of STEP/DIR control, Max Speed relates to parameter Velocity from figure 4, so the same command S4000 would produce resulting speed that is 50% of Velocity parameter. In other words, as given speed goes from Min Speed to Max Speed, resulting PWM duty cycle is changes from 0 to 100%, like it is shown on figure 6.a.įigure 6 Spindle revolution speed diagrams for a) PWM control and b) STEP/DIR control Where given_spindle_speed is speed that is given using S command. General equation to calculate PWM duty is: So, in example like on figure 5 where maximum speed is 8000 rpm and minimum is 0 rpm, when command S4000 is given, PWM duty cycle would be set to 50%. In case of PWM control, value of Max Speed relates to duty cycle 100%. ![]() These parameters practically define a valid range for S command, i.e., if Max Speed=100, and Min Speed=5000, valid S command range is from S100 to S5000. Maximum and minimum speeds are specified using fields Max Speed and Min Speed (rpm). Parameter interpretation differs a little depending on control type. ![]() NOTE: After changing parameters for Spindle motor it is required to restart Mach3 so that new values are put into effect.įor both types of spindle speed regulation, dialog Config/Spindle Pulleys (figure 5) is applicable. ![]() When STEP/DIR spindle regulation is used it is required to specify parameters for number of steps per revolution ( Steps per), maximum speed Velocity (rpm) and acceleration ( Acceleration) for the motor that is used to drive the spindle (figure 4). all seven axes (figure 3) can be turned on.įigure 3 Dialog for setting up pins and port for STEP and DIR output signals If PWM spindle regulation is used then this limitation is not present, i.e. In case that spindle STEP/DIR axis is used, axis C must be turned off. NOTE: USB-MC motion controller supports simultaneous operation of 6 axes controlled by STEP/DIR signals. In example shown on figure 3, these are the pins 11 and 12. In case of PWM control, only STEP pin and port are required to be configured because this signal line is used for PWM output and DIR pin and port are then not in use. (General setup tab – figure 2).Īlso it is required to turn on spindle axis and configure pins and port for STEP and DIR output signals (figure3). PWM frequency can be specified via additional dialog for USB-MC motion controller Plugin control/USB-MC Config. Field PWMBaseFreq is not used (crossed field on figure 1). In case of PWM regulation it is possible to specify minimum duty cycle using the field Minimum PWM shown in the same group. Also in this dialog it is possible to choose PWM control or Step/Dir Motor option.įigure 1 Ports&Pins/Spindle Setup dialog - Motor control group In order to activate mentioned spindle control, inside Mach3 software, dialog Ports&Pins/Spindle Setup (figure 1) should be opened and in Motor control group option Use Spindle Motor Output should be turned on. ![]() #Novusun nvcm 6v2.1 how to#In the following text it will be described in detail how to control spindle with USB-MC motion controller using PWM or STEP/DIR signals. Besides relays that are used for switching spindle on and off, Mach3 supports two ways for controlling spindle revolution speed. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |