{"id":42195,"date":"2018-12-10T10:32:43","date_gmt":"2018-12-10T02:32:43","guid":{"rendered":"http:\/\/localhost\/help\/?page_id=42195"},"modified":"2024-07-09T10:31:28","modified_gmt":"2024-07-09T02:31:28","slug":"2-level-alarm-boolean","status":"publish","type":"page","link":"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/usage-examples\/2-level-alarm-boolean\/","title":{"rendered":"2-Level Alarm Boolean"},"content":{"rendered":"\n<p class=\"intro-text\">The 2-Level Alarm Boolean process tests continuous data (<strong>Temperature<\/strong>) against primary and secondary temperature limits (<strong>Primary Temp <\/strong>and <strong>Secondary Temp<\/strong>).<\/p>\n<p class=\"intro-text\">The process first checks to see if the <strong>Min\/Max<\/strong> Boolean value (<strong>Max Limit<\/strong> in the UI) is selected. If it is, the logic in the upper part of the process is invoked. <strong>Temperature <\/strong>is checked to see if it is greater than <strong>Secondary Temp<\/strong>, and if it is, an event is raised and the state of the entity changes to <strong>Secondary<\/strong>. If not, <strong>Temperature <\/strong>is checked to see if it is greater than <strong>Primary Temp<\/strong>, and the state of the entity changes to <strong>Primary<\/strong> if it is.<\/p>\n<p class=\"intro-text\">If the <strong>Min\/Max<\/strong> Boolean value is not selected by the user, the logic in the lower part of the process is invoked. The <strong>Temperature <\/strong>is checked to see if it is less than <strong>Secondary Temp<\/strong>, and if it is, an event is raised and the state of the entity changes to <strong>Secondary<\/strong>. If not, <strong>Temperature <\/strong>is checked to see if it is less than <strong>Primary Temp<\/strong>, and the state of the entity changes to <strong>Primary <\/strong>if it is.<\/p>\n<h2 class=\"page-subheading\">Logic Editor<\/h2>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-266.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43977 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-266.png\" alt=\"\" width=\"788\" height=\"425\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-266.png 788w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-266-768x414.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-266-150x81.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-266-24x13.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-266-36x19.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-266-48x26.png 48w\" sizes=\"auto, (max-width: 788px) 100vw, 788px\" \/><\/a><\/p>\n<h2 class=\"page-subheading\">UI Editor<\/h2>\n<p class=\"intro-text\">Since the inputs are derived from IFS OI Explorer entities, these must be configured in the Sentinel monitor test. The UI Editor shows how the layout could be configured. The entry fields are added automatically, but the labels must be added in Sentinel Studio. Note that <strong>Max Limit<\/strong> is a check box that has been constructed from the <strong>Min\/Max<\/strong> Process Parameter, which has a <strong>Boolean <\/strong>parameter type.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-270.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43978 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-270.png\" alt=\"\" width=\"697\" height=\"137\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-270.png 697w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-270-150x29.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-270-24x5.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-270-36x7.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-270-48x9.png 48w\" sizes=\"auto, (max-width: 697px) 100vw, 697px\" \/><\/a><\/p>\n<p class=\"left-bar\">Related: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/sentinel-studio-primers\/\">Sentinel Studio Primers<\/a>,\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/creating-user-processes\/\">Creating a User Process<\/a>, <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/component-logic-functions\/\">Component Logic Functions<\/a>, <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/creating-user-processes\/using-the-logic-editor\/\">Logic Editor<\/a>, <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/creating-user-processes\/using-the-ui-editor\/\">UI Editor<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The 2-Level Alarm Boolean process tests continuous data (Temperature) against primary and secondary temperature limits (Primary Temp and Secondary Temp). Here is an example of how you can create this in Sentinel Studio.<\/p>\n<p class=\"continue-reading-button\"> <a class=\"continue-reading-link\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/usage-examples\/2-level-alarm-boolean\/\">Read more<i class=\"crycon-right-dir\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":43980,"parent":42148,"menu_order":4,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":"","_members_access_role":[],"_members_access_error":""},"categories":[9],"tags":[717,709,698,833,384,385,696,726,694],"class_list":["post-42195","page","type-page","status-publish","has-post-thumbnail","hentry","category-tech-ref","tag-alarm","tag-boolean-functions","tag-components-sentinel","tag-limits","tag-max","tag-min","tag-process-component","tag-studio-sentinel","tag-user-process","Version-4-6-1","Product-sen"],"_links":{"self":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/42195","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/comments?post=42195"}],"version-history":[{"count":2,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/42195\/revisions"}],"predecessor-version":[{"id":67971,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/42195\/revisions\/67971"}],"up":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/42148"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media\/43980"}],"wp:attachment":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media?parent=42195"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/categories?post=42195"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/tags?post=42195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}