This site uses cookies for functional purposes. To continue please read and agree to our Data Privacy.

By closing this message, you consent to our use of cookies on this device.

Naming conventions in PLCnext Technology

As usual by dealing with complex frameworks also PLCnext Technology is using naming conventions for GDS-ports (Global Data Space), programs (instances), components (instances), libraries, process and tasks.

Please read the following conventions carefully and use them inside your PLCnext Technology application.

 

 
Download
article

This document is valid for the release FW of the AXC F 2152.


GDS-Port names

  • A name Can not start with a number
  • Can not be empty
  • Must have at least 2 characters
  • Can only have max 128 characters
  • Can not contain white spaces or tab stops
  • Can not start or end with '.'
  • Can start or end with a '_'
  • Can contain a dot '.'

XML Restriction <xs:pattern value="([_a-zA-Z]+)([0-9a-zA-Z\-\[\]_.]*)([0-9a-zA-Z\[\]_]+)" />

 

Names of Library, Component and Program

  • A name can not start with a number
  • Can not contain a dot
  • Can not be empty
  • Must have at least 2 characters
  • Can only have max 128 characters
  • Can not contain white spaces or tab stops

XML Restriction <xs:pattern value="([a-zA-Z]+)([0-9a-zA-Z\-]*)([0-9a-zA-Z]+)" />

 

Name of Program instances

  • A name can not start with a number
  • Can not be empty
  • Must be at least 2 characters
  • Can only have max 128 characters
  • Can not contain white spaces or tab stops

XML Restriction <xs:pattern value="([a-zA-Z]+)([0-9a-zA-Z\-]*)([0-9a-zA-Z]+)" />

 

Name of Component instances

  • A name can not start with a number
  • Can not be empty
  • Must be at least 2 characters
  • Can only have max 128 characters
  • Can not contain white spaces or tab stops

XML Restriction <xs:pattern value="([a-zA-Z]+)([0-9a-zA-Z\-]*)([0-9a-zA-Z]+)" />

 

Name of Processes

Unique name of the process. Component instances can be attached to a process by using this name.

  • Dots are not allowed in a name
  • A name can not start with a number
  • Must be at least 2 characters
  • Can only have max 128 characters
  • Can not contain white spaces or tab stops

XML Restriction <xs:pattern value="|([a-zA-Z]+)([0-9a-zA-Z\-]*)([0-9a-zA-Z]+)" />

 

Name of Tasks

  • A name can not start with a number
  • Can not be empty
  • Must be at least 2 characters
  • Must be at max 128 characters
  • Can not contain white spaces or tab stops

XML Restriction <xs:pattern value="([a-zA-Z]+)([0-9a-zA-Z\-]*)([0-9a-zA-Z]+)" />

 

Namespaces

  • A namespace can not use spaces
  • A namespace can not end with "++"
  • A namespace should not use underlines

We have 92 guests and 2 members online