This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Modbus profiles write_delay
#1
Hi, I've seen that recently you have added a "write_delay" field.
Is it possible to use this modbus package on 20230607 firmware?

Thanks.
Reply
#2
This feature has not been tested yet. But you can try at your own risk if you want.

https://dl.openrb.com/pkg/genohm-scada-m...7_imx6.ipk
https://dl.openrb.com/pkg/genohm-scada-m...7_imx6.sig

Install through System config > System > Packages > Add package. Reboot LM after installation.
Reply
#3
(20.06.2024, 11:28)admin Wrote: This feature has not been tested yet. But you can try at your own risk if you want.

https://dl.openrb.com/pkg/genohm-scada-m...7_imx6.ipk
https://dl.openrb.com/pkg/genohm-scada-m...7_imx6.sig

Install through System config > System > Packages > Add package. Reboot LM after installation.

Hi I've tried but it seems that write doesn't work...
Reply
#4
Anything in the Modbus logs or Error logs?
Reply
#5
(21.06.2024, 13:53)admin Wrote: Anything in the Modbus logs or Error logs?

Code:
/lib/genohm-scada/plugins/modbus/daemon.lua:0: attempt to index a nil value
Reply
#6
We'll take a look and publish an update next week.
Reply
#7
(21.06.2024, 13:58)admin Wrote: We'll take a look and publish an update next week.

Ok thanks!
Reply
#8
Use this package, write_ delay works here
https://dl.openrb.com/pkg/genohm-scada-m...1_imx6.ipk
https://dl.openrb.com/pkg/genohm-scada-m...1_imx6.sig
------------------------------
Ctrl+F5
Reply
#9
(24.06.2024, 09:53)Daniel Wrote: Use this package, write_ delay works here
https://dl.openrb.com/pkg/genohm-scada-m...1_imx6.ipk
https://dl.openrb.com/pkg/genohm-scada-m...1_imx6.sig

Hi I've tested and it works!
How are writes managed? I've seen that dependig on the value set in poll time, only one write is done at the end of each poll...

Thanks.
Reply
#10
Writes can only happen between poll cycles. Polling cycle for a single device cannot be interrupted by a write operation.
You should adjust the poll interval so the bus is not completely occupied by reading.
Reply
#11
(25.06.2024, 09:01)admin Wrote: Writes can only happen between poll cycles. Polling cycle for a single device cannot be interrupted by a write operation.
You should adjust the poll interval so the bus is not completely occupied by reading.

Ok understood. Thanks!
Reply


Forum Jump: