Module 18 - Networked Architectures - Basics
Module 18 - Networked Architectures - Basics
interfaces
Module 18
Network architectures -
Basics
Contents
1 Introduction 3
1.1 PcVue version 3
1.2 In this module you will learn 3
1.3 Files and data used in this module 3
1.4 Third party software used in this module 3
5 Station Lists 15
5.1 About the station lists 16
5.2 Use of the Station Lists in PcVue configuration 17
1.3.2 Data
The PcVue projects that you create during this module will be tested by copying them
on to several of the student’s PCs and testing them live. Therefore it is important to
know what the IP addresses are for each PC. Your trainer will select which IP
addresses are to be used. If there are insufficient students (and hence PC’s) the
trainer may elect to use Virtual Machines instead.
You cannot run PcVue’s networking without a dongle. Make sure that you
have access to one before undertaking the exercises.
Figure 1
Figure 2
In this architecture the PcVue SERVER is communicating with the equipment using
classical industrial communication (built-in drivers, OPC etc.).
The PcVue CLIENT is connected to the PcVue SERVER and collects the data using the
Networking Interface. The protocol used between PcVue SERVER and CLIENT is
proprietary over TCP/IP.
The communication between PcVue SERVER and CLIENT is similar to OPC and it’s
done in these steps:
Step 1. On start-up the CLIENT connects to the SERVER.
Step 2. Once it’s connected, the CLIENT attempts to subscribe to all the
variables that it requires.
Step 3. The SERVER registers the subscription for each variable and returns
the current value to the CLIENT.
Step 4. For each subscribed variable, the SERVER notifies the CLIENT when
the value or the status changes.
Figure 3
Step 2. In the task pane, click Networking Wizard.... PcVue opens the
Networking wizard. In the first step you must select if you are using a Remote
Desktop Session Host Server (or not) as the configuration steps are quite
different. We do not cover the RDS Host Server in this module so select Without
RDS Host Server and click the Next button.
Figure 4
Figure 5
Step 4. The Wizard opens the Real-time server association dialog. Click the
Add button if you are using real-time redundant architecture (see later),
otherwise click the Next button.
Figure 6
Figure 7
Under the Stations node you will find one station for each client and each server that
were created. Associated with each station is a Communication Node. (Shown in the
right pane in the above picture)
Under the Lists node will be several station lists. The station lists are used to decide
the behavior of certain aspects of PcVue depending on if the station is a client or server.
Station lists are covered in detail in a later section of this module.
Under the Associations node will be any associations that have been created.
If you were creating a new station (not using the wizard) then, at this
stage, the Communication Node dialog would open automatically.
You can use the command line tool IPCONFIG to check the IP
address of your PC.
Figure 11
Each SERVER collects data from the various sources and notifies:
DataClient1 & DataClient2 for DataServer1
DataClient2 & DataClient3 for DataServer2
You can create this application and its architect using just a single project, but in
order to do this we must make greater use of the Station Lists. However the required
Station Lists cannot be completely generated by the Network Wizard and so we must
adapt a configuration, manually creating some of the lists.
Figure 12
Figure 13
At startup each station creates two interfaces , one server and one client. The
interfaces are given a name according to the following rule.
For the server <StationName><NodeNumber>S.
For example DATASERVER10S
For the client <StationName><NodeNumber>C.
For example DATACLIENT10C
After the interfaces are created the local station initiates a connection with the remote
station. Only a client interface can request a connection, so the local client interface
tries to connect with the remote server interface. For example DATASERVER10C will
try to connect with DATACLIENT10S.
The communication between two stations is only error free when you have both
connections. For example
DATASERVER10C <-> DATACLIENT20S
DATASERVER20S <-> DATACLIENT10C
If both of these connections are not established then you will have problems with the
application.
Don’t forget that stations are created as both client and server
by default. It is the station lists that determine if they are
producing or consuming variable values.