This is Interview question that every PLC programmer came across in his carrier.The Question is very tricky and shows the fundamentals (basic Ladder Laws) and depth of candidates knowledge.
Today we are going to discuss PLC program for Push to ON device and Push to Off Device.But the trick is that we have to use only Normally open(NO) ,Normally Close (NC) contacts ,and Coil as output only(No timer,Counter, OSR ). In short there will be a single Push Button Input (X0) , and one Output (Y0). When user press Push button for 1st time output will be ON ,when user Presses Push Button for 2nd time output will be OFF. This is also called as "Push to On Push to Off " logic.Analogy can be provided with "TV" on and off Push Button.
More Question asked on this are related to Scan time and rung interchange etc.
Today we are going to discuss PLC program for Push to ON device and Push to Off Device.But the trick is that we have to use only Normally open(NO) ,Normally Close (NC) contacts ,and Coil as output only(No timer,Counter, OSR ). In short there will be a single Push Button Input (X0) , and one Output (Y0). When user press Push button for 1st time output will be ON ,when user Presses Push Button for 2nd time output will be OFF. This is also called as "Push to On Push to Off " logic.Analogy can be provided with "TV" on and off Push Button.
We Can Break Sequence Like This :
1) Push Button Pressed (X0) ==> Output (Y0)On
2)Push Button Released (X0)==> Output (Y0) Latched
3)Push Button Pressed (X0)==> Output (Y0 )Off
4)Push Button Released (X0)==> Output (Y0) Off
Remember you can write PLC program in number of ways
- Using only NO,NC,Coil only
- Using Counter
- Using Pulse Instruction
- Using OSR (Rising Edge ,Falling Edge) Instruction
below program is using NO,NC,Coil
Below Program is using PLS instruction
Update Contact :
No Wa/Telepon (puat) : 085267792168
No Wa/Telepon (fajar) : 085369237896
Email : Fajarudinsidik@gmail.com
No Wa/Telepon (puat) : 085267792168
No Wa/Telepon (fajar) : 085369237896
Email: Fajarudinsidik@gmail.com
atau Kirimkan Private messanger melalui email dengan klik tombol order dibawah ini :