• 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

    EndiannessChanger

    This simulation component changes the byte order of an input value. EndiannessChanger

    When to use

    Use this simulation component if you need to change the byte-order when exchanging data between systems with different endianness.

    How to use

    Add this simulation component from the simulation component library. Define the DataType of the Input signal whose byte order should be changed.

    Parameters

    DataType

    The data-type of the input signal.

    Inputs

    Input

    An input indicating a value whose byte order will be changed. The data-type can be specified by the DataType property.

    Outputs

    Output

    An output indicating the input value with changed byte order.

    Example

    In this example, data is exchanged between Kuka.OfficeLite, the virtual robot controller from KUKA, and a Siemens PLC. Since these two systems are using different endianness, an EndiannessChanger is needed to exchange non-boolean values.

    The following figure illustrates, how the byte-order is changed:

    KUKA OfficeLite swaps DWORDS internally

    A RobotControllerConnector is used to connect to Kuka.OfficeLite and a PLCConnector is used to connect to the Siemens PLC. To change the byte-order of all non-boolean signals, an EndiannessChanger is used, as shown in the figure below.

    EndiannesChanger swaps Signals

    The properties of the EndiannessChanger are defined as follows:

    EndiannesChanger Example Properties

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