TMCM-1310 TMCL Firmware V1.11 Manual (Rev. 1.16 / 2014-MAR-19)
78
www.trinamic.com
9
Closed-Loop Operation Related Axis Parameter
The TMCM-1310 focuses on operating stepper motors in a closed loop using encoder feedback to prevent
from motor stall, to adapt the current amplitude for saving energy and reducing heating, and for precise
and fast positioning.
9.1
General Closed Loop Axis Parameters
All values for electrical period and step positions focus on a microstep resolution of 256 steps per full
step. For a stepper motor with 200 steps (1.8°) this results in 51200 microsteps per revolution. When using
an encoder with lower resolution the encoder position is automatically scaled to a resolution of 256
microsteps per full step.
Number Axis parameter
Description
Units / Default
Acc.
128
Ramp mode
Automatically set when using ROR, ROL, MVP
or SAP 14 commands.
0: Position mode. Steps are generated, when
the parameters actual position and target
position differ. Trapezoidal speed ramps are
provided. When switching into this mode
(using MVP ABS|REL|COORD), the motor will
immediately start when there is a position
difference.
1: Velocity mode. The motor will run
continuously and the speed will be changed
with constant (maximum) acceleration, if the
parameter target speed is changed.
2: Torque mode. In closed loop mode only,
the motor can be driven with constant
torque. The velocity is only limited by the
motor characteristics and the current setting.
This mode of operation cannot be used in
open loop mode!
0/1/2
RW
129
Closed loop
operation
0:
open loop mode
1:
closed loop mode
When switching from open loop to closed
loop mode the closed loop system will be
initialized.
Attention:
Wait for the closed loop init flag to be set to
1 after switching to closed loop mode (see
axis parameter 133).
0/1
RW
133
CL init flag
0: open loop mode or closed loop not
initialized
1: closed loop is initialized and ready for use
See also parameter 129.
0/1
R
207
Max encoder
deviation error
flag
When maximum deviation is reached, motor
is stopped/switched off. This flag shows this
condition.
0/1
R