Table of Contents

Class CreateServoMotor2PeriodPayload

Namespace
Harp.Behavior
Assembly
Harp.Behavior.dll

Represents an operator that creates a message payload that specifies the period of the servo motor in DO2, in microseconds.

public class CreateServoMotor2PeriodPayload
Inheritance
CreateServoMotor2PeriodPayload
Derived
Inherited Members

Properties

ServoMotor2Period

Gets or sets the value that specifies the period of the servo motor in DO2, in microseconds.

[Range(2, 65534)]
public ushort ServoMotor2Period { get; set; }

Property Value

ushort

Methods

GetMessage(MessageType)

Creates a message that specifies the period of the servo motor in DO2, in microseconds.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the ServoMotor2Period register.

GetPayload()

Creates a message payload for the ServoMotor2Period register.

public ushort GetPayload()

Returns

ushort

The created message payload value.