36
4 Functional Description
4.4 Enhanced operating modes
Example:
Motor should turn 1/1000th of a revolution for each input signal:
STW1
STN1000
The acceleration and speed values (AC, DEC, SP) are also taken into account in step motor mode.
These permit gentle starting and deceleration. The position range limits set via LL can also be acti-
vated with the APL1 command.
4.4.2 Gearing mode (electronic gear)
Gearing mode enables the use of an external encoder as set-point source for the position.
Command Function
Description
GEARMOD Gearing Mode
Change to gearing mode
The two channels of an external encoder are connected to connections AnIn and AGND, which may
need to be connected to the 5 V encoder supply via a 2.7 k
pull-up resistor.
The gear ratio can be set in accordance with the following formula:
Revolutions = pulses
STW
STN
Revolutions
… Revolutions that are generated on the drive
Pulses
… actually counted pulses which result in quadrature signal processing
STW
… Step width (step width factor = number of steps per encoder pulse)
STN
… Step number (number of steps = number of steps per revolution)
Value range of STN and STW: 1 to 65 535
Command Function
Description
STW
Load Step Width
Load step width for step motor and gearing mode
STN
Load Step Number
Load number of steps per revolution for step motor
and gearing mode
Example:
Motor has to move one revolution at 1000 pulses of the external encoder:
STW1
STN1000
The direction of rotation can be predefined with the commands ADL and ADR, or via an external
signal at the fault pin (DIRIN command).
The acceleration and speed values (AC, DEC, SP) are also taken into account in gearing mode. These
permit gentle starting and deceleration. The position range limits set via LL can also be activated
with the APL1 command.