Table of Contents

Class CreateMotor0StepRelativePayload

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

Represents an operator that creates a message payload that starts the movement of motor 0 with the step interval defined by this register, disregarding the acceleration protocol. The sign of the value specifies the direction.

public class CreateMotor0StepRelativePayload
Inheritance
CreateMotor0StepRelativePayload
Derived
Inherited Members

Properties

Motor0StepRelative

Gets or sets the value that starts the movement of motor 0 with the step interval defined by this register, disregarding the acceleration protocol. The sign of the value specifies the direction.

public int Motor0StepRelative { get; set; }

Property Value

int

Methods

GetMessage(MessageType)

Creates a message that starts the movement of motor 0 with the step interval defined by this register, disregarding the acceleration protocol. The sign of the value specifies the direction.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the Motor0StepRelative register.

GetPayload()

Creates a message payload for the Motor0StepRelative register.

public int GetPayload()

Returns

int

The created message payload value.