PD57/60-1060 / TMCM-1060 TMCL™ Firmware Manual (V1.04 / 2011-AUG-29)
103
Copyright © 2011, TRINAMIC Motion Control GmbH & Co. KG
Number Global parameter Description
Range
Access
variable #10
11
general purpose
variable #11
use in TMCL™ applications
−2.147.483.648… +2.147.483.647 RWE
12
general purpose
variable #12
use in TMCL™ applications
−2.147.483.648… +2.147.483.647 RWE
13
general purpose
variable #13
use in TMCL™ applications
−2.147.483.648… +2.147.483.647 RWE
14
general purpose
variable #14
use in TMCL™ applications
−2.147.483.648… +2.147.483.647 RWE
15
general purpose
variable #15
use in TMCL™ applications
−2.147.483.648… +2.147.483.647 RWE
16
general purpose
variable #16
use in TMCL™ applications
−2.147.483.648… +2.147.483.647 RWE
17
general purpose
variable #17
use in TMCL™ applications
−2.147.483.648… +2.147.483.647 RWE
18
general purpose
variable #18
use in TMCL™ applications
−2.147.483.648… +2.147.483.647 RWE
19
general purpose
variable #19
use in TMCL™ applications
−2.147.483.648… +2.147.483.647 RWE
20… 55
general purpose
variables #20… #55
use in TMCL™ applications
−2.147.483.648… +2.147.483.647 RWE
56… 255 general purpose
variables #56…
#255
use in TMCL™ applications
−2.147.483.648… +2.147.483.647 RW
7.4
Bank 3
Bank 3 contains interrupt parameters. Some interrupts need configuration (e.g. the timer interval of a timer
interrupt). This can be done using the SGP commands with parameter bank 3 (SGP <type>, 3, <value>).
The
priority of an interrupt depends on its number. Interrupts with a lower number have a higher priority.
The following table shows all interrupt parameters that can be set.
Meaning of the letters in column
Access
:
R = readable (GGP)
W = writeable (SGP)
E = automatically restored from EEPROM after reset or power-on.
Number
Global parameter
Description
Range
Access
0
Timer 0 period (ms)
Time between two interrupts (ms)
0… 4.294.967.295
[ms]
RW
1
Timer 1 period (ms)
Time between two interrupts (ms)
0… 4.294.967.295
[ms]
RW
2
Timer 2 period (ms)
Time between two interrupts (ms)
0… 4.294.967.295
[ms]
RW
39
Input 0 edge type
0=off, 1=low-high, 2=high-low, 3=both
0… 3
RW
40
Input 1 edge type
0=off, 1=low-high, 2=high-low, 3=both
0… 3
RW