That's what I thougt...
Furthermore I defined several vars as const... . Finally I understand in which way RAM and stack in RAM are working and how to track some mistakes (big progress).
Right now the programs runs well and the function is given as it's ment to be.
Thanks a lot for your Support gentlemen.
Kind regards, Christoph