更新Modbus转发demo

This commit is contained in:
2248356998 qq.com
2023-03-07 15:24:40 +08:00
parent b0a4a28bbd
commit f1e648915d
49 changed files with 131 additions and 76 deletions

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1021 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
(()=>{"use strict";var e,t,r,a,o,f={},n={};function c(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={exports:{}};return f[e].call(r.exports,r,r.exports,c),r.exports}c.m=f,e=[],c.O=(t,r,a,o)=>{if(!r){var f=1/0;for(b=0;b<e.length;b++){r=e[b][0],a=e[b][1],o=e[b][2];for(var n=!0,i=0;i<r.length;i++)(!1&o||f>=o)&&Object.keys(c.O).every((e=>c.O[e](r[i])))?r.splice(i--,1):(n=!1,o<f&&(f=o));if(n){e.splice(b--,1);var d=a();void 0!==d&&(t=d)}}return t}o=o||0;for(var b=e.length;b>0&&e[b-1][2]>o;b--)e[b]=e[b-1];e[b]=[r,a,o]},c.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return c.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,c.t=function(e,a){if(1&a&&(e=this(e)),8&a)return e;if("object"==typeof e&&e){if(4&a&&e.__esModule)return e;if(16&a&&"function"==typeof e.then)return e}var o=Object.create(null);c.r(o);var f={};t=t||[null,r({}),r([]),r(r)];for(var n=2&a&&e;"object"==typeof n&&!~t.indexOf(n);n=r(n))Object.getOwnPropertyNames(n).forEach((t=>f[t]=()=>e[t]));return f.default=()=>e,c.d(o,f),o},c.d=(e,t)=>{for(var r in t)c.o(t,r)&&!c.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},c.f={},c.e=e=>Promise.all(Object.keys(c.f).reduce(((t,r)=>(c.f[r](e,t),t)),[])),c.u=e=>"assets/js/"+({22:"879054ab",53:"935f2afb",175:"c361d1eb",189:"186a3eb8",195:"c4f5d8e4",217:"b8d02a9c",242:"26929101",261:"cb4f4ca9",320:"b86d2c6e",373:"760264af",514:"1be78505",544:"a9d01d88",564:"976454a3",676:"2ae4ef1c",866:"ec4c2846",875:"444af13b",889:"7f2059f1",916:"f21858e6",918:"17896441",920:"1a4e3797",966:"4ab8a817",994:"53c1042e",996:"19b7f836"}[e]||e)+"."+{22:"2e22548b",53:"6cff3cf4",175:"ee8bab92",189:"d8710378",195:"3eff4979",217:"bdf25ce5",242:"5ec9b9bb",261:"983c3141",320:"82fd5222",373:"3ed61cd5",443:"a35c493a",514:"79ca6d8a",523:"bb83377d",525:"ee7ff280",544:"0aefd47f",564:"7efa7a24",676:"f772a5d3",866:"de5833c1",875:"a37fbda4",889:"1d13a28e",916:"b12940cb",918:"e52e3593",920:"83cee253",966:"7d0118d3",972:"a79306f2",994:"e1e7c39f",996:"98239486"}[e]+".js",c.miniCssF=e=>{},c.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),c.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a={},o="thingsgateway:",c.l=(e,t,r,f)=>{if(a[e])a[e].push(t);else{var n,i;if(void 0!==r)for(var d=document.getElementsByTagName("script"),b=0;b<d.length;b++){var u=d[b];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==o+r){n=u;break}}n||(i=!0,(n=document.createElement("script")).charset="utf-8",n.timeout=120,c.nc&&n.setAttribute("nonce",c.nc),n.setAttribute("data-webpack",o+r),n.src=e),a[e]=[t];var l=(t,r)=>{n.onerror=n.onload=null,clearTimeout(s);var o=a[e];if(delete a[e],n.parentNode&&n.parentNode.removeChild(n),o&&o.forEach((e=>e(r))),t)return t(r)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=l.bind(null,n.onerror),n.onload=l.bind(null,n.onload),i&&document.head.appendChild(n)}},c.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.p="/thingsgateway/",c.gca=function(e){return e={17896441:"918",26929101:"242","879054ab":"22","935f2afb":"53",c361d1eb:"175","186a3eb8":"189",c4f5d8e4:"195",b8d02a9c:"217",cb4f4ca9:"261",b86d2c6e:"320","760264af":"373","1be78505":"514",a9d01d88:"544","976454a3":"564","2ae4ef1c":"676",ec4c2846:"866","444af13b":"875","7f2059f1":"889",f21858e6:"916","1a4e3797":"920","4ab8a817":"966","53c1042e":"994","19b7f836":"996"}[e]||e,c.p+c.u(e)},(()=>{var e={303:0,532:0};c.f.j=(t,r)=>{var a=c.o(e,t)?e[t]:void 0;if(0!==a)if(a)r.push(a[2]);else if(/^(303|532)$/.test(t))e[t]=0;else{var o=new Promise(((r,o)=>a=e[t]=[r,o]));r.push(a[2]=o);var f=c.p+c.u(t),n=new Error;c.l(f,(r=>{if(c.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var o=r&&("load"===r.type?"missing":r.type),f=r&&r.target&&r.target.src;n.message="Loading chunk "+t+" failed.\n("+o+": "+f+")",n.name="ChunkLoadError",n.type=o,n.request=f,a[1](n)}}),"chunk-"+t,t)}},c.O.j=t=>0===e[t];var t=(t,r)=>{var a,o,f=r[0],n=r[1],i=r[2],d=0;if(f.some((t=>0!==e[t]))){for(a in n)c.o(n,a)&&(c.m[a]=n[a]);if(i)var b=i(c)}for(t&&t(r);d<f.length;d++)o=f[d],c.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return c.O(b)},r=self.webpackChunkthingsgateway=self.webpackChunkthingsgateway||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})()})();

View File

@@ -1 +0,0 @@
(()=>{"use strict";var e,t,r,a,o,f={},n={};function c(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={exports:{}};return f[e].call(r.exports,r,r.exports,c),r.exports}c.m=f,e=[],c.O=(t,r,a,o)=>{if(!r){var f=1/0;for(u=0;u<e.length;u++){r=e[u][0],a=e[u][1],o=e[u][2];for(var n=!0,i=0;i<r.length;i++)(!1&o||f>=o)&&Object.keys(c.O).every((e=>c.O[e](r[i])))?r.splice(i--,1):(n=!1,o<f&&(f=o));if(n){e.splice(u--,1);var d=a();void 0!==d&&(t=d)}}return t}o=o||0;for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[r,a,o]},c.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return c.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,c.t=function(e,a){if(1&a&&(e=this(e)),8&a)return e;if("object"==typeof e&&e){if(4&a&&e.__esModule)return e;if(16&a&&"function"==typeof e.then)return e}var o=Object.create(null);c.r(o);var f={};t=t||[null,r({}),r([]),r(r)];for(var n=2&a&&e;"object"==typeof n&&!~t.indexOf(n);n=r(n))Object.getOwnPropertyNames(n).forEach((t=>f[t]=()=>e[t]));return f.default=()=>e,c.d(o,f),o},c.d=(e,t)=>{for(var r in t)c.o(t,r)&&!c.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},c.f={},c.e=e=>Promise.all(Object.keys(c.f).reduce(((t,r)=>(c.f[r](e,t),t)),[])),c.u=e=>"assets/js/"+({22:"879054ab",53:"935f2afb",175:"c361d1eb",189:"186a3eb8",195:"c4f5d8e4",217:"b8d02a9c",261:"cb4f4ca9",320:"b86d2c6e",373:"760264af",514:"1be78505",544:"a9d01d88",564:"976454a3",676:"2ae4ef1c",866:"ec4c2846",875:"444af13b",889:"7f2059f1",916:"f21858e6",918:"17896441",920:"1a4e3797",966:"4ab8a817",994:"53c1042e",996:"19b7f836"}[e]||e)+"."+{22:"2e22548b",53:"cf065926",175:"ee8bab92",189:"d8710378",195:"3eff4979",217:"d0b8fea7",261:"983c3141",320:"82fd5222",373:"3ed61cd5",443:"a35c493a",514:"79ca6d8a",523:"bb83377d",525:"ee7ff280",544:"0aefd47f",564:"7efa7a24",676:"f772a5d3",866:"de5833c1",875:"a37fbda4",889:"1d13a28e",916:"b12940cb",918:"e52e3593",920:"83cee253",966:"7d0118d3",972:"a79306f2",994:"e1e7c39f",996:"98239486"}[e]+".js",c.miniCssF=e=>{},c.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),c.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a={},o="thingsgateway:",c.l=(e,t,r,f)=>{if(a[e])a[e].push(t);else{var n,i;if(void 0!==r)for(var d=document.getElementsByTagName("script"),u=0;u<d.length;u++){var b=d[u];if(b.getAttribute("src")==e||b.getAttribute("data-webpack")==o+r){n=b;break}}n||(i=!0,(n=document.createElement("script")).charset="utf-8",n.timeout=120,c.nc&&n.setAttribute("nonce",c.nc),n.setAttribute("data-webpack",o+r),n.src=e),a[e]=[t];var l=(t,r)=>{n.onerror=n.onload=null,clearTimeout(s);var o=a[e];if(delete a[e],n.parentNode&&n.parentNode.removeChild(n),o&&o.forEach((e=>e(r))),t)return t(r)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=l.bind(null,n.onerror),n.onload=l.bind(null,n.onload),i&&document.head.appendChild(n)}},c.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.p="/thingsgateway/",c.gca=function(e){return e={17896441:"918","879054ab":"22","935f2afb":"53",c361d1eb:"175","186a3eb8":"189",c4f5d8e4:"195",b8d02a9c:"217",cb4f4ca9:"261",b86d2c6e:"320","760264af":"373","1be78505":"514",a9d01d88:"544","976454a3":"564","2ae4ef1c":"676",ec4c2846:"866","444af13b":"875","7f2059f1":"889",f21858e6:"916","1a4e3797":"920","4ab8a817":"966","53c1042e":"994","19b7f836":"996"}[e]||e,c.p+c.u(e)},(()=>{var e={303:0,532:0};c.f.j=(t,r)=>{var a=c.o(e,t)?e[t]:void 0;if(0!==a)if(a)r.push(a[2]);else if(/^(303|532)$/.test(t))e[t]=0;else{var o=new Promise(((r,o)=>a=e[t]=[r,o]));r.push(a[2]=o);var f=c.p+c.u(t),n=new Error;c.l(f,(r=>{if(c.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var o=r&&("load"===r.type?"missing":r.type),f=r&&r.target&&r.target.src;n.message="Loading chunk "+t+" failed.\n("+o+": "+f+")",n.name="ChunkLoadError",n.type=o,n.request=f,a[1](n)}}),"chunk-"+t,t)}},c.O.j=t=>0===e[t];var t=(t,r)=>{var a,o,f=r[0],n=r[1],i=r[2],d=0;if(f.some((t=>0!==e[t]))){for(a in n)c.o(n,a)&&(c.m[a]=n[a]);if(i)var u=i(c)}for(t&&t(r);d<f.length;d++)o=f[d],c.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return c.O(u)},r=self.webpackChunkthingsgateway=self.webpackChunkthingsgateway||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})()})();

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1021 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1"><url><loc>https://diego2098.gitee.io/thingsgateway/search</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://diego2098.gitee.io/thingsgateway/docs/</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://diego2098.gitee.io/thingsgateway/docs/05%E3%80%81%E7%BD%91%E5%85%B3%E9%85%8D%E7%BD%AE/collectdevice</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://diego2098.gitee.io/thingsgateway/docs/05%E3%80%81%E7%BD%91%E5%85%B3%E9%85%8D%E7%BD%AE/otherconfig</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://diego2098.gitee.io/thingsgateway/docs/05%E3%80%81%E7%BD%91%E5%85%B3%E9%85%8D%E7%BD%AE/plugincore</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://diego2098.gitee.io/thingsgateway/docs/05%E3%80%81%E7%BD%91%E5%85%B3%E9%85%8D%E7%BD%AE/uploaddevice</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://diego2098.gitee.io/thingsgateway/docs/05%E3%80%81%E7%BD%91%E5%85%B3%E9%85%8D%E7%BD%AE/variable</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://diego2098.gitee.io/thingsgateway/docs/06%E3%80%81%E9%87%87%E9%9B%86%E9%A9%B1%E5%8A%A8%E8%AF%B4%E6%98%8E/modbus</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://diego2098.gitee.io/thingsgateway/docs/07%E3%80%81%E4%B8%8A%E4%BC%A0%E9%A9%B1%E5%8A%A8%E8%AF%B4%E6%98%8E/ModbusServer</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://diego2098.gitee.io/thingsgateway/docs/07%E3%80%81%E4%B8%8A%E4%BC%A0%E9%A9%B1%E5%8A%A8%E8%AF%B4%E6%98%8E/MqttClient</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://diego2098.gitee.io/thingsgateway/docs/07%E3%80%81%E4%B8%8A%E4%BC%A0%E9%A9%B1%E5%8A%A8%E8%AF%B4%E6%98%8E/MqttServer</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://diego2098.gitee.io/thingsgateway/docs/08%E3%80%81Demo/modbusdemo</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://diego2098.gitee.io/thingsgateway/docs/%E6%94%AF%E6%8C%81%E5%BC%80%E6%BA%90%E9%A1%B9%E7%9B%AE</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://diego2098.gitee.io/thingsgateway/docs/quickstart</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://diego2098.gitee.io/thingsgateway/docs/upgrade</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://diego2098.gitee.io/thingsgateway/</loc><changefreq>weekly</changefreq><priority>0.5</priority></url></urlset>
<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1"><url><loc>https://diego2098.gitee.io/thingsgateway/search</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://diego2098.gitee.io/thingsgateway/docs/</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://diego2098.gitee.io/thingsgateway/docs/05%E3%80%81%E7%BD%91%E5%85%B3%E9%85%8D%E7%BD%AE/collectdevice</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://diego2098.gitee.io/thingsgateway/docs/05%E3%80%81%E7%BD%91%E5%85%B3%E9%85%8D%E7%BD%AE/otherconfig</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://diego2098.gitee.io/thingsgateway/docs/05%E3%80%81%E7%BD%91%E5%85%B3%E9%85%8D%E7%BD%AE/plugincore</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://diego2098.gitee.io/thingsgateway/docs/05%E3%80%81%E7%BD%91%E5%85%B3%E9%85%8D%E7%BD%AE/uploaddevice</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://diego2098.gitee.io/thingsgateway/docs/05%E3%80%81%E7%BD%91%E5%85%B3%E9%85%8D%E7%BD%AE/variable</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://diego2098.gitee.io/thingsgateway/docs/06%E3%80%81%E9%87%87%E9%9B%86%E9%A9%B1%E5%8A%A8%E8%AF%B4%E6%98%8E/modbus</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://diego2098.gitee.io/thingsgateway/docs/07%E3%80%81%E4%B8%8A%E4%BC%A0%E9%A9%B1%E5%8A%A8%E8%AF%B4%E6%98%8E/ModbusServer</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://diego2098.gitee.io/thingsgateway/docs/07%E3%80%81%E4%B8%8A%E4%BC%A0%E9%A9%B1%E5%8A%A8%E8%AF%B4%E6%98%8E/MqttClient</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://diego2098.gitee.io/thingsgateway/docs/07%E3%80%81%E4%B8%8A%E4%BC%A0%E9%A9%B1%E5%8A%A8%E8%AF%B4%E6%98%8E/MqttServer</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://diego2098.gitee.io/thingsgateway/docs/08%E3%80%81Demo/modbusdemo</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://diego2098.gitee.io/thingsgateway/docs/08%E3%80%81Demo/modbusserverdemo</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://diego2098.gitee.io/thingsgateway/docs/%E6%94%AF%E6%8C%81%E5%BC%80%E6%BA%90%E9%A1%B9%E7%9B%AE</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://diego2098.gitee.io/thingsgateway/docs/quickstart</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://diego2098.gitee.io/thingsgateway/docs/upgrade</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://diego2098.gitee.io/thingsgateway/</loc><changefreq>weekly</changefreq><priority>0.5</priority></url></urlset>

View File

@@ -0,0 +1,38 @@
---
id: modbusserverdemo
title: ModbusServer插件转发数据
sidebar_label: 8.2、使用ModbusServer插件转发数据
---
接上一篇文章:[采集ModbusTcp设备数据](modbusdemo)
采集数据之后如何转发/上传到其他软件呢下面演示网关提供的ModbusServer插件使用
### (一)建立上传设备
<img src={require('../../static/img/modbusserverdemo1.png').default} width="400" />
<img src={require('../../static/img/modbusserverdemo2.png').default} width="400"/>
设备属性默认IP为127.0.0.1 端口503不与modbusSlave冲突,允许写入
### (二)变量上传属性修改
<img src={require('../../static/img/modbusserverdemo3.png').default} width="700" />
变量从站地址为40001允许写入
### (三)重启采集线程
![](/img/modbusdemo4.png)
点击右边浮动按钮,全部重启
### (四)查看状态
<img src={require('../../static/img/modbusserverdemo5.png').default} width="600" />
使用ModbusPoll连接到网关
![](/img/modbusserverdemo4.png)
### 最后,看一下实时变化效果
![](/img/modbusserverdemo6.gif)

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1021 KiB