Thanks.
You gave me progress with that by the way!. Now the output is not always HIGH any more, but not possible to get HIGH.
I have used many hours (do not dear to tell how many) trying to get a grip of this programming metod. This is totally new for me.