MPIControlConfig / MEIControlConfig

MPIControlConfig  

 

typedef struct MPIControlConfig {
    long	adcCount;
    long	axisCount;
    long	captureCount;
    long	compareCount;
    long	cmdDacCount;
    long	auxDacCount;
    long	filterCount;
    long	motionCount;
    long	motorCount;
    long	recordCount;
    long	sequenceCount;
    long	sercosCount;
    long	userVersion;
    long	sampleRate;

} MPIControlConfig;
Description
  adcCount represents the number of ADC(analog to digital converter) objects configured for the controller.
  axisCount represents the number of axis objects configured for the controller.
  captureCount represents the number of capture objects to be configured for the controller. A capture object manages a single capture in an XMP motion controller. A capture is a hardware latch of a motor position triggered by a motor input. The XMP controller supports ten (10) capture objects per motion block. The default configuration is two capture registers per motor, while the last two (8,9) on each motion block are reserved for the auxiliary encoder (not supported).
  compareCount represents the number of compare objects to be configured for the controller. The XMP controller supports ten (10) compare objects per motion block. The default configuration is two compare registers per motor, while the last two (8,9) on each motion block are reserved for the auxiliary encoder (not supported).
  cmdDacCount represents the number of DAC(digital to analog converter) objects to be configured for the controller. There is one DAC per motor and one auxiliary DAC per motor.
  auxDacCount represents the number of Auxiliary DAC objects to be configured for the controller. There is one DAC per motor and one auxiliary DAC per motor.
  filterCount represents the number of filter objects to be configured for the controller.
  motionCount represents the number of motion supervisor objects to be configured for the controller.
  motorCount represents the number of motor objects to be configured for the controller.
  recordCount represents the number of recorder objects to be configured for the controller. This element allows the application to change the size of the recorder object's data buffer using the mpiControlConfigGet/Set(...) methods. A larger data buffer size can improve the performance of Motion Scope running on a slow host or running in Client/Server mode over a congested network.
  sequenceCount represents the number of sequence objects to be configured for the controller.
  sercosCount represents the number of sercos objects to be configured for the controller.
  userVersion allows the user to mark a firmware image with a user-defineable version number.
  sampleRate represents the number of servo cycles the controller will be configured for. The default value is 2000Hz. This means that one servo cycle takes 0.5milliseconds.
   
Description

ControlConfig is the structure that contains the controller configuration information.

 

MEIControlConfig

 

typedef struct MEIControlConfig {
    long		preFilterCount;
    long		compensatorCount;
    MEIXmpPreFilter	PreFilter[MEIXmpMAX_PreFilters];
    MEIXmpCompensator	Compensator[MEIXmpMAX_Compensators];
    long		CompensationTable[MEIXmpCompTableSize];
    MEIXmpUserBuffer	UserBuffer;
} MEIControlConfig;
Description
  preFilterCount This value defines the number of enabled pre-filters.
  compensatorCount This value defines the number of enabled compensators.
  PreFilter This array defines the configuration for each pre-filter.
  Compensator This array defines the configuration for each compensator.
  CompensationTable This array defines the compensation values for the compensators.
  UserBuffer This structure defines the controller's user buffer. This is used for custom features that require a controller data buffer.
   
See Also mpiControlConfigGet | mpiControlConfigSet | meiControlExtMemAvail |
Special Note on Dynamic Allocation of External Memory Buffers.