Hi Fabian,
Thanks for your post here on the Community forums.
It seems that the problem is that you assigned non-zero coefficients to the surface Sag polynomials instead of the surface Phase polynomials. In order to modify the phase of the surface, please make sure to define the Maximum Term #, set the Normalization Radius, and define non-zero values on the Coeff on rho^2, Coeff on rho^4, etc parameters, as shown below:
You may find more details about the Binary 2 surface in the Help system at:
The Setup Tab > Editors Group (Setup Tab) > Lens Data Editor > Sequential Surfaces (lens data editor) > Binary 2 (sequential surfaces, lens data editor)
Further discussions can be found in these knowledgebase articles:
How diffractive surfaces are modeled in OpticStudio – Knowledgebase (zemax.com)
How to model diffractive optics using the Binary 2 surface – Knowledgebase (zemax.com)
If you have any further questions, please do not hesitate to ask.
Best,
Csilla