Space-saving, DIN-rail mount, programmable transmitter