Code Monkey home page Code Monkey logo

Comments (1)

pjkundert avatar pjkundert commented on July 20, 2024

Thanks for the efforts you've put in! The API can be a bit hairy; it developed over time, as I discovered more nooks and crannies in EtherNet/IP CIP...

When you use the poll API, if you want to use Tags, make sure you set the 'pass_thru=True' keyword. Otherwise, every parameter processed by the 'parameter_substitution' method is expected to be set up in the parmaters (or self.PARAMETERS) dictionaries. With this set, anything not found will be assumed to be a Tag name, and will be passed thru.

Give that a try, and see if there is anything else.

Also, when you get a None back -- this generally the flag that means that there was an error in reading the target attribute. Unfortunately, you'll need to increase logging to get more details about the failure. If you are using some of the advanced cpppo.server.enip.client APIs that return a large tuple of details about the operation (eg. client.connector.pipeline), then one of the tuple elements will be the CIP status code. However, increasing logging has usually been most useful to me.

Hope that helps!

from cpppo.

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.