{"action":"reopened","issue":{"url":"https://api.github.com/repos/cmseaton42/node-ethernet-ip/issues/5","repository_url":"https://api.github.com/repos/cmseaton42/node-ethernet-ip","labels_url":"https://api.github.com/repos/cmseaton42/node-ethernet-ip/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/cmseaton42/node-ethernet-ip/issues/5/comments","events_url":"https://api.github.com/repos/cmseaton42/node-ethernet-ip/issues/5/events","html_url":"https://github.com/cmseaton42/node-ethernet-ip/issues/5","id":309022642,"number":5,"title":"Unable to read from Control Logix PLC","user":{"login":"MattCost","id":34634607,"avatar_url":"https://avatars0.githubusercontent.com/u/34634607?v=4","gravatar_id":"","url":"https://api.github.com/users/MattCost","html_url":"https://github.com/MattCost","followers_url":"https://api.github.com/users/MattCost/followers","following_url":"https://api.github.com/users/MattCost/following{/other_user}","gists_url":"https://api.github.com/users/MattCost/gists{/gist_id}","starred_url":"https://api.github.com/users/MattCost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MattCost/subscriptions","organizations_url":"https://api.github.com/users/MattCost/orgs","repos_url":"https://api.github.com/users/MattCost/repos","events_url":"https://api.github.com/users/MattCost/events{/privacy}","received_events_url":"https://api.github.com/users/MattCost/received_events","type":"User","site_admin":false},"labels":[{"id":808856141,"url":"https://api.github.com/repos/cmseaton42/node-ethernet-ip/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":{"login":"patrickjmcd","id":2488848,"avatar_url":"https://avatars1.githubusercontent.com/u/2488848?v=4","gravatar_id":"","url":"https://api.github.com/users/patrickjmcd","html_url":"https://github.com/patrickjmcd","followers_url":"https://api.github.com/users/patrickjmcd/followers","following_url":"https://api.github.com/users/patrickjmcd/following{/other_user}","gists_url":"https://api.github.com/users/patrickjmcd/gists{/gist_id}","starred_url":"https://api.github.com/users/patrickjmcd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrickjmcd/subscriptions","organizations_url":"https://api.github.com/users/patrickjmcd/orgs","repos_url":"https://api.github.com/users/patrickjmcd/repos","events_url":"https://api.github.com/users/patrickjmcd/events{/privacy}","received_events_url":"https://api.github.com/users/patrickjmcd/received_events","type":"User","site_admin":false},"assignees":[{"login":"patrickjmcd","id":2488848,"avatar_url":"https://avatars1.githubusercontent.com/u/2488848?v=4","gravatar_id":"","url":"https://api.github.com/users/patrickjmcd","html_url":"https://github.com/patrickjmcd","followers_url":"https://api.github.com/users/patrickjmcd/followers","following_url":"https://api.github.com/users/patrickjmcd/following{/other_user}","gists_url":"https://api.github.com/users/patrickjmcd/gists{/gist_id}","starred_url":"https://api.github.com/users/patrickjmcd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrickjmcd/subscriptions","organizations_url":"https://api.github.com/users/patrickjmcd/orgs","repos_url":"https://api.github.com/users/patrickjmcd/repos","events_url":"https://api.github.com/users/patrickjmcd/events{/privacy}","received_events_url":"https://api.github.com/users/patrickjmcd/received_events","type":"User","site_admin":false},{"login":"cmseaton42","id":18745936,"avatar_url":"https://avatars2.githubusercontent.com/u/18745936?v=4","gravatar_id":"","url":"https://api.github.com/users/cmseaton42","html_url":"https://github.com/cmseaton42","followers_url":"https://api.github.com/users/cmseaton42/followers","following_url":"https://api.github.com/users/cmseaton42/following{/other_user}","gists_url":"https://api.github.com/users/cmseaton42/gists{/gist_id}","starred_url":"https://api.github.com/users/cmseaton42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmseaton42/subscriptions","organizations_url":"https://api.github.com/users/cmseaton42/orgs","repos_url":"https://api.github.com/users/cmseaton42/repos","events_url":"https://api.github.com/users/cmseaton42/events{/privacy}","received_events_url":"https://api.github.com/users/cmseaton42/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2018-03-27T15:35:55Z","updated_at":"2018-03-27T17:13:51Z","closed_at":null,"author_association":"NONE","body":"<!--- Provide a general summary of the issue in the Title above -->\r\nUnable to read anything from a control logic PLC.\r\nUnable to display controller properties, unable to read a tag value.\r\n\r\n## Current Behavior\r\n<!--- If describing a bug, tell us what happens instead of the expected behavior -->\r\n<!--- If suggesting a change/improvement, explain the difference from current behavior -->\r\nWhen connecting to PLC, an UnhandledPromiseRejectionWarning is given.\r\nI am able to ping the PLCs IP. (EN2TR card) I am able to go online with Studio 5000 programming software. \r\nPLC is in Run mode.\r\n\r\n## Expected Behavior\r\n<!--- If you're describing a bug, tell us what should happen -->\r\n<!--- If you're suggesting a change/improvement, tell us how it should work -->\r\nConnection to PLC should complete, and plc properties would be written to console\r\n\r\n## Steps to Reproduce\r\n<!--- Provide a link to a live example, or an unambiguous set of steps to -->\r\n<!--- reproduce this bug. Include code to reproduce, if relevant -->\r\n1. Download current version of Node and install. node-v9.9.0-x64 \r\n2. Create a project directory and install node-ethernet-ip (\"npm install ethernet-ip --save\")\r\n3. Create plc01.js file with sample connection code\r\n4. Run node plc01.js\r\n5. Receive error on console\r\n\r\n## Your Environment\r\n<!--- Include as many relevant details about the environment you experienced the bug in -->\r\n* Package version (Use `npm list` - e.g. *1.0.6*):\r\nethernet-ip@1.1.0\r\ndateformat@3.0.3\r\n* Node Version (Use `node --version` - e.g. *9.8.0*):\r\nv9.9.0\r\n* Operating System and version:\r\nWindows 7 - SP1 - x64\r\n* Controller Type (eg 1756-L83E/B):\r\n1756-L75\r\n* Controller Firmware (eg 30.11):\r\n28.012\r\n\r\n4 slot rack, plc is in slot 0. EN2TR cards in slot 1 and slot 2. Slot 3 is open.\r\n\r\n\r\n## Error output\r\n(node:14792) UnhandledPromiseRejectionWarning: #<Object>\r\n(node:14792) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)\r\n(node:14792) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.\r\n\r\n## Test Code\r\n```js\r\nconst { Controller } = require(\"ethernet-ip\");\r\nconst PLC = new Controller();\r\n// Controller.connect(IP_ADDR[, SLOT])\r\n// NOTE: SLOT = 0 (default) - 0 if CompactLogix\r\nPLC.connect(\"10.115.45.55\", 0).then(() => {\r\n console.log(\"Connected to PLC!\");\r\n console.log(PLC.properties);\r\n});\r\n```"}}
{"actor":{"display_login":"cmseaton42"}}