Posts: 57
Threads: 19
Joined: Jun 2017
Reputation:
1
15.05.2018, 15:52
(This post was last modified: 15.05.2018, 16:03 by iJAF.)
Hi  !
I have to read aprox. 80 coil registers from each of several equips but I want to read the registers with just 1 request like I do with INT values.
I have tried with the following example (test with 4 variables) but it doesn't work !
(For reading holding registers this way works fine)
Any ideas?
Code: 123456 { "name": "Test1", "bus_datatype": "1", "type": "coil", "datatype": "bool", "address": 0, "writable": 0, "read_count": 4, "read_offset": 0, "read_swap": "n" },
{ "name": "Test2", "bus_datatype": "1", "type": "coil", "datatype": "bool", "address": 0, "writable": 0, "read_count": 4, "read_offset": 1, "read_swap": "n" },
{ "name": "Test3", "bus_datatype": "1", "type": "coil", "datatype": "bool", "address": 0, "writable": 0, "read_count": 4, "read_offset": 2, "read_swap": "n" },
{ "name": "Test4", "bus_datatype": "1", "type": "coil", "datatype": "bool", "address": 0, "writable": 0, "read_count": 4, "read_offset": 3, "read_swap": "n" }
(...)
Posts: 942
Threads: 161
Joined: Jul 2015
Reputation:
33
15.05.2018, 20:21
(This post was last modified: 15.05.2018, 20:22 by buuuudzik.)
Please change address and try again. And what is the current result? What you have in Logs, Errors, Alerts?
And here you have some post about limits:
https://forum.logicmachine.net/showthread.php?tid=1278
Done is better than perfect
Posts: 8071
Threads: 43
Joined: Jun 2015
Reputation:
470
Multiple read for coils is not supported yet, we'll look into adding it to next firmware.
Posts: 57
Threads: 19
Joined: Jun 2017
Reputation:
1
16.05.2018, 10:00
(This post was last modified: 16.05.2018, 10:02 by iJAF.)
(15.05.2018, 20:21)buuuudzik Wrote: Please change address and try again. And what is the current result? What you have in Logs, Errors, Alerts?
And here you have some post about limits:
https://forum.logicmachine.net/showthread.php?tid=1278
Which address ?
What happens with the 4 variables I have posted is that they have the same value (from the modbus address 0).
(16.05.2018, 06:15)admin Wrote: Multiple read for coils is not supported yet, we'll look into adding it to next firmware.
Okay, thank you.
It will be a very very important feature to have.
Posts: 57
Threads: 19
Joined: Jun 2017
Reputation:
1
(16.05.2018, 06:15)admin Wrote: Multiple read for coils is not supported yet, we'll look into adding it to next firmware.
Hi,
Is there any news about this feature ?
I'm testing a SL with FW 2.4.0 and is still not supported :\
Thank you
Posts: 1793
Threads: 6
Joined: Jul 2015
Reputation:
120
25.11.2020, 22:22
(This post was last modified: 25.11.2020, 22:22 by Erwin van der Zwart.)
There is already much newer FW for SL, try using 2.5.1
Posts: 4936
Threads: 28
Joined: Aug 2017
Reputation:
225
This was never implemented, we are doing it right now.
------------------------------
Ctrl+F5
|