Table of Contents

Class CreateMotor1StepAccelerationIntervalPayload

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

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

public class CreateMotor1StepAccelerationIntervalPayload
Inheritance
CreateMotor1StepAccelerationIntervalPayload
Derived
Inherited Members

Properties

Motor1StepAccelerationInterval

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

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

Property Value

ushort

Methods

GetMessage(MessageType)

Creates a message that configures the acceleration for motor 1. 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 Motor1StepAccelerationInterval register.

GetPayload()

Creates a message payload for the Motor1StepAccelerationInterval register.

public ushort GetPayload()

Returns

ushort

The created message payload value.