TMCM-1141 TMCL™Firmware Manual •Firmware Version V1.47 | Document Revision V1.13 •2021-NOV-02 3 / 135
3.7.22 WAIT (Wait for an Event to occur) .............................. 53
3.7.23 STOP (Stop TMCL Program Execution – End of TMCL Program) ............. 55
3.7.24 SCO (Set Coordinate) ...................................... 56
3.7.25 GCO (Get Coordinate) ..................................... 57
3.7.26 CCO (Capture Coordinate) ................................... 59
3.7.27 ACO (Accu to Coordinate) ................................... 60
3.7.28 CALCX (Calculate using the X Register) ........................... 61
3.7.29 AAP (Accu to Axis Parameter) ................................. 63
3.7.30 AGP (Accu to Global Parameter) ............................... 64
3.7.31 CLE (Clear Error Flags) ..................................... 65
3.7.32 EI (Enable Interrupt) ...................................... 67
3.7.33 DI (Disable Interrupt) ...................................... 68
3.7.34 VECT (Define Interrupt Vector) ................................ 69
3.7.35 RETI (Return from Interrupt) ................................. 71
3.7.36 CALCVV (Calculate using two User Variables) ........................ 72
3.7.37 CALCVA (Calculate using a User Variable and the Accumulator Register) ....... 74
3.7.38 CALCAV (Calculate using the Accumulator Register and a User Variable) ....... 76
3.7.39 CALCVX (Calculate using a User Variable and the X Register) .............. 78
3.7.40 CALCXV (Calculate using the X Register and a User Variable) .............. 80
3.7.41 CALCV (Calculate using a User Variable and a Direct Value) ............... 82
3.7.42 RST (Restart) ........................................... 84
3.7.43 DJNZ (Decrement and Jump if not Zero) ........................... 85
3.7.44 CALL (Conditional Subroutine Call) .............................. 86
3.7.45 MVPA (Move to Position specified by Accumulator Register) ............... 88
3.7.46 ROLA (Rotate Left using the Accumulator Register) .................... 90
3.7.47 RORA (Rotate Right using the Accumulator Register) ................... 91
3.7.48 SIV (Set Indexed Variable) ................................... 92
3.7.49 GIV (Get Indexed Variable) .................................. 93
3.7.50 AIV (Accumulator to Indexed Variable) ........................... 94
3.7.51 Customer specific Command Extensions (UF0. . . UF7 – User Functions) ........ 95
3.7.52 Request Target Position reached Event ........................... 96
3.7.53 TMCL Control Commands ................................... 98
4 Axis Parameters 100
5 Global Parameters 109
5.1 Bank 0 ...................................................109
5.2 Bank 1 ...................................................112
5.3 Bank 2 ...................................................112
5.4 Bank 3 ...................................................112
6 Module Specific Hints 114
6.1 Velocity and Acceleration Calculation .................................114
6.1.1 Velocity Conversion ......................................114
6.1.2 Acceleration Conversion ....................................114
6.1.3 How to choose Pulse Divisor and Ramp Divisor ......................115
6.1.4 Conversion between PPS, RPM and RPS ..........................115
7 Hints and Tips 116
7.1 Reference Search .............................................116
7.1.1 Mode 1 ..............................................117
7.1.2 Mode 2 ..............................................117
7.1.3 Mode 3 ..............................................117
7.1.4 Mode 4 ..............................................118
7.1.5 Mode 5 ..............................................118
©2022 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com