GithubHelp home page GithubHelp logo

ips7linknet-docs's People

Contributors

dscharnagl avatar

Watchers

 avatar  avatar  avatar

ips7linknet-docs's Issues

Connect for SimaticDevice does not work

Ich mache es im Grunde genommen genau so, wie es die Beispiele vorzeigen, nur das ich um den Connect noch einen Try Catch Block packe.

Leider liefert das SDK immer folgende Meldung zurück obwohl alle Angaben stimmen.
Exception:
The connection is not in 'Openend', 'Connected' or 'Disconnected' state and is therefore not ready to be used.

Stacktrace:
bei IPS7Lnk.Advanced.PlcDeviceConnection.DenyIfNotReady()
bei IPS7Lnk.Advanced.PlcDeviceConnection.Connect()

Dim device As New SimaticDevice("<IP>", SimaticDeviceType.S71500, 0, 1)
device.ChannelType = SimaticChannelType.OperationPanel
Dim aConnection As PlcDeviceConnection = device.CreateConnection()
Try
  aConnection.Connect()
Catch ex As Exception
End Try

Ich habe zudem noch eine IP-S7-LINK Demo Software, dort stelle ich die gleichen Paramater ein und der Zugriff funktioniert einwandfrei.
Aktuell bin ich ratlos warum der Connect nicht funktioniert zumal die Fehlermeldung an sich auch total verwirrend ist.
Das ich die Verbindung noch nicht nutzen kann weil sie noch nicht aufgebaut ist, ist mir ja klar, deswegen mache ich ja den Connect.

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.