.

meiSqNodeDriveConfigGet

Declaration

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

Description

meiSqNodeDriveConfigGet reads a SynqNet node's drive configuration and writes it into a drive specific structure pointed to by config. SynqNet nodes may support one or more drive interfaces. The drive configuration can be read 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's header file in the (C:\MEI)\XMP\sqNodeLib\include directory, as well as, 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 | meiSqNodeConfigGet

 

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