User Manual

TMCM-3230 TMCL
Firmware Manual Firmware Version V1.07 | Document Revision V1.05 2017-OCT-10
44 / 103
3.6.17 JA (Jump always)
Jump to a xed 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 (dont care) 0 (dont care) <jump address>
Example
An innite 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
©2017 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com