Table of Contents

Class CreateMinPositionPayload

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

Represents an operator that creates a message payload that defines the limit of the accumulated steps for the negative movement of all motors. The device will not let the motors move further than this value. A value equal to 0 will disable the limits.

public class CreateMinPositionPayload
Inheritance
CreateMinPositionPayload
Derived
Inherited Members

Properties

Motor0

Gets or sets a value that defines 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.

public int Motor0 { get; set; }

Property Value

int

Motor1

Gets or sets a value that defines the limit of the accumulated steps for the negative movement of motor 1. The device will not let the motor move further than this value.

public int Motor1 { get; set; }

Property Value

int

Motor2

Gets or sets a value that defines the limit of the accumulated steps for the negative movement of motor 2. The device will not let the motor move further than this value.

public int Motor2 { get; set; }

Property Value

int

Motor3

Gets or sets a value that defines the limit of the accumulated steps for the negative movement of motor 3. The device will not let the motor move further than this value.

public int Motor3 { get; set; }

Property Value

int

Methods

GetMessage(MessageType)

Creates a message that defines the limit of the accumulated steps for the negative movement of all motors. The device will not let the motors move further than this value. A value equal to 0 will disable the limits.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the MinPosition register.

GetPayload()

Creates a message payload for the MinPosition register.

public MinPositionPayload GetPayload()

Returns

MinPositionPayload

The created message payload value.