Class CreateMotor2StepRelativePayload
- Namespace
- Harp.StepperDriver
- Assembly
- Harp.StepperDriver.dll
Represents an operator that creates a message payload that starts the movement of motor 2 with the step interval defined by this register, disregarding the acceleration protocol. The sign of the value specifies the direction.
public class CreateMotor2StepRelativePayload
- Inheritance
-
CreateMotor2StepRelativePayload
- Derived
- Inherited Members
Properties
Motor2StepRelative
Gets or sets the value that starts the movement of motor 2 with the step interval defined by this register, disregarding the acceleration protocol. The sign of the value specifies the direction.
public int Motor2StepRelative { get; set; }
Property Value
Methods
GetMessage(MessageType)
Creates a message that starts the movement of motor 2 with the step interval defined by this register, disregarding the acceleration protocol. The sign of the value specifies the direction.
public HarpMessage GetMessage(MessageType messageType)
Parameters
messageType
MessageTypeSpecifies the type of the created message.
Returns
- HarpMessage
A new message for the Motor2StepRelative register.
GetPayload()
Creates a message payload for the Motor2StepRelative register.
public int GetPayload()
Returns
- int
The created message payload value.