Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Software Architecture
Software Architecture
Chapter 1
_____________________________________
V1.0
1 - 1
_____________________________________
Software Architecture
Notes:
_____________________________________
1 - 2
_____________________________________
Software Architecture
Contents
This chapter offers an initial overview of the PX WORX interface.
As containers PC WORX offers four freely configurable workspaces which show the dockable
windows that can be shown/hidden as desired. With their preassignment, these four workspaces
allow for the access to the main PC WORX functions (bus configuration, programming and process
data linkage, project comparison).
Note: Even though the workspaces are freely configurable, you should organize them
clearly, should not overload them with shown windows and, for efficient
use you should change between the workspaces according to the current application
task.
The workspaces can be reset via the Extras Options Menu, selecting the General tab.
_____________________________________
IB204401_0003/1
1 - 3
_____________________________________
Software Architecture
Notes:
_____________________________________
1 - 4
_____________________________________
Software Architecture
Workspaces
_____________________________________
1 - 5
_____________________________________
Software Architecture
Notes:
_____________________________________
Notiz/1
1 - 6
_____________________________________
Software Architecture
Workspaces
Process data
assignment
IEC
programming
Bus
configuration
Project
comparison
The designations and windows that are shown as a standard are similar to the main functions of PC
WORX. The menu bar ensures fast switch-over between the different areas.
Bus configuration
Creation of the bus systems supported by the controller (INTERBUS and PROFINET), editing the
devices used and general device data management.
IEC programming
IEC-based programming (programs, function blocks and functions) for the creation of PLC
hardware and tasks, declaring user-definable data types, integrating libraries and further software-
related functions.
Project comparison
Observing the differences found through a comparison of two offline projects.
_____________________________________
IB204401_0007/1
1 - 7
_____________________________________
Software Architecture
Bus Structure
Workspace
As usually in a project first of all the hardware configuration is implemented, the Bus configuration
workspace is the initial working environment for the user. As a standard, the windows Bus
configuration, Device details and Device catalog are shown. Here, the latter has been consciously
taken out of the view as it is only needed for the editing phase.
The device details are directly related to the bus configuration. The element selected in the bus
configuration is displayed with its details in the device details. Depending on the element type
(project, bus directory, bus device), the number and types of tabs are adjusted in this window. The
information on which pages have to be displayed is read out of the device or system file. This
explains the short time delay of the display. The text-based file is "translated" and displayed in a
user-friendly way in the device details.
After configuration of the bus system, the complete documentation for the hardware can be entered
in the device details (equipment identification, station name etc.).
_____________________________________
IB204401_0008/1
1 - 8
_____________________________________
Software Architecture
Process Data
Assignment Workspace
The process data assignment workspace is divided into four quadrants. The left-hand side shows
the PLC and its structure. Depending on the selected element, the corresponding global variables
are displayed in the table below.
The right-hand side shows the bus system hardware. Depending on the selected element, here the
corresponding process data items are displayed:
In this window, the programming variables are connected to the process data object items in the
connected bus systems.
_____________________________________
IB204401_0009/1
1 - 9
_____________________________________
Software Architecture
Project Comparison
Workspace
This workspace shows the result of an offline project comparison of two PC WORX projects.
_____________________________________
IB204401_00010/1
1 - 10
_____________________________________
Software Architecture
IEC Programming
Workspace
e
p ac
orks r
W fo
en s
op heet
orks
w
The workspace for the IEC-based programming of a PLC is divided into the project tree and the edit
wizard.
Besides a complete display of the project, the project tree offers specific views for the program
organization units (POU), libraries, hardware and tasks as well as the function call structure of the
programs (instances).
The edit wizard is context-sensitive. This means that, depending on the element worked on, the
wizard offers help for the creation of user-defined data types or the creation of a program.
The gray workspace in the screenshot is used for the open worksheets (code worksheets and
variable tables). Just as in many other applications, these windows can be arranged in different
styles (see Window menu).
For maximizing the worksheet, it makes sense to hide the project tree, the edit wizard and the
message window that automatically pops up during compilation processes. The pre-defined
shortcuts are:
_____________________________________
IB204401_0011/1
1 - 11
_____________________________________
Software Architecture
Notes:
_____________________________________
1 - 12
_____________________________________
Software Architecture
Windows
_____________________________________
1 - 13
_____________________________________
Software Architecture
Connected Bus
The user usually only activates the Connected Bus window for the read-in time of the connected
INTERBUS system. The communication path of this window is taken on from the central settings
and can be called via the Selected Control System list.
Legend
RED ID code and process data length of the devices are different.
GREEN ID code and process data length of the devices are identical.
* The following bus level is not available in the current bus configuration.
_____________________________________
IB204401_0014/1
1 - 14
_____________________________________
Software Architecture
Device Catalog
The Device Catalog window is required for offline configuration of the bus systems and only has to
be shown during this operating phase. It is also required for corrections of devices incorrectly
selected during online configuration.
In the device catalog, all device description files are listed on the All tab. Via the context menu, the
user can adjust the tree structure.
_____________________________________
IB204401_0015/1
1 - 15
_____________________________________
Software Architecture
Excel Link
As an interface, the Excel link integrated in PC WORX (compatible with MS Office 2003) enables
the organized export and import of global variables linked to process data items.
_____________________________________
IB204401_0016/1
1 - 16
_____________________________________
Software Architecture
Diag+ 2.0
The Diag+ 2.0 software integrated in PC WORX 5 offers extensive diagnostic function for both
INTERBUS and PROFINET, which are the bus systems supported by the control systems. Like
many other windows, Diag+ uses the centrally set up communication path.
_____________________________________
IB204401_0017/1
1 - 17
_____________________________________
Software Architecture
Notes:
_____________________________________
1 - 18