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.

LM Modbus Integration with Daikin D3 Net
#1
We are trying to connect Daikin Split AC (17 no's) to Logic machine. We have a Daiken D3 Gateway which has a Modbus port. Each AC unit has 5 no's input registers, example - 32001 (On Off Status), 32002 (Operation Mode Status) to 32005 (Room Temperature) and 3 no's holding registers, example - 42001 (On Off), 42002 (Operation Mode) to 42003 (Temperature Setpoint).

Daikin has confirmed that we should poll only 10 Modbus registers at a time (so that there is no delay).
We need a script which can read 10 registers at a time. The next 10 registers should be read with a delay of 3-4 secs.

All Daikin split ACs are wired on a two-wire bus in loop-in, loop-out manner (like a BUS & not star architecture). At the end of the BUS there is a gateway called D3 from Daikin.

Attached Files Thumbnail(s)
   
.xlsx   Copy_of_Dr._Achit_Rao_kurnool.xlsx (Size: 27.84 KB / Downloads: 3)
Reply
#2
You can add read_delay to the profile and it will wait  as much as you specify. To read 10 registers at once use block read, see this
https://forum.logicmachine.net/showthrea...9#pid30319
https://forum.logicmachine.net/showthrea...8#pid19268
------------------------------
Ctrl+F5
Reply
#3
Reading multiple registers can also be done via a script. Use mbproxy as suggested earlier.
Code:
-- read 10 registers starting with address 5374
res = { mb:readregisters(5374, 10) }

-- read ok
if res[ 1 ] then
  log(res)
end
Reply
#4
There is a 404 error for the links shared.
Reply
#5
I corrected the links but my solution will not work, forgot that read_delay max value is 1s, use script as Admin suggested
------------------------------
Ctrl+F5
Reply


Forum Jump: