Function library, Function blocks, 62 mains failure control (mfail) – Lenze EVS9332xK User Manual
Page 229: Combination of the two methods

Function library
Function blocks
3.2.62
Mains failure control (MFAIL)
3−201
l
EDSVS9332K−EXT EN 4.0
External system for mains failure detection (934x supply module)
l
A digital output of the supply module 934x is connected to the function block MFAIL via the
digital inputs DIGIN of the controller 93XX. In the example the input X5/E4 is used. For this
purpose link the signals as follows:
– C0971 = 54 (DIGIN4 to MFAIL−FAULT)
– C0871 = 1000 (remove DCTRL−TRIP−SET from terminal X5/E4)
– Select level (HIGH or LOW active) with C0114/4
Enter the function block MFAIL into a free position of the processing table in C0465.
C0989/1
MFAIL-FAULT
MFAIL-RESET
C0971
C0972
1
0
C0988/1
C0970
C0989/2
CTRL
MFAIL-NOUT
MFAIL-N-SET
MFAIL
E1
E2
E3
E4
E5
1
0
C0114/1...5
DIGIN
DIGIN1
DIGIN2
DIGIN3
DIGIN4
DIGIN5
C0443
28
DCTRL -X5/28
X5
Fig. 3−153
Example of a mains failure detection by an external monitoring system
Combination of the two methods
l
The combination of both processes is done via an OR operation with an internal function
block. In the example, OR5 is used. For this, link the signals as follows:
– C0688/1 = 5005 (MCTRL−DCVOLT to CMP2−IN1)
– C0688/2 = 19540 (free code C0472/20 to CMP2−IN2)
– Set function of the comparator CMP2 with C0685 = 3
– C0838/1 = 10655 (CMP2−OUT to OR5−IN1)
– C0838/2 = 54 (DIGIN5 to OR5−IN2)
– C0971 = 10570 (OR5−OUT to MFAIL−FAULT)
Enter the function blocks CMP2, OR5 and MFAIL into free positions of the processing table in C0465.
C0989/1
MFAIL-FAULT
MFAIL-RESET
C0971
C0972
1
0
C0988/1
C0970
C0989/2
CTRL
MFAIL-NOUT
MFAIL-N-SET
MFAIL
E1
E2
E3
E4
E5
1
0
C0114/1...5
DIGIN
DIGIN1
DIGIN2
DIGIN3
DIGIN4
DIGIN5
C0443
28
DCTRL -X5/28
X5
C0686
C0687
C0689/1
CMP2
CMP2-OUT
CMP2-IN1
C0689/2
CMP2-IN2
C0688/1
C0688/2
C0685
C0472/20
MCTRL-DCVOLT
OR5
³1
OR5-IN1
OR5-IN2
OR5-IN3
OR5-OUT
C0839/1
C0839/2
C0839/3
C0838/1
C0838/2
C0838/3
FIXED0
Fig. 3−154
Example of a mains failure detected by different sources