Hello malik,
you can into Easy-Soft switch in the programming only 4 operands (at MFD/Easy800 series). One using flags as four operands kan at more. However, one also can change the wiring to bool-algebra. But i think you have enough flags in the controler. Examples to this in the pictures. But attention, that the flag-areas not over-sheaths himself (in MD 1 is MW 1 and MW2 and so one).
Regards Jan