Trinamic 11-0011 TMCM-171 BLDC Output For 3-phase BLDC Motors 11-0011 Ficha De Dados
Códigos do produto
11-0011
TMCL Reference Manual
21
Trinamic Motion Control GmbH & Co KG
Sternstraße 67
D – 20357 Hamburg, Germany
http://www.trinamic.com
3.9 SGP – Set Global Parameter
Description: Global parameters are related to the host interface, peripherals or application specific variables. The
different groups of these parameters are organised in "banks" to allow a larger total number for future products.
Currently, only bank 0 and 1 are used for global parameters, and bank 2 is used for user variables. See chapter 0
for a complete parameter list.
Internal function: the parameter format is converted ignoring leading zeros (or ones for negative values). The
parameter is transferred to the correct position in the appropriate (on board) device.
Related commands: GGP, STGP, RSGP, AGP
Mnemonic: SGP <parameter number>, <bank number>, <value>
Binary representation:
different groups of these parameters are organised in "banks" to allow a larger total number for future products.
Currently, only bank 0 and 1 are used for global parameters, and bank 2 is used for user variables. See chapter 0
for a complete parameter list.
Internal function: the parameter format is converted ignoring leading zeros (or ones for negative values). The
parameter is transferred to the correct position in the appropriate (on board) device.
Related commands: GGP, STGP, RSGP, AGP
Mnemonic: SGP <parameter number>, <bank number>, <value>
Binary representation:
INSTRUCTION NO.
TYPE
MOT/BANK
VALUE
9
<parameter
number>
number>
<bank number>
<value>
Reply in direct mode:
STATUS
VALUE
100 – OK
(don't care)
Example: set the serial address of the target device to 3
Mnemonic: SGP 66, 0, 3
Binary:
Byte Index
0
1
2
3
4
5
6
7
8
Function
Target-
address
address
Instruction
Number
Number
Type
Motor/
Bank
Bank
Operand
Byte3
Byte3
Operand
Byte2
Byte2
Operand
Byte1
Byte1
Operand
Byte0
Byte0
Checksum
Value (hex)
$01
$09
$42
$00
$00
$00
$00
$03
$4f