Beruflich Dokumente
Kultur Dokumente
1
SCADA ET MES une répartition fonctionnelle
SCADA
▪ Acquisition de données du contrôle-commande
▪ l'affichage des synoptiques animés qu'ils en forment en temps réel de l'état de l'installation
▪ la gestion des alarmes
▪ Recettes de supervision «envoi à l'automate des listes de consignes pour l'exécution d'une opération automatisés»
3
MES: Réseaux
▪ Plant Business Network
o is the main network for most non-direct production staff
o Some users will require access to the MES Report Serve
o In some circumstances, the Engineering Stations and Supervisor Stations will be on the Plant Business network
o is characterized as open, with many clients and varying traffic loads that might cause it to be slow at times.
o It is usually placed on the other side of the firewall from the Production network
o It might be part of the corporate WAN with or without a firewall
❑ Network Interconnections
Assuming your MES servers are all on the Plant Production network, the following servers will
require access to servers outside this network:
• Database Server: Plant Business Network or Corporate WAN for the ERP interface
• Application Server/OI Servers: Controls the network for the PLC data acquisition
• Database Server: Plant Business network or Corporate WAN for user reports access
Getting data outside your domain or on a different network might cause issues related to
crossing the firewall and users rights on both networks.
The basic idea is to have the server placed on the network where it is most used and have a
router that connects the network or network segments. This router would allow cross network
communications while isolating traffic and limiting access based on configuration. 4
Make MES Middleware calls to MES database via a web service
MES Components
5
Wonderware MES Architecture
MES Client Operator MES Client
InTouch w/
Supervisor .NET Supervisor Galaxy
Controls Repository
Reports Configurator
InTouch w/ Field I/O
MES API ArchestrA
IDE
6
Solution Installée
QAD
Operators
Engineering Workstation 6 Report Server
- Operator Client
DB Server
- MES Client - Intelligence Report
4 - Web Portal
- Historian Server - ArchestrA Developpement
- DB Server IDE - Galaxy Repository
- Licence Server
5 7 8
3 3'
Licenses:
?
3' : MES-34-N-14R3:
1 : OIServ-51-N-17
Performance Load Bal
2 : MES-04-N-14R3:
4 : HstStd-54-N-17
Operations
3 : MES-24-N-14R3:
Performance
5 : AppSvr-04-N-17 8 : InSight Client SCADA
7
MES Component
❑ The Production Database Server
• Is usually the most critical server relating to performance in an MES System.
• Holds the MES database and is the central repository for the MES data.
• The MES database is supported on SQL Server.
• In large implementations, should be dedicated to MES due to high transaction volumes. There should be
no ERP databases, etc. on the same server.
• The Production Database Server typically runs the following databases:
⮚ MES database
⮚ Alarm database
⮚ Runtime database
Ideally, these databases should be run on their own server. However, in practice, if the Alarms and Historian databases are being
used only for MES, then they can be run on the Production Database Server.
• In a typical solution, it does not run the following:
⮚ Galaxy Repository
⮚ Intelligence Server database
⮚ Report Server databases
9
MES Component Services
▪ Is a program that is set up to run ▪ MES Service Scheduled Tasks
continuously as a service, and does not
require you to log in to Windows ▪ Every Minute (Starting Within Half a Second)
• Updates the current shifts for each entity if the shift changes
▪ Manages the background tasks in MES that • Checks for the beginning or end of Daylight Saving Time, and automatically
are not done by: adjusts the Report time zone difference from GMT
• An application object • Runs the sp_BG_Minutely_Tasks stored
• A program that you are running • Performs Supply Chain Connector imports and exports based on time
• An MES control embedded in an InTouch • ….
Report Server
⮚ provides the content to operators in the plant, office users, and corporate users.
⮚ Its source of information is from the Production Database Server.
⮚ Typically your Production Database Server is on the Plant Production Network while the office users
are on the Plant Business Network and it is not uncommon for a firewall to be between them.
⮚ The Report Server is not considered a production server. That is, it can go down without
interruptions to production and without losing production data.
⮚ Installations that run large reports or do data mining on the MES database should perform these
operations on an Archive database and not the actual Production database
⮚ Extracts data from MES database, transforms it, and populates the Intelligence database
⮚ Reports
Production by Entity Utilization by Entity
Line Production Utilization Analysis
Genealogy by Work Order OEE Analysis
Utilization Timeline Mean Time Between Failures (MTBF)
11
MES Component
MES Web Portal Server
The MES Web Portal Server hosts the web pages for both configuring and operating equipment line
performance monitoring. This server may reside in the corporate domain or plant domain depending on
its usage. This server should have a dedicated MES Middleware Server for managing all the client
transactions.
Used to:
• Monitor the status of a line’s work orders, jobs, and entities
• Change the status of a work order
• Reassign a work order to another line
• Start and stop jobs
• Add or reduce production for a job
• Manage entity events
• Mark jobs as complete
Galaxy Repository (GR) Node Server
⮚ The GR Node is the computer where the Galaxy Repository resides.
⮚ It is a SQL Server database in which all of the galaxy configuration data is stored
⮚ The GR should be available to the Galaxy.
⮚ It is recommended that the GR Node Server be on the Report Server or on the Engineering station.
⮚ It is recommended that the GR Node Server not be on any of the production servers
12
MES Component
Archive Server
It is recommended the Archive database reside on its own server.
The Archive database holds a copy of the production MES database.
Data is copied on a regular basis from the MES database to the Archive database on a time
and Work
Order basis. This data then can be used in reports or to restore most of the production data
if the production server is lost.
Terminal Server
Terminal Server has the following advantages:
It provides ease of setup and maintenance of applications. Instead of installing the MES
client on many systems, you install it once on the Terminal Server. The clients operate in a
controlled Windows environment. All the clients run under the same version of Windows
and same patch level. It can reduce hardware costs. It should reduce maintenance costs.
It provides the ability for redundancy.
Resources are shared, so if your clients need a significant number of resources, they are
available.
This typically applies to the CPU for which full capacity is not needed all the time. It is very
scalable. Although there is a limit to the number of clients per server based on the
application, you can add additional memory or CPUs to the server until you reach your
limit. Then additional Terminal Servers can be added to meet your needs
13
MES Deployment
Engineering Stations Supervisor Stations
An Engineering station is a system that is A Supervisor station is where work orders are
configured by someone with expert knowledge of scheduled and/or the activities of the operators are
the system. The activities range from: monitored. Supervisors are different from the office
users in that their PCs are close to the shop floor and
• Configuring the systems
have direct access to the MES Server.
• Performing maintenance and system shutdowns A Supervisor station is different from an Operator
• Adding users station in that in addition to the Operator application
(MES Operator or InTouch), the Supervisor station has
• Deploying Operator stations
access to the MES Client
• Debugging problems
• Changing configuration Applications Used
• Adding content • MES Client
• Setting import/export schedules • MES Operator (or custom Operator UI), if used
• Web browser to access MES Web Portal, if
Applications Used used
• MES Client • MES Supervisor
• ArchestrA IDE • InTouch Application, if used
• InTouch WindowMaker and WindowViewer • MES Intelligence Reports
• Intelligence Server Administrator features
• Web browser to access MES Web Portal, if
Operator Stations
used Are the PC or thin clients used to control, monitor, or
record information from the process.
The GR Node (the GR database) can be run on the Both client server (so-called fat clients) and thin client
Engineering station. This frees up resources on the architectures are fully supported, with one not
Report Server. recommended over the other.
14
MES Client
▪ Define users and groups ⮚Specify Item states and grades
▪ Define shift schedules ⮚Specify UOM for an item or
▪ Define machine state and reason characteristic
▪ Assign passwords and group ⮚Configure work orders and jobs
privileges ⮚Configure a process
▪ Define global system parameters ⮚Manage jobs
▪ Define custom attributes ⮚Maintain MES database
▪ Configure global specifications ⮚Configure sample plan and
▪ Configure Entities frequency
▪ Configure Language strings ⮚Define characteristics
▪ Configure Items and item classes ⮚Configure quality specification
15
MES Objects and .net Controls MES Operator
▪ OCO, UCO, and SRO objects ▪ Operator is the production
and “Operator” .net employees interface to the MES
controls system
⮚ OCO, UCO, and SRO objects • Routing display of running job
Allow for automation of • Set Work order priorities
Utilization, Operation, and • Start and stop jobs
Quality transactions From • Recording production and
Application Server to the MES consumptions items
database • Set Utilization states of an entity
⮚ .net Controls allow for • Sign off and record operation
customized InTouch windows steps
that communicate to the MES
• Record job specification
middleware and database.
• Maintaining Inventory
• Tracking labor times
16
Standard Topology Overview
17
Standard Topology Overview
This system includes MES with System Platform. It uses the Standard Configuration.
The Application Server has the following connections:
• To the Controls Network, to communicate with the process equipment. This is typically done
via Operation Integration Servers (OIS). It is very common to have a separate OIS server.
• To the Plant Production Network, to access other MES servers.
The Database Server has the following connections:
• To the Corporate WAN, to provide access to the ERP system.
• To the Plant Production Network, to access other MES servers.
The Report Server and Web Portal Server also include multiple logical connections, as
office users need to connect to them and they need to connect to MES Servers.
18
MES Wonderware Installation
Operator Client
Web Protal
Report Server
MES Middleware/DB 1mainteance
Server
MES Databse MES Role-Based Installation
MES Service
MES Middleware
MES Middleware
Proxy
DataBase server with MES Limited version of intelligence
MES Client
none of the MES roles will install intelligence
MES Supervisor
select customize option to manually select the intelligence component
MES Data Editor
MES Middleware 3.Intelligence
Proxy
Configuration Client
Application Objects (OCO, SRO, a combination of MES features specific to a node's role in multi nodes system
UCO)
MES .Net more than one role can be selected for install on a node
Controls
MES Entity Model
Builder
2.provides
MES DLLs
MES Middleware
select role based groups and components for install on a node
Proxy
ArchestrA
customize the install by selecting specific components
Development
4.Roles available 1.setup tools
allows
21
Installation 2
• To install the License Server and Manager components or the
Intelligence Server, Intelligence Model Builder, and Intelligence Data
Adapters components as part of the MES installation, you have to
choose the Customize Installation option and then manually select
these components
• Intelligence and the MES Intelligence Reports component must be
installed on the same node as SQL Server Reporting Services (SSRS).
Otherwise, the Quality Characteristic Detail report SPC
Chart will not work
• When the installation is finished, you are prompted to configure
products and components that require configuration before they can be
used
• Activating the MES Product Licenses
Before configuring the MES components in the post-install Configurator, the
MES product licenses must be activated so that the MES middleware and
MES Service can be started
22
Activation des Licenses
• To activate the MES product licenses
• If the License Server has not already been configured, use the post-install Configurator tool to
configure it
• Use the License Manager to activate your MES product licenses
• Configuring the License Server Component
24
Configuring MES Components
25
Creating or Migrating MES Databases
26
Configuring MES Middleware Communication with MES Databases
• The DB/MW Communication component is used to create the database connection strings that the MES middleware service
uses to access MES databases
27
Resides on a single network computer (on any computer)
you cannot store parts of a galaxy db on several computers
GR,Galaxy Repository is the name of the single
Computer where the galaxy DB is located
Galaxy Database
is the set of unique object and attribute identifiers
The namespaces and the values of its identifiers define Platforms
a Wonderware Application server application
Engins
can be accessed by clients of the configuration system
Templates
Application Server namespace allows app server objects
and process data to be referenced by scripts and Instances
animation links from any computer in the Galaxy Attributes
Galaxy
Historian
• Historian Server est le logiciel le plus utilisé au monde pour l’historisation et le traitement des
données industrielles et de production
• Incluant Microsoft SQL Server, Historian se singularise des autres systèmes d’historisation temps
réel en fournissant un accès universel aux données, un moteur relationnel puissant et une intégration
étroite avec Microsoft Office
• Caractéristiques
⮚ Collecte automatique et manuelle des données
⮚ Compression des données archivées
⮚ Aucune dégradation des temps de réponse en exploitation
⮚ Moteur d'événements intégré
⮚ Restitution des données suivant différents modes pour une meilleure performance
⮚ Sous-systèmes de calculs intégrés (moyennes, sommes, min, max...)
⮚ Haute disponibilité sans contrainte informatique
⮚ Outils d'analyse prêts à l'emploi (Courbes, tableau...)
⮚ Outils d'analyse pour Excel et Word
• Domaines d’Applications
29
WondeWare Historian
• The Wonderware Historian is a high-performance real-time database for historical information. It combines the power and
flexibility of a relational database with the speed and compression of a true process historian, integrating the office with the
factory floor or any industrial operation
• Wonderware Historian is designed to collect a wide variety of plant data, at full resolution and very high data rates, ensuring
that decision-makers at all levels will have the historical information they need to drive vital productivity improvement
initiatives. Wonderware Historian offers unparalleled scalability and can be configured as a single data collection and
aggregation system, or as a part of a larger, tiered architecture offering the ability to implement sophisticated summary and
replication systems. Hundreds of times faster than standard database systems and with the ability to save data in a small
fraction of the space, Wonderware Historian also has built-in data retrieval modes which understand the questions you need
to ask of your process to enable detailed, focused information and reports to be rapidly obtained. With the added power and
versatility of Wonderware Historian Clients, accelerate your decision-making process and provide access to the right
information when a problem is identified, or an opportunity uncovered. Wonderware Historian is a core component of the
Wonderware System Platform
• Key Benefits
⮚ Designed for all industrial manufacturing and infrastructure operations
⮚ Generate actionable information for faster, more accurate decision-making
⮚ Unify information from multiple manufacturing and HMI/SCADA systems
⮚ Flexible architectures scalable for any sized application
⮚ Fully integrated with the award-winning Wonderware ArchestrA architecture and Wonderware System Platform30
Installing and Configuring WonderWare Historian
https://www.youtube.com/channel/UCL5FLDMS7WjqlqI0kvwgRVQ
31
Configuration Install patch
32
Configuration
• it’s a series of stored procedures and queries to create a database
inside of Ms Sql Server, the name of that database is going to be called
RunTime
33
Install a License for W H Server
the architecture for the system that goes along with the example quote
❏ the base application server only comes with 4 platforms so for our system to be licensed correctly we need to add two
❏ The application server license once you have provided the i/o count and platform count to Wonderware you'll receive the
license
❏ The application server license is always installed on the galaxy repository computer
❏ The application server license does not have to be installed on any other computer
37
Device Integration Licensing
➢ Also called data access servers or DAServers, they allow the Wonderware software to communicate to the PLC's and devices
➢ You can have multiple DAServers in your application if you're communicating to different vendors PLC's or devices
using different communications protocols
➢ You may also have two DAServers of the same type in the application to provide redundancy or failover capability
➢ Each computer where the DAServer is installed must have a device integration license, however one device integration license can enable
multiple DAServers on one computer so in your application you install the DAServer as part of the computer
➢ The device integration license can run on the AOS nodes
➢ Customers can choose to put the DAServer on a computer by itself
The AOS computer runs objects
➢ If you have a need for redundancy you will get a second device integration license
that represent pieces of
equipment or functions to be
performed
Historian Licensing
➢ On the wonderware application server you can enable any variable to be historize to the Wonderware historian
➢ the Wonderware historian configuration for the variable and the variable data is pushed from the wonderware application server to the
historian
➢ the Wonderware historian is licensed based on the variables configured in the historian when it recalls these variables tags
➢ when you enable a variable in the wonderware application server to historize it's data this adds one tag to the Wonderware historian
license count
➢ The wonderware historians stores data so that other computers can come in and access it
➢ The Wonderware historian client software product is one way to gain access to the data in the Wonderware historian
➢ Access to the data in the Wonderware historian is licensed by the people and devices that connect to access the data
➢ the license for the Wonderware historian goes on the actual computer that is running the software
38
Informaton Server Licensing
➢ The wonderware application server and historian have data in them that may be of interest to managers supervisors schedulers or
raw material vendors you would use the wonderware information server to make that data available through the web portal
➢ You may also have data in other systems or databases that you would like to make available through the web as well
➢ The Wonderware information server is licensed as a server, the license enables the website to be active and running
➢ Just like the Wonderware historian users and devices will consume information from the Wonderware information server web
portal
➢ The number of clients is licensed as part of the Wonderware information server client licenses
➢ when you purchase Wonderware system platform you are given a license for the Wonderware information server web portal
however the system platform license does not come with any Wonderware information server client licenses
➢ this license is always installed on the computer running the Wonderware information server
39
other software packages HMI inTouch
➢ this is the software that displays the graphics and screens to the users to allow them to interact with the system
➢ the Wonderware application server gets its data from the PLC's and devices in the plant, the computer running the HMI connects
to the Wonderware application server and displays the data
➢ the HMI can be configured to allow the user to provide supervisory control to the application by writing values back from the HMI
to the PLC's or devices
➢ the Wonderware inTouch for system platform software is licensed for every user that will run the HMI application
➢ As an application gets larger and larger you can add additional HMI computers to the system
➢ if you have people that are familiar with terminal services or remote desktop services you can add a Terminal Server computer to
the application this allows thin clients to connect to the terminal server and run the HMI application
➢ for redundancy and failover capability you can also add an additional Terminal
40
Wonderware Development Studio
➢ is usually purchased with the Wonderware system platform license
➢ is used to configure the application server, historian information server and the inTouch for system platform software
➢ all of the configurations are stored in the galaxy repository computer
➢ the wonderware development studio is recommended to be installed on a separate computer and it will access the
application server configuration on the galaxy repository over the network
41