![Trinamic TMCM-351 Скачать руководство пользователя страница 57](http://html1.mh-extra.com/html/trinamic/tmcm-351/tmcm-351_firmware-manual_1163054057.webp)
TMCM-351 TMCL Firmware V4.45 Manual (Rev. 1.06 / 2014-MAY-16)
57
www.trinamic.com
4.6.32
CLE (clear error flags)
This command clears the internal error flags.
The CLE command is intended for use in standalone mode only and must not be used in direct mode.
T
HE 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
-
EPO: clear the position error flag
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
0
1
2
3
4
5
6
7
Function
Target-
address
Instruction
Number
Type
Motor/
Bank
Operand
Byte3
Operand
Byte2
Operand
Byte1
Operand
Byte0
Value (hex)
$01
$24
$01
$00
$00
$00
$00
$00