Class CreateMortor2AccumulatedStepsPayload
- Namespace
- Harp.StepperDriver
- Assembly
- Harp.StepperDriver.dll
Represents an operator that creates a message payload that contains the accumulated number of steps of motor 2. Write a value to set the current number of accumulated steps.
public class CreateMortor2AccumulatedStepsPayload
- Inheritance
-
CreateMortor2AccumulatedStepsPayload
- Derived
- Inherited Members
Properties
Mortor2AccumulatedSteps
Gets or sets the value that contains the accumulated number of steps of motor 2. Write a value to set the current number of accumulated steps.
public int Mortor2AccumulatedSteps { get; set; }
Property Value
Methods
GetMessage(MessageType)
Creates a message that contains the accumulated number of steps of motor 2. Write a value to set the current number of accumulated steps.
public HarpMessage GetMessage(MessageType messageType)
Parameters
messageType
MessageTypeSpecifies the type of the created message.
Returns
- HarpMessage
A new message for the Mortor2AccumulatedSteps register.
GetPayload()
Creates a message payload for the Mortor2AccumulatedSteps register.
public int GetPayload()
Returns
- int
The created message payload value.