{"id":10985,"date":"2023-09-09T16:59:05","date_gmt":"2023-09-09T14:59:05","guid":{"rendered":"https:\/\/sklep-plcspace.pl\/?p=10985"},"modified":"2023-09-03T16:59:39","modified_gmt":"2023-09-03T14:59:39","slug":"tia-portal-undoing-and-redoing-the-action","status":"publish","type":"post","link":"https:\/\/sklep-plcspace.pl\/en\/blog\/tia-portal-undoing-and-redoing-the-action\/","title":{"rendered":"TIA Portal - undoing and redoing actions"},"content":{"rendered":"<table width=\"100%\">\n<tbody>\n<tr>\n<td>\n<h2>Basics of undoing and redoing<\/h2>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Function<\/strong><strong>alidity<\/strong><\/p>\n<p>The actions you have performed can be undone at any time. To do this, each action you perform is saved on the action stack. When undoing an action, the stack is processed from top to bottom. In other words, if you undo an action that is lower on the stack, all actions above it on the stack will also be undone automatically.<\/p>\n<p>You can repeat previously undone actions until you perform a new action. Once you have performed a new action, it is no longer possible to repeat previously undone actions.<\/p>\n<p>Details on reversing<\/p>\n<p>There are several actions that empty the action stack. These actions or actions performed before them cannot be undone. The following actions empty the action stack:<\/p>\n<ul>\n<li>Savings<\/li>\n<li>Project management (creating a new project, opening a project, closing a project, deleting a project)<\/li>\n<li>Downloading the project to the HMI device<\/li>\n<li>Deletion of unused GSD files<\/li>\n<li>Establishing an Internet connection<\/li>\n<\/ul>\n<p>Remember that the action stack is emptied every time you establish an online connection. This means that actions performed offline cannot be undone once you have established an online connection. You can undo all actions that you subsequently perform online, even after the online connection has been established.<\/p>\n<p>Displaying the action stack<\/p>\n<p>The 'Undo' button on the toolbar is activated immediately after an action that can be undone. This button is split; you can use the down arrow to open a drop-down list. containing all the actions of the action stack that can be undone. If you have performed an action in an editor other than the currently displayed editor, the corresponding editor will also be displayed as a sub-header. This always allows you to determine when the undo action will be applied. Sub-headings are removed from the list when the responsible editor can no longer undo actions.<\/p>\n<p>Undone actions are saved on the action pile, from where they can be repeated. You can repeat undone actions here. Displaying actions that can be repeated is analogous to displaying actions that can be undone.<\/p>\n<p>Example of undoing the action<\/p>\n<p>The figure below shows how actions performed in various editors and tables are undone:<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-10986\" src=\"https:\/\/sklep-plcspace.pl\/wp-content\/uploads\/2023\/09\/07_image1.png\" alt=\"\" width=\"418\" height=\"204\" srcset=\"https:\/\/sklep-plcspace.pl\/wp-content\/uploads\/2023\/09\/07_image1.png 418w, https:\/\/sklep-plcspace.pl\/wp-content\/uploads\/2023\/09\/07_image1-300x146.png 300w\" sizes=\"(max-width: 418px) 100vw, 418px\" \/><\/p>\n<p>In this example, you cannot undo actions 1 to 3 because the project has been saved. You can undo actions 4 to 10 in the order indicated by the direction of the arrow. In other words, you must undo action 10 first. After undoing action 8, you cannot undo action 5. You must undo actions 7 and 6 first. As the last step in the sequence, you can undo action 4. You also have the option of undoing several actions in one step by undoing the action below it in the action stack. All actions above it on the stack will automatically be undone.<\/p>\n<p>The same principle also applies to the repetition of activities.<\/p>\n<table width=\"100%\">\n<tbody>\n<tr>\n<td><strong>Undoing the action<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The following options for undoing the action are available:<\/p>\n<ul>\n<li>Undoing only the last action<\/li>\n<\/ul>\n<p>Only the last action performed is reversed.<\/p>\n<ul>\n<li>Undoing any number of actions<\/li>\n<\/ul>\n<p>Many actions in the action stack can be undone in one step.<\/p>\n<p>Undoing only the last action<\/p>\n<p>To undo a recent action, follow the steps below:<\/p>\n<table width=\"100%\">\n<tbody>\n<tr>\n<td>\n<ol>\n<li>Click the \"Undo\" button on the toolbar.\n<ul>\n<li>If the action has not been performed in the currently displayed editor, a confirmation prompt will appear.<\/li>\n<li>If the undo operation requires opening an editor containing the protected object, the password for the object must be entered.<\/li>\n<\/ul>\n<\/li>\n<li>Click \"Yes\" to confirm.<\/li>\n<li>If necessary, enter a password.<\/li>\n<\/ol>\n<p>The editor where the action was performed is displayed and the action is undone.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Undoing any number of actions<\/p>\n<p>To undo multiple actions from the action stack in one step, follow these steps:<\/p>\n<table width=\"100%\">\n<tbody>\n<tr>\n<td>\n<ol>\n<li>Click the down arrow next to the 'Undo' button on the toolbar.<\/li>\n<\/ol>\n<p>This will open a drop-down list containing all the actions you can undo. Actions performed in other editors are identified by the name of the editor in the subheading.<\/p>\n<ol>\n<li>Click on the action you wish to undo.<\/li>\n<\/ol>\n<p>The selected action and all actions above the selected action are undone. If the undo action requires the editor containing the protected object to be opened, the password for the object must be entered.<\/p>\n<ol>\n<li>If necessary, enter the required passwords.<\/li>\n<\/ol>\n<p>The editors in which the actions were performed will be displayed and the actions will be undone.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table width=\"100%\">\n<tbody>\n<tr>\n<td><strong>Renewing the action<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>You have the option of re-executing the undone action so that you can return to the state before you performed the \"Undo\" operation. However, this is only possible until a new action is performed. The following options for undoing an action are available:<\/p>\n<ul>\n<li>Re-execute only the last action undone<\/li>\n<\/ul>\n<p>Only the last undone action is repeated.<\/p>\n<ul>\n<li>Repeat any number of undone actions<\/li>\n<\/ul>\n<p>Multiple undone actions in the action stack are repeated in one step.<\/p>\n<p>Re-execute only the last action undone<\/p>\n<p>To repeat the last undone action, follow the steps below:<\/p>\n<table width=\"100%\">\n<tbody>\n<tr>\n<td>\n<ol>\n<li>Click the \"Resume\" button on the toolbar.\n<ul>\n<li>If the action is not repeated in the currently displayed editor, a confirmation prompt will appear.<\/li>\n<li>If the renewal operation requires opening the editor containing the protected object, the password for the object must be entered.<\/li>\n<\/ul>\n<\/li>\n<li>Click \"Yes\" to confirm.<\/li>\n<li>If necessary, enter a password.<\/li>\n<\/ol>\n<p>An editor is displayed where the action has been undone and the action is repeated.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Repeat any number of undone actions<\/p>\n<p>To repeat multiple undone actions on the action stack in one step, follow these steps:<\/p>\n<table width=\"100%\">\n<tbody>\n<tr>\n<td>\n<ol>\n<li>Click the down arrow next to the 'Resume' button on the toolbar.<\/li>\n<\/ol>\n<p>This will open a drop-down list containing all the actions you can repeat. Actions performed in other editors are identified by the name of the editor in the subheading.<\/p>\n<ol>\n<li>Click on the action you wish to repeat.<\/li>\n<\/ol>\n<p>The selected action and all actions above the selected action are repeated. If the repeat action requires opening the editor containing the protected object, the password for the object must be entered.<\/p>\n<ol>\n<li>If necessary, enter the required passwords.<\/li>\n<\/ol>\n<p>The editors where the actions have been undone will be displayed and the actions will be executed again.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>","protected":false},"excerpt":{"rendered":"<p>Podstawy cofania i ponawiania akcji Funkcjonalno\u015b\u0107 Wykonane czynno\u015bci mo\u017cesz w ka\u017cdej chwili cofn\u0105\u0107. W tym celu ka\u017cda wykonana przez Ciebie akcja jest zapisywana na stosie akcji. Podczas cofania akcji stos jest przetwarzany od g\u00f3ry do do\u0142u. Innymi s\u0142owy, je\u015bli cofniesz akcj\u0119 znajduj\u0105c\u0105 si\u0119 ni\u017cej na stosie, wszystkie akcje znajduj\u0105ce si\u0119 nad ni\u0105 na stosie r\u00f3wnie\u017c [&hellip;]<\/p>","protected":false},"author":4,"featured_media":10988,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[85,92],"tags":[],"class_list":["post-10985","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programowanie","category-tia-portal"],"acf":[],"_links":{"self":[{"href":"https:\/\/sklep-plcspace.pl\/en\/wp-json\/wp\/v2\/posts\/10985","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sklep-plcspace.pl\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sklep-plcspace.pl\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sklep-plcspace.pl\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/sklep-plcspace.pl\/en\/wp-json\/wp\/v2\/comments?post=10985"}],"version-history":[{"count":0,"href":"https:\/\/sklep-plcspace.pl\/en\/wp-json\/wp\/v2\/posts\/10985\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sklep-plcspace.pl\/en\/wp-json\/wp\/v2\/media\/10988"}],"wp:attachment":[{"href":"https:\/\/sklep-plcspace.pl\/en\/wp-json\/wp\/v2\/media?parent=10985"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sklep-plcspace.pl\/en\/wp-json\/wp\/v2\/categories?post=10985"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sklep-plcspace.pl\/en\/wp-json\/wp\/v2\/tags?post=10985"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}