TMCM-142 TMCL
TM
Firmware Manual (V1.06 / 2014-JUN-24)
58
Copyright © 2009, TRINAMIC Motion Control GmbH & Co. KG
Number
Global parameter
Description
14
general purpose variable #14
for use in TMCL™ applications
15
general purpose variable #15
for use in TMCL™ applications
16
general purpose variable #16
for use in TMCL™ applications
17
general purpose variable #17
for use in TMCL™ applications
18
general purpose variable #18
for use in TMCL™ applications
19
general purpose variable #19
for use in TMCL™ applications
20..55
general
purpose
variables
#20..#55
for use in TMCL™ applications
Please refer to chapter 8 for more information about bank 0 to 2.
Example:
Store the serial address of the target device
Mnemonic:
STGP 42, 0
Binary:
Byte Index
0
1
2
3
4
5
6
7
8
Function
Target-
address
Instruction
Number
Type
Motor/
Bank
Operand
Byte3
Operand
Byte2
Operand
Byte1
Operand
Byte0
Checksum
Value (hex)
$01
$0b
$42
$00
$00
$00
$00
$00
$4e
Note: The STAP command will not have any effect when the configuration EEPROM is locked (refer to
8.1). In direct mode, the error code 5 (configuration EEPROM locked, see also section 6.2.1) will be
returned in this case. Please refer to chapter 7 for more information about bank 0 to 2.