Skip to main content

FB_EDM

Description Function Block

The FB_EDM (External Device Monitor) function block monitors the bMon1 and bMon2 signals over time. Switch-on and switch-off monitoring can be configured. In the default state, both monitors are inactive.

In the case of the switch-on monitoring, it is checked whether the bMon2 signal is set to 0 within the specified time (maximally 10000 ms) on a change of the bMon1 signal from from 0 to 1.

In the case of the switch-off monitoring, it is checked whether the bMon2 signal is set to 1 within the specified time (maximally 10000 ms) on a change of the bMon1 signal from 1 to 0.

The bError output of the function block is set if the set monitoring time is exceeded. This can then be reset via the ErrAck signal of the TwinSAFE group.

EL6900_EDM.png
Table 10. VAR_INPUT

Name

Data Type

Initial Value

Description, Parameter Values

bMon1

BOOL

FALSE

1st input

The Negation command can be used to set whether the input is a normally closed or normally open contact.

bMon2

BOOL

FALSE

2nd input

Input, which must adopt the opposite value to input 1 within the set times.

tSwitchOnMonitoring

SAFETIME

TIME#0ms

Switch-on delay

tSwitchOffMonitoring

SAFETIME

TIME#0ms

Switch-off delay



Table 11. VAR_OUTPUT

Name

Data Type

Initial Value

Description, Parameter Values

bError

SAFEBOOL

FALSE

TRUE: Switch-on or switch-off times have been exceeded.

FALSE: No error has occurred.