Skip to main content

Command: Edit Columns

Symbol: tm_icon_edit_columns.png

Function: The command opens the Edit columns dialog. There you can represent or edit the columns of the test table (the variables of the function block to be tested) or change their order. For other inputs or outputs of the POU, new columns can be added or existing ones can be deleted.

Call: Test Table menu; context menu of an entry in the tabular editor; header of the tabular editor

Requirement: The cursor is focused in the tabular editor.

Column type

. Possible types for a column
  • Assignment: Inputs or variables for which a value is assigned in the tabular editor

  • Condition: Outputs or variables which are subjected to a test in the tabular editor

  • IEC expression: Expression which yields a Boolean result

The tm_icon_fixed_columns.png symbol marks columns which cannot be changed.

Variable/Name

For column type Assignment or Condition: Variable name with instance path

Variables without an instance path are resolved in the scope of the testee.

For column type IEC expression: Freely definable name

Data type

Data type of the variable

First

Move Up

Move Down

Last

Moves the selected entry

In this way, you can changes the order of the columns in the tabular editor.

Add

Paste

Remove

Adds columns or selected columns

Hint: You can automatically add columns for input or output variables of the function blocks to be tested when inserting a Test Table object by activating these in the list Select from available inputs and outputs.