Code Monkey home page Code Monkey logo

Comments (3)

pjkundert avatar pjkundert commented on July 20, 2024

Just enough depth to keep the device saturated with requests. Mostly, depth is required due to slow (high latency) communications channels.

The multiple flag allows Cpppo to aggregate multiple requests into a single transmitted CIP request. If the target device can handle it, it may increase the total number of I/O operations that can be handled, per second, by reducing the over head of decoding multiple separate requests.

So, simply by experimenting you should be able to find the optimal settings for your device.

Finally -- Cpppo is 100% pure Python. Even the low-level parser is Python. So, I have seen some noticable speed-ups by using PyPy, especially if your program runs for long periods of time (ie. performs some requests, waits then performs the operation again (without shutting down and restarting))

from cpppo.

jia-zhengwei avatar jia-zhengwei commented on July 20, 2024

@pjkundert , you said The multiple flag allows Cpppo to aggregate multiple requests into a single transmitted CIP request , but how? Could you show a demo?

from cpppo.

jia-zhengwei avatar jia-zhengwei commented on July 20, 2024

We found the communications is fast, but between the last receive and next send(read multiple tags ), it used 2.596616 - 2.443908 =‬ 0.152708 S , as the pictures shows below:
image

and we also check the source code and test it, we found it is to slow in following function, could you help us?
image

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.