Man Fu,
Two things could happen, firstly the SSR part of the antenae may generate a tage for each code as you cycle through the numbers (which makes none readable with certain settings) and secondly, some transponders appear not to change code unless they are re-cycled. Often a pilot will say "but we are sqawking xyz, but the previous code shows untill they actually do recycle.