![PMD Atlas Compact Скачать руководство пользователя страница 135](http://html1.mh-extra.com/html/pmd/atlas-compact/atlas-compact_complete-technical-reference_1569420135.webp)
Atlas® Digital Amplifier Complete Technical Reference
135
6
SetDriveCommandMode
7Eh
GetDriveCommandMode
7Fh
Syntax
SetDriveCommandMode
mode
GetDriveCommandMode
Arguments
Name
Instance
Encoding
format
BLDC
0
Step
4
DC
7
transport
SPI
0
Pulse and Direction
1
Packet
Structure
Description
SetDriveCommandMode
may be used to change the means of commanding Atlas motor torque. The
transport field specifies the physical interface used for torque commands, either the default Serial
Peripheral Interface, or Pulse and Direction. See
Section 4.9.1, “Pulse & Direction Signal Input Mode”
more information on pulse and direction mode.
The format field specifies the layout of the torque command; in the Atlas only one format is supported
for each motor type. See
Section 5.3, “Sending a Voltage or Torque Output Value”
for details.
The format for pulse and direction input must be Step.
SetDriveCommand mode
write
checksum
7E
h
15
8 7
0
write
transport
format
15
0
GetDriveCommand mode
write
checksum
7F
h
15
8 7
0
write
transport
format
15
0