Introduction

The syntax of names of types and variables can be written up with Standard, Extended, or Unicode character set. The option Character set is configured in Tools > Project Settings > Variables.

The Character set setting is used for names entered into the application concerns:

  • DFB (Derived Function Block) user function blocks or DDT (Derived data type)

  • the internal elements composing a DFB or a DDT

  • the data instances

Character set Options

With Standard option selected:

  • The application is compliant with the IEC standard

  • The names entered are strings made up of alphanumeric characters and the Underscore character.

    • the first character of the name is an alphabetic character or an Underscore

    • two Underscore characters cannot be used consecutively

With Extended option selected:

  • The user has a certain degree of flexibility, but the application is not compliant with the IEC standard

  • Extra characters can be used:

    • characters corresponding to ASCII codes 192 to 223 (except for code 215)

    • characters corresponding to ASCII codes 224 to 255 (except for code 247)

  • the first character of the name is an alphanumeric character or an Underscore

  • Underscore characters can be used consecutively

Select Unicode to create elements in not-roman alphabets like Chinese.