A safety relay (Relé de Segurança) is an electromechanical device designed to monitor safety circuits and ensure the safe operation of machinery. It plays a critical role in industrial automation and safety systems by detecting faults and interrupting power to prevent accidents. Safety relays are commonly used in emergency stop circuits, light curtain systems, and other safety-critical applications.
Below are the general technical specifications for a typical safety relay. Always refer to the datasheet of the specific model for exact details.
The pin configuration of a safety relay may vary depending on the model. Below is a typical example:
Pin Number | Label | Description |
---|---|---|
1, 2 | A1, A2 | Coil terminals (power supply input) |
3, 4 | 13, 14 | Safety contact 1 (Normally Open - NO) |
5, 6 | 23, 24 | Safety contact 2 (Normally Open - NO) |
7, 8 | 31, 32 | Auxiliary contact (Normally Closed - NC) |
9, 10 | S11, S12 | Input for safety device (e.g., E-Stop button) |
11, 12 | S21, S22 | Input for safety device (e.g., light curtain) |
While safety relays are typically used in industrial systems, they can also be integrated with microcontrollers like the Arduino UNO for educational or prototyping purposes. Below is an example of how to monitor the status of a safety relay using an Arduino.
// Example: Monitoring a Safety Relay with Arduino UNO
// This code reads the status of the safety relay's auxiliary contact (NC)
// and turns on an LED if the relay is triggered (contact opens).
const int relayPin = 2; // Pin connected to the relay's auxiliary contact
const int ledPin = 13; // Pin connected to an LED
void setup() {
pinMode(relayPin, INPUT_PULLUP); // Set relayPin as input with pull-up resistor
pinMode(ledPin, OUTPUT); // Set ledPin as output
}
void loop() {
int relayStatus = digitalRead(relayPin); // Read the relay's status
if (relayStatus == HIGH) {
// Relay is triggered (auxiliary contact is open)
digitalWrite(ledPin, HIGH); // Turn on the LED
} else {
// Relay is not triggered (auxiliary contact is closed)
digitalWrite(ledPin, LOW); // Turn off the LED
}
}
Relay Does Not Activate
Safety Devices Not Detected
Contacts Do Not Switch
Intermittent Operation
Q: Can I use a safety relay with a standard relay in the same circuit?
A: Yes, but ensure the safety relay is used for safety-critical functions, while the standard relay handles non-safety-related tasks.
Q: How often should I test a safety relay?
A: It is recommended to test safety relays at least once a month or as specified by the manufacturer.
Q: Can a safety relay be reset automatically?
A: Some safety relays support automatic reset, but manual reset is preferred in most safety-critical applications to ensure proper inspection after a fault.
Q: What is the difference between a safety relay and a standard relay?
A: A safety relay is specifically designed to meet safety standards and includes features like fault detection and redundancy, whereas a standard relay does not.