User Manual

TMCM-3351 TMCL
Firmware Manual Firmware Version V1.11 | Document Revision V1.06 2019-APR-26
91 / 144
3.6.48 RORXA (Rotate Right using the Accumulator Register and X Register)
Rotate in right direction (increasing the position counter) using the velocity specied by the contents of the
accumulator register and the motor specied by the contents of the X register. The velocity is given in
microsteps per second (pulse per second [pps]).
Internal function:
First, velocity mode is selected.
Then, the content of the accumulator is copied to axis parameter #2 (target velocity).
Related commands: ROLXA, MSTX, SAP, GAP.
Mnemonic: RORXA
Binary Representation
Instruction Type Motor/Bank Value
53 0 (dont care) 0 (dont care) 0 (dont care)
Reply in Direct Mode
Status Value
100 - OK dont care
Example
Rotate left motor specied by X register, velocity specied by accumulator.
Mnemonic: RORXA.
Binary Form of RORXA
Field Value
Target address 01
h
Instruction number 35
h
Type 00
h
Motor/Bank 00
h
Value (Byte 3) 00
h
Value (Byte 2) 00
h
Value (Byte 1) 00
h
Value (Byte 0) 00
h
Checksum 36
h
©2019 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com