Trinamic 11-0011 TMCM-171 BLDC Output For 3-phase BLDC Motors 11-0011 Fiche De Données
Codes de produits
11-0011
TMCL Reference Manual
40
Trinamic Motion Control GmbH & Co KG
Sternstraße 67
D – 20357 Hamburg, Germany
http://www.trinamic.com
3.25 SCO – Set Coordinate
Description: Up to 20 position values (coordinates) can be stored for every axis for use with the MVP COORD
command (s. section 3.4). This command sets a coordinate to a specified value.
Note: the coordinate number 0 is only stored in RAM, all others are also stored in the EEPROM.
Internal function: The passed value is stored in the internal position array.
Related commands: GCO, CCO, MVP
Mnemonic: SCO <coordinate number>, <motor number>, <position>
Binary representation:
command (s. section 3.4). This command sets a coordinate to a specified value.
Note: the coordinate number 0 is only stored in RAM, all others are also stored in the EEPROM.
Internal function: The passed value is stored in the internal position array.
Related commands: GCO, CCO, MVP
Mnemonic: SCO <coordinate number>, <motor number>, <position>
Binary representation:
INSTRUCTION NO.
TYPE
MOT/BANK
VALUE
30
<coordinate number>
(0…20)
(0…20)
<motor number>
<position>
(-2
(-2
23
…+2
23
)
Reply in direct mode:
STATUS
VALUE
100 – OK
(don't care)
Parameter ranges:
Module
Motor number
TMCM-300/301/302/303/310
0..2
TMCM-1xx
always 0
TMCM-610/611/612
0..5
Example: set coordinate #1 of motor #2 to 1000
Mnemonic: SCO 1, 2, 1000
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
$1e
$01
$02
$00
$00
$03
$e8
$0d