Professional Documents
Culture Documents
2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
General Rantings........................................................................ 10
Author Comments:............................................................................... 10
Warnings I’m Covering My As**:............................................................................. 10
References In These Notes:................................................................. 10
Plants Mentioned In Here:.......................................................................................10
Callide ‘A’ Thermal Power Station:................................................................................................................... 10
Callide ‘C’ Thermal Power Station:.................................................................................................................. 10
Stanwell Thermal Power Station:..................................................................................................................... 10
Baiji GT Power Station:.................................................................................................................................... 10
Ras Laffan ‘B’ CCGT Power & Desalination Plant:.......................................................................................... 11
Kogan Creek Thermal Power Station:.............................................................................................................. 11
Al Taweelah ‘B’ New Extension CCGT & Desalination Plant:.......................................................................... 11
ES 680 (Teleperm XP)................................................................. 12
General:................................................................................................. 12
Shutdown Of The ES680:....................................................................................... 12
Primary Disk Root Backup:..................................................................................... 12
Primary Disk Project Backup:................................................................................. 13
Primary Disk Restore From DAT Tape:................................................................... 13
Secondary (Win1) Disk Root Backup:.....................................................................14
Secondary (Win1) Disk Restore From DAT Tape:..................................................15
New ES680 User (Without NIS):............................................................................. 15
Start The Siemens Start Bar:.................................................................................. 17
Login Behaviour Of HP-Vue:................................................................................... 17
Root login:........................................................................................................................................................ 17
Admin Login:.................................................................................................................................................... 17
User Login:.......................................................................................................................................................17
Read Login:......................................................................................................................................................17
Project Selection For All Logins:...................................................................................................................... 17
Log Files For All Logins:...................................................................................................................................17
Useful Processes:................................................................................................... 18
FUP Editor (plan <db name> -l g2):................................................................................................................. 18
Dynamisation (as_server –a <ap#> -p #### -pr <db name>):......................................................................... 18
MMI Editor (mmi –db <db name>):.................................................................................................................. 18
HPVue Session (mwm):................................................................................................................................... 18
Editing The “Engineers Only…” Start Up Message:............................................... 18
Editing The Siemens Logo At The HP Vue Login:..................................................18
Copy DAT Tapes:.................................................................................................... 18
Semaphore Files:.................................................................................................... 18
esMonitor:................................................................................................................ 18
Nachtlauf Will Not Work:......................................................................................... 19
Software Licences:.................................................................................................. 19
Create/Edit OT User Logins:................................................................................... 19
DB Repair/Nachtlauf Error Messages(That I’ve Come Across):............................. 19
Missing Connection In Table Entry:..................................................................................................................19
Missing Table Entry In ver_b (Destination):..................................................................................................... 19
Missing Table Entry In ver_b (Source):............................................................................................................ 19
Symbol In ver_b, But Not In obj_g (q_lid):....................................................................................................... 19
Symbol In ver_b, But Not In obj_g (z_lid):....................................................................................................... 20
Signal “<source kks>” “<source signal>” in diagram “<target kks>” is open on target:....................................20
Signal “<source kks>” “<source signal>” is open at source:............................................................................ 20
Diagram (YOA) “<MMI page kks>“ : Symbol BA at position x: ### and y: XXX is not connected at port
IKZ_SIG:.......................................................................................................................................................... 20
Diagram (YOA) “<MMI page kks>“ : Symbol DA at position x: ### and y: XXX is not connected at port
IKZ_SIG:.......................................................................................................................................................... 21
Delete or configure the pictogram.Diagram (YOA) “<MMI page kks>“ : Symbol DMEES at position x: ### and
y: XXX is not connected at port IKZ_Y:............................................................................................................ 21
Diagram (YOA) “<MMI page kks>“ : Symbol DMEVW at position x: ### and y: XXX is not connected at port
IKZ_BSI:...........................................................................................................................................................21
Diagram (YOA) “<MMI page kks>“ : Symbol KENNST at position x: ### and y: XXX is not connected at port
IKZ_UEB:......................................................................................................................................................... 21
Diagram “<target kks>” : no signal at OM-port (signal ??##, z_kks “<MMI kks>”, z_verw YP##, page #):..... 21
Diagram “<kks>” : signal not at OM-port ( symbol-no. #, page # ):.................................................................. 21
1 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
Target of navigation “<target kks>” does not exist. In diagram “<kks>” there is a reference from the symbol
VERBW (display ID-code) at position x: ### and y: ### to this diagram......................................................... 22
Target of navigation “<target kks>” does not exist. In diagram “<kks>” there is a reference from the symbol
DMEMM (F2-pushbutton) at position x: ### and y: ### to this diagram.......................................................... 22
FUP Editor:............................................................................................ 22
Locked FUP Plans:..................................................................................................22
Parameter Pruefing Fault:....................................................................................... 22
Processing Function Diagrams (v7.4):.................................................................... 22
Deleting Lines And Signals From A FUP Plan Via The database:..........................23
Copying FUP Drawings To Disk:............................................................................. 23
FUP Editor Print Function Not Working:................................................................. 23
Editing Signal Groups:............................................................................................ 23
Changing The Print Defaults:.................................................................................. 23
Postscript File From Printing A FUP Plan:.............................................................. 24
PDF From FUP Postscript Files (*.ps):................................................................... 24
Important Information:...................................................................................................................................... 24
Printing Directories:..........................................................................................................................................24
Process Of A Print Batch Job:.......................................................................................................................... 24
How To Create PDF’s From A FUP Editor Batch Print:.................................................................................... 24
Fast Paramater Change Problems:........................................................................ 25
About:...............................................................................................................................................................25
Fatal error in “parpruef”.................................................................................................................................... 25
Cannot find order in list of instances!!.............................................................................................................. 25
No More Memory Available! – Please Restart Program.................................................................................. 25
Ingres Databases:................................................................................. 25
Ingres Commands:.................................................................................................. 25
ES680 Ingres Database Tables:..............................................................................26
pr_queue:......................................................................................................................................................... 26
obj_f:................................................................................................................................................................ 26
zuli:...................................................................................................................................................................26
ver_b:............................................................................................................................................................... 26
lt_f:................................................................................................................................................................... 26
obj_g:............................................................................................................................................................... 26
bpr_signal and bpr_typ:................................................................................................................................... 26
pr_m:................................................................................................................................................................ 26
schr_d:............................................................................................................................................................. 27
uas_d:.............................................................................................................................................................. 27
Obj_d:.............................................................................................................................................................. 27
Useful ES680 Database SQL Queries:................................................................... 28
Pre Made Scripts From Siemens:.................................................................................................................... 28
Save SQL output to file:................................................................................................................................... 28
Opening an TXP database session:................................................................................................................ 28
Opening a database remotely:......................................................................................................................... 28
Unlock locked plans (zust flag):....................................................................................................................... 28
Find where a kks or signal is used:.................................................................................................................. 28
No port destination assigned (xxx):..................................................................................................................28
GETOM Ingres Database Tables:........................................................................... 28
typ_ereig:......................................................................................................................................................... 29
fb:..................................................................................................................................................................... 29
Useful GETOM Database SQL Queries:.................................................................29
Save SQL output to file:................................................................................................................................... 29
Opening an GETOM database session:.......................................................................................................... 29
Opening a database remotely:......................................................................................................................... 29
Database Restore:.................................................................................................. 29
q_bea/z_bea = XXX In Table zuli:........................................................................... 29
Extending Resources In The ES680:...................................................................... 30
Background Information:.................................................................................................................................. 30
Checking The Existing Resources:.................................................................................................................. 31
Extending The Resources (Add Entries To Ingres Table):............................................................................... 31
Final Steps:...................................................................................................................................................... 31
Dynavis:................................................................................................. 32
Cant Do An MMI Generation (v7.4):........................................................................32
Dynavis Check For Faults:...................................................................................... 32
Dynavis Commands:............................................................................................... 32
2 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
Dynavis Pictograph Libraries:................................................................................. 32
“Current Picture Locked” Message In Dynavis:...................................................... 32
Dynavis Cleanup (Die Dynavis-X Betriebsmittel sind belegt):................................33
MMI Picture Information:......................................................................................... 33
Changing The Scale On A Level Reading:..............................................................33
Get-OM................................................................................................... 33
“Please Insert Correct OKZ” Error When Generating GET Data:........................... 34
Incorrect Referencing When Generating GET Data:..............................................34
Killing The ASR-ME Transfer Window After A Mistake:..........................................34
GETOM Process Tree:............................................................................................ 34
GET-OM Menu Scripts:........................................................................................... 35
Create Data From Get Process Scripts:................................................................. 36
Transferring OM-data To ES680 Errors:................................................................. 36
*** function block does not exist.......................................................................................................................36
Editing The Einstellungen File:................................................................................36
Generation And Transfer:.....................................................................37
AS620 Code Generation & Transfer Error Messages:...........................................37
%ESQL>; E_QE007D Error trying to put a record!!......................................................................................... 37
System error-message Not enough space@1 : exit-code overview AS <ap no.> APF <apf no.>...................37
System error-message Not enough space_LQ002B ‘where ‘ may not be nested within a data retrieval loop.
......................................................................................................................................................................... 37
Program block organization is not generated completely for closed loop control............................................ 38
System error: table ZULI: q_pid <plan id #>, q_lid <location id #>: different q_cpu4’s: <#> <#>.................... 38
New code: Could not fill instance list with assemblies..................................................................................... 38
User error: Diagram <KKS> Module <FB Name> (#) has different cycles (<Z#> != <Z#>) within same PB-
Number <PB #>............................................................................................................................................... 38
Lan needs to be generated.............................................................................................................................. 38
Protection Frame Conflicts and errors:............................................................................................................ 39
Complete Code Generation Sequence Problem:.............................................................................................39
Error with Ingres table cg_config_ag_db_inter:............................................................................................... 39
Loading Changed System Function Blocks Error:........................................................................................... 39
‘No Memory Available’ Error:............................................................................................................................39
GET To TXP Signal Generation:............................................................................. 39
AS220 Code Download:...................................................................................................................................40
GETOM:........................................................................................................................................................... 40
TXP Generations:............................................................................................................................................ 40
AS220 Code Download:...................................................................................................................................40
ASR:.................................................................................................................................................................40
TXP Transfers:................................................................................................................................................. 41
YOR/YOM Generation And Transfer:............................................................................................................... 41
YOP Generation And Transfer:........................................................................................................................ 41
TXP-OMME Generation And Transfer Times (Stanwell):.......................................41
BDM Generation & Transfer:................................................................................... 42
Cant Do A BDM Generation:............................................................................................................................ 42
ET200 (SIM Modules)............................................................................................. 42
IM308 Data Generation Script:........................................................................................................................ 42
LAN Generation & Transfer:.................................................................................... 42
General Info:.................................................................................................................................................... 42
Tools:..................................................................................................... 42
Cleanup Scripts:...................................................................................................... 42
NOTE:.............................................................................................................................................................. 42
Cleanas.sh....................................................................................................................................................... 42
Cleanh1.sh....................................................................................................................................................... 43
Cleanmehrblock.sh.......................................................................................................................................... 43
CleanVf.perl..................................................................................................................................................... 43
Cleanasohneapf.sh.......................................................................................................................................... 43
Cleanbm.sh...................................................................................................................................................... 44
Cleaninstanzen.pl............................................................................................................................................ 44
Cleanna.sh....................................................................................................................................................... 44
WS30 (Teleperm ME).................................................................. 45
Struk:..................................................................................................... 45
STRUK Code Mnemonics:...................................................................................... 45
3 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
Read Dynamic Merker Values In Struk:.................................................................. 45
Module States (From BGVW):................................................................................ 45
GET Editor:............................................................................................ 45
GET Editor Command Line Commands:................................................................ 45
Select AWE:..................................................................................................................................................... 45
Delete Plan:..................................................................................................................................................... 45
Store Temporarily:........................................................................................................................................... 45
Load Diagram:................................................................................................................................................. 45
Insert Rahm Block:...........................................................................................................................................46
What is A Merker?:.................................................................................................. 46
Finding Function Blocks Already Used:.................................................................. 46
Finding Existing Cycle Times:................................................................................. 46
Module Information (Merkers, FB’s etc) For Doing GET Editor Mod’s:.................. 46
1731 (AET) – Analog I/P For Temp. Tx’s and Process Signals:....................................................................... 46
1722 (ASR) – Analog Signal Calculation Module:............................................................................................47
1723 (BSR) – Binary Signal Calculation Module:............................................................................................ 48
1717 (RB) – Binary Calculation Module:.......................................................................................................... 49
1723 (FGS) – Subgroup Control Module:........................................................................................................ 49
1411 (SRZ) – Step Action Closed Loop Controller:..........................................................................................50
1412 (KRZ) – Continuous Action Closed Loop Controller:...............................................................................50
Ingres Databases:................................................................................. 51
ANET Ingres Database Tables:............................................................................... 51
svd:.................................................................................................................................................................. 51
svd_mehrfach:................................................................................................................................................. 51
zvz:...................................................................................................................................................................51
zvz_zust:.......................................................................................................................................................... 51
bau_gr_matr:....................................................................................................................................................52
bau_st_matr:.................................................................................................................................................... 52
Useful ANET Database SQL Queries:.................................................................... 52
Save SQL output to file:................................................................................................................................... 52
Opening an ANET database session:.............................................................................................................. 52
Opening a database remotely:......................................................................................................................... 52
EA Ingres Database Tables:.................................................................................... 52
anal_op:........................................................................................................................................................... 52
bin_op:............................................................................................................................................................. 52
anal_steck:...................................................................................................................................................... 52
bin_steck:......................................................................................................................................................... 52
bsfolge_rel:...................................................................................................................................................... 53
Useful EA Database SQL Queries:......................................................................... 53
Save SQL output to file:................................................................................................................................... 53
Opening an EA database session:................................................................................................................... 53
Opening a database remotely:......................................................................................................................... 53
Find allocated cycle times (same as the bfn script):........................................................................................ 53
Miscellaneous:...................................................................................... 53
“Update Range Of Operand” Module Code Gen Error:.......................................... 53
Edit The GET-TM Menu:......................................................................................... 54
Code Files:.............................................................................................................. 54
*.bgp:................................................................................................................................................................54
*.akt:................................................................................................................................................................. 54
*.aen:................................................................................................................................................................54
*.incon:............................................................................................................................................................. 54
Finding Cycle Times:............................................................................................... 54
Finding Blocks Used:.............................................................................................. 54
OM 650......................................................................................... 55
General:................................................................................................. 55
Diagnostic Files (v.7.4):........................................................................................... 55
Log Files For Fault Finding:.................................................................................... 55
/usr/adm/messages:.........................................................................................................................................55
/var/adm/syslog:............................................................................................................................................... 55
/var/spool/mail/root:..........................................................................................................................................55
/etc/rc2.d/messages/….................................................................................................................................... 55
/etc/rc.log......................................................................................................................................................... 55
/etc/shutdown................................................................................................................................................... 55
/sbin/rc#.d/….................................................................................................................................................... 56
4 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
/var/opt/K/SCO/SoftMgr/1.0.2b/custom/custom.log......................................................................................... 56
/txp/web/web4txp/log/w4.appletstart.log.......................................................................................................... 56
/etc/rc2.d/messages/S90Tarantella.log............................................................................................................ 56
Log File Management:............................................................................................ 56
OM650 Component Backup (v7.4):........................................................................ 56
Licensing Files:........................................................................................................57
OM Component Time Synchronisation:.................................................................. 57
Start/Stop OM650 Components:............................................................................. 57
Hosts File:............................................................................................................... 57
IKZ Information:....................................................................................................... 57
Patches................................................................................................................... 58
Bug Fixes:............................................................................................................... 59
NOWARNING: err: Error Log Overflow On dev hd (1/42):...................................59
NOTICE: HTFS: No Space On dev hd (1/42):...................................................... 59
NOTICE: Sdsk: Unrecoverable error writing SCSI disk 0 dev 44/0 (ha=0 bus=0
id=4 lun=0) block=0. Write error: Media is write protected:..................................59
WARNING: wd0: Error on fixed disk dev 1/42, block=1173, cmd=0x000000C8,
status=0x00000040, LBA sector=2194411, Cylinder/head=8571/0:...................... 60
OT:.......................................................................................................... 60
Create/Edit OT User Logins:................................................................................... 60
ASD Invocation Numbers:....................................................................................... 60
New Web4Txp Clients:............................................................................................ 60
Web 4 TXP Internet Explorer Shortcuts:................................................................. 61
MMI Client Session Locked In The OT:................................................................... 61
Find MMI Clients Logged Into An OT:..................................................................... 61
Semaphore Files Created When MMI Session Started:......................................... 61
MMI Picture Files Information:................................................................................ 62
Disabling Alarms:.................................................................................................... 62
Inhibiting Alarms:..................................................................................................... 62
OT Configuration Files Wiped:................................................................................ 62
Ot.conf:............................................................................................................................................................ 62
Ot.frapple:........................................................................................................................................................ 62
Changing OT System Buttons:................................................................................62
Pictograph showing *****, But Faceplate Showing The Correct Value:.................. 63
What Does MAC And ARC Drive On The MMI Screens:........................................ 63
Copying Files Between OT’s:.................................................................................. 63
MMI Life Time Test:................................................................................................. 63
Virtual Keyboards Faulty:........................................................................................ 63
OT Rebuild From DAT Tape:................................................................................... 64
Web 4 TXP Font Server Problems (Screen Freeze):..............................................65
To Prevent Font Server From Running:.................................................................. 65
NOWARNING: err: Error Log Overflow On dev hd (1/42):...................................65
NOTICE: HTFS: No Space On dev hd (1/42):...................................................... 65
Signal Units Not Appearing On MMI Screen:.......................................................... 66
ASD Faults For OM650:.......................................................................................... 66
Rec.2 DMZ conn.flt:......................................................................................................................................... 66
SU General:........................................................................................... 66
SU Printer Configuration:........................................................................................ 66
SU Rebuild From DAT Tape And Latest Software CD (v7.4):................................. 66
NOTICE: Sdsk: Unrecoverable error writing SCSI disk 0 dev 44/0 (ha=0 bus=0
id=4 lun=0) block=0. Write error: Media is write protected:..................................68
BDM:...................................................................................................... 68
BDM Generation File Corrupted (v7.4):.................................................................. 69
Can’t Do A BDM Generation:.................................................................................. 69
Alarm Signals Transferred Over From ES680 For Informix:................................... 69
5 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
LZA:........................................................................................................70
Delete a MOD:.........................................................................................................70
LZA Object Manager Failed (anf):........................................................................... 70
Read LZA Blocks On SU Hard Drive:..................................................................... 70
Read LZA Blocks On MOD:.................................................................................... 70
LZA Keeps Crashing:.............................................................................................. 70
PRT:........................................................................................................ 70
Logging Of PRT Activity:......................................................................................... 70
ES-Configured Logs Output At Wrong Date:.......................................................... 71
NTB:....................................................................................................... 71
PU General:........................................................................................... 71
ASR:....................................................................................................... 71
MAC:...................................................................................................... 71
MAC And The OT’s:................................................................................................ 71
ARC:....................................................................................................... 71
Manual Stopping of the ARC Object Manager:....................................................... 71
ARC And The OT’s:................................................................................................. 72
ARC and YOP Drawings:........................................................................................ 72
IKZ-Liste voll, Anzahl IKZs in Arc.proj erhoehen:....................................................72
Fehler in Programmlogik bei ArcFreeList:............................................................... 72
ARC Process Tree:................................................................................................. 73
Changing The Arc.proj File:.....................................................................................73
Tools:..................................................................................................... 73
OM Component Status (PL):................................................................................... 73
“Infrastruktur Nicht Aufblend” Error Using PL:........................................................73
Arc.Read:................................................................................................................ 73
Syntax:............................................................................................................................................................. 74
Description of the options:............................................................................................................................... 74
Examples:........................................................................................................................................................ 74
Arc.Attach:............................................................................................................... 74
Syntax:............................................................................................................................................................. 74
Description of the options:............................................................................................................................... 74
Examples:........................................................................................................................................................ 75
Sig.Attach:............................................................................................................... 75
Syntax:............................................................................................................................................................. 75
Description of the options:............................................................................................................................... 75
Examples:........................................................................................................................................................ 75
Arc.Moni:................................................................................................................. 75
Syntax:............................................................................................................................................................. 75
Example:.......................................................................................................................................................... 75
File.Copy:................................................................................................................ 76
Syntax:............................................................................................................................................................. 76
Description of the options are:......................................................................................................................... 76
Ikz.Read:................................................................................................................. 76
Syntax:............................................................................................................................................................. 76
Description of the Options:...............................................................................................................................76
Output Headings:............................................................................................................................................. 76
Examples:........................................................................................................................................................ 76
BTyp.Read:..............................................................................................................77
Syntax:............................................................................................................................................................. 77
Examples:........................................................................................................................................................ 77
Descr.Read:.............................................................................................................77
Syntax:............................................................................................................................................................. 77
Options:............................................................................................................................................................77
Examples:........................................................................................................................................................ 77
SAMPLER:.............................................................................................................. 78
Syntax:............................................................................................................................................................. 78
Options:............................................................................................................................................................78
Examples:........................................................................................................................................................ 78
6 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
Bus/LAN System........................................................................79
General:................................................................................................. 79
HOPF Clock:........................................................................................................... 79
TXP LAN Architecture:......................................................................... 79
ESM/OSM General:................................................................................................ 79
ESM/OSM Removal:............................................................................................... 79
ESM/OSM Installation:............................................................................................ 79
ESM/OSM Parameter Configuration:...................................................................... 80
Command Line Configuration:......................................................................................................................... 80
Web Based Configuration:............................................................................................................................... 80
TME Bus Architecture:......................................................................... 81
AS 620.......................................................................................... 81
General:................................................................................................. 81
Process Images:......................................................................................................81
Simulation Information:........................................................................................... 81
Simulations Not Removed From A Database Restore:........................................... 81
Program Block Packaging:...................................................................................... 81
AP Resources Allocation:........................................................................................ 81
“AP to AP Connection Fault”:.................................................................................. 81
Execution Cycles:.................................................................................................... 81
Foreign Systems Interfacing Hardware:............................................. 82
CM104 Operation (Siemens Words):...................................................................... 82
SIM (ET200) Hardware:......................................................................... 82
ET200 SIM Module Descriptions:........................................................................... 82
321:.................................................................................................................................................................. 82
322:.................................................................................................................................................................. 82
323:.................................................................................................................................................................. 82
326:.................................................................................................................................................................. 82
331:.................................................................................................................................................................. 82
332:.................................................................................................................................................................. 82
315F:................................................................................................................................................................ 82
IM153:.............................................................................................................................................................. 83
IM308:.............................................................................................................................................................. 83
Burn New IM308 Flash Card:.................................................................................. 83
General Info:.................................................................................................................................................... 83
When This Should Be Done:............................................................................................................................83
What You Need:............................................................................................................................................... 83
Get IM308 Data From ES680:......................................................................................................................... 83
Burn The New Flash Card:.............................................................................................................................. 84
Final Touches:.................................................................................................................................................. 84
Problem/Solutions:........................................................................................................................................... 84
FUM B Hardware:.................................................................................. 84
FUM Cards Not Starting Up From A Full Rack Power Down:................................. 84
FUM Cards Not Starting Up From A CleanAS:....................................................... 84
AP Rack Hardware:............................................................................... 84
AP (CPU948) Startup & Reset:............................................................................... 84
Warnings:......................................................................................................................................................... 84
Initial Startup:................................................................................................................................................... 84
Cold Reset (switch UP):................................................................................................................................... 85
Overall Reset (switch DOWN):........................................................................................................................ 85
RAM Parity Errors On AP’s:.................................................................................... 85
CP1430 MAC Address Change/View:..................................................................... 85
View/Reset Cycle Times Using pgmaster:.............................................................. 86
Tools:..................................................................................................... 86
RDB – AS620B Status Tool:.................................................................................... 86
Change RDB To English Version (v7.4):................................................................. 89
cleanas.sh:.............................................................................................................. 89
pgmaster:................................................................................................................ 89
7 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
AS 220.......................................................................................... 90
General:................................................................................................. 90
MKS Subscription:................................................................................................... 90
Operation:..............................................................................................90
Fault Trapped In Module (Cant Clear Fault):.......................................................... 90
Hardware:.............................................................................................. 90
Zenner Diodes For Redundant Modules:................................................................ 90
Tools:..................................................................................................... 90
Win-TM:................................................................................................................... 90
BGVW:.....................................................................................................................91
HP UNIX....................................................................................... 92
General:................................................................................................. 92
Disk/Memory Space Available:................................................................................92
Core Files:............................................................................................................... 92
Shutdown Of The HPUX Machine:......................................................................... 92
Programs:.............................................................................................. 92
FTP:......................................................................................................................... 92
lp:............................................................................................................................. 93
cut:........................................................................................................................... 93
Database sql:.......................................................................................................... 93
awk:......................................................................................................................... 93
sed:.......................................................................................................................... 93
tr:............................................................................................................................. 93
Variables:................................................................................................................. 93
Special Characters:................................................................................................. 93
tar:........................................................................................................................... 94
Compress:............................................................................................................... 94
Cron:........................................................................................................................ 94
History recall:...........................................................................................................94
VI Editor:.................................................................................................................. 95
Files:...................................................................................................... 95
Work Space, Front Panel And Right Click Appearance:......................................... 95
Hosts File (v7.4):..................................................................................................... 95
SCO UNIX.................................................................................... 97
General:................................................................................................. 97
Disk/Memory Space Available:................................................................................97
Core Files:............................................................................................................... 97
NOWARNING: err: Error Log Overflow On dev hd (1/42):...................................97
NOTICE: HTFS: No Space On dev hd (1/42):...................................................... 97
NOTICE: Sdsk: Unrecoverable error writing SCSI disk 0 dev 44/0 (ha=0 bus=0
id=4 lun=0) block=0. Write error: Media is write protected:..................................97
Programs:.............................................................................................. 98
FTP:......................................................................................................................... 98
script:....................................................................................................................... 98
tar:........................................................................................................................... 98
Compress:............................................................................................................... 98
badtrk:..................................................................................................................... 98
fsck:......................................................................................................................... 98
History recall:...........................................................................................................99
Find Core Files And What Type Of File They Are:.................................................. 99
Find What Users Are Using A Process/Program:....................................................99
Remove ^M From Files And scripts:....................................................................... 99
8 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
Suspend A VI Session For A Shell Prompt:............................................................99
Sort Files And Directories By Size:....................................................................... 100
Print All Strings In A Binary:.................................................................................. 100
lpsched & lpshut:................................................................................................... 100
Files:.................................................................................................... 100
Hosts File (v7.4):................................................................................................... 100
Associated TXP Interfaces......................................................100
PPAI:.................................................................................................... 100
PPAI Status Feedback To OM650:........................................................................101
PPAI Data Inconsistent Fault:............................................................................... 101
Business LAN Interface:.................................................................... 102
Topology:............................................................................................................... 102
Operation:..............................................................................................................102
9 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
General Rantings
Author Comments:
10 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
11 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
12 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
• Check that the BU worked (command: tar –t |tail –50).
• Shutdown the HP machine (command: shutdown –h –y 0).
• Re-connect the Terminal Bus connection.
• Remove the DAT Streamer.
• Let it Boot it into Multi User mode.
13 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
• There is a good chance that the code on the restored ES680 will differ from that in the AS system.
You may require a full offline download (bad stuff because you will need to have a plant outage).
• All files on the ES680 will be removed, and then restored.
• DAT Streamer must be on channel 3 (OM650 uses channel 2).
• Log all clients to the ES680 out. This is very important as database damage may occur if this is not
done.
• Log in as the root user and shutdown the HP machine (command: shutdown –h –y 0).
• Connect the DAT Streamer with the 50 pin SCSI cable (if the DAT Streamer is not integral to the
ES680) (don’t use the Ultra Wide SCSI connector).
• Power up the DAT Streamer then HP machine.
• Boot into Single User mode by pressing the esc key during the Boot up sequence (best to press the
esc key as soon as you turn the HP box on).
• Press enter at the prompt (don’t know why, just need to!).
• Boot the system by:
o bo sescsi.3.0 isl, or
o bo sec , providing the secondary boot path is sescsi.3.0 (use command pa to find out).
• Answer “N” to “Interact With IPL”.
• A basic system installation will commence.
• The system will reboot several times. This is normal.
• When complete the HPVue login screen will appear.
• Login with root (no password will be required).
• Change to the root directory (command: cd /).
• Put the DAT Tape into the DAT Streamer.
• Start the tape restoration by: tar xv
• BU takes a few hours and:
1. Last files to be restored are /var/x11/….
• Check for error messages.
• Shutdown the HP machine (command: shutdown –h –y 0).
• Re-connect the Terminal Bus connection.
• Remove the DAT Streamer.
• Let it Boot it into Multi User mode.
15 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
• Because of the above, the new user’s home directory needs to be linked from the host machine to the
remote machine.
• You still do all of the Ingres, TXP and SAM work on the host machine but just give the new user a
HPVUE login account.
• Procedure (e.g. Create new U1 user on a U4 machine):
1. Log into U1 and start a SAM session.
2. In Users and Groups, add a new user:
a. Group – txpes
b. Shell - /bin/csh/
3. In a terminal window, switch to the ingress user (command: su –ingres)
4. Type: Accessdb, then: F5 -> New User Name. Then: F1 (to save), then: F8 (to exit)
5. Run script: install_txpes680
6. Install a new user via:
a. Option 5 -> Option 2 -> name/project/password -> Option 10
7. Copy the new users password line in the passwd file from U1 to U4.
8. Symbolically link the new users home directory from U1 to U4.
9. Now the U1 user can log into U4, whilst still accessing all of U1’s databases etc.
16 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
Root login:
o The profile: $HOME/.login is run through.
o A HP Term is opened in the workspace.
o No Siemens start bar is started (autostart.sh).
Admin Login:
o The profile: $HOME/.login is run through.
o The Siemens start bar is started via: $TXP_HOME/sw/sw7.4.0/bin/autostart.sh
o Because the .login profile is run, you get access to the HP-Vue bar that allows you to open a
HP terminal, change workspaces etc.
User Login:
o The workspace window manager (mwm) profile is run.
o The Siemens start bar is started via: $TXP_HOME/sw/sw7.4.0/bin/autostart.sh
o You will not have access to HP terminals etc.
Read Login:
o The workspace window manager (mwm) profile is run.
o The script: $TXP_HOME/sw/sw7.4.0/bin/autostart.sh is run and automatically starts the
FUP editor.
o You will not have access to the Siemens start, HP-Vue manager etc.
17 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
Useful Processes:
Semaphore Files:
• Path:
o /$HOME/$PROJECT/Semaphore….
• All files in this directory should be zero length when all applications are closed. If you can’t start or do
something (dynamise etc) check these files. You can just delete them once you ensure everything is
shut down.
• All of the semaphore files are deleted upon logout of the client from the OT.
• Some times these are not deleted if you leave a FUP plan open and Dynamized when Nachtlauf runs.
Make sure everyone is logged out of the FUP editors and delete these all of the files in this directory.
• You may possible have to “kill -9” the as_manager process as well to get Dynamization working
again.
esMonitor:
• This program monitors Siemens specific processes.
• esMonitor.sh info
o Lists all processes that are monitored.
o Gives statuses of monitored processes.
o Gives and error message if a process is faulty.
• esMonitor.sh start or stop
o Start/stops monitoring.
• esMonitor.sh shut
o This kills entirely the esMonitor program.
• Refer to the TXP Manual: Maintenance Manual, Ch.5, Section 1, 3.3
18 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
Nachtlauf Will Not Work:
• Make sure the lock file for Nachtlauf is deleted (path: /$HOME/dba/nachtlauf.lock)
Software Licences:
• Path: /install/txpes/sw/sw5.0HP800/config/lizenz
Signal “<source kks>” “<source signal>” in diagram “<target kks>” is open on target:
o This is an OM examination message and is run by the executable
/install/txpes/sw/sw7.0HP800/bin/ompruef.pl
o This means that a KKS signal has been configured in the FUP editor to go to an MMI page,
but that MMI page doesn’t have a pictogram configured with that KKS in it.
o To fix:
• TXP signals are easy to fix. You just delete the connection in the FUP editor, or put
the relevant pictogram on the MMI page and configure the KKS into it.
• TME signal is not so easy to fix. This is generally from project inception stage when
everything is scripted in and shortcuts are taken.
• To fix, you need to manually delete the entry from both the zuli and ver_b ingres
tables.
• The easiest way to delete the entry in the ver_b table is via a match on zuli_id,
plan_id and loc_id.
• The easiest way to delete the entry in the zuli table is via a match on q_kks,sig and
z_kks.
o To distinguish between TXP signals (YFR, YOP etc plans) and TME signals (YOT plans), its
easy to just use this sql query (it will display the plan type):
• select distinct f.uas as type, z.q_kks as source, z.z_kks as destination, f.bez as
description
from obj_f f, zuli z
where (z.z_bea=’XXX’ and z.z_kks not like ‘YP%’) and z.q_kks=f.nam
order by type, source
Diagram (YOA) “<MMI page kks>“ : Symbol BA at position x: ### and y: XXX is not connected at
port IKZ_SIG:
o This is an OM examination message and is run by the executable
/install/txpes/sw/sw7.0HP800/bin/ompruef.pl
o This means a BA (binary indication point) pictogram has been put on a MMI page with no
signal configured to it.
20 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
o Fix:
• Delete or configure a signal to the pictogram.
Diagram (YOA) “<MMI page kks>“ : Symbol DA at position x: ### and y: XXX is not connected at
port IKZ_SIG:
o This is an OM examination message and is run by the executable
/install/txpes/sw/sw7.0HP800/bin/ompruef.pl
o This means a DA (analog indication point) pictogram has been put on a MMI page with no
signal configured to it.
o Fix:
• Delete or configure a signal to the pictogram.
Delete or configure the pictogram.Diagram (YOA) “<MMI page kks>“ : Symbol DMEES at position
x: ### and y: XXX is not connected at port IKZ_Y:
o This is an OM examination message and is run by the executable
/install/txpes/sw/sw7.0HP800/bin/ompruef.pl
o This means a DMEES (digital on/off valve,actuator,damper etc) pictogram has been put on a
MMI page and has no signal configured to the IKZ_Y port..
o Fix:
• This is a so-called ‘unavoidable’ error due to our OM/ME system at Stanwell.
• Unfortunately you just have to ignore this error.
Diagram (YOA) “<MMI page kks>“ : Symbol DMEVW at position x: ### and y: XXX is not
connected at port IKZ_BSI:
o This is an OM examination message and is run by the executable
/install/txpes/sw/sw7.0HP800/bin/ompruef.pl
o This means a DMEVW (1 out of 2 etc preselection block) pictogram has been put on a MMI
page with no signal configured to it.
o Fix:
• Delete or configure a signal to the pictogram.
Diagram (YOA) “<MMI page kks>“ : Symbol KENNST at position x: ### and y: XXX is not
connected at port IKZ_UEB:
o This is an OM examination message and is run by the executable
/install/txpes/sw/sw7.0HP800/bin/ompruef.pl
o This means a KENNST (operating point page, eg show where MW influence is operating in
relation to its limits) pictogram has been put on a MMI page and has no signal configured to
the IKZ_UEB port.
o Fix:
• This is the port for a binary signal if the range is exceeded. The manual says that
this is optional, but it still outputs an error (which is bull crap!!).
• Unfortunately you just have to ignore this error.
Diagram “<target kks>” : no signal at OM-port (signal ??##, z_kks “<MMI kks>”, z_verw YP##,
page #):
o This is an OM examination message and is run by the executable
/install/txpes/sw/sw7.0HP800/bin/ompruef.pl
o The target signal was configured to a pictogram on an MMI page, but the signal was wiped
out of the pictogram without a code generation being done, therefore the linking port between
the signal and pictogram and is still configured.
o This is different to the ‘Open at source’ error, because the port is still configured.
o Fix:
• Re-configure the signal into the pictograph, or generate code and wipe the signal.
21 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
Target of navigation “<target kks>” does not exist. In diagram “<kks>” there is a reference from
the symbol VERBW (display ID-code) at position x: ### and y: ### to this diagram.
o This is an OM examination message and is run by the executable
/install/txpes/sw/sw7.0HP800/bin/ompruef.pl
o VERBW is a jump pictogram to a YOV (trend).
o The YOV jump’s target KKS doesn’t exist.
o Fix:
• Delete the YOV jump, or
• Reconfigure the YOV jump to point to the correct YOV trend.
Target of navigation “<target kks>” does not exist. In diagram “<kks>” there is a reference from
the symbol DMEMM (F2-pushbutton) at position x: ### and y: ### to this diagram.
o This is an OM examination message and is run by the executable
/install/txpes/sw/sw7.0HP800/bin/ompruef.pl
o DMMEM is an individual drive pictogram (switch, motor etc.) with the F1, F2, F3 pushbuttons
configured in its mask.
o The F2 buttons target KKS doesn’t exist.
o Fix:
• Delete the F2 signal, or
• Reconfigure the F2 pushbutton to point to the correct MMI page.
FUP Editor:
22 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
• PF Generation and Transfer Procedure:
1. Generate any YFR drawings inputting into your YOR plans. If this is not done, the PF generation
script will bitch.
2. Generate necessary YOR Plans (Generators -> OM -> Processing Functions)
3. Synchronise the ES680 to the Master PU (Transfer -> OM -> Processing Functions ->
Synchronise)
4. Transfer the data to the Master PU first (Transfer -> OM -> Processing Functions -> Load
Projecting Data)
5. Transfer to the Redundant PU second (Transfer -> OM -> Processing Functions -> Load
Redundancy). This stops the PU’s infrastructure and doesn’t start it back up. You will manually
have to restart the PU’s infrastructure (command: Om.Start)
• Synchronising:
o This synchronises the ES680 with the Master PU to ensure that the data is consistent
between the two.
o This may also have to be done if a Redundancy change over happens when you are
Transferring PF data to a PU (hence PU data and ES680 data will not be synchronised).
• BF Reset:
o Transfer -> OM -> Processing Functions -> BF Reset
o This resets all of the processing cycles as set in the YOM Plans.
Deleting Lines And Signals From A FUP Plan Via The database:
• The Ingres table zuli contains all information regarding the signals FUP Editor zuli table.
• The Ingres table ver_b contains all information regarding the signal lines on the FUP Plan.
• zuli and ver_b are linked via their zuli_id, loc_id and plan_id.
• Thus, to successfully delete an entire signal from a FUP Plan you will need to delete is associated
table entries in both zuli and ver_b.
23 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
o Fields: dek, def and pic_id
• You need to change the ‘N’ in the def field to a ’J’ (not ‘Y’). It appears as a Y on the screen, but you
need to make the change to ‘J’ in the DB. If you enter ‘Y’ into the DB, ‘?’ appears on the screen.
• 2 occurrences need to be updated in the DB, 1 for the “Print Diagram” defaults and 1 for the “Print
Page” defaults. They are distinguished by the field pic_id (-1004 and –1014) in the table.
• The update sql queries you need to run are:
o update pic_d set def=’J’ where dek=’mark closed connectors’ \g
o update pic_d set def=’J’ where dek=’print CPU reference’ \g
o update pic_d set def=’J’ where dek=’print grid’ \g
o Keep in mind that 2 rows will be updated
• You will need to restart the FUP editor for the changes to take effect.
Important Information:
• You will need Acrobat Distiller. I’m sure there are other ways, but this is the only way that I know.
• If a “Print to Postscript file” has not been configured for the ES680, then you can just disconnect a
printer and make sure that you send the batch job to that printer (this way it is not printed out).
Printing Directories:
• When you create a batch print job, it dumps the required files into the printing directory that is
associated with the printer that you selected in the FUP Editor.
• The printing directories are found in:
o /tmp/get_gmf/…..
o Example: /tmp/get_gmf/file.ps
o Example: /tmp/get_gmf/dp_prin1.es
• The print directory is the one that you will have to go to to get the Postscript files (*.ps).
24 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
6. Ensure that the tar file has the necessary files in it (tar –t <name>.tar), then delete the *.ps files out of
the Printing Directory, because if you don’t they will all be printed out as soon as you plug the printer
back in!!
7. Extract the tar file from the ES680 so you can FTP it to a W4TXP client etc.
8. Open the *.ps files on your computer and with Acrobat Distiller create new PDF’s.
9. Easy!!
About:
• Fast Parameter changes is what you do when you Dynamize a FUP and then change a valve and
load it into the concerned AP.
Ingres Databases:
Ingres Commands:
• \g
o Go.
• \p
o Print.
• \r
o Reset/clear the workspace.
• \q
o Quit.
• \i <file name>
o Read file name into workspace.
• \a
o Append to workspace.
• \e
o Edit workspace.
• help help or help \g or help <DB table name> \g
o Full help, list of DB tables, all fields for a DB table.
• select:
25 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
o * select [*/distinct] from <table name> where <table field> [=,like,<,>,!=] <?,%,search
description> order by <table field> \g
• update:
o * update <table name> set <table field> = <new value> where <table field> [=,like,<,>,!=] <?,
%,search description> \g
• %
o Same as *
o Must use the ‘like’ expression when using this one.
• ?
o Same as a single character
o Must use the ‘like’ expression when using this one.
pr_queue:
• All print jobs from the FUP Editor are spooled via this table. You could get confused when the
printing fails that the spooling is handled via the unix /var/spool/…
• You may have to delete from this table if the printing stuffs up using the FUP Editor.
obj_f:
• Handles the zust flag (status flag) etc.
• Has the KKS (nam) and Description (bez) of the plan.
zuli:
• This table handles all information found in the input and output zuli’s on FUP Plans.
• If you manually remove all entries in this table for a signal, it will only remove the input/output zuli
entries on the FUP Plan, and will leave the connection line (this is removed via the ver_b table).
• This table is linked to the ver_b table via the zuli_id, plan_id and loc_id.
ver_b:
• This table contains all of the line and port information of a FUP Plan.
• If you remove all entries in this table for a signal, the connection line will be removed from the FUP
Plan.
• So, if you want to completely remove a signal from a FUP Plan, you must remove all of its entries
from this table, as well as from the zuli table!
lt_f:
• This table has all of the packet cycle information. i.e. instead of manually editing the kks packet
allocation via the YDH diagram (select AP -> CPU References), you can do it via this table.
obj_g:
• This table has the information regarding connected ports of a function block. Like the zuli and
ver_b tables, which give you the text and line information, obj_g gives you the information of the
connected signals to function block ports.
pr_m:
• This table is used as a mask for entering data where non-standard KKS is used.
26 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
• This table has to be manually edited to allow the non-standard KKS to be used in the FUP Editor.
• Column pr_st gives you the non-standard KKS mask, where # is a number and @ is a letter.
• After changing the table you’ll need to log out, then back into the FUP Editor.
• See the script file /$HOME/proc/pr_m_filters
schr_d:
• This has all of the schritfeld (page) data for FUP Plans.
• It gives you page revision numbers, drawer etc (title block data).
uas_d:
• This has all of the different FUP Plan types and descriptions in it.
• The Plan type identifier (frm_id) is also set in this table.
• Fields:
o uas_id – Uas table number
o uas – Plan type (YOR, YOT, YFR etc)
o frm_id – Plan type identifier
o zuli – 1: exists in zuli table, 0: doesn’t exist in zuli table
o beschr – Plan type description
frm_id uas uas_id
1 YFH 1
2 YFR 2
3 YFM 3
4 YDH 4
5 YDM 5
6 YDR 6
7 YOF 7
8 YOA 8
9 YOV 9
10 YOP 10
20 YX 11
30 YOR 12
YOM 13
Obj_d:
• This has the Function Block data in it.
• Search by the fields plan_id and pic_id.
• You get the plan_id and pic_id of the Function Block by right clicking on the Function Block =>
properties in the FUP editor.
• This table has quite a lot of good information regarding the settings of the concerned Function Block,
however it is a real pain in the a** to work out what-is-what as there are no nice headings etc.
27 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
fb:
o All Functional Areas configured for the project.
Database Restore:
• NB. This is an operation that has considerable risk. Consultation should be made to the Siemens TXP
Hotline before considering this action. The problem may be able to be fixed in other ways. Following a
rebuild, it may be necessary to carry out complete generation and transfer to the AS620 system
offline. Consultation should be made to the TXP hotline
• The Nachtlauf at Stanwell doesn’t include the databases associated with TME. It only unloads and
saves the ES680 database.
• To reload the Ingres database do the following:
1. Log onto the ES680 as the administrator.
2. Make sure noone else is logged into the ES680.
3. Stop the TXP process monitoring program:
o cd $HOME/config/esMonitor
o Command: esMonitor.sh stop
4. destroydb <database name>
5. createdb –d<database name> <database name>
6. Change to the directory where Nachtlauf sends the database backup (normally the save
directory).
7. reload.ing
8. On older versions you might have to run sysmod <database name>. This optimises Ingres’s
system tables. If you aren’t regularly dropping/creating tables or views it isn’t necessary to run
sysmod on the database.
9. Reboot
29 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
• This happens when the port identifier is not known to the system i.e. the link has not been created to
the port of the function block.
• To fix this you will have to do a Generate Destinations to link the TME signal to the TXP database.
• In a full TXP system, these links should be automatically created when signals are created. But
sometimes you will need to do a Generate Destinations.
• All Generate Destinations does is create the port links at a database level, then when the ASR is
generated, it picks up those new links, which are subsequently transferred with ASR, hence defining
the signal path between the AS and OM650.
Background Information:
• This is caused from you running out of places that Analogue values can reside. Datablocks are used
to store the Analogue values, hence if you run out of them, then you will have a problem!!
• Concerned Ingres Tables:
o cg_config_pb:
For allocation of local program memory blocks.
DO NOT MODIFY UNDER ANY CIRCUMSTANCES!!!!!!!
o cg_config_ag_db_inter:
Modus “D” – Must have different block number than “D” in cg_config_ag.
DB 255 & DB 0-99 are used by the system, so cant use these for extending the
resources.
Last DB you can use is DB 254.
o cg_config_ag:
Modus “S” – Simulation Datablock.
Modus “X.x” – Paramater Datablock.
Modus “D” – Must have different block number than “D” in cg_config_ag_db_inter.
Modus “V” – For special function blocks, if not used on site, just delete. If they are
used, then you will get an error message at Code Gen (just put them back in).
DB & DX can use the same block number as they are independent.
DB 255 & DB 0-99 is used by the system, so can’t use these for extending the
resources.
Last DB you can use is DB 254.
o cg_config_tz_bau:
This is the management of the resources 220-254 (DB’s used by Code Generator) &
180-199 (Send/Receive DB’s for communication).
Must ensure that if you extend the system resources, then the ranges in this table
must fit to the new extended ranges that you made in cg_config_ag_db_inter and
cg_config_ag etc.
o cg_config_h1:
Set’s up Send & Receive DB’s.
Default is 180-199, but have seen in the past 180-219 (Al Taweelah NBE). This
makes no sense as an AP can only handle 32 connections!!!
Really need to check with the TXP Hotline before you go modifying these though.
o cg_config_fnr:
Normally empty.
• Default settings for the DB’s:
o 100-104 : Modus “D”.
o 105-116 : Free in a standard AP, can be used for Resource Ext. (mainly Modus “D”).
o 130-175 : For cg_config_ag_db_inter.
o 176-179 : Local memory DB’s. DO NOT TOUCH!!!!!!!
o 180-199 : Send & Receive DB’s for communication.
o 200-219 : For cg_config_ag_db_inter.
o 220-254 : DB’s used by the Code Generator.
• Useful fields:
o cpu1: AP Number.
o db_adr: DB Number.
o Modus: block type (we normally extend the “D” type).
• The reason I had to extend the system resources at Al Taweelah NBE was due to System Error’s:
• <###> data words missing => table cg_config_ag_db_inter need to be modified.
30 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
Checking The Existing Resources:
• You first need to ascertain what DB’s are used where, as you cant have duplicates in the different
tables. I found this out the hard way, I extended cg_config_ag_db_inter to 176-190, but didn’t realize
that cg_config_pb already used 176-179,hence got 100’s of system errors when I tried to Generate
the code (System Error: address area overflow db_adr <###> => table cg_config_ag, cg_config_pb,
cg_config_h1, cg_config_ag_db_inter, cg_config_ag_parm need to be modified.).
• These are the necessary SQL data you need to search for:
o cg_config_pb:
select *
o cg_config_ag_db_inter:
select cpu1,cpu4,db_adr,anf_dw,end_dw
where cpu1=<AP No.>
order by db_adr
o cg_config_ag:
select cpu1,cpu2,modus,db_adr,anf_dw,end_dw
where cpu1=<AP No.> and cpu2=0
order by db_adr
o cg_config_tz_bau:
select cpu1,cpu2,modus,anf_nr,end_nr,fl_frei
where cpu1=<AP No.>
order by modus
o cg_config_h1:
select
anr,verb_nr,cpu1,p_cpu1,richtung,db_adr,p_dbadr,fehler_dw,anf_dw,end_dw,puffer_n
r,cg_typ_id,cg_tzb_modus,fl_frei
where cpu1=<AP No.>
order by db_adr
• I made a script that just did all of this, it’s much easier and you only have to enter an AP Number.
Final Steps:
• After you have updated the tables, then you need to do:
o cleanas.sh, and
o HW Generation, and
o Full code generation, and
o LAN Generation, and
o Offline Transfer.
• All should be ok now…fingers crossed.
31 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
Dynavis:
Dynavis Commands:
• Bring To front:
o Highlight pictograph -> Middle click on any of its handles
• Push to back:
o Highlight pictograph -> SHIFT + Middle click on any of its handles
• Ungroup:
o F1
• Group:
o F2
• Rotate:
o F3
• Rotate a pictograph properly:
o Highlight pictograph -> Ungroup (F1) -> Rotate (F3) -> Group (F2)
32 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
o Cleared the lock file for Dynavis (path: /$HOME/om/mmi/cnt/MmiCtrl)
• Now I could start Dynavis, but couldn’t open the YOA I was working on (but could open any other
YOA or YOV). I kept getting the message “Current Picture Locked”.
• The message came about because when Dynavis froze and was forcefully shutdown, it obviously
didn’t shutdown properly and hence never removed its “locked” status from Ingres.
• To fix this all you had to do was change the zust_fl to 0 in the Ingres table obj_f.
o * select* from obj_f where zust_fl!=0 \g
o * update obj_f set zust_fl=0 where zust_fl!=0 \g
• Now it’s all ok!
Get-OM
33 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
“Please Insert Correct OKZ” Error When Generating GET Data:
• This is because somewhere on a GET Plan the Physical Slot number (3CCA09.CC063) has been
allocated wrong. The accompanying Physical Slot numbers shows what has been allocated on GET
plans throughout the AWE its currently working on.
• To fix you need to sort through the GET Plans to find the culprit that has caused the problem.
• One way to find the bastard is to do a select query on the ANET database:
o select kennzeichen,xeinbaup1,xeinbaup1_2
from svd
where xawe=’<awe>’ and (xeinbaup!=’<correct slot #>’ or xeinbaup1_2 !=’<correct slot #>’)
\g
o An example of the slot number format is 3CCA09.CC063 (not CCA09.CC063, or
3CCA09.CC63)
/usr/vue/bin/vuelogin
/usr/vue/bin/vuesession
/$TXP_HOME/sw/autostart.sh
sh –c PATH=”$TXP_HOME/$Sw/bin:$TXP_HOME/$Sw/etc:$PATH”; export
/$TXP_HOME/$Sw/startes.pl /$TXP_HOME/$Sw/start_checkDBAnpass.sh
sleep 60
34 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
/$TXP_HOME/sw/start_getom
/$TXP_HOME/sw/sw7.0_getom/bin/getom_verw –d
36 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
• If you stuff up or want to manually edit this file, you can do this using the VI editor etc.
• In order for the changes to be projected into the ES680 database correctly you will need to follow this
procedure:
1. Edit the einstellungen file.
2. Create OM data.
3. Insert OM data.
4. Transfer OM data to ES680 database.
• When you create OM data, the file is accessed and the necessary units are placed in the ANET
database (which is then transferred into the GETOM database, then finally into the ES680 database).
• If you don’t follow this sequence, the changes will not be reflected into the ES680 database.
• If the units do not appear on the screen, the first port of call would be to check that the Einstellungen
file has been filled out correctly.
System error-message Not enough space@1 : exit-code overview AS <ap no.> APF <apf no.>
• Got this system error when we had too many FUP editor sessions open.
• I had 1, Daniela had 1 and Klaus had 3 – so a total of 5 were active.
• It seems that the ES680 just ran out of RAM due to all of the sessions running.
• Luckily the Generation Process bombed out before it got too far, otherwise all of the plans would have
been lock with a Zust Flag = 5.
System error-message Not enough space_LQ002B ‘where ‘ may not be nested within a data
retrieval loop.
• Also got this message at Ras Laffan:
o ELQ002B ‘zust_fl IN (5, 15) AND plan_id’ may not be nested within a data retrieval loop.
37 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
• Also got this message in ES680 protocol window on the desktop:
o Per1Interpreter::Per1Interpreter, fork failed : Not enough space
• Got this system error when we had too many FUP editor sessions open.
• I had 1, Daniela had 1 and Klaus had 3 – so a total of 5 were active.
• It seems that the ES680 just ran out of RAM due to all of the sessions running.
• The Generation Process bombed too far into it, so all of the plans were lock with a Zust Flag = 5.
Program block organization is not generated completely for closed loop control.
• Got this one at Kogan Creek, and again, all we could put it down to was too many connection to
Ingres, thus causing it too ‘freak out’ a little bit.
• Usually when you drill down the HTML error file from ‘View/Print’ it lists all of the concerned files. In
this instance, none of the files were any I had touched, additionally I was only changing SGC logic,
which has nothing to do with Closed Loop Control!
• We tried many things, but only was around it was with a cleanas.sh, complete generation of the
AP, then an Offline transfer.
System error: table ZULI: q_pid <plan id #>, q_lid <location id #>: different q_cpu4’s: <#> <#>
• Has associated User Error:
o User error: KKS “SIGDEF” no as number assigned
• Also has associated Hint:
o NOTE ==> signal <kks> <sig> Page # has open destination SIGDEF.
• Happens from time-to-time when you delete and create signals.
• From the error description it is hard to tell which signal is causing you grief:
o You could be a freak and delete, then re-connect all of your signals, OR
o Just do and SQL query on Ingres table “zuli” and fix the problem in 5 minutes.
o SQL Query to use:
select * from zuli where q_pid=<q_pid # from your error message> and
q_lid=<q_lid # from your error message> \g
Example: select * from zuli where q_pid=12183 and q_lid=113 \g
From the SQL result you will be able to see what the troublesome signal is (‘zuli’
table field ‘sig’), also you will see the differing numbers in the field ‘q_cpu4’.
o With your new found piece of knowledge:
Go to the correct plan and signal,
Cut all occurrences of the signal from your FUP,
Save & Close FUP (very important),
Re-open the FUP and re-connect all of the signals,
Save and Close,
Generate & Transfer Online, and then happy days.
User error: Diagram <KKS> Module <FB Name> (#) has different cycles (<Z#> != <Z#>) within
same PB-Number <PB #>.
• Got this when I put a DCM block on a page and assigned it the incorrect cycle. The Page was
configured for the Z2 cycle, and the DCM’s default cycle is Z1, hence the error.
• Just change the “CPU Reference” of the Function Block (right click => CPU Ref).
• Example:
o User error: Diagram 10HDD16AA030 Module RA.MO (22) has different cycles (Z2 != Z1)
within same PB-Number 44.
38 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
Protection Frame Conflicts and errors:
• Got this message when I did some changes to DCM’s:
o Conflict loading modified PB running inside the protection frame. Two or more signals have
new or changed addresses. The online handler tried to construct a loading sequence so that
the PBs containing the origins of the signals are loaded before the PB containing the
corresponding destinations. This strategy failed, because there are at least two PB’s which
communicated with each other in both directories by signals and signals of each direction
have changed. Important: By setting the button ‘Loading absolutely modified signals used in
protection’ a loading can forced. Be careful! If these are active low signals, this can cause a
tripping on faults.
• If the system is offline, then you can use the ‘Force Protection Frame’ button when you transfer the
code via the online handler, but be careful as it will probably trip the plant.
39 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
AS220 Code Download:
1. As a minimum, the module code and EAS code must be generated. This ensures everything is
how it should be in the EA database.
2. Generate module code and debug
3. Generate EAS code and debug
GETOM:
1. Create OM Data from GET-TM
o This manipulates and imports data from the ANET database
2. Insert OM Data into the GETOM Database
o This inserts the ANET data into the GETOM database
3. Run script: $HOME/bin/stanAWT.sh
o This script calls 4 other scripts and manipulates the GETOM database data
4. Alter Delta/Step values if required in Mask Processing
5. Transfer OM Data to the ES680 Database
o This inserts the GETOM data into the ES680 database
6. Run script: $HOME/tools/set_unit_pro_id
o This sets the correct unit number for the project
TXP Generations:
1. Generate Destinations
o This creates the port to port links for each signal at a database level
o ASR then picks these links up and establishes them between the AS and OM650
o If a port link has not been established for a GET signal, the field q_bea or z_bea (in zuli)
will indicate XXX instead of ETX, OTA etc
2. Generate MMI Diagrams
3. Generate BDM
ASR:
1. ASR Generation
2. Use PL to find the Master (fue) and Redundant (akt) PU’s (P1a and P1b)
3. Do an Om.Stop on the Redundant PU (this makes the transfer much quicker)
4. ASR Transfer to the Redundant PU only
o Answer Y to the Redundant PU only.
o If you answer Y to both PU’s, all process connections will be lost to the OT’s for about 4
minutes, thus the Operators will have no control of the unit…. bad stuff. If you accidentily do
this, you will have to manually kill -9 the asr parent process (/tmp/_/tmp/_p.asr_gen –auftr
ueb).
o The ASR Transfer transfers over the files:
E_BST_typen
E_Inst.5300
E_Ereig.5300
5. Do an init 6 on the Redundant PU after the transfer is complete (you could just do an Om.Start,
but the init 6 is cleaner)
6. Use PL to make sure that the Redundant PU runs up correctly (can take about 15-20 min)
7. Inform PT’s that a momentary red-out may occur when you fail over the PU’s
8. Fail over the Master PU with an OM.Stop
o The new Master PU will now be running with the latest update of ASR
9. Use PL to make sure that all Object managers have become fue on the new Master PU
10. ASR Transfer to the new Redundant PU
o Answer Y to the new Redundant PU only
11. Do an init 6 on the new Redundant PU after the transfer is complete
12. Use PL to make sure that the new Redundant PU runs up correctly
40 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
TXP Transfers:
1. Transfer MMI to the Leading OT:
o Log all leading OT (usually OT1) sessions off (but don’t completely log the MMI Clients out)
o Transfer MMI to the Leading OT
o Log OT sessions back in
2. Update MMI from the Leading OT:
o Log all other OT (usually OT2) sessions off (but don’t completely log the MMI Clients out)
o Update MMI from the Leading OT
o Log OT sessions back in
3. Transfer BDM to spa and spb. This doesn’t interrupt the SU at all
41 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
BDM Generation & Transfer:
General Info:
• Cleans out the CP1430 and replaces its binary file with all of the updated network information.
• Under “View/Print” you can see:
o The *.asc (assembler code) file.
o The protocol file toped.prot_<date & time>.
• When you transfer the LAN information, you can choose weather you send the info to AP-A, AP-B or
both.
•
Tools:
Cleanup Scripts:
NOTE:
• Apart from cleasas.sh most of the information for these scripts was gathered off other people. I very
rarely used most of them (apart from cleanas.sh), so you should really know what you are doing if
you use them (as they are quite powerful scripts and can really stuff up your system).
Cleanas.sh
• SYNTAX:
o cleanas.sh –p <database name> -a <ap#>
o Example:
cleanas,sh –p kogan –a 27
• I think the script is found in the ~/listen directory (if not, just do a search for it).
• FUNCTION:
o Deletes the generated data AP specific.
o The functions of the AP will be reset.
• HINT:
o The script cleanas.sh must be executed after a change of the resources (DX,DB,etc).
o After cleanas.sh you have to run HW, SW, and LAN-gen.
o After the code is loaded, the online handler works again. After big changes (add>10
diagrams), this script is required to use the CPU resources with a high efficiency. The
instances will not be changed.
• NOTE:
o It is best to have all of the plant’s AP’s un-dynamized when you do a cleanas.sh. It is not
critical, however sometimes it can screw things up (good old “undocumented features of the
system”).
o Easy way to check which AP’s are dynamized is to:
Open the “Semaphore” directory (~/semaphore).
42 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
Use “ll” or “ls –al” (same thing really) to search for the files in this directory.
File entries “procGenAsAg<ap#>” are dynamized AP’s.
Find the culprit FUP editors and shutdown dynamization, or kill the session by killing
the relevant “as_server….” Process.
• To do the entire process properly though, you should follow the following process. This ensures that
you have the most current project information, CP1430 data, generated code etc sent to the
concerned AP:
1. Run the cleanas.sh script.
2. HW Generation.
3. LAN Generation (only on TXP versions older than v7.0 is this required – not sure why).
4. Complete Code Generation for the AP
5. LAN Generation (do this for all versions of TXP).
6. If unsure of valid software perform the following prior to transfer of code to the AP’s:
o Take the “B”-AP Processor to STOP mode.
o This will save the “old” code in the “B”-AP in case of a problem.
7. Offline Transfer of code to the AP.
8. Verify the Software is functioning properly (open a plan and dynamize).
Cleanh1.sh
• Syntax:
O clean1.sh –p Project –i y/n –a AS-No {-b -n}
• Options:
o -p Project name
o -i info Modus on/off
o -b clean internal AP-AP connections
o -n clean auxiliary unit connections
o -a AS-Number of AO to be reset respectively 0 for all
• Example:
o cleanh1.sh –p txpauto –i y –a 3 –b
o clean1.sh –p txpauto –i y –a 3 –n
• Function:
O Deletes generated H1-addresses out of the zuli, cg_config_h1, cg_config_tz_bau for one/all
Aps.
O The option –n means that in the table cg_config_h1 only the rows for the subsystems are
deleted.
o The parameters of the sus.-symbols for information—no changes on the individual diagrams
are remaining (no update)
• Hint:
o Overall code generation
o LAN-generation
Cleanmehrblock.sh
• Syntax:
o cleanmehrblock.sh –p <project>
• Function:
o The addresses of Unit-connection will be reset
• Hint:
o Generate SW
O Generate LAN.
CleanVf.perl
• Syntax:
o cleanVf.perl –p <project>
• Function:
o The complete VF-code will be reset.
• Hint:
o Generate VF new.
Cleanasohneapf.sh
• Syntax:
o cleanasohneapf.sh –p <project>
• Function:
43 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
o Deletes the LAN-project engineering
o Deletes the MAC-addresses of all devices
• Hint:
oThe following is required!:
1. cleanna.sh
2. toped.sh
3. Hardware-generation of all Aps
4. toped.sh
5. Software-generation of all APs (if an AP has APF, the APF has to be generated first)
6. LAN-generation
**WARNING: If you do not follow this order, the DX 140 will have errors in the table entries**
Cleanbm.sh
• Syntax:
o cleanbm.sh –p <project>
• Function:
o All data will be deleted.
o All BDM data, VF-data (processing data), Instances, and LAN code.
o With this script, you execute cleanver.sh and cleanVF.sh.
o Functions like (not the same) cleanas.sh and cleanh1.sh
• Hint:
o The following is required!:
1. cleanna.sh
2. toped.sh
3. Hardware-generation of all Aps
4. toped.sh
5. Software-generation of all Aps (if an AP has APF, the APF has to be generated first)
6. LAN-generation
**WARNING: if you do not follow this order, the DX140 will have errors in the table entries**
Cleaninstanzen.pl
• Syntax:
o cleaninstanzen.pl –p <project> -fb <name of FC>
• Function:
O Instances for a FC will be reset
• Hint:
O You must generate and transfer everything (+toped.sh) because the instances will have been
changed.
Cleanna.sh
• Syntax:
o cleanna.sh –p <project> {-n <Sub. Sys. –No.>} {-a <AS-Nr>} {-m}
• Options:
o -p Name of project
o -n Number of the APT-/AGF-/NA (Sub.)-Systems
o -a Number of AP in which it is connected
o -m Address mode
O 0for manual and automatically assigned addresses
O 1only manual
O 2only automatically (given by code generator)
• Function:
o After changes the toped.sh sometimes brings, the hint to run cleanna.sh.
• Hint:
o After running the script, the following is necessary (for all Aps that are connected to Sub.-
systems):
1. Hardware
2. Software
3. LAN
44 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
Struk:
GET Editor:
Select AWE:
o p.awe_wechsel;vart 1 txt= “/pro/<unit #>/a.<awe>”
o E.g. p.awe_wechsel;vart 1 txt= “/pro/unit03/a.wat.307”
Delete Plan:
o p.fup.rm;vart 1 “=<kks>”;vart 5 “<page #>”
o E.g. p.fup.rm;vart 1 “=3 HAH01 EB001”;vart 5 “B3”
o This deletes the plan from Ingres and the following files:
*.log, *.opd, *.gra, *.sfd
Store Temporarily:
o sipl art=z;rs
Load Diagram:
o epl art=n ua=$s96 ib1=”=<KKS>” bnr=”<page #>”
o E.g. Epl art=n ua=$s96 ib1=”=3 HAH01 EB001” bnr=”B3”
45 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
Insert Rahm Block:
o $s51;prot echo=j;$s50bg.<module type>.<rahm block type> $s65;prot echo=n;aegf
typ=rk art=aeo : $p99 314.96 283.41;bti name=bgva txt =<module version>
o E.g. $s51;prot echo=j;$s50bg.srz.rahmen2 $s65;prot echo=n;aegf typ=rk art=aeo : $p99
314.96 283.41;bti name=bgva txt =8DD
What is A Merker?:
• A Merker is memory address space where data can be stored from the accumulator or URAM.
• When Function Blocks without assigned Merkers (e.g. And, Or, Neg etc) are solved, their result is
stored in the Accumulator. Before the Accumulator is flushed, the result needs to be written to
memory. This is what a Merker is used for. If the accumulator isn’t saved, the result is lost.
• The same is for Merkers associated with the EAS’s URAM. Because RAM is dynamic and volatile,
information from the various Telegrams needs to be written to memory, hence written to a Merker.
• You can’t just use any old Merker for a task. There are many different Merker types. The most
commonly used ones are:
o Free Merkers: These are for linking of FB’s etc on a FUP Plan.
o Transfer Merkers: These are for transfer in and out of the URAM.
o Driver Merkers: These are also Merkers associated with the URAM, but are assigned
directly to Module I/O.
o Configurable Update Merkers: Usually a redundant pair of modules is not aware of each
other’s state. This Merker type is used so certain values in each module are synchronised
together. Foe example; if Flip Flops are used, they could get out of synch with each other,
then if the fuse is pulled on the master, the redundant may come back into service with its
FF’s in the wrong state.
Module Information (Merkers, FB’s etc) For Doing GET Editor Mod’s:
1731 (AET) – Analog I/P For Temp. Tx’s and Process Signals:
o 4 analog channels.
o Accepts:
Thermocouples.
RTD’s.
0/4 – 20mA current signal.
0/2 - +10V voltage signal.
o Inputs:
4 Binary:
• Binary qualifiers for analog signals.
4 Analog:
• Tx input signals.
o Outputs:
8 Binary:
• Supply to tx’s (L+G).
• 100mA.
8 Analog:
• 4 x 0/4 – 20mA current signal.
46 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
• 4 x 0/2 - +10V voltage signal.
o Function Blocks:
8 in total of:
• IBR (SP entry or analog value from MMI screen),
• IVL (preselection of 1oo2, 1oo3 etc), or
• ITE (subgroup control).
16 in total of:
• MU, or
• GWM.
o Binary Merkers:
Free Merkers:
• M31,1 => M80,16
I/P’s from URAM:
• M14,1 => M21,6
O/P’s to URAM:
• M22,1 => M30,16
Field I/P’s:
• E,S,1 => E,S,4
Field O/P’s:
• A,S,1 => A,S,4
Timers:
• T,1 => T,32
o Analog Merkers:
Free Merkers:
• MA3,1 => MA40,16
I/P’s from URAM:
• EA,T,1 => EA,T,14
O/P’s to URAM:
• AA,T,1 => AA,T,56
Field I/P’s:
• EA,S,1 => EA,S,4
Field O/P’s:
AA,S,1 => AA,S,8
47 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
Field O/P’s:
• A,S,1 => A,S,14
Timers:
• T,1 => T,32
o Analog Merkers:
Free Merkers:
• MA10,1 => MA40,16
I/P’s from URAM:
• EA,T,1 => EA,T,24
O/P’s to URAM:
• AA,T,15 => AA,T,38
Field I/P’s:
• EA,S,1 => EA,S,14
Field O/P’s:
• AA,S,1 => AA,S,14
48 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
49 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
50 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
Ingres Databases:
svd:
o kennzeichen – source kks (2 HHY01 AA001)
o vkennz – destination kks (2 HHY02 AA002)
o signal – signal (XQ01)
o xawe – source AWE (AIRG.203)
o yawe – destination AWE (WAT.207)
o xbezeichen – source FUP Plan description
o ybezeichen – destination FUP Plan description
o xeinstellung – source “setting” paramater (MG/M3)
o yeinstellung – destination “setting” paramater (Mpa)
o xfkz – source BUS/TLN (203)
o yfkz – destination BUS/TLN (201)
o xbg_ty – source Module type (ASR)
o ybg_ty – destination Module type (SRZ)
o xeinbaup1 – (source) master Module Physical Slot number (2CCA01.AC075)
o xeinbaup1_2 – (source) redundant Module Physical Slot number (2CCA01.BC075)
o yeinbaup1 – (destination) master Module Physical Slot number (2CCA02.AC075)
o yeinbaup1_2 – (destination) redundant Module Physical Slot number (2CCA02.BC075)
o xst_p1_nr - (source) master Module Logical Slot number (7)
o xst_p1_nr_2 - (source) redundant Module Logical Slot number (107)
o yst_p1_nr - (destination) master Module Logical Slot number (23)
o yst_p1_nr_2 - (destination) redundant Module Logical Slot number (123)
svd_mehrfach:
o kennzeichen – source kks (2 HHY01 AA001)
o vkennz – destination kks (2 Hhy02 AA002)
o signal – signal (XQ01)
o vber – YP## allocation (YP36)
o xplan_nr – source FUP Plan page number (B2)
o yplan_nr – destination FUP Plan page number (D1)
o yadresse1 – FUP Plan’s “address” field 1 (generally blank)
o yadresse2 – FUP Plan’s “address” field 2 (MKS 110)
zvz:
o uas – FUP Plan type (YFR)
o inhalts_kenn – FUP Plan kks (1 LBB01 CU001)
o zaehl_nr – FUP Plan page number (MU1)
o bezeichnung – FUP Plan description
o fkz – functional group complex (YCCA05)
o fb – functional group (205)
o awe – FUP Plan AWE (WAT.107)
o There are also other fields that I have to get!!!!!!!!
zvz_zust:
o uas – FUP Plan type (YFR)
o inhalts_kenn – FUP Plan kks (1 LBB01 CU001)
o zaehl_nr – FUP Plan page number (MU1)
o zustand – FUP Plan update number (0,1,2 or 3) (0 is the date the original was drawn)
o zust – FUP Plan revision number of each update (21,a,b,c…)
o zust_dat – FUP Plan dates that the original and updates were done (04.10.02)
o There are also other fields that I have to get!!!!!!!!
51 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
bau_gr_matr:
o b_typ – Function block on FUP Plan (KR1)
o baust_name – technical name of Function block on FUP Plan (br.KR1.1)
o sym – Function block I/O signal name on FUP Plan (ARZU)
o sig – signal (XQ01)
bau_st_matr:
o This table has all the Module details in it.
o erzeugnis_nr – Module product number (6DS1722-8AA)
o typ – Module type (ASR)
anal_op:
o This has all information regarding the modules internal analog merkers.
o Same as the information you would get from:
Module Processing -> Operand Processing -> Analog/Binary Operands.
o Editing this table is the same as editing the plugs through the relevant mask.
bin_op:
o This has all information regarding the modules internal binary merkers.
o Same as the information you would get from:
Module Processing -> Operand Processing -> Analog/Binary Operands.
o Editing this table is the same as editing the plugs through the relevant mask.
anal_steck:
o This has all information regarding the modules analog plugs.
o Same as the information you would get from:
Module Processing -> Operand Processing -> Analog/Binary Plugs.
o Editing this table is the same as editing the plugs through the relevant mask.
bin_steck:
o This has all information regarding the modules binary plugs.
52 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
o Same as the information you would get from:
Module Processing -> Operand Processing -> Analog/Binary Plugs.
o Editing this table is the same as editing the plugs through the relevant mask.
bsfolge_rel:
o Has all the information regarding the cycles of function blocks and merkers on GET Plans.
o bg_nr – module logical slot number (24, 124 etc)
o pt – cycle type (A (azyk), L (Lzyk), S (SZYK) etc)
o bfnr – cycle number (303, 303.1 etc)
o function – kks of the GET Plan
o blatt – page number of the GET Plan
Miscellaneous:
53 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
• You can tell if AWE is in Auto or Man Operand Allocation mode via the menu where you select what
AWE you want to be in. It will show you:
o Manual Allocation:
Airg.303 303 (FUP)
o Auto Allocation:
Airg.303 303 (FUP, OPD-ALLOCATION)
Code Files:
*.bgp:
o Buffer file
o This is what the actual code (*.akt) is going to be once the download has been done.
*.akt:
o The actual code that is in the module.
*.aen:
o Partial code generated.
o Same as viewing the partial code via the menu.
*.incon:
o Error file generated if an incomplete download/generation has been done.
54 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
OM 650
General:
/usr/adm/messages:
o This has the entire boot up messages, including error messages from boot up.
/var/adm/syslog:
o This has all of the system faults in it.
/var/spool/mail/root:
o This logs all errors on the machine and can be a useful resource if you know how to interpret
these errors.
o It also gives any diagnostics of the system i.e. broken file links etc.
/etc/rc2.d/messages/….
o These are the messages from everything that starts up when booted into multi user mode
(init 2)
/etc/rc.log
o Tells you what scripts have run what upon system start-up.
o All messages and errors of the rc#.d scripts.
/etc/shutdown
o Tells you who shut the machine down
o If it was a non scheduled shutdown, the reason might be stated (e.g. kernel panic)
55 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
/sbin/rc#.d/….
o Directory that has the entire boot up scripts wrt the run level you are booting it up to.
/var/opt/K/SCO/SoftMgr/1.0.2b/custom/custom.log
o This has fairly incomprehensible information in it, however it can get quite large, thus you will
need to keep an eye on it.
/txp/web/web4txp/log/w4.appletstart.log
o All info pertaining to MMI Clients logged into an OT.
/etc/rc2.d/messages/S90Tarantella.log
o Only for OT’s
o Can become very large (seen it at 1.42GB) and will crash the OT. Needs to be monitored
and deleted.
56 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
REBOOT – do another BU (dual BU)
POWER DOWN MACHINE – finished Backing Up.
17. Power down the OMK (orange LED) then DAT Streamer.
18. Remove the DAT Streamer after the OMK is powered down (otherwise damage may occur.
Very important!).
19. Best to remove the keyboard and monitor before turning the OMK on. This is because
problems sometimes happen if the keyboard/monitor are hot swapped after the OMK is
turned on whilst the keyboard/monitor are plugged in.
20. Monitor the OMK starting up via TTY 5.
21. After OMK has properly run up (be bloody patient, it may take 15-30 min), log in as user
TXPOM and restart its infrastructure (command: Om.Start). Monitor via TTY 5.
22. Once everything is back to normal, log out of TTY1 and TTY 5.
Licensing Files:
• Path:
o /txpproj/proj_std/inf/opt.conf
• This file is transferred over from the ES680 upon a Generation and Transfer.
Hosts File:
• Path: /etc/hosts
• This file acts like a Domain Name Server (DNS), where by aliases are mapped to IP addresses.
• EXAMPLE: When you rlogin s1ot1 the host machine first looks in the hosts file for a corresponding
entry and subsequent IP address. If the alias (s1ot1) is not present, then you will have to rlogin using
the IP address (rlogin 10.14.51.1).
• The OM650 hosts file is in the format:
o <IP address> <host name> <Infrastructure name>
• This file is very important for the Infrastructure run up of the OMK. When the OMK runs up, it looks at
the host name and Infrastructure name, then initialises and operates a connection to those OMK’s in
the hosts file.
• Because of the above reasoning, extreme care must be taken when editing this file to ensure no
typos are done and the correct format is done (I edited this file without knowing the above info and
got a typo, hence the SU I did it on never booted up…oh well, gotta learn the hard way sometimes!!).
• Also, this file has Print_SVR specific information in it. These are unique drivers for the OM ring laser
printers and should not be altered in any way.
• Also, do not include any Plant or Web bus IP addresses in this file. They should all just be the
Terminal bus addresses.
• If you want to build this file up to help rlogin, just include the IP and Alias of the OMK, don’t include
any other details or this can cause incorrect operation of the OMK.
IKZ Information:
• The IKZ is a numerical representation of a KKS signals information (signal type, data type etc)
57 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
• Its done like this because computers are better at dealing with numbers rather than letters.
• IKZ’s have the following information:
o FB: Functional Area
o Inr (IN): Instance Number
o EA: Input/Output signal identification number
o Btyp (BT): Component Type Number
o Etyp (ET): Event Type (A, W, T, F, S etc) identification number (Hex)
0001 (E) Event
0002 (A) Alarm
0004 (W) Warning
0008 (T) Tolerance
0010 (O) Operator Tracking
0020 (L) Local
0040 (F) Function Fault
0080 (M) Maintenance
0100 (I) Indirect Device Fault
0200 (OE) Operator Event
0400 (SM) Common Alarm
0800 (C) Configured Status Event
1000 (ST) STAD Event
2000 (-) Compressed Value set by ARC
4000 (S) Superordinate I&C Alarm
8000 (D) Device Fault
o Dtyp/Styp (DT/ST): Data Type (binary, analog etc) identification number
0 Nil Value
-1 Analog Value
-2 Count Value
-3 Binary Value
-4 Operator Adjustable Nil Value
-5 Operator Adjustable Analog Value
-6 Operator Adjustable Count Value
-7 Operator Adjustable Binary Value
-8 Command
-9 TTD Analog Value
-10 TTD Count Value
-11 TTD Binary Value
-12 Analog Value with Period Of Time
-13 Count Value with Period Of Time
-14 Binary Value with Period Of Time
o Quality Code: This is a Hex value and shows the ‘health’ of the signal. If several errors
occur, the hex numbers are added (i.e. 0060 means HW error and NOD).
0000 All Ok
0001 Out Of Range
0002 Default Value
0004 Un-calibrated
0008 Manually Entered
0010 Test Mode
0020 No Data (NOD)
0040 Hardware Error (HWE)
0080 Undefined Error (UND)
0100 Unknown Address (UNK)
o Gkomp (GK): AS component number. If negative, its an OM internal signal
o FKZ: KKS
o SKZ: Signal
o Ityp (IT): Invocation Type. Shows the signal type and function block type. All
types are found in /txpproj/proj_std/asr/R-BstTypen
Patches
• All patches installed on the OMK are listed in the patches file: /txpsys/Patches
• Read this file to see what patches are installed.
58 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
Bug Fixes:
• All tar files for bug fixes are in the directory: /bugfix/…
NOTICE: Sdsk: Unrecoverable error writing SCSI disk 0 dev 44/0 (ha=0 bus=0
id=4 lun=0) block=0. Write error: Media is write protected:
• Initially I thought that we had blown another SCSI HDD. But was wrong.
• I found this problem is caused by trying to initialise or activate a MOD with its write protect on.
• That’s why the fault was only found on the SU’s or SUPU’s.
59 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
OT:
60 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
4. Account Manager -> Users -> Add New User
5. Enter:
a. LOGIN – Client Name (i.e. s8030)
b. USER ID – sequentially incremented as new Clients are added (don’t need to alter).
c. COMMENT – description of the client (i.e. web4txp user, power PG etc)
d. PASSWORD – select ‘set now’
e. SHELL – change to csh
f. HOME DIR - /txp/web/users/<Client name> (don’t alter any of the permissions).
g. LOGIN GROUP – web4txp
h. PASSWORD - /1<Client name> (i.e. /1s8030)
6. Make sure the new Client appears on the list.
7. Exit out of scoadmin.
8. As the root user, open; /txp/web/install/w4.Install.Para with the vi editor.
9. Enter the necessary data in the file (i.e. IP, Screen size etc). See the TXP Manual for screen
sizes.
10. Make sure you alter 2 areas within the file for each new Client (scroll down the entire file).
11. As root user, run the script; /txp/web/install/w4.config
12. Select/Enter:
a. Option 6 (Setup Web4Txp Server Database).
b. OPERATOR PASSWORD - /1operator
c. TXPOM PASSWORD - /1txpom
13. Log out as the root user and restart the OT (command: init6).
14. Log Clients back into the OT and check that the new Clients work.
15. Make sure the Online Log is started.
61 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
• The following semaphore files are created in /txpproz/mmi.0/1/2/3/4:
o _Otx_.# (PID of the MMI session started)
o ipc_ids01
o rights.curr (User login authentication file. Same info as rights.usr. Created when you log
into the MMI session, deleted when you log out.)
Disabling Alarms:
• Disabling of an alarm only stops it from appearing on the ASD.
• MAC still conditions it and sends it to ARC and LZA.
Inhibiting Alarms:
• When an alarm is Inhibited, MAC discards it.
The alarms Process Image is still built up but dismissed by the PU.
Ot.conf:
o File used to change configuration settings for the OT
o E.g. Order of newest alarms to top, blink rate of ASD alarms, number of previous pages etc.
Ot.frapple:
o File used to enable/disable individual OM functions for an OT.
o & in front of OM function enables it, blank disables it.
o E.g. video, printer, MOD, Logs etc
• After these files are changed/replaced you will need top restart the OT.
• What I think caused this problem in the first place is I did a Om.Start on the OT as it was still starting
up from the init6 (stupid and impatient me!!).
62 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
Pictograph showing *****, But Faceplate Showing The Correct Value:
• This was caused by the signal not being a TTD (time tagged data) signal.
• This is because the popup Faceplate gets its information directly from the MAC Object Manager in
the PU, thus the signal will be displayed weather or not the signal is TTD or not.
• The Pictograph on the other hand, gets its value from the ARC Object Manager. And as you know, in
order for a signal to get into the ARC, it must be a TTD signal.
• To fix, just make the signal a TTD signal.
• You can also use Sig.Attach (for ASR and MAC) and Arc.Read (for ARC and LZA) (path:
/txpsys/swi/….) to read values directly from the OM650 system.
• It should be noted that this was for the older versions (V5 and old v6). This is not the case in newer
versions (v7.4). Everything on the screens (faceplates and pictographs) is driven by MAC, whereas
ARC drives the curves.
• If you loose time stamp on your data, MAC will still display the data, but ARC will not and you will get
curve flat lining and white curve colours (you can also get white curve colours from bad signals).
63 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
OT Rebuild From DAT Tape:
• You will require the SCO Boot and Root disks to perform a restore.
• A restore of an OT doesn’t require the installation of the Software CD (Unlike the SU etc).
• Upon a System Restore, this OM650 version automatically partitions the HDD and installs the file
systems. Older versions (v.6.3 etc) like at Callide C, do a block restore, thus the System Restore is a
complete mirrored copy of the old HDD when it was backed up.
• DAT Streamer must be on channel 2 (ES680 uses channel 3).
• Its best to do this with a terminal and keyboard plugged directly into the OT. This is because the
display is easier to interpret compared to an rlogin session.
• Procedure:
1. Log into the OT you are restoring as user TXPOM in terminal TTY 1 (command: alt + F1).
2. Log into another OMK in the same Project using terminal TTY5 (command: alt + F5). This
will be used to monitor the status of the OMK’s (using PL).
3. Shutdown the OT’s infrastructure (command: Om.Stop). Monitor via TTY 5.
4. Switch to the root user and power down the OT (command: su root then init0). Monitor via
TTY 5.
5. The OT is off when its LED is orange.
6. Connect the DAT Streamer to the SCSI port of the OT and ensure the DAT Streamer is set to
channel 2.
7. Put the SCO Boot disk into the OT and turn it on (LED goes green). A mini version of the
SCO OS will be loaded into a RAM disk.
8. Press enter at the Boot prompt.
9. Enter the Root disk into the OT when prompted to do so.
10. Run the cleaning DAT tape, and then put the latest system backup into the DAT streamer.
11. Run script: Txp.Restore.
12. Attend to error messages if there are any.
13. Eject DAT Tape.
14. Enter the command: haltsys
15. Turn off the OT and remove the DAT streamer.
16. Remove the Terminal Bus connection from the OT. This allows the OT to reboot as a stand-
alone machine.
17. Restart the OT and ensure it starts up ok.
18. Stop and start the OT’s infrastructure (Om.Stop and Om.Start) to ensure it works correctly.
19. Run OmProj.Check to ensure Infrastructure files are correct.
20. Reconnect the Terminal Bus, then init 6 the OT.
21. Check the Infrastructure configuration files across the OM ring using the Poll or Compare
commands (Poll more <file path>). All files should be the same on all OMK’s. The files to
be checked are:
/txpproj/proj_std/inf/InfObm.inst
• Object manager assignments to each OMK.
• See admin manual for clearer description of file.
/txpproj/proj_std/inf/InfFb.proj
• FA assignment to each OMK.
• See admin manual for clearer description of file.
/txpproj/proj_std/inf/InfOmk.proj
• Internal component number (LTK-No) for each OMK in the project.
• See admin manual for clearer description of file.
/txpproj/proj_std/inf/InfDevInst.proj
• Device monitoring file for printers MOD drives etc.
• See admin manual for clearer description of file.
22. Check the OT configuration files across the rest of the OT’s in the project, using the Poll or Compare
commands (Poll more <file path>). The files to be checked are:
/txpproj/proj_std/mmi/Ot.pwd (prior to release 6) …/Rights.usr (release 7
onwards)
• Created on ES680 in /$HOME/om/mmi/…
• Copied to OT on each MMI transfer.
• Contains FA authorization levels for each MMI user.
• See admin manual for clearer description of file.
/txpproj/proj_std/mmi/Ot.hrn
• Created on ES680 in /$HOME/om/mmi/…
• Data for horn activation on the OT’s.
• See admin manual for clearer description of file.
/txpproj/proj_std/mmi/Ot.amu
• Data for automatic alarm suppression for the ASD.
64 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
• File is not always used.
• File is manually created or changed on the OT.
• See admin manual for clearer description of file.
/txpproj/proj_std/mmi/Ot.frappl
• File determines how the MMI screens look.
• Enable/disable certain function (buttons) on the MMI screens.
• File is manually created or changed on the OT.
• See admin manual for clearer description of file.
/txpproj/proj_std/mmi/Ot.conf
• Configuration data for the OT. Determines how the ASD operates.
• File is manually created or changed on the OT.
• See admin manual for clearer description of file.
23. Do a full MMI and Dyn FUP code download from the ES680. You will not need to do a full
generation of the code because when you do incremental generations, it updates the full
code.
24. Reinstall any patches or bug fixes, as these are not included in the root BU of the OMK’s,
thus are not reinstalled upon system restore.
25. Everything now should be running, as it should be.
65 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
• It indicates that there is no room left on the root partition of the Hard Drive (minor number 42 means
root partition. See hd(hw) man page).
• The 2 error messages flooded the screen, and made it pretty hard to login and search the system
(but it is possible).
• I found the log file that was causing the problem to be:
o /etc/rc2.d/messages/S90Tarantella.log
o It was 1.42GB in size. Which is bad considering the root partition is only 2GB!
o Because it was with Tarantella, it only happened on the OT’s.
• The problem was referred to the PPA Australia Hotline, who referred it onto Germany.
SU General:
SU Printer Configuration:
• The control etc for the printing on the SU is configured from the file: /$OmProjData/prt/PrtProj
66 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
5. Switch to the root user and power down the SU (command: su root then init0). Monitor via
TTY 5.
6. The SU is off when its LED is orange.
7. Connect the DAT Streamer to the SCSI port of the SU and ensure the DAT Streamer is set to
channel 2.
8. Put the SCO Boot disk into the SU and turn it on (LED goes green). A mini version of the
SCO OS will be loaded into a RAM disk.
9. Press enter at the Boot prompt.
10. Enter the Root disk into the SU when prompted to do so.
11. Run the cleaning DAT tape, and then put the latest system backup into the DAT streamer.
12. Run script: Txp.Restore.
13. Attend to error messages if there are any.
14. Eject DAT Tape.
15. You need to stop the SU’s infrastructure from automatically booting up. To disable this, do
the following:
Backup the file: /etc/conf/cf.d/init.base
Open the file init.base using the VI editor.
Comment out (#) the line om:2:once:/txpsys/inf/InfOmBoot > /dev/null 2>&1
Save the file and exit.
Because this change is to the kernel, you will need to initiate a kernel recompile by
using the command: link_unix
Enter y and y when prompted to do so.
To initiate the new kernel you will have to init 6 the SU (or just follow onto the next
step (haltsys), which is probably better).
16. Enter the command: haltsys
17. Turn off the SU, turn off and remove the DAT streamer.
18. Remove the Terminal Bus connection from the SU. This allows the SU to reboot as a stand-
alone machine.
19. Restart the SU.
20. Put the software CD into the CD-ROM drive of the SU
21. Run script: post_om.sh this any old OM software installations then reinstalls all new OM
software from the software CD. The CD installs the directory /txpsys/ and also rebuilds the
LZA archiving blocks on the HDD. This takes about 45min – 1hr.
22. Once complete, reboot the system.
23. Disable the Log Archive button. This is because we don’t require it at Stanwell, plus it just
logs unnecessary data onto your SU’s HDD. Its done by:
Backup the file: /txpsys/prt/working/Txp17
Open the file Txp17 using VI and add the following line:
• *Txp17*XmBulletinBoard*ArchButton*sensitive: false
Save and exit the file.
Backup the file: /txpsys/prt/working/Txp19
Open the file Txp19 using VI and add the following line:
• *Txp19*XmBulletinBoard*ArchButton*sensitive: false
Save and exit the file.
Backup the file: /txpsys/prt/working/Txp28
Open the file Txp28 using VI and add the following line:
• *Txp28*XmBulletinBoard*ArchButton*sensitive: false
Save and exit the file.
Backup the file: /txpsys/prt/working/PrtOF
Open the file PrtOF using VI and add the following line:
• PrtOF*archiv.sensitive: false
Save and exit the file.
SU will need a reboot for the changes to take effect.
24. Reconnect the Terminal Bus, then init 6 the SU.
25. Check the Infrastructure configuration files across the OM ring using the Poll or Compare
commands (Poll more <file path>). All files should be the same on all OMK’s. The files to
be checked are:
/txpproj/proj_std/inf/InfObm.inst
• Object manager assignments to each OMK.
• See admin manual for clearer description of file.
/txpproj/proj_std/inf/InfFb.proj
• FA assignment to each OMK.
• See admin manual for clearer description of file.
/txpproj/proj_std/inf/InfOmk.proj
• Internal component number (LTK-No) for each OMK in the project.
67 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
• See admin manual for clearer description of file.
/txpproj/proj_std/inf/InfDevInst.proj
• Device monitoring file for printers MOD drives etc.
• See admin manual for clearer description of file.
26. Check the SU configuration files across the rest of the SU’s in the project, using the Poll or Compare
commands (Poll more <file path>). The files to be checked are:
/txpproj/proj_std/inf/Opt.conf
/txpproj/proj_std/prt/Prt.proj
• Online printer configuration data.
• The configured printers must also exist in the Prtproj file.
• See admin manual for clearer description of file.
/txpproj/proj_std/prt/PrtProj
• Printer configuration data.
• See admin manual for clearer description of file.
/txpproj/proj_std/ntb/Ntb.proj
• NTB configuration data (multiple notebooks etc)
• See admin manual for clearer description of file.
/txpproj/proj_std/lza/Lza.proj
• Configuration data for LZA (alarm types logged etc)
• See admin manual for clearer description of file.
(on ES680) /$HOME/om/bdm/bpr_LTK.dat
• All of the user defined alarming.
27. Run the script OmProj.Check to finally check that all configuration files are ok.
28. Do a full BDM and PRT code download from the ES680. You will not need to do a full
generation of the code because when you do incremental generations, it updates the full
code.
29. It may also be a good idea to transfer over any new configuration files (Lza.proj, Ntb.proj etc)
from the ES680 if the corresponding Object Manager was the cause of the SU failure.
Example, we had the LZA Object Manager go anf, thus upon the SU rebuild, we transferred
over the Lza.proj file from the ES680.
30. Copy over the cron files and scripts by:
Stop the cron: crontab –r
Copy from another project, into the /usr/txpom/… directory the following:
• log.sh
• wo.sh
• txp.cron
Restart the cron (crontab txp.cron)
31. Reactivate the auto boot of the SU’s infrastructure by:
Open the file /etc/conf/cf.d/init.base using the VI editor.
Take out the # from the line: om:2:once:/txpsys/inf/InfOmBoot > /dev/null 2>&1
Save the file and exit.
Because this change is to the kernel, you will need to initiate a kernel recompile by
using the command: link_unix
Enter y and y when prompted to do so.
To initiate the new kernel you will have to init 6 the SU.
32. Everything now should be running, as it should be.
33. The LZA will take about 1 day to resynchronise with its redundant mate (don’t put a MOD in
when this is happening!!!). After this it is good practice to ensure that the LZA’s are updating
and that they are both writing to MOD. Take turns in running them both as Master etc.
NOTICE: Sdsk: Unrecoverable error writing SCSI disk 0 dev 44/0 (ha=0 bus=0
id=4 lun=0) block=0. Write error: Media is write protected:
• Initially I thought that we had blown another SCSI HDD. But was wrong.
• I found this problem is caused by trying to initialise or activate a MOD with its write protect on.
• That’s why the fault was only found on the SU’s or SUPU’s.
BDM:
68 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
BDM Generation File Corrupted (v7.4):
• When a full BDM generation is performed, the “User Defined” instance-listing file is overwritten, hence
corrupted. Once this corrupted file is transferred, all text for the “User Defined” alarms will be non-
existent in the BDM Informix database; hence only invocation numbers will appear on the ASD.
• Examples of “User Defined” alarms are:
o MOD Full
o PPAI Fault
o Redundancy a/b Loss
• The “User Defined” alarms file is:
o /$HOME/om/bdm/bpr_LTK.dat
o /$HOME/om/bdm/bpr_LTK.dat.backup (Backup bpr_LTK.dat file)
• All alarms in the file with an invocation number in the 700’s are the manually assigned alarms.
• In the worst-case scenario, you can rebuild this file using the VI editor.
• Procedure for over coming this problem:
1. Do full BDM generation (if absolutely required).
2. Copy the bpr_LTK.dat.backup file over the top of the corrupted bpr_LTK.dat file.
3. Do BDM transfer as per normal.
4. Ensure the “User Defined” alarms work.
• One thing to keep in mind is that when an alarm with no text appears on the ASD (i.e. Invocation
number only), the clearing alarm (i.e. in [not coming]) will still display with the Invocation number as
well, even after the BDM is done. It’s not until the alarm is reinitiated that the alarm displays the
correct text.
• Apparently this is a know fault on v v7.4 and was rectified in v7.5. Its also not know to occur on
versions prior to v7.4 (as verified by other plants in Australia).
• BDM: Buschriben Daten Manager (Translation: Deskription Database Manager)
• More descriptions of the bpr_LTK.dat file can be found in the TXP manual.
69 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
o /txpconf/bdm/bpr_styp – Description of the type of signal that is being used (Analog, binary
etc).
o /txpconf/bdm/bpr_quality – Quality Type of the signal (NOD, UND, DIS etc)
LZA:
Delete a MOD:
• Need to run the script /txpsys/lza/delete.sh
PRT:
70 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
• You can tell if the log was an ES-Configured log (automatically generated) or manually created by a
user. To do this, look at the 3rd field in the entry for the log. If the log was ES-Configured, there will
be no entry on this field. Otherwise the user’s login name will be listed in the field.
• Column 1: Functional Area (FA)
• Column 2: Date log created.
• Column 3: User name or blank if ES-Configured.
• Column 4: File path of log in $OmprozData directory.
• Column 5: ??
• Column 6: Log name.
• Column 7: Master PU at the time.
• Column 8: Log name.
• Column 9: Date from
• Column 10: Date to.
• Column 11: ??
NTB:
PU General:
ASR:
MAC:
ARC:
72 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
/txpsys/inf/InfOmRoot
Tools:
Arc.Read:
• This script reads signal values out of ARC then if they are not there; it searches LZA (optionally you
can only read out of LZA with the –l option), for the date, time and duration specified. This script can
be run from any OMK.
73 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
Syntax:
o Arc.Read –d date –u time –i duration –a –l <KKS> <Sig>
o Path is: /txpsys/swi/…
Examples:
o Arc.Read -a “2 HFC02 AA020” XU01
Searches the ARC (then LZA if it’ not in the ARC) then shows the initial value from
the current time and date for 5 min.
o Arc.Read –d 18.11 –u 7.15 –i 30.45 –a -l “2 HFC02 AA020” XU01
Searches the LZA only and shows values from 18.11.2003 @ 07:15 for 30 hours and
45 minutes. It also shows the initial value.
Arc.Attach:
• This script reads signal values out of ARC then if they are not there, from the LZA. This script can be
run from any OMK.
Syntax:
o Arc.Attach –i duration –a <KKS> <Sig>
o Path is: /txpsys/swi/…
74 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
• Also keep in mind that entries are only made in ARC and LZA if the analog signal has exceeded its
delta value, or a binary has changed state. So, if you did a search on a binary that hasn’t changed
state for the time duration you are searching, nothing will show up!
Examples:
o Arc.Attach –i 1.30 -a “2 HFC02 AA020” XU01
Searches the ARC (then LZA if it’ not in the ARC) then shows the initial value from
the current time and date for 1 hour and 30 minutes.
Sig.Attach:
• This script reads the dynamic values of a signal out of MAC and ASR. This script can be run from
any OMK.
Syntax:
o Sig.Attach –c cycle –o cycle –p count <KKS> <Sig>
o Path is: /txpsys/swi/…
Examples:
o Sig.Attach –c 2 –p 10 “2 HFC02 AA020” XU01
Searches MAC and returns 10 signal values with a 2 sec sample time.
o Sig.Attach –o 2 –p 10 “2 HFC02 AA020” XU01
Searches ASR and returns 10 signal values with a 2 sec sample time.
Arc.Moni:
• This script monitors and gives you the status data of the ARC. This script can only be run on the
PU’s.
Syntax:
o Arc.Moni cycles
o Path is: /txpsys/swi/…
• It gives you:
o The size of the ARC (500 000)
o Number of events, cycle
o Events/sec, Max events/sec
o Begin and end time
• Press delete to exit.
Example:
o Arc.Moni 5
Run the ARC Monitoring tool with an update time of 5 seconds.
75 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
File.Copy:
• This script copies a file from OMK to all OMK in its localised ring (i.e. all OMK’s in the project).
Syntax:
o File.Copy –a –i –v <file name>
o Path: /txpsys/swi/…
Ikz.Read:
Syntax:
• Ikz.Read [-i] [-p] [-s] [-a] <KKS> [SIG]
o With the given KKS and optional SIG, you get data for the appropriate signals/components.
o It is optional to give the SIG.
o If you use a KKS or SIG that contains blanks, then you have to frame KKS/SIG with "..." or '...'
o KKS and SIG may contain the wildcards * and ?.
o At the end of a KKS or an SIG it is unnecessary to use the wildcard * because the script adds
it by itself.
Output Headings:
o FB: Functional Area
o Inr: Instance Number
o EA: Input/Output signal identification number
o Btyp: Component Type Number
o Etyp: Event Type (A, W, T, F, S etc) identification number (Hex)
o Dtyp: Data Type (binary, analog etc) identification number
o Gkomp: AS component number. If negative, its an OM internal signal
o FKZ: KKS
o SKZ: Signal
Examples:
o Ikz.Read "2 MAG10 CL002" XQ01
FB INr EA BTyp ETyp DTyp GKomp FB FKZ SKZ
109 474 1 26587 0001 -1 30213 09 2 MAG10 CL000 XQ01
BTyp.Read:
Syntax:
o BTyp.Read [-l] [number or name of a component-type]
o Displays the function block number and name of the component type from the given number.
o You use the Btyp number derived from the IKZ (use the script Ikz.Read to obtain this
number)
o The given name may contain the wildcards * and ?.
o It is not necessary to append the wildcard *, because the script appends * to a given name.
o Option -l: Additionally displaying the inputs/outputs
o Note: The data is fetched from the BDM.
Examples:
o BTyp.Read 25068
number name
25068 MKS
o BTyp.Read -l 25702
ITyp-Nr EA-Nr ETyp STyp Name
25702 PMKS
1 0000 -3 XXXX
Descr.Read:
Syntax:
o Descr.Read [-l] <FB> <INr> [ea-nr]
o The script displays the description data for an Instance number.
o Get all the info required via the Ikz.Read script.
o If no IO-no (EA-Nr) is given, the script finds out the component-instance.
Options:
o Without:
if IO-no is given, some description data for this signal is displayed.
if IO-no is not given: the description data for this component delivered by the service
OciReadDescription is displayed.
o -l: the description data for this component or signal delivered by the service
OciReadDescription is displayed.
Examples:
o Descr.Read 404 347
NDescriptions = 1, DescriptionType = 2
Buffer[ 0]
qualitaet = "v"
fkz = "0 QCY01 EU001"
bkz = " "
okz_einheit = " "
okz_platz = " "
kanal = " "
klar_tx = "CHEM DOSG EMRG ASSIS"
ityp_na = "PMKS"
ea_anzahl = 1
fup_name = " "
77 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
SAMPLER:
Syntax:
o SAMPLER –h –u –c –s –i –v <additional file>
o Make sure that you use the correct cAsE for SAMPLER!!.
o This collates all of the diagnostic files for an OM Component.
o The output is place in:
/txp/om650/txpproj/proj_std/SAMPLER.<OMK>.<date>.<time>.tar.z
This is a compressed tar format and is not recognised by Winzip!!
To make it just a tar file use gunzip <file name>, and this will enable you to open it in
Winzip.
Options:
o –h : help for SAMPLER and saved file location.
o –u : help for available paramaters.
o –c : acknowledge each file before it is copied into the *tar.Z file.
o –s : don’t copy the fault analysis files (???).
o –i : don’t copy over any of the additional fault analysis files (???).
o –v : include a list of the collected files in the *tar.Z file.
o <additional file> : include this file in the final *tar.Z file.
Examples:
o SAMPLER –v
o SAMPLER -iv
o Make sure that you press the ENTER key once the >> appears on the screen, otherwise it
will not progress. I think that it is waiting for you to enter another file name in which to save it
(not sure never tried it).
78 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
Bus/LAN System
General:
HOPF Clock:
• Our bastardised system at Stanwell requires a slightly different clock LAN configuration. We have
BNC Coax connections from the HOPF 7317 card to each of the Station PU-ME’s. These provide
time stamping to the CS-275 bus. We also have 5 RJ45 connections to the OLM’s making up each
H1 (plant) Bus on the 5 projects (1/2/3/4/Stn).
• The Hopf Clock gets its time stamp from Atomic clocks situated on orbiting satellites. It uses GPS to
obtain the times.
• System operation at Stanwell (test performed on 18/12/2003):
o Disconnect Coax cable from HOPF Clock to Station PU-ME’s – no problems with
timestamp or time synchronisation of OMK’s. It appears that the Station PU-ME’s continue to
broadcast their own internal clock, independent of the terminal Bus time, once they loose
their HOPF Clock connection.
o Disconnect GPS aerial – no problems with timestamp or time synchronisation of OMK’s. It
appears that the HOPF continues to broadcast its own internal clock when the GPS aerial is
disconnected.
o Disconnect H1 (Plant) Bus connection from HOPF clock – All OMK’s for the removed
connections go momentarily into Time Synch Error. Once the AP’s take up time master ship,
the Time Synch Error disappears. The small error is caused by the time lag produced by the
Time Stamp Broadcast telegram (1 per minute). There was no flat lining in the Curves, or
whiteout of the Curves. When the Station H1 bus was disconnected, it remained in error
because there are no AP’s installed on Station to take up time master ship.
o We tried to remove the BNC Coax connection, as well as the Terminal Bus connection to
determine weather the Station PU-ME’s used their own internal clock, or were synchronised
with the Terminal Bus. This failed as the PU-ME shutdown its Infrastructure as soon as it
sensed the loss of the Terminal Bus.
ESM/OSM General:
• OSM – Optical Switch Module for fibre optic LAN’s
• ESM – Electrical Switch Module for ITP LAN’s.
• When you work with these switches it is imperative that you know what you are doing. If you stuff up
you risk a LAN failure, which is bad stuff. Especially on the Plant bus where you run the risk of
tripping a unit.
ESM/OSM Removal:
• Shutdown all OMK’s, ES680’s, KPC’s etc connected to the OSM/ESM.
• Disconnect any standby uplink cables required to complete the bus ring. The standby partner will
automatically close the ring bus and provide an active path.
• Disconnect any LAN ports connected to the OMK’s etc that you shutdown.
• Ensure the bus is functioning correctly and there are no problems.
• Remove the redundancy managed cables from ports 7 and 8 (no turning back now!).
• If used, remove the link to the standby partner of the ESM/OSM you’re disconnecting.
• Pull the power plug. Don’t remove the wires.
• Remove the ESM/OSM from its mounting.
ESM/OSM Installation:
• Don’t connect any cables until the ESM/OSM has been configured.
• Set the DIP switches (2 off) next to the power connection.
• Set the standby DIP switch (only 1 of the pair will have this switch set).
• Set the redundancy management DIP switch ( Only 1 of the OSM/ESM’s in a redundant ring bus will
have this set).
• Connect the power (it will boot and error lights will probably be lit).
• Configure the OSM/ESM parameters etc.
• Connect redundancy LAN management backbone cables to ports 7 and 8.
79 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
• Connect the standby link cable (if used).
• Connect any standby uplink LAN cables.
• Connect any other LAN cables.
• Restart the OMK’s etc connected to the ESM/OSM. Stagger their start up in order to reduce bus
traffic.
80 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
AS 620
General:
Process Images:
• All Process Images (Process Image inputs (PAE) and Process Image outputs (PAA)) are all initially
built in the IM614 card.
• The AP’s then take them so they can build up their Process Image table for the OM650.
Simulation Information:
• Simulations reside on the actual FUM card.
• The Simulated signal’s Process Image is replaced by the transferred Simulation value, which is then
treated like a normal process value by the AP.
• If a problem exists that you remove a simulation and it doesn’t appear to be removed, try cycling the
power of the module. This will reload the current processing into the module.
AP Resources Allocation:
• So you don’t have to manage the S5 Resources (timers, flags, data blocks etc), the Code Generator
does this for you.
• When you run a Code Gen. on new logic, it auto allocates a portion of address space to each new
function block etc.
Execution Cycles:
• There are 9 Execution cycles:
o Z1 -> Z8
o G
• You can find the speed of each execution cycle via the ES680 table abtast.
81 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
• The times of each cycle increases from Z1 (0.1ms) to Z8 (12.8ms) then after they’ve all been solved
then the G (ground) cycle gets solved. The G cycle doesn’t have a defined time, but it does have a
maximum time to be solved.
• If G is not solved you will get a “Wake Up” fault. If you get numerous ones of these it generally
means that you have one of your cycles overloaded and you will need to re-packet your KKS.
• Analog signals cannot live in the G cycle.
• The YDH diagram has info regarding the cycle times. You need to middle click an AP and select CPU
References.
321:
• Digital Input module
322:
• Digital Output module
323:
• Digital In/Output module.
• Used for DCM blocks.
326:
• Digital In/Output module.
• Used for Fail Safe applications in Boiler Protection 315F.
331:
• Analogue Input module
332:
• Analogue Output module
315F:
• Fail Safe processor.
• Used for Boiler Protection.
82 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
IM153:
• Interface module.
• Used to connect ET200 to the L2 Bus connection from the AP’s (IM308 card in AP rack is Interface
Module for the L2 bus, therefore it’s LAN cable (usually Purple) goes out and is connected to the
IM153 card in the ET200 rack).
• If power to one of these is switched off, then it will cause a “BF” (Bus Fault) on the OLM’s and IM308
card.
IM308:
• AP rack interface module for IM153.
General Info:
• This process can be done with the AP online providing:
o You are careful,
o You know what you’re doing,
o There are REDUNDANT AP’s, and
o That the Redundancy Fail-over works on the AP rack.
• Make sure the IM308 is in STOP and POWERED OFF when ever you INSERT or REMOVE a Flash
card!!
83 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
Burn The New Flash Card:
• Start ComProfibus on the PG,
• Import the *.pbp file using ComProfibus:
o “File” => “Import” => “ASCII Data” => select correct drive => select the *.pbp file
o The imported file should be displayed showing the ET200 chain (review and make sure it’s
correct for the installation).
• Burn the card:
o Put the Flash card into the slot in the PG,
o Click the Head Station so it’s highlighted,
o Click the Flash Button (one with the lightening bolt on it),
o Memory card will be written to.
Final Touches:
• With the IM308 in STOP and Powered OFF, insert the new Flash Card.
• Turn the power ON and put the IM308 into RUN.
Problem/Solutions:
• No communication with the ET200 station:
o Incorrect station address (DIP switches) on IM153.
o Bus cable not ok.
o Wires (Red/Green) are switched or broken.
o End terminating resistor is not installed.
• IM308 showing “BF” (Bus Fault) or “IF” (Interface Fault):
o Incorrect station address (DIP switches) on IM153.
o Bus cable not ok.
o Wires (Red/Green) are switched or broken.
o End terminating resistor is not installed.
o IM153 has no power supply.
o ET200 not mounted as per Topology Diagram.
o ET200 module may have faulted.
• File import errors on the PG:
o PG config files (gsd, gse, master etc) are missing from the PG740.
o File not transferred properly from the ES680.
o Check end of each section for incomplete lines of 0x0. Need to correct with “Notepad” to
make them 0x0.
FUM B Hardware:
AP Rack Hardware:
Warnings:
• DO NOT mix up the “Cold Restart” and the “Overall Restart” as you may cause a whole lot of
problems!!
Initial Startup:
• Make sure that the “Run” switch on the CPU948 is in standby (switch DOWN).
84 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
• Make sure any other Interface or Communication Module cards (IM308, CP1430 etc) are in the “OFF”
position.
• Turn AP-A power supply on.
• Do a “Cold Reset” (see below) on the CPU948. The green “RUN” light should be hard on.
• Turn the Interface and Communication Modules into the “RUN” positions.
• Once AP-A is up and running, then repeat for AP-B.
• It is a possibility that you will have to re-install the MAC addresses in the CP1430 cards, especially if
it’s the first powerup of the AP rack.
Tools:
86 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
• Function 24:
o Determines the allocation between the AS numbers and As index.
• Function 32:
o Explanation of the AS620B status.
• Function 33:
o Explanation of the AS620B fault code.
• Function 44:
o Empties a pipe.
• Determining the AS620B status word:
o If you now want to find out what status fc000710 means you must add the following bit by bit:
fc000710 = 80000000 + 40000000 + 20000000 + 10000000 +
08000000 + 04000000 +
00000400 + 00000200 + 00000100 +
00000010
You are now able to read the statuses from the table.
o Normal status word for an AP is FC000710.
87 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
transmission of the Instance List has been initiated (AsrEsStartSyncList) or upon the receipt
of a new instance list (AsrEsSyncAsProj).
• INSTLIST_REC_OK 00000010:
o This Merker is set after the normal reception and treatment of an instance list
(AsrEsSyncAsProj). The Merker is deleted upon the transmission of the Instance List (of
AsrEsStartSyncList) or upon the receipt of a new Instance List (AsrEsSyncAsProj).
• DMZ_STARTED 00000100:
o This Merker is set at the start of a DMZ (data with time stamp) transmission (AsrEsStartAll).
• DMZ_CHECK 00000200:
o If this Merker is set, then the reception of the DMZ telegram is tested. Within the Watchdog
time for DMZ telegrams (project engineering date Eu_Zeit in file Asr.conf) at least 1 telegram
must be received. The Merker will test the reception of the telegrams of the function
(AsrEsCheckStatus ()) after the first time a set Merker for DMZ_STARTED or DMZ_OK was
recognized. The Merker is deleted if no telegram is received within the watchdog time
(AsrEsCheckStatus ()).
• DMZ_OK 00000400:
o The Merker is set at start of the DMZ transmission (AsrEsStartAll). The Merker is deleted if
no telegram is received within the watchdog time (AsrEsCheckStatus ()).
• DMZ_NOSEQ 00000800:
o This Merker is set if no DMZ telegram is received within the Watchdog (AsrEsCheckStatus
()). The Merker is deleted upon the start of the DMZ transmission (AsrEsStartAll).
• DMZ_NO_CHECK 00008000:
o This is an auxiliary flag for test purposes. If set, the testing of the DMZ telegrams is switched
off. The Merker is set by the function AsrEsDebug. If by the same function the transmission
of the DMZ telegrams at the AS620B are broken off (by operation of RDBG), the Merker is
deleted upon the start of the DMZ transmission (AsrEsStartAll).
• GA_STARTED 00010000:
o This Merker is set at the start of a GA (general query…I think) for the entire AS620B. It
corresponds with the start of the DMZ telegram transmission (AsrEsStartAll). The Merker will
be deleted at the start of a part AS620B set (AsrEsGAstart). The Merker is deleted after the
reception of the GA_END (AsrEsDmzBearbeiten).
• GA_RUNNING 00020000:
o This Merker is set after reception of GA_BEGINNING (AsrEsDmzBearbeiten). The Merker is
deleted after reception of GA_END (AsrEsDmzBearbeiten).
• GA_ENDED 00040000:
o Not Used.
• GA_ABORTED 00080000:
o Not Used.
• GA_STARTED_ALL00100000:
o This Merker is set at the start of a GA for the entire AS620B. It corresponds to the start of the
DMZ telegram transmission (AsrEsStartAll). The Merker is deleted after the reception of the
corresponding GA_END (AsrEsDmzBearbeiten).
• GA_REQUEST_ALL 01000000:
o If this Merker is set, a start of a GA is initiated for the entire AS620B. The Merker set
(AsrEsDmzBearbeiten) if for an AS620B more than MAX_GA_ANF is demanded
(GAAnforderungen) for a partial hierarchy to be present (???). The Merker can also be set
by the function AsrEsDebug after operation by RDBG. The Merker is deleted with the start of
a GA for the entire AS620B.
• NEG_QUITT_SS 02000000:
o This Merker is set (AstEsUpdateEndSS) after reception of a negative receipt of the condition-
server for an update order after GA_END or after reception of an Instance List during
operation. The Merker is also set (AsrEsInstCheckEnd) after reception of a negative receipt
of the condition-server for an update order after reception of a Parameter Change List during
normal operation. The Merker is deleted at the start of an Instance List telegram
(AsrEsStartSyncList) and before delivery of the update order after reception of a Parameter
Change List (AsrEsInstCheckEndSS).
• POS_QUITT_SS 04000000:
o This Merker is set (AstEsUpdateEndSS) after reception of a positive receipt of the condition-
server for an update order after GA-END or after reception of an Instance List during
operation. The Merker is also set (AsrEsInstCheckEnd) after reception of a positive receipt of
the condition-server for an update order after reception of a Parameter Change List during
operation. The Merker is deleted at the start of an Instance List telegram
(AsrEsStartSyncList) and before delivery of the update order after reception of a Parameter
Change List (AsrEsInstCheckEndSS).
88 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
• STATUS_OS_VERF 10000000:
o Indicator of the condition of the control connection from the ASU object. (1 corresponds to
vefuegbar).
• STATUS_SS_VERF20000000:
o Indicator of the condition of the control connection from the ASU object. (1 corresponds to
vefuegbar).
• STATUS_ES_VERF40000000:
o Indicator of the condition of the event connection from the ASU object. (1 corresponds to
vefuegbar).
• STATUS_AS_VERF80000000:
STATUS_SS_VERF STATUS_ES _VERF STATUS_AS _VERF
0 0 =0
0 1 =0
1 0 =0
1 1 =1
cleanas.sh:
• Syntax: cleanas –p <project name> -a <ap number>
• The reason you run cleanas.sh is to clean up an AP’s wasted resources, and also to clean up the
unused code created from a Gen and Tran.
• When you Gen new logic, the Online Handler auto allocates address space to each function block.
The Online Handler remembers the allocated address space, thus if you alter the function block, then
re Gen it, the same address space is used. BUT, if you delete a function block, the Online Handler
isn’t smart enough to free up the address space that was allocated to that deleted function block. As
far as its concerned, the address space is still in use. SO, if a lot of FUP Editor work is carried out, it
is possible to run out of address space (resources), and the only way to free up the unused resources
is to do a cleanas.
• After you run a cleanas.sh, you will have to do a complete offline Gen and Tran, as all the Step 5
code for the AP will have been destroyed.
• You are able to check the Resources Capacity for an AP via the Siemens start bar;
o Information -> Resource Settings
o This brings up a sub menu that lists all allocated resources.
o It is a good tool for diagnosing telegram overloading, AP – AP connection overloading etc.
pgmaster:
• This program is for direct interrogation of the AP software.
o Data, program and system blocks
o Cycle times, RAM info etc.
• This program is not very well documented at all, but I have picked up some useful tips on using it
from various sources. Examples can be found under the “OPERATION” heading of AS620.
• The biggest things to remember when using pgmaster is:
o Always DISCONNECT before exiting.
o This program is very powerful and should not be taken lightly.
• Syntax for running: pgmaster –p <project name>
89 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
AS 220
General:
MKS Subscription:
• MKS telegrams can only be subscribed to a max of 6 addresses.
• Need to ensure that MKS doesn’t get oversubscribed, and that they also go to both redundant
components.
• Station PU’s NAT Card Bus/TLN: 23 and 24
• Unit PU’s NAT Card Bus/TLN: 16 and 17
• You check the telegram subscriptions via Struk. Look in the EAS code and use the command
FB,MKS
Operation:
Hardware:
Tools:
Win-TM:
• Start Windows 3.1 on the PG750 (type win at command prompt)
• Start the Scan Software:
o Win-Tm -> Scan
• Open the configuration file for the correct unit you are working on. This directly loads all the
configured monitoring points automatically (there’s no ‘run’ button), so its not a very wise idea to load
the incorrect units config points as all info will be hauled across the Bus Couplers. :
90 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
o Coupling File -> Load -> Scan -> “select unit” -> agc_islt.cfa -> Ok!
• Start archiving the data:
o Save -> All Archives On -> Ok!
o This starts writing to a file *.arc which can then be copied to a 1 ¼” floppy disk.
• Stop archiving the data (once test is complete):
o Save -> All Archives Off -> Ok!
• If you need to change a config file from another unit so it can be used on the unit you are currently
working on, you just cant load the other units config file (as it will suck all data across the Bus
Couplers). You will need to do the following:
o Disconnect the bus from the PG 750
o Open the other units config file (agc_islt.cfa)
o Save the config file to a new location (for the unit you will be working on):
Coupling File -> Save As -> Scan -> “select unit” -> give file a name
(agc_islt.cfa) -> Ok!
o In the new file, edit the bus connections for each logic point
o Close File
o Reconnect bus to PG 750
o Open new file
BGVW:
• Only run this from the PG’s, not from the WS30. If you do run it from the WS30, you will need to go
and reset the EAS it connected to.
• Module alarm types:
o BGF – Module Fault (channel fault etc.)
o BGNA – Module not available
o BPS – CPU stopped
o BGT – Wrong Module type entered
91 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
HP UNIX
General:
Core Files:
• Switch user to root and use the unix command:
o find / -name core
• These are large files and need to be deleted if no problem exists.
• They’re generated whenever the HP machine turns off incorrectly (duh!!)
Programs:
FTP:
• If you want to FTP to another machine via its alias (i.e. s1spa) there must be the necessary entry in
the /etc/hosts file.
• To open the FTP connection:
o ftp <remote machine IP or alias>
o enter username and password.
• To end the FTP connection:
o ftp> bye
• To get a file from a remote machine:
92 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
o ftp> get <remote machines absolute file path> <host machines absolute file path>
• To put a file on a remote machine:
o ftp> put <host machines absolute file path> <remote machines absolute file path>
lp:
• lp –o fp15 –o vsi5 –o tl66 <file name>
o –o means option. The options are set according to the print server associated with your
system. But generally these will work across most system configurations.
o fp# sets the printed text width. Smaller the number, larger the text width.
o vsi# sets the printed text hight. Smaller the number, larger the text hight.
o tl# sets the max number of printed lines on a sheet. I usually don’t use this option as it may
hinder the amount printed on the page, especially if you’ve reduced the font size.
• As you can see you need to adjust both fp an vsi at the same, otherwise the printed text turns out like
crap.
cut:
o buspart=`echo $awe | cut “-d.” –f2`
o –d. sets the delimiter as “.”
o –f2 means cut and return the second field
o $awe=mlab.104, $buspart=104
Database sql:
o sql > $Temp ${INGRES_SERVER}anet$ANL_NR <<!
Select <*,distinct>
From <table name>
Where <criteria>
\g\q
!
grep “^|” $Temp > $Output_File
o You need the databases host (INGRES_SERVER) in braces otherwise Ingres doesn’t like it.
awk:
o cat <file path> | awk ‘ { print $1, $2, $3 }’
o $1, $2 etc are fields separated by white space
sed:
o sed s’/<variable1>/<variable2>/’
o Use \ as the null character (e.g. you cant go: sed s’//<variable1>/’ you will need: sed
s’/\//<variable1>/’
tr:
o buspart=`echo $awe | tr ‘[a-z]’ ‘[A-Z]’`
o $awe=mlab.104, $buspart=MLAB.104
Variables:
o $# - This gives you the number of variables passed to the script you are running.
o $0 – Outputs the absolute path name for the script you are running.
o $1, $2, $3…$n – Outputs the 1st, 2nd, 3rd etc variable passed to the script you are running.
o $@ - Outputs all variables passed to the script you are running.
o $? – Gives you the exit value of the last run command by the script.
o $$ - Gives you the PID of the shell you are running the script in (good for creating temp files)
o $! – Gives you the PID of the last run background process (good for keeping track of
processes as they are executed.
Special Characters:
o \ - This is used to nullify special characters so they are not interpreted by the shell ($, `, “, \, *
etc). Example: To Output he said “hello man” to me You would need to use the command
echo “he said \”hello man\” to me”
93 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
o ` - Means that the enclosed text is to be executed as a command. Example: buspart=`echo
$awe | cut “-d.” –f2`
o > - Redirect and overwrite the output to a file.
o >> - Redirect and append the output to a file.
o < - Take the command input from a file.
tar:
• tar cvf <new file name> <file to be tar’d>
• Tar is not a compression utility. All it does is takes a bunch of files and makes them into one happy
file.
Compress:
• Compress <file name>
• The new file will end in *.Z
Cron:
• The binary that runs is: /etc/cron
• Cron is also called the clock daemon.
• The start up boot script; /etc/rc2 is what is responsible for starting the cron when it boots into Multi
User mode. rc2 boots the machine into init2 state, which is Multi User mode.
• /usr/lib/cron/queuedefs is the scheduling information for the cron queue’s (i.e. how it handles
multiple jobs, assigns priority etc). An example of this file is: b.2j2n90w and a.4j1n.
1. a, b and C (at, batch and cron) are the queue types.
2. j (jobs) is the number of jobs that can run at the same time.
3. n (nice) sets the priority.
4. w (wait) is the wait time in seconds that a job will need to wait if it wants to start when #j jobs
are already running.
• /usr/spool/cron/crontabs/… is the directory where all scripts that are run by cron live. When you do
the command: crontab <file name> , that file is imported into this directory so cron can run its
contents.
• Cron’s default behaviour is controlled by file: /etc/default/cron.
1. You enable logging of cron via this file by setting CRONLOG=YES.
2. There are also other parameters that can be changed and are mentioned in the cron man
pages.
• Cron’s log file path is: /usr/lib/cron/log. It details all jobs and commands run by cron. This file is
only active if CRONLOG=YES has been set in the /etc/default/cron file.
• /usr/lib/cron/olog is the overflow log file for /usr/lib/cron/log.
• /usr/lib/logchecker is a script that monitors the size of the cron’s log file. If it exceeds a specified
size (as set by MAXLOGSIZE), it is sent to the overflow log file (…/olog).
1. The MAXLOGSIZE paramater is in block size (512Bytes). Default is 2048 blocks, which is
1MB. With log and olog, the max default HDD space taken up is 2MB.
• You can start, stop and list cron jobs using the command: crontab
1. crontab <import file name> (e.g. crontab txp.cron)
• This starts the cron.
• This places the import file into the crontab directory so cron can run the scripts.
2. crontab –l
• This lists all cron jobs for a user.
3. crontab –r
• This stops the cron job for a user.
• If you want to change the import file (e.g. txp.cron) you will need to:
4. Edit the import file
5. Stop the cron (crontab –r)
6. Start the cron (crontab txp.cron)
History recall:
• In order to use command line vi editing (also known as history recall), you must change to the ksh.
The csh doesn’t support this.
• To change to the ksh and start command line vi editing:
94 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
o exec ksh –o vi
• To enable command line vi editing when ksh is running:
o set –o vi
• The keys are:
o esc:
Puts you into vi editing mode.
Need to press this before you can use any of the history recall functions.
o j and k:
Recall the last used commands.
o h:
Move left along the recalled command.
o l:
Move right along the recalled command.
o i, a, r:
Insert, append line and replace character commands respectively.
Just like normal vi editing.
VI Editor:
• Commands are:
o :wq : Write & quit
o :q! : Quit without saving
o :<#> or <#>G : Goto #’th line (e.g. :0 or 0G takes you to the 1st line)
o :$ or G : Goto last line
o ^f : Forward 1 screen
o ^b : Backward 1 screen
o ^r or ^l : Re-draw screen
o i : Insert text
o o : Open new line and add text
o r : Replace single character
o dd : Delete line
o #dd : Delete # lines
o yy : Yank (copy) line
o #yy : Yank (copy) # lines
o p : Paste yanked lines
o /<string> : Forward <string> search
o ?<string> : Backward <string> search
o n : Goto next occurrence of <string>
o ^g : Gives line # and total # of lines
Files:
95 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
• If you want this file to be used as a DNS for all other devices in the system, all you need to put in the
hosts file is the devices IP and alias. You do dot need any of the other information (i.e. web
addresses etc).
96 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
SCO UNIX
General:
Core Files:
• Switch user to root and use the unix command:
o find / -name core
• These are large files and need to be deleted if no problem exists.
• They’re generated whenever the SCO machine turns off incorrectly (duh!!)
NOTICE: Sdsk: Unrecoverable error writing SCSI disk 0 dev 44/0 (ha=0 bus=0
id=4 lun=0) block=0. Write error: Media is write protected:
• Initially I thought that we had blown another SCSI HDD. But was wrong.
• I found this problem is caused by trying to initialise or activate a MOD with its write protect on.
• That’s why the fault was only found on the SU’s or SUPU’s.
97 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
Programs:
FTP:
• If you want to FTP to another machine via its alias (i.e. s1spa) there must be the necessary entry in
the /etc/hosts file.
• To open the FTP connection:
o ftp <remote machine IP or alias>
o enter username and password.
• To end the FTP connection:
o ftp> bye
• To get a file from a remote machine:
o ftp> get <remote machines absolute file path> <host machines absolute file path>
• To put a file on a remote machine:
o ftp> put <host machines absolute file path> <remote machines absolute file path>
script:
• This program automatically tee’s all screen text to a file.
• Syntax is:
o Script –a <file name>
• Options are:
o –a: append data to the file. If this is not set, the file will be overwritten each time something
is output to the screen.
o <file name>: this can be either the absolute path name of the file, or is just a relative file
name is entered, the file is just put into the directory you are in.
• The program is stopped by typing: exit
• This program is good for logging everything you are doing, as it places the command you typed, as
well as its output.
• One thing to remember with this program is that even backspaces etc are displayed as characters in
the file. So you may need to tidy up the file.
tar:
• tar cvf <new file name> <file to be tar’d>
• Tar is not a compression utility. All it does is takes a bunch of files and makes them into one happy
file.
Compress:
• Compress <file name>
• The new file will end in *.Z
badtrk:
• /etc/badtrk –v
o This gives an interactive menu in which you can select what you want the program to do.
• This program scans the HDD for bad tracks or blocks.
• It reports any errors into a table.
• WARNING:
o You must be in Single User Mode (init 1)
o Don’t select destructive scan by mistake
• See also: badblk
fsck:
• fsck –n –ofull
o –n - indicated “no” to all options, hence read only
o –ofull - is a full scan of the file system
• This program scans the file system for any errors.
98 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
History recall:
• In order to use command line vi editing (also known as history recall), you must change to the ksh.
The csh doesn’t support this.
• To change to the ksh and start command line vi editing:
o exec ksh –o vi
• To enable command line vi editing when ksh is running:
o set –o vi
• The keys are:
o esc:
Puts you into vi editing mode.
Need to press this before you can use any of the history recall functions.
o j and k:
Recall the last used commands.
o h:
Move left along the recalled command.
o l:
Move right along the recalled command.
o i, a, r:
Insert, append line and replace character commands respectively.
Just like normal vi editing.
99 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
Sort Files And Directories By Size:
• Sort files only by size in descending order:
o ls –al |grep ^- |sort –nr –k 5 |more
• Sort files only by size in ascending order:
o ls –al |grep ^- |sort –n –k 5 |more
• Sort files and directories by size in descending order:
o ls –al |sort –nr –k 5 |more
• Sort files and directories by size in ascending order:
o ls –al |sort –n –k 5 |more
• You must include the –k 5 as it is the field identifier to which the sort is done. If you change it it wont
work.
Files:
PPAI:
100 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
PPAI Status Feedback To OM650:
• TXP Manual:
o OM650 Process Information, CH.14 Data Exchange With External Systems
• Link is via a Terminal Bus connection to the PPAI (OM650 Alarms to PPAI is via RS232 from OT’s).
• Feedback data from PPAI to OM650 is via the MAC Object Manager on all Unit PUSU’s and Station
p2# PU’s.
• FTP’d data from the PPAI is sent to the following files:
o /txp/om650/txpproz/trans/PPAI.DAT
o /txp/om650/txpproz/trans/PPAI.ON (Only if redundant PU’s are running)
• PPAI.DAT file format:
o Line 1 – file name
o Line 2 – “B” for binary values
o Line 3 – date and time (W = winter time)
o Line 4 – number of values in file
o Line 5+ - quality code, value
o Last Line – “R” indicates end of file and data is consistent
• The PPAI.DAT file is written to the OM650 system by the PPAI. The file is linked to the BW_K_EIN
block on the relevant YOR Plan (# PPA00 EK002) and is processed every 1 sec, as set by the
relevant YOM Plan (# PPA00 EK001).
• You can configure the receive file (PPAI.DAT) in the BW_K_EIN block as either “Delete Mode” or
“Overwrite Mode”. These are:
o Delete Mode:
“R” is attached to the end of the receive file to indicate that the file’s data is
consistent.
BW_K_EIN block looks if the file is consistent (“R” is present) and if it is it reads the
data from the file then deletes it. If the file is not consistent, it reads it once more,
and then if the file is still inconsistent processing is halted.
The external system (PPAI) checks to see if the file exists. If it does, no action is
taken. If not, the file is written to the OM650.
o Overwrite Mode:
“R” is attached to the end of the receive file to indicate that the file’s data is
consistent.
BW_K_EIN block looks if the file is consistent (“R” is present) and if it is it reads the
data from the file (and doesn’t delete it). If the file is inconsistent, an alarm is initiated
(PPAI DATA ACQUISITION Data Inconsistent).
The external system (PPAI) just writes the file over to the OM650, hence continually
overwriting the PPAI.DAT file.
101 of 102
Glenn Neill Siemens TXP/TME DCS Notes Created: 10.04.2003
Ramblings From A Lost Aussie Last Update: 06.09.2008
Topology:
• Topology Diagram:
Terminal Bus
TB IP: 10.14.58.1
FTP Server LAN IP: 10.12.127.30
(Windows Box)
FTP Client
(Windows Box)
Business LAN
Operation:
• The cron (usr/txpom/txp.cron) controls when files are transferred to the FTP Server, which is every
15min.
• More accurately, cron runs our log.sh (and wo.sh scripts (which are the only means in which data is
transferred to the Buisness LAN).
• A Visual Basic (VB) program (written by Shane Rowe at SCL) polls the FTP Server, across the
firewall, from the FTP Client every 5 min.
• The VB program deletes the files off the FTP server when they are transferred over to the FTP Client.
• FTP’d file are found on the business LAN via path:
o P:\MEETINGS\ICMS Data\………..
• You can check the integrity of the TXP to Business LAN link by using the ping command.
• Just a warning, you can’t ping the opposing side of the Firewall from which you are calling the
command from (e.g. If I were at my P.C. connected to the Business LAN, I could not ping the TXP
side of the Firewall (10.12.0.6). And visa versa if I were connected to the TXP side of the Firewall
(e.g. at the FTP server).
102 of 102