help setting up a security system to trip fire alarm?

If the output on the security panel is 12V, a 12V relay should be used, because 12V may be below the minimum operating voltage for a 24V relay, which is usually around 16 Volts. What should be 24V is the contact rating, because, as The Big Green said, it is the output on the zones.