Professional Documents
Culture Documents
Quick Start
UM QS EN WEBVISIT
Order No.: 2910020
WebVisit
AUTOMATIONWORX
Quick Start
WebVisit
09/2007
Designation: UM QS EN WEBVISIT
Revision: 01
In order to ensure the safe use of the product described, we recommend that you read this
manual carefully. The following notes provide information on how to use this manual.
Phone +49 - 52 35 - 30 0
Fax + 49 - 52 35 - 34 20 21
E-mail tecdoc@phoenixcontact.com
Internet
Up-to-date information on Phoenix Contact products can be found on the Internet at:
www.phoenixcontact.com
3 WebVisit ..................................................................................................................................3-1
3.1 Abbreviations Used ............................................................................................ 3-1
3.2 File Formats ....................................................................................................... 3-2
3.3 The WebVisit User Interface .............................................................................. 3-3
3.4 Menu Bar ........................................................................................................... 3-4
3.5 Toolbar for Graphic Icons...................................................................................3-6
3.5.1 Static Graphic Icons ........................................................................... 3-6
3.5.2 Dynamic Graphic Icons ...................................................................... 3-7
3.6 Properties Dialog Box ........................................................................................3-8
3.6.1 General ............................................................................................... 3-8
3.6.2 Repaints ............................................................................................. 3-9
3.6.3 Actions ..............................................................................................3-11
3.6.4 Border Advanced ..............................................................................3-12
3.6.5 Text Positions Advanced ..................................................................3-13
3.6.6 Bargraph Advanced .......................................................................... 3-13
3.6.7 Line Advanced .................................................................................. 3-14
3.6.8 On Condition ..................................................................................... 3-14
3.7 Group Properties Dialog Box ...........................................................................3-15
3.7.1 Advanced Select ............................................................................... 3-16
3.7.2 General ............................................................................................. 3-16
3.7.3 Cross Ref .......................................................................................... 3-17
1 General
1.1 Introduction
This document uses an example project to help you to get started with visualizing the
variables you have created in PC WorX. The example project created in the Quick Start
Guide for PC WorX is used. It is briefly described in "Appendix: Example Project in
PC WorX" on page A-1.
It is assumed the user has knowledge and experience in the operation of PCs and
Windows operating systems.
More detailed information about the individual functions of the WebVisit can be found in
the online help for the program. The help function can be called via "Help" in the menu
bar.
Windows 2000
Windows XP (recommended)
You can use WebVisit to visualize projects running on the following control systems:
Products
Description Type Order No. Pcs./Pck.
Tool for creating websites for Phoenix Contact control systems WEBVISIT BASIC 2985990 1
Documentation
Description Type Order No. Pcs./Pck.
Quick Start Guide "PC WorX" UM QS EN PC WORX 2699862 1
As you can use WebVisit to visualize variables from PC WorX, you should install these
two programs as a minimum.
You only need to select Diag+ if you want to use it independently of PC WorX. When
PC WorX is installed, Diag+ is installed as part of PC WorX.
When one of the programs in the Software Suite is started for the first time, it runs in demo
mode with limited resources. A registration code is required to enable the full version. You
will receive the registration code when a full version of the relevant program is purchased.
Usually, the installation program will start automatically a few seconds after you place the
CD-ROM in the CD drive.
If it does not, start the "SETUP.EXE" file from the "[Drive]:\SETUP\" directory on the
CD-ROM. This file calls the installation wizard, which guides you through the
installation process.
Follow the installation program instructions.
The installation program will generate all the directories necessary for operation and will
copy the files for the programs you have selected.
Following successful installation, restart your PC to apply the changes to the
configuration files. To do this, click "Finish" at the end of the installation process.
When started for the first time, WebVisit runs in demo mode.
If you wish to switch from demo mode to the full version, enable your WebVisit license.
3 WebVisit
HMI Human Machine Interface, e.g., a WebVisit graphic view displayed on a touch panel or in
a PC browser.
*.prj File extension for WebVisit projects created using the WebVisit editor. A WebVisit project
contains all information required in order to create an HMI on a touch panel or in a browser.
Graphic view A WebVisit graphic view is comprised of WebVisit graphic icons and represents the HMI.
A graphic view of this type is stored in a *.teq file.
*.teq File extension of a WebVisit graphic view generated by the WebVisit editor.
Graphic icon A graphic icon is a visualization object used by the WebVisit editor to draw graphic views.
These objects are programmed in Java. The objects of a graphic view are saved on the
target system in a Java applet.
Java applet (applet) Small program written in Java programming language that is loaded from a server (in this
case a control system) and interpreted and executed in a user browser that has Java
capability.
PDP (PPO) Process Data Point. A PDP is any application-software variable that is to be made visible
and/or enabled for operation in a WebVisit graphic view. The designation PPO is used as
a data type in WebVisit.
Container A container is a local variable within the WebVisit editor. A variable of the CONTAINER
type is used to exchange data between the graphic icons of one or more graphic views.
All the file formats required to generate an HMI based on WebVisit are listed below.
The browser addresses an html page as follows:
http://<target system ip address>/<project>.html. This file is generated by WebVisit
("Project... Generate HTML..." menu). The file contains a reference to a Java applet that is
responsible for visualization. If the project's html page is called entry.html, its file name
does not need to be entered. In this case, only the IP address of the target system needs
to be entered for addressing purposes.
Other references point to *.teq files, which are generated by the WebVisit editor for every
graphic view and determine the layout of those graphic views. All Java classes are saved
in a Java archive called IMaster.jar.
The following files must be saved in the target system in order to obtain a visualization
based on an embedded web server:
The homepage of "<project>.html"
The Java class library "IMaster.jar"
All graphic views (*.teq)
All additional user-specific HTML files (help pages, for example)
All view files that are used
The variable initialization files "<project>.tcr" and "<project>.itq"
Please note that for web pages created by users, paths are not used as references, as
subdirectories are not supported.
The user interface appears when WebVisit is started. The main window is divided into two
sections. All open project files are displayed on the left-hand side. On the right-hand side,
the graphic views for the open project are displayed and can be edited.
Menu bar
Toolbar for
graphic icons
Project files
Graphic views
Toolbar
Status bar
File
New Project... Creates a new HMI project.
Open Project... Opens an existing HMI project.
Close Project Closes the active HMI project.
Save All Saves the active HMI project.
Project
Add To Project Adds a graphic view or file to the project.
New Creates a new graphic view.
File Adds a file to the project.
Remove From Project... Removes a file from the project.
Remove/Delete From Project... Removes a file from the project.
Project Configurations... Configures the project's basic settings. Changes to the settings can
only be made by means of new graphic views.
Teq Configurations Default settings for new graphic views
Width Standard width of a graphic view in pixels
Height Standard height of a graphic view in pixels
Background Color Standard background color
Foreground Color Standard font/outline color
Font Standard font type for graphic icons
Background Teq Defines a graphic view as the background view for new graphic
views.
applet params Parameters for the Java applet
period Update rate for the process data points in ms
Main teq Start screen when the HMI is loaded
Debug When debug mode is activated, you can use advanced debug
information. You must have a Java Console installed to take
advantage of this feature, which is called in the Internet Explorer, for
example, via "Tools... Sun Java Console".
Message Box When the message box is activated, error messages are displayed.
HTML Parameters in csv Currently not supported.
File
Order Per View Updates process data points for each view
(see also "Applet params" on page 4-2).
Teq archive Do not use, not supported in later versions.
Encode Special Chars When activated (recommended), special characters in the
PPO name are processed correctly.
Phoenix PC WORX Project Project settings for connecting to PC WorX (see also
Settings "Phoenix PC WORX Project Settings" on page 4-3).
*.mwt path Path to PC WorX project
PDD.CSV Path Path to the file with variables from PC WorX for WebVisit
Grid Configurations... Configures the auxiliary grid. When the grid is activated, only new or
selected graphic icons are snapped to the grid.
Grid Visible Switches the grid on/off.
Grid Snap Snaps the icons to the grid.
X Horizontal grid spacing
Y Vertical grid spacing
Grid Color Color of the grid
Init Containers... Initializes variables of the CONTAINER type.
Init PPOs... Initializes variables of the PPO type.
Generate HTML... Generates the homepage of the HTML file, which contains the
WebVisit applet.
Download Project... Downloads the project to the target system.
Layout
Align Aligns the selected graphic icons. At least two graphic icons must be
selected in order for these functions to work.
Left Aligns the graphic icons to the left edge.
Right Aligns the graphic icons to the right edge.
Top Aligns the graphic icons to the top edge.
Bottom Aligns the graphic icons to the bottom edge.
Center Centers the graphic icons in the graphic view.
Horizontally Centers the graphic icons horizontally.
Vertically Centers the graphic icons vertically.
Make Same Size Makes the graphic icons the same size. At least two graphic icons
must be selected in order for these functions to work.
Width Makes the widths of the graphic icons the same.
Height Makes the heights of the graphic icons the same.
Both Makes the heights and widths of the graphic icons the same.
Order Sets the order of the graphic icons.
To Back Moves the graphic icon back one level.
To Front Moves the graphic icon forward one level.
Group Groups/separates graphic icons.
Group Groups the selected graphic icons.
UnGroup Ungroups a selected group.
Edit Polygon Points The points of the selected polygon can be edited.
Cross Ref... Displays cross-references.
Image Image
You can use this graphic icon to display an image that is linked to the icon as an external
file. The "GIF" file format is supported.
You can also link two images, one of which is displayed dependent upon a condition.
The image is scaled according to the size of the graphic icon and, if the image has a
transparent background, the background color of the graphic icon will be visible.
You can link dynamic graphic icons to a process data point or container. This provides a
means of displaying and modifying process data points or containers. You can configure
colors dependent upon a process data point or container.
Button Button
A button can be used to set process data points, switch graphic views, call external web
pages, and toggle or increment variables.
Bargraph Bargraph
A bargraph can be used to display a process data point or a container variable graphically
and dynamically. The value range of the bargraph can be parameterized.
You can configure the properties of graphic icons using the Properties dialog box.
Open the Properties dialog box for a graphic icon by double-clicking the icon.
The properties are grouped on several tabs. Each graphic icon has its own properties so
not all tabs of the Properties dialog box will always be available.
Figure 3-9 Possible tabs in the Properties dialog box (in this case for Button)
3.6.1 General
You specify general format properties on this tab. These include the position, size, interior
and outline color, line width and style, and font type.
The x-axis runs from left to right and the y-axis from top to bottom, so the zero point is
located in the top left corner.
The font types originate from the Java Virtual Machine. PC fonts cannot be used. Different
systems (browsers) may display fonts differently.
3.6.2 Repaints
Edit a Source (2) The "Edit a Source" and "Edit a Source 2" properties are available for all graphic icons,
which can display an external data source, such as Static text (text field), Edit box, Image,
Bargraph or Button. This means that you can connect up to two external data items to a
graphic icon and, if required, include a link to a condition (On Condition).
When you activate the data source, a list appears from which you can specify the type and
name of the external data source.
The following types exist, although not all types are available for all graphic icons:
Type Meaning
FILE An image file of the *.gif type can be entered as the name.
PPO A graphic icon can be linked to a process data point (PDP). The PDP
can be entered in the "Name" field.
CONTAINER A graphic icon can be linked to a WebVisit internal variable. These
variables are only visible within the HMI and can be initialized using the
"Project... InitContainers..." menu command.
STRING A simple text string can be displayed.
HTML_TAG This function has not yet been implemented in this version of WebVisit.
If you select HTML_TAG as the type, it is interpreted internally as a
string.
A connection must have been established with a corresponding PC WorX file in the
project configuration in order to select "PPO" as the type (see "Configuring a Project" on
page 4-2).
Hide Painter The "Hide / Disable Painter On Condition" (hidden if condition is true) and "Hidden Painter"
(hidden) properties are available for all icons. You can use these properties to show/hide
a graphic icon, linked to a condition if required.
3.6.3 Actions
On this tab you set the action to be triggered when the mouse clicks a button.
Action Effect
Set Var on Mouse Left-clicking the button assigns the value of "Value" to a variable
DOWN (PPO or CONTAINER).
Set Var on Mouse Left-clicking the button assigns the value of "Value" to a variable
UP (PPO or CONTAINER) when the mouse button is released.
Toggle Button Depending on the status of the button, a variable is alternately set
to "1" or "0".
Increment Clicking the button increments a variable (PPO or CONTAINER)
by the value of "Value".
View Jump This allows you to switch to a different graphic view.
View Name Name of the graphic view, to which you want to switch
Back Button Clicking the button switches to the graphic view specified in "Actual
Page".
URL Jump This allows you to implement an HTML hyperlink to call an HTML
page of your choice.
On this tab you set the color properties dependent upon a variable (process data point or
container).
Three colors can be used to test a variable against a minimum and a maximum value. This
results in three cases, each of which can be assigned its own color. This applies to both
the interior color and the outline color.
You can use the "2 Colors on conditions" option to set whether you want to control two or
three colors dependent upon a variable. With two colors, a variable can be tested at 0 or 1
and a different color can be assigned to each case. This applies to both the interior color
and the outline color.
The interior color and the outline color can be shown or hidden, dependent upon a variable.
This tab is only available for the Static text or Button graphic icons.
On this tab you set the text alignment dependent upon a variable.
On this tab you can set the minimum, maximum, orientation, and scale of the bargraph.
On this tab you specify whether the start and end of a line are to be marked with an arrow
or not.
3.6.8 On Condition
Certain properties of graphic icons can be linked to a condition, for example, the data
sources in the Properties dialog box under "Repaints" or the color change under "Border
Advanced".
The format of these conditions is always the same and is described below.
First, in the "Type" field, select the type of the variable on which the condition is to
depend. This can be the PPO (process data point) type or the CONTAINER
(HMI internal variable) type.
Enter the name of the variable in the "Name" field.
Select the comparison type in the "Select" field. The following options are available:
Grouping can be used to change the properties of several graphic icons at the same time.
Select the required icons. To do this, draw a border around the graphic icons or left-
click them while holding down the shift key.
Select the "Group... Group" command from the "Layout" menu or click the icon in the
toolbar at the bottom of the screen.
To dissolve a group, select it and then select the "Layout... Group... UnGroup" menu
command or click the icon in the toolbar at the bottom of the screen.
To change the general properties of a group, simply double-click the group and the Group
Properties dialog box will appear. You can open the dialog box by clicking the icon in the
toolbar at the bottom of the screen. The dialog box features the following tabs:
3.7.2 General
You can change the general format properties for all graphic icons in the group at the same
time on this tab.
You can specify whether each property is to be changed for all elements in the group or
not.
All references associated with the graphic icons in the group are listed in this window.
To visualize variables from a PC WorX project using WebVisit, the following requirements
must be met:
You have created a project on a controller with the appropriate firmware (see
"Supported Control Systems" on page 1-2).
The variables to be visualized have been created as global variables (VAR_GLOBAL
or VAR_EXTERNAL).
The "PDD" attribute is marked for the variable.
You make these settings when creating the variables (see also "Programming" on
page A-6).
If these settings are changed during the course of the project, the new settings will only
be applied to new graphic views! Therefore, you must make the change for all existing
graphic views, if necessary.
Teq Configurations Default settings for new graphic views (size, background and foreground color, text
settings, background file)
Select the size ("Width" and "Height"; in Figure 4-1 640 x 480 pixels) in accordance with
the size of your browser window.
Phoenix PC WORX Project In this section of the dialog box, you specify where WebVisit gets its variables from. There
Settings are two options:
1. The PC WorX project is located on the same PC as WebVisit.
Use "Browse" to select the path to the PC WorX project file (*.mwt) in the "*.mwt path"
field.
If the PC WorX project has been installed and named as standard in accordance with
Section A, "Appendix: Example Project in PC WorX", you will find the file under
"C:\Programs\ PHOENIX CONTACT\Software Suite ...\Projects\qs_webvisit.mwt".
Entering this path updates the path for the pdd.csv file automatically.
2. The PC with WebVisit contains only one file with the required variables (pdd.csv)
generated using PC WorX.
Use "Browse" to select the path to the pdd.csv file in the "pdd.csv path" field.
To add an empty graphic view to the project, select the "Project... Add to Project...
New..." menu command.
The editor suggests a file name comprising the project name, a consecutive number and
the extension *.teq (in this case "quickstart1.teq").
Use the suggested file name or edit it and then confirm your entry with "Add".
You can now insert your graphic visualization objects. You can use the items on the toolbar
for graphic icons to do this (see "The WebVisit User Interface" on page 3-3).
The following graphic objects are used for graphic view 1 in the example:
Select a text field from the toolbar for graphic icons and place it in the graphic view.
Double-click the graphic icon to open the Properties dialog box.
Specify the general properties under "General".
Figure 4-3 General properties of the text field (in this case for "Start")
Figure 4-4 Display via the text field (in this case for "Start")
Select a text field from the toolbar for graphic icons and place it in the graphic view.
Double-click the graphic icon to open the Properties dialog box.
Specify the general properties under "General".
Select the rectangle from the toolbar for graphic icons and place it in the graphic view.
Double-click the graphic icon to open the Properties dialog box.
Specify the general properties under "General".
Since the rectangle only acts as a background, no other settings are required.
Select the ellipse from the toolbar for graphic icons and place two instances of it in the
graphic view.
Double-click the graphic icon to open the Properties dialog box.
Specify the general properties under "General".
Select the text field from the toolbar for graphic icons and place it in the graphic view.
Double-click the graphic icon to open the Properties dialog box.
Specify the general properties under "General".
Select the edit box from the toolbar for graphic icons and place it in the graphic view.
Double-click the graphic icon to open the Properties dialog box.
Specify the general properties under "General".
Select the button icon from the toolbar for graphic icons and place it in the graphic
view.
Double-click the graphic icon to open the Properties dialog box.
Specify the general properties under "General".
Give the button a name under "Repaints" (in this case TOGGLE).
You have now created/selected a container variable that is used only within the
visualization. Its value increases by 1 every time the button is pressed.
Provided that the Number_of_Toggles variable is less than or equal to 10, the button
remains green. If the variable is greater than 10, the button changes to yellow. The variable
can be reset in the visualization by refreshing the browser window.
Additional settings are not required.
Select the text field from the toolbar for graphic icons and place it in the graphic view.
Double-click the graphic icon to open the Properties dialog box.
Specify the general properties under "General".
Specify the color settings under "Border Advanced". In this example, the same color
settings have been made as for the toggle button (see Figure 4-18).
Select the bargraph from the toolbar for graphic icons and place it in the graphic view.
Double-click the graphic icon to open the Properties dialog box.
Specify the general properties under "General".
A second graphic view is to be generated in which the bargraph for displaying V0 is shown
in a larger format.
Select the "Add to Project... New..." command from the "Project" menu.
Use the suggested file name or edit it and then confirm your entry with "Add".
You can now insert graphic visualization objects as described above. However, because
a magnified view is also to be displayed here, with other properties remaining the same,
you can also copy the bargraph from page 1 and only adapt the items of data, which need
to be modified. In this case, this only affects the size of the bargraph. The corresponding
procedure is described below.
Switch to the first graphic view. To do this, select the appropriate file (in this case
quickstart1.teq) under "Project Files" on the left-hand side of the screen.
Highlight the bargraph and copy it (Ctrl+C or "Edit... Copy").
Under "Project Files", switch to the file for the second graphic view (in this case
quickstart2.teq).
Insert the bargraph (Ctrl+V or "Edit... Paste").
Double-click the graphic icon to open the Properties dialog box.
Adapt the settings under "General".
Give the button a name under "Repaints" (in this case >> (for magnification)).
Select the "Actions" tab. In the "Jump" section, activate the "View Jump" checkbox.
Select the name of your second graphic view from the list in the "view name" field.
Copy the button from graphic view 1. This ensures that it will be located in the same
position in graphic view 2.
Under "Project Files", select the file for graphic view 2 (in this case quickstart2.teq) and
insert the button.
Enter the name of the button under "Repaints".
Figure 4-30 Adaptation under "Repaints" for the button in graphic view 2
Make the adaptations under "Actions". In this case the jump is back to the previous
page, not to any other specific page.
Figure 4-31 Adaptations under "Actions" for the button in graphic view 2
Please note that the visualization is started only with the following setting in the Windows
control panel.
Start the Java control panel from the Windows control panel.
Select in the temporary files settings that temporary files are not stored.
Open the entry.html file for an initial test with a PC browser (e.g., MS Internet Explorer,
Netscape Navigator, Mozilla, Opera).
Test the function of the pages.
Process data points are not yet displayed. To display them, the container variables first
have to be initialized and the project transferred to the target system's web server.
If you are using edit boxes, you need to specify the value range for the entries.
Select the "Project... Init PPOs..." command.
All the variables used and their parameter settings are listed in the dialog box that appears.
"Format Val"
This parameter specifies the formatting of the screen output for a process data point. It can
accept "Int" or "String" values.
Unit Val
The unit for a process data point is specified here.
In the example, the field for displaying the Manual variable is an edit box. The values only
have to be specified for this process data point.
Enter the values given in Figure 4-34 in the dialog box.
If you make an incorrect entry in the visualization edit box (undershooting or overshooting
the limits, incorrect formatting), WebVisit will display an input error.
Figure 4-35 Error message in the event of an edit box input error
Container variables are local variables that are only visible within one or more graphic
views. They are not related to the PC WorX project.
Once the variables have been created in a graphic object, they have to be initialized.
Select the "Project... Init Containers..." command.
All the local variables used and their initializations are listed in the dialog box that appears.
All files generated when the project was created and subsequently transferred to the target
system are displayed under "Project Files".
If changes have been made to the project since the last time the HTML file was
generated, save the project ("File... Save All") and generate an HTML file ("Project...
Generate HTML").
Once the file has been transferred successfully, exit the window by clicking the "Exit"
button.
You can now open your project in an Internet browser. Internet Explorer is used in the
example below.
Please note that the visualization is started only with the following setting in the Windows
control panel.
Start the Java control panel from the Windows control panel.
Select in the temporary files settings that temporary files are not stored.
Enter your control system's IP address in the browser in the following format:
http://<control system ip address> (e.g., http://192.168.0.2).
If the project's html page is called entry.html, its file name does not need to be entered.
If you have selected a different file name, enter the following in the browser:
http://<control system ip address>/<project>.html.
Pressing the "TOGGLE" button toggles the Manual variable from the visualization. You can
also set the Manual variable directly by entering the value 0 or 1 in the edit box. All other
values are controlled automatically by the program running on the control system.
If you have added new variables to the PC WorX project after creating the WebVisit
project:
Open the "Project... Project Configurations..." menu.
Confirm the settings with "OK".
After each change in WebVisit:
Save the changes using "File... Save All".
Regenerate the HTML file via "Project... Generate HTML...".
Download the changed project to the control system via "Project... Download
Project...".
Refresh the display in the browser.
There are two ways to generate an HMI with several graphic views. Either all the graphic
views are located in a Java applet or you are working with HTML links to the various views.
For more information about creating a project, please refer to the Quick Start Guide for
PC WorX.
In this document, an example project is developed using function block diagram (FBD).
In order to obtain the best possible results, please use the same identifiers and names
as used in this manual.
PC
STP FAIL I1 I5 I9 Q1 E US 1 D Ord. No. 28 32 70 0
I2 I6 I10 Q2 UM 2
RUN / PROG I3 I7 I11 UL
ETH Q3
I4 I8 I12 Q4
10/100 DO2
MODE
PC WorX
LNK
ACT INLINE CONTROL
ILC 350 PN 11 22 11 22 11 22 11 22 11 22 11 22 2 4 6 8 10 12 14 16
100
Ord. No.: 2876928
MAC US1 US2 FAIL
WebVisit
1 11 11 11 11 11 1 Address 00.A0.45.1B.D2.1D
RESET
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
X17 X18 X19
2 22 22 22 22 22 2 US1 GND US2 GND R1 R2 V.24 ACT 100 FD
xxxxxxx (Seriennr.)
PRG IL 3 33 33 33 33 33 3
RDY / RUN
BSA
4 44 44 44 44 44 4
FAIL
RF
5 55 55 55 5
6 66 66 66 6
IB IL 24 DO 2
ILB PN 24 DI16
FL IL 24 BK-PN-PAC DIO16-2TX
US D D
1 1
UM 2 2
3 3
RESET UL 4 4
DO4 DI4
100
1 2 1 2 1 2
FD
COL 1 1 1 1
XMT
2 2 2 2
RCV
LNK 3 33 3 3 3
10/100
4 44 4 4 4
7361A001
IB IL 24 DI 4-ME
IB IL 24 DO 4-ME
Table A-1 Inputs and outputs used in the example including process data and assigned variables
Perform the following steps in accordance with the Quick Start Guide for PC WorX.
Create a new project with the control system (in this case
ILC 350 PN Version >01/4.6F/1.41) and save it with the name "qs_webvisit".
Adapt the project information as appropriate for your project and assign the "Domain
Postfix" (in this case qs.de).
Check/modify the IP settings for the controller (in this case 192.168.0.2).
If required, assign an IP address to the PROFINET IO controller.
Read in the PROFINET IO devices.
If required, assign the PROFINET device names and IP addresses.
Read in the INTERBUS.
In order to detect any errors, compile the project once the bus topology has been
completed.
The structure of the bus configuration is illustrated in Figure A-2.
A 2.2.3 Programming
Programming of this example, excluding the Manual variable, is described in detail in the
Quick Start Guide for PC WorX. First, proceed in accordance with the example. Then insert
the Manual variable afterward.
When creating variables that are to be visualized in WebVisit, please note:
Create the variables as global variables (VAR_GLOBAL or VAR_EXTERNAL).
Activate the "PDD" checkbox.
In contrast to the description contained in the Quick Start Guide for PC WorX, in this case
the initial value was set to 1 as soon as the variables were created.
If it has not already been done when the V0 variable was created, set the initial value
for the V0 variable to 1.
In order to detect any errors, compile the project once the program has been created.
Assign the process data in accordance with the Quick Start Guide for PC WorX.
The result of the process data assignment process is shown in Figure A-9.
Compile the project, send it to the control system and perform a cold restart.
A 2.4 Operation
Change the task properties to "Cyclic" with an interval of 250 ms in accordance with
the Quick Start Guide for PC WorX.
Compile the project, send it to the control system and perform a cold restart.
Your program should now work. If you press the appropriate switch, the function will run.
You can also check the function in debug mode in accordance with the Quick Start Guide
for PC WorX.