Closed jmtatsch closed 2 years ago
I'm having the same problem when connecting to a Siemens S7 PLC that is serving a node with a custom data type ("CounterEntry" in my case):
RuntimeError: Unknown datatype for field: StructureField(Name='tijdvak', Description=LocalizedText(Locale=None, Text=''), DataType=NodeId(Identifier=3014, NamespaceIndex=3, NodeIdType=<NodeIdType.FourByte: 1>), ValueRank=-1, ArrayDimensions=[], MaxStringLength=0, IsOptional=False) in structure:CounterEntry, please report
uaclient.mainwindow - WARNING - showing error: %s')
EDIT: Never mind, this is probably not the issue, I can't reproduce this consistently. Will update when I have more info.
I patch some errors with custom datatypes, but there wasn't any new version released yet. So you could try to install the current master of opcua-asyncio.
Was fixed with https://github.com/FreeOpcUa/opcua-asyncio/pull/901
Hi,
when I initially connect to a Siemens S7 it dies due to this:
Any idea what goes wrong?