Logic Machine Forum
[Profile] Modbus Read Multiple Coils - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10)
+--- Thread: [Profile] Modbus Read Multiple Coils (/showthread.php?tid=1395)



[Profile] Modbus Read Multiple Coils - iJAF - 15.05.2018

HiĀ  Cool !

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:
{"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" }

(...)



RE: [Profile] Modbus Read Multiple Coils - buuuudzik - 15.05.2018

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


RE: [Profile] Modbus Read Multiple Coils - admin - 16.05.2018

Multiple read for coils is not supported yet, we'll look into adding it to next firmware.


RE: [Profile] Modbus Read Multiple Coils - iJAF - 16.05.2018

(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.


RE: [Profile] Modbus Read Multiple Coils - iJAF - 24.11.2020

(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


RE: [Profile] Modbus Read Multiple Coils - Erwin van der Zwart - 25.11.2020

There is already much newer FW for SL, try using 2.5.1


RE: [Profile] Modbus Read Multiple Coils - Daniel - 26.11.2020

This was never implemented, we are doing it right now.