The primary role of a relay in an automation panel is to provide protection against high value of current. It also provides switching functions as it acts like a switch to cut-off supply to the secondary side.