Articles on: Learning & FAQ

How to Set the Driver's DIP Switch?

When using a driver for the first time, it is usually necessary to change the driver's DIP switch to simply set the driver parameters so that the motor can operate normally. In addition, the DIP switches of some drives have special functions. This article will introduce the meaning of the DIP switch of our driver and how to set it.



1. 5V/24V switch



In order to adapt to pulse signals of different voltages, our new driver adds a 5V/24V switch to switch the signal voltage that can be input to the PUL and DIR ports. This switch is usually located on the top of the driver. If this switch is set incorrectly, the driver may not be able to receive pulse signals or the driver may be damaged. So before using the driver, please set this switch correctly according to your signal voltage.



2.Open loop driver (DMxxxT)



The dial setting of the open-loop driver is mainly divided into two parts: current setting and micro-step setting. For the corresponding dialing code, please refer to the driver manual.

a. Current setting

When setting the output current of the driver, it needs to be set according to the phase current of the connected motor. We recommend setting the driver's peak current near the motor's phase current for better performance and lower heat generation.

b. Microstep setting

The settings of micro-stepping are generally set according to the actual usage of the motor. If there are no special needs, we recommend setting it between 1600-6400 to obtain better motor performance.

c. Half-current hold function (SW4)

Some drives can set the drive's half-current hold function via SW4. This function is so that when the motor stops, the driver automatically reduces the output current to half of the set current to reduce the heat generated when the motor stops. But correspondingly, the holding torque of the motor will also be reduced. Therefore, please choose whether to enable this function according to the actual situation of the motor. If the holding torque requirements of the motor are not high, we recommend enabling this function (enabled when set to off).



3. Closed loop driver (CLxxT)



Closed-loop drivers have more functions than open-loop drivers, and more complex functions can be set using dip switches.

a. S1: Current setting

The output current of the closed-loop driver can be set through the S1 knob, which is divided into three gears. When setting the current, you only need to set S1 to the appropriate gear.

b. SW1-SW4: Microstep setting

The settings of micro-stepping are generally set according to the actual usage of the motor. If there are no special needs, we recommend setting it between 1600-6400 to obtain better motor performance.

c. SW5: Direction setting

SW5 DIP switch can set the default running direction of the motor. If you only need the motor to run in one direction, you can adjust the direction of the motor through this switch.

d. SW6: Control mode

The SW6 DIP switch can be used to set the driver to drive the motor in open-loop mode or closed-loop mode. In open loop mode, the encoder port is not enabled and the driver does not receive the encoder feedback signal. In closed loop mode, the encoder can receive the encoder signal and use it to adjust the operation of the motor.
Closed loop drives are not designed for use with open loop motors, so we do not recommend using the closed loop driver in open loop mode for long periods of time.

e. SW7: pulse mode

SW7 DIP switch can be used to select the type of pulse signal supported by the driver. Our drivers currently support two pulse signal types: PUL/DIR and CW/CCW. Please set according to the type of your pulse signal.

f. SW8: Pulse filtering

The SW8 DIP switch can be used to turn on or off the pulse filter function. We recommend leaving this switch as default.



4. RS series driver



RS series drivers mainly set parameters through RS485 and debugging software, so the DIP switches of RS series drivers are more about setting RS485 related parameters.

a. SW1-SW5: RS485 address

Our RS series drives can use up to 31 drives to form a network. The address of each driver in the network can be set through the combination of SW1-SW5 to set the parameters of each driver.
When SW1-SW5 are set to Default, the driver address can be set through software.

b. SW6-SW7: baud rate

SW6-SW7 can be used to set the baud rate of the driver's RS485 communication to match the requirements of the host computer.
When SW6-SW7 are all set to off, you can use software to adjust the baud rate to get more options. For details, please refer to the driver manual.

c. SW8: Terminal resistor

SW8 can choose whether to enable the termination resistor. We recommend keeping the default off.
Note: The last slave device in the network needs to be connected to the 1200 terminal resistor, which means SW8 needs to be set to on.

Updated on: 31/07/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!