Sercos Objects

Introduction  
 

A Sercos object manages an individual SERCOS master.

The SERCOS (Serial Real-Time Communication System) protocol was designed specifically for the motion control industry. The protocol uses a ring topology which allows communication to occur at specific assigned times within a predetermined cycle. Thus, SERCOS is deterministic allowing the Master (control unit) to synchronize command and feedback values to and from all of the Slaves (drives).

The MPI supports the use of SERCOS fiberoptic technology. The XMP-SERCOS-CPCI supports up to 3 SERCOS rings with support for up to 24 drives, in a 2-slot configuration in a CompactPCI form-factor. The MPI includes 4 SERCOS object types: SERCOS, NODE, IDN, and IDNLIST. Utility programs for initializing a ring and reading or writing IDNs are also provided with the software distribution.

Only a limited number of SERCOS drive manufacturers are supported in the MPI. For a list of supported drives, click here. Contact MEI for more information about supported SERCOS drives.

Methods
Create, Delete, Validate Methods
  mpiSercosCreate Create Sercos object
  mpiSercosDelete Delete Sercos object
  mpiSercosValidate Validate Sercos object
     
Configuration and Information Methods
  mpiSercosConfigGet Get Sercos object's configuration
  mpiSercosConfigSet Set Sercos object's configuration
  mpiSercosError Set contents of error with platform-specific info (about the error)
  mpiSercosFlashConfigGet Get flash config of Sercos
  mpiSercosFlashConfigSet Set flash config of Sercos
  meiSercosServiceIdnFieldGet  
  meiSercosServiceIdnFieldSet  
  meiSercosServiceProcedure  
  mpiSercosStatus / meiSercosStatus Get the status of a Sercos object
     
Action Methods
  mpiSercosInit Initialize a Sercos object to a specified SERCOS phase
  mpiSercosReset Reset a Sercos object to SERCOS Phase 0
     
Memory Methods
  mpiSercosMemory Set Sercos memory address
  mpiSercosMemoryGet Copy bytes of Sercos memory to application memory
  mpiSercosMemorySet Copy bytes of application memory to Sercos memory
     
Relational Methods
  mpiSercosControl Get handle to Control object that a Sercos object is associated with
  mpiSercosNumber Get the index of a Sercos object from the Control object that the Sercos object is associated with
  List Methods for Sercos Nodes
  mpiSercosNode Get handle to the indexth Node in a Sercos object's list
  mpiSercosNodeAppend Append a Node object to a Sercos object's list
  mpiSercosNodeCount Get the number of Node objects in a Sercos object's list
  mpiSercosNodeFirst Get handle to the first Node in a Sercos object's list
  mpiSercosNodeIndex Get the index of a Node object in a Sercos object's list
  mpiSercosNodeInsert Insert a Node into a Sercos object's list
  mpiSercosNodeLast Get handle to the last Node in a Sercos object's list
  mpiSercosNodeListGet Get the list of Nodes associated with a Sercos object
  mpiSercosNodeListSet Create a list of Nodes associated with a Sercos object
  mpiSercosNodeNext Get handle to the next Node in a Sercos object's list
  mpiSercosNodePrevious Get handle to the previous Node in a Sercos object's list
  mpiSercosNodeRemove Remove a Node from a Sercos object's list
     
Data Types
  MPISercosBaud  
  MPISercosError  
  MPISercosErrorGroup  
  MPISercosErrorType  
  MPISercosLoopStatus  
  MPISercosMessage / MEISercosMessage  
  MPISercosProcedureAction  
  MEISercosServiceContainer  
  MPISercosStatus  
     
Constants
  MPISercosNODE_COUNT_MAX  
     
Macros
  mpiSercosNodeIdnDataSET  
  mpiSercosNodeIdnGET