{"id":28275,"date":"2024-07-02T12:35:50","date_gmt":"2024-07-02T04:35:50","guid":{"rendered":"https:\/\/www.modbus.cn\/?post_type=product&#038;p=28275"},"modified":"2025-11-24T11:49:04","modified_gmt":"2025-11-24T03:49:04","slug":"knxmodbus","status":"publish","type":"product","link":"https:\/\/www.modbus.cn\/en\/product\/28275.html","title":{"rendered":"KNX\u8f6cMODBUS\u4e3b\u4ece\/RS485\/RS232 \u4efb\u610f\u6307\u4ee4\u4e92\u8f6c\u6362\u6a21\u5757"},"content":{"rendered":"<p><strong>\u529f\u80fd\u7b80\u8ff0\uff1a <\/strong><\/p>\n<p>\u4e00\u6b3e\u652f\u6301 KNX &lt;-&gt; MODBUS\u4e3b\u4ece \/RS485\/RS232 \u4efb\u610f\u6307\u4ee4\uff08\u6700\u957f 24byte\uff09\u76f8 \u4e92\u8f6c\u6362\u7684\u6a21\u5757<\/p>\n<p><strong>\u9009\u578b\u5efa\u8bae\uff1a <\/strong><\/p>\n<p>\u5e7f\u6cdb\u9002\u7528\u4e8e\u667a\u80fd\u697c\u5b87\uff0c\u667a\u80fd\u519c\u4e1a\uff0c\u667a\u80fd\u5c55\u9986\uff0c\u529e\u516c\u697c\u80fd\u6e90\u7ba1\u7406\uff0c\u667a\u80fd\u94f6\u884c\u7ba1\u7406\uff0c \u667a\u6167\u533b\u9662\uff0c\u7269\u8054\u7f51\u5b66\u6821\uff0c\u673a\u573a\u7ba1\u7406\uff0c\u535a\u7269\u9986\u5c55\u793a\uff0c\u673a\u623f\u52a8\u6001\u73af\u5883\u76d1\u63a7\u7b49\u6709\u7269\u8054 \u7f51\u96c6\u63a7\u91c7\u96c6\u76d1\u63a7\u9700\u6c42\u7684\u7528\u6237\uff0c\u4e5f\u9002\u7528\u4e8e\u5f31\u7535\u96c6\u6210\u5546\uff0c\u697c\u5b87\u96c6\u6210\u5546\u7b49\u4e13\u4e1a\u4eba\u58eb\u4f7f\u7528\u3002<\/p>\n<p><strong>\u4ea7\u54c1\u7279\u70b9\uff1a<\/strong><\/p>\n<p>1\u3001ETS \u914d\u7f6e\u754c\u9762\u3002<\/p>\n<p>2\u3001KNX \u603b\u7ebf\u76f4\u63a5\u4f9b\u7535\u3002<\/p>\n<p>3\u3001\u652f\u6301 KNX &lt;-&gt; MODBUS \u4e3b\u673a\u6216\u8005\u4ece\u673a\u6a21\u5f0f \u76f8\u4e92\u8f6c\u6362\uff0c\u6700\u5927\u652f\u6301 500 \u4e2a\u5bc4 \u5b58\u5668\u3002\u652f\u6301\u4efb\u610fbit \u957f\u5ea6\u53d6\u503c\u8f6c\u6362\uff08\u6700\u957f 16bit\uff09\u3002\u652f\u6301\u540c\u65f6\u914d\u7f6e\u591a\u4e2a\u76f8\u540c \u5bc4\u5b58\u5668\u3002\u4ec5\u652f\u6301 0x03\uff0c0x04\uff0c0x06\uff0c0x10 \u6307\u4ee4\u3002<\/p>\n<p>4\u3001\u652f\u6301 KNX &lt;-&gt; RS485 \u4efb\u610f\u6307\u4ee4\uff08\u6700\u957f 24byte\uff09\u76f8\u4e92\u8f6c\u6362\uff0c\u8f6c\u6362\u503c\u53ef\u4ee5\u56fa \u5b9a\uff0c\u4e5f\u53ef\u4ee5\u662f\u8ddf\u968f 485 \u6307\u4ee4\u5185\u6570\u636e\u3002\u6700\u5927\u652f\u6301 100 \u4e2a\u6307\u4ee4\u3002 5\u3001\u652f\u6301 KNX &lt;-&gt; RS232 \u4efb\u610f\u6307\u4ee4\uff08\u6700\u957f 24byte\uff09\u76f8\u4e92\u8f6c\u6362\uff0c\u8f6c\u6362\u503c\u53ef\u4ee5\u56fa \u5b9a\uff0c\u4e5f\u53ef\u4ee5\u662f\u8ddf\u968f 232 \u6307\u4ee4\u5185\u6570\u636e\u3002\u6700\u5927\u652f\u6301 100 \u4e2a\u6307\u4ee4\u3002 6\u3001\u652f\u6301 100 \u7ec4\u903b\u8f91\u8f93\u5165\u8f93\u51fa\uff0c\u529f\u80fd\u5305\u62ec\uff0c\u5ef6\u8fdf\u548c 2-point \u903b\u8f91\u63a7\u5236\u8f93\u51fa\u3002<\/p>\n<h2><span style=\"color: #ff0000;\"><strong>Modbus\u4f7f\u7528\u65b9\u6cd5<\/strong><\/span><\/h2>\n<p><strong>Modbus \u901a\u8baf\u53c2\u6570\u914d\u7f6e<\/strong><\/p>\n<p><strong><span style=\"color: #0000ff;\">\u2460 Bps for modbus\uff1a<\/span><\/strong>\u8bbe\u7f6e\u901a\u8baf\u6ce2\u7279\u7387\uff0c\u652f\u6301 2400\u30019600\u300119200\u300138400\u3001 56000\u3001115200\u3001128000\u3001256000\u3002<\/p>\n<p><strong><span style=\"color: #0000ff;\"> \u2461<\/span> <span style=\"color: #0000ff;\">Modbus \u4e3b\u4ece\u6a21\u5f0f\u9009\u62e9\uff1a<\/span><\/strong>Slave mode\uff1a\u4ece\u673a\u6a21\u5f0f\uff0cHost mode\uff1a\u4e3b\u673a\u6a21\u5f0f\u3002<\/p>\n<p><strong><span style=\"color: #0000ff;\">\u2462<\/span> <span style=\"color: #0000ff;\">Modbus \u5730\u5740\uff08\u5341\u8fdb\u5236\uff09\uff1a<\/span><\/strong> modbus \u4ece\u673a\u6a21\u5f0f\u4e0b\u672c\u673a\u7684\u5730\u5740\u8bbe\u7f6e\u3002<\/p>\n<p><strong><span style=\"color: #0000ff;\">\u2463\uff08\u4ec5\u4e3b\u673a\uff09\u4e3b\u673a\u6a21\u5f0f\u8bfb\u5199\u8d85\u65f6\uff08*100ms\uff09\uff1a<\/span><\/strong>\u4e3b\u673a\u6a21\u5f0f\u4e0b\uff0c\u8bfb\u53d6\u4ece\u673a\u8bbe\u5907\u65f6\u5019\uff0c \u7b49\u5f85\u4ece\u673a\u56de\u590d\u7684\u8d85\u65f6\u65f6\u95f4\u8bbe\u5b9a\uff0c\u8bbe\u7f6e 5 \u4ee3\u8868 500ms\uff0c\u6700\u5c0f\u4e0d\u80fd\u5c0f\u4e8e 200ms\uff0c \u63a8\u8350 500ms \u4ee5\u4e0a\uff0c\u9ed8\u8ba4 500ms\u3002<\/p>\n<p><img data-dominant-color=\"f5f5f6\" data-has-transparency=\"true\" style=\"--dominant-color: #f5f5f6;\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28280 has-transparency\" src=\"https:\/\/image.modbus.cn\/wp-content\/uploads\/2024\/07\/20240702145600392.png\"  width=\"674\" height=\"244\" ><\/p>\n<p><img data-dominant-color=\"f3f4f4\" data-has-transparency=\"true\" style=\"--dominant-color: #f3f4f4;\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28281 has-transparency\" src=\"https:\/\/image.modbus.cn\/wp-content\/uploads\/2024\/07\/20240702145618637.png\"  width=\"674\" height=\"238\" ><\/p>\n<p><strong>Modbus \u5bc4\u5b58\u5668\u914d\u7f6e<\/strong><\/p>\n<p><strong><span style=\"color: #0000ff;\">\u2460 \u914d\u7f6e\u6ce8\u610f\u4e8b\u9879\uff1a<\/span><\/strong>\u5bc4\u5b58\u5668\u5730\u5740\u5c3d\u91cf\u6309\u7167\u5347\u5e8f\u6392\u5e8f\u914d\u7f6e\uff0c\u4e3b\u673a\u6a21\u5f0f\u4e0b\uff0c\u540c\u4e00\u4e2a\u8bbe \u5907\u7684\u6240\u6709\u5bc4\u5b58\u5668\u653e\u5728\u4e00\u8d77\uff0c\u5e76\u6309\u7167\u5347\u5e8f\u6392\u5217\uff08\u5982\uff1a\u4ece\u673a 1 \u7684\u5bc4\u5b58\u5668 1~10\uff0c \u5bf9\u5e94\u7f51\u5173\u914d\u7f6e\u7684 modbus reg 1 ~modbus reg10\uff09\uff0c\u8fd9\u6837\u914d\u7f6e\uff0c\u7f51\u5173\u5728\u8bfb \u53d6\u4ece\u673a\u5bc4\u5b58\u5668\u7684\u65f6\u5019\uff0c\u4f1a\u4e00\u6b21\u8bfb\u5b8c\uff0c\u800c\u4e0d\u7528\u4e00\u4e2a\u4e2a\u5bc4\u5b58\u5668\u8bfb\u53d6\uff0c\u6548\u7387\u5927\u5927\u63d0 \u9ad8\u3002<\/p>\n<p><strong><span style=\"color: #0000ff;\">\u2461 Enable reg\uff1a<\/span><\/strong>\u6fc0\u6d3b\u8868\u793a\u542f\u7528\uff0c\u4e0d\u6fc0\u6d3b\u8868\u793a\u4e0d\u542f\u7528\u3002<\/p>\n<p><strong><span style=\"color: #0000ff;\">\u2462 \u5907\u6ce8\u540d\u79f0\uff1a<\/span><\/strong>\u53ef\u4ee5\u6839\u636e\u9700\u6c42\uff0c\u6807\u6ce8\u5bc4\u5b58\u5668\u5bf9\u5e94\u7684\u662f\u4ec0\u4e48\u3002<\/p>\n<p><strong><span style=\"color: #0000ff;\">\u2463 \u4ece\u673a\u5730\u5740\uff08\u4ec5\u4e3b\u673a\uff09\uff1a<\/span><\/strong>\u8bbe\u7f6e\u9700\u8981\u8bfb\u53d6\u7684\u4ece\u673a\u7684\u5730\u5740\uff0810\u8fdb\u5236\uff09\u3002<\/p>\n<p><strong><span style=\"color: #0000ff;\">\u2464 Modbus \u5bc4\u5b58\u5668\u5730\u5740\uff1a<\/span><\/strong>10\u8fdb\u5236\u3002<\/p>\n<p><strong><span style=\"color: #0000ff;\">\u2465 \u6570\u636e\u7c7b\u578b\uff08dpt\uff09\uff1a<\/span><\/strong>KNX \u5bf9\u8c61\u7684\u6570\u636e\u7c7b\u578b\u3002<\/p>\n<p><strong><span style=\"color: #0000ff;\">\u2466 Modbus \u5bc4\u5b58\u5668\u7c7b\u578b\uff1a<\/span><\/strong>\u4fdd\u6301\u578b\u5bc4\u5b58\u5668-modbus \u4e3b\u673a\u53ef\u4ee5\u8bfb\u5199\uff0c\u8f93\u5165\u578b\u5bc4 \u5b58\u5668-modbus \u4e3b\u673a\u53ea\u80fd\u8bfb\u53d6\uff0c\u7ebf\u5708\u72b6\u6001-modbus\u4e3b\u673a\u53ef\u4ee5\u8bfb\u5199\u3002<\/p>\n<p><strong><span style=\"color: #0000ff;\">\u2467 \u65f6\u95f4\u95f4\u9694\uff08\u4ec5\u4e3b\u673a\uff09\uff1a<\/span><\/strong>\u4e3b\u673a\u6a21\u5f0f\u4e0b\u8bfb\u53d6\u6bcf\u4e2a\u5bc4\u5b58\u5668\u7684\u65f6\u95f4\u95f4\u9694\uff0c\u9ed8\u8ba4\u8bbe\u7f6e 0\u3002<\/p>\n<p><strong><span style=\"color: #0000ff;\">\u2468 \u6307\u4ee4\u9009\u62e9\uff08\u4ec5\u4e3b\u673a\uff09\uff1a<\/span><\/strong>\u8bfb\u53d6\u5bc4\u5b58\u5668\u7684\u6307\u4ee4\u9009\u62e9\uff0c0X03H\/0X04H\/0X06H\/ 0X10H\/0X01H\/0X02H\/0X05H\/0X0FH.<\/p>\n<p><strong><span style=\"color: #0000ff;\">\u2469 \u5bc4\u5b58\u5668\u4e2a\u6570\uff08\u4ec5\u4e3b\u673a\uff09\uff1a<\/span><\/strong>\u53ef\u4ee5\u9009\u62e9 1\u30012 \u4e24\u4e2a\u5bc4\u5b58\u5668\u4e00\u8d77\u8bfb\u53d6\uff0c\u5408\u5e76\u8d77\u6765\u8f6c \u53d1\u7ed9 KNX\u3002<\/p>\n<p><strong><span style=\"color: #0000ff;\">\u2460\u2460 \u6570\u636e\u683c\u5f0f\uff08\u4ec5\u4e3b\u673a\uff09\uff1a<\/span><\/strong>\u53ef\u4ee5\u9009\u62e9\u9ad8 byte \u5728\u524d\u548c\u9ad8 Byte \u5728\u540e\u7684\u6a21\u5f0f\uff0c\u6839 \u636e\u5177\u4f53\u6570\u636e\u683c\u5f0f\u8fdb\u884c\u8bbe\u7f6e\u3002<\/p>\n<p><strong><span style=\"color: #0000ff;\">\u2460\u2461 \u6bcf\u53d8\u5316\u591a\u5c11\u503c \u5219\u53d1\u9001\u4e00\u6b21\uff1a<\/span><\/strong>\u8bbe\u7f6e0\u8868\u793a\u4e0d\u7ba1\u53d8\u5316\u591a\u5c11\u90fd\u8f6c\u53d1\uff0c\u8bbe\u7f6e1\u8868\u793a \u503c\u53d8\u53161\u7684\u65f6\u5019\u8f6c\u53d1\uff08\u9002\u5408\u5f00\u5173\u91cf\uff09\uff0c\u8bbe\u7f6e10\u8868\u793a\u5728\u5f53\u524d\u503c\u7684\u4e0a\u4e0b\u53d8\u5316\u226510 \u7684\u65f6\u5019\u624d\u8f6c\u53d1\u3002<\/p>\n<p><strong><span style=\"color: #0000ff;\">\u2460\u2462 \u9700\u8981\u8f6c\u6362\u7684 bit\uff1a<\/span><\/strong> \u5c31\u662f\u53d6\u5bc4\u5b58\u5668\u4e2d\u7684\u54ea\u51e0\u4e2a bit \u7684\u503c\uff0c\u8f6c\u53d1\u7ed9 KNX\uff0c\u540c\u6837 KNX\u8f6c\u7ed9 modbus \u5bc4\u5b58\u5668\u4e5f\u662f\u503c\u6539\u53d8\u914d\u7f6e\u7684 bit\uff0c\u5176\u4ed6\u7684 bit \u503c\u4e0d\u53d8\u3002\u5982\u4e0b \u56fe\uff0c\u8bbe\u7f6e\u4e86 1\uff0c\u4ee3\u8868\u5341\u516d\u8fdb\u5236 0x0001\uff0c\u5373\u8f6c\u53d1\u6700\u4f4e\u4f4d\u7684\u6570\u636e\uff0c\u5982\u5bc4\u5b58\u5668\u7684 \u503c\u4e3a 0x1231\uff0cKNX \u5219\u8f6c\u53d1 1\uff0c\u5982\u5bc4\u5b58\u5668\u7684\u503c\u4e3a 0x1230\uff0cKNX \u5219\u8f6c\u53d1 0\u3002 \u8be5\u503c\u9ed8\u8ba4\u662f 65535\uff0c\u5373 0xFFFF\uff0c\u8f6c\u53d1\u6240\u6709 16bit \u7684\u503c\u3002<\/p>\n<p><strong><span style=\"color: #0000ff;\">\u2460\u2463 KNX \u5230 modbus \u7684\u6570\u636e\u8f6c\u6362\uff1a<\/span><\/strong>\u8fd9\u4e2a\u662f\u7528\u4e8e\u5904\u7406\u6570\u636e\u8f6c\u6362\u7684\u500d\u6570\uff0c\u5982\uff1a\u5047 \u8bbe\u8bbe\u7f6e\u7684\u503c\u662f 2\uff0cKNX \u7aef\u63a5\u6536\u5230\u6570\u636e\u662f 5\uff0cmodbus \u5bc4\u5b58\u5668\u7684\u6570\u636e\u662f 10\uff1b \u8d1f\u6570\u4ee3\u8868\u591a\u5c11\u4efd\u4e4b\u4e00\uff0c\u5982-2\uff0c\u63a5\u6536\u5230 KNX \u53d1\u8fc7\u6765\u7684\u503c\u662f 10\uff0c\u90a3\u4e48 modbus \u5bc4\u5b58\u5668\u7684\u6570\u636e\u4e3a 5\u3002 \u5e94\u7528\u573a\u666f\u5982\uff0c\u6e29\u5ea6\u8f6c\u6362\uff0cmodbus \u5927\u90e8\u5206\u6e29\u5ea6\u503c\u7cbe\u786e\u5230 \u5c0f\u6570\u70b9\u540e\u4e00\u4f4d\uff0c\u4f46\u662f KNX \u662f\u7cbe\u786e\u5230\u5c0f\u6570\u70b9\u540e\u4e24\u4f4d\u7684\uff0c\u90a3\u4e48\u4ed6\u4eec\u4e4b\u95f4\u5c31\u5dee\u4e86 10 \u500d\uff0c\u53ef\u4ee5\u8bbe\u7f6e-10\uff0c\u7ea0\u6b63\u6e29\u5ea6\u503c\u3002\u8be5\u503c\u9ed8\u8ba4\u662f 1\uff0c\u539f\u6570\u636e\u8f6c\u53d1\u3002<\/p>\n<p><img data-dominant-color=\"efeff0\" data-has-transparency=\"true\" style=\"--dominant-color: #efeff0;\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28282 has-transparency\" src=\"https:\/\/image.modbus.cn\/wp-content\/uploads\/2024\/07\/20240702145706628.png\"  width=\"692\" height=\"322\" ><\/p>\n<p><img data-dominant-color=\"f1f1f1\" data-has-transparency=\"true\" style=\"--dominant-color: #f1f1f1;\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28283 has-transparency\" src=\"https:\/\/image.modbus.cn\/wp-content\/uploads\/2024\/07\/20240702145721252.png\"  width=\"688\" height=\"398\" ><\/p>\n<h2><span style=\"color: #ff0000;\">RS485\u4f7f\u7528\u65b9\u6cd5<\/span><\/h2>\n<p><strong>RS485\u901a\u8baf\u53c2\u6570\u8bbe\u7f6e<\/strong><\/p>\n<p><strong><span style=\"color: #0000ff;\">\u2460 Bps for modbus\uff1a<\/span><\/strong>\u8bbe\u7f6e RS485 \u603b\u7ebf\u7684\u6ce2\u7279\u7387\u3002<\/p>\n<p><strong><span style=\"color: #0000ff;\">\u2461 Stop bit for RS485\uff1a<\/span><\/strong>\u505c\u6b62\u4f4d\u8bbe\u7f6e\uff0c\u4ec5\u652f\u6301 1bit \u548c 2bit\u3002<\/p>\n<p><span style=\"color: #0000ff;\"><strong>\u2462 Data bit for RS485\uff1a<\/strong><\/span> \u6570\u636e\u4f4d\u8bbe\u5b9a\uff0c\u4ec5\u652f\u6301 8bit \u548c 9bit\u3002<\/p>\n<p><strong><span style=\"color: #0000ff;\">\u2463 Check bit for RS485\uff1a<\/span><\/strong>\u6821\u9a8c\u4f4d\u8bbe\u7f6e\uff0c\u53ea\u652f\u6301\u5947\u6821\u9a8c\u548c\u5076\u6821\u9a8c\u6216\u8005\u4e0d\u6821\u9a8c\u3002<\/p>\n<p><strong><span style=\"color: #0000ff;\">\u2464 Crc \u6821\u9a8c\uff080-\u65e0\u6821\u9a8c\uff09\uff1a<\/span><\/strong>\u63d0\u4f9b\u591a\u627e\u6807\u51c6\u7684 CRC \u6821\u9a8c\u7b97\u6cd5\uff0c\u5e76\u63d0\u4f9b\u9009\u62e9 CRC \u6821\u9a8c\u6e90\u6570\u636e\u7684\u957f\u5ea6\u9009\u62e9\u3002<\/p>\n<p><strong><span style=\"color: #0000ff;\">\u2465 \u4ece\u7b2c\u51e0\u4e2a BYTE \u5f00\u59cb\u8ba1\u7b97 CRC\uff1a<\/span><\/strong>\u8bbe\u7f6e CRC \u7684\u8d77\u59cb\u4f4d\u7f6e\u3002<\/p>\n<p><span style=\"color: #0000ff;\"><strong>\u2466 \u5012\u6570\u7b2c\u51e0 BYTE \u622a\u6b62\u7ed3\u7b97 CRC\uff1a<\/strong><\/span>\u8bbe\u7f6e CRC \u7684\u7ed3\u675f\u4f4d\u7f6e\u3002<\/p>\n<p><span style=\"color: #0000ff;\"><strong>\u2467 \u62a5\u6587\u63a5\u6536\u8d85\u65f6\u65f6\u95f4\uff08N \u4e2a\u5b57\u7b26\u65f6\u95f4\uff09\uff1a<\/strong><\/span>RS485 \u603b\u7ebf\u8bc6\u522b\u4e00\u5e27\u7ed3\u675f\u7684\u65f6\u95f4\uff0c \u4e00\u4e2a\u5b57\u7b26\u7684\u65f6\u95f4*N\u3002<\/p>\n<p><strong><span style=\"color: #0000ff;\">\u2468 RS485 \u603b\u7ebf\u53d1\u9001\u62a5\u6587\u95f4\u9694\uff08.ms\uff09\uff1a<\/span><\/strong>\u672c\u8bbe\u5907\u5f80\u603b\u7ebf\u53d1\u9001\u4e00\u5e27\u62a5\u6587\u7684\u6700\u5c0f\u65f6 \u95f4\u95f4\u9694\u3002<\/p>\n<p><span style=\"color: #0000ff;\"><strong>\u2469 RS485 \u901a\u9053\u6570\u4f7f\u80fd<\/strong><\/span><\/p>\n<p><img data-dominant-color=\"f3f3f3\" data-has-transparency=\"true\" style=\"--dominant-color: #f3f3f3;\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28284 has-transparency\" src=\"https:\/\/image.modbus.cn\/wp-content\/uploads\/2024\/07\/20240702145834838.png\"  width=\"685\" height=\"327\" ><\/p>\n<p><strong>RS485 \u6307\u4ee4\u914d\u7f6e<\/strong><\/p>\n<p><span style=\"color: #0000ff;\"><strong>\u2460 \u5907\u6ce8\u540d\u79f0\uff1a<\/strong><\/span>\u53ef\u4ee5\u6839\u636e\u9700\u6c42\uff0c\u6807\u6ce8\u672c\u6307\u4ee4\u5bf9\u5e94\u7684\u662f\u4ec0\u4e48\u3002<\/p>\n<p><strong><span style=\"color: #0000ff;\">\u2461 KNX \u7684\u6570\u636e\u683c\u5f0f\uff08dpt\uff09\uff1a<\/span><\/strong>KNX \u5bf9\u8c61\u7684\u6570\u636e\u7c7b\u578b\u3002<\/p>\n<p><strong><span style=\"color: #0000ff;\">\u2462 KNX \u63a5\u6536\u5230\u62a5\u6587\u540e\u662f\u5426\u53d1\u9001\u5230 RS485\u3002 <\/span><\/strong><\/p>\n<p><span style=\"color: #0000ff;\"><strong>\u2463 RS485 \u63a5\u6536\u5230\u62a5\u6587\u540e\u662f\u5426\u8f6c\u53d1\u5230 KNX\u3002 <\/strong><\/span><\/p>\n<p><strong><span style=\"color: #0000ff;\">\u2464 \u8f6c\u53d1\u65b9\u5f0f\uff1a<\/span><\/strong>\u63a5\u6536\u5230 RS485 \u603b\u7ebf\u6b63\u786e\u6307\u4ee4\u540e\uff0c\u8f6c\u53d1\u5230 KNX \u7684\u503c\u7684\u9009\u62e9\u3002\u8f6c\u53d1 \u63a5\u6536\u503c\uff0c\u5219\u8f6c\u53d1\u6307\u4ee4\u4e2d\u4f7f\u7528 XX \u66ff\u4ee3\u7684\u4f4d\u7f6e\u7684\u6570\u636e\uff1b\u8f6c\u53d1\u56fa\u5b9a\u503c\uff0cKNX \u4e0a\u53d1 \u9001\u8bbe\u5b9a\u597d\u7684\u503c\u3002<\/p>\n<p><span style=\"color: #0000ff;\"><strong>\u2465 \u6570\u636e\u8f6c\u53d1\u8bbe\u7f6e\uff1a<\/strong><\/span>\u53c2\u8003 Modbus \u5bc4\u5b58\u5668\u914d\u7f6e\u7684\u7b2c\u4e03\u70b9\u3002<\/p>\n<p><span style=\"color: #0000ff;\"><strong>\u2466 \u6307\u4ee4\u5185\u5bb9\uff1a<\/strong><\/span><span style=\"color: #000000;\">\u6307\u4ee4\u662f\u4ee5\u5341\u516d\u8fdb\u5236\u8f93\u5165\uff0c\u6bcf\u4e2a <\/span>byte \u4e4b\u95f4\u4f7f\u7528\u7a7a\u683c\u9694\u5f00\uff0c\u4f7f\u7528\u5b57 \u6bcdXX \u8868\u793a\u9700\u8981\u8f6c\u6362\u5230 KNX \u7684\u6570\u636e\uff0c\u6240\u6709\u7684\u6307\u4ee4\u5185\u5bb9\u90fd\u4e0d\u533a\u5206\u5927\u5c0f\u5199\u3002<\/p>\n<p><img data-dominant-color=\"f0f1f1\" data-has-transparency=\"true\" style=\"--dominant-color: #f0f1f1;\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28285 has-transparency\" src=\"https:\/\/image.modbus.cn\/wp-content\/uploads\/2024\/07\/20240702145948955.png\"  width=\"675\" height=\"300\" ><\/p>\n<h2><span style=\"color: #ff0000;\">RS232\u4f7f\u7528\u65b9\u6cd5<\/span><\/h2>\n<p><span style=\"color: #ff0000;\">RS232\u7684\u914d\u7f6e\u8ddfRS485\u4e00\u6837<\/span><\/p>\n<p><img data-dominant-color=\"f1f1f1\" data-has-transparency=\"true\" style=\"--dominant-color: #f1f1f1;\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28286 has-transparency\" src=\"https:\/\/image.modbus.cn\/wp-content\/uploads\/2024\/07\/20240702150107208.png\"  width=\"676\" height=\"301\" ><\/p>\n<h2><span style=\"color: #ff0000;\">Functions \u914d\u7f6e<\/span><\/h2>\n<p><strong>\u5168\u5c40\u914d\u7f6e<\/strong><\/p>\n<p><span style=\"color: #0000ff;\"><strong>\u2460 \u901a\u9053\u6570\u91cf<\/strong><\/span>\uff1a\u6700\u5927 100 \u4e2a\u3002<\/p>\n<p><img data-dominant-color=\"f9fafa\" data-has-transparency=\"true\" style=\"--dominant-color: #f9fafa;\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28287 has-transparency\" src=\"https:\/\/image.modbus.cn\/wp-content\/uploads\/2024\/07\/20240702150202896.png\"  width=\"678\" height=\"269\" ><\/p>\n<p><strong>Fun \u53c2\u6570\u914d\u7f6e<\/strong><\/p>\n<p><strong><span style=\"color: #0000ff;\">\u2460 \u4f7f\u80fd\u5f53\u524d\u7684 function \u529f\u80fd\u3002<\/span><\/strong><\/p>\n<p><span style=\"color: #0000ff;\"><strong> \u2461 \u529f\u80fd\u9009\u62e9\uff1a<\/strong><\/span>Delay \u529f\u80fd\u63d0\u4f9b\u5ef6\u8fdf\u53d1\u9001\u7684\u529f\u80fd\uff0c2-point logic \u529f\u80fd\u63d0\u4f9b\u7b80\u5355 \u76842\u70b9\u63a7\u5236\u903b\u8f91\uff08\u9ad8\u4e8e\u8bbe\u5b9a\u70b9 A \u89e6\u53d1\u4e00\u4e2a\u64cd\u4f5c\uff0c\u4f4e\u4e8e\u8bbe\u5b9a\u70b9 B \u89e6\u53d1\u53e6\u4e00\u4e2a\u64cd \u4f5c\uff09\u3002<\/p>\n<p><span style=\"color: #0000ff;\"><strong>\u2462 \u5bf9\u8c61 dpt\uff1a<\/strong><\/span>\u914d\u7f6e\u9700\u8981\u7684\u6570\u636e\u7c7b\u578b\u3002<\/p>\n<p><strong><span style=\"color: #0000ff;\">\u2463 \uff08Delay\uff09\u5ef6\u8fdf\uff08\u79d2\uff09\uff1a<\/span><\/strong>0 \u4ee3\u8868\u4e0d\u5ef6\u8fdf\uff0c0~255\u3002<\/p>\n<p><span style=\"color: #0000ff;\"><strong>\u2464 \uff08Delay\uff09\u5ef6\u8fdf\uff08\u6beb\u79d2\uff09\uff1a<\/strong><\/span>0 \u4ee3\u8868\u4e0d\u5ef6\u8fdf\uff0c0-255\u3002<\/p>\n<p><span style=\"color: #0000ff;\"><strong>\u2465 \uff082-point\uff09\u9ad8\u9608\u503c\u8bbe\u5b9a\uff1a<\/strong><\/span>\u5f53\u8f93\u5165\u503c\u9ad8\u4e8e\u8be5\u8bbe\u5b9a\u503c\u65f6\u5019\uff0c\u5ef6\u8fdf\u8bbe\u5b9a\u7684\u65f6\u95f4\u540e\uff0c \u53d1\u9001\u9ad8\u4e8e\u9ad8\u9608\u503c\u65f6\u53d1\u9001\u7684\u503c \u53c2\u6570\u8bbe\u5b9a\u7684\u503c\u3002<\/p>\n<p><span style=\"color: #0000ff;\"><strong>\u2466 \uff082-point\uff09\u4f4e\u9608\u503c\u8bbe\u5b9a\uff1a<\/strong><\/span>\u5f53\u8f93\u5165\u503c\u9ad8\u4e8e\u8be5\u8bbe\u5b9a\u503c\u65f6\u5019\uff0c\u5ef6\u8fdf\u8bbe\u5b9a\u7684\u65f6\u95f4\u540e\uff0c \u53d1\u9001\u4f4e\u4e8e\u4f4e\u9608\u503c\u65f6\u53d1\u9001\u7684\u503c \u53c2\u6570\u8bbe\u5b9a\u7684\u503c\u3002<\/p>\n<p><span style=\"color: #0000ff;\"><strong>\u2467 \uff082-point\uff09Out.\u5bf9\u8c61 dpt\uff1a<\/strong><\/span>\u63a7\u5236\u8f93\u51fa\u5bf9\u8c61\u7684\u6570\u636e\u683c\u5f0f\uff1a<\/p>\n<p><span style=\"color: #0000ff;\"><strong>\u2468 \uff082-point\uff09\u9ad8\u4e8e\u9ad8\u9608\u503c\u65f6\u53d1\u9001\u7684\u503c\uff1a <\/strong><\/span><\/p>\n<p><span style=\"color: #0000ff;\"><strong>\u2469 \uff082-point\uff09\u4f4e\u4e8e\u4f4e\u9608\u503c\u65f6\u53d1\u9001\u7684\u503c\uff1a <\/strong><\/span><\/p>\n<p><span style=\"color: #0000ff;\"><strong>\u2460\u2460 \uff082-point\uff09\u5ef6\u8fdf\u65f6\u95f4\uff08.min\uff09\uff1a<\/strong><\/span>\u5ef6\u8fdf\u8f93\u51fa\u7684\u65f6\u95f4\u8bbe\u5b9a\uff0c\u5355\u4f4d\u5206\u949f\u3002<\/p>\n<p><span style=\"color: #0000ff;\"><strong> \u2460\u2461 \uff082-point\uff09\u5ef6\u8fdf\u65f6\u95f4\uff08.sec\uff09\uff1a<\/strong><\/span>\u5ef6\u8fdf\u8f93\u51fa\u7684\u65f6\u95f4\u8bbe\u5b9a\uff0c\u5355\u4f4d\u79d2\u3002<\/p>\n<p><span style=\"color: #0000ff;\"><strong> \u2460\u2462 \u6ce8\u610f\uff1a<\/strong><\/span>\u5f53\u8f93\u5165\u503c\u9ad8\u4e8e\u9ad8\u9608\u503c\u7684\u65f6\u5019\uff0c\u5728\u5ef6\u8fdf\u65f6\u95f4\u5185\u518d\u6b21\u6536\u5230\u4f4e\u4e8e\u9ad8\u9608\u503c\u7684 \u503c\uff0c\u5219\u4f1a\u53d6\u6d88\u53d1\u9001\u3002\u4f4e\u4e8e\u4f4e\u9608\u503c\u7684\u65f6\u5019\u529f\u80fd\u4e00\u6837\u3002<\/p>\n<p><img data-dominant-color=\"f7f8f8\" data-has-transparency=\"true\" style=\"--dominant-color: #f7f8f8;\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28288 has-transparency\" src=\"https:\/\/image.modbus.cn\/wp-content\/uploads\/2024\/07\/20240702150236317.png\"  width=\"680\" height=\"199\" ><\/p>\n<p><img data-dominant-color=\"f6f6f7\" data-has-transparency=\"true\" style=\"--dominant-color: #f6f6f7;\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28289 has-transparency\" src=\"https:\/\/image.modbus.cn\/wp-content\/uploads\/2024\/07\/20240702150250926.png\"  width=\"680\" height=\"306\" ><\/p>\n<h2><span style=\"color: #ff0000;\">\u793a\u4f8b\u6559\u7a0b<\/span><\/h2>\n<p><strong>RS485\/RS232 \u8f6c KNX<\/strong><\/p>\n<p>\u2460 \u8f6c\u53d1\u56fa\u5b9a\u503c\uff1a\u8bbe\u7f6eRS485\/RS232\u901a\u90532\u7684\u7fa4\u7ec4\u5730\u5740\u4e3a1\/0\/4\uff0c\u8bbe\u7f6e\u901a\u90532\u7684\u5341 \u516d\u8fdb\u5236\u6307\u4ee4\u4e3a 0x12345678\uff0c\u8f6c\u6362\u5668\u63a5\u6536\u5230 RS485\/RS232 \u53d1\u8fc7\u6765\u7684\u62a5\u6587\u4e3a 0x12345678 \u65f6\u5019\uff0c\u5411KNX \u7aef\u7fa4\u7ec4\u5730\u5740 1\/0\/4 \u53d1\u9001 50 \u7684\u503c\u3002<\/p>\n<p><img data-dominant-color=\"f5f5f5\" data-has-transparency=\"true\" style=\"--dominant-color: #f5f5f5;\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28290 has-transparency\" src=\"https:\/\/image.modbus.cn\/wp-content\/uploads\/2024\/07\/20240702150920391.png\"  width=\"683\" height=\"280\" ><\/p>\n<p><img data-dominant-color=\"f1f1f2\" data-has-transparency=\"true\" style=\"--dominant-color: #f1f1f2;\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28291 has-transparency\" src=\"https:\/\/image.modbus.cn\/wp-content\/uploads\/2024\/07\/20240702150934362.png\"  width=\"683\" height=\"203\" ><\/p>\n<p><img data-dominant-color=\"efedec\" data-has-transparency=\"true\" style=\"--dominant-color: #efedec;\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28292 has-transparency\" src=\"https:\/\/image.modbus.cn\/wp-content\/uploads\/2024\/07\/20240702151037486.png\"  width=\"691\" height=\"265\" ><\/p>\n<p>\u2461 \u4e5f\u53ef\u4ee5\u662f\u8f6c\u53d1\u63a5\u6536\u5230\u7684\u6307\u4ee4\u7684\u5176\u4e2d\u4e00\u4e2a\u503c\uff1a\u4f7f\u7528 xx \u6765\u8868\u793a\u9700\u8981\u8f6c\u53d1\u7684\u503c\u3002 \u8bbe\u7f6e\u901a\u90531\u7684\u7fa4\u7ec4\u5730\u5740\u4e3a1\/0\/5\uff0c\u8bbe\u7f6e\u901a\u90531\u7684\u6307\u4ee4\u5185\u5bb9\u4e3a0Xabcdefxx12\uff0c \u8f6c\u6362\u5668\u63a5\u6536\u5230RS485\/RS232 \u53d1\u8fc7\u6765\u7684\u62a5\u6587\u4e3a 0xabcdef0812 \u7684\u65f6\u5019\uff0cKNX \u7aef\u5bf9\u5e94\u7684\u5730\u5740 1\/0\/5\uff0c\u4f1a\u628a xx \u4f4d\u7f6e\u768408 \u8f6c\u53d1\u8fc7\u6765\u3002<\/p>\n<p><img data-dominant-color=\"f2f2f2\" data-has-transparency=\"true\" style=\"--dominant-color: #f2f2f2;\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28293 has-transparency\" src=\"https:\/\/image.modbus.cn\/wp-content\/uploads\/2024\/07\/20240702151057727.png\"  width=\"673\" height=\"290\" ><\/p>\n<p><img data-dominant-color=\"f0f1f2\" data-has-transparency=\"true\" style=\"--dominant-color: #f0f1f2;\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28294 has-transparency\" src=\"https:\/\/image.modbus.cn\/wp-content\/uploads\/2024\/07\/20240702151111508.png\"  width=\"679\" height=\"178\" ><\/p>\n<p><img data-dominant-color=\"ebebea\" data-has-transparency=\"true\" style=\"--dominant-color: #ebebea;\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28295 has-transparency\" src=\"https:\/\/image.modbus.cn\/wp-content\/uploads\/2024\/07\/20240702151128723.png\"  width=\"678\" height=\"207\" ><\/p>\n<p><strong>MODBUS \u8f6c KNX<\/strong><\/p>\n<p>\u2460 \u8bbe\u7f6eModbus\u4e3a\u4ece\u673a\u6a21\u5f0f\uff0c\u5c06Modbus\u901a\u90531\u7684\u7fa4\u7ec4\u5730\u5740\u8bbe\u7f6e\u4e3a0\/0\/6\uff0c\u6570\u636e \u7c7b\u578b\u8bbe\u7f6e\u4e3a1bit\uff08\u4e0eKNX\u7ee7\u7535\u5668\u4fdd\u6301\u4e00\u81f4\uff09\uff0c\u5c06KNX\u7ee7\u7535\u5668\u7684\u7fa4\u7ec4\u5730\u5740\u4e5f\u8bbe \u7f6e\u4e3a0\/0\/6\uff0c\u5f53\u5bf9\u5e94\u5bc4\u5b58\u566811\u7684\u503c\u7684\u6700\u4f4e\u4f4dbit\u4e3a0\u7684\u65f6\u5019\uff0c\u5219\u5bf9\u5e94KNX\u7ee7\u7535\u5668 \u5173\u95ed\uff0c\u5f53\u6700\u4f4e\u4f4dbit\u4e3a1\u7684\u65f6\u5019\uff0cKNX\u7ee7\u7535\u5668\u6253\u5f00\u3002<\/p>\n<p><img data-dominant-color=\"dee4e7\" data-has-transparency=\"true\" style=\"--dominant-color: #dee4e7;\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28296 has-transparency\" src=\"https:\/\/image.modbus.cn\/wp-content\/uploads\/2024\/07\/20240702151159233.png\"  width=\"681\" height=\"422\" ><\/p>\n<span id=\"magicpostMarker\"><\/span>","protected":false},"excerpt":{"rendered":"<p>\u4e00\u6b3e\u652f\u6301 KNX &lt;-&gt; MODBUS\u4e3b\u4ece \/RS485\/RS232 \u4efb\u610f\u6307\u4ee4\uff08\u6700\u957f 24byte\uff09\u76f8 \u4e92\u8f6c\u6362\u7684\u6a21\u5757<\/p>","protected":false},"featured_media":35476,"comment_status":"open","ping_status":"closed","template":"","meta":{"_members_access_role":[],"_members_access_error":""},"product_brand":[],"product_cat":[1908,1906,1917],"product_tag":[2898,1871,2970,2834],"class_list":["post-28275","product","type-product","status-publish","has-post-thumbnail","product_cat-actuator","product_cat-smart-home","product_cat-hvac-building-control-industrial-control","product_tag-knx","product_tag-modbus","product_tag-rs485-rs232","product_tag-2834","first","instock","taxable","shipping-taxable","purchasable","product-type-simple"],"_links":{"self":[{"href":"https:\/\/www.modbus.cn\/en\/wp-json\/wp\/v2\/product\/28275","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.modbus.cn\/en\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/www.modbus.cn\/en\/wp-json\/wp\/v2\/types\/product"}],"replies":[{"embeddable":true,"href":"https:\/\/www.modbus.cn\/en\/wp-json\/wp\/v2\/comments?post=28275"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.modbus.cn\/en\/wp-json\/wp\/v2\/media\/35476"}],"wp:attachment":[{"href":"https:\/\/www.modbus.cn\/en\/wp-json\/wp\/v2\/media?parent=28275"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/www.modbus.cn\/en\/wp-json\/wp\/v2\/product_brand?post=28275"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.modbus.cn\/en\/wp-json\/wp\/v2\/product_cat?post=28275"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/www.modbus.cn\/en\/wp-json\/wp\/v2\/product_tag?post=28275"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}