![]() |
|
Modbus CRC mistake - Printable Version +- Smart Home Automation Forum (https://www.kincony.com/forum) +-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=1) +--- Forum: Development (https://www.kincony.com/forum/forumdisplay.php?fid=4) +--- Thread: Modbus CRC mistake (/showthread.php?tid=7370) |
RE: Modbus CRC mistake - jltluc57 - 01-19-2025 Here, RE: Modbus CRC mistake - admin - 01-19-2025 for example, if you want turn ON output1,output3, others all off send:01 0F 00 00 00 10 00 05 BF 01 receive:01 0F 02 00 00 BB 14 note about the "send" command: 01: address 0F: functon code 00 00: address 00 fixed 00 10: because KC868-A16 have 16 channel output, so it's 0x10 00 05: means OUTPUT1, OUTPUT3: ON, others: OFF BF 01: CRC RE: Modbus CRC mistake - jltluc57 - 01-21-2025 Ok, it works for you. but for me it is not the modbus standard, the "ByCout" byte is missing I have been using my software for over 20 years and it works with all PLCs. Here is an example with a Twido PLC SLave :1 Cf : F Adress : 0 0 Nb : 8 BYTE Count : 1 CRC : BE D5 RE: Modbus CRC mistake - admin - 01-21-2025 can you let your software output command remove "BYTE Count"? it MUST need included. RE: Modbus CRC mistake - jltluc57 - 01-25-2025 Hello By going outside the Modbus standard, without the Bycout, it works. So I can't use this product with (CF15) on products that respect the standard like Schneider PLCs. RE: Modbus CRC mistake - admin - 01-26-2025 If you make bulk purchases, you can design a new firmware about it based on KC868-A16v3 new PCB. RE: Modbus CRC mistake - jltluc57 - 01-26-2025 I don't understand well. With the new card I can modify the firmware of the card (your firmware) to adapt the protocol? Or you can modify it for me? RE: Modbus CRC mistake - admin - 01-26-2025 my means, if you order new board at a large number in future, we can modify the firmware. RE: Modbus CRC mistake - jltluc57 - 01-27-2025 Ok Thanks RE: Modbus CRC mistake - jltluc57 - 02-01-2025 I have a problem with the CF15 Can you try to write 8 bits (output 0-7) when I do this, in fact it writes on outputs 8-15 Or you always have to work with 2 bytes so output 0-15 |