Table of Contents

Class CreateMaxPositionPayload

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 positive 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 CreateMaxPositionPayload
Inheritance
CreateMaxPositionPayload
Derived
Inherited Members

Properties

Motor0

Gets or sets a value that defines the limit of the accumulated steps for the positive 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 positive 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 positive 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 positive 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 positive 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 MaxPosition register.

GetPayload()

Creates a message payload for the MaxPosition register.

public MaxPositionPayload GetPayload()

Returns

MaxPositionPayload

The created message payload value.