External pulse command mode setting register
0: IN1 is the pulse input port, IN2 is the direction
input port
1: IN1 is the forward pulse input port, IN2 is the
reverse pulse input port
2: IN1 is the A-phase input port of the quadrature
encoder, and IN2 is the B-phase input port of the
quadrature encoder
Other: invalid
Note: In mode 2 here, although the driver
receives the quadrature encoder signal, the driver
only follows it, which is a form of command. Not
the position feedback signal of the stepper motor
itself. This function can be used to follow the
encoder signal output by other devices such as
servo drivers.
Application Mode Selection in Internal Pulse Mode
0: Response to the command of register 18
1: Homing mode
2: Preset IO control mode 1: start-stop + direction
3: Preset IO control mode 2: Forward + Reverse
4: Preset IO control mode 3: Internal speed table
5: Preset IO control mode 4: Internal position table
6: Preset IO control mode 5: Step position
7: Customized 1
8: Customized 2
9: Customized 3
10: Customized 4
11: Customized 5