![PMD Atlas Compact Скачать руководство пользователя страница 77](http://html1.mh-extra.com/html/pmd/atlas-compact/atlas-compact_complete-technical-reference_1569420077.webp)
Operation
Atlas® Digital Amplifier Complete Technical Reference
77
4
4.13.3 Pre-Defined Segment Types
There are two pre-defined Atlas PSF storage segment types. The
Initialization Commands
storage type defines the
segment that holds configuration information used during power-up while the
Parameter List
segment holds
information that is useful to label the contents of the
Initialization Commands
segment.
During power up Atlas scans the NVRAM space for a properly formatted segment with type ‘
Initialization Commands
,’
and if found it initializes the Atlas using the information provided. The
Initialization Commands
segment type is defined
Section 4.13.4, “Initialization Commands Segment Type”
.
A segment of type
Parameter List
, when preceding another segment and when containing certain specific values in the
data, stores identification information associated with that segment. For example a human-readable name for the
segment can be assigned along with information such as when the segment data was stored. This segment-identifying
data is not utilized directly by Atlas but rather by software programs such as Pro-Motion. The
Parameter List
segment
type is discussed in detail in
Section 4.13.5, “Parameter List Segment Type”
4.13.4 Initialization Commands Segment Type
Figure 4-17:
Initialization
Commands
Segment
Format
The
Initialization Commands
segment type selects a segment format that holds the PMD commands that are processed
during powerup. The segment type value for the
Initialization Commands
segment type is 0x92. The overall format of
this segment type is shown in
.
Atlas commands stored into the segment data portion of the
Initialization Commands
segment is formatted exactly as if
it were being sent by the external controller using the SPI protocol during normal SPI operations. See
for more information on the exact format of Atlas commands sent over the SPI protocol.
The table below shows a portion of an example initialization command sequence. These example commands enable
automatic event recovery mode, delay for 256 cycles so that other system components may initialize themselves, and
enable motor output and current control.
Segment
Data
Address
Mnemonic
Stored Code
(in hex)
Comments
Data1
SetDriveFaultParameter 2 1
0xEF62
Opcode (0x62) and checksum
Data2
0x0002
Argument 1: event handling mode
Data3
0x0001
Argument 2: automatic event recovery
Data4
InitializationDelay 0 256
0x1F35
Opcode (0x35) and checksum
Data5
0x0000
Argument 1: time delay
Data6
0x0000
Argument 2: delay, high word
Data7
0x0100
Argument 2: low word
Data8
SetOperatingMode 0x7
0xE865
Opcode (0x65) and checksum
Data9
0x0007
Argument 1: Enable output, current loop
Segment Header
Command1
Command2
Command3
Command4...
Segment Data
Segment Header For
Initialization Commands Segment Type (0x92)