![Trinamic TMCM-351 Firmware Manual Download Page 22](http://html1.mh-extra.com/html/trinamic/tmcm-351/tmcm-351_firmware-manual_1163054022.webp)
TMCM-351 TMCL Firmware V4.45 Manual (Rev. 1.06 / 2014-MAY-16)
22
www.trinamic.com
4.6
Commands
The module specific commands are explained in more detail on the following pages. They are listed
according to their command number.
4.6.1
ROR (rotate right)
The motor will be instructed to rotate with a specified velocity in
right
direction (increasing the position
counter).
Internal function:
first, velocity mode is selected. Then, the velocity value is transferred to axis parameter #0
(
target velocity
).
The module is based on the TMC429 stepper motor controller and the TMC249 power driver. This makes
possible choosing a velocity between 0 and 2047.
Related commands:
ROL, MST, SAP, GAP
Mnemonic:
ROR <motor>, <velocity>
Binary representation:
INSTRUCTION NO.
TYPE
MOT/BANK
VALUE
1
don't care
<motor>
0… 2
<velocity>
0… 2047
Reply in direct mode:
STATUS
VALUE
100 – OK
don't care
Example:
Rotate right motor 2, velocity = 350
Mnemonic:
ROR 2, 350
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
$01
$00
$02
$00
$00
$01
$5e