{"id":117834,"date":"2023-08-18T13:10:02","date_gmt":"2023-08-18T11:10:02","guid":{"rendered":"https:\/\/www.velasolaris.com\/handbuch\/operators\/"},"modified":"2025-10-23T15:14:43","modified_gmt":"2025-10-23T13:14:43","slug":"operators","status":"publish","type":"handbuch","link":"https:\/\/www.velasolaris.com\/en\/handbuch\/polysun-designer\/controllers\/programmable-controller\/operators\/","title":{"rendered":"Operators"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Below we provide a description of the operators that can be used in the formulas.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Logical operations:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Table: Logical operations of the programmable controller<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>&lt;&nbsp;<\/td><td>Returns the value 1 if the value to the left of the operator is <strong>smaller than<\/strong> the value to the right of the operator. Otherwise, the returned value is 0.<\/td><\/tr><tr><td>&lt;=<\/td><td>Returns the value 1 if the value to the left of the operator is <strong>smaller than or equal to <\/strong>the value to the right of the operator. Otherwise, the returned value is 0.<\/td><\/tr><tr><td>&gt;&nbsp;<\/td><td>Returns the value 1 if the value to the left of the operator is <strong>larger than <\/strong>the value to the right of the operator. Otherwise, the returned value is 0.<\/td><\/tr><tr><td>&gt;=<\/td><td>Returns the value 1 if the value to the left of the operator is <strong>larger than or equal <\/strong>to the value to the right of the operator. Otherwise, the returned value is 0.<\/td><\/tr><tr><td>=<\/td><td>Returns the value 1 if the value to the left of the operator is <strong>equal<\/strong> to the value to the right of the operator. Otherwise, the returned value is 0.<\/td><\/tr><tr><td>&lt;&gt;&nbsp;<\/td><td>Returns the value 1 if the value to the left of the operator is not <strong>equal<\/strong> to the value to the right of the operator. Otherwise, the returned value is 0.<\/td><\/tr><tr><td>AND<\/td><td>Returns the value 1 if the value to the left <strong>and<\/strong> right of the operator is 1. Otherwise, the returned value is 0.<\/td><\/tr><tr><td>OR<\/td><td>Returns the value 1 if the value to the left <strong>or<\/strong> right of the operator is 1. Otherwise, the returned value is 0.<\/td><\/tr><tr><td>NOT<\/td><td>Returns the value 1 if the value to the right of the operator is 0. Otherwise, the returned value is 0.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Mathematical operations:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>+<\/td><td>Returns a value which is the <strong>sum <\/strong>of the values to the left and right of the operator.<\/td><\/tr><tr><td>&#8211;<\/td><td>Returns a value which is the <strong>difference<\/strong> between the values to the left and right of the operator.<\/td><\/tr><tr><td>\/<\/td><td>Returns a value which is the <strong>quotient <\/strong>of the values to the left and right of the operator.<\/td><\/tr><tr><td>*<\/td><td>Returns a value which is the <strong>product<\/strong> of the values to the left and right of the operator.<\/td><\/tr><tr><td>%<\/td><td>Returns a value which is the <strong>integer quotient <\/strong>of the values to the left and right of the operator.<\/td><\/tr><tr><td>^<\/td><td>Returns a value which is the <strong>power<\/strong> of the values to the left and right of the operator.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Expressions can be grouped and evaluated before others using brackets \u201c( \u2026 )\u201c. The formulas are evaluated in the following order:<\/p>\n\n\n\n<ol class=\"wp-block-list\" type=\"1\" start=\"1\">\n<li>^<\/li>\n\n\n\n<li>* , \/, %<\/li>\n\n\n\n<li>+, &#8211;<\/li>\n\n\n\n<li>&lt;, , &gt;, &lt;=, &gt;=, &lt;&gt;<\/li>\n\n\n\n<li>=<\/li>\n\n\n\n<li>NOT<\/li>\n\n\n\n<li>AND<\/li>\n\n\n\n<li>OR<\/li>\n<\/ol>\n","protected":false},"author":19748,"featured_media":0,"parent":117832,"menu_order":34,"comment_status":"closed","ping_status":"closed","template":"","class_list":["post-117834","handbuch","type-handbuch","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.0 (Yoast SEO v28.0) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Operators - POLYSUN<\/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:\/\/www.velasolaris.com\/en\/handbuch\/polysun-designer\/controllers\/programmable-controller\/operators\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Operators\" \/>\n<meta property=\"og:description\" content=\"Below we provide a description of the operators that can be used in the...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.velasolaris.com\/en\/handbuch\/polysun-designer\/controllers\/programmable-controller\/operators\/\" \/>\n<meta property=\"og:site_name\" content=\"POLYSUN\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/polysun.switzerland\/\" \/>\n<meta property=\"article:modified_time\" content=\"2025-10-23T13:14:43+00:00\" \/>\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:\\\/\\\/www.velasolaris.com\\\/en\\\/handbuch\\\/polysun-designer\\\/controllers\\\/programmable-controller\\\/operators\\\/\",\"url\":\"https:\\\/\\\/www.velasolaris.com\\\/en\\\/handbuch\\\/polysun-designer\\\/controllers\\\/programmable-controller\\\/operators\\\/\",\"name\":\"Operators - POLYSUN\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.velasolaris.com\\\/en\\\/#website\"},\"datePublished\":\"2023-08-18T11:10:02+00:00\",\"dateModified\":\"2025-10-23T13:14:43+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.velasolaris.com\\\/en\\\/handbuch\\\/polysun-designer\\\/controllers\\\/programmable-controller\\\/operators\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.velasolaris.com\\\/en\\\/handbuch\\\/polysun-designer\\\/controllers\\\/programmable-controller\\\/operators\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.velasolaris.com\\\/en\\\/handbuch\\\/polysun-designer\\\/controllers\\\/programmable-controller\\\/operators\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.velasolaris.com\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Polysun Designer\",\"item\":\"https:\\\/\\\/www.velasolaris.com\\\/en\\\/handbuch\\\/polysun-designer\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Controllers\",\"item\":\"https:\\\/\\\/www.velasolaris.com\\\/en\\\/handbuch\\\/polysun-designer\\\/controllers\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Programmable Controller\",\"item\":\"https:\\\/\\\/www.velasolaris.com\\\/en\\\/handbuch\\\/polysun-designer\\\/controllers\\\/programmable-controller\\\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Operators\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.velasolaris.com\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/www.velasolaris.com\\\/en\\\/\",\"name\":\"POLYSUN\",\"description\":\"by Vela Solaris\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.velasolaris.com\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.velasolaris.com\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.velasolaris.com\\\/en\\\/#organization\",\"name\":\"POLYSUN\",\"url\":\"https:\\\/\\\/www.velasolaris.com\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.velasolaris.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.velasolaris.com\\\/wp-content\\\/uploads\\\/2020\\\/07\\\/Polysun-Logo.svg\",\"contentUrl\":\"https:\\\/\\\/www.velasolaris.com\\\/wp-content\\\/uploads\\\/2020\\\/07\\\/Polysun-Logo.svg\",\"width\":1,\"height\":1,\"caption\":\"POLYSUN\"},\"image\":{\"@id\":\"https:\\\/\\\/www.velasolaris.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/polysun.switzerland\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/vela-solaris\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Operators - POLYSUN","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:\/\/www.velasolaris.com\/en\/handbuch\/polysun-designer\/controllers\/programmable-controller\/operators\/","og_locale":"en_US","og_type":"article","og_title":"Operators","og_description":"Below we provide a description of the operators that can be used in the...","og_url":"https:\/\/www.velasolaris.com\/en\/handbuch\/polysun-designer\/controllers\/programmable-controller\/operators\/","og_site_name":"POLYSUN","article_publisher":"https:\/\/www.facebook.com\/polysun.switzerland\/","article_modified_time":"2025-10-23T13:14:43+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.velasolaris.com\/en\/handbuch\/polysun-designer\/controllers\/programmable-controller\/operators\/","url":"https:\/\/www.velasolaris.com\/en\/handbuch\/polysun-designer\/controllers\/programmable-controller\/operators\/","name":"Operators - POLYSUN","isPartOf":{"@id":"https:\/\/www.velasolaris.com\/en\/#website"},"datePublished":"2023-08-18T11:10:02+00:00","dateModified":"2025-10-23T13:14:43+00:00","breadcrumb":{"@id":"https:\/\/www.velasolaris.com\/en\/handbuch\/polysun-designer\/controllers\/programmable-controller\/operators\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.velasolaris.com\/en\/handbuch\/polysun-designer\/controllers\/programmable-controller\/operators\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.velasolaris.com\/en\/handbuch\/polysun-designer\/controllers\/programmable-controller\/operators\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.velasolaris.com\/en\/"},{"@type":"ListItem","position":2,"name":"Polysun Designer","item":"https:\/\/www.velasolaris.com\/en\/handbuch\/polysun-designer\/"},{"@type":"ListItem","position":3,"name":"Controllers","item":"https:\/\/www.velasolaris.com\/en\/handbuch\/polysun-designer\/controllers\/"},{"@type":"ListItem","position":4,"name":"Programmable Controller","item":"https:\/\/www.velasolaris.com\/en\/handbuch\/polysun-designer\/controllers\/programmable-controller\/"},{"@type":"ListItem","position":5,"name":"Operators"}]},{"@type":"WebSite","@id":"https:\/\/www.velasolaris.com\/en\/#website","url":"https:\/\/www.velasolaris.com\/en\/","name":"POLYSUN","description":"by Vela Solaris","publisher":{"@id":"https:\/\/www.velasolaris.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.velasolaris.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.velasolaris.com\/en\/#organization","name":"POLYSUN","url":"https:\/\/www.velasolaris.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.velasolaris.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/www.velasolaris.com\/wp-content\/uploads\/2020\/07\/Polysun-Logo.svg","contentUrl":"https:\/\/www.velasolaris.com\/wp-content\/uploads\/2020\/07\/Polysun-Logo.svg","width":1,"height":1,"caption":"POLYSUN"},"image":{"@id":"https:\/\/www.velasolaris.com\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/polysun.switzerland\/","https:\/\/www.linkedin.com\/company\/vela-solaris\/"]}]}},"publishpress_future_workflow_manual_trigger":{"enabledWorkflows":[]},"_links":{"self":[{"href":"https:\/\/www.velasolaris.com\/en\/wp-json\/wp\/v2\/handbuch\/117834","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.velasolaris.com\/en\/wp-json\/wp\/v2\/handbuch"}],"about":[{"href":"https:\/\/www.velasolaris.com\/en\/wp-json\/wp\/v2\/types\/handbuch"}],"author":[{"embeddable":true,"href":"https:\/\/www.velasolaris.com\/en\/wp-json\/wp\/v2\/users\/19748"}],"replies":[{"embeddable":true,"href":"https:\/\/www.velasolaris.com\/en\/wp-json\/wp\/v2\/comments?post=117834"}],"version-history":[{"count":1,"href":"https:\/\/www.velasolaris.com\/en\/wp-json\/wp\/v2\/handbuch\/117834\/revisions"}],"predecessor-version":[{"id":141140,"href":"https:\/\/www.velasolaris.com\/en\/wp-json\/wp\/v2\/handbuch\/117834\/revisions\/141140"}],"up":[{"embeddable":true,"href":"https:\/\/www.velasolaris.com\/en\/wp-json\/wp\/v2\/handbuch\/117832"}],"wp:attachment":[{"href":"https:\/\/www.velasolaris.com\/en\/wp-json\/wp\/v2\/media?parent=117834"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}