![Trinamic TMCM-351 Скачать руководство пользователя страница 65](http://html1.mh-extra.com/html/trinamic/tmcm-351/tmcm-351_firmware-manual_1163054065.webp)
TMCM-351 TMCL Firmware V4.45 Manual (Rev. 1.06 / 2014-MAY-16)
65
www.trinamic.com
4.6.38
Request Target Position Reached Event
This command is the only exception to the TMCL protocol, as it sends two replies: One immediately after the
command has been executed (like all other commands also), and one additional reply that will be sent
when the motor has reached its target position.
This instruction can only be used in direct mode (in standalone mode, it is covered by the WAIT command)
and hence does not have a mnemonic.
Internal function:
Send an additional reply when the motor has reached its target position
Mnemonic: ---
Binary representation:
INSTRUCTION NO.
TYPE
MOT/BANK
VALUE
138
don’t care
don’t care
<motor bit mask>
The
value
field contains a bit mask where every bit stands for one motor:
bit 0 = motor 0
bit 1 = motor 1
bit 2 = motor 2
Reply in direct mode (right after execution of this command):
Byte Index
0
1
2
3
4
5
6
7
Function
Target-
address
Target-
address
Status
Instruction
Operand
Byte3
Operand
Byte2
Operand
Byte1
Operand
Byte0
Value (hex)
$02
$01
100
138
$00
$00
$00
Motor bit
mask
Additional reply in direct mode (after motors have reached their target positions):
Byte Index
0
1
2
3
4
5
6
7
Function
Target-
address
Target-
address
Status
Instruction
Operand
Byte3
Operand
Byte2
Operand
Byte1
Operand
Byte0
Value (hex)
$02
$01
128
138
$00
$00
$00
Motor bit
mask
4.6.39
BIN (return to binary mode)
This command can only be used in ASCII mode. It quits the ASCII mode and returns to binary mode.
Related Commands:
none
Mnemonic:
BIN
Binary representation:
This command does not have a binary representation as it can only be used in ASCII
mode.