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 TCP Profile
#1
Hi,

Are offsets applied to write function when you define them on the profile? 

It seems that using the code below it reads from holding register 6 but writes on register 0...



Code:
       {"name": "Test_Register",
    "bus_datatype": "int16",
    "type": "register",
    "datatype": "int16",
    "address": 0,
    "read_offset": 6,
    "read_count": 20,
    "bus_address": "33/1/7",    
    "writable": 1,
    "value_delta": 1,
    "value_multiplier": 1,
    "units": "",    
    },

We need to read using blocks and on this blocks there are some writable registers...
Is there any way to solve it?



Thanks.
Reply


Messages In This Thread
Modbus TCP Profile - by jmir - 26.03.2021, 16:47
RE: Modbus TCP Profile - by Daniel - 26.03.2021, 17:13
RE: Modbus TCP Profile - by jmir - 26.03.2021, 21:05
RE: Modbus TCP Profile - by Daniel - 27.03.2021, 11:16
RE: Modbus TCP Profile - by jmir - 27.03.2021, 17:47
RE: Modbus TCP Profile - by admin - 29.03.2021, 06:35
RE: Modbus TCP Profile - by jmir - 29.03.2021, 06:54

Forum Jump: