.

Axis.EventReset

Resets the event condition for a particular event type. This is sometimes necessary because some events latch and can only unlatch by calling the EventReset method.

Version History

Introduced in MPX 2.0.

Result

Void

Arguments

 
Argument Type Description

eventType

Mpx.EventType

The type of event to be reset.

Common Exceptions

 
Error Reason
Argument The eventType argument is not an axis event.

Visual Basic

Syntax

Sub EventReset(eventType As Mpx.EventType)

Sample Code

 
controller.Axis(0).EventReset(Mpx.EventType.AxisLimitHwPos) 


Sample Application

 

C#

Syntax

void EventReset(Mpx.EventType eventType);

Sample Code

 
controller.Axis[0].EventReset(Mpx.EventType.AxisLimitHwPos);

 

See Also

EventEnable
EventEnableAll
EventEnableNone

Enumerations
EventType

Overviews
Events Overview

 

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