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.

setup modbus tcp slave
#7
You don't need to change IP on LM side, script will automatically use whichever IP LM has. Port is set to 502 and no slave id is used by default, this can be adjusted as needed.

Coils are boolean values, so for temperature you need to use registers. You need to adjust regdt table, but keep in mind that float16 is KNX-specific data type and your Modbus master might not support it. Instead, you can use int16 value with a certain precision, either x10 or x100. For this, you need a simple script which multiplies float16 value and writes to int16 object.
Reply


Messages In This Thread
setup modbus tcp slave - by Patrik1985 - 12.02.2018, 07:24
RE: setup modbus tcp slave - by Daniel - 12.02.2018, 09:31
RE: setup modbus tcp slave - by Patrik1985 - 12.02.2018, 09:50
RE: setup modbus tcp slave - by Daniel - 12.02.2018, 10:13
RE: setup modbus tcp slave - by admin - 12.02.2018, 10:32
RE: setup modbus tcp slave - by Patrik1985 - 12.02.2018, 11:18
RE: setup modbus tcp slave - by admin - 12.02.2018, 12:17
RE: setup modbus tcp slave - by Patrik1985 - 12.02.2018, 12:59
RE: setup modbus tcp slave - by admin - 12.02.2018, 13:01
RE: setup modbus tcp slave - by Patrik1985 - 12.02.2018, 13:16
RE: setup modbus tcp slave - by Daniel - 12.02.2018, 13:28
RE: setup modbus tcp slave - by Patrik1985 - 13.02.2018, 09:29
RE: setup modbus tcp slave - by Patrik1985 - 13.02.2018, 11:25
RE: setup modbus tcp slave - by Daniel - 13.02.2018, 11:31
RE: setup modbus tcp slave - by Patrik1985 - 13.02.2018, 11:39
RE: setup modbus tcp slave - by Daniel - 13.02.2018, 11:42
RE: setup modbus tcp slave - by Patrik1985 - 13.02.2018, 13:36
RE: setup modbus tcp slave - by buuuudzik - 01.03.2018, 08:05
RE: setup modbus tcp slave - by admin - 01.03.2018, 08:20
RE: setup modbus tcp slave - by buuuudzik - 01.03.2018, 08:45
RE: setup modbus tcp slave - by admin - 01.03.2018, 11:11
RE: setup modbus tcp slave - by fabiorusco - 07.05.2018, 10:28
RE: setup modbus tcp slave - by admin - 07.05.2018, 11:30
RE: setup modbus tcp slave - by fabiorusco - 09.05.2018, 08:12
RE: setup modbus tcp slave - by admin - 09.05.2018, 08:30
RE: setup modbus tcp slave - by fabiorusco - 09.05.2018, 17:28

Forum Jump: