Class CreateMotor2StepIntervalPayload
- Namespace
- Harp.StepperDriver
- Assembly
- Harp.StepperDriver.dll
Represents an operator that creates a message payload that configures the time between step motor pulses (us) when running at nominal speed for motor 2.
public class CreateMotor2StepIntervalPayload
- Inheritance
-
CreateMotor2StepIntervalPayload
- Derived
- Inherited Members
Properties
Motor2StepInterval
Gets or sets the value that configures the time between step motor pulses (us) when running at nominal speed for motor 2.
[Range(100, 20000)]
public ushort Motor2StepInterval { get; set; }
Property Value
Methods
GetMessage(MessageType)
Creates a message that configures the time between step motor pulses (us) when running at nominal speed for motor 2.
public HarpMessage GetMessage(MessageType messageType)
Parameters
messageType
MessageTypeSpecifies the type of the created message.
Returns
- HarpMessage
A new message for the Motor2StepInterval register.
GetPayload()
Creates a message payload for the Motor2StepInterval register.
public ushort GetPayload()
Returns
- ushort
The created message payload value.