Hello pylon,
The bigger problem is that the library is so bad
.
That´s true
I think the modbus serial is finished, but modbus TCP isn´t.
I cannot find any documentation for your heating system regarding the modbus interface.
See, attachment ETAtouch_modbusTcp.pdf. I got this file per e-mail from the manufacturer.
What ID does it use? Where do you have the register addresses from?
You find it in the pdf page from 4, 2.3 Register assigment. ETA modbus adresses start from 1000 to 65000.
I guess the problem is that you connect your network using a switch and not a hub. With a switch you don't see any traffic not originating from or targeting your PC. With a smart switch you can define your PC's port as a mirroring port to see all traffic but most cheap switches don't have this option.
Oh sorry, you´re right. I use a WLAN Access Point with 4 Lan-Ports. It works like a switch :-(.
The answer you got from the heating system looks like it doesn't really support the ModBus protocol.
No, it works. Because with the PC I get the data. See attachment, Wireshark_Aufnahme.pcapng.
And the Arduino query
(00.01.00.00.00.06.01.03.03.E8.00.06)
are the complete Modbus/TCP bytes in the TCP sequement of the ethernet frame. What is with the Ethernet header, IP header, TCP header and Ethernet trailer? See, galil-presentation-the-evolution-of-ethernet-in-motion-and-io-control-webinar-17-638.jpg
Can I send the complete hex data like
client.write(0x00, 0x24, 0x96, 0x01, 0xb8, 0x20, 0x00, 0x16,
0xd3, 0xce, 0x19, 0x63, 0x08, 0x00, 0x45, 0x00,
0x00, 0x34, 0x03, 0xcc, 0x40, 0x00, 0x80, 0x06,
0x11, 0x66, 0xc0, 0xa8, 0xb2, 0x0a, 0xc0, 0xa8,
0xb2, 0x36, 0xc0, 0x81, 0x01, 0xf6, 0x04, 0x88,
0xe3, 0xc1, 0x9a, 0x19, 0x84, 0x22, 0x50, 0x18,
0x3f, 0x86, 0xbc, 0x43, 0x00, 0x00, 0x00, 0x70,
0x00, 0x00, 0x00, 0x06, 0x01, 0x03, 0x03, 0xe8,
0x00, 0x06)
and I create/build the telegramm on my own?
Just increase the Modbus/TCP Transaction Identifier "0x00, 0x70", then I change the IP-Adresses from 192.168.178.10 "0xc0, 0xa8, 0xb2, 0x0a" to 192.168.178.12 maybe I have to adjust/include the CRC Check from the Transmission Control Protocol.
Thanks for helping 
ETAtouch_modbusTcp.pdf (282 KB)
