ProtoTwin API
    Preparing search index...

    Class AwaitSignalRobotInstruction

    Await signal instruction.

    Instructs the robot controller to wait until the specified robot controller signal reports the given value.

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    Methods

    Constructors

    Accessors

    • get program(): null | RobotProgram

      The program to which the instruction has been assigned.

      Returns null | RobotProgram

      If the program is null then the instruction hasn't been added to a program.

    • set program(value: null | RobotProgram): void

      Parameters

      Returns void

    • get signal(): string

      The signal name.

      Returns string

    • set signal(value: string): void

      Parameters

      • value: string

      Returns void

    • get timeout(): number

      Wait timeout in seconds.

      Returns number

      The instruction will complete if the timeout is exceeded, regardless of whether the value was seen. Set to zero to disable the timeout.

    • set timeout(value: number): void

      Parameters

      • value: number

      Returns void

    Methods