Dislocations motion in alloys with a periodic antiphase boundaries structure