Post on 13-Apr-2018
Micro Application Examples.
Wireless Data Communication based on GPRS
Micro Automation Set 21
Note
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 2/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
Note The Micro Automation Sets are not binding and do not claim to be complete regarding the circuits shown, equipping and any eventuality. The Micro Automation Sets do not represent customer-specific solutions. They are only intended to pro-vide support for typical applications. You are responsible in ensuring that the de-scribed products are correctly used. These Micro Automation Sets do not relieve you of the responsibility in safely and professionally using, installing, operating and servicing equipment. When using these Micro Automation Sets, you recognize that Siemens cannot be made liable for any damage/claims beyond the liability clause described. We reserve the right to make changes to these Micro Automation Sets at any time without prior notice. If there are any deviations between the recommendations provided in these Micro Automation Sets and other Siemens publications - e.g. Catalogs - then the contents of the other documents have priority.
Warranty, liability and support We do not accept any liability for the information contained in this document.
Any claims against us - based on whatever legal reason - resulting from the use of the examples, information, programs, engineering and performance data etc., described in this Micro Automation Sets shall be excluded. Such an exclusion shall not apply in the case of mandatory liability, e.g. under the German Product Liability Act (“Produkthaftungsgesetz”), in case of intent, gross negligence, or injury of life, body or health, guarantee for the quality of a product, fraudulent concealment of a deficiency or breach of a condition which goes to the root of the contract (“wesentliche Vertragspflichten”). However, claims arising from a breach of a condition which goes to the root of the contract shall be limited to the foreseeable damage which is intrinsic to the contract, unless caused by intent or gross negligence or based on mandatory liability for injury of life, body or health The above provisions does not imply a change in the burden of proof to your detriment.
Copyright© 2006 Siemens A&D. It is not permissible to transfer or copy these Micro Automation Sets or excerpts of them without first having prior authorization from Siemens A&D in writing.
Foreword
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 3/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
Foreword Micro Automation Sets are fully functional and tested automation configurations based on A&D standard products for easy, fast and inexpensive implementation of automation tasks in small-scale automation. Each of these Micro Automatic Sets covers a frequently occurring subtask of a typical customer problem in the low-end range.
The sets help you to obtain answers with regard to required products and the question how they function when combined.
However, depending on the system requirements, a variety of other components (e.g. other CPUs, power supplies, etc.) can be used to implement the functionality on which this set is based. Please refer to the respective SIEMENS A&D catalogs for these components.
The Micro Automation Sets are also available by clicking the following link:
http://www.siemens.com/microset
Foreword
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 4/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
Table of Contents
Table of Contents ......................................................................................................... 4
1 Application Areas and Usage ................................................................... 6
2 Setup ......................................................................................................... 11
2.1 General setup................................................................................................ 11
2.2 Layout diagram for Central Station............................................................. 12
2.3 Layout diagram of a Remote Station .......................................................... 13
3 Hardware and Software Components .................................................... 14
3.1 Central Station .............................................................................................. 14
3.2 Remote Station ............................................................................................. 15
4 Function principle .................................................................................... 17
4.1 SINAUT MICRO SC Server ........................................................................... 17
4.2 GPRS Modem SINAUT MD720-3.................................................................. 21
4.3 S7 Block Library ........................................................................................... 22
4.4 Communication between Remote Stations................................................ 25
4.5 Management of the send jobs ..................................................................... 33
4.6 Buffering of process data with real time stamp......................................... 36
4.7 Archiving the process data in the Central Station..................................... 36
4.8 Sending SMS text messages ....................................................................... 38
4.9 Dyn-DNS Service .......................................................................................... 39
4.10 TeleService.................................................................................................... 40
5 Configuring the Startup Software........................................................... 41
5.1 Preliminary Remarks .................................................................................... 41
5.2 Downloading the Startup Code ................................................................... 41
5.3 Configuring Components ............................................................................ 41 5.3.1 SINAUT MICRO SC Server ............................................................................ 42 5.3.2 WinCC Flexible ............................................................................................... 42 5.3.3 Remote Station ............................................................................................... 43
6 Live Demo................................................................................................. 47
6.1 User interface................................................................................................ 47
6.2 Scenario of Remote Station “Stormwater Overflow” ................................ 51
Foreword
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 5/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
6.3 Scenario of Remote Station “Inspection Shaft” ........................................ 54
7 Performance Data of the Application ..................................................... 61
7.1 Estimating the communication costs ......................................................... 61 7.1.1 Connection costs of the Remote Station ........................................................ 61 7.1.2 Example of the connection costs of the Remote Stations .............................. 62 7.1.3 Connection costs of the Central Station ......................................................... 65
7.2 Information on connection quality.............................................................. 66
8 Technical Data.......................................................................................... 68
Application Areas and Usage
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 6/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
1 Application Areas and Usage
Application example To provide good comprehensibility, the features of the Micro Automation Set are explained using an application example.
The infrastructure of a discharge treatment plant contains the substations “Stormwater Overflow“ and “Inspection Shaft“. Both should communicate with each other and with a control center. The internet based GPRS1 service, which charges by data volume, should be used as a data transfer medium. The control center should enable central operator control and monitoring.
The substations should have the following functionalities:
• Stormwater Overflow Structure2,
– Flow measurement for discharge influx
– Measuring the filling level of the overflow structure
– Overflow measurement3
– Automatic pumping of basin content to the discharge treatment plant
– Operating hours count of the pumps
– Monitoring overflow structure and dry run of the pumps
• Inspection Shaft4,
– Flow measurement for discharge influx
– Measuring the filling level of the overflow structure
– Automatic pumping of basin content to the Stormwater Overflow
– Operating hours count of the pumps
– Monitoring overflow structure and dry run of the pumps
– All measuring data are to be buffered locally with real-time stamps and non-volatile, until they have been sent to the control center successfully and could be archived there.
– A trigger in the control center causes the “Inspection Shaft“ substation to send an SMS to a telephone number determined by the control center.
1 GPRS: General Packet Radio Service is a package-oriented data service in GSM networks. These are based on IP network technology (IP = internet protocol) 2 Stormwater Overflow: a structure in the discharge network for catching peak loads. A Stormwater Overflow enables controlled “overflow“ (with overflow measurement). 3 Overflow measurement: Stormwater overflow structures have an overflow for surplus effluent which forms after heavy rainfall, for example. The effluent volume is measured at an overflow edge and is referred to as overflow measurement. 4 Inspection Shaft: a shaft in the pipe system of the waste water network. The Micro Automation Set contains/simulates elements for flow measurement. This enables measuring and calculating the waste water influx from an industrial plant, for example.
Application Areas and Usage
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 7/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
Figure 1-1
P3
P1 P2
River
Waste Water Treatment Plant
Stormwater OverflowInspection Shaft Pump
PumpPump
Discharge
Application Areas and Usage
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 8/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
Automation Solution – Set 21 The automation solution uses the SINAUT Micro SC remote control system with the GPRS modems MD720-3
• to display the distributed Remote Stations at the Central Station or to change them
• to exchange process data between the Remote Stations
Figure 1-2
PPI RS232
S7-200MD 720-3
S Q C
S
P1 P2
Stormwater Overflow
Inspectionshaft
PPI RS232
S7-200MD 720-3
S Q C
S
INTERNET
Remote Station Remote StationGPRS GPRS
Central Station
SINAUT MICRO SCWinCC flexible
• Remote Station “Inspection Shaft“
The S7-224 XP controller measures the amount of discharge influx (simulation) and, depending on the filling level, controls the pump “P3“, which pumps the water into the subsequent stormwater overflow structure. All process data are transmitted to the Central Station via the GPRS modem MD720-3 A non-volatile buffer in the memory module saves the process data together with a real-time stamp until they have been sent successfully.
• Remote Station “Stormwater Overflow“ The S7-224 XP controller controls pump “P1“, which pumps the water of the stormwater overflow structure into the subsequent waste water treatment station (simulation). Pump “P2“ which can be operated manually via the Central Station enables pumping the water into a nearby river. All process data are transferred to the Central Station via the GPRS modem MD720-3.
Application Areas and Usage
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 9/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
• Central Station The OPC server SINAUT MICRO SC is used as a platform for data exchange with the Remote Stations. A DSL internet connection provides a performant communication. As OPC5 client, WinCC flexible takes on the task of displaying the process data and writing them into a SCV file6 with real-time stamp. The user interface enables switching one demo program each in the Remote Station “Inspection Shaft“ or “Stormwater Overflow“, which indicates the filling or emptying of the overflow structure.
Application Areas The Micro Automation Set is suitable for industrial applications in which data with the following properties are to be transferred cost-effectively:
• Wireless data transfer
• Sending data across large distances (worldwide, if a GSM7/ GPRS network exists)
• Data exchange with mobile stations
• Secured by buffers (in case of a connection fault)
This Micro Automation Set is particularly suitable for the following fields of application:
• Controlling and inspecting of
– Waste water treatment plant
– Water treatment
– Crude oil and gas pipeline
– Pump stations
– Automats
– Traffic management systems
– Buildings
– Intelligent bill boards
– Weather stations
– Light house
5 OPC: Openness, Productivity, Collaboration is an open software interface. This is meant to enable data exchange via a standardized interface. 6 CSV file: (Comma Separated Values) is a text file with values separated by commas or semi-colon. 7 GSM: Global System for Mobile Communications. Is the name for the used (digital) mobile radio standard.
Application Areas and Usage
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 10/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
– Decentralized power generation such as wind and solar power
– Power distribution and remote long distance heating systems
• Connecting automated mobile stations such as:
– Rail vehicles
– Special vehicles
– Complex building machines
– Ships in inland and coastal waters
• Remote programming and maintenance of the S7-200 via GSM CSD8
Benefits • SINAUT Micro SC enables an economic and bidirectional data
communication between all Remote Stations or between remote and Central Station.
• The OPC server integrated in SINAUT Micro SC enables visualizing and controlling all process data of the Remote Stations.
• All Remote Stations can be maintained via the Teleservice of MicroWin
• For service purposes, text messages can be automatically transferred to the service staff via SMS
• A Quadband antennae enables worldwide log-in at GSM mobile services providers via GPRS network
• GPRS and INTERNET secure short transfer times and are always online.
• Despite of a high availability, only the sent or received data volume is charged.
8 CSD: Circuit Switched Data. Transferring data using the time-slot procedure of the GSM mobile radio standard.
Setup
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 11/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
2 Setup
2.1 General setup
Layout diagram for Micro Automation Set 21 Figure 2-1
PPI RS232
S7-200MD 720-3
S Q C
S
P1 P2
Stormwater Overflow
InspectionShaft
PPI RS232
S7-200MD 720-3
S Q C
S
INTERNET
Remote Station Remote StationGPRS GPRS
Central Station
SINAUT MICRO SCWinCC flexible
The Micro Automation Set 21 consists of a Central Station and two Remote Stations.
Setup
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 12/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
2.2 Layout diagram for Central Station
Figure 2-2
INTERNET
Central Station
SINAUT MICRO SCWinCC flexible
Internet connection withstatic IP address or Dyn-DNS Service
The Central Station consists of a standard Windows PC with internet connection and a static IP address (alternative to the static IP address, a Dyn-DNS service can be used).
Installed on the PC are software SINAUT MICRO SC, for managing the GPRS communication, and WinCC flexible for visualizing the process data.
Setup
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 13/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
2.3 Layout diagram of a Remote Station
Figure 2-3
MD720-3
INTERNET
Remote Station
PC/PPI cable
CPU 224XPLOGO!Power24V 1.3A
RS485 RS232
GPRS
L1
N
01100111
87654321
DIP switch of the PC/PPI cable
The Remote Station consists of an S7-224 XP CPU with connected modem MD720-3 and a LOGO! Power 24V 1.3A power unit.
Modem MD720-3 is connected to Port 0 of the S7-224 XP CPU with a PC/PPI cable.
Modem MD720-3 contains the SIM card of your mobile services provider.
Hardware and Software Components
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 14/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
3 Hardware and Software Components
3.1 Central Station
Products Table 3-1
Component No. MLFB / Order number Note
Windows PC 1 -- SINAUT MICRO SC (License: for 8 stations)
1 6NH9910-0AA10-0AA3
SINAUT MICRO SC (License: for 64 stations)
alt. 6NH9910-0AA10-0AA6 alternative
SINAUT MICRO SC (License: for 256 stations)
alt. 6NH9910-0AA10-0AA8 alternative
WinCC flexible RT 1 6AV6613-1BA01-1CA0 128 tags, other versions also available
Accessories Table 3-2
Component No. MLFB / Order number Note
Router Alt. --
Alternative, e.g. DSL-Router for effective separation from INTERNET
Configuration software/tools Table 3-3
Component No. MLFB / Order number Note
WinCC flexible Advanced 1 6AV6613-0AA01-1CA5 For configuration of WinCC flexible RT
Services of a provider Table 3-4
Component No. MLFB / Order number Note
Internet connection 1 -- With static IP address
Dyn-DNS Service Opt (e.g. http://www.dyndns.com)
If no static IP address available
Hardware and Software Components
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 15/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
3.2 Remote Station
Products Table 3-5
Component No. MLFB / Order number Note
LOGO! Power 24V/1,3A 1 6EP1 331-1SH02 S7-200 CPU 224 XP 1 6ES7 214-2AD23-0XB0 DC SINAUT MD720-3 1 6NH9720-3AA00 GPRS Modem Quad band9 antenna ANT 794-4MR
1 6NH9860-1AA0 Omnidirectional with 5m cable
PC/PPI cable 1 6ES7 901-3CB30-0XA0 Serial Interface
Accessories Table 3-6
Component No. MLFB / Order number Note
256 KB memory module 1 6ES7 291-8GH23-0XA0 Buffering data which are not sent
Standard DIN rail 35mm 1 6ES5 710-8MA11 483 mm
Simulator 1 Optional for this application example
Configuration software/tools Table 3-7
Component No. MLFB / Order number Note
PC/PPI cable 1 6ES7 901-3CB30-0XA0
Serial interface, alternatively the cable can be used under “Products“.
SIMATIC STEP 7-Micro/WIN
1 6ES7810-2CC03-0YX0
9 Quad band: here it refers to different GSM networks which can be used. (900 MHz and 1800 MHz, as well as 850 MHz and 1900 MHz in the USA)
Hardware and Software Components
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 16/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
Services of a mobile provider Table 3-8
Component No. MLFB / Order number Note
SIM card 1 Available at your mobile services provider.
Often special M2M are available for GPRS
Note With the exception of the configuration tool and a memory module the components are required for each Remote Station.
Function principle
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 17/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
4 Function principle
4.1 SINAUT MICRO SC Server
Configuration of the connection between Remote Station and Central Station Data exchange between a Remote Station and the Central Station requires configuring a connection for each one using SINAUT MICRO SC.
A maximum number of 256 connections can be configured. Figure 4-1 shows an exemplary overview of the configured connections for the Remote Stations “Inspection Shaft“ (MAS21_IS) and “Stormwater Overflow“ (MAS21_SWOS). Figure 4-1
The following parameters must be defined for each connection:
• Station name: unique symbolic name of the Remote Station
• Station number: unique station number from 1 to 256
• Password: password for protecting the data exchange from manipulation
• PLC Status monitoring: when selecting the “Status monitoring by RealTimeClock synchronization” option, the Central Station sends the PC system time to the affected Remote Station, for the amount of time specified in the “Interval“ field, to signal to the mobile services provider that the GPRS connection is still required.
• Interval: time interval in which the synchronization messages are sent from the Central Station
• Comment: comment
Figure 4-2 shows the communication settings of the Remote Station “Inspection Shaft“
Function principle
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 18/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
Figure 4-2
Establishing and maintaining all configured connections After switching on the Remote Station, modem MD720-3 tries to establish a GPRS connection to the Central Station on the basis of the configured parameters. The target address of the Central Station is either the static IP address of the INTERNET access or a Dyn. DNS and the port address. Figure 4-3 shows the port address used in this Micro Automation Set. Figure 4-3
SINAUT MICRO SC saves all significant connection parameters after a successful connection. For the respective Remote Station, the GPRS-IP address assigned by the mobile service provider is stored together with the station number in the so-called routing table.
As long as the connection is not interrupted by the mobile provider, data can be sent from the Remote Station to the Central Station and vice versa.
Function principle
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 19/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
Routes of data message frames for communication between Remote Stations Data exchange between Remote Stations is always performed via the Central Station. Table 4-1 shows an example process of a send job from Remote Station “A“ to Remote Station “B“.
Table 4-1
Step Function Note / Picture
1. Remote Station “A“ sends a process value to Remote Station “B“ with station number “2“ as target address
2. SINAUT MICRO SC receives the message frame from Remote Station “A“
3. Using the routing table and the target address station number “B“, SINAUT MICRO SC determines the current GPRS IP address of Remote Station “B“ and forwards the message frame to this station.
Vice versa Remote Station “B“ sends an acknowledgement to Remote Station “A“
Figure 4-4
Central Station
SINAUTMICRO SC
WinCCflexible
Station number: 0
Remote Station A
Station number: 1
Remote Station B
Station number: 2
P
P P
GPRS GPRS
2
1
3
INTERNET
Function principle
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 20/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
Visualizing the process data with OPC-Client Each data of the Remote Station can be read via the integrated OPC server of SINAUT MICRO SC using the following syntax.
MSC:[<Station name>]DB1,<Format><Address> Apart from the user configurable process data, the OPC server provides system variables (see blue marking in Figure 4-5).
Displaying and changing process data:
• Display of process data: Process data VD2000 sent by the “Inspection Shaft“ Remote Station is received by SINAUT MICRO SC and can be read, for example, by cyclic polling of an OPC client, e.g. WinCC flexible.
• Changing of process data: A change of process data VD2000 in the OPC client (e.g. WinCC flexible) is recognized by the OPC server of SINAUT MICRO SC, and causes SINAUT MICRO SC to send the changed VD2000 value to the “Inspection Shaft“ Remote Station.
Figure 4-5
Remote Station “Inspection Shaft“
Station number: 1
Central Station
MAS21_IS
VD2000
SINAUTMICRO SC
WinCCflexible
OPC-Server OPC-Client
VD2000 MSC:[MAS21_IS]DB1,Real2000
MSC:[MAS21_IS]GPRSConnectedMSC:[MAS21_IS]PLCConnectedMSC:[MAS21_IS]BytesReceivedMSC:[MAS21_IS]BytesTransmittedMSC:[MAS21_IS]RefreshValuesMSC:[MAS21_IS]RefreshValues
Function principle
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 21/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
4.2 GPRS Modem SINAUT MD720-3
Requirements for operation Operating modem MD720-3 requires a SIM card with GPRS service which, analog to a mobile phone, must be placed inside the modem in an appropriate slot.
The quad-band antenna enables operating the modem at GSM networks with the following frequencies:
• 800 MHz
• 900 MHz
• 1800 MHz
• 1900 MHz
Configuration of modem MD720-3 The configuration of the modem is performed by means of the S7 block “WDC_INIT“ contained in the delivery scope. It sends the parameters previously stored in the user program to the modem after rebooting the controller:
• The station number for this connection defined in SINAUT MICRO SC
• Static IP address of the SINAUT MICRO SC server
• Port of the SINAUT MICRO SC server
• The modem name automatically assigned for the respective connection by SINAUT MICRO SC
• The password for this connection defined in SINAUT MICRO SC
• The PIN number of the SIM card, if a PIN request has been activated on the SIM card.
• Access Point Name of the mobile service provider which defines the node from the GPRS network to the INTERNET
• User or password of the APNs
• Overview of the most important configuration parameters (logical target address, APN)
Setup of a GSM/ GPRS connection and login at SINAUT MICRO SC After the connection parameters have been transferred to the modem, the modem automatically establishes a connection to the SINAUT MICRO SC Server.
Function principle
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 22/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
A successful login process is illustrated in Figure 4-6. The respective connection status is illustrated by the front LEDs “S“, “Q“ and “C“ Figure 4-6
S Q C
Connecting with GSM PROVIDER 3
Successfully connected with SINAUTMICRO SC Server 6
Connecting with SINAUT MICRO SC Server5
Successfully connected with GPRS service4
Connecting with GSM PROVIDER 2
Checking all Sim card parameters (e.g. PIN)1
S Q C
S Q C
S Q C
S Q C
MD 720-3
S Q C
4.3 S7 Block Library
Initializing with “WDC_INIT“ This block to be cyclically called in the user program transfers the connection parameters stored in the data block to modem MD720-3. Figure 4-7
Function principle
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 23/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
Sending with “WDC_SEND“ Specifying the station number of the target Remote Station, the block to be cyclically called in the user program sends a data block with a maximum size of 239 bytes. Figure 4-8
Receiving with “WDC_RECEIVE“ This block to be cyclically called in the user program receives incoming message frames and copies the received data block into the given address area. Figure 4-9
Executing special functions with “WDC_CONTRL“ This block to be cyclically called in the user program enables the following special functions:
• Accepting authorized CSD calls with the aim of maintaining the respective Remote Station via Teleservice.
Function principle
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 24/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
• Switching to the so-called AT mode, with the aim, for example, of sending an SMS via AT commands. In this mode, the GPRS connection is deactivated.
Figure 4-10
Function principle
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 25/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
4.4 Communication between Remote Stations
Remote station “A“ sends process data to Remote Station “B“ Figure 4-11
Central Station
SINAUTMICRO SC
WinCCflexible
Station number: 0
Remote Station A
Station number: 1
Remote Station B
Station number: 2
P
P P
3
1
2
INTERNET
GPRSGPRS
ISp
4
567
8
9
11
13
14
16
Internet Service Provider
12.3%12.3%
Table 4-2
No. Function Note / Picture
1. The data, e.g. filling level of 12.3% is read by the controller of Remote Station “A“ via an analog interface.
The process values are in this Micro Automation Set simulated by a variable.
2. S7-200 sends the filling level (e.g. 12.3%) by calling the S7 block “WDC_SEND“ with details of • logic address of target Remote
Station “B“ • variable address and byte
length of the filling level to be sent (e.g. 12.3%)
to the modem.
3. The modem processes the filling level (e.g. 12.3%) and sends it to the mobile services provider via GPRS.
Function principle
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 26/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
No. Function Note / Picture
4. The mobile service provider passes the filling level (e.g. 12.3%) to the INTERNET.
The interface between mobile services provider and the INTERNET is referred to as Access Point
5. The INTERNET routes the filling level (e.g.12.3%) to the INTERNET Service Provider of the Central Station
6. The INTERNET Service Provider of the Central Station transfers the filling level (e.g. 12.3%) to the SINAUT MICRO SC Server of the Central Station.
7. The SINAUT MICRO SC Server cancels the logic target address of Remote Station “B“ using the routing table.
8. The SINAUT MICRO SC Server sends the filling level (e.g. 12.3%) to the current IP address of Remote Station “B“.
9. The filling level (e.g. 12.3%) is routed via the INTERNET Service Provider and via INTERNET. The filling level (e.g. 12.3%) is passed on via the GPRS data service from the INTERNET to the modem of Remote Station “B“.
10. Modem MD720-3 transfers the filling level (e.g. 12.3%) to the S7-200 CPU of Remote Station “B“.
11. The filling level (e.g. 12.3%) is received from S7 block “WDC_RECEIVE“ and filed in the data memory of Remote Station “B“.
12. S7 block “WDC_SEND“ CPU automatically generates an acknowledgement message and sends it to the modem.
13. The modem sends the acknowledgement to the SINAUT MICRO SC Server of the Central Station via the above route
14. The SINAUT MICRO SC Server forwards the acknowledgement to the modem of Remote Station “A“.
Function principle
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 27/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
No. Function Note / Picture
15. The modem forwards the acknowledgement to the S7-200 CPU.
16. The S7 block “WDC_RECEIVE“ receives the acknowledgement. The S7 block “WDC_SEND“ subsequently informs the user program of the success of the completed send procedure
Function principle
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 28/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
Remote station “A“ sends the process data request to Remote Station “B“ Figure 4-12
Central Station
SINAUTMICRO SC
WinCCflexible
Station number: 0
Remote Station A
Station number: 1
Remote Station B
Station number: 2
P
P P
3
2
INTERNET
GPRSGPRS
ISp
4
567
8
9
11
13
14
Internet Service Provider
23.4%
23.4%1216
Table 4-3
No. Function Note / Picture
1. In the S7-200 controller of Remote Station “A“ there is a need to request the filling level of Remote Station “B“.
2. The filling level request is passed on to the modem via PC/PPI cable by calling the S7 block “WDC_SEND“ and specifying • logic address of target Remote
Station “B“ • variable address and byte length of
the requested filling level
3. The modem processes the request and sends it to the mobile services provider via GPRS.
4. The mobile service provider forwards the filling level request to the INTERNET
The interface between mobile services provider and the INTERNET is referred to as Access Point
Function principle
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 29/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
No. Function Note / Picture
5. The INTERNET routes the filling level to the INTERNET Service Provider of the Central Station
6. The INTERNET Service Provider transfers the filling level request to the SINAUT MICRO SC Server of the Central Station.
7. The SINAUT MICRO SC Server cancels the logic target address of Remote Station “B“ using the routing table.
8. The SINAUT MICRO SC Server sends the filling level request to the current IP address of Remote Station “B“.
9. The filling level request is routed via the INTERNET Service Provider and via INTERNET. The filling level request is passed on via the GPRS data service from the INTERNET to the modem of Remote Station “B“.
10. The modem transfers the filling level request to the S7-200 CPU of Remote Station “B“.
11. The filling level request is received from the S7 block “WDC_RECEIVE“ and forwarded to the S7 block “WDC_SEND“.
12. S7 block “WDC_SEND“ CPU automatically generates an acknowledgement message with the requested filling level (e.g. 23.4%) and sends it to the modem.
13. The modem sends the acknowledgement to the SINAUT MICRO SC Server of the Central Station via the above route
14. The SINAUT MICRO SC Server forwards the acknowledgement to the modem of Remote Station “A“.
15. The modem forwards the acknowledgement to the S7-200 CPU.
16. The S7 block “WDC_RECEIVE“ receives the acknowledgement and assigns the respective variable to the filling level (e.g. 23.4%) of the respective variable. The S7 block “WDC_SEND“ subsequently informs the user program of the success of the completed send procedure
Function principle
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 30/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
Remote Station “A“ sends process data to Central Station “B“ Figure 4-13
Central Station
SINAUTMICRO SC
WinCCflexible
Station number: 0
Remote Station A
Station number: 1
Remote Station B
Station number: 2
P
P P
3
2
INTERNET
GPRSGPRS
ISp
4
89
Internet Service Provider
12,3%
1
12.3%
56
7
10
Table 4-4
No. Function Note / Picture
1. The data, e.g. filling level of 12.3% is read by the controller of Remote Station “A“ via an analog interface.
The process values are in this Micro Automation Set simulated by a variable.
2. S7-200 sends the filling level (e.g. 12.3%) by calling the S7 block “WDC_SEND“ with details of • logic address of the target Central
Station • variable address and byte length of
the filling level to be sent (e.g. 12.3%) to the modem.
3. The modem processes the filling level (e.g. 12.3%) and sends it to the mobile service provider via GPRS.
4. The mobile service provider forwards the filling level (e.g. 12.3%) to the INTERNET.
The interface between mobile service provider and the INTERNET is referred to as Access Point
Function principle
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 31/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
No. Function Note / Picture
5. The INTERNET routes the filling level (e.g.12.3%) to the INTERNET Service Provider of the Central Station
6. The INTERNET Service Provider of the Central Station transfers the filling level (e.g. 12.3%) to the SINAUT MICRO SC Server of the Central Station.
7. The OPC server of SINAUT MICRO SC provides the received process data to the OPC client (HMI system).
8. After successful reception, SINAUT MICRO SC an acknowledgement to the modem of Remote Station “A“.
9. The modem forwards the acknowledgement to the S7-200 CPU.
10. The S7 block “WDC_RECEIVE“ receives the acknowledgement. The S7 block “WDC_SEND“ subsequently informs the user program of the success of the completed send procedure
Function principle
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 32/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
Central Station sends process data to Remote Station “A“ Figure 4-14
Central Station
SINAUTMICRO SC
WinCCflexible
Station number: 0
Remote Station A
Station number: 1
Remote Station B
Station number: 2
P
P P
3
2
INTERNET
GPRSGPRS
ISp
4
89
Internet Service Provider
12.3% -> 32.3%
1
32.3%
56
1
10
Table 4-5
No. Function Note / Picture
1. In OPC client a variable is changed/updated.
2. The OPC client transfers the changed variable to the OPC server of SINAUT MICRO SC
3. SINAUT MICRO SC sends the changed value to Remote Station “A“ which is assigned to this variable. The current IP address is thereby taken from the routing table.
4. The INTERNET Service Provider forwards the new process value to the INTERNET.
5. In the INTERNET the data are routed to the mobile service provider.
6. The mobile service provider sends the data to the modem.
Function principle
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 33/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
No. Function Note / Picture
7. The changed process value is transferred from modem to S7-200 via PC/PPI cable.
8. The updated process value is received from the S7-200 CPU using the S7 blocks “WDC_RECEIVE“ and assigned to the given variable address
9. S7 block “WDC_SEND“ generates an acknowledgement message and transmits it to the modem.
10. The modem sends the acknowledgement to SINAUT MICRO SC of the Central Station
11. After the acknowledgement has been successfully received, SINAUT MICRO SC assigns the quality “good“ to the transmitted variable (tag). If no acknowledgement for the send job has been received within the monitoring time of 15 sec, the quality “bad“ will be assigned to the respective tag
4.5 Management of the send jobs
Send management Only one send job at once can be processed at any time. The maximum transmission time of 15 s defines the maximum send time. A send job cannot be interrupted.
If process data are to be sent cyclically and event controlled, the events must be timed and prioritized (send management)
In Micro Automation Set 21 the following four cyclic send functions must be managed by the “Inspection Shaft“ Remote Station:
A. Remote Station “Inspection Shaft“ sends current filling level and status data to the Central Station
B. Remote Station “Inspection Shaft“ requests the filling level from Remote Station “Stormwater Overflow“.
C. Remote Station “Inspection Shaft“ sends the filling level data to Remote Station “Stormwater Overflow“.
D. Remote Station “Inspection Shaft“ sends filling levels, buffered due to communication errors, to the Central Station
The following figure shows the temporal division of the four send jobs.
Function principle
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 34/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
Figure 4-15
4T
4T
4T
4T
Send trigger A
Send trigger C
Send trigger BSend trigger D
Imagine the send manager like the hour hand of a clock. Every “quarter of an hour“ a send job will be processed. However, the “hour hand“ does not take one hour for one cycle, but the cycle time “T“ can be adjusted in the user program. The send time required for the transmission from the S7 block “WDC_SEND“ is taken into account in the cycle time, i.e. between the end of send job “A“ and the start of send job “B“ there is “T/4“.
In Micro Automation Set 21 the alarms in send job “A“ are transferred to the Central Station.
If an alarm occurs, the “hour hand“ jumps to “59 minutes“, just before the send job “A“. The next send job to be processed is hence send job “A“. See illustration below.
Alarms such as a pump running dry cannot be planned or timed. Alarms must be forwarded to the Central Station quickly and with highest priority.
Function principle
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 35/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
Figure 4-16
4T
4T
4T
4T
Send trigger A
Send trigger C
Send trigger BSend trigger D
Event
Function principle
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 36/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
4.6 Buffering of process data with real time stamp
Why is it necessary to buffer process data with real time stamp? The data transfer occurs via the INTERNET. If the availability of the send job time is restricted, no data can be transferred.
In order to send this data after all, together with a designated time, to the event to be triggered at a later time, it must first be buffered in a non-volatile memory. If the communication connection is available again, the data can be read from the buffer and be sent.
Functionality of the buffer: Memory module 256 kByte of the S7-200 CPU is used as the buffer. The process data are stored as recipes. In the user program, program blocks of the recipe wizard are used for this. This enables exporting possible data onto the memory module, as well as reading from it.
1. Archive
If a send job fails, the affected data record is supplemented with a real time stamp in the memory module, comparable with adding a line in a table.
2. Retrieve
If the connection quality is good, the respective data record buffered last is loaded from the memory module, sent and deleted.
The user program evaluates the connection quality with “bad“, if a send job was cancelled unsuccessfully.
If only the first three send jobs of a time disk (see chapter 4.4) were successfully sent, the connection quality is set to “good“.
4.7 Archiving the process data in the Central Station
Why are process data archived? Many applications (e.g. water management) require an archive function to provide process data with real-time stamp for charging for performed works or for quality proofs.
Archiving the method of operation The current and buffered process data are transferred via different variables of the control program. This ensures that the display field of the OPC client connected with this tag always displays the current value.
Function principle
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 37/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
Figure 4-17
PPI RS232
S7-200MD 720-3
S Q C
S
P3
P1 P2
InspectionShaft
.........
19378922.02.2006 15:09:00
45612322.02.2006 15:10:00
Value 2Value 1Realtime stamp
Current Process DataCSVfile
Momory
Save data during faultycommunication
Send data as soon as communicationrestored
BufferedProcess Data
This Micro Automation Set 21 uses WinCC flexible as OPC client. The real-time stamp transferred together with the process data, consisting of second, minute, hour, day, month and year works as trigger for a VB script for filing the process data into a CSV file. Due to time-delayed transfer of buffered process data the CSV file must be sorted regarding the time-stamp prior to further data processing. Figure 4-18
9036,2903914:40:5417.02.200680,2132095,69088714:34:0817.02.200680,586825563,4880414:40:1217.02.200680,67101355,7862614:39:1517.02.200680,99240344,5453514:35:3117.02.20068032,6488214:38:3217.02.200680,671019,08453114:37:4917.02.2006Value 3Value 2Value 1TimeDate
Archive
Source: current process data Source: buffered process data
Function principle
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 38/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
4.8 Sending SMS text messages
What use is there in sending an SMS? A permanent failure of a Remote Station connection with the SINAUT MICRO SC Server could go unnoticed for some time. Enabling a Remote Station to inform, for example, a service technician of this problem in due time, irrespective of the SINAUT MICRO SC server status, requires the option of sending an SMS.
Functionality The S7 block “WDC_SMS“ enables sending an SMS. To do this, the block needs the telephone number of the SMS service center of the mobile service provider, the number to which the SMS is to be sent and the SMS text. “WDC_SMS“ requires the S7 block “WDC_Control“, in order to terminate the GPRS connection and to reestablish it after sending the SMS.
“WDC_SMS“ switches the modem into AT mode and sends the short message on the basis of AT commands.
After successful sending, or after a time out error, it is switched back into GPRS mode.
! Attention
During sending the SMS, the GPRS connection is terminated. This disconnects the SINAUT MICRO SC Server. This means, the Remote Station is offline!
Note The program block “WDC_SMS“ for sending an SMS is offered as a library via a separate download together with a separate description of this block.
Function principle
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 39/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
4.9 Dyn-DNS Service
What use is the Dyn-DNS Service? Not all INTERNET service providers offer a static IP address for their connections. For the Remote Station to be able to connect to the SINAUT MICRO SC Server after all, services from third party providers are available. They offer determining the IP address currently assigned to the SINAUT MICRO SC Server via a so-called “Domain Name“, and to replace the “Domain Name“ with that address.
The Dyn-DNS Service enables reaching a PC (server) from the INTERNET without a static IP address.
Function After a new INTERNET connection has been established or, when an IP address has been changed, a PC or the preceding router send the currently assigned IP address to a server of the Dyn-DNS provider.
The provider introduces the new (or changed IP address) the Domain Name servers of the INTERNET.
If the Domain Name servers know the current IP address of the SINAUT MICRO SC, the server can be addressed via a domain name. (e.g. www.sinaut_micro_sc_testserver.de).
Risks of Dyn-DNS A principle risk is the availability of the services. If it is not available, the connection between Central Station and Remote Station is lost.
Another risk if the update time of the new IP address in the Domain Name servers of the INTERNET. (The new IP address of the SINAUT MICRO SC servers must be introduced to the Domain Name servers of the INTERNET.)
Function principle
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 40/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
4.10 TeleService
What does Teleservice mean? Teleservice offers the opportunity of changing the control program of the distributed Remote Station via a CSD connection using “MicroWin“.
Functionality The parameterization of the S7 block “WDC_INIT“ in the user program enables transferring up to 3 authorized telephone numbers for the Teleservice to the modem. Calling one of these telephone numbers causes the modem to forward this request to the S7 block “WDC_CONTROL“ of the controller, which receives it and switches the interface from “Freeport“ to “PPI Mode“.
The S7 program can be changed using MicroWin.
Terminating the teleservice requires restarting the controller via MicroWin which causes the modem to reestablish a GPRS connection with the SINAUT MICRO SC server.
Configuring the Startup Software
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 41/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
5 Configuring the Startup Software
5.1 Preliminary Remarks
For the startup, we offer you software examples with the Startup Code as a download. The software example supports you during the first steps and tests with this Micro Automation Set. They enable quick testing of the hardware and software interfaces between the products described in the Micro Automation Sets.
The software example is always assigned to the components used in the set and show their principal interaction. However, it is not a real application in the sense of technological problem solving with definable properties.
5.2 Downloading the Startup Code
The software example is available on the HTML page from which you downloaded this document. Table 5-1
No. Object File name Content
1. OPCM2M.xml Configuration file for SINAUT MICRO SC
2.
Server
MAS21_WinCCFlex_V1d0_en.zip
WinCC flexible configuration
3. Inspection shaft
MAS21_S7_InspShaft_V1d0_en.mwp
S7-200 configuration
4. Stormwater overflow:
MAS21_S7_InspShaft_V1d0_en.mwp
S7-200 configuration
5. SMS library Set21_DocLibrary_V0d01_en.pdf
Library for using with Micro/Win.
5.3 Configuring Components
Note Here it is assumed, that the required software
• SINAUT MICRO SC • WinCC flexible Advanced • MicroWin
has been installed on your computer and you are familiar with the principal operation of this software.
Configuring the Startup Software
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 42/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
5.3.1 SINAUT MICRO SC Server
Table 5-2
No. Instructions Note
6. Establish an INTERNET connection on your PC.
7. Ensure that the used Port 26862 is, if necessary, directed through firewall or a router on your PC.
If you have activated a Firewall on your PC, you define an exception for Port 26862. When using a Router, e.g. a DSL router, you forward Port 26862 to the internal IP address of your PC. (e.g. using the function “Port-Forwarding“ or “Virtual Server“)
8. Copy file OPCM2M.xml into the installation directory of SINAUT MICRO SC.
Save the existing file!
9. Terminate SINAUT MICRO SC Server To do this, right-click the SINAUT MICRO SC icon in the info area of Windows (Taskbar, left next to the clock) and select “Exit“. If necessary close the configuration user interface for SINAUT MICRO SC. Restart SINAUT MICRO SC.
5.3.2 WinCC Flexible
Table 5-3
No. Instructions Note
1. Unzip the file (2) Table 5-1 and restart the WinCC flexible project file *.fwx
2. For experts the WinCC flexible configuration of the project is also attached as *.hmi file
Configuring the Startup Software
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 43/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
5.3.3 Remote Station
General information This chapter describes the configuration process for the Remote Station “Inspection Shaft”. Proceed analog for configuring the Remote Station “Waste Water Overflow Structure“, taking into account the notes for this station.
Installing and wiring the components Table 5-4
No. Instructions Note
1. Open the SINAUT modem MD720-3 and insert the SIM card of your mobile services provider.
See MD720-3 documentation chapter 2, Pages: 13-18
2. Attach the simulator for the digital inputs at the S7-200 CPU.
3. Plug the 256 KB memory module into the S7-200 CPU. (Not necessary for the “Inspection Shaft“ Remote Station) CartridgeCartridge
S7-224 XP CPU
CartridgeCartridge
S7-224 XP CPU
4. Mount LOGO! Power, S7-200 CPU and
the SINAUT MD720-3 Modem to the top-hat rail.
See chapter 2.3 “Layout diagram of a Remote Station“
5. Connect the S7-200 CPU and the MD720-3 modem to the DC 24V supply voltage of LOGO! Power.
See chapter2.3 “Layout diagram of a Remote Station”
6. Connect the MD720-3 and the S7-200 CPU with the PC/PPI cable. Use the following switch positions: 1 2 3 4 5 6 7 8 1 1 1 0 0 1 1 0
7. Connect all ground connections to earth. 8. Connect the modem antennae with the
modem. If necessary, ensure a suitable lightning protection of the antennae!
Configuring the Startup Software
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 44/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
Configure the software for the S7-200 and load into PLC
Table 5-5
No. Instructions Note
9. Open the project of the “Inspection Shaft“ Remote Station (3) or Remote Station “Stormwater Overflow“ (4) of the Table 5-1.
10. Navigate with STEP7 Micro/Win to the data block “Communication_Parameter“.
When substituting the following parameter ensure sufficient distance to the subsequent parameter so it won’t be exceeded.
11. Replace the currently used IP address of the variable “WDC_INIT_Target_IP_Addr“ either with the static IP address of your INTERNET connection or with the Domain Name
//Server IP Adress WDC_INIT_Target_IP_Addr "217.91.50.138"
12. Replace the currently used Pin no. of variable “WDC_INIT_SIM_PIN“ with your Pin no. We recommend you deactivate the Pin query. In this case you enter the value “0000“
//SIM PIN WDC_INIT_SIM_PIN "7091"
13. Replace the currently used AccessPointName (APN) of the “WDC_INIT_APN“ variable with that of your mobile service provider. This is the access of the GPRS network to the INTERNET.
//GPRS APN WDC_INIT_APN "web.vodafone.de"
14. On top of the APN, some mobile service providers request a user name. In this case you replace the currently used APN user name of the “WDC_INIT_APN_USER“ variable with that of your mobile service provider.
//GPRS APN User WDC_INIT_APN_User "guest"
15. Some mobile service providers request a password on top of the APN. In this case you replace the currently used APN password of the “WDC_INIT_APN_PW“ variable with that of your mobile service provider.
//GPRS APN User Password WDC_INIT_APN_User_PW "guest"
16. Use a static IP address at the INTERNET connection of your SINAUT MICRO SC server, predefine the “WDC_INIT_DNS“ variable with “ “. If alternatively to the static IP address a “Domain Name“ is employed, at least one (maximal 2) IP address(es) of the “Domain Name Server“ have to be stored in the “WDC_INIT_DNS“ variable.
Bei Verwendung von Domain Namen: //DNS WDC_INIT_DNS "139.007.030.125;139.007.030.126" Keine Verwendung von Domain Namen: //DNS WDC_INIT_DNS ""
Configuring the Startup Software
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 45/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
No. Instructions Note
17. In the variable you can store up to 3 telephone numbers to be authorized for a Teleservice data call. You can also use parts of telephone numbers and enable a telephone number chain with a “*“.
//CLIP WDC_INIT_Clip_Numbers "+49911895*;;;;;"
18. Replace the currently used telephone number of the short message service center of your mobile service provider of the “SMS_Service_Central“ variable with that of your mobile service provider. (Only necessary for the “Inspection Shaft“ Remote Station)
//Schort Message Service Central SMS_Service_Central "+491722270000"
19. Load the project into the S7-200 CPU
Log in Remote Station “Inspection Shaft“ and “Stormwater Overflow“ at the SINAUT MICRO SC server
Before starting with the Live demo, both Remote Stations “Inspection Shaft“ and “Stormwater Overflow“ must have successfully logged in at the SINAUT MICRO SC Server.
Table 5-6
No. Instructions Note
1. SINAUT MICRO SC Configurator with Start/AllProgramms/Simatic/SINAUTMicro SC/Konfiguration : The cross icon before each connection signals that both Remote Stations have not yet been logged in at the SINAUT MICRO SC server.
2. Switch on the power supply of the Remote Station “Inspection Shaft“ and “Stormwater Overflow“. The following steps apply for both Remote Stations. The modem checks the transferred SIM card parameters
3. The modem establishes the connection with the GSM network
Configuring the Startup Software
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 46/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
No. Instructions Note
4. The modem has successfully established the connection with the GSM network.
5. The modem has successfully established
the connection with the GPRS network.
6. This connects to the SINAUT MICRO SC
Server.
7. The modem has successfully logged in at
the SINAUT MICRO SC Server.
8. The checkmark icon before each
connection signals that both Remote Stations have logged in at the SINAUT MICRO SC server.
Live Demo
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 47/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
6 Live Demo
Overview of features The following features of this Micro Automation Set can be demonstrated:
• Remote Station “Stormwater Overflow”
– Cyclic sending of data to the Central Station
– Changing data by the Central Station
– Calling/requesting data by the Central Station
• Remote Station “Inspection Shaft”
– Cyclic sending of data to the Central Station
– Event controlled sending of data to the Central Station
– Changing data by the Central Station
– Sending data to the Remote Station “Stormwater Overflow”
– Calling/requesting data from the Remote Station “Stormwater Overflow”
– Archiving process data in a *.CSV file on the PC
– Local buffering of process data during connection failure and emptying the buffer on reconnecting
– Generating an alarm and depicting it via the WinCC flexible user interface
– Sending SMS text messages
Note With both Remote Stations different complexity structures were realized.
The Remote Station “Stormwater Overflow“ contains a Simple Communication Example, suitable for demonstrating the basic functions.
Technological features such as buffering of data or sending of SMS messages are only realized in the Remote Station “Inspection Shaft“. This Remote Station is therefore more complex.
6.1 User interface
Overview The user interface of Micro Automation Sets 21 consists of the operator displays “Waste Water Application“ and “Communication“.
Live Demo
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 48/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
Operator display “Waste Water Application“ Figure 6-1
12
3
4
5
678
910
11 12
13
14
15
161718
Table 6-1
No. Description Note
1. The Waste Water Application button takes you to the “Waste Water Application“ operator display.
2. The Communication button takes you to the “Communication“ operator display.
3. Display of the current filling level (Fill Level) of the Inspection Shaft.
The filling level is also graphically symbolized as the water level in the inspection shaft.
4. Shows the current flow (Flow Rate) into the Inspection Shaft.
If there is a flow, the feed pipe turns blue.
5. Operating hours display (Operating Hours) of pump P3.
6. Symbolizes pump P3. Color changes to green if ON. Additionally the pipe is colored blue.
7. Updates the depicted process data of Remote Station “Inspection Shaft“
Live Demo
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 49/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
No. Description Note
8. Start the demo for Remote Station “Inspection Shaft“
9. Operating hours display (Operating Hours) of pump P1.
10. Operating hours display (Operating Hours) of pump P1.
11. Shows the current flow (Flow Rate) into the Stormwater Overflow.
If there is a flow, the feed pipe turns blue.
12. Shows the current drainage (Overflow Rate) from the Stormwater Overflow into the lake/river.
If there is a flow, the drain pipe turns blue.
13. Display of the current filling level (Fill Level) of the Stormwater Overflow.
The filling level is also graphically symbolized as the water level in the Inspection Shaft.
14. Symbolizes pump P1. Color changes to green if ON. Additionally the pipe is colored blue.
15. Symbolizes pump P2. Color changes to green if ON. Additionally the pipe is colored blue.
16. Updates the depicted process data of Remote Station “Stormwater Overflow“
17. Start the demo “Stormwater Overflow”
18. Pump P2 is switched ON/OFF with this button
The bottom range of the picture contains the alarm message window. Here the current status information and alarms are depicted.
Live Demo
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 50/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
Structure of operator display “Communication“ Figure 6-2
1234567
1234567
8
9
10
11
12
13
14
15
16
17
Table 6-2
No. Description Note
1. Shows whether the modem has successfully logged in at the SINAUT MICRO SC Server.
For Remote Stations “Inspection Shaft“ and “Stormwater Overflow“.
2. Shows whether SINAUT MICRO SC and S7-200 are connected.
For Inspection Shaft and Stormwater Overflow.
3. Signal intensity of the antennae 0 = poor reception 31=excellent reception For Remote Stations “Inspection Shaft“ and “Stormwater Overflow“.
4. Currently active send cycle in seconds.
For Remote Stations “Inspection Shaft“ and “Stormwater Overflow“.
5. Number of bytes received by the modem. Update occurs every hour
For Remote Stations “Inspection Shaft“ and “Stormwater Overflow“.
6. Number of bytes sent by the modem. Update occurs every hour
For Remote Stations “Inspection Shaft“ and “Stormwater Overflow“.
7. Total of bytes received and sent by the modem. Update occurs every hour
For Remote Stations “Inspection Shaft“ and “Stormwater Overflow“.
Live Demo
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 51/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
No. Description Note
8. Archive trigger for writing the current data of Remote Station “Inspection Shaft“ via a Visual Basic Script into the CSV file
9. Archive trigger for writing the buffered data of Remote Station “Inspection Shaft“ via a Visual Basic Script into the CSV file
10. Date and time of the last sent current data
11. Date and time of the data last sent from the buffer
12. Updates the depicted data of Remote Station “Inspection Shaft“.
13. Send cycle of Remote Station “Inspection Shaft”
14. Telephone number to which an SMS is to be sent.
15. Send trigger for sending the SMS 16. Updates the depicted data of
Remote Station “Inspection Shaft“.
17. Send cycle of Remote Station “Stormwater Overflow”
6.2 Scenario of Remote Station “Stormwater Overflow”
General information The scenario of the Remote Station “Stormwater Overflow“ has been kept simple on purpose. This Remote Station focuses on “comprehensiveness“ of the communication
Live Demo
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 52/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
Scenario Table 6-3
No. Action / What happens? Note / Picture
1. Change to the “Communication“ screen.
2. In the Combox “Send Cycle“ set the cycle
time 5 seconds for the Remote Station “Stormwater Overflow“. (The Remote Station cyclically sends data to the Central Station every 5 seconds)
3. Change to the “Waste Water Application“
screen.
4. Click the “Start Demo“ button of the
Stormwater Overflow. (Here data are written from the Central Station to the Remote Station.)
Live Demo
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 53/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
No. Action / What happens? Note / Picture
5. After a short wait time you see how the feed pipe for the inflow turns blue. The filling level rises and pump P1 switches on.
6. If the Stormwater Overflow is full and the inflow abides, the filling process is terminated. It can be seen, that an overflow measurement is performed.
7. Switch on pump P2 by pressing the “P2 switch on“ button in order to empty the overflow structure. (Here data are written from the Central Station to the Remote Station “Stormwater Overflow”.)
Live Demo
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 54/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
No. Action / What happens? Note / Picture
8. P2 becomes green and the pump pipe turns blue.
9. If the basin is empty and pump P2 is switched on, the alarm message “Tank fill level too low“ appears
10. Switch off pump P2 by pressing the “P2 switch off“ button.
11. The scenario is terminated here.
6.3 Scenario of Remote Station “Inspection Shaft”
General information The scenario Remote Station “Inspection Shaft” is clearly more complex. This Remote Station focuses on technological aspects.
Note A complete send cycle consists of four individual send processes, therefore, the minimal cycle time is restricted to one minute. (The simulation of the station is adjusted to the slower cycle)
This makes the demo of this station much slower.
Live Demo
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 55/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
Scenario “Demo“ Table 6-4
No. Action / What happens? Note / Picture
1. Change to the “Communication“ screen.
2. In the Combox “Send Cycle“ set the cycle
time one minute for the Remote Station “Inspection Shaft“. (The Remote Station “Inspection Shaft” cyclically sends data to the Central Station every minute)
3. Change to the “Waste Water Application“
screen.
4. Click the “Start Demo“ button of the
Remote Station “Inspection Shaft”. (Here data are written from the Central Station to the Remote Station.)
Live Demo
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 56/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
No. Action / What happens? Note / Picture
5. After a short wait time, the feed pipe turns blue and a flow measurement is performed. The flow is not constant but varies (see graphic on the right).
Time t
Dis
char
ge[%
]
6. The overflow structure fills up to a filling level of approx. 90%. (The status change of the pump causes the Remote Station to send –on demand– a prioritized data package to the Central Station)
Live Demo
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 57/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
No. Action / What happens? Note / Picture
7. Pump P3 automatically switches on.
8. Pump P3 empties the overflow structure. And then it switches off.
Live Demo
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 58/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
Scenario “Cross Communication“ Table 6-5
No. Action / What happens? Note / Picture
1. The digital outputs Q0.0 to Q0.7 of the CPU of Remote Station “Inspection Shaft“ show the filling level of the Inspection Shaft. Switching on input I0.0 causes the filling level of the Stormwater Overflow to be displayed. The respective value is polled cyclically by the Remote Station “Inspection Shaft“ from Remote Station “Stormwater Overflow“.
The digital outputs Q1.0 and Q1.1 flash alternately with 1Hz. To better depict the desired effect start the demo Stormwater Overflow.
2. Switch off switch I0.0 at the controller. 3. Switch on switch I0.1 at the controller. An
“overflow” alarm is generated. (The alarm causes the Remote Station to send –on demand – a prioritized data package to the Central Station)
4. Switch off switch I0.1 at the controller. 5. Switch on switch I0.2 at the controller. An
“Tank fill level too low” alarm is generated. (The alarm causes the Remote Station to send –on demand – a prioritized data package to the Central Station)
6. Switch off switch I0.2 at the controller.
Live Demo
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 59/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
Scenario “Archive Function“ Table 6-6
No. Action / What happens? Note / Picture
1. Change to the “Communication“ screen.
2. Disconnect the PC/PPI cable from the
modem and force a disconnection for about 5 minutes. After that reestablish the connection. (Sending is no longer possible and the S7-200 writes data into the buffer.)
3. The date/time field “Buffered Date&Time“
now shows a more recent entry than the field “Current Date&Time“. This illustrates that the Remote Station “Inspection Shaft“ has started to transfer the buffered entries after restoring the communicaton connection.
4. Wait until the Buffered Date&Time no longer change. The buffer is now empty.
5. Open your windows explorer and navigate to your drive C:\, here you find the archive file with the extension *.CSV. Open the file and view the last archive entries.
Live Demo
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 60/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
Scenario “Send SMS” Table 6-7
No. Action / What happens? Note / Picture
1. In the WinCC flexible user interface navigate to the “Communication“ screen.
2. In the “SMS-Receiver“ field you enter your mobile phone number with country code (e.g. +49..) and confirm with Enter.
3. Then press the “Send SMS” button
Observe at the modem (LED “S“ and “C“ go out), how after a short while the connection with the SINAUT MICRO SC Server is cancelled and the GPRS connection is disconnected after sending the SMS.
4. You receive an SMS with the current filling level of the Remote Station “Inspection Shaft“
Performance Data of the Application
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 61/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
7 Performance Data of the Application
7.1 Estimating the communication costs
General information This chapter has two parts. The connection costs are considered separately for
• Remote Stations and for
• the Central Station.
Note At this point no absolute prices are given. The chapter is an aid for you to estimate your connection costs.
The GPRS connection costs and the standard internet connections are calculated on the basis of the presently typical tariff rate models. (As at August 2006)
7.1.1 Connection costs of the Remote Station
Fixed costs Table 7-1
No. Designation Note
1. Basic charge of the SIM card Does not always exist, e.g. a basic charge is usually not charged for “prepaid” SIM cards.
2. Charge for volume discount rate
Volume discount rate means that a certain free volume is available. (Regardless whether it is used or not.)
Note (Prepaid cards, however, are not recommended due to high block rounding10 and high tariffs.)
10 Block rounding: For payment purposes the produced data volume is summarized in blocks of certain size (typical 10kBytes). However, if the block volume is not used up within a certain period of time (typically 1 day), it is rounded up to the full block volume.
Performance Data of the Application
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 62/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
Variable costs Table 7-2
No. Designation Note
1. Connection costs The connection costs are usually paid for the transferred data volume unless they are included in the fixed costs as a volume discount rate. I.e. if you do not have a volume discount rate, you pay for the data volume sent.
7.1.2 Example of the connection costs of the Remote Stations
Example: fixed costs Table 7-3
No. Designation Costs
1. Basic charge of the SIM card 4 units 2. Charge for volume discount
rate 0 units (for 0 Mbytes free volume)
Example: variable costs Table 7-4
No. Designation Costs
1. Connection costs 0.08 units per 10 Kbytes
Example calculation of the connection costs of Remote Station “A”, which cyclically sends data to the Central Station every 15 minutes)
The following factors for the calculation are given:
• Connection costs: 0.2 units per 10Kbytes
• Send interval: every quarter of an hour
• Data amount: 280 bytes
Performance Data of the Application
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 63/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
Figure 7-1
Central Station
SINAUTMICRO SC
WinCCflexible
Station number: 0
Remote Station A
Station number: 1
Remote Station B
Station number: 2
P
P P
2
INTERNET
GPRSGPRS
ISp
1116
Internet Service Provider
12.3%
Send dataAcknowledgement
Performance Data of the Application
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 64/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
Where does a data volume of 280 bytes result from? Table 7-5 Remote Station “A” sends
Calculation Number Bytes
Note
1. Send Data: • Netto data • Header SINAUT MICRO SC • IP-Header • TCP-Header
50 15 20 32
Remote Station sends 50 Bytes netto data
2. Send acknowledgement for Data: • IP-Header • TCP-Header
20 32
SINAUT MICRO SC then returns an acknowledgement.
3. Send Transfer Status: • Clock synchronization • IP-Header • TCP-Header
7 20 32
SINAUT MICRO SC additionaly sends a status monitoring in form of the clock synchronization every 15 minutes
4. Acknowledgement for Transfer Status: • IP-Header • TCP-Header
20 32
The Remote Station then returns an acknowledgement.
5. Total 280 •
! Attention
This example calculation does consider: • Repeated sending if the acknowledge on the TCP/IP level is missing from
one package • A cross communication between modems • Sending data from the Central Station to the Remote Station • Sending on demand • Dialling into the GPRS network (2 kByte)
Performance Data of the Application
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 65/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
What is the data volume that is sent per month if the send-interval is a quarter of an hour? Table 6-6
No. Calculation Note
1. Hours per month: 720 hours
• 1 month = 30 days; • 1 day = 24 hours
2. Send jobs per month: 2880
1 send interval = 0.25 hours
3. Sent bytes per month: 806,400 bytes
280 bytes * 2880
What connection costs incur for a data volume of 288,000 bytes per month? Table 6-7
No. Calculation Note
1. Costs per byte: 0.000008 units per byte
0,08 Einheiten pro 10 KByte
2. Total costs: 6.46 units
0.000008 units per byte * 806,400 bytes
Plus the fixed costs of 4 units (see Table 7-3) the total costs per month and Remote Station amount to 10.46 units.
Note The tariffs can be extended with InclusiveVolumes. Tariffs are for example available for 7 units including 1 MB volume.
The above calculated volume would be in the range of InclusiveVolume with fixed costs only.
7.1.3 Connection costs of the Central Station
The recommended tariff rate for the Central Station is a presently common tariff rate with a free volume of 1 GB or more.
Even extremely high communication will not deplete this free volume. The following example will elucidate this:
Example: calculation of the connection costs of the Central Station In the following a calculation example is given for the data volume for an extreme communication load. This is a mere example and it does not refer to any possible system.
Performance Data of the Application
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 66/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
The following factors for the calculation are given:
• Number of Remote Stations: 100
• Send intervals of the Remote Stations: every quarter of an hour
• Data amount: 806,400 bytes
What is the data volume received per month for the specified factors? Table 6-8
No. Calculation Note
1. Received data volume per 100 stations per month:
80,640,000 bytes
• Number of Remote Stations: 100
• Data volume per Remote Station per minute: 806,400 bytes
Assuming a theoretical system with 100 Remote Stations which send 280 bytes of data every 15 minutes, the data volume used amounts to approx. 0.08 Gbytes.
7.2 Information on connection quality
General information Specific information on connection quality is not possible. The quality depends on many factors, such as the following:
• Mobile service provider
• INTERNET Service Provider
• Number of Remote Stations
• Frequency of cross communication
• Frequency of writing SINAUT MICRO SC to Remote Stations
Connection quality Due to the fact that the above factors cannot be excluded, the modem was designed so that an unsuccessful send job is signaled at the send block.
This gives the user of the user program the opportunity to react to an unsuccessful send job.
Performance Data of the Application
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 67/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
Here in the user program, a non-volatile buffer was implemented in the Remote Station “Inspection Shaft“ which secures the unsuccessfully transmitted data record from the above event.
During an unsuccessful send job, lost message frames can be reacted to with the safety mechanisms implemented in the user program. This ensures that overall no data are lost.
Technical Data
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 68/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
8 Technical Data
LOGO!Power 24 V/1.3 A Table 8-1
Criterion Technical data Additional note
Supply Voltage 85 to 264 V AC Output voltage DC 24 V (setting range DC
22.2 to 26.4 V)
Output current 1.3 A Dimensions (W x H x D) in mm
54 x 90 x 55
S7-200 CPU 224 XP Table 8-2
Criterion Technical data Additional note
Input voltage 24 V DC Current consumption 900 mA Output current 280 mA For expansion modules Interfaces 2x RS 485 interface
1x expansion bus for modules
Inputs/outputs • 14DI/10DO • 2AI/
EPROM user data 16 KByte Dimensions (W x H x D) in mm
140 x 80 x 62
SINAUT MD720-3 Table 8-3
Criterion Technical data Additional note
Connection RS232 SUB D9 female connector
Transfer rate of RS232 300 bit/s up to 57.600 bit/s Quadband 800, 900, 1800, 1900MHz Output power 2W 800, 900MHz
1W 1800,1900MHz
Supply Voltage DC24V (min. 12V , max.30V) Current consumption max. 260 mA Operating temperature –20°C to +60°C
Technical Data
Micro Automation Set 21 Entry-ID 22537809
05.05.2006 69/69
Cop
yrig
ht ©
Sie
men
s A
G 2
006
All
right
s re
serv
ed
Set
21_D
ocTe
ch_v
1d0_
en.d
oc
Criterion Technical data Additional note
Device design Top hat rail mounting Dimensions (W x H x D) in mm
22.5mm x 99mm x 114mm
WinCC flexible RT Table 8-4
Criterion Technical data Additional note
Operating system MS Windows 2000 / XP Professional
Variables
Depending on order, maximum of 2000 variables with external connection to the controller, internal values unlimited
Number of connectable partners, max.
Depending on scale of configuration (communication), up to 8 connections possible with WinCC flexible Runtime
Online languages, max. 16 Offline languages, max. 32