Replace a source tag or replicated tag
- Last UpdatedDec 23, 2024
- 2 minute read
You can replace a source tag with its replicated tag or a replicated tag with its source tag in the active trend chart.
To replace a source tag or replicated tag
-
Select a tag in the Tag List.
-
If the selected tag is a source tag, do the following:
-
Right-click the selected tag, point to Replace with replicated tag, and then click the tag that you want to replace with.
The source tag is replaced by the selected replicated tag in the Tag List and in the active trend chart without changing the pen configuration such as the pen color, width, or retrieval mode.
-
-
If the selected tag is a replicated tag, do the following:
-
Right-click the selected tag and click Replace with source tag.
The replicated tag is replaced by the source tag in the Tag List and in the active trend chart without changing the pen configuration such as the pen color, width, or retrieval mode.
-
The Replace command is not available if a normal tag that is neither a source tag nor a replicated tag is selected in the Tag Picker.
Note: You cannot execute the Replace command if a source tag is deleted but its replication configuration still exists in the Historian.
The following happens if you execute the Replace command on a tag configured as an x-axis tag in a XY Scatter Plot.
-
If a tag is used as the x-axis tag, the Replace with source tag or Replace with replicated tag command replaces the x-axis tag reference. For example, a tag called ‘MyTagY’ is configured to have ‘MyTagX’ as the x-axis tag. Replacing ‘MyTagX’ with ‘MyTagX2’ changes the configuration of the ‘MyTagY’ and the x-axis tag is replaced by ‘MyTagX2’.
The replicated tags are not listed in the context menu if:
-
The replicated tags are not committed in the Historian.
-
The replication schedule is removed from the Historian. For example, you are connected to a Historian 10.0 or later server and you create a tag called ‘MyTag’. ‘MyTag’ is replicated as a simple tag called ‘MyServer.MyTag’. When you execute the Replace with replicated tag command, the ‘MyServer.MyTag’ tag is shown. When you execute the Replace with source tag command, the ‘MyTag’ tag is shown. At this instance, if the replication link between ‘MyTag’ and ‘MyServer.MyTag’ is removed and if you execute the Replace with replicated tag command, the ‘MyServer.MyTag’ tag is not shown in the list of replicated tags.
However, if you execute the Replace with source tag command, the ‘MyTag’ tag is shown as ‘MyTag’. If ‘MyServer.MyTag’ is the only replicated tag, ‘MyTag’ is considered as a normal tag.
The above scenario holds true if the entire replication schedule is removed in the Historian. If only one replication is removed, the list shows the remaining replicated tags.