أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
what is the module used and how?
You are missing the basic fundamentals of PLC programming.
Your scan cycle is from the top to the bottom, so must consider what is happening in each cycle.
It is a very simple program just two rungs.
I have a drawing of the program I could show you but I don't know how to post it.
Use Ladder Logic and make Set/Reset Flipflop circuit....
U can program it by latching memory bit in first step.on second push it will reset the all function