Trinamic 11-0011 TMCM-171 BLDC Output For 3-phase BLDC Motors 11-0011 数据表

产品代码
11-0011
下载
页码 134
 
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: 
INSTRUCTION NO. 
TYPE 
MOT/BANK 
VALUE 
<parameter 
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 
Function 
Target- 
address 
Instruction 
Number 
Type 
Motor/ 
Bank 
Operand 
Byte3 
Operand 
Byte2 
Operand 
Byte1 
Operand 
Byte0 
Checksum 
Value (hex) 
$01 
$09 
$42 
$00 
$00 
$00 
$00 
$03 
$4f