Constants

You declare constants with the keyword CONSTANT. Constants can be either local or global.

Syntax:

VAR CONSTANT <identifier>:<Type> := <initialization>; END_VAR

See also