.

meiSqNodeDriveConfigSet

Declaration

 
long meiSqNodeDriveConfigSet(MEISqNode  node,
                             long       driveIndex, /* relative to the node */
                             void       *config);   /* node specific        */
  Required Header: stdmei.h

Description

meiSqNodeDriveConfigSet writes a SynqNet node's drive configuration from a drive specific structure pointed to by config. SynqNet nodes may support one or more drive interfaces. The drive configuration can be written if the drive interface hardware supports a communication channel to the drive processor. The drive interface(s) for a SynqNet node are indexed by a number (0, 1, 2, etc.).

The drive configuration structure is drive specific. The SqNodeLib includes the drive specific structures and methods. Please see the drive manufacturer's documentation for details. Use meiSqNodeInfo(...), to determine if the SynqNet node supports a drive interface and its type.

 
node a handle to a SynqNet node object
driveIndex an index to a drive interface on a SynqNet node. The first drive interface is 0, the second is 1, etc.
*config a pointer to a drive specific configuration structure.
   
 
Return Values
MPIMessageOK  

See Also

meiSqNodeInfo | meiSqNodeDriveInfo | meiSqNodeConfigSet

 

       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2010 Motion Engineering