Table of Contents

Class CreateMotor2MaximumRunCurrentPayload

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 2.

public class CreateMotor2MaximumRunCurrentPayload
Inheritance
CreateMotor2MaximumRunCurrentPayload
Derived
Inherited Members

Properties

Motor2MaximumRunCurrent

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

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

Property Value

float

Methods

GetMessage(MessageType)

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

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the Motor2MaximumRunCurrent register.

GetPayload()

Creates a message payload for the Motor2MaximumRunCurrent register.

public float GetPayload()

Returns

float

The created message payload value.