Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 9,558
» Latest member: ad889com
» Forum threads: 4,183
» Forum posts: 20,807

Full Statistics

Online Users
There are currently 55 online users.
» 0 Member(s) | 42 Guest(s)
Amazonbot, Baidu, Crawl, DataForSeoBot, Google, PetalBot, bot

Latest Threads
K868-a32 plastic case
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
3 hours ago
» Replies: 3
» Views: 1,170
CT Clamp Compatibility
Forum: KC868-M16 / M1 / MB / M30
Last Post: admin
Yesterday, 10:32 PM
» Replies: 10
» Views: 1,625
KinCony F8 + ESPHome: Una...
Forum: F8
Last Post: admin
08-08-2026, 11:51 PM
» Replies: 6
» Views: 74
How to get started
Forum: KC868-A16
Last Post: admin
08-07-2026, 11:42 PM
» Replies: 39
» Views: 9,627
Questions on the B4M
Forum: B4M
Last Post: admin
08-07-2026, 11:19 PM
» Replies: 3
» Views: 197
cannot see KC868-A6 in ro...
Forum: "KCS" v2 firmware system
Last Post: admin
08-07-2026, 09:59 AM
» Replies: 7
» Views: 277
CAN-BUS Transceiver
Forum: T16M
Last Post: admin
08-07-2026, 09:57 AM
» Replies: 1
» Views: 10
N60 configure yaml for ES...
Forum: N60
Last Post: chuyskywalker
08-06-2026, 07:18 AM
» Replies: 5
» Views: 1,781
KC868-A16
Forum: "KCS" v2 firmware system
Last Post: 5310h
08-05-2026, 09:40 PM
» Replies: 9
» Views: 3,021
KC868-A16 UART pins
Forum: KC868-A series and Uair Smart Controller
Last Post: meowdokugame
08-04-2026, 07:40 AM
» Replies: 2
» Views: 604

  [Bug] A16v3 (v3.24.3) - Write Single Coil (FC05) Modbus standard violation
Posted by: dponyatov - 04-20-2026, 10:06 AM - Forum: "KCS" v3 firmware - Replies (2)

- Firmware Version: v3.24.3 (Build Date: Apr 12 2026)
- Hardware: A16v3
- Communication: Modbus RTU (RS485)

## Description:

I have encountered an issue regarding the implementation of Modbus Function Code 05 (Write Single Coil).

According to the official Modbus specification, to turn a coil ON, the data field must send FF00. To turn it OFF, the data field must send 0000. However, my A16v3 running firmware v3.24.3 does not seem to accept this standard.

## Observed Behavior:

The device expects (or only responds to) a "bit-encoded" state in the data field. For example:

Instead of FF 00, the device expects 01 00 (or similar bit masks) to activate the coil.

Instead of 00 00, it expects 00 00.

This behavior is non-standard. It appears the firmware is treating FC05 as if it were a "Mask" or mimicking the data structure of FC15 (Write Multiple Coils) rather than the strict FF00/0000 pattern required by the Modbus standard.

## Steps to Reproduce:

Establish Modbus TCP connection to the device (IP: 10.130.1.43).

Send standard Modbus FC05 frame to any valid coil address (e.g., 00 01):

Standard ON: [Slave ID] 05 [Addr High] [Addr Low] FF 00 [CRC]

Standard OFF: [Slave ID] 05 [Addr High] [Addr Low] 00 00 [CRC]

Observe that the coil state does not change (or the device returns an exception/incorrect response).

Send a modified frame using bit-encoded data (e.g., 01 00 for ON).

Observe that the coil toggles successfully.

## Expected Behavior:

The device should strictly adhere to the Modbus specification for Function Code 05, using FF00 for ON and 0000 for OFF.

## Questions / Requests:

- Is this a known issue in v3.24.3?

-Is there a configuration flag in the Web UI (e.g., "Strict Mode," "Legacy Mode," or "Compatibility Mode") that can switch the device to standard Modbus compliance?

-If not, is this planned to be fixed in a future firmware update?

## Additional Context:

Software Version: v3.24.3

Build Date: Apr 12 2026

I am using a standard Modbus master software (PLC/SCADA) that strictly adheres to the FF00 standard, so I cannot easily modify the protocol structure on the master side.

Print this item

  KCS update and ARM CPU update
Posted by: HolyKirka - 04-20-2026, 08:01 AM - Forum: N30 - Replies (2)

Hello.

I want to upgrade my N30 (KCS v3.15.0) with KCS v3.24.3
Do I need to make new ARM CPU update firmware (support 0.001kwh now https://www.kincony.com/forum/showthread.php?tid=9107) before or not? Or KCS update is enougth?

Best Regards.

Print this item

  KC868-A16v3 Smart Controller Wiring Examples
Posted by: admin - 04-20-2026, 07:31 AM - Forum: KC868-A16v3 - No Replies

   

Print this item

  KC868-A16v3 Smart Controller ESP32 system block diagram
Posted by: admin - 04-20-2026, 07:31 AM - Forum: KC868-A16v3 - No Replies

   

Print this item

  T128M Smart Controller Wiring Examples
Posted by: admin - 04-20-2026, 06:27 AM - Forum: T128M - No Replies

   

Print this item

  T64M Smart Controller Wiring Examples
Posted by: admin - 04-20-2026, 05:38 AM - Forum: T64M - No Replies

   

Print this item

  T128M Smart Controller ESP32 system block diagram
Posted by: admin - 04-20-2026, 05:34 AM - Forum: T128M - No Replies

   

Print this item

  T64M Smart Controller ESP32 system block diagram
Posted by: admin - 04-20-2026, 05:34 AM - Forum: T64M - No Replies

   

Print this item

  T32M Smart Controller Wiring Examples
Posted by: admin - 04-20-2026, 05:32 AM - Forum: T32M - No Replies

   

Print this item

  T32M Smart Controller ESP32 system block diagram
Posted by: admin - 04-20-2026, 05:31 AM - Forum: T32M - No Replies

   

Print this item