更新文档
This commit is contained in:
8
doc/build/404.html
vendored
8
doc/build/404.html
vendored
File diff suppressed because one or more lines are too long
1
doc/build/assets/js/8bd707e2.47b8e3ff.js
vendored
Normal file
1
doc/build/assets/js/8bd707e2.47b8e3ff.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkthingsgateway=self.webpackChunkthingsgateway||[]).push([[9626],{1166:(t,e,a)=>{a.r(e),a.d(e,{assets:()=>r,contentTitle:()=>o,default:()=>c,frontMatter:()=>n,metadata:()=>i,toc:()=>l});var s=a(7462),d=(a(7294),a(3905));a(4996),a(510),a(2969);const n={id:501,title:"\u5e38\u89c1\u95ee\u9898"},o=void 0,i={unversionedId:"501",id:"501",title:"\u5e38\u89c1\u95ee\u9898",description:"1\u3001Modbus\u5730\u5740\u53ef\u4ee5\u53ea\u5199\u5730\u57400\u5417\uff0c\u4e00\u5b9a\u8981\u5199\u6210\u7c7b\u4f3c400001?",source:"@site/docs/501.mdx",sourceDirName:".",slug:"/501",permalink:"/thingsgateway-docs/docs/501",draft:!1,editUrl:"https://gitee.com/diego2098/ThingsGateway/tree/master/doc/docs/501.mdx",tags:[],version:"current",lastUpdatedBy:"Kimdiego2098",lastUpdatedAt:1706078182,formattedLastUpdatedAt:"Jan 24, 2024",frontMatter:{id:"501",title:"\u5e38\u89c1\u95ee\u9898"},sidebar:"docs",previous:{title:"Linux\u670d\u52a1\u90e8\u7f72",permalink:"/thingsgateway-docs/docs/404"},next:{title:"\u811a\u672c\u5e38\u89c1\u95ee\u9898",permalink:"/thingsgateway-docs/docs/502"}},r={},l=[{value:"1\u3001Modbus\u5730\u5740\u53ef\u4ee5\u53ea\u5199\u5730\u57400\u5417\uff0c\u4e00\u5b9a\u8981\u5199\u6210\u7c7b\u4f3c400001?",id:"1modbus\u5730\u5740\u53ef\u4ee5\u53ea\u5199\u5730\u57400\u5417\u4e00\u5b9a\u8981\u5199\u6210\u7c7b\u4f3c400001",level:4},{value:"2\u3001\u6570\u636e\u5982\u4f55\u8bbe\u7f6e\u5c0f\u6570\u4f4d",id:"2\u6570\u636e\u5982\u4f55\u8bbe\u7f6e\u5c0f\u6570\u4f4d",level:4}],u={toc:l},p="wrapper";function c(t){let{components:e,...a}=t;return(0,d.kt)(p,(0,s.Z)({},u,a,{components:e,mdxType:"MDXLayout"}),(0,d.kt)("h4",{id:"1modbus\u5730\u5740\u53ef\u4ee5\u53ea\u5199\u5730\u57400\u5417\u4e00\u5b9a\u8981\u5199\u6210\u7c7b\u4f3c400001"},"1\u3001Modbus\u5730\u5740\u53ef\u4ee5\u53ea\u5199\u5730\u57400\u5417\uff0c\u4e00\u5b9a\u8981\u5199\u6210\u7c7b\u4f3c400001?"),(0,d.kt)("p",null,"\u7b54\uff1a"),(0,d.kt)("p",null,"\u6309\u7167PLC Modbus\u5bc4\u5b58\u5668\u7684\u683c\u5f0f\uff0c\u4ee5\u533a\u57df\u53f7\u4e3a\u8d77\u59cb\u5b57\u7b26\uff0c\u540e\u7eed\u52a0\u4e0a\uff08\u5bc4\u5b58\u5668\u5730\u5740+1\uff09",(0,d.kt)("br",{parentName:"p"}),"\n","\u6240\u4ee5\u4e00\u5b9a\u8981\u5199\u6210400001"),(0,d.kt)("h4",{id:"2\u6570\u636e\u5982\u4f55\u8bbe\u7f6e\u5c0f\u6570\u4f4d"},"2\u3001\u6570\u636e\u5982\u4f55\u8bbe\u7f6e\u5c0f\u6570\u4f4d"),(0,d.kt)("p",null,"\u7b54\uff1a"),(0,d.kt)("p",null,"\u7f51\u5173\u63d0\u4f9b\u7075\u6d3b\u7684\u811a\u672c\u5f0f\u914d\u7f6e\u8f6c\u6362\uff0c\u53ef\u4ee5\u5728\u53d8\u91cf\u7684\u8bfb\u53d6\u8868\u8fbe\u5f0f\u4e2d\u8fdb\u884c\u914d\u7f6e\u8f6c\u6362\n\u5982\u679c\u8981\u8bbe\u7f6e\u5c0f\u6570\u4f4d\u4e3a2\uff0c\u53ef\u4ee5\u586b\u5165 "),(0,d.kt)("pre",null,(0,d.kt)("code",{parentName:"pre"},"Math.Round(raw, 2)\n")))}c.isMDXComponent=!0}}]);
|
1
doc/build/assets/js/8bd707e2.6d648883.js
vendored
1
doc/build/assets/js/8bd707e2.6d648883.js
vendored
@@ -1 +0,0 @@
|
||||
"use strict";(self.webpackChunkthingsgateway=self.webpackChunkthingsgateway||[]).push([[9626],{1166:(t,e,s)=>{s.r(e),s.d(e,{assets:()=>r,contentTitle:()=>i,default:()=>p,frontMatter:()=>o,metadata:()=>n,toc:()=>c});var a=s(7462),d=(s(7294),s(3905));s(4996),s(510),s(2969);const o={id:501,title:"\u5e38\u89c1\u95ee\u9898"},i=void 0,n={unversionedId:"501",id:"501",title:"\u5e38\u89c1\u95ee\u9898",description:"1\u3001Modbus\u5730\u5740\u53ef\u4ee5\u53ea\u5199\u5730\u57400\u5417\uff0c\u4e00\u5b9a\u8981\u5199\u6210\u7c7b\u4f3c400001?",source:"@site/docs/501.mdx",sourceDirName:".",slug:"/501",permalink:"/thingsgateway-docs/docs/501",draft:!1,editUrl:"https://gitee.com/diego2098/ThingsGateway/tree/master/doc/docs/501.mdx",tags:[],version:"current",lastUpdatedBy:"Kimdiego2098",lastUpdatedAt:1705822711,formattedLastUpdatedAt:"Jan 21, 2024",frontMatter:{id:"501",title:"\u5e38\u89c1\u95ee\u9898"},sidebar:"docs",previous:{title:"Linux\u670d\u52a1\u90e8\u7f72",permalink:"/thingsgateway-docs/docs/404"},next:{title:"\u811a\u672c\u5e38\u89c1\u95ee\u9898",permalink:"/thingsgateway-docs/docs/502"}},r={},c=[{value:"1\u3001Modbus\u5730\u5740\u53ef\u4ee5\u53ea\u5199\u5730\u57400\u5417\uff0c\u4e00\u5b9a\u8981\u5199\u6210\u7c7b\u4f3c400001?",id:"1modbus\u5730\u5740\u53ef\u4ee5\u53ea\u5199\u5730\u57400\u5417\u4e00\u5b9a\u8981\u5199\u6210\u7c7b\u4f3c400001",level:4}],l={toc:c},u="wrapper";function p(t){let{components:e,...s}=t;return(0,d.kt)(u,(0,a.Z)({},l,s,{components:e,mdxType:"MDXLayout"}),(0,d.kt)("h4",{id:"1modbus\u5730\u5740\u53ef\u4ee5\u53ea\u5199\u5730\u57400\u5417\u4e00\u5b9a\u8981\u5199\u6210\u7c7b\u4f3c400001"},"1\u3001Modbus\u5730\u5740\u53ef\u4ee5\u53ea\u5199\u5730\u57400\u5417\uff0c\u4e00\u5b9a\u8981\u5199\u6210\u7c7b\u4f3c400001?"),(0,d.kt)("p",null,"\u7b54\uff1a"),(0,d.kt)("p",null,"\u6309\u7167PLC Modbus\u5bc4\u5b58\u5668\u7684\u683c\u5f0f\uff0c\u4ee5\u533a\u57df\u53f7\u4e3a\u8d77\u59cb\u5b57\u7b26\uff0c\u540e\u7eed\u52a0\u4e0a\uff08\u5bc4\u5b58\u5668\u5730\u5740+1\uff09",(0,d.kt)("br",{parentName:"p"}),"\n","\u6240\u4ee5\u4e00\u5b9a\u8981\u5199\u6210400001"))}p.isMDXComponent=!0}}]);
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
8
doc/build/docs/1/index.html
vendored
8
doc/build/docs/1/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/100/index.html
vendored
8
doc/build/docs/100/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/1000/index.html
vendored
8
doc/build/docs/1000/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/10001/index.html
vendored
8
doc/build/docs/10001/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/1001/index.html
vendored
8
doc/build/docs/1001/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/1002/index.html
vendored
8
doc/build/docs/1002/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/101/index.html
vendored
8
doc/build/docs/101/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/102/index.html
vendored
8
doc/build/docs/102/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/103/index.html
vendored
8
doc/build/docs/103/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/104/index.html
vendored
8
doc/build/docs/104/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/105/index.html
vendored
8
doc/build/docs/105/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/106/index.html
vendored
8
doc/build/docs/106/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/2/index.html
vendored
8
doc/build/docs/2/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/200/index.html
vendored
8
doc/build/docs/200/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/20001/index.html
vendored
8
doc/build/docs/20001/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/20002/index.html
vendored
8
doc/build/docs/20002/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/20003/index.html
vendored
8
doc/build/docs/20003/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/20004/index.html
vendored
8
doc/build/docs/20004/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/20005/index.html
vendored
8
doc/build/docs/20005/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/201/index.html
vendored
8
doc/build/docs/201/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/202/index.html
vendored
8
doc/build/docs/202/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/203/index.html
vendored
8
doc/build/docs/203/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/204/index.html
vendored
8
doc/build/docs/204/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/205/index.html
vendored
8
doc/build/docs/205/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/206/index.html
vendored
8
doc/build/docs/206/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/301/index.html
vendored
8
doc/build/docs/301/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/302/index.html
vendored
8
doc/build/docs/302/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/303/index.html
vendored
8
doc/build/docs/303/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/304/index.html
vendored
8
doc/build/docs/304/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/305/index.html
vendored
8
doc/build/docs/305/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/306/index.html
vendored
8
doc/build/docs/306/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/307/index.html
vendored
8
doc/build/docs/307/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/308/index.html
vendored
8
doc/build/docs/308/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/309/index.html
vendored
8
doc/build/docs/309/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/400/index.html
vendored
8
doc/build/docs/400/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/401/index.html
vendored
8
doc/build/docs/401/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/402/index.html
vendored
8
doc/build/docs/402/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/403/index.html
vendored
8
doc/build/docs/403/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/404/index.html
vendored
8
doc/build/docs/404/index.html
vendored
File diff suppressed because one or more lines are too long
11
doc/build/docs/501/index.html
vendored
11
doc/build/docs/501/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/502/index.html
vendored
8
doc/build/docs/502/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/601/index.html
vendored
8
doc/build/docs/601/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/602/index.html
vendored
8
doc/build/docs/602/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/index.html
vendored
8
doc/build/docs/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/docs/upgrade/index.html
vendored
8
doc/build/docs/upgrade/index.html
vendored
File diff suppressed because one or more lines are too long
8
doc/build/index.html
vendored
8
doc/build/index.html
vendored
File diff suppressed because one or more lines are too long
2
doc/build/search-index.json
vendored
2
doc/build/search-index.json
vendored
File diff suppressed because one or more lines are too long
8
doc/build/search/index.html
vendored
8
doc/build/search/index.html
vendored
File diff suppressed because one or more lines are too long
@@ -13,4 +13,14 @@ import Highlight from '@site/src/components/Highlight.js';
|
||||
答:
|
||||
|
||||
按照PLC Modbus寄存器的格式,以区域号为起始字符,后续加上(寄存器地址+1)
|
||||
所以一定要写成400001
|
||||
所以一定要写成400001
|
||||
|
||||
#### 2、数据如何设置小数位
|
||||
|
||||
答:
|
||||
|
||||
网关提供灵活的脚本式配置转换,可以在变量的读取表达式中进行配置转换
|
||||
如果要设置小数位为2,可以填入
|
||||
```
|
||||
Math.Round(raw, 2)
|
||||
```
|
||||
|
Reference in New Issue
Block a user