WIFI以太网DTU采集配置
- 2023-05-03 11:28:00
- 微图 原创
- 985
思路:把IO点当做虚拟modbus设备来采集
找到帮助文档json配置,导入,修改。虚拟设备
用串口调
ZL520默认配置
{"type":"base","version":"V5","base":{"host":"","param_ver":0,"flow":0,"fota":1,"log":1,"shell":[1,120,1],"report":0,"pmod":0,"pswd":"","pins":[33,12,35],"reboot":0,"mqr":[1,20,100],"eth":[1,"","",""],"wifi":[1,"","",-1],"dns":["",""]},"uconf":[[1,9600,3,0,1,4,1,20,"",0],[],[]],"nconf":[["mqtt","115.159.225.58",1883,300,"","xx","xx","xxsub","sspub",0,0,0,0,"",[21],0,0],[],[],[],[],[]],"param_ver":0,"mb":[[2,1,21,[22],1,0,0,"","","",0,500,0,5],[[10,96,"640100000002"],[["do1",0,"c",1],["do2",1,"c",1]]],[[10,96,"640200000002"],[["di1",0,"H",1],["di2",1,"H",1]]]],"up":{},"vd":{"d":[100,22,[1]],"c3":[1,2],"c2":[34,36],"c1":[13,15],"c1u":[2,0],"c3u":[2,0]},"rule":[],"d6":[]}
发表评论