Skip to content
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

Closed
arorarl opened this issue Apr 30, 2019 · 6 comments
Closed

Can this library work with Omron PLC? #50

arorarl opened this issue Apr 30, 2019 · 6 comments
Labels

Comments

@arorarl
Copy link

arorarl commented Apr 30, 2019

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 :)

@dmroeder
Copy link
Owner

dmroeder commented May 1, 2019

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.

@arorarl
Copy link
Author

arorarl commented May 1, 2019

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.

@dmroeder
Copy link
Owner

dmroeder commented May 1, 2019

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?

@xinthose
Copy link

xinthose commented May 7, 2019

@arorarl Just use modbus TCP/IP.

@jaredchesnut
Copy link

jaredchesnut commented May 8, 2019 via email

@dmroeder
Copy link
Owner

arorarl, did you give it a shot?

jaredchestnut, thanks for posting. I'd be curious to see the changes you made.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants