How to configure using 2 input modules to activate one relay

The idea behind is to stop the electrical heating when the door opens.

The module to start the heating is a VMB8PBU and is timed. The door is connected to the VNB7IN
The relay is a VMB4RYNO.
So both the switch and the door needs to be ON to close the relay. If one or both of the switches opens the relay needs to lose power.

initiator: CH VMB7IN
subject: CH VMB8PBU
action: 3. lock during open contact

= CH VMB8PBU will be locked as long as your CH VMB7IN is open (not pressed).

Kris

Thank you, it works perfect