Table of Contents

Class CreateMotor0StepIntervalPayload

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

Represents an operator that creates a message payload that configures the time between step motor pulses (us) when running at nominal speed for motor 0.

public class CreateMotor0StepIntervalPayload
Inheritance
CreateMotor0StepIntervalPayload
Derived
Inherited Members

Properties

Motor0StepInterval

Gets or sets the value that configures the time between step motor pulses (us) when running at nominal speed for motor 0.

[Range(100, 20000)]
public ushort Motor0StepInterval { get; set; }

Property Value

ushort

Methods

GetMessage(MessageType)

Creates a message that configures the time between step motor pulses (us) when running at nominal speed for motor 0.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the Motor0StepInterval register.

GetPayload()

Creates a message payload for the Motor0StepInterval register.

public ushort GetPayload()

Returns

ushort

The created message payload value.