.

Axis.AmpEnabled

Reports whether the axis object has enabled the amplifier.

Version History

Introduced in MPX 2.0.

Type

Boolean (read only)

Visual Basic

Syntax

Property AmpEnabled As Boolean

Sample Code

 
If controller.Axis(0).AmpEnabled Then
    '                           pos     speed   accel  decel  MoveAttr
    controller.Motion(0).SCurve(1000.0, 5000.0, 500.0, 500.0, Mpx.MoveAttribute.Id)
End If


Sample Application

 

C#

Syntax

Bool AmpEnabled;

Sample Code

 
if(controller.Axis[0].AmpEnabled)
{
//                          pos     speed   accel  decel  MoveAttr
controller.Motion[0].SCurve(1000.0, 5000.0, 500.0, 500.0, Mpx.MoveAttribute.Id);
}

 

See Also

AmpEnable | Motion.AmpEnable

 

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