Table of Contents

Class CreateMotor0StepAccelerationIntervalPayload

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

Represents an operator that creates a message payload that configures the acceleration for motor 0. The time between step pulses is decreased by this value when accelerating and increased when decelerating.

public class CreateMotor0StepAccelerationIntervalPayload
Inheritance
CreateMotor0StepAccelerationIntervalPayload
Derived
Inherited Members

Properties

Motor0StepAccelerationInterval

Gets or sets the value that configures the acceleration for motor 0. The time between step pulses is decreased by this value when accelerating and increased when decelerating.

[Range(2, 2000)]
public ushort Motor0StepAccelerationInterval { get; set; }

Property Value

ushort

Methods

GetMessage(MessageType)

Creates a message that configures the acceleration for motor 0. The time between step pulses is decreased by this value when accelerating and increased when decelerating.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the Motor0StepAccelerationInterval register.

GetPayload()

Creates a message payload for the Motor0StepAccelerationInterval register.

public ushort GetPayload()

Returns

ushort

The created message payload value.