Class CreateMotor1MaxPositionPayload
- Namespace
- Harp.StepperDriver
- Assembly
- Harp.StepperDriver.dll
Represents an operator that creates a message payload that specifies the limit of the accumulated steps for the positive movement of motor 1. The device will not let the motor move further than this value. A value equal to 0 disables the feature.
public class CreateMotor1MaxPositionPayload
- Inheritance
-
CreateMotor1MaxPositionPayload
- Derived
- Inherited Members
Properties
Motor1MaxPosition
Gets or sets the value that specifies the limit of the accumulated steps for the positive movement of motor 1. The device will not let the motor move further than this value. A value equal to 0 disables the feature.
public int Motor1MaxPosition { get; set; }
Property Value
Methods
GetMessage(MessageType)
Creates a message that specifies the limit of the accumulated steps for the positive movement of motor 1. The device will not let the motor move further than this value. A value equal to 0 disables the feature.
public HarpMessage GetMessage(MessageType messageType)
Parameters
messageType
MessageTypeSpecifies the type of the created message.
Returns
- HarpMessage
A new message for the Motor1MaxPosition register.
GetPayload()
Creates a message payload for the Motor1MaxPosition register.
public int GetPayload()
Returns
- int
The created message payload value.