Table of Contents

Class CreateMotor0MaximumRunCurrentPayload

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

public class CreateMotor0MaximumRunCurrentPayload
Inheritance
CreateMotor0MaximumRunCurrentPayload
Derived
Inherited Members

Properties

Motor0MaximumRunCurrent

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

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

Property Value

float

Methods

GetMessage(MessageType)

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

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the Motor0MaximumRunCurrent register.

GetPayload()

Creates a message payload for the Motor0MaximumRunCurrent register.

public float GetPayload()

Returns

float

The created message payload value.