Hi, last update: problem solved.
First I tried to calibrate Z axis, it is now within 0.01mm on 300mm stroke.
Thread still not right pitch.

The actual solution is change the PPR to 1042 instead of the actual 1024 of the encoder.

The future projects with threading will show if this setting is suitable for other pitch threads as well..
Anyway, thanks for the help M_C.