Class CreateMotor1MoveRelativePayload
- Namespace
- Harp.StepperDriver
- Assembly
- Harp.StepperDriver.dll
Represents an operator that creates a message payload that moves motor 1 by the number of steps written in this register and set the direction according to the value's signal.
public class CreateMotor1MoveRelativePayload
- Inheritance
-
CreateMotor1MoveRelativePayload
- Derived
- Inherited Members
Properties
Motor1MoveRelative
Gets or sets the value that moves motor 1 by the number of steps written in this register and set the direction according to the value's signal.
public int Motor1MoveRelative { get; set; }
Property Value
Methods
GetMessage(MessageType)
Creates a message that moves motor 1 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 Motor1MoveRelative register.
GetPayload()
Creates a message payload for the Motor1MoveRelative register.
public int GetPayload()
Returns
- int
The created message payload value.