PD42-1270 TMCL
™
Firmware Manual • Firmware Version V1.00 | Document Revision V1.0 • 2017-Mar-02
7 / 91
Number
Axis Parameter
Description
Range [Units]
Default
Access
5
Maximum
acceleration
Maximum acceleration in positioning
ramps. Acceleration and deceleration
value in velocity mode.
0
. . .
7629278
[pps/s]
1000
RWE
6
Maximum
current
Motor current used when motor is
running. The maximum value is 31
which means 100% of the maximum
current of the module.
0
. . .
31
24
RWE
7
Standby
current
The current used when the motor is
not running. The maximum value is
31 which means 100% of the maxi-
mum current of the module.
This
value should be as low as possible so
that the motor can cool down when it
is not moving.
0
. . .
31
3
RWE
140
Microstep
Resolution
Microstep resolutions per full step:
0 - fullstep
1 - halfstep
2 - 4 microsteps
3 - 8 microsteps
4 - 16 microsteps
5 - 32 microsteps
6 - 64 microsteps
7 - 128 microsteps
8 - 256 microsteps
0
. . .
8
4
RWE
141
Microstep
Interpolation
Interpolation of the current microstep
resolution to 256 microsteps:
0 - No interpolation
1 - Interpolation to 256 microsteps
0
. . .
1
1
RWE
179
VSense
Sense resistor voltage:
0 - High sense resistor voltage
1 - Low sense resistor voltage
0
. . .
1
0
RWE
Table 1: Most important Axis Parameters
2.4
Testing with a simple TMCL Program
Now, test the TMCL stand alone mode with a simple TMCL program. To type in, assemble and download
the program, you will need the TMCL creator. This is also a tool that can be found in the tool tree of
the TMCL-IDE. Click the TMCL creator entry to open the TMCL creator. In the TMCL creator, type in the
following little TMCL program:
1
ROL 0, 51200
// Rotate motor 0 with speed 10000
WAIT TICKS , 0, 500
3
MST 0
ROR 0, 51200
// Rotate motor 0 with 50000
5
WAIT TICKS , 0, 500
MST 0
7
SAP 4, 0, 51200
// Set max . Velocity
9
SAP 5, 0, 51200
// Set max . Acceleration
©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
Read entire documentation.