Table of Contents

Class CreateStepRelativePayload

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

Represents an operator that creates a message payload that starts the movement of all motors with the step interval defined by this array. The value's signal defines the direction.

public class CreateStepRelativePayload
Inheritance
CreateStepRelativePayload
Derived
Inherited Members

Properties

Motor0

Gets or sets a value that starts the movement of motor 0 with the step interval defined by this register. The value's signal defines the direction.

public int Motor0 { get; set; }

Property Value

int

Motor1

Gets or sets a value that starts the movement of motor 1 with the step interval defined by this register. The value's signal defines the direction.

public int Motor1 { get; set; }

Property Value

int

Motor2

Gets or sets a value that starts the movement of motor 2 with the step interval defined by this register. The value's signal defines the direction.

public int Motor2 { get; set; }

Property Value

int

Motor3

Gets or sets a value that starts the movement of motor 3 with the step interval defined by this register. The value's signal defines the direction.

public int Motor3 { get; set; }

Property Value

int

Methods

GetMessage(MessageType)

Creates a message that starts the movement of all motors with the step interval defined by this array. The value's signal defines the direction.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the StepRelative register.

GetPayload()

Creates a message payload for the StepRelative register.

public StepRelativePayload GetPayload()

Returns

StepRelativePayload

The created message payload value.