![PMD Atlas Compact Complete Technical Reference Download Page 139](http://html1.mh-extra.com/html/pmd/atlas-compact/atlas-compact_complete-technical-reference_1569420139.webp)
Atlas® Digital Amplifier Complete Technical Reference
139
6
SetEventAction
48
h
GetEventAction
49
h
Syntax
SetEventAction
event action
GetEventAction
event
Motor Types
Arguments
Name
Instance
Encoding
event
Immediate
0
—
(Reserved)
1-3
Current Foldback
4
action
None
0
—
(Reserved)
1-6
Disable Motor Output & Higher Modules
7
Packet
Structure
Description
SetEventAction
configures what actions will be taken by Atlas in response to a given
event
. The
action
can be either to modify the operating mode by disabling wafer output, or to take no action.
When, through
SetEventAction
, one of the
events
causes an
action
, the event bit in the Event Status
register must be cleared prior to returning to operation. For changes in operating mode, this means that
the bit must be cleared prior to restoring the operating mode, either by
RestoreOperatingMode
or
SetOperatingMode
.
GetEventAction
gets the action that is currently programmed for the given event with the exception of
the
Immediate
event, which cannot be read back.
Restrictions
see
GetActiveOperatingMode
,
RestoreOperatingMode
Set/GetOperatingMode
DC Brush
Brushless DC
Microstepping
SetEventAction
checksum
48
h
15
8 7
0
First data word
write
event
15
0
Second data word
write
action
15
0
GetEventAction
checksum
49
h
15
8 7
0
First data word
write
event
15
0
Second data word
read
action
15
0