dxscada
Configuration
General Status
Ecava IGX SCADA Server
Example
Drivers1
mdobusopcuaprofinet
snmp hotlink
高铁列车到站检测
本文档使用 MrDoc 发布
-
+
首页
mdobusopcuaprofinet
Modbus Master Basic Modbus addresses are split into 4 categories, i.e. Output Coil for Boolean output, Status Input for Boolean input, Holding Register for Integer output, and lastly Input register for Integer input. They have prefixes of 0x, 1x, 4x and 3x respectively, and they are simplified into single number 0, 1, 4 & 3 and can be entered into the `addresEx` column for specifying the address type. stationId Station ID is the node address of the Modbus device in the network. timeout Practical timeout value should be less than 3s unless in a very slow network. offset The `offset` parameter is meant to adjust the data addresses to ensure the index is not misaligned between master and slave. To confirm if the data address is correctly aligned, just try to poll one known value of any address that's not at the start, i.e. Avoid 4x0000 or 4x0001 to avoid comm error. The possible offset values are either -1, 0 or 1. dataFormat The 32bit data types like real32, int32, uint32 may have different data bytes order, you may control the mapping by entering ABCD or CDAB, or otherwise in a reversed manner DCBA or BADC. OPC UA Client OPC UA driver should be straightforward in configuration, as the `subscription` is default to `true` so no manual polling is needed for `trigger`, the main parameter is the URL that connects to the OPC UA Server. For instance: "url": "opc.tcp://127.0.0.1:49320" Once you can see that OPC server is connected, you should also notice that a message will be prompted that a new "*.all.csv" will be created. Please wait patiently until another completion message is prompted before you proceed to stop the driver. Open the auto generated CSV file and you may copy and paste the interested tags into your working CSV. NOTE: 1. The *.all.csv will not be generated again until the old one is removed. 2. If the OPC Server is having bad data due to offline devices, then the correct data type cannot be fetched, although it won't affect the polling later. 3. The `trigger` parameter should be empty in most scenarios, unless otherwise you want to perform additional manual polling in a specific interval. Profinet Profinet offers a param `model` to differentiate between protocols used by different models of Siemens PLC. Below is are the available options for `model`: - S7-1200 - S7-300 - S7-400 - S7-1500 - S7-200Smart - S7-200 For S7-300 and S7-400, you will need to configure the setting for `slot` and `rack`. For S7-200, you need to configure `locaTSAP` and `destTSAP` accordingly. Below is the sample json configuration for Task section: "task": [ { "url": "127.0.0.1:102", "model": "S7-200", "localTSAP": 0, "destTSAP": 0, "rack": 0, "slot": 0, "timeout": 3000, "trigger": [1000], "id": "plc1", "data": [ { "$csv": "dxprofinet.csv" } ] } ] EthernetIP DX Allen Bradley EthernetIP module allows you to configure and connect to Allen Bradley PLCs 1756 & 1769, 1747 and Micro800 series. Below are the parameters for setting up the connection to the desired Allen Bradley PLC. deviceID Required, you may enter the slot number. deviceType You may enter the type of the device. Supported options are 1756/1769, 1747, micro800, df1serial. url You may enter the url where the Allen Bradley PLC is connected. trigger You may enter the timer for the read / write operation to trigger. name You may enter the tag name associated with the Allen Bradley PLC. address You may enter the address of the memory that stored the data. Error will be returned when writing to or reading from non-existent addresses. dataType You may enter the data type of the data associated with the tag. Supported data types include bool / boolean, byte, double, float, int16 / short, uint16 / ushort, int32 / int, uint32 / uint, int64 / long, uint64 / ulong and string. length You may enter the length of the string. For other data types, this parameter is not required and will automatically set as 0. Example: configuration file (.json) { "id": "dx", "task": [ { "enable": true, "id": "device01", "deviceID": 1, "deviceType": "", //micro800; 1756/1769; 1747; df1serial "url": "127.0.0.1", "trigger": [ "1000" ], "readOnly": false, "data": [ { "$csv": "tag.csv" } ] } } Example: CSV file (.csv) name,desc,address,dataType,length "test_bool","description 1","A","boolean",0 "test_string","description 2","A1","string",3 "test_int","description 3","B","int",0 "test_array","description 4","C[5]","string",3
智能制造CEO
2024年12月19日 08:52
分享文档
收藏文档
上一篇
下一篇
微信扫一扫
复制链接
手机扫一扫进行分享
复制链接
关于 MrDoc
觅思文档MrDoc
是
州的先生
开发并开源的在线文档系统,其适合作为个人和小型团队的云笔记、文档和知识库管理工具。
如果觅思文档给你或你的团队带来了帮助,欢迎对作者进行一些打赏捐助,这将有力支持作者持续投入精力更新和维护觅思文档,感谢你的捐助!
>>>捐助鸣谢列表
微信
支付宝
QQ
PayPal
Markdown文件
分享
链接
类型
密码
更新密码