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 profile mapping vs script
#3
You cannot read more than 125 registers (250 bytes) at once, this is defined in modbus standard.

In the profile you can specify read_count / read_offset fields to read a large block at once. For each register within the same block read_count and address fields must be the same, read_offset tells where the actual data is stored (final address = base address + read_offset).

When using luamodbus directly it will do one read with the specified length.
Reply


Messages In This Thread
Modbus profile mapping vs script - by Andey - 19.11.2020, 10:14
RE: Modbus profile mapping vs script - by admin - 19.11.2020, 10:21

Forum Jump: