Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RS485 ON A16
#1
Hello everyone,

I recently bought a Kincony A16 card with the aim of making it work in RS485 with this Waveshare gateway :
https://www.amazon.fr/dp/B09LQMH2S1?ref=...title&th=1

I control this gateway from a Loxone Miniserver, however I can't really understand the Kincony Modbus register table :
https://kincony.com/forum/attachment.php?aid=2240

The loxone page for modbus communication :
https://www.loxone.com/frfr/kb/communication-modbus/

RS485 transmission is enabled in the A16 and gateway parameters.

I need the I/O address and the register type.

Could someone tell me the requests to send to enable / disable an output and get state of digital / analog input on A16 please ?

Thanks in advance for your help, Tom
Reply
#2
here is KCS firmware modbus protocol document: https://www.kincony.com/forum/showthread.php?tid=2528
the register address begin with 0, you can check with protocol.
if you integrate to Loxone Miniserver, suggest use our new controller F16 or B16M, it's very easy for integration by UDP command, they support KCS v3.
here is Loxone integration online guide: https://www.kincony.com/forum/showthread.php?tid=7264
Reply
#3
Hello, I have been trying to start modbus communication between kincony A16 and EastronSDM630 (https://www.eastroneurope.com/products/v...m630modbus) via rs485 using espHome for some time, according to the documentation the registers are identical to kincony. 

Log file shows: [17:53:08][D][modbus_controller:040]: Modbus command to device=1 register=0x64 no response received - removed from send queue

I would like to ask if I have something wrong in the .yaml file:

esphome:
  name: md01-kc868-a16-gar
  friendly_name: md01-kc868-a16-GAR

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "************************************"

###################################
ota:
  - platform: esphome
    password: "*********************************"

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

# Optional manual IP
  manual_ip:
    static_ip: 192.168.88.21
    gateway: 192.168.88.1
    subnet: 255.255.255.0 
     
####################################

uart:
  id: mod_bus
  tx_pin: 13
  rx_pin: 16
  baud_rate: 9600
  stop_bits: 1
  parity: EVEN

modbus:
  id: modbus1
  uart_id: mod_bus

modbus_controller:
  - id: a24
    address: 0x01
    modbus_id: modbus1
    setup_priority: -10
    update_interval: 5s 

####################################

sensor:

  - platform: modbus_controller
    modbus_controller_id: a24
    name: "Voltage"
    id: modbus_voltage
    register_type: holding
    address: 0x64
    unit_of_measurement: "V"
    value_type: FP32
    accuracy_decimals: 2
Reply
#4
Hello, 
I have been trying to start modbus communication between KinCony A16 and Eastron SDM630 (https://www.eastroneurope.com/products/v...m630modbus) via rs485 using espHome for some time, according to the documentation the registers are identical to KinCony Energy Meter RS485 Modbus RTU Monitor

Log shows me: [17:53:08][D][modbus_controller:040]: Modbus command to device=1 register=0x64 no response received - removed from send queue

I would like to ask if I have something wrong in the .yaml file:

esphome:
  name: md01-kc868-a16-gar
  friendly_name: md01-kc868-a16-GAR

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "************************************"

###################################
ota:
  - platform: esphome
    password: "*********************************"

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

# Optional manual IP
  manual_ip:
    static_ip: 192.168.88.21
    gateway: 192.168.88.1
    subnet: 255.255.255.0 
     
####################################

uart:
  id: mod_bus
  tx_pin: 13
  rx_pin: 16
  baud_rate: 9600
  stop_bits: 1
  parity: EVEN

modbus:
  id: modbus1
  uart_id: mod_bus

modbus_controller:
  - id: a24
    address: 0x01
    modbus_id: modbus1
    setup_priority: -10
    update_interval: 5s 

####################################

sensor:

  - platform: modbus_controller
    modbus_controller_id: a24
    name: "Voltage"
    id: modbus_voltage
    register_type: holding
    address: 0x64
    unit_of_measurement: "V"
    value_type: FP32
    accuracy_decimals: 2
Reply
#5
don't post one questions multi times, your question already repied in another thread.
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)