service/plc.go
@@ -112,7 +112,7 @@ return nil, errors.New("conf.Conf.Services.Serial config not set yet") } label := fmt.Sprintf("D%d", address) return plccom.ReadPLC(plccom.DeviceTypeMitsubishi, ipAddr, label) return plccom.ReadPLC(plccom.DeviceTypeMitsubishi, ipAddr, label, dataLength) } return }