Trinamic 11-0011 TMCM-171 BLDC Output For 3-phase BLDC Motors 11-0011 Hoja De Datos

Los códigos de productos
11-0011
Descargar
Página de 134
 
TMCL Reference Manual 
46 
 
 
 
Trinamic Motion Control GmbH & Co KG 
Sternstraße 67 
D – 20357 Hamburg, Germany 
http://www.trinamic.com 
 
3.31  CLE – Clear Error Flags 
Description:   This command clears the internal error  flags. It is intended for use in stand-alone  mode  only and 
must not be used in direct mode. The following error flags can be cleared by  this command (determined by the 
<flag> parameter): 
 
ALL: clear all error flags. 
 
ETO: clear the timeout flag. 
 
EAL: clear the external alarm flag 
 
EDV: clear the deviation flag (modules with encoder feedback only, e.g. TMCM-100)  
 
EPO: clear the position error flag (modules with encoder feedback only, e.g. TMCM-100)  
 
Related commands: JC 
 
Mnemonic: CLE <flags> 
 
 
where <flags>=ALL|ETO|EDV|EPO 
 
Binary representation: 
INSTRUCTION NO. 
TYPE 
MOT/BANK 
VALUE 
36 
0 – (ALL) all flags 
1 – (ETO) timeout flag 
2 – (EAL) alarm flag 
3 – (EDV) deviation flag 
4 – (EPO) position flag 
5 – (ESD) shutdown flag 
(don't care) 
(don't care) 
 
Example: Reset the timeout flag 
Mnemonic: CLE ETO 
 
Binary: 
Byte Index 
Function 
Target- 
address 
Instruction 
Number 
Type 
Motor/ 
Bank 
Operand 
Byte3 
Operand 
Byte2 
Operand 
Byte1 
Operand 
Byte0 
Checksum 
Value (hex) 
$01 
$24 
$01 
$00 
$00 
$00 
$00 
$00 
$26