This functionality is only available for certain module packages.

You are here: EEC > PLC > Hardware configuration > Basic code objects > CoDeSys fragments

CoDeSys fragments

The resources of CoDeSys fragments must have the following structure:

When creating a new discipline component, this name is used as the name of the new component when the resource is read in.

Can be used to declare variables that can be added into a different component by means of control structures (e.g., (e.g., (*{TempVariableDeclaration}*)). The declaration must not contain any comments.

Designates an arbitrary text that is located between the line marked with (*@END_DECLARATION*) and the line END_FRAGMENT. This complete text can be added into other components by means of the control structure (*{Code}*).