Skip to main content

For POUs

Identifier designation recommendation for

Description

Example

Functions, function blocks, programs

Library prefix followed by an underscore and a short, informative POU name

Like for variables, the first letter of each word is uppercase and all other letters are lowercase. We recommend that you compose the POU name from a verb and a noun.

For function blocks, the associated prefix for created instances should follow the name as a comment.

FUNCTION_BLOCK CAN_SendTelegram (* prefix: canst *)

Actions

Only actions that the block itself calls, beginning with prv_. Otherwise, actions do not have a prefix.