Bad_DecodingError

i’m currently having a problem with an opc ua tag with a quality “bad” and a diagnostic of “Bad_DecodingError”. any idea cloud help me a lot .

Details could help us help you. At the very least:

  • Ignition Version
  • PLC Type
  • PLC Driver or OPC Connection type
  • OPC Item path in the affected tag
  • Gateway log entries that look like they might apply.

Yes, need more info, but my guess is a 3rd party OPC UA Server and you’re trying to read a tag with a structure value.

So at the very least we’ll need to know what server it is and if that’s true.

yes i’m using a 3rd party opc ua server

Ah good timing. Is this an S7-1500 or S7-1200? There’s some recent threads about this, but it seems you will need to both enable “legacy DataType dictionaries” in the server and if it’s a 1200 you can’t use the “Server Interfaces” to define an address space.

sorry but after checking with my team the PLC is a BECKHOFF IPC C6930

In that case, change the log level for the logger you find searching for “DataTypeDictionaryReader” to TRACE and then edit/save the OPC UA connection to this PLC.

Once it has reconnected export your logs and upload them. If possible it would be helpful to know the datatype of the tag you’re trying to read. This can be pretty easily obtained using a 3rd party OPC UA client like UaExpert to navigate to the Node and look at its attributes.

https://docs.inductiveautomation.com/display/DOC81/Diagnostics+-+Logs#DiagnosticsLogs-ChangingLoggingLevels

i cant upload the file. it size is too big .


here a screen shot

Well, that certainly might be the cause. It looks like the server is not responding while we’re reading the dictionary.

You should probably call support and open a case. They’ll give you a place to upload the logs and help you take a Wireshark capture. There may be nothing we can do on our side and you might end up having to work with Beckhoff support instead, but I don’t want to jump to that yet.

thanks for the help and infos.

Hello mootez_bh,
following your posts, it looks like you solved the up mentioned issue.
We are facing here something similar. Also a Trumpf Laser, but a L59.
All the tags are working properly except two or three Messages.
Can you please update this post with the solution, if it's a Ignition setting?
Thanks in advance!