• 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
        • VisiblityChanger
      • 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
      • How to install twin
      • How to organize projects
      • How to import CAD files
      • How to handle 3D objects
      • How to activate physics in your simulation
      • How to simulate conveyor systems
      • How to simulate cylinders
      • How to simulate axis systems and portals
      • How to simulate sensors
      • How to simulate grippers
      • How to create program sequences
      • How to connect to PLCs
      • How to simulate robots
      • How to model complex mechanical motion systems
      • How to debug and analyse signals in twin

    LightBarrier

    This simulation component adds a configurable light ray to the simulation and outputs a value indicating whether the ray is interrupted by other objects or not.

    LightBarrier

    When to use

    Use this simulation component if you want to add a light ray to the simulation environment. For example, a conveyor belt that is transporting some pallets should be stopped when a light barrier is interrupted to execute some further actions with your machine.

    LightBarrier connected to PLC

    How to use

    Add this simulation component from the simulation component library. If the light ray should be attached to a 3D object, select the 3D object either in the 3D View window or in the Assembly Structure window by using the select button near the property Object3D. After that you can adjust the origin of the light ray, change direction or even adjust the length of the ray.

    Note

    The LightBarrier only interrupts on 3D objects, which are part of the physical simulation. That means, only 3D objects whose Rigid Body Behavior is not equal to None can interrupt the light ray.

    Parameters

    GlobalDirection

    Indicates the direction of the light ray in the global coordinate system.

    GlobalOrigin

    Indicates the origin of the light ray in the global coordinate system.

    Length

    Indicates the length of the light ray in m.

    Object3D

    Indicates the 3D object the light ray is attached to. If not set, the reference of the light ray is the world origin.

    Outputs

    Interrupted

    An output indicating whether the light ray is interrupted by an other physical 3D object or not.

    NotInterrupted

    An output indicating whether the light ray is not interrupted by an other physical 3D object or is.

    Example

    In this example, the 3D object of a light ray sensor is selected as Object3D. If the simulation is running and a 3D object interrupts the ray, the simulation component sets the corresponding outputs.

    LightBarrier Example Properties

    In this case, the ray is interrupted by a palette which means, output Interrupted is True.

    LightBarrier Is Interrupted By Pallet

    Further Information

    For more details visit the Video Guides section, where you can find a video guide demonstrating this topic under Light barriers and inductive sensors .

    In This Article
    Back to top Copyright © Eberle Automatische Systeme GmbH & Co KG