Beruflich Dokumente
Kultur Dokumente
23942303
Note
Item-Number: 23942303
V 1.0
Issue 2006.12.04
2/63
Foreword
Automation by Means of SIMATIC Microbox 420-RTX
Item-Number: 23942303
Foreword
Objective of the application
The SIMATIC Windows Automation Center (WinAC) offers you an open,
versatile and robust basis to realize your automation solution on a PCbased basis.
Its full compatibility with SIMATIC S7 combined with interfaces to the open
PC world enables you to combine your classic automation tasks with the
options of the PC world. Using the SIMATIC Microbox 420-RTX offers a
powerful and very robust platform for your automation solution with WinAC.
Two further examples are planned which are marked with a question mark
in the following diagram.
Arrangement of the examples
The automation tasks described in the examples are related to typical tasks
occurring in automation technology:
23942303
Ten examples have been developed up to now for quick and easy
introduction in the PC-based automation with SIMATIC WinAC. These
examples include the sample code and detailed documentation. The
specific tasks discussed in these application examples will help you to
become familiar with the relevant subjects.
V 1.0
Control
Communication
Visualization
Technology
Issue 2006.12.04
3/63
Foreword
Automation by Means of SIMATIC Microbox 420-RTX
Item-Number: 23942303
V 1.0
23942303
Controlling
Visualizing
Technology
Communication
Automating with
WinAC RTX
Interaction of WinCC
and WinAC
Positioning with
WinAC RTX
S7 communication with
WinAC RTX
Installing the PC
platform
Positioning with
Easy Motion Control
S7 communication
with BSEND/BRCV
Process interface
for WinAC RTX
Connecting WinCC
to WinAC RTX
Connecting a
MICROMASTER 440
via Industrial
Ethernet
Configuration of
WinAC
Visualizing with
WinCC
Communication:
WinAC S7-300
Dynamic recipe
data control
Configuration of the
Vision Sensor
Data exchange to
the database via
OPC XML
ADO.NET database
interface
d
Automating with
SIMATIC Microbox 420RTX
Access to data in
data blocks of the
controller
Installing the
Microbox 420-RTX
h
Is planed
j
Is planned
Remote Control
DiagMonitor
Sending e-mails
via MAPI
Communication Vision
Sensor with ODK
Issue 2006.12.04
4/63
Foreword
Automation by Means of SIMATIC Microbox 420-RTX
Item-Number: 23942303
System
Microbox 420-RTX
SIMATIC
WinAC RTX
WinCC
CP 5611
Easy Motion
Control
ET200S
Compact
SIMATIC NET
Database
(e.g. MS Access)
d
23942303
WinAC ODK
WinAC ODK
WinAC ODK
VB.NET
visualization
C++
E-Mail
application
C++
Control
program
Ethernet interface
Vision Sensor
SIMATIC VS 723
Micromaster
with motor
SIMATIC S7-300
controller
V 1.0
Issue 2006.12.04
5/63
Table of Contents
Automation by Means of SIMATIC Microbox 420-RTX
Item-Number: 23942303
23942303
Table of Contents
1
Task.................................................................................................................. 7
2
2.1
2.2
2.3
2.4
3
3.1
3.2
3.3
4
4.1
4.2
4.3
4.4
4.5
4.6
5
5.1
5.2
5.3
5.4
5.5
Remote Control............................................................................................. 39
Remote Desktop ............................................................................................. 40
Using Remote Desktop for remote control...................................................... 40
Virtual Network Computing (VNC) .................................................................. 43
Using VNC for remote control ......................................................................... 46
Remote Desktop vs. VNC............................................................................... 49
6
6.1
6.2
6.3
6.4
DiagMonitor................................................................................................... 50
Installing DiagMonitor ..................................................................................... 50
Configuring WinAC for data transmission ....................................................... 50
Configuring DiagMonitor for data transmission............................................... 51
Simulating an alarm in DiagMonitor................................................................ 55
V 1.0
Issue 2006.12.04
6/63
Task
Automation by Means of SIMATIC Microbox 420-RTX
Item-Number: 23942303
Task
Remote Control
23942303
Remote Desktop
DiagMonitor
Periphery
ET 200S
IM151-1
CP 5611
I/Os
Programcycle OB 1
PROFIBUS DP (PB)
V 1.0
Issue 2006.12.04
7/63
Item-Number: 23942303
2.1
Periphery
ET 200S, IM151-1
16 DI / 16 DO
23942303
PG/PC
STEP 7
2.2
Industrial Ethernet
PROFIBUS
Required components
The hardware and software components for the different stations are listed
in the following tables.
Hardware components
The components listed below can be ordered directly in the Siemens A&D
Mall at https://mall.automation.siemens.com.
V 1.0
Issue 2006.12.04
8/63
Item-Number: 23942303
No.
Note
6ES7675-1BB30-0PA0
6ES7307-1BA00-0AA0
USB keyboard
Standard PC
keyboard
USB mouse
Standard PC
mouse
Monitor
Only required if
your monitor is not
equipped with a
DVI interface
23942303
Component
Component
No.
6ES7 151-1CA00-3BL0
6ES7 390-1AE80-0AA0
Note
Component
V 1.0
No.
Programming device
Field PG with Pentium 4
6ES7711-2EA21-3LB4
6XV1850-2HE50
MPI cable
6ES7901-0BF00-0AA0
Issue 2006.12.04
Note
Configuration
Editor: See FAQ ID
17128155
9/63
Item-Number: 23942303
No.
Note
Windows XP Embedded
Service Pack 2
Pre-installed and
licensed
Pre-installed and
licensed
Optional;
can be ordered
free of charge at
A&D Service &
Support
Optional;
available for
download on the
Internet
at RealVNC Ltd.
DiagMonitor 3.0
6ES7648-6CA03-0YX0
Component
Table 2-5
Component
No.
STEP 7 V5.4
Note
6ES7 810-4CC07-0YA5
Optional;
available for
download on the
Internet
at RealVNC Ltd.
Example project
This application consists of the components listed in the following table.
These components are part of the present application example (available
for download on the Internet).
For further information on the commissioning of hardware and software,
refer to chapter 5 "Setting up the Microbox 420-RTX.
Table 2-6
Component
V 1.0
23942303_WinAC_SE_CODE_v10.zip
Note
This ZIP file contains:
A complete STEP 7 project for
controlling a virtual mixing process
23942303_WinAC_SE_DOKU_v10_e.pdf
This document
Issue 2006.12.04
10/63
2.3
Item-Number: 23942303
Performance data
For performance data on WinAC RTX, please refer to the application
Automation with WinAC RTX or to the manual. Both entries can be
downloaded from the A&D Service and Support portal on the Internet.
2.4
Customer benefit
23942303
regarding EMC
Easy mounting (mounted onto the wall or onto a top hat rail)
V 1.0
Programming errors
Memory errors
Module failure
Channel errors
Programming and configuration with SIMATIC STEP 7 Existing knowhow as well as all S7 programming languages can be used.
Issue 2006.12.04
11/63
Item-Number: 23942303
3.1
Available version
Processor
3 different processors:
Intel Celeron 400 MHz
Intel Celeron 650 MHz
Intel Pentium III 933 MHz
Main memory
Drives
40 GB hard disk or
256 MB up to 1 GB compact flash
Operating system
Windows XP Professional or
Windows XP Embedded SP2
pre-installed
RMOS3 V3.30
Other operating systems are possible.
Software
Temperature range
0 to + 45 / + 50 C (when using
compact flash memory cards;
depending on installation position)
Expandability
Interfaces
4 x USB
1 x RS 232 (serial)
DVI-I (DVI digital or VGA
analog)
2 x 10/100 Mbit Ethernet
1 x PROFIBUS DP 12 MHz
(optional)
Profibus DP
Other field buses upon request
Power supply
24 V DC voltage
Graphics
23942303
Characteristics
V 1.0
Issue 2006.12.04
12/63
Buffer memory
Note
3.2
Item-Number: 23942303
Outstanding features
23942303
High ruggedness
Data retentivity
Compact design
Free of maintenance
Latest technology
Real-time capability
Ruggedness
The device is highly EMC-proof due to an all-metal housing and a potentialisolated power supply.
Furthermore, the thermal load of the Microbox 420-RTX is reduced by
means of a large heat dissipator and low supply voltage of the
semiconductor components.
The mechanically stable structure and missing of mechanically moved parts
(when using a compact flash memory card) ensure resistance of the
Microbox 420-RTX against shocks and vibrations.
Data retentivity: Basics
Data retentivity means that the current values of variables in the controller
(e.g. process values) are maintained even after a voltage drop during a
warm start. Examples for retentive variables:
Flag
Counter
Times
Data blocks
V 1.0
Issue 2006.12.04
13/63
Item-Number: 23942303
If you decided to store the data in the file system, the retentive data are
stored in a file at the RUN STOP transition. At the STOP RUN transition
with warm start, the retentive data are restored from this file.
In case of a power failure, the data are not stored. If nevertheless data
retentivity is required, an uninterruptible power supply (UPS) has to be
interconnected.
Advantages:
23942303
Quantity frameworks for retentive data are only limited by the size of
the hard disk / compact flash memory card
Disadvantages:
No UPS required
Disadvantages:
V 1.0
Issue 2006.12.04
14/63
Item-Number: 23942303
Maintenance-free
If a hard disk can be renounced, no movable parts requiring maintenance
are contained in the Microbox 420-RTX. Only the battery has to be
replaced.
Latest technology
Retentive data can be stored in an integrated buffered SRAM. This can be
made either cyclically or after detecting the mains failure signal. If retentive
data are to be stored, a buffer battery is required.
Using the DVI-I interface makes sure that you can connect even future
generations of displays without any problems.
Real-time capability: Definition
V 1.0
Issue 2006.12.04
15/63
3.3
Item-Number: 23942303
In this application example, the EWF is only described in its RAM (Reg)
mode. For further information on the EWF, refer to the following entry ID:
20012701 and to Microsoft Support.
Note
23942303
V 1.0
Issue 2006.12.04
16/63
Note
Item-Number: 23942303
In delivery state, the compact flash memory card of the Microbox 420-RTX
is divided into two partitions: A system partition "C:\" and an extended
partition "D:\". Activate the EWF for the "C:\" partition while using the "D:\"
partition for permanent storage of data.
If you want to activate the EWF also for partition "D:\", observe the
activation order. First activate the EWF for partition "D:\" and then for
partition "C:\". For deactivation, proceed in the reverse order.
The reason for this is that the EWF settings are stored in the registry. If
the registry is located on partition "C:\", the EWF must be deactivated for
partition "C:\" first.
Function
V 1.0
Command
ewfmgr c: -commitanddisable
ewfmgr c: -enable
ewfmgr c:
Display help
ewfmgr -help
Issue 2006.12.04
17/63
Note
Item-Number: 23942303
The "ewfmgr c: -disable" command does not work for the EWF in RAM
(Reg) mode. Please use the "ewfmgr c: -commitanddisable" command to
disable the EWF.
23942303
Step
Procedure
Command
1.
START Run...
Enter "cmd" and click "OK" to
confirm.
2.
ewfmgr c: -commitanddisable
3.
4.
User-specific
5.
ewfmgr c: -enable
6.
Now, the installed software or files are permanently stored on drive C:.
Further information on the EWF
For further information, refer to chapter 9.2 of the manual.
Link: http://support.automation.siemens.com/WW/view/en/22044587
Regarding the EWF, an FAQ with the number 20012701 exists.
Link: http://support.automation.siemens.com/WW/view/en/20012701
V 1.0
Issue 2006.12.04
18/63
Item-Number: 23942303
4.1
Requirements
23942303
V 1.0
Issue 2006.12.04
19/63
4.2
Item-Number: 23942303
Preparatory configuration
General information
The SIMATIC Microbox 420-RTX used in this application has been preinstalled in the factory and is ready to be put into operation. The following
software is already installed in the 1GB compact flash memory card of the
Microbox 420-RTX.
SIMATIC SOFTNET PG
23942303
Note
Software installation
Required software is installed by the user. There are the following options
for installation:
V 1.0
Issue 2006.12.04
20/63
Item-Number: 23942303
In the following, you will learn how to connect the Microbox 420-RTX to
another computer by means of a crossed Ethernet cable and how to use
the shared resources of both computers. Adapt the IP address of both
computers for this connection.
In the delivery state, the Ethernet interfaces of the Microbox 420-RTX are
configured as follows:
Ethernet 1
IP address: 192.168.1.1
Ethernet 2
IP address: 192.168.1.2
V 1.0
No.
Instructions
On your PG, open the "Properties" dialog of the LAN connection used by
you via:
"Start Settings Network and dialup connections" (under Windows XP:
"Network connections"). Right-click the LAN connection to call the context
menu and select the menu option "Properties".
Issue 2006.12.04
21/63
23942303
No.
Item-Number: 23942303
No.
V 1.0
Instructions
Right-click the CD-ROM drive and select the "Sharing" menu item.
Issue 2006.12.04
22/63
23942303
No.
V 1.0
Item-Number: 23942303
Instructions
Issue 2006.12.04
23/63
Item-Number: 23942303
No.
Instructions
Enable this directory. For this, proceed as described above for enabling a
CD-ROM drive. Nevertheless, choose "Transfer" as share name.
Table 4-4
No.
7.
Instructions
Search for the computer the shared resources of which you want to use.
23942303
V 1.0
Issue 2006.12.04
24/63
23942303
No.
V 1.0
Item-Number: 23942303
Instructions
8.
9.
Issue 2006.12.04
25/63
Instructions
Enter the IP address of the computer and click "Search".
If the name of the computer is unique in the network, you can also enter
the name of the computer.
11.
After a while, you can see the computer in the result list.
23942303
10.
Item-Number: 23942303
V 1.0
Issue 2006.12.04
26/63
Instructions
Double-click to open the computer. Now, you can see its shared
resources. You might be prompted to enter the user name and
password. In this case, enter the data of the user (possibly with domain,
e.g. "myDomain\me") who may share the resources.
12.
Item-Number: 23942303
No.
V 1.0
Instructions
1.
Insert the WinAC authorization disk into the drive of your PG.
Start the Automation License Manager on the PG via
"START SIMATIC License Management Automation License
Manager" and transfer the license to drive C: of your PG.
2.
Issue 2006.12.04
27/63
23942303
No.
Note
V 1.0
Item-Number: 23942303
Instructions
3.
4.
5.
6.
Alternatively, you can transfer the license keys to the Microbox 420-RTX
by means of USB memory sticks.
Issue 2006.12.04
28/63
4.3
Item-Number: 23942303
Instructions
1.
Start the Station Configuration Editor of the Microbox 420-RTX via "START
Station Configuration Editor".
2.
3.
23942303
No.
V 1.0
Issue 2006.12.04
29/63
23942303
No.
Item-Number: 23942303
Instructions
4.
5.
6.
7.
Start WinLC RTX on the Microbox 420-RTX via the "Start SIMATIC
PC Based Control WinLC RTX menu command.
Alternatively, you can double-click the following desktop icon:
If you are working with an older STEP 7 version, the hardware catalog
must be updated. WinAC V 4.2 must be contained.
For updating, select the "Tools Update Catalog menu item in "HW
Config".
V 1.0
Issue 2006.12.04
30/63
Item-Number: 23942303
Table 4-7
23942303
No.
V 1.0
Instructions
In the previously extracted "S7Proj folder of this application, you will find
the 23942303_WinAC_SE_CODE_v10.zip file. This is the archived STEP
7 project.
Open STEP 7 and retrieve this archive via "File Retrieve". Open the
project.
Load the project from STEP 7 into the WinAC on the Microbox 420-RTX.
Issue 2006.12.04
31/63
4.4
Item-Number: 23942303
Note
23942303
The startup characteristics (e.g. warm start, cold start) of WinAC RTX
which are defined in the hardware configuration of the STEP 7 project
Here, the same settings have to be made as for other SIMATIC S7
CPUs.
No.
Instructions
1.
2.
3.
V 1.0
Issue 2006.12.04
32/63
Item-Number: 23942303
If you cannot find the "Register Controller for Start at PC Boot" menu
element in the "CPU" menu (not even as grayed menu element), the
controller is already registered for starting at PC boot. In this case, the
"Unregister Controller for Start at PC Boot" menu element is available (if
the controller is started, it is grayed). In the delivery state of the Microbox
420-RTX, the WinAC RTX controller is already registered for starting at
PC boot.
Note
This means:
No.
V 1.0
Instructions
1.
Open the "Options" dialog by means of the WinAC RTX menu command
"CPU Tools Options.
2.
3.
Issue 2006.12.04
33/63
Note
Item-Number: 23942303
23942303
Note
V 1.0
Issue 2006.12.04
34/63
4.5
Item-Number: 23942303
Meaning
WinAC is started
WinAC is in "STOP" mode
23942303
Icon
Button
Function
Setting the RUN mode
Setting the STOP mode
A memory reset of the controller is performed.
No.
1
V 1.0
Instructions
Open the WinLC RTX control panel by double-clicking
.
Select CPU Shut down Controller in the menu.
Issue 2006.12.04
35/63
4.6
Item-Number: 23942303
23942303
In the delivery state, it is pre-configured that the data are stored in the data
carrier. Modify the retentivity settings by means of the WinAC Data Storage
Tool. To do this, follow the instructions below.
V 1.0
Issue 2006.12.04
36/63
Item-Number: 23942303
Table 4-13
No.
23942303
1.
Instructions
2.
V 1.0
Issue 2006.12.04
37/63
Instructions
Make your settings in the window being displayed.
Note: The two storage modes are explained above (see Chap. 3.2)
Click "OK".
23942303
3.
Item-Number: 23942303
4.
Note
V 1.0
Issue 2006.12.04
38/63
Remote Control
Automation by Means of SIMATIC Microbox 420-RTX
Item-Number: 23942303
Remote Control
This chapter presents the remote control technology of a remote computer
via a TCP/IP connection. Moreover, Remote Desktop by Microsoft and
Virtual Network Computing (VNC) by RealVNC are described briefly and
advantages as well as disadvantages are presented.
Local computer
(e.g. PG/PC)
23942303
Remote computer
(e.g. Microbox 420-RTX)
TCP/IP connection
(e.g. Industrial Ethernet)
The screen contents of the remote computer are shown on the screen
of the local computer.
Inputs of keyboard and mouse of the local computer are sent to the
remote computer.
V 1.0
Remote Desktop
by Microsoft Corporation
integrated in Windows XP
VNC
by RealVNC Ltd.
Issue 2006.12.04
39/63
Remote Control
Automation by Means of SIMATIC Microbox 420-RTX
Item-Number: 23942303
5.1
Remote Desktop
23942303
Figure 5-2
5.2
Note
V 1.0
Issue 2006.12.04
40/63
Remote Control
Automation by Means of SIMATIC Microbox 420-RTX
Item-Number: 23942303
Table 5-1
23942303
No.
V 1.0
Instructions
1.
Open the user administration via "START -> Run" and enter
"compmgmt.msc". The Computer Management opens.
Alternatively, you can open the Computer Management by means of the
menu control via "Start -> Settings -> Control Panel -> Administrative
Tools -> Computer Management.
2.
3.
4.
Issue 2006.12.04
41/63
Remote Control
Automation by Means of SIMATIC Microbox 420-RTX
No.
Instructions
Make sure that a Remote Desktop
connection is enabled on the
Microbox 420-RTX. To do this,
open the control panel (icon:
"System") from the Control Panel
and in the "System Properties"
dialog select the "Remote" tab.
Make sure a checkmark is set for
Remote Desktop ("Allow users to
connect remotely to this
computer").
Thus, all necessary settings have been made on your Microbox 420-RTX.
Establishing the Remote Desktop connection from the PG
From your PG, you can connect to the Microbox 420-RTX via Remote
Desktop as follows:
23942303
5.
Item-Number: 23942303
Table 5-2
No.
V 1.0
Instructions
1.
2.
3.
Issue 2006.12.04
42/63
Remote Control
Automation by Means of SIMATIC Microbox 420-RTX
No.
Item-Number: 23942303
Instructions
4.
The screen contents of your Microbox 420-RTX are displayed. There, the
Windows user interface appears just as it would look like if a monitor was
connected to the Microbox 420-RTX. You can control the Microbox 420RTX from the PG.
5.
To exit Remote Desktop, close the Remote Desktop window on the PG.
23942303
Note
5.3
The remote computer can be shut down via Remote Desktop using the
"shutdown [options]" command.
Encrypted connection
Windows authentication
Keyboard entries on the local computer and particularly control keys
behave differently depending on whether the Remote Desktop window is
maximized or minimized.
What is VNC?
VNC is a software tool by means of which remote computers can be
controlled. For this, the screen contents of a remote computer are
displayed on the local computer and entries are transmitted to the remote
computer.
Note
V 1.0
Issue 2006.12.04
43/63
Remote Control
Automation by Means of SIMATIC Microbox 420-RTX
Item-Number: 23942303
VNC components
VNC consists of two components: VNC Server and VNC Viewer. The VNC
Server is installed and executed on the remote computer. Only then, the
VNC Viewer which is installed on the local computer can establish a remote
connection to the VNC Server.
23942303
Characteristics of VNC
V 1.0
VNC Server and VNC Viewer are available for different operating
systems.
Issue 2006.12.04
44/63
Remote Control
Automation by Means of SIMATIC Microbox 420-RTX
Item-Number: 23942303
Instructions
1.
Start the "Options" window of the VNC Server by right-clicking the icon in
the system bar and by selecting the "Options" menu item.
2.
23942303
No.
Activate the "Disable local inputs while server is in use checkbox. Click
"Apply" and then "OK".
V 1.0
Issue 2006.12.04
45/63
Remote Control
Automation by Means of SIMATIC Microbox 420-RTX
5.4
Item-Number: 23942303
Note
23942303
The VNC Server has to be installed on the remote computer. For this,
execute the installation file by double-clicking it. The installation is selfexplanatory and will not be described in detail. In the course of the
installation routine, cancel the installation of VNC Viewer. The default
settings can be applied without any modification. At the end of the
installation, you are prompted to assign a password to the remote
connection. By means of this password, a VNC Viewer can establish a
connection to the VNC Server.
During uninstalling both the VNC Server and the VNC Viewer are deleted
if both have been installed. VNC Server and VNC Viewer cannot be
uninstalled separately.
V 1.0
Issue 2006.12.04
46/63
Remote Control
Automation by Means of SIMATIC Microbox 420-RTX
Item-Number: 23942303
Instructions
1.
Start the VNC Viewer by double-clicking the icon on the desktop of the
local computer.
2.
In the dialog, enter the IP address of the remote computer and click
"OK".
3.
Enter the password for the connection to the VNC Server and click "OK".
4.
Now, you can see the screen contents of the remote computer.
23942303
No.
V 1.0
Issue 2006.12.04
47/63
Remote Control
Automation by Means of SIMATIC Microbox 420-RTX
Item-Number: 23942303
Note
In the settings of the VNC Viewer, you can modify the key assignment for
the context menu (standard "F8" key).
Note
23942303
V 1.0
Issue 2006.12.04
48/63
Remote Control
Automation by Means of SIMATIC Microbox 420-RTX
5.5
Item-Number: 23942303
Tool
VNC Free Edition
Advantages
23942303
Remote Desktop
Disadvantages
V 1.0
Issue 2006.12.04
49/63
DiagMonitor
Automation by Means of SIMATIC Microbox 420-RTX
Item-Number: 23942303
DiagMonitor
This chapter presents the "DiagMonitor" software, version 3.0. It describes
the installation of the program as well as the configuration necessary to set
up communication between DiagMonitor and WinAC RTX via OPC server.
What is DiagMonitor?
DiagMonitor is intended for monitoring the status of a SIMATIC PC (e.g. fan
speed). In this application example, DiagMonitor (version 3.0) is used for
monitoring the Microbox 420-RTX in order to allow the controller (WinAC
station) to respond to system states such as alarms.
6.1
Installing DiagMonitor
23942303
Installing DiagMonitor
Uninstalling DiagMonitor
Uninstalling DiagMonitor is done according to the Windows standard.
6.2
V 1.0
Issue 2006.12.04
50/63
DiagMonitor
Automation by Means of SIMATIC Microbox 420-RTX
Item-Number: 23942303
6.3
Configuring DiagMonitor
Perform the following actions:
23942303
V 1.0
Issue 2006.12.04
51/63
DiagMonitor
Automation by Means of SIMATIC Microbox 420-RTX
Item-Number: 23942303
Table 6-1
Instructions
1.
2.
In the next window, select the "OPC" tab. Subsequently, activate the
checkboxes "Enable" and "local host". Click "Apply" and then "OK".
23942303
No.
V 1.0
Issue 2006.12.04
52/63
DiagMonitor
Automation by Means of SIMATIC Microbox 420-RTX
Instructions
3.
4.
In the next window, you can search for a station or enter the station
name if the "Local station" checkbox is disabled.
23942303
No.
Item-Number: 23942303
V 1.0
Issue 2006.12.04
53/63
DiagMonitor
Automation by Means of SIMATIC Microbox 420-RTX
No.
5.
Item-Number: 23942303
Instructions
Now, the station appears in DiagMonitor.
23942303
Right-click the station. In the context menu that opens, select the
"OPC" menu element.
V 1.0
Issue 2006.12.04
54/63
DiagMonitor
Automation by Means of SIMATIC Microbox 420-RTX
No.
6.
Item-Number: 23942303
Instructions
In the next window, enter the name (e.g. "DB111") of the data block for
data of DiagMonitor. Also enter the type (e.g. "S7") and the local ID (e.g.
"OPC_1") of the connection between the controller and the OPC server.
Note
23942303
After clicking "OK", the data are written into the block (e.g. "DB111") at
an interval (default: 10 sec.).
6.4
V 1.0
Issue 2006.12.04
55/63
DiagMonitor
Automation by Means of SIMATIC Microbox 420-RTX
Item-Number: 23942303
Table 6-2
23942303
No.
V 1.0
Instructions
1.
2.
In the next window, enter the value "1" in the "New Alert in:" field. In the
"Title:" field, enter "alarm" and click "Add". A new entry appears in the
"Revision List" field. Click "OK".
Issue 2006.12.04
56/63
DiagMonitor
Automation by Means of SIMATIC Microbox 420-RTX
No.
Instructions
After the defined time has expired, the station is marked with a red
exclamation mark in DiagMonitor and the system status is written into the
data block. The controller calls this value and will suspend the start of a
new mixing process in this case. Acknowledge the alarm by right-clicking
the concerned station and by selecting the "Acknowledge alert" option in
the context menu.
23942303
3.
Item-Number: 23942303
V 1.0
Issue 2006.12.04
57/63
Item-Number: 23942303
Introduction
This chapter explains the S7 program of the example project. You are
provided with detailed information on the functionality of the program, the
assignment of inputs and outputs on the distributed I/O as well as the
operation of the program.
This chapter does not include an extensive program description. This
application does not focus on the S7 program; it focuses on the
configuration of WinAC RTX as well as on the process interface via
distributed I/O.
Note
The S7 program from the example project is used to control a virtual mixing
and bottling plant. This plant consists of:
23942303
The user has the possibility of influencing the mixing process by selecting
different recipe data records.
Input and output assignment
The S7 program is operated via digital inputs. Connect an "ET 200S
Compact" I/O to the Microbox 420-RTX by means of a PROFIBUS cable.
Ensure power supply for the I/O and the potential groups. For further
information, refer to the "Distributed I/O System ET 200S Operating
Manual" manual under the following entry ID: 1144348
Connect one switch each to the inputs E 0.0, E 0.1, E 0.2 of the "ET 200S
Compact" I/O. The actual process is controlled via digital outputs. The
assignment of inputs and outputs is listed in the following table.
Table 7-1
Channel
V 1.0
LED
no.
Symbol
"IN_Start_Process
Function
E 0.0
E 0.1
E 0.2
6
9
A 0.0
45
"Out_InValve1
A 0.1
46
"Out_InValve2
Selection of recipe:
00: Keep current recipe
10: Select recipe 1
01: Select recipe 2
11: Select recipe 3
Issue 2006.12.04
58/63
23942303
Channel
LED
no.
Item-Number: 23942303
Symbol
Function
A 0.2
49
Out_OutValve
A 0.3
50
Out_Heater
Turn on heater
A 0.4
53
Out_Cooler
Turn on cooler
A 0.5
54
Out_Mixer
Turn on mixer
A 0.6
57
Out_DiagMonitor
A 0.7
58
Out_Cycle
A 1.0
65
Out_Fillstate_25
A 1.1
66
Out_Tempstate_25
A 1.2
69
Out_Fillstate_50
A 1.3
70
Out_Tempstate_50
A 1.4
73
Out_Fillstate_75
A 1.5
74
Out_Tempstate_75
A 1.6
77
Out_Fillstate_100
A 1.7
78
Out_Tempstate_100
V 1.0
No.
Instructions
Issue 2006.12.04
59/63
23942303
No.
Item-Number: 23942303
V 1.0
Issue 2006.12.04
60/63
Item-Number: 23942303
Attention
23942303
This chapter describes how to restore the delivery state of the Microbox
420-RTX by means of a restore CD. For further information, refer to the
following entry ID: 22329624
Restore CD
The Restore CD is available via Technical Support. The restore CD is
bootable. Also read the "readme.txt" file on the restore CD.
!
Attention
V 1.0
If you use the Microbox 420-RTX with a hard disk and a Flash Card,
the system is restored on the drive from where the system has been
started last.
No.
Instructions
Connect an external USB CD/DVD drive to a free USB port of the Microbox
420-RTX. Please ensure power supply of the external drive.
Switch on the Microbox 420-RTX. Press the "ESC" key only once during
BIOS initialization. A boot-up menu is displayed.
Issue 2006.12.04
61/63
Note
Item-Number: 23942303
No.
Instructions
Insert the CD into the drive. Select the CD drive by means of the arrow keys
of the boot-up menu and press the "Return" key. The Microbox 420-RTX is
started from the restore CD. Follow the instructions of the restore program.
If you cancel the restore routine, you will go to the DOS environment. To
restart the restore routine, press the key combination "Ctrl" + "ALT" +
"Del". The Microbox 420-RTX is restarted and the restore routine can be
started again.
23942303
V 1.0
Issue 2006.12.04
62/63
Bibliographic References
Automation by Means of SIMATIC Microbox 420-RTX
Item-Number: 23942303
Bibliographic References
If you have installed the corresponding product, you can find most manuals
under:
Start Simatic Documentation [Language]
For product support, refer to the Internet at:
http://support.automation.siemens.com
23942303
There you will find manuals, FAQs and a series of further application
examples regarding this subject.
V 1.0
Issue 2006.12.04
63/63