In previous versions, the XMP external memory was statically allocated
at firmware compile time.
In version 20010119 and later, specific buffers of the XMP external
memory are dynamically allocated. The dynamic allocation feature
allows an application to efficiently use the XMP controller's on-board
memory and allows for future expansion. The dynamically allocated
buffers currently include the Frame Buffer, Record Buffer, and SERCOS
buffer. Each of these buffers sizes are recalculated during a call
to mpiControlConfigSet(...) if there
is a change in any of the associated ControlConfig values.
The Frame Buffer is used for motion on each axis. The Frame
Buffer is directly associated with the number of EnabledAxes in
the MPIControlConfig structure. The
Frame Buffer will be allocated to the minimum size required to support
the number of enabled axes. The default number of EnabledAxes is
eight (8).
The Record Buffer is used for the on-board data recorder.
The Record Buffer is directly associated with the number of EnabledRecord
in the MPIControlConfig structure.
The Record Buffer will be allocated to the minimum size required
to support the number of enabled records. The default number of
EnabledRecords is 3064. Each record is the size of one memory word.
The Sercos Buffer is used for motion on each SERCOS ring
network. The Sercos Buffer is directly associated with the number
of EnabledSercos in the MPIControlConfig structure. The Sercos Buffer
will be allocated to the minimum size required to support the number
of enabled Sercos rings. The default number of EnabledSercosRings,
for a non-sercos controller is zero (0).
The meiControlExtMemAvail(...)
method has been added to discover how much memory is available on
your controller.
|