{"action":"opened","issue":{"url":"https://api.github.com/repos/pjkundert/cpppo/issues/8","labels_url":"https://api.github.com/repos/pjkundert/cpppo/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/pjkundert/cpppo/issues/8/comments","events_url":"https://api.github.com/repos/pjkundert/cpppo/issues/8/events","html_url":"https://github.com/pjkundert/cpppo/issues/8","id":109100702,"number":8,"title":"Unable to read the same tag from two different computers","user":{"login":"metallo25","id":3528191,"avatar_url":"https://avatars.githubusercontent.com/u/3528191?v=3","gravatar_id":"","url":"https://api.github.com/users/metallo25","html_url":"https://github.com/metallo25","followers_url":"https://api.github.com/users/metallo25/followers","following_url":"https://api.github.com/users/metallo25/following{/other_user}","gists_url":"https://api.github.com/users/metallo25/gists{/gist_id}","starred_url":"https://api.github.com/users/metallo25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metallo25/subscriptions","organizations_url":"https://api.github.com/users/metallo25/orgs","repos_url":"https://api.github.com/users/metallo25/repos","events_url":"https://api.github.com/users/metallo25/events{/privacy}","received_events_url":"https://api.github.com/users/metallo25/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-30T14:15:44Z","updated_at":"2015-09-30T14:15:44Z","closed_at":null,"body":"Hello,\r\nI am trying to read a tag on a Allen Bradley PLC. I was able to read the tags from Linux PC and there was no issue with that.\r\n\r\nAn other computer, tried to read the same tag and which made the other computer not being able to read it and vice versa.\r\n\r\nThis the snippet of the code, I am using on both of these computers.\r\n\r\ndef read_cip(tag, plc_ip_address):\t\r\n\ttry:\t    \t    \r\n\t\twith client.connector( host= plc_ip_address) as conn:\r\n\t\t\treq = conn.read(tag)\r\n\t\t\ttry:\r\n\t\t\t\tassert conn.readable( timeout=0.1 ), \"Failed to receive reply\"\r\n\t\t\t\trpy = next(conn)\t\r\n\t\t\texcept AssertionError:\t\r\n\t\t\t\tprint \"Need more time!!\"\t\r\n\t\t\treturn rpy.enip.CIP.send_data.CPF.item[1].unconnected_send.request.read_frag.data[0]\r\n\r\n\texcept socket.error:\r\n\t       print \"Wrong ip or network error\"\r\n\r\n\r\n\r\n\r\nplease share your thoughts on this. "}}