Dialog Options - CFC Editor

Function: The dialog is used to configure the settings for editing and printing in the CFC editor.

Call: TwinCAT > PLC Environment > CFC editor

General tab

Dialog Options - CFC Editor 1:

Enable AutoConnect

Dialog Options - CFC Editor 2:: When you drag and paste a CFC element onto the editor's workspace, TwinCAT automatically connects unlinked pins that "touch" each other. Make sure that you do not create any unwanted connections when you move elements!

Prepare values in implementation part

Dialog Options - CFC Editor 3:: In online mode, you can also prepare variable values for writing and forcing in the implementation part of the CFC function block. In addition, TwinCAT displays the values that have just been prepared in the inline monitoring box of the variables in angle brackets.

View tab

Dialog Options - CFC Editor 4:

Display grid points

Dialog Options - CFC Editor 5:: In the editor, grid points are validity areas at which you can position the elements.

Show box icon

Dialog Options - CFC Editor 6:: TwinCAT displays function blocks in the CFC editor that are linked to a bitmap as symbols.

Requirement: You have either created the link for a function block or a function in the object properties or loaded it using a library.

Edit Line Colors

Opens the Edit Line Colors dialog to define the colors for the connection lines depending on the current data type. The lines appear in these colors in offline and online mode, except TwinCAT overpaints these colors with bold black and blue lines to indicate Boolean data flow.

  • Add type: Adds a data type to the list.
  • Remove type

Font

Displays the font and button for changing the font.

Print tab

Dialog Options - CFC Editor 7:

Layout options

Fit method

Page or poster

Scale

Possible values: 20% - 200%

See also: