Академический Документы
Профессиональный Документы
Культура Документы
Hardware requirement
Requirement Minimum Value: - Physical memory (RAM) 1 GB minimum - Virtual memory Double the amount of RAM - Disk space Total: 4.76 GB - Video adapter 256 colors - Processor 550 MHz minimum (On Windows Vista, 800 MHz minimum)
Hardware requirement
Basic Installation
200 MB
2.96 GB
1.60 GB
4.76 GB
Software requirement
Software Requirement:
Requirement Value
System Architecture
Processor: Intel (x86), AMD64, and Intel EM64T Note: Oracle provides 32-bit (x86), 64-bit (Itanium), and 64-bit (x64) versions of Oracle Database for Windows. The 32-bit database version, which this installation guide describes, runs on the 32-bit version of Windows on either x86 or x64 hardware. Oracle provides limited certification for 32-bit Oracle Database on 64-bit Windows (x64).
Requirement
Software Operating System
Value
requirement
Software Requirement:
Oracle Database for 32-bit Windows is supported on the following operating systems: Windows 2000 with Service Pack 1 or later. All editions, including Terminal Services and Microsoft Windows 2000 MultiLanguage Edition (MLE), are supported. Windows Server 2003 - all editions Windows Server 2003 R2 - all editions Windows XP Professional Windows Vista - Business, Enterprise, and Ultimate editions Windows NT is not supported. Windows Multilingual User Interface Pack is supported on Windows Server 2003, Windows Server 2003 R2, Windows XP Professional, and Windows Vista.
Step 1
Step 2
Step 3
Step 4
Default Username:
SYSTEM or SYS
Password: someFOLK
Step 5
a. 1521: Oracle database listener b. 2030: Oracle Services for Microsoft Transaction Server c. 8080: HTTP port for the Oracle Database XE graphical user interface
Step 6
To check Oracle service weather is running. 1) Goto Control Panel, select Administrative Tools ---> Services.
OracleServiceXE OracleXETNSListener
To set the environment variable for oracle application:1) Goto Control Panel, select System. In the System Properties window, select Advanced tab.
Value
D:\oraclexe\app\oracle\product\10.2.0\server\BIN
Please set the following parameter in System Variable column:Variable Path ORACLE_HOME Value D:\oraclexe\app\oracle\product\10.2.0\server\BIN D:\oraclexe\app\oracle\product\10.2.0\server
When a message Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 Production SQL> is shown, which mean it successfully connected to Oracle XE database.
List of sql script that install schema object for hts application 01ora_user_schema.sql
03ora_table_view.sql
04ora_index.sql 05ora_context.sql
- Login as sys user (database super user) and execute 01ora_user_schema.sql to create hts_dba user.
- If the sql script is store under d:\sql_script\01ora_user_schema.sql, then execute the command as SQL> @d:\sql_script\01ora_user_schema.sql,
- Follow by connect to hts_dba user (hts application user) just created and execute rest of the sql script ( from 02ora_util.sql to 07ora_trigger.sql )
- To examine the hts database is created, please execute the following command:-
ACCUMULATORDAILY ACCUMULATORHOURLY ACCUMULATORMONTHLY ANALOGDAILY ANALOGHOURLY ANALOGMONTHLY ANALOG_TEMP CARDREADERINFO CARDUSERINFO DIGITALDAILY DIGITALHOURLY DIGITALMONTHLY DRIBBLE HISTALMEVT HISTANALOGSCENARIO HISTCARDACCESSLOG HISTCHOICEINFO HISTCURR HISTDIGITALSCENARIO HISTMCHOICEINFO HISTORY HISTORYINFO HISTSEVERITYINFO HISTUSERINFO HOURANALOG HOURDIGITAL SUMMARYEVENT
This section of configuration determine : 1) How much online data ( history data and summary data ) is keeped in history database by configuring purging duration of each set datas ( History Data Changes, Analog Hourly Summary data ...) 2) Whether the online data is generated of each set data To configure : Select the menu item shown in Figure 3-1, which is Config Manager, the popup shown in Figure 3-2 will appear.
Figure 3-1
Figure 3-2
Default Yes
AnalogDaily
AnalogDaily
Yes
AnalogMonthly
AnalogMonthly
Yes
DigitalHourly
DigitalHourly
Yes
DigitalDaily
DigitalDaily
Yes
DigitalMonthly
DigitalMonthly
Yes
Default Yes
AccumulatorDaily
Indicates whether daily accumulator summary data needs to be generated. Indicates whether monthly accumulator summary data needs to be generated. Indicates whether the alarm and event messages need to be stored in relational database.
AccumulatorDaily
Yes
AccumulatorMonthly
AccumulatorMonthly
Yes
AlarmEvent
HistAlmEvt
Yes
Attribute Name
Description
RDBMS Table
Default
SettingTable
Indicates whether some of the configuration settings such as ChoiceInfo and SeverityTable, need to be stored in relational database.
Yes
PurgeHistDuration
Determines the duration in days for history transaction to be kept in relational database. Determines the duration in days for the hourly summary data to be kept in relational database. Determines the duration in days for the daily summary data to be kept in relational database.
History or t%08X_%08X
60
PurgeHourlyDuration
60
PurgeDailyDuration
60
Description Determines the duration in days for the monthly summary data to be kept in relational database. Determines the duration in days for the alarm and event data to be kept in relational database. Determines the time offset in minutes for hourly summary data to be generated.
Default 730
PurgeAlmEvtDuration
HistAlmEvt
60
HourlyOffsetTime
N/A
DailyOffsetTime
Determines the time offset in minutes for daily summary data to be generated.
Determines the cut off time in minutes for daily summary data to be generated.
N/A
15
DailyCutOffTime
N/A
Every SCADA IO point can be configured whether they will be updated to relational database individually. The configuration can be done via AnalogBase/ DigitalBase/ MiscBase Dialog of the point respectively. In Figure 4-1, the History section illustrates the history setting for DigitalBase point. Table 4-2 explains the meaning of each setting.
Figure 4-1
Table 4-2 Attribute Name HistoryMode Description Specifies either to store every transaction from RTDB or only selective transaction. Always archive - Update every change No archive - Do not update Interval archive - Update according to HistoryInterval configuration Value archive - Update only if value change Default No archive
HistoryInterval
Specifies the scan interval, only used when History Mode is Interval Archive Not used
NumHistCount
To connect to Sybase with hts, specify the command arguments -l as 0, and -S as username, -P as password, -S as sybase sql server name and -D databasename(default databasename is hts).
( Example , -Uusername -Ppassword -Ssqlservername -Dhts -l0 )
To connect to Oracle with hts, specify the command arguments -l as 2, and -S as username, -P as password, -S as oracle connect identify and -D database alias name(default user name is hts_dba, default database alias name is hts). ( Example, -Uhts_dba -Ppassword -Sconnectidentidy -Dhts -l2 )
To supervising hts , the WillowLynx startup script will need to edited. Example line that need to put in startup script is : For using Sybase Adaptive Server as History Database SYSTEM RUN 50 NONE -Uusername -Ppassword -Ssqlservername Dhts -l0 or
( Hts -Usa -PsomeFOLK -SLOCALHOST -Dhts -l0 -m1 -g0 -b1 -d1 )
No
1 2 3
Opt ion
-U -P -S
Description History RDBMS login user name History RDBMS login password Sybase Sql Server Name ( For Library mode 0 ) or Oracle Connect Identidy (For Library mode 1 ) or ODBC Database Source Name (For Library mode 2 ) Default hts
-D
Database name ( For Library mode 0, 1 ) or Database Alias name ( For Library mode 2 ) Default hts
Determine library used to connecting History RDBMS, 0 CT-Lib (For Connecting Sybase Only), 1 ODBC lib, (For connecting any ODBC 3.5 supported RDBMS ) 2 Pro*C Lib ( For Connecting Oracle Only ) Default 0 History RDBMS , 0 - sybase, 2 - mysql , 1 - oracle, not used RTDB Hostname, Default localhost Gateway mode, not used
-l
6
7 8
-R
-h -g
9 10
-n -s
Gateway register name, not used 0 Do not connect to supervisor 1 - Connect to supervisor until successed 2 - connect to Supervisor if supervisor is running Default 2 History data changes storage option, 0 Store all changes in single table, 1 Store all changes separately for each point. Default 0 Bulk Copy Mode, 0 dont use bulk copy, 1 use bulk copy. Default 0 Point Information Mapping HistCurr table update interval. 0 Update every changes, > 0 Update lastest changes periodic which interval is number of miniutes specified. Default 0
11
-m
12 13
-b -a
14
-r
PointType code. PointType of AnalogBase Point will treated as Accumulator Type point. Default 200
15 16
-w -f
Dribble folder path Default $SCADA_PROJECT/rtdb/runtime RTDB dribble filename ( without specify parent directory ) in the Dribble folder to start reading from. Default In the $SCADA_PROJECT/rtdb/Index, between the label runtime, and project, the string as drb_vXX_XXX will be used as default value
17
-d
Debug mode, 0 - Debug off, 1 - Debug on, > 1 Debug on with more messages Default 0
If database search successfully, then the result will show as figure 8.1;
If WillowLynx failed connect to Oracle hts database, then the result will show as figure 8.2
Figure 8-1
Figure 8-2
1) In the Schematic page, double click on gadget to display its runtime popup which show in figure 8.3.
2) In the runtime popup window, then click on Trend button, then Trend Display popup window is display which show in figure 8.4.
3) If the WillowLynx successfully connect to Oracle HTS database, then the trend pen will plot in continuous line. Else, it will display the trend pen line plot as dotted-line.
Figure 8-3
Figure 8-4
Toolbar Area
Status Indicator
Plot Area
Trend Marker
Legend Table