17.05.2024, 18:28
(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.Hi Daniel,
PS. bit mask write is supported on modbus profile now.
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" } }
]
}