Attribute 'no_copy'
If an instance, for example a POU, is shifted in the memory during an Online Change, this necessitates a reallocation of this instance. The values of the variables contained in the instance are copied so that the variables have the same values after the Online Change as before it. If instances/variables have to be shifted during an Online Change, a dialog provides information about the effects and enables the Online Change to be aborted.
The effect of the pragma is that, in the course of the procedure to copy a shifted instance during the Online Change, no copying of the variable value of the variables contained in the instance takes place; instead, the variable is re-initialized in the course of the Online Change. The may make sense for a local pointer variable, which points to a variable that has just been moved by the online change and therefore has a modified address.
Syntax: {attribute 'no_copy'}
Insertion location: Line above the declaration line of the affected variable