ifm / python-opd100-example Goto Github PK
View Code? Open in Web Editor NEWPython based OPD100 profile reading example
License: Apache License 2.0
Python based OPD100 profile reading example
License: Apache License 2.0
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
python-opd100-example/opd100_loader.py
Line 249 in 93cdad0
I have traced the problem to not being able to set the device id correctly. Here;
python-opd100-example/opd100_loader.py
Line 179 in 93cdad0
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.
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
Can you help us out, with more documentation?
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.