0: A/B quadrature pulse; A precedes B
1: A: PULSE; B: SIGN
If channel B is of low electric level, the edge counts
up; if channel B is of high electric level, the edge
counts down.
2: A: Positive pulse
Channel A is positive pulse; channel B needs no
wiring
3: A\B dual-channel pulse; channel A pulse edge
counts up, channel B pulse edge counts down
Tens: Pulse direction
Bit0: Set pulse direction
0: Forward
1: Reverse
Bit1: Set pulse direction by running direction
0: Disable, and BIT0 is valid;
1: Enable
Hundreds: Pulse/direction frequency-doubling
selection (reserved)
0: No frequency-doubling
1: Frequency-doubling
Thousands: Pulse control selection
Bit0: Pulse filter selection
0: Inertia filter
1: Average moving filter
Bit1: Overspeed control
0: No control
1: Control