Table of Contents. 1
Document Revision History. 1
Introduction. 5
What the TSENTRY System Is. 5
TSENTRY Documentation Overview.. 5
Major Components of the TSENTRY System.. 6
Example Host Hardware System Environment 7
Process Control Operating System Environment 8
Workstation Environment 8
Real-Time Extensions. 8
Application Process Environment 9
User Interface. 9
Network Connectivity. 9
Additional Real-Time Computing Facilities. 9
Remote Access to Control System.. 13
Technical Specifications. 15
Overview.. 15
Windows 2000 Process Scheduling. 15
Access to a Microsoft Windows 2000 System.. 20
Data Dictionary. 21
C/C++ Libraries. 23
Shared Memory Management 24
Real-time TCP/IP. 24
HMI Overview.. 25
Real-time Trending. 26
Historical Trending. 26
Store and Forward Process Information. 26
VenturCom Published Real-Time Response Results. 27
VenturCom Performance Evaluator 28
‘C’ Structure Template for ‘Standard Application’ 29
Major TelePro / SSE Control System Classes. 29
Description. 29
TSENTRY Support and Problem Reporting Web Site. 38
TSENTRY Installation. 43
Hardware Installation Procedures. 43
Windows 2000 Professional and Server Installation Procedure. 43
Windows 2000 Layered Software Installation Procedures. 45
TSENTRY Installation. 56
Application Disk File and Directory Organization. 68
RTX File Manifest. 73
Standard Tasks. 77
NtRtMgr 77
NtRtSvc. 83
NtRtStop. 85
NtRtMtr 85
GsmOpcSvr 85
TrendMgr 86
TrendGsm.. 86
TrendSrv. 86
TrendTrig. 86
GsmExpSvr 86
GsmExpRcv. 86
GsmPifBld. 86
tpriNtRtAdmin. 86
tpriPublisher 89
HMI Applications. 99
Overview.. 99
Configuration. 99
Standard Screens. 106
Task Development Libraries. 117
Functional Overview.. 117
tpriProc – TSENTRY Process class. 117
tpriGsm – Global shared memory (GSM) class. 120
tpriGsmDDCom - GSM Data Dictionary Class. 121
tpriLogMsg – Log Message Class. 125
tpriIniFile - Ini File Support Class. 130
tpriTimer – Timer Support Functions. 132
tpriUtil – Utility Support Functions. 133
tpriVop – Variable Operation Class. 134
tpriRps – Rules Processing Classes. 139
Task Development (VC.6) 140
TSENTRY Disk File and Directory Organization Standards. 140
Starting a New Workspace. 140
Starting a New Visual C++ Task. 141
Cloning the Tsentry Standard Process Control Task. 142
HMI Screen Development 145
Overview.. 145
Upgrade TPRI VB6 Screens to VB.NET. 145
Screen Development Libraries. 157
Overview.. 157
TPRI.BaseScreen. 157
TPRI.BaseControl 160
TPRI.TextBox. 165
TPRI.Shape. 168
TPRI.ActiveShape. 170
TPRI.ActiveShapeArray. 176
TPRI.CmdButton. 177
TPRI.CmdButtonArray. 179
TPRI.ToggleButton. 180
TPRI.BarGraph. 182
TPRI.CoverageBar 186
TPRI.LogMsg. 188
TPRI.ComboBox. 189
TPRI.OpcMgr 193
TPRI.OpcCom.. 199
TPRI.DataSetInfo. 199
TPRI.DDVarSelect 203
TPRI.DataDict 204
TPRI.HMI.Controls.TrendCtrl 208
TPRI.TrendCtrl Variable Insert/Delete Form.. 215
TPRI.TrendPlayback. 220
TPRI.HMI.Controls.TrendSetLoader 223
TPRI.TrendSrcSelect 226
TPRI.TrendCom.. 228
TPRI.TriggerEd. 231
TPRI.TriggerStat 233
TPRI.RpsEditor 234
VB Screen Building (VB.6) 245
Overview.. 245
Naming Conventions. 245
Building a Basic Screen. 246
Publishing Pages. 247
Helpful Hints. 247
Adding TelePro’s Standard Controls to a Visual Basic Web Screen. 249
Error Handling. 265
Adding Property Pages to the ActiveX Control 274
Appendix. 274
Procedures. 275
System Startup. 275
System Shutdown. 276
System Backup and Failure Recovery. 277
Restart User Interface Server 288
Using Ghost to Copy Hard Drives. 288
Creating a Ghost image and Saving it over a Network. 289
Create a Custom Virtual Web Application for TSentry HMI Web Pages. 289
Tsecurity. 290
Overview.. 290
Tsecurity Fundamentals. 290
Installation. 291
Application Security Configuration Files. 291
Tsecurity Service. 291
TsecurityCfg. 291
ASCFEditor 291
Tsecurity Clients. 291
Trend System.. 296
Overview.. 296
Historical Trend Triggers. 297
Tasks. 299
Screens. 303
Client Operation. 313
Trend Data Client - Server Protocol 314
Trend Class Definitions. 318
TSENTRY Rules Processing System.. 319
Rule Specifications. 319
Class Libraries - Rules Processing System API 319
Rules Manager Process. 319
Rules Processing System User Interface. 319
I/O Drivers. 321
Allen-Bradley Process I/O Driver 321
National Instruments Process I/O Driver 321
RTP (CPI) Process I/O Driver 321
GE 9030/9070 PLC Driver 321
TCP/IP Driver - tpriRdcTcp. 323
Lantronix Terminal Server Driver - tpriRdcLts. 325
Lantronix Cobox Terminal Server Driver - tpriRdcCbx. 325
Generalized Remote Device Connection Driver 326
Allen Bradley Control Logix PLC Driver 333
Modicon PLC Driver 339
VMIC Reflective Memory Driver 343
DeviceIdx=1. 344
DeviceType=PCI-5576. 344
ChkOverlap=0. 344
IODescFile=d:\MyIODesc.txt 344
Empty lines or lines beginning with the ‘#’ symbol are ignored. 345
Data Dictionary. 346
Data Dictionary Form.. 347
Data Dictionary Files. 349
Building the Dictionary. 350
Application Program Interface. 351
Maintenance. 351
File Format 352
GsmPifBld Exceptions. 356
Data Transfer 357
Overview.. 357
GsmExpSvr– Global Shared Memory Export Server 357
GsmExpRcv– Global Shared Memory Export Receiver 357
Communications Protocol 358
Notes: 359
Workstation Configuration. 361
Overview.. 361
Windows Configuration. 361
DCOM Configuration on Windows 2000. 361
DCOM Configuration on Windows XP/2003. 362
Internet Explorer Configuration. 362
Options. 365
Resources. 365
Thin Client 369
Overview.. 369
Windows 2000 Server Configuration. 369
TSENTRY Messages. 371
They are described in the following sections. 371
Informational and Error Messages. 371
Process Abort Traceback Message. 372
Line 1. 373