User manual

PDx-113-57/60-SE / TMCM-113-57/60-SE Firmware Manual (V1.10 / 2009-OCT-28) 47
Copyright © 2009, TRINAMIC Motion Control GmbH & Co. KG
Number
Global parameter
Description
17
General purpose variable #17
for use in TMCL
TM
applications
18
General purpose variable #18
for use in TMCL
TM
applications
19
General purpose variable #19
for use in TMCL
TM
applications
20..55
General purpose variables
#20..#55
for use in TMCL
TM
applications
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.