Currently I am busy with with a project where we are using a S7-1500 with an OPC server on it.
The problem now is that we are reading too many tags from this specific PLC (more than 2000) and the plc doesn’t accept that and giving a too many monitored tags error.
My idea was to not directly attach the opc tag to my tag but add the UDT as OPC tag and derive from it. from another post on the forum I saw that it will give a json value. but i am not getting that.
I get a Bad_DecodingError:
I thought that it was maybe the data type. I tried almost all of them but not any seems to work.
The next thing i tried was checking the traffic with Wireshark, I am getting a ByteString with the (hex) values that are in the struct on the plc. So it seems like that the PLC is sending the data.
Does anyone know what i am doing wrong here?