TMCM-3314 TMCL
™
Firmware Manual • Firmware Version V1.11 | Document Revision V1.10 • 2019-JAN-25
46 / 144
3.6.17
JA ( Jump always)
Jump to a fixed address in the TMCL program memory.
This command is intended for standalone operation
only.
Internal function:
The TMCL program counter is set to the value passed to this command.
Related commands:
JC, WAIT, CSUB.
Mnemonic:
JA <label>
Binary Representation
Instruction
Type
Motor/Bank
Value
22
0 (don’t care)
0 (don’t care)
<jump address>
Example
An infinite loop in TMCL:
1
Loop :
MVP ABS , 0, 51200
3
WAIT POS , 0, 0
MVP ABS , 0, 0
5
WAIT POS , 0, 0
JA Loop
Binary form of the JA Loop command when the label Loop is at address 10:
Binary Form of JA Loop (assum-
ing Loop at address 10)
Field
Value
Target address
01
h
Instruction number
16
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)
0A
h
Checksum
21
h
©2019 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at