tb-威尼斯人最新

awei · march 02, 2021 · last by replied at august 19, 2022 · 341 hits

使用规则节点发送数据无论发什么格式 (不知道什么格式正确) modbus slave 收到的都是 ff 发送的格式

{method:"setvalue",params:[0]}

modbus.json 内容如下

{"server":{"name":"modbus test server","type":"tcp","host":"10.211.55.3","port":502,"timeout":35,"method":"socket","devices":[{"unitid":1,"devicename":"th_sensor","attributespollperiod":5000,"timeseriespollperiod":5000,"senddataonlyonchange":false,"attributes":[{"byteorder":"big","tag":"batterylevel","type":"long","functioncode":4,"registercount":1,"address":2},{"byteorder":"big","tag":"switchstatus","type":"bits","functioncode":1,"registercount":1,"address":3}],"timeseries":[{"byteorder":"big","tag":"humidity","type":"long","functioncode":4,"registercount":1,"address":1},{"byteorder":"big","tag":"temperature","type":"long","functioncode":3,"registercount":1,"address":0}],"rpc":[{"tag":"resettemperature","type":"16int","functioncode":6,"objectscount":1,"address":0},{"tag":"setvalue","type":"bits","functioncode":5,"objectscount":1,"address":3}]}]}}
no reply at the moment.
需要 sign in 后方可回复, 如果你还没有账号请点击这里 sign up
网站地图