Catalog ST PCS 7.1 - September 2005
Catalog ST PCS 7.1 - September 2005
Catalog ST PCS 7.1 - September 2005
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
3<br />
Advanced Process Control<br />
MATLAB/SIMULINK-DDE client:<br />
Online coupling for APC<br />
■ Overview<br />
Controller<br />
structure<br />
MATLAB/SIMULINK is a universal mathematical software tool<br />
with a host of functions for control engineering, information processing,<br />
model creation, optimization and data analysis. It is the<br />
most widely used software tool for the development of high quality<br />
advanced process control (APC) algorithms.<br />
The MATLAB/SIMULINK-DDE client can be used for implementing<br />
the APC algorithms, which are tested in an offline simulation,<br />
in the real-time operation on the process. The client permits realtime<br />
linking of MATLAB/SIMULINK to any DDE server and thus a<br />
"rapid prototyping" of automation functions with the entire stock<br />
of MATLAB libraries. As the algorithm developed in MATLAB<br />
does not have to be implemented again, the potential errors of a<br />
re-implementation and the associated engineering time and<br />
costs can be saved in advanced process control projects.<br />
■ ■ More information<br />
Application<br />
Siemens AG<br />
Via a DDE channel, MATLAB/SIMULINK can gain read and write<br />
Industrial Solutions & Services<br />
access to all variables declared in the operator system of the<br />
SIMATIC <strong>PCS</strong> 7 process control system (DDE server). MATLAB/ Phone: +49 91 31 7-461 11<br />
SIMULINK and the MATLAB/SIMULINK-DDE client can be in- Fax: +49 91 31 7-447 57<br />
stalled either on an operator station or an additional PC. Communication<br />
is initialized and controlled by the DDE client.<br />
E-mail: it4industry@siemens.com<br />
Typical procedures in developing Advanced Process Control solutions:<br />
Additional information is available in the Internet under:<br />
• Offline analysis of the problem to be solved, also including the<br />
analysis of measured process data in MATLAB/ SIMULINK<br />
• Offline synthesis of possible solutions with MATLAB/<br />
SIMULINK<br />
• Offline test by simulation of the solutions with MATLAB/<br />
SIMULINK<br />
http://www.siemens.com/matlab<br />
• Configuration of the link on the SIMATIC <strong>PCS</strong> 7 process<br />
control system, parameterization of the DDE server<br />
• Configuration of possible back-up functions in the process<br />
control system<br />
• Connection of MATLAB/SIMULINK to the process control system<br />
• Test and optimization of the solution on the process<br />
• If required, transfer of tried and tested functions into function<br />
blocks that can be integrated into the process control system<br />
3/6<br />
adde.m<br />
edde.m<br />
Trigger<br />
MATLAB/SIMULINK<br />
PC<br />
DDE<br />
OS<br />
Siemens <strong>ST</strong> <strong>PCS</strong> <strong>7.1</strong> · <strong>September</strong> <strong>2005</strong><br />
Control<br />
system<br />
structure<br />
-1<br />
<strong>PCS</strong> 7<br />
Real<br />
process<br />
■ Function<br />
The MATLAB/SIMULINK-DDE client comprises three blocks:<br />
• Trigger block<br />
The trigger block enables the user to specify the DDE communication<br />
partner, the data format and the sampling time. It synchronizes<br />
and monitors the communication and issues warnings<br />
if the DDE channel is defective or interrupted.<br />
• Input and output block (Edde/Adde)<br />
The "Adde" block writes data from MATLAB to the DDE server.<br />
Each block can manage up to four variables, and several<br />
blocks are possible. The "Edde" block reads variables into<br />
MATLAB and converts them into the corresponding format.<br />
• MATLAB/SIMULINK-DDE client<br />
- Link to any SIMATIC systems by means of a <strong>PCS</strong> 7 Operator<br />
Station and the associated DDE server, or directly via the<br />
SIMATIC NET OLE/DDE Manager<br />
- Network link to SIMATIC <strong>PCS</strong> 7 by means of an @aGlance<br />
server "@<strong>PCS</strong>7", TCP/IP and the standard @aGlance DDE<br />
bridge<br />
- Link to older control systems, e.g. TELEPERM M via<br />
WinTM/Server<br />
- Link to any DDE server<br />
■ Selection and Ordering Data Order No.<br />
MATLAB/SIMULINK-DDE client<br />
for SIMATIC <strong>PCS</strong> 7 V5.x, V6.0 and<br />
V6.1<br />
2XV9 450-1WC12-0LA0 C)<br />
C) Subject to export regulations AL: N, ECCN: EAR99S