Creating Internal Tags
You use internal tags to transfer data within your project.
You can create internal tags in groups or move them to groups once they have been created.
Note
Updating with a client without its own project
Usually, the “Project-wide update” or “Computer-local update” settings do not have any effect.
Internal tags which you create on a server are always updated for the whole project. Internal
tags which you create on a WinCC Client are always updated for the local computer.
The setting is only relevant if you configure a client without its own project.
- Select the “Internal Tags” folder in the “Tag Management” editor.
If necessary, select one of the groups subordinate to the “Internal tags” folder.
- Click the “Tags” tab below the table area.
- Click in the top free cell of the “Name” column.
- Enter the name for the tag.
In doing so, pay due consideration to the name conventions in the section “Tag
Management and Tags” > “Tags”. - Set the data type in the “Data type” field.
- Specify limits, the start value and substitute value as necessary.
A start value is set if no process value is available when the project is activated. - Activate the “Runtime persistency” option to retain the value of the internal tag on closing
Runtime.
The value saved is used as start value for the restart of Runtime. The start value configured
is only used at the first start of Runtime and after the data type was changed.
How to Create a Process Tag
You use process tags for communication between WinCC and the automation system.
You can create process tags in groups or move them to groups once they have been created.
- In the Tag Management editor, select the folder of the communication driver for which you
would like to create a process tag. - Open the folder of the desired channel unit.
- Select the corresponding connection.
- Click the “Tags” tab below the table area.
- Click in the top free cell of the “Name” column.
- Enter the name for the tag. In doing so, pay due consideration to the name conventions in
the section “Tag Management and Tags” > “Tags”. - Set the data type in the “Data type” field.
- If necessary, modify the set format adaptation and set Linear Scaling if required.
- Set the address of the tag.
For this purpose, click in the “Address” field and then on the button.
The “Address Properties” dialog box opens. After entering the address, close the dialog
box by clicking “OK”.
The address properties depend on the channel unit you selected. You can find more
information on addressing a process tag in the WinCC Information System under
“Communication” in the respective communication driver.
10.Specify limits, the start value and substitute value as necessary.
A start value is set if no process value is available when the project is activated.
11. After downloading the tags of the AS, you can define prefixes and suffixes for the tag names
for the instance of the connection. The prefix or suffix is added automatically for each tags
of the connection after you import the process tags via the tag selection dialog. Changing
the prefix or suffix does not affect tags already imported
Structure elements for process tags.
Structure types, in which structural elements are defined for process tags, can only be used
when you create tags under the connection of a channel unit.
You can create structure tags with a structure type, in which only structure elements for internal
tags are defined, under the connection of a channel unit. The structure instance is displayed
under structure types; the associated structure tags are under “Internal tags”. No entry appears
under the connection in the data window. If you try to delete a connection, a message appears
however that there are still elements that will also be deleted. If this message is confirmed,
the structure instance and the structure tags will also be deleted.
If you create internal structure tags in a multi-user project, you can use the setting “Project-wide
update” or “Computer-local update”. This setting is only then relevant if you do not create
an individual client project on the WinCC clients.
Define the required update with the created structure tags. The setting in the structure instance
is not transferred when creating the associated structure tag.
- Select the “Structure tags” folder in the “Tag Management” editor.
- Select the “New Structure Type” from the shortcut menu.
You have created a new structure type. - Change the name of the structure type. Adhere to the naming conventions.
– In the navigation area: Select the “Rename” command from the shortcut menu.
– In the table area: Change the name in the “Name” column on the “Structure type
elements” tab.
– Change the name under “General” in the “Properties” area.
Alternative procedure
- Select the “Structure tags” folder in the navigation area.
- Select the “Structure types” tab in the table area.
- Click in the top free cell of the “Name” column. The cell is identified by a yellow icon.
- Enter a name.
You have successfully created the structure type.
Creating multiple structure types - Select the lowest full cell in the “Name” column in the table area.
- Drag down the selection of the cell with the bottom right handle while keeping the mouse
button pressed.
A new structure type element is created in each row over which you drag the selection.
Useful Links:-