{"id":2755,"date":"2021-08-22T07:30:29","date_gmt":"2021-08-22T07:30:29","guid":{"rendered":"https:\/\/www.zacobria.com\/universal-robots-knowledge-base-tech-support-forum-hints-tips-cb2-cb3\/?page_id=2755"},"modified":"2023-01-21T05:19:01","modified_gmt":"2023-01-21T05:19:01","slug":"before-start-sequence","status":"publish","type":"page","link":"https:\/\/www.zacobria.com\/universal-robots-knowledge-base-tech-support-forum-hints-tips-cb2-cb3\/index.php\/before-start-sequence\/","title":{"rendered":"Before start sequence."},"content":{"rendered":"\n<p><a title=\"Visit Zacobria &amp; Webshop &amp; Universal-Robots solutions.\" href=\"https:\/\/www.zacobria.com\/automation\/webshop\/\">Visit Zacobria Webshop<\/a><\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Add BeforeStart Sequence<\/h1>\n\n\n\n<p>The section of \u201cBeforeStart\u201d in the program tree is programmed with the normal programming method, but will be executed only one time before the main program starts.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"http:\/\/www.zacobria.com\/universal-robots-zacobria-forum-hints-tips-how-to\/before-start-sequence\/universal_robots_zacobria_before_start_sequence_1\/\"><img decoding=\"async\" src=\"http:\/\/www.zacobria.com\/universal-robots-zacobria-forum-hints-tips-how-to\/wp-content\/uploads\/2012\/12\/universal_robots_zacobria_before_start_sequence_1.jpg\" alt=\"universal_robots_zacobria_before_start_sequence_1\" class=\"wp-image-450\"\/><\/a><\/figure>\n\n\n\n<p>In some cases it is desirable to have a program sequence which is run before the main program is started and also to set variables to an initial value and to determine if the program should only have one passages or loop forever. All these features can be achieved from the \u201cRobot program\u201d screen. Point the cursor on \u201cRobot Program\u201d in the program tree structure and a screen like below will appear.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"http:\/\/www.zacobria.com\/universal-robots-zacobria-forum-hints-tips-how-to\/before-start-sequence\/universal_robots_zacobria_before_start_sequence_2\/\"><img decoding=\"async\" src=\"http:\/\/www.zacobria.com\/universal-robots-zacobria-forum-hints-tips-how-to\/wp-content\/uploads\/2012\/12\/universal_robots_zacobria_before_start_sequence_2.jpg\" alt=\"universal_robots_zacobria_before_start_sequence_2\" class=\"wp-image-451\"\/><\/a><\/figure>\n\n\n\n<p>Below in the centre screen is three tick boxes where \u201cAdd Before Start Sequence\u201d and \u201cSet Initial Variables Values can be activated. And the choice whether the program should have only one run or loop forever is also set in this screen.<\/p>\n\n\n\n<p>When \u201cAdd BeforeStart Sequence\u201d and \u201cSet Initial Variable Values\u201d are ticked they will be added to the program tree at the top.<\/p>\n\n\n\n<p><strong>Disclaimer:<\/strong> While the Zacobria Pte. Ltd. believes that information and guidance provided is correct, parties must rely upon their skill and judgement when making use of them. Zacobria Pte. Ltd. assumes no liability for loss or damage caused by error or omission, whether such an error or omission is the result of negligence or any other cause. Where reference is made to legislation it is not to be considered as legal advice. Any and all such liability is disclaimed.<\/p>\n\n\n\n<p>If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.<\/p>\n\n\n\n<p>Author:<br><a href=\"https:\/\/plus.google.com\/u\/0\/116832821661215606670?rel=author\">By Zacobria Lars Skovsgaard<\/a><br>Accredited 2015-2018 Universal Robots support Centre and Forum.<br><br><\/p>\n\n\n\n<p><a href=\"https:\/\/twitter.com\/share\">Tweet<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/twitter.com\/zacobria\">Follow @zacobria<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Visit Zacobria Webshop Add BeforeStart Sequence The section of \u201cBeforeStart\u201d in the program tree is programmed with the normal programming method, but will be executed only one time before the main program starts. In some cases it is desirable to&#8230; <\/p>\n<div class=\"more-link-container\"><a class=\"more-link\" href=\"https:\/\/www.zacobria.com\/universal-robots-knowledge-base-tech-support-forum-hints-tips-cb2-cb3\/index.php\/before-start-sequence\/\">Read More<\/a><\/div>\n","protected":false},"author":1,"featured_media":2481,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"templates\/full-width-page.php","meta":{"footnotes":""},"class_list":["post-2755","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/www.zacobria.com\/universal-robots-knowledge-base-tech-support-forum-hints-tips-cb2-cb3\/index.php\/wp-json\/wp\/v2\/pages\/2755","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zacobria.com\/universal-robots-knowledge-base-tech-support-forum-hints-tips-cb2-cb3\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.zacobria.com\/universal-robots-knowledge-base-tech-support-forum-hints-tips-cb2-cb3\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.zacobria.com\/universal-robots-knowledge-base-tech-support-forum-hints-tips-cb2-cb3\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zacobria.com\/universal-robots-knowledge-base-tech-support-forum-hints-tips-cb2-cb3\/index.php\/wp-json\/wp\/v2\/comments?post=2755"}],"version-history":[{"count":4,"href":"https:\/\/www.zacobria.com\/universal-robots-knowledge-base-tech-support-forum-hints-tips-cb2-cb3\/index.php\/wp-json\/wp\/v2\/pages\/2755\/revisions"}],"predecessor-version":[{"id":3072,"href":"https:\/\/www.zacobria.com\/universal-robots-knowledge-base-tech-support-forum-hints-tips-cb2-cb3\/index.php\/wp-json\/wp\/v2\/pages\/2755\/revisions\/3072"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.zacobria.com\/universal-robots-knowledge-base-tech-support-forum-hints-tips-cb2-cb3\/index.php\/wp-json\/wp\/v2\/media\/2481"}],"wp:attachment":[{"href":"https:\/\/www.zacobria.com\/universal-robots-knowledge-base-tech-support-forum-hints-tips-cb2-cb3\/index.php\/wp-json\/wp\/v2\/media?parent=2755"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}