Posts: 1
Threads: 1
Joined: Nov 2024
Reputation:
0
11-18-2024, 03:26 AM
For control boards model KC868-A16I, I came across a problem and would like your help, I need to implement the MODBUS TCP PROTOCOL VIA ETHERNET (CHIP LAN8720A with ESP32) IN SLAVE MODE, so that supervisory systems can communicate with the board produced by you.
I need a programming code library (with example) for the ARDUINO IDE that performs this communication.
I only found MODBUS libraries for the W5500 and ENC 28J60 CHIPS.
Please, can anyone help me???
Posts: 5
Threads: 0
Joined: Dec 2025
Reputation:
0
Hello!
I purchased a KC868-A16 board and installed the firmware KCS_KC868_A16_V2.2.18.
I configured Modbus RTU and successfully achieved both reading and writing. Everything works perfectly.
Now I need to access the KC868-A16 using Modbus TCP for reading and writing parameters from an external Master.
My question is: Does the mentioned firmware have this capability, or should this task be solved differently?
Could you please advise me on how to proceed?
Please be gentle, as I'm new to this. Some things are not entirely clear to me, and English is not my native language.
Thank you in advance!
Posts: 9,151
Threads: 1,204
Joined: Oct 2020
Reputation:
237
KC868-A16 use by KCS v2 firmware , only support RS485 modbus .
KC868-A16v3 use by KCS v3 firmware, support RS485 modbus and TCP modbus.
Posts: 5
Threads: 0
Joined: Dec 2025
Reputation:
0
Good afternoon!
Please tell me which function and which register numbers/addresses should I read to obtain the temperature and humidity values of the DHT11, DHT22, and DS18B20 sensors?
Posts: 9,151
Threads: 1,204
Joined: Oct 2020
Reputation:
237
Temperature Threshold can set to 0.1
Humidity Threshold can set to 1
that means when value difference will auto update to mqtt message.