Step-by-step development of an example project
105724_en_01 PHOENIX CONTACT 45
5.2 “FirstSteps_ILC131” example project
5.2.1 General
Developing the example
project yourself
If you wish to develop the project yourself, please read the following section before starting.
It describes how to create the program. The example project is programmed in function
block diagram (FBD).
Viewing the
example project in
PC WORX EXPRESS
If you wish to view the complete example project in PC WORX EXPRESS without
developing it yourself, load the “FirstSteps_ILC131.zwe” file from the DVD for the
ILC 131 STARTERKIT.
Loading the example project from the DVD
• Save the “FirstSteps_ILC131.zwe” file on your PC, e.g., under the default path for
PC WORX EXPRESS “\Bibliotheken\Dokumente\PC Worx Express”.
• Select “Open Project / Unzip Project...” under the “File” menu item.
• Select the “FirstSteps_ILC131.zwe” file from the path under which you saved the file.
• Confirm the prompt asking whether the project should be extracted to the directory
containing the zwe file with “Yes” if the file is to be extracted to this directory. Or select
a different directory. PC WORX EXPRESS extracts the file automatically.
• If PC WORX EXPRESS prompts you to overwrite layouts (e.g., page layouts) or
bitmaps, confirm this prompt with “No to all”.
Once PC WORX EXPRESS has unzipped the project, it is available for you to view/edit.
Complete the following steps before starting the project:
• Check the IP settings in the example project. Adapt the settings if this is required for
your network environment. To do this, proceed as described in Section 5.1.4,
“Assigning the IP address for the controller”.
• Compile the example project, send it to the controller, and perform a cold restart.
Proceed as described in Section 4.6, “Compiling and transmitting a project and
performing a cold restart”.
The ILC 131 ETH Inline controller and the connected Inline terminal are now started up with
the example project program.
You can now switch to debug mode, for example, and view the variable states while
activating the switches on the switch module and/or modifying the potentiometer setting
(see “Operation and debug mode – viewing values online” on page 65).
Please note that the “FirstSteps_ILC131” example project is available in compressed
format as the “FirstSteps_ILC131.zwe” file on the ILC 131 STARTERKIT DVD. The
following sections provide step-by-step instructions for creating this example project.