-
Notifications
You must be signed in to change notification settings - Fork 182
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
Can this library work with Omron PLC? #50
Comments
I would say that it probably won't be able to do anything with that PLC. It is for Rockwell PLC's only. Even though the Omron supports CIP, I believe it is intended to do exactly what this library does, read/write tags from a Rockwell PLC, not the other way around. |
Thanks for your time to answer me. However could you please give me some pointers as to what I should be changing in the code to make it work with my Omron PLC. What is the part of the code which if I modify will allow me to send and receive explicit unconnected messages to my PLC? Once again I really appreciate your time. |
It sounds like I could be mistaken and that it may be possible. The only problem is that I have no experience with Omron PLC's and have no access to them, so I'm not sure how I can help. I don't know what configuration (if any) would need to be done on the Omron end. What happens when you try to read something? |
@arorarl Just use modbus TCP/IP. |
you definitely can use it on an nx1p, I'm doing it on an NJ, I'll have to
drum up the code changes later. it involved changing the cip protocols,
manufacturer, that kinda thing.
…On Tue, May 7, 2019 at 10:00 AM Adam ***@***.***> wrote:
@arorarl <https://github.com/arorarl> Just use modbus TCP/IP.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#50 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGKS6TL5MLKMVQTNAXHINV3PUGDQXANCNFSM4HJQPBZA>
.
|
arorarl, did you give it a shot? jaredchestnut, thanks for posting. I'd be curious to see the changes you made. |
I have an Omron NX1P PLC which supports CIP communication. Here is the link to the manual of the controller I am using which states that.
https://www.google.com/url?sa=t&source=web&rct=j&url=https://assets.omron.eu/downloads/manual/en/v2/sysmac_nx_csg320_users_manual_en.pdf&ved=2ahUKEwjl7NC_5PjhAhVFiHAKHf2iCX8QFjAAegQIBhAC&usg=AOvVaw06v95OrpSrpuhi-QEevZqf
Also I have tried using cpppo python library for CIP connection. The github project link is https://github.com/pjkundert/cpppo
I have been able to successfully identify the PLC on the network by using broadcast option using the command
python -m cpppo.server.enip.client --udp --broadcast --list-identity -a 192.168.1.255
This brings me to my question, can I use this module to read my PLC which I believe supports CIP and have evidence for backing it up? Or I am completely wrong and lost :(
If this library supports my PLC, can you help me in someway to create tags for/from the variables that the MAIN program is currently using.
Please help and thanks in advance for your time :)
The text was updated successfully, but these errors were encountered: