S7-200 operating hours meter

miro78

Member
Join Date
Aug 2014
Location
Bavaria
Posts
1
Hello,

I am new in this forum. And I am searching for a small programm that counts the operating hour's of a pump or motor.

I knew that there was a free download for a programm/library that could to this. The link was on the site www.s7-200.net. But the site is offline.

So I kindly ask is there anybody who can help me to get this programm.

Thank you in advance.

Best regards,

Michael
 
1. Create a "one hour pulse". You can do this using integrated 1_sec clock pulse. Count that pulse to 3600, and when 3600, reset counter and generate one_hour_pulse.
2. Use one_hour_pulse to increment specified DINT tag (DW) when motor is on.
 
You can also counts seconds when motor is on, then divide it by 3600.

*Always use double integers (DW) for counters.
 

Similar Topics

Hello, I have a question about an encoder that has absolute measurement. Specifically, it's the Lika SMA5, which I would like to connect...
Replies
2
Views
81
Hello, I have a question about an encoder that has absolute measurement. Specifically, it's the Lika SMA5, which I would like to connect...
Replies
0
Views
51
Hi. I have a 222 CPU. I need to recover the program from the eeprom memory. Is it possible?
Replies
1
Views
161
Hi all, Currently having trouble getting a speed reference to write over modbus to an Omron M1... I can successfully write a run command and...
Replies
6
Views
302
HI i would like to know how to get a variable that will store the amount of times a program has been executed. The issue is I have 3 DBs for 1 FB...
Replies
2
Views
125
Back
Top Bottom