<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Hour Meter of Sorts</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/25dc926898/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/25dc926898/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/25dc926898/</id><updated>2020-02-27T19:51:36.555000Z</updated><subtitle>Recent posts to Hour Meter of Sorts</subtitle><entry><title>Hour Meter of Sorts</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/25dc926898/?limit=25#76c9" rel="alternate"/><published>2020-02-27T19:51:36.555000Z</published><updated>2020-02-27T19:51:36.555000Z</updated><author><name>shooter</name><uri>https://forge.codesys.com/u/shooter/</uri></author><id>https://forge.codesys.com9697b82ecab6820a56aa93bb77d81881167cff89</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;within oscat goto downloadmanager&lt;br/&gt;
then you need to accept it on the bottom &lt;br/&gt;
and you will get a list with lots of languages and possibilities.&lt;br/&gt;
here are the links:&lt;br/&gt;
&lt;a class="" href="http://www.oscat.de/downloadmanager/finish/3-oscatbasic/79-oscat-basic-codesys-twincat-2-x.html" rel="nofollow"&gt;http://www.oscat.de/downloadmanager/fin ... t-2-x.html&lt;/a&gt;&lt;br/&gt;
&lt;a class="" href="http://www.oscat.de/downloadmanager/finish/3-oscatbasic/90-oscat-basic-docu-english.html" rel="nofollow"&gt;http://www.oscat.de/downloadmanager/fin ... glish.html&lt;/a&gt;&lt;br/&gt;
&lt;a class="" href="http://www.oscat.de/downloadmanager/finish/3-oscatbasic/81-oscat-basic-text.html" rel="nofollow"&gt;http://www.oscat.de/downloadmanager/fin ... -text.html&lt;/a&gt;&lt;br/&gt;
&lt;a class="" href="http://www.oscat.de/downloadmanager/finish/3-oscatbasic/92-oscat-basic-docu-epub-english.html" rel="nofollow"&gt;http://www.oscat.de/downloadmanager/fin ... glish.html&lt;/a&gt;&lt;br/&gt;
look for ontime that is a simple secondmeter&lt;br/&gt;
see explanation the VAR should be persistent and retain.&lt;br/&gt;
in the text version you can have a look at how it is done in structerd text.&lt;/p&gt;
&lt;p&gt;and timers are independant of the looptime. however not a good choice to use.&lt;br/&gt;
an easier way is to run a task every second and when motor running time is added 1 (and it should be remanent obvious.&lt;br/&gt;
when you change the software it will need to be on paper, as the location will be different.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Hour Meter of Sorts</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/25dc926898/?limit=25#4dce" rel="alternate"/><published>2020-02-27T19:51:35.274000Z</published><updated>2020-02-27T19:51:35.274000Z</updated><author><name>codesysbob</name><uri>https://forge.codesys.com/u/codesysbob/</uri></author><id>https://forge.codesys.comf95c29dbd7220f37ae384a01dfd31fef595130cd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have not had any luck.  I even tried making time by using timers but my program is freewheeling so timers wont work as the cycle time is not always the same.  I tried the oscat website seen below and cant seem to get it in english.  Has anyone else run into this?  I simply need to start keeping track of time once a signal i receive goes high.&lt;/p&gt;
&lt;p&gt;Thanks in advance for all replies.  I dont want to have to put an old school hour meter in when i have a $5K touch screen which i would think SHOULD be able to keep track of time!!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Hour Meter of Sorts</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/25dc926898/?limit=25#8537" rel="alternate"/><published>2020-02-27T19:51:34.008000Z</published><updated>2020-02-27T19:51:34.008000Z</updated><author><name>bburgess</name><uri>https://forge.codesys.com/u/bburgess/</uri></author><id>https://forge.codesys.com8d507d383d90907251201f5a5afa37a4956f8415</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Codesys bob,&lt;br/&gt;
Did you get any satisfaction on making a machine run hour meter?&lt;br/&gt;
I take it that you need to start and stop like a stopwatch and reset?&lt;br/&gt;
Started with time() FUNCTION?.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Hour Meter of Sorts</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/25dc926898/?limit=25#26d7" rel="alternate"/><published>2020-02-27T19:51:30.411000Z</published><updated>2020-02-27T19:51:30.411000Z</updated><author><name>shooter</name><uri>https://forge.codesys.com/u/shooter/</uri></author><id>https://forge.codesys.com7804165d8920627a4f5b400626ff0a6cc5f06542</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;two ways to do this:&lt;br/&gt;
use a timed POU in a task running every second or minute and add one to it in a retained variable&lt;/p&gt;
&lt;p&gt;or have a look in  w &lt;a class="" href="http://www.oscat.de" rel="nofollow"&gt;www.oscat.de&lt;/a&gt; w  for a lot of functions that can be used in codesys&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Hour Meter of Sorts</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/25dc926898/?limit=25#69a8" rel="alternate"/><published>2020-02-27T19:51:29.129000Z</published><updated>2020-02-27T19:51:29.129000Z</updated><author><name>codesysbob</name><uri>https://forge.codesys.com/u/codesysbob/</uri></author><id>https://forge.codesys.com30e244c903f6925ae08e2b80f7428bc44d0445d3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Does anyone know a way i can keep track of time?  I have done many searches and found the RTC function but this is not what i need.&lt;/p&gt;
&lt;p&gt;I need an hour meter which will keep track of ON time which one of my devices are on.  Once i shut down the system, i will store this time in a retains.&lt;/p&gt;
&lt;p&gt;I undertand all parts, except the time portion?  Any help would be great!&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>