Download Operating Instructions - u

Transcript
3 Functional Description
3.3 Extended operating modes
3.3.2 Gearing mode (electronic gearing)
Value range of STN and STW: 0 to 65535
Using gearing mode forces the attached motor to follow
an external encoder.
Command
Function
Description
GEARMOD
Gearing
Mode
Change to gearing
mode
The two channels of an external encoder are connected
to AnIn and AGND, which may need to be connected to
the 5 V encoder supply using a 2.7 k pull-up resistor.
Command
Function
Description
STW
Load Step
Width
Load step width for stepper
motor and gearing mode
STN
Load Step
Number
Load number of steps per
magnetic pitch for stepper motor
and gearing mode
Example:
Motor has to move for the magnetic pitch at 1000 pulses
of the external encoder:
STW1
STN1000
The gear ratio can be set in accordance with the following
formula:
STW
Displacement = pulses ·
· polar pitch τm
STN
Displacement ...Displacement commanded of the motor
The direction can be predefined with the commands ADL
and ADR, or using an external signal at
the fault pin (DIRIN command).
The acceleration and speed parameters (AC, DEC, SP) are
effective in gearing mode. These permit gentle starting
and deceleration. The position range limits set via LL must
also be activated with the APL1 command, in order to
prevent the exit of the shaft.
Pulses...Post-quadrature encoder pulses
STW...Step width (step width factor
= number of steps per encoder pulse)
STN...Step number (number of steps
= number of steps per magnetic pitch)
Circuit example:
Reference switch
Circuit example gearing mode for MCLM 3003/06 C
Error
output
Evaluation
reference mark
Protective functions:
Overtemperature
Overcurrent
Overvoltage
.
Set-point
encoder
.
Analog
input
Input 3
CAN bus
Interface
Target
position
calculation
Evaluation
input 3
Position
controller
vtarget PI velocity
controller
vactual
Velocity
calculation
brown
orange
MOSFET
Power
output
stage
3 phase
PWM
sinusoidal
commutator
yellow
green
Shaft
position
calculation
CANopen
communication
and configuration
module
I2t current
limitation
controller
Iactual
Microcontroller
18
blue
grey
5V
controller
red
black
Motor