• 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

    BooleanFunction

    This simulation component provides the capability to output the result of a boolean function (e.g. AND, OR) on an arbitrary number of inputs.

    BooleanFunction

    When to use

    Use this simulation component if you want to compare some inputs and output the logic result using a defined logic operator.

    Sensors connected to BooleanFunction

    How to use

    Add this simulation component from the simulation component library. Define an arbitrary number of inputs you want to compare with each other and choose a logic operator. Connect output signals with the inputs of the BooleanFunction simulation component and start the simulation.

    Parameters

    Function

    Indicates a boolean function which compares your inputs and produces an logic output value.

    Input 1 Input 2 LogicOutput with "OR" LogicOutput with "AND"
    true true true true
    true false true false
    false true true false
    false false false false

    NumberInputs

    Indicates the number of inputs you want to compare with each other.

    Inputs

    After the user defined the number of inputs, all inputs are listed here.

    Outputs

    LogicOutput

    Indicates the result of your compared inputs using the current logic operator.

    Example

    In this example, the logic AND function is selected and two inputs are defined by the user. The outputs of two PositionLimitSwitch simulation components are connected to the inputs. The output LogicOutput shows the result of the logic operation applied to the inputs.

    BooleanFunction Example Properties

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