• Home
  • User Manual
  • Tutorials
  • Updates
Search Results for

    Show / Hide Table of Contents
    • Welcome to twin
    • Getting Started
      • Install and uninstall twin
      • Install and uninstall a licence
      • Start twin
    • Simulation Component Library
      • Automation
        • ScriptComponent
        • Sequence
      • BitManipulator
        • BitsToBytesConverter
        • BytesToBitsConverter
        • EndiannessChanger
      • BooleanOperations
        • BooleanFunction
        • Invert
        • InputSwitch
      • ControlPanel
        • ControlPanel
      • Conveyor
        • Conveyor
        • VacuumConveyor
      • Debug
        • Counter
      • DataManipulator
        • DataReader
        • DataTypeConverter
        • DataWriter
      • FMU
        • FMU
      • Gripper
        • KinematicGripper
        • ObjectCoupler
        • VacuumGripper
      • HardwareConnector
        • PLCConnector
        • RobotControllerConnector
      • Math
        • Gain
        • LinearFunction
        • LowPassFilter
        • NumberComparer
        • Sum
      • Motor
        • FCControlledMotor
        • ServoMotor
      • Movers
        • BoolToSignedDirection
        • DynamicCylinder
        • DynamicRotationMover
        • DynamicTranslationMover
        • KinematicCylinder
        • KinematicPathMover
        • KinematicRotationMover
        • KinematicTranslationMover
      • ObjectManipulator
        • Colorizer
        • Object3DCutter
        • VisibilityChanger
      • Sensors
        • AngleLimitSwitch
        • CollisionObserver
        • DistanceSensor
        • DynamicObjectDetector
        • LightBarrier
        • PositionLimitSwitch
        • PositionTracker
      • Sinks
        • FileLogger
        • CollisionSink
        • RaySink
      • Sources
        • BoolConstant
        • BoxSource
        • DoubleConstant
        • Object3DFileSource
        • Object3DSource
        • RandomBoolean
        • RandomNumber
        • SinusGenerator
        • SphereSource
        • StringConstant
      • Timers
        • IntervalTrigger
        • TOF
        • TON
    • Collision Detection
      • What is essential for collision detection?
      • Where can I find the mesh simplifiers?
      • Which mesh simplification methods are available?
    • twin Mirror
      • Install the twin Mirror
      • Embed the twin Mirror into your HMI
      • React on user-events
      • Manipulate 3D objects
      • Add labels and buttons
    • Video Guides
      • Install twin
      • How to handle twin
      • Organize projects
      • Import CAD files
      • Handle 3D objects
      • Organize simulation components
      • Activate physics in your simulation
      • Simulate conveyor systems
      • Simulate cylinders
      • Simulate axis systems and portals
      • Simulate sensors
      • Simulate grippers
      • Create program sequences
      • Connect to PLCs
      • Simulate robots
      • Model complex mechanical motion systems
      • Debug and analyse signals in twin
      • Best practices for maintenance efficient project development
      • FAQ

    AngleLimitSwitch

    This sensor outputs a boolean value indicating whether an input angle is out of a configurable range or not.

    AngleLimitSwitch

    When to use

    Use this simulation component if you want to monitor, if an input angle is within a configurable lower and upper limit. The component outputs a boolean value indicating whether an input angle is out of the range or not.

    How to use

    Add this simulation component from the simulation component library. Define the parameters LowerSwitchAngleInDeg and UpperSwitchAngleInDeg and connect an angle-output e.g. from a KinematicRotationMover to the input Angle of the simulation component.

    Note

    The input Angle is defined in radiants. To simplify user inputs, the parameters LowerSwitchAngleInDeg and UpperSwitchAngleInDeg are defined in degrees.

    Parameters

    LowerSwitchAngleInDeg

    A value in degree which indicates the lower bound of the switch interval.

    UpperSwitchAngleInDeg

    A value in degree which indicates the upper bound of the switch interval.

    WrapAngles

    If set to true, the input Angle and the parameters LowerSwitchAngleInDeg and UpperSwitchAngleInDeg switch angles will be wrapped to the interval [0, 360) degrees.

    Inputs

    Angle

    An input indicating the angle to monitor in rad.

    Outputs

    AngleReached

    An output indicating whether the input Angle is inside the interval given by the parameters LowerSwitchAngleInDeg and UpperSwitchAngleInDeg or not.

    AngleNotReached

    An output indicating whether the input Angle is outside the interval given by the parameters LowerSwitchAngleInDeg and UpperSwitchAngleInDeg or not.

    Example

    In this example, the output CurrentPosition of the simulation component ServoMotor is monitored in the interval [-60°, +120°].

    AngleLimitSwitch Example Properties

    In this article
    Back to top Copyright © Eberle Automatische Systeme GmbH & Co KG