Hej Berra.
We cannot see everything in these screenshots.
It may be that your FB and UDT, or the DB and the UDT, or the call of the FB has become unsyncronized. Try a Check Block Consistency. This works wonders to resolve all such errors, maybe it cleans up something you werent even aware of.
If that doesnt fix it, then zip and post your code of both the UDT, the FB, and the code that calls the FB. Put it in a library in stead of a full STEP7 project. In that way it becomes much smaller.