![PMD Atlas Compact Скачать руководство пользователя страница 97](http://html1.mh-extra.com/html/pmd/atlas-compact/atlas-compact_complete-technical-reference_1569420097.webp)
Atlas® Digital Amplifier Complete Technical Reference
97
6
GetActiveOperatingMode
57
h
Syntax
GetActiveOperatingMode
Motor Types
Arguments
None
Returned Data
Type
mode
unsigned 16 bits
bit field
Packet
Structure
Description
GetActiveOperatingMode
gets the actual operating mode that the Atlas
is currently using. This may or
may not be the same as the static operating mode, as safety responses or programmable conditions may
change the
Active Operating Mode
. When this occurs, the
Active Operating Mode
can be changed to
the programmed static operating mode using the
RestoreOperatingMode
command. The bit
definitions of the operating mode are given below.
When the current loop is disabled, it operates by passing its input directly to its output, and clearing all
internal state variables (such as integrator sums, etc.).
Restrictions
see
GetOperatingMode
,
RestoreOperatingMode
,
Set/GetEventAction
DC Brush
Brushless DC
Microstepping
GetActiveOperatingMode
checksum
57
h
15
8 7
0
First data word
read
mode
15
0
Name
Bit
Description
—
0
Reserved.
Motor Output Enabled
1
0: motor outputs disabled. 1: motor outputs enabled.
Current Control Enabled 2
0: current control bypassed. 1: current control active.
—
3–15
Reserved