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 register write command
#9
(06.09.2023, 07:49)Daniel Wrote: All grp.getvalue objects in this scripts are inputs and they must have the TAG added.  Later under Scripting, create event script which will be trigerred by this TAG you just created on input objects.
PS. bit mask write is supported on modbus profile now.
Hi Daniel,
With profile daiking DTA116, i just write On/off AC 1-00, set temp & Feedback Set temp, Room Temp and Mode operator, But i can't write fan speed & fan director because it is the same address with ON/OFF function, When i write value "1" Low level  ( fan speed) then AC 1-00 On, auto value "0" (fan
speed) then AC1-00 Off, so how i fix this problem. 

{
"manufacturer":"daikin",
"description":"Integration of Daikin Air Conditioners",
"mapping":[
{"name":"IDU1-00_On/Off","bus_datatype":"bool","datatype":"uint16","type":"register","address":2000,"writable": true,"value_bitmask": 0x1,"value_custom": {"0": "OFF", "1": "ON"}},
{"name":"IDU1-00_On/Off_FB","bus_datatype":"bool","datatype":"uint16","type":"inputregister","address":2000,"value_bitmask": 0x1,"value_custom": {"0": "OFF", "1": "ON"}},
{"name":"IDU1-00_Mode","bus_datatype":"5","datatype":"uint8","type":"register","address":2001,"writable": true,"value_bitmask": 0xF,"value_custom": {"0": "Fan", "2": "Cooling", "7": "Dry"}},
{"name":"IDU1-00_Mode_FB","bus_datatype":"5","datatype":"uint8","type":"inputregister","address":2001,"value_bitmask": 0xF,"value_custom": {"0": "Fan", "2": "Cooling", "7": "Dry"}},
{"name":"IDU1-00_Fan","bus_datatype":"5","datatype":"uint8","type":"register","address":2000,"writable": true,"value_bitmask": 0x7000,"value_custom": {"0": "Auto", "1": "Low", "3": "Mid", "5": "High"} },
{"name":"IDU1-00_Fan_FB","bus_datatype":"5","datatype":"uint8","type":"inputregister","address":2000,"value_bitmask": 0x7000,"value_custom": {"0": "Auto", "1": "Low", "3": "Mid", "5": "High"} },
{"name":"IDU1-00_SetTemp","bus_datatype":"9","datatype":"uint16","type":"register","address":2002,"writable": true, "value_multiplier": 0.1,"units": "°C" },
{"name":"IDU1-00_SetTemp_FB","bus_datatype":"9","datatype":"uint16","type":"inputregister","address":2002, "value_multiplier": 0.1, "units": "°C" },
{"name":"IDU1-00_RoomTemp_FB","bus_datatype":"9","datatype":"float16","type":"inputregister","address":2004, "value_multiplier": 10, "units": "°C" },
{"name":"IDU1-00_Fan director","bus_datatype":"5","datatype":"uint8","type":"register","address":2000,"writable": true,"value_bitmask": 0x700,"value_custom": {"0": "P0", "4": "P4", "7": "Swing on" } },
{"name":"IDU1-00_Fan director_FB","bus_datatype":"5","datatype":"uint8","type":"inputregister","address":2000,"value_bitmask": 0x700,"value_custom": {"0": "P0", "4": "P4", "7": "Swing on" } }
]
}
Reply


Messages In This Thread
Modbus register write command - by kcw - 12.02.2020, 07:47
RE: Modbus register write command - by Daniel - 12.02.2020, 08:14
RE: Modbus register write command - by admin - 12.02.2020, 08:15
RE: Modbus register write command - by kcw - 12.02.2020, 10:07
RE: Modbus register write command - by Rajesh - 13.04.2022, 07:27
RE: Modbus register write command - by Daniel - 13.04.2022, 07:48
RE: Modbus register write command - by Daniel - 06.09.2023, 07:49
RE: Modbus register write command - by Votrungtin - 17.05.2024, 18:28
RE: Modbus register write command - by admin - 20.05.2024, 07:29

Forum Jump: