Git Product home page Git Product logo

Comments (6)

clavay avatar clavay commented on May 22, 2024

Hello,

Could you provide your code with explanation to see how it works ?
After this we can see how to integrate it.
Maybe you can look at the visa code which is simpler.

Did you use this : https://bitbucket.org/vladimirek/omronlib/src/master/plcPyLib/
or this : https://bitbucket.org/jryan/finsgit/src/master/fins/

Cheers,
clavay

from pyscada.

rickyelopez avatar rickyelopez commented on May 22, 2024

Hello,

The code I am using is a modification of https://bitbucket.org/jryan/finsgit/src/master/fins/ done by Stefano Fraccaro. Unfortunately, the site his code is on has since been taken down, however, I've attached the python file here, along with a test file that I know works for my Omron NX1P2.

I haven't looked at the VISA code, I've been basing my modifications on the Modbus code, however, I'll take a look.

Any suggestions you can provide would be very helpful, thanks!

fins_udp.zip

from pyscada.

clavay avatar clavay commented on May 22, 2024

Hi,

You can use the scripting plugin to easily execute your script.

If you want to create your own plugin for this protocol, I think you can copy the visa part, defining the model, the admin part and look how device.py use the handlers which are in the devices folder and put your script and functions in one handler for your model.

@trombastic what do you think ?

from pyscada.

rickyelopez avatar rickyelopez commented on May 22, 2024

Hello,

Thank you, I will look into both avenues and update this issue when I have results.

Thanks!

from pyscada.

clavay avatar clavay commented on May 22, 2024

Did you try it ?

from pyscada.

rickyelopez avatar rickyelopez commented on May 22, 2024

@clavay haha the internship for which I was working on this ended over a year ago. I don't think we ended up pursuing this due to unrelated issues, though.

from pyscada.

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.