What programming languages or standards do smart relays use?

Start with visual logic and check what your model supports
The programming methods most often encountered in smart relays are Ladder Diagram LD/LAD and Function Block Diagram FBD. Some products also offer Structured Text ST or other manufacturer-specific methods. The correct answer therefore depends on the exact relay model, its firmware and the programming software version. Using a manufacturer’s engineering software does not necessarily mean using a proprietary programming language.
What does IEC 61131-3 define?
IEC 61131-3:2025 (May 22, 2025, fourth edition) defines syntax and semantics for textual ST and graphical LD and FBD. SFC provides additional elements for structuring programs and function blocks.
Instruction List IL may appear in legacy projects but is not part of the language suite listed in the 2025 edition. Older “five languages” summaries need this update.
Editor’s note: An FBD editor does not establish support for every IEC 61131-3 feature. Check the manufacturer’s compliance statement and supported features. Even when two systems use the same language, data types, supplied function blocks and project files can differ; direct project compatibility across manufacturers cannot be assumed.
The practical difference between LD and FBD
LD or LAD uses contacts, coils and functions arranged in a ladder diagram. Series conditions make logical AND relationships easy to follow, while parallel branches represent logical OR. This is familiar to maintenance staff who read relay control diagrams. However, an on-screen contact is a software condition, rather than necessarily a direct representation of the physical wiring.
In FBD, the inputs and outputs of AND, OR, timer, counter and comparison blocks are connected together. This makes it convenient to combine a measurement condition with a timer or generate a run permission from several conditions. For timing and logic operations, check triggering, reset and state retention behavior alongside the block parameters.
For example, suppose a fan command should appear 10 seconds after a fan request and a normal operating permission are both present. In FBD, the two conditions can feed an AND block followed by an on-delay timer; in LD, series conditions and a timer can express the same requirement. With a non-retentive timer in this example, losing either condition resets the elapsed time and removes the command. Different languages can express the same function; the specified behavior is what matters.
Does every smart relay support ST and SFC?
Structured Text ST provides a textual approach to conditional expressions and calculations. It can be useful for scaling, mathematical operations or repeated calculations. ST support does not increase the device’s memory or processing capacity. If an application needs more advanced programming, assess the differences between smart relays and PLCs across the complete application.
Sequential Function Chart SFC organizes sequential operations using steps and transitions. Building a sequence with timers and memory bits does not establish that a smart relay has a native SFC editor. Implementing a sequence and supporting SFC are different capabilities.
Why manufacturer examples matter
Siemens documentation for LOGO!Soft Comfort describes LAD and FBD editors. When converting between representations, check the supported circuit structures and target hardware, then test the converted program again.
Schneider Electric Zelio Soft 2 offers LD and FBD, depending on the relevant Zelio Logic reference. The available functions and I/O arrangement depend on the selected product.
Documentation for Eaton easyE4 and easySoft lists LD, FBD, ST and EDP. EDP is Eaton’s programming method for easy devices; it is not a separate language name in the IEC standard’s current language suite. This also shows why the blanket claim that smart relays cannot use ST is incorrect.
Before downloading or moving a program to another model
Select the correct target device when creating a project, and check its I/O capacity, available blocks and required data types. Timers with similar names can have different restart behavior or retention settings. When moving a program, review initial values, time units and output conditions again.
During debugging, first simulate normal operation, loss of an input and restart scenarios, then monitor input states and output commands on the actual device. Communication with other control systems also requires the appropriate protocol and hardware; choosing FBD or ST does not provide these automatically. A programming language standard alone does not establish a device’s safety and security capabilities.
Related smart relay topics
Explore the basic functions of a smart relay and suitable industrial applications to define the program structure you need. The advantages and disadvantages and types of smart relay help complete the device selection. Continue with how smart relays are programmed for the practical workflow.
Categories that complete the control circuit
For broader program and hardware requirements, explore PLCs and accessories. Push buttons and sensors provide program inputs, while contactors are considered for controlling loads such as motors. Match the power supply to the requirements of the controller and field devices.
Return to the smart relay FAQ or the smart relays main page.