.

Axis.DriveAction

DriveParamAction performs the drive action specified by the index argument.

SynqNet drives may have drive-specific actions that are used to provide drive-specific functionality to the user or allow the user to change the drive configuration.

NOTE: DriveAction does not validate whether the action is supported by the drive. It is up to the user to choose the correct drive action index. Please refer to your drive’s manual for information about what actions are supported by each drive. With SynqNet, drive actions are closely associated with drive parameters and therefore drive actions will likely be documented in the same section as drive parameters.

Version History

Introduced in MPX 2.0.

Result

Void

Arguments

 
Argument Type Description
index Int32 The index of the drive action to be performed.

Common Exceptions

Argument Description
AxisNotMappedToSqNode The axis object is not mapped to a SynqNet node.

 

 

Visual Basic

Syntax

Sub DriveAction(index As Int32)

Sample Code

 
controller.Axis(0).DriveAction(13) 


Sample Application

 

C#

Syntax

void DriveAction(int index);

Sample Code

 
controller.Axis[0].DriveAction(13);

Sample Application

See Also

MPX Drive Parameters Overview

 

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