-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add FINS/UDP functionality for Omron PLCs? #31
Comments
Hello, Could you provide your code with explanation to see how it works ? Did you use this : https://bitbucket.org/vladimirek/omronlib/src/master/plcPyLib/ Cheers, |
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! |
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 ? |
Hello, Thank you, I will look into both avenues and update this issue when I have results. Thanks! |
Did you try it ? |
@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. |
I already have Python code that allows me to communicate with NX series (and probably others) PLCs over Ethernet/IP (but really FINS/UDP if I understand correctly).
With that code, how much work do you think it would be to add that functionality here? I started looking around your Modbus integration, but I'm not sure how much of it would be required for FINS because the protocol seems to be simpler.
I can provide more detail obviously just not sure what you need. If you can give me a direction to start in, I might be able to take a stab at implementing it myself and making a PR.
Thanks!
The text was updated successfully, but these errors were encountered: