Skip to main content

For Variables in CODESYS V3 Libraries

Identifier designation recommendation for

Description

Example

Variable

Corresponds to the description for variable names, with the exception that global variables and constants do not require library prefixes because the namespace replaces the function.

g_iTest: INT; // Declaration

CAN.g_iTest; // Implementation; call in the program