Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
16 channels through esphome modbus communication.
#1
I am currently trying to connect a controller with 16 channels through esphome modbus communication.

https://esphome.io/components/modbus_controller.html

Tried with this example but failed.

uart:
  id: mod_bus
  tx_pin: 17
  rx_pin: 16
  baud_rate: 115200
  stop_bits: 1

Are the tx and rx pin numbers correct?

What part should I edit?
I really need your help.
We are preparing a plant factory, so if this succeeds, we plan to continue ordering 16-channel boards in the future.

to be able to help
Load the controller Modbus sheet.


http://www.koreadigital.com/pages/sensec...load_1.pdf
Reply
#2
do you want to use KC868-A16 or KC868-E16S by RS485 modubs? can't use ethernet cable? ethernet will be easier than modbus config. now i just want to know, whether need MUST modbus?
Reply
#3
(08-08-2022, 11:34 AM)admin Wrote: do you want to use KC868-A16 or KC868-E16S by RS485 modubs? can't use ethernet cable? ethernet will be easier than modbus config. now i just want to know, whether need MUST modbus?

1.do you want to use KC868-A16 or KC868-E16S by RS485 modubs?   

1.I am using KC868-A16.


2.can't use ethernet cable? ethernet will be easier than modbus config.   


2.This is an environment where Ethernet cables cannot be used.
Is it not possible with wifi???
Ethernet and Could you please tell me the two methods of wifi?


3 now i just want to know, whether need MUST modbus?

Yes, I need this communication.

please give me direction
Reply
#4
if you can't use ethernet, i suggest you use wifi, it's easy.
in our A16 ESPHome config file, you just need delete the ethernet config content, replace with your wifi router's ssid and password, such as add these text:

wifi:
ssid: "KinCony"
password: "a12345678"
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)