ruscito / pycomm

pycomm is a package that includes a collection of modules used to communicate with PLCs
MIT License
140 stars 85 forks source link

reading or writing to a tag that does not exist closes the connection #31

Open wpmccormick opened 7 years ago

wpmccormick commented 7 years ago

It looks like reading or writing to a tag that does not exist throws a CommError, which appears to close the connection. Is this correct behavior? A more robust approach might be to throw a DataError and leave the connection alone.