• 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

    Create file with datapoint definitions

    In order to read outputs from the PLC and write inputs to the PLC, this variables need to get defined somewhere. Therefore, the datapoint file is used. After defining the datapoints and creating the file, twin can easily import that definitions.

    To define the datapoints correctly, the following columns are important:

    • Task: Determines if the datapoint is from type in- or output. ActValues are outputs, SetValues are inputs.
    • Name: Determines the name in the twin UI later. The name has to be unique.
    • TAG: Is automatically created and is needed for the datapoint system of twin.
    • Datatype: Determines the datatype of the IO in the PLC.
    • Datafile: Determines the symbolic name of the IO in the PLC.
    • Group: Determines the polling time for outputs (ActValues) in ms. Inputs (SetValues) do not need this.

    The following clip shows how to create the responsible file correctly.

    Your browser does not support the video tag.

    Next

    In the next chapter we import that created datapoint file and establish a connection to the PLC instance.

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