Table of Contents

Class CreateMotor0MinPositionPayload

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

Represents an operator that creates a message payload that specifies the limit of the accumulated steps for the negative movement of motor 0. The device will not let the motor move further than this value. A value equal to 0 disables the feature.

public class CreateMotor0MinPositionPayload
Inheritance
CreateMotor0MinPositionPayload
Derived
Inherited Members

Properties

Motor0MinPosition

Gets or sets the value that specifies the limit of the accumulated steps for the negative movement of motor 0. The device will not let the motor move further than this value. A value equal to 0 disables the feature.

public int Motor0MinPosition { get; set; }

Property Value

int

Methods

GetMessage(MessageType)

Creates a message that specifies the limit of the accumulated steps for the negative movement of motor 0. The device will not let the motor move further than this value. A value equal to 0 disables the feature.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the Motor0MinPosition register.

GetPayload()

Creates a message payload for the Motor0MinPosition register.

public int GetPayload()

Returns

int

The created message payload value.