Trinamic 11-0011 TMCM-171 BLDC Output For 3-phase BLDC Motors 11-0011 Hoja De Datos
![Trinamic](https://files.manualsbrain.com/attachments/3d3e5f379da870cbb393c25d96c9955d06328ccf/common/fit/150/50/45757a4b90d20190f61ff6ec66d18877f53ee7ac89b97ab92fb146d85e0a/brand_logo.gif)
Los códigos de productos
11-0011
TMCL Reference Manual
62
Trinamic Motion Control GmbH & Co KG
Sternstraße 67
D – 20357 Hamburg, Germany
http://www.trinamic.com
5.2 Bank 1
The global parameter bank 1 contains a set of variables that are mainly intended for use in customer specific
extensions to the firmware. So, together with the user definable commands (see section 3.32) these variables form
the interface between extensions to the firmware (written in C) and a TMCL application. Although they could also
be used as general purpose variables in TMCL programs, it is much better to use the variables in bank 2 (see
section 5.3) for this purpose.
These parameters are not available on the TMCM-34x modules.
extensions to the firmware. So, together with the user definable commands (see section 3.32) these variables form
the interface between extensions to the firmware (written in C) and a TMCL application. Although they could also
be used as general purpose variables in TMCL programs, it is much better to use the variables in bank 2 (see
section 5.3) for this purpose.
These parameters are not available on the TMCM-34x modules.
Number Global parameter
Description
Range
Access
0
C application state
The main state machine variable of
the example user C code.
the example user C code.
0…255
RW
1
(not used)
0…255
RW
2
C application state timer
A universal timer, supposed for state
timing purposes.
timing purposes.
0…255
RW
3
C application general purpose variable
"unsigned char #0"
"unsigned char #0"
0…255
RWE
4
C application general purpose variable
"unsigned char #1"
"unsigned char #1"
0…255
RWE
5
C application general purpose variable
"unsigned char #2"
"unsigned char #2"
0…255
RWE
6
C application general purpose variable
"unsigned int #0"
"unsigned int #0"
0…2
16
RWE
7
C application general purpose variable
"unsigned int #1"
"unsigned int #1"
0…2
16
RWE
8
C application general purpose variable
"unsigned int #2"
"unsigned int #2"
0…2
16
RWE
9
C application general purpose variable
"signed long #0"
"signed long #0"
-2
31
…+2
31
RWE
10
C application general purpose variable
"signed long #1"
"signed long #1"
-2
31
…+2
31
RWE
11
C application general purpose variable
"signed long #2"
"signed long #2"
-2
31
…+2
31
RWE