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. 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 |