Click or drag to resize

MotorAPI Class

Provides access to Scanner handling operations.
Inheritance Hierarchy
System.Object
  RAYLASE.SPICE3.ClientLib.Spice3API
    RAYLASE.SPICE3.ClientLib.MotorAPI

Namespace: RAYLASE.SPICE3.ClientLib
Assembly: RAYLASE.SPICE3.ClientLib (in RAYLASE.SPICE3.ClientLib.dll) Version: 2.3.4
Syntax
C#
public class MotorAPI : Spice3API

The MotorAPI type exposes the following members.

Methods
 NameDescription
Public methodAreHomed Indicates if the requested axes have already been homed.
Public methodAreMoving Indicates if the requested axes are currently moving.
Public methodClearAlarm(MotorAxes) Clears the alarm of the given axes. The alarm will be raised again if the alarm condition is still present.
Public methodClearAlarm(MotorAxis) Clears the alarm of the given axis. The alarm will be raised again if the alarm condition is still present.
Public methodClearHome(MotorAxes) Clears the 'homed' state of the given axes.
Public methodClearHome(MotorAxis) Clears the 'homed' state of the given axis.
Public methodGetConfig Gets the current configuration from the card.
Public methodGetVariables Gets the current motor variables from the card.
Public methodHasAlarm Indicates if the requested axis is in an 'Alarm' state.
Public methodHaveAlarm Indicates if the requested axes are in an 'Alarm' state.
Public methodHome Moves the given axis to its home position.
Public methodInterruptWaitForHomeDone Interrupts every current blocking call to WaitForHomeDone(Nullable<MotorAxis>, Nullable<Int32>)
Public methodInterruptWaitForMoveDone Interrupts every current blocking call to WaitForMoveDone(Nullable<MotorAxis>, Nullable<Int32>)
Public methodIsHomed Indicates if the requested axis has already been homed.
Public methodIsMoving Indicates if the requested axis is currently moving.
Public methodIsWithinSoftLimits Indicates if the requested axis is within the defined limits.
Public methodLoadConfig Loads the current configuration from the card's local storage.
Public methodLoadVariables Loads the current motor variables from the card's local storage.
Public methodMoveAbs(Point2D) Moves M0 and M1 to the given absolute position.
Public methodMoveAbs(Point3D) Moves M0, M1 and M2 to the given absolute position.
Public methodMoveAbs(Point4D) Moves M0, M1, M2 and M3 to the given absolute position.
Public methodMoveAbs(MotorAxis, Double) Moves the axis to the given absolute position.
Public methodMoveAtVelocity Moves the axis at the configured Velocity.
Public methodMoveRel(Point2D) Moves M0 and M1 to the given position relative from the current position.
Public methodMoveRel(Point3D) Moves M0, M1 and M2 to the given position relative from the current position.
Public methodMoveRel(Point4D) Moves M0, M1, M2 and M3 to the given position relative from the current position.
Public methodMoveRel(MotorAxis, Double) Moves the axis to the given position relative from the current position.
Public methodMovingDirection Indicates if the current moving direction of axis.
Public methodReadPosition Retrieves the current position of the axis from the card.
Public methodRegisterHomeDoneCallback Register a callback function that is called when a HomeDone event occurs.
Public methodRegisterMoveDoneCallback Register a callback function that is called when an MoveDone event occurs.
Public methodSetConfig Sets the current configuration on the card.
Public methodSetVariables Sets the current motor variables on the card.
Public methodStop(MotorAxes) Stops the moving axes.
Public methodStop(MotorAxis) Stops the moving axis.
Public methodStoreConfig Stores the current configuration in the card's local storage for later (re-)loading.
Public methodStoreVariables Stores the current motor variables in the card's local storage for later (re-)loading.
Public methodUnregisterHomeDoneCallback Unregister a callback previously registered with RegisterHomeDoneCallback(Action<ClientAPI, Int32>).
Public methodUnregisterMoveDoneCallback Unregister a callback previously registered with RegisterMoveDoneCallback(Action<ClientAPI, Int32>).
Public methodWaitForHomeDone Waits for asynchronous homing of axis to be done.
Public methodWaitForMoveDone(MotorAxes, Nullable<Int32>) Waits for move of axes to be done.
Public methodWaitForMoveDone(Nullable<MotorAxis>, Nullable<Int32>) Waits for move of axis to be done.
Top
See Also