beautypg.com

Watlow LogicPro User Manual

Page 192

background image

Chapter 11: User Defined Function Blocks

LogicPro User’s Guide

176

Watlow Anafaze

Doc.# 28002-00 Rev 3.00

To build a UDFB in simulation mode:

1.

Select the

File

menu.

1.

Select the

UDFB

menu

2.

Select

Build Simulation Lib

. The

Build UDFB

Library for Simulation

dialog box appears, as shown

in Figure 11.5.

Figure 11.5 Build UDFB Library for Simulation

Dialog Box

3.

Select the UDFBs that you want to include in the library.
Only those UDFBs which are selected will be in the
library.

4.

Click

[OK]

. LogicPro compiles these files and builds a

library with the pre-defined macro

SIMULATION

.

The library is named

UDFB.lib

with a prefix indicating the

kind of resource that is currently open.

The library is stored in the following directory:

\logicpro\simulate\bc

After the simulation UDFB library is built successfully, you
can use the UDFB in a Ladder diagram as a standard Function
Block in simulation. When the Program is compiled and
linked for simulation, the simulation library is automatically
linked by LogicPro.