[Answer] Programming a Siemens PLC: How can one switch control a light on and off?
![[Answer] Programming a Siemens PLC: How can one switch control a light on and off?](/_next/image?url=https%3A%2F%2Flxunzzzdnokdqhipbmdf.supabase.co%2Fstorage%2Fv1%2Fobject%2Fpublic%2Fmedia%2Fcovers%2Fplc-0e6f4da0.png&w=3840&q=75)
[Answer] Programming a Siemens PLC: How can one switch control a light on and off?
[Answer] Programming a Siemens PLC: How can one switch control a light on and off?
I haven’t seen your exact program, but based on your description, there is a possible approach to consider. For the part where the counter needs to be reset, try using the falling edge of the previous state (for example, the light-off command) as the trigger. That way, the counter is reset only once, which should solve your problem.
![[Thought] Many viruses you’ve probably never heard of also contain DNA, such as iridoviruses](/_next/image?url=https%3A%2F%2Flxunzzzdnokdqhipbmdf.supabase.co%2Fstorage%2Fv1%2Fobject%2Fpublic%2Fmedia%2Fcovers%2Fdna-39161584.png&w=3840&q=75)
![[Answer] What did you do on the night you checked your Gaokao score?](/_next/image?url=https%3A%2F%2Flxunzzzdnokdqhipbmdf.supabase.co%2Fstorage%2Fv1%2Fobject%2Fpublic%2Fmedia%2Fcovers%2F-e4a8ec38.png&w=3840&q=75)
![[Answer] How Can You Score 130+ on the Gaokao Math Exam?](/_next/image?url=https%3A%2F%2Flxunzzzdnokdqhipbmdf.supabase.co%2Fstorage%2Fv1%2Fobject%2Fpublic%2Fmedia%2Fcovers%2F130-157dba52.png&w=3840&q=75)