19 Syntax Rules V9.0 en
19 Syntax Rules V9.0 en
Contents 19
19 Syntax rules ............................................................................................................. 3
19.1 Special characters ................................................................................................................. 3
19.1.1 General background information ........................................................................................... 3
19.1.2 PC(s) ...................................................................................................................................... 4
19.1.3 ES .......................................................................................................................................... 4
19.1.4 OS .......................................................................................................................................... 5
19.2 Maximum name length .......................................................................................................... 6
19.2.1 ES – CFC ............................................................................................................................... 6
19.2.2 ES – SFC ............................................................................................................................... 6
19.2.3 ES – Blocks............................................................................................................................ 6
19.2.4 ES – General naming in the project ....................................................................................... 7
19.2.5 OS – Alarm Logging .............................................................................................................. 7
19.2.6 OS – Pictures and tags .......................................................................................................... 7
19.3 Name rules in the plant hierarchy .......................................................................................... 8
19 Syntax rules
19.1 Special characters
This section provides information on which special characters should not be used in
PCS 7 projects.
19.1.2 PC(s)
19.1.3 ES
19.1.4 OS
19.2.1 ES – CFC
Names of CFC charts are limited to a length of 22 characters. Additional characters will
be truncated. The name of any object placed on a CFC, such as a block, must not
exceed 16 characters.
19.2.2 ES – SFC
19.2.3 ES – Blocks
Note:
The characters [ ' ] [ . ] [ % ] [ \ ] [ * ] [ ? ] [ : ] [ space ] within a name are converted to
the substitute character $ when you compile the OS.
The ES separator [ \ ] is converted to [ / ].
For example, if you assign the name "TICA:1” to a CFC chart ("TICA$1" then appears
in the OS) and the name "TICA*1" to another CFC chart ("TICA$1" also then appears
in the OS), you receive an error message when compiling the second chart because
this name is already present.
The maximum character length of a tag name is 128 characters. However, bear in
mind that many of the editors in the OS are unable to display all 128 characters.
You should therefore limit the length of your HID.
Bear in mind that some national-related letters take up the space of up to two
characters; this reduces the available name length.
Bear in mind that the transferred text length is dependent on the maximum
permissible text length in the target text block of the OS (Tag Logging, e.g. with event
50 characters, origin 32 characters). When the OS is compiled, texts with a maximum
of 255 characters are transferred. Remedy: Increase the maximum character count in
the user text fields or select a shorter HID.
The alarm texts of the transferred messages contain the hierarchy path, the chart
name and the block name (if you have elected to include the hierarchy path in the
HID).