20
TMC211 DATASHEET (V. 1.04 / January 7, 2005)
5.2.2 Status Flags
The table below shows the flags which are accessable by the LIN interface in order to receive
information about the internal status of the TMC211.
Flag
Mnemonic Length
(bit)
Related
Comment
Reset
state
Command
Digital supply
Reset
VddReset
1
GetFullStatus Set to ‘1’ after power-up or after a micro-cut in the supply
voltage to warn that RAM contents may have been lost.
Is set to ‘0’ after GetFullStatus command.
‘1’
Over current in coil OVC1
1
1
1
GetFullStatus Set to ‘1’ if an over current in coil #1 was detected. Is set to
‘0’ after GetFullStatus command.
‘0’
‘0’
‘0’
A
Over current in coil OVC2
B
GetFullStatus Set to ‘1’ if an over current in coil #2 was detected. Is set to
‘0’ after GetFullStatus command.
StepLoss
StepLoss
GetFullStatus Set to ‘1’ when under voltage, over current or over
temperature event was detected. Is set to ‘0’ after
GetFullStatus command. SetPosition and
GotoSecurePosition commands are ignored when
<StepLoss> = 1
‘0’ if SecPos = “100 0000 0000”
Secure position
enabled
SecEn
1
Internal use
n.a.
‘1’ otherwise
Circuit in Sleep
mode
‘1’ = Sleep mode
Internal use
Sleep
ElDef
1
1
‘0’
‘0’
reset by LIN command
Electrical Defect
GetFullStatus Set to ‘1’ if open circuit or a short was detected, (<OVC1>
or <OVC2>). Is set to ‘0’ after GetFullStatus command.
GetFullStatus Indicates the chip temperature
“00” = normal temperature
Temperature Info Tinfo
2
“00”
“01 = low temperature warning
“10” = high temperature warning
“11” = motor shutdown
Thermal Warning TW
Thermal Shutdown TSD
1
1
3
GetFullStatus Set to one if temperature raises above 145 °C. Is set to ‘0’
after GetFullStatus command.
‘0’
‘0’
GetFullStatus Set to one if temperature raises above 155° C. Is set to ‘0’
after GetFullStatus command and Tinfo = “00”.
GetFullStatus Indicates the actual behavior of the position controller.
“000”: Actual Position = Target Position; Velocity = 0
“001”: Positive Acceleration; Velocity > 0
“010”: Negative Acceleration; Velocity > 0
“011”: Acceleration = 0 Velocity = maximum pos Velocity
“100”: Actual Position /= Target Position; Velocity = 0
“101”: Positive Acceleration; Velocity < 0
“110”: Positive Acceleration; Velocity < 0
“111”: Acceleration = 0 Velocity = maximum neg Velocity
GetFullStatus Indicates the status of the external switch.
‘0’ = open
Motion Status
Motion
“000”
External Switch
Status
ESW
1
‘0’
‘1’ = close
Charge Pump
failure
Electrical flag
CPFail
HS
1
1
GetFullStatus ‘0’ charge pump OK
‘0’
‘0’
‘1’ charge pump failure
Internal use
<CPFail> or <UV2> or <ElDef>
Copyright © 2004-2005 TRINAMIC Motion Control GmbH & Co. KG