Table of Contents

Class CreateMotor1StepRelativePayload

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

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

public class CreateMotor1StepRelativePayload
Inheritance
CreateMotor1StepRelativePayload
Derived
Inherited Members

Properties

Motor1StepRelative

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

public int Motor1StepRelative { get; set; }

Property Value

int

Methods

GetMessage(MessageType)

Creates a message that starts the movement of motor 1 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 Motor1StepRelative register.

GetPayload()

Creates a message payload for the Motor1StepRelative register.

public int GetPayload()

Returns

int

The created message payload value.