Table of Contents

Class CreateMotorRaisedErrorPayload

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

Represents an operator that creates a message payload that contains a bit mask specifying the motor that triggered the error which can be happen in case of short-circuit or driver temperature above 165 degrees celsius.

public class CreateMotorRaisedErrorPayload
Inheritance
CreateMotorRaisedErrorPayload
Derived
Inherited Members

Properties

MotorRaisedError

Gets or sets the value that contains a bit mask specifying the motor that triggered the error which can be happen in case of short-circuit or driver temperature above 165 degrees celsius.

public StepperMotors MotorRaisedError { get; set; }

Property Value

StepperMotors

Methods

GetMessage(MessageType)

Creates a message that contains a bit mask specifying the motor that triggered the error which can be happen in case of short-circuit or driver temperature above 165 degrees celsius.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the MotorRaisedError register.

GetPayload()

Creates a message payload for the MotorRaisedError register.

public StepperMotors GetPayload()

Returns

StepperMotors

The created message payload value.