![Trinamic PD57-1060 Скачать руководство пользователя страница 38](http://html1.mh-extra.com/html/trinamic/pd57-1060/pd57-1060_firmware-manual_1163104038.webp)
PD57/60-1060 / TMCM-1060 TMCL™ Firmware Manual (V1.04 / 2011-AUG-29)
38
Copyright © 2011, TRINAMIC Motion Control GmbH & Co. KG
Number Axis Parameter
Description
Range [Unit]
208
TMC262 driver
error flags
Bit 0
stallGuard™ status
(1: threshold reached)
Bit 1
Overtemperature
1: driver is shut down due to
overtemperature)
B t 2
Pre-warning overtemperature
(1: Threshold is exceeded)
Bit 3
Short to ground A
(1: Short condition detected, driver currently
shut down)
Bit 4
Short to ground B
(1: Short condition detected, driver currently
shut down)
Bit 5
Open load A
(1: no chopper event has happened during
the last period with constant coil polarity)
Bit 6
Open load B
(1: no chopper event has happened during
the last period with constant coil polarity)
Bit 7
Stand still
(1: No step impulse occurred on the step
input during the last 2^20 clock cycles)
Please refer to the TMC262 Datasheet for more
information.
0/1
209
encoder position The value of an encoder register can be read
out or written.
[encoder steps]
210
encoder prescaler Prescaler for the encoder.
See paragraph 0
212
maximum
encoder
deviation
When the actual position (parameter 1) and
the encoder position (parameter 209) differ
more than set here the motor will be
stopped. This function is switched off when
the maximum deviation is set to zero.
0… 65535
[encoder steps]
214
power down
delay
Standstill period before the current is changed
down to standby current. The standard value
is 200 (value equates 2000msec).
1… 65535
[10msec]
215
absolute encoder
value
Absolute value of the encoder.
0… 4095
[encoder steps]
254
step/dir
0 normal mode (move motor using
TMCL™ commands)
1 step/direction mode (move motor via
step/direction inputs)
0/1
Example:
Get the actual position of motor
Mnemonic:
GAP 0, 1
Binary:
Byte Index
0
1
2
3
4
5
6
7
8
Function
Target-
address
Instruction
Number
Type
Motor/
Bank
Operand
Byte3
Operand
Byte2
Operand
Byte1
Operand
Byte0
Checksum
Value (hex)
$01
$06
$01
$00
$00
$00
$00
$00
$0a
Reply:
Byte Index
0
1
2
3
4
5
6
7
8
Function
Host-
address
Target-
address
Status Instruction Operand
Byte3
Operand
Byte2
Operand
Byte1
Operand
Byte0
Checksum
Value (hex)
$02
$01
$64
$06
$00
$00
$02
$c7
$36
status=no error, position=711