I am not sure how to wire this relay. It is a poor picture but it's the best one I could get with my phone. You can see a better pic here http://www.maraindustrial.com/cart/electrical/relays/nais-relay-he1an-shelf-130a-rob.html . I need it to switch a light bulb on and off.
It's automatic. When I click the gate to open and as long as it is open the light bulb on the post needs to stay on. When the gate is in the closed position the bulb turns off. I have figured it out using a different relay on my personal gate. The one I am familiar with triggers using 12vdc. This one looks like it uses 110vac. I don't feel like experimenting with 110v lol. I have several of these relays and I thought I might try using them. I could ask the tech at my distributors but he's on vacation.
That is a 120VAC power relay. Here is the datasheet: http://www.mouser.com/ds/2/316/he-catalog-461805.pdf The coil side is pins 5 & 6. The contacts side is pins 1 & 4. When 120VAC is applied to pins 5 & 6 (non-polarized), the contacts will close and connect pins 1 & 4. Just to be sure, the gate is operated at 120VAC, correct? What is the operating voltage of the light you are trying to turn on?
Sounds like you need a HE1aN-DC24V Or, you could use any 24VDC relay. Most can control 110VAC sources, just be sure to check the contact specs to make sure they can handle the 110VAC requirements of the light bulb.
120v is more fun to work with than say 6, 12, or 24v... If you connect something wrong, it makes a greater shower of sparks...
If you need a relay that operates under 24v ac try a mars 90-380 relay. Use them all the time in the a/c world on low amp load circuits.
If you're switching an incandescent light bulb check the relay contact's incandescent rating. A cold bulb has a high inrush current.