TMCM-142 TMCL
TM
Firmware Manual (V1.06 / 2014-JUN-24)
98
Copyright © 2009, TRINAMIC Motion Control GmbH & Co. KG
Number Axis parameter
Description
Range [Unit]
Access
207
Error flags
Bit 1: motor has been stopped due
to encoder deviation error
These two flags are cleared after
reading.
1/2/3
R
212
Maximum encoder
deviation
When the actual position (param. 1)
and the encoder position (param.
41) differ more than the value set
here, the motor will be stopped.
Setting this parameter to 0 disables
this function.
0…2147483647
[µsteps]
RWE
255
Unit conversion mode
Units to use for velocity and
acceleration:
0: use TMC457 units
1: use PPS units
0/1
RWE
Please use the
TMC457 calculations data file (
) for getting best values.
7.1
Real world units vs. units of the TMC457
Parameter vs. units
Parameter / symbol
Unit
Calculation / description / comment
f
CLK
[Hz]
[Hz]
clock frequency of the TMC457 in [Hz]
s
[s]
second
US
microstep
FS
fullstep
velocity v[Hz]
microsteps / s
v[Hz] = v[457] * ( 2 * f
CLK
[Hz] / 2^31 )
acceleration a[Hz/s]
microsteps / s^2
a[Hz/s] = a[457] * f
CLK
[Hz]^2 / (16*256) / 2^30
micro step resolution USR
(used U instead of µ for micro)
counts
micro step resolution in number of microsteps
(i.e. the number of microsteps between two
fullsteps)
v[FS] @ USR
US/s
v[FS/s] = v[US/2] / USR
USR
microstep resolution
a[FS/^2] @ USR
US/s^2
a[FS/s^2] = a[US/s] / USR
ramp_steps[457] = rs
[457]
rs = 2 * (v[457])^2 / (a[457]) / 2^18
micro steps during linear acceleration ramp
(if v_max is really reached during acceleration)
Please refer to the TMC457 datasheet (
) for more information about the units and
examples.