Table of Contents

Class CreateMotor2StepAccelerationIntervalPayload

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

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

public class CreateMotor2StepAccelerationIntervalPayload
Inheritance
CreateMotor2StepAccelerationIntervalPayload
Derived
Inherited Members

Properties

Motor2StepAccelerationInterval

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

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

Property Value

ushort

Methods

GetMessage(MessageType)

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

GetPayload()

Creates a message payload for the Motor2StepAccelerationInterval register.

public ushort GetPayload()

Returns

ushort

The created message payload value.