Class CreateMotorOverVoltageDetectionPayload
- Namespace
- Harp.StepperDriver
- Assembly
- Harp.StepperDriver.dll
Represents an operator that creates a message payload that contains a bit mask specifying the motor where the over voltage detection and protection mechanism occurred, which can happen when the there's a quick deceleration from a high velocity or when the motor stalls (not implemented).
public class CreateMotorOverVoltageDetectionPayload
- Inheritance
-
CreateMotorOverVoltageDetectionPayload
- Derived
- Inherited Members
Properties
MotorOverVoltageDetection
Gets or sets the value that contains a bit mask specifying the motor where the over voltage detection and protection mechanism occurred, which can happen when the there's a quick deceleration from a high velocity or when the motor stalls (not implemented).
public StepperMotors MotorOverVoltageDetection { get; set; }
Property Value
Methods
GetMessage(MessageType)
Creates a message that contains a bit mask specifying the motor where the over voltage detection and protection mechanism occurred, which can happen when the there's a quick deceleration from a high velocity or when the motor stalls (not implemented).
public HarpMessage GetMessage(MessageType messageType)
Parameters
messageType
MessageTypeSpecifies the type of the created message.
Returns
- HarpMessage
A new message for the MotorOverVoltageDetection register.
GetPayload()
Creates a message payload for the MotorOverVoltageDetection register.
public StepperMotors GetPayload()
Returns
- StepperMotors
The created message payload value.