{"id":45703,"date":"2021-05-24T16:47:44","date_gmt":"2021-05-24T08:47:44","guid":{"rendered":"https:\/\/www.tm-robot.com\/?post_type=docs&p=45703"},"modified":"2022-08-05T10:53:03","modified_gmt":"2022-08-05T02:53:03","slug":"set-node-for-i-o-control","status":"publish","type":"docs","link":"https:\/\/www.tm-robot.com.cn\/zh-hant\/docs\/set-node-for-i-o-control\/","title":{"rendered":"SET Node Introduction"},"content":{"rendered":"

SET node<\/strong> can set the states of I\/O, and modify the type and value of variables. When passing through this node, all parameters in the node will be changed to the set result.<\/p>\n

\"\"<\/a>
SET Node<\/figcaption><\/figure>\n

Set Variables<\/h1>\n

In the application of variables, the SET Node can add and subtract variables, associate with the IF Node to select the path, or interrupt the infinite path of the project. As shown below, set an integer type of variable count=0. Each time it passes through the SET Node, the count value is incremented by 1.<\/p>\n

Note: var_<\/em><\/strong> represents local variables, g_<\/strong><\/em> represents global variables.<\/p>\n

\"\"<\/a>
Variable Count<\/figcaption><\/figure>\n

Syntax Meaning<\/h1>\n

a+=b \u00a0 <====>\u00a0 \u00a0 a=a+b
\na\u2212=b \u00a0 <====>\u00a0 \u00a0 a=a\u2212b
\na\u2217=b \u00a0 <====>\u00a0 \u00a0 a=a\u2217b
\na\/=b \u00a0 <====>\u00a0 \u00a0 a=a\/b
\na=b\u00a0 \u00a0 \u00a0<====>\u00a0 \u00a0 Specifies the value of a is b<\/p>\n

NOTE:<\/strong> Point, Base, TCP, VPoint, IO, Robot, and FTSensor in the flows are now parameterized, and users can write variables as parameters to the objects and read from the parameters for calculations or applications with their types, Name\/IDs, and attributes. For more details, refer to the manual of Expression Editor and Listen Node<\/a>.<\/p>\n

Digital IO<\/h1>\n

Status IO is used when the project is stopped or in error. The status of the IO is changed to the set value according to these conditions and can be accessed from the Project Function Menu. Click the icon \u201cSet IO while Project Errors\u201d or \u201cSet IO while Project Stops\u201d to access the setting page.<\/p>\n

\"\"<\/a>
Status IO Setting<\/figcaption><\/figure>\n

Analog IO<\/h1>\n

The SET Node can also set the Analog IO such as enabling Analog IO while passing through the SET Node and giving the external device a specific voltage until a different node terminates the output voltage.<\/p>\n

\"\"<\/a>
Analog I\/O Setting<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"

SET node can set the states of I\/O, and modify the type […]<\/p>\n","protected":false},"author":3205,"featured_media":0,"parent":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"doc_category":[4179],"doc_tag":[2499],"acf":[],"yoast_head":"\nSET Node Introduction | Techman Robot<\/title>\n<meta name=\"robots\" content=\"noindex, follow\" \/>\n<meta property=\"og:locale\" content=\"zh_TW\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SET Node Introduction | Techman Robot\" \/>\n<meta property=\"og:description\" content=\"SET node can set the states of I\/O, and modify the type […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.tm-robot.com.cn\/zh-hant\/docs\/set-node-for-i-o-control\/\" \/>\n<meta property=\"og:site_name\" content=\"Techman Robot\" \/>\n<meta property=\"article:modified_time\" content=\"2022-08-05T02:53:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.tm-robot.com\/wp-content\/uploads\/2021\/05\/set-node.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\":\"Organization\",\"@id\":\"https:\/\/www.tm-robot.com\/ja\/#organization\",\"name\":\"Techman Robot\",\"url\":\"https:\/\/www.tm-robot.com\/ja\/\",\"sameAs\":[],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.tm-robot.com\/ja\/#logo\",\"inLanguage\":\"zh-TW\",\"url\":\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2018\/09\/logo.png\",\"contentUrl\":\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2018\/09\/logo.png\",\"width\":221,\"height\":196,\"caption\":\"Techman Robot\"},\"image\":{\"@id\":\"https:\/\/www.tm-robot.com\/ja\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.tm-robot.com\/ja\/#website\",\"url\":\"https:\/\/www.tm-robot.com\/ja\/\",\"name\":\"Techman Robot\",\"description\":\"Intelligent Cobots for a World of Applications\",\"publisher\":{\"@id\":\"https:\/\/www.tm-robot.com\/ja\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.tm-robot.com\/ja\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-TW\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.tm-robot.com.cn\/zh-hant\/docs\/set-node-for-i-o-control\/#primaryimage\",\"inLanguage\":\"zh-TW\",\"url\":\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/set-node.png\",\"contentUrl\":\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/set-node.png\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.tm-robot.com.cn\/zh-hant\/docs\/set-node-for-i-o-control\/#webpage\",\"url\":\"https:\/\/www.tm-robot.com.cn\/zh-hant\/docs\/set-node-for-i-o-control\/\",\"name\":\"SET Node Introduction | Techman Robot\",\"isPartOf\":{\"@id\":\"https:\/\/www.tm-robot.com\/ja\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.tm-robot.com.cn\/zh-hant\/docs\/set-node-for-i-o-control\/#primaryimage\"},\"datePublished\":\"2021-05-24T08:47:44+00:00\",\"dateModified\":\"2022-08-05T02:53:03+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.tm-robot.com.cn\/zh-hant\/docs\/set-node-for-i-o-control\/#breadcrumb\"},\"inLanguage\":\"zh-TW\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.tm-robot.com.cn\/zh-hant\/docs\/set-node-for-i-o-control\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.tm-robot.com.cn\/zh-hant\/docs\/set-node-for-i-o-control\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.tm-robot.com.cn\/zh-hant\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Docs\",\"item\":\"https:\/\/www.tm-robot.com.cn\/zh-hant\/docs\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"SET Node Introduction\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SET Node Introduction | Techman Robot","robots":{"index":"noindex","follow":"follow"},"og_locale":"zh_TW","og_type":"article","og_title":"SET Node Introduction | Techman Robot","og_description":"SET node can set the states of I\/O, and modify the type […]","og_url":"https:\/\/www.tm-robot.com.cn\/zh-hant\/docs\/set-node-for-i-o-control\/","og_site_name":"Techman Robot","article_modified_time":"2022-08-05T02:53:03+00:00","og_image":[{"url":"https:\/\/www.tm-robot.com\/wp-content\/uploads\/2021\/05\/set-node.png"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/www.tm-robot.com\/ja\/#organization","name":"Techman Robot","url":"https:\/\/www.tm-robot.com\/ja\/","sameAs":[],"logo":{"@type":"ImageObject","@id":"https:\/\/www.tm-robot.com\/ja\/#logo","inLanguage":"zh-TW","url":"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2018\/09\/logo.png","contentUrl":"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2018\/09\/logo.png","width":221,"height":196,"caption":"Techman Robot"},"image":{"@id":"https:\/\/www.tm-robot.com\/ja\/#logo"}},{"@type":"WebSite","@id":"https:\/\/www.tm-robot.com\/ja\/#website","url":"https:\/\/www.tm-robot.com\/ja\/","name":"Techman Robot","description":"Intelligent Cobots for a World of Applications","publisher":{"@id":"https:\/\/www.tm-robot.com\/ja\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.tm-robot.com\/ja\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-TW"},{"@type":"ImageObject","@id":"https:\/\/www.tm-robot.com.cn\/zh-hant\/docs\/set-node-for-i-o-control\/#primaryimage","inLanguage":"zh-TW","url":"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/set-node.png","contentUrl":"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/set-node.png"},{"@type":"WebPage","@id":"https:\/\/www.tm-robot.com.cn\/zh-hant\/docs\/set-node-for-i-o-control\/#webpage","url":"https:\/\/www.tm-robot.com.cn\/zh-hant\/docs\/set-node-for-i-o-control\/","name":"SET Node Introduction | Techman Robot","isPartOf":{"@id":"https:\/\/www.tm-robot.com\/ja\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.tm-robot.com.cn\/zh-hant\/docs\/set-node-for-i-o-control\/#primaryimage"},"datePublished":"2021-05-24T08:47:44+00:00","dateModified":"2022-08-05T02:53:03+00:00","breadcrumb":{"@id":"https:\/\/www.tm-robot.com.cn\/zh-hant\/docs\/set-node-for-i-o-control\/#breadcrumb"},"inLanguage":"zh-TW","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.tm-robot.com.cn\/zh-hant\/docs\/set-node-for-i-o-control\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.tm-robot.com.cn\/zh-hant\/docs\/set-node-for-i-o-control\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.tm-robot.com.cn\/zh-hant\/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https:\/\/www.tm-robot.com.cn\/zh-hant\/docs\/"},{"@type":"ListItem","position":3,"name":"SET Node Introduction"}]}]}},"_links":{"self":[{"href":"https:\/\/www.tm-robot.com.cn\/zh-hant\/wp-json\/wp\/v2\/docs\/45703"}],"collection":[{"href":"https:\/\/www.tm-robot.com.cn\/zh-hant\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.tm-robot.com.cn\/zh-hant\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.tm-robot.com.cn\/zh-hant\/wp-json\/wp\/v2\/users\/3205"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tm-robot.com.cn\/zh-hant\/wp-json\/wp\/v2\/comments?post=45703"}],"version-history":[{"count":0,"href":"https:\/\/www.tm-robot.com.cn\/zh-hant\/wp-json\/wp\/v2\/docs\/45703\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tm-robot.com.cn\/zh-hant\/wp-json\/wp\/v2\/media?parent=45703"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.tm-robot.com.cn\/zh-hant\/wp-json\/wp\/v2\/doc_category?post=45703"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.tm-robot.com.cn\/zh-hant\/wp-json\/wp\/v2\/doc_tag?post=45703"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}