• 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

    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