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

    Show / Hide Table of Contents
    • Welcome
    • 101: Modeling A Simple Sorting Machine
      • Intro
      • Add workpieces
      • Activate physics
      • Kinematize actors and add sensor
      • Workpiece generation by sources
    • Graphical Programming Of A Simple Sorting Machine
      • Intro
      • Add and set-up the sequence component
      • Create the sequence
      • Finish the project
    • A Three Axis Gantry Robot
      • Intro
      • Build the 3D model
      • Configure the physical behavior
      • Add actors to the robot
      • Control the robot with a simple script
    • A Gantry Robot controlled by PLC
      • Intro
      • Understand the PLC program
      • Adapt existing twin project
      • Create PLC instance and load project
      • Create file with datapoint definitions
      • Establish connection to the PLC instance
      • Make sensor and actor connections and run the machine

    Finish the project

    In this chapter, we automatically generate the workpieces at defined intervals, adjust the frequency to generate them, and clean up the simulation components to keep the project organized.

    Create interval trigger

    We add one IntervalTrigger simulation component for each type and link them to the respective source: one for the long workpiece and one for the short one.

    The long workpiece should be triggered every 5 seconds, and the short one every 3 seconds. Additionally, we add the BooleanFunction simulation component to allow manual generation of the workpieces via the control panel as well.

    Your browser does not support the video tag.

    Enable the sequence

    Now we extend the process with a manual release. The sequence may only be started when the release is active.

    Your browser does not support the video tag.

    Cleaning up the simulation components

    To keep the project organized, we now create a group for the simulation components. Groups can be used for each area, which helps maintain clarity and structure within the project.

    Your browser does not support the video tag.

    Summary

    Congratulations, you programmed your first machine with twin! Did you expect it to be this easy?

    As mentioned in the very beginning, this was a very basic tutorial with many simplifications which would make no sense in real life.

    Nevertheless you learned the basics like:

    • Using sequences within twin
    • Linking the simulation components together
    • Making manual tests
    • Work with interval triggers
    • Cleaning up the project by simulation component groups

    What next

    You are now ready to start building your own machine! Import the model and search through the simulation component library to add the functionality you need.

    Tip

    Just look for the sensors you need, e.g. a light barrier or a distance sensor. You will be surprised how easy you can build great things 😉

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