TMCM-1310 TMCL Firmware V1.11 Manual (Rev. 1.16 / 2014-MAR-19)
26
www.trinamic.com
Example:
Move motor 0 to (absolute) position 90000
Mnemonic:
MVP ABS, 0, 9000
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
$04
$00
$00
$00
$01
$5f
$90
Example:
Move motor 0 from current position 1000 steps backward (move relative –1000)
Mnemonic:
MVP REL, 0, -1000
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
$04
$01
$00
$ff
$ff
$fc
$18
Example:
Move motor 0 to previously stored coordinate #8
Mnemonic:
MVP COORD, 0, 8
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
$04
$02
$00
$00
$00
$00
$08