Table of Contents

Class CreateMotor2MoveAbsolutePayload

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

Represents an operator that creates a message payload that moves motor 2 to the absolute position written in this register.

public class CreateMotor2MoveAbsolutePayload
Inheritance
CreateMotor2MoveAbsolutePayload
Derived
Inherited Members

Properties

Motor2MoveAbsolute

Gets or sets the value that moves motor 2 to the absolute position written in this register.

public int Motor2MoveAbsolute { get; set; }

Property Value

int

Methods

GetMessage(MessageType)

Creates a message that moves motor 2 to the absolute position written in this register.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the Motor2MoveAbsolute register.

GetPayload()

Creates a message payload for the Motor2MoveAbsolute register.

public int GetPayload()

Returns

int

The created message payload value.