Electronic – How to monitor this AC circuit

relay

I have a machine that has a circuit more complicated than this, but this to make things simple:

The voltage source is 24 VAC coming from a PLC, and it has more than 100 × (bulb + resistor + switch).

How can I insert one relay in this circuit to be able to perform a command outside this circuit when ONE or more switches is closed?

schematic

simulate this circuit – Schematic created using CircuitLab

My question is: Why this circuit didn't work?

Relay model: RMI 45

Datasheet:
http://www.farnell.com/datasheets/1430520.pdf

Update: When one of the switches closes, the lamp don't go on and the relay keeps closing and opening frequently.

Best Answer

for this aopplication you can use a current-sensing relay, as you have drawn. this is a different type of relay to much more the more common potential relay.