Table of Contents

Class CreateMotor1MaximumRunCurrentPayload

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

Represents an operator that creates a message payload that configures the maximum run RMS current per phase for motor 1.

public class CreateMotor1MaximumRunCurrentPayload
Inheritance
CreateMotor1MaximumRunCurrentPayload
Derived
Inherited Members

Properties

Motor1MaximumRunCurrent

Gets or sets the value that configures the maximum run RMS current per phase for motor 1.

[Range(0.139, 2.1)]
public float Motor1MaximumRunCurrent { get; set; }

Property Value

float

Methods

GetMessage(MessageType)

Creates a message that configures the maximum run RMS current per phase for motor 1.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the Motor1MaximumRunCurrent register.

GetPayload()

Creates a message payload for the Motor1MaximumRunCurrent register.

public float GetPayload()

Returns

float

The created message payload value.