GithubHelp home page GithubHelp logo

python-opd100-example's People

Contributors

matthiasabtifm avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

python-opd100-example's Issues

Problem setting device id

Hi

I downloaded your sample and set it up with a AL1950 and a OPD100. However i can only get 4 bytes where i was expecting 32 from the PDin value. Here

if len(pdin) != PD_IN_SIZE:

I have traced the problem to not being able to set the device id correctly. Here;

def setDeviceID(self, vendor_id, device_id, vdsm):

I see that the example is a bit old. Does it still work out of the box with new hardware?

You can probably reproduce the problem with this postman collection. Perform setdevice id, and read device id. I will still get 1260 not 1267.

Documentation for a slight rewrite

Hi

Thank you for the project, it is very help full for our investigation of the opd100. However we are trying to port this example to useing the AY1020 and its webserver.

The problem is to understand th buildPDout on opd100_load.py:228. It builds an byte array that is sent to the Process data output. However the docuemntation we are looking at does not match.

The fram number is not mentioned in the pdf found on ifm pages. https://www.ifm.com/il/en/product/OPD100?tab=details
2022-01-12_15-23

Can you help us out, with more documentation?

USB without IP address

This code is made when OPD100 is connected with IP address.

python opd100_loader.py --ip 192.168.0.34 --tcp-port 80 --device-port 4

I am using IO-link AL1060 and it do not use IP address. What to do in case like this? How can I connect it? I think it need only small changes in code. Can someone help me?

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.