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

    Show / Hide Table of Contents
    • Welcome
    • 101: 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

    Establish connection to the PLC

    This chapter shows how to import the created datapoint file and establish a connection to the PLCSim Advanced instance.

    Create a twin PLCConnector and import datapoint file

    In order to establish a connection to an external system (e.g. PLC), the simulation component PLCConnector is used. The ScriptComponent from the previous tutorial, which was used to control the gantry robot, can get deleted. To be able to connect to the PLC, PLCSIM Advanced needs to get defined within the Protocol property. Then, set the name of the PLCSim Advanced instance and import the datapoint file. When the simulation starts and the PLCConnector established a connection to the PLC successfully, the simulation component starts exchanging the IO signals.

    Your browser does not support the video tag.

    To check if the connection works and the definitions are correct, inputs can get set manually in the PLCConnector simulation component.

    Your browser does not support the video tag.

    Next

    In the next chapter we connect the sensors with the inputs and the outputs to the actors in order to execute the PLC program.

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