GithubHelp home page GithubHelp logo

How do I connect to s7-1200?There are no tracks and slots in s7-1200,errors:invalid pdu received or invalid buffer passed to send/receive '19' about gos7 HOT 4 CLOSED

XQacc avatar XQacc commented on July 30, 2024
How do I connect to s7-1200?There are no tracks and slots in s7-1200,errors:invalid pdu received or invalid buffer passed to send/receive '19'

from gos7.

Comments (4)

robinson avatar robinson commented on July 30, 2024

Hi,
for s7-1200 just add slot=0, rack=0 and it should work.
BR

from gos7.

XQacc avatar XQacc commented on July 30, 2024

Hi, for s7-1200 just add slot=0, rack=0 and it should work. BR

set slot=0, rack=0 ,errors:client.AGReadDB: ISO : Invalid Buffer passed to Send/Receive'19'
and used the packet capture tool to view protocol is ISO 8073/COTP,is need other setting?
connectionTypePG = 1 // Connect to the PLC as a PG
connectionTypeOP = 2 // Connect to the PLC as an OP
connectionTypeBasic = 3 // Basic connection
Is it related to this?

from gos7.

robinson avatar robinson commented on July 30, 2024

no, I think the configuration is that, but you are reading the wrong size of data... i suggest you take a look in the example

from gos7.

iotopo avatar iotopo commented on July 30, 2024

@XQacc you may got a 8104 error code,hope help you:https://support.inductiveautomation.com/hc/en-us/articles/4414608266893-Error-reading-S7ReadResponse-Error-code-8104

from gos7.

Related Issues (20)

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.