Safety Circuit Principles

Auteur avatarStuga Engineer | Dernière modification 30/01/2025 par Stuga Engineer en cours de rédaction

This page will give you the required information and understanding of the principles of a safety circuit and generic idea on how to identify faults. For the safety ciruit master document, use this link: https://stuga.dokit.app/wiki/Fault_Finding_-_Safety_Circuits_Master

Introduction

This tutorial will layout fundmental principles on how to identify issues with an emergency stop circuit and how to use them on any Stuga machine. This will be an ongoing document which can be enhanced by different experiences and evidence of success and failure. Please feel free to add information to help yourself and your colleagues moving forward...
Attention
Pour l'entretien, débranchez l'appareil du secteur
Haute Tension

Étape 1 - Purpose of the Safety Circuit

A machinery safety circuit is designed to protect both the equipment and operators from harm by ensuring safe operation. It monitors critical safety functions, like emergency stops, protective guards, and sensors, to prevent accidents or malfunctions. In case of a failure or hazard detection, the circuit triggers shutdowns or alerts, ensuring that the machine operates within safe limits and reduces the risk of injury or damage.

Étape 2 - Different Types of Safety Circuits

Safety Relay Controllers: These are used to monitor safety devices like emergency stops, interlocks, and door switches. They ensure that the machine stops or enters a safe state when a fault or hazardous condition is detected. This is a hard-wired system using either a single or double channel loop and can have a feedback loop hard-wired into the system with a manual restart button. This system is the most commonly used in the Stuga machinery range.


Safety PLCs (Programmable Logic Controllers): These are specialised PLCs designed to handle safety applications. They provide high levels of safety and redundancy and can integrate both standard control tasks and safety control tasks in the same system, making them suitable for large, complex machinery. We have a number of machines that use a programmable safety system which is know as 'TwinSAFE' and is built into the Beckhoff EtherCAT system. These can be identified in the IO blocks of machine cabinets and have a yellow finish.


Other: There are lots of different types of safety circuit controllers that can be find on different machines. Some of these controllers are very basic and others are very complex.

Étape 3 - Principles of a 'Loop/ Channel'

**Do not use this section for theTwinSAFE system**


The fundamental wiring behind any single or dual channel safety relay is the 'e-stop loop'.

The 'e-stop loop' is a term used for the start and end of the safety circuit. Some systems have 1 loop (single channel) and some have 2 (dual channel). The 'loops' start and end at the safety relay. The most basic funtion of the safety relay is to send out a signal from one of its terminals and if it receives the same signal back on another terminal, it evaluates the circuit as safe. This can be seen in Picture 1. Picture 2 has the same principle, however, the safety relay is now evaluating 2 loops rather than 1. In both pictures, notice there is only 1 safety device connected. In this case, an emergency stop button. To add additonal safety devices, they are simply wired in series before or after another safety device (see Picture 3). The red wires are channel 1 and the blue wires are channel 2. Also notice that the channels always go through Normally Closed (N/C) contacts on any safety device. 'Normally Closed' means that the contact is closed when the device is in its 'Inactive' position. For an emergeny stop button, this condition is when the button is NOT pressed. In a guardswitch, this position is when the key IS inside the switch etc. If you reference Picture 3, N/C contacts allow the signal from terminal S11 to go through all of the emergency stop buttons, and return into S12. The same applies to terminals S21 and S22. This is how the relay evaluates if the circuit is safe or unsafe. If any of the contacts on the emergency stop buttons opens, the signal will be broken and the relay will shut down.



Étape 4 - Safety Status and IO

On newer Stuga machines, each safety device will have a feedback input to the PLC to let the user know which safety device is active. This input is not to be confused with the safety circuit itself. As you can see from Picture 1, we have the estop loops from the previous section but we now have an additional 24Vdc and Input across a Normally Open (N/O) contact on the same button. This contact works in the opposite way to the safety loop contacts. If you look at the symbol, you can see that when the button is in its 'Inactive' state, the 24Vdc line will not be able to pass through to the input. When the button is 'Active (pressed)' the 24Vdc will pass through to the input line and send a 24Vdc signal to the PLC signalling which button has been activated. This is the message that you will see on the user interface of the machine. It is also important to know that the safety relay also provides an input to the PLC to signal whether the safety relay is active (reset) or inactive (shut down). If the input is 'High' from the safety relay, the machine knows that the safety circuit is reset and the machine is safe to run. This can be seen in Picture 2.


Étape 5 - Relay Feedback Loop (Restart Circuit)

**Examples used here include wire colours and wiring principles that apply to the relay used. The principle remains the same for other relay options but wiring colours and terminal connections may differ. See specific machine examples for accurate diagnostic information**

A key function of a safety relay is how it restarts after a shutdown. The function of the restart is determined by how safe the circuit needs to be. Some applications allow an automatic restart of the safety circuit which means as soon as the safety relay evaluates that the circuit is safe, it will automatically restart (reset). The safety circuits on Stuga machines (new and old) all use a manual restart with a reset pushbutton. On older machines (typically the ones that use a single channel circuit) the safety circuit is reset using only a reset button (see Picture 1). On newer machines (typically dual channel machines) a reset button is used and also an interlink with a N/C contact on 2 safety contactors (see Picture 2). In picture 1, if the safety circuit is evaluated as safe, pushing the reset button will restart the relay. In picture 2, if the safety circuit is evaluated as safe, pushing the reset button AND if both K1 and K2 contactors are OFF the relay will restart.

Referencing picture 2, the function of K1 and K2 is controlled by the safety relay. When the safety circuit is restarted, 24Vdc is passed through the safety relay contacts and pulls in the coils on K1 and K2. In turn, this opens the contacts that are used in the feedback loop and closes the contacts that are used for supplying 3 phase power to different equipment such as the saw blade and extraction (see picture 3). When a safety device is triggered, the safety relay will shut down and the 24Vdc which was powering the coils will be dropped and the contactors will open the 3 phase power contacts and close the feedback loop contacts (this is the contactors 'normal' position) (see picture 4). If, for some reason, one of the contactors fails to close one of its contacts, the safety circuit will not be able to restart. This is why it is called a feedback loop and it stops the machine resetting with a faulty safety contactor.

Étape 6 - TwinSAFE System

The TwinSAFE system is a programmable system rather than a hard-wired system. The machines use the same safety devices but they are not evaluated by a safety relay.

The TwinSAFE system treats safety devices as IO devices. An example of this is an emergency stop button. The emergency stop button is wired directly back to an input port on the TwinSAFE slice and the state of the emergency stop button is read by the slice. The emergency stop button is still wired with N/C contacts but there is no N/O for a status feedback as the TwinSAFE system is directly doing the evaluation.

Using various safety IO, the TwinSAFE system is programmed to perform certain actions under certain conditions. In simple terms, if all safety IO meets conditions set in the program, the TwinSAFE system will evaluate this and activate safe outputs (again programmable) which control the safety of the machine.

Wiring the TwinSAFE system is much simpler than a relay system, however, without knowledge of the TwinSAFE programming or how to use this programming for diagnostics, it can be much more difficult to find issues.

The added complication with TwinSAFE is that it works on the EtherCAT system. This means that when there is an issue with the EtherCAT system, the safety circuit will also not reset. The safety circuit not resetting can be a red herring in this system which can be tricky to understand.

Étape 7 - How to Find a Fault with a Safety Circuit (Generic)

There are a number of different ways to find faults with a safety circuit. If you have read through this guide and have another way which you use and works, please add it to this list!


  • Continuity test the loops (dead test) **ADD A VIDEO** - As we know, the safety circuit is just 1 or 2 loops that start at the safety relay and end at the safety relay. This means that if we have a complete loop, we will have continuity between the start and end of the loop. If there is no continuity, there is a break in the loop. To test where a fault lies in the system, use a multimeter on the continuity setting (beep function) and start at the safety relay. Each device is wired in series and will come back to a terminal conenction. Find where the first wire goes from the safety relay (wire numbers are key here) and put your first lead on this terminal. The other side of this terminal will be going out to a safety device. Find what device that is (cable numbers and wire tracing) and find out where that wire goes. Once you have found the wire, see what wire comes out of the other side and see where that goes in the cabinet. Once you have these 2 points, you can test continuity between them. If you hear a beep, that safety device contact is working. Do not forget to check both channels if it is a 2 channel system! This test can then be continued through all devices until you do not get a beep. You have then identified A problem (not necessary all of them!). Test all of the devices to make sure you find any and all breaks. Remember, the safety circuit not resetting is not necessarily an issue with the loops!
  • Measure the voltages on the loops **ADD A VIDEO** - The channels on a safety relay are typically different voltages and can be measured against each other. If you look at the relay used in step 4, you can use a multimeter on Voltage DC and measure between S11 and S21 and this will give you a voltage. In this method, you are always measuring loop 1 against loop 2 in all devices and rather than listening for a beep, you are looking for a device that returns no voltage.
  • Link out the loops - This test is much harder than the first 2 due to having to wire links and move them before and after each test. However, you can do this without a multimeter. If you use the same principle as the continuity test, but rather than always testing across a device, you keep one end of the wire in the relay at all times. This test works best if you link out the entire safety first, then reset, then keep moving one end of the wire back through the safety devices until you are unable to reset.

There are some really important factors to note when fault finding in any scenario. Always be methodical and follow wires and wire numbers. Do not be tempted to jump between different places as it will be hard to keep track and becomes increasingly difficult to log findings. More often than not it is also a waste of time as you end up starting the testing again!


To test the feedback loop on the safety relay, first you can use the continuity test and use a lead at the start of the feedback loop and end of the feedback loop. If the loop is good, you will get a beep when someone presses the reset button. If you do not get a beep, check the continuity over the 2 safety contactors N/C contacts and also the N/O contact of the reset button (it will have to be pressed to beep).

If no multimeter is available, you can link out the feedback loop and the safety relay will automatically reset itself if the safety circuit is complete. If this does work, the wire link can then be used over the 2 safety contactors N/C contacts and the N/O contact of the reset button until it is determined which component has failed.


NEVER LEAVE A MACHINE LINKED OUT. IF THERE IS A SAFETY CIRCUIT ISSUE, THE MACHINE CAN NOT BE USED AND THE COMPONENT WILL NEED TO BE REPLACED AND A FULL SAFETY CIRCUIT FUNCTION TEST WILL NEED TO BE COMPLETED BEFORE PRODUCTION CAN CONTINUE.

Commentaires

Draft