Skip to main content

Basics

Programming in ST in CODESYS 4 largely corresponds to the syntax of programming in CODESYS 3. Programming is done in the CODESYS text editor.

For more information, see the following: Working in the ST Editor

Differences from Structured Text in CODESYS 3

Applies to

CODESYS 3

CODESYS 4

Declaration part

The declaration and implementation are done in separate editors.

The declaration and implementation are done in the same editor.

Access methods: Get and Set

The methods are separate items in the object tree.

The methods are not separate items in the workspace navigator. They are contained in the file of the property.