Git Product home page Git Product logo

rsconnectgiotosnap7's Introduction

RSConnectGIOToSnap7

This is a RobotStudio Smart Component to connect GI/GO to SIEMENS PLC using Snap7 library.

What you have to do before compiling:

  • Update ABB.Robotics.* References to Good RobotStudio SDK Version path with Project - Add Reference - Browse.
  • On Project Properties:
    • Application: Choose good .NET Framework version.
    • Build Events: Post Build Events: Replace with the good LibraryCompiler.exe Path.
    • Debug: Start External Program: Replace with the good RobotStudio.exe Path This not work if project on network drive, let it clear.
  • In \RSConnectGIOToSnap7\RSConnectGIOToSnap7.en.xml:
    • Replace xsi:schemaLocation value with good one.
  • Same for \RSConnectGIOToSnap7\RSConnectGIOToSnap7.xml.

If your project path is on network drive:

To get RobotStudio load it:
  • In $(RobotStudioPath)\Bin\RobotStudio.exe.config file:
    • Add in section <configuration><runtime>
      • <loadFromRemoteSources enable="true"/>
To Debug it:
  • Start first RobotStudio to get RobotStudio.exe.config loaded.
  • Then attach its process in VisualStudio Debug - Attach to Process..

Usage

RSConnectGIOToSnap7

Properties

  • PLC_Addr:
    IP Address of PLC IPV4.
    For PLCSim, you have to run NetToPLCSim and enter PC IP.
  • PLC_Rack:
    S7_300 Rack=0
    S7_400 See HW Config
    S7_12xx/15xx Rack=0
  • PLC_Slot: S7_300 Slot=2
    S7_400 See HW Config
    S7_12xx/15xx Slot=1
  • GI_ByteNumber: Number of Byte for GI to connect to in Station Logic.
    Change it to get GI appearing.
  • GI_FirstByteAddress: First output byte to connect at GI.
    You can use: ABx QBx MBx DBx.DBBy
  • GO_ByteNumber: Number of Byte for GO to connect to in Station Logic.
    Change it to get GO appearing.
  • GO_FirstByteAddress: First input byte to connect at GO.
    You can use: EBx IBx MBx DBx.DBBy

Signals

  • Connect: Start to connect to PLC.
    If an error occurs, you can check if it is related to Sharp7 or Snap7 in their Forum
  • Read: Read GI on PLC one time. (Hidden if not connected)
    In simulation running, they are read continuously.
    GO are written each time they change.

rsconnectgiotosnap7's People

Contributors

denisfr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.