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

Connecting to Productivity PLC via pycomm #46

Open
benhuckell opened this issue Jul 19, 2018 · 2 comments
Open

Connecting to Productivity PLC via pycomm #46

benhuckell opened this issue Jul 19, 2018 · 2 comments

Comments

@benhuckell
Copy link

I'm trying to connect to a productivity plc with pycomm using the TCP/IP Protocol using the following code:

from pycomm.ab_comm.slc import Driver as SlcDriver
c = SlcDriver()
c.open("[MY IP ADDRESS]")

I keep getting "[Errno 111] Connection Refused".

My first question is whether or not I can use pycomm for the productivity PLC. Is the pycomm library only good for Alley Bradley PLC's?
If it is only good for AB PLC's, is there another module such as cpppo or pymodbus that would be better suited for this application?

@ruscito
Copy link
Owner

ruscito commented Jul 20, 2018

Is productivity PLC Ethernet/IP based?

@benhuckell
Copy link
Author

benhuckell commented Jul 20, 2018

Yes it is ethernet/ip based. I am currently able to ping the plc and I have solved the "connection refused" problem, however I am still unable to access any of the tags for reading/writing.

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

No branches or pull requests

2 participants