.

Axis.State

Property indicates the current state of the axis.

Version History

Introduced in MPX 2.0.

Type

Mpx.State (read only)

Common Exceptions

 
Error Occurs when...
ObjectNotEnabled The Axis object is currently not enabled.

Visual Basic

Syntax

Property State() As Mpx.State

Sample Code

 
If controller.Axis(0).State = mpx.State.Error Then
Console.WriteLine("Error on Axis 0")
End If


Sample Application

 

C#

Syntax

Mpx.State State;

Sample Code

 
if(controller.Axis[0].State == Mpx.State.Error)
{
Console.WriteLine("Error on Axis 0");
}

 

See Also

Enumerations
State

 

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