Introduction
Tags contain process values which change while runtime is running. Value changes are handled differently at internal and external tags.
Principle
When runtime starts, the value of a tag is equal to its start value. Tag values change in runtime.
In runtime, you have the following options for changing the value of a tag:
-
A value change in an external tag in the PLC.
-
By input, for example, in an I/O field.
-
A value assignment in a script.
Updating the value of external tags
The value of an external tag is updated as follows:
-
Cyclic in operation
If you select the "Cyclic in operation" acquisition mode, the tag is updated in runtime while it is displayed in a screen or is logged. The acquisition cycle determines the update cycle for tag value updates on the HMI device. You can either choose a default acquisition cycle or define a user-specific cycle.
-
On demand
If you select the "On demand" acquisition mode, the tag is not updated cyclically. It will only be updated on demand using the "UpdateTag" system function, for example, or by a script.