Hi every body. I am new here also very new in PLC coding.
I need to write ladder code for the following conditions.
1. When you press the button switch PB1(X0) ,then the lamp PL1(Y50) is ON.
2. When you press the button switch PB2(X1) ,then the lamp PL2(Y51) is NO.
3. When you press the button switch PB3(X2) ,then the lamp PL3(Y52) is ON.
4. When the button switches PB2(X1) and PB3(X2) press at a time (same time) , only the lamp PL1(Y50) gets ON.
5. When the button switches PB1(X0) and PB3(X2) press at a time (same time) , only the lamp PL2(Y51) gets ON.
6. When the button switches PB1(X0) and PB2(X1) press at a time (same time) , only the lamp PL3(Y52) gets ON.
7. When the button switches PB1(X0), PB2(X1) and PB3(X2) press at a time (same time) the all lamps (PL1(Y50), PL2(Y51) and PL3(Y52)) flash or blink (1 second ON OFF).
I need to write ladder code for the following conditions.
1. When you press the button switch PB1(X0) ,then the lamp PL1(Y50) is ON.
2. When you press the button switch PB2(X1) ,then the lamp PL2(Y51) is NO.
3. When you press the button switch PB3(X2) ,then the lamp PL3(Y52) is ON.
4. When the button switches PB2(X1) and PB3(X2) press at a time (same time) , only the lamp PL1(Y50) gets ON.
5. When the button switches PB1(X0) and PB3(X2) press at a time (same time) , only the lamp PL2(Y51) gets ON.
6. When the button switches PB1(X0) and PB2(X1) press at a time (same time) , only the lamp PL3(Y52) gets ON.
7. When the button switches PB1(X0), PB2(X1) and PB3(X2) press at a time (same time) the all lamps (PL1(Y50), PL2(Y51) and PL3(Y52)) flash or blink (1 second ON OFF).