PLC2U.com

...The latest article and sample code for your automation and control

  • Increase font size
  • Default font size
  • Decrease font size
Home Article PLC S7-200 Tips : How to Track How Long a Device Has Been Operating

S7-200 Tips : How to Track How Long a Device Has Been Operating

This example program shows how to record the operating period of a device such as a brake or switch. To ensure the validity of the results, a 24-V signal must be present at input I0.0 while the device is running and no voltage should be present while the device is off.

When the signal starts, time measurement starts. When the signal stops, time measurement is interrupted until the signal resumes. 

  • The number of hours is stored in variable memory word VW0. 
  • The number of minutes is stored in variable memory word VW2. 
  • The number of seconds is stored in variable memory word VW4.
 
Download Program Example:

 


Related articles:

Powered By relatedArticle

Blog Catalog

My BlogCatalog BlogRank

Blog Directory

Blog Directory & Search engine

Blog Directory

Technology

Visitors Counter

mod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_counter
mod_vvisit_counterToday133
mod_vvisit_counterYesterday154
mod_vvisit_counterThis week499
mod_vvisit_counterLast week811
mod_vvisit_counterThis month989
mod_vvisit_counterLast month3010
mod_vvisit_counterAll days22720