Creating a UDF

You can create an empty UDF from the File → New menu command.

A UDF has a rectangle to indicate its edit area. You can edit the position and dimensions of this area.

Restrictions for a UDF:

Not all blocks can be added to a UDF. Below table lists function blocks that cannot be added to a UDF:

Input

Open connector

Network analog input

PI controller

Cursor key

Analog input

Network float analog input

Float mathematics instruction

LOGO! TD function key

Analog output

Network output

LCD Message

Shift register bit

Float analog flag

Network analog output

Shift register

Output

Network input

Network float analog output

Data log

Note

Analog resolution

If you have changed the analog resolution in the I/O settings for your diagram, you need to re-configure the parameters of certain function blocks in your UDF. Otherwise, the UDF may become invalid in your diagram.

You can also create a UDF from selected figures. To create a new UDF, select the blocks, right-click, and select "" from the following context menu.

If the selection includes blocks that a UDF does not support, LOGO!Soft Comfort excludes them from the UDF. If an included function block is connected to an excluded one, LOGO!Soft Comfort creates an input or output in place of the excluded block. If the number of inputs and outputs would exceed the restrictions, LOGO!Soft Comfort does not make inputs or outputs that would exceed the restriction.

LOGO! Soft Comfort creates the UDF and opens it in the UDF Editor: