Skip to main content

Command: Insert Variable

Symbol: _cds_icon_insert_variable.png

Function: The command inserts a variable before the selected position in the open recipe definition.

Call: Recipes menu

Requirement: A recipe definition is open in the editor and the normal view is selected.

CODESYS inserts the default "NewVariable" text in the Variable column. You need to replace this name with the respective variable name. To do this, click the _cds_icon_button_threedots.png button to open the Input Assistant, or specify the variable name directly into the table element.

For more information, see: Using Recipes to Set Values