{"id":53190,"date":"2023-10-05T13:56:13","date_gmt":"2023-10-05T11:56:13","guid":{"rendered":"https:\/\/www.myscada.org\/?post_type=docs&#038;p=53190"},"modified":"2023-10-24T15:35:28","modified_gmt":"2023-10-24T13:35:28","password":"","slug":"%e2%9c%b5-running-hours","status":"publish","type":"docs","link":"https:\/\/amitomation.cz\/en\/documentation\/%e2%9c%b5-running-hours\/","title":{"rendered":"\u2735 Running hours"},"content":{"rendered":"<ul style=\"list-style-type: square;\">\n<li><span style=\"color: #0084c8;\"><strong>Refresh<\/strong><\/span> &#8211; Is the time how fast is your device being check.<\/li>\n<li><span style=\"color: #0084c8;\"><strong>Direction<\/strong><\/span> &#8211; If you want to count UP or Down.<\/li>\n<li><span style=\"color: #0084c8;\"><strong>Type<\/strong><\/span> &#8211; This means if you want to get counted replacement time by pulses or by a time.<\/li>\n<li><span style=\"color: #0084c8;\"><strong>Trigger tag<\/strong><\/span> &#8211; Is the tag which will start whole countdown for running hours (you can select maximum and minimum for triggering count down).<\/li>\n<li><span style=\"color: #0084c8;\"><strong>Name<\/strong><\/span> &#8211; You can specify name of part, so once your employees will get alarm they will exactly know which part needs to be repaired or replaced.<\/li>\n<li><span style=\"color: #0084c8;\"><strong>Count<\/strong><\/span> &#8211; Maximum value.<\/li>\n<li><span style=\"color: #0084c8;\"><strong>Warning<\/strong><\/span> &#8211; Warning is first alarms which you will get.\n<ul style=\"list-style-type: square;\">\n<li><strong>Limit<\/strong> &#8211; Is limit for warning.<\/li>\n<li><strong>Message<\/strong> &#8211; Is message which will be displayed after limit is reached.<\/li>\n<li><strong>CAS Alarm<\/strong> &#8211; You can edit alarm which will be automatically created after marking warning as wanted.<\/li>\n<\/ul>\n<\/li>\n<li><span style=\"color: #0084c8;\"><strong>Error<\/strong><\/span>\n<ul style=\"list-style-type: square;\">\n<li><strong>Limit<\/strong> &#8211; Is limit for error.<\/li>\n<li><strong>Message<\/strong> &#8211; Is message which will be displayed after limit is reached.<\/li>\n<li><strong>CAS Alarm<\/strong> &#8211;\u00a0You can edit alarm which will be automatically created after marking error as wanted.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">After creating running hour you can will find new tab in Server Side scripts &#8220;RunningHours_Name&#8221;<\/p>\n<p>Which includes 5 variables:<\/p>\n<ul style=\"list-style-type: square;\">\n<li><span style=\"color: #0084c8;\"><strong>Count<\/strong><\/span> &#8211; Maximum count<\/li>\n<li><span style=\"color: #0084c8;\"><strong>LimitW<\/strong><\/span> &#8211; Warning<\/li>\n<li><span style=\"color: #0084c8;\"><strong>LimitE<\/strong><\/span> &#8211; Error<\/li>\n<li><span style=\"color: #0084c8;\"><strong>Expected timeW<\/strong><\/span> &#8211; Expected time for warning<\/li>\n<li><span style=\"color: #0084c8;\"><strong>Expected timeE<\/strong><\/span> &#8211; Expected time for error<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">These tags can\u2019t be edited or renamed to prevent any possible issues that could be cause by accidentally changing these tags, but these tags can be used inside server side scripts for additional functions.<\/p>\n<p><span style=\"color: #0084c8;\"><strong>Example:<\/strong><\/span><\/p>\n<p style=\"text-align: justify;\">First we will start with creating running hours.<\/p>\n<p><a href=\"http:\/\/myscada.org\/downloads\/manuals_image\/img_36.0.1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/myscada.org\/downloads\/manuals_image\/img_47.0.1.png\" alt=\"\" width=\"1093\" height=\"593\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">Then we will define what tag will start time, refresh time, direction &#8211; if we want to count down or count up.<\/p>\n<p style=\"text-align: justify;\">If we want to count up or down pulses or time.<\/p>\n<p style=\"text-align: justify;\">And then we will just simply name each part let&#8217;s say as example we have drill tip which needs to be replaced after one minute and after 1 minute we want to be warned that we are in half lifetime of the component.<\/p>\n<p style=\"text-align: justify;\">And after 2 minutes we want to get error message.<br \/>\nThese two options can be allowed or not, you can put there a custom message etc\u2026<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/myscada.org\/downloads\/manuals_image\/img_47.0.2.png\" alt=\"\" \/><\/p>\n<p style=\"text-align: justify;\">As mentioned before, in Script variables tables there were created new script variable table which include all the information which we have set up in running hours tab, that\u2019s how we can also track time in runtime.<\/p>\n<p style=\"text-align: justify;\">I have also created in view 3 components &#8211; displays, one of them displays count the other one displays Limit for Warning which is 60 seconds &#8211; 1 minute. Second display displays limit for Error which is set for 120 seconds &#8211; 2 minutes<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/myscada.org\/downloads\/manuals_image\/img_47.0.3.png\" alt=\"\" \/><\/p>\n<p style=\"text-align: justify;\">Once I will press the button which is toggle for tag H:1 whole process will start.<\/p>\n<p style=\"text-align: justify;\">Count itself will go up since that\u2019s count how much time is machine running since tag trigger. Then we should get alarmed in CAS alarms first for warning then for error once counter reaches values which we have set.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Refresh &#8211; Is the time how fast is your device being check. Direction &#8211; If you want to count UP or Down. Type &#8211; This means if you want to get counted replacement time by pulses or by a time. Trigger tag &#8211; Is the tag which will start whole countdown for running hours (you<a class=\"moretag excerpt orangelink\" href=\"https:\/\/amitomation.cz\/en\/documentation\/%e2%9c%b5-running-hours\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":2555,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[325],"doc_tag":[],"class_list":["post-53190","docs","type-docs","status-publish","hentry","doc_category-mydesigner-v8"],"year_month":"2026-04","word_count":496,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"Musilda","author_nicename":"musilda","author_url":"https:\/\/amitomation.cz\/en\/author\/musilda\/"},"doc_category_info":[{"term_name":"AMiTDesigner","term_url":"https:\/\/amitomation.cz\/en\/docs-category\/mydesigner-v8\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u2735 Running hours - AMiT Automation<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/amitomation.cz\/en\/documentation\/%e2%9c%b5-running-hours\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u2735 Running hours - AMiT Automation\" \/>\n<meta property=\"og:description\" content=\"Refresh &#8211; Is the time how fast is your device being check. Direction &#8211; If you want to count UP or Down. Type &#8211; This means if you want to get counted replacement time by pulses or by a time. Trigger tag &#8211; Is the tag which will start whole countdown for running hours (you[...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/amitomation.cz\/en\/documentation\/%e2%9c%b5-running-hours\/\" \/>\n<meta property=\"og:site_name\" content=\"AMiT Automation\" \/>\n<meta property=\"article:modified_time\" content=\"2023-10-24T13:35:28+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/myscada.org\/downloads\/manuals_image\/img_47.0.1.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/amitomation.cz\/en\/documentation\/%e2%9c%b5-running-hours\/\",\"url\":\"https:\/\/amitomation.cz\/en\/documentation\/%e2%9c%b5-running-hours\/\",\"name\":\"\u2735 Running hours - AMiT Automation\",\"isPartOf\":{\"@id\":\"https:\/\/amitomation.cz\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/amitomation.cz\/en\/documentation\/%e2%9c%b5-running-hours\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/amitomation.cz\/en\/documentation\/%e2%9c%b5-running-hours\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/myscada.org\/downloads\/manuals_image\/img_47.0.1.png\",\"datePublished\":\"2023-10-05T11:56:13+00:00\",\"dateModified\":\"2023-10-24T13:35:28+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/amitomation.cz\/en\/documentation\/%e2%9c%b5-running-hours\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/amitomation.cz\/en\/documentation\/%e2%9c%b5-running-hours\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/amitomation.cz\/en\/documentation\/%e2%9c%b5-running-hours\/#primaryimage\",\"url\":\"http:\/\/myscada.org\/downloads\/manuals_image\/img_47.0.1.png\",\"contentUrl\":\"http:\/\/myscada.org\/downloads\/manuals_image\/img_47.0.1.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/amitomation.cz\/en\/documentation\/%e2%9c%b5-running-hours\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/amitomation.cz\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Documentation\",\"item\":\"https:\/\/amitomation.cz\/en\/documentation\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"\u2735 Running hours\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/amitomation.cz\/en\/#website\",\"url\":\"https:\/\/amitomation.cz\/en\/\",\"name\":\"AMiT Automation\",\"description\":\"Czech manufacturer of Control Systems and Industrial Automation Electronics\",\"publisher\":{\"@id\":\"https:\/\/amitomation.cz\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/amitomation.cz\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/amitomation.cz\/en\/#organization\",\"name\":\"AMiT, spol. s r.o.\",\"url\":\"https:\/\/amitomation.cz\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/amitomation.cz\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/amitomation.cz\/wp-content\/uploads\/2017\/07\/amit_automation_100x42.gif\",\"contentUrl\":\"https:\/\/amitomation.cz\/wp-content\/uploads\/2017\/07\/amit_automation_100x42.gif\",\"width\":100,\"height\":42,\"caption\":\"AMiT, spol. s r.o.\"},\"image\":{\"@id\":\"https:\/\/amitomation.cz\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.linkedin.com\/organization\/10939938\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u2735 Running hours - AMiT Automation","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/amitomation.cz\/en\/documentation\/%e2%9c%b5-running-hours\/","og_locale":"en_US","og_type":"article","og_title":"\u2735 Running hours - AMiT Automation","og_description":"Refresh &#8211; Is the time how fast is your device being check. Direction &#8211; If you want to count UP or Down. Type &#8211; This means if you want to get counted replacement time by pulses or by a time. Trigger tag &#8211; Is the tag which will start whole countdown for running hours (you[...]","og_url":"https:\/\/amitomation.cz\/en\/documentation\/%e2%9c%b5-running-hours\/","og_site_name":"AMiT Automation","article_modified_time":"2023-10-24T13:35:28+00:00","og_image":[{"url":"http:\/\/myscada.org\/downloads\/manuals_image\/img_47.0.1.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/amitomation.cz\/en\/documentation\/%e2%9c%b5-running-hours\/","url":"https:\/\/amitomation.cz\/en\/documentation\/%e2%9c%b5-running-hours\/","name":"\u2735 Running hours - AMiT Automation","isPartOf":{"@id":"https:\/\/amitomation.cz\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/amitomation.cz\/en\/documentation\/%e2%9c%b5-running-hours\/#primaryimage"},"image":{"@id":"https:\/\/amitomation.cz\/en\/documentation\/%e2%9c%b5-running-hours\/#primaryimage"},"thumbnailUrl":"http:\/\/myscada.org\/downloads\/manuals_image\/img_47.0.1.png","datePublished":"2023-10-05T11:56:13+00:00","dateModified":"2023-10-24T13:35:28+00:00","breadcrumb":{"@id":"https:\/\/amitomation.cz\/en\/documentation\/%e2%9c%b5-running-hours\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/amitomation.cz\/en\/documentation\/%e2%9c%b5-running-hours\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/amitomation.cz\/en\/documentation\/%e2%9c%b5-running-hours\/#primaryimage","url":"http:\/\/myscada.org\/downloads\/manuals_image\/img_47.0.1.png","contentUrl":"http:\/\/myscada.org\/downloads\/manuals_image\/img_47.0.1.png"},{"@type":"BreadcrumbList","@id":"https:\/\/amitomation.cz\/en\/documentation\/%e2%9c%b5-running-hours\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/amitomation.cz\/en\/"},{"@type":"ListItem","position":2,"name":"Documentation","item":"https:\/\/amitomation.cz\/en\/documentation\/"},{"@type":"ListItem","position":3,"name":"\u2735 Running hours"}]},{"@type":"WebSite","@id":"https:\/\/amitomation.cz\/en\/#website","url":"https:\/\/amitomation.cz\/en\/","name":"AMiT Automation","description":"Czech manufacturer of Control Systems and Industrial Automation Electronics","publisher":{"@id":"https:\/\/amitomation.cz\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/amitomation.cz\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/amitomation.cz\/en\/#organization","name":"AMiT, spol. s r.o.","url":"https:\/\/amitomation.cz\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/amitomation.cz\/en\/#\/schema\/logo\/image\/","url":"https:\/\/amitomation.cz\/wp-content\/uploads\/2017\/07\/amit_automation_100x42.gif","contentUrl":"https:\/\/amitomation.cz\/wp-content\/uploads\/2017\/07\/amit_automation_100x42.gif","width":100,"height":42,"caption":"AMiT, spol. s r.o."},"image":{"@id":"https:\/\/amitomation.cz\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.linkedin.com\/organization\/10939938\/"]}]}},"_links":{"self":[{"href":"https:\/\/amitomation.cz\/en\/wp-json\/wp\/v2\/docs\/53190","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/amitomation.cz\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/amitomation.cz\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/amitomation.cz\/en\/wp-json\/wp\/v2\/users\/2555"}],"replies":[{"embeddable":true,"href":"https:\/\/amitomation.cz\/en\/wp-json\/wp\/v2\/comments?post=53190"}],"version-history":[{"count":1,"href":"https:\/\/amitomation.cz\/en\/wp-json\/wp\/v2\/docs\/53190\/revisions"}],"predecessor-version":[{"id":53438,"href":"https:\/\/amitomation.cz\/en\/wp-json\/wp\/v2\/docs\/53190\/revisions\/53438"}],"wp:attachment":[{"href":"https:\/\/amitomation.cz\/en\/wp-json\/wp\/v2\/media?parent=53190"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/amitomation.cz\/en\/wp-json\/wp\/v2\/doc_category?post=53190"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/amitomation.cz\/en\/wp-json\/wp\/v2\/doc_tag?post=53190"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}