PD57/60-1378 TMCL™Firmware Manual •Firmware Version V1.38 | Document Revision V1.02 •2020-APR-24 3 / 130
3.6.26 AAP (Accu to Axis Parameter) .................................. 56
3.6.27 AGP (Accu to Global Parameter) ................................ 57
3.6.28 CLE (Clear Error Flags) ...................................... 58
3.6.29 EI(Enable Interrupt) ....................................... 60
3.6.30 DI(Disable Interrupt) ...................................... 61
3.6.31 VECT (Define Interrupt Vector) ................................. 62
3.6.32 RETI(Return from Interrupt) .................................. 64
3.6.33 CALCVV (Calculate using two User Variables) ......................... 65
3.6.34 CALCVA (Calculate using a User Variable and the Accumulator Register) ........ 67
3.6.35 CALCAV (Calculate using the Accumulator Register and a User Variable) ........ 69
3.6.36 CALCVX (Calculate using a User Variable and the X Register) ............... 71
3.6.37 CALCXV (Calculate using the X Register and a User Variable) ............... 73
3.6.38 CALCV (Calculate using a User Variable and a Direct Value) ................ 75
3.6.39 RST (Restart) ............................................ 77
3.6.40 DJNZ (Decrement and Jump if not Zero) ............................ 78
3.6.41 CALL (Conditional Subroutine Call) ............................... 79
3.6.42 MVPA (Move to Position specified by Accumulator Register) ................ 81
3.6.43 ROLA (Rotate Left using the Accumulator Register) ..................... 83
3.6.44 RORA (Rotate Right using the Accumulator Register) .................... 84
3.6.45 SIV (Set Indexed Variable) .................................... 85
3.6.46 GIV (Get Indexed Variable) ................................... 86
3.6.47 AIV (Accumulator to Indexed Variable) ............................ 87
3.6.48 Customer specific Command Extensions (UF0. . . UF7 –User Functions) ......... 88
3.6.49 Request Target Position reached Event ............................ 89
3.6.50 TMCL Control Commands .................................... 91
4 Axis Parameters 93
5 Global Parameters 103
5.1 Bank 0 ...................................................103
5.2 Bank 1 ...................................................105
5.3 Bank 2 ...................................................105
5.4 Bank 3 ...................................................106
6 Hints and Tips 107
6.1 Reference Search .............................................107
6.1.1 Mode 1 ...............................................108
6.1.2 Mode 2 ...............................................108
6.1.3 Mode 3 ...............................................108
6.1.4 Mode 4 ...............................................109
6.1.5 Mode 5 ...............................................109
6.1.6 Mode 6 ...............................................110
6.1.7 Mode 7 ...............................................110
6.1.8 Mode 8 ...............................................111
6.1.9 Mode 9 ...............................................111
6.1.10 Mode 10 ..............................................111
6.2 Using the Encoder ............................................113
6.3 Closed-Loop Operation .........................................113
6.3.1 Closed-Loop Parameters ....................................114
6.3.2 Load Angle Control ........................................114
6.3.3 Current Level Control ......................................115
6.3.4 Field Weakening .........................................116
6.3.5 Position Catch up .........................................117
6.4 StallGuard2 ................................................117
©2020 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com