dxscada
Configuration
General Status
Ecava IGX SCADA Server
Example
Drivers1
mdobusopcuaprofinet
snmp hotlink
高铁列车到站检测
本文档使用 MrDoc 发布
-
+
首页
snmp hotlink
SNMP The default url for the task is “127.0.0.1:163", which you should target to the external device for every task's configuration.. And the address field shall be entered with OID (Object Identifier), such as "1.3.6.1.2.1.1.1.0," which corresponds to the "sysDescr" object, and usually associated with a data type of "Octet String." You should ensure that the configured address will have the appropriate access rights for the target object, as some objects are read-only or even cannot be read at all. Below is the sample of configuration. "task": [ { "id": "LJ1000", "url": "127.0.0.1:163", "trigger": [ "1000" ], "timeout": 3000, "community": "public", "data": [ { "$csv": "dxsnmp.csv" } ] } ] Here's the sample of the dxsnmp.csv disable,name,description,address,type,length,default,scale false,"tag1","this is description","1.3.6.1.2.1.1.4.0","string",-1,"",1 false,"tag2","this is description","1.3.6.1.2.1.1.5.0","string",-1,"",1 false,"tag3","this is description","1.3.6.1.2.1.1.6.0","string",-1,"",1 NOTE Please ensure the community name is the same or else the communication cannot be established. TIPS A *.all.csv that contains all addresses of the linked device will be automatically generated for you to copy any desired addresses conveniently. Hostlink Example: configuration file (.json) { "id": "module01", "update": [ "1000" ], "task": [ { "enable": true, "id": "HostLink01", "desc": "Omron HostLink driver", "url": "COM3", "trigger": [ "1000" ], "baudRate": 9600, "dataBits": 7, "stopBits": 2.0, "parity": "e", "dataFormat": "CDAB", "unitNum": 0, "timeout": 5000, "readOnly": false, "watchdog": 5000, "data": [ { "$csv": "dxhostlink.csv" } ] } ] } Below are the parameters for setting up the task. If the parameters are not specified, default values will be used in case there are any. URL This parameter is used to connect to the PLC either through serial port or ip address. If an ip address is used, hostlink over tcp will be used. baudRate Baud rate of current connection serial port information. Default value is 9600. dataBits The length of data bits per byte. Default value is 7. stopBits The number of stop bits per byte. Default value is 2.0. parity The parity-checking protocol. Default value is even. The accepted format is like below: “o”/”odd”: odd parity “e”/”even”: even parity “s”/”space”: space parity “m”/”mark”: mark parity “n”/”none”: none parity dataFormat Parsing format for multibyte data. The accepted format consists of “BADC”, “CDAB”, “DCBA”, and “ABCD”. Default value is ABCD format. unitNum Unit number of PLC. Default value is 0. type Possible types are “standard” and “cmode”. Default type is standard. mode When PLC is connected through cmode. The mode of the connection can be set to “Run”, “Program”, or “Monitor”. The default mode will be “Run”. Example of csv configuration disable,name,description,address,type,length,scale false,"CIO","","CIO200","int16",-1,1 false,"CIO.0","","CIO200.0","bool",-1,1 Supported address for standard mode. Standard mode supports bit and word polling. Supported address for cmode. C-mode only supports word polling
智能制造CEO
2024年12月19日 08:53
分享文档
收藏文档
上一篇
下一篇
微信扫一扫
复制链接
手机扫一扫进行分享
复制链接
关于 MrDoc
觅思文档MrDoc
是
州的先生
开发并开源的在线文档系统,其适合作为个人和小型团队的云笔记、文档和知识库管理工具。
如果觅思文档给你或你的团队带来了帮助,欢迎对作者进行一些打赏捐助,这将有力支持作者持续投入精力更新和维护觅思文档,感谢你的捐助!
>>>捐助鸣谢列表
微信
支付宝
QQ
PayPal
Markdown文件
分享
链接
类型
密码
更新密码