Yes, Don is correct. It is a transformer for a set of chimes. I can't tell the brand really, but it may well be from Mass Cathedral Chimes. The 6 pole socket is for the cable that goes to the control switch(s) that let you select various levels of chime strike loudness. That switch is either in the little add on keyboard you could get for them, or mounted directly in the console somewhere.
I have an old Allen console here that has the whole chimes setup still in it, and it looks similar to that one. Also have the chimes, hanger / striker assembly, and the add on contact strip for under an existing keyboard. The project I got that setup for fell though, so my whole setup is available if anyone reading this is looking. I'm in Wisconsin. Shipping a setup like this would be exotically expensive these days, but if someone wants to come collect them, I'd let them go for a reasonable price.
Regards, Larry