User Manual

TMCM-3351 TMCL
Firmware Manual Firmware Version V1.11 | Document Revision V1.06 2019-APR-26
90 / 144
3.6.47 ROLXA (Rotate Left using the Accumulator Register and X Register)
Rotate in left direction (decreasing 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: RORXA, MSTX, SAP, GAP.
Mnemonic: ROLXA
Binary Representation
Instruction Type Motor/Bank Value
52 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: ROLXA.
Binary Form of ROLXA
Field Value
Target address 01
h
Instruction number 34
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 35
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