For a high precision positioning and measurement system high accuracy detection of surface specific profiles such as steps or edges is required. The interaction of light with microscopic structures results in typical diffraction pattern which contain information about the 3D-profile. In this work we investigate these diffraction images in view of wavelength and position dependence.