I seem to be having an issue reading an object of type "Array[0..1] of Date_And_Time" from a Siemens PLC when it exists inside a Siemens UDT. In Ignition I am using the entire UDT as an OPC tag, and then using derived tags to reference the individual internal tags (which aren't shown below).
I've done some testing and Ignition can happily read an array of Date_And_Time when its on its own, however, when the array exists inside a UDT, it fails with the error:
Bad("Bad_DecodingError: Decoding halted because of invalid data in the stream.")
Other array types work fine when inside a UDT, it just seems to be when its of type Date_And_Time.
I am using a Siemens 1500 PLC and connecting to the OPC Server on the PLC