Table of Contents

Class CreateMotor2MoveRelativePayload

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

Represents an operator that creates a message payload that moves motor 2 by the number of steps written in this register and set the direction according to the value's signal.

public class CreateMotor2MoveRelativePayload
Inheritance
CreateMotor2MoveRelativePayload
Derived
Inherited Members

Properties

Motor2MoveRelative

Gets or sets the value that moves motor 2 by the number of steps written in this register and set the direction according to the value's signal.

public int Motor2MoveRelative { get; set; }

Property Value

int

Methods

GetMessage(MessageType)

Creates a message that moves motor 2 by the number of steps written in this register and set the direction according to the value's signal.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the Motor2MoveRelative register.

GetPayload()

Creates a message payload for the Motor2MoveRelative register.

public int GetPayload()

Returns

int

The created message payload value.