{"id":52792,"date":"2023-10-24T15:48:27","date_gmt":"2023-10-24T13:48:27","guid":{"rendered":"https:\/\/www.myscada.org\/?post_type=docs&#038;p=52792"},"modified":"2023-10-24T15:48:27","modified_gmt":"2023-10-24T13:48:27","password":"","slug":"using-batches-write-set-command","status":"publish","type":"docs","link":"https:\/\/amitomation.cz\/en\/documentation\/using-batches-write-set-command\/","title":{"rendered":"Using batches Write\/Set command"},"content":{"rendered":"<p style=\"text-align: justify;\">As you can see in the left pane of the dialog window, you can organize your set commands into batches. Each batch is a list of set commands that are processed at once. You can create an unlimited number of batches, and each batch can have as many set commands as you need.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/myscada.org\/downloads\/manuals_image\/img_17.1.1.jpg\" alt=\"17.1.1\" width=\"200\" height=\"361\" \/><\/p>\n<p style=\"text-align: justify;\">In the batches pane, you can see all your batches listed.<\/p>\n<p style=\"text-align: justify;\">A Batch is:<\/p>\n<ul style=\"list-style-type: square;\">\n<li style=\"text-align: justify;\">A collection of set commands of the same type<\/li>\n<li style=\"text-align: justify;\">Processed from top to bottom<\/li>\n<li style=\"text-align: justify;\">Written to the PLC with one command<\/li>\n<\/ul>\n<h3><span style=\"color: #0084c8;\">Add Batch<\/span><\/h3>\n<p style=\"text-align: justify;\">To add a new Batch, please click on an existing batch and then click on the button \u201c+ Add\u201d.<\/p>\n<h3><span style=\"color: #0084c8;\">Remove Batch<\/span><\/h3>\n<p style=\"text-align: justify;\">To remove a Batch, select it and then click on the button \u201c- Del\u201d. All defined set commands in that batch will be deleted along with the batch.<\/p>\n<h3><span style=\"color: #0084c8;\">Add Batch Item<\/span><\/h3>\n<p style=\"text-align: justify;\">To add a batch item, please select a set command in the corresponding batch and then click on\u00a0\u00a0\u00a0\u00a0\u00a0 the button \u201c+ Add\u201d. The new batch item is added to the end of the batch list.<\/p>\n<h3><span style=\"color: #0084c8;\">Remove Batch Item<\/span><\/h3>\n<p style=\"text-align: justify;\">To remove a batch item, please select a set command in the corresponding batch and then click on the button \u201c- Del\u201d.<\/p>\n<h3><span style=\"color: #0084c8;\">Batch Type<\/span><\/h3>\n<p style=\"text-align: justify;\">Each batch can be of exactly one type. All set command in the batch must be of the same type. Available options are:<\/p>\n<table class=\"MsoTable15Grid4Accent3\" style=\"border-collapse: collapse; border: none; mso-border-alt: solid #C9C9C9 .5pt; mso-border-themecolor: accent3; mso-border-themetint: 153; mso-yfti-tbllook: 1184; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt;\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr style=\"mso-yfti-irow: -1; mso-yfti-firstrow: yes; mso-yfti-lastfirstrow: yes;\">\n<td style=\"width: 106.1pt; border-top: 1pt solid #a5a5a5; border-bottom: 1pt solid #a5a5a5; border-left: 1pt solid #a5a5a5; border-image: initial; border-right: none; background: #0084c8; padding: 0cm 5.4pt; text-align: left;\" valign=\"top\" width=\"106\">\n<p class=\"MsoNormal\" style=\"mso-yfti-cnfc: 5;\"><strong><span style=\"color: white; mso-themecolor: background1; mso-bidi-font-weight: bold;\">Type<\/span><\/strong><\/p>\n<\/td>\n<td style=\"width: 346.7pt; border-top: 1pt solid #a5a5a5; border-right: 1pt solid #a5a5a5; border-bottom: 1pt solid #a5a5a5; border-image: initial; border-left: none; background: #0084c8; padding: 0cm 5.4pt; text-align: left;\" valign=\"top\" width=\"347\">\n<p class=\"MsoNormal\" style=\"mso-yfti-cnfc: 1;\"><strong><span style=\"color: white; mso-themecolor: background1; mso-bidi-font-weight: bold;\">Description<\/span><\/strong><\/p>\n<\/td>\n<\/tr>\n<tr style=\"mso-yfti-irow: 0;\">\n<td style=\"width: 106.1pt; border-right: 1pt solid #c9c9c9; border-bottom: 1pt solid #c9c9c9; border-left: 1pt solid #c9c9c9; border-image: initial; border-top: none; background: #ededed; padding: 0cm 5.4pt; text-align: left;\" valign=\"top\" width=\"106\">\n<p class=\"MsoNormal\" style=\"mso-yfti-cnfc: 68;\"><span style=\"font-size: 11.0pt; mso-bidi-font-family: \u00bf\u00cc\u2020Y\u02c7; mso-bidi-font-weight: bold;\">Tag<\/span><\/p>\n<\/td>\n<td style=\"width: 346.7pt; border-top: none; border-left: none; border-bottom: 1pt solid #c9c9c9; border-right: 1pt solid #c9c9c9; background: #ededed; padding: 0cm 5.4pt; text-align: left;\" valign=\"top\" width=\"347\">\n<p class=\"MsoNormal\" style=\"mso-yfti-cnfc: 64;\"><span style=\"font-size: 11.0pt; mso-bidi-font-family: \u00bf\u00cc\u2020Y\u02c7;\">Write values to the PLCs<\/span><\/p>\n<\/td>\n<\/tr>\n<tr style=\"mso-yfti-irow: 1;\">\n<td style=\"width: 106.1pt; border-right: 1pt solid #c9c9c9; border-bottom: 1pt solid #c9c9c9; border-left: 1pt solid #c9c9c9; border-image: initial; border-top: none; padding: 0cm 5.4pt; text-align: left;\" valign=\"top\" width=\"106\">\n<p class=\"MsoNormal\" style=\"mso-yfti-cnfc: 4;\"><span style=\"font-size: 11.0pt; mso-bidi-font-family: \u00bf\u00cc\u2020Y\u02c7; mso-bidi-font-weight: bold;\">Memory<\/span><\/p>\n<\/td>\n<td style=\"width: 346.7pt; border-top: none; border-left: none; border-bottom: 1pt solid #c9c9c9; border-right: 1pt solid #c9c9c9; padding: 0cm 5.4pt; text-align: left;\" valign=\"top\" width=\"347\">\n<p class=\"MsoNormal\"><span style=\"font-size: 11.0pt; mso-bidi-font-family: \u00bf\u00cc\u2020Y\u02c7;\">Set View Script variables<\/span><\/p>\n<\/td>\n<\/tr>\n<tr style=\"mso-yfti-irow: 2;\">\n<td style=\"width: 106.1pt; border-right: 1pt solid #c9c9c9; border-bottom: 1pt solid #c9c9c9; border-left: 1pt solid #c9c9c9; border-image: initial; border-top: none; background: #ededed; padding: 0cm 5.4pt; text-align: left;\" valign=\"top\" width=\"106\">\n<p class=\"MsoNormal\" style=\"mso-yfti-cnfc: 68;\"><span style=\"font-size: 11.0pt; mso-bidi-font-family: \u00bf\u00cc\u2020Y\u02c7; mso-bidi-font-weight: bold;\">Script<\/span><\/p>\n<\/td>\n<td style=\"width: 346.7pt; border-top: none; border-left: none; border-bottom: 1pt solid #c9c9c9; border-right: 1pt solid #c9c9c9; background: #ededed; padding: 0cm 5.4pt; text-align: left;\" valign=\"top\" width=\"347\">\n<p class=\"MsoNormal\" style=\"mso-yfti-cnfc: 64;\"><span style=\"font-size: 11.0pt; mso-bidi-font-family: \u00bf\u00cc\u2020Y\u02c7;\">Run custom function defined in View Script<\/span><\/p>\n<\/td>\n<\/tr>\n<tr style=\"mso-yfti-irow: 3; mso-yfti-lastrow: yes;\">\n<td style=\"width: 106.1pt; border-right: 1pt solid #c9c9c9; border-bottom: 1pt solid #c9c9c9; border-left: 1pt solid #c9c9c9; border-image: initial; border-top: none; padding: 0cm 5.4pt; text-align: left;\" valign=\"top\" width=\"106\">\n<p class=\"MsoNormal\" style=\"mso-yfti-cnfc: 4;\"><span style=\"font-size: 11.0pt; mso-bidi-font-family: \u00bf\u00cc\u2020Y\u02c7; mso-bidi-font-weight: bold;\">SQL<\/span><\/p>\n<\/td>\n<td style=\"width: 346.7pt; border-top: none; border-left: none; border-bottom: 1pt solid #c9c9c9; border-right: 1pt solid #c9c9c9; padding: 0cm 5.4pt; text-align: left;\" valign=\"top\" width=\"347\">\n<p class=\"MsoNormal\"><span style=\"font-size: 11.0pt; mso-bidi-font-family: \u00bf\u00cc\u2020Y\u02c7;\">Write values to the database<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>As you can see in the left pane of the dialog window, you can organize your set commands into batches. Each batch is a list of set commands that are processed at once. You can create an unlimited number of batches, and each batch can have as many set commands as you need. In the<a class=\"moretag excerpt orangelink\" href=\"https:\/\/amitomation.cz\/en\/documentation\/using-batches-write-set-command\/\">[&#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-52792","docs","type-docs","status-publish","hentry","doc_category-mydesigner-v8"],"year_month":"2026-04","word_count":252,"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>Using batches Write\/Set command - 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\/using-batches-write-set-command\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using batches Write\/Set command - AMiT Automation\" \/>\n<meta property=\"og:description\" content=\"As you can see in the left pane of the dialog window, you can organize your set commands into batches. Each batch is a list of set commands that are processed at once. You can create an unlimited number of batches, and each batch can have as many set commands as you need. In the[...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/amitomation.cz\/en\/documentation\/using-batches-write-set-command\/\" \/>\n<meta property=\"og:site_name\" content=\"AMiT Automation\" \/>\n<meta property=\"og:image\" content=\"http:\/\/myscada.org\/downloads\/manuals_image\/img_17.1.1.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/amitomation.cz\/en\/documentation\/using-batches-write-set-command\/\",\"url\":\"https:\/\/amitomation.cz\/en\/documentation\/using-batches-write-set-command\/\",\"name\":\"Using batches Write\/Set command - AMiT Automation\",\"isPartOf\":{\"@id\":\"https:\/\/amitomation.cz\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/amitomation.cz\/en\/documentation\/using-batches-write-set-command\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/amitomation.cz\/en\/documentation\/using-batches-write-set-command\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/myscada.org\/downloads\/manuals_image\/img_17.1.1.jpg\",\"datePublished\":\"2023-10-24T13:48:27+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/amitomation.cz\/en\/documentation\/using-batches-write-set-command\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/amitomation.cz\/en\/documentation\/using-batches-write-set-command\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/amitomation.cz\/en\/documentation\/using-batches-write-set-command\/#primaryimage\",\"url\":\"http:\/\/myscada.org\/downloads\/manuals_image\/img_17.1.1.jpg\",\"contentUrl\":\"http:\/\/myscada.org\/downloads\/manuals_image\/img_17.1.1.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/amitomation.cz\/en\/documentation\/using-batches-write-set-command\/#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\":\"Using batches Write\/Set command\"}]},{\"@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":"Using batches Write\/Set command - 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\/using-batches-write-set-command\/","og_locale":"en_US","og_type":"article","og_title":"Using batches Write\/Set command - AMiT Automation","og_description":"As you can see in the left pane of the dialog window, you can organize your set commands into batches. Each batch is a list of set commands that are processed at once. You can create an unlimited number of batches, and each batch can have as many set commands as you need. In the[...]","og_url":"https:\/\/amitomation.cz\/en\/documentation\/using-batches-write-set-command\/","og_site_name":"AMiT Automation","og_image":[{"url":"http:\/\/myscada.org\/downloads\/manuals_image\/img_17.1.1.jpg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/amitomation.cz\/en\/documentation\/using-batches-write-set-command\/","url":"https:\/\/amitomation.cz\/en\/documentation\/using-batches-write-set-command\/","name":"Using batches Write\/Set command - AMiT Automation","isPartOf":{"@id":"https:\/\/amitomation.cz\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/amitomation.cz\/en\/documentation\/using-batches-write-set-command\/#primaryimage"},"image":{"@id":"https:\/\/amitomation.cz\/en\/documentation\/using-batches-write-set-command\/#primaryimage"},"thumbnailUrl":"http:\/\/myscada.org\/downloads\/manuals_image\/img_17.1.1.jpg","datePublished":"2023-10-24T13:48:27+00:00","breadcrumb":{"@id":"https:\/\/amitomation.cz\/en\/documentation\/using-batches-write-set-command\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/amitomation.cz\/en\/documentation\/using-batches-write-set-command\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/amitomation.cz\/en\/documentation\/using-batches-write-set-command\/#primaryimage","url":"http:\/\/myscada.org\/downloads\/manuals_image\/img_17.1.1.jpg","contentUrl":"http:\/\/myscada.org\/downloads\/manuals_image\/img_17.1.1.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/amitomation.cz\/en\/documentation\/using-batches-write-set-command\/#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":"Using batches Write\/Set command"}]},{"@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\/52792","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=52792"}],"version-history":[{"count":1,"href":"https:\/\/amitomation.cz\/en\/wp-json\/wp\/v2\/docs\/52792\/revisions"}],"predecessor-version":[{"id":53620,"href":"https:\/\/amitomation.cz\/en\/wp-json\/wp\/v2\/docs\/52792\/revisions\/53620"}],"wp:attachment":[{"href":"https:\/\/amitomation.cz\/en\/wp-json\/wp\/v2\/media?parent=52792"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/amitomation.cz\/en\/wp-json\/wp\/v2\/doc_category?post=52792"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/amitomation.cz\/en\/wp-json\/wp\/v2\/doc_tag?post=52792"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}