一般将地磅设置为数据连续输出模式 通信报文示例:
-- 02 2d 30 32 33 30 39 30 30 31 35 03 -01023080014.
通信报文解析流程
weight 设置1代表启用此功能
start 报文中数据开始的字节位置,从1开始计算
len 报文中数据的字节长度
nx 报文中小数位所在的字节位置,从1开始计算
inch 输入数据源,1代表串口1,3代表串口3
outch 输出数据源,26代表自定义6,需要唯一
rev 反转数据
地磅数据采集网关盒子
特别声明:以上内容(如有图片或视频亦包括在内)为自媒体平台“网易号”用户上传并发布,本平台仅提供信息存储服务。
Notice: The content above (including the pictures and videos if any) is uploaded and posted by a user of NetEase Hao, which is a social media platform and only provides information storage services.