You don't get a visa and it's nothing to do with customs. I think you'll find it's immigration who give a free entry stamp, not a visa. Never mind, you've a lot to learn
ED visa is not Multi-Entry. The point of this visa is to come to Thailand to study. You might be permitted to get a re-entry permit during any period your school closes for holidays etc, but that will be a case by case situation