Limit analysis of the diffraction of a plane wave by a one-dimensional periodic medium