{"action":"created","issue":{"url":"https://api.github.com/repos/steveohara/j2mod/issues/70","repository_url":"https://api.github.com/repos/steveohara/j2mod","labels_url":"https://api.github.com/repos/steveohara/j2mod/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/steveohara/j2mod/issues/70/comments","events_url":"https://api.github.com/repos/steveohara/j2mod/issues/70/events","html_url":"https://github.com/steveohara/j2mod/issues/70","id":312894801,"number":70,"title":"Multiple reads of the same function code","user":{"login":"orensharon","id":5690478,"avatar_url":"https://avatars3.githubusercontent.com/u/5690478?v=4","gravatar_id":"","url":"https://api.github.com/users/orensharon","html_url":"https://github.com/orensharon","followers_url":"https://api.github.com/users/orensharon/followers","following_url":"https://api.github.com/users/orensharon/following{/other_user}","gists_url":"https://api.github.com/users/orensharon/gists{/gist_id}","starred_url":"https://api.github.com/users/orensharon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orensharon/subscriptions","organizations_url":"https://api.github.com/users/orensharon/orgs","repos_url":"https://api.github.com/users/orensharon/repos","events_url":"https://api.github.com/users/orensharon/events{/privacy}","received_events_url":"https://api.github.com/users/orensharon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-10T12:11:02Z","updated_at":"2018-04-10T12:41:43Z","closed_at":null,"author_association":"NONE","body":"The registers on my device as following:\r\n* Holding registers: ref: 0, length 18\r\n* Holding registers: ref: 100, length 18\r\n* Holding registers: ref: 200, length 1\r\n\r\nI can't read it in 1 read request because the protocol limit is 125 registers per request.\r\nWhen I'm trying to read like this:\r\n```\r\nregisters = master.readMultipleRegisters(1, 0, 18);\r\nregisters = master.readMultipleRegisters(1,100, 0);\r\n```\r\nSomething is not correct, I got delays between the reads.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/steveohara/j2mod/issues/comments/380084173","html_url":"https://github.com/steveohara/j2mod/issues/70#issuecomment-380084173","issue_url":"https://api.github.com/repos/steveohara/j2mod/issues/70","id":380084173,"user":{"login":"steveohara","id":977963,"avatar_url":"https://avatars3.githubusercontent.com/u/977963?v=4","gravatar_id":"","url":"https://api.github.com/users/steveohara","html_url":"https://github.com/steveohara","followers_url":"https://api.github.com/users/steveohara/followers","following_url":"https://api.github.com/users/steveohara/following{/other_user}","gists_url":"https://api.github.com/users/steveohara/gists{/gist_id}","starred_url":"https://api.github.com/users/steveohara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveohara/subscriptions","organizations_url":"https://api.github.com/users/steveohara/orgs","repos_url":"https://api.github.com/users/steveohara/repos","events_url":"https://api.github.com/users/steveohara/events{/privacy}","received_events_url":"https://api.github.com/users/steveohara/received_events","type":"User","site_admin":false},"created_at":"2018-04-10T12:41:43Z","updated_at":"2018-04-10T12:41:43Z","author_association":"OWNER","body":"There isn't anything wrong with what you're doing except the obvious issue that you have specified a register count of zero in the second example.\r\n\r\nWhat type of transaction are you using? (serial, TCP, RTU over TCP)\r\n\r\nWhen you say \"there are delays between read\" I don't understand what you mean. Are you saying that each subsequent request after the first is delayed before sending?\r\n\r\nIf you are using a serial transaction, are you setting a transaction delay with setTransDelayMS"}}
{"actor":{"display_login":"steveohara"}}