Well, its mainly for ladder and function block if its what you meant. However, the task is like this:
a two color mixer must be controlled with PLS. The device works like this:
- When start switch S0 is operated, lamp H0 (refill) lights up. valve Y1 opens and pump M2 starts
- When sensor S1 is covered with liquid, valve Y1 closes and valve Y2 is opened.
- When sensor S2 is covered with liquid, close valve Y2, pump M2 and lamp H0 turn off and M1 starts
- After 6 seconds, M1 stops
- The unit can be switched off at any time with switch S6, thermal relays F1 or F2 (motor protection) or limit switch S4
- The ready-mixed liquid can then be manually withdrawn from the drain valve located at the bottom of the mixer
- The process can then start over again