Вы находитесь на странице: 1из 206

1

2
SIMATIC HMI
3

6AV6392-1DA05-0AB0

1999

C79000-G8276-C163-01
WinCC, SIMATIC, SINEC, STEP SIEMENS AG.

, ,
.

(, (
.
. , ,
. . ,
, ,
.) .
,
.)

Siemens AG 1994 - 1999



C79000-G8276-C163
Siemens Aktiengesellschaft

1 1-1
1.1 1-2
1.1.1 (User Archives Editor) 1-2
1.1.2 (User Archive
Table Control) WinCC 1-3
1.1.3 (User Archives Script Functions) 1-3
1.1.4 1-4
1.2 1-7

2 2-1
2.1 2-1
2.1.1 2-1
1.1.2 2-9
1.1.3 2-11
1.2 2-12
1.2.1 2-13
1.2.2 2-15
1.2.2.1 2-15
1.1.1.2 2-22
1.1.1.3 2-27
1.1.1.4 2-29
1.1.1.5 2-31
1.1.3 2-37
1.1.3.1 2-37
1.1.1.2 2-40
1.1.1.3 2-42
1.1.1.4 2-45
1.1.4 2-47

3 WinCC 3-1
1.1 3-2
1.1.1 3-2
1.1.2 3-4
1.1.3 3-4
1.2 3-5
1.2.1 3-7
1.1.2 3-8
1.1.3 3-9
1.1.4 3-10
1.1.5 3-10
1.3 WinCC 3-11
1.3.1 WinCC 3-11
1.1.2 WinCC 3-12
1.4 3-20
1.4.1 3-20
1.1.2 3-21
1.1.3 3-21

WinCC i
C79000G8276C16301
08.99

1.1.4 3-26

4 4-1
4.1 4-1
4.2 4-3
4.3 4-5
4.3.1 4-5
1.1.2 4-6
1.4 4-8
1.5 4-19
1.5.1 API 4-19
1.5.2
4-19
1.1.3 4-20
1.1.4
4-20

5 SIMATIC S5/S7 5-1


1.1 WinCC 5-1
1.2 5-2
1.2.1 / WinCC 5-2
1.2.2 / SIMATIC S5 S7 5-2
1.2.3 5-3
1.2.4 5-3
1.3 WinCC S5/S7 5-6

6 6-1
6.1 SQL 6-1
1.2 SQL 6-2
1.3 6-4
1.3.1 6-5
1.1.2 6-6

ii WinCC
C79000G8276C16301
08.99

1
:



WinCC
.
(Graphics Designer)

(User Archive Table Control) WinCC.


(, S5, S7 Allen Bradley).
.

WinCC:
- : ,
.
SQL.
- : ,
, .

:
- .

(User Archives
Script Functions).
WinCC.


, .
,
.

WinCC 1-1
C79000G8276C16301
08.99

1.1
1.1.1 (User Archives Editor)
Windows
.
3 :

( )
.
( )
.
.
()
.
.


.
Windows.
.

1-2 WinCC
C79000G8276C16301
08.99

1.1.2
(User Archive Table Control) WinCC
.

.
.

,
.
. /
/.

,
online.


.

.
. (User Administrator).

1.1.3 (User Archives


Script Functions)
:



, , .
WinCC ,
SQL.

WinCC 1-3
C79000G8276C16301
08.99

1.1.4


.

( )
.
WinCC .

:
"HPTurbine1".
.
"HPTurbine1" :

HPTurbine1

RPM ( )


1
2


1
2

S5 / S7
PLC 805


804
15

803
HD Turbine1 15

802

1-4 WinCC
C79000G8276C16301
08.99

:
.
Coke
(S5, S7,
AllenBradley, Applicom, ..).


Coke

7

,
WinCC, WinCC
WinCC. , WinCC
.


WinCC
"" .
.
SQL
. , ,
.

- -. ()
()
()
. . ()
. ()
()
-.= - - ()

.
.
,
.
.

WinCC 1-5
C79000G8276C16301
08.99


, ODBC
4.02,
4.02 .
( 4.02)

. , ODBC ,
.

1-6 WinCC
C79000G8276C16301
08.99

1.2

:

(
),
.
( )
.
/ / (
/ ).


WinCC.
CSV (
, , MS Excel).

/ (S5, S7, ..)

( ).
( WinCC).
WinCC .

.
.
/ ( / ).

.
.
.

, .
.
.

WinCC 1-7
C79000G8276C16301
08.99

WinCC .
.
.

1-8 WinCC
C79000G8276C16301
08.99

2
2.1
2.1.1
, .
:



Project () Restore () Ctrl + N
Save () Ctrl + S
Export... ()
Import... ()
Check...()
Convert..().
Exit ()
Edit () Cut () Ctrl + X
Copy () Ctrl + C
Paste () Ctrl + V
Runtime Data ( Ctrl + R
)
Options () Ctrl + O
View () Toolbar (
)
Status Bar ( )
Divide ()
Update () F5
Runtime Data ( Import ()
)
Export ()
Help () Help Topics ( )
Log File... ( )
About... ( )


"Cut" (), "Copy" () "Paste" ()
. ,
, .
,
(,
).

WinCC 2-1
C79000G8276C16301
08.99

""
.
,
.
.

( )

( )
WinCC.

"Export"() "Project" ()
, ,
WinCC.
.
,
".uap".
, .
, "Export" ()
.
.



"Export" () "Runtime Data" ( ).

2-2 WinCC
C79000G8276C16301
08.99

( )

( )
WinCC.

,
,
, ".uap" .
"Import" () "Project" (). ,
, .
.
,
".uap".
,
. ,
"Import" () .
.



"Import" () "Runtime Data" ( ).

WinCC 2-3
C79000G8276C16301
08.99

Check () , WinCC
, .
, :
. ,
:

, ,
(Tag Manager).

Convert ()
, (Tag Logging)
3.x .

:
1. .
2. .

:
1. "Convert"
().
2. ,
"Close" ().
3. .

2-4 WinCC
C79000G8276C16301
08.99

:
1. "Project Convert" ( ).
2. "Convert Old Archives" ( )
"RT Data..." ( ).
"Convert Runtime Data" (
).

3.
, "Convert" ().
4. "Convert Runtime Data" (
).
5. "Convert Old Archives" (
).



. , "
" .

,
.
:

:
,
.

WinCC 2-5
C79000G8276C16301
08.99

:
,

.

:
,
.

:
,
.

( )
( )
.

"File Selection" ( )
. "..." .
"ua" .

"File Format" ( ) .
Options() .
";".

"Archive Selection" ( )
.

"Import" ().
,
.

2-6 WinCC
C79000G8276C16301
08.99


:
, "c:\Projects\Test\UA",
.
, "I:\Test\UA". ,
"I:\Test\UA".
. ,
,
, "C:\Projects\Test\UA".

WinCC 2-7
C79000G8276C16301
08.99

( )
( )
.

"File Selection" ( )
. "..." .
"ua" .

"File Format" ( ) .
Options() .
";".

"Archive Selection" ( )
.

"Filter" () .
"Filter for Field" ( ), , .
"from ... to" ( ) .

"SQL Expression" (SQL )


SQL.
SQL .

"Export" ().

2-8 WinCC
C79000G8276C16301
08.99


:
, "c:\Projects\Test\UA",
.
, "I:\Test\UA". ,
"I:\Test\UA".
. ,
,
, "C:\Projects\Test\UA".

2.1.2

. .

"Properties" ()
.
.
"Properties" () ,

. "Properties" ()
.

WinCC 2-9
C79000G8276C16301
08.99

"Delete" () .

. ,
"Delete" () ( ).

"New" ()
.
.

2-10 WinCC
C79000G8276C16301
08.99

2.1.3

"Edit Runtime Data" (


)
.
.
. "Properties" () ,

. "Properties" ()
.
.
,

"CTRL + C".
CTRL + V. , ..
.



,

( ).

WinCC 2-11
C79000G8276C16301
08.99

2.2
.
,
. :

2-12 WinCC
C79000G8276C16301
08.99

2.2.1
, "Sun Drink"
"Calif Coke" "Sunny Juice".
WinCC.
,
WinCC.
.

WinCC 2-13
C79000G8276C16301
08.99

:
: Coke
.
: .
.

,
. , Coke
. , , ,
, , , , ..
.
, ,
. , "Coke" :

Coke ()
. . .
() . . .
5 2 1000 1500 1000
Zmela 2 120 140 130
7 FS1007 D1007 2 6 8 6
2 2 3 2
. . PhosAc 2 170 190 170

2-14 WinCC
C79000G8276C16301
08.99

2.2.2

2.2.2.1

wincc :
- "User Archives"
( ) "Open" ()
. .


500 .
,

"UAQueryArchive".

"Create Archives in a Loop" ( )


.
, "Edit Options"
( ).

:
1. , "Archives" ().
2. .
:

3. "New Archive" ( ).

WinCC 2-15
C79000G8276C16301
08.99


"General" ().
.

, , "Coke". "Alias"
() , , "Calif Coke",

. .

online
.

"Limited" (), "Records" ()


. "Unlimited"
()
.

(
) SQL. . "
SQL ".

2-16 WinCC
C79000G8276C16301
08.99


"Communication" ()
:

"Type" () :
:
:
WinCC: WinCC

, , "via
Raw Data Tag". "PLCID" .
"PLCID" 8 ASCII.
,

.

"via a Raw Data Tag" ( ), ,


"Select" (), .

"via a WinCC Tag" ( WinCC ),


.


.
WinCC .

WinCC 2-17
C79000G8276C16301
08.99


"Control Tags" ( )
WinCC, .

WinCC, ID
, , .

"Select" (),
.
WinCC, .
"Create..."
(). "@UA[ ]",
@UA[ ]ID,
@UA[ ]Job ..

,
. ,
"ID" "Job", "Job", "Field" "Value".

2-18 WinCC
C79000G8276C16301
08.99


ID ( )
Instruction Code : Read (),
( Write () Delete ():
) Read () =6
Write () =7
Delete () =8
,
:
No Error ( ) = 0
Error () = 1
Field ()
Value
()

,
.
" ".


"Authorizations and Flags" ( )

/ .

.
"Select" ().
"Authorization Levels" ( ),
, :

WinCC 2-19
C79000G8276C16301
08.99

"Field Last Modification" ( )


,
. "Field Last User" (
) , ,
.
1. .
2. , "Last User" ( ).
3. , "Finish" ().

, , ,
"Add Fields?" ( ?). "Yes" (),
"General" ().
" ".

"Edit Options" ( ) "Create


Archives in a Loop" ( ),
"Next Archive?" ( ?). "Yes" ()
"General" ().

2-20 WinCC
C79000G8276C16301
08.99

, "Save " ()
, "Project Save" ( ).


, ,
.
"Redundancy" (), "Last Modification"
( ) .

, "Coke" :


Coke Name (): Coke
Alias (): Calif Coke
Type (): Unlimited ()
Max. Records
(. ): 1
Com. Type ( ): Raw ( )
PLCID: S7112
Tag Name ( ): CalifVarGroup
Right read ( ): 0
Right write ( ): 0
Flags (): U
Pos. (): 3
Last modification
( ): 03/05/98 12:54

WinCC 2-21
C79000G8276C16301
08.99

2.2.2.2
.

"Create Fields in a Loop" ( )


.
, , "Edit Options"
( ).
1. , "Archives" () ( "+").
"Coke".
2. "Coke".
:

3. "New Field" ( ).

"General" ().


,
:

, , "Unique" (), "Not Null" ( ), ..
.

.

2-22 WinCC
C79000G8276C16301
08.99


"General" () ,
, , .

"Field Name" ( ) .
"Water" ().
"Alias" () ,

.
.
online
.

"Type" () :
Integer () 32
Double ( ) 64 IEEE 754
String () , 8
Date/Time (/)


"Date/Time" (/)
.

WinCC 2-23
C79000G8276C16301
08.99


"Values" () ,
.

,
, "Double"
( ), .

WinCC
WinCC,
. :
1. .
2.
"Select" ().
3. "Create"
().
4. , "Edit"
().

2-24 WinCC
C79000G8276C16301
08.99


"Authorizations and Flags" ( )
.

"Select" ()
.
.
.

"Flags" ()
:
1. "Field must contain a Value" ( ):
- .
2. "Field must contain a unique Value" (
):
- , ..
.
3. "Field supported by an Index" ( ):
- , .
.
4. , "Finish"
().
"Coke" .

"Create Fields in a Loop" ( )


"Edit Options" ( ), "Create Next
Field?" ( ?). "Yes" (),
"General" () .
5. .

WinCC 2-25
C79000G8276C16301
08.99

2-26 WinCC
C79000G8276C16301
08.99

2.2.2.3
, :
- , ,
, "Coke" ( ).
- "Properties" ().

"Archive Properties" (
), .
"General" (), "Communication" (), "Authorizations and Flags"
( ) "
". "Sequence" ()
.

WinCC 2-27
C79000G8276C16301
08.99

"Sequence" ()
"Sequence" ()
.


"up" () "down" (). ,
"OK". , "Save" ()
, "Project Save" (
).
"Pos.".

2-28 WinCC
C79000G8276C16301
08.99

2.2.2.4
:
- , ,
, "Coke" ( ).
-
"Coke":


:
- ,
"Water" ().
- "Properties" ().

"Field Properties" ( ),
. "General" (),
"Values" (), "Authorizations and Flags" ( )
" ". "Sequence"
() .

WinCC 2-29
C79000G8276C16301
08.99

"Sequence" ()
"Sequence" ()
.

,
, .


"up" () "down" ().
, "Save" ()
, "Project Save" ( ).

"Pos.".
, "Coke" :


Coke Water () Name (): Water ()
Alias (): Water_from_Well_4
(___4)
Type (): Integer ()
Length ():
Precision ():
Min. Value (. ): 1000
Max. Value (. ): 1200
Start Value ( ):1100
Tag n... ( ):
Right (read) ( ): 0
Right (write) ( ):: 0
Flags (): NN
P...: 3
Last modification ( ):
03/05/98 12:54

2-30 WinCC
C79000G8276C16301
08.99


Sugar () Name ()
Alias ()
....
Coloring7 Name ()
( 7)
Alias ()
....
Caffeine Name ()
()
Alias ()
....
Phosphoric Name ()
Acid
(
)
Alias ()
....

2.2.2.5

. "Edit" ()
. "Tag Properties" (
) , ,
.


@UA_Coke_ID 32
@UA_Coke_Job 32
@UA_Coke_Field 8
@UA_Coke_Value 8

,
. ,
"ID" "Job", "Job", "Field" "Value"

WinCC 2-31
C79000G8276C16301
08.99


ID ( )
Instruction Code : Read (), Write ()
( Delete ():
) Read () =6
Write () =7
Delete () =8
,
:
No Error ( ) = 0
Error () = 1
Field ()
Value ()

:
1. "ID" "Instruction Code",
, .
2. "ID",
"Field" and "Value". "Instruction Code"
, .
,
, .
"Value" ,
.



online .

2-32 WinCC
C79000G8276C16301
08.99

:
,
:


1. ( , "Coke").
, , ,
. "Coke" ,
, ,
.

"Coke"
Archive Type ( ) "Unlimited" ()
Communication () Via WinCC Tags ( WinCC)
Control Tags ( ) Generate ()
Tag Group ( ) "@UA_Coke"
@UA_Coke_ID 32
@UA_Coke_Job 32
@UA_Coke_Field 8
@UA_Coke_Value 8
2. "Water" (), "Sugar"
(), "Coloring7" ( 7), "Caffeine" () "Phosphoric Acid"
( ) ( ).
3. "Recipes" () ( ).


1.
WinCC.
"WinCC User Archives Table
Control Properties" ( WinCC).

WinCC 2-33
C79000G8276C16301
08.99

"Source" () "General" ()
"Archives" ()
" Coke ".
"Edit" (), "Read
Only" ( ). "Insert" (),
"Change" () "Delete" ().
.
,
, ,
.
2. /
:


@UA_Coke_ID Decimal () 0999
@UA_Coke_Job Decimal () s9
@UA_Coke_Field String () *
@UA_Coke_Value String () *

"Update upon Change"


( ).
3. /
(Water, Sugar, ..)
(, / "Water" "@UA_Coke_Water").
"Update upon Change" (
).

2-34 WinCC
C79000G8276C16301
08.99


/
.

/,
. /
.
. .
ID 2 "Coke", ID 4 "Coke Light".


1. ID :
"3" / "ID" "7" () "Instruction
Code" ( ).
"3" /
.
, "Instruction Code" (
) "0". ,
"1".
"Field" "Value" .


ID "1" "6",
.
ID . 7 () 8 ()
ID = 1.

WinCC 2-35
C79000G8276C16301
08.99

2. ID :
/
"5" "ID". "6" () "Instruction Code" (
).

"5" .
"Field" "Value" .
3. "Field" "Value":
/ "Field" "Recipes", "Value"
"Coke Light". "7" ()
"Instruction Code" ( ).
"Coke Light"
/ .
"ID" "0".


, "Value",
"Field must contain a unique Value" (
), "Authorizations and Flags" (
).
.
, /
(, 34.864).
, "Value" ,
, 'Coke Light'.

2-36 WinCC
C79000G8276C16301
08.99

2.2.3

2.2.3.1
"Create Views in a Loop" ( )
.
, "Edit
Options" ( ).

:
1. , "Views" ().

2. .
:

3. "New View" ( ).

WinCC 2-37
C79000G8276C16301
08.99

.
"General" ()
.

, , , "Colorings" ().
"Alias" () ,
, "Colorings in Coke and Juice" ( Coke )

.
.
online
.

, "Finish" ().

, "Add
Columns?" ( ?). "Yes" ()
.
" ".

2-38 WinCC
C79000G8276C16301
08.99

"Edit Options" ( ) "Create Views


in a Loop" ( ),
"Next View?" ( ?). "Yes" ()
.

WinCC 2-39
C79000G8276C16301
08.99

2.2.3.2
"Create Columns in a Loop" ( )
.
,
"Edit Options" ( ).
1. "Views" ().
, , "Colorings" ()
.
2.
"Colorings" ().
:

3. "New Column" ( ).

"General" ().


"General" () ,
, .

"Archive" ()
. , "Coke".
"Field" ()
"Coke". , "Coloring7" (7).
"TAB" .
"Column Name" ( )
. "Colorings"
().

2-40 WinCC
C79000G8276C16301
08.99

"Alias" () ,
, "Colorings in Coke and Juice" ( Coke )

.
.
online
.

"Finish" ()
:

( )
"Colorings" (),
"Coloring7" (7) "Coloring16" (16) "Coke" "Juice".

"Create Columns in a Loop" ( ) ,


"Edit Options" ( ),
"Create Next Column?" ( ?). "Yes"
() "General" ()
.

WinCC 2-41
C79000G8276C16301
08.99

2.2.3.3
:
1.
.
2. "Properties" ().

"View Properties" (
).


"General" ()
.

"View Name" ( )
"Alias" ().
.

2-42 WinCC
C79000G8276C16301
08.99


"Relation" ()
.
SQL,
. ,
.

"Relation" () SQL
. SQL
.

.

, . "Add"
() .
"Relation" ().


, .

.
.

WinCC 2-43
C79000G8276C16301
08.99


"Sequence"
().


"up" () "down" (). ,
"OK". , "Save" ()
"Project Save" (
).
"Pos.".

2-44 WinCC
C79000G8276C16301
08.99

2.2.3.4
:
1.
.
2. "Properties" ().
"Column Properties" ( ):

"General"() , ,
. "Modified" ()
.

WinCC 2-45
C79000G8276C16301
08.99



"Sequence" ().


"up" () "down" ().
, "OK". ,
"Save" ()
"Project Save" ( ).

.

2-46 WinCC
C79000G8276C16301
08.99

2.2.4


.
"PLCID" 8 .

, . . "
SQL".

, ( "Restore" ()),
"UAEditor.loc".
.

runtime
"Error while connecting the data!" (
), ,
.
/.
WinCC V4.02 V4.02SP1, "User Archives
Table Control" ( WinCC)
WinCC V5.0.
,
(Package Browser).
.
/
.

WinCC 2-47
C79000G8276C16301
3 WinCC

. :





.
,
.

( )
.
: , .



/
/.
.
.

WinCC 3-1
C79000G8276C16301
08.99

3.1
WinCC
:
1.
.

"Coke".
2.
.
3. .
4. .

3.1.1

, ()
. :
1. "Object Palette" ( ), "Smart Objects"
( ).
2. "OLE Control" (OLE ),
.
3. "Insert OLE Control (OCX)" (
OLE ) "WinCC User Archives Table Control" (
WinCC) "OK".

3-2 WinCC
C79000G8276C16301
:
1. "Controls" ( )

.
2. WinCC.

WinCC 3-3
C79000G8276C16301
08.99

3.1.2
"Coke"
( ).
1. "WinCC User Archives
Table Control" ( WinCC).
, "General"
().

2. "Source" () ,
. "Select" ()
"Coke".
3. "Edit" ()
. "Insert" (), "Change" ()
"Delete" (). "Read only" ( ).
4. "Border" () .
.

3.1.3

:
1. .
2. "Delete" () "Edit
Delete" ( ).
!
"Edit Undo" ( ),
"CTRL Z".

3-4 WinCC
C79000G8276C16301
3.2


.

.


.
1. "CTRL"
.
. .

WinCC 3-5
C79000G8276C16301
08.99

2.
.
.
.
:



"Create all" ( ),
. ,
. "Create selected" ( )
, "Columns" ().

3-6 WinCC
C79000G8276C16301
3.2.1
, .


,
. :

"Insert Text Field" ( )


"Text Field Properties" ( ):

"Text" () . "Coke Input Form"


( Coke) .


"Text",
. , ,
, .

WinCC 3-7
C79000G8276C16301
08.99

3.2.2
, .


,
. :

"Insert Edit Field" ( )


"Edit Field Properties" ( ):

.
"Water". , ,
Sugar, Coloring7, Caffeine, Phosphoric Acid, ..

3-8 WinCC
C79000G8276C16301
3.2.3
, .


, .
:

"Insert Button" ( )
"Button Properties" ( ):

"Text" () , .
"Table View" ( ).

"Action" () .
,
. "Form" ()

.


.

.

WinCC 3-9
C79000G8276C16301
08.99

3.2.4
,
"Properties" (),

.

( ,
).

3.2.5
,
"Delete" (). "Delete"
(), .

3-10 WinCC
C79000G8276C16301
3.3 WinCC
3.3.1 WinCC
WinCC
"Properties"
(). , "Filter" (),
"Form" (), "Press TB (Toolbar) Button" ( )
"Sort" (). ,

(
).

"Properties" (), "Object Properties" (


), "OLE Control Properties" ( OLE ).


WinCC
online.


.
.
, , ..
, .

WinCC 3-11
C79000G8276C16301
08.99

3.3.2
WinCC
"General" ()


Source "Select" () ,
()
.
Edit "Edit" ()
( . "Read only" (
) ) "Insert" (),
"Change" () and "Delete" ().
"Change" ().
Border "Border" () ,
() .
Form "Form" () ,
()
.

3-12 WinCC
C79000G8276C16301

"Select" ()
.
.


,
.
.
. "Hierarchy"
() .
, .

,
"Load" ().

WinCC.


,
"Error
while connecting the data!" ( ).
, WinCC V4.02 V4.02SP1
WinCC V5.0.

. .
,
/.

WinCC 3-13
C79000G8276C16301
08.99

"Columns" ()


Columns "Columns" () ,
()
.
Properties "Properties" ()
() ( "Columns" ()).
Locked "Locked" ()
() .
Format () "Format" (),
:
Fixed () ( "%.2f")
Scientific () ( "%e")
Date () ( "%x")
Time () ( "%X")
TimeStamp
( ) ( "%c")
.
Orientation "Orientation" () "Left" ( ),
() "Centered" ( ) "Right" ( ).
Reset () "Reset" () .


"Format" ()
(, "%3f" )
"%x".

3-14 WinCC
C79000G8276C16301
"Toolbar" ( )


Icons () "Icons" ()
.
Access "Access" ()
() .
Select () "Select" ()
"Authorization Levels" ( ),
.
Turn Off "Turn Off" ()
() .
Hotkey "Hotkey" ( )
( .
)

WinCC 3-15
C79000G8276C16301
08.99

"Authorization Levels" ( )
.
.

"Status Bar" ( )


Areas "Areas" ()
() .
Turn Off "Turn Off" ()
() / .
, :

3-16 WinCC
C79000G8276C16301
"Filter/Sort" (/)


"Filter Condition" ( ) .
SQL.
SQL, .
: FieldC > 100
, "FieldC" 100.

,
"Create..." ().

WinCC 3-17
C79000G8276C16301
08.99

"Filter By" ( ) ,
( ). "Followed By"
"At Last By" .
.


"Sort" () .
SQL.
. SQL .

,
"Create..." ().

"Sort By" ( ) ,
( ). "Followed By"
"At Last By" .
.
"Ascending" "Descending".

3-18 WinCC
C79000G8276C16301
"Fonts" ()

"Fonts" () ,
.

"Colors" ()

"Colors" () ,
.

WinCC 3-19
C79000G8276C16301
08.99

3.4

3.4.1

( ).

,
.



,
.
.
.

3-20 WinCC
C79000G8276C16301
3.4.2

.



,
.

3.4.3
:

WinCC 3-21
C79000G8276C16301
08.99



.
.


, , .
,
. " " ,
. ,

. ,
F2 .


/ / .


WinCC.

"Archive Properties" (
) "Communication" () WinCC.

/
CSV.
! Excel, CSV
.


:
, "c:\Projects\Test\UA",
. ,
"I:\Test\UA". ,
"I:\Test\UA".
. , ,
,
"C:\Projects\Test\UA".

3-22 WinCC
C79000G8276C16301

.
.
, ,
.

SQL.
SQL , .
.
: ID < 100
, ID 1
99.

,
"Create..." ().

"Filter By" ( ) ,
( ). "Followed By"
"At Last By" .
.

WinCC 3-23
C79000G8276C16301
08.99


, ..
,
.

SQL.
. SQL .
.

,
"Create..." ().

"Sort By" ( ) ,
( ). "Followed By"
"At Last By" .
.
"Ascending" "Descending".


, ..
,
.

3-24 WinCC
C79000G8276C16301


.

WinCC 3-25
C79000G8276C16301
08.99

3.4.4


/.
, ,
.

: "Press TB Button" (
)
, :
1. (

"Properties" ()).
2. "Events" () "Mouse" ().
"Mouse Action" ( ).
"Action" ()
"Direct Connection" ( ).

3-26 WinCC
C79000G8276C16301
3. "Source" () "Constant"
() , , "Form" () (
). "Target" (),
"Object in Screen" ( )
"Object" ().
"Property" () "Press TB Button" (
) "OK"
.

4.
. "Form",

.

WinCC 3-27
C79000G8276C16301
08.99

, ,
.
:



Form ()

Delete ()
New ()

Edit ()

First ( )
Previous (
)
Next ( )

Last ( )

ReadTag ( )
WriteTag ( )

Import ()

Export ()
Filter ()

Sort ()

Help ()



, "TAB" "Position 1",
.
, "VTB_Focus",
. .

3-28 WinCC
C79000G8276C16301
4
:






WinCC.

WinCC ,
.


. "ua", "uaConnect",
"uaArchiveOpen", uaArchiveGetFields", ..
"uaArchive".


.
, .
"uaQueryConfiguration",
"uaConnect" "uaOpen".



.
.
,
,
. .

4.1
:
1. .
2. ,
(, ).
3. "Properties" ().
4. "Properties" () "Events" ()
(,
, "Events/Mouse/Press left"
(// )).
,
.

WinCC 4-1
C79000G8276C16301
08.99

5. "OK".

4-2 WinCC
C79000G8276C16301
4.2

.


.


"uaQueryConfiguration"
(UAHCONFIG).
"uaSetArchive", "uaAddArchive", "uaSetField", "uaAddField", ..
"uaReleaseConfiguration"
.



uaConnect.
"uaConnect" "UAHCONNECT",
. "uaDisconnect"
.


.
"uaQueryArchive" "uaQueryArchiveByName"
.
"uaArchiveOpen", .


"uaArchiveNext", "uaArchivePrevious", "uaArchiveFirst" "uaArchiveLast"
.
"hArchive".

"uaArchiveUpdate" ,
.
"uaArchiveNext", "uaArchivePrevious",
"uaArchiveFirst" or "uaArchiveLast".

WinCC 4-3
C79000G8276C16301
08.99


"uaArchiveClose" .
"uaReleaseArchive" ,
"uaDisconnect" .


UaQueryConfiguration UaReleaseConfiguration
UaConnect UaDisconnect
uaQueryArchive UaReleaseArchive
uaQueryArchiveByName UaReleaseArchive
uaArchiveOpen UaArchiveClose



.
API :
1. "ua" ( ) (
).
2. "UA" ( ) ,
WinCC.
, "UA"
( ).

4-4 WinCC
C79000G8276C16301
4.3
4.3.1

"uaQueryConfiguration" "UAHCONFIG",
. ,
"uaQueryConfiguration" ,
"UAHCONFIG".
, .
"uaReleaseConfiguration".



UaQueryConfiguration > UAHCONFIG
:
UaAddArchive
UaAddField
UaGetArchive
UaGetField
UaGetNumArchives
UaGetNumFields
UaReleaseConfiguration
UaRemoveAllArchives
UaRemoveAllFields
UaRemoveArchive
UaRemoveField
uaSetArchive
uaSetField

WinCC 4-5
C79000G8276C16301
08.99

4.3.2

"uaConnect" "UAHCONFIG",
.
, "uaConnect" ,
"UAHCONFIG".
.
"uaDisconnect".

"uaQueryArchive" "uaQueryArchiveByName"
"UAHARCHIVE". "uaArchiveOpen",
.
"uaRelease" "uaArchiveClose".



UaConnect >
UAHCONNECT
:
UaDisconnect
UaQueryArchive > UAHARCHIVE
UaQueryArchiveByName > UAHARCHIVE
:
UaArchiveOpen

:
UaArchiveClose
UaArchiveDelete
UaArchiveExport
UaArchiveGetFieldLength
UaArchiveGetFields
UaArchiveGetFieldType
UaArchiveGetFieldValueDate
UaArchiveGetFieldValueDouble
UaArchiveGetFieldValueLong
UaArchiveGetFieldValueString
UaArchiveGetFieldName
UaArchiveGetFilter
UaArchiveGetID
UaArchiveGetName
UaArchiveGetSort
UaArchiveImport

4-6 WinCC
C79000G8276C16301


UaArchiveInsert
UaArchiveMoveFirst
UaArchiveMoveLast
UaArchiveMoveNext
UaArchiveMovePrevious
UaArchiveReadTagValues
UaArchiveReadTagValuesByName
UaArchiveRequery
UaArchiveSetFieldValueDate
UaArchiveSetFieldValueDouble
UaArchiveSetFieldValueLong
UaArchiveSetFieldValueString
UaArchiveSetFilter
UaArchiveSetSort
UaArchiveUpdate
UaArchiveWriteTagValues
UaArchiveWriteTagValuesByName
UaReleaseArchive

WinCC 4-7
C79000G8276C16301
08.99

4.4


. "UAReadFromArchive"
"Coke"
"WinCC Global Script Diagnostics Control" (
WinCC). "UAWriteToArchive"
.
OLE ( Object Palette > Smart Objects (
)) "WinCC Global Script
Diagnostics Control" ( WinCC)
"Insert OLE Control (OCX)" ( OLE ).

.
"Read Archive" ( ) "Write Archive"
( ) .
:

4-8 WinCC
C79000G8276C16301
1. "Object Palette" ( ) >
"Windows Objects" ( Windows) "Button" ().
2.
.
3.
Properties" (). "Properties" ()
. , ,
"Read Archive" ( ) "Write Archive" ( ).
4. "Events" (),
"Mouse" () "Mouse Action" ( ).
.
"UAReadFromArchive" , :

WinCC 4-9
C79000G8276C16301
08.99

#include "apdefap.h"

void UAReadFromArchive()
{
UAHCONNECT hConnect;
UAHARCHIVE hArchive;
LONG IndexArchive;
LONG FieldLength;
LONG FieldType;
LONG NumberOfFields;
LONG Index;
long IntValue;
double DoubleValue;
char ArchiveName[255], StringField[255];
SYSTEMTIME SysDate;

//******* ***************
if ( uaConnect( &hConnect ) == FALSE )
{
printf( "uaConnect error: %d\n", "uaGetLastError()" );
return;
}
if ( hConnect == NULL )
{
printf( "Handle UAHCONNECT equals NULL\n" );
return;
}

//******* ****************************
if ( uaQueryArchiveByName( hConnect, "Chili", &hArchive ) == FALSE )
{
printf( "uaQueryArchive Error: %d\n", "uaGetLastError()" );
return;
}

4-10 WinCC
C79000G8276C16301
//******* **********************************************
if ( uaArchiveOpen( hArchive ) == FALSE )
{
printf( "uaArchive Open Error\n" );
return;
}
//******* ************************************
NumberOfFields = uaArchiveGetFields( hArchive );
printf( "Number of Fields = %u\n", NumberOfFields );
//******* ************************************
for ( Index = 1; Index < NumberOfFields; Index++ )
{
printf( "Data of Field %u: \n", Index );
FieldType = uaArchiveGetFieldType( hArchive, Index );
switch ( FieldType )
{
case UA_FIELDTYPE_INTEGER :
printf("Field Type = Integer\n");
if ( uaArchiveGetFieldValueLong (
hArchive, Index, &IntValue ) == TRUE )
printf( "Field Value = %u\n", IntValue );
else
printf(
"Error callinguaArchiveGetFieldValueLong:
%d\n", uaGetLastError() );
break;
case UA_FIELDTYPE_DOUBLE :
printf("Field Type = Double\n");
if ( uaArchiveGetFieldValueDouble (
hArchive, Index, &DoubleValue ) == TRUE )
printf( "Field Value = %g\n", DoubleValue );
else
printf
( "Error calling uaArchiveGetFieldValueDouble:
%d\n", uaGetLastError() );
break;

WinCC 4-11
C79000G8276C16301
08.99

case UA_FIELDTYPE_STRING :
printf("Field Type = String\n");
if ( uaArchiveGetFieldValueString (
hArchive, Index, StringField, 20 ) == TRUE )
printf( "Field Value = %s\n", StringField );
else
printf
( "Error callinguaArchiveGetFieldValueString:
%d\n", uaGetLastError() );
break;

case UA_FIELDTYPE_DATETIME :
printf("Field Type = Date & Time\n");
if ( uaArchiveGetFieldValueDate ( hArchive,
Index, &SysDate ) == TRUE )
printf( "%d.%d.%d\n ",
SysDate.wDay, SysDate.wMonth, SysDate.wYear, );
else
printf
( "Error calling uaArchiveGetFieldValue
Long: %d\n", "uaGetLastError()" );
break;

case 1 :
default :
printf( "Error executing uaArchiveGetFieldType\n");
}

//******* *******************************
FieldLength = uaArchiveGetFieldLength( hArchive, Index );
if ( FieldLength != 1 )
printf( "Field Length = %u\n", FieldLength );
else
printf( "Error executing uaArchiveGetFieldLength\n");
}

4-12 WinCC
C79000G8276C16301
//******* ***********************************************
if ( uaArchiveClose ( hArchive ) == FALSE )
{
printf( "error on closing archive\n" );
return;
}

//****** ****************************************
if ( uaReleaseArchive ( hArchive ) == FALSE )
{
printf( "error on releasing archive\n" );
return;
}

//******* **************
if ( uaDisconnect ( hConnect ) == FALSE )
{
printf( "error on disconnection\n" );
return;
}
}

WinCC 4-13
C79000G8276C16301
08.99

.
. "UAWriteToArchive"
:

void UAWriteToArchive()
{
UAHCONNECT hConnect;
UAHARCHIVE hArchive;
LONG IndexArchive;
LONG FieldLength;
LONG FieldType;
LONG NumberOfFields;
LONG Index;
long IntValue;
double DoubleValue;
char StringField[255];
SYSTEMTIME SysDate;

4-14 WinCC
C79000G8276C16301
//******* ***************
if ( uaConnect( &hConnect ) == FALSE )
{
Printf( "uaConnect error: %d\n", "uaGetLastError()" );
Return;
}
if ( hConnect == NULL )
{
Printf( "Handle UAHCONNECT equals NULL\n" );
Return;
}
//******* ****************************
if ( uaQueryArchiveByName( hConnect, "Chili", &hArchive ) == FALSE )
{
printf( "uaQueryArchive Error: %d\n", "uaGetLastError()" );
return;
}
//******* **********************************************
if ( uaArchiveOpen( hArchive ) == FALSE )
{
printf( "uaArchive Open Error\n" );
return;
}
//******* ************************************
NumberOfFields = uaArchiveGetFields( hArchive );
printf( "Number of Fields = %u\n", NumberOfFields );

//******* ****************************************
if ( uaArchiveMoveLast( hArchive ) == TRUE )
printf( "Number of Fields = %u\n", NumberOfFields );
else
{
printf( "uaArchiveMoveLast Error: %d\n", "uaGetLastError()" );
return;
}

WinCC 4-15
C79000G8276C16301
08.99

//******* *****************************************
IntValue = 32;
DoubleValue = 64;
strcpy( StringField, "Text12" );
GetSystemTime( &SysDate );

for ( Index = 1; Index < NumberOfFields; Index++ )


{
Printf( "Data of Field %u: \n", Index );

FieldType = uaArchiveGetFieldType( hArchive, Index );

Switch ( FieldType )
{
case UA_FIELDTYPE_INTEGER :
printf("Field Type = Integer\n");
if ( uaArchiveSetFieldValueLong ( hArchive,
Index, IntValue ) == TRUE )
printf( "Field Value = %u\n", IntValue );
else
printf( "Error calling uaArchiveSetField
ValueLong: %d\n", "uaGetLastError()" );
break;

case UA_FIELDTYPE_DOUBLE :
printf("Field Type = Double\n");if ( uaArchiveSetField
ValueDouble ( hArchive, Index, Double
Value ) == TRUE )
printf( "Field Value = %g\n", DoubleValue );
else
printf( "Error calling uaArchiveSetField
ValueDouble: %d\n", "uaGetLastError()" );
break;

4-16 WinCC
C79000G8276C16301
case UA_FIELDTYPE_STRING :
printf("Field Type = String\n");
if ( uaArchiveSetFieldValueString (
hArchive, Index, StringField ) == TRUE )
printf( "Field Value = %s\n", StringField );
else
printf
( "Error calling uaArchiveSetFieldValue
String: %d\n", "uaGetLastError()" );
break;

case UA_FIELDTYPE_DATETIME :
printf("Field Type = Date & Time\n");
if ( uaArchiveSetFieldValueDate ( hArchive,
Index, &SysDate ) == TRUE )
printf( "%d.%d.%d\n ",
SysDate.wDay, SysDate.wMonth, SysDate.wYear );
else
printf
( "Error calling uaArchiveGetFieldValue
Long: %d\n", "uaGetLastError()" );
break;

case 1 :
default :
printf( "Error executing uaArchiveGetFieldType\n");
}

FieldLength = uaArchiveGetFieldLength( hArchive, Index );


if ( FieldLength != 1 )
printf( "Field Length = %u\n", FieldLength );
Else
printf( "Error executing uaArchiveGetFieldLength\n");

WinCC 4-17
C79000G8276C16301
08.99

//******* ************************************************
if ( uaArchiveClose ( hArchive ) == FALSE )
{
Printf( "error on closing archive\n" );
Return;
}

//****** ****************************************
if ( uaReleaseArchive ( hArchive ) == FALSE )
{
Printf( "error on releasing archive\n" );
Return;
}

//******* **************
if ( uaDisconnect ( hConnect ) == FALSE )
{
Printf( "error on disconnecting\n" );
Return;
}
}


.
.

4-18 WinCC
C79000G8276C16301
4.5

4.5.1 API


COM.



uaGetLastError
uaGetLastHResult COM

4.5.2

.



uaAddArchive
uaAddField
uaGetArchive
uaGetField
uaGetNumArchives

uaGetNumFields

uaSetArchive
uaRemoveArchive
uaRemoveAllArchives
uaSetField
uaQueryConfiguration


uaReleaseConfiguration

uaRemoveAllFields
uaRemoveField

WinCC 4-19
C79000G8276C16301
08.99

4.5.3


.



uaConnect

uaDisconnect
( )
,
uaGetLocalEvents
uaSetLocalEvents
uaIsActive ,

uaUsers

uaOpenArchives

uaOpenViews

uaQueryArchive
uaQueryArchiveByName

uaReleaseArchive

4.5.4


.



uaArchiveOpen

uaArchiveClose

uaArchiveDelete
uaArchiveExport
uaArchiveGetFieldLength
uaArchiveGetFieldName
uaArchiveGetFields

4-20 WinCC
C79000G8276C16301


uaArchiveGetFieldType
uaArchiveGetFieldValueDate
"Date" ( )
uaArchiveGetFieldValueDouble
"Double" ( )
uaArchiveGetFieldValueLong
"Long Int" ( )
uaArchiveGetFieldValueString
"String" ()
uaArchiveGetFilter

uaArchiveGetID ID
uaArchiveGetName
uaArchiveGetSort

uaArchiveImport
uaArchiveInsert
uaArchiveMoveFirst
uaArchiveMoveLast
uaArchiveMoveNext
uaArchiveMovePrevious
uaArchiveReadTagValues
uaArchiveReadTagValuesByName
uaArchiveRequery
uaArchiveSetFieldValueDate
"Date" ( )
uaArchiveSetFieldValueDouble
"Double" ( )
uaArchiveSetFieldValueLong
"Long Int" ( )
uaArchiveSetFieldValueString
"String" ()
uaArchiveSetFilter
uaArchiveSetSort
uaArchiveUpdate
uaArchiveWriteTagValues

uaArchiveWriteTagValuesByName

WinCC 4-21
C79000G8276C16301
08.99 SIMATIC S5/S7

5 SIMATIC S5/S7
S5 S7
,
WinCC. SIMATIC
AS511.

WinCC :
S7400
S5 115U

:
S5 S7 WinCC
S5 S7
WinCC S5/S7

5.1 WinCC
S5 S7 WinCC .
, ,
.

"Integer" (), "Double" ( ) "String"


() ,
.
/
.

/ WinCC

Integer () 32
Double ( ) 64 IEEE
754
String () 8
Date/Time (/)

WinCC 5-1
C79000G8276C16301
SIMATIC S5/S7 08.99

5.2
WinCC.
.
WinCC.
. WinCC
.

:
/ WinCC
/ SIMATIC S5 S7

5.2.1 / WinCC
SIMATIC S5
S7 WinCC:

S5/S7

1
1
2
2
n

5.2.2 / SIMATIC S5 S7
/
WinCC SIMATIC S5 S7:

S5 S7


5-2 WinCC
C79000G8276C16301
08.99 SIMATIC S5/S7

5.2.3
( ):


LSB *). 4 .
. 4091 (
S5/S7)
MSB **).
1 WinCC, 2

LSB *) 2
MSB **)

ASCII. 8
.

*) LSB = Least Significant Byte ( )


**) MSB = Most Significant Byte ( )

5.2.4
( ):


LSB 2
MSB
.

LSB 2
MSB
LSB 4
.
MSB
LSB ,

MSB ( 0) 2

WinCC 5-3
C79000G8276C16301
SIMATIC S5/S7 08.99


( ).


\0!!!
Intel ( LSB, MSB).
"Integer" () 4 , "Double" ( ) 8
.
, .
,
.


( ):


LSB 4
MSB .
1 WinCC, 2

.


LSB 2
MSB
LSB 4
MSB

ASCII. 8
.

5-4 WinCC
C79000G8276C16301
08.99 SIMATIC S5/S7


, ( ),
( , ).



4
5
6
7
8
9
10



0
1
2
101
102
201
202
254
255

WinCC 5-5
C79000G8276C16301
SIMATIC S5/S7 08.99

5.3 WinCC S5/S7


WinCC
SIMATIC S5/S7. ,
.

WinCC Intel Microsoft, "Least Significant


Byte" ( ) , "Most Significant Byte" ( )
.
"Intel Format" ( Intel).
:

Intel
Intel, 300 :

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
. 0 0 0 0 0 0 0 1 0 0 1 0 1 1 0 0
. 0 1 2 C

300 Intel 12C


(1*256 2*16 12).

SIMATIC
SIMATIC, "Least Significant Byte" ( )
( 1). SIMATIC, 300
:

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
. 0 0 1 0 1 1 0 0 0 0 0 0 0 0 0 1
. 2 C 0 1

300 SIMATIC
2C01. 2C01 Intel,
11265.

SIMATIC ,
.
S5/S7 WinCC.
Internet Siemens
(http://www.ad.siemens.de/support/html_00/download/s5ag135.htm#.._download_s5
ag135_angps5_3.htm ). "ANSI_S5.EXE".
"IEEE:GP".


CP ( ).

5-6 WinCC
C79000G8276C16301
08.99

6
:
SQL

SQL;

,

6.1 SQL
SQL Structured Query Language ( )
. WinCC,
SQL , .

.


SQL.
SQL :
FieldA > '19921231 23:45:12.12'
, "FieldA"
. "FieldA" "DB_TYPE_TIME".
FieldB like 'Tank%'
, "FieldB" "Tank1",
"Tank4" "Tank12". "FieldB" "DB_TYPE_CHAR".
FieldC > 100
, "FieldC"
100. "FieldC " "DB_TYPE_INTEGER".
BETWEEN FieldC = 20 AND FieldC = 200
, "FieldC"
20 200. "FieldC " "DB_TYPE_INTEGER".
FieldD
"FieldD".
FieldE desc
"FieldE" .

WinCC 6-1
C79000G8276C16301
08.99

6.2 SQL
, ,
("_") 25 .
.

,
:
"Archive" ()
"View" ()
"Field" ()
"ViewCol" ( )
SQL

( ) SQL
, .
SQL:

SQL
add All alter and
any as asc begin
between binary break by
call cascade cast char
char_convert character check checkpoint
close comment commit connect
constraint continue convert create
cross current cursor date
dba dbspace deallocate dec
decimal declare default delete
desc distinct do double
drop else elseif encrypted
end endif escape exception
exec execute exists fetch
first float for foreign
from full goto grant
group having holdlock identified
if in index inner
inout insert instead int
integer into is isolation
join key left like
lock long match membership

6-2 WinCC
C79000G8276C16301
08.99

SQL
message mode modify named
natural noholdlock not null
numeric of off on
open option options or
order others out outer
passthrough precision prepare primary
print privileges proc procedure
raiserror readtext real reference
references release remote rename
resource restrict return revoke
right rollback save savepoint
schedule select set share
smallint some sqlcode sqlstate
start stop subtrans subtransaction
synchronize syntax_error table temporary
then time tinyint to
tran trigger truncate tsequal
union unique unknown update
user using validate values
varbinary varchar variable varying
view when where while
with work writetext

WinCC 6-3
C79000G8276C16301
08.99

6.3

:
: Pentium II 266 64 MB RAM
: S7 Protocol Suite, Channel Unit MPI
:
- : , 1 100 3000 , 2
200 1500 3 500 500 .
-
/
.
- , , .

WinCC
WinCC. ,
.

.

.


500 .

6-4 WinCC
C79000G8276C16301
08.99

6.3.1

.
, .


( .) ( .)
100 1 1 2
100 10 1 23
100 50 1 34
100 100 1 39
100 1000 12 >3
200 1 2 3
200 10 2 4
200 50 12 >4
200 100 12 >4
200 1000 23 >4
500 1 3 4
500 10 3 7
500 50 34 ca. 15
500 100 4 >15
500 500 4 >15

WinCC 6-5
C79000G8276C16301
08.99

6.3.2
.
, .
, .


( .)
100 1 1
100 10 2
100 100 3
100 500 3
100 1000 3
100 2000 3
100 3000 3
200 1 1
200 10 2
200 100 4
200 500 4
200 1000 4
200 1500 >4
500 1 3
500 10 4
500 100 >4
500 500 >4

6-6 WinCC
C79000G8276C16301
08.99

A
API , 4-19 , 1-2
, 1-2
, 1-2, 2-11
S , 2-5
, 2-42
SIMATIC S5, 5-27
SIMATIC S5 / S7, 5-22, 5-23
SIMATIC S7, 5-27

SQL, 2-42, 3-17, 3-22, 3-24, 6-1
, 2-9

, 3-21

, 2-1 , 3-9
, 3-8
, 3-21 , 3-10
, 3-20 , 3-7
, 3-10
, 3-21, 3-26 , 1-1
, 2-47
, 4-3
, 1-4
, 1-2
, 2-5 , 1-7

, 2-12, 2-15, 2-16, 2-17, 2-
19, 2-27
, 2-2, 2-6 , 2-22
, 2-37
, 2-19
, 2-15
, 2-16
, 2-1 , 5-22
, 2-15, 2-16, 2-17, 2-19
, 2-22, 2-29 , 4-1
, 2-22, 2-23, 2-24, 2-29 , 4-1
, 2-12, 2-15, 2- , 2-17
16, 2-17, 2-19, 2-27, 2-47
, 2-37, 2-40, 2-42, 2-43, 2-45 , 2-22, 2-23, 2-24, 2-29
, 3-5 , 2-22
, 3-2,
3-4 , 2-40
, 3-17 , 3-1, 3-5, 3-21
, 3-17 , 3-12
, 1-5
, 2-37, 2-40, 2-42, 2-43, 2-45
, 2-42
, 2-37
, 5-23, 5-24, 5-25 , 2-4

WinCC 1
C79000G8276C16301
08.99

, 2-13 , 3-
, 2-3 12
, 3-12
, 3-13
, 3-19
, 3-18
, 2-6 WinCC,
, 2-19, 2-24 1-3, 3-1
, 1-4 , 3-1, 3-20
, 3-12
WinCC, 5-22


, 2-15
, 2-16 , 3-26
, 5-22
, 5-23, 5-24, , 3-21
5-25 , 2-17
WinCC, 5-22 , 2-32
, 4-1 , 2-31
, 6-4
, 1-3, 4-1


, 4-19
, 4-8 , 2-2, 2-7

, 4-3
, 4-3, 4-5, 4-6
, 4-20
, 4-8

, 4-3


, 1-3, 3-1
, 3-2, 3-4
, 3-17
, 3-17
, 3-11
, 3-14
, 3-16
, 3-5, 3-21
, 3-11
, 3-20
, 3-4
, 3-21, 3-
26
, 3-
12
, 3-12
, 3-12
, 3-13

2 WinCC
C79000G8276C16301
1

2
SIMATIC HMI
3

6AV6392-1DA05-0AB0

1999

C79000-G8276-C163-01
WinCC, SIMATIC, SINEC, STEP SIEMENS AG.

, ,
.

(, (
.
. , ,
. . ,
, ,
.) .
,
.)

Siemens AG 1994 - 1999



C79000-G8276-C163
Siemens Aktiengesellschaft

1 ......................................................................................1-1
1.1 ....................................................................................... 1-3
1.2 .............................................................................................. 1-4
1.3 ............................................................................................ 1-5
1.3.1 TCP/IP................................................................................................................. 1-5
1.3.2 Netbeui ................................................................................................................ 1-6
1.3.3 IPX ...................................................................................................................... 1-6
1.3.4 WinNT.............................................................................. 1-6

2 ...........................................................................2-1

3 ...............................................................................................3-1
3.1 ...................................... 3-1
3.2 - (Graphics Designer) .......................................... 3-3
3.2.1 ................................................................... 3-4
3.3 - (Global Script)............................................... 3-5
3.4 - (Alarm
Logging) .............................................................................................................. 3-6
3.5 - (Tag Logging) ............................................ 3-8
3.6 (User Administrator).......................................... 3-8
3.7 ......................................................................................... 3-9
3.8 - (Report Designer) .................................................... 3-9

4 ...........................................................4-1
4.1 WinCC ..................................................................................................... 4-2
4.2 ........................................................................................ 4-3
4.3 ................................................................................... 4-4
4.4 ............................................................ 4-5
4.5 ...................................................................................... 4-6
4.6 ................................................................... 4-7
4.7 ............................................................................................... 4-7
4.8 .................................................................................................... 4-8

5 ....................5-1
5.1 WinCC.............................................................................................. 5-2
5.2 ....................................................................................... 5-3
5.3 ......................................................................................... 5-3
5.4 .................................................... 5-4
5.5 ................................................................................ 5-5
5.6 ........................................................................... 5-6
5.7 ......................................................................................... 5-6
5.8 ................................................................................................ 5-7

WinCC i
C79000-G8276-C163-01
08.99

1
WinCC -

.

Windows. , - ,
.

( )


( )

Online

WinCC ( 3) - ,
.

- :

, - , ,
WinCC 64- (63 WinCC
, 1 WinCC ).

, , WinCC
, WinCC .
16 WinCC .

WinCC Windows NT
, , , PENTIUM-133 64
RAM.

WinCC - Windows NT
: PENTIUM-133 32 RAM.

(PLC) WinCC ( )
- WinCC
Windows NT.

WinCC
.
WinCC.
(RT128).

,
, .

WinCC
C79000-G8276-C163-01
08.99

, ,
WinCC (WinCC Explorer),
.
.
WinCC.

:
.
, ,
.
AS.
DCF77 WinCC .

1-2 WinCC
C79000-G8276-C163-01
08.99

1.1
-
, WinCC.
.


Windows NT server workstation.
, Windows.
WinCC WindowsNT WS Server.
WinCC (
).
Sybase SQL server (
).
WinCC WindowsNT workstation.
.
(,
, , ..).
[project_dir].
WinCC .
- ,
WinCC .
WinCC
.
WinCC,
.

WinCC,
.
, Alarm
Logging ( )
.

.
WinCC .
WinCC,
.
WinCC,
.
.
, Tag Logging Runtime
.
WinCC .
.

WinCC
C79000-G8276-C163-01
08.99


WinCC,
.
WinCC .
Text Library ( )

WinCC,
.
Text Library ( )
.
WinCC .

1.2
WinCC .
WinCC
.

, WinCC
WinCC .

WinCC WinCC ,
, .
,
ISDN.


WinCC WinCC .
.

,

. , ,
WinCC.

, , ,
.



.
.

1-4 WinCC
C79000-G8276-C163-01
08.99

1.3
1.3.1 TCP/IP
TCP/IP TCP/IP 4
. , TCP/IP,
(A, B C).

, 142.016.000.012 ( B, TCP/IP = 142.016,


= 000.012)

TCP/IP ,
.

TCP/IP ,
.

TCP/IP:
:

A 126 16777214 1 - 126 255.0.0.0


B 16384 65534 128 - 191 255.255.0.0
C 2097151 254 192 - 223 255.255.255.0

127. X.Y.Z ,
.


142.103. x.y

B, B - 128
191. TCP/IP.

TCP/IP , 142. 16. x.y 142. 11. x.y,


-
, ,
().

1. LMHOSTS WinNT:
WindowsNT\system32\drivers\etc LMHOSTS.SAM,
LMHOSTS.
(. ). ,
LMHOSTS, Control
Panel/Network/Protocols/TCP/IP/Properties/WINS (
///TCP/IP//WINS) .

WinCC
C79000-G8276-C163-01
08.99

LMHOSTS .
| 142.16.0.98 |
| TCP/IP . | Windows
2. WINS
WINS WINS (Windows
Internet Name Service).
WINS .
. WINS UNIX
TCP/IP. WINS TCP/IP, WinCC
WinCC ,
(), WINS .
3. DNS
DNS (Domain Name Service)
. DNS, UNIX
TCP/IP .
(), DNS -
WinCC .

1.3.2 Netbeui
Netbeui 2- OSI (7-
). . , Netbeui
.
(Yellow Cables),
.

1.3.3 IPX
IPX Novell , Novell (
Novell).
- WinCC Novell.

1.3.4 WinNT
WindowsNT WinCC
HKEY_LOCAL_MACHINE.
, , WinCC
. ,
- , ,
. ,
( Power User).

1-6 WinCC
C79000-G8276-C163-01
08.99

2
WinCC Win32. WinCC
WindowsNT Server Workstation, WinCC
WindowsNT Workstation.

- WinCC :

WinCC , (
) Windows

WinCC , Windows

,
.

WinCC
( - ). ,
WinCC .

WinCC .


WinCC
, 50 %
Windows ,
.
WinCC .
WinCC -
, WinCC .

WinCC
C79000-G8276-C163-01
08.99

():
WinCC WinCC .
,
[project_dir] [projekt_name].db.
- WinCC ,
.


. ,
RAID
, -

..

2-2 WinCC
C79000-G8276-C163-01
08.99

3
WinCC (Control Center)
[project_name].mcp, [project_dir].

[project_dir] ,
Windows. ,

(-).

[project_dir]
[project_name].db.


,
;
.
Windows
.

WinCC.

3.1

WinCC .

WinCC
, .
,
. , ,
.
,
.

WinCC , ,
.

WinCC
C79000-G8276-C163-01
08.99

WinCC :

, ,
..

(bmp,
wmf, ..)

, WinCC (,
, ..)


WinCC .

.
, (
Windows), .
, .

3-2 WinCC
C79000-G8276-C163-01
08.99

3.2 - (Graphics Designer)



. , [project_dir].
WinCC .

, WinCC ,
.
,
. ,

.


WinCC [WinCC\bin\PDLCache].


( ). ,
, .

. WinCC
.

Online :
.
.
,
. ,
.


,
,
. !

WinCC
C79000-G8276-C163-01
08.99

3.2.1
- ,
,
:

OCX ,
, "Unknown Object" ( ).

OLE .

OLE

OLE- .

, ,
( ).

3-4 WinCC
C79000-G8276-C163-01
08.99

3.3 - (Global Script)


WinCC
[project_dir].
, ,
.
(*. fct) (*. pas),
, .
.
( )
.
,
.
,
;
.
.

, " " ,
"Regenerate Header" ( ).

(
)

..


API ApCompile ApCompileEx,

.

Online :
.
,
WinCC .

WinCC ,
.

(
). ,
.

WinCC
C79000-G8276-C163-01
08.99

3.4 -
(Alarm Logging)

[project_dir]
[projekt_name].db.

.
WinCC .

.


( )
( )
.

(DLL).
, : ,

.
, ,

.

Online :

.
,
WinCC .
Offline , ,
Online , .

3-6 WinCC
C79000-G8276-C163-01
08.99


WinCC ,
.

WinCC
C79000-G8276-C163-01
08.99

3.5 - (Tag Logging)



[project_dir]
[projekt_name].db.

.
WinCC .
.

Online :
.
,
WinCC .

WinCC ,
.

3.6 (User Administrator)




[project_dir] [projekt_name].db.


.
WinCC .
.

Online :
.
WinCC WinCC .

,

.


, , ,
.
,
. ,
, .

3-8 WinCC
C79000-G8276-C163-01
08.99

3.7

[project_dir]
[projekt_name].db.

( ):

, ,
/
.

Online :
.
,
WinCC .

WinCC ,
. .

3.8 - (Report Designer)


()
( ).
[project_dir].


. .
, , WinCC
.

,
( Windows).

Online :
.
, ..
.

WinCC
C79000-G8276-C163-01
08.99

4

, .
.


.
WinCC .
WinCC WinCC .
,
, WinCC


WinCC ,
WinCC
. WinCC
WinCC .


- Runtime
,
( ),
.

WinCC
C79000-G8276-C163-01
08.99

4.1 WinCC
WinCC
. WinCC
.


WinCC
.
.

, WinCC
WinCC .

WinCC
.
,
. , ,
: ,
- 1; - [n], n -
.

,
. ,
.


, .
.

4-2 WinCC
C79000-G8276-C163-01
08.99

4.2
,
, \bin\PdlCache\[PictureName].PDL.
,
[project_dir]\GraCS\[PictureName].PDL.
, .

WinCC
(, ,
), ,
.


,
.
, ,
.
, ( )
, .
PDL (
) \bin\PdlCache ,
.
. PDL
PDL . PDL
\bin\PdlCache.

WinCC
C79000-G8276-C163-01
08.99

4.3
(Script control)
WinCC .
(*. fct), (*. pas) .
, ,
.

(..
), :

*.fct [project_dir]\Library\[Function_name].fct

, *. fct [WinCC_dir]
\aplib [\ Function_name] .fct WinCC .


, WinCC ,
, . ,
,
.
.

4-4 WinCC
C79000-G8276-C163-01
08.99

4.4
,
WinCC
,
.
, ,
WinCC.

.
.

,
.
:
,
.
,
, .
:
,
,
. ,
,
.
:
.
,

WinCC
C79000-G8276-C163-01
08.99

4.5
,
WinCC ,
.

WinCC.

.
, .
.
.

Online /:
Online ,
.
.


,
.
, , , ,
.

:
,
,
WinCC .

4-6 WinCC
C79000-G8276-C163-01
08.99

4.6

.
WinCC
.

:
( ),

.

:
.

(.. ),
.
,
.
.
,

4.7

WinCC ,
.

WinCC.

WinCC , .
, .

WinCC
C79000-G8276-C163-01
08.99

4.8
:
WinCC
(, ,
..).

.
,
.
WinCC ( ), .

,
WinCC offline.

( , : ,
).
offline,
, ,
WinCC (.. )

-:

WinCC.
WinCC,
.
, .
,
,
.

:
,
.
.

, ,
.

4-8 WinCC
C79000-G8276-C163-01
08.99

5

,
, .
WinCC .


. WinCC
. WinCC WinCC.
,
, .
( WinCC, -),
, .


WinCC ,
, WinCC.

WinCC
C79000-G8276-C163-01
08.99

5.1 WinCC


WinCC
, WinCC "",
.
WinCC ,
. -. , WinCC

Windows.
WinCC WinCC,
. ,
offline.
WinCC ( ) ,
. :

, WinCC
"" WinCC (.. ).

. ,
WinCC
, WinCC .

WinCC. , WinCC
,
"online"; .
, WinCC WinCC (
) .
WinCC ,
, WinCC .

, , (,
- ),
.

, WinCC
. WinCC WinCC ,
.


(WinCC , ) ,
, , WinCC ,
, .

, WinCC
, ,
..
.


, ,
.

5-2 WinCC
C79000-G8276-C163-01
08.99

5.2


WinCC ,
(, : "*****"),
.

,

5.3

WinCC WinCC .
, WinCC ,
.
WinCC
.

WinCC ,
.
.


,
.
,
, .
.
( ),
.
.


WinCC ,
.
.

WinCC
C79000-G8276-C163-01
08.99

5.4

WinCC
.


WinCC (
, )
, .
WinCC
.
.
.
WinCC
.
.
,
, .


,
"
(Alarm Logging runtime
server not initialized) .


,

.

5-4 WinCC
C79000-G8276-C163-01
08.99

5.5

WinCC

WinCC ( ,
) ,
.
,
,
.
.
WinCC
.
.

WinCC .
.
, ,


WinCC ,
. , , .

,
, .


,
, .


-
,
"TLGCS.log"
"TLGRT.log" .
.

WinCC
C79000-G8276-C163-01
08.99

5.6


WinCC.
,
.

.
,
.




.
,

.
,
.


,
,
. ,
CS RT ,
.

5.7

WinCC,
, .
,
.
,
.


WinCC , .
,
.


,
,
.

5-6 WinCC
C79000-G8276-C163-01
08.99

5.8


WinCC.

WinCC ,
.
,
. ,
,
.


,
.
.


,

, .

WinCC
C79000-G8276-C163-01
08.99

I
IPX, 1-6 , 3-6, 5-4
, 3-4, 5-4

N

Netbeui, 1-6

Online , 3-10
O
Online , 3-6
Online , 3-6
, 3-10 , 3-11, 5-8
, 3-10
, 3-11
, 3-10

, 3-4
, 3-8 , 4-1
, 3-6
, 3-11


T
, 4-3
TCP/IP, 1-5 , 3-4
, 3-4

W WinCC , 1-3, 1-4
, 1-3
WinCC , 2-1 , 1-3
WinCC , 2-1, 3-4, 4-2 , 3-4
, 1-3
, 1-3, 1-4
, 5-2, 5-4, 5-5, 5-6,
5-7, 5-8
, 3-10, 5-7 -
, 2-1
, 4-8 , 4-1, 4-2

Online , 3-10 , 3-10
, 4-7 , 3-6
, 3-10 , 3-11
, 3-10
, 3-8
, 3-6
, 4-3, 4-4, 4-5, 4-7, 4-8, 4-9, , 3-11
5-1 , 3-6
, 3-4

WinCC
C79000-G8276-C163-01
08.99

, 1-3
, 1-3
, 1-6 , 5-2, 5-4, 5-5, 5-6,
5-7, 5-8
, 1-5, 1-6
, 3-10, 5-6
,

5-5
Online , 3-11

, 4-9
Online , 3-8
, 3-11
, 4-5
, 4-1
, 3-8

Online , 3-6
, 4-4
, 5-1 , 3-6
, 5-1, 5-2, 5-4, 5-
5, 5-6, 5-7, 5-8

Online , 3-10
, 3-11, 5-7
, 3-10
Online , 3-11
WinCC, 5-2
, 4-8
, 3-11

, 1-1
, 1-1
Online , 3-4 , 1-5, 1-6
, 1-1
,
1-1


, 5-4

WinCC , 1-3 , 2-1, 3-4
, 1-3
, 1-3 Online , 3-6
, 1-3 , 3-6
, 1-3

-2 WinCC
C79000-G8276-C163-01
1

2
SIMATIC HMI
3

6AV6392-1DA05-0AB0

1999

C79000-G8276-C163-01
WinCC, SIMATIC, SINEC, STEP SIEMENS AG.

, ,
.

(, (
.
. , ,
. . ,
, ,
.) .
,
.)

Siemens AG 1994 1999



C79000-G8276-C163
Siemens Aktiengesellschaft

1 WinCC ......................................................................1-1
1.1 WinCC ........................................... 1-2
1.1.1 ........................ 1-2
1.1.2 ......................... 1-3
1.2 ................................................................. 1-4

2 .......................................................2-1
2.1 ............................................. 2-1
2.2 ............................................................................................... 2-2
2.3 ..................................................... 2-3
2.3.1 :.............................................................................................. 2-3
2.3.2 ....................... 2-4
2.4 Online - .................................................... 2-6

3 ................................................3-1
3.1 ............................... 3-1
3.2 Windows NT....................................................... 3-3
3.3 ........................................................................................... 3-4
3.4 WinCC ................................................................... 3-10
3.5 WinCC ............................................................. 3-12
3.6 ......................................................................... 3-16
3.6.1 1: ....................... 3-17
3.6.2 2: -................................. 3-18
3.6.3 3: .................................................... 3-18
3.6.4 4: ....................................... 3-19

4 ..........................................................................................4-1
4.1 WinCC ..................................... 4-1
4.2 WinCC ................................................ 4-3
4.3 ............................................................................. 4-3

WinCC i
C79000-G8276-C163-01
08.99 WinCC

1 WinCC
WinCC,
.

,
-.

,
. .


WinCC . ,
, .
.
WinCC :

,
.

Online (
).

Online .

" "
.

" " .


Windows NT.

WinCC 1-1
C79000-G8276-C163-01
WinCC 08.99

1.1 WinCC
1.1.1

, ,
WinCC - .

,
. -
.

.
.

.

.

.
.

1-2 WinCC
C79000-G8276-C163-01
08.99 WinCC

1.1.2

WinCC
, ,
WinCC. (, ),
.

WinCC
,
. ,
. . .

WinCC 1-3
C79000-G8276-C163-01
WinCC 08.99

1.2

Client1 Client2 Client3 Client1


Client4

Project A Project B
Syn- Syn-
chroni- chroni-
zation zation

Server1 Server2

PLC PLC PLC PLC PLC PLC PLC

WinCC
.
.
,
.

,
,
.

online - (online - ).

.
. ,
.

.
TCP/IP NetBEUI.


,
. .


.
.

1-4 WinCC
C79000-G8276-C163-01
08.99 WinCC

,
() -
.
:
-
-


:
- . ,
. "".
- -
-
-
-


, ,
.
.
.
,
. , ,
( ).

:
1.
2.
3.


WinCC.
.


"Storage (),
:
1. ""
, .
2. "" ,
.
3. ,
"" . , ""
.

WinCC 1-5
C79000-G8276-C163-01
WinCC 08.99



,
.

Online -
- (online - )
.


online -
.

1-6 WinCC
C79000-G8276-C163-01
08.99

2
2.1


.
:
,
.
- .

WinCC :
, , .. ,
.
(), .
, .

online ,
.


:

/.

WinCC 2-1
C79000-G8276-C163-01
08.99

2.2
:

Windows NT. ,
Windows NT. : Windows NT
.
Windows NT .
WinCC .
(WinCC ,
, .). Lifebeat
Monitoring DCF77.exe.
( )
( ).

.
.
.

.
" ".


"" (
4.02).
, ,
. ""
.
.
WinCC
- UPS.

, ,
.

2-2 WinCC
C79000-G8276-C163-01
08.99

2.3
,
, .



:
- - , ,
.
-
.
- online - ,
.

2.3.1 :
.
" ".

"
.


, ,
:



.
.
" "
.
:


( ).
, .

, " ".
,
.
: ( "")
( "")
/ ( "")

WinCC 2-3
C79000-G8276-C163-01
08.99



.

, .
.

.
, "csv"- .

2.3.2





/



offline offline .
OK OK
online ,
"
"
( ,


,
,
).

OK OK
online


,



.

.

2-4 WinCC
C79000-G8276-C163-01
08.99



OK
online Online

,



"OLE
(OCX)" API.
,



.


,
, .
.

, ,
,
50 .

10 (
),
.

online 10 .
,
.

WinCC 2-5
C79000-G8276-C163-01
08.99

2.4 Online -
online.
.

( ),
. ,
, ,
. : 1015000 1015999.

,
, ..
, .

2-6 WinCC
C79000-G8276-C163-01
08.99

3
3.1
WinCC,
1 - 2.



, .



WinCC, , "authorsw.exe".
.


WinCC -
, .



.
,
.


" " ,

. .


,
(CCProjectSwitcherRt.exe)
.
, , ,
.

WinCC 3-1
C79000-G8276-C163-01
08.99


-,
, "
".


, - (
)
.


WinCC,
:

. , .
, .
.
.

3-2 WinCC
C79000-G8276-C163-01
08.99

3.2 Windows NT
Windows NT, User Manager (
). Windows Start ():

" "
" ":

.
Windows NT.

.
Windows NT.
, Windows NT
Server.

WinCC 3-3
C79000-G8276-C163-01
08.99

3.3
WinCC " "
. WinCC
. ,
" ".


WinCC 2 .
.
online
.
.

,
"".
"Open ()".

3-4 WinCC
C79000-G8276-C163-01
08.99

""

""
- " -" ,
-;
"RedServ_2".
"Search ()" .
" "
.

"
... " , ,
10 .
...
"
- online" ,

-.
-
online

WinCC 3-5
C79000-G8276-C163-01
08.99

""
"
-
online" ,

-.

-
online
Online "Online
" ,


.

"
(+
(+ )" ,
, .
,

) .
,
.

,
,
,
. ,
, .

.
,
,
.
" "
, .
/
.

. "
"
( ),
"
?".
.


WinCC
. ,

3-6 WinCC
C79000-G8276-C163-01
08.99

,
WinCC.
.
.

WinCC 3-7
C79000-G8276-C163-01
08.99

" "
" ".
:

" "
" ",
.
" ",
.

.
" "
.
, ,
( )
" ".
,
.

3-8 WinCC
C79000-G8276-C163-01
08.99

" "
""

.
.
,
.
, .
, "
"
.
""
,

.

WinCC 3-9
C79000-G8276-C163-01
08.99

3.4 WinCC
.
,
-.

WinCC -.
(, ,
..), ,
.

WinCC "" :

3-10 WinCC
C79000-G8276-C163-01
08.99

"WinCC ":

"WinCC "

" ",
-.
"..." -
.
"
" ,
.
"..." -
.
" "
-
. " "
.
. ,

.
-
, ""
.

.

WinCC 3-11
C79000-G8276-C163-01
08.99

3.5 WinCC

.

,
.



.
.
, .
,
.
WinCC ,
.
WinCC.


, WinCC
. .
"WinCC " "":

3-12 WinCC
C79000-G8276-C163-01
08.99

"WinCC ":

.
:
"WinCC "
" ",
() ,
: .
- " -",
: -,
.
"" .
" "
.


"
".
,
" ".
" ".
"
",
" ".
.
= 0, ,
.

WinCC 3-13
C79000-G8276-C163-01
08.99


,
:


> 0,
" ". ,
""
"".
- .

3-14 WinCC
C79000-G8276-C163-01
08.99


( = 0), ,
, ,
"" "".

, ,
: " ".

WinCC

WinCC "@RM_SWITCH".
.

, "CLIENT_1"
, WinCC "@RM_SWITCH".
.

WinCC 3-15
C79000-G8276-C163-01
08.99

3.6
WinCC
. :
1.
2.
3.
4.

WinCC
:
-
-
- /
-
-


, -
. , (1) . - (2)
, (1) .
- ,
. ,
(1) , WinCC "@RM_MASTER". ,
, "@RM_MASTER" .
"@RM_MASTER_NAME" , "SERV_1".
.

.
.


, .
10 .

,
.

3-16 WinCC
C79000-G8276-C163-01
08.99

3.6.1 1:

2.

:
1 ( ) 2.
1 2 .
1 "", ""
"@RM_MASTER". "@RM_MASTER_NAME"
.
2 ,
"@RM_MASTER" .
"@RM_MASTER_NAME" .
2 online
2 .
:
1 ( ) 2.
1 , 2 .
,
2 .
"@RM_MASTER" , ..
"@RM_MASTER" 1 "@RM_MASTER"
2 .

online-,

/.

(. ),
.
.

Server 1 :
Failure B

Server 2 :
Failure A Failure C

, 1 2 ( A) , 1
2 ( B).

WinCC 3-17
C79000-G8276-C163-01
08.99


,
.

3.6.2 2: -
,
- 2.
.

:
( ).
.


online-
.
:
( ).
.

2- 1- .
,
.. .

3.6.3 3:
2 "CL5".

:
, "CL5"
2 1.


:

"CL5" , 2. ,
"CL5" "@RM_SWITCH".
"@RM_MASTER" "@RM_MASTER_NAME"
.

3-18 WinCC
C79000-G8276-C163-01
08.99

3.6.4 4:

2 ,
.

,
.
(, , ),
.

WinCC , :
2.
1 , 2 .
1 ( ) 2.


"@RM_MASTER" "@RM_MASTER_NAME"
. .

2
, 2
:
1 ( ) 2.
2 .
. , ,
, .
"@RM_MASTER" "@RM_MASTER_NAME"
.
.

2.

WinCC 3-19
C79000-G8276-C163-01
08.99

4
4.1 WinCC
,
(
"Options()" "WinCC System Messages( )").

. WinCC
1012200 REDRT:-
WinCC -.
1012201 REDRT: - online
WinCC -.
1012202 REDRT:
1012203 REDRT:
1012204 REDRT:
1012205 REDRT: -
1012206 REDRT: -
- .
1012207 REDRT: - .
, WinCC .
1012208 REDRT:
.
1012209 REDRT:

.
1012210 REDRT:
.
1012211 REDRT:
.
1012212 REDRT:

.
1012213 REDRT:

.
1012216 REDRT:
- .
1012217 REDRT: -
, -
WinCC .
1012218 SWITCH:
-.

WinCC 4-1
C79000-G8276-C163-01
08.99

. WinCC
1012219 SWITCH:
-.
1012220 REDRT:


,
-
, -
.
1012221 REDRT:



-.
1012222 REDRT: -
, WinCC -
.
1012223 REDRT: -
, ,
.

4-2 WinCC
C79000-G8276-C163-01
08.99

4.2 WinCC
"@RM_MASTER", "@RM_MASTER_NAME" "@RM_SWITCH"
WinCC
/ .
.
WinCC
@RM_MASTER
WinCC
"@RM_MASTER".
, "@RM_MASTER"
.
@RM_MASTER_NAME "@RM_MASTER_NAME"
, "SERV_1".
@RM_SWITCH ,

-,
WinCC
"@RM_SWITCH" .

.
@RM_UA_ONL_" " .
.
,
1. online-
0.
@RM_OFFLINE_UA_NAME .


.
.

4.3



, WinCC




RT WinCC

WinCC 4-3
C79000-G8276-C163-01
08.99



, 3-10
@ , 3-12

@RM_MASTER, 3-17, 3-18, 3-19


@RM_MASTER_NAME, 3-17, 3-18, 3-19

@RM_MASTER_SWITCHER, 3-18
@RM_SWITCHER, 3-15
, 1-5

O Online - , 1-6
, 2-1
Online - , 1-6 , 2-1
, 3-16
, 3-17, 3-18, 3-19
W , 2-1, 2-4, 3-7
, 1-5
WinCC , 3-10 , 1-5
WinCC , 3-12 , 2-1
, 2-6

, 1-2
, 3-16, 3-17, 3-18, 3- , 1-3, 1-4
19
, 3-1, 3-3, 3-4, 3-7
, 1-3, 1-4
, 4-1
, 4-3
, 3-10
, 2-6




, 3-1, 3-3, 3-4, 3-
7 , 2-2
,
2-1, 3-10

, 2-3

, 3-12
, 3-12

, 2-3
, 2-3 , 3-10
, 2-3

, 3-7
, 2-3
, 2-4
, 1-5

WinCC 1
C79000-G8276-C163-01
08.99

2 WinCC
C79000-G8276-C163-01