TMCM-1211 TMCL
™
Firmware Manual • Firmware Version V1.10 | Document Revision V1.00 • 2018-OCT-02
51 / 133
3.6.21
RSUB (Return from Subroutine)
Return from a subroutine to the command after the CSUB command.
This command is intended for use in
standalone mode only.
Internal function:
the TMCL program counter is set to the last value saved on the stack. The command
will be ignored if the stack is empty.
Related commands:
CSUB.
Mnemonic:
RSUB
Binary Representation
Instruction
Type
Motor/Bank
Value
24
0 (don’t care)
0 (don’t care)
0 (don’t care)
Example
Please see the CSUB example (section
Binary form:
Binary Form of RSUB
Field
Value
Target address
01
h
Instruction number
18
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
19
h
©2018 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at