Block Parameters

Configure block parameters that control the appearance of variables in the generated code.

Block parameters appear as variables in the generated code. Control the appearance of these variables by controlling variable characteristics such as:

  • Inlining the variables in the generated code.

  • Marking a variable definition to be local to a function block, global variable, or undefined variable.

Topics

Control Appearance of Block Parameters in Generated Code

Specify storage class of block parameter to control whether the parameter appears as a local or global variable in generated structured text code.

Block Parameters in Generated Code

Learn how block parameters are displayed in generated structured text code, such as constants, local variables, or global variables.

Featured Examples