数据点不上数
-
我用A电脑运行modsim,B电脑运行modscan,scan可以正常读出来,平台在B电脑上,数据点一直读不到,用的modbustcp
驱动日志:
{"time":"2023-11-23T15:21:05.9414817+08:00","level":"DEBUG","msg":"健康检查开始","logType":"syslog","service":"default-655eaabc096d47dc50bf1ca6-modbus","module":"健康检查","projectId":"default","group":"655eaabc096d47dc50bf1ca6"}
{"time":"2023-11-23T15:21:05.9423698+08:00","level":"DEBUG","msg":"健康检查正常","logType":"syslog","service":"default-655eaabc096d47dc50bf1ca6-modbus","module":"健康检查","projectId":"default","group":"655eaabc096d47dc50bf1ca6"}
{"time":"2023-11-23T15:21:10.942628+08:00","level":"DEBUG","msg":"健康检查开始","logType":"syslog","service":"default-655eaabc096d47dc50bf1ca6-modbus","module":"健康检查","projectId":"default","group":"655eaabc096d47dc50bf1ca6"}
{"time":"2023-11-23T15:21:10.943696+08:00","level":"DEBUG","msg":"健康检查正常","logType":"syslog","service":"default-655eaabc096d47dc50bf1ca6-modbus","module":"健康检查","projectId":"default","group":"655eaabc096d47dc50bf1ca6"}
{"time":"2023-11-23T15:21:13.9782954+08:00","level":"DEBUG","msg":" 资产读取数据,表:液氮泵,资产:DDYDB02,host:192.168.1.102:502,周期:10000.000000s","logType":"syslog","service":"default-655eaabc096d47dc50bf1ca6-modbus","module":"启动驱动","projectId":"default","key":"液氮泵","group":"655eaabc096d47dc50bf1ca6"}
{"time":"2023-11-23T15:21:13.9782954+08:00","level":"DEBUG","msg":" 资产读取数据,表:液氮泵,资产:DDYDB01,host:192.168.1.102:502,周期:10000.000000s","logType":"syslog","service":"default-655eaabc096d47dc50bf1ca6-modbus","module":"启动驱动","projectId":"default","key":"液氮泵","group":"655eaabc096d47dc50bf1ca6"}
{"time":"2023-11-23T15:21:13.9782954+08:00","level":"DEBUG","msg":"读取数据,表:液氮泵,资产:DDYDB02,站号:1,读取区域:3,偏移地址:3,读寄存器个数:2","logType":"syslog","service":"default-655eaabc096d47dc50bf1ca6-modbus","module":"启动驱动","projectId":"default","key":"液氮泵","group":"655eaabc096d47dc50bf1ca6"}
{"time":"2023-11-23T15:21:13.9782954+08:00","level":"DEBUG","msg":"读取数据,表:液氮泵,资产:DDYDB01,站号:1,读取区域:3,偏移地址:3,读寄存器个数:2","logType":"syslog","service":"default-655eaabc096d47dc50bf1ca6-modbus","module":"启动驱动","projectId":"default","key":"液氮泵","group":"655eaabc096d47dc50bf1ca6"}
链接 host=192.168.1.102:502 0x02023/11/23 15:21:13 modbus: sending 03 cd 00 00 00 06 01 03 00 03 00 02
链接 host=192.168.1.102:502 0x02023/11/23 15:21:13 modbus: received 03 cd 00 00 00 07 01 03 04 00 1f 00 07
{"time":"2023-11-23T15:21:13.9941535+08:00","level":"DEBUG","msg":"读取表返回值,表:液氮泵,资产:DDYDB02,返回值:[0 31 0 7]","logType":"syslog","service":"default-655eaabc096d47dc50bf1ca6-modbus","module":"启动驱动","projectId":"default","key":"液氮泵","group":"655eaabc096d47dc50bf1ca6"}
{"time":"2023-11-23T15:21:13.9941535+08:00","level":"DEBUG","msg":"资产读取数据,表:液氮泵,资产:DDYDB02,返回值:{Id:DDYDB02 Table:液氮泵 DeviceConfig:{Tags:[{Tag:{ID:运行时间 Name:运行时间 TagValue:<nil> Fixed:<nil> Mod:<nil> Range:<nil>} Single:false Value:1 Params:<nil> ValueBytes:[] Offset:3 Area:3 DataType:UInt32BE- Length:2 Index:0xc00038e4f8}] Commands:[] Settings:{Ip:<nil> Port:<nil> Unit:<nil> Interval:<nil> Timeout:<nil> Sleep:<nil> Idle:<nil> Delay:<nil> AutoAddr:<nil> Value:<nil> OverWrite:<nil>}}}","logType":"syslog","service":"default-655eaabc096d47dc50bf1ca6-modbus","module":"启动驱动","projectId":"default","key":"液氮泵","group":"655eaabc096d47dc50bf1ca6"}
{"time":"2023-11-23T15:21:13.9941535+08:00","level":"DEBUG","msg":"保存数据,{"id":"DDYDB02","cid":"","source":"device","fields":{"运行时间":1},"time":1700724073994,"fieldTypes":null}","logType":"syslog","service":"default-655eaabc096d47dc50bf1ca6-modbus","module":"写数据点值","projectId":"default","key":"液氮泵"}
链接 host=192.168.1.102:502 0x02023/11/23 15:21:14 modbus: sending 03 ce 00 00 00 06 01 03 00 03 00 02
链接 host=192.168.1.102:502 0x02023/11/23 15:21:14 modbus: received 03 ce 00 00 00 07 01 03 04 00 1f 00 07
{"time":"2023-11-23T15:21:14.0091254+08:00","level":"DEBUG","msg":"读取表返回值,表:液氮泵,资产:DDYDB01,返回值:[0 31 0 7]","logType":"syslog","service":"default-655eaabc096d47dc50bf1ca6-modbus","module":"启动驱动","projectId":"default","key":"液氮泵","group":"655eaabc096d47dc50bf1ca6"}
{"time":"2023-11-23T15:21:14.0091254+08:00","level":"DEBUG","msg":"资产读取数据,表:液氮泵,资产:DDYDB01,返回值:{Id:DDYDB01 Table:液氮泵 DeviceConfig:{Tags:[{Tag:{ID:运行时间 Name:运行时间 TagValue:<nil> Fixed:<nil> Mod:<nil> Range:<nil>} Single:false Value:2.84691e-39 Params:<nil> ValueBytes:[] Offset:3 Area:3 DataType:FloatBE Length:2 Index:<nil>}] Commands:[] Settings:{Ip:<nil> Port:<nil> Unit:<nil> Interval:<nil> Timeout:<nil> Sleep:<nil> Idle:<nil> Delay:<nil> AutoAddr:<nil> Value:<nil> OverWrite:<nil>}}}","logType":"syslog","service":"default-655eaabc096d47dc50bf1ca6-modbus","module":"启动驱动","projectId":"default","key":"液氮泵","group":"655eaabc096d47dc50bf1ca6"}
{"time":"2023-11-23T15:21:14.0097234+08:00","level":"DEBUG","msg":"保存数据,{"id":"DDYDB01","cid":"","source":"device","fields":{"运行时间":2.84691e-39},"time":1700724074009,"fieldTypes":null}","logType":"syslog","service":"default-655eaabc096d47dc50bf1ca6-modbus","module":"写数据点值","projectId":"default","key":"液氮泵"}