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

InTouch HMI

Invensys Systems, Inc.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

.................................................................................................................................................... 3
InTouch ............................................................................................................................... 5
Application Manager .................................................................................................................................. 6
: WindowMaker.......................................................................................................... 7
: WindowViewer ....................................................................................................... 7
Application Manager....................................................................................................................................... 8
InTouch...................................................................................................... 8
InTouch .................................................................................................. 9
InTouch .......................................................................................................... 9
InTouchView................................................................................................................... 9
InTouch NAD ................................................................................................................. 9
InTouch, Application Server............................................................. 9
InTouch .............................................................................................. 10
InTouch ............................................................................ 10
InTouch ................................... 10
WindowMaker ............................................................................................................................................... 12
InTouch............................................................................................................................................ 13
.............................................................................................................................................. 13
............................................................................................................................................... 13
.................................................................................................................................... 14
............................................................................................... 14
...................................................................................................................................... 14
InTouch ...................................................................................................................... 14
................................................................................................. 15
................................................................ 15
InTouch ............................................................... 16
InTouch ............................................................................................... 17
................................................................................................................................................ 17
ActiveX ................................................................................................................................. 17
SymbolFactory .......................................................................................................................................... 18
........................................................................................................................................................... 19
........................................................................................................................................... 19
...................................................................................................................................... 22
............................................................................................................................................ 28
............................................................................................................................. 29
.......................................................................................... 29
Access Name ........................................................................................................................................ 29
I/O Failover........................................................................................................................................... 30
.................................................................................................................................................... 30
InTouch.................................................................................................... 30
QuickScript ........................................................................................................................................... 30
............................................................................................................................................... 31
.............................................................................................................................. 32
............................................................................................................. 33
........................................................................................... 35

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

..................................................................................................................................................... 35
.................................................................................................................................................. 36
ActiveX ...................................................................................................................................... 36
WindowViewer.............................................................................................................................................. 37
InTouch..................................................................................................... 37
, ........................................................ 37
InTouch.............................................................................. 38
.............................................................................................................................. 38
............................................................................................................................... 39
...................................................................................................................................... 39
InTouchView............................................................................................................................................. 40
InTouch ............................................................................................ 41
InTouch.................................................................................. 41
...................................................................................................... 41
InTouch ...................................................................................................... 42
InTouch............................................................................................... 42
SmartSymbol ....................................................................................................... 43
.............................................................................................................................. 44
Recipe Manager ........................................................................................................................................ 45
SQL Access Manager ............................................................................................................................... 45
SPCPro....................................................................................................................................................... 46
SPCPro.................................................................................................................................. 46
SPC ............................................................................................................................... 47
InTouch Wonderware........................................................ 48
InTouch SuiteVoyager...................................................................................................................... 49
InTouch Application Server ............................................................................................................. 49
InTouch IndustrialSQL Server ......................................................................................................... 50
InTouch ActiveFactory..................................................................................................................... 50
............................................................................................................................ 51
InTouch ........................................................................................................ 52
................................................................................................................. 53
ArchestrA ..................................................................................................... 53
.................................................................................................................. 53
(NAD) .............................................................................................. 53
InTouch.......................................................................................................................... 54
.............................................................................................................................................. 55
....................................................................................................................................................... 56
................................................................................................ 57
............................................................................................. 57

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

InTouch

1
InTouch
InTouch HMI,
:

Application Manager ( )
.

WindowMaker HMI .

WindowViewer HMI .

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

InTouch

Application Manager
Application Manager InTouch
. Application Manager
WindowMaker
WindowViewer.
InTouch ArchestrA Integrated
Development Environment (IDE). IDEmanaged InTouch. ,
InTouch stand-alone InTouch.
IDE-managed ArchestrA
.
Application
Manager

WindowMaker

Stand-alone

InTouch

IDE-Managed

InTouch

ArchestrA IDE

WindowViewer

ArchestrA IDE (Application


Manager). IDE-managed
Manager,
WindowMaker, IDE.
Application Manager InTouch.
,
.
Application Manager :

InTouch, .

/
InTouch DBDump DBLoad.

WindowViewer .


NAD (Network Application Development).

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

InTouch

InTouch
DRC (Dynamic Resolution Conversion)

: WindowMaker
WindowMaker.
-
.

Microsoft Windows.
WindowMaker
InTouch:

, ,
,
.

, .

: WindowViewer
WindowViewer InTouch,
WindowMaker.
WindowViewer :

InTouch.

DDE SuiteLink .

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

Application Manager

2
Application Manager
InTouch,
Application Manager. Application Manager,
InTouch.

InTouch
Application Manager InTouch
:

InTouch.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

Application Manager

InTouch
InTouch:

InTouch.

InTouchView.

InTouch NAD.

InTouch, Application Server.

InTouch
InTouch ,
WindowMaker.
,
.

InTouchView
InTouchView InTouch,
Application Server
.

InTouch InTouchView .

InTouch NAD
InTouch
.
InTouch Network Application Development (NAD)
,
.
Network Application
Development (NAD).

InTouch, Application
Server
InTouch Application Server,
Integrated Development Environment (IDE)
InTouchApp.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

10

Application Manager

IDE InTouchApp,
WindowMaker.
WindowMaker. InTouchApp
.
InTouchApp
InTouch WindowViewer.
InTouchApp .
InTouch , Industrial Application Server,
IDE, Application Manager .

InTouch
Application Manager
InTouch .

WindowMaker, :

,
.

InTouch , .

InTouch
InTouch
InTouch, WindowMaker.
:

,
InTouch,
WindowViewer.

WindowViewer
WindowMaker.

InTouch WindowMaker,
,
.
InTouch .

InTouch

:

InTouch,
, WindowMaker.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

Application Manager

11

Application Manager
Dynamic Resolution Conversion (DRC),
WindowViewer .

InTouch
WindowMaker
,
InTouch, ,
InTouch
.

InTouch
WindowViewer
InTouch NAD ,
,
.
DRC ,
InTouch
.
Application Manager (
), InTouch :

,
WindowViewer.

InTouch

InTouch

.
, Dynamic Resolution Conversation (
Application Manager).

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

12

WindowMaker

3
WindowMaker
WindowMaker -

. InTouch /
,
.
WindowMaker :

,
,
.

, ,
, , ,

.

, ,
,
,
.

,
InTouch,
,
.

SymbolFactory ,
.
.

, InTouch
. ,
,
.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

WindowMaker

,

.


,
,
.

,
, ,
.

ActiveX ,
InTouch ,
.

13

InTouch
InTouch - ,

.
, ,
, ,

.
:

Replacement (),
.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

14

WindowMaker

Popup () ,
, ,
.

Overlay () ,
.


InTouch .
,
.
,

,
.


InTouch
, Window Resizing Control.


, :

, .

InTouch
InTouch (
)

.
InTouch:

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

WindowMaker

15



.
:

InTouch


,
InTouch.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

16

WindowMaker


InTouch


,
.
, ,
, .
,
(/).


, :

InTouch
.

Symbol () ,
.
,
.
.

Cell (/) ,
. ,
/ ,
.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

WindowMaker

SmartSymbol -
ArchestrA.

ArchestrA Symbol
Symbol Editor ArchestrA IDE
InTouch. , IDE,
InTouch.

17

InTouch
InTouch ,
.

ActiveX


. ,

.
InTouch - .
.


Wonderware Extensibility Toolkit,
.

ActiveX
ActiveX ,
,
. InTouch ActiveX
.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

18

WindowMaker

ActiveX , AlarmViewer,
InTouch. AlarmViewer
.

, . ActiveX .

SymbolFactory
Symbol Factory ,

. ,
, , .
.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

19

WindowMaker

InTouch ,

.
, (Real),
TankLevel, .
, ,
(0-/1-).
,
, , .

: discrete (), integer (),


real (), message ().

: /.

: Indirect

: SuperTag

()
/

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

20

WindowMaker


InTouch:

Integer -
-2,147,483,648 2,147,483,647.

Real -3.4e38
3.4e38.

Discrete (1 0)

Message 131 .

/
InTouch :

Memory,
.

/,
.
/ (
), .


, .
,
InTouch.
,
.
:

,
.


,
. , .
,
, .
, ,
, .
,
.
InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

21

WindowMaker


.
WindowViewer

PumpRPM1


Pump1 Pump2.

RPM
IndPumpRPM

RPM
2

PumpRPM2

RPM

1
2

Discrete .

Analog .

Message .

. ,

.
.
,

, .
,

.

.
64 .
64 .
4095 .

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

22

WindowMaker

,
.

:
ParentName\ChildElement

ParentInstance\ChildMember\Submember
, Tagname
Dictionary ( ) TemplateMaker.


Group Var
. Group Var

InTouch 7.11 .
Group Var InTouch 7.11
.


, InTouch,
(Tagname Dictionary).


.
,
, .
:

Memory Discrete

Memory Integer

Memory Real

Memory Message

I/O Discrete

I/O Integer

I/O Real

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

23

WindowMaker

I/O Message

Indirect Discrete

Indirect Analog

Indirect Message

Group Variable (obsolete)

Hist Trend

Tag ID



.
,

, .



, , , Mbar l
.

/

, InTouch.
:

,

. ,
, .

.-

InTouch



(
/)

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

24

WindowMaker

InTouch:

InTouch.

IndustrialSQL Server.

InTouch
InTouch .
InTouch .

.
,
.
IndustrialSQL Server
IndustrialSQL Server
InTouch.
.

ActiveX Active Factory Trend Active Factory Query.

(Alarm)
,

.
:

, .

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

25

WindowMaker

InTouch ,
. :

(Value Alarms) ,
, /
.

,

Hi (80)

HiHi (90)

Lo (20)

LoLo (10)


Hi, HiHi , Lo, LoLo
.

(Deviation Alarm) ,

.

,
,

10% (60)
10% (40)

(50)

20% (70)
20% (30)

:
(Minor Deviation)
(Major Deviation).

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

26

WindowMaker

(Rate of Change Alarm)


, ,
.

,
,

(Event)
InTouch ,

. :

InTouch.

(Deadband)
,

.

/, .
:

(Value Deadband)
,
.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

WindowMaker

27

(Value
Logging Deadband)
, ,
.

(Limit alarm
deadband)

, .

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)


28

WindowMaker

(Deviation deadband)
,

.


WindowViewer,
, .
,
WindowViewer
WindowViewer,
.
:

(Value Retention) - WindowViewer


,
WindowViewer.

(Parameter Retention) -
WindowViewer ,
WindowViewer.


,
. , .Name ,
.Value .
. , ,
. :
indtag1.name = inttag;

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

WindowMaker

29



InTouch:

Cross Reference
. ,

, ..

Update Use Counts


.
,
.
.

Delete Unused Tags ,


,
.


(
) /.
, .

.
, Access Name.

Access Name
Access Name,
, .
,

DDE SuiteLink .
Access Name :

Node name
, .

Application name
.

Topic name
, .

/,
Access Name (Item). -
,
.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

30

WindowMaker

I/O Failover
InTouch
, .
Access Name .

(Primary I/O Source)


, .

(Secondary I/O Source) -


,
.


Failover,
.

.
,
.

InTouch


.

InTouch
InTouch BASIC.
:

(IF...THEN...ELSE)

(FOR...NEXT)

InTouch
. , ,
, .

QuickScript
QuickScript ,
InTouch.
InTouch.
:

(, Sin,
os)

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

31

WindowMaker


Message, ,
.

- InTouch
, ,
Notepad.

Recipe Manager, SPC SQL


Access.

QuickFunction,
.
, .
QuickFunction
.

InTouch
,
. .
, .
InTouch WindowViewer ( )

InTouch

InTouch

ActiveX

ActiveX

, InTouch ,
.

- , WindowViewer
, .

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

32

WindowMaker

- ,
WindowViewer, ,
.

, .

- ,
( True, False,
True False).

- ,
, .

ActiveX - ,
ActiveX , ActiveX .

,
InTouch.
:

:
. , , ,
.

: ,
. , ,
, .

.
,
, 5
.


QuickFunction
WindowViewer

: InTouch
, .
.

: InTouch
.



InTouch.
,
.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

WindowMaker

33

, .



, .
:



. ,

.


,

.
, ,

.
,

.

.
.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

34

WindowMaker


,

.

,

, ,
.

, .
, ,
.


,

.
, ,
.


, :


. , ,
.

(Blinking): .

(Visibility):
.

(Disable):
.

(Tooltip):
.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

WindowMaker

35



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

.
.

, .

InTouch ,
. .
:

(Switch):
. , ,
.

(Slider):
. , , .

(Light):
. , ,
.

(Button):
. ,
.

(Clock): .

(Trend): InTouch
IndustialSQL Server.

SymbolFactory: SymbolFactory.

Window Control: InTouch,


, ,
.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

36

WindowMaker

,
.

. :

(Real Time Trend) .


4 .

16- (16-Pen Trend) .



16 .

(Simple Historical Trend)


. , 8
.

(Historical Trend) .
, 8 .

ActiveX
InTouch ActiveX ,
. ActiveX :

AlarmViewer:
, InTouch
. ActiveX AlarmViewer
.

AlarmTreeViewer: ,
.

AlarmDBView:
.

AlarmPareto:
.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

37

WindowViwer

4
WindowViewer
WindowViwer InTouch.
WindowViwer,

.
InTouch
,
WindowViwer.

InTouch
WindowViwer ,
InTouch.
InTouch .

WindowViwer DDE
Suitelink , InTouch .

Starting Uninitiated Conversations: WindowViwer



DDE Suitelink .

Reinitializing I/O Data Sources: WindowViwer


. ,
/ ,
.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

38

WindowViwer

:
.
, .

:

InTouch


InTouch
InTouch
:


, InTouch,
.


InTouch
.
WindowViwer
InTouch. :

, WindowViwer
:

,
InTouch.

Excel.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

39

5

InTouch:

InTouchView

InTouch

InTouch

InTouch FactorySuite. License


Utility ,
InTouch Wonderware.
Wonderware ,
, .
. License Utility

.
License Utility ,

c:\program files\common
files\archestra\license wwsuite.lic.
wwsuite.lic. , License
Utility
wwsuite.lic.
wwsuite.lic
Wonderware.
: ,
.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

40

InTouchView
InTouchView HMI ,
ArchestrA
Application Server. InTouchView
Application Server .
,
Application Server ,
HMI
InTouchView.

Application
Server


InTouch View


InTouch View


InTouch View

IndustrialSQL
Server
()


InTouch View

InTouch WindowMaker
InTouchView. :

InTouch

/,
ArchestrA

, InTouchView

,
Application Server.

InTouchView WindowViwer
InTouchView.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

41

InTouch
InTouch
. ,
InTouch: c:\documents and
settings\username\my documents\my InTouch
applications username Windows
.
WindowMaker
WindowViwer.
InTouch
InTouch Application
Publisher.
Application Publisher
.

.
Application Manager


. , ,
Find Application Application Manager.

InTouch

InTouch. , , ,

InTouch. :

SmartSymbol



DBDump DBLoad.
:

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

42

DBDump DBLoad Application Manager.


DBDump
.CSV. DBLoad
.CSV
InTouch.

.
InTouch Application Manager
InTouch


Microsoft Excel Notepad.
InTouch .
,
.

InTouch
InTouch WindowMaker.
WindowMaker
.

WindowMaker.
,
, .

InTouch
WindowMaker
:

(Application script)

(Window scripts)

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

(Key scripts)

(Condition scripts)

(Data change scripts)

ActiveX (ActiveX event scripts)

43

,
InTouch.

.

SmartSymbol
SmartSymbol Manager SmartSymbol
InTouch. SmartSymbol Manager
.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

44

6

InTouch,
, :

Recipe Manager InTouch.

SQL Access Manager


InTouch SQL .

SPCPro
.

InTouch
Wonderware, :

SuiteVoyager

Application Server

IndustrialSQL Server

ActiveFactory

, , InTouch
, :

InTouch
(Network Application Development)

InTouch .

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

45

Recipe Manager
Recipe Manager
.

.
:

,
.

,
InTouch .

,
, .

Template Definition ,
. .

Unit Definition InTouch


.

Recipe Definition
,
.

.CSV,
, , Microsoft Excel.

SQL Access Manager


SQL Access Manager
InTouch , , Microsoft SQL Server,
Microsoft Access, Oracle.
:

SQL

SQL Access Manager InTouch


SQL .
, :

Table Template: , InTouch


, .

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

46

Bind List: , InTouch


.
Table Template


,
.

SQL

Bind List
InTouch
.

SQL Access
.

SPCPro
SPCPro
(Statistical Process Control),
InTouch. SPCPro
InTouch
.
SPCPro

. SPC
.
SPCPro
,
.

. SPCPro
,
.

SPCPro
SPCPro SPC :

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

47

(Control Chart)

(Histogram)

(Pareto)

Control Chart
: X Individual, X bar - R, X bar - s, Moving-X MovingR, CUSUM, EWMA, C, P, U, NP.

SPC
SPCPro .
, SPCPro,
.

Time-based: ,
.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

48

Event-based: , ,
, ,
True.

Manual Data Input: ,


.

InTouch
Wonderware
InTouch
Wonderware, :

SuiteVoyager: InTouch, ,
.

InTouch

Application Server: ArshestrA InTouch



InTouch/

IndustrialSQL Server: InTouch.

ActiveFactory: InTouch.

InTouch
Wonderware

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

49

InTouch SuiteVoyager
SuiteVoyager Web .
SuiteVoyager
.

InTouch SuiteVoyager :

:
InTouch SuiteVoyager,
.

: SuiteVoyager
InTouch.

InTouch .

: SuiteVoyager
.

:
SuiteVoyager
InTouch, IndustrialSQL Server.

InTouch Application Server


Application Server ArchestrA
,
InTouch.
Application Server InTouch:

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

50

Galaxy: Application Server


InTouch,
.

: Application Server
,
InTouch.

: Application Server
.NET .

InTouch Application Server


:

InTouch Galaxy.

Application Server
InTouch.

InTouch
Application Server.

InTouch ,
ArchestrA Symbol Editor.

Galaxy, Application Server


Bootstrap InTouch. Galaxy,
Application Server IDE.
, Application Server .

InTouch IndustrialSQL Server


IndustrialSQL Server InTouch
SQL .
InTouch IndustrialSQL Server
:

InTouch .
, IndustrialSQL
Server InTouch.

InTouch IndustrialSQL
Server .
SQL
IndustrialSQL Server, .

InTouch ActiveFactory
ActiveFactory
IndustrialSQL Server. ActiveFactory
ActiveX ,
InTouch.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

Trend: IndustrialSQL Server


Query: IndustrialSQL Server


SQL .

Tag Picker Time Picker:

Single Value Entry: , ,


,
IndustrialSQL Server

Active Data Grid: SQL


SQL .

51



InTouch,
.
, None,
,
InTouch.
InTouch :

InTouch: InTouch
, InTouch.

, :
, InTouch
User Manager .

, ArchestrA:
, InTouch,
Application Server IDE.

InTouch,

,
0 9999.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

52

WindowMaker
()

InTouch

InTouch

ArchestrA

. ArchestrA

WindowViewer
(

InTouch)

ArchestrA

ArchestrA
Application Server

InTouch
InTouch Administrator
Wonderware 9999.
InTouch,
InTouch .
$AccessLevel $Operator
.
,
.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

53



, InTouch.
Windows ,
WindowMaker WindowViwer.
, .

.

ArchestrA
ArchestrA,
Application Server IDE.
ArchestrA
, InTouch:

: Galaxy
InTouch,
.

: Galaxy
InTouch, ,

.


InTouch,
Windows
.
:

WindowViwer.

,
, Ctrl, Alt, Del, Win, Esc.

Windows XP.

WindowViwer.

(NAD)
(NAD),

InTouch .
WindowMaker.

InTouch.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

54

,
, .

, ,
WindowViwer,
.

InTouch
NAD


NAD
NAD

NAD
NAD

InTouch

InTouch

InTouch

InTouch

InTouch

InTouch

InTouch
InTouch InTouch,
,
.
InTouch InTouch
,
InTouch
.
InTouch Remote Desktop Protocol (RDP)
.

InTouch .

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)


WindowViewer


WindowViewer

55


WindowViewer

InTouch

InTouch
,
.

,
.
.

Wondereware ,
Windows XP Tablet PC InTouch.

,
. Wondereware
.

Wondereware
.
InTouch, .

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

56

, ,
,
.
InTouch AnnotateLayout,
.
AnnotateLayout InTouch
Windows XP Tablet PC.
, AnnotateLayout
InTouch.
AnnotateLayout.

AnnotateLayout .

.

GIF JPEG.
,
.


.
WindowMaker , ,
InTouch .

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

57

,

Alarm Printer.


InTouch :

, .

, InTouch


,
Alarm Printer.
(Historical Logging)
.
WindowViwer,
, .

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

58


InTouch HMI

2008

www.klinkmann.com

Helsinki
ph. +358 9 540 4940
automation@klinkmann.fi



1.0

-
. +7 812 327 3752
klinkmann@klinkmann.spb.ru

. +7 846 993 49 33
samara@klinkmann.spb.ru

Rga
tel. +371 6738 1617
klinkmann@klinkmann.lv

. +7 495 641 16 16
moscow@klinkmann.spb.ru

. +38 044 495 3340


klinkmann@klinkmann.kiev.ua

Tallinn
tel. +372 668 4500
klinkmann.est@klinkmann.ee

. +7 343 376 53 93
yekaterinburg@klinkmann.spb.ru

. +375 17 2000876
minsk@klinkmann.com

Vilnius
tel. +370 5 215 1646
post@klinkmann.lt

-
InTouch.

1. InTouch . . . . . . . . . . 9
InTouch . . . . . . . . . . . . . . . . . . . . . . . 10
InTouch . . . . . . . . . . . . . . . . . . . . 11
. . . . . . . . . . . . . . . . . . . . . 12
ArchestrA
. . . . . . . . . . . . . . . . . . . . . . . . 14
InTouch . . . . . . . . . . . . . . . . . . . . . . . . 15
. . . . . . . 17
InTouch . . . . . . . . . . . . . . . . . . . . . . . 18
InTouch . . . . . . . 19
. . . . . . . . . . . . . 19
InTouch . . . . . . . . . . . . . . . . . . . . . . . . . . 20
. . . . . . . . . . . . . . . 21
. . . . . . . . . . . . . . . . . . . 22
InTouch . . . . . . . . . . . . . . . . . . . . 23
InTouch . . . . 26
. . . . 27

2. . . . . . . 28
InTouch . . . . . . . . . . . . . . . . . . . 29
. . . . . . . . . . . . . . . . . . . . . 29
. . . . . . . . . . . . . . . . . . . . . . . . . . 30
. . . . . . . . . . . . . . . . . . . . . . . . . . 31
(NAD) . . . . . . . . . 32
, . . . . 33
- . . . . . . . 33
- . . . . . . . . . . . . . . . . . . . 34
- . . . . . . . . . . . . . . . . . . . . 35
Wonderware SuiteLink . . . . . . . . 36
. . . . . . . . . . . . . . . . . . . . . . 37
. . . . . . . . . . . . . . . . . . 37
. . . . . . . . . . . . . . . . . . 38
UNC- . . 39
. . . . . . . . . . . . . . 40
. . . . . . 42

. . . . . . . . . . . . . . . . . . . . . . . . . . 44
. . 44

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

. . . . . . . . . . . . . . . . . . 45
InTouch NAD . . . . . . . . 46
NAD . . . . . . . . . . . . 48
NAD . . . . . . . . . . . . . . . . . 49
$ApplicationChanged . . . . . . . . . . . . . . . . . . 49
$ApplicationVersion . . . . . . . . . . . . . . . . . . 50
RestartWindowViewer() . . . . . . . . . . . . . . . . . . . . 51
ReloadWindowViewer() . . . . . . . . . . . . . . . . . . . . 52
. . . . . . . . . . . . . . . . 52
NAD . . . . . . . . . . . . . . . . 53
. . . . . 54
. . . . . . . . . . . . . . . . . . . . 56
,
. . . . . . . . . . . . . . . . . . . . 57
. . . . . . . . . . . . . . . . 57
. . . . . . . . . . . . . 58
- . . . . . . . . . . . . . . 58
. . . . . . . . 59
. . . . . . . . . 60
InTouch
. . . . . . . . . . . . . . . . . . . . . . . . 61
TseGetClientId() . . . . . . . . . . . . . . . . . . . . . . . . 61
TseGetClientNodeName() . . . . . . . . . . . . . . . . . . . 61
TseQueryRunningOnConsole() . . . . . . . . . . . . . . . . 62
TseQueryRunningOnClient() . . . . . . . . . . . . . . . . . 62

3. InTouch . . . . . . . . . . . . 63
. . . . . . . . . . . . . . . . . . . . 64
. . . . . . . . . . . . 65
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
. . . . . . . . . . . . . . . . . . . . . . . . . 66
InTouch . . . . . 67
InTouch . . . . . . . . . . . . . . . . . . . . . . . 68
. . . . . . . . . . . . . 69
, 69
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
InTouch . . . . . . . . . . . . 70

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

4. ,
. . . . . . . . . . . . . . . . . . . . . . . . 71
. . . . . . . . . . . . . . . . . . . . . . . . . . 71
. . . . . . . . . . . . 73
. . . . . . . . . . . . . . . . . . . . . . . . . . 74
. . . . . . . . . . . . . . 74
. . . . . . . . . . . . . . . 76
. . . 77
:MODE=REPLACE . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
:MODE=UPDATE . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
:MODE=ASK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
:MODE=IGNORE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
:MODE=TERMINATE . . . . . . . . . . . . . . . . . . . . . . . . . . 79
:MODE=TEST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
. . . . . . . . . . . . . . . . 80
:IOAccess . . . . . . . . . . . . . . . . . 80
:AlarmGroup . . . . . . . . . . . . . . . 82
. . . . . . . . . . . . . 84
. . . . . . . . . . . . . . . . . . . . 85
:MemoryDisc . . . . . . . . . . . . . . . 90
:IODisc . . . . . . . . . . . . . . . . . . . 91
:MemoryInt . . . . . . . . . . . . . . . . 91
:IOInt . . . . . . . . . . . . . . . . . . . 93
:MemoryReal . . . . . . . . . . . . . . . 95
:IOReal . . . . . . . . . . . . . . . . . . 97
:MemoryMsg . . . . . . . . . . . . . . . . 98
:IOMsg . . . . . . . . . . . . . . . . . . . 99
:GroupVar . . . . . . . . . . . . . . . . . 100
:HistoryTrend . . . . . . . . . . . . . . . 100
:TagID . . . . . . . . . . . . . . . . . . . 100
:IndirectDisc . . . . . . . . . . . . . . . 101
:IndirectAnalog . . . . . . . . . . . . . . 101
:IndirectMsg . . . . . . . . . . . . . . . 102
. . . . . . . . . 102
, . . . . . . 103
. . . . . . . . . . . . . . . . . . . . 104
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

- . . 108
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
- . . 112
- . . . . . . . . 114

5. InTouch . . . . . . . . . . . 116
InTouch . . . . . 118
- . . . . . . . . . . . . . . . . . . . 118
$InactivityTimeout . . . . . . . . . . . . . . . . . . . 120
$InactivityWarning . . . . . . . . . . . . . . . . . . 121
. . . . . . . . . . . . . . . . . . . . . 121
EnableDisableKeys() . . . . . . . . . . . . . . . . . . . . . 124
. . . . . . . . . . . . . . . 125
. . . . 128
: . . . . . . . . . . . . . . 128
. . . . . . . . . . 128
InTouch . . . . . . . . . . . . . . . 128
. . . . . . 129
ArchestrA . . . . . . . . . . . . . . 130
. . . . 131

InTouch . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
InTouch . . . . . . . . 133

. . . . . . . . . . . . . . . . . . . . . . . . . . 134
ArchestrA . . . . . . . . . 135
AddPermission() . . . . . . . . . . . . . . . . . . . . . . . . . 136
ChangePassword() . . . . . . . . . . . . . . . . . . . . . . . . 137
$AccessLevel . . . . . . . . . . . . . . . . . . . . . . . 137
$ChangePassword . . . . . . . . . . . . . . . . . . . . . 138
$ConfigureUsers . . . . . . . . . . . . . . . . . . . . . 139
. . . . . . . . . . . . . . . 140
InTouch . . . . 140
InTouch . . . . . . . . . . . . . . . . . . 140

. . . . . . . . . . . . . . . . . . . . . 141
ArchestrA . . . 141

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

. . . . . . . . . . . . . . . 142
PostLogonDialog() . . . . . . . . . . . . . . . . . . . . . . . . 143
LogonCurrentUser() . . . . . . . . . . . . . . . . . . . . . . . 143
Logoff() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
AttemptInvisibleLogon() . . . . . . . . . . . . . . . . . . . . 144
$OperatorEntered . . . . . . . . . . . . . . . . . . . . . 145
$PasswordEntered . . . . . . . . . . . . . . . . . . . . 146
$OperatorDomainEntered . . . . . . . . . . . . . . . . 147

. . . . . . . . . . . . . . . . . . . . . . 148
InvisibleVerifyCredentials() . . . . . . . . . . . . . . . . . . . 149
. . . . . . 150
GetAccountStatus() . . . . . . . . . . . . . . . . . . . . . . . 150
IsAssignedRole() . . . . . . . . . . . . . . . . . . . . . . . . . 151
QueryGroupMembership() . . . . . . . . . . . . . . . . . . . 152
$OperatorName . . . . . . . . . . . . . . . . . . . . . . 153
$OperatorDomain . . . . . . . . . . . . . . . . . . . . . 153
$Operator . . . . . . . . . . . . . . . . . . . . . . . . . 154
$VerifiedUserName . . . . . . . . . . . . . . . . . . . . 154

6. . . . . . . . 155
. . . . . . . . 156
. . . . . . . . . . . 158
. . . . 159
SwitchDisplayLanguage() . . . . . . . . . . . . . . . . . . . . 161
$Language . . . . . . . . . . . . . . . . . . . . . . . . . 162
. . . . . . . . . . 162
- . . . . . . . . . . . . . . 164
- . . . . . . . . . . . . . . . . 164
- . . . . . . . . . . . . . . . . . . 167
. . . . . . . . . . . . . . . 168
. . . . . . . . . . . . 168
. . . . . . . . . . . . . . . . . . . . . 169
. . . . . . . . . 171
- . . . . . . . . . . . . . . . . . . . . . 172
. . . . . . . . . . . . . . . 174
. . . . . 175

. . . . . . . . . . . . . . . . . . . . . . . 176
- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

7. . . . . . . . 177
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
. . . . . . . . . . . . . . . . . . . . . . 178
. . . . . . . . . . . . . . 178
. . . . . . . . . 182
. . . . . . . . . . . . . . . . . . . . . . . 183
. . . . . . . . . . . . . . . . . . . 183
. . . . . . . . . . . . . . . . . . . . . 184
. . . . . . . . . . . . . . . . . . . . . 185
. . . . . . . . . . . . . 185
InTouchView . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
InTouchView . . . . . . . . . . . . . . . 187
InTouch InTouchView . 188
InTouchView InTouch . . . . . . 188
InTouch InTouchView . . . . . . 189
InTouchView . . . . . . . . . . . . . . . . . . . . . . 190

8. . . . . . . . . 191
. . . . . . . . . . . . . . . . . . . . . . 192
. . . . . . . . . . . . . . . . . . . . . . . 192
. . . . . . . . . . . . 192
. . . . . . . . . . . . . . 193
. . . . . . . . . . . . . . . . . . . . . . . 193
. . . . . . . . . . . 194
. . . . . . . . . . . . . . 194
. . . . . . . . . . . . . . 195
. . . . . . . . . . . . . . . . . . 195
. . . . . . . . . . . . . 195
. . . . . . . . . 196
. . . . . . . . . . . . . 197
. . . . . . . . . . . . . . . . . 197
. . . . . . . . . . . . . . . . . . . . . . 197

. . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
InTouch . . . . . . . . . . . 199
. . . . . . . . . . . 199
. . . . . . . . . . . . 200

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)


. . . . . . . . . . . . . . . . . . . . . . . . . . 201
. . 202

9. InTouch
Tablet PC . . . . . . . . . . . . . . . . . . . . 203

E-mail . . . . . . . . . . . . . . . . . . . . . . . . . . 204
. . . . . . . . . . . . . . . . . . . . . . . 205
, . . . . . . . . . . . 205
, E-Mailing 206
AnnotateLayout() . . . . . . . . . . . . . . . . . . . . . . . . 207
. . . . . . . . . . . . . . . . . . . . . . . 208

A.
INTOUCH.ini . . . . . . . . . . . . . . . . . . . . . 209
INTOUCH.ini . . . . . . . . . . . . . . 210
Setting Custom Logging Properties . . . . . . . . . . . . . . . . . . . . 211
. . . . . . . . . . . . . . . . . . . . 211
. . . . . . . . 212
WindowMaker . . . . . . . . 212
WindowMaker . . . . . . . . 212
WindowViewer . . . . . . . . 213
. . . . . . . . . . . . . . . . . 213
InTouch
. . . . . . . . . . . . . . . . . . . . . . . . . . . 214
. . . . . 214
. . . . . . . . . . . . . . . . 214
16 . . . . . . . 214
. . . . . . . . . . . . . 215
. . . . . . . . . . . . . . . . . . . . 216

(On Key Up Events) . . . . . . . . . . . . . . . . . . . . . . . . . . . 216

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

1. InTouch

1
InTouch

InTouch
:
InTouch;
(WindowMaker)

(Win-dowViewer);

;
;
;
InTouch;
,

(. 6);

ArchestrA (. 7);
, ,

(. 8);

(.

9).

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

10

1. InTouch

InTouch
InTouch (InTouch Application Manager)
,
, ,
InTouch.

InTouch.
.

InTouch

InTouch

ArchestrA

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

1. InTouch

11

InTouch
InTouch
ArchestrA,
, -
InTouch (InTouch HMI).
InTouch.
InTouch,
InTouch,
ArchestrA
.
ArchestrA
.
InTouch
Managed (); ,

.

,
delete,

InTouch


ArchestrA
,
delete,

InTouch

.
- InTouch
ArchestrA .

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

12

1. InTouch



, .

INTOUCH.ini.
.
INTOUCH.ini
.

1 Wonderware InTouch.

Welcome to InTouch Application Manager


( ).


2 Next. .

,
, , C:\Documents
and Settings\UserName\My Documents\My InTouch
Applications. ,
Microsoft Vista,
C:\Users\UserName\
Documents\My InTouch Applications.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

1. InTouch

13

3 ,

Browse,
, OK.

InTouch ,
, , .
, ,
InTouch .

4 Finish ().



InTouch, . Version ()
InTouch,
.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

14

1. InTouch

ArchestrA


InTouch
ArchestrA.

ArchestrA , ,
, -
InTouch, (Application Server).
ArchestrA

1 .
2 File ArchestrA IDE (

ArchestrA).
Connect to Galaxy ( Galaxy).

3 Galaxy,

Galaxy.
ArchestrA IDE (
ArchestrA).


4 ,

InTouch.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

1. InTouch

15

InTouch
InTouch
.
114 ,
, .
,
.

INTOUCH.ini .


InTouch.

1 File New ().

Create New Application ( ).


2 (

, ):
,

, Browse ();

, Set As Default Directory


( ).

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

16

1. InTouch

3 Next ().


4 .
5 Next. .


6 :
Name () .

Description ()

(). 255 ;

InTouchView,

InTouchView Application ( InTouchView).


InTouchView .
.

7 Finish ().

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

1. InTouch

17




, .

1 .

2 File WindowMaker ( ).

- .

1 .

File WindowViewer ( ).

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

18

1. InTouch

InTouch

.

1 .
2 File Rename ().

1 .

2 File Properties ().

Properties.


3 :
Name () ;
.
4 OK.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

1. InTouch

19

InTouch


.

1 File Delete ().

2 ,

, Yes.



.
:
(Large Icons),
(Small Icons), (Brief List)
(Detailed List).

View ()

Toolbar ( ).


View ()

Status Bar ( ).

View () : Large
Icons ( ), Small Icons ( ), Brief List
( ) Detailed List ( ).

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

20

1. InTouch

InTouch

InTouch.
.
,
114 (
,
). ,
.

1 Tools () Find

Applications ( ).
Browse For Folder ( ).


2 , .
3 OK.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

1. InTouch

21


(Application Publisher),
-,
,
InTouch .
:
(Run-time only).

, ,
;

(Design-time and run-time).

,

. , ,
*.wvw-,
,
.


-, .
, ,
:
;
;
();
.

:
Description

()

Dairy Processing Application


(
)

Publisher

Navin Johnson

File Name

Dairy.exe/Video
Resolution(1024 x 768) ()

Description

Dairy Processing Application


(
)

()
( )
()
Publisher

Navin Johnson

File Name

Dairy_2.exe/Video
Resolution(800 x 600) ()

()
( )

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

22

1. InTouch


,
, ,
.

(
.?bk).

:
,
.win, .dat., lgh, .idx, .log, .fsm,
.stg, .$$$
(Special
Directories).
retentiv.x
retentiv.d
retentiv.a
retentive..s ( )
retentiv.h
retentiv.x
wm.ini
db.ini
linkdefs.ini
tbox.ini
group.def
itocx.cfg

appedit.lok,
,

.

,
SSD_*.xml


.xml.


.wvw.

wiz.ini,

(wizards).

.

.dll, .wdo, .wdf.


, ,
SSD_*.xml.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

1. InTouch

23

InTouch
,
,
, .
InTouch
1 :
a ;
b (Classic View).

Tools ();

c Applications ();
d Application Publisher

( ).

InTouch Application Publisher


Step 1 of 4 ( InTouch 1 4).


2 Next. InTouch

Application Publisher Step 2 of 4 (


InTouch 2 4).

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

24

1. InTouch

3 :
Enter author name ( )

, ,
. 256
;

Description () .

- 256 ;

Package Name ( )

. 32 .
,
.

4 Next. InTouch

Application Publisher Step 3 of 4 (


InTouch 3 4).


5 :
, ,

InTouch.
;

,
Runtime only (
).

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

1. InTouch

25

6 Next. InTouch

Application Publisher Step 4 of 4 (


InTouch 3 4).


7 :
,

.
;

,
, Browse.
.

8 Finish:

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

26

1. InTouch

InTouch

,
-
InTouch, .
,
, :
,


- InTouch;

.

- InTouch.


- InTouch
Backup Configuration (
). ,
, ,
- .

-
, (<_
>\Bak), Use De-fault Backup
Path ( ,
), Backup Path (
) ,
. , ,
.
Ignore Files ( ) ,
.
.
, ,
, (;),
(* ?).

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

1. InTouch

27



,
, In-Touch 7.11, ,

.
, (Standard
Alarm Object)
(Distributed Alarm Object) . ,
,
.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

28

2.

(distributed applications)
(central development
station), (central data storage)
(client station).

InTouch (Network Appli-cation Development,
NAD). NAD
,
.

.
InTouch
ArchestrA.
. -
InTouch ArchestrA ( 1).

(single computer),
(client-based) (server-based)
InTouch.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

2.

29

InTouch
InTouch:
;
;
;
(NAD).



,
.
, ,
.
InTouch
.
, .

InTouch

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

30

2.



InTouch ,
( , View node),
. ,
,
, .

InTouch

InTouch

InTouch

,
,
.


, , -
IndustrialSQL Server.
,
.

.

.
,
.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

2.

31



InTouch .

.

InTouch

InTouch;

, .



.


.

.
:
;
;
.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

32

2.

(NAD)

,
.

.
(
Notify Clients ( ) Special
) ,
.

.


.

,

.

InTouch

InTouch

InTouch


,
NOD
. ,
,
.


,
.
.

.
, ,
, ,
.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

2.

33

,
InTouch, :
-;
;
;
, .

-
- InTouch
(Access Names).
-, , .
-
-
-.
InTouchView
Galaxy. InTouchView
. , InTouchView, .
.


, .

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

34

2.

-
-

-.
, ,
.
,
.
-.

-,
-.
1

DAServer DAS1

InTouch ,
,
,
.
, , ,
. InTouch
,
.
- . InTouch.
( 5).

SuiteLink,

, .
IOSetAccessName()
:
,
.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

2.

35

-
- ,
-.
,

.
, ,
,
-.
-,
-.
1

-
, . ,
,
,
.

- . -
InTouch. ( 5).

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

36

2.

Wonderware SuiteLink
Wonderware SuiteLink
TCP/IP.

:
VTQ (Value Time Quality,

- ), ,
VTQ- (VTQ-aware clients),
. InTouch VTQ-,
VTQ;

,

Microsoft Windows;

, ,

.

SuiteLink DDE, FastDDE


NetDDE.
.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

2.

37



:
-;
.


, .



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

, .
1

- Moo

, , .
, G:\Directory\Recipe.csv, G:\ -
, \\Moo\Share.

.

2 , :

RecipeSelectRecipe(G:\Directory\Recipe.csv,
review, RecipeName);

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

38

2.



,
.


.
1

:
C:\Directory\Recipe.csv,

C:\ - .
,
:
RecipeSelectRecipe(C:\Directory\Recipe.csv,
review, RecipeName);

,
.

,
.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

2.

39

UNC
,
(Universal Naming Convention, UNC-),
, ,
, ,
. UNC-,

.
UNC- : \\\_\, :
,

_ ,

Wonderware SuiteLink,
15 .

UNC,

, . .
Windows.
, ,
EngineRm,
C:\
Root. UNC- C:\
IT\Apps\Boiler, UNC-:
\\EngineRm\Root\IT\Apps\Boiler
Boiler
Boiler, UNC-
:
\\EngineRm\Boiler
, .
,
UNC-,
,
. , ,
UNC- ,

.
, Windows.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

40

2.



InTouch
InTouch .

.
(history providers).

InTouch,

InTouch.

()

, ,
(
).
, , .
,
(Log Data), ,
22 .
HTUpdateToCurrentTime(),

.
. ,
INTOUCH.ini :
ForceLogging = X;

X . 5
120.

- Wonderware NetDDE Helper.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

2.

41



(NAD)
.
1

2
3


(HistPrv1)

1 2
InTouch. ,
1
;
, ()
. 3
.
3, , HistPrv1.
1 (development
station), (run-time station), 2
.
.
1 (.

).

2 . .

- InTouch.
( 10).

3 . .

4 . .

InTouch NAD.


NAD.

.
, ,
,
.
, -

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

42

2.

;
.


,
-
InTouch,
.
InTouch IndustrialSQL Server.

InTouchView.
InTouchView .
InTouchView.

InTouch
,
.

, ,
(Logger) .
HistData
- IndustrialSQL Server.

1 Special Configure (),

Distributed Name Manager (


). Distributed Name Manager.

2 Distributed History (

).


3 Provider Name ( ) ,


. 16 .

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

2.

43

4 InTouch

a InTouch Provider ( InTouch);


b UNC UNC- InTouch.

UNC- :

\\_\_\\

, UNC-, ,
,
Windows.

IndustrialSQL Server :

a InSQL Provider ( InSQL);


b Configure InSQL Provider (

InSQL).
InSQL History Provider Properties (
InSQL);


c Data Source ( ) (

35 ), IndustrialSQL
Server;

d User ()

, .

;

e Password () Re-enter password (

) ;

f IndustrialSQL Server

Test.
OK;

g InSQL History Provider

Properties, OK.

6 Add ().

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

44

2.




.
,
HTSetPenName(),
:
HTSetPenName(HistTrendTag, 1, HistPrv1.Boiler1);
1 (trend pen),
.
Historical Trend Setup
( ) .Pen

.


InTouch,
InTouch.

InTouchView.
InTouchView . -
InTouchView.

1 Special Configure (),

Historical Logging ( ).
Historical Logging Proper-ties
( ).


2 ,

Enable Histori-cal Logging (


).

3 Store Log Files in Specific Directory

( - ).
, .

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

2.

,
(UNC), : \\\_\.

NAD, ,
, .

45

4 Name of Logging Node ( -)

,
-.

,
.

5 OK.
,
( Enable
Historical Logging), ,
Enable Historical Logging, ,
. Enable Historical Logging ,
, .


, InTouch
, NAD
win.ini :
ViewNadClearNADCopyDirectory=0

ViewNADCopyApplicationOnStartup=1

ViewNADOnApplicationChanged=3 ( 4)
ViewNADThreadPriority=2

ViewNADOnApplicationChanged 3
Load Changes Into WindowViewer
( ) Node
Properties ( ) InTouch.
4 Prompt user to load
changes into WindowViewer (
).

,
(NAD) .
NAD ,

.
SmartSymbol,
, NAD.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

46

2.

InTouch NAD
(Network
Application Development, NAD)
. NAD


.
NAD
,
:

, , c:\InTouch\NAD,
UNC-, , \\node\share\
path. ,

;

( )


, , ,
.

UNC-,
, ,
,
,
.

UNC- .

,
NOD
, . NOD
;
- , ,
NAD.
NAD
, .
.
.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

2.

47

NAD
1 .

2 Tools () Node Properties

( ). Node Properties.


3 Enable Network Application Development

( ).

4 Local working directory ( )

,
.

5 Polling period (sec) ( , )

( ),

.

.

,
.

6 Change Mode ( ) ,

Ignore changes ( )

Restart WindowViewer ( )


( ),
;

Prompt user to Restart WindowViewer (

)
,
.
(
) ,

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

48

2.

;
Load Changes Into WindowViewer (

) - -,
, .

;

Prompt user to load changes into WindowViewer (

)
, ,
,
.

7 OK.

NAD

NAD .
Notify Clients ( )
,
, .

(Change Mode),
.

1 .
2 Special Notify Clients (

).

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

2.

49

NAD
,
NAD
, .

NAD, Node Properties (
) Change Mode ( )
Ignore Changes ( ).
. ( InTouch
NAD).
NAD
:
$ApplicationChanged;
$ApplicationVersion;
RestartWindowViewer();
ReloadWindowViewer().

$ApplicationChanged
,
(NAD).

$ApplicationChanged

,
( Notify Clients
Special ). ,
, .
,
, .
$ApplicationChanged

.
.
,
ReloadWindowViewer().

( ).

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

50

2.


.
,
,
.
$ApplicationChanged
.

$ApplicationVersion

$ApplicationVersion
.
,
.

$ApplicationVersion

, $ApplicationVersion,

InTouch. ,
.
, ,
.

( ).

, ,
,
.
$ApplicationVersion
.

$ApplicationChanged

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

2.

51

RestartWindowViewer()
,
( )
.

RestartWindowViewer();

,

(NAD) .
, NAD
,
$ApplicationChanged.
NAD
Notify Clients ( ).

. RestartWindowViewer()
,
,
, .

ReloadWindowViewer(),
.
.

$ApplicationChanged, ReloadWindowViewer()

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

52

2.

ReloadWindowViewer()

NAD,
.

ReloadWindowViewer();

,

(NAD) .
, NAD
,
$ApplicationChanged.
NAD
Notify Clients ( ).

. ReloadWindowViewer()
,
,
, .
.

$ApplicationChanged



,
.

. ,
.

appedit.loc
.
, appedit.loc
.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

2.

53

NAD
,

( , , ..).

, : *.WVW, *.DAT, *.LGH,
*.IDX, *.LOG, *.LOK, *.FSM, *.STG, *.DBK, *.CBK, *.HBK, *.KBK,
*.LBK, *.NBK, *.OBK, *.TBK, *.WBK, *.XBK, *.$$$, RETENTIV.
X, RETENTIV.D, RETENTIV.A, RETENTIV.S, RETENTIV.H,
RETENTIV.T, SSD_, WM.INI, DB.INI, LINKDEFS.INI, TBOX.INI,
GROUP.DEF, ITOCX.CFG.
,
, ,
.

.

NAD ,
,
. NAD
, , ,

.
, ,
,
.

NAD_Temp. NAD_
Temp ,

. NAD
,
,
.
NAD
, ,
, ,
NAD_Temp
. , ,
- ,
.
NAD ,

. ,
NAD .
Notify Clients ( ),
NAD
.

Notify Clients.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

54

2.


,
(Dynamic Resolution
Conversion, DRC).

,
, .
,
;
.
,
,
.

,
, ,
,
. ,
,
.
, UNC-
, ,
-.

1 .

2 Tools () Node Properties

( ). Node Properties.

3 Resolution ().

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

2.

55

4 ,

,
Allow WindowViewer to dynamically change
resolution (
).

5 Dynamic Resolution ( )

Use Application Resolution (

) , ,
,
,
. ,
640480,
1024768,
.
640480;

Convert to Screen video resolution (

) - , ,

,
. ,
640480,
12801024,

, .. 640480;

Custom Resolution ( ) - ,

,
, Pixel width
(X) ( ) Pixel height (Y) ( ).
- .
,
, . ,
Pixel width (X) 512, Pixel height (Y)
384,
512384 .

6 OK.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

56

2.


(Terminal Services) ,
Microsoft Windows Server,
Windows-
. -
-,
InTouch.

InTouch

:
Terminal Services Server ( )


-
.
,
,

, ,
.
;

Remote Desktop Protocol (RDP,

) ,
. ,
RDP,
( , ..);

Client ().

- ;
.

Terminal Services Client ( )
Windows .
- ,
Windows. ,
.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

2.

57

Windows,
. Microsoft.

,


, .

,
:
(, Wonderware

InTouch), ;

;
,

,
;

, InTouch

(, , -, )
.



InTouch, ,
, ,
.
(Alarm Providers)
(
)
.
,
(Alarm Consumer)
.
, ,
,
.
,
.
,
.
,
(Operator Node)
-,
, .
,
IP-.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

58

2.

(Alarm Providers)
.
.


InTouch, IndustrialSQL

.

$Operator.

.

$Operator .
InTouch.

GetNode-Name()
TseGetClientId().
GetNodeName()
, .


(security auditing).
,
- ,
.
,
.

.
,
InTouch.

-
- InTouch
- .

IOReinitialize().
, -
, (
-, ).
initializing
I/O ( -) ,
Proper-ties ()
General () Start Local Servers
( ).

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

2.

59

Windows
,
.


,
,
( ), ,
.


,
(, End-of-Shift
). , ,
,

,
.
.
,
,
, , .
(pilot
deployment).
( ),
, .

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

60

2.


,
,
.

AlarmSuite


DDE
(
)

-
MS Office
(, Excel)

(Historical
Trending)

(
).

(
).
(DDE QuickScript):
WWExecute(), WWpoke(), WWEwquest().

DDE
MS Office
(,
,
Excel)

Excel - InTouch
.


InTouch

OLE-
InTrack


NAD.

,
.

SPC Pro

SuiteLink

InTouch

NAD.

SQL Access

(

ODBC)



, IP-

(: view10.103.25.6). -
.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

2.

61


InTouch

(QuickScript) InTouch:
TseGetClientId()
TseGetClientNodeName()
TseQueryRunningOnConsole()
TseQueryRunningOnClient().

TseGetClientId()
(TCP/IP- )
,
.
SuiteLink
. TseGetClientId()
.

_ = TseGetClientId();

IP- 10.103.202.1 MsgTag.


MsgTag = TseGetClientId();

TseGetClientNodeName()
,
,
, Windows.
TseGetClientNodeName()
.

_ = TseGetClientNodeName();

,
MsgTag.
MsgTag = TseGetClientNodeName();

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

62

2.

TseQueryRunningOnConsole()
, ,

.

= TseQueryRunningOnConsole();


,
, .

IntTag 1,

IntTag = TseQueryRunningOnConsole();

TseQueryRunningOnClient()
,
.
.

= TseQueryRunningOnClient();

,
.

IntTag 1,

IntTag = TseQueryRunningOnClient();

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

3. InTouch

63

3
InTouch

Windows,
, ,
.
Windows :
(Automatic): Windows

, -
;

(Manual):

(Disabled): .

, Windows.
- InTouch
Windows:
(Alarm DB Logger);
(Alarm DB Purge/

Archive);

Wonderware NetDDE Helper;


Wonderware SuiteLink;
Wonderware.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

64

3. InTouch


,
,
.
,
. :

,
.
Microsoft Windows
.
,
.

InTouch,
In-Touch;

, ,
-
-,
.

,

,
, .

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

3. InTouch

65


Windows
,
.
( )
,
.

1 InTouch.

InTouch.

2 Tools () Node Properties

( ). Node Properties.

, Start WindowViewer as a
service ( ).

4 OK.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

66

3. InTouch


Wonderware
, Windows.

, .
.
.

1 .
2 Administrative Tools (

), Services ().
Services.

Wonderware WindowViewer ( ).
Start.


1 .
2 : Net Start view.

view Wonderware.



Wonderware , .

1 .
2 Administrative Tools (

), Services ().
Services.

Wonderware WindowViewer ( ).
Stop.


1 .
2 : Net Stop view.

view Wonderware.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

3. InTouch

67


InTouch
Windows ,
,
, .
InTouch
,
.
- InTouch
,
ArchestrA,
.
ArchestrA. InTouch
ArchestrA .

(impersonation account).

,
.

,
(Change
Network Account) ArchestrA.

InTouch, ArchestrA.
ArchestrA
1 . Wonderware

Common Change Network Account.


Change Network Account (
).

2 . .

Change Network Account.

3 OK.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

68

3. InTouch

InTouch
,
, Windows,
, ,
, .

:

(Distributed Alarming)
(Distributed History),
(DDE),
Wonderware NetDDE Helper.

Wonderware NetDDE Helper


Network DDE Net-work DDE DSDM,
(Manual)
(Automatic) .
Won-derware NetDDE Helper
; ,
;

Sui-teLink,
Wonderware SuiteLink.

Wonderware SuiteLink ,
Microsoft TCP/IP;

, ,
ArchestrA Logger ().

Wonderware SuiteLink ArchestrA Logger


.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

3. InTouch

69


, ,
Windows (Windows
Event Viewer). , : One
or more services failed to start (
). Windows
,
, Windows.
. Microsoft.
,
- InTouch.
,
(Wonderware WindowViewer),
- - ,
.

,

InTouch
- InTouch, ,
, ,
.
,
1 Windows (User

Manager). .


,
InTouch .
, .
.
InTouch.

2 , 14

.
(_) (-).

3 , ,

, .
, 1,
.

4 - InTouch ,

, , ,
,
(Change Network Account)
ArchestrA.

5 .
6

.
InTouch, .

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

70

3. InTouch


InTouch
Advise only active items (
) -,
InTouch (
), .
, ,
,
.
,
,
.

InTouch
InTouch
Windows:
Wonderware SuiteLink:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\

Services\SLS

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\

Services\slssvc

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\

Services\SuiteLink

Wonderware NetDDE Helper:


HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\

Services\WWNetDDE

Wonderware WindowViewer ( ):
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\

Services\VIEW

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

4. ,

71

4

,

InTouch,
( )
.
,
.




(Tagname Dictionary)
.
InTouch
InTouch

DBDump

PumpInP

PumpRPM

PumpOutP

PumpState

(/
)

(CSV-)

DBLoad

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

72

4. ,

DBDump
CSV- (
, ).
, Microsoft
Notepad () Microsoft Excel.
InTouch,
DBLoad,
.
,

-
InTouch.

1 .
2 .

Application Manager ( )
InTouch.

3 .

4 DBDump.

CSV File to Dump To ( CSV ).


5 Name of CSV dump file ( CSV-

) .csv.

6 :
Group output by types (

), ,
.
;

Group output by types, ,

, ,
.

, OK. ,
, .

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

4. ,

73


,
DBDump, Microsoft Excel,
.

,
,
.
:MemoryDisc
(. Excel).
,
. ,
, .
, Logged ()
,
.


. OutputValve (
) ,
.
, DBDump,

, .csv (,
).
Excel,
. ,

( , ),
Microsoft Notepad.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

74

4. ,


DBLoad ,
.csv-
.
,
DBDump, .
, DBLoad
InTouch (In-Touch TemplateMaker),
(SuperTag). .
.


DBLoad
,
.csv.
Excel,
.
, .

.
.
DBLoad
, ,
.
:
(:);
,

(\);

(;).

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

4. ,

75

,
, DBLoad.
,
DBDump.
.

:mode

:IOAccess
:AlarmGroup



DBLoad
.
,
InTouch.

,
InTouch.

:MemoryDisc

:MemoryInt

:IODisc
:IOInt

:MemoryReal
:IOReal

:MemoryMsg
:IOMsg

:GroupVar

:HistoryTrend
:TagID

:IndirectDisc

:IndirectAnalog
:IndirectMsg

-.
-.
.

-.
- .

- -.
.

.
.
.
-.


, ,
. , :IOAccess
, ,
,
InTouch.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

76

4. ,



, ,
.csv.

, .
.csv- .
, ,
, DBDump.
, InTouch,
, .
- ,
.


, .
,
, .

1 .
2 InTouch.

.
InTouch.

, DBDump.

.
.

5 , ,

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

4. ,

77



, DBLoad

.
,
DBDump,
:mode. , ask
:mode A1 Excel.

:mode :
:MODE=REPLACE
:MODE=UPDATE
:MODE=ASK

:MODE=IGNORE

:MODE=TERMINATE
:MODE=TEST

:MODE=REPLACE
, DBLoad

.

:MODE=UPDATE
, DBLoad
, ,
, .
, ,
.
,
:
KEYWORD=. ,
:KEYWORD=,
.
, ,

:

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

78

4. ,

:Mode=update

:Group=Group1

:IODisc,Group,DConversion
Tagname1,Group2,

; Tagname1 Group Group2


Tagname2,,

; Tagname2 Group Group1,


DConversion
Tagname3,,Reverse

; Tagname3 Group Group1,


DConversion Reverse

; Group ,

:Group=

; Group ,

Tagname4,,

; Tagname4

, ,
. ,

-, .
, ReadOnly=yes,
. -

, ,
DBLoad.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

4. ,

79

:MODE=ASK
DBLoad ,
.
Duplicate Name (
),
.
.


:
Replace existing with new information (

)
;

Update existing with new information (

)
, ;

Change Name to ( )

,
;

Ignore this entry ( )

Abort the Load ( )

:MODE=IGNORE
DBLoad

.

:MODE=TERMINATE

.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

80

4. ,

:MODE=TEST
DBLoad

, .
DBLoad ,
(

).
, ,
DBLoad :mode=test,
.
:mode=replace
:mode=update DBLoad.


DBLoad
, InTouch
.

:IOAccess
:IOAccess ,
InTouch. :IOAccess
,
InTouch.
,
Excel :
IOAccess.
.
:IOAccess
Keyword

Topic
Attribute

Application
Attribute

DDEProtocol
Attribute

AdviseActive
Attribute

SecTopic
Attribute

SecApplication
Attribute

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

4. ,

81

, :IOAccess,
. ,
-
,
DBDump.

Application

Topic

DDEProtocol

SecApplication

SecTopic

SecAdviseActive

SecDDEProtocol

FailoverExpression ,

, TRUE

AdviseActive

10

11

, :
Yes
No
Yes -
, No
:
No SuiteLink
Yes DDE ( )
MX Message Exchange ( )
,
.
,
.

, :
No
Yes -
, :
No SuiteLink
Yes DDE ( )
MX Message Exchange ( )

FailoverDeadband ( ),

,

DFOFlag

:
Yes -

No -

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

82

4. ,

12

FBDFlag

13

: Yes


No

FailbackDeadband ( ),


:AlarmGroup
DBLoad
:AlarmGroup, ,
InTouch.
,
In-Touch.
, : AlarmGroup,
.
,
- ,
DBDump.

Group

$System

EventLogged

No

EventLoggingPriority


:
Yes On

No Off -

LoLoAlarmDisable

LoAlarmDisable


(LoLo):
0
1

Comment

,
( )

, .
1 999. 0


:
0
1

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

4. ,

83

HiAlarmDisable

HiHiAlarmDisable


:
0
1

MinDevAlarmDisable

10

MaxDevAlarmDisable


:
0
1

11

RocAlarmDisable

12

DSCAlarmDisable


:
0
1

13

LoLoAlarmInhibitor

14

LoAlarmInhibitor

,

(LoLo).
-:

15

HiAlarmInhibitor

16

HiHiAlarmInhibitor

,
.
-:

17

MinDevAlarmInhibitor ,
.
-:


(HiHi):
0
1


:
0
1


:
0
1

,
.
-:

,
.
-:

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

84

4. ,

18

19

20

MajDevAlarmInhibitor ,
.
-:

DSCAlarmInhibitor

RocAlarmInhibitor

,
.
-:

,
.
-:


,
.
,
, .

,
. , , :
IODisc -.
,
(Notepad), , ..
, .
:IODisc,Group,Comment,Logged,EventLogged, EventLoggin
gPriority,RetentiveValue,InitialDis, OffMsg,OnMsg,A
larmState,AlarmPri,DConversion, AccessName,ItemUseT
agname,ItemName,ReadOnly, AlarmComment,AlarmAckMode
l,DSCAlarmDisable, DSCAlarmInhibitor,SymbolicName
, ,
, -.


.
,
.
:IODisc,Group,Comment,Logged,EventLogged, EventLoggin
gPriority,RetentiveValue,InitialDis, OffMsg,OnMsg,A
larmState,AlarmPri,DConversion, AccessName,ItemUseT
agname,ItemName,ReadOnly, AlarmComment,AlarmAckMode
l,DSCAlarmDisable, DSCAlarmInhibitor,SymbolicName

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

4. ,

85

,
- . ,
, HDWStatus
-.
HDWStatus,$System,,No,No,0,No,Off,,,,1, Dire
ct,HistdataViewstr,No,Status,No,,0,0, ,
, ,
, Excel.
(Comment) ,
.


,
InTouch. ,
,
.

DBLoad , ,
, .
, :IODisc
Excel,
- Excel,
EngUnits.

AccessName

InTouch, .

AlarmComment

,
( ).

AlarmAckModel

AlarmDevDeadband
AlarmPri
AlarmState
AlarmValueDeadband
Comment

( ): 0
0
1
2 .


( ).

: On, Off None


()

None

, (
).

, ( 1 1
999).


( ).

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

86

4. ,

Conversion

:
(Linear) Square Root (
).

Linear


( ).

,
( ).

Deadband
DevTarget
DSCAlarmInhibitor
EngUnits
EventLogged

EventLogging

EventLoggingPriority

,
.

,
.


No
:
Yes On
No Off -
.

No
:
Yes On
No Off -
.
, ( 1
999).
0 .

Group

, . $System

HiAlarmInhibitor

, .

HiAlarmDisable

HiAlarmPri
HiAlarmState

HiAlarmValue
HiHiAlarmDisable

HiHiAlarmInhibitor

0
:
0
1 .

,
( 1 999).

,
( ).


( ):
No Off
Yes On .

No


:
0
1 .

, .
.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

4. ,

87

HiHiAlarmPri

,
( 1
999).


, (
).

HiHiAlarmState

HiHiAlarmValue
InitialDisc


( ):
No Off
Yes On .

No

,
:
0, Off, False No Off
1, On, True Yes On.

,
( ).

Use Tagname as Item Name


( ):
No False
Yes On .

No

InitialMessage

( ). -

ItemName

, (
).

InitialValue

ItemUseTagname

LoAlarmDisable

LoAlarmInhibitor
LoAlarmPri
LoAlarmState

LoAlarmValue
LogDeadband
Logged

0
:
0
1 .
, .

,
( 1 999).


( ):
No Off
Yes On .

No

,
( ).

, 0
( ).


:
No Off -
Yes On .

No

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

88

4. ,

LoLoAlarmDisable


:
0
1 .

LoLoAlarmInhibitor
LoLoAlarmPri
LoLoAlarmState

LoLoAlarmValue
MajDevAlarmDisable

MajDevAlarmInhibitor
MajorDevAlarmPri
MajorDevAlarmState

MajorDevAlarmValue
MaxEU
MaxLength
MaxRaw
MaxValue
MinDevAlarmDisable

, .
.

,
1
( 1 999).

( ):
No Off
Yes On .

No


:
0
1 .

,
( 1 999).


, (
).

, .

No
( ):
No Off
Yes On .
0
, (
).

,
( ).

32767

,
( ).

32767


:
0
1 .


( ).

131

, 32767
( ).

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

4. ,

MinDevAlarmInhibitor

, .
.

MinEU
MinorDevAlarmPri
MinorDevAlarmState

MinorDevAlarmValue
MinRaw
MinValue
OffMsg
OnMsg
ReadOnly

-32768


( ):
No Off
Yes On .

No

,
( ).

-32768

RocAlarmDisable

RocAlarmInhibitor
ROCAlarmPri


0
, (
).

,
( ).

-32768

On
( ).

Off ( ).

:
:
Yes
No .

No


:
0, Off, False No
1, On, True Yes .

No

RetentiveAlarmParameters
:
No Off
Yes On .
RetentiveValue


,
( ).
,
( 1 999).

89

No

0
:
0
1 .
, .
.
,
( 1 999).

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

90

4. ,

ROCAlarmState


( ):
No Off
Yes On .

No


: (Sec), (Min)
(Hr).

Min

ROCAlarmValue


( ).

ROCTimeBase

:MemoryDisc
DBLoad
:MemoryDisc,
, .
:MemoryDisc,
.
,
:MemoryDisc, DBDump
. ,
, ,
,
(. ).

Group

Logged

2
4
5
6
7
8
9

10
11
12
13
14
15

Comment
EventLogged

EventLoggingPriority
RetentiveValue
InitialDisc
OffMsg
OnMsg

AlarmState
AlarmPri

AlarmComment

AlarmAckModel

DSCAlarmDisable

DSCAlarmInhibitor

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

4. , 91

:IODisc
DBLoad
:IODisc, , .
: IODisc,
-.
,
: IODisc, DBDump
. ,
, , ,
(.
).

Group

Logged

2
4
5
6
7
8
9

10
11
12
13
14
15
16
17
18
19
20

Comment
EventLogged

EventLoggingPriority
RetentiveValue
InitialDisc
OffMsg
OnMsg

AlarmState
AlarmPri

Conversion

AccessName

ItemUseTagname
ItemName
ReadOnly

AlarmComment

AlarmAckModel

DSCAlarmDisable

DSCAlarmInhibitor

:MemoryInt
DBLoad
:MemoryInt,
, .
:MemoryInt,
.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

92

4. ,

,
:MemoryInt, DBDump
. ,
, , ,
(.
).

Group

Logged

2
4
5
6
7
8
9

10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35

Comment
EventLogged

EventLoggingPriority
RetentiveValue

RetentiveAlarmParameters
AlarmValueDeadband
AlarmDevDeadband
EngUnits

InitialValue
MinValue

MaxValue
Deadband

LogDeadband

LoLoAlarmState

LoLoAlarmValue
LoLoAlarmPri
LoAlarmState

LoAlarmValue
LoAlarmPri

HiAlarmState

HiAlarmValue
HiAlarmPri

HiHiAlarmState

HiHiAlarmValue
HiHiAlarmPri

MinorDevAlarmState

MinorDevAlarmValue
MinorDevAlarmPri

MajorDevAlarmState

MajorDevAlarmValue
MajorDevAlarmPri
DevTarget

ROCAlarmState

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

4. , 93

36

ROCAlarmValue

38

ROCTimeBase

37
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54

ROCAlarmPri

AlarmComment

AlarmAckModel

LoLoAlarmDisable
LoAlarmDisable
HiAlarmDisable

HiHiAlarmDisable

MinDevAlarmDisable
MajDevAlarmDisable
RocAlarmDisable

LoLoAlarmInhibitor
LoAlarmInhibitor
HiAlarmInhibitor

HiHiAlarmInhibitor

MinDevAlarmInhibitor
MajDevAlarmInhibitor
RocAlarmInhibitor

:IOInt
DBLoad :
IOInt, , .
:IOInt,
-.
,
:IOInt, DBDump
. ,
, , ,
(.
).

Group

Logged

2
4
5
6
7
8

Comment
EventLogged

EventLoggingPriority
RetentiveValue

RetentiveAlarmParameters
AlarmValueDeadband

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

94

4. ,

AlarmDevDeadband

11

InitialValue

10
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
39
40
41
42
43
44
45
46
47

EngUnits
MinEU

MaxEU

Deadband

LogDeadband

LoLoAlarmState

LoLoAlarmValue
LoLoAlarmPri
LoAlarmState

LoAlarmValue
LoAlarmPri

HiAlarmState

HiAlarmValue
HiAlarmPri

HiHiAlarmState

HiHiAlarmValue
HiHiAlarmPri

MinorDevAlarmState

MinorDevAlarmValue
MinorDevAlarmPri

MajorDevAlarmState

MajorDevAlarmValue
MajorDevAlarmPri
DevTarget

ROCAlarmState

ROCAlarmValue
ROCAlarmPri

ROCTimeBase

AlarmComment
MinRaw

MaxRaw

Conversion

AccessName

ItemUseTagname
ItemName
ReadOnly

AlarmComment

AlarmAckModel

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

4. , 95

48

LoLoAlarmDisable

50

HiAlarmDisable

49
51
52
53
54
55
56
57
58
59
60
61

LoAlarmDisable

HiHiAlarmDisable

MinDevAlarmDisable
MajDevAlarmDisable
RocAlarmDisable

LoLoAlarmInhibitor
LoAlarmInhibitor
HiAlarmInhibitor

HiHiAlarmInhibitor

MinDevAlarmInhibitor
MajDevAlarmInhibitor
RocAlarmInhibitor

:MemoryReal
DBLoad
:MemoryReal,
, .
:MemoryReal,
.
,
:MemoryReal, DBDump
. , ,
, ,
(. ).

Group

Logged

2
4
5
6
7
8
9

10
11
12
13
14

Comment
EventLogged

EventLoggingPriority
RetentiveValue

RetentiveAlarmParameters
AlarmValueDeadband
AlarmDevDeadband
EngUnits

InitialValue
MinValue

MaxValue
Deadband

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

96

4. ,

15

LogDeadband

17

LoLoAlarmValue

16
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54

LoLoAlarmState
LoLoAlarmPri
LoAlarmState

LoAlarmValue
LoAlarmPri

HiAlarmState

HiAlarmValue
HiAlarmPri

HiHiAlarmState

HiHiAlarmValue
HiHiAlarmPri

MinorDevAlarmState

MinorDevAlarmValue
MinorDevAlarmPri

MajorDevAlarmState

MajorDevAlarmValue
MajorDevAlarmPri
DevTarget

ROCAlarmState

ROCAlarmValue
ROCAlarmPri

ROCTimeBase

AlarmComment

AlarmAckModel

LoLoAlarmDisable
LoAlarmDisable
HiAlarmDisable

HiHiAlarmDisable

MinDevAlarmDisable
MajDevAlarmDisable
RocAlarmDisable

LoLoAlarmInhibitor
LoAlarmInhibitor
HiAlarmInhibitor

HiHiAlarmInhibitor

MinDevAlarmInhibitor
MajDevAlarmInhibitor
RocAlarmInhibitor

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

4. , 97

:IOReal
DBLoad :
IOReal, , .
:IOReal,
-.
,
:IOReal, DBDump
. ,
, , ,
(.
).

Group

Logged

2
4
5
6
7
8
9

10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

Comment
EventLogged

EventLoggingPriority
RetentiveValue

RetentiveAlarmParameters
AlarmValueDeadband
AlarmDevDeadband
EngUnits

InitialValue
MinEU

MaxEU

Deadband

LogDeadband

LoLoAlarmState

LoLoAlarmValue
LoLoAlarmPri
LoAlarmState

LoAlarmValue
LoAlarmPri

HiAlarmState

HiAlarmValue
HiAlarmPri

HiHiAlarmState

HiHiAlarmValue
HiHiAlarmPri

MinorDevAlarmState

MinorDevAlarmValue
MinorDevAlarmPri

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

98

4. ,

31

MajorDevAlarmState

33

MajorDevAlarmPri

32
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61

MajorDevAlarmValue
DevTarget

ROCAlarmState

ROCAlarmValue
ROCAlarmPri

ROCTimeBase
MinRaw

MaxRaw

Conversion

AccessName

ItemUseTagname
ItemName
ReadOnly

AlarmComment

AlarmAckModel

LoLoAlarmDisable
LoAlarmDisable
HiAlarmDisable

HiHiAlarmDisable

MinDevAlarmDisable
MajDevAlarmDisable
RocAlarmDisable

LoLoAlarmInhibitor
LoAlarmInhibitor
HiAlarmInhibitor

HiHiAlarmInhibitor

MinDevAlarmInhibitor
MajDevAlarmInhibitor
RocAlarmInhibitor

:MemoryMsg
DBLoad
:MemoryMsg, -
, .
:MemoryMsg,
- .
,
:MemoryMsg, DBDump
. ,
, ,

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

4. , 99

,
(. ).

Group

Logged

2
4
5
6
7
8
9

Comment
EventLogged

EventLoggingPriority
RetentiveValue
MaxLength

InitialMessage

AlarmComment

:IOMsg
DBLoad
:IOMsg, - , .
:IOMsg,
- -.
,
:IOMsg, DBDump
. ,
, , ,
(.
).

Group

Logged

2
4
5
6
7
8
9

10
11
12
13

Comment
EventLogged

EventLoggingPriority
RetentiveValue
MaxLength

InitialMessage
AccessName

ItemUseTagname
ItemName
ReadOnly

AlarmComment

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

100 4. ,

:GroupVar
DBLoad
:GroupVar,
(Group Variable),
.
:GroupVar, .
InTouch .
:GroupVar
.

,
:GroupVar, DBDump
. ,
, , ,
(.
).

1
2

Group

Comment

:HistoryTrend
DBLoad
:HistoryTrend,
(HistTrend), .
:
HistoryTrend, .
,
:HistoryTrend, DBDump
. ,
, ,
,
(. ).

1
2

Group

Comment

:TagID
DBLoad
:TagID,
(Tag ID), .
:TagID,
.
,
:TagID, DBDump
. ,
, , ,

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

4. , 101

(.
).

1
2

Group

Comment

:IndirectDisc
DBLoad :
IndirectDisc,
, .
:IndirectDisc,
.
,
:IndirectDisc, DBDump
. ,
, ,
,
(. ).

Group

EventLogging

2
4
5

Comment

EventLoggingPriority
RetentiveValue

:IndirectAnalog
DBLoad
:IndirectAnalog,
, .
:
IndirectAnalog,
.
,
:IndirectAnalog, DBDump
. , ,
, ,
(. ).

Group

EventLogging

2
4
5

Comment

EventLoggingPriority
RetentiveValue

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

102 4. ,

:IndirectMsg
DBLoad
:IndirectMsg, , .
:IndirectMsg,
-.
,
:IndirectMsg, DBDump
. , ,
, ,
(. ).

Group

EventLogging

2
4
5

Comment

EventLoggingPriority
RetentiveValue



, , .
:
Comment

EngUnits

OffMsg

InitialMessage

OnMsg

Application

ItemName

Topic

( ).
:Comment=HI

:MemoryDisc,Comment,Group
Tagname1,,$System

Tagname2,,$System

Comment Tagname1 Hi,


Tagname2 - .
Microsoft Excel ,
, Excel
:
:Comment=HI

:MemoryDisc,Comment,Group
Tagname1,,$System
Tagname2,,$System

Excel,
.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

4. , 103

,
, .
, ,
InTag
. ,
Group=$System, EventLogging=Off,
InitialValue=Off.
, ,
:
:_=

, ,
.
, ,
, ,
.
, ,
, .
, :GROUP=Reactor_Site,
GROUP
Reactor_Site. :
GROUP , , $System,
$System.

, .
,
, :GROUP=.
,
, ,
RESET.
, .

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

104 4. ,


(SuperTags)
DBLoad .

(TemplateMaker).
,

, , :

:
ParentInstance\ChildMember

ParentInstance\ChildMember\Submember

- :
ParentInstance\

ParentInstance\ChildMember\


.
CSV-, ,


(QuickScript) InTouch.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

4. , 105

DBLoad
DBLoad

InTouch.
,
.
(Logger).
InTouch
1 .
2 ,

3 .
4 ,

5 DBLoad. ,

, (back up)
InTouch.

6 Yes ( ,

). CSV File to
Load From ( CSV- ).


7 Name of CSV Load file ( CSV-)

, .

8 OK.

-
,
DBLoad .
,


. ,
,
.

:mode :
mode=ask, ,
, ,

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

106 4. ,


(
). .

.


InTouch

,
, , .
,
, .

-. .
.
-,
.
-
(SmartSymbols),
, - InTouch
, ,
-.
, ,
,
.
. ,
,
50 ,
50 .
InTouch - ,
,
.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

4. , 107


1 .
2 File Import.

Import from di-rectory ( ).


3 , ,

4 OK. Application Data

Import Options ( ).


5 Windows (). Select

(), ,
.

6 , ,

,
, Use Existing Tags (Con-serve
Placeholders) ( (
)).

7 Import ().

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

108 4. ,

8 -

-. .
-
.

, ,
.
-,
-
.

-

Quick
Script ,
,
.
, -,
,
Conserve Placeholders ( ).
-, , ,
.

1 .
2 F2 .
3 Special Substitute Tags ( ).

Substitute Tagnames (
).


4 Convert ().

Convert.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

4. , 109

5 .
- ,

Local (). ,
;

-, Remote ().
Access Names ( ).
Close ().

Substitute Tagnames
( ) .


6 OK.


:
;
.


, . , ,
-,
-.
- .
-
.
InTouch - ,
,
.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

110 4. ,


1 .
2 File Export Window (

). Export to directory
( ).


3 ,

4 OK. Windows to Export

( ).


5 , .
6 OK.

- ,
Problem with Export Operation (
).
OK.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

4. , 111


QuickScript
InTouch ,
.
,
QuickScript, .

-. .
- .
, ,
-,
, .
,
.
ActiveX
-, ,
-
ActiveX ,
, .
, ActiveX,
( ActiveX,
QuickScript) .
QuickScript
1 .
2 File Import.

Import from directory ( ).


3 , ,

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

112 4. ,

4 OK. Application Data

Import Options ( ).


5 ,

QuickScript, .
Select (),
.

,
. .
.
6 , ,

,
, Use Existing Tags (Conserve
Placeholders) ( (
)).

7 Import ().

, ,
:
(Overwrite), (Skip) (Rename).

8 -

-. .
-
.

-

Quick Script
,
, .
,
-.
-, , ,
.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

4. , 113

-
1 Special Scripts.

Quick-Script.
QuickScript,
QuickScript,
.


2 Convert ().

Convert.


5 .
- ,

Local (). ,
;

-, Remote ().
Access Names ( ).
Close ().

4 OK

QuickScript.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

114 4. ,

QuickScript
, , .
-


- ( ).
4096.

- .
, WaterHeater,
- ?d:WaterHeater.

, 30, 31 32 ,
, , ,
. , 32 35-;
-.
.

- ,
:
- ()

- -.

: PLC2:WaterHeater.
-
,

.

(Use
existing tags), -
InTouch ,
.
,
.
, , ,
.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

4. , 115

,
QuickScript.


QuickScript

Yes

Yes

No

No


()

(?d:WaterHeater)

Yes

Substitute
Tags

No


Substitute Tags



(PLC2:WaterHeater)


(WaterHeater)

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

116 5. InTouch

5
InTouch


InTouch:
InTouch;
;
ArchestrA.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

5. InTouch 117


.

( )

InTouch

IT_user1

pwd3723

5000

IT_user2

pwd84502

6000

...

...

...

InTouch

OS_group1 OS_user1, OS_user2,...

OS_user1

pwd12374

OS_group2 OS_user5, OS_user6,..

OS_user2

pwd8734

OrchestrA ,
,


InTouch


ArchrestrA

ArchestrA Users List


A_user1

pwd80922

A_User2

pwd8734

...

...

ArchestrA

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

118 5. InTouch


InTouch
InTouch
:
- ;
;
.

-

InTouch.
-
. -

InTouch ,
.
,
InTouch.
,
, .

ActiveX, OLE Automation
SPC.

- :
1 $InactivityWarning

,
.
$InactivityWarning
QuickScript ,
- .
,
.
- , $InactivityWarning
.

- ,
- $InactivityTimeout .
,
None ()
$AccessLevel .
InTouch.

-
.
, , -

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

5. InTouch 119

. ,
30 , - 45 .

15 .
-
1 Special Configure, WindowViewer.

WindowViewer Properties
( ).


2 Inactivity ()

-. :

Warning () ( ),

$InactivityWarning
;

Timeout (-) ( ),

3 OK.
4 QuickScript,

,
.

:
If $InactivityWarning == 1 THEN
Show ;
ENDIF
-:
If $InactivityTimeout == 1 THEN
Show ;
ENDIF

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

120 5. InTouch

$InactivityTimeout
, , ,
.

$InactivityTimeout

,
.
. -
.

ActiveX, OLE Automation
SPC.

( ).
.

$InactivityWarning

If $InactivityTimeout == 1 THEN
Show ;

ENDIF

$InactivityWarning

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

5. InTouch 121

$InactivityWarning
, ,
,
.

$InactivityWarning

,
.
-
.
.
- .

ActiveX, OLE Automation
SPC.

( ).

:
If $InactivityWarning == 1 THEN
Show ;
ENDIF

$InactivityTimeOut



Windows
, InTouch. ,

CTRL-ALT-DEL,
.
InTouch Windows.
,

InTouch. ,
.

,

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

122 5. InTouch

InTouch.
.

InTouch.
,

, .

Windows
EnableDisableKeys().

1 Special Configure, WindowViewer.

WindowViewer Properties
( ).

2 Window Configuration (

).

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

5. InTouch 123

3 Miscellaneous ()

. :

Enable Fast Switch (

).
Development (),
;

Disable ALT key (

ALT). ,
InTouch, ALT;

Disable WIN key (

WIN). ,
InTouch, WIN;

Disable ESC key (

ESC). ,
InTouch, ESC;

4 OK.
5 , ,

InTouch.



, .

EnableDisableKeys(),

:

EnableDisableKeys(_Alt, _Esc,
_Win);

, ,
.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

124 5. InTouch

EnableDisableKeys()

Alt, Esc Win.

EnableDisableKeys(_Alt, _Esc, _
Win);

_Alt

.
Alt:

1 ( Alt
);

0 ( Alt
).

_Esc

.
Esc:

1 ( Esc
);

0 ( Esc
).

_Win

.
Win:

1 ( Win
);

0 ( Win
).

Alt
Win+L, Windows.
Win-L
, Alt.
, Alt
.

EnableDisableKeys(0,0,0); //

EnableDisableKeys(1,1,1); //

EnableDisableKeys(0,0,1); // Alt
Esc, Win

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

5. InTouch 125



InTouch
.

1 Special Configure, WindowViewer.

WindowViewer Properties
( ).

2 Window Configuration (

).

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

126 5. InTouch

3 Menus () ,

.
:
WindowMaker ( ),

WindowMaker File
.
;

Logic (), Logic

,
QuickScript;


QuickScript,
$LogicRunning.
Allow CTRL-Break to stop scripts (
CTRL-Break),
QuickScript,
, Logic .
QuickFunction
.
QuickFunction.
,

Debug ().
, Debug
;

Special,


InTouch, , ;

Security (),

, .

4 Window ()

,
. ,
InTouch. :
Control Menu ( ),

,
, (),
() ;

Minimize Box ( ),

() ;

Maximize Box ( ),

() ;

Size Controls ( ),

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

5. InTouch 127

5 Title Bar ( )

, InTouch.
:
Title Bar Text ( ) ,

InTouch, Show
Application Directory ( );

, Hide Title Bar (


).

6 Miscellaneous () :
,

, InTouch,
Impossible to Close (
). ,
(Close).

,
Control Menu Window;
Allow CTRL-Break to stop scripts (

CTRL-Break),
CTRL-Break,
QuickScript.


QuickFunction .
CTRL-Break
QuickFunction.
Disable ALT key (

ALT), ALT
, ;

Hide Cursor ( ),

.
,
;

Disable ESC key (

ESC) Disable Win key ( Win),



;

Always Maximize ( ),

, InTouch,
.

7 OK.
8 ,

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

128 5. InTouch



InTouch
. ,
,
.
, InTouch
.

:

. ,
InTouch, ,
.

,
.

.
InTouch

.


InTouch
,
. ,
,
.

InTouch
.
InTouch.
,
, .
,
(audit trails),
, InTouch.


.
, .

Administrator, 9999,

.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

5. InTouch 129

wonderware.
,
,
, ,
, None 0,
Configure Users (
) , .

- .




Windows,
-
InTouch. , ,
,
, .

.
, Windows
. -
InTouch -
.

, ,
Windows (Windows Network Domain)
(Workgroup).
,
()
.
, -
InTouch ,
.

- InTouch AddPermission()

. ,
- AddPermission(), . ,
,
NAD.
,
Log On () Special
Security ( Special ).
,
.
,
, ( ,
) Special Security.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

130 5. InTouch

, ,
, .
, ,
.., ,
2000.

ArchestrA

ArchestrA - InTouch

.
- (Repository)
Galaxy. .
.
ArchestrA
,
. , ,
,
.
:
1 ;
2

3 .

,
.

, ,
.
InTouchView
.
InTouch

Windows.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

5. InTouch 131


, -
InTouch, :

InTouch ( ).


InTouch
,
.
None Administrator ,
Administrator (
wonderware).
.
,
9999; ,
InTouch, Configure
Users ( ).
User Input Discrete (
) $ConfigureUsers,
,
9000, Configure
Users
. ,
$ConfigureUsers ,
Configure Users.
, .
,
.
$ConfigureUsers . ,
InTouch.
ArchestrA .
:
1 Special Security

(), Log On ().

InTouch.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

132 5. InTouch

3 Special Security (),

Configure Users ( ).
Configure Users.


4 ,

a User Name ( ) ,

b Password () ( 32

);

Access Level ( )

( 0, 9999);

InTouch, Add ().

5 ,

, , Update
().

6 ,

Delete ().

7 OK.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

5. InTouch 133

InTouch

,
Special .
Special ,

$ChangePassword.
, Change Password
( ).
. ,
$ChangePassword .
,
.

1 Special Security (),

Change Password ( ).
Change Password.


2 . :
Old Password ( ) ;
New Password ( ) ;
Verify Password ( )

3 OK.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

134 5. InTouch




InTouch
Windows.
Windows
(Active Directory).
Windows
.
.
Windows.
InTouch
Windows, AddPermission() .
AddPermission() ,

, .

InTouch.
, InTouch

InTouch, Change
Password ( ), LogOn (), Configure Users
( ) LogOff () Special
Security .


1 Special Security

(), Select Security Type (


). OS ( ).

2 Special Scripts (), Application

Scripts ( ).
Application Script ( ).

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

5. InTouch 135

3 Condition Type ( ) On Startup

( ).

4 AddPermission(),

.
AddPermission() (
) .

5 OK.

ArchestrA
ArchestrA
,
Galaxy.
( ) Galaxy.
(,
, )
,

.
(IDE)
.
, InTouch
ArchestrA,
Change Password ( ), LogOn (),
Configure Users ( ) LogOff ()
Special Security
.
ArchestrA
1 .
2 Special Security (), Select

Security Type ( ).
ArchestrA.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

136 5. InTouch

AddPermission()
InTouch
.
AddPermission() ,
, InTouch,
.

_ = AddPermission(, , _)

,
.

Windows.

InTouch, .


.

. ,
TRUE,
.
, ..
, FALSE.

. ,
.
,
AddPermission(), ,
.

DiscreteTag=AddPermission(corporate_hq,
InTouchAdmins, 9000);

DiscreteTag=AddPermission(johns01, InTouchUsers,
5000);
.

PostLogonDialog(), InvisibleVerifyCredentials(),
IsAssignedRole(), AttemptInvisibleLogon(),
QueryGroupMembership()

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

5. InTouch 137

ChangePassword()
Change Password (
),
.

[ = ]ChangePassword();

:
0 Cancel;
1 OK.

,
, - .

,
.
ErrMsg=ChangePassword();

$AccessLevel
,
.

$AccessLevel

,
- InTouch
, .
Configure Users (
) .

, 9000 :

Security () .
$AccessLevel
.

( )

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

138 5. InTouch

0 9999


(visibility link), (,
)
.
$AccessLevel >= 2000;
{

AccessLevel.}
$AccessLevel < 5411;
IF $AccessLevel <=500 THEN

Show ; {
}

ELSE

Show ; {
}
ENDIF;

$Operator, $OperatorEntered, $PasswordEntered; $ConfigureUsers

$ChangePassword
Change Password ( ).

$ChangePassword

Change Password (
) 1.

$ChangePassword .
, ,
.

( )

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

5. InTouch 139


Change Password.

(Set).
$ChangePass-word ,
Change Password.
.

$AccessLevel, $OperatorEntered, $PasswordEntered, $Operator,


$ConfigureUsers

$ConfigureUsers
Configure Users (
).

$ConfigureUsers

InTouch.
Configure Users,
1.
Configure Users
.
, ,
.
Configure Users
($AccessLevel)
9000.

( )


Con-figure Users.

(Set).
$ConfigureUsers ,
Configure Users.
.

$Operator, $OperatorEntered, $ChangePassword,


$PasswordEntered, $AccessLevel

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

140 5. InTouch


InTouch
-
, .


InTouch

,
, ,
.
,
$AccessLevel ,

InTouch.
Log On
(), PostLogonDialog(). .
.

1 Special Security (), Log

On (). Log On.

2 Name () .
3 Password () .
4 OK.

InTouch
,
InTouch.
,

( . ).

Special Security (), Log Off


().

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

5. InTouch 141



InTouch
, :
;
;
.



.

.
(, -
),
, InTouch
.
,
-
InTouch,
(, $Operator).
.
,
, .
- InTouch
.
, .
, OK,
Change Expired Password (
). ,
,
.


ArchestrA
InTouch
ArchestrA

.
InTouch
ArchestrA None,
, ,
. ,
, ,
ArchestrA, , Galaxy, OS User
based ( ) OS
Group based ( ).

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

142 5. InTouch

1 InTouch

ArchestrA. .

2 .

,
.

,
,
,
.


Special,

.
$OperatorEntered $PasswordEntered,
$OperatorDomainEntered
.

$OperatorEntered

$PasswordEntered $OperatorDomai-nEntered
,
, .

.

$OperatorDomainEntered ,

. .

, $OperatorDomainEntered ,
, .
, $AccessLevel
$Operator ,
.
$ConfigureUsers
,
,
9000, Configure Users,

.
$ConfigureUsers ,
Configure Users.
,
. ,
.
$ConfigureUser
InTouch. ArchestrA .

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

5. InTouch 143

PostLogonDialog()
InTouch Logon ()
(TRUE).

_ = PostLogonDialog();

_ = PostLogonDialog();
.

InvisibleVerifyCredentials(), AttemptInvisibleLogon(),
IsAssignedRole(), QueryGroupMembership(), AddPermission()

LogonCurrentUser()
.
$Operator, $OperatorName, $OperatorDomain, $AccessLevel.

( )

_ = LogonCurrentUser();

,
-1. $Operator,
$OperatorName, $OperatorDomain, $AccessLevel
.

_ = LogonCurrentUser();
.

PostLogonDialog(), InvisibleVerifyCredentials(), IsAssignedRole(),


AttemptInvisibleLogon(), QueryGroupMembership(), AddPermission()

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

144 5. InTouch

Logoff()
InTouch.

( )

_ = LogOff();

, ,

none.

_ = LogOff();
.

PostLogonDialog(), InvisibleVerifyCredentials(), IsAssignedRole(),


AttemptInvisibleLogon(), QueryGroupMembership(), AddPermission()

AttemptInvisibleLogon()

InTouch
.
.

_ = AttemptInvisibleLogon(
_, , );

, ,
.

.

,
TRUE, FALSE.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

5. InTouch 145

-
InTouch .
,

TRUE,
$OperatorDomain, $OperatorName, $AccessLevel $Operator.


,
.


.
ArchestrA, , ,
,
_
,
.

:
_ = AttemptInvisibleLogon(
_, -, );
InTouch
ArchestrA:

_ = AttemptInvisibleLogon(
_, -, );
.

PostLogonDialog(), InvisibleVerifyCredentials(), IsAssignedRole(),


QueryGroupMembership(), AddPermission()

$OperatorEntered
.

$OperatorEntered


.
/ QuickScript,
.
$OperatorEntered ,
$AccessLevel $Operator
.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

146 5. InTouch

( ).
.

$AccessLevel, $Operator, $PasswordEntered, $ChangePassword,


$ConfigureUsers

$PasswordEntered
.

$PasswordEntered

$PasswordEntered
. ,
, .
, , ,
.
.
/ ,
.
$PasswordEntered ,
$AccessLevel $Operator
.

( ).
.

$AccessLevel, $Operator, $OperatorEntered, $ChangePassword,


$ConfigureUsers

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

5. InTouch 147

$OperatorDomainEntered
, .

$PasswordEntered

. $*Entered
,
$Ope-ratorDomainEntered
(
).
.

$OperatorEntered == john;

$OperatorDomainEntered == Corporate_HQ;
$PasswordEntered == password;
.

$Operator

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

148 5. InTouch



,
, ,
,
QuickScript
,
.

$AccessLevel

0 9999

1-16

0 1

0 1

0 1

0 1

1-16

16

$Operator
$ChangePassword
$ConfigureUsers
$InactivityTimeout
$InactivityWarning
$OperatorEntered
$PasswordEntered

, ( )
,

:
$AccessLevel >= 2000;

IF:
IF $Operator == DayShift THEN
Show ;
{ ,
DayShift}
ENDIF;

,
,
.
Disable (). :

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

5. InTouch 149


,
.

InvisibleVerifyCredentials()

QuickScript
-
InTouch.

_ = InvisibleVerifyCredentials(
_, , );


Windows, ,
.

Windows .

,
,
( ),
. -1.
InvisibleVerifyCredentials()
QuickScript.
QuickScript
-1.

,
.

.
ArchestrA, , ,
,
_
,
.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

150 5. InTouch

AnalogTag=InvisibleVerifyCredentials( john,
Password, corporate_hq);
.

PostLogonDialog(), AttemptInvisibleLogon(), IsAssignedRole(),


QueryGroupMembership(), AddPermission()

.
,
,
InTouch, ,
, .

GetAccountStatus()

.

=GetAccountStatus(, _
);

,
.


Windows, ,
.

, ,
:

-1

-2

-3

(locked out)

-4

(disabled)

-5

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

5. InTouch 151

-
.
ArchestrA.
GetAccountStatus()
ArchestrA,

. , (Repository)
ArchestrA Galaxy
.

Status = GetAccountStatus(Corporate_HQ,Operator);

IsAssignedRole()
, ,
, .
ArchestrA.

_=IsAssignedRole(_);

, .


ArchestrA. ,
. ,
(IDE) Galaxy
, ,
TRUE, FALSE.

DiscreteTag=IsAssignedRole(Administrators);
.

AttemptInvisibleLogon(), PostLogonDialog(),
InvisibleVerifyCredentials(), QueryGroupMembership(),
AddPermission()

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

152 5. InTouch

QueryGroupMembership()
, ,
, .
.

_= QueryGroupMembership(,
);

,
.


.
, .
, ,
, TRUE,
FALSE.
QueryGroupMembership()
,
ArchestrA, ,
ArchestrA
.

DiscreteTag=QueryGroupMembership(corporate_hq,
InTouchAdmins);

DiscreteTag=QueryGroupMembership(JohnS01,
InTouchUsers);
.

PostLogonDialog(), InvisibleVerifyCredentials(), IsAssignedRole(),


AttemptInvisibleLogon(), AddPermission()

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

5. InTouch 153

$OperatorName
,

ArchestrA, ,
.
(
$Op-erator).

$Operator == john THEN;

$OperatorName = John Smith;


.

$Operator

$OperatorDomain

:

, ,
$OperatorDomain ,
;

ArchestrA,

, $OperatorDomain
ArchestrA;

InTouch,

$OperatorDomain InTouch;

None ( ),

$Operator == john THEN;

$OperatorDomain = CORPORATE_HQ;
.

$Operator

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

154 5. InTouch

$Operator
,
.

$VerifiedUserName
,
InvisibleVerify-Credentials() ,

ArchestrA.
, .

$VerifiedUserName

$VerifiedUserName (
In-visibleVerifyCredentials())
.

( ).

Tag = InvisibleVerifyCredentials(john,password,
Plant_Floor); { ,
$VerifiedUserName
John Smith,
(Operator Event). ,
$VerifiedUserName .}
.

InvisibleVerifyCredentials(); $OperatorName, $Operator

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

6. 155

,
.

, :
;
;

-;

,

.
,
, ,
(Alarm
Viewer) (Alarm DB View).

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

156 6.

InTouch ,
.
, ,
.

(NAD),
(Change Mode) - NAD
Restart WindowViewer ( ) Prompt user to
Restart WindowViewer (
), Load Changes Into WindowViewer (
) Prompt user to load changes into WindowViewer
( ).

1 ,

2 Special Language (), Configure

Languages ( ).
Configure Languages.

Configure Languages
.

3 Add (). Add

Language ( ).

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

6. 157

4 .

,
:
By Name ( ) Locale ID (

) ,
. , Locale
ID , ;

Font ().

Font. OK.

5 OK Add Language.

Configure
Languages.


6 , 3-5.
7 Close.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

158 6.

Tahoma.

.
. -

,
.

1 ,

2 Special Language (), Configure

Languages ( ).
Configure Languages.


3 ,

. Modify Font (
). Windows
(Font).

4 . OK.
5 OK Configure

Languages.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

6. 159




,
Special Language.
,

. ,
,
, ,
(Locale ID).
.
.

1 ,

2 .
3 , ,

4 .

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

160 6.

5 Touch Pushbuttons ( )

Action (). Touch ->


Action Script ( > ).

Touch -> Action Script. Select


Tag ( ).


7 $Language. OK.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

6. 161

8 $Language

(Locale ID), . OK.


$Language SwitchDisplayLanguage(_).
9 OK .

SwitchDisplayLanguage()

,
.

SwitchDisplayLanguage(_);

,
.

DIM German as INTEGER;


German=1031
SwitchDisplayLanguage(German);
.

$Language

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

162 6.

$Language
.InTouch ,
$Language
, .
InTouch (E/F/G/J/SC
, , , , ).

.

( )

InTouch ,
.
,
, XML
(, Microsoft Excel).

:
;
;
-;


. -
,
- . .
-.

. InTouch
My InTouch Applications. - ,
- InTouch
. - ,

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

6. 163


, , \My InTouch Applications\My German Files
( ).
- InTouch -
- . -
: _.
- - : SSD_
__ GUID.
xml-,
,
Microsoft Excel 2003 ( ).

1 . ,

2 Special Language, Export

Dictionary ( ).
Export Dictionary.


3 :
Defined Languages ( ) ,

Path () ,

.
Browse.

4 Export ().

.
, Export Successful
( ).

5 Close,

, Close and Launch Explorer (


), -.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

164 6.

-
, ,
,
. .
.
,
Confirm File Replace (
) , , .

Yes, .xml
,
. -
- ,
- InTouch,
.
- ,
-.

-
-
, Microsoft Excel 2003 (
).
- InTouch , .
- , .
-
-.
-
1 .xml- Excel. Open

XML.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

6. 165

2 As an XML list (

XML), OK.
:


3 OK.

Excel XML- :
;
, ;
;
;
;
;
;
, ,



Translation (), TranslatedFontSize (
), TranslatedFontName ( ),.
TranslatedFontProperty ( ).
. .
4 Translation () ,

( Phrase ), .

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

166 6.

5 ,

, ,
.
:
TranslatedFontName ;
TranslatedFontProperty

B ;
I ;
U .
, ,
, TranslatedFontProperty
B. ,
, BU.
6 XML Data.


, , XML
Spreadsheet, Excel , -
InTouch . XML-,
.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

6. 167

-
- InTouch -
, .
, - . , ,
- ,

. -
.
-
1 . ,

-.

2 Special Language, Import Dictionary

( ). Import
Dictionary.


3 :
Defined Languages ( ) ,

Path () -,

.
Browse.

4 Import ().
5 - -

, ,
.

,
Import Successful ( ).

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

168 6.


.
Alarm State ( ), Alarm
Type ( ) Alarm Class ( )
:
;
;
(

, ,
).




:
,
( ).

, (
).

- InTouch
.
(<>).

, ,
, InTouch.
,
,
1 2.

1, 2.
, AA1TankLevel , AA2TankLevel
.

.
, , EVENT ()
ACK (),
-
.
,
.
,
.csv-
.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

6. 169



.

, .

1 . ,

2 Special Language, Export Alarm Fields

( ). Export
Alarm Fields.


3 Path () ,

.
Browse.

4 Two characters representing Unique application

( )
.
- ;
.


.

, .
,
InTouch.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

170 6.


,

.
, - InTouch
,
.
5 Export. -

XML.

- InTouch
.
-
, .

- ,
, ,
.
.

,
Export Successful ( ).

,
, 127 ,
46 ,
.
, ;
, AlarmComment.log
TagComment.log.
6 Close,

, Close and Launch Explorer (


), -.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

6. 171

, ,
,
,
. .
.
,
Confirm File Replace (
) , , .

Yes,
,
. -
- ,
- InTouch,
.
- ,
-.
, -
InTouch, Yes to All (
).

- , ,
, No () No to All ( ).

, .

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

172 6.

-
-
.
-
,
. ,
() 2052,
AA, : AA_2052_
AlarmComment.xml.
XML,
.
- :

, translation.
.
(Alarm
State), (Alarm Type) (Alarm
Class). 50 .
, InTouch,
:

UNACK_RTN

UNACK_RTN

ACK_RTN

ACK_RTN

UNACK_ALM

UNACK_ALM

ACK_ALM

ACK_ALM

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

6. 173

, InTouch,
:

SPC

SPC

HIHI

HIHI

HI

HI

LO

LO

LOLO

LOLO

MINDEV

MINDEV

MAJDEV

MAJDEV

ROC

ROC

DCS

DCS

OPR

OPR

LGC

LGC

DDE

DDE

SYST

SYST

USER

USER

PRO

PRO

LOGON_FAILED

LOGON_FAILED

, InTouch,
:

DEV

DEV

ROC

ROC

DSC

DSC

EVENT

EVENT

VALUE

VALUE

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

174 6.



- ,
.
-

.
.AlarmComment
( ) .Comment ( ) .

-, .

.
($AppVersion)
.
-
(
), .
. -
. -
InTouch
.

1 . ,

-.

2 Special Language, Import Alarm Fields

( ). Import
Alarm Fields.


3 Path () -,

.
Browse.

4 Import. -

, ,
- .

5 OK. ,

Import Successful.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

6. 175



,
,
.
,
.
,
,
:
,

$Language,
, ,

;

,
, ,
(
-
);

,
;

() ,
,
.
,
;

.
-
, ;

, .
;

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

176 6.

, ,

EVENT () ACK (),



- .
-,
; - .
-
.
(
)

;

131 , 50 .


1 .
2 Special Language, ,


- ( ).

3 ,

, .



, ,
,
(NAD)
InTouch. ,
,
,
.

(NAD), NAD
Res-tart WindowViewer
( ) Prompt user to Restart
WindowViewer (
).

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

7. 177


, InTouch InTouchView (
InTouch) - :
InTouch,

(WindowViewer);

InTouchView,


.
, .


(WindowViewer)
InTouch.
, ,

. ,
,
.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

178 7.


,
, :
,

InTouch;

Windows, ,

,
InTouch,
.


,

InTouch.
,
.

1 .
2 Special Configure, WindowViewer

( ). WindowViewer
Properties ( ).

3 General ().

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

7. 179

4 ,

, ,
WindowViewer Startup
Start up as icon ( ).

,
,
, -.

5 Transfer to WindowMaker (

) :

,
Close WindowViewer ( ).


Close on Trans-fer to WindowViewer (
),
WindowMaker Properties/General (
/ ). ,

, ;
,


, Close all open windows (
).

6 WindowViewer Memory ( )

,
Always Load Windows from Disk (
). ,
, InTouch,
;

Minimum Memory to keep free (

) ( ),

Windows- ,
InTouch;

Op-timize performance for memory


( ).
, ,
, .

7 Inactivity ()

(Warn-ing) - (Timeout)
. .
- .

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

180 7.

8 Time/Timer Control ( / )

Tick Interval ( ) ,

-
InTouch
.

,
(QuickScript) Applica-tion While Running (
), Window While Showing ( ),
Condition While On True/On False ( /
), Key / Touch Pushbutton Action While Down (
/ ).

TimerTickInterval INTOUCH.ini. ,
100 ,
Tick Interval
50 . ,
Windows XP Windows 2003,
10 ;
Update for Time Variables (

) ( ),

$Msec, $Second, $Minute ..


1000 .
,
.
9 Miscellaneous ()

Beep when objects touched (

), ,

;

Update all trends Fast (

), ,
.

,

. ,
- ,
;
Debug Scripts ( ),

, QuickScript
.

Debug Window
Configuration ( ),
QuickScript,
Special ;

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

7. 181

Use old SendKeys (

),
, InTouch 3.26
.

10 Blink Frequency ( )

( )
Slow (),
Medium () Fast ().

11 I/O (-) :
Retry Initiates ( )

( ),
InTouch
- ,
.
, In-Touch
- ;

Start local servers (

),
, ,
-, ,
;

Reinitialize Default (

),
(Access Names),
, . ,
, ,
.

12 Hotlinks ( )

Show Halo around Hotlink (

), ,

;

Halo follows object shape (

), ,

;

Show halo around ActiveX control

( ActiveX),
, Acti-veX
.

13 Keyboard ()

( ).

.
- InTouch.
( 4).

14 OK.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

182 7.


,

InTouch.
, ,
.

1 .
2 Special Configure, WindowViewer

( ). WindowViewer
Properties ( ).

3 Window Configuration (

).


4 .

Menus ()

Window ()
Title Bar (

)
Miscellaneous
()

5 .

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

7. 183


InTouch ,

. ,
WindowViewer Properties
Window Configuration,
, File .



File,
InTouch. File
Open Window ( ) Close Window
( ),
.
,
, .
, Open Window
Windows to Show (,
).

,
Details.
, ,
.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

184 7.


,
( ). ,
, .
, OK.
,

Cancel.

, List.

, Select All

( ).

, Clear All (

).

,
.


InTouch,
,
File.

1 File Open Window (

). Windows to Show (,
).

2 , .
3 ,

OK.

Replace (),
, .

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

7. 185


InTouch,
,
File.

1 File Close Window ( ).

Windows to Hide (,
).


2 , .
3 , OK.



InTouch, .
InTouch
, WindowMaker
( ) File Development
() .
(fast-switching).

1 File WindowMaker.

Win-dows to Edit (,
).

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

186 7.

,
,
.
2 ,

3 ,

OK.

,
, Close WindowViewer ( ),

.

InTouchView
InTouchView
InTouch,
ArchestrA. InTouchView
, ,
, ,
- .
InTouchView
,
InTouch.
InTouchView :
-

, ArchestrA Galaxy
(ArchestrA Application Server Galaxy);


, , ArchestrA;

. In-TouchView
(SYS) (USER) ;

ArchestrA;

InTouch, InTouchView
, , WWClient.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

7. 187

InTouchView
.
,
InTouchView.
Special:
Access Names ( )
Alarm Groups ( )
Configure...Alarms ()
Configure...Historical Logging (

Configure...Distributed Name Manager (

).

:
Alarms ()
Details & Alarms ( )
Log Data ( )
Log Events ( )
Priority ().

InTouchView ,
InTouch.
.

InTouchView
InTouchView
.
InTouchView
1 .
2 File New ().

Create New Appli-cation (


).

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

188 7.

3 .

,
(Name),
(Description), ,
InTouchView ( InTouchView Application).


4 InTouchView.
5 InTouchView Application.
6 Finish ().

InTouchView
ArchestrA.

InTouch
InTouchView
InTouch
InTouchView . ,
InTouchView InTouch,
InTouch. ,
InTouch InTouch-View,
InTouch.

.

InTouchView InTouch
InTouchView
In-Touch. ,
, ,
,
Galaxy.
, ,
,
InTouchView.
-
Arc-hestrA,
.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

7. 189

InTouchView InTouch
1 InTouchView .
2 Special Application Type ( ).

Application Type
InTouchView Application ( InTouchView).


3 InTouchView Application. OK.

1 InTouch .
2 Special Security ().

Select Security Type (


), ,
InTouch.

3 InTouch

. .
5.

InTouch InTouchView
InTouch
InTouch-View.
, ,
.
, InTouchView,
.
InTouch
InTouchView, ,
Galaxy. ,
.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

190 7.

InTouch InTouchView
1 InTouch .
2 Special Application Type ( ).

Application Type.


3 InTouchView Application.
4 OK.

OK.

InTouchView
InTouchView
(License Manager)
InTouchView. ,
,
InTouch.
,
.
InTouchView
. ,
: (Quit),
(Retry) InTouchView
(Demonstration mode).

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

8. 191


InTouch .
,
, ,
InTouch.
, ,
.
InTouch
,
. ,
InTouch
, .

InTouch

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

192 8.


:
( );
( ).


, . ,

.



,
.

InTouch

800 X 600

800 X 600

1600 x 1200

800 X 600

800 X 600



. ,
17- , :
, - . , ,
, 800 600
.
1600x1200 .

, ;

Windows

Windows ,

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

8. 193


, ,
Windows Display Properties (
),
,
.

,
.
1024 768.
, 4096
768. ,
.
,
.


,
In-Touch, .
.

InTouch

800 X 600

800 X 600

800 X 600

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

194 8.




(Dynamic Resolution Conversion, DRC)
.
(NAD)
InTouch ,
.
DRC
,
.
DRC

, ,
.
, ;
.
DRC,
.
DRC
.

InTouch .


, ,
Windows Display Properties (
),
, .
,
InTouch.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

8. 195

, ,
.

.
,
.


,
:
;
;
,


Wonderware (Wonderware
Technical Support) ,
InTouch.
,

:
InTouch ?
:




.
,
.

.

.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

196 8.

, ,

800 600,
800 0.
0 799 800
1599 .
,
.



InTouch, ,
.
.
, ,
InTouch,
,
,
.

Window Properties (
). Window Proper-ties,
,
Windows & Scripts ( ) ,
Properties ().

X Location ( X) Y Location
( Y)
( ).
.
Window Width ( ) Window Height (
) . ,
:
X Location = 1024
Y Location = 0
Window Width = 1024
Window Height = 768

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

8. 197


, .
1024 768.
4096 768.
1024,
0, ,
.
.


InTouch
.



.
.
:
InTouch

Windows

InTouch.


,
,

. :
Popup

();

()

.

InTouch (, ),
In-Touch .

,
,
.

.
,
.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

198 8.




.
.
,
.

- ShowAt() ShowAtTopLeft()
.

.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

8. 199


InTouch

InTouch.ini Win.
ini.
InTouch
.



, InTouch
Win.ini.
,
InTouch,
.

1 Win.ini,

Windows ,
- InTouch.

2 Win.ini [InTouch]

MultiScreen=1

1
,
0 .

MultiScreenWidth=nnnn

MultiScreenHeight=nnnn

, , InTouch

2560 1024, :
[InTouch]

MultiScreen=1

MultiScreenWidth=1280

MultiScreenHeight=1024

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

200 8.



InTouch
, .
ScaleForResolution ,
(*.win)

, .
ScaleForResolution
.

1 , InTouch,

InTouch.ini.

2 ScaleForResolution:

ScaleForResolution=1

0,
, 1 .

ScaleForResolution
InTouch.ini, ScaleForResolution=1.
(ScaleForResolution=0),
- ,
.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

8. 201



ScaleForResolution ,
,
, . ,
ScaleForResolution, ,

.
,
.

,
, 1024 768,
,
, 4096 768,
.

,
.
ScaleForResolution .ini-,
,
,
.
Yes.
.ini- , InTouch
,
.
,
.
, ,
Win.ini
- . , Win.
ini, InTouch.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

202 8.



Wonderware
(Wonderware Technical Support)
-, ,
,
InTouch.
WWMultiMonitorNode() ,
,
, .
WWMultiMonitorNode()
QuickScript, ,
, In-Touch.
QuickScript,
WWMultiMonitorNode()
InTouch.
.
{MultiMonitors }

MultiMonitors = WWMultiMonitorNode();

{ 4}

WWMultiMonitorNode() MultiScreen,
Win.ini .
.
- 0

WWMultiMonitorNode() 0,
[InTouch] MultiScreen=0,
MultiScreenWidth MultiScreenHeight
.

WWMultiMonitorNode()
,
MultiScreen=1, Mul-tiScreenWidth
MultiScreenHeight
.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

9. InTouch Tablet PC 203

9
InTouch
Tablet
PC

Wonderware Tablet
PCs Windows
XP Tablet PC Edition InTouch.
Tablet PCs
,
. Tablet PCs
,
InTouch.
Wonderware Tablet PC
, .
Tablet PC InTouch,
.
, ,
, InTouch

.


InTouch

.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

204 9. InTouch Tablet PC


E-mail
AnnotateLayout()
, Tablet PC.
AnnotateLayout() , InTouch
Tablet PC
Windows XP Tablet PC.

AnnotateLayout()
InTouch.
Annotate Layout.
Annotate Layout
.
.
,
e-mail.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

9. InTouch Tablet PC 205



:
: .
:
.
: .
, ,
, .

Tools, Restore Defaults.

,
, ,
.

1 Lasso .
2 stylus,

, .

,
.
,
Windows Cut, Copy Paste.

:
, Edit

Clear All.

, Edit Clear
Selection.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

206 9. InTouch Tablet PC

, E-Mailing

, ,
,
e-mail.
e-mail .

1 File Save.

Windows Save As.

2 OK.

1 File Print.

Windows Print.

2 OK.
e-mail
1 Edit E-Mail Configuration.

E-Mail Configuration.

2 e-mail SMTP

e-mail. ,
. OK.

3 File E-Mail.

New Message.

.
.

5 Send e-mail.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

9. InTouch Tablet PC 207

AnnotateLayout()
Annotate Layout,
,
.
Windows XP Tablet PC Edition.

AnnotateLayout()

Annotate Layout,
WindowViewer.
:

.gif

.jpeg.

).

e-mail( SMTP ).

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

208 9. InTouch Tablet PC


Windows XP Tablet PC Edition XRT Screen
Rotation Tablet
PC .
Tablet PC ,
WindowViewer
,
InTouch, ,
.
WindowViewer
,
. , InTouch
Tablet PC.
,
. ,
PC, laptop,
,
(1024 x 768) (768 x 1024) .

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

A. INTOUCH.ini 209

A

INTOUCH.ini

, InTouch,
INTOUCH.ini.
INTOUCH.ini, ,

InTouch.

WindowMaker WindowViewer,
INTOUCH.ini .
,
WindowMaker Historical Logging Properties,
INTOUCH.ini.

INTOUCH.ini.
, ,
INTOUCH.ini .
,

.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

210 A. INTOUCH.ini

INTOUCH.ini
,
INTOUCH.ini

InTouch
INTOUCH.ini

16PenTrendDrawMode

, 16-Pen Trend (
16 )
/

CommentRetentive
ForceLogCurrentValue

ForceLogging

LoopTimeOut

,
Alarm Comment (
)
,
Historical
Log
ForceLogging.

,

Historical Log,
.

FOR-NEXT InTouch.

MouseMustBeOnObjectForOnKeyUp On Key Up ,

NoKeyboardResize

OldRightMouseBehavior
PrintScreenWait
PrintWindowWait
RemoteTagsLogEvents
RemoteTagsNoIOEvents
Resizable InputLink
ScaleForResolution
SetQualityClamp

,

WindowViewer.

,
WindowMaker.

WindowViewer.


In Touch WindowViewer.

, InTouch


, InTouch

,

Analog / String.
,
InTouch, ,

, ,
.Quality
,
.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

A. INTOUCH.ini 211

Setting Custom Logging Properties


INTOUCH.ini,
,
InTouch. ,
, ,

.


InTouch HMI
:
InTouch HMI ,

,
,
.

InTouch HMI


. 60
.

INTOUCH.ini
.
ForceLogging

ForceLogging
. ForceLogging
5 120.
ForceLogging=60.

ForceLogCurrentValue

ForceLogCurrentValue InTouch HMI


,
,

ForceLogCurrentValue=0.


Historical Log 15
.
ForceLogging=15

ForceLogCurrentValue=1

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

212 A. INTOUCH.ini



.


RemoteTagsLogEvents INTOUCH.ini.
RemoteTagsLogEvents=1

/ ,
RemoteTagsNoIOEvents INTOUCH.
ini. RemoteTagsNoIOEvents
RemoteTagsLogEvents 1.
RemoteTagsNoIOEvents=1

WindowMaker
INTOUCH.
ini WindowMaker:


WindowMaker.

Analog String.


WindowMaker
, WindowMaker ,

.
,
InTouch HMI,
WindowMakers
oldrightmousebehavior 1 INTOUCH.ini.
oldrightmousebehavior=1


Analog String
Resizable InputLink
INTOUCH.ini
Analog String
, Resizable InputLink
INTOUCH.ini. Resizable InputLink
.
,
WindowViewer Resizable InputLink Width
Resizable InputLink Height INTOUCH.ini.
.

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

A. INTOUCH.ini 213

:
Resizable InputLink = 1

Resizable InputLink Width=300


Resizable InputLink Height=50

INTOUCH.ini
, .


WindowViewer
INTOUCH.ini,
WindowViewer:
.
InTouch

16 .
.
, .
On Key Up.


FOR-NEXT InTouch
. WindowViewer
, FOR-NEXT
.

, .
FOR-NEXT. :
FOR X = 1 TO 1000000

FileWriteMessage(C:\LOG.TXT,Hello);
NEXT;

, ,
FOR-NEXT
.

LoopTimeout INTOUCH.ini.
20 :
LoopTimeout=20

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

214 A. INTOUCH.ini

InTouch

INTOUCH.ini
InTouch,
,
.
ScaleForResolution ,

WindowMaker
, WindowViewer.
ScaleForResolution
WindowViewer. ,
ScaleForResolution 1.
ScaleForResolution=1


, WindowViewer
.
WindowViewer 10
DDE, .
WindowViewer
.
WindowViewer
PrintWindowWait
PrintScreenWait INTOUCH.ini.
.
PrintWindowWait=15000
PrintScreenWait=20000

.

.
(Alarm Comment) ,
INTOUCH.ini
.
CommentRetentive=1

16
16
16PenTrendDrawMode
parameter.
: 16PenTrendDrawMode=0

- 16
,
.

. ,

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

A. INTOUCH.ini 215


,
.


,
.

.

,
.
.


16 ,
16PenTrendDrawMode INTOUCH.ini.

-: 16PenTrendDrawMode=1

-


.


INTOUCH.ini,
,
InTouch .
(1280 x
1024) , .

,
.
NoKeyboardResize
INTOUCH.ini. , .
:
NoKeyboardResize=0


.
,
:
NoKeyboardResize=1

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

216 A. INTOUCH.ini


/
, ,
InTouch.
.Quality ,
,
,
. Clamped High (
) ( 86) ,
. Clamped
Low ( ) ( 85) ,
.
SetQualityClamp
INTOUCH.ini ,
Clamped Low ( 85) or
Clamped High ( 86).
SetQualityClamp=1

SetQualityClamp 0
INTOUCH.ini, .Quality
.

(On
Key Up Events)
,
.
, On Key Down
.
, On Key Up,

.
.
, MouseMustBeOnObjectFo
rOnKeyUp, , On Key Up

.
MouseMustBeOnObjectForOnKeyUp=0

,
On Key Up On Key Down.

On Key Down

On Key Up

On Key Up
MouseMustBeOnObjectForOnKeyUp=0

1
0

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

A. INTOUCH.ini 217

,
On Key Up On Key Down.

On Key Down

On Key Up

On Key Up


On Key Up

- InTouch.
Wonderware Russia (ZAO Klinkmann Spb)

218

- InTouch.


2008

www.klinkmann.com

1.0

-
. +7 812 327 3752
klinkmann@klinkmann.spb.ru

. +7 846 993 49 33
samara@klinkmann.spb.ru

Rga
tel. +371 738 1617
klinkmann@klinkmann.lv

. +7 495 641 16 16
moscow@klinkmann.spb.ru

. +38044 495-33-40
klinkmann@klinkmann.kiev.ua

Tallinn
tel. + 372 6 684 500
klinkmann.est@klinkmann.ee

Helsinki
ph. +358 9 540 4940

Vilnius
-
InTouch.

automation@klinkmann.fi
. +7 343 376 53 93
. +375 17 2000876
tel. +370 5 215 1646
yekaterinburg@klinkmann.spb.ru
minsk@klinkmann.com
post@klinkmann.lt
Wonderware Russia (ZAO Klinkmann
Spb)


-
InTouch

1. . . . . . . . . . . . . . 10
InTouch . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
InTouch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
/ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
. . . . . . . . . . . . . . . . . . . . . 16
. . . . . . . . . . . . . . . . 16
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
. . . . . . . . . . . . . . . . . . . . . . . . . . . 19
/ . . . . . . . . . . . . . . . . . . . . . . . 19
. . . . . . . . . . . . . . . . . . . . . . . . . . 21

2.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
. . . . . . . . . . . . . . . . . . . . . 23
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
. . . . . . . . . . . . . . . . . . . . . . . 25
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
. . . . . . . . . . . . . . . . . . . 26
. . . . . . . . . . . . . . . . 27
. . . . . . . . . . . . . . . . . . . . . . . . . . . 27
. . . . . . . . . . . . . . . . . . . . . . . . . . 27
,
. . . . . . . . . . . . . . . . . . . . . . . 28
. . . . . . . . . . . . . . . . . . . . 28
. . . . . . . . . . . . . . . . . . . . . . . . 30
/ . . . . . . . . . . . . . . . . . . . . . 31
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
. . . . . . . . . . . . . . . . . . . . . . . . 32
. . . . . . . . . . . . 34
. . . . . . . . . . . . . . . . . . . . . . . . . 35
/ . . . . . . . . . . . . . . . . . . . . . . . 36
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

. . . . . . . . 37

3. . . . . . . . . . . . . . . . . . . . 38
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38

4.
. . . . . . . . . . . . . . . . . . . 44
. . . . . . . . . . . . . . . . . . . . . 51
. . . . . . . . . . . . . 52
.MinRaw Dotfield . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
.MaxRaw . . . . . . . . . . . . . . . . . . . . . . . . . 53
. . . . . . . . . . . . . . . . 54
.RawValue . . . . . . . . . . . . . . . . . . . . . . . . 54
. . . . . . . . . . 55
.MaxEU . . . . . . . . . . . . . . . . . . . . . . . . . 55
.MinEU . . . . . . . . . . . . . . . . . . . . . . . . . 56
. . . . . . . . . . . . . . . . . . . . . 57
.EngUnits . . . . . . . . . . . . . . . . . . . . . . . . 57
. . . . . . . . . . . . 58
.Value . . . . . . . . . . . . . . . . . . . . . . . . . . 58
.OnMsg . . . . . . . . . . . . . . . . . . . . . . . . . . 59
.OffMsg . . . . . . . . . . . . . . . . . . . . . . . . . . 59
. . . . . . . . . . . . . . 60
.Comment . . . . . . . . . . . . . . . . . . . . . . . . 60

5. / . . . . . . . . . 62
InTouch . . . . . . . . 64
. . . . . . . . . . . . . . . . . . . . . . 64
Wonderware SuiteLink . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Troubleshooting SuiteLink Communication Problems . . . . . . . . . 65
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
. . . . . . . . . . . . . . . . . . . . . . . . . . 68
/ / . . . . . . . . . . 69
/ . . . . . . . . . . . . . 69
/ . . . . . . . . . . . . . . . . 69
/ . . . 71
/ . . . . . . . . . . . . . . . . 73
/ . . . . . . . . . . . . . 73

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

/
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
IOGetNode() . . . . . . . . . . . . . . . . . . . . . . . . . . 75
GetNodeName() . . . . . . . . . . . . . . . . . . . . . . . . 75
IOGetApplication() . . . . . . . . . . . . . . . . . . . . . . 76
IOGetTopic() Function . . . . . . . . . . . . . . . . . . . . . . . . . . 77
/
. . . . . . . . . . . . . . . . . . . . . . . 77
.Reference . . . . . . . . . . . . . . . . . . . . . . . . 78
IOSetItem() Function . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
IOSetAccessName() . . . . . . . . . . . . . . . . . . . . . . 79
. . . . . . . . . . . . . . . . . 81
/ . . . . . . . . . . 85

. . . . . . . . . . . . . . . . . . . . . . . . . . 87
IOSetRemoteReferences() . . . . . . . . . . . . . . . . . . . 87
. . . . . . . . . . . . . . . . . . . . . . . . . 89
InTouch . . . . . . . . . . . . . . 90
InTouch . . . . . . . . . . . . . . . . . . . 91
InTouch . . . . . . . . . . . . . 92
. . . . . . . . . . . . . . . 93
. . . . . . . . . . . . . . . . . . . . . . 94
. . . . . 94

InTouch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
/ . . . . 98
-
InTouch Galaxy
. . . . . . . . . . . . . . . . . . . . . . . . . 99

/ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
/ . . . 104
.TimeDate Dotfield . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
.TimeDateString . . . . . . . . . . . . . . . . . . . . 104
.TimeDateTime . . . . . . . . . . . . . . . . . . . . . . . . . . 105
.TimeDay . . . . . . . . . . . . . . . . . . . . . . . . 105
.TimeHour . . . . . . . . . . . . . . . . . . . . . . . . 106

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

.TimeMinute . . . . . . . . . . . . . . . . . . . . . . 106
.TimeMonth . . . . . . . . . . . . . . . . . . . . . . . 107
.TimeMsec . . . . . . . . . . . . . . . . . . . . . . . . 107
.TimeSecond . . . . . . . . . . . . . . . . . . . . . . 108
.TimeTime . . . . . . . . . . . . . . . . . . . . . . . . 108
.TimeTimeString . . . . . . . . . . . . . . . . . . . . 109
.TimeYear . . . . . . . . . . . . . . . . . . . . . . . . 109
/ . . . . . . . 110
. . . . . . . . . . . . . . . . . . . . . . . . 110
. . . . . . . . . . . . . . . . . . 111
.Quality . . . . . . . . . . . . . . . . . . . . . . . . . 112
.QualityLimit . . . . . . . . . . . . . . . . . . . . . . 113
.QualityLimitString . . . . . . . . . . . . . . . . . . 113
.QualityStatus . . . . . . . . . . . . . . . . . . . . . 114
.QualityStatusString . . . . . . . . . . . . . . . . . . 114
.QualitySubstatus . . . . . . . . . . . . . . . . . . . 115
.QualitySubstatusString . . . . . . . . . . . . . . . . 116
/
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
/ . 117
/
. . . . . . . . . . . . . . . . . . . . . . . . . 119
IOReinitAccessName() . . . . . . . . . . . . . . . . . . . . 119
IOReinitialize() . . . . . . . . . . . . . . . . . . . . . . . . 120
IOStartUninitConversations() . . . . . . . . . . . . . . . . 120
. 121
. . . . . . . . . . . . . . . . . . . . 121
. 124
. . . . . . . . . . . . . 124
. . . . . . . 124
. . . . . . . . . . . . . . . . . . . . . . . 125
IOForceFailover() . . . . . . . . . . . . . . . . . . . . . . . 125
. . . . . . . 126
Disable Failover . . . . . . . . . . . . . . . . 126
IODisableFailover() Script . . . . . . . . . . . . . . . . . . 127
IOGetAccessNameStatus() . . . . . . . . . . . . . . . . . . 128
IOGetActiveSourceName() . . . . . . . . . . . . . . . . . . 129

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

/ . . . . . . . . . . . . . . . 130
IOStatus . . . . . . . . . . . . . . . . . . 130
IOStatus Excel . . . . . . 132
/ . . . . . . . . . . 133
InTouch . . . . . . . . . . 134

6. . . . . . . . . . 135
. . . . . . . . . . . . 136
. . . 137

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138

7.
. . . . . . . . . . . . . . . . . . . . . . . . . . 141
SuperTag . . . . . . . . . . . . . . . . . . . . . . 143
SuperTag . . . . . 146
SuperTag . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Tagname SuperTag . . . 147
Tagname Dictionary
SuperTag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
Tagname Dictionary
SuperTag . . . . . . . . . . . . . . . . . . . . . . . . 150
SuperTags . . . . . . . . . . . . . . . . . . . 151
SuperTag . . . . . . . . . . . . . . . . . . . . 152
SuperTags . . . 152

8. . . . . . . . . 153
. . . . . . . . . . . . . . . . . . . 154
. . . . . . . . . . . . . . . . . . . . 155

. . . . . . . . . . . . . . . . . . 156
. . . . . . . 157

. . . . . . . . . . . . . . . . . . . . . . . . . . . 162
. . . . . . . . . . . . . . . . . . . 165

9. . . . . . . . . . . . . . . 166
. . . . . . . . . . . . . . 168
. . . . 168

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)


. . . . . . . . . . . . . . . . . . . . . . . . . 170
. . . . . . . . . . . 172
. . . . . 173
InTouch HMI IndustrialSQL . . . . . . . . . . 174

10. . . . . . . 176
InTouch . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
. . . . . . . . . . . . . . . . . . 177
. . . . . . . . . . . . . . 178

. . . . . . . . . . . . . . . . . . . . . . . . . . . 178
. . . . . . . . . . . . 179
. . . . . . . . . . . . . . . . . . . . 179
,
. . . . . . . . . . . . . . . . . . . . . . . . 180

. . . . . . . . . . 182
. . . . . 183
. . . . . 184

. . . . . . . . . . . . . . . . . . . . . . . 186
.DisplayMode Dotfield ( ) . . . . . . . . . 186
.MinRange Dotfield ( .MinRange) . . . . . . . . . . . . . 187
.MaxRange Dotfield ( MaxRange) . . . . . . . . . . . . . . 188
.UpdateCount Dotfield . . . . . . . . . . . . . . . . . . . . . . . . . . 189
.UpdateInProgress Dotfield . . . . . . . . . . . . . . . . . . . . . . . 190
.UpdateTrend Dotfield . . . . . . . . . . . . . . . . . . . . . . . . . . 191
.ChartLength Dotfield . . . . . . . . . . . . . . . . . . . . . . . . . . 192
.ChartStart Dotfield . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
.Pen1-8 Dotfields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
.TagID Dotfield . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
.ScooterLockLeft Dotfield . . . . . . . . . . . . . . . . . . . . . . . . 197
.ScooterLockRight Dotfield . . . . . . . . . . . . . . . . . . . . . . . 198
.ScooterPosLeft Dotfield . . . . . . . . . . . . . . . . . . . . . . . . . 199
.ScooterPosRight Dotfield . . . . . . . . . . . . . . . . . . . . . . . . 200
. . . . . . . . . . . . . 201
. . 202

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

,
. . . . . . . . . . . . . . . . . . . . . . . . . . . 203
. 204
. . . . . . . . . . . . . . . . . . . . 205
. . . . . . . . . . . . . . 206

. . . . . . . . . . . . . . . . . . . . . . . . . . 207
. . . . . . . . . . . . . . . 207

(UpdateToCurrentTime() ) . . . . . . . . . . . . . . . . . . . . . . . 207
. . . . . . . . . . . . . . . . . . 208
HTSelectTag() . . . . . . . . . . . . . . . . . . . . . . . . . 208
HTSetPenName() . . . . . . . . . . . . . . . . . . . . . . . 208
. 210
HTGetPenName() . . . . . . . . . . . . . . . . . . . . . . . 210
HTGetTimeAtScooter() . . . . . . . . . . . . . . . . . . . . 211
HTGetTimeStringAtScooter() . . . . . . . . . . . . . . . . 212
HTGetValue() . . . . . . . . . . . . . . . . . . . . . . . . . 213
HTGetValueAtScooter() . . . . . . . . . . . . . . . . . . . 214
HTGetValueAtZone() . . . . . . . . . . . . . . . . . . . . . 215
. . . . . . . . . 216
HTScrollLeft() . . . . . . . . . . . . . . . . . . . . . . . . . 216
HTScrollRight() . . . . . . . . . . . . . . . . . . . . . . . . 217
HTZoomIn() . . . . . . . . . . . . . . . . . . . . . . . . . . 218
HTZoomOut() . . . . . . . . . . . . . . . . . . . . . . . . . 219
. . . . . . . . . . . . . . . . . . . . . . . . . . . 220
PrintHT() . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
. . . . . . . . . . . . . . . . 220
HTGetLastError() . . . . . . . . . . . . . . . . . . . . . . 220
. . . . . . . 221
. . . . . . . . 222
. . . . . . . . . . . . . . . . 222
,
. . . . . . . . . . . . . . 223

. . . . . . . . . . . . . . . . 224

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)


. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
. . . . . . . . . . . . . . . . . . 227
. . . . . . . . . . . . . . 227

InTouch IndustrialSQL . . . . . . . . . . . . . 228

. . . . . . . . . . . . . . . . . . . 229

. . . 229
QuickScript
. . . . . . . . . . . . . . . . . . 230

11.
. . . . . . . . . . . . . . . . . . . . . . . . . 231
DDE
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
DDE . . . . . . . . . . . . . . 234
HistData . . . . 234
HistData Access Name . . . . . . . . . . . . 234
HistData . . . . . . . . . . . . . . . . . . . . . . 235
HistData . . . . . . . . . . . . . . . . . . . . . . . . 236
HistData . . . . . . . . . . . . . . . . . . . . . . . . . . 238
HistData Wizard
. . . . . . . . . . . . . . . . . . . . . 238
CSV . . . . . . . . . . . . . 240
WWPoke() . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
WWRequest() . . . . . . . . . . . . . . . . . . . . . . . . . 242
HistData . . . . . . . . . . . . . . . . . . . . . . . . 243

A. IEEE . . . . . . . . . . . . 245
InTouch HMI . . . . . . . . . 246

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

10

1.

- ()
Wonderware InTouch
.


.
, , ,
.
. ,
,
.
PumpInP

PumpState

PumpRPM

PumpOutP

./.

InTouch. ,

.
PumpState ( )
, .
,
,
InTouch.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

1.

11


, .
, PumpState ./
. , .
InTouch
, .

InTouch
InTouch.
, (Tagename
Dictionary),
WindowMaker. , ,
InTouch .
WindowViewer

WindowMaker

InTouch

PumpInP

PumpOutP

PumpState

./.

PumpState

./.

PumpRPM

PumpInP

PumpRPM

PumpOutP

PumpInP

WindowViewer Run-Time
Memory

PumpState

PumpRPM

PumpOutP

./.


.

. , /

.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

12

1.

InTouch WindowViewer.
WindowViewer ,

.
InTouch ,
,
. InTouch
,
.

InTouch
,
,
. , ,
.
, Tag Types ( )
,
.

, ,
,
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

1.

13



InTouch. ,
,
3,414. ,
QuickScripts,
. , ,
QuickScript .

, .
,
, .
Memory Discrete ( )


.
, , :
0 1


Memory Integer (Analog) (


32-
2147483648 2147483647.
32-
,
IEEE .

Memory Real (Analog) ( )


3,4 x 1038
3,4 x 1038.
64- ,
32- .
32-
,
IEEE .

Memory Message ( )


131 ,
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

14

1.

/
/ InTouch

.
,
. /
Microsoft Dynamic Data
Exchange (DDE) ( Microsoft)
Wonderware SuiteLink.
/
, - InTouch
. , /
InTouch ,

.
- InTouch
/
, . /
.
I/O Discrete ( /)

/
,
, :
0 1


I/O Integer ( / )

/
32-
2147483648 2147483647.
32-
,
IEEE .

I/O Real ( / )

/
3.4 x 1038 3.4 x 1038.
/ 64-
, 32-
.
32-
,
IEEE .

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

1.

15

I/O Message ( /)

/
131 ,
.


,
InTouch
.
, ,
, .
,

,
.

WindowViewer

QuickScript
PumpRPM1


1 2

/
IndPumpRPM
/

PumpRPM2

Indirect
Tag


1 2

QuickScript
. ,
PumpRPM ( )
, IndPumpRPM (
) PumpNo
( ).
IF PumpNo == 1 THEN
IndPumpRPM.Name = PumpRPM1;
ELSE
IndPumpRPM.Name = PumpRPM2;
ENDIF;

,
,
. ,
-
. ,
.
, .

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

16

1.

,
.

/.
,
7.


InTouch,
.

,
, ()
.



. ,
,
.

,
10.



,
InTouch.
,
, ,
.
QuickScript

. ,
QuickScript ,
:
HistTrend.Pen1=MyLoggedTag.TagID;

QuickScript 1

MyLoggedTag.

,

10.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

1.

17

,
. ,
SuperTag, ,
.
SuperTags,
.
,
SuperTag
.
,

7.


Group Var ( )
,
. Group Var
,
InTouch 7.11 .
Group Var ,
InTouch 7.11 .


InTouch ,
, .
, InTouch, :



- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

18

1.

,
.

/,
.


,
, .
,
InTouch.
.

,

4.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

1.

19



.
.

2.

On ()

Off ()

/
, /
.

2.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

20

1.

On ()

Off ()

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

1.

21


InTouch
,
InTouch.
InTouch,
PumpRPM ( )
,
1

:"PumpRPM"

PumpRPM
/.

InTouch

InTouch Tag
Server

InTouch ,
:
/ ,

.

/
5.

. , PLC1:PumpRPM.



/ 5.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

22

2.

,
InTouch. , ,
Tagname Dictionary ( )
/.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

2.

23


, ,

.
,
InTouch.
, :
,

InTouch.

,
.

,
.
,
2.

InTouch.


:
;
, ;
;
,

, ,


,
2.


.
,
.
,

2.

.

,

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

24

2.

.

2.


(Tagname
Dictionary) WindowMaker. ,
,
,
InTouch.

1 InTouch WindowMaker.
2 Special () Tagname
Dictionary ( ).
, Tagname

( )
$AccessLevel. , Tagname Dictionary
.

3 :
a New (). Tagname

( ) .

b .


2.

c
Comment ().
4 Type ().
Tag Types ( )

InTouch.


5 OK.

,
, .

6 Details ()

,
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

2.

25

7 Tagname
Dictionary ( ).
8


2.

9 Save ().
Close () Tagname
Dictionary.


,
,
. .
. ,
.

InTouch .
, , Tagname
Dictionary ( ) ,

.


.

.
, ,
.
,
. ,
$System.

2

- InTouch.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

26

2.


,
,
.

InTouch:
32 .
(A-Z, a-z, 0-9)

, , ,

-
!
#
$
%
&
?
@
_


,
.

(-) .


InTouch. InTouch

. , A=B-C
A=B C
B-C A.

.
,

, 125E4,

, .

, 0x123B,
,
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

2.

27


,
- InTouch
, .
Pump01, Pump02, InTouch
Pump03. .
.

. ,
PumpInP04LotB99A, - InTouch
PumpInP04LotB100A,
PumpInP05LotB99A.



50 Comment
() .
,
Comment ()
,
$AccessLevel. ,
, .



,
, .
.

,
On (), Off
()

,
, ,
,
,

,
, ,
,
,

,
,

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

28

2.

/

,
InTouch.
/
/
5.

,

,
,
InTouch WindowViewer.

.

, .


WindowViewer. Retentive
Value ( ) ,

, .
,

, .
,
Min Value ( ) Max Value
( ),
.

Eng Units ( )
,
. , PSI
( ) Eng Units
, .



.
/,
.

InTouch.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

2.

29


,
.
:

,
, WindowViewer
.
, ,
.

,
,
. ,
,
.

,
, .


.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

30

2.

:
1 Tagname Dictionary (

).

2 Select ().
Select Tag ( ). ,

4 OK.

,
.


5 ,

Deadband (
) .

6 ,
Log Deadband (

)
.

,

.

7 Save ()

8 Close ()



,
.
Retentive Value
( ). Retentive Value
( )
.
, WindowViewer
.
WindowViewer
/, WindowViewer .
/ , /
,
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

2.

31

Retentive Value ( )
,
WindowViewer.
,
.
WindowViewer ,
.
,

.

Retentive Parameters ( ).
Retentive Parameters ,

. WindowViewer


.

/
/
(Access Name) (Item Name)
.
/
/
5.


WindowViewer

,
,
. WindowViewer
,
.
.
:
,
IndustrialSQL InTouch.

Tagname Dictionary ( )

.
.
2

- InTouch.

,
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

32

5. /


5.
,

. LogDeadband
( ) ,
,
.
:
1 Tagname Dictionary ( ).
2 ,

3 Log Data ( ).


4 Log Events ( )

, ,
/, QuickScript
. Priority ()
, Log Events.

Priority .
1 999, 1
, 999 .

5 Save ()



InTouch.

on () off ().
,

, ,
.
,
. /

,
.

/
/ 5.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. /

33


:
1 Memory Discrete ( )
Tag Types ( ).
2 Details ()
Tagname Dictionary ( )

, .
Tagname Dictionary, .


3 On () Off ()

, .

.

4 , ,


, ,

.

, , 1
(, ), ,
Off (), Value/
Limit (/)
. ,
,
On ().

, ,
0 (, ), ,
On (),
Value/Limit (/)
.
, ,
Off ().

5 , .

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

34

5. /



, ,
InTouch.
,
/.

.
.
/
/
/
5.
: InTouch
.

. ,
- InTouch
,
IEEE.

1
Tag Types ( ).

,
.

. :

Initial Value ( )

,
.

Min Value ( )

Min Value

,
.

Max Value ( )

Max Value

,
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. /

35

Eng Units ( )

,
.

3 ,



2.


,
. ,
,
, WindowViewer
, ,
Alarm Viewer.

/ /
5.

1
Tag Types ( ).
2 Details ()

,
.


3 .

Maximum Length (

) ,
,
. 131 ,
,
.

Initial Value ( )

,
, WindowViewer
.

Alarm Comments (

) ,
AlarmViewer,
Log Events (
).

4 , .

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

36

5. /

/
/ ,
InTouch
. Tagname Dictionary (
), ,
/.
/
/
5.


. ,
, .
, ,
.
: ,
InTouch, .
.
.
:
1 Tagname Dictionary (

).

2 Select ().
Select Tag ( ). ,

3 , .
4 OK. Tagname Dictionary

( ) ,
.

5 .
6 Save ()

7 Close ()


, InTouch,
.
, . ,
,
.
,
, WindowViewer
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. /

37

, ,
(Cross-Reference) InTouch.


8.
.

8.


- InTouch,
WindowMaker. WindowMaker Printout
( WindowMaker)
:
;


8.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

38

5. /

,
, , ,
, InTouch.
.
($),

. .
, .


- InTouch
:

$AccessLevel (
)

,

,
,
,

.





InTouch.

. 4,
InTouch,

-
InTouch
.

$ApplicationChanged
( )

,

, ,


(NAD).

. 2,



InTouch

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. /

39

$ApplicationVersion
( )

,

,

,
WindowViewer.

$ChangePassword
( )

,

,
Change
Password ( )
1.

. 2,

,


InTouch

$ConfigureUsers
(
)

$Date ()

$DateString (
)

$DateTime (
)

$Day ()

,

,

Configure
Users (
)

).

. 4,
InTouch,

-
InTouch

. 4,
InTouch,

-
InTouch

,

,
,
1 1970 .

. 6,
,

InTouch HMI.

,

,
,
1 1970
.

. 6,
,

InTouch HMI.

,

,
,


Windows Regional and
Language Options (
).

. 6,
,

InTouch HMI.

,

,
(1-31).

. 6,
,

InTouch HMI.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

40

5. /

$HistoricalLogging
(
)

,
/
,


InTouch.

. 9,
.

$Hour ()

,

,

0 23.

. 6,
,

InTouch HMI.

,

,


.
$InactivityWarning


.

. 4,
InTouch,

-
InTouch

$LogicRunning (
)

,
/
,

.

$Minute ()

,

,
(0-59).

. 4,
InTouch,

-
InTouch

$InactivityTimeout
(-
)

$InactivityWarning
(
)

$Language ()

,

,
,
.
$InactivityTimeout


.

. 4,
InTouch,

-
InTouch

,
/
that specifies the
language ID of the language
shown in an InTouch application.

. 5,

,


InTouch

. 6,
,

InTouch HMI.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. /

41

$Month ()

,

,

(1-12).

. 6,
,

InTouch HMI.

,
/
, ,

.

. 6,


,

InTouch HMI.

$Msec ()

$NewAlarm (
)

$ObjHor

$ObjVer

$Operator ()

$OperatorDomain (
)

,

,
(0-999).

. 6,
,

InTouch HMI.

,

,


.

. 4,
, in the
InTouch
HMI.

,

,


.

. 4,
,

InTouch
HMI.

,

,
,
,



.

. 4,
InTouch,

-
InTouch

,

,
,
InTouch.

. 4,
InTouch,

-
InTouch

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

42

5. /

$OperatorDomainEntered
(
)

,
,

,
,
Entered
(),
.
,
$OperatorDomainEntered,


.

. 4,
InTouch,

-
InTouch

,

,




ArchestrA.

. 4,
InTouch,

-
InTouch

$OperatorEntered (
)

$OperatorName (
)

$PasswordEntered
( )

,
/
,

,
,
Entered
(),
.
,
$OperatorEntered,


.

. 4,
InTouch,

-
InTouch

,

,
,

,
Entered (),

.
,
$PasswordEntered

.

. 4,
InTouch,

-
InTouch

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. /

43

$Second ()

,

,
(0-59).

. 6,
,

InTouch HMI.

,
,

.

. 1,
,

InTouch HMI.

,

,

,

Windows Regional
and Language Options (
).

. 6,
,

InTouch HMI.

,

,

.

. 6,
,

InTouch HMI.

$StartDdeConversations

$System ()

$Time ()

$TimeString (
)

$VerifiedUserName
(
)

$Year ()

,
. 5,
/ /.
,


.

,

,


.

,

,

, .

. 6,
,

InTouch HMI.

. 4,
InTouch,

-
InTouch

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

44

5. /

InTouch ,
,
. .
,
.
InTouch. ,
.Name .

.
,
,
.

.
tag_name.property_dotfield

, ,
HiHi ,
.
,
Analog_Tag.
HiHiLimit.

HiHi .

, ,

,
. ,
,
,

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. /

45

.
InTouch ,
.
.
:

.AckDsc

.AckROC

.AckValue
.Alarm

Message

Message

.AckDev

Message

.Ack

.AlarmAccess

.AlarmAckModel

.AlarmClass

.AlarmComment

.AlarmDate

.AlarmDev

.AlarmDevCount

.AlarmDevDeadband

.AlarmDevUnAckCount
.AlarmDisabled

.AlarmDsc

.AlarmDscCount

.AlarmDscDisabled
.AlarmDscEnabled

.AlarmDscInhibitor

.AlarmDscUnAckCount
.AlarmEnabled

.AlarmGroup

.AlarmGroupSel

.AlarmHiDisabled
.AlarmHiEnabled

.AlarmHiHiDisabled

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. /

.AlarmLimit

.AlarmLoDisabled
.AlarmLoEnabled

.AlarmLoInhibitor

.AlarmLoLoDisabled
.AlarmLoLoEnabled

.AlarmLoLoInhibitor

.AlarmMajDevDisabled
.AlarmMajDevEnabled

.AlarmMajDevInhibitor
.AlarmMinDevDisabled
.AlarmMinDevEnabled

.AlarmMinDevInhibitor

.AlarmName

.AlarmOprName

.AlarmOprNode

.AlarmPri

.AlarmProv

.AlarmROC

.AlarmROCCount

.AlarmROCDisabled
.AlarmROCEnabled

.AlarmROCInhibitor

.AlarmROCUnAckCount

.AlarmState

.AlarmTime

.AlarmTotalCount

.AlarmType

.AlarmUnAckCount

Message

.AlarmHiInhibitor

.AlarmHiHiInhibitor

.AlarmHiHiEnabled

Message

Message

46

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. /

.AlarmValDeadband
.AlarmValue

.AlarmValueCount

.AlarmValueUnAckCount

.Caption

.ChartLength

.ChartStart
.Comment

.DevTarget

.HiHiStatus
.HiLimit
.HiSet

.HiStatus

.ListCount

.ListIndex

.LoLoLimit
.LoLoSet

.LoLoStatus

.ListChanged

.LoLimit

.Freeze

.HiHiSet

.Enabled

.HiHiLimit

.DisplayMode
.EngUnits

Message

Message

Message

.AlarmUserDefStrSet

.AlarmUserDefStr

.AlarmUserDefNum2Set

.AlarmUserDefNum2

.AlarmUserDefNum1Set

.AlarmUserDefNum1

47

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. /

.MajorDevSet

.MajorDevStatus
.MaxEU

.MaxRange

.MaxRaw
.MinEU

.MinorDevPct

.MinorDevSet

.MinorDevStatus

.MinRange

.MinRaw
.Name

.NewIndex

.OnMsg

.PageNum

.Pen1 .Pen8

.PendingUpdates

.PrevPage

.PriFrom

.PriTo

.Quality

.QualityLimit

.QualityLimitString
.QualityStatus

.QualityStatusString

.NumAlarms
.OffMsg

.NextPage
.Normal

Message

.MajorDevPct

.LoStatus

.LoSet

Message

Message

48

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. /

Message

Message

.QueryState

.QueryType

.RawValue

.ReadOnly

.Reference

.ReferenceComplete

.ROCPct

.ROCSet

.ROCStatus

.ScooterLockLeft

.ScooterLockRight

.ScooterPosLeft

.ScooterPosRight

.Successful

.SuppressRetain

.TagID

.TimeDate

.TimeDateString
.TimeDateTime
.TimeDay

.TimeHour

.TimeMinute
.TimeMonth
.TimeMsec

.TimeSecond
.TimeTime

.TimeTimeString
.TimeYear

Message

.QualitySubstatusString

.QualitySubstatus

49

.TopIndex

.TotalPages

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. /

.UpdateCount

.UpdateinProgress

.UpdateTrend

.Value(Tagname)

Message

Message

.UnAck

Message

50

.Value(Windows Control)

.Visible


,
.

:


4.

6,
,
InTouch HMI
/
5.

A,
,
InTouch.
10.

5, ,
InTouch HMI

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. /

51


/
,
InTouch. ,
,
Min Raw Max Raw .

,
Min EU Max EU.

.
,

.

.MinRaw


, /.

.MaxRaw


, /.

.MinEU

.MaxEU

.EngUnits

,
Eng Units .

.RawValue


, /
.

.Value

.OnMsg

, ,
True
(), On () 1.

.OffMsg

, ,
False
(), Off () 0.

.Comment

,
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

52

5. /


/
,
InTouch.

. .MinRaw
.MaxRaw
.

.MinRaw Dotfield
.MinRaw
Min Raw, .
.MinRaw Min Raw, /
. ,
, ,
.

tag_name.MinRaw;

Tag_name

/,
, /,
, ,
/ .

, ,
,
Min Raw.

( ).

,
, ,
,
Min Raw Max Raw.
IF ((PumpInP.RawValue > PumpIn.MaxRaw) OR
(PumpInP.RawValue < PumpIn.MinRaw))
THEN Show Instrument Failure Window;
ENDIF;

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. /

53

.EngUnits, .MinEU, .MaxEU, .MaxRaw, .RawValue

.MaxRaw
.MaxRaw
Max Raw, / Max Raw
. ,
,
.

Tag_name.MaxRaw

Tag_name

/,
, ,
/.

, ,
,
Max Raw.

( ).

,
, , ,
.
IF ((Temp01.RawValue > Temp01.MaxRaw) OR
(Temp01.RawValue < Temp01.MinRaw))
THEN Show Instrument Failure Window;
ENDIF;

.EngUnits, .MinEU, .MaxEU, .MinRaw, .RawValue

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

54

5. /


.RawValue
,
/.
,

.

.RawValue
.RawValue ,
/ WindowViewer.
.RawValue
/ , InTouch
.

Tag_name.RawValue

Tag_name

/,
, /,
, / .

, ,

/ ,
InTouch .

. ,
( ).

,
.

,

.
IF ((PumpInP.RawValue > PumpInP.MaxRaw) OR
(PumpInP.RawValue < PumpInP.MinRaw)) THEN
AlarmMessage = Pump sensor is out of calibration
or requires replacement.;
ENDIF;

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. /

55

.EngUnits, .MinEU, .MaxEU, .MinRaw, .MaxRaw


/ ,
WindowViewer.
. -
InTouch


. /
Min EU Max EU,

.

.MaxEU
.MaxEU
,
.

Tag_name.MaxEU

Tag_name

,
.

.MaxEU

, .
.


( ).


.
4 20 .

0 4095.
TankTwoLevel.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

56

5. /

( 0 4095)
.

.


. ,
0 (4 ) 0
, 4095 (20 ) 100
,
:
TankTwoLevel.MinRaw = 0;

TankTwoLevel.MaxRaw = 4095;
TankTwoLevel.MinEU = 0;

TankTwoLevel.MaxEU = 100;

,
4095, , , 100.

.EngUnits, .MinEU, .MinRaw, .MaxRaw, .RawValue

.MinEU
.MinEU
,
.

Tag_name.MinEU

Tag_name

,
.

.MinEU

, .
.


( ).

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. /

57

,
1, AbsoluteTagRange.
AbsoluteTagRange = (Tag1.MaxEU - Tag1.MinEU);

.EngUnits, .MaxEU, .MinRaw, .MaxRaw, .RawValue



, .

.EngUnits
.EngUnits ,

Eng Units ( ). .EngUnits
.
: , ,
.

Tag_name.EngUnits

Tag_name

,
.

( /).

.EngUnits ,
,
.

, 0 31 .


,
.
IF Temperature.EngUnits == Celsius THEN
CALL TempFConvert(Temperature);
ENDIF;

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

58

5. /

.MinEU, .MaxEU, .MinRaw, .MaxRaw, .RawValue


InTouch ,
,
.

.Value
.Value
. .Value
InTouch, .
,
.Value.

tag_name.

tag_name

,
(Hist Trend).

.Value.
, .

, ( /
).


PumpRPM 100:
PumpRPM.Value=100;

:
PumpRPM=100;


.OnMsg .OffMsg ,

.

15 .

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. /

59

.OnMsg
.OnMsg
On ( ),
.

Tag_name.OnMsg

Tag_name

( /).
, ,
.

, 0 15 .

,
(On) IndPumpState
Pump1 running.
IF IndPumpState.OnMsg == Pump1 running THEN
TypeOfTag = The IndPumpState tag is assigned to
Pump1.;
ENDIF;

.OffMsg

.OffMsg
.OffMsg
Off ( ),
.

Tag_name.OffMsg

Tag_name

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

60

5. /

( /).
, ,
.

, 0 15 .


StateMessage ( )
MyDiscrete.
StateMessage=Dtext (MyDiscrete, MyDiscrete.OnMsg,
MyDiscrete.OffMsg);

.OnMsg



.
.Comment .
,
.
.
WindowViewer,
.

.Comment
.Comment ,
.
50 .

Tag_name.

Tag_name

, ,
.Comment
InTouch.
, ,
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. /

61

1 50 .

,
, , :
OperatorMessage=PumpRPM.Name + has a comment of: +
PumpRPM.Comment;

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

62

5. /

5
/

,
InTouch
. , , ,
/
, .
InTouch Client
1

I/O Server
2

:
:
:

InTouch

_:PumpRPM_item

PumpRPM
/

InTouch
, ,
.
,
.

InTouch, .

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. /

63

,
/, ,
:
Access Name

Node Name (

,
/
.

( )
)

Application Name

( )

Topic Name (

Item Name (

/,
. ,
DASMTEthernet
Wonderware Mitsubishi
Ethernet DAServer.
,
Wonderware DAServers,
Wonderware
DAServer.
,
/.

,

/
.

Excel
InTouch,
:
Access Name

Node Name (

,
Excel.

( )

)
Application Name
( )
Topic Name (

Item Name (

Excel .


Excel,
. , [Book1]Sheet1.


Excel,
. , R1C1 A1.

, ,
, .
/ ,
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

64

5. /


InTouch
-
InTouch DDE SuiteLink. InTouch
Wonderware
Archestr.

InTouch,
InTouch 5.



(DDE) Windows
. DDE -
.

, .
. InTouch
.

Wonderware SuiteLink
Wonderware SuiteLink
TCP/IP,
. SuiteLink ,

. SuiteLink
Microsoft Windows NT 4.0 .
SuiteLink DDE NetDDE.

.
SuiteLink :
(VTQ)

,
, VTQ.

, ,

Microsoft
Windows.

,
.

TCP/IP,

Microsoft
Winsock.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. /

65

Troubleshooting SuiteLink Communication Problems


SuiteLink,
:
, Microsoft TCP/IP

, -
InTouch.

, 15

, Wonderware SuiteLink

,
- InTouch.

SuiteLink

InTouch. SuiteLink
. SuiteLink ,
.


/ InTouch
(Access Name).

/. /,
, .
/

/ /
.
InTouchView
- ,

ArchestrA. InTouchView
, ,
.
InTouchView
,
InTouch. InTouchView
/, ,
ArchestrA Galaxy.
Galaxy,
InTouchView, .

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

66

5. /


1 Special, Access Names ( ).
Access Names.
2 Add. Add Access Name

( ).


3 Add Access Name.

Access (),

, .

/,


Node Name ( ).

Application Name

/,
.

/
Wonderware DAServer, DAServer;
.exe.
Topic Name ( ),

, .


.
, Wonderware
DAServer,
,
DAServer. Microsoft Excel,
,
. ,
[Book1]Sheet1.

/.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. /

67

Advise all items

,
,
, ,
,

.

,

.

(
)

Advise only active


items (

,
, ,
,

.

:
,
.
4 Enable Secondary Source (

),
. 5.
Enable Secondary Source,
Add Access Name ( ) ,
.


.
OK

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

68

5. /

,
OK. Access Names ( )

,
.


5 Close ().


,

5.


,
. , ,
:
.
WindowViewer .

1 Special () Access Names
( ). Access Names.

2
Delete (). ,

,
.

3 Yes ().
4 Close ()

,
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. /

69

/ /

- InTouch

Windows /. /
/
. /
.

/
/
.

/
/
,
.
/
On (.) Off ().
/

. ,
, , ,
.

,
2.
/
1 .
2 /
Tag Types ( ).
Tagname Dictionary ( )


3 :
On (.) Off (.)

, .

- InTouch
,
/
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

70

5. /

Direct () Reverse ()

, ,
/.

Direct ()



/.

Reverse ()


/
.
, /
0,
1.

,
,
.


, , 1
(, ), Value/Limit (/)

, On Msg (
). ,
, Off Msg (
).

, , 0
(, ), Value/Limit (/)

, On Msg (
). ,
, Off Msg (
).
4 , .

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. /

71


, ,
InTouch
.
- InTouch

. , ,
/
,
InTouch.


( /)

InTouch

/
,
,
.
- InTouch
/,
.
, ,
.
/
,

.

.
/
,
.

.


.
:
EUValue = (RawValue - MinRaw) * ((MaxEU - MinEU)/
(MaxRaw - MinRaw)) + MinEU

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

72

5. /


:
RawValue = (EUValue - MinEU) * ((MaxRaw - MinRaw) /
(MaxEU - MinEU)) + MinRaw



.
, , .
:
EUValue = sqrt(RawValue MinRaw) * ((MaxEU MinEU) /
sqrt(MaxRaw MinRaw)) + MinEU
:
RawValue = square((EUValue MinEU) * (sqrt(MaxRaw
MinRaw) / (MaxEU MinEU))) + MinRaw
/
1 .
2 /
Tag Types
( ). Tagname
Dictionary ( ) .


3 :
Initial Value ( ),

,
.

Min EU (

)
.

Max EU (

)
.

Min Raw (

)

/.

Max Raw (

)

/.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. /

73

Linear () Square Root (

)

.

4 , .

/
/,
.
, .
/
1 .
2 I/O Message ( /)
Tag Types ( ).
Tagname Dictionary

( ) .


3 Maximum Length ( )

,
.
131 .

4 Initial Value ( )

,
, WindowViewer .

5 , .

/
/
.
, .
,
/ .
Galaxy
/
5.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

74

5. /

/
1 / Tag Types
( ). Tagname
Dictionary ( ) .


2 Access Name ( )

, .
Access Names ( ),
, InTouch (Galaxy
ArchestrA, ).


3 ,

4 ,

/ .


Item (). ,

. :

1
-
R1 Item ().
1
-
R1:0
Item ().
,
Use Tagname ( ).

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. /

75

/

,
, . ,
, Add Access Name
( ) ,
.

IOGetNode()
IOGetNode() ,
,
.

IOGetNode(AccessName);

AccessName ( )

,
.


, InTouch
.


ModbusPLC1 NodeName.
NodeName = IOGetNode(ModbusPLC1);

GetNodeName()
GetNodeName()
.

GetNodeName(Tagname,NodeNum);

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

76

5. /

Tagname ( )

InTouch,
.

NodeNum ( )

,
, .

GetNodeName()
Tagname. NodeNum
.

MyNode.
Master, ,
, .
GetNodeName(MyNode,131);
If MyNode == Master THEN
MessageTag = This is the Primary Computer!;
ENDIF;

IOGetApplication()
IOGetApplication() ,
, ,
.

IOGetApplication(AccessName);

AccessName ( )

,
.


, InTouch
.

,
ModbusPLC1 AppName.
AppName = IOGetApplication (ModbusPLC1);

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. /

77

IOGetTopic() Function
IOGetTopic() ,
, ,
.

IOGetTopic(AccessName);

AccessName ( )

, .

,
,
InTouch.


ModbusPLC1 TopicName.
TopicName = IOGetTopic(ModbusPLC1);

/

- InTouch
,
, ,
.

.

:

.Reference /.

IOSetItem()

.Reference /.

IOSetAccessName()

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

78

5. /

.Reference
,
.Reference
/. .Reference

, /.
.Reference:
tag.Reference=accessname.item ,

tag.Reference=[.]item

,
/.

tag.Reference=accessname.


/.

tag.Reference=

/.

/
.ReferenceComplete.
, ,
.Reference, .Value.
.ReferenceComplete
(0) WindowViewer.
, .Value
, .Reference,
.ReferenceComplete
(1). .Reference ,
.ReferenceComplete
(0), (1)
.

IOSetItem() Function
,
IOSetItem() . IOSetItem()
,
.Reference /
.

IoSetItem (Tag, AccessName, Item);

Tag ()

/ InTouch, .

AccessName ( )

, /.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. /

79

Item ()

, /.

Tag, AccessName Item


,
,
InTouch.

.Reference
PumpInP1
Excel R1C1.
IOSetItem(PumpInP1, excel, R1C1);

Number = 1;

TagNameString = PumpInP + Text(Number,#);


IOSetItem(TagNameString, excel, R1C1);

() ,
, . , PumpInP2
:
IOSetItem(PumpInp2, , );

,
,
. ,
PumpInP3 excel2,
(Item):
IOSetItem(PumpInP3, excel2, );

,
,
, .
(Item)
PumpInP4 R1C2
:
IOSetItem(PumpInP4, , R1C2);

IOSetAccessName()
,
IOSetAccessName() .
IOSetAccessName()
/
.
: IOSetAccessName()
,
, .
, (POKE)
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

80

5. /

IOSetAccessName(AccessName, NodeName, AppName,


TopicName);

AccessName ( )

,
AppName Topic Name.
.

NodeName ( )

, .
.

AppName ( )

, .
.

TopicName ( )

, .
.

, AccessName, AppName
TopicName
,
InTouch.
: ,
WindowMaker, SuiteLink, InTouch
, .
IOSetAccessName()
.
IOSetAccessName()
SuiteLink .

MyAccess1
Excel [Book1]Sheet1
(NodeName)
:
IOSetAccessName(MyAccess1, , EXCEL,
[Book1]Sheet1);

,
,
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. /

81

,
MyAccess2 EXCEL
(Topic):
IOSetAccessName(MyAccess2, , EXCEL, );

,
,
. ,
MyAccess3 [Book2]Sheet1,
:
IOSetAccessName(MyAccess3, , , [Book2]Sheet1);
,
.


InTouch
-.
,
, . ,
, InTouch,
1, PumpRPM 2.
1

_:"PumpRPM"

PumpRPM
/

InTouch

InTouch


PumpRPM 2 :
/ 2,

2
, /.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

82

5. /

PumpRPM.

, 1: PumpRPM.

QuickScript
,
:

access_name:tag_name


QuickScript,
.
.

:
.
,


1 WindowMaker.
2 , ,

3 Special (), Substitute Tags


( ). Substitute
Tagnames. , .
4 New Name ( )

, .

: access_name:tag_name

6 OK.

1 .
2 Special (), Substitute Tags
( ). Substitute
Tagnames ( ).

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. /

83

3 Convert ().
Convert.


4 Remote ().
Access Names ( ).

, InTouch.


5 .
Modify

().

6 ,

, , Add
() .
,
.

Close (). ,
Substitute Tags ( ),
,
.


7 OK.

1 , ,

2 Special () Substitute Tags


( ). Substitute
Tagnames ( ),

3 New Name ( ),

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

84

5. /

4 New Name ( ).
Select Tag ( )

, .

5 , .

a Tree ()

c ,

d OK. Substitute
Tagnames ( )
New Name ( ).


6 OK

7 ,

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. /

85

- InTouch
-
, .

- ,
,
InTouch.
,
.
, , ,
TempTag 2:
1

TempTag

InTouch, 1,
(TempTag) 2
:
/ 1,

2
, /.

TempTag.

, Node2: TempTag.


, AccessName:item.

.
/, ,
Wonderware DAServer Microsoft Excel.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

86

5. /


(SuperTags).
SuperTag :
Access_name:Parent_Instance\ChildMember\SubMember.


7.


QuickScript,
.
.
Wonderware
.

:


- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. /

87



ArchestrA
InTouch
.

.

IOSetRemoteReferences()

IOSetRemoteReferences()
ArchestrA
InTouch. IOSetRemoteReferences()
,

. ,

, .

IOSetRemoteReferences(BaseAccess, NewAccess,
MatchString, SubstituteString, Mode)

BaseAccess ( )

,
,
.

NewAccess ( )

.
,
, (BaseAccess),

MatchString, .

MatchString ( )


. MatchString
,
.

SubstituteString ( )


. MatchString
.
SubstituteString ,
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

88

5. /

Mode ()

,

MatchString.
. (Mode), 0, ,

(.) . , 1,
, ,
.

IOSetRemoteReferences()
.
IOSetRemoteReferences()

. ,

BaseAccess,
MatchString.

IOSetRemoteReferences()


, ,
,
BaseAccess MatchString.

BaseAccess,

IOSetRemoteReferences()
.

MatchString ,

IOSetRemoteReferences()
,
, BaseAccess.

Mode 0,


( ), ( ).
MatchString
,
.

Mode 1,

,
.
, MatchString
,
.
.

.
IOSetRemoteReferences()
. IOSetRemoteReferences()
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. /

89

,
/. ,
.
.
: ,
Window OnShow,
, .


pump001 Galaxy,
pumpX.
IOSetRemoteReferences(Galaxy,,pumpX,
pump001,0);


Galaxy TagServer1
pumpX. , p2.
IOSetRemoteReferences(Galaxy,TagServer1,
pumpX,p2,0);

TagServer1
TagServer2, pumpX.
backpump3.
IOSetRemoteReferences(TagServer1,TagServer2,
pumpX,backpump3,0)

Tank ()
TagServer1 Plant ().
IOSetRemoteReferences(TagServer1,,Tank,
Plant,1)


, BaseAccess
.
IOSetRemoteReferences(,Galaxy,pumpX,
pump001,0);


SubstituteString
, IOSetRemoteReferences()

.
MatchString
, IOSetRemoteReferences()
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

90

5. /

: SubstituteString ,
MatchString ,
.
. , IOSetRemoteReferences(Access
1, , ,Valve,0); Valve ()
.

SubstituteString
, IOSetRemoteReferences()
.
MatchString
SubstituteString

.

InTouch
ArchestrA

Wonderware.

ArchestrA.


.
.

Galaxy

DA

- InTouch

,
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. /

91

InTouch
InTouch

InTouch
.
-
InTouch (Message Exchange).
WindowViewer InTouch, Message
Exchange WindowViewer .
, InTouch
,
. WindowViewer ,
AutomationObject
( ) Galaxy.
- InTouch
,
.
InTouch


Galaxy.
InTouch.

,
-
InTouch Galaxy
5.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

92

5. /

InTouch
,
Galaxy, WindowMaker
(Message Exchange ). Galaxy
- InTouch
ArchestrA. Galaxy
, .
,
InTouch,
Galaxy.
:


Galaxy
Galaxy,

, Galaxy.

InTouch Attribute Browser


Galaxy.
,
, .
Attribute Browser ,
_ ( )
QualifiedStruct.
:
Tagname ( ) = ObjectTagname.Attributename
Datatype ( ) =


InTouch 5
- InTouch

Access Name ( ) =
AlarmGroup ( ) =
Comment () = ,

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. /

93




Attribute Browser ( ) InTouch:
,

Galaxy.

(HierarchicalName).


Attribute Browser,
:
;
;
_, .

Attribute Browser

,
- InTouch.


InTouch 5.

Attribute Browser InTouch

,
InTouch, 95
.

, Galaxy,

TagName.AttributeName.

.

80 .

-
InTouch TagName.
AttributeName[index] .
-1
.

Browser

(). , Value
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

94

5. /



,
InTouch.
( InTouch)

(

InTouch)

( InTouch)
( InTouch)
( InTouch)
(

InTouch )

( InTouch)
( InTouch)

WindowMaker
WindowViewer
.
,
-
InTouch.
,
InTouch .
,
, .

, WindowViewer
. ,
TIC101.PV.#ReadSts
MxStatus TIC101.PV.

,
.

, .
,
,
-
InTouch.
- InTouch:

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. /

, .
,
. /
,
InTouch.
, /
, ,
#ReadSts
#WriteSts, . : Pump1.
PV.

.#VString

(/
/
)
:
.#VString1 .#VString2
.#VString3 .#VString4

95

,
.#VString.
.
,
.
UserGetAttribute
,
,
MxStatus .

: ?Pending ?Warning
?Comms
?Config ?Oper
?Security
?Software

?Other

.#VString, ,
,
,
. ,
UserGetAttribute ,
, ,
. ,
, , .
,
? . , 3.27?
True?.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

96

5. /


InTouch

,
, InTouch.
,

. ,
Galaxy -
InTouch.

InTouch

Float
( )

32 .

Boolean ()

Double
( )

Integer
()

String () (
Unicode)

32

IEEE NAN,

IEEE NAN.
,
Quality () Bad ()
IEEE NAN.

,

1.17549E-38,
0,0
Quality Good ().
= 0, = 1.

32

MBCS

,
.
MxValue
.


MBCS (
,

,
InTouch,
uncertain ().
Unicode.

ElapsedTime (
)

MxDataType

MBCS


. MxValue

.

Time ()

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. /

InTouch

MxSecurityClassification
MBCS

MxReference


Unicode.

MxQuality

MBCS

MxCategorizedStatus
MxQualifiedStruct
MxQualifiedEnum

97

MBCS

MBCS

MBCS

Enum.


#EnumOrdinal. ,
Pump1.PV.#EnumOrdinal.

Array of Strings (

)
MBCS ( , ,
)
: String1, String2,
String3
InTouch.
, ,
-
InTouch,
.
,

.
All arrays ( ) ,
,

MxInternationalizedText


.

, .


(Bad).

.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

98

5. /


, ,
?Pending.
, #WriteSts
. ,
#WriteSts .
,
#WriteSts
,
.
#VString1 #VString4

. N
, .
, 3.1234 #VString4.
#VString

.

.#EnumOrdinal
(
)

(/
)

.#ReadSts (
)

(
)



Qualified Enum (
).

.


,
.
: TIC101.PV.#ReadSts.

.
:
?Config
?Comms
?Oper
?Pending
?Warning
?Security
?Software

?Other
:
(, TIC101.PV)
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. /

99

.#WriteSts

(
)

,
, ,
Pump1.Cmd.#WriteSts.
.
,
.
#WriteSts
:
?Config
?Comms
?Oper
?Pending
?Warning
?Security
?Software

?Other
:
(, TIC101.PV)
.

-
InTouch Galaxy

InTouch

Galaxy.

InTouch.
InTouch
,
,
InTouch, WinPlatform
InTouch.
InTouch,

() ArchestrA.
- InTouch

Galaxy
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

100 5. /

In Touch Galaxy

1 WindowMaker.
2 .
Animation Links ( ).


3 Display (), Analog

().
.

4 ,

5 Expression ().
Select Tag ( ).

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. / 101

6 Tag Source ( ).
Define Tag Sources.


7 New () Define
Tag Source ( ).


8 Define Tag
Source ( ).

a Tag Source Name ( ),

Galaxy.

b Access Name ( )

Galaxy.

c Tag Source Type Galaxy.


d Location ()

Galaxy Galaxy.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

102 5. /

e OK. Define Tag Sources

( )
, .


9 Close ()
Define Tag Sources ( ).
Select Tag ( )
Tag Source ( ).


10 , ,
Tag Source ( ).
Attribute Browser ( )


11 Attribute
Browser ( ).

Attribute Browser
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. / 103

12 , ,
OK.
Output -> Analog Expression ( -> )
Expression ().


13 .

Galaxy:tag_name.attribute_name

Galaxy:PumpRPM.PV

14 OK Output > Analog Expression

( -> ) .

15 OK Properties Configuration

( ).

16

17 Runtime! ( ).


/
- InTouch
, (VTQ)
,
, . -
InTouch
,
.
.Value .

,
InTouch.
, .Value.

Time ()

, ,
.

Quality ()

, /.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

104 5. /


/
Time ()
:
Tag_name.Time_Dotfield

.TimeDate Dotfield
.TimeDate ,
1 1970
/.

Tag_name.TimeDate

Tag_name

, ,
.

( ).

.TimeDateString, .TimeDay, .TimeDateTime, .TimeHour,


.TimeMinute, .TimeMsec, .TimeMonth, .TimeSecond, .TimeTime,
.TimeTimeString, .TimeYear

.TimeDateString
.TimeDateString
,
Windows.

, ,
.

Tag.TimeDateString

Tag.

, ,
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. / 105

( ).

.TimeDate, .TimeDay, .TimeDateTime, .TimeHour, .TimeMinute,


.TimeMsec, .TimeMonth, .TimeSecond, .TimeTime, .TimeTimeString,
.TimeYear

.TimeDateTime
.TimeDateTime ,
1 1970

/.

Tag.TimeDateTime

Tag

, ,
.

( ).

.TimeDate, .TimeDateString, .TimeDay, .TimeHour, .TimeMinute,


.TimeMsec, .TimeMonth, .TimeSecond, .TimeTime, .TimeTimeString,
.TimeYear

.TimeDay
.TimeDay
,
/.

Tag.TimeDay

Tag

, ,
.

( ).

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

106 5. /

1 31.

.TimeDate, .TimeDateString, .TimeDateTime, .TimeHour,


.TimeMinute, .TimeMsec, .TimeMonth, .TimeSecond, .TimeTime,
.TimeTimeString, .TimeYear

.TimeHour
.TimeHour
,
/.

Tag.TimeHour

Tag

, , ,
.

( ).

0 23.

.TimeDate, .TimeDateString, .TimeDay, .TimeDateTime,


.TimeMinute, .TimeMsec, .TimeMonth, .TimeSecond, .TimeTime,
.TimeTimeString, .TimeYear

.TimeMinute
.TimeMinute ,

/.

Tag.TimeMinute

Tag

, , ,
.

( ).

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. / 107

0 59.

.TimeDate, .TimeDateString, .TimeDay, .TimeDateTime, .TimeHour,


.TimeMsec, .TimeMonth, .TimeSecond, .TimeTime, .TimeTimeString,
.TimeYear

.TimeMonth
.TimeMonth
(1-12),
/.

Tag.TimeMonth

Tag

, , ,
.

( ).

1-12.

.TimeDate, .TimeDateString, .TimeDay, .TimeDateTime, .TimeHour,


.TimeMinute, .TimeMsec, .TimeSecond, .TimeTime, .TimeTimeString,
.TimeYear

.TimeMsec
.TimeMsec ,
,
/.

Tag.TimeMsec

Tag

, , ,
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

108 5. /

( ).

0 999.

.TimeDate, .TimeDateString, .TimeDay, .TimeDateTime,


.TimeHour, .TimeMinute, .TimeMonth, .TimeSecond, .TimeTime,
.TimeTimeString, .TimeYear

.TimeSecond
.TimeSecond ,
,
/.

Tag.TimeSecond

Tag

, , ,
.

( ).

0 59.

.TimeDate, .TimeDateString, .TimeDay, .TimeDateTime, .TimeHour,


.TimeMinute, .TimeMsec, .TimeMonth, .TimeTime, .TimeTimeString,
.TimeYear

.TimeTime
.TimeTime ,
,
/.

Tag.TimeTime

Tag

, , ,
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. / 109

( ).

0 86399999.

.TimeDate, .TimeDateString, .TimeDay, .TimeDateTime,


.TimeHour, .TimeMinute, .TimeMsec, .TimeMonth, .TimeSecond,
.TimeTimeString, .TimeYear

.TimeTimeString
.TimeTimeString ,
/
.

Tag.TimeTimeString

Tag

, , ,
.

( ).

.TimeDate, .TimeDateString, .TimeDay, .TimeDateTime, .TimeHour,


.TimeMinute, .TimeMsec, .TimeMonth, .TimeSecond, .TimeTime,
.TimeYear

.TimeYear
.TimeYear
,
/.

Tag.TimeYear

Tag

, , ,
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

110 5. /

( ).

, .

.TimeDate, .TimeDateString, .TimeDay, .TimeDateTime, .TimeHour,


.TimeMinute, .TimeMsec, .TimeMonth, .TimeSecond, .TimeTime,
.TimeTimeString.


,
/ InTouch.

.
InTouch,
.
Wonderware
OLE ( ),

(OPC), , ,
Fieldbus.


/
, ,
.Quality
() - InTouch.
( )
;
(Q), (S) (L) :
QQSSSSLL.
, .Quality ()
0.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. / 111

192


QQSSSSLL


XXXXXXXX

, /
.Quality :

0x00C0

00000000 11000000 Q=3

S=0

L=0

85
(

0x0055

00000000 01010101 Q=1

S=5

L=1

64

0x0040

00000000 01000000 Q=1

S=0

L=0

24

0x0018

00000000 00011000 Q=0

S=6

L=0

86
(

0x0056

0x0004

00000000 01010110 Q=1

00000000 00000100 Q=0

S=5

S=1

L=2

L=0


.Quality ()
,
. SuiteLink DDE
( WindowViewer) ,
/.
,
, .
/
, , ,
.

, SuiteLink
DDE. /
Item.Quality ( ).
, ,
.Quality 0.
/ TestProt
Item.Quality.
, ,
Quality ().
/
, /
Item.Quality, / InTouch
,

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

112 5. /

.Quality InTouch.
,
IOSetRemoteReferences()
/.
SuiteLink DDE
/
,
.

.
/ ,
.Quality . ,
.Quality .
DDE SuiteLink
/.

.Quality
.Quality
, /.

Tag.Quality

Tag

, , ,
.

( ).

0 255.

.QualityLimit, .QualityStatus, .QualitySubstatus

IF I0Tag.Quality <> 192 THEN


LogMessage(
.);
ENDIF;

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. / 113

.QualityLimit
.QualityLimit
, /
.

Tag.QualityLimit

Tag

, , ,
.

( ).

0 =
1 =
2 =
3 =

.Quality

.QualityLimitString
.QualityLimitString
,
/.

Tag.QualityLimitString

Tag

, , ,
.

( ).

.Quality, .QualityLimit

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

114 5. /

.QualityStatus
.QualityStatus
, /,
.

Tag.QualityStatus

Tag

, , ,
.

( ).
(SSSS)

0 =
1 =
2 =

.Quality, .QualitySubStatus

.QualityStatusString
.QualityStatusString
, /
.

Tag.QualityStatusString

Tag

, , ,
.

( ).

.QualityStatus, .QualitySubStatus, .Quality

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. / 115

.QualitySubstatus
.QualitySubstatus
, /.

Tag.QualitySubstatus

Tag

, , ,
.

( ).
(SSSS) (QQ)

(SSSS) (QQ=0).

0 =

1 =

2 =

3 =

4 =

5 =

6 =

7 =

(SSSS) (QQ=1).

0 =

1 = ,

4 =

5 =

6 =

(SSSS) (QQ=2).

0 =

6 =

.QualityStatus, .QualitySubStatus, .Quality

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

116 5. /

.QualitySubstatusString
.QualitySubstatusString
,
/.

Tag.QualitySubstatusString

Tag

, , ,
.

( ).

.QualityStatus, .QualitySubstatus, .Quality

/

WindowViewer
/, InTouch.
/
InTouch.
/

WindowViewer.

, ,
Properties ()
WindowViewer. ,
, ,

. -
, InTouch
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. / 117

/

Special () WindowViewer

/ /.

,
InTouch. ,
, ,
, .

.


1 Special () Reinitialize I/O

( /).

2 Reinitialize All (

).
.

1 Special () Reinitialize I/O

( /),
Select (). Reinitialize
I/O ( /)
.


2
, Reinitialize

( ).
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

118 5. /


,
1 WindowMaker.
2 Special () Configure

(), WindowViewer.
Properties ()
WindowViewer .


3 General (), -
Reinitialize Default (

, ) /
.

4 OK.
5 WindowViewer

6 Special () Reinitialize I/O

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

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. / 119

7
, Reinitialize (

).
, .

.

/


/
, :
IOReinitAccessName()
IOReinitialize()
IOStartUninitConversations()

IOReinitAccessName()
IOReinitAccessName()
/ .

IOReinitAccessName( , Default);

AccessName ( )

, .

Default ( )

= 1.
/
, ,
WindowMaker.

= 0.
/ ,
, .


,
WindowViewer (Retry Initiates, Start Local Servers, Reinitialize
Default).

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

120 5. /


/ AccessName1
, ,
, .
IOReinitAccessName(AccessName1, 1);


/ AccessName2
, ,
, .
IOReinitAccessName(AccessName2, 0);

IOReinitialize()
IOReinitialize() ,
/,
InTouch.

IOReinitialize();

IOReinitialize() ,
Reinitialize I/O (
/) Special ()
WindowViewer.

/
/,
InTouch.
IOReinitialize();

IOStartUninitConversations()
WindowViewer
InTouch,
/.
/
WindowViewer, IOStar
tUninitConversations() WindowViewer
/.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. / 121

IOStartUninitConversations();

IOStartUninitConversations()
, Start Uninitiated Conversations (
) Special ()
WindowViewer.

WindowViewer

/,
InTouch.
IOStartUninitConversations();



, - InTouch
/
/
. /.


, InTouch
/
,
/.
,
.

. -
InTouch ,
/
.
0 ,

/.

1 , WindowViewer.
2 Special () Access Names
( ). Access Names

( ) .

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

122 5. /

4 Modify ().
Modify Access Names ( ).
5 Enable Secondary Source (
). Modify Access Name

( ) .


6 :
Node Name ( ),

/.

Application Name ( )

/,
.

Topic Name ( ) ,

/
.

Which protocol to use (

) DDE, SuiteLink
/.

When to advise server ( )


Advise all items ( )
Advise only active items (

) /.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. / 123

7 Failover ( ).
Failover Configuration ( ).


8
Failover expression ( )

.

5.

10 Switch back to primary when Failover conditions clear

(
),

.

, ,
.
Switch back to primary when Failover conditions clear
(
), Fail-back Deadband (
)
Failover Configuration ( ).

11 Fail-back Deadband ( )

- InTouch
,

,
.
0,
/.

12 OK Failover
Configuration ( ).
13 OK Modify Access
Name ( ).

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

124 5. /

,
,
/.

1 WindowViewer.
2 Special (), Access Names
( ). Access Names

( ).

3 Modify ().
Modify Access Name ( )

5 OK Modify Access
Name ( ).
6 Close ()
Access Names ( .



,
/.

1 Special () Access Names

( ).

2 Modify ().
Modify Access Name (

).

3 - Enable Secondary Source (

).

4 OK.



.
.
,

/.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. / 125


IOForceFailover() script
.


Failover Configuration (
) Failover Expression (
),
, . ,
,
, Failover Expression.

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

IOForceFailover()
IOForceFailover()

. /

.
IOForceFailover() ,
.

. ,
, IOForceFailover
/ /
.

IOForceFailover( );

AccessName ( )

, .

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

126 5. /

Acc1
, .
Acc1
.
IOForceFailOver(Acc1);


/
.
,
InTouch , . ,
,
.

,
/.

:
Disable Failover ( )
Failover Configuration (

).

IODisableFailover().

Disable Failover
Failover Configuration (
) Disable Failover (
)
/. ,
, Disable
Failover ( ),
.


Disable Failover .

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. / 127

,
.

IODisableFailover() Script
IODisableFailover()
.
IODisableFailover()
,
IOForceFailover().

IODisableFailover ( , );

AccessName ( )

, .

1 =

0 =


,
InTouch.


ModbusPLC1.
IODisableFailover (ModbusPLC1,1)


ModbusPLC1.
IODisableFailover (ModbusPLC1,0)



, ,
,
/ .

/
.
,
, ,

/.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

128 5. /

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

Result=IOGetAccessNameStatus( , );

AccessName ( )

,
.

Mode ()

, , ,

.

0 /

1 /

2 /

-1


.
,
/.


/ .


/ .

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. / 129

IOGetAccessNameStatus()
,
/, .

,
.


/ ModbusPLC1.
ANStatus.
ANStatus = IOGetAccessNameStatus (ModbusPLC1,2)

IOGetActiveSourceName()
IOGetActiveSourceName()

.
IOGetActiveSourceName() ,
.

/ .

Result=IOGetActiveSourceName( );

AccessName ( )

,
.

IOGetActiveSourceName() , ,

.
IOGetActiveSourceName():

,
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

130 5. /

, ActiveServer
(, ),

ModbusPLC1.
ActiveServer = IOGetActiveSourceName (ModbusPLC1);

/
WindowViewer ,
IOStatus /
InTouch /,

.
: InTouch 7.0 DDEStatus.

IOStatus
/.

IOStatus
IOStatus /
/
. WindowViewer
/
Wonderware Simulate
, / PLC1
.
: Simulate Wonderware
DAServer, .
Simulate c:\program files\common files\
ArchestrA.
/
1 WindowMaker.
2 .
3 /.

/
IOStatus, ,
, /
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. / 131

4 Access Name ( )

, IOStatus
.

, PLC1
.

5 PLC1 Modify ().

,
, ,
Topic Name ( ) .

6 Cancel ()


Access Name Definition ( ).

7 Add (). Add


Access Name ( ).

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

132 5. /

8 :
a Access () IOStatus.
b Application Name ( ) View

(),
WindowViewer.

c Topic Name ( ) IOStatus

InTouch.

d Advise only active items (

).

9 OK .
Access Name ( )

, ,
IOStatus, :


10 Close ()
I/O Discrete

( /).

11 Item ()

, .
PLC1.


12 , Topic
Name ( ), Use Tagname as Item
Name ( )

(Item).

: IOStatus (DDEStatus
InTouch 7.0) / ,
Access Name ( )
Item.

IOStatus Excel
Excel
/ ,
. ,
,
, :
=view|IOStatus!PLC1

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

5. / 133

/

, Status (),
/.
0,
. 1,
/.
: ,
IOStatus, , /
.

- InTouch


Status () . ,
WindowViewer
, Wonderware Simulate
DAServer, IOStatus:

PLC1
:

Excel

:
=SIMULATE|PLC1!STATUS

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

134 5. /

InTouch

InTouch,
/.
/ InTouch.
VIEW () ( )
InTouch, .
TAGNAME ( ) ( ) ,
/ .
ActualTagname ( ) ( )
,
InTouch.
,
- InTouch Excel,
DDE ,
:
=VIEW|TAGNAME!ActualTag_name

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

6. 135


,
.
.

,
. QuickScript
, .

PumpRPM1
PLC 1

QuickScript


1 2

RPM
IndPumpRPM

RPM
PLC 2

PumpRPM2
RPM

1 2

.
,
,
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

136 6.



.

.Name
.
, ,
IndPumpRPM, PumpRPM

:
IF PumpNo == 1 THEN
IndPumpRPM.Name = PumpRPM1;
ELSE
IndPumpRPM.Name = PumpRPM2;
ENDIF;


,
.

, ,
. ,
.
,
.
.Name ,

. , Data Change
QuickScript, ,
Number, ,
IndPumpRPM :
IndPumpRPM.Name = PumpRPM + Text(Number, # );

,
Number PumpRPM.
Number 1,
Number PumpRPM1.

, .
,
.

.
,
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

6. 137



, , ,
Tagname Dictionary.

,
. ,
.
,
.
,
PumpRPM.

RPM
( ) .

.
IndPumpRPM.Name

IndPumpRPM.Value
IndPumpRPM.HiHiLimit
IndPumpRPM.HiLimit
IndPumpRPM.LoLimit
IndPumpRPM.LoLoLimit

IndPumpRPM.HiHiStatus
IndPumpRPM.HiStatus
IndPumpRPM.LoStatus
IndPumpRPM.LoLoStatus


QuickScript.

:
Indirect_tag_name.Name = tag_name;

tag_name
, Tagname
Dictionary. , ,
,
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

138 6.




.
:
AccessName:Item

AccessName InTouch.
Item ,

/,
.

,
, .
.
,
,
, ,
. ,

.

.

.
IndPumpRPMName

IndPumpRPMValue
IndPumpRPMHiHiStatus
IndPumpRPMHiStatus
IndPumpRPMLoStatus
IndPumpRPMLoLoStatus

IndPumpRPMHiHiLimit
IndPumpRPMHiLimit
IndPumpRPMLoLimit
IndPumpRPMLoLoLimit

10
,
Value.
, IndPumpRPM,
InTouch TagServer1. InTouch
:
Access Name ( ):

TagSource1

Node Name ( ):

TagServer1

Application Name ( ):

View

Topic Name ( ):

Tagname

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

6. 139


PumpRPM,
QuickScript:
IndirectTagname.Name = TagSource1:PumpRPM.Name;
IndirectTagValue.Name = TagSource1:PumpRPM;
IndirectTagHiHiLimit.Name =
TagSource1:PumpRPM.HiHiLimit;
IndirectTagHiLimit.Name =
TagSource1:PumpRPM.HiLimit;
IndirectTagLoLimit.Name =
TagSource1:PumpRPM.LoLimit;

IndirectTagLoLoLimit.Name =
TagSource1:PumpRPM.LoLoLimit;

IndirectTagHiHiStatus.Name =
TagSource1:PumpRPM.HiHiStatus;
IndirectTagHiStatus.Name =
TagSource1:PumpRPM.HiStatus;
IndirectTagLoStatus.Name =

TagSource1:PumpRPM.LoStatus;

IndirectTagLoLoStatus.Name =
TagSource1:PumpRPM.LoLoStatus;

,
.
InTouchQuickFunction,

.
,
QuickFunction.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

140 6.

, ,
QuickFunction,
RedirectAlarmFacePlate.

RedirectAlarmFacePlate
. ,
InTouchQuickScript. :
CALL RedirectAlarmFacePlate
(TagSource1:PumpRPM);

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

7. 141

SuperTag .
, SuperTag,
.
SuperTag .
,
SuperTag
,
.
SuperTag,
, .
SuperTag
.
SuperTag
PumpInP

PumpRPM

PumpState

SuperTagPump1
PumpInP

PumpRPM

PumpState

PumpOutP

SuperTagPump2
PumpOutP

PumpInP

PumpRPM

PumpState

PumpOutP

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

142 7.

, SuperTag,
, .
, , ,
InTouch.
, , .
SuperTag
. SuperTag
64 .
64 .
4095 SuperTag.
,
SuperTag.
SuperTag

1_1

1_64

64

64_1

64_64

SuperTag
SuperTag,
.
, SuperTag, Tagname
Dictionary ( ) ,
Select Tag.
, ,
. WindowMaker
,
SuperTag.
SuperTag supertag.dat
C:\Documents and Settings\All Users\Application Data\
Wonderware\InTouch.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

7. 143

SuperTag
TemplateMaker ,
SuperTag
. Tag Types Tagnfme Dictionary
SuperTag ,
.
SuperTag
1 Special TemplateMaker.
TemplateMaker.
2 New Template. New
Template.
3 SuperTag Name.

10
.
.

4 ,
Description.
5 OK. TemplateMake

, .
Add
Member Delete.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

144 7.

SuperTag
1 TemplateMaker.
2 SuperTag .
3 Add Member
New Member Tag.
4 :
Name ,

10
. .
.
, .

SuperTag 162
SuperTag.
Type

Type .

, ,
,
SuperTag. ,
,
TemplateMaker. ,
Tagname Dictionary,
,
,
/.
,

Comment.

5 OK.
SuperTag
TemplateMaker.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

7. 145

6 ,

, .

Dioscrete:PumpState

7
SuperTag. TemplateMaker
, SuperTag.

SuperTag Tag Types


SuperTag,
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

146 7.

SuperTag

SuperTag
. SuperTag,
, . ,

.
SuperTag
, .
Tag Types
Tagname Dictionary.
SuperTag

1 TemplateMaker.
2 SuperTag

, .
Edit Template Edit Member Tag.

SuperTag, .


3 .
4 .
5 TemplateMaker

SuperTag
1 TemplateMaker.
2 SuperTag ,

3 Delete.
.
4 Yes .

TemplateMaker
.

SuperTag
. , PumpRPM
TankPumpSuperTag,
TankPump. SuperTag.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

7. 147

SuperTag
SuperTag .
SuperTag
InTouch.

,
.
.

Tagname
SuperTag
Tagname
SuperTag. Tagname
,
SuperTag.
SuperTag
1 Tagname.
2 New.
3 Tagname ,

SuperTag.

SuperTag 10 .
,
InTouch.

4 Type Tagname
Types
5 SuperTag .

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

148 7.

6 OK. Tagname Dictionary

, Tagname,
,
SuperTag.

7 . :
a Member List
SuperTag.


b Data Access Memory I/O
Memory
I/O.
c ,

InTouch.

8 Close ,

,
SuperTag.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

7. 149

Tagname Dictionary
SuperTag
Tagname Dictionary
. , ,

InTouch QuickScripts.
SuperTag Tagname Dictionary
1 Tagname Dictionary.
2 Select Select Tag

, .

3 SuperTag

4 OK.
Tagname.
5 New.
SuperTag.
6 Yes. Enter Name
SuperTag.
7 10

8 OK. SuperTag Tagname


Dictionary.
9 , ,

InTouch.

10 Close.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

150 7.

Tagname Dictionary
SuperTag
,
SuperTag Tagname Dictionary.
,
SuperTag
(\) . :
Pump_8\PumpSTS

ArchestrA Bulk Import Utility
InTouch ,
SuperTags Bulk
162
.
SuperTag
1 Tagname Dictionary.
2 SuperTag,

a New.
b Tagname, SuperTag

(\)
.

c Type.
d ,

e OK.

f ,

InTouch.

3 Save.
4 Select.
5 SuperTag,

6 OK.

Member List ,
SuperTag.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

7. 151

SuperTags
TemplateMaker,
SuperTags :

InTouch QuickScripts.
,

InTouch DBLoad.


, TemplateMaker
SuperTag.

SuperTag
InTouch QuickScript,
SuperTag. :

SuperTag ,
QuickScript,
, .
OK. Tagname
SuperTag , .

:
ParentInstance\ChildMember

ParentInstance\ChildMember\Submember

:
ParentInstance\

ParentInstance\ChildMember\

,
, SuperTag .

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

152 7.

SuperTag
InTouch 32 .
SuperTag ParentInstance\ChildMember\Submember 32 .

SuperTags. SuperTag
(ParentInstance\ChildMember) ,
.
32

(10 )

(10 )

-
(10 )

SuperTag
,
InTouch.
SuperTag
InTouch, .
, SuperTag - :
TankFarm\Tank1\Pump1RPM.RawValue


SuperTags. ,
SuperTag - :
PLC1:TankFarm\Tank1\Pump1RPM.RawValue

SuperTags


ArchestrA InTouch
Application Server.
ArchestrA
InTouch .
InTouch,
ArchestrA
SuperTags. SuperTags
InTouch ,
(\)
SuperTag ArchestrA
(_).
:
TankFarm_Tank1_Pump1RPM.RawValue

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

8. 153

,
InTouch
Wonderware. Wonderware

.
InTouch.
, Cross Reference Utility (
)
Tagname Dictionary (
).
InTouch WindowMaker

CSV File
Tagname
Dictionary

PumpInP

PumpRPM

PumpOutP

PumpState

,
InTouch.

.
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

154 8.


InTouch HMI
, Tagname Dictionary.
.
Tagname Dictionary.
InTouch
.
, InTouch
166

. ,
, , :
WindowViewer.

WindowMaker.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

8. 155


,
Tagname Dictionary .

, .

1 InTouch application WindowMaker.
2 Tools, Configure
WindowMaker. WindowMaker
Properties.


3 Show Tag Count.

Tagname Dictionary
. Tagname Dictionary

4 OK. , WindowMaker

,
.

5 WindowMaker.
6 WindowMaker.

, Tagname
Dictionary ,
WindowMaker.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

156 8.

1 InTouch WindowMaker.
2 .
3 Special Update Use Counts.

,
.

4 Yes.

, ,

.



InTouch.



Wonderware
InTouch
.
Wonderware InTouch. Wonderware
, , 60,
.

500

500

256

256

1000

1000

60000 (60)

61405

256
500

1000

60000


InTouch
.


,
, InTouch .
, 256
256 256 ,

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

8. 157

.
, ,
WindowViewer
. WindowViewer

,
. WindowViewer
-
. WindowViewer

.
. ,
,
, ,
,
.
,
. InTouch
60K ,

.
, 60K
.

.
InTouch 60K 60000 .

,
.
60K
InTouch.


,
InTouch.
,
SuperTags :


InTouch
QuickFunctions

InTouch, , SPC Pro,

SQL, Access Manager, Recipe Manager.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

158 8.

, ,
, .
QuickScript
QuickFunction, .

.
,
.
(*) ,

.
, Prod* ProdPump1
ProdTank2.

(?)

. , Pump? Pump1
Pump2.

InTouch
.

SuperTag
Tagname ,
SuperTag
InTouch QuickScript.
SuperTag
.

SuperTag
.

.
.

SuperTag Window.
..
SuperTag is used in a Data Change
script.
.

SuperTag
Condition ().

. , $Hour==12 On True.
.
SuperTag
Key.
,
. , F2 On Key Down.

SuperTag QuickFunction.

QuickFunctions
SuperTag.
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

8. 159

SuperTag ActiveX
Event. .
the ActiveX Event script.
Window,
,
SuperTag.
,
.

SuperTag
SPC Pro.
SPC,
SuperTag.
SuperTag
SQL.
SQL Bind List,
SuperTag.

SuperTag
Recipe Manager ( ).


.
,
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

160 8.

:
1 InTouch WindowMaker.
2 Special, Cross Reference.
Cross Reference Search Criteria InTouch.


3 Search Criteria


InTouch.
Search for all occurrences

SuperTags.

Search for specified occurrences


InTouch. ,
,
.

4 Filter

,
. Filter ,
.

5 Filter

,
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

8. 161

6 Search

. , ,
,
. ,
, ,
Tagname .

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

162 8.





, .csv.

,
, .

Excel ,
.csv.

Tagname.
Tagname
, , .
,
.
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

8. 163


1 InTouch
(Cross Reference) Save As.
Save As.


2 .
3 Save.

Tagname
1 InTouch WindowMaker.
2 WindowMaker File Print. The

WindowMaker Printout.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

164 8.

3 Database Entries,

Tagname.

Database Entries,
:
Details

Alarm Information

With Window Cross-Reference

Tagname
. ,
.

Link Details
, .
Window Names Only
.
4 Windows ,

.
Windows, :

All .
Selected
. Windows to Print .

,
OK.
With Link Details .
Window Scripts , .
Database entries used in window ,

5 All Scripts ,

.
,
All Scripts.
, .

6 Next. Select Output


Destination.
7 Tagname

8 Print.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

8. 165



InTouch, .
Tagname,
.
, ,
, ,
. InTouch ,
, .

, ,
.

164.
,
, .
,
,
QuickScript.

1 WindowViewer, .
2 InTouch WindowMaker.
3 Special Delete Unused Tags.
Choose Names to Delete

.
, All.

5 Delete. ,

,
.

6 OK .

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

166 9.

InTouch,
.

,
.
IndustrialSQL
InTouch ,
.
IndustrialSQL
.

,
,
IndustrialSQL.
InTouch Historical Logger
, ,
.

.

IDX

WindowViewer

LGH

PumpInP

PumpOutP

PumpState

PumpRPM

Wonderware
Historian

InTouch HMI .
,
. .

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

9. 167


:
00.LGH and 00.IDX
:

MM

, (01-12)

, , (01-31)

00

00


.

.
.
. ,
, , .

Configuring General Logging
Properties ( )
181.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

168 9.




InTouch:

InTouch


Tagname.
, WindowViewer.
,
,

.
,
,
. ,
. ,
, .
, WindowViewer
.
,
.

Tagname.

1 , WindowViewer

2 WindowMaker.
3 Tagname.
4 Tagname,

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

9. 169

5 Log Data.

Tagname Dictionary
, :
Log Deadband ,


.
.

.

Min EU Max EU


. EU

. /

, .
, InTouch
0-100 EU.

6 Save.
7

, .

8 Close Tagname,
Configuring General Logging Properties

,
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

170 9.


.
1 , InTouch,

WindowViewer.

2 WindowMaker.
3 Tools, Configure
Historical Logging. Historical Logging
Properties.



239.

4 Enable Historical Logging.


5 Keep Log Files for

.

.
, , ,
. 0
.


.

(02-07). ,
, .

.
,
.
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

9. 171

6
. Historical Logging Properties


55.

Store Log Files in Application Directory


,
InTouch, .

Store Log Files in specific Directory


.
, :
Windows, C:\History Log Files (

(UNC), , \\node\share\
directory.


, , UNC.

,
NAD
.
NAD
, .
7 Name of Logging Node, ,

InTouch,
.

8 OK .


. ,
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

172 9.


,
:

, ,
.

.

.
60 .

intouch.ini .

ForceLogging

ForceLogging
. ForceLogging
5 120 .
ForceLogging 60.

ForceLogCurrentValue

ForceLogCurrentValue ,

, ,
Log
Deadband. ForceLogCurrentValue=0.

intouch.ini,
.
WinFullScreen=1
WinWidth=808

AlarmBufferSize=5000
ForceLogging=5

ForceLogCurrentValue=1

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

9. 173


1 WindowMaker WindowViewer.
2 L intouch.ini ,

InTouch.

3 intouch.ini.
4 ForceLogging 5 120.
5 ForceLogCurrentValue=1.
6 intouch.ini.
7 WindowViewer.



,

WindowViewer Special.
Stop Historical Logging

.
,
.

Restart Historical Logging


Stop Historical
Logging.


QuickScript,
$HistoricalLogging
. ,
HistoricalLogging 1.
, $HistoricalLogging
0.
$HistoricalLogging
41.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

174 9.

InTouch HMI
IndustrialSQL
IndustrialSQL (InSQL)
,
.
Historical Logger InTouch
IndustrialSQL.

InTouch
IndustrialSQL.
InTouch HMI
2, (Distributing
Applications)
InTouch HMI ( InTouch HMI Application Management and Extension
Guide).

IndustrialSQL
,
(Distributed Name Manager)
WindowMaker .
ndustrialSQL
1 WindowMaker.
2 Tools (Configure
list).
3 Distributed Name Manager.
Distributed Name Manager.
4 Distributed History InSQL
Provider Name.
5 InSQL Provider.
6 Configure InSQL Provider.
SQL History Provider Properties.
a Data Source ,

IndustrialSQL.

IndustrialSQL.

c
Password, Re-enter password.
d Test

IndustrialSQL. ,

.

7 OK .
8 OK InSQL History
Providers. History Providers.

IndustrialSQL.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

9. 175

9 OK Distributed

Name Manager.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

176 10.

1 0

,
InTouch. WindowMaker
,

.
InTouch Average/Scatter (/ ).


. ,
, ,
.
.


.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

10. 177

InTouch
,
InTouch.
,

InTouch,
.

.

,
.
WindowMakers Real-time Trend
. 16-Pen
Trend, ,
16 .



. ,

.

. ,

.
InTouch.

Average/Bar

Min/Max


.
,
.

Average/Scatter

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

178 10.


,

. ,
, ,

, .


, ,
.

.
.
MinEU MaxEU
,
.



InTouch, .
.

,
.
:






WindowMaker:
Historical Trend ( )
Historical Trend Wizard ( )
16-Pen Trend Wizard (Optional) ( 16

) ()

, ActiveFactory
InTouch,
IndustrialSQL.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

10. 179



WindowMaker Historical Trend.



Historical Trend
. ,
,
InTouch. ,
, WindowMaker

.
.

1 WindowMaker,

2 Historical Trend
Drawing Toolbar.
3 ,

.

. Historical Trend.


4 ,

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

180 10.

,


.
,
.
.
WindowViewer . ,
Pen.


, .

2, (Distributing Applications),
InTouch
HMI

IndustrialSQL
.
, ActiveFactory
InTouch,
IndustrialSQL.
,

1 .
Historical Trend Configuration.


2 Historical Tag ,

Hist Trend.
Hist Trend tag
InTouch. ,
,

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

10. 181

Tagname, ,
. OK
, Tagname
Dictionary.
3 Tagname
Pen.
4

,
Pen .

5 :
a Pen.
List of Providers.


b ,

c OK

d .
6 ,

, ,
. .

7 Width,

, .

8 3 6

,
.

9 , Allow runtime changes


.


196.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

182 10.




.


1 ,
Historical Trend Configuration.
2 Chart Time
Initial Time Span, ,

3 : (Secs),

(Mins), (Hrs), (Days).

, 8 Initial Time Span , ,


Hrs,
8 .

4 Initial Display Mode

, , WindowViewer
, .

Min/Max

194
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

10. 183


.

1 .
Historical Trend Configuration.
2 . :
Color Chart Color

. .
, .

Border Color .

3 . :
Time Divisions

Number of Major Div.


.
65536
18 , 12 , 16 .
.
Minor Div/Major Div

.

. ,
60 , 2 Minor Div/
Major Div 30 .

.
Top Labels Bottom Labels

Major
Div/Time Label.

.
, ,

()

(HH)

(DD)

()

(YY)

()

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

184 10.

4 Value Divisions

Value Divisions ,
Time Divisions.
, ,
.

5 OK
Historical Trend
Configuration.

Allow runtime changes ,


,

.
,
.

1 .
Historical Trend Setup.


2 Chart Start

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

10. 185

3 Display Mode

.
, ,
, .
,
. .
.
Min/Max Average/Scatter
, Average/Bar Chart.

4 Chart Length ,

, ,
. , 2
Hrs, 2 .

5 Chart Range

,
.

,
. 0 100. ,

40 60
, 40 60 Min
Max, .

6 Tags
. Select Tags

,
.

7 QuickScript

Hist_TrendTag.UpdateTrend = 1;

8 QuickScript

HTUpdateToCurrentTime(Hist_Tag);

HTScrollLeft(Hist_Tag,Percent);

HTScrollRight(Hist_Tag,Percent);

HTZoomIn(Hist_Tag,LockString);

HTZoomOut(Hist_Tag,LockString);

HTSetPenName(Hist_Tag,PenNum,Tagname);

For more information about using scripts containing trend


functions, see Controlling a Historical Trend Wizard Using Scripts
on page 219.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

186 10.

.ChartStart
.ChartLength
.MaxRange
.MinRange
.Pen1-.Pen8


Controlling
a Historical Trend Using Dotfields (
) 198.

.DisplayMode Dotfield ( )
.DisplayMode ,
.
Category ()

Usage ()

tag_name.DisplayMode
Parameter ()

tag_name

Any Hist Trend tag ( Hist Trend).

Data Type ( )

(/) .
Valid Values ( )

1 = / ,
( ).
2 =
.
3 =
.
Example ()


PumpPress ,
.
PumpPress.DisplayMode=3;

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

10. 187

See Also ( )

.ChartLength, .ChartStart

.MinRange Dotfield ( .MinRange)


.MinRange

Historical.
Category ()

Historical ().
Usage ()

tag_name.MinRange
Parameter ()

tag_name

, .

Remarks ()


.

,
.

.
,
,

.
Data Type ( )

Real (read/write) ( (/).


Valid Values ( )

.MaxRange .MinRange
0 100. .MinRange , .MaxRange.
0 100
, 0 100.
.MinRange , .MaxRange,
- .
Example ()


25

PumpPress. PumpPress.MaxRange=25
See Also ( )

.ChartStart, .ChartLength, .DisplayMode, .EngUnits, .MinEU,


.MaxEU, .MaxRange, .MinRaw, .MaxRaw, .RawValue

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

188 10.

.MaxRange Dotfield ( MaxRange)


.MaxRange

.
Category ()

.
Usage ()

tag_name.MaxRange
Parameter ()

tag_name

, .

Remarks ()


.

- ,
.
,
. ,
,

.
Data Type ( )

Real (read/write) ( (/)


Valid Values ( )

.MaxRange .MinRange
0 100. .MinRange , .MaxRange.
0 100
, 0 100.
.MinRange , .MaxRange,
.
Example ()


75

PumpPress. PumpPress.MaxRange=75
See Also ( )

.ChartStart, .ChartLength, .DisplayMode, .EngUnits, .MinEU,


.MaxEU, .MinRange, .MinRaw, .MaxRaw, .RawValue

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

10. 189

.UpdateCount Dotfield
.UpdateCount ,
. .UpdateCount
,
.
Category ()

.
Usage ()

HistTrendTag.UpdateCount
Parameter ()

HistTrendTag

HistTrend .

Data Type ( )

( ).
Valid Values ( )

.
Example ()

HTGetValueAtScooter()
Pen1
.
.
.UpdateCount ,
. MyRealTag=HTGetValueAtScooter
MyHistTrendTag,MyHistTrendTag.UpdateCount, 2,

MyHistTrendTag.ScooterPosRight, 1, PenValue);
See Also ( )

.UpdateInProgress, .UpdateTrend

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

190 10.

.UpdateInProgress Dotfield
.UpdateInProgress
.
1,
;
0.
Category ()

.
Usage ()

HistTrendTag.UpdateInProgress
Parameter ()

HistTrendTag

HistTrend .

Remarks ()


,
1. , , .UpdateInProgress
0. .UpdateInProgress
, .
,
,
.
.UpdateInProgress ,
.
, .
Data Type ( )

( ).
Value Values ( )

0 =
1 =
Example ()

.UpdateInProgress , ,

.
.UpdateInProgress
Busy () ,
:
DText(HistTrend1.UpdateInProgress,Busy,Ready)
See Also ( )

.UpdateCount, .UpdateTrend

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

10. 191

.UpdateTrend Dotfield
.UpdateTrend
. .UpdateTrend
,
.
Category ()

.
Usage ()

HistTrendTag.UpdateTrend
Parameter ()

HistTrendTag

HistTrend .

Remarks ()

.
.ChartStart,
.ChartLength
.
,
.
QuickScript,
, .
.UpdateTrend dotfield 1.
Data Type ( )

( ).
Valid Values ( )

1
Example ()

,
MyHistTrendTag,
.
MyHistTrendTag.UpdateTrend=1;

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

192 10.

.ChartLength Dotfield
. ChartLength dotfield
, .
Category ()

.
Usage ()

HistTrendTag.ChartLength
Parameter ()

HistTrendTag

HistTrend .

Remarks

, .ChartLength,
.
, ,
.
, , ,
:
ChartLength=( / )
- ( / );
/
1 1970, ,
.
.ChartLength,
. ,
.ChartLength,
. : (2 ) * (60 /) *
(60 /) = 7200 .
Data Type ( )

(/).
Valid Values ( )

.
Examples ()


.
HtTag.ChartLength=3600 {60 * 60 /};
This example scrolls the trend left by 50 percent.
HtTag.ChartStart=HtTag.ChartStart HtTag.ChartLength / 2;

This example scrolls the chart left by 10 percent.


HtTag.ChartStart=HtTag.ChartStart - (.10 *
HtTag.ChartLength);

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

10. 193

See Also ( )

.ChartStart

.ChartStart Dotfield
.ChartStart
/ ( )
.
Category ()

.
Usage ()

HistTrendTag.ChartStart
Parameter ()

HistTrendTag

HistTrend .

Remarks ()

/
/
. .ChartStart ,
1 1970.
, .
Data Type ( )

(/).
Valid Values ( )

.
Example ()


.
HtTagname.ChartStart=HtTagname.ChartStart + 60;
See Also ( )

.ChartLength

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

194 10.

.Pen1-8 Dotfields
.Pen1-8
.
Category ()

Usage ()

HistTrendTag{.Pen1 | .Pen2 | .Pen3 | .Pen4 | .Pen5 |


.Pen6 | .Pen7 | .Pen8};
Parameter

HistTrendTag

HistTrend .

Remarks ()


.Pen1-8 .:
HistTrend.PenX = Tag_Name.TagID
X - 1 8.

, , ,
HTSetPenName() HTGetPenName().

.PenX. provider.tag.
provider.tag HTSetPenName().
,
, ,
.
Data Type ( )

(/).
Valid Values ( )

TagID
( ). ,
.Pen1-8.
.Pen1-8.
.TagID
.Pen1-8 :
HistTrendTag.Pen1=LoggedTag.TagID;

, TagID

TagID.
, .TagID
. .Pen1-8
, /,
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

10. 195

Examples ()


.Pen5 ,
Hist Trend. .TagID

.Pen5.
HistTrendTag.Pen5=PumpPress.TagID;

,
, HistTrendTag.Pen5.
, ,
, .
, HistTrendTag.
Pen5 (Message Display).
.Pen1 ,
WindowViewer,
.
TagID, Pen05.
:
Pen05=HistTrendTag.Pen5;

PumpPress 5
HistTrendTag. , Pen05
Pen5 HistTrendTag, TagID
PumpPress. .Pen1-8
, ,
. .Pen1-8
, .TagID.
-
.
HistTrendTag.Pen5 Pen05 TagID,
MyLoggedTag Pen05. ,
:
Pen05=MyLoggedTag.TagID;

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

196 10.

.TagID Dotfield
.TagID
.Pen1 - .Pen8
.
Category ()

.
Usage ()

tag_name.TagID
Parameter ()

tag_name

, , ,
, .

Remarks ()

.TagID ,
,
.
Data Type ( )

TagID ( ).
Example ()

.TagID
PumpRPM 6 .
HistTrendTag.Pen6=PumpRPM.TagID;
See Also ( )

.Pen1-.Pen8

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

10. 197

.ScooterLockLeft Dotfield
.ScooterLockLeft ,
,
.
Category ()

Usage ()

HistTrendTag.ScooterLockLeft
Parameter ()

HistTrendTag

HistTrend .

Remarks ()

,
,
. ,

, ,
.
Data Type ( )

Discrete (read/write) ( (/).


Valid Values ( )

0 = False (). ,
.
1 = True (
,

Example ()


,
.
HistTrendTag.ScooterLockLeft=1;
See Also ( )

.ScooterPosRight, .ScooterPosLeft, .ScooterLockRight

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

198 10.

.ScooterLockRight Dotfield
. ScooterLockRight t ,
,
.
Category ()

Usage ()

HistTrendTag.ScooterLockRight
Parameter ()

HistTrendTag

HistTrend .

Remarks ()

,
,
. ,

, ,
.
Data Type ( )

(/).
Valid Values ( )

0 = False ().
,
.
1 = True ()
,

Example ()


,
.
HistTrendTag.ScooterLockRight=1;
See Also ( )

.ScooterPosRight, .ScooterPosLeft, .ScooterLockLeft

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

10. 199

.ScooterPosLeft Dotfield
.ScooterPosLeft
.
Category ()

Usage ()

HistTrendTag.ScooterPosLeft
Parameter ()

HistTrendTag

HistTrend .

Remarks ()

/
.
QuickScript


.
HTGetValue().
,
, .
Data Type ( )

(/)
Valid Values ( )

0.0 1.0; 0.0 -


1.0
.
Examples ()


. 34

,
MyHistTrendTag tag.
MyHistTrendTag.ScooterPosLeft=.34;

QuickScriptHTGetValueAtScoote
r() 1
.
. ,
,
.
MyRealTag=HTGetValueAtScooter
(MyHistTrendTag,MyHistTrendTag.UpdateCount, 1,
MyHistTrendTag.ScooterPosLeft, 1, PenValue);
See Also ( )

.ScooterPosRight, .ScooterLockLeft, .ScooterLockRight

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

200 10.

.ScooterPosRight Dotfield
. ScooterPosRight
.
Category ()

Usage ()

HistTrendTag.ScooterPosRight
Parameter ()

HistTrendTag

HistTrend .

Remarks ()

/
.
QuickScript


.
HTGetValue().
,
, .
Data Type ( )

(/)
Valid Values ( )

0.0 1.0; 0.0 -


1.0
.
Examples ()


. 34

,
MyHistTrendTag tag.
MyHistTrendTag.ScooterPosRight=.34;

HTGetValueAtS
cooter()QuickScript 1
. ,
, .
MyRealTag=HTGetValueAtScooter(MyHistTrendTag,
MyHistTrendTag.UpdateCount, 2,

MyHistTrendTag.ScooterPosRight, 1, PenValue);
See Also ( )

.ScooterPosLeft,. ScooterLockLeft, .ScooterLockRight

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

10. 201



.
,
,
.
,
. ,
,

.


,
Zoom/Pan Panel Trend Pen Legend .

. :
.

QuickScripts

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

202 10.





. ,

.

1 WindowMaker

2 WindowMaker Wizard.
Wizard Selection.

3 Trends .
Wizard Selection

4 Hist Trend with Scooters OK.


Wizard Selection

5 ,

.
.


6 .
Historical Trend Chart Wizard.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

10. 203

7 Suggest.


.

.

,



.

1 , .
HistoricalTagSource1Trend Chart
Wizard.


2
Pen.
WindowViewer . , Pen
.

Pen,
Select Tag ,
Log Data .

Select Tag.

3 ,

,
. ,
.

4 OK Historical Trend
Chart Wizard.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

204 10.



Historical Trend Chart Wizard
,
,
.
,
.

1 .
Historical TrendChart Wizard.
2 Times. Time Format.


3 . :
a Major Divisions box

,
.

b Minor Div/Major,

c Initial Time Span ,

. ,
,

WindowViewer.
.
,
Time Format.

, , .

, Initial Time Span
Time.

e ,

.
, .


4 OK Time Format.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

10. 205

5 OK Historical Trend
Chart Wizard.


Historical Trend Chart Wizard

.
,
.


1 ,
. Historical Trend Chart
Wizard.
2 Values. Value Format


3 . :
a Major Divisions

, .
,
, ,
.

b Minor Div/Major ,

,
.
, , , ,
.

c Value Format ,

.
- #,###.

d Trend Range

,
.

4 OK Value Format.
5 OK Historical Trend
Chart Wizard.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

206 10.


Allow runtime changes,
,

.

1 WindowViewer.
Historical Trend Setup.


2 Chart Start .
3 Display Mode .
4 Chart Length ,

, , ,
.

5 Chart Range

6 Tags Pen#

.
Select Tag ,
.

8 OK

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

10. 207



QuickScript

. ,
QuickScripts ,
,

.


UpdateToCurrentTime() ( )
,
.
.


(UpdateToCurrentTime() )
UpdateToCurrentTime()
, .
.

HTUpdateToCurrentTime(Hist_Tag);

Hist_Tag

HistTrend,
.


Trend1 :
HTUpdateToCurrentTime(Trend1);

3:04 PM 60
, 3:04 PM.
3:03 PM.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

208 10.



, :
HTSelectTag()
HTSetPenName()

HTSelectTag()
HTSelectTag() Select Tag
.
. Select Tag
,
Log Data, Tagname.

HTSelectTag();
Remarks

HTSelectTag() ,
Log Data Tagname. ,

. ,
, A.

.

QuickScript Select Tag


WindowViewer.
. 1
(Historical Object) HistTrend.
HTSetPenName(HistTrend,1,HTSelectTag());

HTSetPenName()

HTSetPenName()
HTSetPenName()
.

HTSetPenName(Hist_Tag,PenNum,Tagname);

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

10. 209

Hist_Tag

HistTrend, .

PenNum

, (18) .

Tagname

QuickScript

. ,
:
VIEW /UpdateData: Invalid DBS.TAGNAME handle 0 (VIEW
/UpdateData: DBS.TAGNAME
0).
,
,
histprovider.tag_name. ,

Log Data.
:
HTSetPenName( HistTrend, 1, localtag );

{assigns the pen to a locally logged tag---localtag


(
---localtag)}
HistTrend.Pen1=None;

{unassigns the pen ( )}


None TagID.

OutletPressure 3
1.
HTSetPenName(Trend1,3,OutletPressure (
));

HistPrv1.Tag1
TrendPen4 Trend1.
HTSetPenName(Trend1,TrendPen4,HistPrv1.Tag1);

HTSelectTag()

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

210 10.



,
.
:
HTGetPenName()
HTGetTimeAtScooter()
HTGetTimeStringAtScooter()
HTGetValue()
HTGetValueAtScooter()
HTGetValueAtZone()
HTScrollLeft()
HTScrollRight()
HTZoomIn()
HTZoomOut()

HTGetPenName()
HTGetPenName() ,
,
.

MessageResult=HTGetPenName(Hist_Tag,UpdateCount,
PenNum);
Arguments

Hist_Tag

HistTrend, .

UpdateCount

, .UpdateCount .
,

PenNum

, (18) .

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

10. 211

,
Pen 2 Trend1
TrendPen:
TrendPen=HTGetPenName(Trend1, Trend1.UpdateCount,2);

HTGetTimeAtScooter()
HTGetTimeAtScooter()
00:00:00 , 1 , 1970
,
ScootNum ScootLoc.

IntegerResult=HTGetTimeAtScooter(Hist_Tag, UpdateCoun
t,ScootNum,ScootLoc);

Hist_Tag

HistTrend, .

UpdateCount

, .UpdateCount .

ScootNum

, :

1=

2=

ScootLoc

,
.ScooterPosRight .ScooterPosLeft
.

,
UpdateCount, ScootNum ScootLoc ,
. ,
,
, .


Trend1:
HTGetTimeAtScooter(Trend1,Trend1.UpdateCount,1,
Trend1.ScooterPosLeft);

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

212 10.

HTGetTimeStringAtScooter()
HTGetTimeStringAtScooter() ,
/
.

MessageResult=HTGetTimeStringAtScooter(Hist_Tag,
UpdateCount, ScootNum, ScootLoc, Format_Text);

Hist_Tag

HistTrend, .

UpdateCount

, .UpdateCount .

ScootNum

, .

1=

2=

ScootLoc

,
.ScooterPosRight .ScooterPosLeft
.

Format_Text

, /
. Format_Text:

Date, Time, DateTime, DOWShort


(Wed, ), DOWLong (
Wednesday,()).

,
UpdateCount, ScootNum ScootLoc ,
. ,
,
, .


Trend1.
NewRightTimeString
Time:
NewRightTimeString=HTGetTimeStringAtScooter
(Trend1,Trend1.UpdateCount,2,
Trend1.ScooterPosRight,Time);

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

10. 213

HTGetValue()
HTGetValue()
.

RealResult=HTGetValue(Hist_Tag,UpdateCount,
PenNum,ValType_Text);

Hist_Tag

HistTrend, .

UpdateCount

, .UpdateCount .

PenNum

, (18) .

ValType_Text

, :

PenAverageValue = .

PenMaxValue =
.

PenMinValue =
.

PenMaxEU =
.

PenMinEU =
.

PenStdDev = .


, .


2, PumpPress.

LeftHemisphereSD:
LeftHemisphereSD=HTGetValue(PumpPress,
PumpPress.UpdateCount,2,PenStdDev);

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

214 10.

HTGetValueAtScooter()
HTGetValueAtScooter()

, . UpdateCount
,
.

RealResult=HTGetValueAtScooter(Hist_Tag, UpdateCount,
ScootNum,ScootLoc,PenNum, ValType_Text);

Hist_Tag

HistTrend, .

UpdateCount

, .UpdateCount .

ScootNum

, :

1=

2=

ScootLoc

,
.ScooterPosRight .ScooterPosLeft .

PenNum

, (18) .

ValType_Text

, :

PenValue = .

PenValid = 0, , 1 .

ValType_Text
HTGetValueAtScooter(),
.


, PenValue.
,
PenValid.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

10. 215

1,
, 0,
3 Trend1
:
HTGetValueAtScooter(Trend1,Trend1.UpdateCount,
2,Trend1.ScooterPosRight,3, PenValid);

HTGetValueAtZone()
HTGetValueAtZone()
,

.

RealResult=HTGetValueAtZone(Hist_Tag,UpdateCount,
Scoot1Loc,Scoot2Loc,PenNum,ValType_Text);

Hist_Tag

HistTrend, .

UpdateCount

, .UpdateCount .
,
.

Scoot1Loc

,
.ScooterPosLeft . ,
.

Scoot2Loc

,
.ScooterPosRight . ,
.

PenNum

, (18) .

ValType_Text

, :

PenAverageValue = .

PenMaxValue =

PenMinValue =

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

216 10.

PenMaxEU =
.

PenMinEU =

PenStdDev =
.


, .
Scoot1Loc
Scoot2Loc
.
.ScooterPosLeft .ScooterPosRight
, ,
Scoot1Loc Scoot2Loc.


Trend1 1.

AvgValue:
AvgValue=HTGetValueAtZone(Trend1,
Trend1.UpdateCount,Trend1.ScooterPosLeft,
Trend1.ScooterPosRight,1,PenAverageValue);


QuickScripts, ,

.

HTScrollLeft()
HTScrollLeft()
,

.

.

HTScrollLeft(Hist_Tag,Percent);

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

10. 217

Hist_Tag

HistTrend, .

Percent

,
(0.0
to 100.0).

/
10 PumpPress:
HTScrollLeft(PumpPress,10.0);

12:00:00 PM
60 ,
11:59:54 AM , .

HTScrollRight()
HTScrollLeft()
,

.

.

HTScrollRight(Hist_Tag,Percent);

Hist_Tag

HistTrend, .

Percent

,

(0.0 to 100.0).

/ 20
PumpPress:
HTScrollRight(PumpPress,20.0);

12:00:00 PM
60 ,
12:00:12 PM , .

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

218 10.

HTZoomIn()
HTZoomIn()
.
,
, .
LockString.
,
HTZoomIn() ,
LockString.

HTZoomIn(Hist_Tag,LockString);

Hist_Tag

HistTrend, .

LockString

, :


,
.ScooterPosLeft .ScooterPosRight.
LockString .
1 .
.ScooterPosLeft=0.0 .ScooterPosRight=1.0
.


Trend1.Trend1.
ScooterPosRight 1.0 Trend1.ScooterPosLeft to 0.0.

1:25:00 PM 30 ,
- 1:25:00.
15 .
HTZoomIn(Trend1,StartTime);

StartTime ,

Center , .
EndTime ,
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

10. 219

HTZoomOut()
HTZoomOut()
. ,
.
LockString.

HTZoomOut(Hist_Tag,LockString);

Hist_Tag

HistTrend, .

LockString

, :

StartTime = ,

Center = ,
.

EndTime = ,
.

Remarks

HTZoomOut().

.ScooterPosLeft=0.0
.ScooterPosRight=1.0.


Volume.

2:15:00 PM 30 ,
2:14:45.
60
2:15:15.
HTZoomOut(Volume,Center)

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

220 10.


,
WindowViewer
PrintHT() .

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

.
.

PrintHT(Trend_Tag);

Trend_Tag

HistTrend. .


PumpPress, .
PrintHT(PumpPress);


QuickScripts ,
, ,
. HTGetLastError()
.

HTGetLastError()
HTGetLastError()
,

.

[Result=]HTGetLastError(Hist_Tag,UpdateCount, PenNum);

Hist_Tag

HistTrend, .

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

10. 221

UpdateCount

, .UpdateCount .

PenNum

, (18) .

Result

,
.

0 =

1 =

2 =

3 =

4 =

5 = /, ,

6 =

7 = , ,
( 1 8).

8 = ,
.


3 PumpPress
ResultCode.
[ResultCode=]HTGetLastError(PumpPress, Trend1.
UpdateCount,3);

QuickScript
:
HTGetLastError(Trend1,Trend1.UpdateCount,3);


.
,

. InTouch
16-,

.
16 ,
4, 16 ,
InTouch HMI.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

222 10.



Real-time Trend .

, WindowMaker .
,
WindowMaker

.

.

1 Real-time Trend Drawing Toolbar

( ) .

2 ,

.

.
.


3 ,

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

10. 223

,



,
. ,
.

1 .
Real Time Trend Configuration.


2 Expression

,
. Pen,
Select Tag,
, .

Select Tag.

3 ,

,
.

4 , .
5 Width

, . ,
, 1, ,
.

6 Only update when in memory,

, ,
.
, ,
.
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

224 10.

7 Real Time Trend


Configuration ,

Configuring the Real-Time Trend Time Span and Update


Rate (
).




.


1 .
Real Time Trend Configuration.
2 Time
Time Span, ,

3 .
(Sec)
(Min)
(Hr)

, 30 Time Span
Min, ,
, 30 .

4 Sample Interval,

5 .
(Msec)
(Sec)
(Min)
(Hr)

, 10 Interval Sec,
10 .

6 Real Time Trend Configuration

,
Configuring Real-time Trend Display Options
(
)

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

10. 225

1 .
Real Time Trend Configuration.
2 Color .

Chart Color

. .
.
,
.

Border Color

. .

3 Time Divisions .

:
Number of Major Div

.

.
Major Div/Time Label. ,
20 Major Div/Time Label 4.


.
Minor Div/Major Div

,
.
. ,
60 ,
2 Minor Div/Major Div
30 .

.
Top Labels Bottom Labels

.

.

.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

226 10.


Major Div/Time Label.
Major Div/Time Label.

.
, ,

(HH)
(MM)
(SS)
4 Value Divisions

Value Divisions
Time Divisions. y
, .
,
.

Min Value
Max. , 0.00 100.00.

5 Select Display Font.

Font , ,
.

6 OK.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

10. 227


,
.
.
. Min/Max Average/Scatter
, Average/Bar Chart.
, ,
. ,
.
, .


, ,
.

1 Special Configure Historical
Logging. Historical Logging
Properties.


2 Printing Control
Default % of page to print on.

50,
. , 50
, ,
.
PrintWindow() QuickScript.

3 Max consecutive time to spend printing

.
,

.

, .

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

228 10.

4 Time to wait between printing

,
.

.

5 Select Printer Font.

Font. ,
.

6 OK
Historical Logging Properties.


InTouch IndustrialSQL
,
,

InTouch.
. ,

.

,
. :
.

Tag Browser.

QuickScript.



2,
InTouch HMI

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

10. 229




, .

.

1
Historical Trend Configuration.
2 Tagname

.
:

history_provider_name.tag_name

TankFarm1.Pump1RPM

3 OK .
.TagID
.



.
,
(Tag Browser)

.

.
, Access Name,
,
. Access Name ( )
,
. Access Name
Setting Up Access Names ( )
70.


1 Access Name, ,

2
Historical Trend Configuration.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

230 10.

3 Tagname
Select Tag.
4 Define Tag Sources

5 Tag Source


Tree View
. Select
Tag
.

6 ,
OK.
Historical Trend Configuration
, Tagname , :

AccessName:Item.

7 AccessName: ,
Distributed Name Manager. ,

HistPrv1.tag_name

, ,
,
(Tag Browser), ,
,
Tag Browser,
AccessName:
.

WindowViewer,
,
tagname,
Tag Browser ( ),
.

QuickScript

InTouch,

.
QuickScript,
HTSetPenName(). :
HTSetPenName(HistTrendTag, 1, HistPrv1.Boiler1);
1
,
Boiler1 HistPrv1.

Historical Trend Setup


Pen
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

11. 231

1 1

InTouch HistData

(.csv). Excel
InTouch
HistData, DDE,
, HistData.

DDE.
Scripts

Window HistData Wizard

, Window
/ HistData
Tagname
/
HistData

IDX

/ /
HistData
HistData

/ HistData
DDE, ,

Excel,
DDE,
HistData

DDE

DDE

DDE
DDE

LGH

DDE
CSV ,
,
HistData

CSV

CSV

Excel

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

232 11.

DDE

HistData DDE,
,
.
HistData.
. HistData,
HistData.

DATADIR

DBDIR

STARTDATE

STARTTIME

DURATION

INTERVAL

FILENAME

,
InTouch Tagname


. - MM/DD/YY


. - HH:MM:SS
24- .


.
:
(w)
(d)
(h)
(m)
(s)
DURATION.
, DURATION=0,5 m 30 .
DURATION 0.

. INTERVAL ,
, , .
INTERVAL ,
DURATION
. ,
INTERVAL=0.25d 6 .
DURATION
INTERVAL .

, DURATION
INTERVAL. , 42
DURATION INTERVAL.

, ,
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

11. 233

WRITEFILE

,
HistData .
1, HistData
,
FILENAME. ,
WRITEFILE 0.

TAGS1, TAGS2

ERROR

, ,

. STATUS
1, ERROR None.
STATUS 0, ERROR
.

TAGS 131
WindowViewer 255 Excel.

, Tagsn,
n .

, + .
:
TAGS=$Date,ProdLevel,ProdTemp,+
TAGS1=ReactLevel,Temp,GasLevel,+
TAGS2=MotorStatus

512 .

PRINTTAGNAMES , ,
.
1, .
0, .
DATA

STATUS

HistData.
1 , HistData
.
0 , .

SENDDATA


HistData , .

ADVISE REQUEST DDE.

,
HistData. 1 HistData
DATA .
,
0.
,

SENDDATA,
DURATION
.

512 .

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

234 11.

DDE

.
,

,
.

HistData,

,
,
.


HistData

.
.
HistData Access Name
/ HistData
HistData
HistData

HistData Access Name


InTouch HistData,
Access Name:

1 Access Name 32

. ,
Access Name Topic Name .

2 Node Name ,

3 Application Name HistData

.exe.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

11. 235

4 Topic Name ,
Access Name. Access Name Topic Name

5 DDE .
6 When to advise server Advise all items,

HistData.

7 OK.

HistData
Access Name,
/ ,
.
Access Name, , .

HDWDATADIR

DataDir

HDWDURATION

Duration

HDWDBDIR

HDWERROR

HDWFILENAME
HDWINTERVAL

HDWSTARTDATE
HDWSTARTTIME
HDWSTATUS
HDWTAGS
HDWTAGS1
HDWTAGS2

PRINTTAGNAMES
HDWWRITEFILE

DbDir
Error

FileName
Interval

StartDate

StartTime
Status
Tags

PrintTagNames
WriteFile

HistData Wizard
, PRINTTAGNAMES.
,
Data, ,
. HistData Wizard
HDWSendData HDWData.

HDWSendData

SendData

HDWData

Data

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

236 11.

HistData
, /,
, HistData,
:

# .
, # User Inputs/String
HDWDataDir.
.
Status
, HDWStatus.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

11. 237

Initialize Data Touch Pushbutton (


) Action.

Initialize Data, HistData


.
,
User Inputs Links.
Write File Touch Pushbutton (
) Action.

WriteFile .

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

238 11.

HistData
HistData,
WindowViewer:
1 HistData .
2 WindowViewer HistData.
3 Initialize
HistData, .
4 WriteFile.

, Status - ON
, ON.
, Status OFF Error Message
.

HistData Wizard

,
, .
InTouch HistData Wizard
.
HistData ,
,
,
.
HistData Wizard

1 WindowMaker.
2 , .
3 Wizards .
Wizard Selection.
4 Trends .

5 HistData Wizard
OK.
6
, HistData.
7 HistData .

HistData Wizard ,
Filename , ,
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

11. 239

8 HistData Wizard,
. HistData Panel
Wizard.


9 Hist Trend HistTrend.
10 Number of Records to Write per CSV File

11 C OK. HistData Wizard

, HDW
T. HistData Wizard ,
Create HistData Tags (
HistData) 248. HistData Wizard
HisDataViewSt Access
Name.

12

WindowViewer.

13 ,

14 Save to File,

HistData. HistData
, .

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

240 11.

CSV
Excel
HistData. HistData INITIATE,
POKE TERMINATE . POKE
( )
, .
, ,
HistData.
Excel HistData.
,
VBA:

,
, Sheet1.
,
:

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

11. 241

WWPoke()
WWPoke()
, Application, Topic Item
DDE.

WWDDE

[Status=]WWPoke(Application,Topic,Item,
TextValue);

Application

Poke.
.

Topic

Poke.
.

Item

Poke.
.

TextValue

. ,
, ,
Text(), StringFromIntg()
StringFromReal(). .

The value assigned to the TextValue argument is sent to the specified


Application, Topic, and Item.
Examples


Excel:
String=Text(Value,0); WWPoke(excel,[Book1.
xls]sheet1,r1c1, String);

WWPoke() View to View


. ,
WWPoke()
.
WWPoke() 1, ,
. WWPoke()
0, -1,
. WWPoke()
.
Status=WWPoke(excel,[Book1.xls]sheet1,r1c1,
String);

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

242 11.

, Status ,
1, -1 0 WWPoke().

Text(), StringFromIntg(), StringFromReal()

WWRequest()
WWRequest()
,
DDE.

WWDDE
.

WWRequest(Application,Topic,Item,ValueMsg_Tag);
Arguments

Application

.
.

Topic

,
. .

Item

, .
.

ValueMsg_Tag

, ,
,
.

DDE ,
ValueMsg_Tag.
,
. , ,
StringToIntg() StringToReal().


Excel
:
WWRequest(excel,[Book1.xls]sheet1,r1c1, Result);
Value=StringToReal(Result);
WWRequest() 1,
,
. 0, -1,

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

11. 243

.
WWReques () . Status
, 1, -1,
0 WWRequest().
Status=WWRequest(excel,[Book1.xls]sheet1,
r1c1,Result);

StringToIntg(), StringToReal()

HistData
,
HistData.

HistData.
.

:
Too much data requested shorten the
duration or reduce the number of tagnames.
(
)

,

SendData.

,
,
SendData.

:
Could not open file C:\FILES1\HISTDATA.
CSV
( C:\FILES1\
HISTDATA.CSV)

:
Could not open file C:\FILES\
( C:\FILES\)

:
STARTDATE item invalid
( STARTDATE)

StartDate
. Windows

mm/dd/yy

:
DATADIR item invalid
( DATADIR)


DataDir .
.

:
No log files found
( )


,
DataDir.


Could not find tagname TAG in database


Tagname .
,
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

244 11.

:
Could not find tagname.x in: C:\IT6.0B\
HISTEST
( tagname.x : C:\IT6.0B\
HISTEST

tagname.x

.csv

HistData .
Tags

.csv
,

.



.
,

.

WWLogger :
Error for DDE HistData|Viewstream1!
WriteFile: Poke was rejected by the server.
( DDE HistData|Viewstream1!
WriteFile:
).
.csv ,

.

,
.
HDWWritefile
. ,
, DDE
Access Name
WriteFile. ,
,
MinEU=MinRaw MaxEU=MaxRaw.


WWLogger ,
.csv -

HistData.
,
WriteFile 0,
.
Interval
,

. Duration
, ,
HDWDuration=1- ( ).

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

A. IEEE 245

A
IEEE

InTouch HMI 754


(IEEE) 754 32
.
32- IEEE 754 16-
(PLCs), 2 16 . PLC

.
32- 32-
.
, 16-
.
InTouch /
. 16-
PLC. ,
InTouch
PLC, .
AND
. InTouch
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

246 A. IEEE

InTouch
HMI
InTouch HMI 32
IEEE
. IEEE
.

,
32- IEEE.
32- IEEE
.
InTouch,
, .

InTouch:
#.#######
###.#####
######.##

.

InTouch 2.3.
2.3
32- IEEE
8 . ,
2.3 , 2.3 ASCII,
.
,
, 2.29999999 , , 2.30000001.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

B. InTouch 247

B
InTouch

Wonderware InTouch.
,
.
, InTouch.
,

.
.


InTouch (tag
handle) , ,
64 . .

(WindowViewer),
.

65535 ,
, , .
InTouch
, ,
. InTouch
,
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

248 B. InTouch

,

.
,
65535 . ,
, ,
InTouch.

.

61404 = (65535 (1 + 34 + 4096))

InTouch 10 34 ,

,
. ()
7.11 ( )
InTouch,
37.

4096

-.
,
, -
. 4096
.

Wonderware InTouch,

, .

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

B. InTouch 249

Wonderware
InTouch .
, ,
Wonderware.

512

256

768

61404

60000

60000 (60 )

8192

4096 12288

, ,
, 512
, 512
. 256
.
768 ( ,

).
, ,

. (sticky tag)
-,
,
.
-
, InTouch.
-
, .

. ,
.

, InTouch,
. ,
, , ,
,
.
,
-, ,
,
.
60 , ,
.
60000.

,
InTouch; ,
60000.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

250 B. InTouch

60
:
:

61404 = 65535 (4096 + 1 + 34)

= 65535 (4096 + 1 + __)

, 60

.

4096.


InTouch
.

.

.

.

.
,
,
.Reference IOSetRemoteReference() .
, ,
InTouch 60
.
.

.


.


- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

B. InTouch 251

InTouch 60
,
-.

60 .

,
. ,
,
, .
-
,
InTouch. -
,
,
.
(Access Names)
InTouch .

, .
( )
,
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

252 B. InTouch


- InTouch HMI
, ,

, .
, ,
,
,
. ,
,
, .

IORRGetSystemInfo()

InTouch.
, IORRGetSystemInfo(),
:
,

InTouch;

InTouch;

InTouch;

InTouch;

(disabled) ;

InTouch;

-1, ,

()
.

IORRGetSystemInfo();

,
,
.
:

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

B. InTouch 253

3
4

5
6



InTouch. .

InTouch.


,
. ,
InTouch.
-
.
60000
, , ,
, ,
.
,
.
,
,
,
.
, ,
-
.
.
,
,
IORRWriteState ,
3.


,
InTouch.

,
InTouch
.
.
, ,
.
,
,
. ,

,
.

InTouch,
(disabled).


InTouch.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

254 B. InTouch


,
In-Touch.

RRTagCount.
RRTagCount = IORRGetSystemInfo(2);

IORRWriteState()

. ,
. ,
, .
,
. ,
, ,
.

IORRWriteState(__, ,

);

__

,
.
.

,
,
.
:
1
2

.
,
.
, ,
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

B. InTouch 255


,
, .
,
,
. ,
,
.
,
.

,
- ,
, , -
,
.
, ,
, .

, -
. -
, .
- ,
, .
InTouch.

,
IORRWriteState()
.

,
IORRWriteState().


,
. ,
65535 TestProt:di000.
65535 <TestProt:di000> (RAA) {C:5/23/2007 9:58:35 AM}
{A:5/23/2007 9:58:35 AM}
(
) :

, R, ,

.
,
X.

(A) (D).

: (A)

(D) - .

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

256 B. InTouch

, C,
. , A
.
InTouch,
.

,
, InTouch.
,
:
65414 <TestProt:di121> (RAD) {C:5/23/2007 9:58:35 AM}
{A:5/23/2007 9:58:35 AM}

InTouch
, ,
, ,
InTouch.


,
, InTouch:
65429 <TestProt:di106> (A) {C:5/23/2007 9:58:35 AM}
{A:5/23/2007 9:58:35 AM}

.
, (A , D ).
,
.
,
.

, ,
:
65342 <TestProt:di193> (D) {C:5/23/2007 9:58:35 AM}
{A:5/23/2007 9:58:35 AM}

,
,
:
<testprot:di000> {C:5/23/2007 9:58:36 AM}

-
-
, .
,
, :
testprot:di125 [1] (L) {F:5/23/2007 9:58:39 AM}
{R:5/23/2007 9:58:39 AM}

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

B. InTouch 257

, ,
.
: ,
(L),
(I). :
,
.

,
, , c:\
intouch\data. ReturnValue ,
,
.
ReturnValue = IORRWriteState(c:\intouch\data, 2,
); IORRGetItemActiveState()

IORRGetItemActiveState()

IORRGetItemActiveState(__, );

__

, ,
.
-.

,
,
. :
1

,
.
: 1,
; -1, ;
0, , .
,
- .
: 1,
;
-1, ; 0, ,
.

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

258 B. InTouch

,
- .
-1, ; -1,
, .
,
.
1,
.
-1, ; 0, ; 1,
(disabled).

,
(allowed list).
0,
, 1
.

,
(disallowed list).
0,
, 1
.

,
TestProt:di000:
ReturnValue = IORRGetItemActiveState(TestProt:di000,
1);
,
- TestProt:di121:

ReturnValue = IORRGetItemActiveState(TestProt:di121,
4);
,
TestProt:di001
, :

ReturnValue = IORRGetItemActiveState(TestProt:di001,
5);

- InTouch
Wonderware Russia (ZAO Klinkmann Spb)

259


- InTouch

2008

www.klinkmann.com

Helsinki
ph. +358 9 540 4940
automation@klinkmann.fi

1.0

-
. +7 812 327 3752
klinkmann@klinkmann.spb.ru

. +7 846 993 49 33
samara@klinkmann.spb.ru

Rga
tel. +371 738 1617
klinkmann@klinkmann.lv

. +7 495 641 16 16
moscow@klinkmann.spb.ru

. +38044 495-33-40
klinkmann@klinkmann.kiev.ua

Tallinn
tel. + 372 6 684 500
klinkmann.est@klinkmann.ee

-
Vilnius


InTouch

. +7 343 376 53 93
yekaterinburg@klinkmann.spb.ru
Wonderware Russia (ZAO
Klinkmann Spb)

. +375 17 2000876
minsk@klinkmann.com

tel. +370 5 215 1646


post@klinkmann.lt


InTouch HMI

........................................................................................................................... 3
WindowMaker: ........................................................................................ 7
WindowMaker ............................................................................. 8
.................................................................................... 11
......................................................................................... 11
............................................................................................. 11
......................................................................... 12
............. 12
........................... 13
.............................................. 14
............................................................................ 15
........................................................................... 16
............................................................................ 17
.............................................................. 17
................................................................................. 18
..................................................................................... 18
................................................................................... 19
............................................................ 20
................................................................................. 21
.................................................................. 21
......................................................................................... 22
............................................................................................ 23
............................................................................... 25
................................................................................................................ 26
........................................................................................... 27
................................................................................................... 29
....................................................... 29
......................................................................................... 29
, ....................................................................... 30
......................................................................................................... 31
................................................................................................................. 31
WindowMaker ...................................................................................................... 32
............................................................................................................ 33
............................................................................................ 33
......................................................................................................... 34
......................................................... 34

Wonderware Russia (ZAO Klinkmann Spb)

........................................................................................................... 34
....................................................................................................... 35
....................................................................................................... 36
............................................................................ 37
......................................................................... 37
.............................................................................................................. 38
................................................................................................... 38
.............................................................................................. 39
............................................................................................. 41
............................................................................................. 42
..................................... 42
............................................................................. 43
..................................................................................... 44
..................................................................................................... 44
............................................................................ 45
.................................................................................... 46
........................................................................................... 47
...................................................................................................... 47
...................................................................................................... 48
............................................................ 48
, ........................................................... 49
, .................... 49
............................................................................................. 50
............................................ 51
...................................... 51
........................................................................ 52
................................................................. 53
............................. 54
............................................................................................ 54
............................................................................................................ 55
..................................................................................... 56
.................................................................................... 56
................................................................................................. 56
............................................................................................................... 58
..................................................................................................................... 61
................................................................................................... 62
......................................................................................................... 65
................................................................................. 69
....................................................................................................... 71
.......................................................... 72
............................................................................................. 74
$ObjHor........................................................................................ 76
$ObjVer ........................................................................................ 76
................................................................................................. 77
........................................................................................... 78
........................................................................................... 79
.............................................................................................. 80
() .................................................................................................... 81
.......................................................................................... 83
......................................................................................... 85

Wonderware Russia (ZAO Klinkmann Spb)

................................................................................................... 86
.............................................................................................. 87
................................................................ 88
DialogStringEntry() ................................................................................ 89
DialogValueEntry() ................................................................................ 90
................................................................................................ 93
............................................................................................ 93
InTouch ..................................................................................................... 93
ArchestrA ....................................................................... 95
............................................................................................. 96
Select Tag ................................................ 97
....................................................................................... 98
................................................................................................................... 99
........................................................................ 100
.............................................................................................................................. 101
....................................................................................................... 102
........................................................................................................... 102
......................................................... 103
....................................................................................... 103
................................................................................... 104
................................................. 104
.............................................................................. 104
Trend ............................................................................................................... 105
Windows .................................................................... 106
Windows ........ 107
....................................................................... 107
....................................................... 108
..................... 110
............................. 112
................................................................................................ 114
....................................................................................................... 115
.................................................................................. 116
................................................................... 117
Windows ........................................................... 119
................................... 119
.Value ......................................................................................................... 119

................................................................................................................. 121
.Enabled ............................................................................................... 121
..................................................... 122
.Enabled ............................................................................................... 122
ComboBox.................................................... 123
wcAddItem()......................................................................................... 123
wcInsertItem() ...................................................................................... 124
wcDeleteItem() ..................................................................................... 125
wcDeleteSelection() ............................................................................. 125
wcClear() .............................................................................................. 126
/ .............................................. 126
wcLoadList() ........................................................................................ 127
wcSaveList() ......................................................................................... 127

Wonderware Russia (ZAO Klinkmann Spb)

ComboBox ListBox ............................................................ 129


wcFindItem() ........................................................................................ 129
ComboBox ListBox ..................................... 130
.TopIndex .................................................................................................... 130
.NewIndex ................................................................................................... 131
.ListIndex..................................................................................................... 132
ListBox ComboBox ....................................................... 133
.ListCount .................................................................................................... 133
........................................................ 134
wcGetItemData () ................................................................................. 134
wcSetItemData() ................................................................................... 135
......................................................................... 136
wcGetItem() .......................................................................................... 136
............................................................................ 137
wcLoadText() ....................................................................................... 137
wcSaveList () ........................................................................................ 138
...................................................................... 139
.ReadOnly .................................................................................................... 139
CheckBox................................................................ 140
.Caption ....................................................................................................... 140
Windows ............................. 141
ActiveX ................................................................................................................ 142
ActiveX ................................................................................ 143
ActiveX ........................................................................ 145
ActiveX ............................................................................... 146
ActiveX ............................................................. 146
ActiveX .................................................................... 147

Wonderware Russia (ZAO Klinkmann Spb)

WindowMaker

1
WindowMaker:
WindowMaker ,
InTouch.
:

,
.

,
WindowViewer.

Wonderware Russia (ZAO Klinkmann Spb)

WindowMaker

WindowMaker
WindowMaker Properties,
,
WindowMaker:

WindowMaker
WindowViewer.


WindowMaker WindowViewer.

Wonderware Russia (ZAO Klinkmann Spb)

WindowMaker

WindowMaker
1. Special, Configure WindowMaker.

WindowMaker.

2. WindowMaker Title Bar,

. :

Title Bar, ,
.

Show Application Directory,


.

3. Grid Coordinates, .

Spacing, .

Show Grid .

4. .

Show Tag Count


.
,
.
.
, Special
Update Use Counts.

Wonderware Russia (ZAO Klinkmann Spb)

WindowMaker

10

Close on Transfer to WindowViewer,


WindowMaker
WindowViewer.

.
, ,
.
Close on Transfer to WindowViewer,
Close
WindowViewer ( WindowViewer Properties).

Pick Through Hollow Objects,


.
, ,
.

Enable Fast Switch,


WindowMaker WindowViewer.
, WindowMaker
Runtime. WindowViewer
Development.
WindowMaker
,
, WindowViewer.

Line Selection Precision, ,


,
.
, 4
.

Levels of Undo,
.
25 . 0,
/ .
.

. .

5. Configure Fonts, Text Button,

. .

Font ().
6. .
7. WindowMaker .

Wonderware Russia (ZAO Klinkmann Spb)

11

WindowMaker


,
.


Snap to Grid,
.
, 10
WindowMaker.
WindowMaker.
, Show Grid
Arrange.
:
1. Special, Configure WindowMaker.

WindowMaker.
2. Spacing .
3. Show Grid, ,

Snap to Grid ( ).
Show Grid, ,
Snap to Grid ( ).


.
.
:
1. View Ruler.
2. .1, .

Wonderware Russia (ZAO Klinkmann Spb)

WindowMaker

12


,
,
.

.
.
:

100% 500%.

View, Pan and Zoom.



,

.
.

Thumbnails.

Wonderware Russia (ZAO Klinkmann Spb)

13

WindowMaker

,
.

, CTRL
,
.

,
20%.

InTouch
, .
, .
.

Wonderware Russia (ZAO Klinkmann Spb)

WindowMaker

ActiveX .

(Distributed Alarm Object).

16 .

SPC Pro.

(Text box)

(Check boxes)

(Combo boxes)

(List boxes)

(Radio Group objects)


100%,
.

Wonderware Russia (ZAO Klinkmann Spb)

14

15

WindowMaker


View
.

.
, .
WindowMaker, .
,
, .
:
1. View .
2. .1 .

:
1. .
2. .

:
1. .

.
2. .

View Hide All.

Wonderware Russia (ZAO Klinkmann Spb)

WindowMaker


:
. InTouch
. ,
/, .


, , ,
.
WindowViewer (view.exe) .
WindowViewer,
File WindowViewer, Runtime.

Wonderware Russia (ZAO Klinkmann Spb)

16

17

WindowMaker



.
Applications .
:
1.

.
2. .


WindowMaker
WindowMaker. , -
.
,
(Notepad), MicrosoftWord, MicrosoftExcel, MicrosoftPaint ..

, , .
:
1. Tools ,

Applications New.
.

2. Name .
3. Command Line

. .
4. Command Line .

Start Style,

5. . Applications.

WindowMaker

Wonderware Russia (ZAO Klinkmann Spb)

WindowMaker



, , ,
, .
, ,
.
, 16,7 .
.
:


Windows.

Windows.


,
.

1. ,

2. .
3. .

, .

Wonderware Russia (ZAO Klinkmann Spb)

18

19

WindowMaker


.

1.
2. Custom Palette,

Edit Custom Color.


Add a Color.

3. :

, ,
.
, ALT+O.

Red (), Green () Blue


() .
.
Hue (), Saturation
(), luminosity () .

Hue, Sat, Lum .


, Red , Green
Blue.
Hue 0 , 60 ,
120 , 180 , 200 240 .
Saturation ,
240.
Luminosity .

Wonderware Russia (ZAO Klinkmann Spb)

WindowMaker

20

4. Color|Solid.

256 ,
Color|Solid .
.
,
256 .
5. .

.

.

:
1. .
2. Custom

Palette, .
3. ,


,
InTouch
InTouch.

1. .
2. Custom Palette.
3. Load Palette ( ).

.
4. .pal .
5. Open. , ,

Custom Palette.

1. .
2. Custom Palette.
3. Export Palette ( ).

.
4. Save ().

Wonderware Russia (ZAO Klinkmann Spb)

21

WindowMaker



, .

.

1. Special, Configure WindowMaker.

WindowMaker.
2. Configure Font, Text Button,


. .
3. .


,
.
:

View, Full Screen


.
View Restore
.

Wonderware Russia (ZAO Klinkmann Spb)

WindowMaker


, , ,
File, ,
.
,

Detail.
, .
:
1. Detail. Windows to Open.

2. , ,

,
.

,
.

, Select All.

, Clear All.

, .

Wonderware Russia (ZAO Klinkmann Spb)

22

23

WindowMaker


,
.
WindowMaker:

.
, ..

(Tag Browser)

Expression,
.
Select Tag.

, ,
.
Choose Field name.

Wonderware Russia (ZAO Klinkmann Spb)

WindowMaker

24


WindowMaker,
( ),
.
,
, , .
, ,
,
WindowMaker.
10 .
:

,
.

SHIFT + ,
.

CTRL + ,
.

,
.

SHIFT + ,
.

CTRL + ,
50 .

10

SHIFT .

50

CTRL .

Wonderware Russia (ZAO Klinkmann Spb)

25

WindowMaker


InTouch:

, .


1. Help, About. About InTouch

WindowMaker.
2. View License, License Manager

Wonderware Russia (ZAO Klinkmann Spb)

26

2


,
. , ,
.

, .


, ,
..

Wonderware Russia (ZAO Klinkmann Spb)

27


,

.
32
.
,
.
,
.
.
,
. ,
, .
Windows,
Windows,
InTouch
. ,
Windows Windows.

1. Fail, New Window.

2. ,

Name ,
.

Comment , .

Window Color .

Wonderware Russia (ZAO Klinkmann Spb)

28

3. Window Type,

4.

Replace ,
.

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

Popup ,
.
.

Frame Style,
.

Single ,
.
Title Bar .

Double - ,
Size
Controls.

5. Size Controls,

.
6. Dimensions,

X location
.

Y location
.

Window Width Window Height


.

7. .

Wonderware Russia (ZAO Klinkmann Spb)

29



InTouch, .
. 4, ,
InTouch HMI .

Home ,
WindowViewer, WindowViewer
.
Home , WindowViewer
(Runtime).
:
1. Special, Configure WindowViewer.

WindowViewer.
2. Home Windows.
3. ,

WindowViewer.
4. .


,
.

1.

Properties (). .
2. . .

.
3. .

Wonderware Russia (ZAO Klinkmann Spb)

,
,
.

1. File, Open Window.

Windows to Open, .
2. :

,
.

, , , ,
, .

1. File, Save Window.

Windows to Save, .
2. , .
3. .

, , ,
.

4. File, Close Window.

Windows to Close, .
5. , .
6. .

Wonderware Russia (ZAO Klinkmann Spb)

30

31


,
,
.
, , ,
.
.
.

1. File, Save Window As.

Windows to Save under new name,


.
2. , .
3. New Name, .
4. .



,
.
, .

.

1. File, Delete Window.

.
2. , .

Yes.
3. .

Wonderware Russia (ZAO Klinkmann Spb)

WindowMaker

32

3
WindowMaker

- (HMI).
, ,


.

InTouch 10
, ArchestrA
Symbols, .

Wonderware Russia (ZAO Klinkmann Spb)

33

WindowMaker


.
.
:

.
SHIFT,
.


,
.

Wonderware Russia (ZAO Klinkmann Spb)

WindowMaker

34



.
.
, .
.

1. Button.
2. ,

.
3. .

a.
Substitute Strings.
b. New String, .
c. .


.

1. Polyline

Polygon.
2. .
3. ,

.
4. .


.
, ,
WindowMaker.
.
, ,
.

.

1. Text.
2. .
3. ENTER.

Wonderware Russia (ZAO Klinkmann Spb)

35

WindowMaker


,
.
.

Cell ()

,
,
.

,
().
,
.

Symbol ()

, ,
, ,
.
,
-.
, , ,
.

SmartSymbol

InTouch,

.

SmartSymbol .
, ,
.
. 1,
SmartSymbol, InTouch HMI
SmartSymbols.

ArchestrA Symbol

,
Symbol Editor ArchestrA
Integrated Development Environment (IDE).
. 1,
InTouch ArchestrA,
InTouch HMI ArchestrA.

Bitmap Container

,
, ,
, ..
.
.
.

Wonderware Russia (ZAO Klinkmann Spb)

WindowMaker



.
. .

,

.
.

ActiveX

,
. WindowMaker
ActiveX
Wonerware, ActiveX
.
.
ActiveX .

36


: .

, .

, Substitute Tagname,
, .

,
.

,
.
,
.
, ,
, .
,
. .

Wonderware Russia (ZAO Klinkmann Spb)

37

WindowMaker

.
.
,
.
,
. ,
.
.


, , , ,
. ,
.
SmartSymbol,
SmartSymbol, .

1. , .
2. Arrange, Make Cell.


1. .
2. Arrange, Break Cell.


, , ,
.

1. , .
2. Arrange, Make Symbol.


1. .
2. Arrange, Break Symbol.

Wonderware Russia (ZAO Klinkmann Spb)

WindowMaker

38


,
. :


, .
, .
.

Edit, Select All, F2.

Select Mode
.

Wonderware Russia (ZAO Klinkmann Spb)

39

WindowMaker

Select Mode, , ,
SHIFT .

Select Mode,
.
.

SHIFT + .

, .

,
, , .
,
, WindowMaker
. 10 .

Wonderware Russia (ZAO Klinkmann Spb)

WindowMaker

40

, .

SHIFT + ,
.

CTRL + ,
.

, .

SHIFT + , 10
.

CTRL + , 50
.

SHIFT +

CTRL +


1.
2. X Y .
3. ENTER.

Wonderware Russia (ZAO Klinkmann Spb)

41

WindowMaker


, ,
, .
, ,
.

Align Left


.
,
.

Align Center

Align Right


.
,
.

Align Tops

Align Middle

Align Bottom

Align Center
points


1.
2. Arrange, Allign

Wonderware Russia (ZAO Klinkmann Spb)

WindowMaker

42

1. ().
2. Arrange, Send to Back.

1. ().
2. :

Arrange, Bring to Front.

Arrange Bring to Front.

SHIFT+F9.

.
.
:
1. .
2. Arrange Space Horizontally Space

Vertically.

Wonderware Russia (ZAO Klinkmann Spb)

43

WindowMaker


.
.
, .
.

, .
, .

.
, .
:
1. ().
2. Arrange Flip Horizontally Flip

Vertically.

Wonderware Russia (ZAO Klinkmann Spb)

WindowMaker

44


.

.
,
, .

.
, .
:
1. .
2. .

SHIFT .


1. .

2. , W


, ,
. .

, 360 , 90 .
WindowMaker

WindowViewer. WindowViewer
.

1. .
2. Arrange Rotate Clockwise Rotate

Counter Clockwise.

Wonderware Russia (ZAO Klinkmann Spb)

45

WindowMaker


(, , )
(
), .
.

.
,
, , ,
, ,
, .
,
, .

1. .
2. Text, .

,
,

Font

Bold

Italic

Underline

Reduce Font, Enlarge


Font

Left Justify, Centered,


Right Justify

Wonderware Russia (ZAO Klinkmann Spb)

WindowMaker


/ .
, , ,
, .

.
1 .

1. .
2. Line, .
3. Format, Line Color.
4. .


1. , .
2. Format, Line Color.
3. .


1. .
2. Line,


1. .
2. Line, No Line.

Wonderware Russia (ZAO Klinkmann Spb)

46

47

WindowMaker


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

1. .
2. Format, Fill Color
3. .


1. .
2. Format, Fill Color
3. .


Erase.

Delete.

Wonderware Russia (ZAO Klinkmann Spb)

WindowMaker

48


WindowMaker
. , WindowMaker 10
, .
WindowMaker 25 .
, .
, .

Edit, Undo.

Edit, Redo.


1. Special, Configure, WindowMaker.

WindowMaker.
2. Levels of Undo,

, .

, .

Wonderware Russia (ZAO Klinkmann Spb)

49

WindowMaker

,
, WindowMaker
Windows ,
, .
, ,
, .
,
.


Cut.


Copy.


1.

Paste. .
2. .
3. ,

,

, ,
.

,
.

,
.

,
.

, ,

,
Links .

Wonderware Russia (ZAO Klinkmann Spb)

WindowMaker

50



.
, ,

.
.

1. ,

Duplicate.
-.

2. .

3. , Duplicate .

,
.

Wonderware Russia (ZAO Klinkmann Spb)

51

WindowMaker

,
.

.
:
1. .
2. :

Edit, Reshape Object.


Reshape Object.

, Reshape
Object.

3. .


1. .
2. :

Edit, Add Point.


Add Point.

3. ,

.

1. .
2. :

Edit, Del Point.


Del Point.

3. ,

, .

Wonderware Russia (ZAO Klinkmann Spb)

WindowMaker

52


,
.
.bmp, .jpeg, .jpg, .pcx .tga.
,
.
.
90 .
, .
.
WindowMaker
.
, WindowViewer.

1. , Bitmap.

.
2. .
3. Edit, Import Image.

.
4. .

,
1. .
2. Edit, Bitmap Original Size.


1. Windows.
2. Bitmap

.
3. Paste

Bitmap.

1. .
2. Edit, Edit Bitmap. Microsoft Paint.
3. Microsoft Paint.
4. Microsoft Paint.

Wonderware Russia (ZAO Klinkmann Spb)

53

WindowMaker


,
, , ,
.

.

1. , Transparent Color

,
2. Custom Palette

. Edit
Custom Color.
3.
4. ,

. .
.
, .

5.

Wonderware Russia (ZAO Klinkmann Spb)

WindowMaker

54

1.
2. Edit, Enlarge Radius ( ) Reduce

Radius.


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

1. .
2. :

Special, Substitute String.


Substitute, Substitute String.

3. New String, .


1. .
2. Special, Substitute String.
3. Replace. Replace Text.
4. Old Text, .
5. New Text, .
6. .

Wonderware Russia (ZAO Klinkmann Spb)

55

4

,
.
.
, :

,
.

Wonderware Russia (ZAO Klinkmann Spb)

56


:
.

.
, , ,
, .


. , .


. ,
.



.
.



Value Display. ,
, , /, .


Discrete

, ,
,

Analog

,
,
.

String

,
, Fill Level = 100

1023 .
,
QuickFunction .

, , , ,
.
.

Wonderware Russia (ZAO Klinkmann Spb)

57


1.

Animation Links, .
2. Value Display, Discrete.

Output->Discrete Expression

3. Expression ,

. :
Cooling_Pump
4. On Message ,

1, true. ,
Pump is ON
5. Off Message ,

0, false.
,
Pump is OFF
6. .


1.

Animation Links, .
2. Value Display, Discrete.

Output->Analog Expression

3. Expression ,

. :
Tank_CV * 0.06
4. .

Wonderware Russia (ZAO Klinkmann Spb)

58


1.

Animation Links, .
2. Value Display, Discrete.

Output->String Expression

3. Expression ,.

:
The Tank Level is: + Text(TankLevel, #)
4. .


, .
Orientation. ,
,
.

,
, ,
, (
,
).

,
,
.
,
.

, ,
0.

,
.
. .


, ,

. ,
, ,
.

Wonderware Russia (ZAO Klinkmann Spb)

59


1. , ,

.
5c 5d.
2. Animation Links.

.
3. Location, Horizontal. Horizontal

Location.

4. Expression, .
5. Properties, :

a. At Left End ,
.
b.

At Right End ,
.

c. To Left, ,
.
d. To Right, ,
.
6. .

Wonderware Russia (ZAO Klinkmann Spb)

60


1. , ,

.
5c 5d.
2. Animation Links.

.
3. Location, Vertical. Vertical

Location.

4. Expression, .
5. Properties, :

a. At Top ,
.
b.

At Bottom ,
.

c. Up, ,
.
d. Down, ,
.
6. .

Wonderware Russia (ZAO Klinkmann Spb)

61

,
. ,
,
.
Orientation
. .

.
X Y W H .


1. Animation Links.

.
2. Miscellaneous, Orientation.

Orientation -> Analog Value.

3. Expression, .

Wonderware Russia (ZAO Klinkmann Spb)

62

4. Properties, :

a. Value At Max CCW


,
.
b.

Value At Max CW ,

.

c. CCW Rotation, ,
,
Value At Max CCW.
d. CW Rotation, ,
,
Value At Max CW.
5. Center of Rotation Offset from Object Counterpoint

.
a. ,
.
b. Y,
.
6. .


Object Size,

.
,
.
Object Size
, ,
.

Wonderware Russia (ZAO Klinkmann Spb)

63


1. Animation Links.

.
2. Object Size, Height.

Object Height -> Analog Value.

3. Expression, .
4. Properties, :

a. Value At Max Height


,
.
b.

Value At Min Height ,



.

c. Max % Height,
.
, ,
Value At Max Height.
100%.
d. Min % Height,
.
, ,
Value At Min Height.
100%.
5. Anchor ,

Top,
.

Middle
( ).

Bottom,
.

6. .

Wonderware Russia (ZAO Klinkmann Spb)

64


1. Animation Links.

.
2. Object Size, Width.

Object Width -> Analog Value.

3. Expression, .
4. Properties, :

a. Value At Max Width


,
.
b.

Value At Min Width ,



.

c. Max % Width,
.
, ,
Value At Max Width.
100%.
d. Min % Width,
.
, ,
Value At Min Width.
100%.
5. Anchor ,

Left,
.

Center
( ).

Right,
.

6. .

Wonderware Russia (ZAO Klinkmann Spb)

65


,
,
.
:

Line Color ( )

Fill Color ( )

Text Color ( )

,
.

Discrete

Analog

.
,
.

Discrete Alarm

, Alarm Group
Group Variable.

Analog Alarm

, Alarm
Group Group Variable.
,
.

! Analog Alarm

, InTouch 7.11,
.

Wonderware Russia (ZAO Klinkmann Spb)

66

.
,
.

1.

Animation Links.
.
2. Fill Color, Discrete. Fill

Color->Discrete Expression.

3. Expression, ,


. ,
TankLevel>=75. ,
TankLevel, 75,
.
4. Color,

5. .


1.

Animation Links.
.
2. Fill Color, Discrete. Fill

Color->Analog Expression.

Wonderware Russia (ZAO Klinkmann Spb)

67

3. Expression, ,


4. Break Points, ,

, Colors
.
.

, 3 ,
,
.
,
ArchestrA Symbols.
5. .



1.

Animation Links.
.
2. Fill Color, Discrete Alarm.

Fill Color->Discrete Tagname Alarm Status.

3. Tagname ,

.
4. Colors .
5. .

Wonderware Russia (ZAO Klinkmann Spb)

68



1.

Animation Links.
.
2. Fill Color, Analog Alarm.

Fill Color->Analog Tagname Alarm Status.

3. Tagname ,

.
4. Alarm Type, ,

Value

Deviation

ROC (Rate of
Change)

5. Colors .
6. .

Wonderware Russia (ZAO Klinkmann Spb)

69



Percent Fill.
.
.
, ,

.

.

1.

Animation Links.
.
2. Percent Fill, :

Vertical, Vertical Fill->Analog


Value.

Horizontal, Vertical Fill->Analog


Value.

3. Expression, ,

Wonderware Russia (ZAO Klinkmann Spb)

70

4. Properties, :

Value At Max ,
.

Value At Min ,
.

Max % Fill (0-100)


,
Value At Max.

Min % Fill (0-100)


,
Value At Min.

5. Direction, .
6. Background Color,

,
, .


,
.

7. .

Wonderware Russia (ZAO Klinkmann Spb)

71


,
, Blink. ,
, ,
, .

. , TankLevel=>75. ,
TankLevel 75, .


1.

Animation Links.
.
2. Miscellaneous, Blink.

Object Blinking->Discrete Value.

3. Expression Blink When,

, .
4. Blinking Area, :

Blink Invisible, ,
.

Blink Visible with these attributes,


, .

Text Color, Line Color, Fill Color,


.
.


, .
5. Blink Speed, ()

.
6. .

Wonderware Russia (ZAO Klinkmann Spb)

72

WindowMaker
1. Special, Configure, WindowMaker.

WindowMaker.
2. Blink Frequency ,

.
3.


,
.
,
.
.
,
:

,
, .

, ,
,
.

,
msgTolltipTag01.
msgTolltipTag01
,
iTemp :
Current temp. is + StringFromTemp(iTemp,10)

Wonderware Russia (ZAO Klinkmann Spb)

73


1.

Animation Links.
.
2. Miscellaneous, Tooltip.

Object Tooltip ->String Tagname.

3. Tooltip Attributes, Expression, Static Text.

Expression, ,
.
.

Static Text, .

4. .

Wonderware Russia (ZAO Klinkmann Spb)

74


,
. ,
, ,
. ,
, .

ShowAt(), ShowTopLeftAt(),
$ObjHor, $ObjVer.
.
,
WindowsXP,
, $ObjHor, $ObjVer,
,
.
:
ShowTopLeftAt (windowname, $ObjHor, $ObjVer);

windowname - , .
$ObjHor .
$ObjVer - .
,
.
,
. :
ShowAt (windowname, $ObjHor, $ObjVer);

1. , , .
2.

Animation Links.
.

Wonderware Russia (ZAO Klinkmann Spb)

75

3. Pushbuttons, Action.

Touch Action -> Action Script.

4. :
ShowTopLeftAt (windowname, $ObjHor, $ObjVer);

ShowAt (windowname, $ObjHor, $ObjVer);


5. Condition Type , .
6. .

Wonderware Russia (ZAO Klinkmann Spb)

$ObjHor
,
.

System

$ObjHor

Integer ( )

$ObjVer
,
.

System

$ObjVer

Integer ( )

Wonderware Russia (ZAO Klinkmann Spb)

76

77


,
, .
,
, ,
, .
, ,
. ,
TAB ..
TAB
,
. TAB,
,
.
, ,
, ,
Enter , ,
.
:

User Inputs

Discrete

Vertical

Action

Sliders
Pushbuttons

Analog
String
Horizontal
Show Window
Hide Window


, .
,
Input Only.

Wonderware Russia (ZAO Klinkmann Spb)

78



. ,
.
:
1.

Animation Links.
.
2. Touch Links, User Inputs Discrete.

Input-> Discrete Input.

3. Tagname, ,

.
4.

Key Equivalent.
5. , :

Msg to User ,
.

Set Prompt Reset Prompt, ,


, .

On Message Off Message ,


, .

6. Input Only,

, .
7. .

Wonderware Russia (ZAO Klinkmann Spb)

79



. , ,

:
1.

Animation Links.
.
2. Touch Links, User Inputs Analog.

Input-> Analog Input.

3. Tagname,
4.

Key Equivalent.
5. , :

Keypad?, Yes
.
Msg to User, ,
.

Min Value Max Value


..

6. Input Only,

, .
7. .

Wonderware Russia (ZAO Klinkmann Spb)

80



. , , , .
:
1.

Animation Links.
.
2. Touch Links, User Inputs String.

Input-> String Input.

3. Tagname, ,

.
4. , :


Key Equivalent.

Keypad?, Yes
.
Msg to User, ,
.

5. Echo Characters?,

Yes .
No .

Password,
. Password Char, .
Encrypt, .

InTouch HMI.

,
,
SQL .
.
6. Input Only,

, .
7.

Wonderware Russia (ZAO Klinkmann Spb)

81

()
,
/,
.
Slider.
.

.
,
.

1.

Animation Links.
.
2. Slider, Horizontal. Horizontal Slider.

3. Tagname, .
4. Properties, :

a. At Left End, ,
.
b. At Right End, ,
.
c. To Left, ,
.
d. To Right, ,
.
5. Reference Location ( ) ,


.
6. .

Wonderware Russia (ZAO Klinkmann Spb)

82


1.

Animation Links.
.
2. Slider, Vertical. Vertical Slider.

3. Tagname, .
4. Properties, :

a. At Top, ,
.
b. At Bottom, ,
.
c. Up, ,
.
d. Down, ,
.
5. Reference Location ( ) ,


.
6.

Wonderware Russia (ZAO Klinkmann Spb)

83


Touch Pushbutton ( )
,
(, )
.
,
, - .
:
1.

Animation Links.
.
2. Touch Pushbutton, Discrete Value.

Pushbutton -> Discrete value.

3. Tagname .
4. Key,

.
5. Action

Direct - 1 ,
.
0.

Reverse - 0 ,
.
1.

Toggle () -
. , 1,
0 ( ).

Reset () -
0.

Set () -
1.

6. .

Wonderware Russia (ZAO Klinkmann Spb)

84

:
1.

Animation Links.
.
2. Action, Touch Pushbutton.

InTouch -> Action Script.

3. . Condition Type ( )

While Down -
( )

On Left Down - .

. Key

, ,
, ,
.
4. ,

.
5. OK.

Wonderware Russia (ZAO Klinkmann Spb)

85



InTouch.
,
.
.
Replace
() - ,
.
( )
1.

Animation Links.
.
2. Touch Pushbutton, Show Window Hide Window,

3. ().
4. .

Wonderware Russia (ZAO Klinkmann Spb)

86



.
:

,
,
.

, .


1.

Animation Links.
.
2. Miscellaneous, Visibility,

Object Visibility -> Discrete Value.

3. Expression ,

.
,

Tank_Level>=75. , Tank_Level
75, .
4. Visible State Off . On,

, 1 (true). Off,
, 1 (true.)
5. .

Wonderware Russia (ZAO Klinkmann Spb)

87


,
. ,
, ,
.
ON ,
- , 1 (true).
,

Tank_Level>=75. , Tank_Level
75, .

1.

Animation Links.
.
2. Miscellaneous, Disable,

Object Disabled -> Discrete Value.

3. Expression ,


4. Disabled State, :

ON, ,
,
1.

OFF, ,
,

1.

5. .

Wonderware Russia (ZAO Klinkmann Spb)

88


,
.

InTouch.

Windows.
QWERTY ,
..

.
.


DialogStringEntry() DialogValueEntry() .

1. Special, Configure WindowViewer.

WindowViewer.
2. Keyboard, .

3. ,

Options , , .
4. .


1. .
2.

Animation Links.
.

Wonderware Russia (ZAO Klinkmann Spb)

89

3. Touch Links, User Inputs String.

Input-> String Input.

4. Keypad?, Yes.
5. .

DialogStringEntry()
- ,
.

[Result=]DialogStringEntry(MessageTag_Text,
UserPrompt_Text);

MessageTag_Text
, .
.
.Name .
UserPrompt_Text
,
.


0 = Cancel ()
1 = .
-1 =
-2 =
-3 =
-4 = Message
-5 =

Wonderware Russia (ZAO Klinkmann Spb)

90

Errmsg=DialogStringEntry(MyMessageTag.Name, "Enter a
new string...");
Errmsg=DialogStringEntry("MyMessageTag","Enter a new
string...");
, - ,
MyMessageTag,
Enter a new string. .
MessageTagX="MyMessageTag";
{assign the string MyMessageTag (which is
actually the tagname to be modified) to the
Memory Message tagname MessageTagX}
MessageDisplay="Enter a new string...";
{assign the new message string to the Memory
Message tagname MessageDisplay}
Errmsg=DialogStringEntry(MessageTagX,MessageDisplay);
{quotes are not required because MessageTagX
was defined as a Message tagname}

DialogValueEntry()
,
,
.

[Result=] DialogValueEntry(ValueTag_Text, LowLimit,


HighLimit, UserPrompt_Text);

Wonderware Russia (ZAO Klinkmann Spb)

91

ValueTag_Text
, ,
. .
.Name .
LowLimit
( >=

).
HighLimit
( <=

).
UserPrompt_Text
,
.


0 = Cancel ()
1 = .
-1 =
-2 =
-3 =
-4 = Message
-5 =

Wonderware Russia (ZAO Klinkmann Spb)

92

Errmsg=DialogValueEntry(MyIntegerTag.Name,
MyIntegerTag.MinEU, MyIntegerTag.MaxEU, "Enter a new
value...");
Errmsg=DialogValueEntry("MyIntegerTag", -100, 100,
"Enter a new value...");
, ,
MyIntegerTag,
-100 100 (),
Enter a new value. .
TagnameX="MyIntegerTag";
{assign the string MyIntegerTag (which is
actually the tagname to be modified) to the
Memory Message tagname TagnameX}
Min=-100;
{assign the minimum value allowed for the
tagname to the Memory Real/Integer tagname Min}
Max=100;
{assign the minimum value allowed for the
tagname to the Memory Real/Integer tagname Max}
MessageDisplay="Enter a new value...";
{assign the new message string to the Memory
Message Tagname MessageDisplay}
Errmsg=DialogValueEntry(TagnameX, Min, Max,
MessageDisplay);
{quotes are not required because TagnameX was
defined as a Message tagname. By assigning a
Discrete, Integer or Real tagname to TagnameX,
the function will modify that assigned tagname}

Wonderware Russia (ZAO Klinkmann Spb)

93


,
,
.


Select
Tag:

,
InTouch.

ArchestrA .


, .

InTouch
,
InTouch. ,
Tagname Dictionary ( ) .
,
-
.
InTouch.
,
. , ,
.Value.

Wonderware Russia (ZAO Klinkmann Spb)

94

InTouch
1. ,

, .

2. Tag source, c

.
3. Filter,

. ,
.
4. .

Select Tag.

Select Tag.
5. Dot Fields ,

.
,
. ,
.Value.
6. .

Wonderware Russia (ZAO Klinkmann Spb)

95

ArchestrA
ArchestrA.
, Galaxy, ,
InTouch.
InTouch HMI
.

1. ,

, .

2. Tag source, Galaxy,

c
Galaxy. Attribute Browser.
3. Attribute Browser ArchestrA.


Wonderware Application Server.
4. , .

.
Select Tag Attribute

Browser, Attribute
Browser.

Wonderware Russia (ZAO Klinkmann Spb)

96


,
. ,
Access Name Alarm Group.
,
.

(*). , Asyn*, ,
Asyn.

(?). , Tag?,
Tag .


. :
A-Z, a-z, 0-9, !, @, -, #, $, % &.


1. Select Tag,

Filter. The Define Tag Filter.

2. Filter Name .

Wonderware Russia (ZAO Klinkmann Spb)

97

3. Filter Options, ,

Tagname

Tag Type .

Acceess Name .

Alarm Group .

Comment .

4. . , Select

Tag.
.

1. Filter Name, .
2. Delete.

Select Tag
: ,
.

List
View


,
.

Detail


, , ,
.

,
.


.

.

Tree view

Wonderware Russia (ZAO Klinkmann Spb)

98



.

. (Disable),
, .

. . ,
, , .
. Key

, ,
, ,
.
, ,
Key Equivalent .

F1-F16. 16
,
,
.

1. Animation Links,

.
2. , Ctrl / Shift.
3. Key. Choose Key.
4. .
5. .

Wonderware Russia (ZAO Klinkmann Spb)

99


, ,
, ..
,
.
,
.

WindowViwer, WindowViwer,
.
,
,
.
.

1. (), .
2. Special, Substitute Tag.

Substitute Tag.
3. New Name, .

New Name ,
.

New Name,
.

, ,
Select Tag.

4. .

Wonderware Russia (ZAO Klinkmann Spb)

100


()
, , ,
.

.
.

.
,

.
,
?d:, ?i:, ?m: ?r:.

Discrete

Integer

Message

Real

. , :
PLC2:Temperature.
Substitute Tagnames
.
,

, .
,
,
,
,
.

Wonderware Russia (ZAO Klinkmann Spb)

101

,
,
.

Wonderware Russia (ZAO Klinkmann Spb)

102



, .

Wizard/ActiveX.

,
.
( ).

, "
" (), ,
, ,
.. ,
.
,
. , ,
, AutoCAD,
.
,
ArchestrA ,
, .


Wizard Selection.

Trend Windows Control


. ,
Trend Windows Control .

Wonderware Russia (ZAO Klinkmann Spb)

103



Wizard/ActiveX.
Wizard/ActiveX

1. Wizard Wizard/ActiveX.

Wizard Selection.

2. , , Sliders.
3. , , Add to toolbar.

.
:
1. Wizard () Wizard/ActiveX.

Wizard Selection
2. Remove from Toolbar ( ).

Remove Wizard from Toolbar ( ).


3. .
4. OK.


.
:
1. Wizard () Wizard/ActiveX.

Wizard Selection ( ). ,
.
2. , .

Wonderware Russia (ZAO Klinkmann Spb)

104

3. . ,

.
4. .


, ,
. ,
.

, Help
.


, , ,
,
.


.
.

1. Special, Configure Wizard/ActiveX Installation.

Wizard/ActiveX Installation

Wonderware Russia (ZAO Klinkmann Spb)

105

2. ,

, Remove ().
.
SHIFT CTRL ,

.
3. Yes (), .

List of Uninstalled Wizards (


).
4. , List of Uninstalled

Wizards Install ().



1. Special, Configure Wizard/ActiveX

Installation. .
2. Search (). Browse for Folders.
3. , OK.

Trend
Trend ,
.
Trend:

(Real-Time Trend),
4 .

(Historical Trend),
4 .

16 (16 Pen trend) 16


.

, .
:

Wonderware Russia (ZAO Klinkmann Spb)

106

,
,
InTouch.

1. Tagname Dictionary Log Data.
2. ,

InTouch.
a. Special, Configure Historical Logging.
.
b. Enable Historical Logging ( ).
.
10,
InTouch HMI.

Windows
Windows ,
, ,
().

Windows ,
. ,
,
.
.
.
Windows
QuickScript .
Windows
InTouch.
.
, .
ControlName.x, x .
, .Visibility 0,
.
.NET ,

ArchestrA Symbol

Wonderware Russia (ZAO Klinkmann Spb)

107

Windows

Windows ,
QuickScript.
, :

Windows

Windows ,
.


, .
SetProperyX, .

Windows

.
Windows .
,
.
Windows ,
.
.


,
.Combo Box
Windows , .

.

Wonderware Russia (ZAO Klinkmann Spb)

108


,
,
.

1. ,

:
a. Wizard Selection, Windows Control.
b. ComboBox ( ).
, .
c. ,
.

2. ,

Wonderware Russia (ZAO Klinkmann Spb)

109

3. , :

a. Control Name ,
ComboBox_1.
b. Tagname (Memory
Message), CB1_Value.
c. Properties Enable Input Visible.
d. Style, Simple .
4.

a. Special Script Data Change.


.
b. CB1_Value.
c. :
IF

CB1_Value <> THEN


CB1_Hold = CB1_Value;

ENDIF;
CB1_Hold CB1_Value Memory Message.

Wonderware Russia (ZAO Klinkmann Spb)

110

.
,
.
,
.

1. :

a.
Windows Properties Windows Scripts.
.

b. Condition Type ( ) On
Show.

Wonderware Russia (ZAO Klinkmann Spb)

111

c. , ,
:

Static.txt

,
,
.

ComboBox_1

CB1_Index


(Memory Integer)

CB1_Hold


(Memory Message)

CB1_Value


(Memory Message)

d. .
2. , ,

.
.
a. Notepad ()
.
b. .
.

3. ,

Wonderware Russia (ZAO Klinkmann Spb)

112

,
.
,
.

1. :

a.
Windows Properties Windows Scripts.
.

b. Condition Type ( ) On
Show.
c. , ,
:

Wonderware Russia (ZAO Klinkmann Spb)

113

Static.txt

,
,
.

ComboBox_1

CB1_Index


(Memory Integer)

CB1_Hold


(Memory Message)

CB1_Value


(Memory Message)

d. .
2. .

a.
Windows Properties Windows Scripts.
.
b. Condition Type ( ) On
Hide.
c. , :

3. (TextBox)

, .

Wonderware Russia (ZAO Klinkmann Spb)

114



(TextBox).

1. :

a. Wizard Selection, Windows Control.


b. TextBox ( ). ,
.
c. ,
.

d. .
2. ,

3. , :

a. Control Name ,
TextBox_1.
b. Tagname (Memory
Message), New_Value.
c. Properties Enable Input Visible.
4. .

Wonderware Russia (ZAO Klinkmann Spb)

115


,
. ,
(Add).
,
, ,
.

1. Button (),

.
2. ,

Substitute Strings.
.
3. New String ( ),

. .
4. .
5. Touch Links Action.

Touch->Action Script. :
a. Condition Type ( ) - On Left Click/Key
Down ( ).
b. .
6. .

Wonderware Russia (ZAO Klinkmann Spb)

116


.

1. :

a. Wizard Selection, Windows Control.


b. CheckBox. ,
.
c. ,
.

d. .
2. ,

3. , :

a. Control Name .
b. Tagname (Memory
Message), New_Value.
c. Properties Enable Input Visible.
4. .

Wonderware Russia (ZAO Klinkmann Spb)

117


,
.
, .
,
.

(Integer).

1.

a. Wizard Selection, Windows Control.


b. RadioButton. ,
.
c. ,
.

d. .

Wonderware Russia (ZAO Klinkmann Spb)

2. ,

3. , :

a. Control Name .
b. Tagname Integer.
c. .
d. .
e. Layout,
Properties.
4. .

Wonderware Russia (ZAO Klinkmann Spb)

118

119

Windows
:

, .

, ,
.


.
GetPropertyX( ) SetPropertyX()
.

.Value
Windows InTouch.
, , InTouch
Windows .

.Value
Windows
.

Windows

M, I, D GetProperty SetProperty Message, Integer,


Discrete.
[ErrorNumber=]GetPropertyM("ControlName[.Value]", Tagname);
[ErrorNumber=]SetPropertyM("ControlName[.Value]",Value);
[ErrorNumber=]GetPropertyI("ControlName[.Value]",Tagname);
[ErrorNumber=]SetPropertyI("ControlName[.Value]",Value);
[ErrorNumber=]GetPropertyD("ControlName[.Value]",Tagname);
[ErrorNumber=]SetPropertyD("ControlName[.Value]",Value);

Wonderware Russia (ZAO Klinkmann Spb)

120

ControlName
, ChkBox_4.
Tagname
,
.
[.Value]
. ,
.Value.
Value
InTouch ( ),
,
.

,
,

.

. .Value
, .
.Value ,
.
, ,
.

Message (/) text box ( ), list boxes () combo
box ( ).
Integer (/) radio button ( ).
Discrete (/) check box ( ).

, .Value
RadioButton_1 4:
SetPropertyI( "RadioButton_1.Value", 4 );
.
GetPropertyM(), SetPropertyM(), GetPropertyI(),
SetPropertyI(), GetPropertyD(), SetPropertyD()

Wonderware Russia (ZAO Klinkmann Spb)

121



.Enabled ,
.

.Enabled
,
.

Windows

[ErrorNumber=] GetPropertyD("ControlName.Enabled",
Tagname);
[ErrorNumber=] SetPropertyD("ControlName.Enabled",
Discrete);

ControlName
, ChkBox_4.
Tagname
,
.
Discrete
, ,
.
0 =
1 = . .


.

Discrete (/)

Text box, list box, combo box, check box radio button.

, ListBox (),
ListBox_1.
SetPropertyD("ListBox_1.Enabled", 0);
.
GetPropertyD(), SetPropertyD()

Wonderware Russia (ZAO Klinkmann Spb)

122


.Visible ,
.

.Enabled
.

Windows

[ErrorNumber=]GetPropertyD("ControlName.Visible",Tagname);
[ErrorNumber=]SetPropertyD("ControlName.Visible",Number);

ControlName
, ListBox_1.
Tagname
( ), ,
.
Number
, ,
.
0 =
1 = . .


.

Discrete (/)

Text box, list box, combo box, check box radio button.

, TextBox ( ),
TextBox_1.
SetPropertyD("TextBox_1.Visible",0);
.
GetPropertyD(), SetPropertyD()

Wonderware Russia (ZAO Klinkmann Spb)

123

ComboBox
,
.

wcAddItem()


ComboBox.
,
.

wcInsertItem()

wcDeleteItem()

wcDeleteSelection()

wcClear()

wcAddItem()
ComboBox. ,
.

Windows

[ErrorNumber=]wcAddItem("ControlName", "MessageTag");

ControlName
, ListBox_1.
MessageTag
, .
Message.

,
Windows .

list box, combo box.

Wonderware Russia (ZAO Klinkmann Spb)

124

, ,
, ( On Show).
wcAddItem("ListBox_1", "Chocolate");
wcAddItem("ListBox_1", "Vanilla");
wcAddItem("ListBox_1", "Strawberry");
.
wcInsertItem()

wcInsertItem()
.
wcAddItem(), wcInsertItem(), ,
.

Windows

[ErrorNumber=]wcInsertItem("ControlName",
ItemPosition,"Message");

ControlName
, ListBox_1.
ItemPosition
, .
-1, .
Integer.
Message
,
ItemPosition.. Message.

,
Windows .

combo box.

, Blueberry ,
, .
wcInsertItem("ListBox_1", 4, "Blueberry");
.
wcAddItem()

Wonderware Russia (ZAO Klinkmann Spb)

125

wcDeleteItem()
.

Windows

[ErrorNumber=]wcDeleteItem("ControlName",
ItemPosition);

ControlName
, ListBox_1.
ItemPosition
, .
Integer.

,
Windows .

combo box, list box.

, , ,
.
wcDeleteItem ("ListBox_1", 3);

wcDeleteSelection()
.

Windows

[ErrorNumber =]wcDeleteSelection("ControlName");

ControlName
, ListBox_1.

,
Windows .

combo box, list box.

Wonderware Russia (ZAO Klinkmann Spb)

126

, ,
.
wcDeleteSelection("ListBox_1");

wcClear()
.

Windows

[ErrorNumber=]wcClear("ControlName");

ControlName
, ListBox_1.

,
Windows .

combo box, list box.

, , .
wcClear("ListBox_1");

/

(ComboBox)
(ListBox).

wcLoadList()

wcSaveList()

Wonderware Russia (ZAO Klinkmann Spb)

127

wcLoadList()

.

Windows

[ErrorNumber=]wcClear("ControlName");

ControlName
, ListBox_1.
Filename
. ,

. Message.

,
Windows .

combo box, list box.

,
( c:\wclist.txt)
ComboBox .
wcLoadList("Combobox_1", "c:\wclist.txt");
.
wcAddItem(),wcSaveList()

wcSaveList()
.

Windows

[ErrorNumber=]wcClear("ControlName");

ControlName
, ListBox_1.

Wonderware Russia (ZAO Klinkmann Spb)

128

Filename
. , .
Message.

,
Windows .

combo box, list box.

, (
c:\newlist.txt).
wcLoadList("Combobox_1", "c:\newlist.txt");

,
:
ControlType, ListCount
ListItem, ItemIndex
ListItem, ItemIndex
::
::
ListItem, ItemIndex
, ComboBox,
, ,
wcSetItemData()
. :
COMBOBOX, 3
Chocolate, 0
Vanilla, 0
Strawberry, 0
COMBOBOX .
3: Chocolate, Vanilla, Strawberry. Chocolate ,
Vanilla , Strawberry 3.
0.
.
wcLoadList(), wcSetItemData()

Wonderware Russia (ZAO Klinkmann Spb)

129

ComboBox ListBox

wcFindItem(). ,
Integer.

wcFindItem()
.

Windows

[ErrorNumber=]wcFindItem ("ControlName", "MessageTag",


CaseSens, Tagname);

ControlName
, ListBox_1.
MessageTag
, .
Message.
CaseSens
.
.
Filename
. ,
.
Message.
0 =
1 =
Tagname
,
. , -1.

,
Windows .

combo box, list box.

Wonderware Russia (ZAO Klinkmann Spb)

, ListBox_1 , ItemA, ItemB,


ItemC, :
wcFindItem("ListBox_1", "ItemB", 0, Result);
2
wcFindItem("ListBox_1", "Itemb", 1, Result);
-1
wcFindItem("ListBox_1", "itemc", 0, Result);
3
wcFindItem("ListBox_1", "XYZ", 0, Result);
-1
.
wcAddItem(),wcSaveList()

ComboBox
ListBox

.

.TopIndex

.NewIndex

()
,
wcAddItem()
wcInsertItem().

.ListIndex

( )
.

.TopIndex

.

Windows

[ErrorNumber=]GetPropertyI("ControlName.TopIndex",
Tagname);
[ErrorNumber=]SetPropertyI("ControlName.TopIndex",
Number);

Wonderware Russia (ZAO Klinkmann Spb)

130

131

ControlName
, ListBox_1.
Tagname
, Integer,
.
Number
, .
Integer,
.

.

Integer (/)

list box.

, TopIndex
ListBox_1 14:
SetPropertyI("ListBox_1.TopIndex",14);
.
GetPropertyI(), SetPropertyI(), .ListIndex, .NewIndex

.NewIndex
()
ListBox () ComboBox ( )
wcAddItem() wcInsertItem().

Windows

[ErrorNumber=]GetPropertyI("ControlName.NewIndex",
Tagname);

ControlName
, ListBox_1.
Tagname
,
ListBox () ComboBox
( ). , -1.

Wonderware Russia (ZAO Klinkmann Spb)

132

.

Integer (/)

list box, combo box.

,
ListBox_1,
NewItemIndex.
GetPropertyI("ListBox_1.NewIndex", NewItemIndex);
.
GetPropertyI(), wcAddItem(), wcInsertItem(), .ListIndex, .TopIndex

.ListIndex
( ) .
ListBox, -1 ,
.
omboBox, -1 ,
.

[ErrorNumber=]GetPropertyI("ControlName.ListIndex",
Tagname);
[ErrorNumber=]SetPropertyI("ControlName.ListIndex",
Number);

ControlName
, ListBox_1.
Tagname
,
.
Number
,
.

, .
.ListIndex
ListBox () ComboBox ( ).

Wonderware Russia (ZAO Klinkmann Spb)

133


Integer (/)


ListBox_1 Integer MyListBoxIndex.
GetPropertyI( "ListBox_1.ListIndex",MyListBoxIndex );
.
GetPropertyI(), SetPropertyI(), .NewIndex, .TopIndex

ListBox ComboBox
.ListCount ListBox ()
ComboBox ( ).

.ListCount
.

Windows

[ErrorNumber=]GetPropertyI("ControlName.ListCount",
Tagname);

ControlName
, ListBox_1.
Tagname
,
.

.

Integer (/)

list box, combo box.

,
ListBox_1 MyListBoxCount.
GetPropertyI("ListBox_1.ListCount", MyListBoxCount);
.
GetPropertyI(), .ListIndex

Wonderware Russia (ZAO Klinkmann Spb)

134


wcGetItemData ()
, , .
wcSetItemData()
, .

wcGetItemData ()
, ,
ItemIndex.

Windows

[ErrorNumber=]wcGetItemData("ControlName", ItemIndex,
Tagname);

ControlName
, ListBox_1.
Message.
ItemIndex
. Integer.
Tagname
/ Real/Integer.
wcGetItemData() ,
.

,
Windows .

list box, combo box.

,
ItemValue.
wcGetItemData("ListBox_1", 5, ItemValue);
4500,
ItemValue 4500.
.
wcSetItemData()

Wonderware Russia (ZAO Klinkmann Spb)

135

wcSetItemData()
, ,
ItemIndex.
.

Windows

[ErrorNumber=]wcSetItemData("ControlName", ItemIndex,
Number);

ControlName
, ListBox_1.
Message.
ItemIndex
,
. Integer.
Number
.
Integer.

, ,
(Notepad) .
, wcSaveList().
,
Windows .
wcGetItemData(),
. Tagname
. I/O Integer,
.

: flour (), sugar (), salt ().


4500 , 1500 325 .
, .
wcSetItemData("ListBox_1", 1, 4500);
{ 1- (flour)=4500}
wcSetItemData("ListBox_1", 2, 1500);
{ 2- (sugar)=1500}
wcSetItemData("ListBox_1", 3, 325);
{ 2- (salt)=325}
.
wcLoadList(), wcSaveList(), wcGetItemData()

Wonderware Russia (ZAO Klinkmann Spb)

136


wcGetItem(), ,
ListBox() ComboBox
( ).

wcGetItem()
, ,
.

Windows

[ErrorNumber=]wcGetItem("ControlName", ItemIndex,
Tagname);

ControlName
, ListBox_1.
Message.
ItemIndex
, .
Integer.
Tagname
Message. wcGetItem()
, , .

,
Windows .

,
ListSelection.
wcGetItem("Combobox_1", 10, ListSelection);
Vanilla
ListSelection Vanilla.

Wonderware Russia (ZAO Klinkmann Spb)

137


wcLoadText()
. wcSaveList()
.
,

.
,
65 536 .

wcLoadText()
, .

Windows

[ErrorNumber=]wcLoadText("ControlName", "Filename");

ControlName
, ListBox_1.
Message.
Filename
. ,
.
Message.

TextBox

(c:\InTiuch.32\readme.txt)
, (Window On Show):
wcLoadText("Textbox_1", "c:\InTouch.32\readme.txt");

Wonderware Russia (ZAO Klinkmann Spb)

138

wcSaveList ()
, .
, . ,
/.

Windows

[ErrorNumber=]wcSaveText("ControlName", "Filename");

ControlName
, ListBox_1.
Message.
Filename
, .
,
. , .

wcLoadText(). Message.

,
Windows .

TextBox


(c:\InTiuch.32\readme.txt) (Window On Show):
wcSaveText("Textbox_1", "c:\InTouch.32\newtext.txt");
.
wcLoadList()

Wonderware Russia (ZAO Klinkmann Spb)

139


.ReadOnly ,
.

.ReadOnly
,
.

Windows

[ErrorNumber=]GetPropertyD("ControlName.ReadOnly",
Tagname);

ControlName
, ListBox_1.
Message.
Tagname
,
0 = .
1 = .

.

Discrete ( )

TextBox

A_Tagname .ReadOnly
TextBox_1.
GetPropertyD("TextBox_1.ReadOnly",A_Tagname);
.
GetPropertyD(), SetPropertyD()

Wonderware Russia (ZAO Klinkmann Spb)

CheckBox
.Caption ,
.

.Caption
, .

Windows

[ErrorNumber=]GetPropertyM ("ControlName.Caption",
Tagname);
[ErrorNumber=]GetPropertyM ("ControlName.Caption",
"Message");

ControlName
, ChkBox_1.
Message.
Tagname
Message,
.
Message
.


.

Message (/)

CheckBox

Blue Paint
Option.
SetPropertyM("CheckBox_1.Caption","Blue Paint
Option");
.
GetPropertyM(), SetPropertyM()

Wonderware Russia (ZAO Klinkmann Spb)

140

141

Windows

wcErrorMessage() ,
. , ,
, .
, Windows ,
.
. Integer:
ErrorNumber = wcGetItem("ControlName", Number,
Tagname);
ErrorNumber .
wcErrorMessage(),
.
ErrorMsg = wcErrorMessge(ErrorNumber);
ErrorMsg Message,
. :

-1

-2

-3

-4

-5

-6

Wonderware Russia (ZAO Klinkmann Spb)

ActiveX

142

6
ActiveX
ActiveX ,
InTouch:
ActiveX
:

InTuchHMI ActiveX
.

Wonderware, Active
Factory.

ActiveX .

ActiveX , Visual Basic C,


Wonderware Toolkit.

ActiveX
. :

ActiveX
.

ActiveX ,
.

, , ,
ActiveX .

ActiveX .

ActiveX
Wizard/ActiveX.

ActiveX
.

Wonderware Russia (ZAO Klinkmann Spb)

143

ActiveX

, ,
.

, ,
ActiveX .

InTuch HMI ActiveX


:

, .

( )..

InTuch :
(Boolean), (Integer, 32 ),
(Real, IEEE 32 ),
(Message, 131 ). :
, , , ,
.
ActiveX InTouch,
Windows .
ActiveX
.

ActiveX
ActiveX ,
.
ActiveX , .
.
ActiveX InTouch-:
1. ActiveX .
2. ActiveX InTouch.
3. ActiveX

.
4. ActiveX ActiveX Event.
5. ActiveX

ActiveX Event InTouch.

Wonderware Russia (ZAO Klinkmann Spb)

ActiveX

ActiveX :
1. Wizard Dialog ( )

Wizards/ActiveX (/ActiveX).
Wizard Selection ( ):

2. ActiveX Controls.

ActiveX .
3. ActiveX OK

.
.
4. ,

ActiveX-.
ActiveX
1. Wizard Dialog ( )

Wizards/ActiveX (/ActiveX).
Wizard Selection ( ):
2. ActiveX .
3. Add to Toolbar.

ActiveX :
1. Wizard Dialog ( )

Wizards/ActiveX (/ActiveX).
Wizard Selection ( ):
2. Remove from toolbar. Remove

Wizard from Toolbar.


3. ActiveX .
4. .

Wonderware Russia (ZAO Klinkmann Spb)

144

145

ActiveX

ActiveX
ActiveX , ,
ActiveX .
.
- ActiveX
InTouch, .

ActiveX ,
, , Calendar1.
InTouch-.
. ActiveX . ,
ActiveX , ActiveX
.

ActiveX InTouch.
.

ActiveX : Control Name,


Properties Events.

Events ,
, .

ActiveX . ,

, .

Wonderware Russia (ZAO Klinkmann Spb)

ActiveX

146

ActiveX
,
. :

. Duplicate Edit.

. Cut Copy, Paste


Edit.

Undo () Redo ().

ActiveX .
, ActiveX
, .
ActiveX
1. ActiveX .
2. . Properties.
3. Control Name ActiveX .

ActiveX
ActiveX ,
, , ,
.

Wonderware Russia (ZAO Klinkmann Spb)

147

ActiveX

ActiveX
ActiveX
, InTouch HMI
.
ActiveX:
1. Special Configure

Wizards/ActiveX Installation ( ActiveX).


Wizards/ActiveX Installation (
ActiveX).
2. ActiveX Control Installation (

ActiveX):

3. Installed ActiveX controls (

ActiveX) ,
, Remove.
.
,

SHIFT CTRL.
4. Yes () .

Available ActiveX
controls.
-
.
.
5. ActiveX, Available ActiveX

controls Install ().


6. Close ().

Wonderware Russia (ZAO Klinkmann Spb)

148

InTouch HMI

2008

www.klinkmann.com

Helsinki
ph. +358 9 540 4940
automation@klinkmann.fi

1.0

-
. +7 812 327 3752
klinkmann@klinkmann.spb.ru

. +7 846 993 49 33
samara@klinkmann.spb.ru

Rga
tel. +371 738 1617
klinkmann@klinkmann.lv

. +7 495 641 16 16
moscow@klinkmann.spb.ru

. +38044 495-33-40
klinkmann@klinkmann.kiev.ua

Tallinn
tel. + 372 6 684 500
klinkmann.est@klinkmann.ee

. +7 343 376 53 93
yekaterinburg@klinkmann.spb.ru

. +375 17 2000876
minsk@klinkmann.com

Vilnius
tel. +370 5 215 1646
post@klinkmann.lt

InTouch HMI
SmartSymbols

Wonderware Russia (ZAO Klinkmann Spb)

.......................................................................................................................................3
SmartSymbols ..................................................................................................4
SmartSymbol ..................................................................................5
InTouch SmartSymbol ArchestrA SmartSymbol ..................................................................6
InTouch SmartSymbol...........................................................................................................7
ArchestrA SmartSymbol .......................................................................................................8
, SmartSymbol.............................................................................9
SmartSymbols .................................................................. 10
ArchestrA SmartSymbol...................................................................... 13
SmartSymbol InTouch SmartSymbol ..................... 14
SmartSymbol ArchestrA SmartSymbol .................. 16
ArchestrA ArchestrA SmartSymbol........ 18
SmartSymbols.......................................................................................................... 20
SmartSymbol ............................................................................................. 21
SmartSymbol ............................................................................................ 24
SmartSymbol ............................................................................. 25
SmartSymbol.................................................................................. 25
SmartSymbol .......................................................................................... 26
SmartSymbol ........................................................................... 27
SmartSymbol........................................................... 28
SmartSymbol............................................................................................... 29
SmartSymbols.................................................................................................... 30
SmartSymbol ........................................................................................ 30
SmartSymbol ................................................................................. 33
SmartSymbol ............................................................... 33
SmartSymbol ......................................... 35
SmartSymbol ........................................ 36

InTouch HMI SmartSymbols

Wonderware Russia (ZAO Klinkmann Spb)

SmartSymbols

1
SmartSymbols
Smart Symbols Wonderware
InTouch,
. , Smart
Symbol , Smart Symbol
.
,
, ,
.
Smart Symbol InTouch ArchestrA
. Smart Symbol,
InTouch, InTouch Smart Symbol.
Smart Symbol,
ArchestrA Automation,
ArchestrA Smart Symbol. ArchestrA Smart Symbol
InTouch.
InTouch Smart Symbol ArchestrA Smart Symbol
ArchestrA Symbol. ArchestrA Symbol
IDE (ArchestrA Integrated Development
Environment).

InTouch HMI SmartSymbols

Wonderware Russia (ZAO Klinkmann Spb)

SmartSymbols

InTouch 10 ,
ArchestrA Symbols , Smart
Symbol. ArchestrA Symbols
1 InTouch ArchestrA
InTouch HMI ArchestrA.
Smart Symbol

Smart Symbol

SmartSymbol
Smart Symbol Smart Symbol
InTouch. Smart Symbol
,
Smart Symbol.
Smart Symbol \Symbols, ,
InTouch .
Smart Symbol
XML . XML .

InTouch HMI SmartSymbols

Wonderware Russia (ZAO Klinkmann Spb)

SmartSymbols

InTouch SmartSymbol ArchestrA SmartSymbol


InTouch SmartSymbol , ArchestrA Symbol.
InTouch SmartSymbol InTouch.
ArchestrA SmartSymbol Galaxy
.
ArchestrA Symbol , ArchestrA
SmartSymbol. ArchestrA Symbol ArchestrA SmartSymbol
ArchestrA IDE.

SmartSymbol.

SmartSymbol

InTouch

InTouch


InTouch

SmartSymbol
ArchestrA
SmartSymbol

ArchestrA
SmartSymbol

SmartSymbol

InTouch HMI SmartSymbols

Wonderware Russia (ZAO Klinkmann Spb)

SmartSymbols

InTouch SmartSymbol
InTouch SmartSymbol InTouch Symbol SmartSymbol
.
InTouch SmartSymbol
,
InTouch. , 2
SmartSymbol .

InTouch SmartSymbol

InTouch
SmartSymbol

SmartSymbol

InTouch

InTouch HMI SmartSymbols

Wonderware Russia (ZAO Klinkmann Spb)

SmartSymbols

ArchestrA SmartSymbol
ArchestrA SmartSymbol ArchestrA Symbol SmartSymbol
.
ArchestrA
Symbol, ArchestrA SmartSymbol, ArchestrA Symbol.

ArchestrA SmartSymbol,
Galaxy
. ,
2 SmartSymbol .

ArchestrA SmartSymbol

ArchestrA
SmartSymbol

SmartSymbol

InTouch

ArchestrA
Automation

InTouch HMI SmartSymbols

ArchestrA
Automation

Wonderware Russia (ZAO Klinkmann Spb)

SmartSymbols

, SmartSymbol
, SmartSymbol.

SmartSymbol .
SmartSymbol, (
) .

SmartSymbol Distributed Alarm Display,


Windows , InTouch ActiveX
AlarmViewer, ActiveX
, InTouch.

ArchestrA Galaxy
Application Server 1.5. Application Server
2.0 ArchestrA.

SmartSymbol SPC Chart .

Attribute Browser .
,
SmartSymbol .

InTouch HMI SmartSymbols

Wonderware Russia (ZAO Klinkmann Spb)

10

SmartSymbols

2

SmartSymbols
SmartSymbol
WindowMaker.
SmartSymbol,
WindowMaker,
SmartSymbol.
InTouch ArchestrA.
SmartSymbol , SmartSymbol
.
ArchestrA
ArchestrA SmartSymbol
InTouch WindowMaker ArchestrA Integrated
Development Environment (IDE).
InTouch SmartSymbol

WindowMaker

SmartSymbol

SmartSymbol

InTouch HMI SmartSymbols

Wonderware Russia (ZAO Klinkmann Spb)

SmartSymbols

11

SmartSymbol
InTouch
InTouch SmartSymbol ,
, InTouch.
,
, ,
SmartSymbol.
InTouch SmartSymbol
1. WindowMaker.
2. / ,

,
SmartSymbol.
3. .

4
, InTouch HMI.
4. ,

SmartSymbol.
5. Arrange, Make Cell.
6. .

InTouch HMI SmartSymbols

Wonderware Russia (ZAO Klinkmann Spb)

12

SmartSymbols

7. Special, SmartSymbol Generate SmartSymbol.

InTouch SmartSymbol Management Mode,


SmartSymbol.

, SmartSymbol InTouch
Symbols.
(, NewSymbol1).
8. .

SmartSymbol .
SmartSymbol.
9. Close. ,

SmartSymbol. Yes No.


Yes,
SmartSymbol. , SmartSymbol
.

InTouch HMI SmartSymbols

Wonderware Russia (ZAO Klinkmann Spb)

SmartSymbols

13

ArchestrA SmartSymbol
SmartSymbol InTouch ,
, ,
ArchestrA Automation, ArchestrA
SmartSymbol.
ArchestrA Automation $.
SmartSymbol,
ArchestrA / .
InTouch SmartSymbol ,
ArchestrA.
ArchestrA SmartSymbol
1. WindowMaker.
2. / ,

,
SmartSymbol.
3. .

Galaxy,
Application Server InTouch,
5, /,
InTouch HMI.
ArchestrA,
4 ,
InTouch HMI.
4. ,

SmartSymbol.
5. Arrange, Make Cell.
6. Special, SmartSymbol Generate SmartSymbol.

SmartSymbol SmartSymbol
Galaxy ArchestrA ( ).
7. .
8. Close. ,

SmartSymbol. Yes No.


Yes,
SmartSymbol. , SmartSymbol
.

InTouch HMI SmartSymbols

Wonderware Russia (ZAO Klinkmann Spb)

14

SmartSymbols

SmartSymbol InTouch
SmartSymbol
SmartSymbol SmartSymbol
. .
InTouch,
.
SmartSymbol InTouch SmartSymbol :
1. WindowMaker ,

SmartSymbol.
2. SmartSymbol Wizard.
3. WindowMaker,

. InTouch SmartSymbol Management Mode,


SmartSymbol.

, Show Properties Dialog

on instantiation. ,
SmartSymbol.

InTouch HMI SmartSymbols

Wonderware Russia (ZAO Klinkmann Spb)

SmartSymbols

15

4. InTouch Symbol, SmartSymbol.

.
Show Properties Dialog on
instantiation, SmartSymbol.

5. Instance References, .

Select Tag Tagname Dictionary.


6. , SmartSymbol.

SmartSymbol.
,
, Tagname Undefined,
.
7. . .

InTouch HMI SmartSymbols

Wonderware Russia (ZAO Klinkmann Spb)

16

SmartSymbols

SmartSymbol
ArchestrA SmartSymbol
ArchestrA SmartSymbol
SmartSymbol .
SmartSymbol ArchestrA SmartSymbol :
1. SmartSymbol Wizard


WindowMaker, .
InTouch SmartSymbol Management Mode,
SmartSymbol.

, Show Properties Dialog

on instantiation.
2. ArchestrA Symbol.

ArchestrA SmartSymbols.

InTouch HMI SmartSymbols

Wonderware Russia (ZAO Klinkmann Spb)

SmartSymbols

17

3. SmartSymbol .

.
Show Properties Dialog on
instantiation, SmartSymbol.

4. ArchestrA Instance :

ArchestrA.

ArchestrA,
.
New.

Instance References
.
Galaxy ,
Galaxy Galaxy.
5. , Instance

References.

.
6. . HMI.

InTouch HMI SmartSymbols

Wonderware Russia (ZAO Klinkmann Spb)

18

SmartSymbols

ArchestrA
ArchestrA SmartSymbol
ArchestrA SmartSymbol
SmartSymbol .
ArchestrA:
1. WindowMaker ,

SmartSymbol.
2. SmartSymbol .

SmartSymbol Properties.

3. ArchestrA Instances

ArchestrA.
, ,
.
, .
Application Server None,
OS User OS Group Based.

InTouch HMI SmartSymbols

Wonderware Russia (ZAO Klinkmann Spb)

SmartSymbols

19

4. New. ,

Galaxy, , .
Galaxy Configuration:

5. Galaxy. :

a. GR Node Name,
Galaxy.
b. Galaxy Name.
c. . ArchestrA ,
.

d. , Create
Instance.
6. , SmartSymbol Properties.

SmartSymbol.

InTouch HMI SmartSymbols

Wonderware Russia (ZAO Klinkmann Spb)

20

SmartSymbols

3
SmartSymbols

SmartSymbol,
SmartSymbol InTouch
.
SmartSymbol InTouch ,
.
1

.www

SmartSymbol,
,
, SmartSymbol .

SmartSymbol.
SmartSymbol ,
, SmartSymbol.

InTouch HMI SmartSymbols

Wonderware Russia (ZAO Klinkmann Spb)

SmartSymbols

21

SmartSymbol
SmartSymbol InTouch
SmartSymbol .
,
.
SmartSymbol :
1. .
2. Special, SmartSymbol Manage SmartSymbol.

InTouch SmartSymbol Management Mode.

3. File Import. Import Symbol.


4. , SmartSymbol. ,

.www.

InTouch HMI SmartSymbols

Wonderware Russia (ZAO Klinkmann Spb)

22

SmartSymbols

5. . SmartSymbol

SmartSymbol Management Mode.


, Import
Preferences.

6.

, Skip.
,
.


, Overwrite.

Rename
imported symbol. Append to symbol name ,
.

InTouch HMI SmartSymbols

Wonderware Russia (ZAO Klinkmann Spb)

SmartSymbols

23

7.


SmartSymbol.

Rename imported symbol, All


Append to symbol name
,
.

SmartSymbol InTouch SmartSymbol


Management Mode.

InTouch HMI SmartSymbols

Wonderware Russia (ZAO Klinkmann Spb)

24

SmartSymbols

SmartSymbol
SmartSymbol,
SmartSymbol
InTouch.
SmartSymbol
SmartSymbol InTouch.
SmartSymbol:
1. Special, SmartSymbol Manage SmartSymbol.

InTouch SmartSymbol Management Mode.

2. , SmartSymbol ,

.
3. File, Export. Export Symbol.
4. , .
5. , .www Save. SmartSymbol

/ .

InTouch HMI SmartSymbols

Wonderware Russia (ZAO Klinkmann Spb)

SmartSymbols

25

SmartSymbol
SmartSymbol, SmartSymbol
. SmartSymbol
SmartSymbol .
SmartSymbol
1. SmartSymbol, SmartSymbol ,

.
2. Edit, Rename.
3. Enter. SmartSymbol ,

SmartSymbol
SmartSymbol , .
, ,
.
4.
SmartSymbol.
SmartSymbol
1. SmartSymbol SmartSymbol,

.
2. Edit Copy.
3. SmartSymbol.
4. Edit, Paste. SmartSymbol.

,
SmartSymbol Copy of < >.

InTouch HMI SmartSymbols

Wonderware Russia (ZAO Klinkmann Spb)

26

SmartSymbols

SmartSymbol
SmartSymbol, ,
SmartSymbol,
.
SmartSymbol
SmartSymbol InTouch.
SmartSymbol
. SmartSymbol
.
SmartSymbol.
SmartSymbol
1. SmartSymbol, SmartSymbol,

.
2. Edit, Delete. , Yes.

SmartSymbol SmartSymbol.
, , .

InTouch HMI SmartSymbols

Wonderware Russia (ZAO Klinkmann Spb)

SmartSymbols

27

SmartSymbol
SmartSymbol SmartSymbol
. ,
SmartSymbol
:

ArchestrA SmartSymbol

InTouch SmartSymbol

,
SmartSymbol. ArchestrA SmartSymbol
, , .
, SmartSymbol
$Valve, $Valve.
ArchestrA SmartSymbol InTouch
SmartSymbol, InTouch SmartSymbol
ArchestrA SmartSymbol.
SmartSymbol:
1. SmartSymbol,

.
2. SmartSymbol ,

InTouch HMI SmartSymbols

Wonderware Russia (ZAO Klinkmann Spb)

28

SmartSymbols


SmartSymbol
SmartSymbol ,
.
SmartSymbol ,
XML (,
SSD_< >_<ID >_< ID>.xml),
, SmartSymbol. Excel
,
InTouch.
InTouch ,
SmartSymbol .
WindowViewer, SmartSymbol,
, ,
.

SmartSymbol ,
.www .
5,

InTouch HMI

InTouch HMI SmartSymbols

Wonderware Russia (ZAO Klinkmann Spb)

SmartSymbols

29

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

.
SmartSymbol
1.

SmartSymbol InTouch HMI.


2. Special, SmartSymbol Recover SmartSymbol.

SmartSymbol SmartSymbol Management Mode,


New Symbol.
3. SmartSymbol .

InTouch HMI SmartSymbols

Wonderware Russia (ZAO Klinkmann Spb)

30

SmartSymbols

SmartSymbols

SmartSymbols,
SmartSymbols.
SmartSymbols

SmartSymbols

SmartSymbol
SmartSymbol,
, , .
, SmartSymbol.

SmartSymbol.
SmartSymbol
, .

SmartSymbol
1. Special, SmartSymbol Start

SmartSymbol Edit.

InTouch HMI SmartSymbols

Wonderware Russia (ZAO Klinkmann Spb)

SmartSymbols

31

2. ,

SmartSymbol. InTouch SmartSymbol


Select Mode.

3. SmartSymbol, , .

SmartSymbol .
4. Arrange Break Cell.

.
5. .
,
SmartSymbol,
.
SmartSymbol,
.
6. ,

, Arrange, Make Cell.

InTouch HMI SmartSymbols

Wonderware Russia (ZAO Klinkmann Spb)

32

SmartSymbols

7. Special, SmartSymbol, End Symbol

Edit. SmartSymbol Update Confirmation.

8. SmartSymbol ,

Update Size of SmartSymbol in Application,


SmartSymbol .


SmartSymbol , Update
Size of SmartSymbol in Application Anchor Point,
SmartSymbol
.

InTouch HMI SmartSymbols

Wonderware Russia (ZAO Klinkmann Spb)

SmartSymbols

33

9. :

, Commit Edit.
SmartSymbol
SmartSymbol.

SmartSymbol, Return to
Edit.
.

, Abort Edit.
.

SmartSymbol
SmartSymbol
.
.

SmartSymbol
SmartSymbol ,
- , ,
. .
SmartSymbol
,
IOSetRemoteReferences().

InTouch HMI SmartSymbols

Wonderware Russia (ZAO Klinkmann Spb)

34

SmartSymbols

SmartSymbol
1. SmartSymbol,

SmartSymbol.

2. :

Symbol Template,
SmartSymbol.

ArshestrA Instance,
ArchestrA.

3. SmartSymbol

.
4. File, Save Window.

InTouch HMI SmartSymbols

Wonderware Russia (ZAO Klinkmann Spb)

SmartSymbols

35

SmartSymbol

SmartSymbol ,
.
SmartSymbol :
1. SmartSymbol ,

SmartSymbol.

2. :

Instance References,
.

3. .

InTouch HMI SmartSymbols

Wonderware Russia (ZAO Klinkmann Spb)

36

SmartSymbols

SmartSymbol

SmartSymbol
, .
SmartSymbol
1. SmartSymbol ,

SmartSymbol.

2. Replace ().

3. , .

Find what , .
Match case
.

Replacement with ,
.
.

InTouch HMI SmartSymbols

Wonderware Russia (ZAO Klinkmann Spb)

SmartSymbols

37

4. :

Replace All.

, Find Next
Replace, .

5. . SmartSymbol

InTouch HMI SmartSymbols

38

InTouch HMI SmartSymbols



2008

www.klinkmann.com

Helsinki
ph. +358 9 540 4940
automation@klinkmann.fi

1.0

-
. +7 812 327 3752
klinkmann@klinkmann.spb.ru

. +7 846 993 49 33
samara@klinkmann.spb.ru

Rga
tel. +371 738 1617
klinkmann@klinkmann.lv

. +7 495 641 16 16
moscow@klinkmann.spb.ru

. +38044 495-33-40
klinkmann@klinkmann.kiev.ua

Tallinn
tel. + 372 6 684 500
klinkmann.est@klinkmann.ee

. +7 343 376 53 93
yekaterinburg@klinkmann.spb.ru

. +375 17 2000876
minsk@klinkmann.com

Vilnius
tel. +370 5 215 1646
post@klinkmann.lt


InTouch Archestra

InTouch ArchestrA . . . . . . . . . . . . . 4
InTouch ArchestrA . . . . . . . . . . . . . . . . . . 4
InTouch, . . . . . . . . . . . . . . . 6
InTouch . . . . . . . . . . . . . . 6
InTouchViewApp Object . . . . . . . . . . . . . . . . . . . . . . . 8
InTouch . . . . . . . . . . . . . . . . . . . . . . . . 8
, InTouchViewApp . . . . . . . . 9
InTouch, . 10
InTouch, . . . 10
InTouchViewApp . . . . . . . . . . . . . . . . . 10
InTouchViewApp . . . . . . . . . . . . . . . . . . . 11
InTouch,
, InTouch . . . . . . . . . 11
InTouchViewApp . . . . . . . . . . . . . . 12
InTouch . . . . . . . . . 12
InTouchViewApp . . . . . . . . . . . . . . 12
InTouchViewApp . . . . . . . . . . . . . . . . . . 12
ViewEngine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
ArchestrA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
ArchestrA . . . . . . . . . . . . . . . . . . . . . . . 13
ArchestrA InTouch . . . . . . . . . . . . . . . . . 13
. . . . . 14
. . . . . . . . . . . . . . . . . . 14
. . . . . . . . . . . 15
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

InTouch . .

16

ArchestrA . . . . . . . . . . . . 17
InTouch, . . . . . . . . 17
WindowMaker ArchestrA . . . . . . 18
InTouch . . . . . . . . . . . . . . . . . 19
InTouch . . . . . . . . . . . . . . . . . . . 20
InTouchViewApp . . . . . . 22
InTouch,
, InTouch . . . . . . . . . . . . . . . 23
InTouch, . . . . . . . . 24

InTouch ArchestrA

Wonderware Russia (ZAO Klinkmann Spb)

ArchestrA WindowMaker 25
ArchestrA InTouch . . . . . . . . . . . . . . . . . . 26
ArchestrA . . . . . . . . . . . . . 26
ArchestrA . . . . . . . . . . . . . . . . . 28
ArchestrA Symbols
. . . . . . . . . . . . . . . . . . . . . . 28
ArchestrA WindowMaker . . . 29

WindowMaker ArchestrA . . . . . . . . . . . . . . . . . . 30
ArchestrA InTouch . . . . . . . 32

. . . . . . . . . . . . . . . . . . . . . . . . . . . 38
. . . . . 38
ArchestrA . . . . . . . . . . . . . . . . . . . . 39
ArchestrA . . . . . . . . . . . . . . . . . . . 40
ArchestrA
. . . . . . . . . . . . . . . . . . . . . . . . 40

ArchestrA . . . . . . . . . . . . . . . . . 40
ArchestrA ArchestrA . . 41
ArchestrA . . . . . . . . . . . . . 41
WindowMaker . . . . . . 42
WindowViewer . . . . . . 43
ArchestrA WindowViewer . . . . . . 43
. . . . . . . . . . . . . . . . 45

InTouch, ,
. . . . . . . . . . . . . . . . . . . . . . 46
InTouch, . . . . . . . . 47
InTouchViewApp . . . . . . . . . . . 47
InTouch,
. . . . . . . . . . . . . . . . . . . . . . . . . . 47
InTouch, . . . . . . . . . . 48
. . . . . . . 48
InTouchViewApp . . . 49

Wonderware Russia (ZAO Klinkmann Spb)

InTouch ArchestrA Integration Guide

1. InTouch ArchestrA

1
InTouch
ArchestrA


ArchestrA -
InTouch.

InTouch ArchestrA

ArchestrA InTouch. :

() ArchestrA
InTouch
InTouch.

ArchestrA

ArchestrA ArchestrA,
WindowMaker
InTouch.

InTouch ArchestrA

Wonderware Russia (ZAO Klinkmann Spb)

1. InTouch ArchestrA

ArchestrA

InTouch WindowMaker

()
InTouchViewApp

InTouch

ArchestrA

ArchestrA

InTouch

InTouch WindowViewer

ArchestrA

()
InTouchViewApp

InTouch,

InTouch,

InTouch
WindowMaker,
, ArchestrA Galaxy,
, :

ArchestrA.

WindowMaker.
ArchestrA InTouch.
InTouch

WindowViewer.

, ArchestrA
.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch ArchestrA Integration Guide

1. InTouch ArchestrA


InTouch ArchestrA :

InTouch
1.

WindowMaker

WindowViewer

InTouch

2.

ArchestrA

ArchestrA

ArchestrA
FactorySuite

ArchestrA
Galaxy

3.


ArchestrA

4.


ArchestrA

5.
ArchestrA
6.
InTouch


InTouchViewApp

7.
..

WindowMaker
..

8.


ArchestrA .
Galaxy

9.

WindowViewer

10.

InTouch,
InTouch
ArchestrA.
InTouch, .
InTouch,
InTouch,
ArchestrA
.

InTouch
.

InTouch
InTouch
InTouch Stand Alone (),
, WindowMaker.
InTouch
InTouch Managed ()

WindowMaker .

InTouch ArchestrA

Wonderware Russia (ZAO Klinkmann Spb)

1. InTouch ArchestrA

InTouch,
InTouch, , :

InTouch.

WindowMaker

InTouch.

DBLoad DBDump

InTouch,
.

InTouch,

InTouch,

InTouch.

Configure Security ( ) ,
InTouch, ,
WindowMaker.

. ,
InTouch, ,
,
,
.
:

a InTouch, ,

WindowMaker .

b Special (), Configure


(), WindowViewer.
c Managed Application (
)
Local Working Directory (
).

, :
InTouch,

WindowMaker WindowViewer
.

InTouch.
. WindowMaker

. WindowViewer
WindowMaker, .

InTouch

Wonderware Russia (ZAO Klinkmann Spb)

InTouch ArchestrA Integration Guide

1. InTouch ArchestrA

InTouchViewApp Object
ArchestrA InTouch
ArchestrA,
InTouchViewApp (: InTouch).
InTouchViewApp
InTouch, .
,
InTouchViewApp
.
,
InTouchViewApp . 9.

InTouch
InTouchViewApp :
InTouch,

InTouch,

, .

InTouch, ,
,
, .aaPKG
InTouch.
InTouch, ,
:
InTouch,

InTouch,

InTouchViewApp
, InTouch :
.
,

InTouch.

InTouch ArchestrA

Wonderware Russia (ZAO Klinkmann Spb)

1. InTouch ArchestrA

, InTouchViewApp
InTouchViewApp
(Automation).
,
.

InTouchViewApp


InTouchViewApp
$InTouchViewApp

InTouchViewApp,

$MyInTouchViewA
$MyInTouchViewA
$MyInTouchView
pp_Template
pp_Template
App_Template

WindowMaker

InTouchViewApp,

MyInTouchViewAp
MyInTouchViewAp
MyInTouchView
p_Instance
p_Instance
App_Instance

:
InTouchViewApp.

InTouchViewApp.
InTouchViewApp,

InTouchViewApp.

InTouchViewApp, ,

, InTouchViewApp.

InTouchViewApp.
InTouchViewApp

InTouch.
, .

Wonderware Russia (ZAO Klinkmann Spb)

InTouch ArchestrA Integration Guide

10

1. InTouch ArchestrA

InTouchViewApp . ,
WindowMaker
.

ArchestrA InTouch, InTouch

Galaxy
ArchestrA. ArchestrA ,
, Winplatform ,
InTouch,
.

InTouch,

InTouch,
, WindowMaker,
InTouch.
, :
InTouchViewApp

InTouch
WindowMaker.

WindowMaker

InTouch,
InTouchViewApp .

InTouch,

InTouch,
WindowViewer,
InTouch.
InTouch, ,
WindowMaker,
WindowViewer WindowMaker.

InTouchViewApp
,
InTouchViewApp ( ),
ViewEngine.
InTouchViewApp.
InTouch ,
InTouch, ,

Date Modified ( ).

InTouch ArchestrA

Wonderware Russia (ZAO Klinkmann Spb)

1. InTouch ArchestrA

11

, ,
WindowViewer. WindowViewer
, ,
.
, , c:\documents settings\all users\
application data\ArchestrA\managedapp.
InTouch,

INTOUCH


$InTouchViewApp

$MyITViewApp

WindowMaker

MyITViewApp_001

WindowViewer

InTouchViewApp
InTouchViewApp.
, , InTouch,
,
InTouchViewApp Galaxies.
, ,
,
InTouch, .

InTouch,
, InTouch
InTouch,
, to InTouch,
InTouch,
InTouchViewApp.
InTouch, ,
InTouch, , ,
ArchestrA.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch ArchestrA Integration Guide

12

1. InTouch ArchestrA

InTouch,

InTouch, :
ArchestrA

ArchestrA.

ArchestrA

ArchestrA


(Automation).

- ArchestrA.

, :
Galaxy

ArchestrA. , ,
Galaxy .

InTouch, ,

, , , , ,
, ,

InTouch.

InTouchViewApp
InTouchViewApp,
ArchestrA InTouchViewApp,
InTouch, .

InTouch
InTouch
InTouch,
. ,
ArchestrA

,
.

InTouchViewApp
InTouch,
, InTouchViewApp.
InTouchViewApp
InTouch.

InTouchViewApp
ArchestrA
InTouchViewApp
InTouch,
.
InTouch Galaxy
InTouchProxy.

InTouch ArchestrA

Wonderware Russia (ZAO Klinkmann Spb)

1. InTouch ArchestrA

13

ViewEngine
ViewEngine (: )
ArchestrA,
InTouchViewApp
.
ViewEngine,
InTouchViewApp
ViewEngine.

InTouchViewApp
ViewEngine.
ViewEngine

ViewEngine.

ArchestrA
ArchestrA ,
,
, -
ArchestrA.

ArchestrA
ArchestrA
ArchestrA .
:
ArchestrA

(Graphic Toolbox). -
ArchestrA -
ArchestrA,

ArchestrA,

ArchestrA.

ArchestrA InTouch
ArchestrA InTouch,
, .
ArchestrA
InTouch, :
(Graphic Toolbox),
(Automation),
(Automation).

Wonderware Russia (ZAO Klinkmann Spb)

InTouch ArchestrA Integration Guide

14

1. InTouch ArchestrA

ArchestrA , InTouch
,
.

1. (Automation) $Valve1

ArchestrA.

2. Graphics () ArchestrA,
ValveSymbol ( ).
3. InTouchViewApp

WindowMaker.

4. InTouch ArchestrA
ValveSymbol Automation $Valve1.

WindowMaker
.

5. , Valve1_E122 OK.

ArchestrA InTouch, ,
Valve1_E122, $Valve1
.


ArchestrA
ArchestrA,
. ArchestrA
WindowMaker, ArchestrA
.
WindowMaker ,
ArchestrA,
ArchestrA ,
().
.

1.

. 14

2. ArchestrA ValveSymbol,

$Valve1.

3. Close
and Save ( ).

(Automation) Valve1_E22.
WindowMaker Change Symbol (
).

4. .

WindowMaker.

InTouch ArchestrA

Wonderware Russia (ZAO Klinkmann Spb)

1. InTouch ArchestrA

15



,
ArchestrA.
, :

, .

,
.


.
:

ArchestrA.


,
,
ArchestrA ArchestrA
InTouch.
ArchestrA

INTOUCH WINDOWMAKER


ArchestrA

ArchestrA

Wonderware Russia (ZAO Klinkmann Spb)

InTouch ArchestrA Integration Guide

16

2. InTouch

2
InTouch

,
ArchestrA :
ArchestrA .
InTouch,

InTouch

InTouch,
.

WindowMaker .
,

WindowMaker, InTouch, ;

InTouch,

, InTouchViewApp;

InTouch,

, InTouch.

InTouch, .

InTouch ArchestrA

Wonderware Russia (ZAO Klinkmann Spb)

2. InTouch

ArchestrA

17

InTouch WindowMaker

InTouchViewApp
()

InTouch

InTouch,

aaPKG.
InTouch,

ArchestrA
ArchestrA
, InTouch,
ArchestrA InTouch.
ArchestrA
u InTouch

File (), ArchestrA.


ArchestrA .

Connect to Galaxy (
Galaxy).

InTouch,

InTouch,

InTouchViewApp.
InTouch, :
1. ArchestrA.
2. Toolbox,
System ().
3. $InTouchViewApp.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch ArchestrA Integration Guide

18

2. InTouch

4. .
InTouchViewApp Initialization ( InTouchViewApp).
5. Create New InTouch Application (
InTouch) Next ().

6. InTouch .
7. InTouchView Application ( InTouchView)

InTouch,
ArchestrA.

8. Next ().

WindowMaker.

: InTouch

\\$ARCHESTRA-GalaxyName-$InTouchViewAppObjectName.
IDE, InTouch.

WindowMaker
ArchestrA
InTouch,
, , WindowMaker
ArchestrA.
WindowMaker
InTouchViewApp, .
InTouch,
,
, .

( : InTouchViewApp,
, 1280*1024.
1024*768.
?
(Yes)
(No)
(Cancel) )

:
Yes () InTouch

No () InTouch

InTouch ArchestrA

Wonderware Russia (ZAO Klinkmann Spb)

2. InTouch

19

WindowMaker InTouchViewApp
1. ArchestrA.
2. InTouchViewApp,

InTouch, ,
.

3. . WindowMaker

,
, InTouch.
, .

WindowMaker InTouchViewApp
1. ArchestrA.
2. InTouchViewApp,

InTouch,
, .

3. .
InTouchViewApp Instance Edit (
InTouchViewApp).


( :
InTouchViewApp.
?
.
:
)

4. Yes ()
InTouchViewApp WindowMaker, No ()

, .

Dont ask me again (


) Yes (),
InTouchViewApp; InTouch,
,
InTouchViewApp.

InTouch
, InTouch,
,
.
InTouch:
1. InTouch,

, WindowMaker,

Wonderware Russia (ZAO Klinkmann Spb)

InTouch ArchestrA Integration Guide

20

2. InTouch

2. ,

InTouch.

3. File (), Exit ().

WindowMaker ,
. Check In (
).

4.
OK.
(Check In).
5. Close ().

InTouch
InTouch
InTouch,
. :
InTouchViewApp

InTouch.

InTouch.

InTouch
InTouch, .
: ArchestrA
InTouch ,
, InTouch
.
InTouch Galaxy
1. ArchestrA.
2. Toolbox

$InTouchViewApp.

3. .
InTouchViewApp Initialization ( InTouchViewApp).


( : InTouchViewApp
,
InTouch.
InTouch
InTouch
Next (), Cancel ())

InTouch ArchestrA

Wonderware Russia (ZAO Klinkmann Spb)

2. InTouch

21

4. Import Existing Application (


) Next ().


( : InTouchViewApp
: :\Users\wwuser\Documents\My InTouch
Applications

:
Name = ; Path = ; Description = .
Back = ; Next = ; Cancel = )

5. :
InTouch,

, .

Find applications ( ),
, Find
(). , InTouch ,

. .

6. Next (). .


( : InTouchViewApp
: Raleigh.
InTouchView
: InTouch
Back = ; Next = ; Cancel = )

7. :
Name () .

Wonderware Russia (ZAO Klinkmann Spb)

InTouch ArchestrA Integration Guide

22

2. InTouch

8. , , Next ().

,
.


( : InTouchViewApp
.
Done = )

9. Done ().

WindowMaker InTouch,
InTouch, InTouch,
.


InTouchViewApp

InTouchViewApp. InTouchViewApp
InTouch,

InTouch, Galaxy.
:
(Automation),
.
InTouchViewApp
u ArchestrA (.aaPKG),

InTouchViewApp,
. ,
.

InTouchViewApp
u ArchestrA (.aaPKG),

InTouchViewApp,
. ,
.

InTouch ArchestrA

Wonderware Russia (ZAO Klinkmann Spb)

2. InTouch

23

InTouch,
,
InTouch
InTouch,
, InTouch,
InTouch, ,
InTouchViewApp, .
,
, InTouch, .
: ,
InTouchViewApp.

InTouchViewApp .22.
InTouch, ,
InTouch:
1. ArchestrA.
2. InTouchViewApp,

InTouch, ,
.

3. ,
Export (),
InTouch Application.
Browse For Folder ( ).


( :
InTouch ()
Make New Folder = ; OK = ; Cancel = )

4. :
,

InTouch,

,
Make New Folder ( ).

Wonderware Russia (ZAO Klinkmann Spb)

InTouch ArchestrA Integration Guide

24

2. InTouch

5. , OK.
Export Automation Object(s)
( () ).


( : ()

1 1 ; Close = )

6. , Close
(). ,

InTouch.

InTouch,

InTouch ArchestrA,
InTouchViewApp.
, InTouch,
, .
InTouch ,
InTouchViewApp
.
InTouchViewApp
1. InTouchViewApp,

InTouch, ,
.

2. Edit () Delete ().


Delete ()
3. Yes (). InTouchViewApp

InTouch .

: InTouchViewApp
InTouch.

InTouch ArchestrA

Wonderware Russia (ZAO Klinkmann Spb)

3. ArchestrA WindowMaker

25

3
ArchestrA
WindowMaker

ArchestrA,
ArchestrA
InTouch, .
ArchestrA

InTouch WindowMaker

InTouchViewApp
()

ArchestrA

ArchestrA

InTouch,

InTouch WindowViewer


ArchestrA

InTouch,

:
ArchestrA InTouch.
ArchestrA.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch ArchestrA Integration Guide

26

3. ArchestrA WindowMaker

ArchestrA.
ArchestrA WindowViewer.

(Automation), ArchestrA.

ArchestrA InTouch
ArchestrA InTouch
InTouch, .
ArchestrA :
,
ArchestrA,
ArchestrA.
: ArchestrA
InTouchs.
InTouch, ,
InTouchs. , ArchestrA,
,
.

ArchestrA
ArchestrA ,
ArchestrA.
.
:
ArchestrA InTouch,
ArchestrA WindowViewer
. 43.
ArchestrA atemplate
1. Edit () WindowMaker,
Embed ArchestrA Symbol ( ArchestrA).
Galaxy Browser.

InTouch ArchestrA

Wonderware Russia (ZAO Klinkmann Spb)

3. ArchestrA WindowMaker

27

2. .
(Template Toolbox).


3. , ArchestrA,

. ArchestrA,
, .

4. ArchestrA, ,
OK. Galaxy ,

, InTouch.

5. InTouch,
ArchestrA. Create Instance.


6. OK.

,
. InTouch.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch ArchestrA Integration Guide

28

3. ArchestrA WindowMaker

ArchestrA
ArchestrA ,
ArchestrA, .
: ArchestrA ,
.
ArchestrA
1. Edit () WindowMaker,

Embed ArchestrA Symbol ( ArchestrA).


Galaxy Browser.

2. .

(Instances)


3. , ArchestrA,

. ArchestrA,
, .

4. ArchestrA, ,

OK. Galaxy ,
, InTouch.

5. InTouch,

ArchestrA. InTouch.

ArchestrA Symbols

ArchestrA
(Graphic Toolbox).

InTouch ArchestrA

Wonderware Russia (ZAO Klinkmann Spb)

3. ArchestrA WindowMaker

29

ArchestrA :
1. Edit () WindowMaker,
Embed ArchestrA Symbol ( ArchestrA).
Galaxy Browser.
2. .
(Graphic
Toolbox)


3. ArchestrA, ,
OK. ,

InTouch.

4. InTouch,

ArchestrA. InTouch.

ArchestrA
WindowMaker
ArchestrA
:
, , ,

, , ,
.
InTouch.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch ArchestrA Integration Guide

30

3. ArchestrA WindowMaker

WindowMaker.

ArchestrA InTouch.

ArchestrA.


WindowMaker ArchestrA

WindowMaker ArchestrA
, InTouch.
,
ArchestrA.
:
.
.
.
.
.
: ,
WindowMaker, ,
ArchestrA.
ArchestrA
WindowViewer.
WindowMaker
ArchestrA
1. ArchestrA.

InTouch ArchestrA

Wonderware Russia (ZAO Klinkmann Spb)

3. ArchestrA WindowMaker

31

2. Special (), Animation Links (


). .


( :
Object type =
Name =
OK = ()
Cancel =
Touch Links =
Line color =
Fill color =
Text color =
Discrete = ()
Analog =
String =
Discrete alarm = ()
Analog alarm =
Sliders =
Vertical =
Horizontal =
Object size =
Height =
Width =
Touch Pushbuttons =
Miscellaneous =
Value display =
Discrete value =
Action =
Show window =
Hide window =
Visibility =
Blink =
Orientation =
Disable =
Tooltip = )

3. ,

InTouch.

4. , OK.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch ArchestrA Integration Guide

32

3. ArchestrA WindowMaker

ArchestrA
InTouch
ArchestrA InTouch,
ArchestrA.
ArchestrA
InTouch.
ArchestrA InTouch
ArchestrA

4
3

InTouch WindowMaker

ARCHESTRA

InTouch
3
2

1
1

INTOUCH

ArchestrA InTouch,
:
ArchestrA

ArchestrA

galaxy:.

intouch:



ArchestrA .

InTouch ArchestrA

Wonderware Russia (ZAO Klinkmann Spb)

3. ArchestrA WindowMaker

33

ArchestrA InTouch
1.

ArchestrA InTouch. .

2. ArchestrA Graphic (
ArchestrA) Edit Custom Properties
( ).
Edit Custom Properties.


( :
Custom properties =
Name =
Default Value = ,
Data Type =
Visibility =
Description = )

3. ,

InTouch.
.

4. Default Value ( )

InTouch.

Select Tag ( ).

:
, Restore ().
5. , OK.

ArchestrA,
,
InTouch.

,
,
ArchestrA InTouch.
:
ArchestrA.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch ArchestrA Integration Guide

34

3. ArchestrA WindowMaker

InTouch.

WindowViewer.


ArchestrA
.
ArchestrA
1.

ArchestrA.

2. .

3. ,

, .


4. Special ()
Custom Properties ( ).
Edit Custom Properties (
).
5. , , ,

6. :
Data Type ( ) Float ().

InTouch ArchestrA

Wonderware Russia (ZAO Klinkmann Spb)

3. ArchestrA WindowMaker

35

Default Value ( ) 0.

7. OK.
8. ,

.
Edit Animations ( ).

9. % Vertical Fill (
).
10. , Analog (),

.
Level ().

11. OK Edit Animations


( ).
12. Close and Save ( )

ArchestrA.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch ArchestrA Integration Guide

36

3. ArchestrA WindowMaker

InTouch:
1. InTouch,

.
InTouch,
. 17.

2. InTouch, ,

WindowMaker.

3.

InTouch, TankLevel.

4. .


5.
ArchestrA, ArchestrA
Tank (), Edit Custom Properties
( ).
Edit Custom Properties (
).
6. Level (),

Default Value (, )
:
: TankLevel ( ).

InTouch ArchestrA

Wonderware Russia (ZAO Klinkmann Spb)

3. ArchestrA WindowMaker

37

TankLevel,
Select Tag ( ),


7. OK.
8.

InTouch TankLevel
( ).

9. WindowMaker.

InTouch, , .


1. InTouch,

,
Winplatform ViewEngine.

2.

WindowViewer.
WindowViewer .

3.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch ArchestrA Integration Guide

38

3. ArchestrA WindowMaker




ArchestrA .
ArchestrA , ,
, ,
ArchestrA.
:
ArchestrA,
(Graphics Toolbox), .


1.

ArchestrA. .

2. ArchestrA Graphic (
ArchestrA), Select Alternate Instance
( ).
Galaxy Browser.

,
.


3.
OK. ArchestrA

: ArchestrA InTouch .


ArchestrA ArchestrA,
.
:
ArchestrA,
(Graphic Toolbox),
.

InTouch ArchestrA

Wonderware Russia (ZAO Klinkmann Spb)

3. ArchestrA WindowMaker

39

ArchestrA

1.

ArchestrA. .

2. ArchestrA Graphic (
ArchestrA), Select Alternate Symbol
( ).
Galaxy Browser.


3.
OK.
4. ,

,
,

ArchestrA.

:
Yes () ,

ArchestrA.

No ()

ArchestrA ArchestrA.

ArchestrA
ArchestrA.

ArchestrA
ArchestrA
.
ArchestrA
1. ArchestrA.
2. Special (),
Substitute (), Substitute Strings
( ). Substitute
Strings ( ).
Wonderware Russia (ZAO Klinkmann Spb)

InTouch ArchestrA Integration Guide

40

3. ArchestrA WindowMaker

3.
OK. ArchestrA

ArchestrA
ArchestrA
.
ArchestrA
1. ArchestrA.
2. Special (), Substitute
Tags ( ). Substitute Tags
( ).
3.
OK. ArchestrA

ArchestrA

ArchestrA

ArchestrA.
ArchestrA

1.

ArchestrA,
. .

2. ArchestrA Graphic (),


Symbol Original Size (
).

ArchestrA .


ArchestrA

ArchestrA.
,

:

,

:

InTouch ArchestrA

Wonderware Russia (ZAO Klinkmann Spb)

3. ArchestrA WindowMaker 41

.
:

ArchestrA .

:
1.

ArchestrA. .

2. ArchestrA Graphic (
ArchestrA), Dynamic Size
Change ( ).

ArchestrA
ArchestrA
ArchestrA
ArchestrA,
ArchestrA.
:
1. ArchestrA

ArchestrA, . ArchestrA
,
(Graphic Toolbox).

2. WindowMaker,

Symbol Changed ( ) .
WindowMaker.

ArchestrA
ArchestrA
WindowMaker InTouch.

InTouch, ,
InTouchs.
: ,
ArchestrA, ArchestrA
.
WindowMaker . 42
ArchestrA
ArchestrA
1.

ArchestrA. .

Wonderware Russia (ZAO Klinkmann Spb)

InTouch ArchestrA Integration Guide

42

3. ArchestrA WindowMaker

2. ArchestrA Graphic (
ArchestrA), Edit Symbol (
). ArchestrA

ArchestrA.


3. ArchestrA.


ArchestrA .

4. , Close and Save (


). ,

ArchestrA .

5. ArchestrA ,


WindowMaker
ArchestrA ,
WindowMaker,
WindowMaker.
WindowMaker
u :
Symbol Changed (

) .

InTouch,

ArchestrA .

, ArchestrA,
InTouch.

InTouch ArchestrA

Wonderware Russia (ZAO Klinkmann Spb)

3. ArchestrA WindowMaker 43


WindowViewer
ArchestrA ,
WindowViewer,
WindowViewer.

ArchestrA,
ArchestrA WindowViewer . 43.
WindowViewer

u :
WindowMaker,

WindowViewer.

InTouch .

, ArchestrA,
ArchestrA InTouch.

ArchestrA
WindowViewer
ArchestrA
InTouch
InTouchViewApp.
ArchestrA, :
ArchestrA

(Graphic Toolbox)
.

InTouch, .

Wonderware Russia (ZAO Klinkmann Spb)

InTouch ArchestrA Integration Guide

44

3. ArchestrA WindowMaker

ArchestrA InTouch,


ArchestrA
ArchestrA

ArchestrA

ArchestrA

WindowMaker

ArchestrA

InTouch


WindowMaker

WindowViewer


WindowViewer

ArchestrA

WindowViewer


WindowMaker

ArchestrA
WindowViewer
1. WindowMaker Runtime (
) WindowViewer.
2. ,

( ),
.

: WindowMaker
ArchestrA.
ArchestrA
WindowViewer
1. ArchestrA .
2. . WindowViewer:
,

WindowViewer ,
. Yes ().

InTouch ArchestrA

Wonderware Russia (ZAO Klinkmann Spb)

3. ArchestrA WindowMaker 45

WindowMaker WindowViewer ,
.

: , ArchestrA
, WindowViewer
,
WindowViewer.



(Automation),
ArchestrA.

ArchestrA.
:
(Automation) ArchestrA,
. ArchestrA,
(Graphic Toolbox),
.

1.

ArchestrA. .

2. ArchestrA Graphic (
ArchestrA), New Instance (
). Create Instance
( ).


3. OK.

,
.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch ArchestrA Integration Guide

46

4. InTouch, ,

4

InTouch, ,

InTouch,
,
InTouchViewApp .
ArchestrA

InTouchViewApp
()

InTouchViewApp
()

InTouchViewApp
()




InTouch
WindowViewer
1

InTouch
WindowViewer
2

InTouch,

InTouch,

WindowViewer


InTouch 1

InTouch ArchestrA


InTouch 2

Wonderware Russia (ZAO Klinkmann Spb)

4. InTouch, , 47

InTouch
ArchestrA
, .

InTouch,

InTouch,
, ArchestrA
. , ,
WindowViewer .

InTouchViewApp
InTouchViewApp ,
InTouch
, .
.
InTouch, :
1. ArchestrA.
2. InTouchViewApp,

InTouch, .

3. Deploy ().
Deploy.
4. OK, InTouch

InTouch,

InTouch,
, :
,

ArchestrA, InTouch,
.

InTouch,

, WindowMaker
InTouchViewApp.

, ,

. Pending Changes
( ).

Wonderware Russia (ZAO Klinkmann Spb)

InTouch ArchestrA Integration Guide

48

4. InTouch, ,

InTouch,
:
1. ArchestrA.
2. InTouchViewApp,

InTouch,
.

3. Deploy ().
Deploy.
4. OK,

:
WindowViewer.
, .

. 48.

InTouch,

,
WindowViewer InTouch,
.
InTouch,
1. , InTouchViewApp,

InTouch.

2.

InTouch ,
WindowViewer.

3. WindowViewer.

WindowViewer .



InTouch,
, InTouchViewApp,
,
.
, ,
InTouch, ,
:
WindowViewer

InTouch.

InTouch ArchestrA

Wonderware Russia (ZAO Klinkmann Spb)

4. InTouch, , 49

WindowViewer.


( : WindowViewer:
.
,
WindowViewer.
?
Yes = , No = )

: ,
WindowViewer,
.

u Yes. InTouch,

, ,
WindowViewer , .

InTouchViewApp

InTouch,
, (Terminal Services).
,
InTouch
.
:
InTouch.
InTouchViewApp

ViewEngine.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch ArchestrA Integration Guide

50

4. InTouch, ,

InTouch,

InTouch,
,

Galaxy

ArchestrA

$InTouchViewApp1
$InTouchViewApp2
ViewEngine1
InTouchViewApp1

WindowMaker

ViewEngine2
InTouchViewApp2

WindowViewer,

InTouchViewApp1
WindowViewer,

InTouchViewApp1

InTouch ArchestrA

InTouch
(
)

Wonderware Russia (ZAO Klinkmann Spb)

51

InTouch Archestra

2008

www.klinkmann.com

1.0

-
. +7 812 327 3752
klinkmann@klinkmann.spb.ru

. +7 846 993 49 33
samara@klinkmann.spb.ru

Rga
tel. +371 738 1617
klinkmann@klinkmann.lv

. +7 495 641 16 16
moscow@klinkmann.spb.ru

. +38044 495-33-40
klinkmann@klinkmann.kiev.ua

Tallinn
tel. + 372 6 684 500
klinkmann.est@klinkmann.ee

Helsinki
ph. +358 9 540 4940

Wonderware Russia
(ZAO Klinkmann Spb)
automation@klinkmann.fi
. +7 343 376 53 93
yekaterinburg@klinkmann.spb.ru

InTouch ArchestrAVilnius
Integration Guide
. +375 17 2000876
tel. +370 5 215 1646
minsk@klinkmann.com
post@klinkmann.lt


InTouch HMI

1. . . . . . . . 20
InTouch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
. . . . . . . . . . . . . . . . . . . . . . . . . . . 22
. . . . . . . . . . . . . . . . . . . . . . . . . . 23
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
InTouch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
InTouch . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
. . . . . . . . . . . . . . . . . . . . . . 26
. . . . . . . . . . . . . . . . . . . . . . . . . . . 26
. . . . . . . . . . . . . . . . . . . . . . 27
InTouch . . . . . . . . . . . . . . . 28
. . . . . . . . . . . . . . . . . . . . 30
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
. . . . . . . . . . . . . . . . . . . . . . . . . . . 31
. . . . . . . . . . . . . . . . . 32
. . . . . . . . . . . . . . . . . . . . . 33
, . . . . . . . . . . . . . . . 33
. . . . . . . . . . . . . . 34
. . . . . . . . . 35

2. . . . . . . . . . . . . . . . . . . 36
. . . . . . . . . . . . . . . . . . . . . . . . . . 36
. . . . . . . . . . . . . . . . . . . . . . . . . 37
. . . . . . . . . . . . . . . . . . . . . . . . 39
. . . . . . . . . . . . . . . . . . . . . . . . . 40
. . . . . . . . . . . . . . . . . . . . 40
. . . . . . . . . . . . . . . . . . . . . . 40
. . . . . . . . . . . . . . . . . 42
. . . . . . . . . . . . . . . . . . . . . . 44
. . . . . . . . . . . . . . . . . 46
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
. . . . . . . . . . . . . . 49
. . . . . . . 49
. . . . . . . . . . . . . . . . . . . 50

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)


. . . . . . . . . . . . . . . . . . . . . 51
. . . . . . . . . . . . . . . . . . . . 52
. . . . . . . . . . . . . . 53

. . . . . . . . . . . . . . . . . . 54
. . . . . . . . . . . . . . . . . . 55

3. . . . . . . . . . . . . . . . . . . . 57
InTouch . . . . . . . . . . . . . 59

4. . . . . . . . . . . . . . 60
. . . . . . . . . . . . . 61
. . . . . . . . . . . . . . . . . . . . . . 61
. . . . . . . . . . . . . . . 65
. . . . . . . . . . . 65
. . . . . . . . . . 69
. . . . . . . . . . . . . . . . . . . . . 72

. . . . . . . . . . . . . . . . . . . 74
. . . . . 75
. 77
. . . . . . . . . . 79
. . . . . . . . . . . . . . 80
. . . . . . . . . . . . . . . . . . . . . 81
. . . . . . . . . . 82
ActiveX . . 84
ActiveX . . . . . . . . . 92
ActiveX . 93
. . . . . . . . . . . . . . . . . . . . . . . . . . 93
AckSelected() . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
AckAll() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
AckVisible() . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
AckSelectedGroup() . . . . . . . . . . . . . . . . . . . . . . . . 95
AckSelectedTag() . . . . . . . . . . . . . . . . . . . . . . . . . 96
AckSelectedPriority() . . . . . . . . . . . . . . . . . . . . . . . 96
AckGroup() . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
AckPriority() . . . . . . . . . . . . . . . . . . . . . . . . . . . 97

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

AckTag() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
ShowSuppression() . . . . . . . . . . . . . . . . . . . . . . . . 99
SuppressSelected() . . . . . . . . . . . . . . . . . . . . . . . . 99
SuppressAll() . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
SuppressVisible() . . . . . . . . . . . . . . . . . . . . . . . . . 100
SuppressSelectedGroup() . . . . . . . . . . . . . . . . . . . . 100
SuppressSelectedTag() . . . . . . . . . . . . . . . . . . . . . . 100
SuppressSelectedPriority() . . . . . . . . . . . . . . . . . . . 101
UnSuppressAll() . . . . . . . . . . . . . . . . . . . . . . . . . 101
SuppressGroup() . . . . . . . . . . . . . . . . . . . . . . . . . 101
SuppressPriority() . . . . . . . . . . . . . . . . . . . . . . . . 102
SuppressTag() . . . . . . . . . . . . . . . . . . . . . . . . . . 103
. . . . . . . . . . . . . . . . . . . . . . 104
GetItem() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
. . . . . . . . . . . . . . . . . . . . . . . . . . . 104
ShowQueryFavorites() . . . . . . . . . . . . . . . . . . . . . . 104
Requery() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
ApplyQuery() . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
ApplyDefaultQuery() . . . . . . . . . . . . . . . . . . . . . . . 106
SetQueryByName() . . . . . . . . . . . . . . . . . . . . . . . 106
. . . . . . . . . . . . . . . . . 107
MoveWindow() . . . . . . . . . . . . . . . . . . . . . . . . . . 107
FreezeDisplay() . . . . . . . . . . . . . . . . . . . . . . . . . 108
. . . . . . . . . . . . . . . . . . . . . 108
ShowSort() . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
SetSort() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
. . . . . . . . . . . . . . . . . . . . 109
AboutBox() . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
ShowStatistics() . . . . . . . . . . . . . . . . . . . . . . . . . 109
. . . . . . . . . . . . . . . . . . . . . . . . . 110
SelectGroup() . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
SelectPriority() . . . . . . . . . . . . . . . . . . . . . . . . . . 110
SelectTag() . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
SelectAll() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
SelectItem() . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
UnSelectAll() . . . . . . . . . . . . . . . . . . . . . . . . . . . 112

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

. . . . . . . . . . . . . . . . . . . . . . . . . 112
ShowContext() . . . . . . . . . . . . . . . . . . . . . . . . . . 112
. . . . . . . . . 113
ActiveX . . . . . . . . . . 113
. . . . . . . . . . . 114

5. . . . . 115
. . . . . . . . . . . . . . . . . . . . . . . 116
, . . . 116
. . . . . . . . 116
. . . . . . . . . . . . . . 117
. . . . . . . . . . . 117
, . . . . 118
. . . . . . . . 119
.AlarmAckModel . . . . . . . . . . . . . . . . . . . . 119
. . . . . . 120
. . . . . . . . . . . . . . 120
.Ack . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
.UnAck . . . . . . . . . . . . . . . . . . . . . . . . . 121
. . . . . . . . . . . . . . 122
.AckValue . . . . . . . . . . . . . . . . . . . . . . . . 122
. . . . . . . . . . . . . . . . . . 124
.AckDsc . . . . . . . . . . . . . . . . . . . . . . . . . 124
. . . . . . . . . . . . . . . . . . 125
.AckDev . . . . . . . . . . . . . . . . . . . . . . . . . 125
. . . . . . . . . . . . . 126
.AckROC . . . . . . . . . . . . . . . . . . . . . . . . 126
. . . . 127
Ack() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
. . . . . 129

. . . . . . . . . . . . . . 130
. . . . . . . . . . . . . . . . 130
. . . . . . . . 132

6.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
. . . . . . . . . 140

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

$NewAlarm . . . . . . . . . . . . . . . . . . . . . . . . 141
$System . . . . . . . . . . . . . . . . . . . . . . . . . . 141
.Alarm . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
.Normal . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
.AlarmDsc . . . . . . . . . . . . . . . . . . . . . . . . . 144
.AlarmDev . . . . . . . . . . . . . . . . . . . . . . . . . 145
.AlarmROC . . . . . . . . . . . . . . . . . . . . . . . . . 146
.LoStatus . . . . . . . . . . . . . . . . . . . . . . . . . . 147
.LoLoStatus . . . . . . . . . . . . . . . . . . . . . . . . 148
.HiStatus . . . . . . . . . . . . . . . . . . . . . . . . . . 149
.HiHiStatus . . . . . . . . . . . . . . . . . . . . . . . . 150
.MinorDevStatus . . . . . . . . . . . . . . . . . . . . . . 151
.MajorDevStatus . . . . . . . . . . . . . . . . . . . . . . 152
.ROCStatus . . . . . . . . . . . . . . . . . . . . . . . . 153
. . . . . . . . . . . . . 154
.LoLoSet . . . . . . . . . . . . . . . . . . . . . . . . . . 154
.LoSet . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
.HiSet . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
.HiHiSet . . . . . . . . . . . . . . . . . . . . . . . . . . 157
.MinorDevSet . . . . . . . . . . . . . . . . . . . . . . . 158
.MajorDevSet . . . . . . . . . . . . . . . . . . . . . . . 159
.ROCSet . . . . . . . . . . . . . . . . . . . . . . . . . . 160
. . . . 161
. . . . . . . . . . . . . . . . . 161
.AlarmEnabled . . . . . . . . . . . . . . . . . . . . . 161
.AlarmDisabled . . . . . . . . . . . . . . . . . . . . . 162
163
.AlarmLoLoEnabled . . . . . . . . . . . . . . . . . . 163
.AlarmLoLoDisabled . . . . . . . . . . . . . . . . . . 164
. . . . . . . . . 165
.AlarmLoEnabled . . . . . . . . . . . . . . . . . . . . 165
.AlarmLoDisabled . . . . . . . . . . . . . . . . . . . 166
. . . . . . . . . 167
.AlarmHiEnabled . . . . . . . . . . . . . . . . . . . . 167
.AlarmHiDisabled . . . . . . . . . . . . . . . . . . . 168

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

.AlarmHiHiEnabled . . . . . . . . . . . . . . . . . . 169
.AlarmHiHiDisabled . . . . . . . . . . . . . . . . . . 170
. . . . . . . . . . . . 171
.AlarmDscEnabled . . . . . . . . . . . . . . . . . . . 171
.AlarmDscDisabled . . . . . . . . . . . . . . . . . . . 172
. . . . . . . . 173
.AlarmMinDevEnabled . . . . . . . . . . . . . . . . . 173
.AlarmMinDevDisabled . . . . . . . . . . . . . . . . 174
. . . . 175
.AlarmMajDevEnabled . . . . . . . . . . . . . . . . . 175
.AlarmMajDevDisabled . . . . . . . . . . . . . . . . . 176
. . . . . . . 177
.AlarmROCEnabled . . . . . . . . . . . . . . . . . . 177
.AlarmROCDisabled . . . . . . . . . . . . . . . . . . 178
. . . . . . . . . . . . . . . . . . . . . 179
.LoLoLimit . . . . . . . . . . . . . . . . . . . . . . . . . 179
.LoLimit . . . . . . . . . . . . . . . . . . . . . . . . . . 180
.HiLimit . . . . . . . . . . . . . . . . . . . . . . . . . . 181
.HiHiLimit . . . . . . . . . . . . . . . . . . . . . . . . . 182
.MinorDevPct . . . . . . . . . . . . . . . . . . . . . . . 183
.MajorDevPct . . . . . . . . . . . . . . . . . . . . . . . . 184
.DevTarget . . . . . . . . . . . . . . . . . . . . . . . . . 185
.ROCPct . . . . . . . . . . . . . . . . . . . . . . . . . . 186
. . . . . . . . . . . . . 187
.AlarmValDeadband . . . . . . . . . . . . . . . . . . . . 187
.AlarmDevDeadband . . . . . . . . . . . . . . . . . . . 188
, . . . . . . . . . . . 189
.AlarmComment . . . . . . . . . . . . . . . . . . . . . . 189
. . 190
.AlarmUserDefNumX . . . . . . . . . . . . . . . . . . . 190
.AlarmUserDefStr . . . . . . . . . . . . . . . . . . . . . 192
. . . . . . . . . . 194
.AlarmDscInhibitor . . . . . . . . . . . . . . . . . . . . 194
.AlarmLoLoInhibitor . . . . . . . . . . . . . . . . . . . 195
.AlarmLoInhibitor . . . . . . . . . . . . . . . . . . . . . 196
.AlarmHiInhibitor . . . . . . . . . . . . . . . . . . . . . 197
.AlarmHiHiInhibitor . . . . . . . . . . . . . . . . . . . . 198

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

.AlarmMinDevInhibitor . . . . . . . . . . . . . . . . . . 199
.AlarmMajDevInhibitor . . . . . . . . . . . . . . . . . . 200
.AlarmROCInhibitor . . . . . . . . . . . . . . . . . . . . 201
. . . . . 202
.AlarmTotalCount . . . . . . . . . . . . . . . . . . . . . 203
.AlarmUnAckCount . . . . . . . . . . . . . . . . . . . . 204
.AlarmValueCount . . . . . . . . . . . . . . . . . . . . . 205
.AlarmValueUnAckCount . . . . . . . . . . . . . . . . . 206
.AlarmDscCount . . . . . . . . . . . . . . . . . . . . . . 207
.AlarmDscUnAckCount . . . . . . . . . . . . . . . . . . 208
.AlarmDevCount . . . . . . . . . . . . . . . . . . . . . . 209
.AlarmDevUnAckCount . . . . . . . . . . . . . . . . . . 210
.AlarmROCCount . . . . . . . . . . . . . . . . . . . . . 211
.AlarmROCUnAckCount . . . . . . . . . . . . . . . . . 212

7. . . . . . . . . . . . . . 213

. . . . . . . . . . . . . . . . . . 214
. . . . . . . . . . . . . . . . . . . 214
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
. . . . . . . . . . . . . . . . . 217
. . . . . . . . . . 218
. . . . . . . . . 219

. . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
. . . . . . . . . . . . . 222

. . . . . . . . . . . . . . . . . . . . . . . . . . 223
. . . . . . . . . . . . . . . . . . . . . 224
. . . . . . . . . . . . . . . . . . . 224
ActiveX
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
ActiveX
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
. . . . . . . . . . . 228
AboutBox() . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
GetElementCount() . . . . . . . . . . . . . . . . . . . . . . . 228
. . . . . . . . . . . 229

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

CheckElementMembership() . . . . . . . . . . . . . . . . . . 229
GetElementCount() . . . . . . . . . . . . . . . . . . . . . . . 229
GetElementName() . . . . . . . . . . . . . . . . . . . . . . . 230
GetElementPath() . . . . . . . . . . . . . . . . . . . . . . . . 230
GetSelectedElementCount() . . . . . . . . . . . . . . . . . . . 230
GetSelectedElementName() . . . . . . . . . . . . . . . . . . . 231
GetSelectedElementPath() . . . . . . . . . . . . . . . . . . . 231
GetSubElementCount() . . . . . . . . . . . . . . . . . . . . . 231
GetSubElementName() . . . . . . . . . . . . . . . . . . . . . 232
GetSubElementPath() . . . . . . . . . . . . . . . . . . . . . . 233
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
Freeze() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
. . . . . . . . . . . 234
GetAlarmQueryFromSelection() . . . . . . . . . . . . . . . . 234
. . . . . . . . . . . . . . . . . . . . . . . . . . . 235
SetQueryByName() . . . . . . . . . . . . . . . . . . . . . . . 235
SetQueryByString() . . . . . . . . . . . . . . . . . . . . . . . 235
. . . . . . . . . 236
ActiveX
. . . . . . . . . . . . . . . 236

. . . . . . . . . . . . . . . . . . . . . 236

8. . . . . . . . . . . . . . . . . . . . 238
. . . . . . . . . . . . . . . . . 239
. . . . . . . . . . . . . . . . . . . . . 239
. . . . . . . . . . . . . . . . . . . . . . . . 241
. . . . . . . . . . . . . . 242
- . . . . . . . . 246
. . . . . . . . . . . . . 248
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249
. 249
. . . . . . . . . . . . . . . . . . . . . . . . 250
. . . . . . . . . . 251
. . . . . . 251
. . 252
APUStartInstance() . . . . . . . . . . . . . . . . . . . . . 252
APUStartQuery() . . . . . . . . . . . . . . . . . . . . . . . 253

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

10

APUStopInstance() . . . . . . . . . . . . . . . . . . . . . . 254
APUStopQuery() . . . . . . . . . . . . . . . . . . . . . . . 254
. . . . . . . . . . . . . . 255
APUGetAlarmGroupText() . . . . . . . . . . . . . . . . . . 256
APUGetQueryFromPriority() . . . . . . . . . . . . . . . . 257
APUGetQueryToPriority() . . . . . . . . . . . . . . . . . . 258
APUGetConfigurationFilePath() . . . . . . . . . . . . . . . 259
APUGetPrinterJobCount() . . . . . . . . . . . . . . . . . . 260
APUGetQueryAlarmState() . . . . . . . . . . . . . . . . . 261
APUGetQueryProcessingState() . . . . . . . . . . . . . . . 262
. . . . . . . . . . . . . . . . . . 263
APUFindAlarmGroupInstance() . . . . . . . . . . . . . . . 263
APUFindFileInstance() . . . . . . . . . . . . . . . . . . . . 264
APUFindPrinterInstance() . . . . . . . . . . . . . . . . . . 265
APUGetInstanceCount() . . . . . . . . . . . . . . . . . . . 266
APUIsInstanceUsed() . . . . . . . . . . . . . . . . . . . . 267
. . . . . . . 268
APUGetPrinterName() . . . . . . . . . . . . . . . . . . . . 268
APUGetPrinterStatus() . . . . . . . . . . . . . . . . . . . 269
. . . . . . . . . . . . . . . . . . . . . . . 270
APUSetAlarmGroupText() . . . . . . . . . . . . . . . . . . 270
APUSetQueryAlarmState() . . . . . . . . . . . . . . . . . 271
APUSetQueryFromPriority() . . . . . . . . . . . . . . . . . 272
APUSetQueryToPriority() . . . . . . . . . . . . . . . . . . 273
APUSetTimeoutValues() . . . . . . . . . . . . . . . . . . . 274
. . . . . . . . . . . . . . . . . . 275
APUTranslateErrorCode() . . . . . . . . . . . . . . . . . . 275

9. . . . . . . . . . . . . . . . . 276
SQL Server
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
. . . . . . . . . . 277
. . . . . . . . . . . . . . 278
. . . . . . . . . . . . . . . . . 278
. . . . . . . . . . . . . . . . . . . . . 279
. . . . . . . . . . . . . . . . . . . . 281
. . . . . . 282
. . . . . . . . . . . . 283

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

11

. . . . . . . . . . . . . . . . . . . . . . . . 283
. . . . . . . . . . . . . . . . . . . . . 284
. . . . . . . 286
. . . . . . . . . . . . . . . . . . . . . 287
. . . . . . . . . . . . . . . 288
. . . 290
AlarmSuite . . . . . . . . . . . . . . 291
-
. . . . . . . . . . . . . . . . . . . . . . . . . . . 291
. . . . . . . . . . . . . . . . . . . . 292
. . . . . . . . . . . . . . . . . . . . . . . . 292
AlarmCounter . . . . . . . . . . . . . . . . . . . 293
: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294
EventCounter . . . . . . . . . . . . . . . . . . . 294
: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294

10. . . . . . . . . . . . 295

. . . . . . . . . . . . . . . . . . 296
. . . . . . . . . . . . . . . . . 297
. . . . . . . . . . . . . . . . . . . . . 298
. . . . . . . . . . . . . . . . . . 299
. . . . . . . . . . . . . . . . . . . . . . . . 300
. . . . . . . . . . . . . . . 301
. . . . . . . . . . 303

. . . . . . . . . . . . . . . . . . . . . . 305
. . 307
. . . . . . . . . . . . . . . . . . . . . . . . 308

. . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
. . . . . . . . . . . . . . . . . . . . . . 311
. . . . . . . . . . . . . . . . . . . 312
. . . . . . . . . . 312
State . . . . . . . . . . . . . . . . . . . . . . . . 313
. . . . . 314
. . . . . . . . . . 316

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

12

. . . . . . . . . . . . . . . . . . . . . . . . . . 317
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 317
. . . . . . . . . . . . . . . . . . . . . 318
ActiveX . . . . . . . . . . . 318
AckAlmBackColor . . . . . . . . . . . . . . . . . . . . . . . . 318
AckAlmBackColorRange1 . . . . . . . . . . . . . . . . . . . . 319
AckAlmBackColorRange2 . . . . . . . . . . . . . . . . . . . . 319
AckAlmBackColorRange3 . . . . . . . . . . . . . . . . . . . . 320
AckAlmBackColorRange4 . . . . . . . . . . . . . . . . . . . . 320
AckAlmForeColor . . . . . . . . . . . . . . . . . . . . . . . . 321
AckAlmForeColorRange1 . . . . . . . . . . . . . . . . . . . . 321
AckAlmForeColorRange2 . . . . . . . . . . . . . . . . . . . . 322
AckAlmForeColorRange3 . . . . . . . . . . . . . . . . . . . . 322
AckAlmForeColorRange4 . . . . . . . . . . . . . . . . . . . . 323
AckRtnBackColor . . . . . . . . . . . . . . . . . . . . . . . . 323
AckRtnForeColor . . . . . . . . . . . . . . . . . . . . . . . . . 324
AlmRtnBackColor . . . . . . . . . . . . . . . . . . . . . . . . 324
AlmRtnForeColor . . . . . . . . . . . . . . . . . . . . . . . . 325
AutoConnect . . . . . . . . . . . . . . . . . . . . . . . . . . . 325
ColorPriorityRange1 . . . . . . . . . . . . . . . . . . . . . . . 326
ColorPriorityRange2 . . . . . . . . . . . . . . . . . . . . . . . 326
ColorPriorityRange3 . . . . . . . . . . . . . . . . . . . . . . . 326
ColumnResize . . . . . . . . . . . . . . . . . . . . . . . . . . 327
ConnectStatus . . . . . . . . . . . . . . . . . . . . . . . . . . 327
CustomMessage . . . . . . . . . . . . . . . . . . . . . . . . . 328
DatabaseName . . . . . . . . . . . . . . . . . . . . . . . . . . 328
DisplayMode . . . . . . . . . . . . . . . . . . . . . . . . . . . 329
DisplayedTimeZone . . . . . . . . . . . . . . . . . . . . . . . 329
Duration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 330
EndTime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331
EventBackColor . . . . . . . . . . . . . . . . . . . . . . . . . 331
EventForeColor . . . . . . . . . . . . . . . . . . . . . . . . . 332
FilterFavoritesFile . . . . . . . . . . . . . . . . . . . . . . . . 332
FilterMenu . . . . . . . . . . . . . . . . . . . . . . . . . . . . 332
FilterName . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333
FromPriority . . . . . . . . . . . . . . . . . . . . . . . . . . . 333
GroupExactMatch . . . . . . . . . . . . . . . . . . . . . . . . 334

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

13

GroupName . . . . . . . . . . . . . . . . . . . . . . . . . . . 334
MaxRecords . . . . . . . . . . . . . . . . . . . . . . . . . . . 335
Password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335
PrimarySort . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
ProviderExactMatch . . . . . . . . . . . . . . . . . . . . . . . 336
ProviderName . . . . . . . . . . . . . . . . . . . . . . . . . . 337
QueryTimeZoneName . . . . . . . . . . . . . . . . . . . . . . 337
RefreshMenu . . . . . . . . . . . . . . . . . . . . . . . . . . . 338
ResetMenu . . . . . . . . . . . . . . . . . . . . . . . . . . . . 338
RowCount . . . . . . . . . . . . . . . . . . . . . . . . . . . . 338
RowSelection . . . . . . . . . . . . . . . . . . . . . . . . . . . 339
SecondarySort . . . . . . . . . . . . . . . . . . . . . . . . . . 339
ServerName . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
ShowFetch . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
ShowGrid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
ShowGrid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341
ShowHeading . . . . . . . . . . . . . . . . . . . . . . . . . . 341
ShowMessage . . . . . . . . . . . . . . . . . . . . . . . . . . 341
ShowStatusBar . . . . . . . . . . . . . . . . . . . . . . . . . 342
SilentMode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342
SortMenu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
SortOrder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
SpecificTime . . . . . . . . . . . . . . . . . . . . . . . . . . . 344
StartTime . . . . . . . . . . . . . . . . . . . . . . . . . . . . 344
Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345
ToPriority . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345
TotalRowCount . . . . . . . . . . . . . . . . . . . . . . . . . . 346
UnAckAlmBackColor . . . . . . . . . . . . . . . . . . . . . . 346
UnAckAlmBackColorRange1 . . . . . . . . . . . . . . . . . . 347
AckAlmBackColorRange2 . . . . . . . . . . . . . . . . . . . . 347
AckAlmBackColorRange3 . . . . . . . . . . . . . . . . . . . . 348
UnAckAlmBackColorRange4 . . . . . . . . . . . . . . . . . . 348
UnAckAlmForeColor . . . . . . . . . . . . . . . . . . . . . . . 349
UnAckAlmForeColorRange1 . . . . . . . . . . . . . . . . . . 349
UnAckAlmForeColorRange2 . . . . . . . . . . . . . . . . . . 350
UnAckAlmForeColorRange3 . . . . . . . . . . . . . . . . . . 350
UnAckAlmForeColorRange4 . . . . . . . . . . . . . . . . . . 351

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

14

UnAckOrAlarmDuration . . . . . . . . . . . . . . . . . . . . 351
UserID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351
ActiveX . . . . . . . . . . 352
. . . . . . . . . . . . . . . 352
Connect() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 352
Disconnect() . . . . . . . . . . . . . . . . . . . . . . . . . . . 352
. . . . . . . . . . . . . . . . . . 353
SelectQuery() . . . . . . . . . . . . . . . . . . . . . . . . . . . 353
GetPrevious() . . . . . . . . . . . . . . . . . . . . . . . . . . . 353
GetNext() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 354
Refresh() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 354
. . . . . . . . . . . . . . . . . . . 355
GetItem() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355
GetSelectedItem() . . . . . . . . . . . . . . . . . . . . . . . . 355
. . . . . . . . . . . . . . . . . . . . . 356
SortOnCol() . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356
ShowSort() . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356
Reset() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356
. . . . . . . . . . . . . . . . . . . . . . . . . 357
ShowContext() . . . . . . . . . . . . . . . . . . . . . . . . . . 357
. . . . . . . . . . . . . . . . . . . . . . 357
ShowFilter() . . . . . . . . . . . . . . . . . . . . . . . . . . . 357
. . . . . . . . . . . . . . . . . . . . . . . . 357
AboutBox() . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357
. . . . . . . . . 358
GetLastError() . . . . . . . . . . . . . . . . . . . . . . . . . . 358
ActiveX
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 359

11. . . . . . . 360
ActiveX . . . . . . . . 360
. . . . . . . . . . . . . . . . . 361

. . . . . . . . . . . . . . . . . . . . . . . . 362
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 365
. . . . . . . . . . 366
. . . . . . . . . . . . . . . . . . . . . . . 367
. . . . . . . . . . . . . . . . . . . . . . . . . . . 367

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

15

. . . . . . . . . . . . . . . . . . . . . . . . 368

. . . . . . . . . . . . . . . . . . . . . . . . . . . . 369
. . . . . . . . . . . . . . . . . . . . . . 371
. . . . . . . . . . . . . . . . . . . 372
. . . . . . . . . . 373
. . . . . . . . . . . . 374
. . . . . . . . . . . . . 375
. . . . . . . . . . . . . . . . . . . . . 375
ActiveX . . . . . . . . . . . . . 376
ActiveX . . . . . . . . . . . . . 379
Connect() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379
. . . . . . . . . . . . . . . . . . 379
Refresh() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379
SelectQuery() . . . . . . . . . . . . . . . . . . . . . . . . . . . 380
. 380
GetItemAlarmName() . . . . . . . . . . . . . . . . . . . . . . 380
GetItemAlarmType() . . . . . . . . . . . . . . . . . . . . . . . 381
GetItemCount() . . . . . . . . . . . . . . . . . . . . . . . . . 381
GetItemTotalTime() . . . . . . . . . . . . . . . . . . . . . . . 381
GetItemEventType() . . . . . . . . . . . . . . . . . . . . . . . 382
GetItemProviderName() . . . . . . . . . . . . . . . . . . . . . 382
. . . . . . . . . . . . . . . . . . . . 382
AboutBox() . . . . . . . . . . . . . . . . . . . . . . . . . . . . 382
. . . . . . . . . 383
ActiveX 383
ActiveX . . . . 384

12. . . . . . . . . . . . . . . . 385
. . . . . . . . . . . . . . . 386
. . . . . . . . . . . . . . . . . 386
. . . . . . . . . . . . . . . . . . 387
. . . . . . . . . . . . . . . . . 388
- . . . . . . . . . . . . . . . . . 390
. . . . . . . . . . . . . . . 392
. . . . . . . . . . . . . . 394
. . . . . . . . . . . . . . . . . . . . . . . . 395
. . . . . . . . . . . . . . . . . 396

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

16

. . . . . . . . . . . . . . . . . . . . 397
. . . . . . . . . . . . 399

13.
. . . . . . . . . . . . . . . . . . . . 400
. . . . . . . . . . . . . . . . . . . . . . . . . 401
. . . . . . . . . . . . . . . . . . . . . . 402
. . . . . . . . . . . . . . . . . . . . . 403
. . . . 405
. . . . . . . . . . . 407
. . . . . . . . . . . . 411
. . . . . . . . . 412
. . . . . . . . . . . . . . . . . . . . . . . 412
. . . . . . . . . . . . . . . . . 416
. . . . . . . . . . . . 418

14. . . . . . . . 419
A.
. . . . . . . . . . . . . . . . . . . . . . . . . . . 421
: . . . . . . . . 421

. . . . . . . . . . . . . . . . . . . . . . . . . 422

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423
. . . . . . . . . . . 423
. . . . . . . . . . . . . . . . . . . . . 424
. . . . . . . . . . 426
. . . . . . . . . . . . . . . . . . . . . 427
. . . . . . . . . . . . . 429
. . . . . . . . . 430
. . . . . . . . . . . . . . 432

. . . . . . . . . . . . . . . . . . . . . . . . . . . . 432
. . . . . . . . . . . . . . . 434
. . . . . . . . . . . . . . . . . . . . . . . 436

. . . . . . . . . . . . . . . . . . . . 437

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

17

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 437
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438
. . . . . . . . . . . . . . . . . . 438
. . . . . . . . . . . . . . . . . . . . . 438
. . . . . . . . . . . . . . . . . . . . . 438
. . . . . . . . . . . . . . . . . . . . . . . 438
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 440
. . . . . . . . . . . . 441

. . . . . . . . . . . . . . . . 444
. . . . . . . . . . . . . . . . . . . . 444
. . . . . . . . . . . . . . . . . . . . . . . . . 444
almAckAll() . . . . . . . . . . . . . . . . . . . . . . . . . . 445
almAckDisplay() . . . . . . . . . . . . . . . . . . . . . . . 446
almAckGroup() . . . . . . . . . . . . . . . . . . . . . . . . 447
almAckPriority() . . . . . . . . . . . . . . . . . . . . . . . 448
almAckRecent() . . . . . . . . . . . . . . . . . . . . . . . . 449
almAckTag() . . . . . . . . . . . . . . . . . . . . . . . . . 450
almAckSelect() . . . . . . . . . . . . . . . . . . . . . . . . 451
almAckSelectedGroup() . . . . . . . . . . . . . . . . . . . 452
almAckSelectedPriority() . . . . . . . . . . . . . . . . . . . 453
almAckSelectedTag() . . . . . . . . . . . . . . . . . . . . . 454
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 455
almSelectAll() . . . . . . . . . . . . . . . . . . . . . . . . . 455
almUnselectAll() . . . . . . . . . . . . . . . . . . . . . . . 456
almSelectionCount() . . . . . . . . . . . . . . . . . . . . . 457
almSelectGroup() . . . . . . . . . . . . . . . . . . . . . . . 457
almSelectItem() . . . . . . . . . . . . . . . . . . . . . . . . 458
almSelectPriority() . . . . . . . . . . . . . . . . . . . . . . 459
almSelectTag() . . . . . . . . . . . . . . . . . . . . . . . . 460
. . . . . . . . . 461
.AlarmTime . . . . . . . . . . . . . . . . . . . . . . . 462
.AlarmDate . . . . . . . . . . . . . . . . . . . . . . . 463
.AlarmName . . . . . . . . . . . . . . . . . . . . . . 464
.AlarmValue . . . . . . . . . . . . . . . . . . . . . . 465
.AlarmClass . . . . . . . . . . . . . . . . . . . . . . . 466

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

18

.AlarmType . . . . . . . . . . . . . . . . . . . . . . . 467
.AlarmState . . . . . . . . . . . . . . . . . . . . . . . 468
.AlarmLimit . . . . . . . . . . . . . . . . . . . . . . . 469
.AlarmPri . . . . . . . . . . . . . . . . . . . . . . . . 470
.PriFrom . . . . . . . . . . . . . . . . . . . . . . . . . 471
.PriTo . . . . . . . . . . . . . . . . . . . . . . . . . . 472
.AlarmGroupSel . . . . . . . . . . . . . . . . . . . . 473
.AlarmAccess . . . . . . . . . . . . . . . . . . . . . . 474
.AlarmProv . . . . . . . . . . . . . . . . . . . . . . . 475
.AlarmOprName . . . . . . . . . . . . . . . . . . . . 476
.AlarmOprNode . . . . . . . . . . . . . . . . . . . . . 477
.AlarmComment . . . . . . . . . . . . . . . . . . . . 478
. . . . . . . . . . . . . . . . . . . . . . . . 479
almDefQuery() . . . . . . . . . . . . . . . . . . . . . . . . 479
almQuery() . . . . . . . . . . . . . . . . . . . . . . . . . . 479
almSetQueryByName() . . . . . . . . . . . . . . . . . . . . 481
. . . . . . . . . . . . . . . . . . . . 482
.AlarmGroup . . . . . . . . . . . . . . . . . . . . . . 482
.QueryType . . . . . . . . . . . . . . . . . . . . . . . 483
.QueryState . . . . . . . . . . . . . . . . . . . . . . . 484
.Successful . . . . . . . . . . . . . . . . . . . . . . . 485
. . . . 486
.ListChanged . . . . . . . . . . . . . . . . . . . . . . 486
.PendingUpdates . . . . . . . . . . . . . . . . . . . . 487
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 488
almSuppressAll() . . . . . . . . . . . . . . . . . . . . . . . 489
almUnsuppressAll() . . . . . . . . . . . . . . . . . . . . . 489
almSuppressDisplay() . . . . . . . . . . . . . . . . . . . . 490
almSuppressGroup() . . . . . . . . . . . . . . . . . . . . . 490
almSuppressPriority() . . . . . . . . . . . . . . . . . . . . 491
almSuppressTag() . . . . . . . . . . . . . . . . . . . . . . 492
almSuppressSelected() . . . . . . . . . . . . . . . . . . . . 493
almSuppressSelectedGroup() . . . . . . . . . . . . . . . . 494
almSuppressSelectedPriority() . . . . . . . . . . . . . . . . 495
almSuppressSelectedTag() . . . . . . . . . . . . . . . . . . 496
almSuppressRetain() . . . . . . . . . . . . . . . . . . . . . 497
.SuppressRetain . . . . . . . . . . . . . . . . . . . . 498

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

19

. . . . . . . . . . . . . . . . . . . . 499
almMoveWindow() . . . . . . . . . . . . . . . . . . . . . . 499
.Freeze . . . . . . . . . . . . . . . . . . . . . . . . . . 500
.PrevPage . . . . . . . . . . . . . . . . . . . . . . . . 501
.NextPage . . . . . . . . . . . . . . . . . . . . . . . . 501
. . . . . . . . . . . . . . . . . . 502
almShowStats() . . . . . . . . . . . . . . . . . . . . . . . . 502
.PageNum . . . . . . . . . . . . . . . . . . . . . . . . 503
.TotalPages . . . . . . . . . . . . . . . . . . . . . . . 504
.NumAlarms . . . . . . . . . . . . . . . . . . . . . . 505
.ProvidersReq . . . . . . . . . . . . . . . . . . . . . . 506
.ProvidersRet . . . . . . . . . . . . . . . . . . . . . . 507
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 508

B.
. . . . . . . . . . . . . . . . . . 509

. . . . . . . . . . . . . . . . . . . . . . . . . . 509
AlarmSuite . . . . . . . . . . . . . . . . . . . . 510

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

20

1.

InTouch,
(Alarms) (Events)
.
,
.
, ,

. .

.
, ,
InTouch.
.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

1.

21

, -
InTouch (InTouch HMI)
.
.
Running Physical Process

.

InTouch

90

InTouch

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

InTouch

,
. ,

(,
).
. ,
, - InTouch
.
- InTouch
,
, , , . ,
,
(
), .
,
. ,
,
.
.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

22

1.

ACK

ALM

RTN



(). ,

, .
.

, , ,
, ,
..
.
1 999 (1 ).
,
. ,

, .

1 249

250 499

500 749

750 - 999

. ,
,
, .
, ,
,
.



. ,
:
(High) (Low)

(HiHi)

(LoLo)

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

1.

23

.
,
.
,
.


, ( )
. , . ,
, .
, :
, - .

;
. ,
, (,
, ),
, .


,
.

, ,
.

.
, -
, .
$System

TnkFrm1

F1Tk1Lvl

TnkFrm2

F2Tk1Lvl

F2Tk2Lvl

TnkFrm3

F3Tk1Lvl

F3Tk2Lvl


,
.
.
($System).
, $System;
32 .

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

24

1.

(Tagname Dictionary).

SmartSymbols.

InTouch

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

.

:
.
.
, ,
, (, -,
).
.

OPR

,
.

LGC


QuickScript.

DDE

DDE.

SYS

USER

$.

OPR LGC ,
. DDE, SYS
USER .

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

1.

25

InTouch
- InTouch
.
(Class) (Type).
(Distributed Alarm system)
:
(Discrete), (Value),
(Deviation), (Rate-of-Change),
(SPC).

DSC

DSC

VALUE

LOLO

VALUE

LO

VALUE

HI

VALUE

HIHI

DEV

MAJDEV

DEV

MINDEV

ROC

ROC

SPC

SPC

InTouch
.
.



.
, ( )
.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

26

1.


,
.
:
, .



. ,
.

(LoLo), (Lo),
(Hi), (HiHi),
,
.

90
80

10

20


.

,
.
10%


50%

20%

60

70

50

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

1.

27


,
,
.
,
.
( ), ,
.
, , :
: 0 100;
: 50;
: 10%;
: 20%;
: 10%.

90 75,
,
.



.
,
.
15:05:25
15:05:55
60

15:06:25

50
40


, ,
.
(, ).

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

28

1.

InTouch
(Distributed Alarm)
:
(Alarm Manager), ,

( summary
alarms), (historical alarms)
.
InTouch;

(Alarm DB Logger),

.
SQL Server;

(Alarm Printer),

ActiveX,

.

InTouch


()

Alarm Manager

()

()


()

InTouch HMI

.txt
.txt
.txt

Wonderware Russia (ZAO Klinkmann Spb)

1.

29


:
, ,

InTouch
, ;

AlarmX

InTouch ,
;

:
, ;
,


.
,
,
.

;

.
Windows
.
.
() ;

,
-
.


,
;


:
Wonderware SuiteLink,

, ,
.
.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

30

1.



() [Alarm Providers (Publishers)]
() [Alarm Consumers
(Sub-scribers)]. InTouch

.


:
, (..

, ),

,
;

.
, ,
;

- InTouch
, , - Wonderware,
, Galaxy
,
Wonderware.
,
.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

1.

31

, ,
.
,
.
(
SQL- ). ,
,


;

,
;


, .
,
( ) ,
, ,

.

-

.

.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

32

1.




.
.
.


.
, InTouch
, .

. , ,
, ,
.
,
,
.
InTouch .
,
.
NodeC.
.

\\NodeA\InTouch!TnkFrm1
\\NodeB\InTouch!TnkFrm2
\InTouch!TnkFrm3

TnkFrm1

TnkFrm2

TnkFrm3

F1Tk1Lvl

F2Tk1Lvl

F2Tk2Lvl

F3Tk1Lvl

F3Tk2Lvl



.
,
,
, . ,
, ,

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

1.

33

InTouch,
TankFarmAlarms. , ,
,
InTouch .
.
.


(summary alarms) ,
. (historical alarms) ,
;
.
,
, ,

.

,
,
.
(disable), (inhibit)
(suppress).

, .
.
.
.

, , .
,
.
.

.

(enable) (disable)
. , ,
,
.

. :
a (inhibitor tag)

.

;

.
, .
,
.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

34

1.

.
.

.
.

.
, .
, ,
.


. -
.

,
,
() .
,
.
,
..

. ,
, .



InTouch, ,
, ,
.
,
,
.
,
.
, ,
,
.
,
.
,
.
,

-,
.
, IP- .

InTouch.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

1.

35


.
()


.
InTouch :
() ,
.
.

, ,
, ,
.

,
.ini.

.
.

,
,
,
.

, .


,

.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

36

2.

,
.
:
;
;
;
.


InTouch .
, ,
,
. . ( ).

.
.
.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

2.

37


,
:
.

.

, .
$System

TnkFrm1

F1Tk1Lvl

TnkFrm2

F2Tk1Lvl

F2Tk2Lvl

TnkFrm3

F3Tk1Lvl

F3Tk2Lvl

,

. ,
F1Tk1Lv1
TnkFrm1
F1 .
,
-
.
-
InTouch,
.
,
InTouch.


:
32 ;
- (A-Z,

a-z, 0-9);

, : @, #, $, %, &, -, _, ?, !, \;

(-), ;
;
.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

38

2.


1 Special Alarm Groups (
). Alarm Groups.


2 Add ().
Add Alarm Group ( ).


3 Group Name ( )

, :

a Parent Group ( ).
Alarm Groups ( ).

, InTouch,
$System;

b .
Close ().
5 Comment ()

( 49 ,
). OK.

Alarm Groups
.

6 Close.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

2.

39


:
;
;
.

1 Special Alarm Groups.
Alarm Groups.
2 , ,
Modify ().
Modify Alarm Group ( ).

, :

a Parent Group.
Alarm Groups;
b .
Close.
5 OK.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

40

2.



. , ,

, .
,
, ,
.

1 Special Alarm Groups.
Alarm Groups.
2 , ,
Delete ().
Yes.
3 Close.


,
( ).
, ,
.
.


.
,
:
(, , 1) (, , 0).

1 (Tagname Dictionary).
2 .
3 Tagname Dictionary Alarms
() Details & Alarms ( ).

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

2.

41

4 ACK Model ( )

Condition ()


. ;

Event Oriented ( )


.
, ;

Expanded Summary ( )

(
,
).
(return
to normal, RTN). RTN
;
RTN .

5 Alarm Comment ( )

( 131 ).

6 Alarm State ( )
(On Off) .
7 Priority ()

1 999. 1
( ).

8 ,

. :

a Alarm Inhibitor ( ) .
Select Tag ( )

b . OK. ,
, Alarm Inhibitor.

.
.

9 Save ().
10 Close (). Tagname Dictionary

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

42

2.



.

(LoLo)
(HiHi). ,
,
.

1 (Tagname Dictionary).
2

3 Tagname Dictionary Alarms


Details & Alarms.

4 ACK Model ( )

Condition ()


. ;

Event Oriented ( )


.
, ;

Expanded Summary ( )

(
,
).
(return
to normal, RTN). RTN
;
RTN .

5 Alarm Comment ( )

( 131 ).
.AlarmComment.

6 (LoLo, Low, High, HiHi). ,

,
.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

2.

43

7 Alarm Value ( )

, LoLo ( )
Low ( )
, ,
Alarm Value. High (
) HiHi ( )
,
, Alarm Value.
,

8 Value Deadband ( ) ,

( )
( )
, .

, ,

, ,
.

,
,
, .

9 ,

(LoLo, Low, High, HiHi) .


:

a Alarm Inhibitor ( ) .
Select Tag ( )

b . OK. ,
, Alarm Inhibitor.

.
.

10 Save ().
11 Close (). Tagname

Dictionary .

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

44

2.



.
,

,
.
,
:

= -1000

= 1000

(%) = 10

(%) = 15

= 500

,
.
1 :

1000 (-1000) = 2000

2 ,

2000 0,10 = 200

2000 0,15 = 300

3 (

)
:

500 - 200 = 300

500 + 200 = 700

500 - 300 = 200

500 + 300 = 800

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

2.

45


1 (Tagname Dictionary).
2

3 Tagname Dictionary Alarms


Details & Alarms.

4 (Minor Deviation
, Major Deviation ),

, ,
(
) .

5 %Deviation ( %)

(
),
.
.
- Min EU
Max EU,
.
.

6 Target ( ) ,

7 Deviation Deadband % ( %)

,
,
.

8 Save.
9 Close. Tagname Dictionary

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

46

2.


,
, ,
.
,
.
, ,
.

( ), .
,
. ,

.

1 (Tagname Dictionary).
2

3 Tagname Dictionary Alarms


Details & Alarms.

(
, ).

4 Rate of Change ( ).
5 %per ( )

( ).

6 : Sec (), Min () Hr

().

7 Priority 1 999.
8 , .

a Alarm Inhibitor .
Select Tag ;
b . OK. ,
, Alarm Inhibitor.

.
.

9 Save.
10 Close. Tagname Dictionary

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

2.

47



, AlarmEnabled (
) AlarmDisabled ( ).
,
. ,
(Hi) ,
(HiHi)
.

- .
.
, ,
,
.

, ,
() .
,
.

.



,
.
(

NULL) ,
.

NULL) , .


(WindowMaker).
.
.
;

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

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

48

2.

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

.

,
:
AlarmDscInhibitor ( );
AlarmLoLoInhibitor (

);

AlarmLoInhibitor ( );
AlarmHiHiInhibitor (

);

AlarmHiInhibitor ( );
AlarmMajDevInhibitor (

);

AlarmMinDevInhibitor ( );
AlarmRocInhibitor ( ).

. ,
QuickScript
InTouch,
.

.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

2.

49


, ,
,
. ,
. , , ,
(, -, QuickScript
).
1 (Tagname Dictionary).
2 ,

, .

3 Log Events ( ).
Priority. , ,

4 Priority 1 999 (1

, 999 ).

5 Save.

6 Close. Tagname Dictionary


.

,
,
:
();

WindowViewer;

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

50

2.




.
, ,
InTouch,
.
,

.
,
. InTouch
, 1,
.

.

, 500.

1 InTouch

(WindowMaker).

2 Special Configure, Alarms.


Alarm Properties (

).


3 Alarm Buffer Size ( )

,

.

4 OK.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

2.

51



,
,

, , .
- RTN Implies ACK (
) ,

(Expanded Summary). ,
RTN Implies ACK,
.

1 InTouch

(WindowMaker).

2 Special Configure, Alarms.

Alarm Properties (
).

3 RTN Implies ACK. ,

, .

4 OK.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

52

2.



.
, ,
QuickScript -.

,
Event Logging ( )
.
.
.

1 InTouch

(WindowMaker).

2 Special Configure, Alarms.


Alarm Properties.


3 Events Enabled (

). ,
InTouch, .

4 OK.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

2.

53



, .AlarmEnabled
( ),
InTouch.
, .AlarmEnabled,
.
.AlarmEnabled .
.AlarmEnabled ,
, ,
, .

1 InTouch

(WindowMaker).

2 Special Configure, Alarms.


Alarm Properties.


3 Alarm Enable Retentive (

).
.AlarmEnabled
InTouch.

4 OK.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

54

2.



, :
.
,

. ,
.
,
.
,
.AlarmComment ( )
.


1 Special Configure, - Alarms.

Alarm Properties.

2 , ,

,
.AlarmComment
,
, Retain ACK Comment as
Alarm Comment (
).

,

, ,
.

3 OK.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

2.

55



(Distributed Name Manager).

.

.

\InTouch!_

._

\\_\InTouch!_

_._

_ InTouch, _
.
, ,
(
), , ._.

1 Special Configure, Distributed Name
Manager ( ).
Distributed Name Manager.


2 Group Properties ( ), Name

(), .

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

56

2.

3 Members ()

InTouch ,
.

,
(Standard
Group Entry) , .

.

- . .
.

QuickScript.
4 ,
Add ().

5 OK.
6 Distributed Alarm Object (

).

7 .

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

3.

57

:
( )

InTouch ;

( )

InTouch.

ActiveX
.
.
Query ()
ActiveX .

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

58

3.

,
:
: 1-999;
: (All), (Acknowledged)

(Unacknowledged);

: (Summary) (Historical);
: .

.xml-,
(query favorites).
,
,
, .
ActiveX InTouch
.
Query Filter ( )
(Alarm DB Viewer).


, .
. ,
,
.
QuickScript,

. ,
almQuery(),
(Distributed Alarm
Display) :
almQuery(AlmObj_1,MyAlarmListGroup,500,600,All,
Hist);

,
MyAlar-mListGroup, 500 600.
AlmObj_1.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

3.

59

InTouch
,
(
InTouch).




(Alarm DB Logger Manager)

(Alarm Printer Utility)



(Alarm Viewer Control)




(Alarm Tree Viewer Control)


(Alarm Pareto Control)




(Distributed Alarm Display Object)


(Hot Backup Manager)

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

60

4.


ActiveX (Alarm Viewer ActiveX control)
InTouch.
, ( ),
, ,
.

InTouch
.
,
InTouch 7.1, -
.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

4.

61



(WindowMaker); , ,

.
AlarmViewerCtrl Properties (
).



:
;
;
,


, .

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

62

4.

.
Properties. AlarmViewerCtrl
Properties.

2 General.


3 , .

Perform Query on
Startup (


,
.
(
),

Requery().
Requery ( )

.

Show Context Sensitive


Menu (
,

)
Use Default
Ack Comment

InTouch HMI



.
,
,

.
,


.
.

Wonderware Russia (ZAO Klinkmann Spb)

4.

Retain Suppression

(
)

Show Status Bar

(
)
Row Selection (

Silent Mode (

63


.

.
.
,


.
,

.


(Log
Viewer) ArchestrA.

,
, ,
.

Show Message

(
)

Show Heading

(
)


,
(
CTRL SHIFT
) .

Row Selection.
Use Extended
Selection

Flash Unack

Alarms (

Wonderware Russia (ZAO Klinkmann Spb)



,
.

(WindowViewer)

.

InTouch HMI

64

4.

Resize Columns

,


. ,
,

(WindowMaker).

(
)

Show Grid

( )

,


,
.
,
.

4 Apply ().
5 Color ().


Window
Title Bar Text
Alarm Return
Grid
Title Bar Back
Event
Alarm Priority
Unack. Alm.
Flash Unack. Alm.
Ack. Alm.

6 ,

(Alarm Viewer).

7 Apply.
8 OK.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

4.

65


,
.

1

Properties. AlarmViewerCtrl
Properties.
2 General.


3 Font.

Windows.
OK.

4 OK.



:
;
( );
.

1

Properties. AlarmViewerCtrl
Properties.
2 General.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

66

4.

3 Column Details ( ).


4 Name ,

, .
.

Time ()

,
Time Format.

State ()

Type ()

Class ()

Priority ()
Name ()

Group ()

Value ()


.
,

.

Provider ()

Limit ()

Operator ()

Operator Full Name

( )

InTouch HMI


.
,

.

,
.

Wonderware Russia (ZAO Klinkmann Spb)

4.

Operator Node (

,
.

-,

.
,
IP- .

Operator Domain

( )
Tag Comment

( )
Alarm Comment
(
)

67

,
.
.

,
.
Alarm Comment
.
,

.


(-1) 1 (User Defined Num-ber 1),
.
User2

(-2) 2 (User Defined Num-ber 2),
.
User3

(-3) , .
User1

5 . ,

, .
,
Column Details,
.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

68

4.

6 ,

Edit ().
Edit.


a New Name ( ) .
b New Width ( ) .

1 999 .

c OK.
7 Column Details OK.
8 Apply ().

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

4.

69



,
( ).

,
.

1

Properties. AlarmViewerCtrl
Properties.
2 General.

3 Show Context Sensitive Menu (

).

4 Configure Context Menus (

).
Context Sensitive Menus.


,
.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

70

4.

5 .

Ack Selected

.
Ack
Selected Ack Others ,
Use Default Ack Comment

.

(
)

Ack Others

(
)

Ack All (

)
Ack Visible
(
)
Ack Selected Groups
(
)

Ack Selected Tags

(
)

Ack Selected Priorities

Suppress Selected

(
)
Suppress Others
( )
Suppress All

( )
Suppress Visible
( )

InTouch HMI


.
, .
Ack Others,

.

.
.


,
(
)
.


,
(
) ,
.


,
(
) ,
.
.


,
.
.

Wonderware Russia (ZAO Klinkmann Spb)

4.

Suppress Selected
Groups (


,
(
).

71


,
(
).

Suppress Selected
Tags (

)
Suppress Selected
Priorities (


,
(
).

Unsuppress
All (

Stats ()

Alarm
Statistics ( ).

)
Query Favorites
Query
( ) Favorites ( ).

Alarm
Suppression ( ).

Suppression

()
Freeze

()
Requery (

Sort ()

/
()
.

.

Sort
().

6 OK.
7 Row Selection ( ),

8 Use Extended Selection (

),

, SHIFT
CTRL.

9 Apply ().

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

72

4.



.

1
. Properties ().
AlarmViewerCtrlProperties

( ).

2 General ().
3 Perform Query on Startup (

),
, -
, .

4 Show Message ( ),


. .

5 Apply ().
,
1
. Properties ().
AlarmViewerCtrlProperties

( ).

2 Query ().


3 From Priority ( )

( 1 999).

4 To Priority ( )

( 1 999).

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

4.

73

5 Query Type ( )

, - :
Historical () Summary ().


, QuickScript,
. ,
ApplyQuery(), Type
Summary,
. ,
ApplyQuery() Type - Historical,
. QueryType ( )
.

ApplyQuery() .
.

6 Alarm Query ( )

. ,
, $System,
: \InTouch!$System.

7 OK.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

74

4.



,

.

1
. Properties ().
AlarmViewerCtrlProperties

( ).

2 Query ().


3 :
a Query Favorites File ( )

, ,
( );

b Filter Favorites (
), Edit Favorites File (
). Filter
Favorites, ,

4 OK.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

4.

75


,
.

1
. Properties ().
AlarmViewerCtrlProperties

( ).

2 Color ().

.
.

Window ()

Title Bar Text (


.
Show Heading
( ).

Alarm Return (

(.. ,

)

Grid ()

.
.
-.



(Window).

Title Bar Background

(
)

Wonderware Russia (ZAO Klinkmann Spb)


.
Show Heading
( ).

InTouch HMI

76

4.

Event ()

4 Alarm Priority ( )

,
,
,
, ,
.

5 UnAck Alarm (
) Ack Alarm ( )

6
, General
(). Flash Unack Alarms (

).
Color Flash Unack Alarms
.

-
, .
,
.
7 Apply ().

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

4.

77




.

1
. Properties ().
AlarmViewerCtrlProperties

( ).

2 Time Format ( ).


3 Time Format .
Time Format ,

, %.
.

( )

b
Y
m
y
#x
B
H
M
p

S
s

Wonderware Russia (ZAO Klinkmann Spb)

(
)
( )
( )
( )

(, Friday, August
09, 2007)

( 24- )

AM ( )
PM ( ) 12-

InTouch HMI

78

4.

( 12- )

4 Displayed Time ( )

.
OAT (

LCT (

LCT but OAT on


ACK (

- )

:

.

:
-
( ,
,
, ).
,

.
,
;

.

5 Displayed Time Zone ( )

.
GMT ( )
Local Time (

Origin Time (

(
)

,
.
,

.

6 Apply ().

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

4.

79


.

, .

(
),
( ).

1
. Properties ().
AlarmViewerCtrlProperties

( ).

2 Query ().


3 :
a Sort Column ( )
. Sort
Column .

, ,
, General
Column Details;

b Secondary Sort Column (

) -
;

c
Time (), Auto
Scroll to New Alarms (

). , ,

;

d : Ascending (
) Descending ( ).
4 Apply ().

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

80

4.


,
,

, , .

.
Ack Selected ( )

Ack Others ( ) ,

,
, ,
:
Ack All ( )

. ,
, ,
, Ack All
, ;

Ack Visible ( )

, ;

Ack Selected Groups ( )

,
,
( );

Ack Selected Tags ( )

, ,

,
( );

Ack Selected Priorities ( )

, ,

, ( );

Suppress Selected ( ) ,


, , - (
) .

Suppress Others ( ) ,

- ,
, ,
:
Suppress All ( )

Suppress Visible ( )

Suppress Selected Groups ( )

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

4.

81

,
,
( ),
;
Suppress Selected Tags ( )

,
,
( ), ,
;

Suppress Selected Priorities (

)
, ,
( ),
;

Unsuppress All ( )

Query Favorites ( )

Alarm Query ( )
, . ,
.

Stats () - Alarm Statistics

( ).

Suppression () - Alarm

Suppression ( ).

Freeze ()

Requery ( )

Sort () - Secondary Sort

( ).


General Show Status Bar
( -),

.

.
,
, ,
.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

82

4.



Query Favorites
( )
.
,
.

,
.

, .
- ,
,
. - .

1
. Query Favorites ( ).
Alarm Query ( ).


2 ,

3 OK.

,
.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

4.

83


1
. Query Favorites ( ).
Alarm Query ( ).
2 Add (). Add
Query ( ).


3 .

a Name () ,

b Query ()

InTouch, .
;

c From priority ( )

( 1 999);

d To priority ( )

( 1 999);

e Alarm State ( )

,
(All , Ack - , Unack
);

f Display Type ( )
: Summary ( ) Historical

().

4 OK. Add Query .


5 OK Alarm Query.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

84

4.

1
. Query Favorites ( ).
Alarm Query ( ).
2 ,

3 Modify ().
Modify Query ( ).
4 . OK.
5 OK Alarm Query.

ActiveX

: #.=1;

#.=1;.
, 1 . ,
AlarmViewerCtrl1 AckAllMenu
( ), :
#AlarmViewerCtrl1.AckAllMenu = 1
, :
1 = #.;
, 1
. , AckAllMenu
AlarmViewerCtrl1, :
1 = #AlarmViewerCtrl1.AckAllMenu;
- InTouch True
False ( ) 1 0 .
,
#AlarmViewerCtrl2.SortMenu = False;
Sort Menu
.
:
_._ [=_]

[_=] _._

.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

4.

AckAllMenu

AckAlmColorRange1

.
AckAll
( ).

AckAlmColorRange2

AckAlmColorRange3

AckAlmColorRange4

AckOthersMenu

AckSelectedGroupsMenu

AckSelectedMenu

AckSelectedPrioritiesMenu

AckSelectedTagsMenu

AckVisibleMenu

Wonderware Russia (ZAO Klinkmann Spb)

85



1
ColorPriorityRange1
( 1. ).

1 250.




ColorPriorityRange1
ColorPriorityRange2.
250 500.



ColorPriorityRange2
ColorPriorityRange3.
500 750.




ColorPriorityRange3 999.

750 999.

.
AckOthers
( ).
.

AckSelectedGroups (
).

.
AckSelected
( ).
.

AckSelectedPriorities (
).

.
AckSelectedTags
( ).

.
AckVisible
( ).

InTouch HMI

86

4.

AlarmQuery

AlarmState

.

; .

:
\\\InTouch!


:
\InTouch!

:
_

AlmRtnColor

,
,
,
.


(All ,
UnAck - , Ack
).

AutoScroll

ColorPriorityRange1


,
.

,
ColorPriorityRange2.

ColorPriorityRange2

ColorPriorityRange3

ColumnResize


,

(
,
).


,
.

ColorPriorityRange1,
ColorPriorityRange3.

,
.

ColorPriorityRange2, 999.

InTouch HMI

,
,
.

Wonderware Russia (ZAO Klinkmann Spb)

4.

CustomMessage

DefaultAckComment

,
.

DisplayedTime

87

UseDefaultAckComment=TRUE
,

.

.

DisplayedTimeZone

,

. : GMT
( ), Origin Time (
), Local Time (
).

EventColor

ExtendedSelection

FlashUnAckAlarms

FlashUnackAlmColorRange1


,

1.

FlashUnackAlmColorRange2

FlashUnackAlmColorRange3


Ctrl
Shift .


(
Row Selection).


.
(1
0).
1,

.
0,
.
Flash Unack Alarms
General
.


,

2.

,

3.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

88

4.

FlashUnackAlmColorRange4


,

4.

Font

FreezeMenu

FromPriority

()
,
.

GridColor
NewAlarmEventMode


Freeze ().


Ne-wAlarm ( ).
0 - NewAlarm
.
1 - NewAlarm .
2 - NewAlarm
,

.

QueryFavoritesFile

QueryFavoritesMenu

QueryName

QueryStartup

QueryType

RequeryMenu

RetainSuppression

RowSelection

SecondarySortColumn

InTouch HMI


Query Favorites ( ).
.

,


,
.

ApplyDe-faultQuery
ApplyQuery.
:
Summary () Historical
().


Requery
( ).


,
.

.


.

Wonderware Russia (ZAO Klinkmann Spb)

4.

SelectedCount

ShowContextMenu

ShowGrid

ShowHeading

ShowMessage

ShowStatusBar

SilentMode

SortColumn

SortMenu

SortOrder

StatsMenu

Wonderware Russia (ZAO Klinkmann Spb)

89

,
,

.


.
,
,

.

,
,

.
:
, ,
.


,


.

,
,
.
,
suppression
().
,
,

( ).

.


Sort ().


.
As-cending ( )
Descending ( ),
0 1.

Stats ().

InTouch HMI

90

4.

SuppressAllMenu


Suppress All ( ).

SuppressedAlarms

SuppressionMenu

SuppressSelectedGroupsMenu

SuppressSelectedMenu

SuppressSelectedPrioritiesMenu

SuppressSelectedTagsMenu

SuppressVisibleMenu

TimeFormat

TitleBackColor

TitleForeColor
ToPriority
TotalAlarms
UnackAlarms
UnAckAlmColorRange1

UnAckAlmColorRange2

UnAckAlmColorRange3


Suppression ().


Suppress Selected Group (
).

Suppress Selected (
).


Suppress Selected Priorities (
).


Suppress Selected Tags (
).


Suppress Visible ( ).

.


.

.
.

.



1
ColorPriorityRange1.



ColorPriorityRange1
ColorPriorityRange2.



ColorPriorityRange2
ColorPriorityRange3.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

4.

UnAckAlmColorRange4




ColorPriorityRange3
ColorPriorityRange4.

UnsuppressAllMenu

UseDefaultAckComment

WindowColor

Wonderware Russia (ZAO Klinkmann Spb)

91


Unsuppress All (
).

True,

,
.

.

InTouch HMI

92

4.

ActiveX
. ActiveX
ABGR 32 , :

A ;

B ;

G ;

R .

BGR 24 ,
. , 0xFF0000
0B00 BGR
.
ABGR 32 ,
,
:
00 ()

( );

FF ()

( );

B0 ()

0A ()

,
, 255.
, ,
AGBR:

A = 0 ( );

B = 255;

G = 0;

R = 0.

000FF0000,
16711680.
:
0A0FF0000 .

2701066240;

0FFFF0000 .

. 4294901760;

0xA0000000 ( ).

2684354560.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

4.

93

ActiveX

ActiveX (Alarm
Viewer) :
;
;
;
;
;
;
;
, About (

) Alarm Statistics ( ).

-
, OnStartup,
.



-:
AckSelected()
AckAll()
AckVisible()
AckSelectedGroup()
AckSelectedTag()
AckSelectedPriority()
AckGroup()
AckPriority()
AckTag().

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

94

4.

AckSelected()
,
.

.AckSelected()

tag1 -,
AlarmViewerCtrl1.
Tag1 = Alarm Comment; #AlarmViewerCtrl1.AckSelected
(Tag1);

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

.AckAll ()

tag1 -,
AlarmViewerCtrl1.
Tag1 = Alarm Comment; #AlarmViewerCtrl1.AckAll
(Tag1);

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

4.

95

AckVisible()
,
.

.AckVisible ()

tag1 -,
AlarmViewerCtrl1.
Tag1 = Alarm Comment; #AlarmViewerCtrl1.AckVisible
(Tag1);

AckSelectedGroup()
, ,
.

.AckSelectedGroup ()

tag1 -,
AlarmViewerCtrl1.
Tag1 = Alarm Comment; #AlarmViewerCtrl1.
AckSelectedGroup (Tag1);

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

96

4.

AckSelectedTag()
, ,
,
.

.AckSelectedTag ()

tag1 -,
AlarmViewerCtrl1.
Tag1 = Alarm Comment; #AlarmViewerCtrl1.
AckSelectedTag (Tag1);

AckSelectedPriority()
,
, .

.AckSelectedPriority ()

tag1 -,
AlarmViewerCtrl1.
Tag1 = Alarm Comment; #AlarmViewerCtrl1.
AckSelectedPriority (Tag1);

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

4.

97

AckGroup()

.

.AckGroup (_, _,
)

, , \\node1\Intouch

, , Turbine.

AlarmViewerCtrl1.
#AlarmViewerCtrl1.AckGroup (\Intouch, Turbine,
Turbine acknowledgement Comment);

AckPriority()
,
.

.AckPriority (_, _,
_, _,
)

, , \\node1\Intouch

, , Turbine.

, , 100.

, , 900.

AlarmViewerCtrl1.
#AlarmViewerCtrl1.AckPriority (\Intouch, Turbine,
100, 900, Turbine acknowledgement Comment);

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

98

4.

AckTag()
,

.

.AckTag (_, _,,


_, _,
)

, , \\node1\Intouch

, , Turbine.

, , Valve1.

, , 100.

, , 900.

AlarmViewerCtrl1.
#AlarmViewerCtrl1.AckTag (\Intouch, Turbine,
Valve1, 100, 900, Turbine acknowledgement
Comment);

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

4.

99



:
ShowSuppression()
SuppressSelected()
SuppressAll()
SuppressVisible()
SuppressSelectedGroup()
SuppressSelectedTag()
SuppressSelectedPriority()
UnSuppressAll()
SuppressGroup()
SuppressPriority()
SuppressTag().

ShowSuppression()
,
.

.ShowSuppression ()

AlarmViewerCtrl1.
#AlarmViewerCtrl1.ShowSuppression();

SuppressSelected()

( ).

.SuppressSelected()

AlarmViewerCtrl1.
#AlarmViewerCtrl1.SuppressSelected();

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

100 4.

SuppressAll()

.

.SuppressAll()

AlarmViewerCtrl1.
#AlarmViewerCtrl1.SuppressAll();

SuppressVisible()

.

.SuppressVisible()

AlarmViewerCtrl1.
#AlarmViewerCtrl1.SuppressVisible();

SuppressSelectedGroup()
,
,
.

.SuppressSelectedGroup()

AlarmViewerCtrl1.
Tag1 = Alarm Comment; #AlarmViewerCtrl1.
SuppressSelectedGroup();

SuppressSelectedTag()
,
,
, .

.SuppressSelectedTag()

AlarmViewerCtrl1.
Tag1 = Alarm Comment; #AlarmViewerCtrl1.
SuppressSelectedTag();

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

4. 101

SuppressSelectedPriority()
,
,
.

.SuppressSelectedPriority()

AlarmViewerCtrl1.
#AlarmViewerCtrl1.SuppressSelectedPriority();

UnSuppressAll()
.

.UnSuppressAll()

AlarmViewerCtrl1.
#AlarmViewerCtrl1.UnSuppressAll();

SuppressGroup()
,
.

.SuppressGroup(_, _)

, , \\node1\Intouch

, , Turbine.

AlarmViewerCtrl1.
#AlarmViewerCtrl1.SuppressGroup (\Intouch,
Turbine);

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

102 4.

SuppressPriority()

,
.

.SuppressPriority (_, _,
_, _)

, , \\node1\Intouch

, , Turbine.

, , 100.

, , 900.

AlarmViewerCtrl1.
#AlarmViewerCtrl1.SuppressPriority (\Intouch,
Turbine, 100, 900);

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

4. 103

SuppressTag()
,

.

.SuppressTag (_, _,,


_, _)

, , \\node1\Intouch

, , Turbine.

, , Valve1.

, , 100.

, , 900.

AlarmViewerCtrl1.
#AlarmViewerCtrl1.SuppressTag (\Intouch, Turbine,
Valve1, 100, 900);

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

104 4.



GetItem().

GetItem()
,
.

.GetItem(_, _)

,
.

,
.

AlarmViewerCtrl1, tag1
(Memory Message).
Tag1 = #AlarmViewerCtrl1.GetItem (1, Group);



:
ShowQueryFavorites()
Requery()
ApplyQuery()
ApplyDefaultQuery()
SetQueryByName().

ShowQueryFavorites()
Query Favorites ( ),
QueryFavoritesFile
.xml.

.ShowQueryFavorites()

AlarmViewerCtrl1.
#AlarmViewerCtrl1.ShowQueryFavorites();

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

4. 105

Requery()
.

.Requery()

AlarmViewerCtrl1.
#AlarmViewerCtrl1.Requery();

ApplyQuery()
.

.ApplyQuery(_, _,
_, , )

, , \InTouch!$System

, , 100.

, , 900.

, .
, UnAck () .
All (), UnAck (),
Ack ().

, , Historical ( )
Summary ( -).

AlarmViewerCtrl1.
#AlarmViewerCtrl1.ApplyQuery (\InTouch!$System, 100,
900, All, Historical);

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

106 4.

ApplyDefaultQuery()
FromPriority
( ), ToPriority ( ),
AlarmState ( ), QueryType ( )
AlarmQuery ( ), .
, ,

.

.ApplyDefaultQuery()

AlarmViewerCtrl1.
#AlarmViewerCtrl1.ApplyDefaultQuery();

SetQueryByName()
, .
.

.SetQueryByName(_)

,
(Query favorites), , Turbine Queries.

AlarmViewerCtrl1.
#AlarmViewerCtrl1. SetQueryByName(Turbine Queries);

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

4. 107



:
MoveWindow()
FreezeDisplay()

MoveWindow()

.

.MoveWindow(, )

, .

LineDn

.
.

LineUp
PageDn
PageUp
Top

Bottom
PageRt
PageLf
Right
Left
Home

.
.

.
.

.
.
.
.

.
.
.
.
.
.
.
.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

108 4.

AlarmViewerCtrl1.
#AlarmViewerCtrl1.MoveWindow(Bottom,0);
#AlarmViewerCtrl1.MoveWindow(LineUp,3);
#AlarmViewerCtrl1.MoveWindow(PageLf,7);

FreezeDisplay()
.

.FreeDisplay()

True .

False .

Tag1 ,
Alarm-ViewerCtrl1.
Tag1 = 1;
#AlarmViewerCtrl1.FreezeDisplay(Tag1);



:
ShowSort();
SetSort().

ShowSort()
Secondary Sort ( ),
SortMenu.

.ShowSort()

AlarmViewerCtrl1.
#AlarmViewerCtrl1.ShowSort();

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

4. 109

SetSort()
,
SortColumn SortOrder.

.SetSort()

AlarmViewerCtrl1.
#AlarmViewerCtrl1.SetSort();


About ( ) Alarm
Statistics ( ) :
AboutBox()
ShowStatistics().

AboutBox()
About ( ).

.AboutBox

AlarmViewerCtrl1.
#AlarmViewerCtrl1.AboutBox();

ShowStatistics()
Alarm Statistics ( ).

.ShowStatistics()

AlarmViewerCtrl1.
#AlarmViewerCtrl1.ShowStatistics();

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

110 4.


:
SelectGroup()
SelectPriority()
SelectTag()
SelectAll()
SelectItem()
UnSelectAll().

SelectGroup()
,
.

.SelectGroup(_, _)

, , \\node1\Intouch.

, , Turbine.

AlarmViewerCtrl1.
#AlarmViewerCtrl1.SelectGroup(\Intouch,Turbine);

SelectPriority()
,
, .

.SelectPriority(_, _,
_, _)

, , \\node1\Intouch.

, , Turbine.

, , 100.

, , 900.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

4. 111

AlarmViewerCtrl1.
#AlarmViewerCtrl1.SelectPriority(\Intouch,Turbine,
100, 900);

SelectTag()
, ,
.
1-999.

.SelectTag(_, _, ,
_, _)

, , \\node1\Intouch.

, , Turbine.

, , Valve1.

, , 100.

, , 900.

AlarmViewerCtrl1.
#AlarmViewerCtrl1.SelectTag(\Intouch,Turbine,
Valve1, 100, 900);

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

.SelectAll()

#AlarmViewerCtrl1.SelectAll();

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

112 4.

SelectItem()
.

.SelectItem(_)

,
, .
0.

AlarmViewerCtrl1, Tag1
.
:
Tag1 = 9;
#AlarmViewerCtrl1.SelectItem(Tag1);

UnSelectAll()
.

.UnSelectAll()

AlarmViewerCtrl1.
#AlarmViewerCtrl1.UnSelectAll();



ShowContext().

ShowContext()
(
).

.ShowContext()

AlarmViewerCtrl1.
#AlarmViewerCtrl1.ShowContext();

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

4. 113

,
SilentMode ( ).
1,
.
0,
.
(Log Viewer) ArchestrA.

ActiveX

QuickScript
, ,
.
, QuickScript .
Click () DoubleClick ( )
All Providers ( )
ElementId, -1.
Click DoubleClick
(zero-based). Click /
DoubleClick ,
.
-
, OnStartup,
.

.
Properties (). Alarm
ViewerCtrl Properties (
).

2 Events ().
3 Event () ,

, Click () DoubleClick (
).

4 Script () ,

ActiveX.

5 Apply ().

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

114 4.



ActiveX ,

(.. ,

).
NewAlarm ( )
NewAlarmEventMode ( ).
NewAlarmEventMode

0, NewAlarm .
.

NewAlarmEventMode

1,
:
;

ActiveX,

NewAlarm;

NewAlarmEventMode 0.


NewAlarmEventMode 1.

,
,
,
. , ActiveX
, ,
.
.

NewAlarmEventMode

2, NewAlarm

.
.
, ,
.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

5. 115


.
InTouch
:
;
,

;
;
.

,
, ,
( ).
,
.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

116 5.


- InTouch
:
, (condition-

oriented alarms),
;

(expanded summary

alarms)
, : ,
.
,
;

, (event-oriented

alarms), , , OPC (OLE for Control Process,



), ,
( )
.

,

, ,

.
.

. ,
(,
(Hi)
(HiHi)),
. ,
,
,
.
,
( ) .


, :
,
. ,

.
, ,

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

5. 117


.

, ,

.
,
,
.
,
,
.
,
,
,
, ,
.
- (summary)
.
(ring-back alarms).


,
, ,
.
.
.

, .
, ,
, .
,
.
, ,
, .



Expanded Summary ( ),
, ,
, .
,
.
.
-
RTN Implies ACK (
),
Alarm Properties, .

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

118 5.

,

, (event-oriented
alarms), , , OPC (OLE for Control Process,
),
,
( ) .
,
.
,
, .
,
,
.
,
( ) .
,
, .
,
.

,
.

, ,
.
,
.
, , ,
.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

5. 119

, ,
.AlarmAckModel.

.AlarmAckModel
, ,
:

0 ( );

1 ;

2 .

_.AlarmAckModel

, , ,
.

0 (
, ).

( ).

0, 1 2.

IF-THEN ,
PumpStation ( )
:
IF (PumpStation.AlarmAckModel == 1) THEN MyAlarmMessa
ge=PumpStation ;
ENDIF;

.Alarm, .Ack, .UnAck, .AckDev, .AckDSC, AckROC.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

120 5.



,
,
.


,

:
.Ack
.UnAck.


,
Wonderware.

InTouch
$System .Ack.

.Ack

.

_.Ack=1;

, ,
.

1,
,
.
,
, ,
. ,
,
. .Ack ,
1, .

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

5. 121

(/).

,
Tag1:
Tag1.Ack=1;


PumpStation:
PumpStation.Ack=1;
- .ACK
.UnAck. ,
.UnAck 0.

.
.

.Alarm, .UnAck, .AckDev, AckROC, .AckDSC, .AckValue,


.AlarmAckModel.

.UnAck

.

_.UnAck=0;

, ,
.

0,
,
.
,
, ,
. ,
,
. ,
0, .

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

122 5.

(/).

,
Tag1:
Tag1.UnAck=0;


PumpStation:
PumpStation.UnAck=0;
.

.Ack, .Ack(), .Alarm, .AlarmAckModel.


,


.AckValue.

.AckValue

.

_.AckValue=1;

, ,
.

1,
,
.
,

, , .
,
,
. ,
1, .

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

5. 123

(/).

,
Tag1:
Tag1.AckValue=1;


PumpStation:
PumpStation.AckValue=1;


(
GroupVar). , ,
:
StationAlarms.Name = PumpStation;

StationAlarms ,
PumpStation. , ,
,
,
PumpStation,

StationAlarms:
StationAlarms.AckValue=1;
.

.Alarm, .AlarmValueAck, .UnAck,.AckDev, AckDSC, AckROC,


AlarmAckModel.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

124 5.


,


.AckDsc.

.AckDsc

.

_.AckDsc=1;

, , .

1,
,
.
,
, , .
,
,
. ,
1, .

(/).

0 1

, Tag1
:
IF (Tag1.AlarmDsc == 1) THEN MyAlarmMessage=
!;
ENDIF;

.Ack
.UnAck.
1.
.

.Alarm, .AlarmDSC, Ack, .UnAck, .AckDev, .AckDSC, AckROC,


.AckValue, AlarmAckModel.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

5. 125


,


.AckDev.

.AckDev


.

_.AckDev=1;

, ,
.

1,
,
.
,
,
, .
, 1, .

(/).

,
Tag1:
Tag1.AckDev=1;


-
PumpStation:
PumpStation.AckDev=1;
.

.Alarm, .AlarmDev, .Ack, .UnAck, .AckDSC, AckROC, .AckValue,


.AlarmAckModel.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

126 5.


,
-

.AckROC.

.AckROC


.

_.AckROC=1;

, , .

1,

,
.
,
, ,
. ,

, .
, 1, .

(/).

,
Tag1:
Tag1.AckROC=1;


PumpStation:
PumpStation.AckROC=1;
.

.Alarm, .AlarmROC, .Ack, .UnAck, AlarmDev, .AckDSC, .AckValue,


.AlarmAckModel.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

5. 127




,
( ).
,
, . (
).

almAckAll()


,
,
.

,
.

almAckDisplay()

,

.

almAckGroup()


,

.

almAckPriority()


,
.

almAckRecent()

,
.

almAckSelect()
almAckSelectedGroup()

,

,
.

almAckSelectedPriority() ,

,
,

.

almAckSelectedTag()

almAckTag()

Wonderware Russia (ZAO Klinkmann Spb)

,
,

,
.
,
,

.

InTouch HMI

128 5.

Ack()
InTouch.

Ack _;

InTouch, .


:
Ack $System; { }
Ack Tagname

Ack GroupName
.

almAckAll(), almAckGroup(), almAckTag(), almAckDisplay(),


almAckRecent(), almAckPriority(), almAckSelect(),
almAckSelectedGroup(), almAckSelectedPriority(),
almAckSelectedTag()

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

5. 129




InTouch ,
, ,
.
,

.
,

.
, ,
.
,
.
,
,
.
,
-,
.
, IP- .

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

130 5.

- InTouch
,
.
.


1 Special Configure, Alarms.
Alarm Properties (

).


2 - InTouch

,
, RTN implies ACK
( ).

3 OK.


,
, .
State ()
. ,

.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

5. 131

.

1 .
Ack Others ( ),

Ack All ( )

Ack Visible ( )

, .

Ack Comment (
).

2 ().
OK.

1 .
2 . Ack
Selected ( ).
Ack Comment.
3 ().
OK.
,
1 ( )

( ).

2 .
Ack Others ( ),

Ack Selected Groups ( )

,
() ;

Ack Selected Tags ( )

,
(), ();

Ack Selected Priorities ( )


(), ().

Ack Comment.

3 ().
OK.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

132 5.

:
.
,

.
.AlarmComment;
InTouch.

Alarm Comment ( ).
131 .


.AlarmComment
1 Special Configure, Alarms.
Alarm Properties (

).

2 ,

, .AlarmComment
, Retain ACK Comment
as Alarm Comment (
).

,

( , ),
.AlarmComment .

3 OK.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

6. 133


.
-,
. -,
(
), Windows, ,
Excel (Window Viewer),
.
, ,
:

._

,
(HiHi)
Analog_tag,
(Analog User Input touch
link) ,
Analog_tag.HiHiLimit.

, Analog_tag.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

134 6.

.Ack



.
.Ack
- .UnAck.

.UnAck
1. .UnAck

,

.

.AckDev

.AckDsc

.AckROC

.AckValue

.Alarm
.AlarmAckModel

.AlarmDev
.AlarmDevCount

.AlarmDevDeadband

InTouch HMI


, ,
.



.

,
, .

,
.

.

,
:
0 (
);
1 ;
2 .

.
,
.

.



.

( )

,
.

Wonderware Russia (ZAO Klinkmann Spb)

6. 135

.AlarmDevUnAckCount


,

.

.

.

.AlarmDisabled

,
.

.AlarmDsc


,
.

.AlarmDscCount

,
.

.AlarmDscDisabled

-
, .AlarmDisabled
.

,
.

.AlarmDscEnabled

-
, .AlarmEnabled
.

,

( ).

.AlarmDscInhibitor

.AlarmDscUnAckCount

.AlarmEnabled
.AlarmHiDisabled
.AlarmHiEnabled
.AlarmHiHiDisabled

.AlarmHiHiEnabled

.AlarmHiHiInhibitor

Wonderware Russia (ZAO Klinkmann Spb)


,

.

.


.

.


.


.

.

. ,
.

InTouch HMI

136 6.

.AlarmHiInhibitor


.
.
,
.

.AlarmLoDisabled
.AlarmLoEnabled
.AlarmLoInhibitor

.AlarmLoLoDisabled

.AlarmLoLoEnabled

.AlarmLoLoInhibitor

.AlarmMajDevDisabled

.AlarmMajDevEnabled

.AlarmMajDevInhibitor

.AlarmMinDevDisabled

.AlarmMinDevEnabled

.AlarmMinDevInhibitor

InTouch HMI


.

.

.
.
,
.



.


.

.

. ,
.


.


.


.

. ,
.



.


.


.
.
,
.

Wonderware Russia (ZAO Klinkmann Spb)

6. 137

.AlarmROC

,
.

,
.

.AlarmROCCount

.AlarmROCDisabled

.AlarmROCEnabled


.

. ,
.

.AlarmROCInhibitor

.AlarmROCUnAckCount

,

.

.AlarmTotalCount


,
.

.AlarmUnAckCount

(
), ,
0, .

,
.

.AlarmUserDefNum1

-
,
, ,
,
POKE..
.AlarmUserDefNum1Set

Wonderware Russia (ZAO Klinkmann Spb)

,
.
TRUE (),
.AlarmUserDefNum1

.
.AlarmUserDefNum1 ,

FALSE ().
FALSE.

InTouch HMI

138 6.

.AlarmUserDefNum2

(
), ,
0, .

,
.
-
,
, ,
,
POKE..

.AlarmUserDefNum2Set

.AlarmUserDefStr

,
.
TRUE (),
.AlarmUserDefNum2

.
.AlarmUserDefNum2 ,

FALSE ().
FALSE.
, ,
,
.
,
.
-
,
, ,
,
POKE..

.AlarmUserDefStrSet

.AlarmValDeadband

.AlarmValueCount

InTouch HMI

,
.
TRUE (),
.AlarmUserDefStr -
.
.AlarmUserDefStr ,

FALSE ().
FALSE.

,
,
.


,
.

Wonderware Russia (ZAO Klinkmann Spb)

6. 139

.AlarmValueUnAckCount


,
.


,
.

.DevTarget

,
,
,
.


.

.HiLimit, .HiHiLimit,
.LoLimit, .LoLoLimit

.HiStatus, .HiHiStatus,
.LoStatus, .LoLoStatus

.MajorDevPct

.MajorDevStatus

.MinorDevPct

.MinorDevStatus

.Name

Wonderware Russia (ZAO Klinkmann Spb)

,
. ,
.

.
,
, (
)

.
,
. ,

.

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

,
,
TagID.
,
,
.

InTouch HMI

140 6.

.Normal

,
. 1,
.

,
.

.ROCpct

.ROCStatus

,


/ .
,
. ,

.


,
. , ,
, (
) .
,
.
$NewAlarm
$System
.Alarm
.Normal
.AlarmDsc
.AlarmDev
.AlarmROC
.LoStatus
.LoLoStatus
.HiStatus
.HiHiStatus
.MinorDevStatus
.MajorDevStatus
.ROCStatus

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

6. 141

$NewAlarm
$NewAlarm 1,
.
.

$NewAlarm=;

$NewAlarm

( ).

0 1

$NewAlarm
. ,
, ,
0 .

PlaySound,
.


,
.
Ack $System

$NewAlarm=0;
HideSelf;

,
$NewA-larm 0,
.

$System
.

$System

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

142 6.

.

$System.

$System.Ack = 1; { }

.Alarm
0,
. ,
.Alarm 1. 1,
. .Alarm
.Normal.
,
.Alarm 1, ,
, .

_.Alarm

, .

( ).

0 1

, Tag1
:
IF (Tag1.Alarm == 1) THEN

IF-THEN ,
PumpSta-tion :
IF (PumpStation.Alarm == 1) THEN MyAlarmMessage=
!;
ENDIF;

.Ack
.UnAck.
1.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

6. 143

.Normal
1,
. ,
.Alarm 0. . Normal
.Alarm.

_.Normal

, .

( ).

0 1

If-THEN ,
Tag1 .
, ELSE.
IF (Tag1.Normal == 1) THEN
MyOperatorMessage= Tag1
;

ELSE
MyOperatorMessage= Tag1
;
ENDIF;

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

144 6.

.AlarmDsc
,
.
0.
, 1.
, .
,
.AlarmDsc 1,
, ,
.

_.AlarmDsc

( ).

0 1

, Tag1
:
IF (Tag1.Alarm == 1) THEN
MyAlarmMessage=
!;
ENDIF;

.Ack
.UnAck.
.AlarmDsc 1.
.

Ack, UnAck, Alarm, AlarmDsc, AckDsc

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

6. 145

.AlarmDev
,
.
0.
, 1.
, .
,
.AlarmDev 1,
, ,
.

_.AlarmDev

, ,
.

( ).

0 1

, Tag1
:
IF (Tag1.AlarmDev == 1) THEN

IF-THEN ,
PumpSta-tion
:
IF (PumpStation.AlarmDev == 1) THEN
MyAlarmMessage=
!;
ENDIF;

.Ack
.UnAck.
.AlarmDev 1.
.

Ack, UnAck, Alarm, AckDev

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

146 6.

.AlarmROC
,
.
0.
,
1. ,
.
,
.AlarmDev 1,
, ,
.

_.AlarmROC

, ,
.

( ).

0 1

, Tag1
:
IF (Tag1.AlarmROC == 1) THEN

IF-THEN ,
PumpSta-tion
:
IF (PumpStation.AlarmROC == 1) THEN
MyAlarmMessage=
!;
ENDIF;

.Ack
.UnAck.
.AlarmROC 1.
.

Ack, AckROC, Alarm, AlarmROCEnabled, AlarmROCDisabled.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

6. 147

.LoStatus
,
- .
0.
,
1. ,
.

.Alarm .Ack
.

_.LoStatus

, ,
.

( ).

0 1

IF-THEN ,
.LoStatus ( ) MyTag 1:
IF (MyTag.LoStatus == 1) THEN
OperatorMessage= MyTag
;
ENDIF;

.Alarm, .AlarmValue, .Ack, .LoLimit, .LoSet, .AlarmDisabled,


.AlarmEnabled, .AlarmLoDisabled, .AlarmLoEnabled,
.AlarmLoInhibitor

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

148 6.

.LoLoStatus
,

. 0.
,
1. ,

.

.Alarm .Ack
.

_.LoLoStatus

, ,
.

( ).

0 1

IF-THEN ,
.LoLoStatus ( )
MyTag 1:
IF (MyTag.LoLoStatus == 1) THEN
OperatorMessage= MyTag
;
ENDIF;

.Alarm, .AlarmValue, .Ack, .LoLoLimit, .LoLoSet, .AlarmDisabled,


.AlarmEnabled, .AlarmLoLoDisabled, .AlarmLoLoEnabled,
.AlarmLoLoInhibitor

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

6. 149

.HiStatus
,
.
0.
,
1. ,
.

.Alarm .Ack
.

_.HiStatus

, ,
.

( ).

0 1


, MotorAmps ( )
:
IF (MotorAmps.HiStatus == 1) THEN
CALL PumpShutdown();
ENDIF;

.Alarm, .AlarmValue, .Ack, .HiLimit, .HiSet, .AlarmDisabled,


.AlarmEnabled, .AlarmHiDisabled, .AlarmHiEnabled,
.AlarmHiInhibitor

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

150 6.

.HiHiStatus
,

. 0.
,
1. ,

.

.Alarm .Ack
.

_.HiHiStatus

, ,
.

( ).

0 1

IF-THEN ,
.HiHiStatus ( )
MyTag 1:
IF (MyTag.HiHiStatus == 1) THEN
OperatorMessage= MyTag
;
ENDIF;

.Alarm, .AlarmValue, .Ack, .HiHiLimit, .HiHiSet, .AlarmDisabled,


.AlarmEnabled, .AlarmHiHiDisabled, .AlarmHiHiEnabled,
.AlarmHiHiInhibitor

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

6. 151

.MinorDevStatus
,
.
0.
, 1.
,
.

.Alarm .Ack
.

_.MinorDevStatus

, ,
.

( ).

0 1

IF-THEN ,
.MinorDevStatus ( ) MyTag
1:
IF (MyTag.MinorDevStatus == 1) THEN
OperatorMessage= MyTag
;
ENDIF;

.AckDev, .AlarmDev, .AlarmMinDevDisabled, .AlarmMinDevEnabled,


.AlarmMinDevInhibitor, .MinorDevPct, .MajorDevStatus

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

152 6.

.MajorDevStatus
,

. 0.
,
1. ,
.

.Alarm .Ack
.

_.MajorDevStatus

, ,
.

( ).

0 1

IF-THEN ,
.MajorDevStatus ( )
MyTag 1:
IF (MyTag.MajorDevStatus == 1) THEN
OperatorMessage= MyTag
;
ENDIF;

.AckDev, .AlarmDev,.AlarmMajDevDisabled, .AlarmMajDevEnabled,


.AlarmMajDevInhibitor, .MinorDevPct, .MajorDevSet,
.MinorDevStatus

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

6. 153

.ROCStatus
,
.
0.
,
1. ,
.

.Alarm .Ack
.

_.ROCStatus

, ,
.

( ).

0 1

IF-THEN ,
.ROCStatus ( ) MyTag 1:
IF (MyTag.ROCStatus == 1) THEN
OperatorMessage= MyTag
;
ENDIF;

.ROCPct, .ROCSet

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

154 6.


,
:
.LoLoSet
.LoSet
.HiSet
.HiHiSet
.MinorDevSet
.MajorDevSet
.ROCSet

.LoLoSet
,
.

_.LoLoSet

( ).

0 1


, ,
MyTag:
IF (MyTag.LoLoSet == 1) THEN
MsgTag= MyTag
;
ENDIF;

.Alarm, .AlarmValue, .Ack, .LoLoStatus, .LoLoLimit, .AlarmDisabled,


.AlarmEnabled, .AlarmLoLoDisabled, .AlarmLoLoEnabled,
.AlarmLoLoInhibitor

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

6. 155

.LoSet
,
.

_.LoSet

( ).

0 1


, ,
MyTag:
IF (MyTag.LoSet == 1) THEN
MsgTag= MyTag
;
ENDIF;

.Alarm, .AlarmValue, .Ack, .LoStatus, .LoLimit, .AlarmDisabled,


.AlarmEnabled, .AlarmLoDisabled, .AlarmLoEnabled,
.AlarmLoInhibitor

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

156 6.

.HiSet
,
.

_.HiSet

( ).

0 1


, ,
MyTag:
IF (MyTag.HiSet == 1) THEN
MsgTag= MyTag
;
ENDIF;

.Alarm, .AlarmValue, .Ack, .HiHiStatus, .HiHiLimit, .AlarmDisabled,


.AlarmEnabled,
.AlarmHiHiDisabled, .AlarmHiHiEnabled, .AlarmHiHiInhibitor

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

6. 157

.HiHiSet
,
.

_.HiHiSet

( ).

0 1


, ,
MyTag:
IF (MyTag.HiHiSet == 1) THEN
MsgTag= MyTag
;
ENDIF;

.Alarm, .AlarmValue, .Ack, .HiHiStatus, .HiHiLimit, .AlarmDisabled,


.AlarmEnabled, .AlarmHiHiDisabled, .AlarmHiHiEnabled,
.AlarmHiHiInhibitor

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

158 6.

.MinorDevSet
,
.

_.MinorDevSet

( ).

0 1


, ,
( ) MyTag:
IF (MyTag.MinorDevSet == 1) THEN
MsgTag= MyTag
;
ENDIF;

.AckDev, .AlarmDev, .AlarmMinDevDisabled, .AlarmMinDevEnabled,


.AlarmMinDevInhibitor, .MinorDevPct, .MinorDevStatus

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

6. 159

.MajorDevSet
,
.

_.MajorDevSet

( ).

0 1


, ,
( ) MyTag:
IF (MyTag.MajorDevSet == 1) THEN
MsgTag= MyTag
;
ENDIF;

.AckDev, .AlarmDev, .AlarmMajDevDisabled, .AlarmMajDevEnabled,


.AlarmMajDevInhibitor, .MajorDevPct, .MajorDevStatus

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

160 6.

.ROCSet
,
.

_.ROCSet

( ).

0 1


, ,
MyTag:
IF (MyTag.ROCSet == 1) THEN
MsgTag= MyTag
;
ENDIF;

.Alarm, .Ack, .LoLimit, .LoLoLimit, .HiHiLimit, .HiLimit, .HiSet,


.LoSet, .LoLoSet, .HiStatus, .HiHiStatus, .ROCPct, .ROCStatus

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

6. 161



- InTouch
, (enable)
(disable) ,
.


.AlarmEnabled .AlarmDisabled,
,
. ,
, :
.AlarmEnabled, 1,
, .AlarmDisabled, 1
.
-
,
, . -
,
.
.

.AlarmEnabled
.

_.AlarmEnabled

, , ,
, .

.AlarmEnabled 0,
.

. , ,
,
.

, ,
.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

162 6.

(/).

0
1 ( )

Tag1:
Tag1.AlarmEnabled = 0;
.

.AlarmDisabled

.AlarmDisabled
.

_.AlarmDisabled

, , ,
, .

.AlarmEnabled 1,
.

. , ,
,
.

, ,
.

.AlarmEnabled.

Tag1:
Tag1.AlarmDisabled = 0;
.

.AlarmEnabled

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

6. 163



.AlarmLoLoEnabled .AlarmLoLoDisabled,
,

. ,
,
: .AlarmLoLoEnabled,
1,
, .AlarmLoLoDisabled, 1
.
-

, ,
. -

,
.
- .

.AlarmLoLoEnabled
,
.

_.AlarmLoLoEnabled

, ,
.

.AlarmLoLoEnabled 0,
.

. , ,

, .

(/).

0
1 ( )

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

164 6.


Tag1:
Tag1.AlarmLoLoEnabled = 0;
.

.AlarmDisabled, .AlarmEnabled, .AlarmLoLoDisabled

.AlarmLoLoDisabled
,
.

_.AlarmLoLoDisabled

, ,
.

.AlarmLoLoDisabled 1,
.

. , ,

, .

(/).

1
0 ( )


Tag2:
Tag2.AlarmLoLoDisabled = 0;
.

.AlarmDisabled, .AlarmEnabled, .AlarmLoLoEnabled

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

6. 165


.AlarmLoEnabled .AlarmLoDisabled,
,
.
,
, :
.AlarmLoEnabled, 1,
,
.AlarmLoDisabled, 1 .
-
,
,
. -
,
.
.

.AlarmLoEnabled
,
.

_.AlarmLoEnabled

, ,
.

.AlarmLoEnabled 0,
.

. , ,
,
.

(/).

0
1 ( )

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

166 6.


Tag1:
Tag1.AlarmLoEnabled = 0;
.

.AlarmDisabled, .AlarmEnabled, .AlarmLoDisabled

.AlarmLoDisabled
,
.

_.AlarmLoDisabled

, ,
.

.AlarmLoDisabled 1,
.

. , ,
,
.

(/).

1
0 ( )


Tag2:
Tag2.AlarmLoDisabled = 0;
.

.AlarmDisabled, .AlarmEnabled, .AlarmLoEnabled

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

6. 167


.AlarmHiEnabled .AlarmHiDisabled,
,
.
,
, :
.AlarmHiEnabled, 1,
,
.AlarmHiDisabled, 1 .
-
,
,
. -
,
.
.

.AlarmHiEnabled
,
.

_.AlarmHiEnabled

, ,
.

.AlarmHiEnabled 0,
.

. , ,
,
.

.AlarmHiDisabled.

(/).

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

168 6.

0
1 ( )


Tag1:
Tag1.AlarmHiEnabled = 0;
.

.AlarmHiDisabled, .AlarmEnabled

.AlarmHiDisabled
,
.

_.AlarmHiDisabled

, ,
.

.AlarmHiDisabled 1,
.

. , ,
,
.

.AlarmHiEnabled.

(/).

1
0 ( )


Tag2:
Tag2.AlarmHiDisabled = 0;
.

.AlarmHiEnabled, .AlarmDisabled

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

6. 169



.AlarmHiHiEnabled .AlarmHiHiDisabled,
,

. ,
,
: .AlarmHiHiEnabled,
1,
, .AlarmHiHiDisabled, 1
.
-

, ,
. -

,
.

.

.AlarmHiHiEnabled
,
.

_.AlarmHiHiEnabled

, ,
.

.AlarmHiHiEnabled 0,

.
. ,
,
, .

(/).

0
1 ( )

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

170 6.


Tag1:
Tag1.AlarmHiHiEnabled = 0;
.

.AlarmHiHiDisabled, .AlarmEnabled

.AlarmHiHiDisabled
,
.

_.AlarmHiHiDisabled

, ,
.

.AlarmHiHiDisabled 1,

.
. ,
,
, .

.AlarmHiHiEnabled.

(/).

1
0 ( )


Tag2:
Tag2.AlarmHiHiDisabled = 0;
.

.AlarmHiHiEnabled, .AlarmDisabled

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

6. 171


.AlarmDscEnabled .AlarmDscDisabled,
,
.
, ,
:
.AlarmDscEnabled, 1,
, .AlarmDscDisabled, 1
.
-
,
, .
-
,
.
.

.AlarmDscEnabled
, .

_.AlarmDscEnabled

,
.

.AlarmDscEnabled 0,
.

. , ,
,
.

.AlarmDscDisabled.

(/).

0
1 ( )

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

172 6.


Tag1:
Tag1.AlarmDscEnabled = 0;
.

.AlarmDscDisabled

.AlarmDscDisabled
, .

_.AlarmDscDisabled

,
.

.AlarmDscDisabled 1,
.

. , ,
,
.

.AlarmDscEnabled.

(/).

1
0 ( )


Tag2:
Tag2.AlarmDscDisabled = 0;

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

6. 173

.AlarmMinDevEnabled .AlarmMinDevDisabled,
,
.
,
, :
.AlarmMinDevEnabled, 1,
,
.AlarmMinDevDisabled, 1 .
-
,
,
. -
,
.

.

.AlarmMinDevEnabled
.

_.AlarmMinDevEnabled

, ,
.

.AlarmMinDevEnabled
0, .

. , ,
,
.

.AlarmMinDevDisabled.

(/).

0
1 ( )

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

174 6.


Tag1:
Tag1.AlarmMinDevEnabled = 0;
.

.AlarmDisabled, .AlarmEnabled, .AlarmMinDevDisabled

.AlarmMinDevDisabled
.

_.AlarmMinDevDisabled

, ,
.

.AlarmMinDevDisabled
1, .

. , ,
,
.

.AlarmMinDevEnabled.

(/).

1
0 ( )


Tag2:
Tag2.AlarmMinDevDisabled = 0;
.

.AlarmDisabled, .AlarmEnabled, .AlarmMinDevEnabled

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

6. 175

.AlarmMajDevEnabled .AlarmMajDevDisabled,
,
.
,
, :
.AlarmMajDevEnabled, 1,
,
.AlarmMajDevDisabled, 1 .
-
,
,
. -
,
.

.

.AlarmMajDevEnabled

.

_.AlarmMajDevEnabled

, ,
.

.AlarmMajDevEnabled 0,
.

. , ,
,
.

.AlarmMajDevDisabled.

(/).

0
1 ( )

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

176 6.


Tag1:
Tag1.AlarmMajDevEnabled = 0;
.

.AlarmDisabled, .AlarmEnabled, .AlarmMajDevDisabled

.AlarmMajDevDisabled

.

_.AlarmMajDevDisabled

, ,
.

.AlarmMajDevDisabled 1,
.

. , ,
,
.

.AlarmMajDevEnabled.

(/).

1
0 ( )


Tag2:
Tag2.AlarmMajDevDisabled = 0;
.

.AlarmDisabled, .AlarmEnabled, .AlarmMajDevEnabled

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

6. 177

.AlarmROCEnabled .AlarmROCDisabled,
,
.
,
, :
.AlarmROCEnabled, 1,
,
.AlarmROCDisabled, 1 .
-
,
,
. -
,
.

.

.AlarmROCEnabled
.

_.AlarmROCEnabled

, ,
.

.AlarmROCEnabled 0,
.
-
. , ,
,
.

.AlarmROCDisabled.

(/).

0
1 ( )

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

178 6.


Tag1:
Tag1.AlarmROCEnabled = 0;
.

.AlarmDisabled, .AlarmEnabled, .AlarmROCDisabled

.AlarmROCDisabled
.

_.AlarmROCDisabled

, ,
.

.AlarmROCDisabled 1,
.
-
. , ,
,
.

.AlarmROCEnabled.

(/).

1
0 ( )


Tag2:
Tag2.AlarmROCDisabled = 0;
.

.AlarmDisabled, .AlarmEnabled, .AlarmROCEnabled

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

6. 179



.

, , ,
( )
,
.
.LoLoLimit
LoLimit
.HiLimit
.HiHiLimit
.MinorDevPctLimit
.MajorDevPctLimit
.DevTarget
.ROCPct

.LoLoLimit
.

_.LoLoLimit

,
.


, ,
,
Retentive Parameters ( )
.

(/).

,
.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

180 6.


MyTag1 10:
MyTag1.LoLoLimit = MyTag1.LoLoLimit - 10;
.

.Alarm, .AlarmValue, .Ack, .LoLoStatus, .LoLoSet, .AlarmDisabled,


.AlarmEnabled, .AlarmLoLoDisabled, .AlarmLoLoEnabled,
.AlarmLoLoInhibitor

.LoLimit
.

_.LoLimit

,
.


, ,
,
Retentive Parameters ( )
.

(/).

,
.


MyTag 10:
MyTag.LoLimit = MyTag.LoLimit - 10;
.

.Alarm, .AlarmValue, .Ack, .LoStatus, .LoSet, .AlarmDisabled,


.AlarmEnabled, .AlarmLoDisabled, .AlarmLoEnabled,
.AlarmLoInhibitor

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

6. 181

.HiLimit
.

_.HiLimit

,
.


, ,
,
Retentive Parameters ( )
.

(/).

,
.


PumpTemp 212:
PumpTemp.HiLimit = 212;
.

.Alarm, .AlarmValue, .Ack, .HiHiStatus, .HiHiSet, .AlarmDisabled,


.AlarmEnabled, .AlarmHiHiDisabled, .AlarmHiHiEnabled,
.AlarmHiHiInhibitor

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

182 6.

.HiHiLimit
.

_.HiHiLimit

,
.


, ,
,
Retentive Parameters ( )
.

(/).

,
.


MyTag 5:
MyTag.HiHiLimit = MyTag.HiHiLimit + 5;
.

.Alarm, .AlarmValue, .Ack, .HiHiStatus, .HiHiSet, .AlarmDisabled,


.AlarmEnabled, .AlarmHiHiDisabled, .AlarmHiHiEnabled,
.AlarmHiHiInhibitor

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

6. 183

.MinorDevPct
.

_.MinorDevPct

,
.


, ,
,
Retentive Parameters ( )
.

(/).

0 100.


MyTag 25%:
MyTag.MinorDevPct = 25;
.

.AckDev, .AlarmDev, .AlarmMinDevDisabled, .AlarmMinDevEnabled,


.AlarmMinDevInhibitor, .MinorDevSet, .MinorDevStatus

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

184 6.

.MajorDevPct
.

_.MajorDevPct

,
.


, ,
,
Retentive Parameters ( )
.

(/).

0 100.


MyTag 25%:
MyTag.MajorDevPct = 25;
.

.AckDev, .AlarmDev, .AlarmMajDevDisabled, .AlarmMajDevEnabled,


.AlarmMajDevInhibitor, .MajorDevSet, .MajorDevStatus

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

6. 185

.DevTarget

.

_.DevTarget

,
.


, ,
,
Retentive Parameters ( )
.

(/).

,
.


MyTag 500:
MyTag.DevTarget = 500;
.

.AckDev, .AlarmDev, .AlarmMajDevDisabled, .AlarmMajDevEnabled,


.AlarmMajDevInhibitor, .MajorDevSet, .MajorDevStatus

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

186 6.

.ROCPct
.

_.ROCPct

,
.

,
.

(/).

0 100.


MyTag 25%:
MyTag.ROCPct = 25;
.

.ROCStatus, .ROCSet

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

6. 187




:
.AlarmValDeadband
.AlarmDevDeadband

.AlarmValDeadband

InTouch.

_.AlarmValDeadband

,
.


, ,
,
Retentive Parameters ( )
.

(/).

,
.


Tag1 25:
Tag1.AlarmValDeadband = 25;
.

.AlarmDevDeadband

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

188 6.

.AlarmDevDeadband
( )
.

_.AlarmDevDeadband

,
.


, ,
,
Retentive Parameters ( )
.

(/).

0 100.


25%:
tag.AlarmDevDeadband = 25;
.

.AlarmValDeadband, .AlarmDev

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

6. 189

.AlarmComment
, .

.AlarmComment
,
.
.

_.AlarmComment

(/).


- :
mTag1=Tag1.AlarmComment;


, AlmObj_1,
- almCom-ment:
GetPropertyM(AlmObj_1.AlarmComment, almComment);
.

.GetPropertyM(), .AlarmAccess, .AlarmClass, .AlarmDate,


.AlarmLimit, .AlarmName, .AlarmOprName, .AlarmOprNode,
.AlarmPri, .AlarmProv, .AlarmState, .AlarmTime, .AlarmType,
.AlarmValue

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

190 6.



:
.

:
.AlarmUserDefNumX
.AlarmUserDefStr

.AlarmUserDefNum1, .AlarmUserDefNum2
.AlarmUserDefStr
,
.

.AlarmUserDefNumX
,
,
. , InBatch
.AlarmUserDefNum1
$System,
.
.AlarmUserDefNum1 .AlarmUserDefNum2
User1 User2
.
.AlarmUserDefNum1 ,

. .AlarmUserDefNum1
.
.AlarmUserDefNum1,
-, .

_.AlarmUserDefNum1
_.AlarmUserDefNum2

, , ,
,
.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

6. 191


, , ,
, ( ,
). ,

, .

(/).

, (
).

,
, , ,
POKE.
$System.AlarmUserDefNum1 = 4;

GroupA.AlarmUserDefNum1 = 27649;


. , InTouch QuickScript,

.
PtAcc InTouch
-
.
,

. ,
.AlarmUserDefNum1 ,
.
, ,
, ,
;
$System.
,
(
, ).
-
. , ,
.AlarmUserDefNum2,
.AlarmUserDefNum1,
.AlarmUserDefNum1,
.AlarmUserDefNum1 .
.

.AlarmUserDefStr

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

192 6.

.AlarmUserDefStr
.AlarmUserDefStr ,

. .AlarmUserDefStr
User3.
SELECT
. ,
$System.AlarmUserDefStr
Batch String (), ,
, ,
User3,
, .

_.AlarmUserDefStr

, , ,
,
.


, , ,
, ( ,
). ,

, .

(/).

NULL .

,
, , ,
POKE.
Tag04.AlarmUserDefStr = Joe;

. ,
InTouch QuickScript,
- .
PtAcc
InTouch -
.
,

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

6. 193

. , .AlarmUserDefStr
,
. ,
, ,
, ;
$System.
,
(
, ).
,

. , ,
.AlarmUserDefNum1, .AlarmUserDefStr,

.AlarmUserDefStr,
.
.

.AlarmUserDefNumX

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

194 6.


:
.AlarmDscInhibitor
.AlarmLoLoInhibitor
.AlarmLoInhibitor
.AlarmHiInhibitor
.AlarmHiHiInhibitor
.AlarmMinDevInhibitor
.AlarmMajDevInhibitor
.AlarmROCInhibitor

.AlarmDscInhibitor
, .

_.AlarmDscInhibitor

.
.

( ).

.AlarmDscInhibitor
.Name ,
.AlarmDscInhibitor,
.

( , SomeIndirectTag
):
SomeIndirectTag.Name = AlarmedTag.AlarmDscInhibitor;

, ,
, ,
, :

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

6. 195

SomeIndirectTag=1;

. AlarmedTag
.
SomeIndirectTag=0;

.
AlarmedTag.

.AlarmLoLoInhibitor
,
.

_.AlarmLoLoInhibitor

.
.

( ).

.AlarmLoLoInhibitor
.Name ,
.AlarmLoLoInhibitor,
.

( ,
SomeIndirectTag ):
SomeIndirectTag.Name = AlarmedTag.AlarmLoLoInhibitor;

, ,
, ,
, :
SomeIndirectTag=1;

.
AlarmedTag .
SomeIndirectTag=0;

.
AlarmedTag.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

196 6.

.AlarmHiInhibitor, .AlarmHiHiInhibitor, .AlarmLoInhibitor

.AlarmLoInhibitor
,
.

_.AlarmLoInhibitor

.
.

( ).

.AlarmLoInhibitor
.Name , .AlarmLoInhibitor,
.

( ,
SomeIndirectTag ):
SomeIndirectTag.Name = AlarmedTag.AlarmLoInhibitor;

, ,
, ,
, :
SomeIndirectTag=1;

. AlarmedTag
.
SomeIndirectTag=0;

.
AlarmedTag.
.

.AlarmHiInhibitor, .AlarmHiHiInhibitor, .AlarmLoLoInhibitor

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

6. 197

.AlarmHiInhibitor
,
.

_.AlarmHiInhibitor

.
.

( ).

.AlarmHiInhibitor
.Name , .AlarmHiInhibitor,
.

( ,
SomeIndirectTag ):
SomeIndirectTag.Name = AlarmedTag.AlarmHiInhibitor;

, ,
, ,
, :
SomeIndirectTag=1;

. AlarmedTag
.
SomeIndirectTag=0;

.
AlarmedTag.
.

.AlarmHiHiInhibitor, .AlarmLoInhibitor, .AlarmLoLoInhibitor

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

198 6.

.AlarmHiHiInhibitor
,
.

_.AlarmHiHiInhibitor

.
.

( ).

.AlarmHiHiInhibitor
.Name ,
.AlarmHiHiInhibitor,
.

( ,
SomeIndirectTag ):
SomeIndirectTag.Name = AlarmedTag.AlarmHiHiInhibitor;

, ,
, ,
, :
SomeIndirectTag=1;

.
AlarmedTag .
SomeIndirectTag=0;

.
AlarmedTag.
.

.AlarmHiInhibitor, .AlarmLoInhibitor, .AlarmLoLoInhibitor

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

6. 199

.AlarmMinDevInhibitor
,
.

_.AlarmMinDevInhibitor

.
.

( ).

.AlarmMinDevInhibitor
.Name ,
.AlarmMinDevInhibitor,
.

( ,
SomeIndirectTag ):
SomeIndirectTag.Name = AlarmedTag.
AlarmMinDevInhibitor;

, ,
, ,
, :
SomeIndirectTag=1;

. AlarmedTag
.
SomeIndirectTag=0;

.
AlarmedTag.
.

.AlarmMajDevInhibitor

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

200 6.

.AlarmMajDevInhibitor
,
.

_.AlarmMajDevInhibitor

.
.

( ).

.AlarmMajDevInhibitor
.Name ,
.AlarmMajDevInhibitor,
.

( ,
SomeIndirectTag ):
SomeIndirectTag.Name = AlarmedTag.
AlarmMajDevInhibitor;

, ,
, ,
, :
SomeIndirectTag=1;

.
AlarmedTag .
SomeIndirectTag=0;

.
AlarmedTag.
.

.AlarmMinDevInhibitor

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

6. 201

.AlarmROCInhibitor
,
.

_.AlarmROCInhibitor

.
.

( ).

.AlarmROCInhibitor
.Name ,
.AlarmROCInhibitor,
.

( ,
SomeIndirectTag ):
SomeIndirectTag.Name = AlarmedTag.AlarmROCInhibitor;

, ,
, ,
, :
SomeIndirectTag=1;

.
AlarmedTag .
SomeIndirectTag=0;

.
AlarmedTag.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

202 6.

.AlarmTotalCount

,
.

.AlarmUnAckCount

.AlarmValueCount


,
.

, .

.AlarmValueUnAckCount


, .

.AlarmDscCount
.AlarmDscUnAckCount
.AlarmDevCount
.AlarmDevUnAckCount
.AlarmROCCount
.AlarmROCUnAckCount

InTouch HMI


.

.

.


.

.

Wonderware Russia (ZAO Klinkmann Spb)

6. 203

.AlarmTotalCount

.

_.AlarmTotalCount


, , , .
,
.

( ).

0 .

Tag1 , . ATC
, ,
( ,
), Tag1.
ATC = Tag1.AlarmTotalCount;
.

.AlarmDevCount, .AlarmDevUnAckCount, .AlarmDSCCount,


.AlarmDSCUnAckCount, .AlarmValueCount, .AlarmUnAckCount,
.AlarmValueUnAckCount, .AlarmROCCount,
.AlarmROCUnACkCount

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

204 6.

.AlarmUnAckCount

.

_.AlarmUnAckCount


, , ,
.

( ).

0 .

Tag1 ,
. AUC , ,
,
Tag1.
AUC = Tag1.AlarmUnAckCount;
.

.AlarmDevCount, .AlarmDevUnAckCount, .AlarmDSCCount,


.AlarmDSCUnAckCount, .AlarmValueCount, .AlarmTotalCount,
.AlarmValueUnAckCount, .AlarmROCCount,
.AlarmROCUnACkCount

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

6. 205

.AlarmValueCount

.

_.AlarmValueCount

,
.


, ,
. ,
.
1.

.

( ).

0 .

Tag1 , .
AVC , ,
, Tag1.
AVC = Tag1.AlarmValueCount;
.

.AlarmDevCount, .AlarmDevUnAckCount, .AlarmDSCCount,


.AlarmDSCUnAckCount, .AlarmROCCount, .AlarmTotalCount,
.AlarmValueUnAckCount, .AlarmROCUnACkCount,
.AlarmUnACkCount

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

206 6.

.AlarmValueUnAckCount


.
, ,
.

_.AlarmValueUnAckCount

( ).

0 .

Tag1 , .
AVUC , ,

, Tag1.
AVUC = Tag1.AlarmValueUnAckCount;
.

.AlarmDevCount, .AlarmDevUnAckCount, .AlarmDSCCount,


.AlarmDSCUnAckCount, .AlarmROCCount, .AlarmTotalCount,
.AlarmValueCount, .AlarmROCUnACkCount, .AlarmUnACkCount

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

6. 207

.AlarmDscCount

.

_.AlarmDscCount


, .

1.
.

( ).

0 .

Tag1 , .
ADC , ,
(
, ),
Tag1.
ADC = Tag1.AlarmDSCCount;
.

.AlarmDevCount, .AlarmDevUnAckCount, .AlarmValueCount,


.AlarmROCUnAckCount, .AlarmTotalCount, .AlarmDscUnAckCount,
.AlarmValueUnAckCount, .AlarmROCUnAckCount,
.AlarmUnAckCount

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

208 6.

.AlarmDscUnAckCount

.

_.AlarmDscUnAckCount

( ).

0 .

Tag1 , .
ADUC , ,
,
Tag1.
ADUC = Tag1.AlarmDSCUnAckCount;
.

.AlarmDevCount, .AlarmDevUnAckCount, .AlarmDscCount,


.AlarmValueCount, .AlarmROCCount, .AlarmTotalCount,
.AlarmValueUnAckCount, .AlarmROCUnAckCount,
.AlarmUnAckCount

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

6. 209

.AlarmDevCount

.

_.AlarmDevCount

,
.


, , ,
.
1.

.

( ).

0 .

Tag1 , .
ADC , ,
(
, ),
Tag1.
ADC = Tag1.AlarmDevCount;
.

.AlarmDSCCount, .AlarmValueCount, .AlarmROCUnAckCount,


.AlarmTotalCount, .AlarmDSCUnAckCount,
.AlarmValueUnAckCount, .AlarmDevUnAckCount,
.AlarmROCUnAckCount, .AlarmUnAckCount

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

210 6.

.AlarmDevUnAckCount

.

, .

_.AlarmDscUnAckCount

,
.

( ).

0 .

Tag1 , .
ADUC , ,
,
Tag1.
ADUC = Tag1.AlarmDevUnAckCount;
.

.AlarmDevCount, .AlarmDSCCount, .AlarmValueCount,


.AlarmROCUnAckCount, .AlarmTotalCount,
.AlarmDSCUnAckCount, .AlarmValueUnAckCount,
.AlarmROCUnAckCount, .AlarmUnAckCount

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

6. 211

.AlarmROCCount

.
, .

1.
.
.

_.AlarmROCCount

,
.

( ).

0 .

Tag1 ,
. ARC ,
,
( , ),
Tag1.
ARC = Tag1.AlarmROCCount;
.

.AlarmDevCount, .AlarmDevUnAckCount, .AlarmDscCount,


.AlarmDscUnAckCount, .AlarmValueCount, .AlarmTotalCount,
.AlarmValueUnAckCount, .AlarmROCUnAckCount,
.AlarmUnAckCount

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

212 6.

.AlarmROCUnAckCount

.

_.AlarmROCUnAckCount

,
.

( ).

0 .

Tag1 ,
. ARUC ,
,
, Tag1.
ARUC = Tag1.AlarmROCUnAckCount;
.

.AlarmDevCount, .AlarmDevUnAckCount, .AlarmDscCount,


.AlarmDscUnAckCount, .AlarmValueCount, .AlarmTotalCount,
.AlarmValueUnAckCount, .AlarmROCCount, .AlarmUnAckCount

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

7. 213

ActiveX (Alarm
Tree Viewer)
, . ,
,
(Alarm Providers), (Nodes)
(Groups).



. , ,
,

.

,
.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

214 7.


, ,
. .
.


:
;
;
.


InTouch,
. . InTouch.
( 6).



:
, ;
;
;
, ;
;
;
.


, .



:
;
;
,

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

7. 215

.
Properties.
AlarmTreeViewerCtrl Properties (
).

2 General.

. :

Perform Query on Startup (

),
.
,
Refresh
();

Show Context Sensitive Menu (

),
. , ,
Configure Context Menus (
). .
;

Display Mode ( )

.
Auto Refresh Interval (
). 5
32767 ;

Expansion Level ( )
.

,
,
. 1 ,
; 2
,
, ..;

Sort Elements in Alphabetical Order (

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

216 7.

) ,
.

: Ascending ( ) Descending (
);
Show Heading ( ),


. , ,
;

Show Status Bar (

),
;

Font ()

.
Windows
;

Element Selection ( ),

Allow Multiple Selection (

),
CTRL SHIFT;

Silent Mode (

),
,
.
,
(Logger).

4 Apply ().
5 Color ().


6 ,

:
, , ,
, .

7 Apply ().

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

7. 217


,

.

1

.
Properties.
AlarmTreeViewerCtrl Properties.

2 General.


3 Font.

Windows .
OK.

4 OK.



.
,
.

1

.
Properties.
AlarmTreeViewerCtrl Properties.

2 General.
3 Display Mode ( )

.
Auto Refresh Interval (
). 5
32767

4 Apply.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

218 7.



,
( ).
,
.

1

.
Properties.
AlarmTreeViewerCtrl Properties.

2 General.
3 Show Context Sensitive Menu (

), .

4 Configure Context Menus (

).
Context Sensitive Menus.


5 ,

.
.

Refresh ()

,
.

Freeze

()

/
() .

Query
( ) Favorites ( )

.
Add to Favorites

(
Query Favorites.
)
Query Favorites

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

7. 219

Sort ()

Sort


.

Statistics

()

Alarm
Statistics ( ),

.

6 OK. Context Sensitive Menus

7 Apply.



,
.
, .
.
:

\\\_

\_


, :

\InTouch \\Node17\InTouch \\MyNode\InTouch

\InTouch.
(
InTouch).
. .xml-.
,
,
.
,
.
ArchestrA Galaxy (
\Galaxy),
InTouch, Galaxy. :

\\Node\Galaxy!Area[]


,
.
,
,

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

220 7.

, ,
.

1

.
Properties.
AlarmTreeViewerCtrl Properties.

2 Query ().


3 Alarm Query ( )

4 Apply.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

7. 221



,
.

1

.
Properties.
AlarmTreeViewerCtrl Properties.

2 Query ().


3 :
a Query Favorites File ( )

( ),
;

b Filter Favorites (
), Edit Favorites File (

). Filter Favorites,
,
.
OK, .

4 OK.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

222 7.



(
).

1

.
Properties.
AlarmTreeViewerCtrl Properties.

2 General ().


3
, Sort Elements in Alphabetical Order

( ).

4 : Ascending ( )
Descending ( ).
5 OK.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

7. 223


:
;
;

,
,
.
,
SHIFT , , .
,
.
,
, :
Refresh () ;
Freeze () ;
Query Favorites ( )
Alarm Query ( ),

Create Query Favorites ( )


Add Query ( ),

,
( );

Sort () Sort,


( );

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

224 7.

Statistics () Alarm
Statistics ( ),




:
;
.


Query Favorites ( )

,
.
, .

1

2 Query Favorites.
Alarm Query ( ).
3 ,

4 OK.

, .

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

7. 225

ActiveX

,
.

1

.
Properties.
AlarmTreeViewerCtrl Properties.

2 Properties ().
3 . OK.


. .
ActiveX.

AddtoFavoritesMenu


Add to Favorites
( ).

AlarmQuery

ElementSelection
ExpansionLevel

Font

FreezeMenu
HeaderText

MultiSelection

QueryFavoritesFile

Wonderware Russia (ZAO Klinkmann Spb)


-.
: \\<>\<>
\<>.

,
.

,


. 1 ,

; 2
,
, ..
,


.


Freeze ().
,

.


-
.

InTouch HMI

226 7.

QueryFavoritesMenu


Query Favorites ( ).

QueryStartup

RefreshInterval

RefreshMenu

SelTextBackColor
SelTextColor
ShowContextMenu
ShowHeading
ShowStatusBar

SilentMode

SortElements
SortMenu
SortOrder

StatsMenu

,

,
. ,

.

(
).

,
,
Refresh ()
.

.


.

.

,
,
.
:
,

.

, ,

.
,
, -

.

.


Sort ().


. : 0
( ) 1 (
).

Stats ().

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

7. 227

TextColor

TitleBackColor

TitleForeColor

WindowColor

Wonderware Russia (ZAO Klinkmann Spb)


.
,
ShowHeading.


.
,
ShowHeading.

.

InTouch HMI

228 7.

ActiveX


:
;

;
;
.



:
AboutBox()
GetElementCount().

AboutBox()
About ( )
.

.AboutBox()

AlarmTreeViewerCtrl1.
#AlarmTreeViewerCtrl1.AboutBox()

GetElementCount()
.

.GetElementCount()

AlarmTreeViewerCtrl1, nTag1
.
nTag1 = #AlarmTreeViewerCtrl1.GetElementCount();

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

7. 229


,
, :
CheckElementMembership()
GetElementCount()
GetElementName()
GetElementPath()
GetSelectedElementCount()
GetSelectedElementName()
GetSelectedElementPath()
GetSubElementCount()
GetSubElementName()
GetSubElementPath()

CheckElementMembership()
,
.

.CheckElementMembership(_, _
_, __)

, , \InTouch \\_.

__

, , GroupA.

__

, , GroupB.

GetElementCount()
.

.GetElementCount()

AlarmTreeViewerCtrl1, nTag1
.
nTag1 = #AlarmTreeViewerCtrl1.GetElementCount();

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

230 7.

GetElementName()
, .

.GetElementName(_)

AlarmTreeViewerCtrl1, StrTag
-.
StrTag = #AlarmTreeViewerCtrl1.GetElementName(3);

GetElementPath()
, ,
.

.GetElementPath(_, _
)

AlarmTreeViewerCtrl1, StrTag
-. 17 4
.
StrTag = #AlarmTreeViewerCtrl1.GetElementPath(17,4);

GetSelectedElementCount()
.

.GetSelectedElementCount()

AlarmTreeViewerCtrl1, nTag1
.
nTag1 = #AlarmTreeViewerCtrl1.GetSelectedElementCount
();

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

7. 231

GetSelectedElementName()
.

.GetSelectedElementName()

AlarmTreeViewerCtrl1, StrTag
-.
StrTag = #AlarmTreeViewerCtrl1.GetSelectedElementName
();

GetSelectedElementPath()

.

.GetSelectedElementPath(_)

AlarmTreeViewerCtrl1, StrTag
-.
StrTag = #AlarmTreeViewerCtrl1.GetSelectedElementPath
(3);

GetSubElementCount()
.

.GetSubElementCount(, _)

, , \\Node_name\InTouch

,
,
.

, , Group1.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

232 7.

AlarmTreeViewerCtrl1, nTag1
.
nTag1 = #AlarmTreeViewerCtrl1.GetSubElementCount(,
Group1);
nTag = #AlarmTreeViewerCtrl1.GetSubElementCount(\\
NodeName, Group1);
nTag1 = #AlarmTreeViewerCtrl1.GetSubElementCount(\
InTouch, Group1);

nTag1 = #AlarmTreeViewerCtrl1.GetSubElementCount (\\


NodeName\InTouch, Group1);

GetSubElementName()

.

.GetSubElementName(, _, _
)

, , \\Node_name\InTouch

,
,
.

, , Group1.

AlarmTreeViewerCtrl1, StrTag
-.
StrTag=#AlarmTreeView-erCtrl1.GetSubElementName(,G
roup1,1);
StrTag=#AlarmTreeViewerCtrl1.GetSubElementName(\\
NodeName, Group1, 1);

StrTag = #AlarmTreeViewerCtrl1.GetSubElementName(\
InTouch, Group1, 1);

StrTag = #AlarmTreeViewerCtrl1.GetSubElementName (\\


NodeName\InTouch, Group1, 1);

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

7. 233

GetSubElementPath()

.

.GetSubElementPath(, _, _
, _)

, , \\Node_name\InTouch

,
,
.

, , Group1.

AlarmTreeViewerCtrl1, StrTag
-.
StrTag = #AlarmTreeViewerCtrl1.GetSubElementPath(,
Group1, 1, 3);
StrTag = #AlarmTreeViewerCtrl1.GetSubElementPath(\\
NodeName, Group1, 1, 3);
StrTag = #AlarmTreeViewerCtrl1.GetSubElementPath(\
InTouch, Group1, 1, 3);

StrTag = #AlarmTreeViewerCtrl1.GetSubElementPath (\\


NodeName\InTouch, Group1, 1, 3);

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

234 7.


,
,
Freeze().

Freeze()

.

.Freeze()

, :

1 ;

0 .

Tag1 , AlarmTreeViewerCtrl1 -
.
Tag1=1;

#AlarmTreeViewerCtrl1.Freeze(Tag1);


,
, GetAlarmQueryFrom
Selection().
.

GetAlarmQueryFromSelection()
, ,
.

.GetAlarmQueryFromSelection()

AlarmTreeViewerCtrl1,
StrTag -. , StrTag
\\NodeName\InTouch\GroupA.
StrTag = #AlarmTreeViewerCtrl1.GetAlarmQueryFromSelec
tion();

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

7. 235



, (
) ,
. :
SetQueryByName()
SetQueryByString()

SetQueryByName()

.
.

.SetQueryByName(_)

,
.

: TurbineQueries.

AlarmTreeViewerCtrl1.
#AlarmTreeViewerCtrl1.SetQueryByName(TurbineQueries
);

SetQueryByString()
,
.

.SetQueryByString(_)

, , , \\
MasterNode\InTouch

AlarmTreeViewerCtrl1.
#AlarmTreeViewerCtrl1.SetQueryByString(\\MasterNode\
InTouch);

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

236 7.


(Logger).
,
.

ActiveX

QuickScript
.

.
Click ( ) DoubleClick (
) All Providers ( )
(ElementID), -1.
-
,
Startup (),
.

.
- InTouch .
( 6).



ActiveX,
,
.
, ,
,
.
-
,
Startup (),
.



. , ,
,

.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

7. 237

ActiveX,

:
sQuery=#AlarmTreeViewerCtrl.GetAlarmQueryFromSelectio
n();
#AlarmViewerCtrl.AlarmQuery = sQuery;
#AlarmViewerCtrl.Requery;

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

238 8. InTouch HMI


InTouch .
, , ,
.
,
.

InTouch

InTouch

LPT1


,

.
,
.
,
,
InTouch.
Windows,
,
, (..
, ).

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

8. InTouch HMI 239



.

.

.
,
,
.

, .

.alc.
.
.


,
. ,
,
.
.
, ,
. ,
Windows,
.


1 . :
a Tools ()
Applications ();
b Alarm Printer ( ).
2 Configure.
Configuration Settings ( ).

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

240 8. InTouch HMI

3 Printing ().


4 Print To ( )

:
None () ;
LPT1-3 - ,

,
InTouch;

COM1-4 - ,

,
InTouch. Port Configuration
( ) COM
Properties ( COM-),
, COM;

Printer - (

,
InTouch). Printer ,
Browse.

- ,
, (Add
Printer Wizard) Windows.
5 Remove Trailing Spaces in Printouts (

),
.

6 Enable Printing ( ),

7 Disable Realtime Alarm Printing (

), ,

.

8 OK.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

8. InTouch HMI 241



,
-.
:
;
(

);

, .
1 999.
1, 999.

.
, .

1 . :
a Tools ()
Applications ();
b Alarm Printer ( ).
2 Configure.
Configuration Settings ( ).
3 Query ().


4 From Priority ( )

, (
1).

5 To Priority ( )

, (
999).

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

242 8. InTouch HMI

6 Alarm State ( )

, .

All ()


()
Unack

()
Ack

7 Alarm Query ( )

.
.
.

8 Record alarms generated after query starts

( , ),
,
.
,
,
.

9 OK.



. -
,
.

1 . :
a Tools ()
Applications ();
b Alarm Printer ( ).
2 Configure.
Configuration Settings ( ).

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

8. InTouch HMI 243

3 Message ().


4 Date/Time (/) Date

(). .
.

DD


(01-31).

MM
YY
YYYY
MMM

(01-12).

( )

5 Time ().

. .

AP

AM/PM (/ ).
, 15.00
3:00 PM.
,
24-
(, 15:00).

HH

MM
SS
SSS

Wonderware Russia (ZAO Klinkmann Spb)

(00-23
01-12),
.

(00-59),
.

(00-59),
.

,
.

InTouch HMI

244 8. InTouch HMI

6 .

OAT

(Original Alarm Time


) /
.

LCT

LCT but OAT on ACK

(Last Changed Time


) /

: ,
, ,
.
(Last Changed Time, but Original
Alarm Time on acknowledgement).
,
,

.

7 , .

Alarm State

, ,
UnAck () Ack
().

( )
Alarm Class (

Alarm Type (

, ,
VALUE ( ),
DEV (), ROC (
).

, , HIHI
( ),
LO ( ), MAJDEV
( ).

Priority

( 1 999).

7.1 Default



7.1.

()
(
7.1) -
7.11 Default

(
7.11) -



7.11.

Remove Trailing Spaces

(
)
Minimum
Column Spacing

(

)

InTouch HMI

,

, .


,

.

Wonderware Russia (ZAO Klinkmann Spb)

8. InTouch HMI 245

Alarm Name (

().

Length ()

Group Name (

( 64)
.

Length ()

Alarm Provider

.
Length ()
( 64)
.

( 64)
.

( )

. Length
()
( 32)
.

Value at Alarm

(
)
Limit ()

Operator Node (

Operator Name (

()

(
1)

Wonderware Russia (ZAO Klinkmann Spb)

,
.
Length ()
( 64),
.

,

.
, IP .
,
. Length
()
( 16),
.
,
. Length
()
( 131),
.

Comment

User1

.
Length ()
( 32),
.
,
.


1 (User
Defined Number 1),
.

InTouch HMI

246 8. InTouch HMI

User2


2 (User
Defined Number 2),
.

(
2)



, .

User3

(
3)

8 Apply ().

-.
, :
YYMMDDHH.ALG

YY


-.

MM
DD
HH

(01-12)
-.

(01-31)
-.
(00-23)
-.

InTouch
(GMT), ,
.

1 . :
a Tools ()
Applications ();
b Alarm Printer ( ).
2 Configure.
Configuration Settings ( ).

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

8. InTouch HMI 247

3 File Logging ( ).


4 -,
Enable Alarm File Logging (

).

5 Directory () ,

- .

6 Number of Hours to Cycle Filename ( )

( ),
-.

1 24.
InTouch ,
,
-,
. ,
6, 4
, ( 6
).

7 Starting at Hour ( ) ( ),


-.

0 23.

, ,
, 6.00.
,
. Number of Hours to Cycle
Filename 8, Starting at Hour - 6.
-
6.00 14.00, - 14.00 22.00, 22.00
6.00.

8 Keep Log Files for ( -

) ( ),
-.

-
.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

248 8. InTouch HMI

- .
,
Keep Log Files for 0.
9 Log File Name Extension ( -

)
-,
ALG.

.csv,
- Excel
Notepad.

10 -,
Remove Trailing Spaces in Log Entries

( ).

(Field
Separator Character),
-.

11 - ,
, Original
Column Ordering ( ).
12 Apply.



Alarm Printer
( ) .
(
.alc).

, ,
.
,

( .alc).

1 . :
a Tools ()
Applications ();
b Alarm Printer ( ).

2 File New ().

3 Configure.
Configuration Settings ( ).
4 .
5 File Save ().

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

8. InTouch HMI 249



1 File Open ().
2 ,

3 .
4 File Save ().

(
), Save as
( ).


,

(.alc).
, ,
.
.

.
,
.

.

Query () Start/Stop.

Query () Start/Stop.



-
- ,

,
:
ALMPRT.EXE q MYQUERY.ADC

q
. (.EXE)
.
, ,
-
InTouch.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

250 8. InTouch HMI



.
Configuration Settings,
-.

1 . :
a Tools ()
Applications ();
b Alarm Printer ( ).
2 ,

,
.

3 File Logging ( ).
4 .


, ,
-.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

8. InTouch HMI 251



.
:
ALMPRT.EXE MYQUERY.ALC

MYQUERY.ALC
. .EXE .
, ,
-
InTouch.


.

, , .
.

1
3
4
5
6
7
8
9
20
21
22
23
24
25

(To)
(From)

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

252 8. InTouch HMI

26

28

27

, ,




:
APUStartInstance()
APUStartQuery()
APUStopInstance()
APUStopQuery()

APUStartInstance()

, , .

[=]APUStartInstance(s__, i_
_);

s__

( ).

i__

. ,
.

16 .
( 0
15) i__.

.


.
0,
- .

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

8. InTouch HMI 253

. ,
,
APUStartQuery().

Status = APUStartInstance(c:\MyAlarmCfg\Area1Alarms.
alc, Inst);
.

APUStartQuery(), APUStopInstance(), APUStopQuery()

APUStartQuery()

, .

[=]APUStartQuery(i_, i_, i_,


i_, i_, i_);

i_

( 0 15).

i_

i_

i_

i_

i_


.
0,
( 0
1 1900 ., ).
.
-1, ,
.
.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

254 8. InTouch HMI

Status = APUStartQuery(Inst,2007,4,16,22,12);
.

APUStartInstance(), APUStopInstance(), APUStopQuery()

APUStopInstance()
.

,
,
.

[=]APUStopInstance(i_);

i_

( 0 15).

Status = APUStopInstance(5);
.

APUStartInstance(), APUStartQuery(), APUStopQuery()

APUStopQuery()
,
. ,
- .
,
APUStartQuery().

[=]APUStopQuery(i_);

i_

( 0 15).

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

8. InTouch HMI 255

Status = APUStopQuery(5);
.

APUStartInstance(), APUStartQuery(), APUStopInstance()



,
:
APUGetAlarmGroupText()
APUGetQueryFromPriority()
APUGetQueryToPriority()
APUGetConfigurationFilePath()
APUGetPrinterJobCount()
APUGetQueryAlarmState()
APUGetQueryProcessingState()

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

256 8. InTouch HMI

APUGetAlarmGroupText()
.

[=]APUGetAlarmGroupText(i_, s__
);

i_

( 0 15).

s__


(.alc),
.
s__, - InTouch.
.

- TagGroup
: \intouch!$system
Status = APUGetAlarmGroupText(Inst, TagGroup);
.

APUGetConfigurationFilePath(), APUGetPrinterJobCount(),
APUGetQueryAlarmState(), APUGetQueryFromPriority(), APUGetQ
ueryProcessingState(), APUGetQueryToPriority()

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

8. InTouch HMI 257

APUGetQueryFromPriority()
(From Priority)
.

[=]APUGetQueryFromPriority(i_, i_
_);

i_

( 0 15).

i__

InTouch,
(From Priority).

(.alc),
.
(From Priority)
i__,
InTouch.
.

FromPri ,
(From Priority),
,1.
Status = APUGetQueryFromPriority(Inst, FromPri);
.

APUGetAlarmGroupText(), APUGetConfigurationFilePath(),
APUGetPrinterJobCount(), APUGetQueryAlarmState(), APUGetQue
ryProcessingState(), APUGetQueryToPriority()

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

258 8. InTouch HMI

APUGetQueryToPriority()
(To Priority)
.

[=]APUGetQueryToPriority(i_, i_
);

i_

( 0 15).

i_

,
(To Priority).

,
APUGetQueryToPriority, -
. (To Priority)
i_,
.
.

ToPri
(To Prior-ity), , 999.
Status = APUGetQueryToPriority(Inst, ToPri);
.

APUGetAlarmGroupText(), APUGetConfigurationFilePath(),
APUGetPrinterJobCount(), APUGetQueryAlarmState(), APUGetQue
ryFromPriority(), APUGetQueryProcessingState()

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

8. InTouch HMI 259

APUGetConfigurationFilePath()
.alc- ,
.

[=]APUGetConfigurationFilePath (i_,
s___);

i_

( 0 15).

s___

-,
,
.

-,
s___
.
.

- CfgFilePath
,
, Inst, , c:\
MyAlarmCfg\Area1Alarms.alc.
Status = APUGetConfigurationFilePath(Inst,
CfgFilePath);
.

APUGetAlarmGroupText(), APUGetPrinterJobCount(),
APUGetQueryAlarmState(), APU-GetQueryFromPriority(), APUGet
QueryProcessingState(), APUGetQueryToPriority()

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

260 8. InTouch HMI

APUGetPrinterJobCount()
( )
Windows, .

[=]APUGetPrinterJobCount (i_, i__


);

i_

( 0 15).

i__

,
.

i__,
.
,
, .
,
, .

Windows
,
.
.

PJCount
,
.
Status = APUGetPrinterJobCount(Inst, PJCount);
.

APUGetAlarmGroupText(), APUGetConfigurationFilePath(),
APUGetQueryAlarmState(), APUGetQueryFromPriority(),
APUGetQueryProcessingState(), APUGetQueryToPriority()

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

8. InTouch HMI 261

APUGetQueryAlarmState()
.

[=]APUGetQueryAlarmState(i_, i__
);

i_

( 0 15).

i__

,
,
.
:


(.alc).
i__,
.
.

AlmState
, 0, 1 2.
Status = APUGetQueryAlarmState(Inst, AlmState);
.

APUGetAlarmGroupText(), APUGetConfigurationFilePath(),
APUGetPrinterJobCount(), APUGetQueryFromPriority(),
APUGetQueryProcessingState(), APUGetQueryToPriority()

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

262 8. InTouch HMI

APUGetQueryProcessingState()
.

[=]APUGetQueryProcessingState(i_,
i__);

i_

( 0 15).

i__

,
.
:


i__,
.
.

ProcState ,
0, , 1
.
Status = APUGetQueryProcessingState(Inst, ProcState);
.

APUGetAlarmGroupText(), APUGetConfigurationFilePath(),
APUGetPrinterJobCount(),APUGetQueryAlarmState(),
APUGetQueryFromPriority(), APUGetQueryToPriority()

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

8. InTouch HMI 263



:
APUFindAlarmGroupInstance()
APUFindFileInstance()
APUFindPrinterInstance()
APUGetInstanceCount()
APUIsInstanceUsed()

APUFindAlarmGroupInstance()
,
.

[=]APUFindAlarmGroupInstance(s_, i_
);

s_

,
.

i_

,
,
.

i_,

.
(.alc). ,
1,
0.
.

FoundInstance ,
,
$System.

Status = APUFindAlarmGroupInstance($System,
FoundInstance);

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

264 8. InTouch HMI

APUFindFileInstance(), APUFindPrinterInstance(),
APUGetInstanceCount(),
APUIsInstanceUsed()

APUFindFileInstance()
,
(.alc).

[=]APUFindFileInstance(s___,
i_);

s___

.alc- ,
.

i_

,
,
.

i_,

. ,
.
, , .
,
1,
0.
.

InstFound ,

,
c:\MyAlarmCfg\Area1Alarms.alc.
Status = APUFindFileInstance(c:\MyAlarmCfg\
Area1Alarms.alc, InstFound);
.

APUFindAlarmGroupInstance(), APUFindPrinterInstance(),
APUGetInstanceCount(), APUIsInstanceUsed()

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

8. InTouch HMI 265

APUFindPrinterInstance()
,
.

[=]APUFindPrinterInstance(s_, i_
);

s_

, .

i_

,
.

i_,

. ,
.
.alc- . ,
, .
,
1,
0.
.

FoundInst ,

, (.alc-)
LPT1.
Status = APUFindPrinterInstance(LPT1, FoundInst);
.

APUFindAlarmGroupInstance(), APUFindFileInstance(),
APUGetInstanceCount(),
APUIsInstanceUsed()

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

266 8. InTouch HMI

APUGetInstanceCount()

( 16).

[=]APUGetInstanceCount(i_);

i_

,
.


, .
;
, ,
,
.
.

iCount .
, , 7, ,
.
Status = APUGetInstanceCount (iCount);
.

APUFindAlarmGroupInstance(), APUFindFileInstance(),APUFindPri
nterInstance(),
APUIsInstanceUsed()

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

8. InTouch HMI 267

APUIsInstanceUsed()
, ,
.

[=]APUIsInstanceUsed(i_);

i_

( 0 15).

0 1:
0 ;
1 - .

InUse ,
(1), 5
, (0)
.
Status = APUIsInstanceUsed(5);
.

APUFindAlarmGroupInstance(), APUFindFileInstance(), APUFindPr


interInstance(),
APUGetInstanceCount()

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

268 8. InTouch HMI


:
APUGetPrinterName()
APUGetPrinterStatus()

APUGetPrinterName()
Windows,
.

[=]APUGetPrinterName(i_, s__
);

i_

( 0 15).

s__

-,
,
.

NONE,
.
.alc- .
, , s__.
.

PrtName -,

, 3
.
Status = APUGetPrinterName(3,PrtName);
.

APUGetPrinterStatus()

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

8. InTouch HMI 269

APUGetPrinterStatus()
Windows,
.

[=]APUGetPrinterStatus(i_, i_
, i__);

i_

( 0 15).

i_

, :

0 ;

1
;

2 ;

3 .

i__

,
,
,
, i_.


, i__
.
, .
,
, .

Microsoft Windows.
,
.
.

PrtStat ,
(Printer Offline) ,
5 .
Status = APUGetPrinterStatus(5, 2,PrtName);
.

APUGetPrinterName()

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

270 8. InTouch HMI


,
, :
APUSetAlarmGroupText()
APUSetQueryAlarmState()
APUSetQueryFromPriority()
APUSetQueryToPriority()
APUSetTimeoutValues()

APUSetAlarmGroupText()
.

[=]APUSetAlarmGroupText(i_, s_
);

i_

( 0 15).

s_

0 ;

,
.
.

( 1)
\InTouch!GroupA.
Status = APUSetAlarmGroupText(\InTouch!GroupA,1);
.

APUSetQueryAlarmState(), APUSetQueryFromPriority(),
APUSetQueryToPriority(), APUSetTimeoutValues()

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

8. InTouch HMI 271

APUSetQueryAlarmState()
.

[=]APUSetQueryAlarmState(i_, i_
);

i_

( 0 15).

i_

0 ;

1 ;

2 .

,
APUSetQueryAlarmState.
.

( 3)

.
Status = APUSetQueryAlarmState(3,1);
.

APUSetAlarmGroupText(), APUSetQueryFromPriority(),
APUSetQueryToPriority(), APUSetTimeoutValues()

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

272 8. InTouch HMI

APUSetQueryFromPriority()
(From Priority)
.

[=]APUSetQueryFromPriority(i_, i_
);

i_

( 0 15).

i_

( 1 999).

,
.
.

,
Inst,
,
FromPri.
Status = APUSetQueryFromPriority(Inst, FromPri);
.

APUSetAlarmGroupText(), APUSetQueryAlarmState(),
APUSetQueryToPriority(), APUSetTimeoutValues()

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

8. InTouch HMI 273

APUSetQueryToPriority()
(To Priority)
.

[=]APUSetQueryToPriority(i_, i_
);

i_

( 0 15).

i_

( 1 999).
,
(From Priority),
.

(To Priority)
, (From
Priority), .
, APUSetQueryTo Priority(),
.
.

, 0,
240.
Status = APUSetQueryToPriority(0,240);
.

APUSetAlarmGroupText(), APUSetQueryAlarmState(),
APUSetQueryFromPriority(), APUSetTimeoutValues()

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

274 8. InTouch HMI

APUSetTimeoutValues()
- .
- , ,

, .
- .
10
, - 20
.

[=]APUSetTimeOutValues(i_, i__
, i__);

i_

- .

i__

( ).

i__

( ).

Status = APUSetTimeoutValues(iMemory, iShort, iLong);


.

APUSetAlarmGroupText(), APUSetQueryAlarmState(),
APUSetQueryFromPriority(), APUSetToValues()

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

8. InTouch HMI 275



APU-TranslateErrorCode().

APUTranslateErrorCode()
, APU,
( ),
.

[=]APUTranslateErrorCode(i__, s__
);

i_ _

( ),
APU.

s__

-, .


-, s__.
,
.
.

-,
ErrMsg, No instance
available, 15
.
Status = APUTranslateErrorCode(APUSetAlarmGroupTest(1
5, $system), ErrMsg;

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

276 9.


(Alarm DB Logger),
.
.

InTouch. ,
, , - (
, Smart Cache).
-
.


InTouch

B
B

A
C


.
, .
.

( ,
) ArchestrA.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

9. 277

SQL Server

(Alarm DB Logger
Manager) SQL Server
.

wwAdmin

wwAdmin

wwPower

wwPower

wwUser

wwUser


.
,
.

,
.

- .
, SQL Server
, ,

.

1 Tools ()
Applications ().
2 Alarm DB Logger Manager (
). Alarm DB Logger
Manager.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

278 9.



,
:
;
,

;
.



.

SQL Server.
.

1 .

a Tools ()
Applications ();

b) Alarm DB Logger Manager.


2 Settings ().


(Alarm DB Logger Manager Configuration).

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

9. 279

3 . :
a Server Name ( )

, ;

b Database ( )

InTouch;

c User Name ( )

, ;

d Password () ,

4 Logging Mode ( )

.
:

Detailed ()

( ,
, );

Consolidated ()

( ,
, )

.

5 Create (), .
6 Test Connection ( ).

.
,
.

7 (
) Next ().



( )
InTouch.

.
:

\\_\!_

\!_

\\ProdSvr\InTouch!$System

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

280 9.


1 .

. :

a Tools ()
Applications ();
b Alarm DB Logger Manager (

);

c Settings ().


(Alarm DB Logger Manager Configuration).

2 Next (). Alarm DB


Logger Manager Query Selection (

).

Alarm State ( )
,
. Query Type (
) .

3 From Priority ( )

( )
.

4 To Priority ( )

( ) .

5 Alarm Query ( ) ,

6 (
) Next ().

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

9. 281



.

(Events) .
, ,

.
(logging interval) - ,
(reconnect rate) SQL Server.
,
.
- , SQL Server.
,
.

1 .

. :

a Tools ()
Applications ();
b Alarm DB Logger Manager (

);

c Settings ().


(Alarm DB Logger Manager Configuration).

2 Next (). Alarm DB


Logger Manager Query Selection (

).

3 Next (). Alarm


DB Logger Manager Advanced Settings (

).

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

282 9.

4 ,
InTouch, Log
Events ( ).
5 Performance Tuning ( )

( )
.

6 Finish ().


. .
1 .
2 .

. :

a Tools ()
Applications ();
b Alarm DB Logger Manager (

);

c Settings ().


(Alarm DB Logger Manager Configuration).

3 Next (). Alarm DB


Logger Manager Query Selection (

).

4 Next (). Alarm


DB Logger Manager Advanced Settings (

).

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

9. 283

5 Running Logger As ( )
Windows Service ( Windows) Normal
Application ( ).
6 Finish ().


.
,
.

1 Tools ()
Applications ().
2 Alarm DB Logger Manager (

), .

Smart Cache Status ( -)


, .

3 , Start.
4 ,
Stop.


SQL Server,

.
(database view)
,
.
,

SQL, ,
.
().
, ,
.

. ,
(HiHi),

.
,

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

284 9.

.

(Unicode).


v_AlarmHistory
.

( EventStamp [ ] EventStampUTC
[ ]).
, ,
(origination), (acknowledge),
(enable), (disable),
(return-to-normal).

.

EventStamp (
)

Datetime

AlarmState
( )

nChar

, (
).

TagName ( )

nChar

Description
()

nVarchar

Area ()

nChar

Value ()

nChar

CheckValue
(
)

nChar

Type ()

nChar

Priority ()

Integer

Provider ()

nChar

Category () nChar

: UNACK
(), UNACK_RTN
( ), ACK
(), ACK_RTN (
).
, , ,
TIC101.

.

( InTouch) ,
-
.
(Area) (Group) .

, , Hi, HiHi, ROC,


PV.HiAlarm.


.

.
.

: Value (
), Dev (), ROC (
), Process ( ),
Batch (), System () ..
: /InTouch,
Galaxy.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

9. 285

Operator ()

nChar

UserFullName
(
)

nChar


(, Joseph P.Smith).

Float


( )
( ).

DomainName (
)

UNACKDuration
(
)

nChar

User1
Float
( 1)

1.

User2
Float
( 2)

2.

EventStampUTC
(

)

Datetime

, (
).

Small Int

OperatorNode (
)

nvarchar(32)

(
0,1 ).

User3
nChar
( 3)

Millisec
()

().

, .

v_AlarmHistory2
v_AlarmHistory.

EventStamp (
)

Datetime

AlarmState
( )

nChar

, (
).

TagName ( )

nChar

Description
()

nVarchar

Area ()

nChar

Value ()

nChar

Type ()

nChar

Wonderware Russia (ZAO Klinkmann Spb)

: UNACK
(), UNACK_RTN
( ), ACK
(), ACK_RTN (
).
, , ,
TIC101.

.

( InTouch) ,
-
.
(Area) (Group) .

, , Hi,HiHi, ROC,
PV.HiAlarm.

InTouch HMI

286 9.

CheckValue
(
)

nChar

Priority ()

Integer

Provider ()

nChar

Operator ()

nChar

UserFullName
(
)

nChar


(, Joseph P.Smith).

Float

Category () nChar

DomainName (
)

AlarmDuration
(
)

nChar

: Value (
), Dev (), ROC (
), Process ( ),
Batch (), System () ..
: /InTouch,
Galaxy.
.
.

User1
Float
( 1)

1.

User3
nChar
( 3)

().

User2
Float
( 2)

2.

EventStampUTC
(

)

Datetime

, (
).

Small Int

(
0,1 ).

Millisec
()


: :
SELECT * FROM v_AlarmHistory

:
100:
SELECT * FROM v_AlarmHistory WHERE Priority > 100

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

9. 287


v_EventHistory
,
. -
.
( ).

EventStamp (
)

Datetime

TagName ( )

nChar

Description
()

nVarChar

, , ,
Pump1.

Area ()

nChar

Value ()

nChar

Type ()

CheckValue
(
)

nChar

nChar

Category () nChar
Provider ()

nChar

Operator ()

nChar

UserFullName
(
)

nChar

DomainName (
)

nChar

.

InTouch.

(Area) (Group) .

, , Operator data change


( ), Startup
().
( ).

( ).
: Value (
), Process ( ),
Batch (), System () ..
, , /InTouch,
(
).

1, , JoeR ( ).
.


(, Joseph P.Smith).

User1
Float
( 1)

1.

User3
nChar
( 3)

().

Millisec
()

User2
Float
( 2)

2.

EventStampUTC
(

)

Datetime

( ).

Small Int

(
0,1 ).

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

288 9.


v_AlarmEventHistory
,
. -
.
.


.

EventStamp (
)

Datetime

AlarmState
( )

nChar

TagName ( )

nChar

: UNACK
(), UNACK_RTN
( ), ACK
(), ACK_RTN (
). .

Description
()

nVarchar

Area ()

nChar

Value ()

nChar

CheckValue
(
)

nChar

Type ()

nChar

Priority ()

Integer

Provider ()

nChar

Operator ()

nChar

DomainName (
)

nChar

Category () nChar

UserFullName
(
)

nChar

, , ,
TIC101.

.

(
-
InTouch) ,
- .
(Area) (Group) .

, , Hi,
HiHi, ROC, PV.HiAlarm,
..

.


,
.
.

,
, , Value ( ),
Process ( ), Batch
(), System () ..
: /InTouch,
Galaxy.

,
.
.


(, Joseph P.Smith).

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

9. 289

UNACKDuration
(
)

Float

( )

(ACK).

User1
Float
( 1)

1.

User2
Float
( 2)

2.

EventStampUTC
(

)

User3
nChar
( 3)

().

Datetime

( ).

Millisec
()

Small Int

(
0,1 ).

v_AlarmEventHistory2
v_AlarmEventHistory.

EventStamp (
)

Datetime

AlarmState
( )

nChar

TagName ( )

nChar

: UNACK
(), UNACK_RTN
( ), ACK
(), ACK_RTN (
). .

Description
()

nVarchar

Area ()

nChar

Value ()

nChar

CheckValue
(
)

nChar

Type ()

Priority ()

nChar

Integer

Wonderware Russia (ZAO Klinkmann Spb)

, , ,
TIC101.

.

(
-
InTouch) ,
- .
(Area) (Group) .

, , Hi,
HiHi, ROC, PV.HiAlarm,
..

.


,
.
.

InTouch HMI

290 9.

Category () nChar

,
, , Value ( ),
Process ( ), Batch
(), System () ..

Provider ()

nChar

Operator ()

nChar

DomainName (
)

nChar
nChar


(, Joseph P.Smith).

AlarmDuration
(
)

Float

( )

(RTN).

UserFullName
(
)

User1
Float
( 1)

: /InTouch,
Galaxy.

,
.
.

1.

User2
Float
( 2)

2.

EventStampUTC
(

)

User3
nChar
( 3)

().

DateTime

( ).

Millisec
()

Small Int

(
0,1 ).

TagName,
Area Type MyTag1
ACK_RTN ACK.
(Provider).
SELECT TagName, Area, Type FROM v_AlarmEventHistory

WHERE TagName=MyTag1

AND (AlarmState=ACK_RTN OR AlarmState=ACK)


ORDER BY Provider

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

9. 291

AlarmSuite
v_AlarmSuiteAlarmView
- ,
, AlarmSuite
AlarmLog ( ). ,
AlarmSuite AlarmLog,
, ,
.

EventStamp (
)

Datetime

EventType (
)

NChar

AlarmSuite.

AlarmType (
)

NChar

AlarmState
( )

NChar

TagName ( )
GroupName (
)

NChar
NChar

, .

Comment
()

NChar

( ).

Value ()
Limit ()

Float
Float

ValueString (
)

NChar

Priority ()

Integer


.
. AlarmSuite.

Operator ()

NChar

Units ()

NChar

7.11.

-


:
SELECT Distinct TagName FROM v_AlarmSuiteAlarmView

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

292 9.



,
SQL Server.
SQL,

.
, ,
.
;
SQL,
SQL Server.
,
SQL-,

.
, ,
, .
Microsoft SQL Server.



EXECUTE:
EXECUTE sp_AlarmCounter @StartDate=2007-01-01, @
EndDate=2007-03-31, @Tagname = tag1, @Type =
LO, @Provider = WW21353\InTouch, @Comment =
SSAADD

StartDate
EndDate. .
- ,
.
,

, SQL Server.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

9. 293

AlarmCounter

.
TagName (
), Provider (), AlarmType ( ), Category
().

( ,
). ,
, , ,
,
1 ( 3).

. :
TagName ( ), Class (), Type (), Provider
(), Comment ().
,
:
TIC101 ( TagName)
Node1|InTouch ( Provider)
Value ( Category)
HiHi ( Type)?
- AlarmCounter
(Detailed)
(Consolidated).

sp_AlarmCounter;

TagName ( )

Nchar

GroupName (
)

Nchar

, , ,
TIC101.

AlarmClass (
)

Nchar

AlarmType (
)

Nchar

AlarmCount ( Integer
)
Priority ()

Integer

Comment
()

Nchar

Provider ()

Nchar

Wonderware Russia (ZAO Klinkmann Spb)

(Area) (Group) .

, , Hi, HiHi,
ROC, PV.HiAlarm ..

, , Value
( ), Process (
), Batch () ..

.
,
.
.

: /InTouch,
Ga-laxy.
.

InTouch HMI

294 9.

:
EXECUTE sp_AlarmCounter @StartDate=2007-01-01
23:23:23, @EndDate=2001-03-31 23:23:23, @Tagname
= $NewAlarm

EventCounter

,
. -
.
: TagName ( ), Provider
(), Comment ().
, .

(, , ).

TagName ( ), Provider (), Category
(), Type ().
sp_EventCounter;

TagName ( )

NChar

Area ()

NChar

, , ,
TIC101.

Type ()

NChar

Category () NChar
EventCount ( Integer
)
Provider ()

NChar

Comment
()

Nchar

(Area) (Group) .
.

, , Value
( ), Process (
), Batch () ..


.
: /InTouch,
Galaxy.

:
EXECUTE sp_EventCounter @StartDate=2007-01-01
23:23:23, @EndDate=2001-03-31 23:23:23, @Tagname
= $NewAlarm

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

10. 295

1 0


ActiveX (Alarm DB View).

,
InTouch .
:
;
;
;
;
, ;
( ,

, );

;
;
.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

296 10.


, .
:
;
;
;
.


In-Touch,
. .
- InTouch.
( 6).




:
;
;
;
;
,

, ;
;
;
;
.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

10. 297



.

.
.

1

.
Properties ().
AlmDBViewCtrl Properties (
).

2 Database ( ).


3 .

a Server Name ( )

, ;

b Database Name ( )

c User ()

d Password () ,


InTouch, Auto Connect
( ).

Auto Connect,
,

Connect(). . .

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

298 10.

5 ,
Test Connection ( ).

,
.

6 Apply ().


,
.

1

.
Properties ().
AlmDBViewCtrl Properties (
).

2 General ().


3 .

, Show Grid

( );


, Silent Mode

( );

,
, Show Message

( ). ,
, ;

,
Show Heading ( );
,
Show Status Bar ( ).
4 Apply ().

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

10. 299


,
.

1

.
Properties ().
AlmDBViewCtrl Properties (
).

2 General ().


3 Font ().

Windows .
OK.

4 Apply ().

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

300 10.


,
:
, , .

1

.
Properties ().
AlmDBViewCtrl Properties (
).

2 General ().


3 Display Mode ( )

Alarm & Event History ( )


, ;

Alarm History ( )

Event History ( )

4 Apply ().

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

10. 301



:
;
;
.

.
-
, .
,
.

1

.
Properties ().
AlmDBViewCtrl Properties (
).

2 General ().
3 Column Details (
). Column Details.


4 Name ,


.
.

State ()

Type ()

Class ()

Priority ()

Group ()

Name ()

Wonderware Russia (ZAO Klinkmann Spb)

,

.

InTouch HMI

302 10.

Provider ()

Value ()

Limit ()

Operator Full Name

Operator Node (

,
.

-,

.
,
IP- .

Operator ()

( )
)

Operator Domain

( )
Alarm Comment

(
)


,
.

,
.

,
.
Alarm Comment
.
,

.


(-1) 1 (User Defined Number 1),
.
User2

(-2) 2 (User Defined Number 2),
.
User3

(-3) , .
Duration
()
User1

5 . ,

, .
,
Column Details,
.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

10. 303

6 ,
Edit ().
Edit.


a New Name ( ) .
b New Width ( ) .

1 999 .

c OK.
7 ,
Reset to Default ( ).
8 Column Details OK.
9 Apply ().



, .
,

1

.
Properties ().
AlmDBViewCtrl Properties (
).

2 General ().

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

304 10.

3 Context-Sensitive Menu Options (

) ,
.
Enable Refresh Menu (

Refresh), ,
Refresh
(). Refresh
;
, (
1 , MaxRecords).

Enable Reset Menu (

Reset), ,
Reset ().
Reset ,
.

Enable Sort Menu ( Sort),

,
Sort ().
Secondary Sort ( ),

.

Enable Filter Menu (

Filter), ,
Filter ().
Filter,
.

4 Resize Column (

),
.

5 Row Selection ( ),

6 Retrieve buttons ( ),

7 Apply ().

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

10. 305



,
,
.

1

.
Properties ().
AlmDBViewCtrl Properties (
).

2 Time/Sort (/).


3 Time Format ( )

31

2007

06/2007

M
/

( )

Aug

11

07

September

06.07

24-

22:15

#x

Wonderware Russia (ZAO Klinkmann Spb)

( )

Friday,
August 09,
2002
06-07

Aug 09, 2007

InTouch HMI

306 10.

4:41

AM (
) PM ( -)

S
S
I

00:41

16:41:07

12-
AM PM.

16:41:07.390
04:41 PM


, ;
.
.

%d %b

09 Aug

%#x

Friday, August 09, 2002

%m/%d/%Y

08/09/2002

%Y-%m-%d

2002-08-09

%m/%d/%Y %H:%M %p

08/09/2002 16:56 PM

%m/%d/%Y %H:%M:%s %p

08/09/2002 16:56:38.07

%I:%M %p

04:56 PM

4 Displayed Time Zone ( )

.
Time Zone

GMT ( )

Local Time (

Origin Time (


,

.

5 Apply ().

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

10. 307




.
,
, .

1

.
Properties ().
AlmDBViewCtrl Properties (
).

2 Selection ().


3 -


,
Duration ().

4 ,
Use Specific Time (

) .

a Start Time ( )

,
. //
::.
, 1
1970 . 18 2038 . (19:14:07).

b End Time ( )

,
. //
::.
, 1
1970 . 18 2038 . (19:14:07).

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

308 10.

c Query Time Zone ( )


UTC ( ) Origin Time ( ).

5 Duration Column ( ) ,

( )
Duration:
UnAck Duration ( )

(
) ,
;

Alarm Duration ( ) -

6 Maximum Records ( )

,
.
1000 1000000.


(Query
Time Zone) - Origin Time ( ) UTC (
).
.
Use Specific Time (
),
.
Duration,
.
,
,
(UTC). ,

.
,
,
,
,
() ,

.
: (UTC)
(Origin Time), ,
.
.
(Transition Time),
(EventStamp).

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

10. 309



,
. ,
.
.
,
.

1

.
Properties ().
AlmDBViewCtrl Properties (
).

2 Query Filter ( ).


3 .

, ,
Add (). .

State ()

. .
( State).

Class ()

Type ()

Priority ()
Name ()

Group ()

Provider ()

Wonderware Russia (ZAO Klinkmann Spb)

.
.

InTouch HMI

310 10.

Value ()

.
.

.

Limit ()

Operator ()

.
.

.

OperatorFullName

OperatorNode (

,
.

(
)

)
OperatorDomain
( )

,
.

.
()
User1
1,
(-1) .
User2
2,
(-2) .
User3
,
(-3) .
Duration
(
()

).

.
Comment

4 ,
Delete ().

.
; ,
Yes.

5 . .

( ).

. . (
).

7 .

a Query Favorites File ( )

, ,
.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

10. 311

b
(Filter Favorites), Edit Favorites File (
). Filter Favorites

( ),
,
. ,
, OK.
.

8 Apply ().


, ,
. , ,
.

1 .
Edit Filter ( ).
Define Filter ( ).


2 Operator .
3 Value () ,

.
,
. Like () Not
Like () Value
, .

( ).

[]


, , [a-f], ,
, [abcdef].

[^]

,
, , [^a-f],
, , [^abcdef].

,
Value .

(
User1, User2, Priority)

- .

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

312 10.

Priority

1 999.

User1, User2


,
.

4 OK.


,
.
AND () ,

OR () ,

AND OR
,
.
.
,
.

AND.
AND OR
, ,
.
.

1 .
Group ().
2 .



,
,

.

1

2 .
Copy ().

(..
), Cut ().

, .

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

10. 313

4
. Query Filter ( ).
5 .

.
Paste ().

State
- State (),
Value ()
Define Filter ( ).
.

ACK

UNACK_ALM

ACK_ALM
ACK_RTN

UNACK_RTN
All UNACK Records
All ACK Records
All ALM Records
All RTN Records

,

.
,

.


.

.
.

,

.

-
,
,
.
, ,
. ,
. ACK_ALM
ACK.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

314 10.


.

1

.
Properties ().
AlmDBViewCtrl Properties (
).

2 Color ().


3 ,

Alarm Return Forecolor


, .

(
)
Alarm Return Backcolor
(
)
Event Forecolor
(
)
Event Backcolor (

,
.

.
.

4 Alarm Priority ( )

.
,

.
1 999.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

10. 315

1
ColorPriorityRange1


1 ,
Alarm
Priority.
250.

ColorPriorityRange1

ColorPriorityRange2 ,
Alarm Priority.
250
500.
ColorPriorityRange2

ColorPriorityRange3 ,
Alarm
Priority.
500 750.
ColorPriorityRange3
- 999


,
Alarm Priority (
- 750), 999.

5 ,

Unack Alm Forecolor

)
Unack Alm
Backcolor (

)
Ack Alm Forecolor
(

)
Ack Alm Backcolor



.



.

6 Apply ().

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

316 10.



.
1

.
Properties ().
AlmDBViewCtrl Properties (
).

2 Time/Sort (/).


3 Primary Sort Column ( )

,
. Sort Column
, .
, ,
, General
() Column Details.

4 Secondary Sort Column (

) ,
.

5 Sort Order ( )
: Ascending ( )
Descending ( ).
6 OK.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

10. 317




:
;
;
;
;
, ;
,


, .
, .

Secondary Sort (
),
, .
,
,
. ,
Sort Order (
).

,
.
, ,

, .
1 Date () State ().
2 State.
3 Sort Order, .
4 Sort Type ( ) Descending (

).

5 OK.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

318 10.

, .

ActiveX

, :
#._ = ;

#._ = 1;
,
, 1 .
.
ActiveX.

AckAlmBackColor

.
(
AckAlmBackColorRange1 AckAlmBackColorRange4).

.AckAlmBackColor [=]

, .

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

10. 319

AckAlmBackColorRange1

. ,
ACK_ALM
1 ColorPriorityRange1.

.AckAlmBackColorRange1 [=]

, .

AckAlmBackColorRange2

. ,
ACK_
ALM
ColorPriorityRange1 ColorPriorityRange2.

.AckAlmBackColorRange2 [=]

, .

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

320 10.

AckAlmBackColorRange3

. ,
ACK_
ALM
ColorPriorityRange2 ColorPriorityRange3.

.AckAlmBackColorRange3 [=]

, .

AckAlmBackColorRange4

. ,
ACK_ALM
ColorPriorityRange3 999.

.AckAlmBackColorRange4 [=]

, .

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

10. 321

AckAlmForeColor

.

( AckAlmForeColorRange1 AckAlmForeColorRange4).

.AckAlmForeColor [=]

, .

AckAlmForeColorRange1

.
,
ACK_ALM 1
ColorPriorityRange1.

.AckAlmForeColorRange1 [=]

, .

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

322 10.

AckAlmForeColorRange2

.
,
ACK_ALM
ColorPriorityRange1 ColorPriorityRange2.

.AckAlmForeColorRange2 [=]

, .

AckAlmForeColorRange3

.
,
ACK_ALM
ColorPriorityRange2 ColorPriorityRange3.

.AckAlmForeColorRange3 [=]

, .

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

10. 323

AckAlmForeColorRange4

.
, ACK_
ALM ColorPriorityRange3 999.

.AckAlmForeColorRange4 [=]

, .

AckRtnBackColor

, ( ACK_
RTN).

.AckRtnBackColor [=]

, .

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

324 10.

AckRtnForeColor

, ( ACK_
RTN).

.AckRtnForeColor [=]

, .

AlmRtnBackColor
,
.
, ALM_
RTN.

.AlmRtnBackColor [=]

,
.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

10. 325

AlmRtnForeColor

,
. ,
ALM_RTN.

.AlmRtnForeColor [=]

,
.

AutoConnect
, ,

.

False ().

.AutoConnect [=_]

, ,

.

True .

False ( ) .


Connect().

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

326 10.

ColorPriorityRange1
,
-.

ColorPriorityRange2.

250

.ColorPriorityRange1 [=_]

ColorPriorityRange2
,
-.
ColorPriorityRange1
ColorPriorityRange3.

500

.ColorPriorityRange2 [=_]

ColorPriorityRange3
,
-.
ColorPriorityRange2
999.

750

.ColorPriorityRange3 [=_]

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

10. 327

ColumnResize
, ,
.

True ()

.Column_Resize [= _]

True ( )
.

False .

ConnectStatus
.
.

.ConnectStatus

Connected .

Not Connected
.

In Progress
.

AlmDbView1, tagname .
Tagname = #AlmDbView1.ConnectStatus;

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

328 10.

CustomMessage
,
,
.

There are no items to show in this view (


).

.CustomMessage [= ]

DatabaseName
,
.

.DatabaseName [=]

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

10. 329

DisplayMode
,
, ( ,
, ) .
.

Alarms & Events History ( )

.DisplayMode

Alarms & Events History ( )

Alarms History ( )

Events History ( )

AlmDbView1, tag .
tag = #AlmDbView1.DisplayMode;

DisplayedTimeZone
.

Local Time ( )

.DisplayedTimeZone

GMT .

Local Time ( )
,
.

Origin Time ( ) -
.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

330 10.

Duration
,
.

Last Hour ( )

.Duration [=]

, .
:

Last Minute

Last 5 Minutes 5

Last 15 Minutes 1

Last Half Hour

Last Hour

Last 2 Hours

Last 4 Hours

Last 8 Hours

Last 12 Hours

12

Last Day

Last 2 Days

Last 3 Days

Last Week

Last 2 Weeks

Last 30 days

30

Last 90 days

90

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

10. 331

EndTime
.

.EndTime [=]

, .
// ::
.
.
1 1970 . ( ) 18 2038 . (
19:14:07).

EventBackColor
.
,
EVT_EVT.

.EventBackColor [=]

,
.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

332 10.

EventForeColor

. ,
EVT_EVT.

.EventForeColor [=]

,
.

FilterFavoritesFile
.
Filter Favorites (
) .

(Null).

.FilterFavoritesFile [= ]

FilterMenu
, ,
Filter.

True ().

.FilterMenu [= _]

True Filter ( ).

False - Filter .

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

10. 333

FilterName
( ).

( ).

(Null).

.FilterName [= ]

FromPriority

.

.FromPriority [= _]


. ,
760, ,
760 , ToPriority.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

334 10.

GroupExactMatch
,
Group (, GroupA, GroupB, CGroup
..)

False ().

.GroupExactMatch [= _]


GroupName ,
. GroupExactMatch (
) True, ,
GroupName.
GroupExactMatch = False, GroupName
,
.

AlarmDBViewCtrl1.GroupName = Group

AlarmDBViewCtrl1.GroupExactMatch = 0;
AlarmDBViewCtrl1.Refresh();

GroupName

.

.GroupName [= _]

GroupA, ,
GroupA ,
,
GroupA.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

10. 335

MaxRecords

, .

100.

.MaxRecords [= _]

, ,
.
1 1000.

, , .

Password
SQL Server
.

.Password [= ]

, .

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

336 10.

PrimarySort
,
.

.PrimarySort [= ]

ProviderExactMatch
,
Provider (), ,
Provider1, Provider2, 3Provider ..

False ().

.ProviderExactMatch [= _]


ProviderName ,
. ProviderExactMatch (
) True,
,
ProviderName. ProviderExactMatch = False,
ProviderName ,
.

AlarmDBViewCtrl1.ProviderName = Provider
AlarmDBViewCtrl1. ProviderExactMatch = 0;
AlarmDBViewCtrl1.Refresh();

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

10. 337

ProviderName

.

.ProviderName [= _]

Provider1, ,
Provider1 ,
,
Provider1.

QueryTimeZoneName
,
.

False ()

.QueryTimeZone [= _]

True .

False ( ).

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

338 10.

RefreshMenu
, ,
Refresh
().

True ().

.RefreshMenu [= _]

True Refresh ( ).

False - Refresh .

ResetMenu
, ,
Reset ().

True ().

.ResetMenu [= _]

True Reset ( ).

False - Reset .

RowCount
,
. .

.RowCount

AlmDbView1, tagname
.
tagname = #AlmDbView1.RowCount;

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

10. 339

RowSelection
, ,
.

True ()

.RowSelection [= _]

True ( ) .

False .

, Click (
) Double Click ( ) .

SecondarySort
, ,
Sort ().

True ().

.SortMenu [= _]

True Sort ( ).

False - Sort .

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

340 10.

ServerName
,
.

.ServerName [= ]

ShowFetch
, ,
.

True ().

.ShowFetch [= _]

True ( ).

False - .

ShowGrid
, ,
.

False ().

.ShowGrid [= _]

True .

False - ( ).

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

10. 341

ShowGrid
, ,
.

False ().

.ShowGrid [= _]

True .

False - ( ).

ShowHeading
, ,
.

True ().

.ShowHeading [= _]

True ( ).

False - .

ShowMessage
,
There are no items
to show in this view (
) , .

False ().

.ShowMessage [= _]

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

342 10.

ShowStatusBar
, ,
.

True ().

.ShowStatusBar [= _]

True ( ).

False - .

SilentMode
, ,
.

False ().

.SilentMode [= _]

True .

False - ( ).

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

10. 343

SortMenu
, ,
Sort ().

True ().

.SortMenu [= _]

True Sort ( ).

False - Sort .

SortOrder

, (
).

True ().

.SortOrder [= _]

True .

False .

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

344 10.

SpecificTime
, ,
StartTime
EndTime,
Duration.

False ().

.SpecificTime [= _]

True StartTime EndTime.

False ( )
Duration.

StartTime
.

.StartTime [=]

, .
// ::
.
.
1 1970 . ( ) 18 2038 . (
19:14:07).

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

10. 345

Time
,
.

%m/%d/%Y %I:%M:%S %p

.Time [= ]

.

.

ToPriority

.

999

.ToPriority [= _]


. ,
900, ,
, FromPriority, 900.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

346 10.

TotalRowCount
.
.

.TotalRowCount

(Row Count) ,
.
MaxRecords, ,
,
MaxRecords. ,
950 , MaxRecords 100,
50 ,
50.
TotalRowCount 950.

AlmDbView1, tagname
.
tagname = #AlmDbView1.TotalRowCount;

UnAckAlmBackColor

. ,

UNACK_ALM ( ).

( UnAckAlmBackCo-lorRange1
UnAckAlmBackColorRange4).

.UnAckAlmBackColor [= ]

,
.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

10. 347

UnAckAlmBackColorRange1

. ,
UNACK_ALM
1 ColorPriorityRange1.

.UnAckAlmBackColorRange1 [= ]

,
.

AckAlmBackColorRange2

. ,
UNACK_
ALM
ColorPriorityRange1 ColorPriorityRange2.

.UnAckAlmBackColorRange2 [= ]

,
.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

348 10.

AckAlmBackColorRange3

. ,
UNACK_
ALM
ColorPriorityRange2 ColorPriorityRange3.

.UnAckAlmBackColorRange3 [=]

,
.

UnAckAlmBackColorRange4

. ,
UNACK_ALM
ColorPriorityRange3 999.

.UnAckAlmBackColorRange4 [= ]

,
.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

10. 349

UnAckAlmForeColor

.
,
UNACK_ALM ( ).

( UnAckAlmForeColorRange1
UnAckAlmForeColorRange4).

.UnAckAlmForeColor [= ]

, .

UnAckAlmForeColorRange1

.
,
UNACK_ALM 1
ColorPriorityRange1.

.UnAckAlmForeColorRange1 [= ]

,
.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

350 10.

UnAckAlmForeColorRange2

.
,
UNACK_ALM
ColorPriorityRange1 ColorPriorityRange2.

.UnAckAlmForeColorRange2 [= ]

,
.

UnAckAlmForeColorRange3

.
,
UNACK_ALM
ColorPriorityRange2 ColorPriorityRange3.

.UnAckAlmForeColorRange3 [= ]

,
.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

10. 351

UnAckAlmForeColorRange4

.
, UNACK_
ALM ColorPriorityRange3 999.

.UnAckAlmForeColorRange4 [= ]

,
.

UnAckOrAlarmDuration
,
Duration ()
(UNACK Duration)
(Alarm Duration).
(0),
,
(1) - .

False ().

.UnAckOrAlarmDuration [= _]

UserID
,
SQL
Server .

,
.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

352 10.

ActiveX

ActiveX
:
;
;
;
;
;
;
.


Connect(),
Disconnect().

Connect()
,
, .
1 ,
MaxRecords.

.Connect()

AlmDbView1.
#AlmDbView1.Connect();

Disconnect()
.

.Disconnect

AlmDbView1.
#AlmDbView1.Disconnect();

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

10. 353


,

:
SelectQuery()
GetPrevious()
GetNext()
Refresh()

SelectQuery()

, .xml-.

.SelectQuery(_);

, .

,
HighPriority
,
AlmDbView1.
#AlmDbView1.SelectQuery(HighPriority);

GetPrevious()
(
).

.GetPrevious();

- AlmDbView1.
#AlmDbView1.GetPrevious();

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

354 10.

GetNext()
(
).

.GetNext();

- AlmDbView1.
#AlmDbView1.GetNext();

Refresh()

.
, . 1
, MaxRecords.

.Refresh();

,
, Refresh(),
RowCount ( ) TotalRowCount ( )
-1 (..
).

.
Refresh() :

. ,
RowCount TotalRowCount
Refresh(), , , -1,
.

, ,
-1 ; ,
.

- AlmDbView1.
#AlmDbView1.Refresh();

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

10. 355



:
GetItem()
GetSelectedItem()

GetItem()
(
).

.GetItem(_, );

, ()
.

,
.

AlmDbView1, tag .
tag = #AlmDbView1.GetItem(1,Group);

GetSelectedItem()
().
.

.GetSelectedItem();

,
.

AlmDbView1, tag .
tag = #AlmDbView1.GetSelectedItem (1,State);

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

356 10.


,
:
SortOnCol();
ShowSort();
Reset().

SortOnCol()

.

.SortOnCol(, _);

,
.

: 0 , 1 .

AlmDbView1.
tag = #AlmDbView1.SortOnCol(Name,1);

ShowSort()
Secondary Sort (
), SortMenu.

.ShowSort();

AlmDbView1.
#AlmDbView1.ShowSort();

Reset()

, .

.Reset();

AlmDbView1.
#AlmDbView1.Reset();

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

10. 357


ShowContext().

ShowContext()
,
RefreshMenu, ResetMenu SortMenu.

.ShowContext();

AlmDbView1.
#AlmDbView1.ShowContext();


Filter Favorites (
) ShowFilter().

ShowFilter()
Filter Favorites (
).

.ShowFilter();

AlmDbView1.
#AlmDbView1.ShowFilter();


About ( )
AboutBox().

AboutBox()
About ( ).

.AboutBox();

AlmDbView1.
#AlmDbView1.AboutBox();

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

358 10.

,
, SilentMode.
,
.
, GetLastError(),
.

GetLastError()
,

.

.GetLastError();

AlmDbView1, tagname
.
Tagname = #AlmDbView1.GetLastError();

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

10. 359

ActiveX

ActiveX
QuickScript.

.
Click () DoubleClick ( )
(zero-based).
,
.
-
, OnStartup,
.
ActiveX
1

.
Properties ().
AlmDbViewCtrl Properties (
).

2 Events ().
3 Event () ,

4 Script ,

ActiveX.

5 Apply ().

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

360 11.

1 1

ActiveX
(Alarm Pareto ActiveX Control) ,

.
, .


, ,
, .
,
.

InTouch,
. . -
InTouch. ( 6).

ActiveX


:
;
,

, ;
, ,

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

11. 361



.

.
.

1

Properties (). AlarmPareto


Properties ( ).
2 Database ( ).


3 .

a Server Name ( )

, ;

b Database Name ( )

c User ()

d Password () ,

4 ,


(Window Viewer), Auto Connect
( ).

Auto Connect,
,

Connect(). . .

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

362 11.

5 ,
Test Connection ( ).

,
.

6 Apply ().




. :
;
;
;
,

.

1

Properties (). AlarmPareto


Properties ( ).
2 General ().

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

11. 363

. .

Enable Refresh Menu

Refresh ()
.
Refresh

(
- 1 ,
MaxRecords).

( Refresh)

Enable Filter Menu

(
Filter)

Enable Reset Menu

(
Reset)

Bar Count (

Display Mode (

Filter ()
.
Filter
Filter Favorites
( ).

Reset ()
.
Reset
,
.
,
.

.
: Alarm & Event
History ( ),
Alarm History ( ), Event
History ( ).

,

.

No-Match Message

(
)

Vertical

()

Horizontal

()
Show Status Bar

Silent Mode (

,

.
,

.

(Logger).

(
)

)

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

364 11.

Auto Font



,
,
.

(
)

Show Node Name

(
)
Show Selected
in Status Bar
(

)
Consolidated Alarms
(
)

Show Count in
Percentages

(
)
Show Time in State
(
)


.

.


. ,

(Hi, HiHi Normal), Hi
HiHi
.


.


,
.

, Display Mode
Alarm His-tory.

4 Apply ().
5 Colors ().


6 (. )

.
.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

11. 365

7 .

Background Color

Bar Color (

Font Color (

, .

Select Color (

( )
)
)
)

8 Apply ().



, .

1

Properties (). AlarmPareto


Properties ( ).
2 General ().


3 Font ().

Windows . .
OK.

4 OK.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

366 11.


.
,
,
, .

,

1

.
Properties (). AlarmPareto
Properties ( ).

2 General ().


3 Context-Sensitive Menu Options (

) ,
.
a Enable Refresh Menu (

Refresh), ,
Refresh
(). Refresh ,
,
( - 1 ,
MaxRecords).

b Enable Filter Menu (

Filter), ,
Filter ().
Filter Favorites (
), ,

.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

11. 367

c Enable Reset Menu (

Reset), ,
Reset ().

,
. ,
, ,
,
.

4 Apply ().


,
. :
, (

);

, ;
() .



, , .

1

.
Properties ().
AlarmPareto Properties ( ).

2 General ().

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

368 11.

3 Display Mode ( )

Alarm & Event History ( )


, ;

Alarm History ( )

Event History ( )

4 Apply ().



,
.
,
, .

1

.
Properties (). AlarmPareto
Properties ( ).

2 Selection ().


3 -


,
Duration ().

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

11. 369

4 ,
Use Specific Time (

) .

a Start Time ( )

,
. //
::.
, 1
1970 . 18 2038 . (19:14:07).

b End Time ( )

,
. //
::.
, 1
1970 . 18 2038 . (19:14:07).

c Query Time Zone ( )


UTC ( ) Origin Time ( ).

5 Maximum Records ( )

,
. 0
1000000.

6 Apply ().



,
. ,
.
.
,
, .

1

Properties (). AlarmPareto


Properties ( ).

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

370 11.

2 Query Filter ( ).


3 .

, ,
Add (). .

Class ()

Priority ()

Type ()

Name ()

Group ()

Limit ()

.
.

.

Provider ()

Operator ()

OperatorFullName

OperatorNode (

,
.

(
)

)
OperatorDomain
( )

,
.

.
()
User1
1,
(-1) .
User2
2,
(-2) .
User3
,
(-3) .
Comment

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

11. 371

Duration

(

).

.

()

4 ,
Delete ().

.
; ,
Yes.

5 . .

( ).

. . (
).

7 .

a Query Favorites File ( )

, ,
.

b (Filter
Favorites), Edit Favorites File (
). Filter Favorites

( ),
,
. ,
, OK.
.

8 Apply ().


, ,
. , ,
.

1 .
Edit Filter ( ).
Dialog.


2 Operator .

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

372 11.

3 Value () ,

.
,
. Like () Not
Like () Value
, .

( ).

[]


, , [a-f], ,
, [abcdef].

[^]

,
, , [^a-f],
, , [^abcdef].

, Value
.

(
User1, User2, Priority)
Priority

- .

User1, User2


,
.

1 999.

4 OK.


,
.
AND () ,

OR () ,

AND OR
,
.
.
,
.

AND.
AND OR
, ,
.
.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

11. 373


1 .
Group ().
2 .



,
,

.

1

2 .
Copy ().

(..
), Cut ().

3 ,

4
. Query Filter ( ).
5 .

.
Paste ().

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

374 11.



.

1

Properties (). AlarmPareto


Properties ( ).
2 General ().


3 ,

,
( ), Consolidated
Alarms ( ).

4 ,
, Show Count
in Percentages ( ).
5 Apply ().

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

11. 375



. ,
,
.

Refresh ()

Filter ()

Reset ()

,
,
.
Filter ,
.

, .

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

376 11.

ActiveX

ActiveX .

ActiveX.

AutoConnect


, ,


.

AutoFont

BackGndColor
BarColor
BarCount
BarSelectColor
Connected
ConsolidatedAlarms

DatabaseName

DisplayMode

Duration

EnableRefresh

InTouch HMI



,
,
.

.


.

.

.

,
.


. ,
(Hi,
HiHi Nor-mal), Hi HiHi
.
,

.
.
: Alarm & Event
History ( ),
Alarm History ( ), Event
History ( ).


,

(Sratr Time)
(End Time).


Refresh ()
.

Wonderware Russia (ZAO Klinkmann Spb)

11. 377

EnableReset

Reset
()
.

EnableSilentMode

EndTime
FilterMenu

FilterFavoritesFile
Font
FontColor

HorizontalChart

MaxRecords

NoMatchMessage

FilterFavoritesFile
QueryTimeZone

ServerName

Wonderware Russia (ZAO Klinkmann Spb)


.
,

.
,
.

(Logger).

.


,

, .

,
Filter.
( )
.


.


.


.
,
.

,
,
.

,

.

.

:
(UTC)
(Origin Time).
.

InTouch HMI

378 11.

ShowCountPercentage

,

.
,
.

ShowNodeName

,

(
)
.

ShowSelectedInStatusBar

,
,
.

ShowStatusBar

ShowTimeinState

SpecificTime

StartTime
User

InTouch HMI


, ,
.


, ,

,
.
,


.


, ,

,
StartTime EndTime,


Duration.

.


(User),

SQL Server.

Wonderware Russia (ZAO Klinkmann Spb)

11. 379

ActiveX
ActiveX
:
;
;

Connect()
,
Database .

.Connect();

AlarmPareto1.
#AlarmPareto1.Connect();



:
Refresh()
SelectQuery().

Refresh()

.
, . 1
, MaxRecords.

.Refresh();

#AlarmPareto1.Refresh();

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

380 11.

SelectQuery()
, .

.SelectQuery();

AlarmPareto1.
#AlarmPareto1.SelectQuery(MyFilter);




:
GetItemAlarmName()
GetItemAlarmType()
GetItemCount()
GetItemTotalTime()
GetItemEventType()
GetItemProviderName()

GetItemAlarmName()
.

.GetItemAlarmName(_);

AlarmPareto1.
#AlarmPareto1.GetItemAlarmName(1);

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

11. 381

GetItemAlarmType()
.

.GetItemAlarmType(_);

AlarmPareto1.
#AlarmPareto1.GetItemAlarmType(1);

GetItemCount()
.

.GetItemCount(_);

AlarmPareto1.
#AlarmPareto1.GetItemCount(1);

GetItemTotalTime()
.

.GetItemTotalTime(_);

AlarmPareto1.
#AlarmPareto1.GetItemTotalTime(1);

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

382 11.

GetItemEventType()
.

.GetItemEventType(_);

AlarmPareto1.
#AlarmPareto1.GetItemEventType(1);

GetItemProviderName()

.

.GetItemProviderName(_);

AlarmPareto1.
#AlarmPareto1.GetItemProviderName(1);


About ( )
AboutBox().

AboutBox()
About ( ).

.AboutBox

AlarmPareto1.
#AlarmPareto1.AboutBox();

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

11. 383

,
,
Silent Mode ( ).
. (
).
(Silent Mode),
,
.
,
.
(Logger) InTouch.

ActiveX

ActiveX
QuickScript.

.
-
, - Startup,
.

Click () DoubleClick ( )
(zero-based).
,
.
ActiveX
1

.
Properties (). AlarmPareto
Properties ( ).

2 Events ().
3 Event () ,

4 Script ,

ActiveX.
ActiveX, ,
, OK.

5 Apply ().

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

384 11.

ActiveX

ActiveX ,
.
, ,
.
InTouch
, .
, ,
:
, .
ActiveX,
, .
sQuery = #AlarmPareto.GetAlarmQueryFromSelection();
#AlarmViewerCtrl.AlarmQuery = sQuery;
#AlarmViewerCtrl.Requery();

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

12. 385

1 2


InTouch. Alarm DB Purge-Archive (
)
( )
-. Alarm DB Restore
( )
.
,

.

Alarm DB Purge-Archive,
.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

386 12.


Alarm DB Purge-Archive
:
;
(,

);

();
-

( );


Alarm DB PurgeArchive, .

1 Alarm DB Purge-Archive.

a Tools ()
Applications ();
b Alarm DB Purge-Archive.
2 Database ( ).

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

12. 387

3 .

a Server Name ( )

b Database ( ) ;
c User Information ( )
(User)
(Password).
4 Test Connection ( ).

.
,
. OK.

5 Apply ().


:
,

();

, :
AlarmDetail ( )
AlarmConsolidated ( ).
,
( ).
0 9999.
0, ,
.

1 Alarm DB Purge-Archive.

a Tools ()
Applications ();
b Alarm DB Purge-Archive.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

388 12.

2 General ().


3 Purge Properties ( )

. :

Detailed Mode ( )

, ;

Consolidated Mode ( )

,
.

4 Days Online ( )

, .

5 Apply ().


,
, ,
Alarm DB Restore.
Alarm DB Purge-Archive
- ,
.
.
Alarm DB Purge-Archive
,
. , AlarmMaster
22 2007 . 17.30,
: AlarmMaster_
06222007_1730.txt.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

12. 389


1 Alarm DB Purge-Archive.

a Tools ()
Applications ();
b Alarm DB Purge-Archive.
2 General ().


3 Archive ().
4 Archive Folder Path ( )

,
. ,
.

5 Create Unique Folders (

), ,

.

6 Apply ().

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

390 12.

-
Alarm DB PurgeArchive .
Status ().
, Alarm DB Purge-Archive
WWAlmPurge.log.
, .
Purge Started on 12:16:48 PM 6/22/2007 (
)
Starting transaction....( )

Archiving Table ProviderSession... ( )


Archiving Table Query...
Archiving Table Cause...

Archiving Table Alarm Master...

Archiving Table OperatorDetails...


Archiving Table Alarm Detail...
Archiving Table Comment...
Archiving Table Events...

Archiving Table TagStatus...

Purging records in the database... (


)
Committing.... ( )

Purge Completed On 12:16:52 PM 6/22/2007 (


)

144 records from AlarmMaster were purged along with


the re-lated records from other tables. (
144 AlarmMaster,
)

-
C:\Documents and Settings\All Users\Application
Data\Wonderware\InTouch. ,
Microsoft Vista,
C:\Users\UserName\Documents\
My InTouch Applications.
- .
Alarm
DB Purge-Archive .

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

12. 391


1 Alarm DB Purge-Archive.

a Tools ()
Applications ();
b Alarm DB Purge-Archive.
2 General ().


3 Log File Path ( -)

, -
.
, .

4 Apply ().

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

392 12.



.
. (
Purge All Now )
(Alarm DB Logger).
,

.

1 Alarm DB Purge-Archive.

a Tools ()
Applications ();
b Alarm DB Purge-Archive.
2 Purge/Archive (/).

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

12. 393


, Test Now ( -).


;
. ,
Status :



!!!

Test Now ,
( Archive
General).

4
, Purge Now ( ).

Purge Now
,
.
, ,
.
, ,
.

, ,
, ProviderSession, Query, Cause, .. ,
(, AlarmMaster)
.


.

5 , Cancel Purge

( ).
.

6 ,
Purge All Now ( ).

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

394 12.


Alarm DB Purge-Archive

. ,
,
,
.

1 Alarm DB Purge-Archive.

a Tools ()
Applications ();
b Alarm DB Purge-Archive.
2 Purge/Archive (/).


3 Time Interval ( )
: (Daily), (Weekly)
(Monthly).

Weekly Monthly, Activation


Time ( ) Day (),
,
.

(Daily),
Time (), ,
.

4 Run As ( ) Application

(),
, Service, .

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

12. 395

5 ,
Apply.
6 Alarm DB Purge-Archive
, Activate

( ).

7 Close ().


Alarm DB Restore
.

.


:
;
;
.

Alarm DB Restore
.
, ,
.

.
()
Cancel Restore
.
(
)
Clear Status
.
( )
Restore

Hide Window (

Wonderware Russia (ZAO Klinkmann Spb)

Alarm DB Restore
,
.

InTouch HMI

396 12.

Show Window


Alarm DB Re-store.

( )
Exit ()

Alarm DB Restore.

,
Alarm DB Restore.


,
.
, ,

.

1 Alarm DB Restore.

a Tools ()
Applications ();
b Alarm DB Restore.
2 Configuration ().


3 . :
a SQL Server Name ( SQL-)

, ;

b Database Name ( )

c User Information ( )
(User Name)
(Password);

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

12. 397

d ,
Test Connection ( ).

, .
OK.

4 Close ().


,
, ,
.
Cancel,
.
- , ,
, ,
. ,
.
(GUID) ,
, ,
() .

1 Alarm DB Restore.

a Tools ()
Applications ();
b Alarm DB Restore.
2 Selection ().

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

398 12.

3 Folder Path for Archived Files (

)
( 255 ), ,
.

4 Restore files later than (Date/Time) (

) ,
.
.

5 Folder path for log files ( -)

( 255 ) ,
-,
,
.

6 ,
, Recreate Tables

( ). ,
,
, :
Detailed ()

Consolidated ()

- , ,
, .
7 Restore ().

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

12. 399


, ,
,
.

1 Alarm DB Restore.

a Tools ()
Applications ();

b Alarm DB Restore.
2 Selection ().


3 Restore ().

, ,
.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

400 13.

1 3

InTouch
,
, .
-
. -

, ,
.

(Alarm Hot Backup
Manager). ,

.

InTouch

(

1)


InTouch

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

13. 401

InTouch

InTouch

(

1)


(
)
( ).
- InTouch (,
)

, .
- ,
.

.
, , ,

. -
,
.


InTouch

InTouch

(

1)

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

402 13.


.
,
.
:

-
;

,
.



-, -
.
:
;
;

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

13. 403



:
;
;
.

Provacc.ini,
.

1 .

a Tools ()
Applications ();
b Alarm Hot Backup Manager.


2 File Open ().
Provacc.ini. OK.


Provacc.ini InTouch,
. Provacc.ini,
InTouch.
Provacc.ini
.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

404 13.

3 New Pair ( ).
Add New Pair ( ).


- Provider () InTouch
. .
4 Hot Backup Pair Name ( )

. .

32 -
.
.

5 Primary Node ( )

. :

a Name () ,

.
,
.
,
,
;

b Group () ,

6 Backup Node ( )

. :

a Name () ,

b Group () ,

7 OK.
8 File Save ().
9 .

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

13. 405


,
.
(mapping key)
,
.

.



-
InTouch

$System!TagA

$System!TagB


(design-time)
(run-time).
,
.
, ,
,
. ,
,
QuickScript .

.

.
.

.

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

406 13.



1 .

a Tools ()
Applications ();
b Alarm Hot Backup Manager.
2 .
3 Set Key Fields ( ).
Select Key Fields (

).


4 Alarm Record Fields

,
. Selected
Fields ( ).

5 Design-Time (
) Run-Time ( ).
6 OK.
7 .

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

13. 407



,
.
,

. ,

InTouch.
,
.
-
, ,
. ,
,

.


,
.
, ,
.

,
.
A B
MA MB

MA

MB


InTouch

InTouch


,

, .

,

Wonderware Russia (ZAO Klinkmann Spb)

InTouch HMI

408 13.

(CSV-), Microsoft Excel


Notepad.
,

.

.
,
Select Key Fields (
).
Excel,
Select Key Fields.

,
,
.
Excel,
Name (), Class () Type
(). ,

, Select Key
Fields.

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

13. 409


.

.

Group ()

,
.
.

Name ()
Class ()

Type ()

Priority ()
Value ()
Limit ()

Comment
()

Wonderware Russia (ZAO Klinkmann Spb)

,
.
.
, .
:
VALUE
;
DEV ;
ROC
;
DSC .

,
:
LOLO, LO, HI, HIHI
;
MinDev, MajDev
;
ROC -
;
DSC .

,
.
1 999.
. .
. .
. .

InTouch HMI

410 13.

Value, Limit Comment


:
Class Type

, Value Limit
(Null);

, Class

VALUE, DEV ROC (..


,
), Value Limit
(1234567890), (.),
, e E;

, Type

LOLO, LO, HI, HIHI, MinDev,


MajDev ROC, Value Limit
(1234567890), (.),
, e E;

, Class Type

DSC (..
), Value Limit
, (Null);

Comment ;
,

.
.
.


, :

_:

_:

BoilerRoom1

NodeA:InTouch

NodeX:InTouch


(, Group, Name, Priority),
(composite mapping key),
.
InTouch Name
, .

, :

$System!TagA

$System!TagB

,
,
, :

TagA!CommentA

TagB!CommentB

InTouch HMI

Wonderware Russia (ZAO Klinkmann Spb)

13. 411



.

.

1 .

a Tools ()
Applications ();

b) Alarm Hot Backup Manager.


2 .
3 Map Alarms ( ).
Map Alarm Records (

).


4 Import ().
(Open).