Class CreateMotor0MoveRelativePayload
- Namespace
- Harp.StepperDriver
- Assembly
- Harp.StepperDriver.dll
Represents an operator that creates a message payload that moves motor 0 by the number of steps written in this register and set the direction according to the value's signal.
public class CreateMotor0MoveRelativePayload
- Inheritance
-
CreateMotor0MoveRelativePayload
- Derived
- Inherited Members
Properties
Motor0MoveRelative
Gets or sets the value that moves motor 0 by the number of steps written in this register and set the direction according to the value's signal.
public int Motor0MoveRelative { get; set; }
Property Value
Methods
GetMessage(MessageType)
Creates a message that moves motor 0 by the number of steps written in this register and set the direction according to the value's signal.
public HarpMessage GetMessage(MessageType messageType)
Parameters
messageType
MessageTypeSpecifies the type of the created message.
Returns
- HarpMessage
A new message for the Motor0MoveRelative register.
GetPayload()
Creates a message payload for the Motor0MoveRelative register.
public int GetPayload()
Returns
- int
The created message payload value.