Home > EZStepper software in MATLAB > Class XYStage

EZStepper: Software in MATLAB for Controlling Motorized Devices Based on EZStepper Motor Controllers

Class XYStage

XYStage.m (handle class)
    Properties:
        PortObj
        ControllerType
        ControllerNameX
        ControllerNameY
        LeadUmX
        LeadUmY
        MotorStepsX
        MotorStepsY
        LimitPolarity
        HoldCurrentX
        HoldCurrentY
        RunCurrentX
        RunCurrentY
        StepDivideX
        StepDivideY
        SlewVelocityX
        SlewVelocityY
        InitVelocityX
        InitVelocityY
        RampX
        RampY
        Log
        LastErrX
        LastErrY
    Methods:
        XYRelative         - Relative move; travel in microns
        XYAbsolute         - Absolute move; destination in microns
        XYJog              - Jog at given speed in microns/sec
        XYHome             - Start moving home at given speed; do not wait for completion
        XYHomeComplete     - Home and wait for completion
        XYHome2Phase       - Two-phase home using XYHomeComplete; first at given speed, then at a fraction of given speed
        XYWait             - Wait for completion of motion
        XYOrigin           - Set position to the given value (in microns), or to 0
        XYPos              - Return current position in microns
        XYExecuteX         - Execute command string in X controller
        XYExecuteY         - Execute command string in Y controller
        XYOutX             - Digital output from X controller
        XYOutY             - Digital output from Y controller
        XYToLimitX         - Move X until any limit turns on; return the limit that was hit; sign of speed determines direction
        XYToLimitY         - Move Y until any limit turns on; return the limit that was hit; sign of speed determines direction