SF_EDM (External Device Monitoring)
Applicable Safety Standards
SF_EDM
is a certified PLCopen function block. For detailed information about the applied standards , see: "PLCopen – Technical Committee 5 – Safety Software"
Important
The requirements which are listed in the standards must be met by the user.
Interface Description
This function block applies an input signal (S_OutControl
) to an output signal (S_EDM_Out
). The function block monitors that two inputs switch off within a defined time (MonitoringTime
). If they do not switch off within the defined time, S_EDM_OUT
is set to FALSE
.
The SF_EDM
(External Device Monitoring) FB monitors the initial state and the switching state of actuators, for example switch amplifiers, which are controlled by safe output devices.
Name | Data Type | Initial Value | Description, Parameter Values |
---|---|---|---|
|
|
| |
|
|
| Variable Control signal of the preceding safety FBs. Typical function block signals from the PLCopen library (e.g.
|
|
|
| Variable Feedback signal of the first connected actuator (switch amplifier).
|
|
|
| Variable Feedback signal of the second connected actuator (switch amplifier). Depending on the actuators installed, the wiring between the feedback signals and the targeted safety level, it can be that only combined input is used here. In that case, the user must use a graphic connection to jumper the
|
|
|
| Constant Maximum response time of the connected and monitored actuators. The cautionary note |
|
|
|
MonitoringTime
Applies to developers in Extended Level: The MonitoringTime
input must be activated with a constant value. The value must not be changed for the calls.
Name | Data Type | Initial Value | Description, Parameter Values |
---|---|---|---|
|
|
| |
|
|
| Controls the actuator. The result is monitored by the feedback signal
|
|
|
| |
|
|
| |
|
|
| |
|
|
| See Diagnostic Codes |
SF_EDM

Functional Description
The SF_EDM
FB controls a safety output and monitors controlled actuators.
This function block monitors the initial state of the actuators via the feedback signals (S_EDM1
and S_EDM2
) before the actuators are enabled by the FB.
The function block monitors the switching state of the actuators (MonitoringTime
) after the actuators have been enabled by the FB.
Two single feedback signals must be used for an exact diagnosis of the connected actuators. A common feedback signal from the two connected actuators must be used for a restricted yet simple diagnostic function of the connected actuators. In this case, the user must connect this common signal to both S_EDM1
and S_EDM2
parameters. S_EDM1
and S_EDM2
are then controlled by the same signal.
The switching devices used in the safety function should be selected from the category specified in the risk analysis.
Optional startup inhibit
Startup inhibit in the event of block activation
Caution
The S_StartReset
input shall only be activated if it is ensured that no hazardous situation can occur when the safety controller is started.
State diagram
SF_EDM

Tip
The transition from any state to the Idle
state due to Activate = FALSE
is not shown. However these transitions have the highest priority.
Typical Timing Diagrams
SF_EDM
, S_StartReset = FALSE

Error Detection
The following conditions force a transition to the Error state:
Invalid static
Reset
signal in the processInvalid EDM signal in the process
The
S_OutControl
andReset
inputs are incorrectly interconnected due to programming error.
Error Behavior
In error states, the outputs are as follows:
The
S_EDM_Out
is set toFALSE
and remains in this safe state.An EDM error message must always be reset by a rising trigger at
Reset
.A Reset error message can be reset by setting
Reset
toFALSE
.
After function block activation, the optional startup inhibit can be reset by a rising edge at the Reset
input.
FB-Specific Error and State Codes
| State Name | State Description and Output Setting |
---|---|---|
|
| Static Reset signal in state
|
|
| Static Reset signal or same signals at
|
|
| Static Reset signal or same signals at
|
|
| Static Reset signal or same signals at
|
|
| Static Reset signal or same signals at
|
|
| Static Reset signal or same signals at
|
|
| Static Reset signal or same signals at
|
|
| Static Reset signal in state
|
|
| Static Reset signal in state
|
|
| Static Reset signal in state
|
|
| The signal at
|
|
| The signal at
|
|
| The signals at
|
|
| The signal at
|
|
| The signal at
|
|
| The signals at
|
|
| The signal at
|
|
| The signal at
|
|
| The signals at
|
|
| Similar signals at
|
(*) IF EDM_1 = TRUE AND EDM_2 = TRUE THEN R:= TRUE; ELSE R:= FALSE; END_IF
| State Name | State Description and Output Setting |
---|---|---|
|
| The function block is not active (initial state).
|
|
| Block activation startup inhibit is active. Reset required.
|
|
| EDM control is not active. Timer starts when state is entered.
|
|
| EDM control is active. Timer starts when state is entered.
|