Top Banner
' < ! Ml p. SI y V-V V (*.< f-' ISH < Cv-'.' > I " WS I Bf , 1 ^ * ** OAK RBDGE NATIONAL LABORATORY operated by UNION CARBIDE CORPORATION for the U.S. ATOMIC ENERGY COMMISSION ORNL - TM- 3679, Vol. 2 DATE - February 18, 1972 fi^y 7 c REACTOR ON-LINE.COMPUTER CONTROL DEVELOPMENT AT THE HFIR, ; •7 VOL. 2: PROGRAM LISTINGS, SUMMARIES, AND LOGIC DIAGRAMS •^v" M * m i * «'4«. w ' t *J » v/ ' t J. B. Bullock G . R. Owens W. H. Sides. Jr. Vv -- « ABSTRACT, - 'I m^v^v^/-,, . - -- . - • ' computer'programs written for the Development of Reactor Computer Control, §®dnd^Syfyeillance are presented In three levels of detail. The programs are described ,in ' Gp^lsMiftmdry'form, in logic diagram form, .and finally the detailed'-c&sembly language listing 1 'M&M^J,'h A : " . * »* ... . « . ' ... '«!'.. J IJV ' ' • ' r^Mf-is>ipfiBsehto-* a long with the hexadecimal .machine instructions. / W ' ^ h • • ' * l s - , ' - ; 1 , r-'^ V 'I : . >' » |l I" J .1 - /• , - ,, , I i*,i a 1 k iSSfciPM ^ • •if y '(ty 1 ri » -.i * ^ B , t L . * li O ' 'M . \ I it 0 NOTICE -This,'document contains information' a- preliminary, nature Mn/J ^ n.^Mr./) Mimflvilu 1 .^! ' tHl.PHMki.M 1 iLm fLL Dr'J 'J. kl -11' 1 I I> if, - , i •" WAT f,rSsJr^i
424

WSIBf , 1 - International Nuclear Information System (INIS)

Jan 17, 2023

Download

Documents

Khang Minh
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: WSIBf , 1 - International Nuclear Information System (INIS)

' < ! Ml

p. SI y V-V

V

(*.< f-' I S H <

• Cv-'.' > I "

WSIBf , 1 ^

* **

OAK RBDGE NATIONAL LABORATORY operated by

U N I O N CARBIDE CORPORATION for the

U.S. ATOMIC ENERGY COMMISSION

ORNL - TM- 3679, Vol. 2

D A T E - February 18, 1972

fi^y 7 c REACTOR ON-LINE.COMPUTER CONTROL DEVELOPMENT AT THE HFIR, ; •7 VOL. 2: PROGRAM LISTINGS, SUMMARIES, AND LOGIC DIAGRAMS

•v" M * m

i * «'4«. w ' t *J »

v/

' t

J. B. Bullock G . R. Owens W. H. Sides. Jr.

Vv

-- « ABSTRACT, - 'I m^v^v^/-,, . - -- . - • '

computer'programs written for the Development of Reactor Computer Control, §®dnd^Syfyeillance are presented In three levels of detail. The programs are described ,in ' Gp lsMiftmdry'form, in logic diagram form, .and finally the detailed'-c&sembly language listing 1 'M&M^J, 'h A : " . * »* ... .« . ' ... '«!'.. JIJV ' ' • ' r Mf-is>ipfiBsehto-* a long with the hexadecimal .machine instructions. /

W ' h • • ' * l s - , ' - ; 1 , r-' V 'I : . >' » |l I" J .1

- /• , - , , ,

I i*,i a 1 k

iSSfciPM ^ •

•if y '(ty1 ri » -.i * ^ B , t L . *

li O ' 'M . \ I

it

0

N O T I C E - T h i s , ' d o c u m e n t contains information' a- preliminary, nature Mn/J ^ n.^Mr./) Mimflvilu1.^! ' tHl.PHMki.M1 iLm fLL Dr'J ' J. kl -11' 1 I

I >

if, - , i •"

WAT f,rSsJr i

Page 2: WSIBf , 1 - International Nuclear Information System (INIS)

BLANK PAGE

Page 3: WSIBf , 1 - International Nuclear Information System (INIS)

CONTENTS

1. Introduction

2. Program Summaries, Logic Diagrams, and Listings

2.1 ANNBLK

2.2

2.3

2.4

2.5

2.6

2.7

2 . 8

2.9

2 .10

2.11 2.12

2.13

2.14

2.15

2.16

2.17

2.18

2.19

2.20

2.21

2.22

2.23

2.24

2.25

2.26

ANNUNC

ASMFIX

AVGDAT

BULKRY

BULPLT

CALLSC

COMSTO

CONTRL

DACDRI

DATPLT

DECLCM

DIFPLT

DIGCLK

DIGCON

DMPCOM

DR

DRC

DRI72

DRKILL

DRMCOM

DRMXFR

DUMBUL

DWNTIM

EDFILE

EDIT

P a g e

1 7

9

18

26

29

33

62

65

69

72

85

89

92

97

101

104

109

113

117

134

140

142

146

150

158

163

176

DISTRIBUTION OF THiS DOCUMENT !S UNLIMITED A

p N

OT

ICE

-Th

is

repo

rt w

as

prep

ared

as

an

acco

unt

of

wor

k sp

onso

red

by t

he U

nite

d St

ates

Gov

ernm

ent.

Nei

ther

th

e U

nite

d St

ates

nor

the

Uni

ted

Stat

es A

tom

ic E

nerg

y Co

mm

issio

n, n

or a

ny o

f th

eir

empl

oyee

s, no

r an

y of

th

eir

cont

ract

ors,

subc

ontra

ctor

s, or

the

ir em

ploy

ees,

mak

es a

ny w

arra

nty,

exp

ress

or i

mpl

ied,

or a

ssum

es a

ny

legal

liab

ility

or

resp

onsib

ility

for

the

acc

urac

y, c

om-

plet

enes

s or

use

fuln

ess

of a

ny i

nfor

mat

ion,

app

arat

us,

prod

uct

or p

roce

ss d

isclo

sed,

or r

epre

sent

s th

at it

s us

e w

ould

not

infri

nge

priv

atel

y ow

ned

right

s.

Page 4: WSIBf , 1 - International Nuclear Information System (INIS)

BLANK PAGE

Page 5: WSIBf , 1 - International Nuclear Information System (INIS)

iv

Page 2.27 FLUME 199

2.28 FRYKIL 208

2.29 FRYLIN 212

2.30 FTNFIX 217

2.31 FUN4 220

2.32 FXCHRS 224

2.33 GADAT 229

2.34 GE OF 232

2.35 GETDAT 237

2.36 GIDUP 241

2.37 KILL 245

2.38 LOCORE 248

2.39 MUXBUF 265

2.40 PATCH 272

2.41 PERMIT 283

2.42 PICMID 287

2.43 PLOT 293

2.44 PLTCAL 298

2.45 PLTCOM 301

2.46 POWCAL 314

2.47 PROJCT 318

2.48 PSDIO 326

2.49 PSYCHO 340

2.50 REDBLK 350

2.51 RHOCAL 354

2.52 RHOROD 358

2.53 ROD JOG 366

2.54 SC 379

2.55 SCNFLO 383

Page 6: WSIBf , 1 - International Nuclear Information System (INIS)

V

Page 2.56 SETOD 390

2.57 STATGO 394

2.58 STLCHK 402

2.59 STL SET 405

2.60 SWENTR 408

2.61 UPDWN 411

Page 7: WSIBf , 1 - International Nuclear Information System (INIS)

1. INTRODUCTION

The computes programs for the ORNL reactor computer control development program were partially described in earlier reports J During further operation with the on-line computer at the High Flux Isotope Reactor (HFIR), these programs were modified and additional programs were prepared and tested. All software developed for the HFIR Computer System is contained herein for record purposes, as well as to serve system operators. This material is as complete and exact as the authors were able to mcko it.

Each computer program is described to characterize the significant function and nature of the algorithm. Important relationships to other programs are noted for the potential user interested in making modifications or adapting new versions for other systems. An additional level of detail is contained in a logic-block diagram for each program. The diagram shows the flow of decision-making and the major parameters involved. The block symbols used in the diagrams are defined in Fig. 1.

The most explicit information about an algorithm is given in the program listing. In most cases the listing contains a word description of the function that each group of instructions is designed to perform. This method is the best and most efficient way for the designer to document the intent of the algorithm. When sufficient comments are given, it is possible for the reviewer to analyze the detailed design by simply having the assembled or compiled program listing and the instruction repertoire. This is a feature unique to programmable digital computers and is equivalent to an "as wired" diagram of a conventional control system. The "as wired" is emphasized because, in contrast to the "as designed" wiring diagram, the possibility of installation errors is eliminated.

6 The HFIR computer executive monitor system has been reported, and the only

vendor program included in this report is LOCORE. This program contains the VALU table, the interrupt trap region, and many of the constants referenced by the on-line programs.

Except for a few Fortran programs (which are given in source form for simplicity), the programs are written in CDC-1700 assembly language, using the instruction repertoire shown in Table 1. Each program listing shown is the assembly listing as generated by the computer. A typical line of assembly listing is as follows:

026. P0009 E819 LDQ QSAVE RESTORE SAVED Q VALUE.

The first field shows the source line number. The field beginning with the letter " P" is the program address counter for the computer word that contains the number shown in the next column. In the example shown above, the source line number is 26 (base 10), the P-counter is $9, ond the computer word that will be generated by the assembler and

i

Page 8: WSIBf , 1 - International Nuclear Information System (INIS)

BLANK PAGE

Page 9: WSIBf , 1 - International Nuclear Information System (INIS)

2

SYMBOL MEANING V o CD

tU ) Q O

Origin location or program. Priority level is written inside

^ Logic condition test. Unless noted other-J E S T w i s e , the flow is not diverted when the

condition tested is true

Branch to another program and return by a subroutine call or return jump

At entry: program name At exit: destination program

Timer call: to run requested program after the elapsed time

Schedule the named program for execution at the indicated priority. Directory pro-grams are shown in brackets

Entry point indicator for subroutines

Internal branch points used for diagram-ming simplicity

Fig. 1. Logic Block Diagram Symbols.

Page 10: WSIBf , 1 - International Nuclear Information System (INIS)

3

Table 1. Instruction Repertoire (Cont.)

Type Function

Transfers

Mnemonic Code

LDA STA LDQ STQ SPA ENA ENQ TRA TRQ

Instruction Description

Load A (Storage Reference) Store A (Storage Reference) Load Q (Storage Reference) Store Q (Storage Reference) Store A, Parity to A (Storage Reference) Enter A Enter Q Transfer A Transfer Q

Arithmetic ADD Add A (Storage Reference) SUB Subtract (Storage Reference) ADQ Add Q (Storage Reference) RAO Replace Add One in Storage (Storage

Reference) MUI Multiply Integer (Storage Reference) DV! Divide Integer (Storage Reference) INA Increase A INQ Increase Q SET Set to Ones AAQ Transfer Arithmetic Sum A, Q

AND AND with A (Storage Reference) EOR Exclusive OR with A (Storage Reference) CLR Clear to Zero TCA Transfer Complement A TCQ Transfer Complement Q EAQ Transfer Exclusive OR of A , Q LAQ Transfer Logical Product A , Q CAQ Transfer Complement Logical Product A , Q

w'

Page 11: WSIBf , 1 - International Nuclear Information System (INIS)

4

Table 1. Instruction Repertoire (Cont.)

Type Mnemonic Function Code Instruction Description

Jumps & Stops JMP Jump (Storage Reference) RTJ Return Jump (Storage Reference) SLS Selective Stop NOP No Operation

Decisions SAZ Skip if A = +0 SAN Skip if A ? +0 SAP Skip if A = + SAM Skip if A = -SQZ Skip if Q = +0 SQN Skip if Q ^ +0 SQP Skip if Q = + SOM Skip if Q = -SOU Skip on overflow SNO Skip on no overflow S H Skip on Storage Parity Error SNP Skip on no Storage Parity Error SFF Skip on Program Protect Fault

/ SNP Skip on no Program Protect Fault

Shifts ARS A Right Shift QRS Q Right Shift ALS A Left Shift QLS Q Left Shift IR5, Long Right Shift LLS Long Left Shift

Input/Output INP Input to A OUT Output from A

Interrupt EIH Enable Interrupt \ m Inhibit Interrupt m Exit Interrupt State

Page 12: WSIBf , 1 - International Nuclear Information System (INIS)

5

Table 1. Instruction Repertoire (Cont.)

Type Mnemonic Function Code Instruction Description

Program SPB Set Program Protect Protect CPB Clear Program Protect

Note: Unless otherwise noted, all the above are register reference type instructions.

Page 13: WSIBf , 1 - International Nuclear Information System (INIS)

6

stored in location $9 is $E819. The remaining fields are the original source language instructions as written by the programmer, followed by the comment field.

The CDC-1700 System uses base 16 for numerical representation of the 16-bit Computer words and addresses. The dollar symbol ($) is used to indicate all hexadecimal (base 16) numbers. The base 16 symbols are shown in Table 2 with the equivalent base 10 and binary values.

In this volume the computer programs are described in summary form and logic diagram form and by presenting the complete listing which contains the hexadecimal machine instructions. The reader is referred to volume 1 for information on system design, objectives, safety consideration, and operating experience.

The authors with to gratefully acknowledge the assistance and contributions of Messrs. H. P. Danfarth and C. E. Murphy.

Table 2. Hexadecimal Symbols and Equivalents

Base 16 Base 10 Base 2

0 0 0 $1 1 1 $2 2 10 $3 3 11 $4 4 100 $5 5 101 $6 6 110 $7 7 111 $8 8 1000 $9 9 1001 $A 10 1010 $B 11 1011 $C 12 1100 $D 13 1101 $E 14 1110 $F 15 1111 $10 16 10000

Page 14: WSIBf , 1 - International Nuclear Information System (INIS)

2. PROGRAM SUMMARIES, LOGIC DIAGRAMS, AND LISTINGS

7

Page 15: WSIBf , 1 - International Nuclear Information System (INIS)

9

2.1 ANNBLK

2.1.1 Class if ication

On-line/drum resident/assembly language/nonreentrant/relocatable

2.1.2 Purpose

ANNBLK is primarily a drum-resident message block for program ANNUNC. It serves an additional purpose of testing to determine if two or more safety trips of the same type have occurred. If this is the case, ANNBLK schedules a program GEOF to save the 1-sec data on drum $C and punch the data block in a CHRIS compatible binary tape.

2.1.3 Description

Upon entry, ANNBLK calculates the absolute address for which the program has been allocated and retains the address for use by the program ANNUNC. The program tests the busy flag for GEOF, and, if not on, a test is made for two of three safety trips. If the condition is not detected, the program returns to location AFT in ANNUNC. Otherwise, the BZ2 flag is set in program ANNUNC, and an 8-min timer call is made for program GEOF at priority level 6. Return is then to AFT in program ANNUNC. A secondary entry in program ANNBLK is used to release the area allocated to the program. This entry is used by ANNUNC. The logic block diagram for ANNBLK is shown in Fig. 2.

2.1.4 Change Considerations

ANNBLK has the message blocks arranged to correspond to the digital-input wiring arrangement.

Page 16: WSIBf , 1 - International Nuclear Information System (INIS)

BLANK PAGE

Page 17: WSIBf , 1 - International Nuclear Information System (INIS)

10

ORNL DWG NO. 72-816

A N N U N C A N N U N C

Fig. 2. Logic Block Diagram of Program ANNBLK.

Page 18: WSIBf , 1 - International Nuclear Information System (INIS)

11

001 . 002. 0 0 3 . 0 0 4 . 0 0 5 . 006. 0 0 7 . 008. 0 0 9 . 010. 01 1 . 012. 012 . 012 . 012. 0 1 3 . 01 4 .

0 1 5 . 016. 0 1 7 .

018. 0 1 9 .

020. 021 .

022. 0 2 3 .

POOOO P 0 0 0 1 P 0 0 0 2 P 0 0 0 3

P 0 0 0 4 P 0 0 0 5 P 0 0 0 6

P 0 0 0 7 P 0 0 0 8 P 0 0 0 9 POOOA POOOB POOOC POOOD

POOOE POOOF P 0 0 1 0 P 0 0 1 1 P 0 0 1 2 P 0 0 1 3 P 0 0 1 4 P 0 0 1 5 P 0 0 1 6 POO 17 POO 13 POO 19 POO J A POO I B P 0 0 1 C P O O i D POO IE P 0 0 1 F P 0 0 2 0 P002.1 P0022 P 0 0 2 3 P 0 0 2 4 P 0 0 2 5 P0026 P 0 0 2 7 P 0 0 2 8 P 0 0 2 9 P 0 0 2 A P 0 0 2 B P002C P 0 0 2 D P 0 0 2 E P002F

C 8 F E 0 9 0 7 6 4 0 0 X 7 F F F X

0 9 0 7 1800 0 1 2 7

5 4 F 4 1 9 0 0 F F F 7 OAOO 6 4 0 0 0 0 0 3 14EA

NAM ANNBLK 4 / 4 / 7 1 EXT G E 0 F DRUM SWAP A PUNCH PR0GRAM EXT B L K I N I N ANNUNC. EXT N U M S K 1 , N U M S K 2 , A F T EXT B Z 2 I N A N N U N C .

X NUM $ C 8 F E I N A R E L - X STA B L K I N SET UP A D R . F0R MSG & R E L . F0R

* USE I N A N N U N C . I N A A N N B L K - R E L GETS A3S A D R . 0 F ANNBLK JMP Z U

R E L RELEAS < X - R E L - ! > , 0 , X

X X

4 1 4 E 4 E 5 5 4 E 4 3 2 E 2 0 2020 2020 2020 2020 0000 3 2 2 F 3 3 2 0 5 3 4 5 5 2 5 6 3 0 2 0 4 5 5 2 2020 2020 0000 3 1 2 E 3 1 2 0 5 0 4 3 4 9 2 F 4 6 4 C 4 F 2 0 2020 2020 OOCO 49 4E 2 0 5 4 4 5 4 D 5 0 2 0 2 0 2 3 3 1 2 0 2020

ENA 0 STA B L K I N R E S E T B L K I N

J M P - ( S E A ) * ANNBLK MUST F0LL.0W REL REQUEST ANNBLK ALF 8 , A N N U N C .

NUM 0 ALF 8 , 2 / 3 SERVO ER

NUM 0 ALF 8 , 1 . 1 P H I / F L 0

NUM 0 ALF 8 , I N TEMP #1

Page 19: WSIBf , 1 - International Nuclear Information System (INIS)

12

P0030 2020 0 2 4 . POO31 0 0 0 0 NUM 0 0 2 5 . P 0 0 3 2 4 9 4 E ALF 8 , 1 N TEMP # 2

P 0 0 3 3 2 0 5 4 P 0 0 3 4 4 5 4 D P 0 0 3 5 5 0 2 0 P 0 0 3 6 2 0 2 3 P 0 0 3 7 3 2 2 0 P 0 0 3 8 2 0 2 0 P 0 0 3 9 2 0 2 0

0 2 6 . P 0 0 3 A 0 0 0 0 NUM 0 0 2 7 . P 0 0 3 B 4 9 4 E ALF 8 , 1 N TEMP # 3

P 0 0 3 C 2 0 5 4 P 0 0 3 D 4 5 4 D P 0 C 3 E 5 0 2 0 P 0 0 3 F 2 0 2 3 POO40 3 3 2 0 P 0 0 4 1 2 0 2 0 POO42 2 0 2 0

0 2 3 . POO43 0 0 0 0 • NUM 0 0 2 9 . P 0 0 4 4 3 1 2 E ALF 8 , 1 . 1 NF # 1

P 0 0 4 5 3 1 2 0 POO46 4 E 4 6 POO47 2 0 2 0 POO48 2 0 2 3 POO49 3 1 2 0 P 0 0 4 A 2 0 2 0 P 0 0 4 B 2 0 2 0

0 3 0 . P 0 0 4 C 0 0 0 0 NUM 0 0 3 1 . P 0 0 4 D 3 1 2 E A L F 8 , 1 . 1 NF # 2

P 0 0 4 E 3 1 2 0 P 0 0 4 F 4 E 4 6 POO50 2 0 2 0 POO 51 2 0 2 3 POO52 3 2 2 0 POO53 2 0 2 0 P 0 0 5 4 2 0 2 0

0 3 2 . POO55 0 0 0 0 NUM 0 0 3 3 . P 0 0 5 6 3 1 2 E ALF 8 , 1 . 1 NF # 3

POO57 3 1 2 0 POO58 4 E 4 6 POO59 2 0 2 0 P 0 0 5 A 2 0 2 3 P 0 0 5 B 3 3 2 0 P 0 0 5 C 2 0 2 0 P 0 0 5D 2 0 2 0

0 3 4 . P 0 0 5 E 0 0 0 0 NUM 0 0 3 5 . P 0 0 5 F 4C4F A L F 8 , L 0 PRESS # 1

POO60 2 0 5 0 P 0 0 6 1 5 2 4 5 POO62 5 3 5 3 POO63 2 0 2 3 P 0 0 6 4 3 1 2 0 P 0 0 6 5 2 0 2 0 P 0 0 6 6 2 0 2 0

0 3 6 . P 0 0 6 7 0 0 0 0 NUM 0 0 3 7 . P 0 0 6 8 4 C 4 F ALF 8 , L 0 PRESS # 2

P 0 0 6 9 2 0 5 0

Page 20: WSIBf , 1 - International Nuclear Information System (INIS)

13

P006A 5245 P006B 5353 P006C 2023 P006D 3 2 2 0 P006E 2 0 2 0 P006F 2 0 2 0

0 3 8 . P0070 0 0 0 0 0 3 9 . P0071 4C4F

POO72 2 0 5 0 P0073 5245 P0074 5353 P0075 2 0 2 3 P0076 3 3 2 0 P0077 2 0 2 0 P0078 2 0 2 0

0 4 0 . P0079 0 0 0 0 0 4 1 . P007A 4646

P007B 4544 P007C 2 0 2 0 P007D 2 0 2 0 P007E 2023 P007F 3120 P0080 2 0 2 0 POO81 2020

0 4 2 . POO82 0 0 0 0 0 4 3 . P0083 4646

P0084 4544 POO85 2 0 2 0 P0086 2020 POO87 2023 POO88 3220 POO89 2 0 2 0 P008A 2020

0 4 4 . P008B 0000 0 4 5 . P008C 4646

P008D 4544 P008E 2020 P008F 2 0 2 0 P0090 2 0 2 3 P0091 3320 P0092 2 0 2 0 P0093 2 0 2 0

0 4 6 . P0094 0 0 0 0 0 4 7 . P0095 5350

P0096 4152 P0097 4520 P0093 4348 P0099 3 7 2 0 P009A 2 0 2 0 P009B 2 0 2 0 P009C 2 0 2 0

0 4 8 . P009D 0 0 0 0 0 4 9 . P009E 534C

P009F 4F20 POOAO 5343 P00A1 524D P00A2 2 0 2 3 P00A3 3 1 2 0

NUM 0 ALF 8 , L 0 PRESS #3

NUM 0 ALF 8*FFED #1

NUM 0 ALF 8 f FFED #2

NUM 0 ALF 3,FFED #3

NUM 0 ALF 89SPARE CH7

NUM 0 ALF 8 f S L 0 SCRM #1

Page 21: WSIBf , 1 - International Nuclear Information System (INIS)

14

0 5 0 . 0 5 1 .

0 5 2 . 0 5 3 .

0 5 4 . 0 5 5 .

0 5 6 . 0 5 7 .

0 5 8 . 0 5 9 .

060. 061 .

062. 063.

P 0 0 A 4 POOA5 P 0 0 A 6 P 0 0 A 7 P 0 0 A 8 P 0 0 A 9 POOAA POOAB POOAC POO AD POOAE POOAF POOBO P 0 0 B 1 P 0 0 B 2 P 0 0 B 3 POOB4 P 0 0 B 5 P 0 0 B 6 P00B7 POOB8 P 0 0 B 9 POOBA POOBB POOBC POOBD POOBE POOBF POOCO P 0 0 C 1 P 0 0 C 2 POOC3 P00C4 P 0 0 C 5 POOC6 POOC7 P 0 0 C 8 P00C9 POOCA POOCB POOCC POOCD POOCE POOCF POO DO POOD1 P 0 0 D 2 POO 0 3 P 0 0 D 4 P 0 0 D 5 POOD6 POO 07 P Q 0 D 8 POOD9 POO DA POQEB POO DC POO CD

2020 2020 0 0 0 0 5 3 4 C 4F20 5 3 4 3 5 2 4 D 2 0 2 3 3 2 2 0 2020 2020 0 0 0 0 5 3 4 C 4 F 2 0 5 3 4 3 5 2 4 D 2 0 2 3 3 3 2 0 2020 2020 0 0 0 0 5 2 4 5 5 6 4 5 5 2 5 3 4 5 2 0 2 0 2 3 3 1 2 0 2020 2020 0 0 0 0 5 2 4 5 5 6 4 5 5 2 5 3 4 5 2 0 2 0 2 3 3 2 2 0 2020 2020 0000 5 2 4 5 5 6 4 5 5 2 5 3 4 5 2 0 2 0 2 3 3 3 2 0 2020 2020 0000 5 2 4 1 5 4 4 5 2 0 5 4 5 2 5 0 2 0 2 3 3 1 2 0 2020 2020 0000 5 2 4 1

NUM 0 A L F 8 , S L 0 SCRM # 2

NUM 0 ALF 8 f SL0 SCRM # 3

NUM 0 A L F 8 , R E V E R S E # 1

NUM 0 A L F 8 , R E V E R S E # 2

NUM 0 A L F 8 v R E V E R S E # 3

NUM 0 ALF 8,RATE TRP #1

NUM 0 ALF 8,RATE TRP #2

Page 22: WSIBf , 1 - International Nuclear Information System (INIS)

15

064. 065.

066. 0 6 7 .

068. 069.

070. 071 .

072. 073.

074. 075.

POQDE POO DF POOSO POO El P00E2 P00E3 P00E4 P00E5 P00E6 POO E7 P00E8 P00E9 POOEA POOEB POO EC POO ED POO EE POOEF FGQFO P00F1 P00F2 P00F3 P00F4 P00F5 P00F6 P00F7 POOFS P00F9 FOO FA POOFB POOFC POOFD POOFE POOFF P0100 P0101 P0102 P0103 POl 04 P0105 P0106 P0107 P0108 P0109 P010A P0103 P010C P010D P010E P010F P01 10 P01 11 POI 12 POl 13 POI 14 POl 15 POI 16 POl 17

5445 2054 5250 2023 3220 2020 2020 0000 5241 5445 2054 5250 2023 3320 2020 2020 0000 4845 4154 2050 5752 2023 3120 2020 2020 0000 4845 4154 2050 5752 2023 3220 2020 2020 0000 4845 4154 2050 5752 2023 3320 2020 2020 0000 4C45 564 C 2054 5250 2023 3120 2020 2020 0000 4C45 564 C 2054 5250 2023

NUM 0 ALF 8,RATE TRP #3

NUM 0 ALF 8,HEAT PWR M

NUM 0 ALF 8,HEAT PWR #2

NUM 0 ALF 8,HEAT PWR #3

NUM 0 ALF 8fLEVL TRP #1

NUM 0 ALF 8,LEVL TRP #2

Page 23: WSIBf , 1 - International Nuclear Information System (INIS)

16

P O N S 3 2 2 0 POL 1 9 2 0 2 0 POL { A 2 0 2 0

0 7 6 • P O L I B OCOO 0 7 7 , I C 4 C 4 5

P 0 1 1 8 5 6 4 C » 0 1 I E 2 0 5 4 POL I F 5 2 5 0 POl20 2QE3 P 0 I 2 1 1:5.20 PQi22 2020 P0,125 2020 P0124 0000

0 7 9 , P 0 1 2 5 5 2 4 F P0126 4420 P 0 1 2 7 4 1 5 3 P 0 1 2 8 5 3 5 $ P O I 2 9 4 D 5 4 P 0 1 2 A P012B soao P012Q 20m

080. * Wg FOLDING CKS FOR 2/3 (0N 3 CHANNEL) OR PHI/ OSU * f*LS? AfWWfg TRIP. IF F0UND.GE0F (DRM TRANS&PUNCH) 032, * |S SCHEDULED BY TIMER IN 8 MIN. 0 6 & * F S 1 2 0 6 8 2 S Z U S T A* AS

* P < U 2 £ C 4 0 0 X P 0 » £ £ X

U 5 A BZ2 SEE IF PUNCH POI 30 oroi CJIC RDY-*« 1 IS IN USE POl 51 IS2? 4 H P * EXIT

0 8 7 * P O I 3 2 0 4 0 0 X POl33 7 F F F X

JttY M NUMSK1 WD. 7

P 0 I 3 4 A W B - $ 1 3 =$FFFE S0 BIT 0 IS 0 O S * . M M P - M Z TCA Q BIT 0 IS 1 M O , F P L H C 4 0 0 X

P 0 I 3 7 7 F F F £ U>A M U K S K 2 WD. 6 .

M I • P 9 I S 8 0 S 6 4 ICA A C0MP» T0 GET SET BIT = TRIP. o n . A O U SI 1 =S7FFF REMOVE BIT 15.

P O J 3 * 0 F £ 2 U-2 2 SHIFT OVER BUZZ. & SP« CHAN.7. 0 3 4 , P « T 3 8 4SSI QT TEMP. Q

C O C E I - 3 0 3 & 4 8 2 0 STfr* NLP NLP IS LOOP CNTR.

P O I S E OCFD R F C T E S S -2 m** ? O B ? 4 ^ 1 ? CTR COUNTER FOR 2/3 CONDITION.

O C F S -3 P 0 J 4 ! I

I C S • P & I 4 S : E S I A QT BRING BACK WD. 6. in®. 0 1 4 3 016* GD-*-l I C A * CTR + I IF BIT IS SET.

POl 43 O O F ? 015 I P 0 2 4 * « 1 7 NLP

m> 1 SHIF T TO READ NEXT BIT. £7S* 9T SAVE SHIFTED G.

m f f 2 Olil 3?P CK-*-l SEE IF BLOCK OF 3 CKED

1 r P 0 I 4 & 2 3 F * ST 1 n». ?014£ CK f'Q* CTft

frlP SCH-*-1 IF 2/3 ARE SET, 1 * SCHEDULE PUNCH.

«um 0 A L F 8 . L E V L T R P # 3

WUM O ALF 3 »R0D ASSYMTRY

Page 24: WSIBf , 1 - International Nuclear Information System (INIS)

17

1 1 4 . P01 4E E80F LDQ* NLP 1 1 5 . P014F 0168 SQP E X I T - * - 1 1 1 6 . P0150 18 ED JMP* RSET 1 1 7 . P0151 0C01 SCH ENQ 1 l i s . P0152 4400 X STQ BZ2

P0153 012F X 1 1 9 . TIMER ( G E 0 F ) . 1 1 9 . P0154 54F4 1 1 9 . P 0 I 5 5 1036 1 1 9 . P0156 FFFF X 1 2 0 . P0157 0007 NUM 7 121 . P01 58 C 803 EXIT LDA* AS 1 2 2 . P01 59 1400 X JMP AFT

P01 5 A 7FFF Y t\

1 2 3 . ?015B 0000 AS NUM 0 124 . P01 5C 0 0 0 0 QT NUM 0 1 2 5 . P015D 0000 NLP NUM 0 1 2 6 . P015E 0 0 0 0 CTR NUM 0 1 2 7 . * END

10 BL0CKS 0F 3 CKED?

SET BUSY FLAG.

Page 25: WSIBf , 1 - International Nuclear Information System (INIS)

18

2.2 ANNUNC

2.2.1 Classification

On-lin^/core resident/assembly language/nonreentrant/relocatable

2.2.2 Purpose

ANNUNC rapidly scans and lists all safety-related annunciators in the HFIR annunciator system.^ In addition, the program schedules a data saving and punching routine, called "GEOF," if any two of three safety trips are detected.

2.2.3 Description

ANNUNC is initially scheduled by GIDYUP, priority level 4. The program tests to determine if the scan loop is on, and, if it is, the program continues to recall itself on a 200-msec timer call. A busy flag is tested, and, if busy, the program exits to the dispatcher. Otherwise, the busy flag is set and digital input word 7 is read in, using the digital input driver. The bit pattern in the word is saved as a mask for the next read.

A test is made of bit 15 which is connected to the annunciator buzzer system. If the buzzer is on, a test is made to determine if all annunciators are set. If they are, the busy flag is cleared and the program exits because the annunciator power has probably been interrupted and restored. If the buzzer is not on, the program exits to the dispatcher after resetting the mask word for any annunciators that may have cleared within the last 4 sec. If the buzzer is on and all bits are not set, a test is made to determine if an annunciator heading should be printed. This will be the word ANNUNC, followed by hours, minutes, and seconds. The heading is printed each time a new buzzer occurrence is detected.

The program tests to determine if any new bits are detected in word 7. If a bit is detected, an appropriate message for that bit is structured into the buffer, and the word is tested for additional bits being set.

ANNBLK is the drum resident message block used by this program. Upon detec-tion of the need for a message, ANNBLK must be scheduled and located in core. After word 7 has been completely tested, the program reads in digital input word 6. If new alarms are set in word 6, appropriate messages are buffered. If none are detected, the program exits, clearing the busy flag and releasing the message block program ANNBLK if it is in-core. The logic block diagram of ANNUNC is shown in Fig. 3.

Page 26: WSIBf , 1 - International Nuclear Information System (INIS)

1 9

2.2 .4 Relationship to Other Programs

ANNUNC is entered at AFT by program ANNBLK. Program ANNBLK is scheduled by a directory request in program ANNUNC. Entry point BZ2 is used by program ANNBLK to prevent multiple reentry of ANNBLK.

Page 27: WSIBf , 1 - International Nuclear Information System (INIS)

20

OftNL OWC NO 72 840 GIDUP

ICRR SHIFT l lMPUT WOKO

FOR NEXT I ALARM TEST

MSC « 1 ANNUNC MR M I N SEC

Fig. 3. Logic Block Diagram of Program ANNUNC.

Page 28: WSIBf , 1 - International Nuclear Information System (INIS)

21

001 . 002. 0 0 3 . 0 0 4 . 0 0 5 . 006. 0 0 7 . 008. 0 0 9 . 010 . Oi 1 . 012. 0 1 3 . 0 1 4 . 0 1 5 . 0 1 6 . 0 1 7 . 018.

0 1 9 .

020

021 .

022. 0 2 3 . 0 2 4 . 0 2 5 . 026. 0 2 7 .

028. 0 2 9 . 0 2 9 . 0 2 9 . 0 2 9 . 0 3 0 . 0 3 1 . 0 3 2 .

* * * * * *

0000 c 0001 c 0 0 0 2 C 0 0 0 A C OOOB C 0 0 2 3 C 0 0 2 5 C 0026 C 0 0 2 7 C 0028 C 0 0 2 9 C 0 0 2 A C 0 0 2 B C 002C C 0 0 2 D C 0 0 2 E C 0 0 2 F C 0 0 3 0 C 0 0 3 1 C 0 0 F 4 0 0 EA 0 0 8 9 0 0 9 B 0 0 A 2 0088 0012 0 0 E 8 0 0 A 4 0 0 4A

POOOO C 4 0 0 P 0 0 0 1 0 0 0 0 C P 0 0 0 2 0 1 0 4

P 0 0 0 3 5 4 F 4 P 0 0 0 4 P 0 0 0 5 P0006 P 0 0 0 7 P 0 0 0 8

1118 7 F F B 0001 C 8 3 3 0 1 0 9

NAM ANNUNC 1 2 / 2 . 7 0 ANNUNC SCANS 3 2 C 0 N T A C T I N P U T S . I T I S SCHEDULEO 5 T I N E S / S E C . I F C0MM0N ANNUNC I S T R I P P E D , MSG I S P R I N T E D , AND ANNBLK I S S C H E D U L E D . ANNBLK (MASS M E M . ) C 0 N T A I N S MSG S K E L E T 0 N S F0R 0THER MSGS & L 0 G I C 10 CHECK F0R 2 / 3 ( F 0 R 3 C H A N N E L ) T R I P P E D S A F T Y ANNUNCS , 0R P H I / F L 0 A N N . T R I P . I F F 0 U N D , DRUM TRANS. I S SCHEDULED AFTER 8 M I N 6 DRUM I S P U N C H E D . B Z 2 I S FLAG T0 PREVENT DRUM TRANS S C H E D U L I N G U N T I L P R E V I 0 U S 0 N E HAS BEEN P U N C H E D . B Z 1 PREVENTS ANNUNC FR0M B E I N G REENTERED I F S T I L L I N USE (MAY N 0 T BE RUN 5 T I M E S / S E C . ) .

EXT S E C 0 N , M I N T 0 , H 0 R T 0 , H 0 R M I N EXT ANNBLK ENT ANNUNC ENT B Z 2 BUSY FLAG F0R PUNCHING ENT N U M S K 1 , N U M S K 2 , A F T , B L K I N C0M I N A G I N , OCL0CK . C Y E R T 0 C 8 ) , C Y C L E , B ( 2 4 ) , R H 0 T 0 T

C0M I R H 0 E X , 1 R E A C T , I R S T M , I R A N S T , P 0 L D , P 0 W T 0 T , N 0 L

C0M N 0 W T I M , D I G W D 8 , R Q T R I M , R H O D I F

EQU A M 0 N I < $ F 4 > , A D I S P ( S E A ) , A H E X ( S 8 9 ) , A T 0 D ( S 9 B ) ,

EQU EQU EQU EQU EQU

ANNUNC LDA

A R G X N P ( $ 8 8 ) N Z E R 0 ( $ 1 2 ) C L 0 C K ( $ E 8 ) ADE0C f ( $ A 4 ) A S N A P E ( $ 4 A ) I N A G I N

T I M SAZ G R 0 A N - * - l T IMER A N N U N C - T I M - I , 8 , 1 , 1

GR0AN NUM 1 LDA* B Z 1 SAZ G R U - * - i

S E E I F BUSY

Page 29: WSIBf , 1 - International Nuclear Information System (INIS)

22

0 3 3 . P0009 14EA JMP- (SEA ) 0 3 4 . POOOA FFEB RESET NUM - 2 0 THIS GIVES ANN. RESET EA. 20 PASSES 0 3 5 . POOOB FFEB PTRSET NUN - 2 0 036 . POOOC FFEB ANNPTR NUM - 2 0 0 3 7 . POOOD OOOE ANMAR1 ADC ANNMSG-ANAPM-1 0 3 8 . POOOE FFEB ANNRST NUM - 2 0 039 . POOOF FFEB ANNCTS NUM - 2 0 0 4 0 . P0010 7FFF 0LMSK 1 NUM S7FFF 041 . P0011 7FFF 0LMSK2 NUM S7FFF 0 4 2 . P0012 0A01 GRU EN A 1 043 . POO 13 6827 STA* BZ1 SET ANN BUSY 044 . P001 4 5488 RTJ- (ARGINP) CALL IN W0RD 7 WHICH USES 0 4 5 . P001 5 0005 ADC 5 BIT 16 T0 SH0W BUZZER IS 0N. 046 . POO 16 6876 STA* NUMSK1 THIS IS MASK F0R NEXT PASS THRU 047 . POO 17 0864 1CA A THIS GIVES B IT IMAGE WITH B I T 048 . = 1 C0RRESP0NDING T0 ANNUNC. TRIP 049 . P0018 D3F5 RA0* ANNRST AUT0 MASK RESET C0UNTER 0 5 0 . P0019 013F SAM BUZZ0N-* - ! I F BUZZ. I S 0N 60 TEST I F N0T 051 . P001A 08 FI RA0* ANNPTR UPDATE HEADING PRT. C0NTR0L 0 5 2 . P001B C8F0 LDA* ANNPTR SEE I F T0 $8000 YET. 0 5 3 . POOIC 9021 SUB- $21 C0NTAINS $8000 0 5 4 . P001D 0111 SAN 0 K E Y - * - l 0 5 5 . P001E 68 ED STA* ANNFTR 0 5 6 . POOIF E8EE 0KEY LDQ* ANNRST TEST I F TIME T0 RESET MASK 0 5 7 . P0020 0163 SQP CLRMSK-*-! 0 5 8 . P0021 OAOO CLRX EN A 0 0 5 9 . P0022 6818 STA* BZ l CLR BSY 060 . P0023 14EA JMP- CADISP) 061 . P0024 E8E5 CLRMSK LDQ* RESET CLEAR THE L00P C0UNTER 0 6 2 . P0025 48 E8 STQ* ANNRST 0 6 3 . P0026 C866 LDA* NUMSK1 0 6 4 . P0027 0864 TCA A 065 . P0025 1836 JMP* WDRTST G0 SET 0LD MASK = NEW MASK AND 066 . EXIT T0 DISPATCHER 0 6 7 . P0029 6865 BUZZ0N STA* ANNTEM SAVING A-REG IN TEMP0RARY L0C. 0 6 8 . P002A BO 12 00 R - NZER0 TEST I F ALL BITS ARE SET, I F 069 . P002B 0111 SAN W0RD1 - * - l S0 EXIT T0 DISP BECAUSE DATA 070 . P002C 1SF4 JMP* CLRX 0 7 1 . P002D C3DE W0 RD1 LDA* ANNPTR TEST I F WE WANT T0 PRINT 0 7 2 . P002E 012C SAP GETT0D-* - l HEADING F0R ANNUNC. TRIP 0 7 3 . P002F C0E8 LDA- CL0CK N0 PRINT BUT GET RAW CL0CK DATA 074 . P0030 9S5B SUB* ANNCLK THIS GIVES N0. RAW CLK PULSES 075 . P0031 2000 MUI =N17

P0032 0011 0 7 6 . P0033 54A2 RTJ- (A0CDEC) 0 7 7 . P0034 0000 NUM 0 0 7 8 . P0035 0000 NUM 0 0 7 9 . P0036 0000 NUM 0 0 8 0 . SINCE LAST TIME THRU HERE. 081 . P0037 5489 RTJ- (AHEX) C0NVERT THEM T0 ASCHII AND 0 8 2 . P0038 8058 ADC CANNTIM-*) ST0RE IN ANNTIM AND ANNTIM 0 8 3 . P0039 1824 JMP* G0 0 8 4 . P003A 0000 BZ1 NUM 0 BSY FLAG F0R ANN. 085 . P003B 549B GETT0D RTJ- (AT0D) 036* P003C C 400 X LDA H0RMIN

P003D 7FFF X 0 8 7 . P003E 54A2 RTJ- (A0CDEC) 0 8 8 . P003F 0000 NUM 0 0 8 9 . POO 40 0000 NUM 0

Page 30: WSIBf , 1 - International Nuclear Information System (INIS)

23

0 9 0 , P0041 0000 NUM 0 0 9 1 . POO 42 5489 RTJ- (AHEX) ASCHII AND ST0RE IN HEADING 0 9 2 . POO 43 807C ADC (ANNMSG-++4) MSG AS W0RDS 4 AND 5 0 9 3 . P0044 C 400 X LDA SEC0N GET SECS.

P0045 7FFF X 0 9 4 . POO 46 54A2 RTJ- (A0CDEC) 0 9 5 . P0047 0000 NUM 0 0 9 6 , P0048 0000 NUM 0 0 9 7 . POO 49 0000 NUM 0 0 9 3 , P004A 5489 RTJ- (AHEX) CONVERT n o o . P004B 8076 ADC (ANNMSG-*+6) ST0RE IN WORDS 6 AND 7 100 . P004C COOO LDA =N$2020

0 fin An 1 vw -Ik/ O M f t L, Wb V

101 . P004E 6873 STA* ANNMSG+6 102. P004F 6841 ST A* ANNTIM 103 . POO 50 6841 STA* ANNTIM+1 104 . P0051 C0E8 LDA- CLOCK 105. P0052 6839 STA* ANNCLK STORE RAW PULSES FOR REF,USE 106 , P0053 C8B7 LDA* PTRSET 1 0 7 , P0054 6857 STA* ANNPTR RESET PRINT HEADING CONTROL 108 . P0055 54F4 ANPAM2 RTJ- (AMONI) 109 , POO 56 0DF8 NUM $DF8 110, POO 57 0007 ADC GO -ANPAM2-1 111 . P0058 0000 NUM 0 112, POO 59 100E NUM $1OOE BUFFERED SEL. WRITE 113 , P003A 0008 NUM 8 1 14 , P005B 0065 ADC ANNMSG-ANPAM2-1 115, P005C 14EA JMP- (ADISP) 116 , P005D C831 G0 LDA* ANNTEM BRING BACK DATA WORD 1 1 7 , P005E AO 11 WDRTST AND- $11 MAKE SURE B IT 15 I S ZERO THEN WE 118 , * DO NOT HAVE T0 KEEP TRACK OF IT IN 119 , * THE VARIOUS MASK CHANGES. 120 , P005F 0842 CLR 0.

121 . POO 60 40FF STQ- I MSG. INDEX FOR FIRST WORD = 0 122 . P0061 A8AE AND* 0LMSK1 TEST I F ANY BITS SET IN A 1 2 3 , P0062 0111 SAN LKKDAT-*- l YES, GO SHIFT TEST THEM. 124, P0063 180A JMP* NXTWRD NOTHING IN THIS WORD TRY NEXT WD 125 . P0064 0FC1 LKKDAT ALS 1 SHIFT OVER THE BUZZER BIT 126 , P0065 EO 00 LDQ =N 135 SG.BLK. FOR WORD ONE. (BITS 0 TOl

P0066 0087 127 , POO 67 0134 STRPLP SAM X X X X 3 - * - l GO SELECT A MSG. AND PRINT. 128 . P0068 0DF6 INNRLP INQ - 9 ADJUST MSG. STACK POINTER 129 , P0069 0173 SQM NXTWRD-*-l I F SHFTD OUT ON THIS WORD G0 130 , P006A 0FC1 ALS 1 AND SEE I F ALL DONE. 131 , P006B 18FB JMP* STRPLP MORE T0 GO, LOOP BACK 132 , P006C 1826 XXXX3 JMP* MSGTIM CANT REACH WITH SKIP SO JMP. 133 , P006D C81F NXTWRD LDA* NUMSK1 BEFORE LEAVING WD 1 RESET MASK 134, P006E 011 1 SAN 0 L I 0 K - * - l 135 , P006F C011 LDA- SI 1 136, P0070 689F 0L10K STA* 0LMSK1 TO CATCH ANY TRPS THAT CLRD. 137, P0071 EOFF LDQ- I 1 3 8 , P0072 0141 SGZ X X X X 2 - * - l 139 , P0073 180E JMP* EXWRD2 140, P0074 5488 XXXX2 RTJ- (ARGINP) PULL I N WORD FROM CHANNEL 6 141 . F 007 5 0044 ADC $44 =6 142 . P0076 6817 STA* NUMSK2. 143, P0077 0864 TCA A C0MPLMT, DATA WORD FOR WORKING FORM 144, P007S 6816 STA* ANNTEM

Page 31: WSIBf , 1 - International Nuclear Information System (INIS)

24

145. P0079 A 89 7 AND* 0LMSK2 146. P007A 0106 SAZ EXWRD2-*-l NOTHING HERE G0 10 E X I T . 147. P007B

P007C EOOO 0090

LDQ =N 144

148. P007D 40 FF STQ- I 149. P007E

P007F EOOO 0087

LDQ =N135

150. P0080 18E6 JMP* STRPLP G0 STRIP I T 151 . POOS 1 C80C EXWRD2 LDA* NUMSK2 BEFORE LEAVING RESET MSK FOR 152. P0082 O i l 1 SAN 0 L 2 0 K - * - I W0RD NO. 2 . 153. P0083 C012 LDA- $12 154, P0034 688C 0L20K STA* 0LMSK2 155. P0085 OAOO EN A 0 156. POO 86 68B3 STA* 9Z1 RESET BUSY FLAG 157. POO 87 C 816 LDA* BLKIN 158 . P0088 0101 SAZ R E X - * - l 159. POO 89 1C14 JMP* (BLKIN) G0 RELESE 160. P008A 14EA REX JMP- ($EA) 161 . P008B 0000 ANNCLK NUM 0 162. P008C 0000 NllMSK1 NUM 0 163 . P008D FFFF NUMSK2 NUM $FFFF 164. P008E

P008F 0000 0000

ANNTEM NUM 0 , 0

165. P0090 P0091

0000 0000

ANNTIM NUM 0 , 0

166. POO 92 48 FC MS6TIM STQ* ANNTEM+1 SAVE Q 167. P0093 68FA STA* ANNTEM SAVE A 168 . P0094 C809 LDA* BLKIN SEE I F MSG BLK ALREADY IN CORE 169. P0095 0101 SAZ N0SPAC-*- l 170. P0096 180C JMP* SP0VER MSG BLK IN CORE 171. P0097 COFF N0SPAC LDA- I 172 . P0098 6821 STA* SVI 173 . SCHDLE (ANNBLK) , 8 , 0 173 . P0099 54F4 173 . P009A 1208 173 . P009B FFFF X 174. P009C 14EA JMP- ($EA) 175. P009D 0000 BLK IN NUM 0 176 . P009E 0000 BZ2 NUM 0 177 . P009F E8 1A AFT LDQ* SVI 178 . POO AO 40FF STQ- I 179 . P00A1 6898 STA* BZ1 SAVE ABS. ADD. OF ANNBLK. IN BZ1 180 . * N0T CLRED T IL DONE. 181 . P00A2 E897- SP0VER LDQ* BZ1 GETS ABS ADD. OF ANNBLK. 182 . POOA3 F8EB ADQ* ANNTEM+1 183 . POOA4 C8EB LDA* ANNTIM GET 1ST WD OF SECS. 1 8 4 . POOA5 6306 STA- 6 ,B 185 . POOA6 C8EA LDA* ANNTIM+1 GET 2ND WORD OF SECS. 186 . POOA7 6307 STA- 7,B 187 . POOA8 FOrF ADQ- I THIS GIVES STARTING ADD. OF MSG 188 . POOA9 4809 * STQ* ANAPM+6 1 8 9 . POOAA EOFF LDQ- I SAVE I 190 . POOAB 480E STQ* SVI 191 . ANAPM FWRITE SE.G01. , 8 , A , 1 5 , 8 , , 0 191 . POOAC 54F4

8 , A , 1 5 , 8 , , 0

191 . POOAD 00 F8 191 . POOAE

POOAF 00B4 0000

P

Page 32: WSIBf , 1 - International Nuclear Information System (INIS)

2 5

1 9 1 • POOBO IOOE 191 . P O O B I 0 0 0 8

P 0 0 B 2 0 0 0 0 1 9 2 . P 0 0 B 3 14EA J M P - ( A D I S P ) 1 9 3 . P 0 0 B 4 C 8 0 5 6 0 1 L D A * S V I 1 9 4 . P 0 0 B 5 6 0 F F S T A - I 1 9 5 . P 0 0 B 6 C 8 0 7 L D A * ANNTEM 1 9 6 . P 0 0 B 7 E 8 D 7 LDQ* ANNTEM+1 1 9 7 . P 0 0 B 8 I 8 A F J M P * I N N R L P 1 9 8 . P 0 0 B 9 0 0 0 0 S V I NUM 0 , 0

POOBA 0 0 0 0 1 9 9 . POOBB 41 4 E ANNMSG A L F 8 , ANNUNC

POOBG 4 E 5 5 POOBD 4 E 4 3 POOBE 2 0 2 0 P 0 0 3 F 2 0 2 0 POOCO 2 0 2 0 POOC 1 2 0 2 0 POOC2 2 0 2 0

2 0 0 . * END

Page 33: WSIBf , 1 - International Nuclear Information System (INIS)

2 6

2.3 ASMFIX

2.3.1 Clcssificotion

On-line/drum resident/assembly language/nonreentrant/nonrelocatable

2 .3 .2 Purpose

This program implements the assembly of source language from mass memory. Before this program was available, all source material had been entered by paper tape. The program modifies the read-write request of PASS1 and increases the drum address to point to the next source image.

2.3.3 Description

ASMFIX is entered from PASS1 plus $5A3 by a return jump. Upon entry, it nulls the buffer in PASS1 and interrogates the logical unit indicator to determine if the standard input device has been designated as drum. Otherwise, the program returns and source material is read from the paper-tape reader. If the drum unit is designated as the input device, ASMFIX modifies the request code in PASS!, calculates the current MSS/LSB for the source image on drum, and returns to the assembler. This program is entered each time a source record is read by the assembler. The logic block diagram of ASMFIX is shown in Fig. 4 .

2 .3 .4 Change Considerations

Any changes in ASMFIX must be rectified with PATCH and PASS1. ASMFIX assumes that the number of the input logical unit is contained in core location $F7.

The binary image of ASMFIX is written into PASS1 by PATCH after each system rebuild.

Page 34: WSIBf , 1 - International Nuclear Information System (INIS)

27

ORNL DWG NG 72-818

Fig. 4 . Logic Block Diagram of Program ASMFIX.

Page 35: WSIBf , 1 - International Nuclear Information System (INIS)

as

3s*? ,

i .j..,-• r*t

1A©£*

*

KAH ASnriX 1/2V7l REV. EST ASKFIX EQU STRAD* C S5? ) ,150 < $58>#LSB ( $59 )

ECU S E V E f l f C S l I ) t l « P D E V < S m

* OT£*£D m«K 0A5$t *S5A5. * ATTACHHE0T R0UT10E T0 ASSEflBUJt 10 % W0VIOE ASSEMBLY FMM ORU*.

< «U« 0 EVA 0 STA* ft58«! UDA- IBJWtV IMA

• W * X I f ISA =11*200

see t? mm

*£Oll£$T C0DE

C00 I STA* <ASf! f IX) ,Q UBA- LS0 Sf€*£f l£0T m m A0it, X»A * 2 6 SAP *C«»*l •A®* ust AUG* s m i f STA- LSS LDA- f f t * & S 0 f t I « 6 I P U 0 « l * T E £ U 0 - l , ADO 30S£A£4 ADC 0F ASSEM | 0 ® « f ! ,

£?A~ srntm <AS*fm

m 0

i

Page 36: WSIBf , 1 - International Nuclear Information System (INIS)

2 9

2.4 AVGDAT

2.4 .1 Clossificotion

On-line/drum resident/Fortran language/nonreentrant/relocatable

2 .4 .2 Purpose

AVGDAT averages over a period requested by the operator the inlet temperature, outlet temperature, and the primary flow rate of the core coolant for all three servo channels. These averages are used to calculate average heat powers for the three channels. All overages ore tabulated by a typewriter in the control room.

2 .4 .3 Description

AVGDAT is executed by manual request of function 12, arid upon entry it checks and sets a busy flog location $7F. The value requested for the interval over which the time average is to be made is checked and is set equal to 10 sec if the value is not greater than 0 and less than 121 sec. The program loops on 1-sec timer calls, transferring values from the current value table and accumulating all average values. When the requested number of readings have been averaged, the time of day and the date are buffered into the message block, and the data block is listed. The busy flag is cleared and the program releases. The logic block diagram of AVGDAT is shown in Fig. 5.

2 .4 .4 User Instructions

AVGDAT is executed by setting the requested number of seconds of data to be averaged in the right-hand dig is witch and entering function 12. The number of seconds requested must be greater than 0 and less than 121. Otherwise the program will set the average to 10sec. Multiple entries ere not permitted by use of a busy flag. Since this program uses the current value table, which is calculated by the scan programs, meaning-ful values can only be obtained whenever the scan loop is in operation.

Page 37: WSIBf , 1 - International Nuclear Information System (INIS)

30

ORNL DWG NO. 846

MAN. FCN-12

TY MESS BLC

>E AGE >CK i i

GET CURRENT TIME & DATE AND FILL MESSAGE

MSG. BLOCK: DATE: TIME XX SEC. AVG.

CHANNEL #1 #2 #3 AVG.

CALC. AVG. VALUE EA. CHANL

Fig. 5 . Logic Block Diagram of Program AVGDAT.

Page 38: WSIBf , 1 - International Nuclear Information System (INIS)

31

PR0GRAM AVGDAT C R E V / 9 / 2 / 7 1 C

EXTERNAL YERT0 ,M0NT0 ,DAYT0 ,H0RMIN DIMENSI0N TEMP(6),1 TMPC6),1BLCK(116),HP0W(3) DIMENSI0N FLW< 3 ) , IFLW(3) , ITEMP(4) f IFCT<1) ,JPWR(1> DATA TEMP(1)fTEMP<2> ,TEMP(3) ,TEMP(4) ,TEMP(5) ,TEMP(6)

X / 6 * 0 . 0 / , F L W ( 1 ) , F L W ( 2 ) « F L W < 3 ) / 3 * 0 « / , J C N T / 0 / , 1 N U M / 9 / , I C 0 N S T / $ l 5 / C C C ABS0LUTIZE AND SAVE N0. 0F SCANS 10 BE AVERAGED*

ASSEM $C204 f $121 ,$864 ,$6800 , ICNT 1 ASSEM $ C 0 7 F , $ 1 0 2 , $ 1 8 0 0 , # , * 2

C 0THERWISE SET AVGLG "BUSY'* AND C0NTINUE • ASSEM $A01V$607F

C CHECK THE DIGISWITCH F0R C0RRECT ENTRIES. 22 I F (ICNT .GT. 0 .AND. ICNT.LT. 121) 60 TO 6 5 ICNT = 10

C SEE I F ALL PTS D0NE. 6 I F (JCNT .GE. ICNT ) 60 TO 10

C ST0RE IN AND 0UT TEMPS, IN ITMP BL0CK ASSEM $844,$60FF,$C17,$C69D,$6900,1TMP ASSEM $DFE,$894,$9EE,S102,$D0FF,$18F7

C ACCUMULATE DATA IN TIMP BL0CK D0 7 J = 1 , 6

7 TEMP (J)=FL0AT( ITMP (J ))+TEMP(J ) C ST0RE FL0VS IN IFLW BL0CK

ASSEM $844,$60FF,$C21,$069D,$6900, IFLW ASSEM $DFE ,$894 ,$9E1,$102 ,$D0FF,$18F7

C ACCUMULATE DAT IN FLW BL0CK D0 8 J - 1 ,3

8 FLW (J ) =FL0AT( IFLW CJ >)+FLW (J ) C INCREMENT SCAN C0UNTER

JCNT=JCNT+l C RETURN EA. SEC.

ASSIGN 6 T0 ISTART CALL TIMER ( ISTART,IC0NST,INUM,HEMP) CALL DISPAT

C F0RMAT F0R 0PERAT0R C0NS0LE REQUEST L0G. 9 F0RMAT (12 , 1H- , 12 , I H - , 12 , 2X , 14 , IX , 13 ,

X8H SEC AVG/7HCHANNEL,2X,2H*1,6X,2H*2,6X,2H*3,6X,3HAVG/ X4HT IN , 3(3X ,F5.1>/4HT0UT , 3C3X , F5 .D/4HFL0W , F 7 . 0 , X1H0 , 3CF7.0 , 1HO)/4HHP0W , 4(3X , F 5 . 1 ) )

C C0NVERT N0. 0F SCANS TO FL0ATING P0 INT. 10 C0UNT=ICNT

C AVERAGE THE INLET AND 0UTLET TIM PS. D0 l i J = 1 , 6

11 TEMP(J)=TEMP(J)/ (C0UNT*lO.) D0 12 J = 1 , 3

12 FLW(J) =FLW(J)/C0UNT C CALC. THE HEAT P0WERS

D0 13 J = 1 , 3 13 HP0W(J) =( . 9957# ( TEMP(J) -TEMPCJ+3) ) - .2805)*FLW(J) /

1 ( ( 3 . 5 5 3 E -5 * TEMP ( J + 3 ) + # l 1 6657 ) *5 .688E+4) C CALC. THE AVG. P0WER

AVGP0W =CHP0W(1)+HP0W<2)+HP0W(3))/3 . C CALCULATE THE AVERAGE FL0V.

AVGFLW = (FLW( 1 )+FLW(2 )+FLW(3 ) ) / 3 .

Page 39: WSIBf , 1 - International Nuclear Information System (INIS)

32

C GET T I M E S FR0M TOD PROGRAM 1 4 C O N T I N U E

ASSEM $ C 4 0 0 , + M 0 N T 0 p $ 6 8 0 0 , 1 M O N T M , $ C 4 0 0 , + D A Y T O , $ 6 8 0 0 , 1 D A Y I , $ C 4 0 0 , + Y E R T O , $ 6 8 0 0 , 1 Y E A R v $ 0 4 0 0 , + H O R M I N , $ 6 8 0 0 , I H H M N

C IBLCK= LENGH OF MESSAGE + 1 8 C E L L S CALL S E T B F R I I B L C K » 1 1 6 )

C W R I T E I N P U T DATA W R I T E ( $ , 9 ) I M 0 N T H , I D A Y v l Y E A R t I H R M N f I C N T , T E M P ( 6 ) , T E M P ( 5 )

X , T E M P ( 4 ) t T E M P ( 3 ) f T E M P ( 2 ) f T E M P ( 1 ) t F L W ( 3 ) t F L W ( 2 ) , F L W ( I ) X , A V G F L V , H P 0 W ( 3 ) , H P 0 W ( ? . ) , H P 0 W ( 1 ) , A V G P 0 W

C CLEAR FLAG TO ALLOW ANOTHER AVGDAT 10 RUN - AND R E l E S E 1 5 ASSEM $ A 0 0 , $ 6 0 7 F

2 CALL RELESE ( A V G D A T ) END

Page 40: WSIBf , 1 - International Nuclear Information System (INIS)

33

2.5 BUIKRY

2.5 .1 Cl ossification

On-line/drum resident/assembly language/nonreentrant/relocatable

2 .5 .2 Purpose

BULKRY calculates the neutron-noise power spectral density. The program uses data digitized and stored on the mass memory unit and reduces the data, using a fast Fourier transform technique to calculate the sum of the squares of the real and imaginary components of the Fourier coefficients. The power spectral density values are stored on the mass memory for subsequent plotting or tabulating.

2 .5 .3 Description

Upon entry^ the program types o message and transfers the user's options parameter list from PAMI.ST in program MUXBUFr A loop is established to determine if all the PS) requested calculations have been completed. If not, more fluctuation data are transferred from the stored date* buffer on drum $A, B, and C; the imaginary data block (II) is nulled; and the FFT subroutine to calculate the Fourier coefficients by the fast transform method is called. After the subroutine is completed, overflow is tested; and, if it is set, a message indicating high input values is typed and the program releases. If no overflow is detected, the program searches the I I and IR blocks for the largest value of on imaginary or real Fourier coefficient* This value is used to control a shift counter to maintain the numbers in their most significant representation. The parameters SHFTR and SHFTI are the shift totalizers for the real and imaginary components, respectively. If, during each loop, no shift in the values is needed to represent the largest running sum in the special 32-bit table, the sums of the squares are formed and saved in the two-word-per-entry value table PSD• This loop continues until finished. If a shift is needed to represent the largest sum of the squares of the products in the 32-bit form, the program rescales the PSD table by one-half before formir«g the larger modulus. After all the raw acta have been analyzed, the program types the vabe of the shift constant and shifts the 32-bit PSD's into one computer word of 16 bits. If the case was for the automatic on-line analysts FRYUN, the PSD is calculated over the first 15 frequencies, and the program exits. Otherwise, the PSD table is transferred to drum SE/7D00 for future use. The finished message is typed, and the program release? after clearing the AUTBSY and MAN8SY flogs. The logic block diagram of Bulkry Is shown in Fig* 6.

2 .5 .4 Relationship to Other Programs

BULKRY requires a parameter list PAMIST which k located in MUXBUF.

Page 41: WSIBf , 1 - International Nuclear Information System (INIS)

34

Change Considerations

BULKRY ts loaded after each system rebuild to avoid wasting space on drum storage; the two large scratch areas are reserved at the end of the program for calculating the imaginary and the real Fourier coefficients. This is accomplished by loading a dummy program with the system build topes equal in length only to the logic and table portions of the BULKRY program. The working program is loaded after rebuild, using the system loader with the presets open, ana the CHRIS program writes the working program onto the area of memory reserved by the dummy program. These procedures are described in detail in the system rebuild procedure.

2 .5 .6 User Instructions

The console operation of BULKRY is initiated by program FUN4. The manual user instructions are described in FUN4 ami STATGO (Sects. 2.31 and 2.57, respectively). The listing shown for BULKRY is truncated starting with "Table" after statement 843. The table is the bit inversion table for block size 2048, followed by smaller block sizes and finally the JCOS table. The listing shown uses the source language for both tables in order to reduce the space required.

Page 42: WSIBf , 1 - International Nuclear Information System (INIS)

MUXBUF STATGO WO- MESSAGES

1 NOISE SCAN FINISHED BEGIN CALC 2 INPUT • HI 3 PSD NULLED AND VOID SORRY 4 NOISE CALC. DONE

TYPE: MSG. 1 & NULL THE PSD CHANGE TO TABLE &GET PRIORITY-3 PAMLST

CALC. PSD

(11J +• IR2)

PACK DOWN PSD

TABLE

MODIFY: SHFTR & SHFTI,

TYPE- OLSHF

SET BIT INVERSION

TABLE POINTER

FIND LARGEST II OR IR

(FOURIER COEFF.)

XFR NEXT NBLK OF

RAW DATA

NULL I I

BLOCK

I USE FFT TO CALC. I I & IR

FIND LARGEST PSD IN TABLE

& CALC. PSDSHF

USE PSDSHF TO SHIFT THE 32 BIT PSD'S

T016 BITS

CALC. FRYLIN SCAL X CONST X L VPSD/lb

XFR PSD TO

DRM E/7DOO

TYPE MSG NO. 4

NULL AUTBSY

AND MANBSY FLAGS

W cn

I & o TO O £ o z o

00 co co

Fig. 10. Logic Block Diagram of Program CONTRL.

Page 43: WSIBf , 1 - International Nuclear Information System (INIS)

36

001. NAM BULKRY 11/3/69

003 . 0 0 4 . 005 . 006.

* THIS PR0GRAM I S L0ADED AFTER EACH SYSTEM REBUILD * 10 PREVENT DRUM SPACE BEING WASTED F0R THE * LARGE I I AND IR SCRATCH BL0CKS. THE PATCH * PR0GRAM HANDLES THE LINKING ADDRESSES.

008. 0 0 9 . 010. 01 1. 012. 01 3 . 0 1 4 . 015 .

* * * * *

0000 C C0M INAG IN EXT Q8QFLT,FL0T fFL0AT,Q8QF2I,Q8QFlX,SCAL

017. 018. 019. 020.

021 . 022. 0 2 3 . 0 2 3 . 0 2 3 . 0 2 3 .

0 2 3 . 0 2 3 .

02 4 . 0 2 5 . 026. 0 2 7 . 028. 0 2 9 .

0 3 0 . 031 • 0 3 2 . 033 . 0 3 4 .

00F4 00 EA 0089 000B

POOOO P0001 P0002 P0003 P0004 P0005 P0006 P0007 P0008 P0009 POOOA POOOB POOOC POOOD POOOE POOOF P0010 POO 11 POO 12 POO 13 POOH POO 15 POO 16 P0017 P0018 POO 19 P001A P001B P001C P001D

54F4 0D43 0007 0000 100E OOOF 0011 14EA OAOO E819 0F2I ODFE 6A00 182A 0141 18 FB 1327 0000 4E4F 4953 4520 5343 414E 2046 494E 4953 4845 4420 4245 4749

* *

EXT PAMLSTfPSDI0,AUTBSYfMANBSY EXT SQRT EQU AM0NI($F4) ,ADISP(SEA)

EQU AKEX($89) ,L2MX($B)

BASE SH0ULD C0NTAIN MSB 0F RAW DATA BLK USE BASE+1 F10R LSB.

BULKRY FWRITE SE,BULK-BULKRY-I fBMSG-BULKRY-1,15 fA f4 f3,

BULK

0WN

JMP-ENA LDQ* QRS INQ STA

(SEA) 0 NMX 1 -1 PSD.Q

BUJ

BMSG

SQZ B U J - * - l JMP* 0WN JMP* BULL NUM 0 ALF 15,N0ISE SCAN FINISHED BEGIN CALC

Page 44: WSIBf , 1 - International Nuclear Information System (INIS)

37

POO IE 4E20 POO IF 4341 P0020 4C43

0 3 5 . P0021 OOOB LG2N NX ADC L2NX 0 3 6 . P0022 0800 NNX NUM 2048 MAX 0 3 7 . P0023 0000 SAVJW1 NUN 0 0 3 8 . P0024 0000 XX NUN 0 0 3 9 . P0025 0200 ADC TA1024-TABLE 0 4 0 . P0026 0300 ADC TABS12-TABLE 0 4 1 . P0027 0380 ADC TAB256-TABLE 0 4 2 . P0028 03C0 ADC TAB 128-TABLE 0 4 3 . P0029 03ED ADC TAB64-TABLE 0 4 4 . P002A 03F0 ADC TAB32-TABLE 0 4 5 . P002B 03F8 ADC TAB16-TABLE 0 4 6 . P002C 0000 TEST NUN 0 0 4 7 , P002D 00 OA BASE NUN 10 048 « P002E 0000 NUM 0 049 . P002F 1BDA XPA ADC IR-DATARD

MAX S IZE DATA BLOCK

050 » 051 . 052. 0 5 3 . 0 5 4 . 0 5 5 . 0 5 6 . 0 5 7 . 0 5 8 . 0 5 9 . 060.

061 . 062. 0 6 3 . 0 6 4 . 0 6 5 . 066. 0 6 7 . 068. 0 6 9 . 0 7 0 . 071 . 072 . 073 . 0 7 4 . 075 . 0 7 6 . 0 7 7 . 0 7 8 . 0 7 9 . 080.

081. 082. 0 8 3 . 0 8 4 . 085*

086.

POO 30 P0031 POO 32 P0033 P0034 P0035 P0036 P0037 P0038 P0039 P003A P003B P003C P003D P003E P003F POO 40 P0041 P0042 P0043 POO 44 P0045 POO 46 P0047 POO 48 P0049 P004A P004B P004C P004D P004E P004F POO 50 P0051 P0052 P0053 P0054 P0055 P0056

0000 0000 0000 0000 0000 0000 0000 0004 C600 7FFF 6AF7 ODFE 0171 18FA C8F6 68EC C8EC 68EE C8EB 68 ED C8DC 9 SEC 8803 6802 0A01 OFCO 68D8 C8D6 0F42 6800 02A3 OBOO C8DB 09FE 0129 C800 OOCB 9000 0F60

* DRMBL

LIST

10 XFER DRM 10 IR BL0CK NOTE—BOTH I I AND IR START AT SUBSCRIPT 0F 1 . THE 1 1 ( 0 ) AND I R ( O ) $AY BE USED F2R SCRATCH -NO DAT

BULL X X

DN

SHIFR

NUN NUN NUN NUN NUN NUN NUN ENQ LDA

STA* INQ SQN JNP* LDA* STA* LDA* STA* UDA* STA* LDA* SUB* ADD* STA* ENA ALS STA* LDA* ARS STA

CONTAINS NSB DRM ADDRESS 0F DATA (RAW) LSB 0F DRM ADDRESS

THIS I S A COPY 0F PAMLST LG2N MBIT NBLK NUMBLK

= SCANRT

0 0 0 0 0 0 0 4 PAMLST,Q

L IST f Q -1 D N - * - l BULL+1 L IST+3 TEST BASE DRMBL BASE+i DRNBL+l LG2NMX LIST SHIFR SHIFR 1 0 SAVJW1 NMX 2 NMX0V4

THIS GIVES NO. 0F BL0CKS-NUMBLK

CHECK NOP 0 T5TBLK LDA* TEST SEE I F ALL BLOCKS DONE,

INA - 1 SAP AGNP- * - !

LDA SHFTR TEST I F SHI FTR 100 LOW

SUB =N$F60

Page 45: WSIBf , 1 - International Nuclear Information System (INIS)

3 8

0 8 7 . P0057 0112 SAN F I N E - * - ! 088* POO 58 1800 JMP DUMP

P0059 01E8 089* P005A 1800 FINE JMP F1XPSD REPLACE PSD

P005B OODD 090 . P005C 68CF AGNP STA* TEST 091 . P005D 54F4 DATARD RTJ- CAM0NI) DRM/RD F0R RAW DATA 092* P005E 0353 NUM $353 0 9 3 . P005F 0007 ADC C0NTZ-DATARD-1 094* POO 60 0000 NUM 0 0 9 5 . P0061 0005 NUM 5 0 9 6 . POO 62 FFDS ADC < LIST+2-DATARD-1) 0 9 7 . POO 63 FFDO ADC (XPA-DATARD-1) 0 9 8 . POO 64 14EA JMP- CADISP) 0 9 9 . P0065 01 AO C0NTZ S0V 0 100* POO 66 C8CA LDA* ORMBL+1 101 . POO 67 88CC ADD* LIST+2 INCREASE DRMADD BY BLK S IZE 102 . POO 68 01A2 S0V P P R - * - I 103. P0069 68C7 STA* DRMBL+1 104 . P006A 1804 JMP* PPR2 105. P006B DSC 4 PPR RA0* DRMBL BUMP MSB 106. P006C AO 11 AND- $11 107. P006D 68C3 STA* DRMBL+1 1 0 8 . P006E E8C5 PPR2 LDQ* L IST+2 109 . P006F OOFE INQ - 1 110 . P0070 0844 CLR A 1/ 1 . P0071 6A00 NULL STA I I + l «Q NULL THE I I BL0CK

P0072 0FC5 112. P0073 ODFE INQ - 1 113. P0074 0171 SQM NULDN-*- l 114. P0075 18FB JMP* NULL 115. P0076 5800 NULDN RTJ PREFFT

P0077 OIF 1 116. P0078 E8BB YES LDQ* LIST42 * 117 . P0079 ODFE INQ - 1 118* PQ07A CAOO G0 LDA IR+1 f Q *

P007B 1BBD 119 . P007C 0121 SAP P 0 S - * - l • 120. P007D 0864 1CA A * 121. P007E 9808 P0S SUB* BIG * 122 . P007F 0123 SAP R E P L - * - I * 123. P0080 OWE 01V INQ - I * 124 . P0081 0145 SQZ D 0 N X - * - l * 125. P0082 18 F7 JMP* G0 * * * * * * FIND LARGEST IR,Q 126. P00S3 8803 REPL ADD* BIG * 127 . P0084 6802 STA* BIG * 128 . POO 85 18FA JMP* 0N * 129 • POO 86 0000 BIG NUM 0 130 . P0087 E8AC D0NX LDQ* LIST+2 131 • P0088 ODFE INQ - 1 1 32 . POO 89 CAOO G02 LDA I I + l ,Q *

P008A OFAD 133. P008B 0121 SAP P 0 S I - * - l * 134. P008C 0864 TCA A * 135. P008D 98F8 P0SI SUB* BIG * 136. P008E 0123 SAP R E P 2 - * - l * 137. P008F ODFE 0N2 INQ - 1 * * * * * * SAME F0R I I 138 . POO 90 0144 SQZ D0NYES-*-! *

Page 46: WSIBf , 1 - International Nuclear Information System (INIS)

39

139 . P0091 18F7 JMP* G02 * 140 . P0092 88F3 REP2 ADD* BIG * 141. P0093 68F2 STA* BIG * 142 . P0094 13 FA JMP* 0N2 * 143. P0095 C896 D0NYES LDA* TEST SEE I F FIRST RUN 0F BULKRY 144 . P0096 0901 INA 1

I F FIRST RUN 0F BULKRY

145. P0097 9890 SUB* L IST+3 146. P0098 0109 SAZ F R - * - l 147 . P0099 C331 LDA* BGST 148 . P009A 98EB SUB* BIG 1 4 9 . P009B 013B SAM C H - * - 1 150 . P009C C82F LDA* SMAL 151 . P009D 98 EB SUB* BIG 152. P009E 0132 SAM S M 0 K - * - l 153. P009F C8E6 LDA* BIG 154. P00A0 682B STA* SMAL 155. P00A1 1856 SM0K JMP* SORT 156. POOA2 182E FR JMP* FIRS 157 . POOA3 0000 0LSH NUM 0 158 . POOA4 0000 NUM 0 159 . P00A5 0000 AS NUM 0 160 . P00A6 0000 NUM 0 161. P00A7 C8DE CH LDA* BIG 162 . P00A8 6822 STA* BGST 1 6 3 . POOA9 C866 LDA* SHFTI 164. POOAA 68F8 STA* 0LSH 165. POOAB 5836 RTJ* SETSHF CK. SHIFTER. 166 . POOAC 0814 IRQ A 167. POOAD 98F5 SUB* 0LSH C0NPARE 10 0LD SHIFETER. 1 6 8 . POOAE 09FE INA - 1 1 6 9 . POOAF 0121 SAP Z Z - * - l SKIP I F GREATER. 170. POOBO 1847 JMP* S0RT 171 . P00B1 0901 ZZ INA 1 172 . POOB2 0822 IRA Q 173 . P0033 OBOO NOP 0 174 . P0034 OBOO N0P 0 175. P00B5 OBOO N0P 0 176. POOB6

POOB7 5800 0101

RTJ PPAC

177 . P0038 C8EA LDA* 0LSH 178 . POOB9 5489 RTJ- (AHEX) 179 . POOBA FFEA ADC ( A S - * ) 180. TY FMR1TE $ E , , A S - T Y - l , 2 . A , 4 , s a X 180. POOBB 54F4 180 . POOBC 0D40 180. POOBD

POOBE 0000 0000

180 . POOBF 1C0E 180 . POOCO

POOC1 0002 7 FES

181 . P00C2 1835 JMP* S0RT 182. POOC3

POOC4 COOO 5055

0P LDA =N$5055

183* P00C5 68 IF STA* AS 184 . POOC6 18 F4 JMP* TY 185 . POOC7 0F60 F60 HUN SF60 186 . P00C8 0000 BGSU NUN 0 187 • POOC9 0000 NUN 0

Page 47: WSIBf , 1 - International Nuclear Information System (INIS)

40

BGST NUM 0 SMAL NUM 0 L0C0 NUM 0 TAB NUM 0 TEMP NUM 0 C0UNT NUM 0 FIRS CLR Q

LDA LIST+*

HERE- * - l $11-L2MX H E R E - * - l 1 1

498 . POOCA OOOO 169 • POOCB 0000 190 . POOCC 0000 191. POOCD 0000 192. POOCE 0000 193. POOCF 0000 194. POO DO 0842 195. P00D1 C800

P00D2 FF60 196. POOD3 0105 SAZ 197. P00D4 0FC6 ALS 198 . POODS 0153 YY SAM 199. POODS 0FC1 ALS 2 0 0 . POOD7 ODOi INQ 2 0 1 . POODS 18FC 2 0 2 . POOD9 CAOO HERE

POODA FF49 2 0 3 . POODB 68F2 2 0 4 . POO DC C8A9 2 0 5 . POODD 68EC 206 . POOCE 68EC 2 0 7 . POO DF 5802 2 0 8 . POOEO 1817 2 0 9 . POOE1 0000 2 1 0 . POOE2 0844 21 1. POOE3 60FF 2 1 2 . P00E4 C8A1 2 1 3 . POOE5 28A0 2 1 4 . P00E6 0144 2 1 5 . P00E7 0F21 216 . POOE8 DOFF 2 1 7 . P00E9 0142 2 1 8 . POOEA 18FC 2 1 9 . POOEB 0121 2 2 0 . POOEC DOFF 221 . POOED EO FF 222 , POOEE F800

POOEF FFD7 223 , POOFO 4800

P00F1 001E 2 2 4 , P00F2 4800

P00F3 002C 2 2 5 , P00F4 1CEC 2 2 6 , P00F5 OBOO 2 2 7 , P00F6 OBOO 2 2 8 , P00F7 01 AO S0RT 2 2 9 , P00F8 C88D 2 3 0 , P00F9 88CF 2 3 1 , POOFA 01B2 2 3 2 , POOFB D8CC 2 3 3 , POOFC AO 11 2 3 4 , POOFD 68CB YH 2 3 5 , POOFE C*CF 2 3 6 , POOFF . '£00 2 3 7 , P0100 C3CC 2 3 8 , POiOl OAFD 2 3 9 , POl02 68CC 2 4 0 , P0103 CSC9

UT

TA SHX SH

JMP* YY LDA XX ,Q

STA* TEMP LDA* BIG STA* BGST STA* SMAL RTJ* SETSHF JMP* S0RT

SETSHF NUM 0 CLR A STA- I LDA* BIG MUI* BIG SQZ T A - * - 1

QRS I RA0 - I SQZ S H X - * - l JMP* UT

SAP S H - * - 1 RA0 - I

LDQ- I ADQ F60

STQ SHFTI

STQ SHFTR

JMP* CSETSHF) N0P N0P

S0V 0 LDA* BIG ADD* BGSU+1 SN0 YH - * - 1 RA0* BGSU AND- $11

STA* BGSU+1 LDA* TEMP N0P STA* TAB BITS T0 GET RIGHT 1 , 1 FRM BL0CK. ENA - 2 STA* C0UNT LDA* TAB

Page 48: WSIBf , 1 - International Nuclear Information System (INIS)

41

241 . POl 04 60FF STA- I 242* P0105 E900 G03 LDQ TABLE,I

POl 06 0334 2 4 3 . P0107 48C4 STQ* L0C0 244 c POl 08 0152 SQN D0RN - * - l Q WILL BE 0 AT 1 1 ( 0 ) DONT CHGE, 2 4 5 . P0109 1800 JMP CHECK G0 BACK TO SEE I F ALL DONE.

P010A FF44 2 4 6 . P010B CAOO D0RN LDA I I + l , Q

P010C 0F2B 2 4 7 . PO" OD 2A00 MUI I I + l , Q SQUARES I I

P010E 0F29 2 4 8 . POIOF 0F60 SHFTI LRS 0 SCALES BY AMT. FOND IN ZRT+4 ABOV 2 4 9 . POl 10 E88E LDQ* COUNT WE USE 2 WDS. FOR PSD TABLE, 2 5 0 . POl 11 0D02 INQ 2 10 INSURE RANGE. 251 . POl 12 4SBC STQ* C0UNT 2 5 2 . POl 13 01 AO SOV 0 2 5 3 . POl 14 8A00 ADD PSD+l ,Q

POl 15 1723 2 5 4 . POl 16 01B1 SNO N0XY-* -1 2 5 5 . POl 17 1812 JMP* XY 2 5 6 . POl 18 6A00 N0XY STA PSD+l,Q LSB OF PSD

POl 19 17 IF 2 5 7 . POl 1A E8B1 YZR LDQ* L0C0 2 5 8 . POl IB CAOO LDA I R + l , Q

POl JC 1B1C 2 5 9 . POl ID 2A00 MUI IR+1,Q SQUARES IR

POl IE IB 1A 2 6 0 . POl IF 0F60 SHFTR LRS 0 MODIFIED BY SETSHF (ABOVE) 2 6 1 . POl 20 E8AE LDQ* COUNT 2 6 2 . P0121 8A00 ADD PSD+l fQ

POl 22 .! 716 2 6 3 . POl 23 OIAB S0V X Y Z - * - l 2 6 4 . POl 24 6A00 STA PSD+l,Q

POl 25 1713 2 6 5 . P0126 DOFF WXY RA0 - I 2 6 6 . POl 27 1800 JMP GO 3

POl 28 FFDC 267 . POl 29 DAOO XY RA0 1 PSD,Q

P012A 170D 2 6 8 . P012B AO 11 AND- $11 2 6 9 . P012C 6A00 STA PSD+l tQ

P012D 17 OB 2 7 0 . P012E 18EB JMP* YZR 2 7 1 . P012F DAOO XYZ RA0 PSD,Q MSB OF PSD

POl 30 1707 MSB OF PSD

2 7 2 . POl 31 A011 AND- $11 2 7 3 . POl 32 6A00 STA PSD+l,Q

POl 33 1705 27 4 . POl 34 18F1 JMP* WXY 27 5 . POl 35 0000 CTRT NUM 0 2 7 6 . POl 36 0000 MMBIT NUM 0 2 7 7 . POl 37 0000 BIGP NUM 0 2 7 8 . POl 38 E800 FIXPSD LDQ LIST+1 * THIS I S MBIT

POl 39 FEF9 * THIS I S MBIT

2 7 9 . P013A OBOO N0P 2 8 0 . P013B 0FA1 QLS I * s2*MBIT 281 . P013C CAOO C0RZ LDA PSD-2,Q * MSB OF LAST PSD ENTRY

P013D 16F8 * MSB OF LAST PSD ENTRY

Page 49: WSIBf , 1 - International Nuclear Information System (INIS)

42

2 8 2 . P013E 0102 SAZ 0 N 4 - * - 1 2 8 3 . P013F 98 F7 SUB* BIGP * 2 8 4 . P0140 0123 SAP R E P P - * - l * * * * * FIND LARGEST PSD AND 2 8 5 . P0141 ODFD 0N4 INQ - 2 * PUT I T IN BIGP 2 8 6 . P0142 0144 SQZ STAK-* -1 * G0 T0 STAK WHEN D0NE 2 8 7 . P0143 18F8 JMP* C0RZ * 2 8 8 . P0144 88F2 REPP ADD* BIGP * 2 8 9 . PO145 68F1 STA* BIGP * 2 9 0 . P0146 18FA JMP* 0N4 2 9 1 . P0147 0C01 STAK ENQ 1 * 2 9 2 . POMS C8EE LDA* BIGP 2 9 3 . P0149 0F41 XRTF ARS 1 * 294 . P014A 0D01 INQ 1 * 2 9 5 . P014B 0101 SAZ FA R - * - l * 2 9 6 . P014C 18FC JMP* XRTF * * * * GET SCALE FACT0R. 297 . * Q HAS N0. 0F LRS NEEDED T0 PACK PSD 2 9 8 . P014D C8E9 FAR LDA* BIGP 2 9 9 . P014E 0105 SAZ L A Q - * - l 300 . P0 I4F F811 ADQ* PSDSHF 301 . P01 50 4810 STQ* PSDSHF SET UP INSTRUCTI0N F0R LRS. 302 . P0151 COOO LDA =N $FC 1

P0152 0FC1 303 . PO 1 53 68 OC STA* ASX 304. * NEED 10 REPACK PSD INT0 1 W0RD/ENTRY 305. PO 154 £800 LAQ LDQ LIST+1

P0155 FEDD 306. PO 1 56 0852 ICQ Q 307. P0157 48 DE STQ* MMBIT =MINUS MBIT 3 0 8 . P0158 0842 CLR Q 309 . P0159 48 DB STQ* CTRT INDEX F0R C0MPACTED PSD TABLE 310 . P015A 4 8 DC STQ* BIGP CLEAR BIGP F0R TEMP. USE. 31 1. P015B CAOO LPDA LDA PSD+1,Q

P015C 16DC 312. P015D EAOO LDQ PSDtQ

P015E 16D9 313 . P015F OFCO ASX ALS 0 314 . P0160 0F60 PSDSHF LRS 0 315. P0161 E8D3 LDQ* CTRT 316. P0162 6A00 STA PSDrQ

P0163 16D4 317 . PO 164 0D01 INQ 1 318 . P0165 48CF STQ* CTRT 319. P0166 F8CF ADQ* MMBIT SEE I F D0NE 320 . PO 167 OBOO N0P 321 . P0168 0144 SQZ D0NM-*- l 322 . P01 69 E8CD LDQ* BIGP 323 . P016A 0D02 INQ 2 324. P016B 48CB STQ* BIGP 325 . P01 6C 18EE JMP* LPDA 326. P016D E800 D0NM LDQ BGSU

P016E FF 59 327 . P016F C800 LDA BGSU+l

P017 0 FF58 328 . P017 1 0FC1 ALS 1 329 . P0172 0F61 LRS 1 330 . P0173 3800 DVI L IST+3 -N UMBLK

P0174 FECO 331 . P0175 5489 RTJ- (AHEX)

Page 50: WSIBf , 1 - International Nuclear Information System (INIS)

4 3

3 3 2 . 333 . 3 3 4 .

335* 336* 3 3 7 . 3 3 8 . 339 «

3 4 0 . 3 4 1 . 3 4 2 . 343 .

344 . 345 . 3 4 6 . 3 4 7 .

3 4 8 . 3 4 9 . 3 5 0 .

351 . 3 5 2 . 353 .

3 5 4 . 355 . 356. 357 .

3 5 8 .

3 5 9 . 360 . 361 . 3 6 2 . 363 . 364.

365. 365 . 365 . 365.

It'll

bbu* 167. 368 . 369 4

371 . 372 . 372 .

P 0 I 7 6 P0177 P0178 P0179 P0I7A P017B P017C P017D P017E P017F P0180 P0181 P0182 P0183 P0184 P0185 P0186 P0187 P0188 P0189 P018A P018B P018C P018D P018E P018F P0190 P0191 P0192 P0193 P0194 P0195 P0196 P0197 P0198 P0199 P019A P019B P019C P019D P019E POi 9F

P01A0 POI Al P01A2

U1A3 ro n ») n

PO o ^o po PO

A4 A* Afe Al 'id A9 AA AB AC

80BB C8A7 9000 0F60 6822 5489 80A5 C8E2 9000 0F6D 0101 09FE 0822 F800 0018 4817 5489 80 AO C800 FF40 5489 80 AB C800 FF3D 5489 809 D C800 FEAO 0F41 0FC1 8808 9000 0019 9800 FE99 EC6D 0142 1843 0000 0C06 6600 0039

54F4 0593 0009 0000 Opt) 5 nefio I w e floq§ 1 noo M E A (JAOQ 6C5B 605 B

X X

ADC (MSGD-*+19) LDA* SHFTR SUB sN$F60

STA* SHT0 RTJ- (AHEX) ADC CMSGD-*+3> LDA* PSDSHF SUB =N$F60

SAZ A Z E R - * - l INA - 1

AZER IRA Q ADQ SHT0

STQ* SHT0 RTJ- (AHEX) ADC (MSGD-*+9) LDA BGST

RTJ- (AHEX) ADC (MSGD-*424) LDA SMAL

RTJ- (AKEX) ADC (MSGD-*+14)

LDA LIST

ARS 1 ALS 1 ADD* SHT0 SUB =N25

SUB L IST

LDQ* (AUTFLG) SQZ Q A L - * - l JMP* Al 0N-LINE CASE,S0 N0 DRM WRITE 0F PSD.

SHT0 NUM 0 QAL ENQ 6

STA PAMLSTfQ THIS I S JBC0N (SEE LINE 402 )

ALL0 WRITE 5 y LETG-ALL0~ l#PSD*ALL0* l ,S200 ,B , 9 , 3 , , X

DRM ST0RE F0R PSD ANS

POIAD 54F4

NUM $E NUM S7D00 JMP- (SEA)

I rn H:NA n STA* (AUTFLG) STA* (MANFLG)

TR FWRJTE $ E » R L E T - T R - 1 , M S G D - T R - l , 3 5 , A , 5 , 3 , , X

Page 51: WSIBf , 1 - International Nuclear Information System (INIS)

44

372 , 372 ,

3 7 2 , 372 ,

373 , 374 , 374 , 374 , 3 7 4 , 375 , 376 ,

377 , 3 7 3 ,

37?, 380 , 381 , 3 6 2 ,

3 * 3 ,

304 , 30$, 306 , 387 , 3 8 8 ,

389 ,

3 9 0 , 3 9 1 , 392 , 393 , 394 , 395 , 396 , 397 ,

3 9 8 ,

399 ,

400 ,

401 ,

402, 403 , 404,

405 , 406, 407, 408 , 409 , 410 ,

POl AC POI AF POI 80 P01BI POI 82 P01B3 POI 94

P0IB5 POl 86 P01B7 P0IB8 POl 69 POIBA POIBB P018C POIBD POI BE P01BP POICO P01C1 P01C2 P01C3 P0IC4 P0IC5 P0IC6 P0IC7 P01C8 P0IC9 POICA POICB POICC POICD P01CE P01CF POl DO P01D1 P01D2 P01D3 P0ID4 P01D5 P01D6 P01D7 P01D8 P01D9 POIDA P01DB POl DC P01DD POl DE POl DF P01E0 P01E1 P01E2 P012 3 P0IS4 P01E5 P01E6 P01E7

0D53 0007 OOOO jOOE 0023 0070 IAEA

54F4 1901 FE49 0000 FOOO 0P60 4800 E800 FE75 OFA) ODFD 40 rr C900 1676 E900 1673 OFCI 0F60 0F41 AO 11 6900 166E 4900 1668 COFF 09 FD 0102 60 rr is zr 1CE5 7FFF X 4140 0000 7FFF X 4250 0000 0000 0000 0000 0000 0000 68PE C800 FE55 5CFI 5CF3 5AD4 7FF2 7FF3 C800 FE4D

NUN SHEA RUT RELEAS CBULKRY-RLET-O , T , X

PPAC NUN 0 ADO sfif$F60

STQ* m I T LDQ L I S T * }

QLS I INQ - 2 873- I

ARND LDA PSD+1,1

LDQ PSD,I

ALS I D0IT LRS 0

Aft* I AND- $11 STA PSD+1.1

STQ PSD,I

LDA- I INA - 2 SAZ F I D R - * - l STA- I JMP* ARND

FIDR JMP* (PPAC) Q8 ADC Q8QFLT FTW0 NUM $ 4 1 4 0 , 0

FL ADC FL0T TEN NUM 5 4 2 5 0 , 0

FN NUM 0 , 0

FLPS NUM 0 , 0

JBC0N NUM 0 sL62N(EVEN)+SHFT+PSDSHF-25-LG2N Al STA* J8C0N

LDA LIST+4

RTJ* (Q8> FL0AT 10, * SCAN RATE, RTJ* ( a > NUM $5 AD 4 DIV-STA, ADC TEN-* ADC FN-* =FL0ATIN SCANRT• LDA LIST+3 s NUMBLK

Page 52: WSIBf , 1 - International Nuclear Information System (INIS)

45

411, 412, 41 3 , 414 , 419, 416,

417, 418 , 419, 420, 421, 422, 423, 424,

426, 427, 428, 429, 430, 43i •

432, 433, 434 , 439, 436, 437, 438, 439 , 440 , 441 , 442 , 443, 444, 445, 446, 447, 448, 449, 490 , 491 ,

492,

493,

454 ,

499, 496, 497 , 498 , 499,

P0IE8 P0IE9 P01EA POIEB P01EC P01ED P01EE P01EF P01F0 POIFI P01F2 P01F3 P01F4 P0 IF9 P0IF6 P01F7 P01F8 P01F9 P01FA P01FB POIFC POIFO P01FE POIFF P0200 P020I P0202 P0203 P0204 P0209 P0203 P0207 P0208 P0209 P020A P020B P020C P020D P020E P020F P0210 P0211 P0212 P02 I3 P0214 P0219 P021 $ P02I7 P02I3 P0219 P021A P021B P021C POgID P02SE P021F P0220 P022I

9 CCA 9CEC 99D4 7FE0 7FEC 9400 X 7FFF X FFE4 FFEC 9C£4 9 AD 4 7FE9 7FE4 OC EF 0001 CAOO I73A 0 I6E 5CD8 5 CO A 9D40 7FD9 9400 X 7FFF X FFD6 5 CO 4 9ED4 7FD7 7FD6 18F0 7FFF X 7FFF X OAOF 9CC9 9 CCS 9D8A TFCA 7FCD 7FC8 9D59 7FC8 7FC9 7FFF X 4000 9400 X 7FFF X 6400 0042 C 9400 X 7FFF X FFCO 801E 138D 0000 2093 4846 943D 2020

PL2

RTJ* ( 0 8 ) RTJ* <FL> HUM 99904 HUL-STA/ ADC FN-* ADC FN-* s (NUN0LK) * (SCAHRT)•

RTJ Q8QF2I

ADC < FTV0 ) ADC (JBC0N-*) RTJ* (FL) NUN S9AD4 ADC FN-* ADC FN-* £ C0NST ENQ - 1 6 INQ 1

UDA i>SD+29l,0 = PSD(4) WHEN 0 s 0

SQP Q U - * - l RTJ* (08 ) 00 SUN 0F PSD ( 2 0 ) THRU P$0(9) v t fMI RTJ* ( F t ) IS s PSD(491) THRU PSD(906 ) ,

NUN $9040 ADC TEN-* KTJ SORT

ADC RTJ* NUN

A0C ADC JNP*

AUTFIG ADC NANFIG ADC QU ENA

RTJ* RTJ* NUN ADC ADC

ADC NUN

ADC ADC

ADC NUN

RTJ

ADD-ST0RE/

s SUN 0F PSD,

( T E N - * ) (a) $9E04

FLP8-* FLPS-* PL2

AUTSSY NAN0SY 19 = N0. 0F FREQS, SUNNED, (00) ( a ) $506 A TEN-* F t PS-*

TEN** S9D99

FN-* FLPS-* s C0NST * (SUN 0F PSD GROUPED).

SCAt SCALE C0NST. I * FILLED BY FlttfUN $4000 TERMINATE FLT , Q8QFIX

STA-LDA-DIV, TEMP, SAVE I N TEN

DIV, PSD SUM BY N0* 0 f SUNS,

MUL-S7A-ABS.N0DE-NUL.

NS6D

STA I NAG I N * $42

RTJ FL0AT

ADC ( a P S - * ) ADC (NSS D+27 - * > JNP* LET0 NUN 0 ALF 26« SHFT= PSDSHs NINs AVQs

Page 53: WSIBf , 1 - International Nuclear Information System (INIS)

P0222 2020 P0223 2020 P0224 5053 P O m 4453 P0226 4830 P022? 2020 P0228 2020 P0229 2020 P022A 4049 PO220 4E3D P022C 2020 P0220 2020 POZcZ 2020 P022F 4156 P0230 4730 P023I 2020 P0232 2020 P0233 2020 P0234 404I P0235 5830 P0236 2020 P0237 2020

460 . P0238 000A 461• P0239 4£4F

P023A 4953 P0238 4520 P023C 4341 P0230 4C43 P023E EE20 P023F 444F P0240 4E45

462 • P0241 GO00 0 P0242 OiFF

463. P0243 CAOO 464. P0244 6AOO SHE

P0245 15F2 465* P0246 OOFS 466* PC247 017X 46? • P0248 18FB 468• HEH 468* P0249 54F4 468* P024A 0063 468 • P0248 7F55

P024C 0000 4 6 8 . P0240 I00E 468 . P024C 0013

F024F OOOi 469* P0250 OAOC 470 . P025I 6034 471* P0252 6C84 472* P0253 I4EA 475* P0254 0000 474. P025S 49 4E WSS

P0256 5055 P0257 5420 P0258 4C4F P0223 5721 P025A 2050

4 6

nw soo A ALF 8,NOISE CALC. 00HE

100 sUSlFF

ENA 0 STA PSOfO

180 -1 SQH M E H - * - i

EKE WRITE S E s A l l 0 * H E K - i f W S S ~ H £ H - l , I 9 f A f 6 9 3 t f X

Ef« A 0 STA* <AUTFLG) STA* (MANFLG) JP1P- (SEA) NUM 0 ALF !9 t INPUT L0W! PSD NULLED AND V 0 I D . S0RRY.

Page 54: WSIBf , 1 - International Nuclear Information System (INIS)

47

P025B 5344 P025C 20 4E P025D 554 C P025E 4C45 P025F 4420 P0260 414E P0261 4420 P0262 564F P0263 4944 P0264 2E20 P0265 534F P0266 5252 P0267 592 E

47 5 . P0268 0000 PREFFT NUM 476 . P0269 580A RTJ* 477 . P026A 01A1 S0V 4 7 8 . P026B 1CFC JMP* 479 . P026C COOO SURE LDA

P026D 4849 480 . P026E 68E9 STA* 481 . P026F COOO LDA

P0270 2021 482 . P0271 68E7 STA* 433 . P0272 18D6 JMP* 4 * 4 . P0273 OBOO FFT42 N0P ^ 5 . P0274 C800 LDA

P027 5 FDBE 486. P0276 687A STA* 487 . P0277 C800 LDA

P027 8 FDB9 488 . P0279 0F41 ARS 439 . P027A 6871 STA* 490. P027B C800 LDA

P027C FDA6 491 e P027D 6875 STA* 492 . P027E C872 LDA* 493. P027F 6874 STA* 494. P0280 0A01 ENA 495. P0281 686E STA* 496. P0282 6800 STA

P0283 015A 497 . P0284 C867 P00002 IDA* 498 . P0285 9800 SUB

P0286 0157 499. P0287 0122 SAP 500 . P0288 1800 JMP

P02S9 0172 5 0 1 . P028A C869 LDA* 5 0 2 , P028B 0F42 ARS 503 . P028C 6861 STA* 504 . P028D C862 LDA* 505. P028E 2864 MUI* 506 . P028F 6865 STA* 507 . P0290 6865 STA* 508 e P0291 OA 02 ENA 509 <, P0292 2862 MUI* 510. P0293 6863 STA* 511 . P0294 6863 STA*

0 FFT42 SURE- * - ! (PREFFT)

sN$4849 SACI I F0R: HI

MSS+3 =N$2021 ASCI I F0R SPACE !

MSS+4 HEH

LIST+2 s NBLK

N LIST = LG2N

1 THIS GIVES LG4N=LG2N/2 U3 4N SAVJW1

JW1 N MLP

1 I LP I I I

LG4N I I I

2 P0000A

MLP 2

MLP0V4 I L P JW1 IW1 IC1 2 IW1 IW2 IC2

Page 55: WSIBf , 1 - International Nuclear Information System (INIS)

48

512 . P0295 0A03 EN A 3 513 . P0296 285E MUI* IW1 514 . P0297 6861 STA* IW3 515. P0298 6861 STA* IC3 516 . P0299 C854 LDA* MLP0V4 517. P029A 6860 STA* JNCT 518 . P029B C858 LDA* MLP 519 . P029C 685F STA* MLPINC 520. P029D OAOl EN A 1 521 . P029E 6800 STA IOSV

P029F 013F 522 . P02A0 684C STA* J 523 . P02A1 C84C P00001 LDA* MLP0V4 524 . P02A2 98 4A SUB* J 525. P02A3 0122 SAP 2 526 . P02A4 1800 JMP POOOOC

P02A5 014A 527. P02A6 C846 LDA* J 528 . P02A7 09FD INA - 2 529 , P02A8 0121 SAP 1 530. P02A9 1836 JMP* L I 4 531. P02AA 0109 SAZ 9 532. P02AB C84A LI 0 LDA* IC1 533. P02AC 8848 ADD* IW1 534. P02AD 6848 STA* IC1 535. P02AE C849 LDA* IC2 536. P02AF 8847 ADD* IV2 537. P02B0 6847 STA* IC2 538 . P02B1 C848 LDA* IC3 539 . P02B2 8846 ADD* IW3 540. P02B3 6846 STA* IC3 541 . P02B4 E8 43 L12 LDQ* IC2 542. P02B5 CAOO LDA JC0S-1 .9

P02B6 057F 543 . P02B7 6800 STA IC0S1

P02B8 OOAC 544. P02B9 E83C LDQ* IC1 545, P02BA CAOO LDA JC0S-1 «Q

P02BB 057A 546. P02BC 6800 STA IC0S2

P02BD 00 A8 547. P02BE E83B LDQ* IC3 548 . P02BF CAOO LDA JC0S-1 »Q

P02C0 0575 549 . P02C1 6800 STA IC0S3

P02C2 00A4 550. P02C3 C832 LDA* IC1 551. P02C4 882 0 ADD* NMX0V4 552. P02C5 6800 STA I S

P02C6 00A1 553. P02C7 0822 TRA Q 554. P02 C8 CAOO LDA JC0S-1 tQ

P02C9 056C 555. P02CA 6800 STA IS IN2

P02CB 009D 556. P02CC C82B LDA* IC2 557 . P02CD 8824 ADD* NMX0V4 558 . P02CE 6800 STA I S

P02CF 0098

Page 56: WSIBf , 1 - International Nuclear Information System (INIS)

49

559 • P02D0 0822 TRA Q 560. P02 D1 CAOO LDA JCOS-1,Q

P02D2 0563 561. P02D3 6800 STA IS IN1

P02D4 0095 562. P02D5 C824 LDA* IC3 563. P02D6 8800 ADD NMX0V4

P02D7 001A 564. P02D8 6800 STA IS

P02D9 008E 565. P02DA 0822 TRA Q 566. P02DB CAOO LDA JC0S-1,Q

P02DC 0559 567. P02DD 6800 STA IS IN3

P02DE 008C 568. P02DF C800 LI 4 LDA IOSV

P02E0 OOFE 569 . P02E1 6800 STA 10

P02E2 008A 570. P02E3 0A01 ENA 1 571. P02E4 680A STA* K 572 . P02E5 C80A POOOOO LDA* ILP 573 . P02E6 9808 SUB* K 574 . P02E7 0122 SAP 2 575. P02E8 1800 JMP POOOOD

P02E9 00 FF 576 . P02EA 1812 JMP* Z ILT 577 . P02EB 0B01 LG4N N0P 1 578 . P02 EC OB 01 J N0P 1 579 . P02ED 0B01 MLP0V4 N0P 1 580 . P02EE 0B01 K N0P 1 581 . P02EF 0B01 ILP N0P 1 582. P02F0 0B01 N N0P 1 583 . P02F1 0B01 NMX0V4 N0P 1 584. P02F2 0B01 JW1 N0P I 585. P02F3 0B01 MLP N0P 1 586 . P02F4 0B01 1W1 N0P 1 587 . P02F5 0B01 IC1 N0P 1 588 . P02F6 0B01 IW2 N0P 1 5 8 9 . P02F7 0B01 IC2 NOP 1 590. P02F8 0B01 IV3 N0P 1 591 . P02F9 0B01 IC3 NOP 1 592 . P02FA 0B01 JNCT NOP 1 593. P02FB 0B01 MLPINC NOP 1 594. P02FC C870 Z ILT LDA* 10 595. P02FD 88 PC ADD* JNCT 596. P02FE 686F STA* 11 597 . P02FF 88 FA ADD* JNCT 598 . P0300 686E STA* 12 599 . P0301 88 F8 ADD* JNCT 600. P0302 686D STA* 13 601 . P0303 C869 UDA* 10 602. P0304 60 FF STA- SOOFF 603. P0305 C900 LDA I R , 1

P0306 1931 604. P03C7 E867 LDQ* 12 605. P0308 8A00 ADD IR,Q

P0309 192E IR,Q

Page 57: WSIBf , 1 - International Nuclear Information System (INIS)

so

606. P030A 6866 STA* IRTO 607. P030B C900 LDA I I , I

P030C 002A 608 . P030D 8A00 ADD I I , Q

P030E 0D28 609 . P030F 6862 STA* I ITO 610. P0310 C900 LDA I R , I

P0311 1926 61 1. P0312 9A00 SUB IR,Q

P0313 1924 612 . P0314 685E STA* IRT2 61 3 . P0315 C900 LDA 1 1 , 1

P0316 01320 614. P0317 9A00 SUB I I , Q

P0318 0D1E 615. P0319 685A STA* I I T 2 616. P031A C853 LDA* I I 617. P031B 60FF STA- $00 FF 618 . P031C C900 LDA I R , I

P031D 191A 619. P031E E851 LDQ* 13 620. P03IF 8A00 ADD IR,Q

P0320 1917 IR,Q

621 . P032I 6853 STA* IRT1 622 . P0322 C900 IJDA I I , I

P0323 0DI3 623 . P0324 8A00 ADD I I , Q

P0325 0011 624 . P0326 684F STA* I I T I 625 . P0327 C900 IDA I R , I

P0328 190F 626 . P0329 9A00 SUB IR,Q

P032A 1900 IR,Q

6 2 7 . P032B 684B STA* IRT3 628* P032C 0900 LDA l l r l

P032D 0809 629* P032E 9A00 SUB I I ,Q

P032F 0007 630 . P0330 6847 STA* I 1 T 3 631 . P033 I C83F IDA* IRTO 6 3 2 . PQ332 8842 ADO* IRTt 6 3 3 . P0333 0F4I ARS 1 634 % P0334 €838 LDQ* 10 635% P0335 6A00 STA IR,Q

P0336 1901 IR,Q

6 3 6 . PQ33T C83A IDA* I ITO 6 3 7 , P0338 8 8 3 0 ADO* 1 I T I S38 . P0339 OF«I ARS 1 6 3 9 . P033A SAO© STA 1 1 , 0

PQ33B OCFS PQ33C C8AF IDA* J PG33® 09FE Ittft - 1 P®53E 0102 5 « * 2 P033F ©131 SAil 1 PH340 1333 u c

$45* e s s r I f ® IDA* IRTO 9332 S1J8* IST1

P0343 ®F45 ARS I

Page 58: WSIBf , 1 - International Nuclear Information System (INIS)

SI

648* P0344 E829 649 . P0345 6A00

P0346 18 Ft 650* P0347 C82A 651* P0348 982D 652* P0349 0F41 653* P034A 6A00

P034B 0CE8 654* P034C C826 655* P034D 882A 656* P034E 0F4t 657« P034F E81F 6 5 8 . P0350 6A00

P0351 18E6 659* P0352 C821 660* P0353 9823 661 . P0354 OF41 662 . P0355 6A00

P0396 OCEO 663* P0357 C81B 664* P0358 98IF 665* P0399 0F41 666* P035A E815 667* P035B 6A00

P035C 18 IB 668* P035D C816 669* P035E 8813 670* P035F 0F41 671* P0360 6A0Q

P0361 0C05 672 , P0362 1800

P0363 0072 673* P0364 OBOl 674. P0365 OBOi 675* P0366 OBOl 676* P0367 OBOl 677, P0368 OBOl 678* P0369 OBOl 679* P036A OBOl 680 . P036B OBOl 681, P036C OBOl 682* P0360 OBOl 633* P036E OBOI 684* P036F OBOl 685* P0370 OBOl 686* P037I 0301 687» P0372 OBOl 688* P0373 OBOl 689 , P0574 OBOl 690* P0379 OBOI 691, P0376 OBOl 692* P0377 OBO) 693* P0378 C8F7 694 . P0379 98FA €95. P037A 6869 696. P037B C8F5 697. P037C 98F8 698 . P037D 6363

LDQ* I I STA IR.Q

LDA* I I T O SUB* I ITK ARS STA 1 1 , 0

L24 IDA* IRT2 ADD* I I TS ARS U>0* I S STA

LDA* I I T 2 SUB* IRX3 ARS STA I I » Q

LDA* IRT2 SUB* i m ARS LDCf* 13 STA

IDA* i m ADD* IRT3 ARS STA

JNP L60

IC8S1 MiP IC9S2 HBP I CSS 3 HBP I S HBP IS IN2 HBP I S I N l HBP IS IN3 N*P POOOOF NtP 10 NOP 11 NOP 12 NBP 13 NBP IRTO NBP I ITO Ni? mz NOP I I T 2 NBP IRTl NBP I I T l NBP IRT3 NBP I J T 3 NBP 126 LDA* IRTO

SUB* IRTt STA* JRTl DBA* 11 TO SUB* 1 IT1 STA* JtIT!

Page 59: WSIBf , 1 - International Nuclear Information System (INIS)

52

6 9 9 . P 0 3 7 E C 8 F 3 L 3 6 LDA* I R T 2 7 0 0 . P 0 3 7 F 8 8 F 7 ADD* I I T 3 7 0 1 . P 0 3 8 0 6 8 6 1 S T A * J R T 2 7 0 2 , P 0 3 8 1 C 8 F 1 LDA* I I T 2 7 0 3 , P 0 3 8 2 9 8 F 3 S U B * I R T 3 7 0 4 , P 0 3 8 3 6 8 5 F S T A * J I T 2 7 0 5 . P 0 3 8 4 C 8 ED L D A * I R T 2 7 0 6 . P 0 3 8 5 9 8 F 1 S U B * I I T 3 7 0 7 . P 0 3 8 6 6 8 5 D S T A * J R T 3 7 0 8 . P 0 3 8 7 C8EB L D A * I I T 2 7 0 9 . P 0 3 8 8 SSED ADD* I R T 3 7 1 0 . P 0 3 8 9 6 8 5 B S T A * J I T 3 7 1 1 , P 0 3 8 A C 8 D 9 LDA* I C 0 S 1 7 1 2 , P 0 3 8 B 0 9 0 0 I N A 0 71 3 , P 0 3 8 C 0 1 I B SAN L 4 0 - * - ] 7 1 4 , P 0 3 8 D C 8 5 3 L 3 8 LDA* J I T 1 7 1 5 , P 0 3 8 E 0 F 4 1 ARS 1 7 1 6 , P 0 3 8 F E8DD LDQ* 1 1 7 1 7 , P 0 3 9 0 6 A 0 0 STA I R . Q

P 0 3 9 1 18A6 7 1 8 , P 0 3 9 2 C 8 4 D LDA* J R T 1 7 1 9 , P 0 3 9 3 0 F 4 1 ARS 1 7 2 0 , P 0 3 9 4 0 8 6 4 TCA A 7 2 1 , P 0 3 9 5 6 A 0 0 STA I I . Q

P 0 3 9 6 0CA0 7 2 2 , P 0 3 9 7 1 8 1 6 J M P * L 4 2 7 2 3 , P 0 3 9 8 C 8 4 8 L 4 0 LDA* J I T 1 7 2 4 , P 0 3 9 9 2 8 C F M U I * I S I NI 72 5 , P 0 3 9 A 4 8 4 B S T Q * POOOOG 72 6 , P 0 3 9 B C 8 4 4 LDA* J R T 1 7 2 7 , P 0 3 9 C 2 8 0 0 M U I I C 0 S 1

P 0 3 9 D FFC6 7 2 8 , P 0 3 9 E 0 8 1 4 IRQ A 7 2 9 , P 0 3 9 F 9 8 4 6 S U B * POOOOG 7 3 0 , P 0 3 A 0 E8CC LDQ* I 1 7 3 1 . P 0 3 A I 4 0 F F S T Q - $OOFF 7 3 2 . P 0 3 A 2 6 9 0 0 STA I R , I

P 0 3 A 3 1 8 9 4 7 3 3 , P 0 3 A 4 C 8 3 B LDA* J R T 1 7 3 4 , P 0 3 A 5 2 8 C 3 M U I * I S I N I 7 3 5 , P03A6 4 8 3 F S T Q * POOOOG 7 3 6 . P 0 3 A 7 C 8 3 9 LDA* J I T 1 7 3 7 . P 0 3 A 8 2 8 B B M U I * I C 0 S 1 7 3 8 . P03A9 0 8 1 4 IRQ A 7 3 9 , P03AA S 8 3 B ADD* POOOOG 7 4 0 . P 0 3 A B 6 9 0 0 STA I I . I

P 0 3 A C 0C8A 7 4 1 . P 0 3 A D C 8 3 5 L 4 2 L D A * J I T 2 7 4 2 , P 0 3 A E 2 8 B 9 M U I * I S I N 2 7 4 3 . P 0 3 A F 4 8 3 6 S T Q * POOOOG 7 4 4 . P03BO C 8 3 1 LDA* J R T 2 7 4 5 . P 0 3 B 1 2 8 B 3 M U I * I C 0 S 2 7 4 6 . P 0 3 B 2 0 8 1 4 TRQ A 7 4 7 . P 0 3 B 3 9 8 3 2 S U B * POOOOG 7 4 8 . P 0 3 B 4 E8B9 LDQ* 1 2 7 4 9 . P 0 3 B 5 6 A 0 0 STA I RyQ

P 0 3 B 6 1 8 8 1 7 5 0 . P 0 3 B 7 C82A LDA* J R T 2

Page 60: WSIBf , 1 - International Nuclear Information System (INIS)

5 3

7 5 1 . P 0 3 B 8 2 8 A F M U I * I S I N 2 7 5 2 « P 0 3 B 9 4 8 2 C S T Q * POOOOG 7 5 3 , P 0 3 B A C 8 2 8 LDA* J I T 2 7 5 4 . P 0 3 B B 2 8 A 9 M U I * I C 0 S 2 7 5 5 . P 0 3 B C 0 8 1 4 IRQ A 7 5 6 . P 0 3 B D 8 8 2 8 ADD* POOOOG 7 5 7 . P 0 3 B E E 8 A F LDQ* 1 2 7 5 3 . P 0 3 B F 6 A 0 0 STA I I ,Q

P 0 3 C 0 0 C 7 6 I I ,Q

7 5 9 . P 0 3 C 1 C 8 2 3 L D A * J I T 3 7 6 0 . P 0 3 C 2 2 8 A 7 M U I * I S I N 3 7 6 1 . P 0 3 C 3 4 8 2 2 S T Q * POOOOG 7 6 2 . P 0 3 C 4 C 8 1 F LDA* J R T 3 7 6 3 . P 0 3 C 5 2 8 AO M U I * I C 0 S 3 7 6 4 . P 0 3 C 6 0 8 1 4 TRQ A 7 6 5 . P 0 3 C 7 9 8 IE S U B * POOOOG 7 6 6 . P 0 3 C 8 E8A6 LDQ* 1 3 7 6 7 . P 0 3 C 9 4 0 FF S T Q - $ 0 0 FF 7 6 8 . P 0 3 C A 6 9 0 0 STA I R « I

P 0 3 C B 1 8 6 C 7 6 9 . P 0 3 C C C 8 1 7 LDA* J R T 3 7 7 0 . P 0 3 C D 2 8 9 C M U I * I S I N 3 7 7 1 . P 0 3 C E 4 8 1 7 S T Q * POOOOG 7 7 2 . P 0 3 C F C 8 S 5 I D A * J I T S 7 7 3 . P03DO 2 8 9 5 M U I * I C 0 S 3 7 7 4 . P 0 3 D 1 0 8 1 4 TRQ A 7 7 5 . P 0 3 D 2 8 8 1 3 ADD* POOOOG 7 7 6 . P 0 3 D 3 6 9 0 0 STA I l f l

P 0 3 D 4 0 C 6 2 7 7 7 . P 0 3 D 5 C 8 9 6 L 6 0 LDA* 1 0 7 7 8 . P 0 3 D 6 8 8 0 0 ADD M L P I N C

P 0 3 D 7 F F 2 3 7 7 9 . P 0 3 D 8 6 8 9 3 S T A * 1 0 7 8 0 . P 0 3 D 9 D 8 0 0 RA0 K

P 0 3 D A F F 13 7 8 1 . P 0 3 D B 1 8 0 0 JMP POOOOO

P 0 3 D C F F 0 8 7 8 2 . P 0 3 D D OBOl I I I N0P 7 8 3 . P 0 3 D E 0 B 0 1 I O S V NOP 7 8 4 . P 0 3 D F OBOl J R T l N0P 7 8 5 . P 0 3 E 0 OBOl J I T 1 N0P 7 8 6 . P 0 3 E I OBOl J R T 2 N0P 7 8 7 . P 0 3 E 2 0 3 0 1 J I T 2 NOP 7 8 8 . P 0 3 E 3 OBOl J R T 3 NOP 7 8 9 . P 0 3 E 4 OBOl J I T 3 NOP 7 9 0 . P 0 3 E 5 OBOl POOOOG NOP 7 9 1 . P 0 3 E 6 OBOl NOP 7 9 2 . P 0 3 E 7 OBOl NOP 7 9 3 . P 0 3 E 8 OBOO POOOOD NOP 0 79 4 . P 0 3 E 9 D8F4 L 8 0 RAO* I O S V 7 9 5 . P 0 3 E A D 8 0 0 RAO J

P 0 3 E B FFOO 7 9 6 . P 0 3 E C 1 8 0 0 JMP P 0 0 0 0 1

P 0 3 E D FEB3 7 9 7 . P 0 3 E E OBOl NOP 1 7 9 8 . P 0 3 E F C 8 0 0 POOOOC LDA I L P

P 0 3 P 0 F E F E 7 9 9 . P 0 3 F 1 0 F C 2 ALS 2 8 0 0 . P 0 3 F 2 6 8 0 0 STA I L P

P 0 3 F 3 FEFB

Page 61: WSIBf , 1 - International Nuclear Information System (INIS)

54

801 . P03F4 C800 LI 00 LDA MLP0V4 P03F5 FEF7

802. P03F6 6800 STA MLP P03F7 FEFB

803 . P03F8 D8E4 RA0* I I I 804. P03FS 1800 JMP P00002

P03FA FE89 805. P03FB C800 POOOOA LDA LG4N

P03FC FEEE 806. P03FD 0FC1 ALS 1 807 . P03FE 0864 TC A A 808 . P03FF 8800 ADD LIST

P0400 FC31 809 . P0401 0900 INA 0 810. P0402 0112 SAN 2 81 1. P0403 1C00 JMP (FFT42)

P0404 FE6E 812 . P0405 0A02 LI 02 ENA 2 81 3 . P0406 68 D6 P00003 STA* I I I 814 . P0407 0864 TCA A 815 . P0 408 8800 ADD N

P0409 FEE6 816. P040A 0122 SAP 2 8 1 7 . P040B 1C00 JMP (FFT42)

P040C FE66 8 1 8 . P040D CSCF LDA* I I I 81 S . P040E 09FE INA 8 2 0 . P040F 6800 STA J

P0410 FEDB 821 . P041 1 C800 LDA J

P0412 FED9 8 2 2 . P0413 60 FF STA- $00 FF 823. P0414 C900 LDA I R , I

P0415 1822 824 . P04 I6 E8C6 LDQ* I I I 825.- P0417 8A00 ADD IR,Q

P0418 18 IF 826. P0419 6800 STA 11

P041A FF 52 827. P041B C900 LDA I I , I

P041C OC IA 8 2 8 . P041D 8A00 ADD 1 1 , 9

P041E OC 18 8 2 9 . P041F 6800 STA 12

P0420 FF4D 830 . P042I C900 LDA IR ,1

P0422 1815 831 . P0423 9A00 SUB I R,Q

P0424 1813 832 . P0425 6A00 STA IR ,Q

P0426 1811 833 . P0427 C900 LDA I l t l

P0428 OCOE 834 . P0429 9A00 SUB 11 ,Q

P042A OCOC 835. P042B 6A00 STA 11 ,Q

P042C OCOA 836 . P042D C800 LDA 11

P042E FF3E

Page 62: WSIBf , 1 - International Nuclear Information System (INIS)

5 5

837 . P042F 6900 STA I R , I P0430 1807

8 3 8 . P0431 C800 L103 LDA 12 P0432 FF3B

8 3 9 . P0433 E800 LDQ J P0434 FEB7

840 . P0435 6A00 STA 11 ,Q P0436 0C00

841 . P0437 C8A5 LDA* I I I 842 . P0438 0902 INA 2 843 . P0439 18CC JMP* P00003

TABLE NUM 2 0 4 4 , 1 0 2 0 1532 0508 1788 0764 1276 0252 1916 0892 1404 ,0380 NUM 1660 ,0636 1143 0124 1980 0956 1468 0444 1724 0700 1212 ,0188 NUM 1852 ,0828 1340 0316 1596 0572 1084 0060 2012 0988 1500 ,0476 NUM 1756 ,0732 1244 0220 1884 0360 1372 0343 1628 0604 1116 ,0092 NUM 1948 ,0924 1436 0412 1 692 0668 1 180 0156 1320 0796 1308 ,0284 NUM 1564 ,0540 1052 0028 2028 1004 1516 0492 1772 0748 1260 ,0236 NUM 1900 ,0876 1388 0364 1644 0620 1 132 0108 1964 0940 1452 ,0428 NUM 1708 ,0684 1196 0172 1836 0812 1324 0300 1580 0556 1068 ,0044 NUM 1996 ,0972 1484 0460 1740 0716 1228 0204 1368 0344 1356 ,0332 NUM 1612 ,0588 1100 0076 1932 0908 1 420 0396 1676 0652 1164 ,0140 NUM 1804 ,0780 1292 0268 1548 0524 1036 0012 2 0 3 6 1012 1524 ,0500 NUM 1780 ,0756 1268 0244 1908 0884 1396 0372 1652 0628 1140 ,0116 NUM 1972 ,0948 1460 0436 1716 0692 1204 0180 1844 0820 1332 ,0308 NUM 1588 ,0564 1076 0052 2004 0980 1492 0468 1748 072 4 1236 ,0212 NUM 1876 ,0852 1364 0340 1620 0596 1 108 0084 1940 0916 1428 ,0404 NUM 1684 ,0660 1172 0148 1812 0788 1300 0276 1556 0532 1044 ,0020 NUM 2 0 2 0 , 0 9 9 6 1508 0484 1764 0740 1252 0223 1892 0868 1380 ,0356 NUM 1636 ,0612 1124 0100 1956 0932 1444 0420 1700 0676 1188 .0164 NUM 1828 ,0804 1316 0292 1572 0548 1060 0036 1988 0964 1476 ,0452 NUM 1732 ,0708 1220 0196 1860 0836 1348 0324 1604 0580 1092 ,0068 NUM 1 9 2 4 , 0 9 0 0 1412 0388 1668 0644 1 156 0132 1796 0772 1284 ,0260 NUM 1540 ,0516 1028 0004 2040 1016 1528 0504 1784 0760 1 2 7 2 , 0 2 4 8 NUM 1912 ,0888 1 400 0376 1656 0632 1 144 0120 1976 0952 1464 ,0440 NUM 1720 ,0696 1208 0184 1848 0824 1336 0312 1592 0568 1080 ,0056 NUM 2 0 0 8 , 0 9 8 4 1496 0472 1752 0728 1240 0216 i 880 0856 1368 ,0344 NUM 1624 ,0600 11 12 0088 1944 0920 1432 0408 1688 0664 1176 ,0152 )UM 1816 ,0792 1304 0280 1 560 0536 1048 0024 2024 1000 1512 ,0488

NUM 1768 ,0744 i 2 5 6 0232 1896 0872 1384 0360 1640 0616 1128 ,0104 NUM 1960 ,0936 1448 0424 1704 0680 1 192 0168 1832 0808 1320 ,0296 NUM 1576 ,0552 1064 0040 1992 0968 1480 0456 1736 0712 1224 ,0200 NUM 1864 ,0840 1352 0328 i 608 0584 1096 0072 1928 0904 1416 ,0392 NUM 1672 ,0648 1160 0136 1800 0776 1288 0264 1544 0520 1032 ,0008 NUM 2032?1008 1520 0496 1776 0752 1264 0240 1904 0380 1392 .0368

NUM 1 6 4 8 , 0 6 2 4 , 1 3 6 , 0 1 1 2 , 9 6 8 . 0 9 4 4 . 4 5 6 , 0 4 3 2 , 7 1 2 . 0 6 8 8 , 1 2 0 0 . 0 1 7 6 NUM 1 8 4 0 , 0 8 1 6 1328 0304 1584 0560 1072 0048 2000 0976 1488 ,0464 NUM 1744 ,0720 1232 0208 1872 0848 1360 0336 1616 0592 1104 ,0080 NUM 1 9 3 6 , 0 9 1 2 1424 0400 1680 0656 1168 0144 1808 0784 1296 ,0272 NUM 1552 ,0528 1040 0016 2 0 1 6 0992 1 504 0480 1760 0736 1248 ,0224 NUM 1888 ,0864 1376 0352 1632 0608 1120 0096 1952 0928 1440 ,0416 NUM 1696 ,0672 1184 0160 1824 0800 1312 0288 1568 0544 1056 ,0032 NUM 1984 ,0960 1472 0448 1728 0704 1216 0192 1856 0832 1344 ,0320 NUM 1600 ,0576 1088 0064 1920 0896 1408 0384 1664 0640 1 152 ,0128 NUM 1 7 9 2 , 7 6 8 , 2 3 0 , 2 5 6 , 1 5 3 6 . 5 1 2 . 1 0 2 4 , 0

TA1024 NUM 1020 ,0508 0764 0252 0892 0380 0636 0124 0956 0444 0 7 0 0 , 0 1 8 8 NUM 0 8 2 8 , 0 3 1 6 0572 0060 0988 0476 0732 0220 0860 0348 0 6 0 4 , 0 0 9 2 NUM 0 9 2 4 , 0 4 1 2 0668 0156 0796 0284 0540 0028 1004 0492 0 7 4 8 , 0 2 3 6

Page 63: WSIBf , 1 - International Nuclear Information System (INIS)

56

NUM 0 8 7 6 , 0 3 6 4 , 0 6 2 0 , 0 1 0 8 , 0 9 4 0 , 0 4 2 8 , 0 6 8 4 , 0 1 7 2 , 0 8 1 2 , 0 3 0 0 , 0 5 5 6 , 0 0 4 4 NUM 0 9 7 2 , 0 4 6 0 , 0 7 1 6 , 0 2 0 4 , 0 8 4 4 , 0 3 3 2 , 0 5 8 8 , 0 0 7 6 , 0 9 0 8 , 0 3 9 6 , 0 6 5 2 , 0 1 4 0 NUM 0 7 8 0 , 0 2 6 8 , 0 5 2 4 , 0 0 1 2 , 1 0 1 2 , 0 5 0 0 , 0 7 5 6 , 0 2 4 4 , 0 8 8 4 , 0 3 7 2 , 0 6 2 8 . 0 1 1 6 NUM 0 9 4 8 , 0 4 3 6 , 0 6 9 2 , 0 1 8 0 , 0 8 2 0 , 0 3 0 8 , 0 5 6 4 , 0 0 5 2 , 0 9 8 0 , 0 4 6 8 , 0 7 2 4 , 0 2 1 2 NUM 0 8 5 2 , 0 3 4 0 , 0 5 9 6 , 0 0 8 4 , 0 9 1 6 , 0 4 0 4 , 0 6 6 0 , 0 1 4 8 , 0 7 8 8 , 0 2 7 6 , 0 5 3 2 , 0 0 2 0 NUM 0 9 9 6 , 0 4 8 4 , 0 7 4 0 , 0 2 2 8 , 0 8 6 8 , 0 3 5 6 , 0 6 1 2 , 0 1 0 0 , 0 9 3 2 , 0 4 2 0 , 0 6 7 6 , 0 1 6 4 NUM 0 8 0 4 , 0 2 9 2 , 0 5 4 8 , 0 0 3 6 , 0 9 6 4 , 0 4 5 2 , 0 7 0 8 , 0 1 9 6 , 0 8 3 6 , 0 3 2 4 , 0 5 8 0 , 0 0 6 8 NUM 0 9 0 0 , 0 3 8 8 , 0 6 4 4 , 0 1 3 2 , 0 7 7 2 , 0 2 6 0 , 0 5 1 6 , 0 0 0 4 , 1 0 1 6 , 0 5 0 4 , 0 7 6 0 , 0 2 4 8 NUM 0 8 8 8 , 0 3 7 6 , 0 6 3 2 , 0 1 2 0 , 0 9 5 2 , 0 4 4 0 , 0 6 9 6 , 0 1 8 4 , 0 8 2 4 , 0 3 1 2 , 0 5 6 8 , 0 0 5 6 NUM 0 9 8 4 , 0 4 7 2 , 0 7 2 8 , 0 2 1 6 , 0 8 5 6 , 0 3 4 4 , 0 6 0 0 , 0 0 8 8 , 0 9 2 0 , 0 4 0 8 , 0 6 6 4 , 0 1 5 2 NUM 0 7 9 2 , 0 2 8 0 , 0 5 3 6 , 0 0 2 4 , 1 0 0 0 , 0 4 8 8 , 0 7 4 4 , 0 2 3 2 , 0 8 7 2 , 0 3 6 0 , 0 6 1 6 , 0 1 0 4 NUM 0 9 3 6 , 0 4 2 4 , 0 6 8 0 , 0 1 6 8 , 0 8 0 8 , 0 2 9 6 , 0 5 5 2 , 0 0 4 0 , 0 9 6 8 , 0 4 5 6 , 0 7 1 2 , 0 2 0 0

NUM NUM NUM NUM NUM NUM NUM

TAB51 2 NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM

T A B 2 5 6 NUM NUM NUM NUM NUM NUM

TABi 2 8 NUM NUM NUM

TAB64 NUM NUM

TAB32 NUM TABI 6 NUM JC0S NUM

NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM

Page 64: WSIBf , 1 - International Nuclear Information System (INIS)

57

N U M 0 3 0 8 1 8 , 0 3 0 7 8 4 , 0 3 0 7 4 9 , 0 3 0 7 1 4 , 0 3 0 6 7 9 , 0 3 0 6 4 4 , 0 3 0 6 0 8 , 0 3 0 5 7 2

N U M 0 3 0 5 3 5 , 0 3 0 4 9 9 , 0 3 0 4 6 2 , 0 3 0 4 2 5 , 0 3 0 3 8 7 , 0 3 0 3 5 0 , 0 3 0 3 1 2 , 0 3 0 2 7 3 N U M 0 3 0 2 3 5 , 0 3 0 1 9 6 , 0 3 0 1 5 6 , 0 3 0 1 1 7 , 0 3 0 0 7 7 , 0 3 0 0 3 7 , 0 2 9 9 9 7 , 0 2 9 9 5 6

NfJM 0 2 9 9 1 5 , 0 2 9 8 7 4 , 0 2 9 8 3 3 , 0 2 9 7 9 1 , 0 2 9 7 4 9 , 0 2 9 7 0 7 , 0 2 9 6 6 4 , 0 2 9 6 2 1

N U M 0 2 9 5 7 8 , 0 2 9 5 3 5 , 0 2 9 4 9 1 , 0 2 9 4 4 7 , 0 2 9 4 0 3 , 0 2 9 3 5 9 , 0 2 9 3 1 4 , 0 2 9 2 6 9

N U M 0 2 9 2 2 3 , 0 2 9 1 7 8 , 0 2 9 1 3 2 , 0 2 9 0 8 6 , 0 2 9 0 3 9 , 0 2 8 9 9 3 , 0 2 8 9 4 6 , 0 2 8 8 9 8 N U M 0 2 8 8 5 1 , 0 2 8 8 0 3 , 0 2 8 7 5 5 , 0 2 8 7 0 7 , 0 2 8 6 5 8 , 0 2 8 6 0 9 , 0 2 8 5 6 0 , 0 2 8 5 1 1

N U M 0 2 8 4 6 1 , 0 2 8 4 1 1 , 0 2 8 3 6 1 , 0 2 8 3 1 0 , 0 2 8 2 5 9 , 0 2 8 2 0 8 , 0 2 8 1 5 7 , 0 2 8 1 0 6

N U M 0 2 8 0 5 4 , 0 2 8 0 0 2 , 0 2 7 9 4 9 , 0 2 7 8 9 7 , 0 2 7 8 4 4 , 0 2 7 7 9 1 , 0 2 7 7 3 7 , 0 2 7 6 8 4

N U M 0 2 7 6 3 0 , 0 2 7 5 7 6 , 0 2 7 5 2 1 , 0 2 7 4 6 6 , 0 2 7 4 1 1 , 0 2 7 3 5 6 , 0 2 7 3 0 1 , 0 2 7 2 4 5 N U M 0 2 7 1 8 9 , 0 2 7 1 3 3 , 0 2 7 0 7 6 , 0 2 7 0 2 0 f 0 2 6 9 6 3 , 0 2 6 9 0 5 , 0 2 6 8 4 8 , 0 2 6 7 9 0 N U M 0 2 6 7 3 2 , 0 2 6 6 7 4 , 0 2 6 6 1 5 , 0 2 6 5 5 7 , 0 2 6 4 9 8 , 0 2 6 4 3 8 , 0 2 6 3 7 9 , 0 2 6 3 1 9 N U M 0 2 6 2 5 9 , 0 2 6 1 9 9 , 0 2 6 1 3 8 , 0 2 6 0 7 7 , 0 2 6 0 1 6 , 0 2 5 9 5 5 , 0 2 5 8 9 4 , 0 2 5 8 3 2

N U M 0 2 5 7 7 0 , 0 2 5 7 0 8 , 0 2 5 6 4 5 , 0 2 5 5 8 3 , 0 2 5 5 2 0 , 0 2 5 4 5 7 , 0 2 5 3 9 3 , 0 2 5 3 3 0 N U M 0 2 5 2 6 6 , 0 2 5 2 0 1 , 0 2 5 1 3 7 , 0 2 5 0 7 3 , 0 2 5 0 0 8 , 0 2 4 9 4 3 , 0 2 4 8 7 7 , 0 2 4 8 1 2

N U M 0 2 4 7 4 6 , 0 2 4 6 8 0 , 0 2 4 6 1 4 , 0 2 4 5 4 7 <j 0 2 4 4 8 0 , 0 2 4 4 1 4 , 0 2 4 3 4 6 , 0 2 4 2 7 9

NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM NUM

0 2 4 2 1 1 0 2 3 6 6 2 0 2 3 0 9 9 0 2 2 5 2 1 0 2 1 9 3 1 0 2 1 3 2 6 0 2 0 7 0 9 020080 0 1 9 4 3 9 0 1 8 7 8 5 0 1 8 1 2 1 0 1 7 4 4 5 0 1 6 7 5 9 0 1 6 0 6 3 0 1 5 3 5 7 0 1 4 6 4 2 0 1 3 9 1 9 0 1 3 1 3 6 0 1 2 4 4 6 0 1 1 6 9 9 0 1 0 9 4 4 0 1 0 1 8 3 0 0 9 4 1 5 0 0 8 6 4 2 0 0 7 8 6 4 0 0 7 0 8 1 0 0 6 2 9 4 0 0 5 5 0 3 0 0 4 7 0 8 0 0 3 9 1 1 0 0 3 1 1 1 0 0 2 3 1 0 0 0 1 5 0 7 0 0 0 7 0 3 - 0 0 1 0 0 - 0 0 9 0 4 - 0 1 7 0 8 - 0 2 5 1 0 - 0 3 3 1 1 - 0 4 1 1 0 - 0 4 9 0 7

0 2 4 1 4 4 0 2 3 5 9 3 0 2 3 0 2 7 0 2 2 4 4 8 0 2 1 8 5 6 0 2 1 2 5 0 0 2 0 6 3 1 0 2 0 0 0 1 0 1 9 3 5 8 0 1 8 7 0 3 0 1 8 0 3 7 0 1 7 3 6 0 0 1 6 6 7 3 0 1 5 9 7 6 0 1 5 2 6 9 0 1 4 5 5 2 0 1 3 8 2 8 0 1 3 0 9 4 0 1 2 3 5 3 0 1 1 6 0 5 0 1 0 8 4 9 0 1 0 0 8 7 0 0 9 3 1 9 0 0 8 5 4 5 0 0 7 7 6 6 0 0 6 9 8 3 0 0 6 1 9 5 0 0 5 4 0 3 0 0 4 6 0 9 0 0 3 8 1 1 0 0 3 0 1 1 0 0 2 2 1 0 0 0 1 4 0 7 0 0 0 6 0 3 - 0 0 2 0 1 - 0 1 0 0 5 - 0 1 8 0 8 - 0 2 6 1 1 - 0 3 4 1 1 - 0 4 2 1 0 - 0 5 0 0 6

0 2 4 0 7 5 0 2 3 5 2 3 0 2 2 9 5 6 0 2 2 3 7 5 0 2 1 7 8 1 0 2 1 1 7 3 0 2 0 5 5 3 0 1 9 9 2 1 0 1 9 2 7 6 0 1 8 6 2 0 0 1 7 9 5 3 0 1 7 2 7 5 0 1 6 5 8 6 0 1 5 8 8 8 0 1 5 1 8 0 0 1 4 4 6 2 0 1 3 7 3 6 0 1 3 0 0 2 012260 0 1 1 5 1 1 0 1 0 7 5 4 0 0 9 9 9 1 0 0 9 2 2 3 0 0 8 4 4 8 0 0 7 6 6 9 0 0 6 8 8 4 0 0 6 0 9 6 0 0 5 3 0 4 0 0 4 5 0 9 0 0 3 7 1 1 0 0 2 9 1 1 0 0 2 1 0 9 0 0 1 3 0 6 0 0 0 5 0 2 - 0 0 3 0 1 - 0 1 3 0 5 - 0 1 9 0 9 - 0 2 7 1 1 - 0 3 5 1 1 - 0 4 3 1 0 - 0 5 1 0 6

0 2 4 0 0 7 0 2 3 4 5 3 0 2 2 8 8 4 0 2 2 3 0 1 0 2 1 7 0 6 0 2 1 0 9 7 0 2 0 4 7 5 0 1 9 8 4 1 0 1 9 1 9 5 0 1 8 5 3 7 0 1 7 8 6 9 0 1 7 1 8 9 0 1 6 4 9 9 0 1 5 8 0 0 0 1 5 0 9 0 0 1 4 3 7 2 0 1 3 6 4 5 0 1 2 9 1 0 0 1 2 1 6 7 0 1 1 4 1 6 0 1 0 6 5 9 0 0 9 8 9 6 0 0 9 1 2 6 0 0 8 3 5 1 0 0 7 5 7 1 0 0 6 7 8 6 0 0 5 9 9 7 0 0 5 2 0 5 0 0 4 4 0 9 0 0 3 6 1 1 0 0 2 8 1 1 0 0 2 0 0 9 0 0 1 2 0 6 0 0 0 4 0 2 - 0 0 4 0 2 - 0 1 2 0 6 - 0 2 0 0 9 - 0 2 8 1 1 - 0 3 6 1 1 - 0 4 4 0 9 - 0 5 2 0 5

023939 023382 022812 022228 021630 02102b 020396 019761 019113 018454 017784 017104 016413 015712 015001 014282 013554 012817 012073 011322 010564 009800 009029 008254 007473 006688 005898 005106 004310 003511 002711 001909 001105 000301 - 0 0 5 0 2 - 0 1 3 0 6 - 0 2 1 0 9 -02911 -03711 - 0 4 5 0 9 - 0 5 3 0 4

, 0 2 3 8 7 0 , 0 2 3 3 1 2 , 0 2 2 7 4 0 , 0 2 2 1 5 4 , 0 2 1 5 5 5 , 0 2 0 9 4 2 , 0 2 0 3 1 8 , 0 1 9 6 8 1 , 0 1 9 0 3 2 , 0 1 8 3 7 1 , 0 1 7 7 0 0 , 0 1 7 0 1 8 , 0 1 6 3 2 5 , 0 1 5 6 2 3 , 0 1 4 9 1 2 , 0 1 4 1 9 1 , 0 1 3 4 6 2 , 0 1 2 7 2 5 , 0 1 1 9 8 0 , 0 1 1 2 2 3

0 1 0 4 6 9 0 0 9 7 0 4 0 0 8 9 3 3 0 0 8 1 5 6 0 0 7 3 7 5 0 0 6 5 8 9 0 0 5 8 0 0 0 0 5 0 0 6 0 0 4 2 1 0 0 0 3 4 1 1 0 0 2 6 1 1 001808 0 0 1 0 0 5 000201 - 0 0 6 0 3 - 0 1 4 0 7 - 0 2 2 1 0 - 0 5 0 1 1 - 0 3 8 1 1 - 0 4 6 0 9 - 0 5 4 0 3

0 2 3 8 0 1 , 0 2 3 7 3 2 0 2 3 2 4 1 , 0 2 3 1 7 0 0 2 2 6 6 7 , 0 2 2 5 9 4 0 2 2 0 8 0 , 0 2 2 0 0 5 0 2 1 4 7 9 , 0 2 1 4 0 3 0 2 0 8 6 5 , 0 2 0 7 8 7 0 2 0 2 3 9 , 0 2 0 1 5 9 0 1 9 6 0 0 , 0 1 9 5 1 9 0 1 8 9 5 0 , 0 1 8 8 6 8 0 1 8 2 8 8 , 0 1 8 2 0 4 0 1 7 6 1 5 , 0 1 7 5 3 0 0 1 6 9 3 2 , 0 1 6 8 4 6 0 1 6 2 3 8 , 0 1 6 1 5 1 0 1 5 5 3 5 , 0 1 5 4 4 6 0 1 4 8 2 2 , 0 1 4 7 3 2 0 1 4 1 0 0 , 0 1 4 0 1 0 0 1 3 3 7 0 , 0 1 3 2 7 3 0 1 2 6 3 2 , 0 1 2 5 3 9 0 1 1 8 8 6 , 0 1 1 7 9 3 0 1 1 1 3 3 , 0 1 1 0 3 9 0 1 0 3 7 4 , 0 1 0 2 7 8 0 0 9 6 0 8 , 0 0 9 5 1 2 0 0 8 8 3 6 , 0 0 8 7 3 9 0 0 8 0 5 9 , 0 0 7 9 6 1 0 0 7 2 7 7 , 0 0 7 1 7 9 0 0 6 4 9 1 , , 0 0 6 3 9 2 0 0 5 7 0 1 , 0 0 5 6 0 2 0 0 4 9 0 7 , 0 0 4 8 0 8 0 0 4 1 1 0 , 0 0 4 0 1 1 0 0 3 3 1 1 , 0 0 3 2 1 1 0 0 2 5 1 0 , 0 0 2 4 1 0 0 0 1 7 0 8 , 0 0 1 6 0 7 0 0 0 9 0 4 , 0 0 0 8 0 4 000100.000000 - 0 0 7 0 o - 0 0 8 0 4 - 0 1 5 0 7 , - 0 1 6 0 7 - 0 2 3 1 0 , - 0 2 4 1 0 - 0 3 1 1 1 , - 0 3 2 1 1 - 0 3 9 1 1 , - 0 4 0 1 1 - 0 4 7 0 8 , - 0 4 8 0 8 - 0 5 5 0 3 , - 0 5 6 0 2

Page 65: WSIBf , 1 - International Nuclear Information System (INIS)

58

NUM - 0 5 7 0 1 -05800 -05898 - 0 5 9 9 7 - 0 6 0 9 6 - 0 6 1 9 5 -06294 - 0 6 3 9 2 NUM -06491 -06589 - 0 6 6 8 8 - 0 6 7 8 6 - 0 6 8 8 4 -06983 - 0 7 0 8 1 - 0 7 1 7 9 NUM -07277 - 0 7 3 7 5 -07473 - 0 7 571 - 0 7 6 6 9 - 0 7 7 6 6 - 0 7 8 6 4 - 0 7 9 6 1 NUM -08059 - 0 8 1 5 6 - 0 8 2 5 4 -08351 - 0 8 4 4 8 -08545 -08642 - 0 8 7 3 9 NUM - 0 8 8 3 6 - 0 8 9 3 3 -09029 - 0 9 1 2 6 - 0 9 2 2 3 -09319 - 0 9 4 1 5 - 0 9 5 1 2 NUM - 0 9 6 0 8 -09704 - 0 9 8 0 0 - 0 9 8 9 6 - 0 9 9 9 1 -10087 - 1 0 1 8 3 - 1 0 2 7 8 NUM - 1 0 3 7 4 - 1 0 4 6 9 -10564 - 1 0 6 5 9 - 1 0 7 5 4 - 1 0 8 4 9 -10944 - 1 1 0 3 9 NUM - H 133 - 1 1 2 2 8 - 1 1 3 2 2 -11416 - 1 1 5 1 1 -11605 - 1 1 6 9 9 - 1 1 7 9 3 NUM - 1 1 8 8 6 - 1 1 9 8 0 -12073 -12167 - 1 2 2 6 0 - 1 2 3 5 3 - 1 2 4 4 6 - 1 2 5 3 9 NUM - 1 2 6 3 2 - 1 2 7 2 5 -12817 -12910 - 1 3 0 0 2 -13094 - 1 3 1 8 6 - 1 3 2 7 8 NUM - 1 3 3 7 0 -13462 - 1 3 5 5 4 -13645 - 1 3 7 3 6 - 1 3 8 2 8 -13919 - 1 4 0 1 0 NUM - 1 4 1 0 0 - 1 419 J - 1 4 2 8 2 -14372 - 1 4 4 6 2 -14552 - 1 4 6 4 2 - 1 4 7 3 2 NUM - 1 4 8 2 2 - 1 4 9 1 2 - 1 5 0 0 1 - 1 5 0 9 0 - 1 5 1 8 0 -15269 - 1 5 3 5 7 - 15446 NUM - 1 5 5 3 5 - 1 5 6 2 3 - 1 5 7 1 2 - 1 5 8 0 0 - 1 5 8 8 8 -15976 - 1 6 0 6 3 - 1 6 1 5 1 NUM - 1 6 2 3 8 - 1 6 3 2 5 - 1 6 4 1 3 - 1 6 4 9 9 - 1 6 5 8 6 -16673 - 1 6 7 5 9 - 1 6 8 4 6 NUM - 1 6 9 3 2 - 1 7 0 1 8 - 1 7 1 0 4 - 1 7 1 8 9 - 1 7 2 7 5 -17360 -17445 - 1 7 5 3 0 NUM - 1 7 6 1 5 - 1 7 7 0 0 - 1 7 7 8 4 - 1 7 869 - 1 7 9 5 3 -18037 -18121 - 1 8 2 0 4 NUM - 1 8 2 8 8 -18371 - 1 8 4 5 4 -18537 - 1 8 6 2 0 -18703 - 1 8 7 8 5 - 1 8 8 6 8 NUM - 1 8 9 5 0 - 1 9 0 3 2 -191 13 - 1 9 1 9 5 - 1 9 2 7 6 - 1 9 3 5 8 -19439 - 1 9 5 1 9 NUM - 1 9 6 0 0 - 1 9 6 8 1 - 1 9 7 6 1 -19841 - 1 9 9 2 1 -20001 - 2 0 0 8 0 - 2 0 1 5 9 NUM -20239 - 2 0 3 1 8 - 2 0 3 9 6 -20475 - 2 0 5 5 3 - 2 0 6 3 1 - 2 0 7 0 9 - 2 0 7 8 7 NUM - 2 0 8 6 5 - 2 0 9 4 2 - 2 1 0 2 0 -21097 - 2 1 1 7 3 -21250 - 2 1 3 2 6 - 2 1 4 0 3 NUM - 2 1 4 7 9 - 2 1 5 5 5 - 2 1 6 3 0 - 2 1 7 0 6 - 2 1 7 8 1 - 2 1 8 5 6 - 2 1 9 3 1 - 2 2 0 0 5 NUM - 2 2 0 8 0 - 2 2 1 5 4 - 2 2 2 2 8 -22301 - 2 2 3 7 5 - 2 2 4 4 8 - 2 2 5 2 1 - 2 2 5 9 4 NUM -22667 - 2 2 7 4 0 -22812 - 2 2 8 8 4 - 2 2 9 5 6 -23027 - 2 3 0 9 9 - 2 3 1 7 0 NUM -23241 -23312 - 2 3 3 8 2 -23453 - 2 3 5 2 3 -23593 - 2 3 6 6 2 - 2 3 7 3 2 NUM -23801 - 2 3 8 7 0 -23939 -24007 - 2 4 0 7 5 -24144 - 2 4 2 1 1 - 2 4 2 7 9 NUM - 2 4 3 4 6 -24414 - 2 4 4 8 0 -24547 - 2 4 6 1 4 - 2 4 6 8 0 - 2 4 7 4 6 - 2 4 8 1 2 NUM -24877 - 2 4 9 4 3 - 2 5 0 0 8 -25073 - 2 5 1 3 7 - 2 5 2 0 1 - 2 5 2 6 6 - 2 5 3 3 0 NUM - 2 5 3 9 3 -25457 - 2 5 5 2 0 - 2 5 5 8 3 - 2 5 6 4 5 - 2 5 7 0 8 - 2 5 7 7 0 - 2 5 8 3 2 NUM -25894 - 2 5 9 5 5 - 2 6 0 1 6 - 2 6 0 7 7 - 2 6 1 3 8 - 2 6 1 9 9 -26259 - 2 6 3 1 9 NUM - 2 6 3 7 9 - 2 6 4 3 8 - 2 6 4 9 8 -26557 - 2 6 6 1 5 - 2 6 6 7 4 - 2 6 7 3 2 - 2 6 7 9 0 NUM -26848 - 2 6 9 0 5 -26963 - 2 7 0 2 0 - 2 7 0 7 6 - 2 7 1 3 3 - 2 7 1 8 9 - 2 7 2 4 5 NUM -27 301 - 2 7 3 5 6 -27411 - 2 7 4 6 6 - 2 7 5 2 1 - 2 7 5 7 6 - 2 7 6 3 0 - 2 7 6 8 4 NUM -27737 -27791 -27844 - 2 7 8 9 7 - 2 7 9 4 9 -28002 -28054 - 2 8 1 0 6 NUM -28157 - 2 8 2 0 8 -28259 -28310 - 2 8 3 6 1 -2841 1 - 2 8 4 6 1 - 2 8 5 1 1 NUM - 2 8 5 6 0 - 2 8 6 0 9 - 2 8 6 5 8 -28707 - 2 8 7 5 5 -28803 -28851 - 2 3 8 9 8 NUM - 2 8 9 4 6 -28993 -29039 -29086 - 2 9 1 3 2 -29178 - 2 9 2 2 3 - 2 9 2 6 9 NUM -29314 - 2 9 3 5 9 - 2 9 4 0 3 -29447 - 2 9 4 9 1 - 2 9 535 - 2 9 5 7 8 - 2 9 621 NUM - 2 9 6 6 4 -29707 - 2 9 7 4 9 -29791 - 2 9 8 3 3 - 2 9 8 7 4 - 2 9 9 1 5 - 2 9 9 5 6 NUM -29997 - 3 0 0 3 7 -30077 -30117 - 3 0 1 5 6 - 3 0 1 9 6 -30235 - 3 0 2 7 3 NUM -30312 - 3 0 3 5 0 -30387 -30425 - 3 0 4 6 2 -30499 - 3 0 5 3 5 - 3 0 5 7 2 NUM -30608 - 3 0 6 4 4 -30679 - 3 0 7 1 4 - 3 0 7 4 9 - 3 0 7 8 4 - 3 0 8 1 3 - 3 0 8 5 2 NUM - 3 0 8 8 6 -30919 - 3 0 9 5 2 - 3 0 9 8 5 - 3 1 0 1 8 - 3 1 0 5 0 - 3 1 0 8 2 - 3 1 1 1 4 NUM -31145 - 3 1 1 7 6 -31207 - 3 1 2 3 7 - 3 1 2 6 8 - 3 1 2 9 8 -31327 - 3 1 3 5 7 NUM - 3 1 3 8 6 -31414 - 3 1 4 4 3 - 3 1 4 7 1 - 3 1 4 9 9 - 3 1 5 2 6 - 3 1 5 5 4 - 3 1 5 3 1 NUM -31607 - 3 1 6 3 4 - 3 1 6 6 0 - 3 1 6 8 5 -31711 - 3 1 7 3 6 - 3 1 7 6 1 - 3 1 7 8 5 NUM -31810 -31834 -31857 - 3 1 8 8 1 - 3 1 9 0 4 -31927 - 3 1 9 4 9 - 3 1 9 7 1 NUM -31993 - 3 2 0 1 5 - 3 2 0 3 6 -32057 - 3 2 0 7 8 - 3 2 0 9 8 - 3 2 1 1 8 - 3 2 1 3 8 NUM -32157 - 3 2 1 7 6 - 3 2 1 9 5 -32214 - 3 2 2 3 2 -32250 - 3 2 2 6 8 - 3 2 2 8 5 NUM -32302 - 3 2 3 1 9 -32335 -32351 - 3 2 3 6 7 - 3 2 3 8 3 - 3 2 3 9 8 - 3 2 4 1 3 NUM -32427 - 3 2 4 4 2 - 3 2 4 5 6 -32469 - 3 2 4 8 3 - 3 2 4 9 6 - 3 2 5 0 9 - 3 2 5 2 1 NUM -32533 - 3 2 5 4 5 -32557 - 3 2 5 6 8 - 3 2 5 7 9 - 3 2 5 8 9 - 3 2 6 0 0 - 3 2 6 1 0 NUM -32619 -32629 - 3 2 6 3 8 -32647 - 3 2 6 5 5 -32663 - 3 2 6 7 1 - 3 2 6 7 9 NUM - 3 2 6 8 6 - 3 2 6 9 3 - 3 2 7 0 0 - 3 2 7 0 6 - 3 2 7 1 2 - 3 2 7 1 8 - 3 2 7 2 3 - 3 2 7 2 8 NUM -32733 -32737 -32741 -32745 - 3 2 7 4 9 -32752 - 3 2 7 5 5 - 3 2 7 5 8 NUM -32760 - 3 2 7 6 2 -32764 -32765 - 3 2 7 6 6 - 3 2 7 6 7 - 3 2 7 6 7 - 3 2 7 6 7 NUM -32767 -32767 - 3 2 7 6 6 -32765 - 3 2 7 6 4 -32762 - 3 2 7 6 0 - 3 2 7 5 8 NUM - 3 2 7 5 5 -?2752 -32749 -32745 - 3 2 7 4 1 -32737 -32733 - 3 2 7 2 8

Page 66: WSIBf , 1 - International Nuclear Information System (INIS)

59

NUM - 3 2 7 2 3 - 3 2 7 1 8 - 3 2 7 1 2 - 3 2 7 0 6 "32700 - 3 2 6 9 3 - 3 2 6 8 6 - 3 2 6 7 9 NUM - 3 2 6 7 1 - 3 2 6 6 3 -32655 - 3 2 6 4 7 - 3 2 6 3 8 - 3 2 6 2 9 - 3 2 6 1 9 - 3 2 6 1 0 NUM - 3 2 6 0 0 - 3 2 5 8 9 - 3 2 5 7 9 - 3 2 5 6 8 - 3 2 5 5 7 - 3 2 5 4 5 - 3 2 5 3 3 -32521 NUM - 3 2 5 0 9 - 3 2 4 9 6 - 3 2 4 8 3 - 3 2 4 6 9 - 3 2 4 5 6 - 3 2 4 4 2 - 3 2 4 2 7 - 3 2 4 1 3 NUM - 3 2 3 9 8 - 3 2 3 8 3 - 3 2 3 6 7 -32351 - 3 2 3 3 5 - 3 2 3 1 9 - 3 2 3 0 2 - 3 2 2 8 5 NUM - 3 2 2 6? - 3 2 2 5 0 -32232 - 3 2 2 1 4 - 3 2 1 9 5 - 3 2 1 7 6 - 3 2 1 5 7 - 3 2 1 3 8 NUM -321 I S - 3 2 0 9 8 - 3 2 0 7 8 -32057 - 3 2 0 3 6 - 3 2 0 1 5 - 3 1 9 9 3 - 3 1 9 / 1 NUM - 3 1 9 4 9 - 3 1 9 2 7 -31904 - 3 2 8 8 1 - 3 1 8 5 7 - 3 1 8 3 4 - 3 1 8 1 0 - 3 1 7 3 5 NUM - 3 1 7 6 1 - 3 1 7 3 6 -31711 -31685 - 3 1 6 6 0 - 3 1 6 3 4 - 3 1 6 0 7 - 3 1 5 8 1 NUM - 3 1 5 5 4 - 3 1 5 2 6 -31499 - 3 1 4 7 1 - 3 1 4 4 3 - 3 1 4 1 4 - 3 1 3 8 6 - 3 1 3 5 7 NUM - 3 1 3 2 7 - 3 1 2 9 8 - 3 1 2 6 8 -31237 - 3 1 2 0 7 - 3 1 1 7 6 - 3 1 1 4 5 - 3 1 1 1 4 NUM - 3 1 0 8 2 - 3 1 0 5 0 -31018 - 3 0 9 8 5 - 3 0 9 5 2 - 3 0 9 1 9 •'30886 - 3 0 8 5 2 NUM - 3 0 8 1 8 - 3 0 7 8 4 -30749 -30714 - 3 0 6 7 9 - 3 0 6 4 4 - 3 0 6 0 8 - 3 0 5 7 2 NUM - 3 0 5 3 5 - 3 0 4 9 9 -30462 -3042 5 - 3 0 3 8 7 - 3 0 3 5 0 - 3 0 3 1 2 - 3 0 2 7 3 NUM - 3 0 2 3 5 - 3 0 1 9 6 - 3 0 1 5 6 -30117 - 3 0 0 7 7 - 3 0 0 3 7 - 2 9 9 9 7 - 2 9 9 5 6 NUM - 2 9 9 1 5 - 2 9 8 7 4 -29833 -2S791 - 2 9 7 4 9 - 2 9 7 0 7 - 2 9 6 6 4 - 2 9 6 2 1 NUM -29 578 - 2 9 5 3 5 -29491 -29447 - 2 9 4 0 3 - 2 9 3 5 9 - 2 9 3 1 4 - 2 9 2 6 9 NUM - 2 9 2 2 3 "29178 -29132 - 2 9 0 8 6 - 2 9 0 3 9 - 2 8 9 9 3 - 2 8 9 4 6 - 2 8 8 9 8 NUM - 2 8 8 5 1 - 2 8 8 0 3 - 2 8 7 5 5 -28707 - 2 8 6 5 8 - 2 8 6 0 9 - 2 8 5 6 0 - 2 8 5 1 1 NUM - 2 8 4 6 1 - 2 8 4 1 1 - 2 8 3 6 1 - 2 8 3 1 0 - 2 8 2 5 9 - 2 8 2 0 8 - 2 8 1 5 7 - 2 8 1 0 6 NUM - 2 8 0 5 4 - 2 8 0 0 2 - 2 7 9 4 9 -27897 - 2 7 8 4 4 -27791 - 2 7 7 3 7 - 2 7 6 8 4 NUM - 2 7 6 3 0 - 2 7 5 7 6 -27521 - 2 7 4 6 6 - 2 7 4 1 1 - 2 7 3 5 6 - 2 7 3 0 1 - 2 7 2 4 5 NUM - 2 7 1 8 9 - 2 7 1 3 3 - 2 7 0 7 6 -27020 - 2 6 9 6 3 - 2 6 9 0 5 - 2 6 8 4 8 - 2 6 7 9 0 NUM - 2 6 7 3 2 - 2 6 6 7 4 - 2 6 6 1 5 - 2 6 5 5 7 - 2 6 4 9 8 - 2 6 4 3 8 - 2 6 3 7 9 - 2 6 3 1 9 NUM - 2 6 2 5 9 - 2 6 1 9 9 - 2 6 1 3 8 -26077 "26016 - 2 5 9 5 5 - 2 5 8 9 4 - 2 5 8 3 2 NUM - 2 5 7 7 0 - 2 5 7 0 8 -25645 - 2 5 5 8 3 - 2 5 5 2 0 -25457 - 2 5 3 9 3 - 2 5 3 3 0 NUM - 2 5 2 6 6 - 2 5 2 0 1 - 2 5 1 3 7 - 2 5 0 7 3 - 2 5 0 0 8 - 2 4 9 4 3 - 2 4 8 7 7 - 2 4 8 1 2 NUM - 2 4 7 4 6 - 2 4 6 8 0 -24614 - 2 4 5 4 7 - 2 4 4 8 0 - 2 4 4 1 4 - 2 4 3 4 6 - 2 4 2 7 9 NUM - 2 4 2 1 1 - 2 4 1 4 4 - 2 4 0 7 5 -24007 - 2 3 9 3 9 - 2 3 8 7 0 - 2 3 8 0 1 - 2 3 7 3 2 NUM -23662 - 2 3 5 9 3 -23523 - 2 3 4 5 3 - 2 3 3 8 2 - 2 3 3 1 2 - 2 3 2 4 1 - 2 3 1 7 0 NUM - 2 3 0 9 9 -23027 - 2 2 9 5 5 - 2 2 8 8 4 - 2 2 8 1 2 - 2 2 7 4 0 - 2 2 6 6 7 - 2 2 5 9 4 NUM -22521 - 2 2 4 4 8 -22375 - 2 2 3 0 1 "22228 - 2 2 1 5 4 - 2 2 0 8 0 - 2 2 0 0 5 NUM - 2 1 9 3 1 - 2 1 8 5 6 - 2 1 7 8 1 - 2 1 7 0 6 - 2 1 6 3 0 - 2 \ 5 5 5 - 2 1 4 7 9 - 2 1 4 0 3 NUM - 2 1 3 2 6 - 2 1 2 5 0 -21173 - 2 1 0 9 7 - 2 1 0 2 0 - 2 0 9 4 2 - 2 0 8 6 5 - 2 0 7 8 7 NUM - 2 0 7 0 9 - 2 0 6 3 1 - 2 0 5 5 3 - 2 0 4 7 5 - 2 0 3 9 6 - 2 0 3 1 8 - 2 0 2 3 9 - 2 0 1 5 9 NUM - 2 0 0 8 0 - 2 0 0 0 1 -19921 -19841 -19761 - 1 9 6 8 1 - 1 9 6 0 0 - 1 9 5 1 9 NUM - 1 9 4 3 9 - 1 9 3 5 8 - 1 9 2 7 6 -19195 - 1 9 1 1 3 -19032 - 1 8 9 5 0 - 1 8 8 6 8 NUM - 1 8 7 8 5 - 1 8 7 0 3 - 1 8 6 2 0 -18537 - 1 8 4 5 4 - 1 8 3 7 1 - 1 8 2 8 8 - 1 8 2 0 4 NUM - 1 8 1 2 1 - 1 8 0 3 7 - 1 7 9 5 3 -17869 - 1 7 7 8 4 - 1 7 7 0 0 - 1 7 6 1 5 - 1 7 5 3 0 NUM - 1 7 4 4 5 - 1 7 3 6 0 - 1 7 2 7 5 - 1 7 1 8 9 - 1 7 1 0 4 - 1 7 0 1 8 - 1 6 9 3 2 - 1 6 8 4 6 NUM - 1 6 7 5 9 - 1 6 6 7 3 - 1 6 5 8 6 -16499 -16413 - 1 6 3 2 5 - 1 6 2 3 8 - 1 6 1 5 1 N UK - 1 6 0 6 3 - 1 5 9 7 6 - 1 5 8 8 8 - 1 5 8 0 0 - 1 5 7 1 2 - 1 5 6 2 3 - 1 5 5 3 5 - 1 5 4 4 6 NUM - 1 5 3 5 7 - 1 5269 - 1 5 1 8 0 -15090 - 1 5 0 0 1 -14912 - 1 4 8 2 2 - 1 4 7 3 2 SCUM - 1 4 6 4 2 - 1 4 5 5 2 -14462 -14372 -142 82 - 1 4 1 9 1 - 1 4 1 0 0 - 1 4 0 1 0 NUM - 1 3 9 1 9 - 1 3 8 2 8 - 1 3 7 3 6 -13645 - 1 3 5 5 4 -13462 - 1 3 3 7 0 - 1 3 2 7 8 NUM - 1 3 1 8 6 - 1 3 0 9 4 -13002 - 1 2 9 1 0 - 1 2 8 1 7 - 1 2 7 2 5 - 1 2 6 3 2 - 1 2 5 3 9 NUM - 1 2 4 4 6 - 1 2 3 5 3 - 1 2 2 6 0 -12167 - 1 2 0 7 3 - 1 1 9 8 0 - 1 1 8 8 6 - 1 1 7 9 3 NUM -11699 - 1 1 6 0 5 -11511 - 1 1 4 1 6 - 1 1 3 2 2 - 1 1 2 2 8 - 1 1 1 3 3 - 1 1 0 3 9 NUM - 1 0 9 4 4 - 1 0 8 4 9 - 1 0 7 5 4 -10659 - 1 0 5 6 4 - 1 0 4 6 9 - 1 0 3 7 4 - 1 0 2 7 8 NUM - 1 0183 - 1 0 0 8 7 -09991 - 0 9 8 9 6 - 0 9 8 0 0 - 0 9 7 0 4 - 0 9 6 0 8 - 0 9 5 1 2 NUM - 0 9 4 1 5 - 0 9 3 1 9 - 0 9 2 2 3 - 0 9 1 2 6 - 0 9 0 2 9 - 0 8 9 3 3 - 0 8 8 3 6 - 0 8 7 3 9 NUM - 0 8 6 4 2 - 0 8 5 4 5 -08448 -08351 - 0 8 2 5 4 - 0 8 1 5 6 - 0 8 0 5 9 - 0 7 9 6 1 NUM - 0 7 8 6 4 - 0 7 7 6 6 - 0 7 6 6 9 -07571 - 0 7 4 7 3 - 0 7 3 7 5 - 0 7 2 7 7 - 0 7 1 7 9 NUM • - 0 7 0 8 1 - 0 6 9 8 3 - 0 6 8 8 4 - 0 6 7 8 6 - 0 6 6 8 8 - 0 6 5 8 9 - 0 6 4 9 1 - 0 6 3 9 2 NUM - 0 6 2 9 4 - 0 6 1 9 5 - 0 6 0 9 6 -05997 - 0 5 8 9 8 - 0 5 8 0 0 - 0 5 7 0 1 - 0 5 6 0 2 NUM - 0 5 5 0 3 - 0 5 4 0 3 - 0 5 3 0 4 - 0 5 2 0 5 - 0 5 1 0 6 - 0 5 0 0 6 - 0 4 9 0 7 - 0 4 8 0 8 NUM - 0 4 7 0 8 - 0 4 6 0 9 - 0 4 5 0 9 - 0 4 4 0 9 - 0 4 3 1 0 - 0 4 2 1 0 - 0 4 1 1 0 - 0 4 0 1 1 NUM -03911 - 0 3 8 1 1 -03711 -03611 - 0 3 5 1 1 - 0 3 4 1 1 9 - 0 3 3 11 - 0 3 2 1 1

Page 67: WSIBf , 1 - International Nuclear Information System (INIS)

60

N U M - 0 3 1 1 1 , - 0 3 0 1 1 , - 0 2 9 1 1 , - 0 2 8 1 1 , - 0 2 7 1 1 , - 0 2 6 1 1 , - 0 2 5 1 0 , - 0 2 4 1 0 N U M - 0 2 3 1 0 , - 0 2 2 1 0 , - 0 2 1 0 9 , - 0 2 0 0 9 , - 0 1 9 0 9 , - 0 1 8 0 8 , - 0 1 7 0 8 , - 0 1 6 0 7 N U M - 0 1 5 0 7 , - 0 1 4 0 7 , - 0 1 3 0 6 , - 0 1 2 0 6 , - 0 1 1 0 5 , - 0 1 0 0 5 , - 0 0 9 0 4 , - 0 0 8 0 4 N U M - 0 0 7 0 3 , - 0 0 6 0 3 , - 0 0 5 0 2 , - 0 0 4 0 2 , - 0 0 3 0 1 , - 0 0 2 0 1 , - 0 0 1 0 0 , 0 0 0 0 0 0 N U M 0 0 0 1 0 0 , 0 0 0 2 0 1 , 0 0 0 3 0 1 , 0 0 0 4 0 2 , 0 0 0 5 0 2 , 0 0 0 6 0 3 , 0 0 0 7 0 3 , 0 0 0 8 0 4

N U M 0 0 0 9 0 4 , 0 0 1 0 0 5 , 0 0 1 1 0 5 , 0 0 1 2 0 6 , 0 0 1 3 0 6 , 0 0 1 4 0 7 , 0 0 1 5 0 7 , 0 0 1 6 0 7

N U M 0 0 1 7 0 8 , 0 0 1 8 0 8 , 0 0 1 9 0 9 , 0 0 2 0 0 9 , 0 0 2 1 0 9 , 0 0 2 2 1 0 , 0 0 2 3 1 0 , 0 0 2 4 1 0

N U M 0 0 2 5 1 0 , 0 0 2 6 1 1 , 0 0 2 7 1 1 , 0 0 2 8 1 1 , 0 0 2 9 1 1 , 0 0 3 0 1 1 , 0 0 3 1 1 1 , 0 0 3 2 1 1 N U M 0 0 3 3 1 1 , 0 0 3 4 1 1 , 0 0 3 5 1 1 , 0 0 3 6 1 1 , 0 0 3 7 1 1 , 0 0 3 8 1 1 , 0 0 3 9 1 1 , 0 0 4 0 1 1 N U M 0 0 4 1 1 0 , 0 0 4 2 1 0 , 0 0 4 3 1 0 , 0 0 4 4 0 9 , 0 0 4 5 0 9 , 0 0 4 6 0 9 , 0 0 4 7 0 8 , 0 0 4 8 0 8 N U M 0 0 4 9 0 7 , 0 0 5 0 0 6 , 0 0 5 1 0 6 , 0 0 5 2 0 5 , 0 0 5 3 0 4 , 0 0 5 4 0 3 , 0 0 5 5 0 3 , 0 0 5 6 0 2 N U M 0 0 5 7 0 1 , 0 0 5 8 0 0 , 0 0 5 8 9 8 , 0 0 5 9 9 7 , 0 0 6 0 9 6 , 0 0 6 1 9 5 , 0 0 6 2 9 4 , 0 0 6 3 9 2 N U M 0 0 6 4 9 1 , 0 0 6 5 8 9 , 0 0 6 6 8 8 , 0 0 6 7 8 6 , 0 0 6 8 8 4 , 0 0 6 9 8 3 , 0 0 7 0 8 1 , 0 0 7 1 7 9 N U M 0 0 7 2 7 7 , 0 0 7 3 7 5 , 0 0 7 4 7 3 , 0 0 7 5 7 1 , 0 0 7 6 6 9 , 0 0 7 7 6 6 , 0 0 7 8 6 4 , 0 0 7 9 6 1 N U M 0 0 8 0 5 9 , 0 0 8 1 5 6 , 0 0 8 2 5 4 , 0 0 8 3 5 1 , 0 0 8 4 4 8 , 0 0 8 5 4 5 , 0 0 8 6 4 2 , 0 0 8 7 3 9 N U M 0 0 8 8 3 6 , 0 0 8 9 3 3 , 0 0 9 0 2 9 , 0 0 9 1 2 6 , 0 0 9 2 2 3 , 0 0 9 3 1 9 , 0 0 9 4 1 5 , 0 0 9 5 1 2 N U M 0 0 9 6 0 8 , 0 0 9 7 0 4 , 0 0 9 8 0 0 , 0 0 9 8 9 6 , 0 0 9 9 9 1 , 0 1 0 0 8 7 , 0 1 0 1 8 3 , 0 1 0 2 7 8 N U M 0 1 0 3 7 4 , 0 1 0 4 6 9 , 0 1 0 5 6 4 , 0 1 0 6 5 9 , 0 1 0 7 5 4 , 0 1 0 8 4 9 , 0 1 0 9 4 4 , 0 1 1 0 3 9 N U M O i l 1 3 3 - 0 1 1 2 2 8 , 0 1 1 3 2 2 , 0 1 1 4 1 6 , 0 1 1 5 1 1 , 0 1 1 6 0 5 , 0 1 1 6 9 9 , 0 1 1 7 9 3 N U M 0 1 1 8 8 6 , 0 1 1 9 8 0 , 0 1 2 0 7 3 , 0 1 2 1 6 7 , 0 1 2 2 6 0 , 0 1 2 : 3 5 3 , 0 1 2 4 4 6 , 0 1 2 5 3 9 N U M 0 1 2 6 3 2 , 0 1 2 7 2 5 , 0 1 2 8 1 7 , 0 1 2 9 1 0 , 0 1 3 0 0 2 , 0 1 3 0 9 4 , 0 1 3 1 8 6 , 0 1 3 2 7 8 N U M 0 1 3 3 7 0 , 0 1 3 4 6 2 , 0 1 3 5 5 4 , 0 1 3 6 4 5 , 0 1 3 7 3 6 , 0 1 3 8 2 8 , 0 1 3 9 1 9 , 0 1 4 0 1 0 N U M 0 1 4 1 0 0 , 0 1 4 1 9 1 , 0 1 4 2 8 2 , 0 1 4 3 7 2 , 0 1 4 4 6 2 , 0 1 4 5 5 2 , 0 1 4 6 4 2 , 0 1 4 7 3 2 N U M 0 1 4 8 2 2 , 0 1 4 9 1 2 , 0 1 5 0 0 1 , 0 1 5 0 9 0 , 0 1 5 1 8 0 , 0 1 5 2 6 9 , 0 1 5 3 5 7 , 0 1 5 4 4 6

N U M 0 1 5 5 3 5 , 0 1 5 6 2 3 , 0 1 5 7 1 2 , 0 1 5 8 0 0 , 0 1 5 8 8 8 , 0 1 5 9 7 6 , 0 1 6 0 6 3 , 0 1 6 1 5 1 N U M 0 1 6 2 3 8 , 0 1 6 3 2 5 , 0 1 6 4 1 3 , 0 1 6 4 9 9 , 0 1 6 5 8 6 , 0 1 6 6 7 3 , 0 1 6 7 5 9 , 0 1 6 8 4 6 N U M 0 1 6 9 3 2 , 0 1 7 0 1 8 , 0 1 7 1 0 4 , 0 1 7 1 8 9 , 0 1 7 2 7 5 , 0 1 7 3 6 0 , 0 1 7 4 4 5 , 0 1 7 5 3 0 N U M 0 1 7 6 1 5 , 0 1 7 7 0 0 , 0 1 7 7 8 4 , 0 1 7 8 6 9 , 0 1 7 9 5 3 , 0 1 8 0 3 7 , 0 1 8 1 2 1 , 0 1 8 2 0 4 N U M 0 1 8 2 8 8 , 0 1 8 3 7 1 , 0 1 8 4 5 4 , 0 1 8 5 3 7 , 0 1 8 6 2 0 , 0 1 8 7 0 3 , 0 1 8 7 8 5 , 0 1 8 8 6 8 N U M 0 1 8 9 5 0 , 0 1 9 0 3 2 , 0 1 9 1 1 3 , 0 1 9 1 9 5 , 0 1 9 2 7 6 , 0 1 9 3 5 8 , 0 1 9 4 3 9 , 0 1 9 5 1 9 N U M 0 1 9 6 0 0 , 0 1 9 6 8 1 , 0 1 9 7 6 1 , 0 1 9 8 4 1 , 0 1 9 9 2 1 , 0 2 0 0 0 1 , 0 2 0 0 8 0 , 0 2 0 1 5 9 N U M 0 2 0 2 3 9 , 0 2 0 3 1 8 , 0 2 0 3 9 6 , 0 2 0 4 7 5 , 0 2 0 5 5 3 , 0 2 0 6 3 1 , 0 2 0 7 0 9 , 0 2 0 7 8 7 N U M 0 2 0 8 6 5 , 0 2 0 9 4 2 , 0 2 1 0 2 0 , 0 2 1 0 9 7 , 0 2 1 1 7 3 , 0 2 1 2 5 0 , 0 2 1 3 2 6 , 0 2 1 4 0 3 N U M 0 2 1 4 7 9 , 0 2 1 5 5 5 , 0 2 1 6 3 0 , 0 2 1 7 0 6 , 0 2 1 7 8 1 , 0 2 1 8 5 6 , 0 2 1 9 3 1 , 0 2 2 0 0 5 N U M 0 2 2 0 8 0 , 0 2 2 1 5 4 , 0 2 2 2 2 8 , 0 2 2 3 0 1 , 0 2 2 3 7 5 , 0 2 2 4 4 8 , 0 2 2 5 2 1 , 0 2 2 5 9 4 N ' J M 0 2 2 6 6 7 , 0 2 2 7 4 0 , 0 2 2 8 1 2 . , 0 2 2 8 8 4 , 0 2 2 9 5 6 , 0 2 3 0 2 7 , 0 2 3 0 9 9 * 0 2 3 1 7 0

N U M 0 2 3 2 4 1 , 0 2 3 3 1 2 , 0 2 3 3 8 2 , 0 2 3 4 5 3 , 0 2 3 5 2 3 , 0 2 3 5 9 3 , 0 2 3 6 6 2 , 0 2 3 7 3 2 N U M 0 2 3 8 0 1 , 0 2 3 8 7 0 , 0 2 3 9 3 9 , 0 2 4 0 0 7 , 0 2 4 0 7 5 , 0 2 4 1 4 4 , 0 2 4 2 1 1 , 0 2 4 2 7 9 N U M 0 2 4 3 4 6 , 0 2 4 4 1 4 , 0 2 4 4 8 0 , 0 2 4 5 4 7 , 0 2 4 6 1 4 , 0 2 4 6 8 0 , 0 2 4 7 4 6 , 0 2 4 8 1 2 N UM 0 2 4 8 7 7 , 0 2 4 9 4 3 , 0 2 5 0 0 8 , 0 2 5 0 7 3 , 0 2 5 1 3 7 , 0 2 5 2 0 1 , 0 2 5 2 6 6 , 0 2 5 3 3 0 N U M 0 2 5 3 9 3 , 0 2 5 4 5 7 , 0 2 5 5 2 0 , 0 2 5 5 8 3 , 0 2 5 6 4 5 , 0 2 5 7 0 8 , 0 2 5 7 7 0 , 0 2 5 8 3 2 N U M 0 2 5 8 9 4 , 0 2 5 9 5 5 , 0 2 6 0 1 6 , 0 2 6 0 7 7 , 0 2 6 1 3 8 , 0 2 6 1 9 9 , 0 2 6 2 5 9 , 0 2 6 3 1 9

N U M 0 2 6 3 7 9 , 0 2 6 4 3 8 , 0 2 6 4 9 8 , 0 2 6 5 5 7 , 0 2 6 6 1 5 , 0 2 6 6 7 4 , 0 2 6 7 3 2 , 0 2 6 7 9 0 N U M 0 2 6 8 4 8 , 0 2 6 9 0 5 , 0 2 6 9 6 3 , 0 2 7 0 2 0 , 0 2 7 0 7 6 , 0 2 7 1 3 3 , 0 2 7 1 8 9 , 0 2 7 2 4 5 N U M 0 2 7 3 0 1 , 0 2 7 3 5 6 , 0 2 7 4 1 1 , 0 2 7 4 6 6 , 0 2 7 5 2 1 , 0 2 7 5 7 6 , 0 2 7 6 3 0 , 0 2 7 6 8 4 N U M 0 2 7 7 3 7 , 0 2 7 7 9 1 , 0 2 7 8 4 4 , 0 2 7 8 9 7 , 0 2 7 9 4 9 , 0 2 8 0 0 2 , 0 2 8 0 5 4 , 0 2 8 1 0 6 N U M 0 2 8 1 5 7 , 0 2 8 2 0 8 , 0 2 8 2 5 9 , 0 2 8 3 1 0 , 0 2 8 3 6 1 , 0 2 8 4 1 1 , 0 2 8 4 6 1 , 0 2 8 5 1 1 N U M 0 2 8 5 6 0 , 0 2 8 6 0 9 , 0 2 8 6 5 8 , 0 2 8 7 0 7 , 0 2 8 7 5 5 , 0 2 8 8 0 3 , 0 2 8 8 5 1 , 0 2 8 8 9 8 N U M 0 2 8 9 4 6 , 0 2 8 9 9 3 , 0 2 9 0 3 9 , 0 2 9 0 8 6 , 0 2 9 1 3 2 , 0 2 9 1 7 8 , 0 2 9 2 2 3 , 0 2 9 2 6 9 N U M 0 2 9 3 1 4 , 0 2 9 3 5 9 , 0 2 9 4 0 3 , 0 2 9 4 4 7 , 0 2 9 4 9 1 , 0 2 9 5 3 5 , 0 2 9 5 7 8 , 0 2 9 6 2 1 N U M 0 2 9 6 6 4 , 0 2 9 7 0 7 , 0 2 9 7 4 9 , 0 2 9 7 9 1 , 0 2 9 8 3 3 , 0 2 9 8 7 4 , 0 2 9 9 1 5 , 0 2 9 9 5 6 N U M 0 2 9 9 9 7 , 0 3 0 0 3 7 , 0 3 0 0 7 7 , 0 3 0 1 1 7 , 0 3 0 1 5 6 , 0 3 0 1 9 6 , 0 3 0 2 3 5 , 0 3 0 2 7 3 N U M 0 3 0 3 1 2 , 0 3 0 3 5 0 , 0 3 0 3 8 7 , 0 3 0 4 2 5 , 0 3 0 4 6 2 , 0 3 0 4 9 9 , 0 3 0 5 3 5 , 0 3 0 5 7 2 N U M 0 3 0 6 0 8 , 0 3 0 6 4 4 , 0 3 0 6 7 9 , 0 3 0 7 1 4 , 0 3 0 7 4 9 , 0 3 0 7 8 4 , 0 3 0 8 1 8 , 0 3 0 8 5 2

N U M 0 3 0 8 8 6 , 0 3 0 9 1 9 , 0 3 0 9 5 2 , 0 3 0 9 8 5 , 0 3 1 0 1 8 , 0 3 1 0 5 0 , 0 3 1 0 8 2 , 0 3 1 1 1 4 N U M 0 3 1 1 4 5 , 0 3 1 1 7 6 , 0 3 1 2 0 7 , 0 3 1 2 3 7 , 0 3 1 2 6 8 , 0 3 1 2 9 8 , 0 3 1 3 2 7 , 0 3 1 3 5 7

N U M 0 3 1 3 8 6 , 0 3 1 4 1 4 , 0 3 1 4 4 3 , 0 3 1 4 7 1 , 0 3 1 4 9 9 , 0 3 1 5 2 6 , 0 3 1 5 5 4 , 0 3 1 5 8 1 N U M 0 3 1 6 0 7 , 0 3 1 6 3 4 , 0 3 1 6 6 0 , 0 3 1 6 8 5 , 0 3 1 7 1 1 , 0 3 1 7 3 6 , 0 3 1 7 6 1 , 0 3 1 7 8 5 N U M 0 3 1 8 1 0 , 0 3 1 8 3 4 , 0 3 1 8 5 7 , 0 3 1 8 8 1 , 0 3 1 9 0 4 . 0 3 1 9 2 7 , 0 3 1 9 4 9 , 0 3 1 9 7 1

Page 68: WSIBf , 1 - International Nuclear Information System (INIS)

NUM 0 3 1 9 9 3 , 0 3 2 0 1 5 , 0 3 2 0 3 6 1 0 3 2 0 5 7 , 0 3 2 0 7 8 , 0 3 2 0 5 8 , 0 3 2 1 i 8 f 0 3 2 1 3 8 NUM 0 3 2 1 5 7 , 0 3 2 1 7 6 , 0 3 2 1 9 5 , 0 3 2 2 1 4 , 0 3 2 2 3 2 , 0 3 2 2 5 0 , 0 3 2 2 6 8 , 0 3 2 2 8 5 NUM 0 3 2 3 0 2 , 0 3 2 3 1 9 , 0 3 2 3 3 5 , 0 3 2 3 5 1 , 0 3 2 3 6 7 , 0 3 2 3 8 3 , 0 3 2 3 9 8 , 0 3 2 4 1 3 NUM 0 3 2 4 2 7 , 0 3 2 4 4 2 , 0 3 2 4 5 6 , 0 3 2 4 6 9 , 0 3 2 4 8 3 , 0 3 2 4 9 6 , 0 3 2 5 0 9 , 0 3 2 5 2 1 NUM 0 3 2 5 3 3 , 0 3 2 5 4 5 , 0 3 2 5 5 7 , 0 3 2 5 6 8 , 0 3 2 5 7 9 , 0 3 2 5 8 9 , 0 3 2 6 0 0 , 0 3 2 6 1 0 NUM 0 3 2 6 1 9 , 0 3 2 6 2 9 , 0 3 2 6 3 8 , 0 3 2 6 4 7 , 0 3 2 6 5 5 , 0 3 2 6 6 3 , 0 3 2 6 7 1 9 0 3 2 6 7 9 NUM 0 3 2 6 8 6 , 0 3 2 6 9 3 , 0 3 2 7 0 0 , 0 3 2 7 0 6 , 0 3 2 7 1 2 , 0 3 2 7 1 8 , 0 3 2 7 2 3 , 0 3 2 7 2 8 NUM 0 3 2 7 3 3 , 0 3 2 7 3 7 , 0 3 2 7 4 1 , 0 3 2 7 4 5 , 0 3 2 7 4 9 , 0 3 2 7 5 2 , 0 3 2 7 5 5 , 0 3 2 7 5 8 NUM 0 3 2 7 6 0 , 0 3 2 7 6 2 , 0 3 2 7 6 4 , 0 3 2 7 6 5 , 0 3 2 7 6 6 , 0 3 2 7 6 7 , 0 3 2 7 6 7 , 0 2 2 7 6 7 BSS 1 1 ( 2 0 4 9 ) , P S D ( 1 0 2 4 ) , I R ( 2 ) ENDV

Page 69: WSIBf , 1 - International Nuclear Information System (INIS)

6 2

2.6 BULPLT

2.6.1 Classification

On-line/drum resident/assembly language/relocatable/nonreentrant

2 .6 .2 Purpose

BULPLT outputs standard and full-scale values to digital-to-ana log converter channel 7.

2 .6 .3 Description

Upon entry, the program nulls the kill flag in location $6A and checks to determine if manual stop is requested. If termination is not requested, $7FE0 is output on DAC channel 7. After a 5-sec delay, the standard value of 0 is output on channel 7. This process is repeated 10 times, and the program is released. The logic block diagram of BULPLT is shown in Fig. 7.

2 .6 .4 User Instructions

Program BULPLT is executed by manual function 21, and may be terminated at any time by manual function 9.

Page 70: WSIBf , 1 - International Nuclear Information System (INIS)

63

ORNL DWG NO. 72-809

MAN. FCN. - 2 1

Fig. 7. Logic Block Diagram of Program BULPLT.

Page 71: WSIBf , 1 - International Nuclear Information System (INIS)

64

0 0 1 . NAM BULPLT 1 1 / 3 / 6 9 0 0 2 • ENT BP F0R USE IN CALIB DAC 0N CH. 7 003 . EXT DACDRI 0 0 4 . 006A EQU KIL($6A>

0 0 6 . P0000 OAOO BP ENA 0 0 0 7 . P0001 606A STA- KIL 0 0 8 . P0002 C06A IN LDA- KIL 0 0 9 . P0003 0104 SAZ DATA-*- l 01 o . P0004 1818 JMP* EXIT 01 1 . P0005 7FFF X DAC ADC DACDRI 012 . P0006 OOOA TIMES NUM 10 01 3 . P0007 7FE0 MAX NUM $7FE0 0 1 4 . P0008 C8FE DATA LDA* MAX 01 5 . P0009 5CFB RTJ* (DAC) 0 1 6 . POOOA 9007 NUM $9007 C17. T TIMER 0 U T - T - 1 , 4 , X , 2 0 1 7 . POO OB 54F4 01 7 . POOOC 1124 01 7 . POOOD 0004 01 8 . POOOE 0004 NUM 4 0 1 9 . POOOF 14EA JMP- ($EA) 0 2 0 . P0010 OAOO 0UT ENA 0 021 . POOH 5CF3 RTJ* (DAC) 0 2 2 . POO 12 9007 NUM $9007 0 2 3 . P0013 C8F2 LDA* TIMES 02 4 . POO 14 0107 SAZ E X I T - * - 1 025 . POO 15 09FE INA - 1 02 6 . POO 16 68EF STA* TIMES 0 2 7 . TT TIMER I N - T T - 1 , 4 «X ,2 0 2 7 . P001 7 54F4 0 2 7 . POO 18 1124 0 2 7 . P0019 7FE9 0 2 8 . P001 A 0004 NUM 4 029 . POO IB 14EA JMP- ($EA) 0 3 0 . EXIT RELEAS (BP-EXIT - 1 ) . 0 3 0 . POCIC 54F4 0 3 0 . P001D 1901 0 3 0 . POO IE FFE2 031 . * END

Page 72: WSIBf , 1 - International Nuclear Information System (INIS)

65

2.7 CALLSC

2.7.1 Classification

On-1 ine/core res ident/assembly language/nonreentrant/re I oca tab le

2 .7 .2 Purpose

CALLSC schedules the SC program at 30-sec time intervals and executes SC at the beginning and end of any power transient.

2 .7 .3 Description

CALLSC is scheduled initially by program GIDUP and thereafter performs self-timing calls on a 30-sec time base at priority level 7. The program saves the current value of the 60-Hz clock counter ($E8) in common, and, if the scan on flag in $7F00 is set, it performs a 30-sec timer call for itself. Otherwise it exits to the dispatcher, thus removing it from the timer stack. The secondary entry point SCTRN is defined as the power transient entry. This entry point is used by program PERMIT with a return jump. The purpose is to calculate the burnup and provide a return to the caller. This is accomplished by scheduling SC with the transient flag IRANST set and the Q register containing the return address. The logic block diagram of CALLSC is shown in Fig. 8.

2 .7 .4 Relationship to Other Programs

CALLSC uses the transient flag, common location $7F29, NOWTIM in location $7F2E, and INAGIN in location $7F00. The program schedules program SC From the directory by a directory scheduler request.

Page 73: WSIBf , 1 - International Nuclear Information System (INIS)

6 6

O R N L DWG NO. 7 2 - 8 5 4

G I D U P PERMIT

\ 3 0 S E C . CALLi

\ CALLSC-7

c DISP >

SAVE QCLK SAVE QCLK

( E 8 ) (E8)

IN N O W T I M IN NOWTIM

[ SET FLAG

IRANST

(PWR TRANS.)

LDQ W I T H

R E T U R N

ADD.

SCHDLE:

( S C ) -7

Fig. 8. Logic Block Diagram of Program CALLSC.

Page 74: WSIBf , 1 - International Nuclear Information System (INIS)

6 7

001 . NAM CALLSC 3 / 1 5 / 7 1 F0R DRM. RESIDENT SC. 0 0 2 . * REV. 1 1 / 0 9 / 7 1 T0 REPEAT TIMER CALLS I F REJECTED. 003 . ENT CALLSCPSCTRN,SCTIME 004 . EXT DSC 0 0 5 . 00 F4 EQU AM0NI($F4) 0 0 6 . 00 E8 EQU CL0CK($E8^ ,ADISP($EA),ASCTRN($56)

OOEA EQU CL0CK($E8^ ,ADISP($EA),ASCTRN($56)

0056 007 . 0000 C C0M IN AG I N , CCL0CK , CYERT0 ( 8 ) , CYCLE fR ( 2 4 ) ,RH0T0T

0001 c 0002 c (

OOOA c 00 OB c 0023 c 0025 c

008 . 0026 c C0M IRH0EX,IREACT,IRSTM,IRANST,P0LD,P0WTOT,N0L 0027 c 0028 C 0029 C 002A c 002B c 0020 c 002 D c

0 0 9 . 002 E c COM N0WTIM,DIGWD8 ,RQTRIM,RH0DIF 002F c 0030 C 0031 C

0 1 0 . poooo OBOO CALLSC N0P 01 1 . P0001 E0E8 SCTIME LDQ- CLOCK ' 012 . POO 02 4400 STQ NOWTIM

P0003 002E c 01 3 . P0004 E400 LDQ INAG IN TEST FOR TIMER CALL REQMTS .

P0005 0000 c 01 4 . P0006 01 47 SQZ NOPE-*-1 0 1 5 . TI TIMER S C T I M E - T I - 1 , 7 , 1 , 1 , 2 9 9 0 1 5 . P0007 54F4 0 1 5 . P0008 i l l 7 0 1 5 . P0009 7FF8 0 1 6 . POOOA 012B NUM S12B 017 . POOOB 0161 SQP 0 K - * - l 0 1 8 . POOOC 18F4 JMP* SCTIME 0 1 9 . POOOD 180E 0K JMP* SCCALL 0 2 0 . * SCAN IS 0FF S0 CALL AGAIN LOOK IN F0R START.. 021 . N0PE TIMER SCTIME-NOPE-1 ,7 ,1 ,299 021 . PGOOE 54F4 021 . POOOF 11B7 021 . P0010 7FF1 022 . POOl 1 012B NUM $12B =30 SECS. 023 . POO 12 14EA JMP- (ADISF) 0 2 4 . P0013 0000 SCTRN NUM 0 POWER TRANSIENT ENTRY FROM PERMIT 025 . POO 14 E0E8 LDQ- CLOCK 026 . POOl 5 4400 STQ NOWTIM

POOl 6 002E c 027 . POOl 7 0A01 ENA 1 0 2 8 . POO 18 6400 STA IRANST

POO 19 0029 c

Page 75: WSIBf , 1 - International Nuclear Information System (INIS)

6 8

0 2 9 . 0 3 0 . 0 3 0 . 0 3 0 . 0 3 0 . 031 . 0 3 2 .

0 3 3 . 0 3 4 . 0 3 5 . 0 3 6 . 0 3 7 . 0 3 8 . 0 3 9 .

POO 1A E 8 F 8

P 0 0 1 B P 0 0 1 C POO 1D POOIS P 0 0 1 F P 0 0 2 0 P0021 P 0 0 2 2 P 0 0 2 3 P 0 0 2 4 P 0 0 2 5 P 0 0 2 6

5 4 F 4 1 2 0 7 F F F F 0 1 6 7 C 4 0 0 0 0 2 9 0 9 F E 0102 OCOO 1 8F6 1 8 F 4 14EA

A G A I N LDQ* SCTRN GET RETURN ADD & PASS I N Q SCCALL SCHDLE ( D S C ) , 7 , 0

SQP D0 N - * - 1 REQUEST A C C E P T E D . LDA I R A N S T

I N A - 1 SAZ T R - * - l T R A N S I E N T R E Q U E S T . ENQ 0 J M P * SCCALL TRY A G A I N .

TR J M P * AGAIN TRY T R A N S I E N T ENTRY A G A I N . D0N J M P - ( A D I S P ) * END

Page 76: WSIBf , 1 - International Nuclear Information System (INIS)

6 9

2.8 COMSTO

2.8.1 Classification

On-line/core resident/assembly language/nonreentrant/relocatable

2 .8 .2 Purpose

COMSTO transfers $100 words of common from $7F00 to drum $E/$7F00 every second.

2.8.3 Description

COMSTO is entered each second by a self-initiating timer call. The eight words of calendar for the time of day are transferred to the common area. The value of the current 60-Hz clock counter contained in location $E8 is transferred to common location $7F01. If INAGIN is set, indicating that the scan is on, COMSTO writes $100 words of common to drum $E/$7F00 and exits to the dispatcher. The logic block diagram of COMSTO is shown in Fig. 9.

2 .8 .4 Relationship to Other Programs

COMSTO uses the calendar contained in program TOD, and drum E/7F00-7FFF is used for the common data buffer. COMSTO is put into execution initially by program GIDUP.

Page 77: WSIBf , 1 - International Nuclear Information System (INIS)

7 0

O R N L DWG N O . 7 2 - 8 3 6

GIDYUP

C COMSTO 1|

I \

1 SEC. / COMSTO /

i XFER. 8

WORDS FROM CALENDER TO COMMON

SAVE $E8 CLOCK IN $ 7F01

WRITE $100 WORDS COM TO E/7F00

WRITE $A j WORDS COM I TO D/7F00 | WRITE $A j WORDS COM I TO D/7F00 |

( DISP ) 9. Logic Block Diagram of Program COMSTO.

Page 78: WSIBf , 1 - International Nuclear Information System (INIS)

7 1

001 • NAN C0MST0 002 . * REV 8 / 3 0 / 7 1 TO MAKE RUN EVERY 1 SEC0ND. 003 . * REV. 3 / 7 / 7 1 TO ADD S0F ENTRY 004 . ENT C0MST0 005 . OOAl EQU YERT0($A1),CLOCK($E8),ADISP($EA)

00E8 OOEA

0 0 6 . 0000 C C0M INAGIN, 0CL0CK,CYERT0(8) 0001 C 0002 c

007 . ENT SOF ENTERID BY UPDWN FOR TRMINATE. 0 0 8 . *THIS PROGRAM RUNS EVERY I SEC. T0 UPDATE 009 . *C0MM 0N E/7F00.(WHICH I S USED 0N RESTARTS) 0 1 0 . P0000 0 400 C0MST0 LDA+ INAG IN CHECK SCAN FLAG.

P0001 0000 c •

01 1. P0002 0111 SAN TMDR-*-l 0 1 2 . P0003 14EA JMP- (SEA) 0 1 3 . TMDR TIMER C0MST0-TMDR-1.4.X.2 01 3. P0004 54F4 013 . P0005 1124 013 . P0006 7FFA 0 1 4 . P0007 0000 NUM 0 015 . P0008 OCOO S0F ENQ 0 0 1 6 . P0009 C6A1 LP 1 LDA- (YERTO),© 0 1 7 . POOOA 6600 STA+ CYERT0,Q

POOOB 0002 c 0 1 8 . POOOC 0814 TRQ A 0 1 9 . POOOD 09F8 INA - 7 0 2 0 . POOOE 0102 SAZ GOON - * - l 021 . POOOF ODOl JL'G 1 0 2 2 . P0010 18 F8 JMP* LP 1 0 2 3 . POOU C0E8 G00N LDA- CLOCK 024 . P0012 6400 STA+ CCLOCK

POOl 3 0001 c 025 . WRITE 5 . . 1 N A G I N . 2 5 6 . B . 4 . . . 0 0 2 5 . POOl 4 54F4 0 2 5 . POOl 5 0440 0 2 5 . POOl 6 0000

POOl 7 0000 0 2 5 . POO 18 0005 025 . P0019 0100

POOl A GOOO c 0 2 6 . P001B OOOE NUM $E MSB 0 2 7 . P001C 7F00 NUM $7F00 LSB ON DRM. 0 2 8 . P001D 14EA JMP- (SEA) 0 2 9 . * END

Page 79: WSIBf , 1 - International Nuclear Information System (INIS)

72

2.9 CONTRL

2.9.1 Classification

On-Iine/core resident/assembly language/nonreentrant/relocatable

2.9.2 Purpose

CONTRL performs error checking, conditional tests and constructs messages associated with the digital rod-control program (DRC) and the Automatic Shim Permit function. The program has two major subroutine portions. The first, called "FLAGER," handles the priority interrupt generated by the turning on of the Digital Rod Control program lamp. This subroutine turns on and off the right-hand portion of the Rod Control lamp to indicate the status of the digital rod control program. FLAGER also prevents the DRC program from being turned off when the manually controlled block switch is in the RODS position. Thus, DRC cannot be turned off whenever the manual selector has connected the computer control relays to the reactor control system.

The second major subroutine in program CONTRL is ERROR CHECKS which tests five major conditions before digital rod control or Auto Shim Permit is allowed. These error conditions are: (1) an ana log-to-digital converter error flag, (2) bad regulating rod, limit-switch combination, (3) greater than 55 f i negative reactivity anomaly, (4) greater than 1 $ positive reactivity anomaly (unless a rod drop condition prevails), and (5) dynamic reactivity (K-effective) greater than set point. All conditions are tested on each entry to the error check subroutine, and as soon as an error condition is detected, an appropriate alarm message is typed. When the condition clears, a message is typed and digital rod control automatically continues. When error conditions are detected, the program does not return to the calling program but exits to CLERXI to stop all rod control. The dynamic reactivity inhibit is an exception, however, because it functions as a control set point as does the period inhibit function in conventional control systems.

The main portion of CONTRL is entered from DRMSTR at priority level 7. Upon entry, CONTRL scans digital input data to detect changes in the manual block switch and records all changes in status with a typed message containing the time of day. CONTRL will turn off the rod control program if the manual block switch is moved to any position other than RODS. When the SHIM position is first selected, DRC is termi-nated and the same error checks are made before the automatic shim permit relay is energized. If no change in the manual block switch is detected upon entry to CONTRL, a routine call to the error check subroutine is made; if a return is generated, the program exits to DRC or PERMIT, depending on the manual block switch position.

Page 80: WSIBf , 1 - International Nuclear Information System (INIS)

2.9 .3 Description

Upon entry, the position of the manual block switch «s read via digital input. If no change in the status of the block switch is detected, a return-jump to ERROR CHECKS is made. If a return is received, a test is made for a switch position other than RODS or SHIMS. If one of these positions is selected, the reactivity is updated via RHOCAL and a jump is made to PERMIT or DRC.

If a change in rod position status is noted, and the position is not RODS or SHIM, CONTRL will type the message "Blocked," turn off the DRC lamp, and deny Auto Shim Permif typing "DRC off," after which it will exit to clear all rod control relays. If the RODS position is selected, error checks are performed, the DRC lamp is turned on, the Auto Shim Permit is denied, "DRC on" messages are typed, the reactivity is updated, and the program jumps to DRC. If th<i SHIM position is selected, the DRC program is turned off (if it is on) and error checks are performed; and if no errors are found, the shim message is typed, the shim permit relay is energized, and the program exits to PERMIT.

The subroutine ERROR CHECK first tests the ana log-to-digital converter (ADC) error flag. If the flag is set, the program types an alarm message the first time the alarm is detected; if the digital rod control program is on, 10-min calls will be made to clear message flags, thus allowing all alarm messages to be retyped every 10-min. if the DRC program is not on, a jump to stop all relay control is made. If no ADC error is detected, a test is made us!;ig digital input data for the allowable combinations of the regulating rod limit switches. If these combinations are unreasonable^ a message is typed the first time, and the exit is made in the same manner as the AB' error described above. If the combinations are reasonable, the test fo,* rod drop is made. If any rod is seated and not clutched, the rod-drop state is defined, with flags DRMDRP and DROPFG being set. A test is then made for negative reactivity anomaly. If Rhodif is more nega-tive than - 5 5 / , an alarm message is typed the first time this condition is detected, and the program exits in the same manner as the above alarm exits. If no negative reactivity anomaly is detected, a test for positive reactivity anomaly is made. If the reactivity is greater than +1 $, a test is made for the drop condition. If the drop condition is detected, the positive reactivity anomaly is ignored. If the rod-drop state does not exist, the program types the reactivity anomaly message the first time and exits as described above. If the positive reactivity anomaly is not greater than 1 $, a test is made to determine if the reactivity is within the lower deadband ( -50 ± 5 / ) . If the reactivity is between - 4 5 / and - 5 5 / , a test is made to determine if MG4FLG is zero/, which would indicate that Rhodif entered the negative anomaly deadband from the low ( - 4 5 / ) side. If not, a nega-tive anomaly is present and the program exits as the ADC error described above. A deadband test is also made for the positive anomaly deadband (95 ± 5 / ) and is^andled the same way. If the program is within the deadband, and has entered from the lower side, the program continues by testing the DR option, otherwise the error exit is used .1- If the; . dynamic reactivity (DR) exceeds the set point maximum, all rod withdrawal and the Auto Shim Permit are inhibited, and the DR inhibit flag is set before the program returns. -If

Page 81: WSIBf , 1 - International Nuclear Information System (INIS)

7 4

the DR option is not selected, the program tests for error conditions to determine if any have cleared since the last execution of the program. The conditions are: ADC error, limits cleared, DR inhibit return to normal, and reactivity anomaly return to normal. The appropriate message flag for any condition is cleared, and, if in the SHIM position, the Auto Shim Permit is given. Otherwise, the DRC return message is typed and the subroutine returns. The logic block diagram of CONTRL is shown in Fig. 10.

2.9.4 Relationship to Other Programs

CONTRL is the preliminary program to DRC. CONTRL performs necessary error checks and must be executed before DRC is entered. CONTRL shares several message flags and status flags with DRC, and any changes in either program must be rectified with the other.

Page 82: WSIBf , 1 - International Nuclear Information System (INIS)

ORNL OWG NO 72859

NO.

TYPE 1 MSG NO 1 2

« N O * 3 < 5 6

/ T U R N O F F \ TYPT / DENY \ • ( ORC LITE ) » M S ( ; TOT AUTO SHIM ) . ( C I CLERXI (IN DRCLL

G D

7 8 9

10

MESSAGES

" R O D S " BLOCKED " S H I M " ORC ON ORC OFF REC ROD LIMITS BAD!(TIME ) REACTIVITY ANOMALY (TIME) ROD CONTROL DENIED 1538 DOWN ORC RTN

(UPOATE \ RHOCAL /

tn

/ T U R N O N \ -F DRC LITE « ) » \ F U ° /

ANALOGUE-DIGITAL CONVERT ANOMALOUS REACTIVITY BLOCK SWITCH DYNAMIC REACTIVITY DIGITAL ROD CONTROL AUTO SHIM RELAY POSITION REG ROO RETURN TO NORMAL RETURN JUBP (GO 4RETURNI

Fig. 10. Logic Block Diagram of Program CONTRL.

Page 83: WSIBf , 1 - International Nuclear Information System (INIS)

76

001. 002 . 003. 004. 005. 006. 007. 008. 009. 010. 01 1. 012 . 013. 014. 015. 016. 017. 016. 019.

020.

021 .

022.

023.

024.

00F4 00 EA 0089 00A2 009B 0038 009D 0022 0023 0000 0001 0002 000A OOOB 0023 0025 0026 0027 0028 0029 002A 002B 002C 002 D C 002 E C 002 F 0030 0031 0032 0033 0035 0037 0039 003B 003D C 003F C 0040 C

NAM C0NTRL ** CHECKS: L1M SW,RH0 AN0M.BL0CK SW REQUEST, **AND GIVES APPRP. MESSAGES. ••REVISED 6/15/70 10 : ADD INTER. SW T0 LIM • TESTS. ALS0 10 GIVE MSGS 0N P0S.AN0M, • AND USE DEAD BAND F0R AN0M MSGS., ** DR INHIBIT DELETED AND P0S. AN0MALY INHIBIT ADDED. ** P0SITIVE AN0MALY INHIBIT N0T USED DURING DR0P . • REV, 8/24/70 TO ADD TRMDRP FLAG.

ENT DR0PFG tTRMDRP USED BY DRC ENT C0N TRL,FLAGER,0UT,ST0PFG ENT 0NDRC f0FFDRC EXT M 38DWN, TYPMSG »TYPTIM EXT RH0CAL,DIGC0N,SCTRN EQU AM0NI($F4),ADISP($EA)

C C C c c c c c c c c c c c c c c c c c c c c

EXT DACDRI,DRC.PERMIT,CLREXI EQU AHEX<$89),A0CDEC($A2> EQU AT0D($9B)

EQU ARGINPCS88)fAVALU($9D),ZER0($22),CLMASK($2

C0M INAGIN ,CCL0CK , CYERT0(8), CYCLE,B(24)fRH0T0T

C0M IRH0EXtIREACTtlRSTMfIRANST,P0LD,P0WT0T,N0L

C0M N0WTIM,DIGWD8,RQTRIMfRH0DIF,INIT5

C0M ACCP0WC2),R5(2)tR10(2>,RXE(2),RSM(2)

C0M RFP(2),IRH0DY,BUTT0N

026. 027. 028.

*********************************************** ********************** *******************************

• w

Page 84: WSIBf , 1 - International Nuclear Information System (INIS)

77

030 . POOOO 5488 C0NTRL RTJ" (ARGINP) READ BLK SW STATUS 031 . POOOl 0045 ADC $45 =9 032 . P0002 A020 AND- $20 CONTAINS $0000 033. P0003 6848 STA* NEW9 BIT 15="RODS", 14="SHIM" 034 . P0004 B848 E0R* 0LD9 SEE I F ANY CHANGE SINCE 035. P0005 0116 SAN CHANGE-*- I 036. P0006 5847 RTJ* ERRCHK 037. P0007 C845 LDA* 0LD9 038 . P0008 0111 SAN N X T - * - l 039 . P0009 180C JMP* R0DPR0 040. POOOA 013A NXT SAM R0DPR0-*- 1 SW IN RODS P0S. 041 . POOOB 1818 JMP* PER0UT 042. POOOC C83F CHANGE LDA* NEW9 043. POOOD 683F STA* 0LD9 044. POOOE A020 AND- $20 045. POOOF 0108 SAZ 0 F F - * - l 046 . P0010 012C SAP S H I M - * - l 047. POOl 1 583C RTJ* ERRCHK 048 . P0012 5813 RTJ* 0NDRC TURN ON DRC . 049. POOl 3 5C79 RTJ* ( TYP) 050. P0014 00F8 ADC MSG 1 - * 051 . POO 15 5C7A R0DPR0 RTJ* (RHO) 052 . POOl 6 1400 X JMP DRC

P0017 7FFF X 053. POO 18 5C74 0FF RTJ* C TYP) 054. P0019 00 F7 ADC MSG2-* 055. POOl A 581A 0FFD RTJ* 0FFDRC TURN OFF DRC 056 . P001B 1800 JMP OUT

P001C 00 D5 057. P001D 5C6F SHIM RTJ* (TYP) 058 . POOl E 00 F6 ADC MSG3-* 059 . P001F 5815 RTJ* 0FFDRC 060. P0020 582D RTJ* ERRCHK 061. P0021 5800 RTJ PERMT

P0022 OODC 062. P0023 1400 X PER0UT JMP+ PERMIT

P0024 7FFF X 063. P0025 0000 0NDRC NUM 0 064. P0026 5800 RTJ DENY EDENY PERMIT

P0027 00 DE 065. P0028 CC63 LDA* (TRIMFG) 066. P0029 AO 36 AND- $36 =$FFF7, BIT 3 IS DRC FG 067. P002A 0908 INA 8 SET I T . 068. P002B 6867 STA* W0RD8 SCRATCH CELL. 069 . P002C 0F43 ARS 3 070 . P002D 5 061 RTJ* (DAC) TURN ON CONSOLE LIGHT 071. P002E 900B NUM $90 OB 072. P002F 5C5D RTJ* (TYP) 073. POO 30 00E8 ADC MSG 4 - * 074 . P0031 C861 LDA* W0RD8 SCRATCH CELL.

075. POO 32 6C59 STA* (TRIMFG) TURN ON DRC . 076 . P0033 1CF1 JMP* (0NDRC) 077 . P0034 0000 0FFDRC NUM 0 0 7 8 . P0035 CC56 LDA* ( TRIMFG) 079 . P0036 AO 36 AND- $36 =$FFF7, CLEAR DRC FLAG. 080 . P0037 6C54 STA* (TRIMFG) 081 . P0038 0F43 ARS 3

Page 85: WSIBf , 1 - International Nuclear Information System (INIS)

78

082 . P0039 505 5 RTJ* (DAC) TURN 0FF C0NS0LE LIGHT. 083 . P003A 90 OB NUM $90OB 084* P003B 5C51 RTJ* (TYP) 085 . P003C 00 EO ADC MSG 5 - * 086 . P003D ICF6 JMP* (0FFDRC)

0 8 8 . * ENTERED FR0M C0NS0LE PUSH BUTTONSt

090 . P003E CC4D FLAGER LDA* (TRIMFG) CAN NOT TURN DRC OFF I F BLK I 091 . P003F OFCC ALS 12 092 . POO 40 0134 SAM ROD0N-*- l 093 . P0041 C80B LDA* 0LD9 T DONT TURN ON DRC I F BLK IN SHI 09 4 . POO 42 0111 SAN N0DEAL-*- l 095. POO 43 58E1 RTJ* ON DRC 096 . P0044 I4EA N0DEAL JMP- ($EA) 097 . POO 45 C807 R0D0N LDA* 0LD9 SEE I F BLK SW. IN RODS POS. 098 . P0046 0133 SAM N0F00L-+-1 099 . POO 47 58EC RTJ* OFFDRC NO. SO PERMITTED TO TUNR HIM0FF 100. P0048 1800 JMP CLRDS

POO 49 00A9 101. P004A 14EA N0F00L JMP- ($EA) 102. P004B 0000 NEW9 NUM 0 103. P004C 0000 0LD9 NUM 0

105. * ERROR CHECKING SUBROUTINE.

107. P004D 0000 ERRCKK NUM 0 108. P004E C400 X LDA+ M38DWN CHK. DWN FLAG FOR HI LEVEL

P004F 7FFF X 109. POO 50 0104 SAZ I M C - * - l CK. REG. ROD LIMITS FOR ERRORS, 110. P0051 C 844 LDA* MG38FG CK. 1538 STATUS. 111. POO 52 0103 SAZ T Y P 3 8 - * - l 112. P0053 1800 JMP OUT

POO 54 009D 113. P0055 180B IMC JMP* LIMCHK 114. P0056 D83F TYP38 RAO* MG38FG 115. T38 FWRITE $ E > t M S G 9 - T 3 8 - l , 1 0 , A , 4 , f , X 115. P0057 54F4

FWRITE $ E > t M S G 9 - T 3 8 - l , 1 0 , A , 4 , f , X

115. P0058 OD40 115. P0059 0000

P005A 0000 115. P005B 100E 115. P005C 00 OA

P005D 0100

116. P005E 1800 JMP FLGCHK P005F 0083

118. * THIS CHECKS FOR ILLEGAL REG ROD LIMITS.

120* P0060 5488 LIMCHK RTJ- (AR6INP) READ DIGWD • 8

Page 86: WSIBf , 1 - International Nuclear Information System (INIS)

79

121 • P0061 0026 ADC $26 =8 122. POO 62 6C2F STA* (DIG 8 ) 123* POO 63 0864 TCA A 124. P0064 A800 AND GUDMSK

P0065 0094 125 . P00c>6 682C STA* W0RD8 N0W Q-N0 LIMIT? 1=IN L I M I T , 126* POO 67 A03D AND- $3D =$FBFF CLR 0UT INTER. B I T . 127 . P0068 0109 SAZ GUDLIM-* - l ZER0 MEANS N0 L I M I T . 1 2 8 . P0069 0C04 ENQ 4 1 2 9 . P006A C828 LPCHK LDA* V0RD8 CHECK F0R LEGAL COMBINATION 0F 130 . P006B BAOO E0R GUDMSK,Q SERVO LIMITS »

P006C 008 D 131 . P006D 0104 SAZ GUDLIM-* - l SKIP I F LEGAL COMB. FOUND. 1 3 2 . P006E ODFE INQ - 1 OTHERWISE KEEP CHECKING. 1 3 3 . P006F 0141 SQZ B A D L I M - * - l UNLESS ALL LEGAL COMBIN. 134 . * HAVE BEEN CHECKED. 135. P0070 18F9 JMP* LPCHK 136 . P0071 1861 BADLIM JMP* BADLI 137 . P0072 CC1F GUDLIM LDA* (D IG8) SEE I F ANY NOT CLUTCHED. 1 3 8 , P0073 AOOA AND- $A =-FF 139 . P007 4 0822 TRA Q 140. P0075 A006 AND- 6 =F 141 . P0076 BO 06 B0R- 6 142. P0077 0106 SAZ AN0CH-* - l I F ALL CLUTCHED SKIP 143 . P0078 0F24 QRS 4 144 . P0079 08B4 LAQ A OTHERWISE: I F ANY SEATED & NOT 145 . P007A 0113 SAN AN0CH-+-1 CLUTCHED THEN SET DROPFG & 146 . P007B 0A01 ENA 1 SET THE TRMDRP FLAGES. 147 . P007C 681C STA* TRMDRP USED 10 PERMIT SIMULATEN0US 1 4 8 . P007D 681A STA* DROPFG WITHDR OF U0W & INSERT OF H I . 1 4 9 . P007E 5C11 AN0CH RTJ* (RHO) RETURNS WITH COMP. RHODIF I N A. 150 . P007F 6817 STA* RH0SV 151 . P0080 9000 SUB =N55 I F > . 5 5 (DEFINES NEG. ANOMALY.)

P0081 0037 152. POO 82 0131 SAM PASA- * - l SKIP I F NOT. 153. POO 83 1816 JMP* ANON 154 . P0084 8000 PASA ADD =N155 I F > + $ 1 . 0 0 (DEFINES A P0S. AN0MAL

P0085 009B 155. P0086 0131 SAM DR0C-+-1 SO S K I P . 156 . P0087 1816 JMP* DED 157. P0088 C80F DR0C LDA* DROPFG ( FLAG CLEARED BY DRC I F REG< WDLI 1 5 8 . P0089 010F SAZ A N 0 N - * - l SKIP I F NO CROP CONDITION. 1 5 9 . P008A 1820 JMP* REACOK 160 . P008B 0040 C TRIMFG ADC BUTTON 161 . P008C 7FFF X TYP ADC TYPMSG 1 6 2 . P008D 7FFF X TIM ADC TYPTIM 163 . P008E 7FFF X DAC ADC DACDRI

164 . P008F 7FFF X RH0 ADC RHOCAL 165 . P0090 7FFF X DIG ADC DIG CON 166 . P0091 002F C DIGS ADC DIGWD8 167 . P0092 0001 BZS W0RD8 ,MG 4FLG ,BMGFLG ,MG38FG

P0093 0001 P0094 0001 P0095 0001

k68 . P0096 0000 RH0SV NUM 0 1 6 9 . P0097 0000 EROPFG NUM 0

Page 87: WSIBf , 1 - International Nuclear Information System (INIS)

80

170* P0098 0000 171 . P0099 C8F9 172 . P009A 0101 173. P009B 1856 174. P009C 1822 175. P009D 9000

P009E 0091 176. P009F 0134 177. POOAO C8F2 178 . P00A1 0111 179. P00A2 1807 180. P00A3 184E 181 . P00A4 8000

P00A5 0087 182. P00A6 0121 183. P00A7 1SF8 184. P00A8 1801 185. P00A9 OBOO 186. POOAA C8EA 187. POOAB 0116 188. POOAC C8E7 189. POOAD 0114 190. POOAE C823 191. POOAF 0112 192. POOBO C8E2 193. P00B1 010B 194. P00B2 OAOO 195. P00B3 68 El 196. P00B4 68DF 197. P00B5 68DD 198 . P00B6 68 IB 199. P00B7 C894 2 0 0 . P00B8 OFCi 201 . P00B9 0121 2 0 2 . POOBA 5844 2 0 3 . POOBB 5CD0 204 . POOBC 0097 205 . POOBD 1C8F 206 . POOBE D6D4 2 0 7 . POOBF 580B 2 0 8 . POOCO 5CCC 2 0 9 . P00C1 0080 210. 2 1 0 . P00C2 54F4 2 1 0 . P00C3 0D4O 2 1 0 . P00C4 0000

P00C5 0000 2 1 0 . P00C6 100E 2 1 0 . P00C7 0011

POOC8 0073 2 1 1 . P00C9 1819 2 1 2 . POOCA 0000 2 1 3 . POOCB 0A01 2 1 4 . POOCC 60FF 2 1 5 . POOCD 0844 2 1 6 . POOCE 0842 2 1 7 . POOCF 5GC0 2 1 8 . POODO 1CF9

TRMDRP NUM 0 USED BY DRC. AN0N LDA* M6 4FL6

SAZ 0 K P 4 - * - l JMP* 0UT

0KP4 JMP* 0KTYP4 DED SUB =N 145 SEE I F > -45CENTS. (DEAD BAND).

SAM N 0 - * - l DER LDA* MG4FLG

SAN N0TCLR-* - l MSGFLG N0 T CLEAR YET. JMP* REGUD 0K S0 G0 CHECK DR.

N0TCLR JMP* 0UT ALARM N0T CLEARED YET. N0 ADD =N135 SEE I F >+9O(P0S. DEAD BAND).

SAP N 0 2 - * - l SKIP IF N0T. JMP* DER

N02 JMP* REGUD REGUD N0P 0 DR INHIB IT L00P G0ES IN HERE * * * * * * * * * * * REAC0K LDA* MG38FG SEE I F SCAN JUST RTN

SAN TYPE0K-*- l LDA* BMGFLG SAN TYPE0K-*- l LDA* ST0PFG SAN TYPE0K-*- l LDA* MG4FLG SAZ CKTRIM-* - !

TYPE0K ENA 0 STA* MG38FG STA* BMGFLG STA* MG4FLG STA* ST0PFG LDA* 0LD9 I F BLK SW IN THE SHIM P0S. ALS 1 GIVE PERMIT. SAP RTNMSG-*-l RTJ* PERMT GIVE PERMIT

RTNMSG RTJ* (TYP) RTN MSG ADC MSG 1 0 - *

CKTRIM JMP* (ERRCHK) 0KTYP4 RA0* MG4FLG

RTJ* WDST0P RTJ* (T IM) ADC MSG7»*+11

FR FWRITE $ E f t M S G 7 - F R - l , 1 7 f A , 4 t f t X

N0MSG JMP* FLGCHK WDST0P NUM 0

ENA 1 STA- I CLR A CLR Q RTJ* (DIG) JMP* (WDST0P)

Page 88: WSIBf , 1 - International Nuclear Information System (INIS)

8 1

2 1 9 . POOD1 0000 STOPFG NUM 0 2 2 0 . POOD2 C8C1 BADLI LDA* BMGFLG SEE I F TIME F0R MSG. 221 . P00D3 0101 SAZ OKTYP-* - I 2 2 2 . POOD4 181D JMP* 0UT 2 2 3 . P00D5 D8BE 0KTYP RA0* BMGFLG 2 2 4 . P00D6 C8BB LDA* WORDS 2 2 5 . P00D7 5489 RTJ- CAHEX) 2 2 6 . POO DS 8059 ADC (MSG6- *+ I6 ) 2 2 7 . P00D9 5CB3 BADMSG RTJ* ( T I M ) GET CURRENT TIME. 2 2 8 . POO DA 0052 ADC MSG6-*+ i1 2 2 9 . BMSG FWRITE S E t t M S G 6 - B M S G - l , 2 0 t A f 5 t t f X 2 2 9 . POODB 54F4 2 2 9 . POO DC 0D50 2 2 9 . POODD 0000

POODE 0000 2 2 9 . POO DF 100E 2 2 9 . POOEO 0014

POOE1 0045 2 3 0 . P00E2 CCA8 FLGCHK LDA* (TRIMFG) SEE I F DRC I S 0N. 231 • P00E3 A026 AND- $26 = 8 , B I T 3 I S DRC FLAG. 2 3 2 . P00E4 0111 SAN T I M S - * - l 2 3 3 . POOE5 iftoc JMP* 0UT 2 3 4 . TIMS TIMER CLR-TIMS-1» 4 , X 9 3 2 3 4 . P00E6 54F4 2 3 4 . P00E7 1134 2 3 4 . P00E8. 000 D 2 3 5 . P00E9 0009 NUM 9 10 . MIN .CALL T0 REPEAT MSGS. 2 3 6 . 0UTMSG FWRITE $ E , , M S G 8 - 0 U T M S G - 1 , 1 1 , A , 4 , , ,X 2 3 6 . POOEA 54F4

FWRITE $ E , , M S G 8 - 0 U T M S G - 1 , 1 1 , A , 4 , , ,X

2 3 6 . POOEB 0D40 •

2 3 6 . POOEC 0000 POOED 0000

2 3 6 . POOEE 100E 2 3 6 . POOEF 00 OB

POOFO 005D 2 3 7 . POOFi 5814 0UT RTJ* DENY SCAN 34 ENTERS HERE T0 ST0P RODS. 2 3 8 . P00F2 1400 X CLRDS JMP+ CLREXI

POOFS 7FFF X 2 3 9 . POOF4 OAOO CLR ENA 0 2 4 0 . P00F5 689E STA* BMGFLG RESPONSE 10 TIMER CALL. 2 4 1 . P00F6 689C STA* MG4FLG 2 4 2 . POOF7 689D STA* MG38FG 2 4 3 . P00F8 14£A JMP- (ADISP) 2 4 4 . * *THE BITS ARE SET F0R THE NOT L I M I T S . 1=AB0VE INTER 2 4 5 . POOF9 9D00 GUDMSK NUM S9D00 ALL RR SW B I T S . 2 4 6 . POOFA 8000 NUM $8000 ASE + INERMEDIATE. 2 4 7 . POOFB 8100 NUM $8100 ASW -1- I N T . + WDL L I M . 2 4 8 . POOFC OCOO NUM $C00 ASI ONLY. 2 4 9 . POOFD 1C00 NUM $1C00 ASI AND I N S . L I M . 2 5 0 . POOFE 0000 PERMT NUM 0 GIVE PERMIT TO REACTOR 251 • POOFF 0842 CLR Q 2 5 2 . P0100 40FF STQ- I 2 5 3 . P0101 0A01 ENA 1 2 5 4 . P0102 E020 LDQ- $20 -$8000 2 5 5 . P0103 5 CSC RTJ* (D IG) 2 5 6 . PO 104 1CF9 JMP* (PERMT) 2 5 7 . P0105 0000 DENY NUM 0 2 5 8 . P0106 0844 CLR A DENY SHIM PERMIT.

Page 89: WSIBf , 1 - International Nuclear Information System (INIS)

8 2

2 5 9 . POI07 60FF 2 6 0 . POI08 0A01 2 6 1 . POI09 £021 2 6 2 . POI OA 5C85 2 6 3 . POIOB 1CF9 2 6 4 . P010C 2252

POI00 4F44 P010E 5322 POIOF 2020

2 6 5 . POI10 424C POI11 4F43 POI12 4B45 POI 13 4420

2 6 6 . POI14 2253 POI15 4849 POI16 4D22 POI17 2020

2 6 7 . POI18 4452 POI19 4320 POI1A 4F4E POI13 2020

2 6 8 . POI1C 4452 POI ID 4320 POllE 4F46 POI IF 4620

2 6 9 . P0120 0000 2 7 0 . POI21 8012 2 7 1 . POI22 5245

P0123 4720 P0 I24 524F POI25 4420 P0126 4C49 POI27 4D49 P0128 5453 POI29 2042 P012A 4144 P012B 2120 P012C 2020 P012D 2020 P012E 3A5E P012F 2020 POI30 2020 P0131 2020 P0132 2020 POI33 2020

2 7 2 . POI34 8011 2 7 3 . POI35 0000 2 7 4 . P0136 8012 2 7 5 . P0137 5245

POI38 4143 POI39 5449 P013A 5649 P013B 5459 P013C 2041 P0 I3D 4E4F P013E 4D41 P013F 4C59 P0140 2020

STA- I ENA 1 LDQ- $21 =$0000 RTJ* (DIG) JMP* (DENY)

MSG1 ALF 4,WR0DS"

MSG2 ALF 4.BL0CKED

MSG3 ALF 4 f "SHlM"

MSG 4 ALF 49DRC 0N

MSG5 ALF 4,DRC 0FF

NUM 0 MSG6 NUM $8012 RED R I B .

ALF 18,REG R0D LIMITS BAD!

NUM $8011 NUM 0

MSG 7 NUM $8012 ALF 14,REACTIVITY AN0MALY

Page 90: WSIBf , 1 - International Nuclear Information System (INIS)

83

P0141 2020 POl 42 2020 P0143 3A5E P0144 2020

276. P0145 2020 NUN $2020 277. P0146 8011 NIM $8011 278. P0I47 0000 NUN 0 279. P0148 8012 MSG 8 NUM $8012 280. POl 49 524F ALF 9,R0D <

P014A 4420 P014B 434F •

PQ14C 4E54 P014D 52 4F P014E 4C20 P014F 4445 P01 50 4E49 P0151 4544

281. P0152 8011 NUN $8011 282. P0153 4452 MSG 10 ALF 4.DRC 1

P0154 4320 P0155 5254 P0156 4E20

283. POl 57 0000 NUM 0 284. P0158 8012 MSG9 NUM $8012 285. POl 59 3135 ALF 8 V1 538 P015A 3338

P015B 2044 P015C 4F57 P015D 4E21 P015E 2020 P015F 2020 POl 60 2020

286. P0161 8011 NUM $8011

BLK RIB

287. END

I 00 FF DR0PFG 0097 P TRMDRP 0UT OOFIP ST0PFG 00 DIP 0NDRC AD ISP 00 EA AHEX 0089 A0CDEC AVALU 009D ZER0 0022 CLMASK CYERT0 0002C CYCLE OOOAC B IRH0EX 0026C I REACT 0027C IRSTM P0WT0T 002BC N0LTIM 002CC PAVG RQTRIM 0030C RH0DIF 0031C INIT5 RIO 0037C RXE 0039C RSM BUTT0N 0040C NXT OOOAP CHANGE 0FFD 001AP SHIM 001 DP PER0UT N0F00L 004AP NEW9 004BP 0LD9 TYP38 0056P 138 0057P LIMCHK GUDLIM 0072P AN0CH 007EP PASA TYP 008CP TIM • 008DP DAC DIG8 0091P W0RD8 0092P MG4FLG RH0SV 0096P AN0N 0099P 0KP4 N0TCLR 00A3P N0 00A4P N02 TYPE0K 00B2P RTNMSG OOBBP CKTRIM N0MSG 00C9P WDST0P OOCAP BADLI BMSG OODBP FLGCHK 00 ESP TIMS CLR 00F4P

* GUDMSK 00F9P PERMT

0098P C0NTRL OOOOP FLAGER 003EP 0025P 0FFDRC 0034P AM0NI 00F4 00A2 AT0D 009B ARGINP 0088 0025 INAGIN OOOOC CCL0CK 0001C OOOBC RH0T0T 0023C IRH0SC 0025C 0028C IRANST 0029C P0LD 002AC 002 DC N0VTIM 002 EC DIGWD8 002FC 0032C ACCP0W 0033C R5 0035C 003BC RFP 003 X IRH0DY 003FC OOOCP R0DPR0 0015P 0FF 0018P 0023P N0DEAL 0044P R0D0N 0045P 004CP ERRCHK 004DP IMC 0055P 0060P LPCHK 006AP BADLIM 007 IP 0084P DR0C 0088P TRIMFG 008BP 008EP RH0 008FP DIG 0090P 0093P BMGFLG 009 4P MG38FG 009 5P 009CP DED 009 DP DER OOAOP 00A8P REGUD 00A9P REAC0K OOAAP OOBDP 0KTYP4 OOBEP FR 00C2P 00 DSP 0KTYP 00 DSP BAD MSG 00D9P 00E6P 0UTMSG OOEAP CLRDS 00F2P OOFEP DENY 0105P MSG 1 010CP

Page 91: WSIBf , 1 - International Nuclear Information System (INIS)

84

MSG 2 0110P MSG7 0136P PERMIT 0024X RH0CAL 008 FX J

MSG3 0114P MSG 8 0148P DRC 0017X TYPTIM 008 DX

MSG4 0118P MSG 10 0153P DACDRI 008EX TYPMSG OCSCX

MSG5 011CP MSG9 0158P SCTRN 7FFFX M38GUN 004FX

MSG6 0121P CLREXI 00F3X DIGC0N OOSOX

Page 92: WSIBf , 1 - International Nuclear Information System (INIS)

2.10 DACDRI

2 .10 .1 Classification

On-Iine/core resident/assembly language/nonreentrant/re locatable

2.10.2 Purpose

DACDRI is a general purpose subroutine that will output values to all the digital-to-analog converter channels other than channel 0 to channel 1.

2.10.3 Description

Upon entry, DACDRI inhibits interrupts to prevent the program from being reentered. The content of the A register is saved and is the value to be output to the dig:tal-to-analog channel. A test is made for requests to digital channels 0 or 1, and an error message is given if either of these channels is requested. (Channels 0 and 1 control the relays in the HFIR control system and are reserved for exclusive use by pro-gram DIGCON. )

The DACDRI program will try three times to connect to the data control terminal, and will type a message if more than three attempts are required,. Otherwise, the value contained in the A register is output, interrupts are enabled, and the program returns to the caller.

The logic block diagram diagram of DACDRI is shown in Fig. 11.

2.10.4 User Instructions

The call sequence for the subroutine DACDRI is as follows: the A register should contain the value to be output, and the following word should contain the digital channel address, with the most significant four bits containing the continue command code $9. The DAC will output dc current of 10 to 50 ma, corresponding to a value in the A register of 0 to $7FFO. Only the 11 most significant bits of the A register are used. The sign bit and the lower four bits are ignored. The user, therefore, must left-justify the numerical value with this requirement in mind.

2.10.5 Relationship to Other Programs

DACDRI is used by programs DIFPLT, DATPLT, DR, and PLTCOM.

Page 93: WSIBf , 1 - International Nuclear Information System (INIS)

86

O R N L DWG NO. 7 2 - 8 0 8

Fig. 11. Logic Block Diagram of Program DACDRI.

Page 94: WSIBf , 1 - International Nuclear Information System (INIS)

87

001 . NAM DACDRI REVISED 3 / 6 / 6 9 002 . ENT DACDRI 0 0 3 . 00 EA EQU ADISP(SEA)

0 0 5 , * THIS PR0GRAM IS ENTERED WITH THE 006 • * DAC 0UTPUT SIGNAL IN THE A REGISTER. 007 • * THE CHANNEL C0NTINUE C0MMAND IS 0 0 8 . * Al ' THE FIRST ADDRESS F0LL0WING THE 0 0 9 . * REQUEST0RS E X I T . 0 1 0 . * R0D C0NTR0L W0RDS 0 AND 1 ARE N0T ALL0WE1

0 1 2 . P0000 0000 DACDRI NUM 0 0 1 3 . P0001 0500 I I N 0 0 1 4 . P0002 683C STA* ASAV 0 1 5 . P0003 CCFC LDA* (DACDRI) CK. T0 SEE I F W0RD 0 0R1 . 0 1 6 . P0004 A006 AND- 6 ERASE THE C0NTINUE C0MMAND 0 1 7 . P0005 0103 SAZ E X I T - * - l SKIP I F W0RD 0 . 0 1 8 . P0006 09FE INA - 1 CHK. F0R W0RD 1 . 0 1 9 . P0007 0101 SAZ E X I T - * - l SKIP I F W0RD 1 0 2 0 . P0008 1802 JMP* START 0 2 1 . P0009 1826 EXIT JMP* ILLMSG 0 2 2 . POOOA 0A03 START ENA 3 0 2 3 . POOOB 6834 STA* C0NTER 0 2 4 . POOOC E02D DCTC0N LDQ- $2D 02 5 . POOOD 0202 INP 2 0 2 6 . POOOE 1807 JMP* DCT0K C0NNECT 10 DCT 0K 0 2 7 . POOOF OBOO N0P 0 0 2 8 . P0010 C82F LDA* C0NTER 0 2 9 . P0011 010C SAZ ERMSG-*-l 0 3 0 . P0012 09FE INA - 1 TRY T0 C0NNECT 3 TIMES 031 . P0013 6820 STA* C0NTER 0 3 2 . P0014 18F7 JMP* DCTC0N 0 3 3 . P001 5 C829 DCT0K LDA* ASAV 0 3 4 . P0016 ECE9 LJDQ* (DACDRI) CH. C0NTINUE CMMAND 035 . POO 17 0302 0UT 2 0 3 6 . P0018 1803 JMP* DAC0K C0NNECT T0 DAC 0K 0 3 7 . P0019 OBOO N0P 0 0 3 8 . P001A 1804 JMP* ERMSG FAILED T0 C0NNECT 10 DAC 0 3 9 . P001B D8E4 DAC0K RA0* DACDRI RETURN ADR. 040 . P001C 0400 EIN 0 041 . P001D 1CE2 JMP* (DACDRI) N0RMAL EXIT 0 4 2 . POO IE 0400 ERMSG EIN 0 0 4 3 . ERMSF FWRITE $ E . . M S G - E R M S F - 1 , 7 . A . 4 , . . X 0 4 3 . POO IF 54F4 0 4 3 . P0020 0D40 0 4 3 . P0021 0000

P0022 0000 0 4 3 . P0023 100E 043* P0024 0007

P0025 0008 0 4 4 . P0026 18F4 JMP* DAC0K 0 4 5 . P0027 0000 NUM 0 SCRATCH 0 4 6 . P0028 4E4F MSG ALF 7 ,N0 DAC C0NCT.

P0029 2044 m

P002A 4143 P002B 2043

Page 95: WSIBf , 1 - International Nuclear Information System (INIS)

8 8

P002C 4F4E P002D 4354 P002E 2E20

0 4 7 . P002F 0400 0 4 8 . 0 4 8 . P0030 54F4 0 4 8 . P0031 OD40 0 4 8 . POO 32 OOOO

P0033 OOOO 0 4 8 . P0034 100E 0 4 8 . P0035 0005

P0036 0008 0 4 9 . POO 37 18E3 0 5 0 . P0038 OOOO 051 . P0039 49 4 C

POO 3 A 4C45 P003B 472 E P003C 2044 P003D 4143

0 5 2 . P003E 0001 P003F 0001

ILLMSG EIN 0 IILMSG FWRITE $E, f M S G l - I I L M S G - 1 f 5 t A , 4 , 9 fX

JMP* DAC0K NUM 0 SCRATCH

MSG1 ALF 5 , ILLEG. DAC.

0 5 3 .

BZS ASAV.O0NTER

* END

Page 96: WSIBf , 1 - International Nuclear Information System (INIS)

89

2.11 DATPLT

2 .18 .1 CI ossification

On-line/drum resident/assembly language/relocatable/nonreentrant

2.11.2 Purpose

The DATPLT program outputs standard calibration signals to the x-y plotter.

2.11.3 Description

Upon entry, the program nulls the kill flag in location $6A and then tests to determine if the kill is requested. If the kill has not been set by use of function 9, the program outputs a value to the y axis equal to full scale $7D00. A value equal to $7050 is then output to the x axis. After a 5-sec delay, the program outputs zeros to the x and y axes. This process is repeated ten times, and the program is released.

The logic block diagram of DATPLT is shown in Fig. 12.

2.11.4 User Instructions

DATPLT is initiated by demand function 13. During the course of its execution the user may adjust the gain and zero values of the x-y plotter for the full scale and zero values.

The program may be terminated at any time by function 09.

2.11.5 Relationship to Other Programs

DATPLT uses subroutine DACDRI and responds to a stop request kill flag in loca-tion $6A, which is set by program FRYKILL.

2.11.6 Change Considerations

The values output for full scale to the x and y axes are the assumed gain values used by program PLTCON. Any changes in these values must be compatible with the values assumed in program PLTCON.

Page 97: WSIBf , 1 - International Nuclear Information System (INIS)

9 0

O R N L DWG NO. 7 2 837

m a n . f c n . 13

Fig. 13. Logic Block Diagram of Program DIFPLT.

Page 98: WSIBf , 1 - International Nuclear Information System (INIS)

9 1

001. NAM DATPLT 0 0 2 E N T PT 003. EXT DACDRI. 004. 006A EQU KL($6A) 005. 00EA EQU ADISP($EA)

007 . POOOO OAOO PT ENA 0 008 . P0001 606A STA- KL 009 . P0002 C06A G0 LDA- KL 010 . P0003 0105 SAZ G P - * - l 011 . P0004 181E JMP* RLS 0 1 2 . P0005 7FFF X DAC ADC DACDRI 013 . P0006 OOOA ENUF NUM $A 014 . P0007 7050 XMAX NUM $7050 015. P0008 7D00 YMAX NUM S7D00

0 1 7 . P0009 C8FE GP LDA* YMAX 018 . POOOA 5CFA RTJ* (DAC) 019 . POO OB 9002 NUM $9002 020 . POOOC C8FA LDA* XMAX 0 2 1 . POOOD 5CF7 RTJ* (DAC) 022. POOOE 9003 NUM $9003

0 2 4 . * COME BACK A ZER0 0UT 5 SECONDS

026 . TIM TIMER Z E R 0 - T I M - I , 4 , T , 2 026. POOOF 54F4 026 . P0010 1124 026. POOH 0004 027 . P0012 0004 NUM 4 0 2 8 . POOl 3 14EA JMP- (ADISP)

030 . * ENTER HERE AFTER 5 SECONDS

0 3 2 . POOl 4 OAOO ZER0 ENA 0 033. POOl 5 5CEF RTJ* (DAC) 0 5 4 . POOl 6 9002 NUM $9002 035. P0017 5CED RTJ* (DAC) 0 3 6 . POOl 8 9003 NUM $9003 037 . POO 19 C8EC LDA* ENUF 0 3 8 . POOl A 0107 SAZ R L S - * - l 0 3 9 . POO IB 09FE INA - 1 040* P001C 68E9 STA* ENUF

0 4 2 . * START OVER UNTIL FINISHED

044 . TOM TIMER G0~T0M-1»4,T»2 044* POOID 54F4 044 • P001E 1124 044* POO IF 7FE3 0 4 5 . P0020 0004 NUM 4 046* P0021 14EA JMP- (ADISP) 047* RLS RELEAS (PT -RLS-1 ) ,T ,X 047 . P0022 54F4 0 4 7 . P0023 1901 047 • P0024 FFDC

048 END

Page 99: WSIBf , 1 - International Nuclear Information System (INIS)

92

2.12 DECLCM

2.18.1 CI ossification

On-1 ine/core resident/assembly language/nonreentrant/nonrelocatable

2.12.2 Purpose

DECLCM is the user program to declare the common area for the on-line oper-ating system. It is loaded during the system rebuild before any other program referencing common.

2.12.3 Description

DECLCM contains the common block designations for the process scan programs, the special purpose data blocks for the hydraulic scan program SCNFLO, and the tantalum build-up factors for the RHORODS program. A program block diagram is not shown because this program is not executed and represents a declaration of the common area for the system loader.

The common locations by name and their contents are as follows:

1NAGIN The scan on flag used to indicate the process scan program is on.

CCLOCK Common clock used to store the value of location $E8 at the time of the last burnup calculation.

CYERTO Eight words of common used to store the calendar and the time of day in the following order: year, month, day, hour, minute, second, and hour:minute*

CYCLE Location to store the current cycle number.

B Twenty-four words of common used to store 12 floating point variables for the concentrations of the core isotopes in the following order: U-235, B-10, 1-135, XE-135, ND-147, PM-147, PM-148m, PM-148, PM-149, SM-149, pseudofission products, and spare.

RHOTOT RHOTOT is a floating point representation of the total reactivity change from ail isotopes in absolute units.

IRHOSC Total integer burn-up reactivity calculated in cents.

Page 100: WSIBf , 1 - International Nuclear Information System (INIS)

93

IRHOEX

IRSTM

IRAN ST

POLD

POWTOT

NOLTIM

PAVG

NOWTIM

DIGWD8

RQTRIM

RHODIF

IN ITS

ACCPOW

R5

RIO

RXE

RSM

RFP

Initial integer excess reactivity at startup in cents. This value is fixed from RHORODS when the scan is first started for a new cycle.

Indicator for the first scan at the beginning of a new core cycle.

Transient flag indicator to show that the power level is changing at a rate greater than 1 MW/sec.

Power level value used for last burnup calculation.

Total integrated power in MW-days x 10.

Value of $E8 counter when last burnup calculation is made.

Median value of power from current scan calculation in MW-days x 10.

Value of counter clock location $ES for current burnup calculation.

Input from digital input word eight for current scan.

A bit pattern for status of momentary console lights.

Integer reactivity difference or reactivity anomaly in cents.

Initial position of rod 5 at symmetric critical in inches x 100.

Accumulated integrated reactor power in floating point MW-days x 10.

Floating point reactivity change due to U-235, absolute units.

Floating point reactivity change en absolute units for B-10.

Floating point reactivity change in absolute units for X-135.

Floating point reactivity change in absolute units for SM-149.

Floating point reactivity change in absolute units for fission products.

Page 101: WSIBf , 1 - International Nuclear Information System (INIS)

9 4

IRHODY

BUTTON

FRYLIN

BULCRY

DRFLUX

RODPOS

TANT

FIL

NOWSEC

NOWMIN

NOWHR

HB1

PROJCT

BLKS

Integer dynamic reactivity from DR program in cents.

Bit pattern showing status of console latching lights.

Value read from single-channel, analog power spectral density analyzer.

Average value of power spectral density calculated by BULKRY to compare with value above.

Average value of neutron flux read and used by program DR.

Current values of the five rod positions in inches x 100.

Values for each of five rods used to correct for tantalum buildup or decay (see RHORODS).

Two spare locations.

Value of drum LSB used for storing the 1-sec block.

Current drum LSB for minute data block.

Current LSB for hour data block. These values are updated by DMPCOM and are saved by DRMXFR in locations $7F60, 1, 2, 3 for the data replay program PLTCOM.

The first of thirteen values used by program SCNFLO to store the current standard hydraulic data block. These numbers are the reference numbers that will be used as the alarm basis for future values read by the hydraulic scan program.

Eleven locations beginning at $7F9F are used by program PROJCT to store the reactor power profiles to be used in the xenon extrapolation calculations.

Starting at location $7FAA, the remainder of the common block up through $7FFF is available for expansion.

Page 102: WSIBf , 1 - International Nuclear Information System (INIS)

9 5

001 .

0 0 3 . 0 0 4 . 0 0 5 .

0 0 7 .

008.

0 0 9 .

010.

Oil.

012.

0 1 3 .

0 1 4 .

C C

0000 C 0001 c 0002 C OOOA C OOOB C 0023 C 0025 C 0026 C 0027 C 0028 C 0029 C 002A C 002B C 002 C C 002D C 002E C 002F C 0030 C 0031 C 0032 C 0033 C 0035 C 0037 0039 003B C 0 0 3 0 C 003F C 0040 C 0041 0042 0043 C 0044 C 0049 C 004E C 0050 C 0051 C 0052 C 0053 C 0054 C 0070 C 0071 C 0072 C 0073 C 0074 C 0075 C 0076 C 0077 C 0078 C 0079 C 007A C

NAM DECLCM REV. 2 / 3 / 7 1

* ESTABLISHES C0MM0N F0R THE SYSTEM. * MUST BE L0ADED BY S . I . BEF0RE ANY * 0THER PR0GRAN THAT USES C0MM0N.

C0M INAGIN f OCL0CK9 CYERT0( 8) , CYCLE,B(24)

C C

C0M RH0T0T(2) . IRH03C, IRH0EX 9 IREACT9 IRSTM

C0M IRANST9P0LD,P0WT0T,N0LTIM»PAVG,N0VTIM

C0M DIGVD8,RQTRIM,RH0DIF 9 INIT5,ACCP0VC2>,R5(2>

C0M R 1 0 ( 2 ) f R X E ( 2 ) 9 R S M ( 2 ) 9 R F P ( 2 ) 9 I R H 0 O Y 9 B U T T 0 N

C0M FRYLIN 9BULCRY9DRFLUX9R0DP0S<5)9TANT<5)9FIL

C0M N0WSEC9N0VMIN, N0WHR, CYCLER , F I L L E R ( S I C )

C0M HB1,HB2,HB3 tHB 4 , E F 1 , E F 2 9 EF4 9 NP1RP19 NRP2»NR

Page 103: WSIBf , 1 - International Nuclear Information System (INIS)

9 6

0078 007C 007D 007E 009F OOAA

C C C C C C

C0M DPI fDP2 , DPS,FILUP($21)

C0M PR0JUI > ,BLKS($55)

END

Page 104: WSIBf , 1 - International Nuclear Information System (INIS)

97

2.13 DIFPLT

2 .18 .1 CI ossification

On-line/core resident/assembly language/nonreentrant/relocatable

2.13.2 Purpose

DIFPLT outputs to a strip-chart recorder in the reactor control room the current value of the average anomaly. The most recent three values are averaged, and the value is displayed on a scale of ±1 $.

2.13.3 Description

DIFPLT is entered each scan cycle at priority level 7 by a jump from program PICMID. Upon entry, the program uses the current value of Rhodif from common and averages the current value with the most recent two values of Rhodif. The values are then scaled for output' to digital channel 6. A call is made to subroutine DACDRI to plot the point, and, upon return, a jump is made to program DMPCOM. The logic block diagram of DIFPLT is shown in Fig. 13.

2.13.4 Relationship fro Other Programs

DIFPLT is entered from program PICMID and exits to program DMPCOM. Sub-routine DACDRI is used.

Page 105: WSIBf , 1 - International Nuclear Information System (INIS)

98

ORNL DWG NO. 72 837 PICMID f

^ PIFPLT ^

GET RHODIf FROM

COMMON

COMPUTE AVG. OF U S T 3 VALUES

SCALE FOR * $1.00 SCALE

FULL PLOT

OUTPUT TO ANOMALY RECORDER {DACDRI)

I ^TO DMPCOM^

Fig. 13. Logic Block Diagram of Program DIFPLT.

Page 106: WSIBf , 1 - International Nuclear Information System (INIS)

9 9

001 • 002 • 003 • 00*. 0003

0064 7F31

NAN ENT

REVISED 7/2S/69 DIFPLT — . DIFPLT EXT DACDRIvDMPC0M EQU NUMB(3)*HND(100)tRH0DIF($7F31)

006* 007.

* PR06 AVGS RH0DIF (NUMB) SCAN CYCLES * AND THEN PL0TS RESULTS

009 • 0 1 0 . 01 1 . 012. 013. 014. 015. 016. 017. 013. 019. 020. 021 . 022. 023 . 024. 025. 026. 027. 028.

C29 . 030. 031 . 032. 033. 034. 035. 036. 037. 038. 039. 040. 041 . 042. 043. 044. 045. 046. 047.

POOOO POOOI P0002 P0003 P0004 P0005 P0006 P0007 P0003 P0009 POOOA POOOB POOOC POOOD POOOE POOOF POOIO POOl 1 P0012 P0013 POOl 4 POOl 5 POOl 6 POO 17 POOl 3 P0019 PC01A POO IB P001C POO ID POOlc P001F P0020 P0021 P0022 P0023 P0024 P0025 P0026 P0027 P0028 P0029 P002A P002B

OOO 7F31 E82D 6A28 OOO I 0814 ODFB 0151 OAOl 6326 0C01 CA20 0D01 8A1E 0D01 8A1C 0122 0802 1802 0842 3000 0003 0864 0822 0164 0D64 0165 0A9B 1804 0D9B 0171 0A6 4 2810 8810 0342 3000 0064 0FC7 5400 7FFF 9006 1400 7FFF 0003

DIFPLT LDA RH0DIF

0K

CLR CLR 1

CAL

LDQ* STA* INQ TRQ INQ SQN ENA STA* ENQ LDA* INQ ADD* INQ ADD* SAP SET JMP* CLR DVI TCA TRA SQP INQ SQP ENA JMP*

TEST2 INQ SQM ENA MUI* ADD* CLR DVI

NUMBER P0INT ,Q 1 A -NUMB-1 0K-*-l 1 NUMBER 1 P0INT tQ 1 P0INT ,Q I P0INT.Q CLR-*-l Q CLR 1 0 =XNUMB A Q TES T2 -* -1 HND CAL-*-1 -HND CAL -HND CAL-*-l HND SPAN ZER0 Q =XHND

X X X X

ALS 7 RTJ+ DACDRI NUM $9006 JMP+ DMPC0M NXT PR06 IN SCAN

P0INT BZS P0INT(NUMB)

Page 107: WSIBf , 1 - International Nuclear Information System (INIS)

043 . P002E 0000 0 4 9 . P002F 0001 050 . P0030 007E 051 . P0031 3200 0 5 2 .

NUM 0 NUMBER NUM 1 SPAN NUM $7E ZER0 NUM S3200 * END

Page 108: WSIBf , 1 - International Nuclear Information System (INIS)

101

2.14 DIGCLK

2 .18 .1 CI ossification

On-line/core resident/assembly language/nonreentrant/relocatable

2.14.2 Purpose

DIGCLK calculates and displays the current time of day in the digital display window on the operator's console.

2.14.3 Description

The program updates the current time of day and loops on a 0.5-sec timer call waiting for a change in the value of time. Whenever the value of hour-minute changes, the program initiates a 60-sec timer call to update the current time and output the value to the digital display on the operator's console. The program then exits to the dispatcher. The logic block diagram of DIGCLK is shown in Fig. 14.

2.14.4 Relationship to Other Programs

This program is initiated at system start time by GIDUP. Entry is also made by SETTOD whenever the current time is to be updated manually using manual function 6 .

Page 109: WSIBf , 1 - International Nuclear Information System (INIS)

102

OftNl OWC NO H ft*?

stnou CLOTUP

ivi«

L < * 0 * I C f s » c 4 CQfcv t f t f

L O O T C

ouimi ON 0«0«Uv

C »» ) Fig. 14. logic 8lock DJcgrom of Program DIOCtX.

Page 110: WSIBf , 1 - International Nuclear Information System (INIS)

103

001. 002. 005. 004. 005. 006.

007 . 008* 008. 008* 008. 009* 010. 011. 012. 01 3, 014* 015* 016* 017, 0 1 8 * 019, 020, 020, 020. 020* 021, 022* 023* 024* 023, 026* 027, 028, 028, 028* 028, C$9, 050, 031, 032, 033,

034, 035, 036, 037, 038,

00A2 00 EA 0098

P0000 COOO P00OI I4EA P0002 6818 P0003 P0004 P0003 P0006 POO 07 P0008 P0009 POOOA POOOB POOOC POO 00 POOOE POOOF POO 10 P0011 P00I2 POOI3 POOI 4 POO! 5 POOI 6 POO 17 POO 18 POOI 9 POOI A POO 18 POOiC POOIO POO IE POO IF P0020 P0021 P0022 pooes P0024 P0025 P0026 P002T P0028 P0029 P002A P0028 P002C

54F4 1128 0004 003C I4EA COOO 54F4 6813 5498 ccoc 680A 542*9 CC09 9807 0117 34F4 1118 7FFA 0004 14EA 0001 7FFF X COOO OOOA 68F8 I8F5 34F4 1128 7FFE 0038 3498 CCF5 34A2 0000 0000 ooos 6804 3400 X 7FFF X 0001 000! I4EA

DIGCLK

Tt

CLK0H

OCLX

TOR

mm

HAW DIGCLK REVISED 1/23/69 ENT DIGCLK EXT OPLAY,H0RMIMfMINT0 EQU /*0CDECC$A2) »ADISP($EA) EQU ATOD($98 > LDA =N$I 4EA STA* DSPCK TERMINATE TIMER CALL, TIMER CLK0N-Tl-l,8fXf2

NUM 60 JMP- (SEA) IDA 3DS54F4 STA* DSPCK RTJ- (AT0D) IDA* (HRWti) STA* TEMP RTJ* (AT0D) IDA* (MRMR) sm* TEMP SAN DP«*«| TIMER BCIK-TMR-I ,8,X ,1

CK. F0R HRMIN TO CHANGE.

DSPCK

HUM 4 EACH ,3 SEC, JMP- (SEA) BZS TEMP ADC H0RMIN IDA «*BSPCK-TMR-1 STA* Wft+2 JttP* TOR TIMER D6PCK-DSPCK-1,3,X,2

n m 39 RTJ- (AT0D) LDA* (HRMN) RTJ- (A0CDEC) NUK 0,0,0

STA* LSB RTJ* SPLAY 8ES MSB,LSB

EACH MINUTE

J MP' END

(AOISP)

Page 111: WSIBf , 1 - International Nuclear Information System (INIS)

1 0 4

2.15 DIGCON

2 .18 .1 CI ossification

On-1 ine/core resident/assembl y language/nonreentrant/re 1 ocatab le

2.15.2 Purpose

DIGCON Is a subroutine for controlling the power relay drivers connected to digital output words 0 and 1. Word 0 is used for inserting the HFIR shim safety rods, and word 1 is used for withdrawing the rods. The lower six bits of each word are available for other applications; however, all bits are controlled by DIGCON.

2.15.3 Description

DIGCON is entered with the Q register cleared if rod control is requested. Otherwise, the program will set or clear the indicated bits 0 through 5 of the A-Register if bit 14 in Q is set or cleared, respectively. Upon entry, the digital output word being addressed must be contained in the 1 register. These registers are saved, and three attempts to connect to the digital output driver are made. If this is not possible, an alarm message is typed, ond the program jumps to PSYCHO to initiate an automatic restart. This action will master clear the digital output word if the rod control relays are actuated, whteh should be reset.

If D IGCON connects to the digital output driver, the test for rod control is made. If Q is not cleared (equal to 0) a test for bit 14 in Q is made. If Q contains bit 14, the lower six-bit values contained in the A register will be output to the digital channel contained in the I register. D IGCON will return after three unsuccessful attempts to output the word. If bit 15 of Q is set and bit 14 is not set, the lower six bits shown in the A-Register will be cleared, and the corresponding relays wilt be opened. The return procedure is the same. If Q is cleared, rod control is being requested; and, on each entry, all previous rod relay requests will be cleared, and the new control pattern con-tained in the A-Register will be output to the relay drives. If word 0 is being addressed, these will be the rod insert relays. If word 1 is being addressed, these bits correspond to the rod withdrawal relays. The relays connected to each driver are shown in Table 3. The logic block diagram of DIGCON is shown in Fig. 15.

2.15.4 Relationship to Other Programs

DIGCON is used by programs CONTRL, DRC, FLTIME, and PSYCHO.

Page 112: WSIBf , 1 - International Nuclear Information System (INIS)

105

Table 3. Power Relay Driver Outputs

Address Bit Function Relay No.

0000 0 Shim Permit K21 1 Reset Bat. Clock K28 2 Spare K29 3 Spare K30 4 Spare K31 5 Spare K32 6 Insert Rod 1 K12 7 Spare KOI 8 Insert Rod 2 K14 9 Spare K03

10 Insert Rod 3 K16 11 Spare K05 12 Insert Rod 4 K18 13 Spare K07 14 Insert Rod 5 K20 15 Spare K09

0001 0 Spare K22 1 Spare K23 2 Spare K24 3 Spare K25 4 Spare K26 5 Spare K27 6 Withdraw Rod 1 K02 7 Spare K11 8 Withdraw Rod 2 K04 9 Spare K13

10 Withdraw Rod 3 K06 11 Spare (CIS 12 Withdraw Rod 4 K08 13 Spare K17 14 Withdraw Rod 5 K10 15 Spare '<19

Page 113: WSIBf , 1 - International Nuclear Information System (INIS)

1 0 6

ORNL DWG NO. 7 2 8 1 2

Fig. 15. Logic Block Diogrom of Program DIGCON.

Page 114: WSIBf , 1 - International Nuclear Information System (INIS)

107

001 . NAN DIGCON REVISED 8 / 1 5 / 6 8 002 . THIS I S USED T0 C0NTR0L THE 0 0 3 . * CONTACT CLOSURE OUTPUTS FOR 32 004 . * CONTROL R0DS ONLY. ANOTHER F0R CHANGING EACH BIT 005 . * SEPARATELY. 0 SIGN PICKS WHICH PATH. -Q = N0 ROD 006 . * CHANGE. BIT 14 IN Q I S SET BY CALLER I F THE I N D I -007 . * CATED BITS ( I N A) ARE T0 BE SET. 0 0 3 . * Q MUST BE ZERO 0N ROD REQUEST. I REG. 0 0 9 . * MUST HAVE I THE DIGITAL CH. ADD. 0F REQD. WORD. 010 . EXT PERMIT,TRIM O i l . ENT 0LDDGW 012 . ENT DIGCON CHANNELS 0N 1555B.0NE PATH FOR 0 1 3 . 00 EA EQU ADISP(SEA) 014 . 00F4 EQU AN0NI($F4) 015 . POOOO 003F ftSKROD NUN $3F 016 . P0001 0400 C0NN53 NUN $400 017 . P00C2 9000 C0NT53 NUN $9000 018 . P0003 0001 BZS QSVVH, ASVVH,0LDDGW(2),COUNT

P0004 0001 P0005 0002 P0007 0001

0 . 9 . P0008 OOOO DIGCON 0 0 020 . P0Q09 0500 U N 021 ® POOOA 68F9 STA* ASVVH SAVE DATA WORDS UNTIL CONNECTED 0 2 2 . P0008 48F7 STQ* QSVVH TO 1553 023 . POOOC 0A03 ENA 3 024 . POOOD 68F9 STA* COUNT 025 . POOOE E8F2 TRYHRD LDQ* CONN53 CONNECT TO 1553 026 . POOOF 0202 INP 2 027 . P0010 1807 JHP* ISG00D 0K GOT I T 0 2 8 . POOl 1 OBOO NOP 0 029 . P0012 OBOO NOP 0 030 . POOl 3 OBOO NOP 0 031 . POO 14 581F RTJ* LOOP 032* POOl 5 0400 INRJCT EIN 033 . POOl 6 1825 JMP* BARF 034 . P0017 E8EB ISG00D LDQ* QSVVH 035 . POOl 8 C8EB LDA* ASVVK 036 . POO 19 0J5D SQN NORODS-*-I 037 . P001A CSE A LDA* OLDDGW.I 038* P001B ASE4 AND* MSKR0D CLEAR OUT OLD ROD REQUEST 0 3 9 . P001C 88E7 ADD* ASWH PUT I N NEW REQUEST 040 . POO ID 69E7 ZAPPIT STA* 0LDD6V»I SAVE LATEST OUTPUT V0RD FOR 0 4 1 . POO IE 0003 ENQ 3 0 4 2 . P001F 48 E7 STQ* COUNT 0 4 3 . P0020 E8E1 LDQ* C0NT53 CH. I N I - R E G . 0 4 4 . P002I FOFF ADQ- I SET UP CONTINUE CODE FOR CH. 045 . P0022 0303 C0NTRY OUT 3 IN I - R E G . 046 . P0023 0400 EIN 0 4 7 . P0024 1CE3 JMP* (DIGCON) ALL DONE BOUNCE BACK T0 CALL 0 4 8 . P0025 OBOO NOP 0 0 4 9 . P0026 580D RTJ* LOOP 0 5 0 . P0027 0FA1 N0R0DS QLS 1 TEST B IT 14 I F SET G0 TO BITSET 0 5 1 . P0028 0174 son S E T B I T - * - ! 0 5 2 . P0029 A8D6 AND* MSKROD HERE I F YOU WANT 0 5 3 . P002A 0864 TCA A INDICATED BITS CLEARED

Page 115: WSIBf , 1 - International Nuclear Information System (INIS)

108

054. P002B A9D9 AND* 0LDDGV,I IN OUTPUT WORD 055 * P002C 18F0 JMP* ZAPPIT 056* P002D A8D2 SETBIT AND* MSKR0D 057 , P002E 68 D5 STA* ASVVK 058 . P002F 0864 TCA A 0 5 9 . P0030 A9D4 AND* 0LDDGW,I 060 . P0051 B8D2 E0R* ASVVK 061 . P0052 18EA JMP* ZAPPIT 062 . P0035 0000 L00P NUM 0 0 6 5 . P0054 C8D2 LDA* C0UNT 064. P0035 0154 SAM BAD-** I 065. P0036 09FE INA - I 066 . P0037 68CF STA* COUNT 067. P0058 0CF8 ENQ - 7 068 . P0039 1EF9 JMP* <L00P),Q 069. P0C3A 0400 BAD EIN 0 070 . P003B 54F4 BARF RTJ- (AM0NI) 071 . P003C 0DA0 NUM SDAO 072 . P003D 0000 ADC 0 073 . P003E 0000 NUM 0 074 . P003F 100E NUM $100E 075 . P0040 00IB NUM 27 076. P0041 0008 ADC MSG-BARF-1 077 . P0042 1CC5 JMP* ( DIGC0N) 078 . P0043 0000 NUM 0 079 . P0044 4449 MSG ALF 27,DIGICON FAILED 10 CON

PC.Q4 5 4749 PC046 434F POO47 4E20 P0048 4641 P0049 494C P004A 4544 P004D 2054 P004C 4F20 P004D 434F P004E 4E4E P004F 4543 P0050 5420 POO51 544F P0052 20 44 P0055 4947 P0054 4954 P0055 414C P0056 204F P0057 5554 P0058 5055 P0059 542C P005A 4920 P005B 4741 P005C 5645 P005D 2055 P005E 502E

080 . END

T0 DIGITAL 0U

Page 116: WSIBf , 1 - International Nuclear Information System (INIS)

1 0 9

2.16 DMPCOM

2 .18 .1 CI ossification

On-line/core resident/assembly language/nonreentrant/relocatable

2.16.2 Purpose

DMPCOM transfers $C values from the current value table in LOCORE to a data save area, drum $E. These values are transferred to the 1-sec save area each second and to the 1-min save area each minute.

2.16.3 Description

DMPCOM is entered each second at priority level 7 from program DIFPLT. Upon entry, the five rod positions, the average power level, the inlet temperature of channel 1, the flux from channel 8, RHODIF, IRHODY, IREAC, and IRHOSC are transferred from the value table. The current drum data save area is calculated from the LSBSEC pointer in common $7F50, and $C words are written to this address. The program tests for the maximum $1C20 and resets to zero if the maximum is exceeded. The program tests for 1-min time lapse, and, when detected, schedules DRMCOM at priority level 4. Otherwise, the program jumps to CONTRL. The logic block diagram of DMPCOM is shown in Fig. 16.

2.16.4 Relationship to Other Programs

The flux and IRHODY are not updated if program DR is not running. Program DRMCOM is scheduled from the program directory.

Page 117: WSIBf , 1 - International Nuclear Information System (INIS)

1 1 0

0 » N L DWG N O . 7 2 - 8 3 4

D I F P L T

16. Logic Block Diagram of Program DMPCOM.

Page 118: WSIBf , 1 - International Nuclear Information System (INIS)

I l l

001 • 002 . 003 . 004* 005. 006. 007 . 008.

009 •

010.

01 1.

7F54 009 D 0050 OOOC 7F00 7F3I 7F3F 7F50 7F51 7F52 7F53 7F25 7F26 7F27

NAN DMPCOM * 8 / 2 4 / 7 1 TO SAVE INLET TEMP IN W0RD # 6 . * 1 2 / 1 5 / 7 1 TO SAVE FRY FLUX IN WORD # 7 .

ENT DMPC0M.TAB EXT 0LDDGW vDRMC0M EXT C0NTRL EQU CTRMIN($7F54) EQU AVALUC $9D),MAX(80)VLEN(12) 9C0M($7FOO)

EQU RH0DIF($7 F31) f IRH0DY($7 F3 F),LSBSEC($7 F50)

EQU LSBMIN($7F51) fLSBHR(S7F52)yLSBDAY($7F53)

EQU IRH0SC(S7F25)9 IRH0EX($7F26)9 IREACT($7F27)

0 1 3 . * ENTERED EACH SEC FR0M DIFPLT * * * * * * * * * 014 . * N0TE THE LSB'S F0R THE DRM SAVE RE6I0N MUST BE SET 015. * BY I N I T I A L C0MM0N TAPE AT START 0F EACH CYCLE. 016 . * THIS ST0RES IMPORTANT DATA 0N DRUM THRU-0UT 017 . * THE CYCLE: 018 . * R0D P0S9 PICMID, R0D C0NTR0L WORDS ARE 019. * ST0RED 1/SEC. F0R LAST 10 MIN. AND 1/MI 020. * F0R LAST 6 HRS. 021. * C0MM0M I S ST0RED EVERY 2 HR F0R LAST 24 MRS. 022. * AND 3/DAY F0R ENTIRE CYCLE.

024. POOOO 0C05 DMPCOM ENQ 5 GET ROD POSITIONS-025. P0001 C69D LP 1 LDA- (AVALU)9Q 026. P0002 6A3D STA* TAB 027 . P0003 ODFE INQ - 1 028. P0004 0141 SQZ NEXT-* - l 029 . P0005 18FB JMP* LP I 030 . P0006 0C25 NEXT ENQ $25 GET PICKID POWER 031 . P0007 C69D LDA- (AVALU) 9Q 032. P0008 6837 STA* TAB 033 . P0009 OC 12 ENQ 18 034 . POOOA C69D LDA- (AVALU) 9Q INLET # I TEMP. 035 . POOOB 683A STA* TAB+6 IN V0RD 6 0F SAVE. 036. POOOC OCOA ENQ 10 SAVE FRY FLUX. 037 . POOOD C69D LDA- (AVALU) VQ 0 3 8 . POOOE 6838 STA* TAB+7 0 3 9 . POOOF C400

P0010 7F31 LDA RHODIF FROM COMMON

040 . POOH 0864 TCA A 041 . POOI2 6835 STA* TAB+8 042 . POO 13 C400 LDA IRH0DY DR FROM COMMON 042 .

P0014 7F3F 043. POO 15 6833 STA* TAB+9

Page 119: WSIBf , 1 - International Nuclear Information System (INIS)

112

044.

045. 046.

047.

048. 049.

050. 051 . 05i . 051 . 051 .

051 • 051 .

052. 053. 054. 055. 056. 057.

058. 059. 060.

061. 062. 063. 064 . 065. 066. 066. 066. 066. 067 .

068. 069 . 070 . 071 .

POOl 6 POO 17 POOl 8 POOl 9 POOl A P0013 POOIC P001D POO IE POO IF P0020

C 400 7F27 6831 C400 7F25 8400 7F26 682 D C 400 7F50 6809

P0021 54F4 P0022 0540 P0023 OOOO P0024 OOOO P0025 0005 P0026 OOOC P0027 00ID P0028 OOOE P0029 OOOO P002 A C8FE P002 B 090C P002C 0622 P002D 9000 P002E 1C20 P002F 0131 P0030 OCOO P0031 4400 P0032 7F50 P0033 0C0A P0034 CC09 P0035 09C3 P0036 0121 P0037 1804

P0038 POO 39 P003A POO30 P003C P003D P003E PO03F

DRMR

USB

0K

LDA I REACT

STA* TAB+IO LDA IRH0SC

ADD IRH0EX

STA* TAB+11 LDA LSBSEC

RH0R0D

NICE F0R PLOTTING.

LSB ADR FOR SEC STORAGE

STA* LSB WRITE 5,,TAB-DRMR-19LEN »B „ 4 9 , ,X

54F4 1204 FFFF X 1400 X 7FFF X 7F54 7FFF X OOOC

TKEUP

OUT

CTRMN 0LDIG TAB *

NUM SE NUM 0

LDA* LSB INA LEN TRA Q SUB =N7200

SAM 0K- *« ! ENQ 0 STQ LSBSEC

RAO* (CTRMN) LDA* (CTRMN) INA •60 SAP TMEUP-*-l JMP* OUT SCHDLE (DRMCOM)94

JMP+ CONTRL

ADC CTRHIN ADC 0LDDGW B SS TABC12) END

UPDATE LSB FOR NEXR TIME.

STARTING LSB OVER AGAIN.

SEE I F TIME FOR 1 MIN ST0R

ROD CumIH0L WORD ADR

Page 120: WSIBf , 1 - International Nuclear Information System (INIS)

113

2.17 OR

2.17.1 Ctcns if ?co Hon

On-lir>»/drum resident/Fortran languoge/nonreentrant/relocatable

2.17.2 Purpose

DR calculates the HFIR dynamic reactivity Keffft) measured neutron flux. The program is based on an inverse kinetics algorithm^ with constants appropriate for the HFIR. The calculated value can be displayed on the x-y plotter or in the digital display window of the operator's console.

2.17.3 Description

Upon entry, DR stores the value of the right-hand dlgiswitch sign. If the sign is negative, the XDEL for the fast plot speed is selected. Otherwise, a slow speed is used. If the value of the right-hand digiswitch is zero, the plot scale for the display on the y axis is ±1 $ reactivity. Otherwise, the value is ±50 the kill flag in $70 is tested, and if abort has been requested the program nulls the value in S7F3F for IRHODY and the values for reactivity and flux in the value table, and releases. Otherwise, the program reads flux from high level channel 8 and stores the value in S7F43. The value of AT is calculated using the change in $E8. If this is the first entry, the initial values for the precursor concentrations are calculated« Otherwise, the program calculates the average flux based on the most recent three values and uses the inverse kinetics algorithm to calculate the reactivity appropriate to the change in the average value of the flux. The values are output to the x-y plotter, and a timer call for entry at the abort test portion of the program is made for 50 msec. The program exits to the dispatcher. The logic block diagram of DR is shown in Fig. 17.

2.17.4 User Instructions

DR is operated by manual function 19. If the right-hand digiswitch is pi us, 'a slow plot display is used. If the right-hand dig Switch is zero, the plotter y axis is spanned for ±1 $, Otherwise the span is 5 0 / . The program is terminated by manual function 20.

2.17.5 Relationship to Other Programs

DRKILL manual function 20 is used for DR terminate request. The values of flux (In percentago of full scale) and dynamic reactivity (in cents) are stored in the value table. The D& value stored In common is used by RHOCAL to calculate RHODIF. Therefore, anomalous values calculated by DR will cause anomalous behavior of the RHODIF recorder. If the neutron flux channel is properly connected for use by DR, anomalous values will not be obtained.

Page 121: WSIBf , 1 - International Nuclear Information System (INIS)

114

OftMl o w e MO. » ? *

MAM ICH ..|f

HMO OiCHlj I 0161 SWITCH]

fsti not XOft , roil siow smo

sci no't SCAIC r o « •(ACTIVITY TO 1S1 00

sci noi HOC I ro« »A$I smo

SCI *LOT SCAIC TO •SO SO

CAlC IH( INACTIVITY AVC

CAIC nux AVO.Of lASTj 1 VAIUCS

Fig. 17. Logic Block Diagram of Program DR

Page 122: WSIBf , 1 - International Nuclear Information System (INIS)

U S

P R O G R A M M e 6 / 4 / 7 1 REV. * * * * * COMPILE RELOCATABLE** * * * 1 * * * * * * * * * *

EXTERNAL ROPT»OACPRIJAB DIMENSION LX9CLC1) fLXP0S(I> Dl«ENS£OK C ( 5 ) t D 0 t 5 ) , D l ( 3 ) » C 1 ( 5 > 01 MEWS I OH AM< 3) , 8 l r 5 ) , A I N ( 3 ) ,R<3)

C SET RT 010 Sti 10 ZERO FOR +~Sl . 0 0 , OTHERWISE SCALE I S + - $ . 3 0 C ***W0TE USE FN# 13 FOR PLOT CALIBRATION ( 3 2 0 0 0 . s FULL SCALE)

DATA LXPOS ,ISWTCK,AVG,N00P,AM( 1) t A « ( 2 ) ,AM(3) tAM(4) , A » ( 5 > / A O , 0 , 3 . , - 4 , 3 . 8 7 P 1 . 4 0 , . 3 1 1 » • ! 1 5 » * 0 2 3 6 /

DATA 8 C 1 ) # 8 ( 2 ) t B < 3 ) f 8 C 4 ) , 8 ( 3 ) , T A U , 8 T 0 , R ( I ) , R ( 2 ) , R < 3 ) , R S U , I N I T I A / A.1831E - 3 , , 8 9 3 8 E - 3 , 2 o 8 5 4 E - 3 , 1 . 3 1 4 E - 3 , i e 7 5 5 E - 3 , 5 6 . E - 6 , 6 . 9 9 9 9 E ~ 3 , 80.,0*»0*,0.«!/

C GET X PLOT INFO FROM RT HAND SWITCH? +sSL0W, ~=FAST ASSEM $ C 2 0 4 , $ l 3 2 , $ A 0 t

ASSEM $ l802 ,$AO6,$68OO,LXOEL,$C2O4 f $12t ,$864 ,$ l02 ,S6800 f I 5WTCH ASSEM $AOO,$6070 t$606A TAU1* I . / TAU CON2 % i .O/BTO CON3 : - 1 0 0 . * TAU / BTO C 0 N = ( 1 . O / ( 1 . O - B T 0 ) >

C CHECK KILL FLAG t ASSEM . 9 , $ 0 0 7 0 v $ t 0 2 , $ l 8 0 0 , * » * 3 2

C READ FLUX,AND STORE IN NPN. 4 TRIES MAX. ASSEM $000 ,SA08 ,$5400 ,+RDPT,$6800 , NPN

ASSEM $64OO,$7F43,$169,$C8OO,N00P ASSEM $ 1 0 4 , $ 9 0 1 , $ 6 8 0 0 , N 0 0 P , $ 1 8 F 0 ASSEM $ 1 8 0 0 , * , * 6 , $ A F B , $ 6 8 0 0 , N 0 0 P ASSEM SCO £ 8 , $ 6 8 0 0 , 1 NOW K = .01666667 * FLOAT ( IN0W$~ IOLD) I0LD ? I NOV I F ( I N I T I A ) 1 9 , 1 9 , 8

8 AN : FLOAT(NPN) 00 5 I =1 ,5

5 C ( I ) s 8 ( 1 ) * AN * TAU I /AMCI ) AISU = AN * AVG A I N U ) = AN AIN(21< = AN A»N<5> = AN I N I T I A s 0 60 10 16

19 ANN s F'OAT (NPN) AISUs A2SU-A1N(1) + ANN A I N U ) =AIN(2) A I N I 2 ) -AINC3) A I N ( 3 ) -ANN ANN =AISU/AVS

C CALC PER CENT FULL SCALE FOR a u X DISPLAY. NFLUXsIF IX (1000 .3ANN/2348 . ) ASSEM $COA,S669D

C THE FOLLOWING STORES FLUX I N TAB+7 C THIS SHOULD BE REMOVED WHEN DMPCOM IS F IXED. O**********************************************************

ASSEM $007,$6600,4-TAB SUM = 0 . 0 DO 7 I s i , 5 DOC I ) = B ( I ) *AN* AK *TAUI - A M U ) * C ( I ) C l ( E ) = CCD + H * DOC I )

Page 123: WSIBf , 1 - International Nuclear Information System (INIS)

116

I Dl <1) = 9( I ) *ANN*AK* TAUI-AM( I )#C I ( I ) C ( I ) s C ( l ) + H * ( D 0 ( I ) + D l <1 ) ) * » 5

7 SUM=SUM+AM(1)*C(I> AK = <1 .0 - TAU * SUN/ANN) * CON RH0C = C0N2 * ( A K - 1 . 0 ) / AK AN =ANN

C PLOT XRH0C % RSU = RSU-R(1)+RH0C

R ( l ) =R(2) RC2) s R<3) R (3 ) = RH0C RH0C - RSU/AVG JRH0C = IFIXCRH0C * 1 0 0 . )

ASSEM $6400 , $7F3 F , $ COB ,$669 D !F<RH0C .GT. 1 . 0 0 ) RHOC = 1 . 0 0 IFCRH0C , L T . - 1 . 0 ) RH0C: - 1 . 0 0 I F (ISWTCH .EQ« 0 ) G0 T0 22

C FOLLOWING FOR + - $ . 3 0 SCALE SPAN = 3 2 7 6 . 8 ZERO = 5 . 0

GL = 10.0 GO TO 33

C FOLLOWING FOR + - $ 1 . 0 0 SCALE 22 SPAN = 16000.

GL = 1 .0 ZERO = 1 . 0

33 IRHOCsIFIX(SPAN*< GL«RH0C+ZER0)) C PLOT THE X DELTA UP T0 FULL SCALE AND THEN ZERO X .

ASSEM $0800 ,LXP0S ,$FC 4 ,$5400,+DACDRI ,$9003 ASSEM $F44,$8800 ,LXDEL,$6800 f LXPOS,$9000,$705 ASSEM $133,$A00,$6800,LXPOS

C PLOT DR VALUE. ASSEM $C800,IRHOC , $ 5 4 0 0 D A C D R I , $ 9 0 0 2

ASSEM . 1 6 , $ 5 4 F 4 , » , $ 1 1 0 7 , * 9 , $ 2 , . 1 8 , $ 1 4 E A ASSEM « 6 , $ 5 4 F 4 , $ D 7 7 , $ B , $ 0 , $ 1 0 0 E , $ 3 , $ 8 , $ 1 4 E A ASSEM $ 0 , $ 4 4 5 2 , $ 2 0 4 2 , $ 4 1 4 4 ASSEM . 3 2 , $ A 0 0 , $ 6 4 0 0 , $ 7 F 3 F

ASSEM $COA,$669D,$D01,$669 D CALL RELESE (DR) END

Page 124: WSIBf , 1 - International Nuclear Information System (INIS)

117

2.18 DRC

2 .18 .1 CI ossification

On-line/core resident/assembly language/nonreentrant/relocatable

2.18.2 Purpose

DRC is the general purpose* digital rod-control program for manipulating the HFIR shim safety rods. The program will properly control the rods at all power levels, including recovery from scram or from a single or multiple rod drop. The algorithm main-tains the regulating rod near the intermediate limits by moving the shim rods appropriately while simultaneously maintaining all shim rods to within 0.050 in. uf each other.

In addition to the constraints applied to normal rod manipulation, DRC conforms to an administrative requirement that rod 5 shall not be withdrawn if it is in a position that is greater than the initial symmetric critical position and also higher than any other rod. The algorithm contains a dynamic reactivity inhibit (K-effective) to limit rod with-drawals whenever DR exceeds a preset value. The dynamic react ivity is calculated by program DR.

Digital rod control is initiated by the reactor operator using a back-lighted push button on the control room computer console. DRC will type appropriate messages cHjring its action to alert the operator to rod asymmetry, digital rod-control move-ments, and the termination of any rod control actions. DRC is operated as a companion program to CONTRL and is subject to the error checks and restrictions imposed by that program.

2.18.3 Description

DRC is entered from CONTRL at priority level 7. Upon entry, the program tests tc» determine if the DRC flag in $7F40 indicates that the DRC control lamp or the ROD JOG lamp is on. If the DRC flag is not set, the program opens all rod control relays and exits to the dispatcher. Otherwise, if the DRC control flag is not set, the program assumes that the ROD JOG program is operating and then exits to the dispatcher.

If the DRC flag is set, the program uses the current value of rod positions from the value table in LOCORE and identifies the highest rod position and the lowest rod position. The program then interrogates the regulating rod (RR) limit switches to decide which mode of shim rod movement is required. If the RR automatic shim rod withdrawal (ASW) switch is on, a test is made to determine whether the regulating rod (WL) switch is on. If it is not, the flag is checked to determine whether the WL has cleared for the first time. If it has, the rod-drop state is cleared, and a message is typed to indicate that Withdrawal Limit has cleared.

Page 125: WSIBf , 1 - International Nuclear Information System (INIS)

118

If the RR is in the WL, a message is typed on the first observation. The position of rod S is then tested and compared with the initial critical position of rod 5. If the position of rod 5 is below its initial critical position or if rod 5 is the low rod, withdrawal of rod 5 will not be inhibited. All shim safety rods not clutched for greater than 3 sec will be inhibited for this scan cycle. A test is made of the dynamic reactivity inhibit, and all rod withdrawal will be denied if the DR limit is exceeded. Otherwise, a test of the RR withdraw limit is made; and, if it is in the WL, all rods not inhibited will be withdrawn except the high rod. Not withdrawing the high rod closes the asymmetry between the rods.

If the RR is not in the ASW position, o test is made to determine whether the ASW has cleared for the first time, if it has, a message is typed. Otherwise, a test of the automatic shim insert (ASI) switch is made. If the regulating rod is in the ASI position, a message will be typed if this is the first time. Otherwise, a test is made of the RR insert limit. If the RR is not in the insert limit, a message is typed if it has cleared for the first time. If the RR is in the insert limit, all rod withdrawal is stopped and all rods are inserted. This operation is redundant because the conventional HFIR relay logic system will also insert all rods. If the RR is post the automatic shim insert (ASI) but is not at the insert limit, al! rods except the low rod wilt be inserted for this scan cycle, and a message will be typed.

If the regulating rod is not in the ASI position, it is assumed to be between auto-matic shim withdrawal and automatic shim insert. If the shim insert has just cleared for the first time, a message is typed. A test is made to determine if the rods are greater than the upper limit of the asyrrrietric deadband of 0.20 in. If they are not, a test is made to determine whether the symmetry is less than the lower limit of the deadband. If it is, the rods are considered symmetric, and, if this is the first time, a message is typed showing the rod positions csnd time. This condition clears the trim drop state and the message flags, which will allow asymmetry messages to be typed when the next asymmetry condition has occurred.

If the asymmetry is not less than the deadband lower limit, the rods may or may not be trimming. If MSG3 is not zero, the rods arc moving, and the program will continue in the rod trimming loop discussed below. Once symmetry is detected, a message is typed and the program exits with all relays disabled.

Rod trimming is established whenever the asymmetry deadband upper limit is exceeded, and will continue until the asymmetry deadband lower limit has been cleared. If the rod asymmetry exceeds 0.30 in., the rod movement commands are constant for the full duration of the scan cycle. If the value is less than this, the jogging mode condition is assumed.

In the jogging mode, the time to stop rod withdrawal is calculated; it may be less than a full scan cycle. The value is calculated from the rod position, with an assumption that the rods are moving at 0.1 in ./sec. A timer call is constructed to enter the rod stop portion of the DRC program at the calculated time. To decide which rod

Page 126: WSIBf , 1 - International Nuclear Information System (INIS)

119

should be moved, the program tests to determine whether the regulating rod is above the intermediate limit. If it is above the intermediate limit, the insertion of the high rod is stopped. If it is not, a command is given to insert the high rod. If the RR is above the intermediate limit and rod S is the low rod and the DR inhibit is not on, the low rod will be withdrawn.

If the RR is not above the intermediate limit, a test is made of the TRMDRP flag. If it is clear, the program is not in the process of recovering from a rod drop condition, and, therefore, withdrawal of the low rod is inhibited before jumping to the dispatcher. If the trim drop flag Is set, the low rod will be withdrawn if it has been clutched for more than 3 sec and if the DR limit is not exceeded. The program then exits to the dis-patcher, awaiting entry on the next scan cycle. The logic block diagram of DRC is shown in Fig. 18.

2.18.4 Relationship to Other Programs

DRC must be used in conjunction with CONTRL, RODJOG, and DR.

2.18.5 User Instructions

DRC can be initiated by moving the manual block switch to the Rods position, or the program may be initiated by depressing the console button labeled DRC and pressing the ENTER button. A number of operator messages are typed during the normal operation of the CONTRL and the DRC programs. They are listed with explanatory comments.

Message Explanation and Comments

BLOCKED (followed by time and rod positions in inches

CLR LIM (followed by time and rod positions)

DIG ASW (time and rods, with the RR at the auto shim withdrawal limit)

The computer block switch has been turned to the Off position, and the rod control and shim permit control has been turned off. Reactivity calculation will con-tinue and the results plotted on the DK/K recorder.

RR has cleared the last limit entered. If two limit messages were typed previously, then two CLR CIM messages will br typed when the RR returns to normal.

The computer will withdraw all rods except the high roc until the RR is below the ASW. Rod 5 will never with* draw if it is above symmetric critical and not the low rod.

Page 127: WSIBf , 1 - International Nuclear Information System (INIS)

1 2 0

Message

DRC OFF (time and rods)

DRC O N (time and rods)

DRC RTN

INS LIM (time and rods)

REACTIVITY ANOMALY (time and rod position)

REG ROD LIMITS BAD! (time and rods)

"RODS* (time and rods)

RR WD I (time and rods)

Explanation and Comments

DRC has been turned off. This will always happen when the block switch is turned away from the Rods position. DRC can also be turned off by depressing the console lamp labeled DIGITAL ROD CONTROL and simultane-ously depressing the ENTER button. If the block SW is in the Rods position, DRC will not turn off manually. DRC can always be turned on in the manner described under "DRC on," bebw.

The DRC program is on and running. It can type control related messages, but it cannot move the rods unless the block switch is in the Rods position.

Digital rod control is returning to normal.

Regulating rod at insert limit. The computer will insert all rods; however, the reactor control system will also give a group insert.

The reactivity balance calculation indicates a value out-side the band of -0 .55 to +1.00 $. The DRC "Rod Control Denied" message will follow when the condition clears, the control will return automatically. The reactivity message is plotted on the DK/K recorder so that it may be observed if the value has been trending toward the alarm value or if the change is sudden. The computer will plot a -1 .00$ value whenever a re-start occurs, but this will clear promptly. The operator should cross check any reactivity anomaly alarm with the current value of the rod positions.

This indicates that the information from the RR switches to the computer is contradictory. If the DRC is on, the "Rod Control Denied" message will indicate that the rods will not be i.raved by DRC until this condition clears. If it does clear, a message, "DRC on," will be typed, and control will cK.?or..atico!!y resume.

The block switch has been turned to the Rods position so that the computer has control of oil rods.

RR withdrawal limit.

Page 128: WSIBf , 1 - International Nuclear Information System (INIS)

Message

121

Explanation and Comments

"SHIM" (followed by time and rod posi-tions)

SYMM. (time and rods)

TRIMMING (time and rods)

The block switch has been moved to the Shim position, and the computer will give "Permit11 (the same effect as " Computer By-Pass11), but only if the reactor anomaly is between - 5 0 / and +1.00 $.

The rods are symmetric. The rods are symmetric as measured by the computer and compared to error limits (about 0.050 in.) .

The DRC is trying to trim the rods. If the DRC program is on (indicated by the lamp leveled DIGITAL ROD CONTROL) the messages will be typed. This will start automatically when the block switch is turned to Rods.

1538 DOWN! The input equipment of the computer has failed. The rod control will be denied. The system may need restarting

Page 129: WSIBf , 1 - International Nuclear Information System (INIS)

toHiai

Fig. 18. Logic Block Diagram of Program DRC.

Page 130: WSIBf , 1 - International Nuclear Information System (INIS)

123

0 0 1 . NAM DRC REV. 8 / 1 5 / 7 0 0 0 2 . * * # * THIS PR0G. C0NTR0LS TRIMMING AND 0 0 3 . * * * * SHIMMING 0F ALL R0DS. * * * * * * 0 0 4 . * * * * * * * * * 6 / 1 5 / 7 0 REVISI0N T0 PUT BAND 0N R0DDX. 0 0 5 . * I N H I B I T L0 R0D WDLS I F RR<INT . EXCEPT DR0P REC0VERY. OOS. * * * A L S 0 REDUCE J0G PULSES B Y 1 / 2 . 0 0 7 . * * * A L S 0 T0 SH0RTEN MSG. LENGTHS. 0 0 8 • * 8 / 1 5 / 7 0 / REV. T0 CLEAR DR0P STATE WHEN RR<WDR. L I M . 0 0 9 . * 1 / 5 / 7 2 REV T0 C0RRECT E0R ERR0R 0N H I R0D I N H I B I T

0 1 1 . ENT DRC 0 1 2 . EXT ST0PFG fDR0PFG fTRMDRP 01 3 . ENT TYPMSG fTYPTIM„ CLREXI ,MG1FLG 0 1 4 . EXT H0RMINtSEC0N,0LDDGW 0 1 5 . EXT RH0CAL,DIGC0N,SCTRN 0 1 6 . 00F4 EQU A M 0 N I ( $ F 4 ) , A D I S P ( $ E A )

OOEA 0 1 7 . EXT DACDRI 0 1 8 . 0089 EQU AHEX($89) fA0CDEC<$A2)

00 A2 019 • 009B EQU AT0D($9B) 0 2 0 . 0088 EQU ARGINP($88) ,AVALU<$9D) ,ZER0($22) ,CLMASK($2

009D 0022 0023

021 . 0000 C C0M I NAG I N , GCL0CK , CYERT0(8) » CYCLE VB ( 2 4 ) vRH0T0T 0001 C 0002 C OOOA C OOOB C 0023 C 0025 C

0 2 2 . 0 0 2 6 C C0M IRH0EXv IREACTy IRSTM9 IRANST»P0LDvP0WT0T*N0L 0027 C 0028 C 0029 C 002A C 002B C 002C C 002D C

0 2 3 . 002E C C0M N0WTIM,DIGWD8,RQTRIM tRH0DIF,1 NITS 002 F C 0030 C 0031 C 0032 C

024 , 0033 C C0M ACCP0W(2) ,R5 ( 2 ) ,R1C)(2) , R X E ( 2 ) ,RSM(2) 0035 C 0037 C 0039 C 003B C

0 2 5 . 003D C C0M RFPC2) , IRH0DY( 1) fBIJTT0N 00 3 F C 0040 C

027, i,,

0 2 8 . : M c * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * a

Page 131: WSIBf , 1 - International Nuclear Information System (INIS)

1 2 4

0 3 0 , P0000 C 400 DRC LDA+ BUTT0N SEE I F DRC FLAG SET. P0001 0040 C

031 . P0002 AO 00 AND =N$0018 MASK F0R.DRC (BIT 3 ) AND R0DJ0G P0003 0018

032 • P0004 O i l 1 SAN ERCTST-*-! SKIP I F EITHER IS 0N<3 0R 4) 033 . P0005 185C JMP* CLREXl 0 3 4 . P0006 OFCC DRCTST ALS 12 0 3 5 . P0007 0131 SAM DRC0N-*- l SKIP I F DRC I S 0N. 0 3 6 . P0008 14EA JMP- ($EA) R0DJ0G I S 0N S0 G0 DISP. 0 3 7 . P0009 0C05 DRC0N ENQ 5 XFER R0D P0S. FR0M VALU. 0 3 8 . POOOA C69D Y LDA- (AVALU),Q 0 3 9 . POOOB ODFE 1NQ - 1 0 4 0 . POOOC 6A5E STA* VR0D,Q 041 . POOOD 0141 SQZ CLUTCH-*-! 0 4 2 . POOOE 18 FB JMP* Y 043 . POOOF OCFB CLUTCH ENQ - 4 SET UP 10 FIND HIGH R0D 0 4 4 . P0010 0844 CLR A 0 4 5 . POOl 1 SOFF STA- I R0D NUMBER MINUS 0NE 0 4 6 . POOl 2 6863 STA* HICTR L0C. CONTAINING N0. 0F HI ROD 0 4 7 . POO 13 C 857 LDA* VROD POSITION OF ROD NO. 1 0 4 8 . POO 14 016B LPTSTl SQP H I D 0 N E - * - l TEST T0 SEE I F ALL DONE. 0 4 9 . POOl 3 ODOl INQ 1 0 5 0 . POO 16 DOFF RAO- I 051 . POOl 7 6860 STA* VHIROD 0 5 2 . POOl 8 99 52 SUB* VROD,I 053 . POOl 9 0124 SAP S T I L H I - + - 1 0 5 4 . POOl A COFF LDA- I 055 . P001B 685A STA* HICTR 0 5 6 . P001C C94E LDA* VROD,I 0 5 7 . POOl D 18 F6 JMP* LPTSTl 0 5 8 . P001E C859 ST ILHI LDA* VHIROD 0 5 9 . POOIF 18 F4 JMP* LPTSTl 0 6 0 . P0020 D855 HID0NE RA0* HICTR FOUND HI ROD N0. IN HICTR 061 . P0021 6856 STA* VHIROD POSITION OF HIGH ROD 0 6 2 . P0022 OCFB ENQ -4 0 6 3 . P0023 0844 CLR A REPEAT ABOVE TEST TO GET 064 . P0024 60 FF STA- I 0 6 5 . P0025 6851 STA* L0CTR LO ROD NO. AND POSITION 0 6 6 . P0026 C844 LDA* VR0D 0 6 7 . P0027 016B LPTST2 SQP L0D0NE-* - l 0 6 8 . P002S ODOl INQ 1 0 6 9 . P0029 DOFF RA0- I 0 7 0 . P002A 684E STA* VL0R0D 0 7 1 . P002B 993 F SUB* VROD,I 0 7 2 . P002C 0134 SAM S T I L L 0 - * - ! 0 7 3 . P002D COFF LDA- I 0 7 4 . P002E 6848 STA* 10CTR 0 7 5 . P002F C93B LDA* VROD,I 0 7 6 . P0030 18F6 JMP* LPTST2 0 7 7 . P0031 C847 STILL0 LDA* VL0R0D 0 7 8 . POO 32 18 F4 JMP* LPTST2 0 7 9 . POO 33 D843 L0D0NE RA0* L0CTR NO. OF L0 ROD.

0 8 0 . P0034 6844 STA* VL0R0D 081 . P0035 CCOO C0NT LDA ( DG8)

P0036 0088

Page 132: WSIBf , 1 - International Nuclear Information System (INIS)

1 2 5

0 8 2 . P0037 0132 SAM A S I - * - l SKIP I F N0 ASW. 0 8 3 . P0038 1800 JMP DEFWDL OTHERWISE DEFEAT WDL. 0F H I .

POO 39 0088 0 8 4 . P003A E87E ASI LDQ* ASWFLG SEE I F ASW HAS JUST CLEARED 0 8 5 . P003B 0143 SQZ A S I 0 K - * - l SKIP I F NO 0 8 6 . P003C OCOO ENQ 0 CLR. 1 MSG FLAG 0 8 7 . P003D 487B STQ* ASWFLG 0 8 8 . P003E 587C RTJ* LIM0FF TYPE "CLEARED L IMIT" MSG 0 8 9 . P003F CC7F ASI0K LDA* ( DG8) SEE I F ASI I N . 0 9 0 . P0040 A02E AND- $2E CONTAINS $800 091 . POO 41 0112 SAN F L G 0 F F - * - l SKIP I F NO ASI 0 9 2 . POO 42 1800 JMP DEFINS DEFEAT INSERT OF L0 ROD.

P0043 OOBO 0 9 3 . POO 44 C87 5 FLG0FF LDA* ASIFLG 0 9 4 . P0045 0103 SAZ CHKASY-*- l 0 9 5 . POO 46 OAOO ENA 0 0 9 6 . POO 47 6872 STA* ASIFLG JUST CLEARED ASI SO, 0 9 7 . P0048 5872 RTJ* LIM0FF TYPE "CLEARED LIMIT " MSG 0 9 8 . POO 49 C82F CHKASY LDA* VL0R0D 0 9 9 . P004A 982 D SUB* VHIROD r

100. P004B 682 E STA* R0DDX 101 . P004C 8830 ADD* MAX W SEE I F > HI BAND. 102 , P004D 0139 SAM A S Y - * - l 103 . P004E 982 E SUB* MAX 104. P004F 882 E ADD* MIN SEE I F < LOWER BAND. 105 . P0050 0123 SAP F G T S - * - i SKIP I F NOT. 106 . P0051 C866 LDA* MG3FLG SEE I F TRIMMING NOW. 107 . P0052 0101 S.AZ F G T S - * - l SKIP I F NOT. 1 0 8 . P0053 1838 JMP* PULSIT GO JO G THE RODS. 109 . P0054 C862 FGTS LDA* MG1FLG 110. P0055 0102 SAZ MSG0NE-*- ! 111 . P0056 1 SOB JMP* CLREXl 112 . POO 57 1828 ASY JMP* G0TRM 113 . P0058 OAOO MSG0NE ENA 0 114. POO 59 6400 X STA TRMDRP TO CLEAR THE FLAG IN CONTRL.

P005A 7FFF X 115. P005B 685C STA* MG3FLG 116. P005C 0A01 ENA 1 117 . P005D 6859 STA* MG1FLG 118 . P005E 5800 RTJ TYPMSG SYMMETRIC MSG

POO 5F 00C1 i

119 . P0060 014E ADC MSG 1 - * 120. P0061 0842 CLREXl CLR Q OPEN ALL ROD CONTACTS , 121 . P0062 0814 TRQ A 122. P0063 60FF STA- I 123 . P0064 5 CIA RT J* ( DIGCN) 124. P0065 DOFF RA0 - I 125 . P0066 0842 CLR Q 126. POO 67 0814 TRQ A

1

127 . P0068 5C16 RTJ* . (DIGCN) 128 . POO 69 1.4EA JMP- (ADISP) 129 . P006A 0005 VR0D BSS VR0D( 5)

130* P006F 0000 BITC0N NUM 0 , $ 4 0 , $ 1 0 0 , $ 4 0 0 , $ 1 0 0 0 , $ 4 0 0 0 P0070 0040 P0071 0100 P0072 0400

Page 133: WSIBf , 1 - International Nuclear Information System (INIS)

1 2 6

P007 3 1000 P007 4 4000

131. P0075 0001 BZS HICTR,L0CTR,VHIR0D,VL0R0D.R0DDX P0076 0001 P0077 0001 P0078 0001 P0079 0001

1 32. P007A 1100 LIMMSK NUM $1100 133. P007B 00 IE JOGRNG NUM 30 134. P007C 0005 MAX NUM 5 UPPER BAND=50MILS 135. P007D 0003 MIN NUM 3 L0WER = 30 MILS 136. P007E 7FFF X DIGCN ADC DIGCON 137. P007F OAOO GOTRM ENA 0 138. P0080 6836 STA* MG 1FIG 139. P0081 C836 LDA* MG3FLG 140. P0082 0115 SAN DBAN-*~1 141. P0083 0A01 ENA 1 142. P0084 6833 STA* MG3FLG i 4 3 . P0085 5800 RTJ TYPMSG "TRIM" MSG

P0086 009A 144. P0087 012F ADC MSG 3 - * 145. P0088 C8F0 DBAN LDA* R0DDX 146. P0089 88F1 ADD* JOGRNG 147. P008A 013A SAM B0 TH - * - 1 148, P008B C8ED PULSIT LDA* R0DDX 149. P008C 0864 TCA A 150. P008D 2000 MUI =N 50 CONVERT TO MILSEC/2

P008E 0032 151 . P008F 3028 W I - $28 L0C CONTAINS 3 2 . 152. P0090 6804 ST A* HALTTM TIME T0 CUT OFF RODS 153. P0091 54F4 X 7 RTJ- <$F4) 154. P0092 HOC NUM $1 IOC 155. P0093 7FCE ADC CLREXI-X7 -1 156. P0094 OOOO HALTTM NUM 0 157. P009 5 E8DF BOTH LDQ* HICTR RUN HI AND LO 158. P0096 CC28 LDA* (DGS) CK INTERMEDIATE L I M I T . 159. P0097 A02D AND- $2 D CONTAINS $400 160. P0098 0102 SAZ I N S E R T - * - ! INSERT HI ROD ONLY.IF 161. P0099 OAOO ENA 0 REGULATING ROD IS<= INTERMEDIATE 162. P009A 1802 JMP* NOINST 163. P009B CAD3 INSERT LDA* BITC0N9Q REQ'D MASK PATTERN. 164 . P009C 0842 NOINST CLR Q 165. P009D 40FF STQ- I 166. P009E 5 CDF RTJ* (DIGCN) 167. P009F CCIF I S F I V LDA* (DGS) CHECK INTERMEDIATE L I M I T . 168. POOAO A02D AND- $2D =$400 169. P00A1 0101 SAZ BELOW-*-1 SKIP I F RR<(BEL0W) I N T . 170 . P00A2 1805 JMP* ONEE OTHERWISE GO WITHDR. LOW ROD. 171. P00A3 C 400 X BELOW LDA TRMDRP SEE I F CONDITION STILL 0N.

P00A4 005A X 172. P00A5 O i l 1 SAN 0 N E E - * - l ' I F DROP CONDITION D0 NOT

173. P00A6 I SOB JMP* 17 4 . P00A7 E8CE 0NEE LDQ* 175. P00A8 ODFA INQ 176. P00A9 0143 SQZ 177 . POOAA 0D04 INQ

N0PULL ST0P WITHDR 0F LOW R0D. L0CTR - 5 CHECK I F R0D # 5 . DRTS-* - l SKIP I F #5 IS L0W R0D . 4 OTHERWISE CHECK DROP CONDITION.

Page 134: WSIBf , 1 - International Nuclear Information System (INIS)

127

178 .

179 . 180. 181 . 182. 183 . 18 4 . 185 . 1 8 6 . 137. 188.

1 8 9 . 190 . 191 . 192 . 193 . 194 . 195 .

P00AB POOAC POOAD POOAE POOAF POOBO P00B1 P00B2 P00B3 P00B4 P00B5 P00B6 P00B7 P00B8 P00B9 POOBA POOBB POOBC POOBD POOBE POOBF POOCO

5800 00 F1 E8C8 CACO ECU 0142 OCOO OAOO DOFF 5CC9 14EA 0001 0001 0001 0001 0000 5865 01 IE ICFC 002F 7FFF 7FFF

RTJ DR0PCK

DRTS LDQ* LOCTR LDA* BITC0N,Q LDQ* (ST0PWD)

P U L L - * - 1 TEST F0R ER I N H I B I T .

0K T0 PULL L0W R0D. D0N * T PULL.

SQZ N0PULL ENQ 0

ENA 0 PULL RA0- I

RTJ* (DIGCN) JMP- (SEA) BZS M6 IF LG, MG 3 FLG, ASWFLG, ASIFLG

TYPE "CLEARED LIMIT ' LIM0FF NUM 0

RTJ* TYPMSG ADC MSG7-* JMP* (L IM0FF)

DG8 ADC DIGWD8 DR0FG ADC DR0PFG IN PR0G. C0NTRL. ST0PWD ADC ST0PFG

197 . C0ME HERE 0N A ASW REQUEST.

199 . 200. 201. 202. 2 0 3 . 2 0 4 . 2 0 5 . 206. 2 0 7 . 208. 2 0 9 . 210. 21 1 . 212. 2 1 3 . 2 1 4 . 2 1 5 . 216. 2 1 7 . 2 1 8 . 2 1 9 .

220.

P00C1 P00C2 P00C3 P00C4 P00C5 P00C6 P00C7 P00C8 P00C9 POOCA POOCB POOCC POOCD POOCE

POOCF POO DO POO D1 P00D2 P00D3 P00D4 P00D5 P00D6

CCFC A02B 0117 C8F3 09FD 010B D8F0 5858 00 E9 1808 C8EC 09FD 0114 6CF0

0A01 68E7 58E8 0C05 C69D 9400 0032 0133

DEFWDL LDA* AND-SAN LDA* INA SAZ RA0* RTJ* ADC JMP*

DEF LDA* INA SAN STA*

( DG8) $2B D E F - * - 1 ASWFLG

L0C. CONTAINS $100 SKIP I F NOT WITHDR. L I M .

SEE I F 1 ST TIME IN WDR. L IM. - 2 ASWYEA-*-1 ASWFLG TYPMSG MSG2-* ASWYEA ASWFLG - 2

1ST TIME SO TYPE H WITHDR L IMIT" MSG

SEE I F JUST CLEARED LIMIT

ENA STA* RTJ*

ASWYEA ENQ LDA-SUB+

ASWYEA-*-! (DROFG) CLRS DROP STATE FLAG WHEN RR

LEAVES THE WITHDRAWAL L I M I T . I ASWFLG LIMOFF 5

(AVALU),6 I N I T 5

"CLEARED L IMIT" MSG

GET #5 ROD POSITION COLD CLEAN C R I T . POS.

SAM P U L L 5 - * - l OK TO PULL ALL 5 I F #5 < I N I T 5

2 2 1 . P00D7 E89E LDQ* LOCTR ALSO OK I F #5 I S LO ROD. 2 2 2 . POODS ODFA INQ - 5 2 2 3 . P00D9 0152 SQN P U L L 4 - * - l OTHERWISE PULL 4 SHIMS 2 2 4 . POODA C817 PULL5 LDA* PUL5MK 2 2 5 . POODB 1802 JMP* MOTION

Page 135: WSIBf , 1 - International Nuclear Information System (INIS)

128

226. 2 2 7 .

228. 2 2 9 . 2 3 0 .

231 . 2 3 2 . 2 3 3 . 2 3 4 . 2 3 5 . 2 3 6 . 2 3 7 . 2 3 8 .

2 3 9 .

240 . 241 . 242 . 2 4 3 . 244 .

P00DC POODD POODE POODF POO EO POOE1 POOE2 POOE3 POOE4 POOE5 POOE6 POOE7 POOE8 P0OE9 POOEA POOEB POO EC POO ED POO EE POOSF POOFO POOF1 P00F2

OAOO 6800 OOB5 CCEO 0112 5800 0089 C804 01 IB 0A01 68D1 68CF OBOO OBOO COOO 5721 6800 OODO 5832 OOCB 14EA 4000 007E

PULL 4 ENA M0TI0N STA

0 D0 N0T PULL #5 R0D. WDMSK PLACE #5 Mf K IN WITHDR MSK W0RD.

LDA* (ST0PWD) SAN N0WDR-*-l RTJ CLCKER

N0WDR LDA* ASWFLG SAN N0TN0W-*-I ENA 1 STA* ASWFLG STA* MG3FLG N0P 0 N0P 0 LDA =N$5721

STA MSG 4+3

RTJ* TYPMSG ADC MSG 4 - *

N0TN0W JMP- (SEA) PUL5MK NUM $4000

X DIG ADC DIGC0N

CK REACT FLAG

SEE WHICH SHIMS T0 PULL.

SEE I F TIME F0R MSG

ASCII SET UP F0R MSG,DIG. ASW!

DIGASW MSG

246. C0ME HERE 0N AN ASI REQUEST.

2 4 8 . 2 4 9 . 2 5 0 . 2 5 1 . 2 5 2 . 2 5 3 . 254 . 255 . 2 5 6 . 257 . 2 5 8 . 2 5 9 . 260. 261 . 262. 263 . 264 . 265 . 266. 2 6 7 . 268. 2 6 9 .

P00F3 P00F4 P00F5 POOF6 P00F7 P00F8 P00F9 POOFA POOFB POOFC POOFD POOFE POOFF P0100 P0101 POl 02 POl 03 P0104 POl 0 5 P0106 P0107 PO 10 8

C8C5 0115 0A01 60FF 0842 0844 5CF8 CCC3 A02F 902 F E8BB ODFD 0106 0143 D8B7 581E 00 D3 C81B 180 A 0153 0C01 48B0

DEFINS LDA* SAN ENA STA-CLR CLR RTJ*

ASI0N LDA* AND-SUB-LDQ* INQ SAZ SQZ RA0* RTJ* ADC

N0INHB LDA* JMP* SQN ENQ STQ*

N00N

ASIFLG A S I 0 N - * - I 1 I Q A (DIG) (DG8) $2F $2F ASIFLG - 2 N 0 0 N - * - l N0 INHB- * - l ASIFLG TYPMSG MSG6-* INMASK N0DEFT INR0 D S - * - l 1 ASIFLG

ST0P ALL WITHDR 1ST TIME THRU

CK F0R INSERT LIMIT T00. L0C. =$1000

I F I T IS TYPE MSG-INSERT LIMIT *SG

JUST CLEARED, S0 TYPE MSG

2 7 0 . P0109 58B0 2 7 1 . P010A C815 2 7 2 . P010B E800

P010C FF69 2 7 3 . POlOD BAOO

P010E FF60

RTJ* LIM0FF INR0DS LDA* INMASK

LDQ L0CTR

E0R BITC0N ,Q

" CLEARED LIMIT"

ST0P INSERT 0F L0 R0D.

Page 136: WSIBf , 1 - International Nuclear Information System (INIS)

19

2 7 4 . POI OF POI 10

6800 0084

N0DEFT STA ASVE

27 5 . POI 1 1 OCOO ENQ 0 2 7 6 . POI 12 40 FF STQ- I 2 7 7 . POI 13 5 CDE RTJ* (DIG) G0 INSET APPROPRIATE RODS, 2 7 8 . POI 14 C8A4 LDA* ASIFLG SEE I F TIME F0R MSG 2 7 9 . POI 15 0118 SAN X X - * - 1 2 8 0 . POI 1 6 689F STA* MG1FLG W USED BY R0D J0G F0R SYMM.STATU 281 . POI 17 D8A1 RA0* ASIFLG 2 8 2 . POI 18

POI 19 COOO 4920

LDA =N$4920 ASCHII SET UP F0R AS I MSG.

2 8 3 . POI 1A POI IB

6800 00A2

STA MSG 4+3

2 8 4 . POI 1C 5804 RTJ* TYPMSG G0 TYPE DIGITAL AS I MSG 2 8 5 . POI ID 009D ADC MSG 4 - * 2 8 6 . POI IE 14EA XX JMP- (ADISP* 2 8 7 . P,01 IF 5540 INMASK NUM $5540

2 8 9 . * THIS I S MSG. INTERP. FOR TRIM

291 . POI 20 0000 TYPMSG NUM 0 ENTRY PT. 2 9 2 . P0121 C8FE LDA* TYPMSG DETERM ADR 0F MSG BLOCK 2 9 3 . POI 22 8CFD ADD* CTYPMSG) 29 4 . POI 23 60FF STA- I SAVE POINTER 10 MSG 2 9 5 . POI 24 0003 ENQ 3 XFR.4 WORDS 0F MSG BLK, 2 9 6 . P0125 C722 XLP LDA- (ZERO) ,B 2 9 7 . POI 26 6A00 STA MSG 5,Q

POI 27 0098 2 9 3 . POI 28 ODFE INQ -1 2 9 9 . POI 29 0171 SQM LP0VER-* - l 300 . P012A 18FA JMP* XLP 301 . P012B 5821 LP0VER RTJ* TYPTIM GET CORRECT TIME FOR MSG 3 0 2 . P012C 0097 ADC MSG5-*+4 SLOT T0 INSERT T IME. 3 0 3 . P012D 0C05 ENQ 5 GET ROD POS. FOR MSG. 30 4 . P012E 481C LLP STQ* QSAVE 3 0 5 . P012F C69D LDA- (AVALU),Q 30 6 . POI 30 54A2 RTJ- (A0CDEC) 3 0 7 . POI 31 0000 NUM 0 3 0 8 . POI 32 0000 NUM 0 3 0 9 . POI 33 0000 NUM 0 310 . POI 34 5489 RTJ- (AHEX) 311 . P0135 809F R0DADR ADC (MSG 5 - * + 2 1 ) 312 . POI 36 E814 LDQ* QSAVE 31 3 . POI 37 ODFE INQ - 1 SEE I F DONE ALL RODS. 314 . POI 38 0144 SQZ THRU-* - l 315 . POI 39 CSFB LDA* R0DADR 316 . P013A 09FC INA - 3

3 1 7 . P0 I3B 68F9 STA* R0DADR 3 1 8 . P013C 18F1 JMP* LLP 3 1 9 . P013D C8F7 THRU LDA* R0DADR 320 a P013E 090C INA 12 RESET SLOT FOR NEXT TIME. 321 . P013F 68F5 STA* R0DADR 322 .

/

THE MSG FWRITE $ E , , M S G 5 - T H E M S G - 1 . 2 3 . A . 8 . . . X 3 2 2 . POI 40 54F4

r

Page 137: WSIBf , 1 - International Nuclear Information System (INIS)

130

322 , POl 41 ODBO 322 . POl42 OOOO

POl43 OOOO 322 . POl44 100E 322o POl45 0017

POl46 007E 323. POl47 OBOO 324 . POl48 D8D7 325 . P0149 1CD6 326 . P014A 0001 327 . P014B 7FFF

NOP RETR RAO* BAC JMP*

BZS X 0LDWD ADC

TYPMSG SET (TTPMSG) QSAVE OLDDGW

UP RETURN ADR.

3 2 9 . * THIS I S SUBROUTINE TO INSERT 3 3 0 . * TIME INTO ANY MSG, NOT REENTRANT. 331 . * RESTRICTED TO LEVEL 7 PROGRAMS ONLY.

333 . POl 4 C OOOO TYPTIM NUM 0 ENTRY PT, 3 3 4 . P014D 549B RTJ- (AT0D) UPDATE TIME-THIS SUBROUTINE 335 . P014E E8 FD LDQ* TYPTIM TO BE USED BYSCAN 336 . P014F FCFC ADQ* (TYPTIM) LEVEL PROGRAMS ONLY.ENTER THIS 3 3 7 . POl 50 4S0A STQ* LOC WI TH REL DIST. T0 SLOT. 3 3 8 . POl 51 F004 ADQ- 4 339 . POl 52 4810 STQ* LOC 1 340 . POl 53 C 400 X LDA+ HORMIN

POl 54 7FFF X 341 . POl 55 54A2 RTJ- (A0CDEC) 342 . POl 56 OOOO NUM 0 , 0 , 0

POl 57 OOOO POl 58 OOOO

343 . POl 59 5489 RTJ- (AHEX) 344 . P015A OOOO L0C NUM 0 345. P015B C 400 X LDA+ SECON

P015C 7FFF X 346. P015D 54A2 RTJ- (A0CDEC) 347. P015E OOOO NUM 0 3 4 8 . P015F OOOO NUM 0 349 . POl 60 OOOO NUM 0 350 . POl 61 5489 RTJ- (AHEX) 351 . POl 62 OOOO L0C1 NUM 0 352 . POl 63 0C01 ENQ 1 353 . POl 64 CEFD LDA* (L0C1)#Q REVERSE SEC. AND SPACES. 3 5 4 . POl 65 6CFC STA* (L0C1) 355. PO 1 66 COOO LDA =N$2020 ASCII FOR SPACES.

POI 67 2020 356 . POl 68 6EF9 STA* (L0C1) ,Q 357 . POl 69 D6E2 RAO* TYPTIM SET UP RETURN ADRES.

3 5 8 . P016A 1CE1 JMP* (TYPTIM)

360 . 361 . 362 .

* * * THIS I S CHECKER F0R AN UNCLUTCHED R0D I F SHIMMING I S REQUESTED. I T DELAYS PULLING K0R 3 SEC. AFTER RECLUTCHING.

Page 138: WSIBf , 1 - International Nuclear Information System (INIS)

1 3 1

364 . P016B 0000 CLCKER NUM 0 36--1 P016C 0003 ENQ 3 366 . POI 6D CCOO LPCKER LDA (DG8)

P016E FF4F 367 . P016F A006 AND- 6 MASK I N THE CLUTCH SWS. 3 6 8 . P0170 A223 AND- CLMASK,Q CK. EACH CLUTCH SW. 3 6 9 . POI 71 0113 SAN 0 K C L T - * - l 370 . POI 72 OAOO ENA 0 DECLUTCH ED-STOP WITHDR. 0F T 371 . POI 73 6A22 STA* CTR ,Q 372 . POI 74 1809 JMP* NXT 37 3 e P0175 CA20 0KCLT LDA* CTR ,Q SEE I F RECLUTCHED 0fcLY 3 SEC 37 4 . PQ176 09FD INA - 2 375 . POI 77 0122 SAP A B - * - l SKIP I F .GE. 3 SEC. 376 . P0178 DAI D RAO* CTR ,Q OTHERWISE CONTINUE T0 DEFEAT T 3 7 7 . P0179 1804 JMP* NXT 37 8 « P017A C819 AB LDA* WDMSK 3 7 9 . P017B 8AJE ADD* R0DMSK ,Q WITHDRAW MASK 3 8 0 . P017C 6817 STA* WDMSK 3 8 1 . P017D ODFE NXT INQ - 1 3 8 2 . P0I7E 0171 SQM X 0 U T - * M 3 8 3 . P017F 18 ED JMP* LPCKER 3 8 4 . P0180 C813 X0UT LDA* WDMSK G0 WITHDR. THE APPROPRIATE ROD 3 8 5 . P0181 E800 LDQ ASWFLG SEE I F THERE IS A WD. L I M I T .

P0182 FF3 5 386 . POI 83 ODFD INQ - 2 3 8 7 . POI 84 0147 SQZ Y E P - * - l SKIP I F THERE IS ONE. 3 8 8 . PO 18 5 E800 LDQ HICTR I F NOT STOP WD. 0F H I 0R0D.

P0186 FEEE 3 8 9 . PO 187 ODFA INQ - 5 SEE I F N0. 5 ROD 3 9 0 . POI 88 0143 SQZ Y E P - * - l D0NT NEED T0 INH IB IT H I M . 391 . P0189 0D05 INQ 5 3 9 2 . P018A 0FA1 QLS 1 REMOVE B I T FOR H I ROD WITHDRAWAL 39 3 . P018B A237 AND- $37,Q BY MASKING I T OUT. 3 9 4 . POISC 6808 YEP STA* ASVE 3 9 5 . P018D 0C01 ENQ I G0 MOVE APPROPRIATE RODS. 3 9 6 . P018E 40FF STQ- I 397 . P018F 0842 CLR Q 3 9 8 . POI 90 5COO RTJ (DIG)

POI 91 FF60 3 9 9 . P0192 1CD8 JMP* (CLCKER) 4 0 0 . P0193 0000 WDMSK NUM 0 401 . P0194 0000 ASVE NUM 0 4 0 2 . P0195 0000 CTR NUM 0 , 0 , 0 , 0

POI 96 0000 POI 97 0000 POI 98 0000

4 0 3 . POI 99 0040 R0DMSK NUM $ 4 0 , $ 1 0 0 , $ 4 0 0 , $ 1 0 0 0 P019A 0100 P019B 0400 P019C 1000

405 . * SUBROUTINE TO CHECK FOR A DROPPED R0D 406 . * A TIME DELAY I E PROVIDED FOR 4 0 7 . * RECLUTCHING THE ROD,

4 0 9 . P019D 0000 DR0PCK NUM 0

Page 139: WSIBf , 1 - International Nuclear Information System (INIS)

132

410 . P019E CCOO DR0P LDA (DG8) P019F FF1E

411 . POl AO A223 AND- CLMASK»Q ISOLATE STATUS 0F CLUTCH SW. 412* POl Al 0116 SAN C L U T H - * - l SKIP I F CLUTCHED 413 . P01A2 OAOO ENA 0 4 1 4 . P01A3 6804 STA* CHKCLT I N I A T I A L I Z E CTR 415 . POl A4 OAOO EFTLOW ENA 0 416 . POi A5 1800 JMP N0PULL

P01A6 FFOA 417 . P01A7 OOOO CHKCLT NUM 0 4 1 8 . P01A8 C8FE CLUTH LDA* CHKCLT G0 THRU SCAN 2 TIMES AFTER 4 1 9 . P01A9 09FD INA - 2 ROD RECLUTCHES BEFORE WITHDR, 4 2 0 . POl AA 0102 SAZ 0 K P U L L - * - ! 421 . POl AB D8FB RA0* CHKCLT 422 . POl AC I8F7 JMP* DFTL0W 423 . POl AD ICEF 0KPULL JMP* (DR0PCK)

425 . * MESSAGE BL0CKS

4 2 7 . P01AE 5359 MSG 1 ALF 4,SYMM. P01AF 4D4D P01B0 2E20 P01B1 2020

4 2 8 . P01B2 5252 MSG2 ALF 4,RR WDL. P01B3 2057 P01B4 444C P01B5 2E20

4 2 9 . P01B6 5452 MSG 3 ALF 4,TRIMMING P01B7 49 4D P01B8 4D49 P01B9 4E47

430 . POl BA 4449 MSG 4 ALF 4,DIG ASV P01BB 4720 P01BC 4153 POl BD 5720

431 . P01BE OOOO NUM 0 4 3 2 . P01BF 2020 MSG 5 ALF 2 3 , HRMNt:

POl CO 2020 P01C1 2020 P01C2 2020 •

P01C3 4852 1

P01C4 4D4E P01C5 5E3A P01C6 2020 P01C7 2020 P01C8 2020 P01C9 2020 P01CA 2020 POICB 2020 P01CC 2020 P01CD 2020 POICE 2020 P01CF 2020 POl DO 2020 P01D1 2020 P01D2 2020

Page 140: WSIBf , 1 - International Nuclear Information System (INIS)

1 3 3

433 .

434.

435.

POiD 3 P01D4 P01D5 POI 06 P01D7 P01D8 P01D9 P01DA P01DB PO IDC P01DD

2020 2020 2020 49 4E 5320 4C49 4D20 434C 5220 4C49 4D20

MSG6 ALF 4 , I N S LIM

MSG7 ALF 4,CLR LIM

END

\

Page 141: WSIBf , 1 - International Nuclear Information System (INIS)

1 3 4

2.19 DRI72

2 .19 .1 Class if ication

On-line/core resident/assembly language/nonreentrant/relocatable

2.19.2 Purpose

DRI72 is a genera I-purpose subroutine for operating the high-speed 200-kHz timer. The driver accepts requests to operate the 1572 timer in different modes. The timer is connected to the CDC 1700, with an interrupt line at the highest priority level of 15. The caller is assigned an individual user number to prevent reentrancy; the caller can indicate the address of the interrupt response routine.

2.19.3 Description

Upon entry, DRI72 saves the return address in the I register and, if the user is requesting a read of the 1572, gives a connect command and reads the current value of the 1572 counter into the A register. If the program does not connect to the equip-ment after three repeated attempts, an error message is typed and the program returns. If the user is nor requesting read, the 1572 busy flag is tested. If the flag is busy, the program writes a "Busy" message and returns. Otherwise, a busy flag is set. If the user is requesting reset or stop, the program resets the 1572 interrupts or master clears the 1572 equipment and busy flag, respectively, and returns. Otherwise, the program tests for the sample rate mode request. If not requested, the program starts the 1572 running in the elapsed time mode. If sample rate mode is requested, the address for the interrupt trap response routine is obtained from the user's calling sequence and loaded into the interrupt trap in LOCORE. The interrupt rate requested is loaded into the 1572 register, the timer is started, and the program returns.

The logic block diagram of DRI72 is shown in Fig. 19. i

2.19.4 User Instructions

The calling sequence and the request ctodes for the 1572 are as folloyys: tlfe first word of the call is a return jump; the second Word contains the address to^W inserted in the interrupt trap, using relative format; the third word contains the/Numerical value to be placed in the 1572 register; and the Q register contains the ujs r number to be exclusively assigned to each user. The operating mode request codes are as follows: -2 = reset the interrupt; -1 = stop the 1572; +0 = read the 1572; +1 = select sample rate mode; and +2 = set elapsed time mode.

Page 142: WSIBf , 1 - International Nuclear Information System (INIS)

135

ORNL DWG NO, 7 2 - 8 2 7

1-FLTIM 2MUXBUF 3-DRMCAL y - K Z E D r

RESET REJECT COUNTER & SAVE RET. ADD. IN I

CONNECT AND READ 1572 INTO A-REG.

WRITE MESSAGE

NO. 1

C

fc-a RESET 1572 INTERRUPT

WRITE IMESSAGC

NO. 2

RETURN

X MASTER CLEAR

THE 1572

CLEAR BUSY FLAG

MASTER CLEAR

THE 1572

CLEAR BUSY FLAG

>

START 1572 IN ELAPSED TIME MODE

GET ADD. |FROM PARAMJ

LIST & LOAD] TRAP

GET INTRPT. RATE FROM LIST & PUT INTO 1572

START THE 1572

NO.

1 2

MESSAGES

1572 CONCT. BAD 1572 BUSY

Fig. 19. Logic Block Diagram of Program DRI72.

Page 143: WSIBf , 1 - International Nuclear Information System (INIS)

1 3 6

0 0 1 . NAM DRI72 2 / 1 2 / 7 0 VERSION 0 0 2 . ENT DRI72 0 0 3 . 0022 EQU ZERO ( $ 2 2 ) 0 0 4 . EXT INT72

0 0 6 . * THIS DRIVER ACCEPTS REQUESTS T0 OPERATE TH 0 0 7 . * 1572 . FIRST WORD 0F THE PARAMETER LIST 0 0 8 . * IDENTIFIES THE REQUEST. THE SECOND WORD 0 0 9 . * CONTAINS ADDRESS T0 BE I NSERTED I N THE 0 1 0 . * INTERRUPT TRAP L0C.(RELATIVE FORMAT). THE 0 1 1 . * THIRD WORD CONTAINS INFO T0 BE PLACED IN 0 1 2 . * 1572 REG. THE Q REG. CONTAINS USERS CODE 0 1 3 . * NUMBER. 0 1 4 . * REQUEST CODES: 0 1 5 . * 1 . RESET THE INTERRUPT = - 2 0 1 6 . * 2 . STOP 1572 =-1 0 1 7 . * 3 . READ 1572 =+0 0 1 8 . * 4 . SAMPLE RATE MODE =+1 0 1 9 . * 5 . SET ELAPSED TIME MODE =+2 0 2 0 . * I F 1572 IS BUSY 0R REJECT 0CCURKS, RETURNS 0 2 1 . * USER WITH ERROR CODE IN Q REG=$8000.

0 2 3 . POOOO 0000 DRI72 NUM 0 02 4 . P0001 0500 I I N 0 0 2 5 . P0002 C8FD IDA* DRI72 SAVE PARAM. LIST ADDR. 0 2 6 . P0003 0400 EIN 0 0 2 7 . P0004 60 FF STA- I 0 2 8 . P0005 C4FF LDA- ( I ) GET REQ. CODE. 0 2 9 . P0006 0111 SAN NOTRD-*- 1 SEE I F READ REQUEST. 0 3 0 . P0007 1847 JMP* READ72 031 . P0008 C81E NOTRD LDA* BUSYFG SEE I F DRIVER IS BUSY. 0 3 2 . POO 09 0112 SAN CHUSER-* - 1 0 3 3 . POO OA 481Z STQ* BUSYFG MARK DWN,DRIVER AS BUSY/USER 0 3 4 . POOOB 1804 JMP* OKUSER 0 3 5 . POOOC 0874 CHUSER EAQ A I F ZERO THIS I S PERMITTED USER. 0 3 6 . POOOD 0101 SAZ OKUSER-* - 1 0 3 7 . POOOE 185F JMP* LEAVE 0 3 8 . POOOF 586C OKUSER RTJ* FIXADR 0 3 9 . P0010 0A03 ENA 3 0 4 0 . POOI 1 6814 STA* COUNT SET UP REJECT LOOP COUNTER. 041 . POO 12 C4FF LDA- < I ) GET REQ. CODE. 0 4 2 . P0013 0131 SAM L 0 0 K - * - l 0 4 3 . P0014 1817 JMP* MODES TO SAMPLE RATE OR ELAP. TIME 0 4 4 . POOI 5 0901 LOOK INA 1 0 4 5 . POOI 6 0107 SAZ ST0P72- * - 1 0 4 6 . P0017 0A02 ENA 2 RESET THE INTERRUPT. 0 4 7 . P0018 E811 LDQ* CON403 0 4 8 . P0019 0500 I I N 0 0 4 9 . POOI A 0302 OUT 2 0 5 0 . P001B 183E JMP* OUT RETURN TO USER. 051 . P001C OBOO NOP 0 0 5 2 . POOI D 583F RTJ* LOOP 0 5 3 . P001E OAOI ST0P72 ENA 1 054 . P001F E80A LDQ* C0N4O3 MC. THE 1572 TO STOP.

Page 144: WSIBf , 1 - International Nuclear Information System (INIS)

137

0 5 5 , 0 5 6 , 0 5 7 , 0 5 3 . 0 5 9 . 060.

061 . 062. 0 6 3 . 064 . 0 6 5 . 066. 0 6 7 . 068. 0 6 9 . 0 7 0 . 071 . 0 7 2 . 0 7 3 . 0 7 4 . 0 7 5 . 0 7 6 . 0 7 7 . 0 7 8 . 0 7 9 . 080. 081. 082. 0 8 3 . 0 8 4 . 0 8 5 . 086. 0 8 7 . 088. 0 8 9 . 0 9 0 . 091 . 0 9 2 .

0 9 3 . 0 9 4 . 0 9 5 . 0 9 6 . 0 9 7 . 0 9 8 . 0 9 9 . 100. 101 . 102. 1 0 3 . 104 . 105 . 106. 1 0 7 .

P0020 P0021 P0022 P0023 P0024 P0025 P0026 P0027 P0028 P0029 P002A P002B P002C P002D P002E P002F P0030 P0031 POO 32 P0033 P0034 P0035 P0036 P0037 P0038 P0039 P003A P003B P003C P003D P003E P003F POO 40 P0041 POO 42 P0043 P0044 P0045 P0046 P0047 P0048 POO 49 P004A P004B P004C P004D P004E P004F P0050 P0051 P0052 P0053 P0054 P0055 P0056

0500 0302 1833 OBOO 5838 0001 0001 7FFF 0402 0403 0500 09FE 0111 1808 C8FB E8F9 0500 0302 1827 OBOO 5828 DOFF C4FF 0122 AO 11 80 FF 0C01 6EEB DOFF C4FF E8E9 0500 OBOO 0302 1803 OBOO 5818 0400 COOO 8900 E8ED 0500 0302 180E OBOO 580F E8D9 OBOO 0500 0202 1824 OBOO 5808 0842 48CF

IIN 0 our 2 JMP* 0FF N0P 0 RTJ* L00P BZS COUNT,BUSYFG

TRPADR C0N4O2 C0N4O3 FUN500 M0DES

ELPT1M

SAMPRT

ST0R

STRT72

ADC NUM NUM NUM INA SAN JMP* LDA* LDQ* I I N 0UT JMP* N0P RTJ* RA0-LDA-SAP AND-ADD-ENQ STA* RA0-LDA-LDQ* U N N0P 0UT JMP* N0P RTJ* EIN LDA

FUNCTION C0DE/ELAPSED TIME MODE

SET ELAPSED TIME MODE.

INT72 $402 $403 $500 -1 E L P T I M - * - l SAMPRT FUN 500 C0N403 0 2 OUT 0 LOOP I ( I ) GET ADRES. INFO. S T 0 R - * - l +=ABS0LUTE, -^RELATIVE. $11 ERASE THE SIGN, I FORM THE ABSOLUTE ADRES. 1 (TRPADR) ,Q STORE THE NEW TRAP ADRES. 1 ( I ) GET INFO FOR 1572 REG. C0N4O2 0 0 2 STRT72 0 LOOP 0 =N$8900

LD. INTERPT. TIME INTO THE 72 REG.

LDQ* I I N OUT JMP* NOP RTJ*

READ72 LDQ* NOP U N INP JMP* NOP RTJ*

OFF CLR STQ*

CON403 0 2 OUT 0 U0OP C0N402 0 0 2 0UT0UT 0 LOOP Q BUSYFG

START THE 1572 .

READ 1572 REG. INTO A REG.

1572 OFF- SO CLR BSYFLG

1 0 8 . P0057 0400 EIN 0

Page 145: WSIBf , 1 - International Nuclear Information System (INIS)

1 3 8

109* P0058 1103 JMP- 3 , 1 RETURN T0 REQUESTOR. 110 . P0059 0400 0UT EIN 0 111. POO 5 A 0842 CLR Q 112. P005B 1 GIF JMP* (RETADR) 113. P005C OBOO LOOP NOP 0 114. P005D E8C7 LDQ* COUNT 115. P005E 0144 SQZ ALARM-*-1 116. P005F ODFE INQ - 1 117 . P0060 48C4 STQ* COUNT 118 . P0061 0CF8 ENQ - 7 119. POO 62 1EF9 JMP* (LOOP) ,Q 120. P0063 E021 ALARM LDQ- $21 ERROR CODE $8000 I N Q. 121. P0064 0400 EIN 0 122. FWRITE $ E , , M S G - A L A R M - 1 , 9 , A , 5 , , , X 122. P0065 54F4 122. P0066 0D50 122. P0067 OOOO

POO 68 OOOO 122. POO 69 100E 122. POO 6 A 0009

P006B 001D 123. P006C 1C0E JMP* (RETADR) 124. P006D 0400 LEAVE EIN 0 125. P006E E021 LDQ- $21 ERROR COODE. 126. EXIT FWRITE $ E , . M S G l - E X I T - I . 5 , A , 5 , , . X 126. P006F 54F4 126. P0070 0D50 126. P0071 OOOO

P0072 OOOO 126. P0073 100E 126. P0074 0005

P0075 001B 127. P0076 EOFF 0UT0UT LDQ- I 128. P0077 0D03 INQ 3 129. P0078 0400 EIN 0 130. P0079 1622 JMP- (ZERO),Q 131. P007A OBOO RETADR N0P 0 132. P007B OBOO FIXADR N0P 0 SET UP RETURN ADRES. 133. P007C COFF LDA- I 134. P007D 0903 INA 3 135. P007E 68FB STA* RETADR 136. P007F 1CFB JMP* (FIXADR) 137. P0080 OOOO NUM 0 138. P0031 3135 MSG ALF 9 , 1 5 7 2 CONCT. BAD.

P0082 3732 P0083 2043 P0084 4F4E P0085 4354 P0086 2 E20 P0087 4241 P0088 442 E P0089 2020

139. P008A OOOO NUM 0 140. P008B 3135 MSG1 ALF 5 ,1572 BUSY.

P008C 3732 P008D 2042 P008E 5553 P008F 592 E

141. END

Page 146: WSIBf , 1 - International Nuclear Information System (INIS)

139

I 00 FF DRI72 OOOOP ZER0 0KUSER 000 FP L00K 001 5P ST0P72 TRPADR 0027 P C0N4O2 0028P C0N4O3 ELPT1M 002 EP SAMPRT 003 5P ST0R 0FF 0055P 0UT 0059P L00P EXIT 006FP 0UT0UT 007 6P RETADR MSG 1 008BP INT72 0027X

0022 N0TRD 0008P CHUSER 000CP 001EP C0UNT 0025P BUSYFG 0026P 0029P FUN500 002AP M0DES 002BP 003AP STRT72 0045P READ72 004EP 005CP ALARM 0063P LEAVE 006DP 007AP FIXADR 007BP MSG 0081P

Page 147: WSIBf , 1 - International Nuclear Information System (INIS)

140

2.20 DRKILL

2.20.1 Classification

On-line/drum resident/assembly language/nonreentrant/relocatable

2.20.2 Purpose

DRKILL sets a terminate (kill) flag in location $70.

2.20.3 Description

This program is executed by manual function 21 and only sets location $70 before releasing. No logic diagram is shown because of the simple structure of the program.

2.20.4 Relationship to Other Programs

DR uses the kill flag set by DRKILL.

Page 148: WSIBf , 1 - International Nuclear Information System (INIS)

141

001. 002 • 0 0 3 . POOOO 0A01 0 0 4 . P0001 6070 0 0 5 . 0 0 5 . P0002 54F4 0 0 5 . P0003 1901 0 0 5 . P0004 FFFC 006.

NAM DRKILL 3 / 1 7 / 7 0 ENT DRKILL

DRKILL ENA 1 STA- $70 DR K I I L L FLAG

REL RELEAS (DRKILL-REL-1)»T,X

* END

Page 149: WSIBf , 1 - International Nuclear Information System (INIS)

1 4 2

2.21 DRMCOM

2.18.1 CI ossification

On-line/drum resident/assembly language/nonreentrant/relocatable

2.21.2 Purpose

DRMCOM writes the $C-word data table onto the 1-min save area drum $E at the LSB indicated in the LSBMIN pointer in $7F51. The program also tests to determine whether 2 hr have expired, at which time a $50 word common data block is written onto the drum $E common save area. In addition, an 8-hr test is made, and a $50 word common is saved in a separate data save region on drum E each 8 hr.

2.21.3 Description

DRMCOM is scheduled by program DMPCOM and upon entry, nulls the minute counter and writes the current $C-word data table to $E/LSBMIN. The LSB address pointer is increased by $C for the next entry. If 2 hr has not expired, the program releases. Otherwise, five values of rod position ars transferred to the common area, and the first $50 words of common are written onto drum $E at the current LSBHR as con-tained in $7F52. A test for the 8-hr time lapse is made, and, if this has not expired, a release is made. Otherwise, the $50 word common is written onto the 3-hr drum save at drum $E/LSBDAY as contained in pointer $7F53. The program is then released.

The logic block diagram of DRMCOM is shown in Fig. 20.

2.21.4 Relationship to Other Programs i

DRMCOM transfers standard data blocks of standard length onto drum $E at standard addresses. These block lengths and locations are assumed constant by program PLTCOM and DRMXFR. The areas are defined as follows: the 1-sec data extends from drum $E/$0000 to $E/$1C20; 1-min data from $1C20 to $2D00; 2-hr data from $2D00 to $30C0, and 8-hr data from $30C0 to $46F0. The data blocks for seconds, minutes, and hours are overwritten throughout the course of each reactor cycle; however, the 8-hr save is large enough to store the data for the entire 23-day reactor cycle.

2.21.5 Change Considerations

Any changes in DRMCOM must be rectified with program PLTCOM and DRMXFR.

Page 150: WSIBf , 1 - International Nuclear Information System (INIS)

143

ORNL DWG NO 72-828

DMPCOM

1 i NULL MINUTE

COUNTER

I WRITE DATA

SAVE TO CURRENT

c / LSB

INCREASE LSB AND HOUP

COUNTER

XFR ROD POS TO

COM & WRITE COM TO E / L S B

WRITE COM TO E / L S B BUMP ALL POINTERS

Fig. 20. Logic Block Diagram of Program DRMCOM.

Page 151: WSIBf , 1 - International Nuclear Information System (INIS)

144

0 0 1 . NAM DRMC0M REV. 1 . 1 6 . 7 1 0 0 2 . EXT TAB LOCATED I N DMPC0M 0 0 3 . 7F54 EQU CTRMIN($7F54 ) ,CTRHR($7F55 ) , CTRDAY($7F56)

7F55 CTRMIN($7F54 ) ,CTRHR($7F55 ) , CTRDAY($7F56)

7F56 0 0 4 . 7F51 EQU LSBMINC$7F51) tLSBHRC$7F52) tLSBDAYC$7F53)

7F52 7F53

0 0 5 . 7F00 EQU C0M(S7F00) ,AVALU($9D) 009D

0 0 6 . OOOC EQU LEN(12) ,C0MLEN(80) 0050

0 0 7 . * ENTER EA, , MIN. FR0M DMPC0M• 0 0 8 . P0000 OAOO DRMCOM ENA 0 0 0 9 . P0001 6C38 STA* (CTRMN) 0 1 0 . P0002 C400 LDA LSBMIN LSB ADR FOR MIN

P0003 7F51 O i l . P0004 6809 STA* LSB 0 1 2 . m WRITE 5 . .TAB .LEN » B . 4 . . . 0 0 1 2 . P0005 54F4 0 1 2 . P0006 0440 0 1 2 . P 0007 0000

P0008 0000 0 1 2 . P0009 0005 0 1 2 . POOOA OOOC

POO OB 7FFF X 0 1 3 . POOOC OOOE NUM $E 0 1 4 . POOOD 0000 LSB NUM 0 0 1 5 . POOOE C8P9 LDA* WR+3 SEE I F DRUM WRITE F IN ISHED. 0 1 6 . POOOF 0101 SAZ 1 0 1 7 . P0010 18FD JMP* * - 2 0 1 8 . P0011 C8FB LDA* LSB 0 1 9 . P0012 09 OC INA LEN 020 o POO 13 0822 TRA Q 021 . POOI 4 9848 SUB* END2 0 2 2 . POOI 5 0131 SAM 0K 1 - * - 1 0 2 3 . POO 16 E845 LDQ* END1 0 2 4 . P00 I7 4400 0K1 STQ LSBMIN

POO 18 7F51 0 2 5 . P0019 DC21 RA0* (CTRHOR) 0 2 6 . POOI A CC20 LDA* (CTRH0R) 0 2 7 . P001B 0987 INA - 1 2 0 CK. FOR 2 HR SAVE. 0 2 8 . P001C 0121 SAP H R U P - * - l 0 2 9 . POO ID 182D JMP* REL 0 3 0 . P001E OAOO HRUP ENA 0 0 3 1 . POO IF 6C1B STA* (CTRHOR) 0 3 2 . P0020 C 400 LDA LSBHR

P0021 7F52 0 3 3 . P0022 6834 STA* LSBCOM 0 3 4 . P0023 0C05 ENQ 5 XFR ROD POS. TO COMMON. 0 3 5 . P0024 C69D LA LDA- (AVALU) fQ FROM VALUE TABLE 036* P0025 6600 STA C0M*f$43tQ

P0026 7! r43 M 037 » ?Q0Z1 ODFE INQ - 1 PUT INTO SQM A L - * - l 0 3 8 . P0028 0141 SQZ A L - * - l 0 3 9 . P0029 18 FA JMP* LA

Page 152: WSIBf , 1 - International Nuclear Information System (INIS)

145

040* P002A OBOO AL N0P 0 i> i 041 . P002B 5822 RTJ* DRMXFR 042 • P002C C82A LDA* LSBC0M 0 4 3 . P002D 0950 INA C0MLEN 0 4 4 , P002E 0822 TRA Q 0 4 5 . P002F 982 E SUB* END 3 0 4 6 . P0030 0131 SAM 0 K 2 - * - 1 0 4 7 . P0031 E82B U)Q* END2 0 4 8 . P0032 4400 0K2 STQ LSBHR

POO 33 7F52 0 4 9 . P0034 DC 07 RAO* (CTRDY) 0 3 0 . P0035 CC06 LDA* (CTRDY) 051 . P0036 09FB INA - 4 TEST F0R 8 HR SAVE. 0 5 2 . P0037 0124 SAP DAYUP-*-L 0 5 3 . P0038 1812 JMP* REL i 0 5 4 . P0039 7F54 CTRMN ADC CTRMIN 0 5 5 . P003A 7F55 CTRH0R ADC CTRHR i 0 5 6 . P003B 7F56 CTRDY ADC CTRDAY 0 5 7 . P003C OAOO DAYUP ENA 0 0 5 8 . P003D 6CFD STA* (CTRDY) 0 5 9 . P003E C400 LDA LSBDAY

P003F 7F53 LDA

0 6 0 . P0040 6816 STA* LSB COM 061 . P0041 580C RTJ* ERMXFR ! ,;

0 6 2 . POO 42 C814 LDA* LSBC0M 0 6 3 . P0043 0950 INA C0MLEN 0 6 4 . P0044 0822 TRA Q 0 6 5 . P0045 9819 SUB* END 4 0 6 6 . P0046 0131 SAM 0 K 3 - * - I 0 6 7 . POO 47 E816

0X3 LDQ* END3

!

0 6 8 . P0048 4400 0X3 STQ LSBDAY POO 49 7F53

REL 0 6 9 . REL RELEAS ( DRMC0M-REL-1),T.X 0 6 9 . P004A 54F4 M 0 6 9 . P00.4B 1901 0 6 9 . P004C FFB4 0 7 0 . P004D OOOO DRMXFR NUM 0 071 . WRITE 5 . •COM. C 0 M L E N . B . 4 . . . 0 0 7 1 . P004E 54F4 071 . P004F 0440 i i 071 . P0050 OOOO

1

P0051 OOOO 071 . P0052 0005 071 . P0053 0050

P0054 7F00 0 7 2 . P0055 OOOE NUM $E 0 7 3 . P0056 2 X 0 LSBCOM NUM 11520 0 7 4 . POO 57 C8F9 i' LDA* DRMXFR+4 0 7 5 . POO 58 0101 SAZ 1 0 7 6 . P0059 18FD JMP* * - 2 0 7 7 . P005A 1CF2 JMP* (DRMXFR) 0 7 8 . P005B 1C20 END! NUM 7200 1 SEC DATA= 0 T0 7200 . 0 7 9 . P005C 2D00 END2 NUM 11520 1 MIN * = 7200 T0 11520 0 8 0 . P005D 30C0 END3 NUM 12480 2 HR DATA. 081 . P005E 46 FO END4 NUM $46F0 DAY DATA=12480 TO $ 4 6 F 0 .

0 8 2 . * END •

Page 153: WSIBf , 1 - International Nuclear Information System (INIS)

1 4 6

2.22 DRMXFR

2 . 2 2 . 1 Classification

On-line/drum resident/assembly language/nonreentrant/relocatable

2.22.2 Purpose

DRMXFR freezes the current reactor data save image on drum $E by transferring all the current data blocks to equivalent locations on drum $C. This saves current data and establishes the data on drum $C for use by the PLTCOM program replay option.

2.22.3 Description

Upon entry, DRMXR saves the current drum LSB addresses (from $7F50, 1, 2, 3) for the 1-sec, 1-min, hour, and cycle data. A loop is then established wherein blocks of $100 words are read from drum $E and written to drum $C. The loop continues until $5000 words have been transferred. A completed message is typed, and the program is released.

The logic block diagram of DRMXFR is shown in Fig. 21.

2.22.4 User Instructions

This program is executed by demand function 16.

2.22.5 Relationship to Other Programs

This program assumes that the current values for the LSB have been saved in common locations $7F50-$7F54. These are updated by program DMPCOM.

2.22.6 Change Considerations

DRMXFR is assembled with a BSS block as the final instruction. The descriptive word table must be modified after system rebuild to increase the allocation length by $100 words.

Page 154: WSIBf , 1 - International Nuclear Information System (INIS)

147

ORNL DWG NO. 72-839 FCN. 16

Fig. 21. Logic Block Diagram of Program DRMXFR.

Page 155: WSIBf , 1 - International Nuclear Information System (INIS)

148

001 . 002 . 7F50

7F60 0100

NAM DRMXFR 9 / 1 0 / 6 9 EQU L I V E ( $ 7 F 5 0 ) , R E P L Y ( $ 7 F 6 0 ) , L E N ( 2 5 6 )

0 0 4 . * MADE LENGTH $100 L0NGER IN THE D

0 0 6 . POOOO 0C03 START ENQ 3 007 . P0001 C600 LDA LIVE,Q

P0002 7F50 0 0 8 . P0003 6600 STA REPLY ,Q

P0004 7F6 0 0 0 9 . P0005 0142 SQZ DRMRD-*-l 0 1 0 . P0006 ODFE INQ - 1 o n . P0007 18F9 JMP* START+l 0 1 2 . DRMRD READ 5 , ,BUF-DRMRD-1»LEN f B,4 , , ,X 0 1 2 . P0008 54F4 0 1 2 . P0009 0340 0 1 2 . POOOA 0000

POOOB 0000 0 1 2 . POOOC 0005 0 1 2 . POOOD 0100

POOOE 0038 0 1 3 . POOOF OOOE NUM $£ 01 4 . P0010 0000 LSBRD NUM 0 0 1 5 . POOI I C8F9 LDA* DRMRD+3 01 6 . P0012 0101 SAZ 1 0 1 7 . POOI 3 18FD JMP* * -2 0 1 8 . POOI 4 0161 SQP DRMWR-*-l 0 1 9 . POOI 5 18F2 JMP* DRMRD 0 2 0 . DRMWR WRITE 5 . -BUF-DRMWR-1 .LEN.B .4 . . ,X 0 2 0 . POOI 6 54F4 020 e POOI 7 0540 0 2 0 . POOI 8 0000

POOI 9 0000 0 2 0 . POOI A 0005 0 2 0 . P0013 0100

POOIC 002A 021 . POOI D OOOC NUM $C 022 . POOIE 0000 LSBWR NUM 0 0 2 3 . POO IF C8F9 LDA* DRMWR+3 02 4 . P0020 0101 SAZ 1 02 5. P0021 18FD JMP* * - 2 0 2 6 . P0022 01 61 SQP 1 0 2 7 . P0023 18F2 JMP* ERMWR 0 2 8 . P0024 C3EB LDA* LSBRD 0 2 9 . P0025 8000 ADD =XLEN

P0026 0100 0 3 0 . P0027 68E8 STA* LSBRD 031 . P0028 68F5 STA* LSBWR 0 3 2 . P0029 9000 SUB =N$5000

P002A 5000 0 3 3 . P002B 0121 SAP THRU-* - l 0 3 4 . P002C 1 3DB JMP* DRMRD

Page 156: WSIBf , 1 - International Nuclear Information System (INIS)

149

0 3 5 . 03 5 . P002D 54F4 0 3 5 . P002E 0D40 0 3 5 . P002F OOOO

P0030 0000 0 3 5 . PC 031 100E 0 3 5 . P0032 0009

P0033 OOOA 0 3 6 . 0 3 6 . P0034 54F4 0 3 6 . POO 3 5 1901 0 3 6 . POO 3 6 FFC A 0 3 7 . POO 37 OOOO 0 3 8 . P0038 4452

P0039 4D58 P003A 4652 P003B 2043 P003C 4F4D P003D 504C P003E 4554 P003F 4544 POO 40 2E20

0 3 9 . P0041 0001

THRU FWRITE $E, ,MSG-THRU- I , 9

REL RELEAS ( S T A R T - R E L - 1 ) f T ,

MSG

040 • BUF *

NUM 0 ALF 9,DRMXFR COMPLETED

BSS B U F ( l ) END

Page 157: WSIBf , 1 - International Nuclear Information System (INIS)

ISO

2.23 DUMBUL

2 .23 .1 Classification

On-line/core resident/assembly language/nonreentrant/relocatable

2.23.2 Purpose

DUMBUL replaces DDRUM originally provided by the software supplier. The program is a core resident table of descriptive words that is used by the descriptive word changer program DWC. DUMBUL transfers descriptive words from DWC to the buffer in DUMBUL. When changes are made in descriptive words, they are saved in the buffers DUMHI for the high-level and DUMLO for the low-level input points.

2.23.3 Description

Upon entry, the program computes return address and absolutizes the address of the descriptive word buffer. If a read request is made, the program transfers the requested number of words from the DUM buffer to the table and then schedules the return address in the descriptive word changer. If the request is not a read request, it is assumed to be a write request, the required number of words are transferred to the DUM table, and the program returns.

The logic block diagram of DUMBUL is shown in Fig. 22.

2.23.4 Relationship to Other Programs

DUMBUL is a core resident program to provide descriptive point tables for the low- and high-level analog input points. These descriptive words are changed by DWC. The use of DUMBUL eliminates the need for the drum resident DDRUM and the necessity for a once-per-second, drum-read drum-write operation.

Page 158: WSIBf , 1 - International Nuclear Information System (INIS)

1 5 1

O R N L DWG NO- 7 2 - 8 0 5

DWC

22. Logic Block Diagram of Program DUMBUL.

Page 159: WSIBf , 1 - International Nuclear Information System (INIS)

152 '

001 . NAM DUMBUL 002 s 003 . * THIS PRGG. I S ENTERED AT AI BY DWC-l-$AF AND +$CC 004 . • I T ' S , J0B I S T0 XFR W0RDS FR0M DWBUF( DWC+$F4) T0 005 . * THE DUM BUFFER CN0W IN CORE) AND N0T T0 DRUM 006 . * AS DWC USED 10 D0. THE REVERSE OPERATION IS 007 . * ALS0 D0NE. 0 0 8 . * THIS ELEMINATES THE NEED F0R THE DRUM RESIDENT 009 . • DORUM 0N F /7AE0 . ALS0 THE 1/SCAN DPI R/W REQUEST. 010 . *********************************************** O i l . * 0 1 2 . ENT DUMHI USED BY H00KUP (H I LEVEL) 0 1 3 . ENT DUML0 USED BY SCAN34 (L0 LEVEL). 014 . EXT DWC 015 . poooo OOOO Al NUM 0 016 . P0001 COOO X LDA =XDWC

P0002 7FFF X 0 1 7 . P0003 8000 ADD =N$8C

P0004 008C 018 . P0005 6819 STA* DW8C 019 . P0006 8000 ADD =N$68

P0007 0068 020 . P0008 6823 STA* DBFR 021 • P0009 COFF IDA- I 022 . POO OA 6820 STA* AQ 023 . POOOB C8F4 LDA* AI 0 2 4 . POOOC 0822 TRA Q 0 2 5 . POOOD C204 LDA- 4,Q GET LSB 0F 0LD DM. 0 2 6 . POOOE 9085 SUB- $85 0 2 7 . POOOF 60FF STA- I 0 2 8 . P0010 C8EF LDA* A I 0 2 9 . POOil ODFB INQ - 4 0 3 0 . P0012 C201 LDA- 1 tQ GET R . C . 031 . POOl 3 E205 LDQ- 5,Q GET # W0RDS. 0 3 2 . P0014 OEFE INQ - 1 MINUS 1. 0 3 3 . POOl 5 A02D AND- $2D TEST F0R $500 BY USING $400 MASK. 0 3 4 . POOl 6 o n e SAN WRITE- * - l 035 . P0017 CB1 5 READ LDA* DUMHIfB 0 3 6 . P0018 6E13 STA* (EBFR),Q ST0RE IN DWC. 0 3 7 . P0019 0142 SQZ D N - * - l 0 3 8 . POOl A ODFE INQ - 1 0 3 9 . P001B 18FB JMP* READ 0 4 0 . P001C 54F4 DN NUM $54F4,$1207

P001D 1207 041 . POO IE OOOO DW8C NUM 0 042 . P001F E8E0 LDQ* A I 043 . P0020 C80A LDA* AQ 0 4 4 . P0021 60 FF STA- I RESTORE I . 045 . P0022 1205 JMP- 5,Q RET OLD C0MP. ADD. 046 . P0023 CEO 8 WRITE LDA* (EBFR),Q 0 4 7 . P0024 6B08 STA* DUMHIFB 048 . P0025 0142 SQZ D N 2 - * - l 0 4 9 . P0026 ODFE INQ - 1 0 5 0 . P0027 18FB JMP* WRITE 051 . P0028 E8D7 DN2 LDQ* Al 0 5 2 . P0029 1206 JMP- 6,Q RETURN.

Page 160: WSIBf , 1 - International Nuclear Information System (INIS)

153 '

0 5 3 . P002A 0000 AQ NUM 054 . P002B 0000 EBFR NUM 0 5 5 . P002C 2001 DUMHI NUM 0 5 6 . P002D 0400 ADC 0 5 7 . P002E 0A8C ADC 0 5 8 . P002F FF9B . NUM 0 5 9 . P0030 0001 ADC 060 . P003I 0000 ADC 061 . P0032 0000 ADC 0 6 2 . P0033 OOFF ADC 0 6 3 . P0034 2002 NUM

P0035 0401 P0036 0A8C POO37 FF9B P0038 0001 POO39 0000 P003A 0000 P003B OOFF

064 . P003C 2003 NUM P003D 0402 P003E 0A8C P003F FF9B P0040 0001 P0041 0000 P0042 0000 P0043 OOFF

0 6 5 . P0044 2004 NUM POO45 0403 POO46 0A8C POO47 FF9B POO48 0001 POO49 0000 P004A 0000 P004B OOFF

066 . P004C 2005 NUM P004D 0404 P004E 0A8C P004F 0000 P0050 0001 P0051 0000 P0052 0000 POO53 OOFF

0 6 7 . P0054 1006 NUM POO55 0405 POO56 03E8 POO57 FF9B POO58 000A POO59 0000 POO5A 0000 P005B OOFF

0 6 8 . P005C 1007 NUM P005D 0406 P005E 03E8 P005F FF9B POO60 000A POO61 0000 POO62 0000 POO63 OOFF

0 0 $2001 POINT N 0 . - P0NTN $400 MUX. ADDRESS - MPXADD 2700 HIGH LIMIT LIMHI $FF9B LOW LIMIT < - . 6 4 INCHES) ! CONVERSION ROUTINE AND CONSTANT- CONR 0 LAST VALUE FOR SIGNIFICANT CHANGE 0 CALC POINT INDEX $FF DEADBAND, SIGN I F , CHGE LIM. $2002 v $401 v $A 8C ,$FF9B , 1 , , , $FF

NUM $2003 ,$402 ,$A8C,$FF9B ,1 , , , $FF

NUM $2004 ,$403 9 $A8C 9 $FF9B 9 I 9 9 9 $FF

NUM $2005 9 $404 9 $A8C 9 $0 9 1 9 00 9 9 $FF

NUM $ 1 0 0 6 f $ 4 0 5 f $ 3 E 8 f $ F F 9 B f $ A , t , $ F F

NUM $1007 ,$406 91,000 ,$FF9B 9 I G 9 9 9 $ F F

Page 161: WSIBf , 1 - International Nuclear Information System (INIS)

154

069» P0064 1008 POO65 0407 POO66 03E8 POO67 FF9B P0068 OOOA POO69 0000 POO6A 0000 P006B OOFF

070. P006C 1009 P006D 040A P006C 0000 P006F 0000 P0070 0000 P0071 0000 P0072 0000 P0073 OOFF

0 7 1 . P0074 OOOA P0075 040B P0076 0000 P0077 0000 P0078 0000 P0079 0000 P007A 0000 P007B OOFF

072 . P007C 00OB P007D 040C P007E 0000 P007F 0000 P0080 0000 P0081 0000 P0082 0000 P0083 OOFF

073 . P0084 OOOC P0085 040D P0086 0000 P0087 0000 P0088 0000 P0089 0000 P008A 0000 P008B OOFF

074 . P008C 0000 P008D 040E P008E 0000 P008F 0000 P0090 0000 P0091 0000 P0092 0000 P0093 OOFF

075 . P0094 OOOE POOS5 040F P0096 0000 P0097 0000 P0098 0000 P0099 0000 P009A 0000 P009B OOFF

076 . P009C 20OF P009D 0000

NUM $1008 f $407 ,1000,$FF9B , 10 , , ,$FF

NUM $1 009 9 $40A M t m $FF

NUM 1 0 , $ 4 0 B , , , , , , $ F F

NUM l l , $ 4 0 C „ , , , , $ F F

NUM 1 2 9 $ 4 0 D f 9 9 9 9 9 $ F F

NUM 1 3 9 $ 4 0 E t 9 9 9 9 9 $ F F

NUM 1 4 9 $ 4 0 F 9 9 9 9 9 9 $ F F

DUMLO NUM $ 2 0 0 F 9 9 $ 4 B 0 9 9 9 9 9 $ F F

Page 162: WSIBf , 1 - International Nuclear Information System (INIS)

155 '

P009E 04B0 P009F OOOO POOAO OOOO POOAl OOOO POOA2 OOOO P00A3 OOFF

077 . POOA4 2010 P00A5 0001 P00A6 04B0 POOA7 OOOO P00A8 OOOO P00A9 OOOO POOAA OOOO POOAB OOFF

0 7 8 . POOAC 2011 POOAD 0002 POOAE 04B0 POOAF OOOO POOBO OOOO P00B1 OOOO P00B2 OOOO P00B3 OOFF

079 • P00B4 2012 P00B5 0003 P00B6 0700 P00B7 02EE P00B8 0008 P00B9 OOOO POOBA OOOO POOBB OOFF

0 8 0 . POOBC 2013 POOBD 0004 POOBE 07DO POOBF 02EE POOCO 0008 P00C1 OOOO P00C2 OOOO P00C3 OOFF

081 • P00C4 2014 P00C5 0005 P00C6 07DO P00C7 02EE POOC8 0008 P00C9 OOOO POOCA OOOO POOCB OOFF

0 8 2 . POOCC 2015 POOCD 0006 POOCE 07DO POOCF 02EE POODO 0008 P00D1 OOOO P00D2 OOOO P00D3 OOFF

083 . P00D4 2016 POODS 0007 P00D6 07 DO P00D7 02EE

NUM $ 2 0 1 0 , 1 , $ 4 B 0 , , , , , $ F F

NUM $ 2 0 1 1 , 2 , $ 4 B 0 , , , , , $ F F

NUM $ 2 0 1 2 , 3 , 2 0 0 0 , 7 5 0 , 8 , 0 , , $ F F

NUM $ 2 0 1 3 , 4 , 2 0 0 0 , 7 5 0 , 8 , » F

NUM $ 2 0 1 4 , 5 , 2 0 0 0 , 7 5 0 , 8 , 0 , 0 , $ F F

NUM $ 2 0 1 5 , 6 , 2 0 0 0 , 7 5 0 , 8 , 0 , 0 , $ F F

NUM $ 2 0 1 6 , 7 , 2 0 0 0 , 7 5 0 , 8 , 0 , 0 , $ F F

Page 163: WSIBf , 1 - International Nuclear Information System (INIS)

156'

POODS 0003 POODS 0000 POODA 0000 POODB OOFF

034 . POODC 2017 POODD 0008 POODE 07DO POODF 02EE POOEO 0008 POOU 0000 POOL'S 0000 P0023 OOFF

085 . P00E4 0018 P0GE5 0009 P00E6 0000 POOE7 0000 P00E8 0000 POOE9 0000 POOEA 0000 POOEB OOFF POOEC 0019 POOED OOOA POOEE 0000 POOEF 0000 POOFO 0000 P00F1 0000 P00F2 0000 POOF3 OOFF

086 . P00F4 001A P00F5 OOOB P00F6 0000 P00F7 0000 P00F8 0000 P00F9 0000 POOFA 0000 POOFB OOFF POOFC 001B POOFD OOOC POOFE 0000 POOFF 0000 P0100 0000 P0101 0000 P0102 0000 P0103 OOFF

0 8 7 . P0104 001C P0105 OOOD P0106 0000 P0107 0000 P0108 0000 P0109 0000 P010A 0000 P010B OOFF P010C 00ID P010D 00OE P010E 0000 P010F 0000 P0110 0000 p o m oooo

NUM $20 1 7 , 8 , 2 0 0 0 , 7 5 0 , 8 , 0 , 0 , $ K F

NUM 2 4 , 9 , 0 , 0 , 0 , 0 , 0 , $ F F , 2 5 , 1 0 , 0 , 0 , 0 , 0 , 0 , $ F F

NUM 2 6 , 1 1 , , , , , , $ F F , 2 7 , 1 2 , , , , , , $ F F

NUM 2 8 , 1 3 , 0 , 0 , 0 , 0 , 0 , $ F F , 2 9 , 1 4 , 0 , 0 , 0 , 0 , 0 , $ F F

Page 164: WSIBf , 1 - International Nuclear Information System (INIS)

157 '

POL12 OOOO POL 13 OOFF

088* POL14 00IE POL15 OOOF POI16 OOOO POL17 OOOO POL18 OOOO POL 19 OOOO POI1A OOOO POLIB OOFF POL1C 001F POLID OOOO POL IE OOOO POL IF OOOO POL20 OOOO POL 21 OOOO POL22 OOOO POL23 OOFF

0 8 9 . #

NUM 3 0 , 1 5 , , , , , , $ F F , 3 L , , , , , , , $ F F

END

i

Page 165: WSIBf , 1 - International Nuclear Information System (INIS)

1 5 8

2.24 DWNTIM

2.27 .1 Classification

On-line/drum resident/assembly language/nonreentrant/relocatable

2.24.2 Purpose

DWNTIM extrapolates and lists the date and time for the end of the current HFIR reactor core cycle.

2.24.3 Description

Upon entry, the program reads the current calendar date and time, and, if the current integrated reactor power is less than 1600 MW-days, the program calculates the time lapse to reach 2330 MW-days, assuming full-power operation. The extrapolated calendar date and time is computed, converted to alphanumeric, and typed on the control room typewriter. The program is released. If the current integrated power is greater than 1600 MW-days, the time lapse is extrapolated by calculating excess reactivity removal at a rate of 0.57 $/day. This is possible because since the burnup curve has reached the linear portion, a more accurate prediction of the shutdown end of the cycle can be made.

The logic block diagram of DWNTIM is shown in Fig. 23.

2.24.4 User Instructions

This program is executed by demand function 10.

Page 166: WSIBf , 1 - International Nuclear Information System (INIS)

1 5 9

O R N L DWG NO. 7 2 - 8 1 7

FCN-10

Fig. 23. Logic Block Diagram of Program DWNTIM.

Page 167: WSIBf , 1 - International Nuclear Information System (INIS)

160'

o o u NAM 002. ENT 003, 00A1 EQU 004. 7F27 EQU 005 . 00 A2 EQU

0089 009D

007 . POOOO 0C04 DWNTIM ENQ 008 . P0001 C6A1 LDA-0 0 9 . P0002 6 A 47 STA* 010 . P0003 0142 SQZ o n . P0004 ODFE INQ 012. P0005 18FB JMP* 013 . P0006 0C1A 60 ENQ 014. P0007 C69D LDA-015. P0008 683 D STA* 016. P0009 9000 SUB

POOOA 3E80 017 . POOOB 0138 SAM 018 . POOOC 0A64 ENA 019 . POOOD 6839 STA* 020. POOOE C400 LDA

POOOF 7F27 021. POOIO 0842 CLR 022 . POOH 3000 DVI

P0012 0039 023 . POOl 3 1808 JWP* 024. POOl 4 COOO G0G0 LDA

POOl 5 5 BO 4 025. POOl 6 982F SUB* 026. POOl 7 0121 SAP 027 . P0018 0844 CLR 028 . POO 19 0842 P0NG CLR 0 2 9 . POOl A 382C DVI* 030 . P001B 6828 DAY STA* 031 . P001C 0814 IRQ 032. P001D 282A MUI* 033 . P001E 3828 DVI* 034 . POOIF 680C STA* 035. P0020 0814 TRQ 036 . P0021 2827 MUI* 037. P0022 3824 DVI* 0 3 8 . P0023 6807 STA* 039 . P0024 8829 ADD* 040 . P0025 6828 STA* 041 . r-0026 9822 SUB* 0 4 2 . P0027 0134 SAM 043 . P0028 D824 RA0* 044 . P0029 6824 STA* 045. P002A OOOO PI IN NUM 046 . P002B OOOO HRS mm 047 . P002C C8FE 0X LDA* 0 4 8 . P002D 88 IF ADD* 049 . P002E 68 IE STA* 050 . P002F 9818 SUB*

DWNTIM 3 / 4 / 7 1 DWNTIM YERT0<$AI> IREACTC $7F27 ) A0CDEC($A2>, A HEX($89),AVALU< S9D)

4 (YERT0) ,Q YERN0W.Q G 0 - * - 1 •1 DWNTIH+1 $1A (AVALU),Q MWDY sN 16000

G0G0-* - l 100 THSND IREACT «

-N57 57 CENTS/DAY

DAY SN23300

MWDY P0KG-*- l A 0 THSND DECDAY A TW24 THSND HRS A T60 THSND MIN MIN0V MIN0W T60 0K-*-I HRSN0W MIH0W 0 0 HRS MRSN0W HRSN0W TV24

Page 168: WSIBf , 1 - International Nuclear Information System (INIS)

051. P0030 0132 SAM 0Kl-*-l 052. P0031 D81A RAO* DAYN0W 033. POO32 681A STA* HRSN0V 054* P0033 C810 0K1 LDA* DECDAY 055* P0034 8817 ADD* DAYN0W 056. P0035 6816 STA* DAYN0V 057. P0036 E814 LD3* M0HN0W 058* P0037 9A43 SUB* W0NTH.Q 059* P0038 0133 SAM 0K2-*-l 060. P0039 0102 SAZ 0K2-*-l 061. POO3A D810 RAG* M0HW0W 062. P003B 6810 STA* DAYN0W 063. P003C C80E 0K2 LDA* N0HN0V 064. P003D 09F2 INA -13 065. P003E 0133 SAM 0K3-*-l 066. P003F 0A01 ENA 1 067. P0040 680A STA* M0HN0W 068. P004I 0808 RA0* YERN0W 069. P0042 180C 0K3 JMP* 0N 070. P0043 0001 BZS DECDAY,QSVE

P0044 0001 071. P0045 0000 MVDY NUN 0 072. P0046 03 £5 TKSKD NUN 1000 073* P0047 0018 TO24 NUN 24 074. P0048 003C T60 NUN 60 075. P0049 0000 YERN0V NUN 0 076. P004A 0000 N0HN0V NUN 0 077. P004B 0000 DAYN0W NUN 0 078* P004C 0000 HRSN0V NUN 0 079. P004D 0000 NIN0V NUN 0 080. P004E C8PD 0N LDA* HRSN0V 081. P004F 2000 MUX =N100

P0050 0064 082. PC351 88 FB ADD* HIN0V 083* POO52 68F9 STA* HRSN0V 084. P0053 0C03 ENQ 3 085. P0054 48EF LP STQ* QSVE 086. P0055 CAF3 LDA* YERN0V»Q 087. P0056 54A2 RTJ- (A0CDEC) 038. P0057 0000 NUN 0 089* POO58 0000 NUN 0 090. P0059 0000 NUN 0 091. POO5A 5489 RTJ- CAHEX) 092. P005B 8038 L0C ADC <NSG-4t+ll) 093. P005C E8E7 LD9* QSVE 094. P005D 0145 SQZ N86FIX-*-! 095. P005E ODFE INQ -I 096. P005F C8FB LDA* L0C 097. P0060 0902 INA 2 098. PQ061 68F9 STA* L0C 099. P0062 18 Fl JMP* LP 100. P0063 £813 NSOFXX LDQ* FIX 101. P0064 4831 STQ* NSG+13 102* P0065 C8I2 LDA* FIX+1 103. PC066 6831 STA* NSG+15

Page 169: WSIBf , 1 - International Nuclear Information System (INIS)

162 '

1 0 4 . P0067 6832 1 0 5 . P0068 C82E 106 . P0069 E82F 1 0 7 . P006A 482 C 1 0 8 . P006B 682 D 1 0 9 . 1 0 9 . P006C 54F4 109 . P006D 0D40 109 . P006E OOOO

P006F OOOO 109 . P0070 100E 109 . P0071 0013

P0072 001B no. 110. P0073 54F4 110 . P0074 1901 110 . P0075 FF8B 111. P0076 2020

P0077 202 D P0078 2020 P0079 2020

112. P007A OOOO 113 . P007B 001F 114 . P007C 0010 115 . P007D 00 IE 116 . P007E 001E 117 . P007F 00 IF 118 . P0080 00 IE 1 1 9 . P0081 00 IF 120 . P0082 00 IF 121 . P0083 00 IE 122 . P0084 00 IF 123 . P0085 00 IE 124 . P0086 00 IF 125 . P0087 OOOO 126. POO 88 5052

P0089 4F4A P008A 4543 P008B 5445 P008C 4420 P008D 5348 P008E 5554 P008F 444F P0090 57 4E P0091 2049 P0092 5320 P0093 2020 P0094 2020 P0095 2020 P0096 2020 P0097 2020 P0098 2020 P0099 2020 P009A 2020

127,

STA* MSG+17 IDA* MS6-H4 LDQ* MSG-H 6 STQ* MSG+14 STA* MSG+IS

MSG0UT FWRITE $E, ,MSG-MSG0UT-1,19 ,A,4

REL RELEAS (DWNTXM-REL~i),1,X

FIX ALF 4 ,

MONTH NUM 0 NUM 31 NUM 2 8 NUM 30 NUM 30 NUM 31 NUM 30 NUM 31 NUM 31 NUM 30 NUM 31 NUM 30 NUM 31 NUM 0

MSG ALF 19,PROJECTED SHUTDOWN IS

• END

Page 170: WSIBf , 1 - International Nuclear Information System (INIS)

1 6 3

2.25 ED FILE

2 .25 .1 Class if ication

On-1 ine/drum res ident/assemb ly language/nonreentrant/re locatab le

2.25.2 Purpose 3

ED FILE provides temporary storage for source programs being tested or debugged. The storage area is on drum $D and is sufficient to store 10 separate programs by name or a maximum of 860 records or both.

2.25.3 Description

Upon entry, EDFILE transfers the current library from drum $F/7FC0 to the work-ing area in the core located in program SYSBUF. The program names are listed on the teletypewriter, showing the order in which each program is stored in the EDFILE library. The program then waits for control commands from the teletypewriter. If a listing of the program is requested, a list is typed, followed by a message requesting the next command. Otherwise, the program interrogates the command to determine whether a new program is being added to the file library. If a new program is being added, the current value of the EDIT record number fixes the number of records in the library. If ample storage is available, the program is transferred from the EDIT working area on drum $F to the next available location on drum $D, as indicated by the library LSB. If ample storage space is not available, a "Library Full" message will be typed.

If new programs are not being added, a test is made of the command to determine whether EDIT is being scheduled. If it is, the EDIT program is scheduled at priority level 3, the "EDFILE Termination" message is typed, arid the program is released. If the EDIT call is not requested, a test is made to determine if the user wishes to transfer a program from the file library on drum $D to the EDIT working area of drum $F. If this is the case, the program sets the EDIT record number to the current value of the pro-gram being requested from EDFILE and transfers the program source image to drum $F. The program types the termination message "TATA" and exits with a release. If a re-quest is given to delete a file, the file number typed is deleted and the program name list is restocked. If the termination request has been typed, the program exits with the termination message and release. Any other commands will result in the error message "TRY AGAIN."

The logic block diagram of EDFILE is shown in Fig. 24.

Page 171: WSIBf , 1 - International Nuclear Information System (INIS)

164'

2.25.4 User Instructions

Objective

Enter EDFILE

List Library

Add to Library

Remove Program from Library

Transfer Program to EDIT

Go to EDIT

Terminate

User Command

MI FILE

Computer Response

+F

Types "Mr

Lists library and types "NEXT'

Lists library and types " NEXT'

Waits for user to type program name -FXX Removes file and restocks programs (XX = File No.)

XRXX

ED

TM

Moves source from Drum $D to $F, and Schdle-EDIT

Schdle-EDIT

Releases and types " TATA"

All commands are begun by depressing the BRK-RELEASE key, and all commands are transmitted by depressing the RETURN key. If an erroneous command is given, the computer will respond by typing "TRY AGAIN."

2.25.5 Relationship to Other Programs

EDFILE can be scheduled from the manual interrupt processor by typing "FILE" or directly from the EDIT program by the command F. The EDFILE program can schedule and put into execution the ED IT program by the command ED.

2.25.6 Change Considerations

The MSB and low-core location for the EDIT library must be designated in the same manner in both the EDIT and the EDFILE programs. The EQUA declarations in each of these programs must agree.

Page 172: WSIBf , 1 - International Nuclear Information System (INIS)

COIT OMt

LIB .run FILE OVt TRY AGAIN NCXI? TATA

Fig. 24. logic Block Diagram of Program EDFILE.

Page 173: WSIBf , 1 - International Nuclear Information System (INIS)

166 '

0 0 1 . NAM EDFILE REV* 1 / 1 2 / 7 1 002 . * REV* 1 0 / 2 8 / 7 1 10 LIST F ILE 0N ENTRY. & 10 USE DRM D 0 0 3 . ENT EOF! 0 0 4 . EXT RECN0 fEDIT 005 . * SET EQUAS FOR DRUMS DESIRED. 0 0 6 . 7FCO EQU LSBFILC$7FC0> 0 0 7 . 0004 EQU RPC4) ,CPC3) ,T37<38)

0003 0026

0 0 9 . 010. 011. 012. 0 1 3 . 014. 0! 5 . 016. 0 1 7 .

GOOD OOOF

EQU FILEMS($D) EQU EDITHS($F>

EDIT FILING PROGRAM I T PERFORMS THE FOLLOWING*

C I ) L IST THE LIBRARY LS ( 2 ) ADDS 10 L IB FROM ED — ( 3 ) DELETES FROM LIB ( 4 ) XFR LIB PRO®. T0 EDIT-

<5) G0 TO EDIT

+F - — ( - F ) -<XR##)

ED

0 1 9 . 020. 021. 022. 0 2 3 . 0 2 4 .

0 2 5 .

026.

0 2 7 . 028 « 028. 028. 028.

028. 028. 0 2 9 . 0 3 0 . 0 3 1 . 0 3 2 . 0 3 3 . 0 3 4 . 0 3 5 . 0 3 6 . 0 3 7 . 0 3 8 . 0 3 9 . 0 4 0 . 041 .

POOOO POOOI P0002 P0003 P0004 P0005 P0006 P0007 P0008 P0009 POOOA POOOB POOOC

POOOD POOOE POOOF P0010 POOl I POOl 2 POOl 3 POOl 4 POO 15 POO 16 POOl 7 POOS 8 POO 19 POO IB P001C P001D POO IE POO IF P0020 POOS I

C81B 0901 6800 01B0 68 SE 6847 5800 0 IA5 COOO 0440 6800 0IA3 1835

54F4 0940 OOOO OOOO 0004 0002 0000 0173 gerA 0106 18FD 180E 0002 7FFF X 7FC0 6846 0C05 CAOF 98F8 0103

EFILE LDA* C0RADR INA 1 STA DRUMG0+7

STA* L I B STA* LIBA RTJ CRUMG0

I N I T I A L I Z E L I B . ADR.

EDFI

LDA sN$440 CHANGE T0 WRITE.

STA QRUMG0+2

JMP* LBLIST FREAD 4 t t I B U F - E D F I - | t 2 # B f 4 f # f X

SON E R i - * - S TRY AGN. LDA* EDFI+3 SAZ G 0 0 N - * - l JMP* * - 2

ER1 JMP* ERROR BZS IBUFC2)

CORADR ADC RECN0 ADR. I N CORE 0F L I B . TABLE. SAVUB ADC LSBFIL LSB 0F DIRECTORY TABLE. 000N STA* CTR

ENQ 5 000 LDA* L I S T D E T E R M I N E PROPER SUBROUTINE.

SUB* IBUF SAZ E X - * - l

Page 174: WSIBf , 1 - International Nuclear Information System (INIS)

167'

042 P0022 ODFE 043 . P0023 0172 044 P0024 18FA 045 P0025 1A0F 046 • 046 P0026 54F4 046 P0027 0D43 046 P0028 7FE5

P0029 OOOO 046 • P002A 1004 046 « P002B 0006

P002C 019F 047 P002D 14EA 048 • P002E 4C53 049 • P002F 2B46 050 • POO 30 2D46 051 P0031 5852 052 . P0032 4544 053 P0033 544D 054 . P0034 180D 055 • P0035 183A 056 . P0036 1805 057 • P0037 1806 058 • P0038 1807 059 P0039 1800

P003A 0167 060 P003B 1800

P003C 00 FA 061 • P003D 1800

P003E 00 D5 062 • P003F 1800

POO 40 OOEE

064*

066* P0041 5823 067• P0042 C821 0 6 8 . POO43 0101 0 6 9 . P0044 0121 0 7 0 . P0045 1815 0 7 1 . P0046 54F4 0 7 2 . POO47 OC40 0 7 3 . POO48 OOOO 0 7 4 . POO49 OOOO 0 7 5 . P004A 1004 0 7 6 . P004B 0003 0 7 7 . P004C OOOO 0 7 8 . P004D C8FB 0 7 9 . P004E 0101 0 8 0 . P004F 18FD 081 . P0050 C813 0 8 2 . POO51 09FE 0 8 3 . P0052 0105

INQ - 1 SQM ERR0R- * - l JMP* 600

EX JMP* TYPEtQ ERR0R FWRITE 4 , E D F I - E R R 0 R - 1 , M S G E R - E R R 0 R - 1 , 6 f A f 4 , 3 , , X

JMP- (SEA) LIST NUM S4C53 ASCI I F0R LS (L IB L IST)

NUM $2B46 " +F (ADD F I L E ) NUM S2D46 " - F (DELETE F I L E ) NUM $5852 - XR (XFR T0 EDIT) NUM $4544 " EDCG0 T0 EDIT ) NUM $544D - TM (TERMINATE)

TYPE JMP* LBLIST JMP* ADDLIB JMP* DEL -

JMP* XR JMP* SCH JMP TATA

DEL JMP DELETE

XR JMP XFRFLE

SCH JMP SCHED

* THIS L IST THE LIBRARY.

LBLIST RTJ* FINDN LDA* CTR SAZ E X T - * - I SAP MSGX- * - l

EXT JMP* NEXTMG MS6X NUM S54F4

NUM $C40 NUM 0 NUM 0 NUM $1004 NUM 3

LIB A NUM 0 LDA* MSGX+3 SAZ 1

JMP* * - 2 LDA* CTR INA - 1 SAZ R S T - * - l

FIND END I 0 F LIB

TTY WRITE REQ

Page 175: WSIBf , 1 - International Nuclear Information System (INIS)

168

084. POO53 6810 085. P0054 C8F7 086. P0055 0905 087. P0056 68F5 088. POO57 I8EE 089. POO58 C80A 0S»0. POO59 68F2 091 • 091. P005A 54F4 091 • P005B 0043 091. P005C 7FB1

P005D 0000 091. P005E 1004 091. P005F 0005

POO60 0171 092. P006I 14EA 093. P0062 0000 094. POO63 0000 095. P0064 OOOG 096. P0065 0C03 097 • P0066 CEFB 098. POO67 0136 099. P0068 08FA 100. P0069 0005 101. P006A 0814 102. P006B 09C7 103. P006C 0121 104. P006D 18F8 105. P006E 1CF5

107.

109. P006F 58F4 110. POO70 C8F2 111. P0071 0822 112. POO72 OOF5 113. P0073 0178 114. 114. P0074 54F4 t14. P0075 0044 114. P0076 7FE4

P0077 0000 114. P0078 1004 114. P0079 0005

P007A 0147 115. P007B 14EA 116. P007C 2043 117. P007D 88S4 118. P007E 6824 119. P007F 60FF 120* P0080 98£1 121 . P0081 0104 122. POO82 GCFD

ST A* CTR IDA* LIBA INA 5 STA* LIBA JMP* MSGX

RSI LDA* LIB STA* LIBA

NEXTMG FWRITE 4fEDFI-NEXTPIG-l .MSGXT-NEXTMG-l,5,A,4f3,,

JMP- (SEA) LIB NUM 0 CTR NUM 0 FINDN HVPI 0

EHQ 3 AGIN LDA* (LIB),Q

SAM ®NE-*-l RA0* CTR INQ 5 IRQ A INA -56 SAP D0NE-*-l JMP* AGIN

O0NE JMP* (FINDW)

VAC FILE

KEEP CKING« £ND 0F LIB.

* F0LL0VING ADDS PPG. T0 LIBRARY.

ADDLIB RTJ* FINDN LDA* CTR IRA Q INQ -10 MAX 0F SO SQM 0K A-*-l

FULL FVRITE 4, NEXTMG-FULL-1,MSGFUL-FULL-1 , 5 , A , 4 , 4 , ,

JMP- (SEA) OKA MUI- $43 =5

ADD* U B STA* INAME+6 STA- I SUB* LIB SEE IF IST 0NE. SAZ C0NT-*-! EM Q -2

Page 176: WSIBf , 1 - International Nuclear Information System (INIS)

169 '

123. P0083 C722 124* P0084 OCFE 125. P0085 8722 126. P0086 6104 127. P0087 685F 128* P0088 CC92 129. POO89 0111 130* P008A 189B 131. P008B 68 IE 132* P008C 2000

P008D 0026 133* P008E 0154 134. P008F 01 AO 135. P0090 0822 136. P009! 8104 137. P0092 01B8 J 3 8 . 138. P0093 54F4 138. P0094 0D40 138 . P0095 0000

P0096 0000 138. P0097 1004 138. P0098 0005

P0099 012D 139* POO9A 18BF 140. P009B 4103 141 . 141• P009C 54F4 141. P009D 0840 i 41• P009E 0000

P009F 0000 141. POOAO 1004 141• P00A1 0003

P00A2 0000 142 . P00A3 0173 143* P00A4 C8FA 144. POOA5 0104 145. P00A6 18FD 146. P00A7 1800

P00A8 FF7D 147. P00A9 0000 148. POOAA 682C 149 . POOAB E8F4 150. POO AC 0F6F 151. POOAO 0I2B 152. POOAE 0C02 153. POOAF CEF2 154. POOBO 60FF 155. P00B1 98F0 156. P00B2 98EE 157. P00B3 0862 158. P00B4 OAFF 159. P00B5 OBFE 160. P00B6 6722 161. POOB7 0161

LDA- ( $ 2 2 ) , B ENQ - 1 ADD- ( $ 2 2 ) , B

CONT STA- 4 ,1 STA* LLSB LDA* (CORADR) SAN OKREC-*-!

JMP* ERROR OKREC STA* RECTR

MUI =XT37

GET PREVIOUS FILE LENGTH

ADD TO ITS LSB NEW LSB ADR PREPARE FOR TMM

GET ACTUAL LENGTH

SQN MSGV-*- l SOV 0 TRA Q ADD- 4 ,1 SEE I F OVER 7FFF. SNO 0 K B - * - l

MSGV FWRITE 4 , ,MSG0VL-MSGV-1,5 ,A,4 , , ,X

JMP* NEXTMG OKB STQ- 3 , 1 LENGTH INTO FILE INAME FREAD 4 , , , 3 , A , 4 , , , 0

SQM TRYA-*- l TRY AGAIN. LDA* INAME+3 SAZ TW-*- l JMP* * - 2

TRYA JMP ERROR

RECTR NUN 0 IV STA* LSBD

LDQ* INAME+4 LRS 15 SEE I F «6CHR. READ ON TTY.

SAP LONG-*-l ENQ 2 LDA* (INAME+6),Q CONTAINS ADD OF NEXT NT STA- I SUB* INAME+6

SUB* INAME+5 TCA G 1 SHORTAGE IS NOW I N Q. ENA - 0

LP INQ - 1 STA- ($22) ,B SQP LONG-*-l

Page 177: WSIBf , 1 - International Nuclear Information System (INIS)

170 '

162. P00B8 18FC i 63* P00B9 0A0F 164. POOBA 681B 165. POOBB OAOO 166. POOBC 6829 167. POOBD 5810 168. POOBE 58IF 169. POOBF C8E9 170. POOCO 09FE 171. P00C1 68E7 172. P00C2 0113 173* P00C3 5800

P00C4 00E8 174. P00C5 1894 175. P00C6 C810 176 . P00C7 0926 177. P00C8 680E 178. P00C9 C81D 179. POOCA 0926 180. POOCB 68 IB 181. POOCC 18F0 182. POOCD OOOO 183. 183. POOCE 54F4 183. POOCF 0340 183. POO 00 OOOO

P00D1 OOOO 183. POO02 0005 183. P00D3 0026

POO 04 OOAC 184. POO05 OOOF 185. P00D6 OOOO 186. P00D7 C8F9 187. POO08 0101 188. POO09 18FD 189. POO DA 0161 190. POODB 18F2 191. POO DC ICFO 192. POO DO OOOO 193. 193 . POODE 54F4 193. POODF 0540 193 . POOEO OOOO

P00E1 OOOO 193 . P00E2 0005 193 . P00E3 0026

P00E4 009C 194. P00E5 000D 195. P00E6 OOOO 196. P00E7 C8F9 197. P00E8 0101 198. P00E9 18FD 199 . POOEA 0161 2 0 0 . POOEB 18F2 2 0 1 . POOEC ICFO

JMP* LP L0NG ENA EDITMS

STA* MSB ENA FILEMS

STA* MMSB L00PXR RTJ* OREAD

RTJ* DRITE LDA* RECTR JNA - 1 STA* RECTR SAN KEEP0N-*- l RTJ ORUMG0 UPDATE LIB 0N DRUM.

JMP* NEXTMG KEEP0N LDA* LSBD

INA T37 STA* LSBD IDA* LLSB INA T37 STA* U S B JMP* L00PXR

DREAD NUM 0 FRD READ 5 , , B U F 3 8 - F R D - 1 f T 3 7 , B f 4 f , fX

MSB ADC EDITMS LSBD NUM 0

LDA* FRD+3 SAZ 1 JMP* * - 2 SQP 1 JMP* FRD JMP* (OREAD)

DRITE NUM 0 FWR WRITE 5 # f B U F 3 8 - F W R - l f T 3 7 # B # 4 f 9 , X

MMSB ADC FILEMS LLSB NUM 0

LDA* FVR+3 SAZ 1 JMP* * - 2 SQP I JMP* FWR DRUM ERR0R TRY AGAIN JMP* (ORITE)

Page 178: WSIBf , 1 - International Nuclear Information System (INIS)

171'

2 0 3 .

205• POOED 0000 2 0 6 . POOEE COOO

POOEF FF2A 207* POOFO AOOO

POOFI FOFO 208* POOF2 8000

POOFS 3030 209* P00F4 0101 2 1 0 . POOFS 181C 2 1 1 . POOFS C800

POOR FF22 212* POOFS AOOO

POOFS OFOF 2 1 3 . POOFA 0842 214* POOFO 0FE8 215* POOFC 0146 2 1 6 . POOFO OOFE 2 1 7 . POOFE 0141 218* POOFF 1812 219* P0100 0F48 2 2 0 . P0I01 OOOA 2 2 1 . POI02 1802 222* P0 I03 0F48 2 2 3 . P0104 0822 2 2 4 . P0105 0DF4 225* P 0 | 0 6 016A 226* P0107 OOOA 2 2 7 . P0108 0178 2 2 8 . POI09 682B 2 2 9 . POI OA 09FE 2 3 0 . POfOB OBOO 2 3 1 . P010C 2043 2 3 2 . P010D 8800

POIOE FF53 2 3 3 . POIOF 60FF 2 3 4 . POI 10 1CDC 2 3 5 . P O I i t 1800

POI12 FF I3

237*

2 3 9 . POI13 5809 2 4 0 . POI14 C103 2 4 1 . POI15 6820 242* POI 16 0842 2 4 3 . POI17 3000

POI18 0026 2 4 4 . POI19 OBOO

2 4 5 . POIIA 6C00 POI10 FEFF

2 4 6 . POHU 0104

• SUBROUTINE TO GET FILE# AND ADR.

GETFLE NUM 0

LDA X9UF+1

AND :N$FOFO

E0R =N$3030 SAZ NOTT-* - l

JMP* BADD NOTT LDA IBUF+i

AND =N$FOF

CLft Q ULS 8 SQZ ZERO-* - l INQ - 1 SOZ EQ1-*«1 JMP* 8ADD ( Q .NE. 0 OR 1)

EQ1 ARS 8 2NA 10 JMP* Z1

ZERO ARS 8 Z ! IRA 0

INQ - I I SQP BADD~*-1 (F#»10 )» INQ 10 SOU 8ADD- * - i (F#« l>

ALRT STA* FILENO INA - i NOP 0

0N0N MUI - $43 =5 ADD LIB

STA- I JMP* (GETFLEI

BAOO JMP ERROR

TRANSFERS FILE 10 E D I T .

XFRFLE RTJ* GETFLE LDA- 3 , 1 STA* 1ENP CLR Q DVI =XT37

NOP 0

RETURNS WITH FILE ADR I N I GET LENGTH 0F FILE PRG.

STA (COR ADR)

LDA- 4 , 1

STORE # OF REC (EDIT) I N

LSB OF FILE

Page 179: WSIBf , 1 - International Nuclear Information System (INIS)

2 4 7 . POI ID 6088 2 4 8 • POME OM»D 249* POI I f 6889 250* P 0 I 2 0 OA OF 2 5 1 . POI21 68C3 2 9 2 . POI22 0844 2 5 3 . POI23 68C2 2 5 4 . P 0 I 2 4 58A8 259* P 0 I 2 5 5887 2 5 6 . POI 2 6 C8£F 2 5 7 , P0127 0926 258* POI28 68AD 2 5 9 • P 0 I 2 9 C8BC 2 6 0 . P0I2A 0926 2 6 1 • POI28 600A 2 6 2 . P 0 I 2 C 9809 2 6 3 . P012D 0135 2 6 4 . 2 6 4 . P 0 I 2 C 54F4 2 6 4 . P 0 I 2 F 1013 2 6 4 . POI 30 FFFF X 2 6 5 . POI31 0009 2 6 6 . POI32 1876 2 6 7 . POI33 I8F0 2 6 8 . POI 34 0000 2 6 9 . POI 35 0000

STA* ISBD ENA FILEWS STA* MSB EHA EOITMS STA* MMSB CLR A STA* ULSO

LLP RTJ* QREAO RTJ* ORITE LDA* LS80 I HA T37 STA* ISBD LDA* LLSO INA T37 STA* U.S8 Sim* TEMP SAW 0030 « * « !

SCMED TIMER < £ » I T > f 3 f < M

NUM 9 JMP* OUT

0080 JHP* LLP FXLEttO HUM 0 TEMP NUM 0

2 7 1 . H I S I S DIE SUBROUTINE TO DELETE F I L E S .

2 7 3 . 2 7 4 . 2 7 5 . 2 7 6 . 2 7 7 . 2 7 8 . 2 7 9 .

280. 281. 282. 2 8 3 . 2 8 4 . 285* 286. 2 8 7 .

288. 2 8 9 . 2 9 0 .

POI 3 6 POI 3? POI 38 POI 39 P0I3A POI 38 P013C P 0 I 3 D P013E P 0 I 3 F POI 40 P0141 POI 42 POI 43 POI 44 POI 45 POI 46 POM? POI 48 POI 49 P014A

5886 C8FC 09F4 0114 OAFE 6103 1800 FFiC OAOD 6895 68 A 4 C108 0121 18F6 0842 3000 0026 6800 FF60 C109 688B

DELETE RTJ* IDA* I OA SAN

STOP ENA STA-JMP

GETFLE FILENO -II NOPE-* - ! -1 3 » I NEXTMQ

RETURNS V U H ASH OF FILE I N I F ILE NUMBER SEE I F LAST F 1 L E ( # U >

I F I T I S MARK #11 EMPTY.

NOPE ENA STA* STA*

LUP IDA-SAP J MP*

NXTFLE CLR CMI

FILEMS PREPARE FOR T*M AS RELOCATE S S L W E H L E PROS. ON DRUM 9 . RFNSB

STOP" i f E * D a r f l L t m

a -XT37 CONVERT TO REC. NO.

STA RECTR

LDA-STA*

$ 4 LSBD

291. P0 I4B C104 LDA- 4.1 1SB IB TTMN ARflur rn r 2 9 2 . P014C 6899 STA* LLSB F I l E

2 9 3 . P014D COFF IDA- I 2 9 4 . P014E 682C STA* ISVE

Page 180: WSIBf , 1 - International Nuclear Information System (INIS)

m'

2 9 9 . P0 I4F 5300 POI 50 FF7C

2 9 6 . P0191 5888 « P0J52 C800

P O I F F 5 5 2 0 8 . POI54 09FE 299* 1*0155 €800

POI 58 FF52 300* P0J97 0108 301* POI 58 0800

POI 5 * FFTC 3 0 2 . POI 54 0926 303 , POI58 €800

P0I5C FF?9 304* POI50 C80O

POISE FF8? 3 0 5 . P0 I9F 0926 306 . POI60 6800

POI €1 FF84 30?* POI62 ISEC 308« POI63 E81? 3 0 9 . POI€4 40FF 3 1 0 . POI65 0003 311 • P0I6C €309 312* POI6? 6?22 313 . POI 68 ODFE 3 1 4 . P 0 I 6 9 0171 319 . POI64 I8F8 316* POI 68 C I 0 3 31 ? • P016C 8104 3 I8« POI60 6100 319* P0I6E C0FF 320* P0 I6F 0909 3 2 1 . P0I7O 60FF 322* P 0 I 7 I 9800

POI 72 FEEF 323. POI 73 09CC 324 . P 0 I 7 4 0122 329 . P 0 I 7 9 I8C8 326 . P0176 OBOO 327 . POI 77 9839 3 2 8 . POI 78 1800

POI 79 FEED m . P0I7A 0000 330 . P0 I7B 0026 331« 3 3 1 . P01AI 54F4 331* P0IA2 0D40 331 . P0IA3 0000

P01A4 0000 331* POI AS 1004

331* POI 46 0003 POI A? 002F

332* P01A8 9804 333* 333 . P0IA9 94F4

t»» RTJ OREAD

RTJ* ORITE IDA RECTR

IRA - I STA RECTR

SAZ THRU-** I IDA ISBD

IRA T3? STA ISBD

IDA & S 8

IRA T3? STA U.SB

JftP* t t H tMRtf U>Q* I SUE RESTORE I

ST0- I £80 3 XFR FILE ENTRY 19 NEXT SLOT.

XRLOP IDA^ 5*8 STA* <$22>,B IN0 -1 SOW H I M * I J«P* XRLUP

END LDA- 3 « I ADD- 4*2 STA- 9 , 1 LDA- I INA 5 STA- I Sim LIB SEE I F F IN 1MW ENTIRE L I B .

INA - 9 1 SAP B Y E - * - I JMP* LUP NOP 0 TO TRY DUItOO,

BYE RTJ* ORUNO0 UPDATE DRUM L I B . JMP NExmo

JSVE NUM 0 8UF38 BSS 3UF38C T37) mTA FVRITE 4f tTA* TATA-I , 3 ,A , 4 , f 9X

OUT RTJ* ORUI^O OUTREL RELEAS (EF1LE-0UTREL-1) ,T tX

Page 181: WSIBf , 1 - International Nuclear Information System (INIS)

174'

333. 333. 334. 335.

336. 337. 338. 339. 340. 341. 342. 343. 344.

345. 346.

347. 348.

349* 350. 351.

352. 353. 354. 355.

POI AA POl AB POl AC POI AO POIAE P01AF P01B0 P01B1 P0IB2 P01B3 P01B4 P0IB5 P01B6 P01B7 P0188 P0IB9 P01BA P01BB POIBC POSBD POJBE POIBF P01C0 POICI P01C2 P0IC3 P01C4 P0IC5 P01C6 P01C7 P0IC8 P0IC9 POICA P01CB POICC P01C0 POICE P01CF POI 00 P01DI POI 02 P01D3

1901 FE55 OOOO 54F4 0240 OOOO OOOO 0005 0037 OOOO OOOF 7FC0 C8F9 0101 I8F0 0161 18F2 SCFO 4C49 4220 4655 4 €20 000A 4649 4C4S 204F 564C OOO A 5452 5920 4147 4149 4S20 OOO A OAOA 4 £45 5854 3F20 000A 5441 5441 OOO A

ERUMG0 NUM 0 NUM $54F4,$240f0f0f5t$37t0

ADC EDITMS i f f i f M 1 8 8 0 F U 8 M R r M 8 L E -

SAZ i JMP* *-2 SQP I JMP* DRUMG0+1 JMP* (DRUMGO)

MSGFUL ALF 4,LIB Flit

NUM SDOA MSG0VL ALF 4#FILE 0VL

MUM $DOA WS0ER ALF 5,TRY AGAIN

NUM SDOA MSG XT NUM SAGA ALF 3,NEXT?

NUM SDOA TA ALF ZfTATA

NUM SO DO A END

I T 37 IBUF EX XR LIB A FINDN OKA INANE LONG MSB LLSB Z1

OOFF 0026 0019P 0025P 003DP 004 CP 0064P 007CP 009CP OOB9P 00D5P 00E6P 0I04P

EDFI FILEMS C0RADR ERROR SCH RST AGIN C0NT 1RYA L00PXR LSBD GETFLE ALRT

000OP 000D 00 IBP 0026P 003 FP 0058P 0066P 0086P 00A7P 008DP 00D6P OOEDP 0109P

LSBFIL EDITMS SAVLI8 LIST LBLIST NEXTMG D0NE 0KREC RECTR KEEP0N DRITE N0TT 0N0N

7FC0 OOOF OOICP 002 EP 0041? 005AP 006EP 0088P 00A9P 00C6P 00 ©P 00F6P 010CP

RP EFILE GOON TYPE EXT U B ADDLIB HSOV TV OREAD FVR EQi BADD

0004 OOOOP 001 DP 0034P 0045P 0062P 006FP 0093P OOAAP OOCDP 00 KP 01 OOP 01I1P

CP ERI DEL MSGX CTR FULL 0KB LP FRD MMSB ZERO XFRFLE

0003 0018P 0OJFP 003BP 0046P 0063P 0074P 009BP 00B5P O0CEP 00E5P 0103P 01I3P

Page 182: WSIBf , 1 - International Nuclear Information System (INIS)

175 '

LLP DELETE TMM ISVE DRUMG0 U J

0I24P SCKED 012HP 6060 0 i55P riLENS C134P TEMP QI35P 0136P ST0P 014FP THRU 017AP 8UF38 01AGP MSSFUL 01 DIP EDIT

01 SAP N0PE 0 I63P XRLUP 017BP TATA 01BCP MSG0VL 0130X RE6N0

0I3EP LUP 0 I66P END 01A1P 0UT 01CIP MSGER 001BX

0141P NXTFLE 0144P 016BP BYE 0177P 01 ASP 0UTREL 01 ASP 01C6P MSG XT OICCP

Page 183: WSIBf , 1 - International Nuclear Information System (INIS)

176'

2.26 EDIT

2.26.1 Closslflcction

On-line/drum resident/assembly languoge/nonreentront/relocotoble

2.26.2 Purpose

ED IT permits the entry and modification of source language statements on drum mass-memory storage. This capability and direct assembly or compilation from mass memory permits efficient and rapid debugging of programs without Hie necessity of preparing source topes before debugging is completed. The source con be entered from the paper-tape reader or the teletypewriter keyboard. The program operates in conjunction with ED FILE so that the user can store entire programs in a drum library file ore a for later recall. This file capability enables several users to work intermittently on program debugging without punching the incomplete source image on paper tape.

2.26.3 Description

Upon entry from a manual interrupt or being scheduled by program EDFILE, EDIT initializes the address for the assembler in tow core cell $57. The kill flag is reset, and the program types the entry message "JA." The user can type a " 2* to direct EDIT to input source material from the paper-tape reader. Any other command results in input from the teletypewriter console. If a paper tape is read, at the end of the tope, the teletypewriter responds with o "Tape Reader Failure" message. After typing the command CU, the program responds with "COMO?," and the user can con-tinue with additional commands entered at the teletypewriter. The program stores source image lines on drum $F from location 0 to location S7FCO. The source images are written as one teletypewriter line which contains 72 characters or 36 words. All unused words in each line of source ore filled with teletypewriter nulls SFFFF. The location on drum $F, starting at S7FCO, is reserved for the library table that directs the EDIT program to the address of various source programs stored on drum SD. The pro-gram is characterized in the library by a six-letter name, the program length, and the drum LSB where the program source begins.

The logic block diagram of EDIT is shown in Fig. 25.

Below is a list of user commands showing the objective and the computer response.

Page 184: WSIBf , 1 - International Nuclear Information System (INIS)

177

2.26.4 User Instructions

A list of user commands with their objective and computer response is os follows:

User Command0 Objective Computer Response

Press Interrupt Sutton Manual interrupt Types MI

ED

2

CU

D YY XXX

R YY XXX

- Y Y ;:xx

+YYXXX

+RYY XXX1

#00 XXX

t

P

B

Enter EDIT

Reod tope

Types JA

Reads tape and types L, 02 FAILED 02-ACTION

Clear "ACTION" Types # = XXXX or COMO?

Dump

Replace

Delete

Teletvpe writer additions

Lists YY records, starting with record XXX and types NEXT

Ready for YY replacement records to be typed. Types NEXT

Deletes YY records/ starting with record XXX end types NEXT

Ready for YY records to be added, start-ing at record XXX and types NEXT

Reader additions Reads YY records from paper tape and adds to program at XXX. Types NEXT

Set No. of records A/lakes the program length equal XXX records and typ^s NEXT

Listing

Punch

Lists the program and types NEXT

Punches a source tape and types NEXT

Listing and punch Lists and punches program and types NEXT (without leader)

Verify

File

Verifies the punched tape against drum. Types record number of any error and L, 02 FAILED 02 ACTION

Terminates EDIT and schedules filing routine (ED FILE)

Page 185: WSIBf , 1 - International Nuclear Information System (INIS)

178 '

User Command a Objective Computer Response

T Terminate Terminates EDIT and types # - XXXX

+F YY XXX (Note: 5)

Insert records into Makes space for YY records at XXX and EDIT from ED FILE waits for next command

A YY XXX Transfers above number of records from file YY, beginning with record XXX

aAII commands begin and end with BRK-RELEASE key and RETURN, respectively. If an erroneous command is given, the message "COMO?" responds. Enter the correct command. All commands should begin by pressing BREAK RELEASE and should end with a RETURN key. To terminate a listing or punching operation, obtain manual interrupt and type "KILL." The message COMO will respond.

^Reader and File Additions cannot be made to location 002 because of a program deficiency.

2.26.5 Relationship to Other Programs

EDIT is used by and uses program ED FILE. The relationship is shown in the user command table for each program. Program KILL is used to stop EDIT listing or punching operations.

Page 186: WSIBf , 1 - International Nuclear Information System (INIS)

UK MW

no

Ffg» 2Ch Logfc Block Diagram of Program EDIT*

Page 187: WSIBf , 1 - International Nuclear Information System (INIS)

180 '

001* 002. 003* 004. 005. 006. DOT. 0 0 8 *

009* 010.

011. 012. 0 1 3 .

7FC0

005? C058 0059 00/13 007E 0029 OOOF OOOO

0026 0089 00A2

NAM EDIT REV,3/4/71 * REV. 10/28 10 RUN 0N DM F WITH EDFILE 0N DM $D.

ENT ED * THE LSB F0R THE FILE DIRECTORY TABLE MUST

EQU FILLS($7FCO) BE 0N SAME DRUM AS EDIT. EXT RECN0,EDFILE EXT KILL EQU STRADR($57)„HSBDRMC $5S),LSBDfttK$59)

/

EQU ADE0C T($A3), EDFLAQ C $7 E) EQU T4ICS29>,EDITHS($F)fFILEMS <$D)

! J 2 E J ! ! 5 V E *»E USED 10 FIX THE DRUMS USED * F0R EDIT AND EDFILE. ALSO IN •'KILL". EQU 737(38), AH EX ($89) f A0CDEC ($A2 )

015. GENERAL PURPOSE EDITING ROUTINE.

0 1 7 . 017. POOOO 54F4 on* fooei 1205 017. P0002 7FFF X 018. P0093 0000

P0004 7£93 019* P0005 <097 020. P0006 OAOO 021. PO&07 COTE

025. 024.

027. 022. 629. 610. oil. Olfc. M 2 . 0*2.

POOOO P0009 POOOA POOOO POOOC POOOO POOOE POOOP POOIO POOl I P00I2 POOH POOl 4 POOl 5 POOl 6 POOl 7 POOIO

54F4 0049 0009 OOOC 1004 0002 0007 J4EA 4A41 OOOO mn

0*4f O0P1E 0171 I0P8

POOIO 54P4 P00I4 0943 POOIO 0007

EO SCMOLE KILL,5,0

LDA =VS7£93 START!KG ADR. FOR ASSEMBLER 0

«IA

S T A - STRAOR ERA 0

G F I S £ T W £ FLAG. W R I T E 4 , E D I R - J A - 1 , J U - J A - I , 2 , A , 4 , 3 , , X

Jff JMP^ Jff ALP 011 0101 10 011 0 0 141 fBtP

C0A Iff fBtP STA 0«F,O 100 -1 000

uir a r PftfAO 4#RMX-Or'l#OOr-Or-fi#T4l#A#4#3##X

POOIO 1004

Page 188: WSIBf , 1 - International Nuclear Information System (INIS)

181'

032* POO IE 0029 POOIF 0542

033* P0020 I4EA 034* P002I C8FB 035 , P0022 0 I7E 036 . P0023 0130 037* P0024 4006 038* P0025 09FD 039* P0026 01 OB 0 4 0 . P002? COOO

P0028 1002 0 4 1 . P0029 68F3 0 4 2 . PO02A C800

P002B 0331 043 . P002C AOIA 0 4 4 . P002D 9000

P002E 3200 049* P002F 0114 046 . P0030 I 8E I 0 4 7 . P003I 1829 0 4 8 . P0032 1800

P0033 OOOC 049* P0034 C81E 0 5 0 . P0035 0119 051 • P0036 CCOO

POO37 02A6 052* POO38 2000

P0039 0026 055* P003A 8818 054« POO SB 9800

P003C 0203 0 ^ . P0O3D 1800

P003E 0010

057*

059 # 060 . P003F C813 081« POO40 0928 082* P0041 0822 0 8 3 . POO42 9800

POO43 0107 084* P0044 0123 085* POO49 9804 0 8 8 . POO 46 4800 0 8 7 . P0047 1804 088* P0048 1812 0 8 9 • P0049 0000 070* 0 7 0 • POO44 54F4 370 # POO40 0940 0 7 0 . P004C 0000

P0040 0000 070 • P0O4E 0009 070* P004F 0028

POO90 0311 071 » P0091 O00F 072* P0092 0000

JMP- (SEA) RDEX LOA* EDY+4

SON 8 P - * - l REJECTED READ. SAM 8 P - * - I ERROR 08 READ. AKD- 6 =F INA - 2 SAZ RECUR-*-! HOT FIRST - S K I P . LDA S 8 S 1 0 0 2

STA* EDY+4 IDA BUF

A8D- $1A SUB S N S 3 2 0 0

SAB OOTY-*- l J HP* ED18 FOR STA8DARD TAPE READ

OP JHP* El REJECTED READ. RECUR JHP ORUMTR THIS MUST BE A

0 0 TY LDA* LSB 848 E8DTP-* - ! LDA (FILADR)

HUI S3CT37

STA* LSB ERDTP RTJ TYPBIJG TYPE REC 88 *

EROUT JHP RD8VER THIS MUST BE 2

WO WORD I iSTR

* WE F8LLWIIKJ 1RA8FERS 36 8BDR BUF I f ARUM

• 0RUM8R LDA* L56

H A 737 1*4 0 810 F 1 U ED ??ILE ADD.

SAP « U I T - * - 3 RTJ* flUMT S W LSB JHP* EDI 8

OUIT J M f * £1 ORJttfltT 808 0 888VF W I I E 9# fB0F-888VF»l # T 3 7 4 , 9 VX

* S 8 ADC EDITHS LIB W W 0

Page 189: WSIBf , 1 - International Nuclear Information System (INIS)

182'

0 7 3 . 0 7 4 . 075. 07(5. 0 7 7 . 0 7 8 . 0 7 9 . 080.

082. 0 8 3 . 0 8 4 .

POO 53 P0054 P0055 P0056 P0057 POO 58 P0059 POO 54

C8FA 0135 C8F7 010! 18FB 0171 1CEF 1814

005B 005C 0090 005E 005F 0060 0061 0062 0063 0064 0065

P0066 0067 0068 0069

P006A 0068 006C 0060 006E 006P 0070 0071 0072 0073 0074 0079

P0078 0077 0078

P0079 P007A

0078 007C 0070 007E 007F 0080 0081 0082 0083 0084 0089 0088

0C03 OAOO 6A29 ODFE 0171 I8FC

54F4 0940 OOOO OOOO 0004 0004 0024 0175 C07E 0113 C8F8 0103 I8F8 182E oaoo E8F4 0F6F 0129 0009 C8I2 OOFF 1800 0122 OAOO OOFF C80E 802F WBMUC?

807F OCOO C907 AO 00 FOFO 8000 3030 0115 1806 0004

El *

LDA* N00VF+4 SAM E l - * - 1 LDA* N00VF+3 SAZ I JMP* * - 4 SON El - * - l JMP* (DRMVRT) JMP* E2

THIS READS COMMAND FR0M TELETYPE F0R EXAMPLE I 4- 05 123 IS ADD 9 REC 9 0 REC #1

- 02 098 I S DELETE 2 REC 0 REC 98

RD0VER ENQ 3 ENA 0

ZERO OUT INBUFS

RD0V

STA* INBUF9Q INQ - I SQH R D 0 V - * - l JMP* RD0VER+2 FREAD 4 9 9 I N B U F - R O 0 V - I 9 4 9 8 9 4 9 9 9 X

SQM E 2 - * - i LDA- EDFLAG SAN E 2 - * - l LDA* R D O m SAZ C0NVRT-* - ! J«P* * - 4

E2 JMP* BDASC NOP 0

C0NVRT LDQ* RDOV+4 LRS 15 TEST FOR SHORT READ. SAP L 0 N 8 - * - l £NQ 9 UDA* INBUF STA- I JMP MINUS

LONG ERA 0 TIS IS USEO AS i (j INSTANT* STA* I I R ADI (BELOW 00 NIT ALTER. LDA* INBUF+2 ADD- S2F s81000(C0NVRI8 880IX 10 S303X) . OTA* INBUF+2

LPBXI RAO* I ENQ 0 LDA* I * d # F t I AND sNSFOFO ISOLATE I I Q I 0 .

E0R «R*3030 VERIFY ALL ANI MUMRIC0,

SAN 8BASC-* - ! I K I P I F N 0 I . JMP*

INdUF RES INBUF<4)

Page 190: WSIBf , 1 - International Nuclear Information System (INIS)

183 '

1 2 ! . P008A 1812 122. POO SB C9FA 123* P008C AOOO

P008D OFOF 124 . P008E 0FE8 125. P008F OOFS I 2 8 * P0090 0188 127. P0091 OOOA 128. P0092 98E5 129. P0093 0128 130* P0094 88E3 131. P0095 0FC4 132. P0096 0F6C 133. P0097 EOFF |34« P0098 ODFC 135. P0099 69EC 136. P009A 0142 137* P009B I8E I 138* P009C I85E 139* P009D E8EA 140. P009E 0FC8 141 . P009F 0F68 142. POOAO OBOO 143 . POOAI 54A3 144. P00A2 0000

P00A3 0000 P00A4 0000

145. P00A5 OBOO 146 . P00A6 68E2 147 . POOA7 2000

P00A8 0026 1 4 8 . P00A9 0909 1 4 9 . POOAA 6814 150. POOAB C8DB 191 . POOAC 54A3 152 . POOAD 0000

POOAE 0000 POOAF 0000

BBASC JMP* BDASC 00K LDA* INBUF,I

AND SN$OFOF ISOLATE NUMERICS.

ADI

U S INQ SQP INQ

ALS LRS LDQ* INQ

( 1ST CHAR. > 9 ) .

8 -10 BDASC-*- ! 10

SUB* LONG sSAOO SAP BDASC-*-! 2ND CHAR. > 9 . ADD* LONG s$AOO

4 12 I - 3

STA* INBUF«I SQZ O N ! - * - l JMP* LPBXI

BDASC J MP* E3 ON I LDQ* INBUF+2

ALS 8 LRS 8 N0P RTJ - (ADEBCT) NUM 0 f 0 9 0

NOP STA* INBUF+3 MUI SXT37

INA - T 3 7 STA* VORDST IDA* INBUF+1 RTJ- (ADEBCT) NUM 0 , 0 , 0

153 . POOBO 68 D6 STA* INBUF+! 154 . POOBi 2000 MUI SXT37 154 .

POOB2 0026 155 . PO0B3 680C STA* CHAN6 156 . P00B4 0C09 ENQ 9 1 5 7 . POOB5 C8D0 SH0 LDA* INBUF 158 . * * * * * * 159 . P00B6 60FF STA- I 160 . P00B7 AOIA AND- S1A s SFFOO 1 6 1 . P00B8 9804 SUB* PLUS 1 6 2 . P00B9 0107 SAZ Y S - * - ! 163 . POOBA S800 JMP MINUS

POOBB OODE 164. POOBC 2B00 PLUS NUM S2B00 165. POGBD OOOI BZS QSVE,VORDST,CHANG,LSBEND

POOBE 0001 POOBF 000! POOCO 0001

Page 191: WSIBf , 1 - International Nuclear Information System (INIS)

184'

167 . * PROCESSOR 10 TMM RECORDS.

169 . P00C1 CSC 5 YS LDA* INBUF+1 170 . P00C2 0109 SAZ E B - * - l EXIT I F 0 REC REQUESTED 171 . P00C3 C8FA LDA* WORDS T

EXIT I F 0 REC REQUESTED

172* P00C4 09D9 IMA - T 3 7 173 . P00C5 0822 IRA Q 174 . P00C6 9888 SUB* LSB 175 . P00C7 0131 SAM T R 2 - * - l 176. P00C8 1832 JMP* E3 177. P00C9 C800 TR2 IDA F I L I

POOCA 0080 F I L I

178 . POOCB 9886 SUB* LSB LSB 0F NEXT EMPTY. 179 . POOCC 98F2 SUB* CHANG # T0 BE ADDED. 180. POOCD 0121 SAP ALRGHT-* NOT OUT OF PROGRAM . 181 . POOCE 182C EC JMP* E3

NOT OUT OF PROGRAM .

182 . POOCF 48EE ALRGH1 STQ* W0RDST 183 . POO DO C881 LDA* LSB 1 8 4 . POODl 88ED ADD* CHANG 185 . POO 02 6 8 ED STA* LSBEND 186 . P00D3 C800 LDA LSB

POO 04 FF7D 1 8 7 . POO 05 0909 INA - T 3 7 188 . POO 06 0134 SAM B L A l - * - | 1 8 9 . POO 07 681B STA* LSBR START WITH LAST REC 190. P00D8 98E5 LP1 SUB* WORDST SEE WHEN FINISHED. 1 9 1 . POO 09 0112 SAN R D - * - l 1 9 2 . POO OA 1822 JMP* CORTON 193 . POODB 18 IF BLA1 JMP* E3 1 9 4 . POO DC 5800 RD RTJ* FREAD READ 1 REC INTO BUF 195 . POOOD C815 LDA* LSBR

READ 1 REC INTO BUF

196 . POOOE 88 EO ADD* CHANG AMOUNT T0 TMM REC 1 9 7 . POODF 6800 STA LSB

AMOUNT T0 TMM REC

POO ED FF71 LSB

1 9 8 . P00E1 5800 RTJ DRMWRT P:OE2 FF66

199 . POOE3 C80F LDA* LSBR 2 0 0 . P00E4 0133 SAM B L A - * - i 201 . P00E5 09D9 INA - T 3 7 2 0 2 . P00E6 680C STA* LSBR 2 0 3 . P00E7 18F0 JMP* LP I 2 0 4 . P00E8 1812 BLA JMP* E3 2 0 5 . P00E9 OOOO FIRE AO NUM 0 2 0 6 . FRE READ 5 . . B U F - F R E - I . T 3 7 . B . 4 . . . X 2 0 6 . POOEA 54F4 2 0 6 . POOEB 0340 2 0 6 . POO EC OOOO

POOED OOOO 2 0 6 . POO EE 0005 2 0 6 . POOEF 0026

PO OFO 0271 2 0 7 . POOFl OOOF MSBR ADC EDITMS 2 0 8 . P00F2 OOOO US BR NUM 0 2 0 9 . P00F3 C8FA LDA* FRE+4 2 1 0 . P00F4 0135 SAM E 3 - * - i 211 • P00F5 C8F7 LDA* FRE+3 2 1 2 . P00F6 0101 SAZ 1

Page 192: WSIBf , 1 - International Nuclear Information System (INIS)

185'

2 1 3 . POOR 18FB JMP* * - 4 2 1 4 . POOF8 0171 SQFL E 3 - * - L 2 1 5 . P00F9 1CEF JMP* (FREAD) 2 1 6 * POOFA 186A E3 JMP* EX0UT 2 1 7 , POOFB 0001 BZS TEMP

2 1 9 * * THI READS I N

2 2 1 . POOFC C889 C0RT0N LDA* INBUF 2 2 2 . POOFD 9000 SUB =N$2B52

POOFE 2B52 2 2 3 . POOFF 0112 SAN CORT-* -2 2 4 . POL 00 1800 JMP TAPERD

P0101 0197 2 2 5 . POL 02 C800 C0RT IDA INBUF

P0103 FF82 INBUF

2 2 6 . P0104 9000 SUB :N$2B46 P0105 2B46

2 2 7 . P 0 I 0 6 011B SAN C 0 T - * - I 2 2 8 . P0107 C886 LDA* U0RDST 2 2 9 . P0108 6800 STA EDREC

P0109 0 I D 2 2 3 0 . POIOA C8B4 LDA* CHANG 231 . POI OB 6800 STA TMMREC

P010C 01D0 2 3 2 . P010D C8B2 IDA* LSBEND 2 3 3 . P010E 6800 STA LSB

POL OF FF42 LSB

2 3 4 . POI 10 1800 JMP RD0VER POL 11 FF49

2 3 5 . POL 12 0A01 COT ENA 1 2 3 6 . POL 13 68E7 STA* TEMP 2 3 7 . POI 14 0C29 COR ENQ T41 2 3 8 . POL 15 OAFF LOP ENA SFF 2 3 9 . POL 16 6AOO STA BUF#Q

POL 17 0245 2 4 0 . PD118 ODFE INQ - 1 241 . POL 19 0171 SQM F X - * - L 2 4 2 . POL 1A 18FA JMP* LOP 2 4 3 . FX FREAD 4 . .BUF 2 4 3 . POL IB 54F4 2 4 3 . POUC 09 0 2 4 3 . POI ID OOOO

POL IE OOOO 2 4 3 . POL IF 0004 2 4 3 . POL 20 0029

P0121 0240 2 4 4 . POL 22 C07E LDA- EDFLAG 2 4 5 . POL 23 0113 SAN E 4 - * - | 2 4 6 . P0124 C8F9 IDA* FX+3 2 4 7 . P0125 0102 SAZ E5 - * -L 2 4 8 . P0126 18FB JMP* * - 4 2 4 9 . P0 I27 183D E4 JMP* EX0UT 2 5 0 . POL 28 C895 E5 LDA* WORDST 2 5 1 . P0129 0926 INA T37 2 5 2 . POL 2 A £893 STA* WORDST

NEW REC* FROM TOY.

CK. FOR TTY 0R TAPE ADDITIONS ASCI I FOR "+R"

SEE I F TMM FROM F I L E .

ASCI I FOR +F

SAVE REC NO.

THE PLACE TO TMM I N T I EDIT

NEW REC LENGTH« LSB ALWAYS HAS NEW REC. LENGT

FILL BUF V/FFFF

F X - 1 , T 4 1 V B , 4 , , V X

Page 193: WSIBf , 1 - International Nuclear Information System (INIS)

186'

2 5 3 . P012B 6800 P0S2C FF25

2 5 4 . P012D 5800 P012E 0201

255* P0 I2F 5800 P0130 FFI8

2 5 6 . P0 I31 C800 POI32 FF1F

2 5 7 . POI33 0926 2 5 8 . P0 I34 6800

P0135 FFIC 2 5 9 . P 0 I 3 6 CSC4 2 6 0 . POI37 9800

POI38 FF4E 2 6 1 . POI39 0102 2 6 2 . P0I3A D8C0 2 6 3 . P013B 1808 2 6 4 . P013C C883 2 6 5 . P013D 6800

P013E FFI3 266 . P013F 1800

POI40 OOAE 2 6 7 . POI41 OAOO 2 6 8 . POI42 68AF 2 6 9 . POI43 COOO

POI44 1003 270 . POI45 6815 2 7 1 . POI46 582C 2 7 2 . POI47 58A1 2 7 3 . POI48 5803 274 . POI 49 1 820 275 . P014A 7FCO 276 . P014B 0000 277 . P0 I4C 0842 2 7 8 . P014D CAOO

P0L4E 020E 2 7 9 . P014F 0135 2 8 0 . POI 50 0FC8 2 8 1 . POI51 0132 282 . POI 52 0001 2 8 3 . POI53 18F9 284 . POI 54 0001 2 8 5 . POI55 4806 286. 2 8 7 . 2 8 7 . POI56 54F4 2 8 7 . POI57 0D43 2 8 7 . POI58 0007

POI59 0000 2 8 7 . P015A 1003 2 8 7 . P015B 0003

P015C 0205 2 8 8 . POI50 14EA 2 8 9 . P015E C8FB 2 9 0 . P015F 0174 29 I • POI 60 0133 2 9 2 . POI61 C07E 2 9 3 . POI62 0111

STA LSB

RTJ ZOOK

RTJ DRMWRT

LDA LSB

INA 737 STA LSB

LDA* TEMP SEE I F ALL REC SUB INBUF+1

SAZ 80 AON-*-1 RAO* TEMP JMP* COR

00A5N IDA* LSBEND STA LSB

JMP AL

DONE ENA 0 STA* LSBR

LDA =N$1003

STA* RECEND+4 RTJ* LEADER

FT RTJ* FREAD READY TO PUNCH PROG. RTJ* PNCK JMP* ENDIT

F I L I ADC FILLS EDFILE LSB ON EDITS DRUM PNCH NUM 0

CLR Q LPT LDA BUF,Q LOOK FOR END.

SAM R 9 - * - l ALS 8 CK BOTH CHARS. SAM RECD-*- ! INQ 1 JMP* LPT

RECD INQ 1 R9 STQ* RECEND+5 # OF WORDS TO OUTPUT. • THIS LOOP ALSO LIST ON TTY BY SETTING LU RECEND FVRITE 3,HERE-RECEND-i tBUF-RECEND-l93 fA,4 f3 f»X

JMP» ($EA) HERE LDA* RECEND-l-4 CK F£<R ERROR.

SQM EX0UT-* - ! SAM EX0UT-+-1 LDA- EDFLAG SAN EXOUT-*-!

Page 194: WSIBf , 1 - International Nuclear Information System (INIS)

187 '

294* POl 63 1CE7 JNP* (PNCH) 295* POI 64 OAOO EX0UT ENA 0 2 9 6 . POl 65 6800 STA B0HCTR

P0166 Q0C3 2 9 7 . POl 67 607E STA- EDFLAG 298* POI €8 1844 JNP* ERMSG 2 9 9 . POI 69 C888 ENDIT LDA* LSBR 300* P0I6A 0926 INA T37 301* P016B 6886 STA* LSBR 3 0 2 . P0 I6C 9800 SUB LSBEND

POl 60 FF52 303* P016E 0121 SAP F I N - * - l 3 0 4 . P0 I6F 1807 JNP* FT 305* POl 70 5802 F IN RTJ* LEADER 3 0 6 . P0171 1870 JNP* AL

308* * THIS PUNCHES LEADER.

310 . P 0 I 7 2 OOOO LEADER NUN 0 3 1 1 . P0173 COOO LDA =N$543 FWRITE 7

P0174 0543 =N$543 FWRITE 7

312* P0175 68E1 STA* RECEND+1 313* P 0 I 7 6 OAFE ENA - 1 314 . POI 77 6800 STA BUF2+T37-1

POl 78 0233 BUF2+T37-1

315 . POl 79 0C4E ENQ $4E NULL THE RE 316* P0I7A OAOO ENA 0 317* P0I7B 6A00 L00P STA BUF.Q

P017C 01E0 316* P0I7D ODFE INQ - 1 3 1 9 . P0I7E 0171 SQN FULBUF-* - ! 320* P017F 18FB JNP* L00P 321 . P 0 I 8 0 58CA FULBUF RTJ* PNCH 322 * P0181 58C9 RTJ* PNCH THIS 323 . POl 82 COOO LDA sN$D43 WRITE 10

POl 83 0043 sN$D43 WRITE 10

3 2 4 . P0184 6802 STA* RECEND+I 325 . POl 85 ICEC JNP* (LEADER) 326 . FILE TINER ( E D F I L E ) . 3 . 0 . 1 326 . P0186 54F4 326 . P0187 1013 326 . P0188 FFFF X 327 . POl 89 0009 NUN 9 328 . P018A 5800 REL RTJ TYPREC TYPE

P018B 0184 3 2 9 . RELES RELEAS (ED-RELES-1) .T 3 2 9 . P018C 54F4 3 2 9 . P018D 1901 3 2 9 . P018E FE72 3 3 0 . P018F 46FF TERMTE NUN $46FF ASCII F0I 3 3 1 . P0190 42 FF NUN $42 FF 3 3 2 . POl 91 54FF NUN $54FF 3 3 3 . POl 92 50FF NUN $50 FF 334 . POl 93 56FF NUN $56FF 3 3 5 . P0194 4CFF NUN $4CFF 3361 P0195 2320 NUM $2320 3 3 7 . POl 96 4420 NUM $4420 3 3 8 . POl 97 5220 NUM $5220

TYPE T0TAL N0 . 0F REG*

•B* vr • p.

•cr R

Page 195: WSIBf , 1 - International Nuclear Information System (INIS)

188

3 3 9 . P 0 I 9 8 2D20 3 4 0 . P0199 C80C

P019A FEB7 341• P019B €800

P019C FF25 342* 343* P0 I9D COFF 3 4 4 . P019E 9AF0 3 4 5 . P 0 I 9 F 0103 346* POIAO 0 1 7 6 3 4 7 . P01A1 ODFE 3 4 8 , P01A2 18FA 349• P01A3 C800

P01A4 0137 350« P01A5 0116 3 5 1 . P01A6 IAOE 352 . P01A7 C800

P 0 I A 8 0133 353 • P01A9 0102 354* P01AA 1800

POIAB 0133 3 5 5 . 355* P01AC 54F4 3 5 5 . POIAD 0D40 355• POIAE 7EAD

P01AF 0000 3 5 5 . POIBO 1004 3 5 5 . P01B1 0003

P01B2 017B 3 5 6 . P01B3 14EA 3 5 7 . P01B4 18D1 3 5 8 . P01B5 180B 3 5 9 . P01B6 18D3 3 6 0 . P01B7 1889 3 6 1 . P01B8 187A 3 6 2 . P01B9 1805 3 6 3 . P01BA 1808 364* P01BB 184B 365* P01BC 186E 3 6 6 . POIBD 180F 3 6 7 . P01BE 1800

P01BF 010D 3 6 8 . P01C0 1800

P01C1 0108 3 6 9 .

3 7 1 . P01C2 C 800 P01C3 FEFA

3 7 2 . P01C4 0926 3 7 3 . P01C5 9884 3 7 4 . P01C6 0124 3 7 5 . P 0 I C 7 8882 3 7 6 . P01C8 6800

P01C9 FE88 3 7 7 . P01CA 1824 3 7 8 . P01CB 18ED

NUN S2D20 MINUS LDA LSB

STA LSBEND

* ENTER MINUS WITH Q=5F0R SHORT READ»Q=9 FOR LONG. LPINST LDA- 1

SUB* TERMTE »Q SAZ E X I T - * - I SQM ERG-* -1 INQ - 1 JMP* LPINST

EX IT LDA EDREC SEE I F + F INSTR JUST EXECUTED

SAN ERMSG-*-1 YEP JMP* TABTQ

ERG LDA EDREC SEE I F ADD RECS. FROM F I L E .

SAZ ERMSG-*-L NOPE JMP ADD

ERMSG FWRITE 4.RD0VER-ERMSG-1.EMSO-ERMSG-1,3,AF4F T FX

JMP- (SEA) TAB JMP* FILE

JMP* B0TH1 JMP* REL JMP* DONE JMP* VERIFY JMP* L IS JMP* SET NO JMP* TYPE JMP* REPLAC JMP* DELETE

L I S JMP LIST

BOTH! JMP BOTH

* I N I T I A L I Z E RECORD NO. ROUTINE

SETN0 LDA WORDST

INA T37 SUB* F I L I F I L E L IB ADD. ON DM EDITMS.

SAP EL L - * - I ADD* F I L I STA LSB

JMP* AL OK E l l JMP* ERMSG BAD

Page 196: WSIBf , 1 - International Nuclear Information System (INIS)

189 '

380.

382 , P01CC 582A 383• POICD C800

POICE FEEF 384 , POICF 8800

POlDO FEEE 385, P01D1 6800

P01D2 FF2F 386* P01D3 5800

P01D4 F F M 387 . P01D5 C800

P01D6 FF1B 3 8 8 . POl07 9800

P01D8 FEE6 3 8 9 . POl09 6800

POlDA FE77 3 9 0 . P01DB 5800

P01DC FE6C 3 9 1 . P01DD C800

P01DE FF13 3 9 2 . P01DF 0926 3 9 3 . P01E0 6800

P01E1 FF10 394 . P01E2 9800

P01E3 FEDC 395 . P01E4 0121 396 . P01E5 18ED 397 . P01E6 C800

P01E7 FED8 398* P01E8 9800

P01E9 FED5 3 9 9 . P01SA 6800

P01EB FED4 400* P01EC 6800

P01ED FE64 401. 401. POIEE 54F4 401 • P01EF 0040 401. P01F0 7E6B

P01F1 OOOO 401. P01F2 1004 401 . P01F3 0004

P01F4 013C 402. P01F5 14EA

404* 405. P0IF6 OOOO 406* P01F7 C800

P0 IF8 FEC5 407* P01F9 0138 408 . P01FA 9800

P01FB FE96 409* P01FC 012C 410* POIFD C800

P01FE FECO 4 1 U POIFF 0105

* RECORD DELETION PROCESSOR

DELETE RTJ* ERCHK LDA WORDST

ADD CHAN6

STA LSBR 1ST REC AFTER DELETION

RED RTJ FREAD

LDA LSBR

SUB CHANG

STA LSB

RTJ DRMWRT

LDA LSBR

INA T37 STA LSBR

SUB LSB END

SAP A L R T - * - l JMP* RED

ALRT LDA LSBEND

SUB CHANG

STA LSBEND

STA LSB

AL FWRITE 4 9 RD0VER-AL-! v AMSG*AL- l t4 tA,4 t O,

JMP- (SEA)

* W I S CKS. FOR INPUT ERROR. ERCHK RUN 0

LDA WORDST

SAN BADNWS-*«1 SUB LSB

SAP BADNVS-*-l LDA CKAR6

SAZ BADNWS-*-!

Page 197: WSIBf , 1 - International Nuclear Information System (INIS)

190 '

412. P0200 09D9 INA -T37 413* P0201 9800 SUB LSB

P0202 FE4F LSB

414 • P0203 0121 SAP BADNWS-*- ! 415. P0204 ICFl JMP* ( ERCKK) 416. P0205 18A6 BADNWS JHP* ERMSG

418. • THIS IS TYPE REQUEST PROCESSOR

420. P0206 58EF TYPE RTJ* ERCHK 421 . P0207 C800 LDA W0RDST STARTING PT

P0208 FEB5 422. P0209 6800 STA LSBR PREPARE FOR DR PREAD

P020A FEE7 PREPARE FOR DR PREAD

423. P020B 0A04 TYPLUP ENA 4 424. P020C 6800 STA RECEND+4

P0200 FF4C 425. P020E 5800 RTJ FREAD DRUM READ

P020F FED9 426. P0210 5800 RTJ PNC H TYPE OUT

P0211 FF39 427. P0212 E817 LDQ* BOHCTR SEE I F PUNCH AND TYPE REQUESTE 428. P0213 0146 SQZ JUSTYP-*- 1 429 . P0214 ED 00 LDQ -NS1003 SET UP PUNCH LU IN REQUEST.

P0215 1003 430. P0216 4800 STQ RECEND+4

P0217 FF42 431 . P0218 5800 RTJ PNCH

P0219 FF31 432. P021A C800 JUSTYP LDA INBUF+1 CX. FOR COMPLETION

P021B FE6B CX. FOR COMPLETION

433* P021C 09FE INA - 1 434. P 0 2 I 0 0108 SAZ THRU-*-l 435. P021E 6800 STA INBUF+1

P02IP FE67 436 . P0220 C800 LDA LSBR

P0221 FEDO 437 . P0222 0926 INA T37 438 . P0223 6800 STA LSBR

P0224 FECD 439 . P0225 I8E5 JHP* TYPLUP 440. P0226 OCOO THRU ENQ 0 44} . P0227 4802 STQ* BOHCTR 442. P0228 I8C5 JHP* AL 443. P0229 0001 BZS BOHCTR 444. P022A 58CB REPLAC RTJ* ERCHK 445. P022B C800 LDA VORDST

P022C FE91 446. P022D 09D9 INA -T37 447 . P022E 6800 STA WORDST

P022F FE8E 448 . P0230 I8C0 JHP CORTON

P0231 FECA

450* * THIS I S TAPE VERITY ROUTINE

Page 198: WSIBf , 1 - International Nuclear Information System (INIS)

£ 9 1

432* P0232 C800 P0233 FDFF

453* P0234 €800 P0235 FEC5

454 • P0236 COQO P0237 0210

455* P0238 6800 P0239 FDF9

456. P023A C800 P023B FE02

457% P023C €838 458« PG23D COOO

PQR3E 0830 459* P023F €800

P0240 FDFD 460* P0841 1800

P024S FOCF 4€l • P0243 0A24 4€2* P0844 COFF 483* P0245 €831 464* P0246 5800

P0847 0Q3€ 4€5« P0248 E82E 4€€* P0249 CAOO

P024A 013C 4€7* P024B 9AOO

P0240 0110 4€8* P024D 0113 4€9* P024E ODFE 470* P024F 0141 471• P02S0 I8F8 472* P0251 C83C 473* P0252 092€ 474* P0253 €83A 475* P0254 1800

P0255 FOBC 476* PQ256 C837 477* P0257 0926 478* P0258 €835 479* P0259 0842 480* P025A 3000

P025B 002€ 481• P025C 94A2 482* P023D OOOO 483* P023E 0000 484* P025F OOOO 489. P026D 9489 486. P0261 801A 487* 487I P026S 54F4 487* P0263 0 0 * 0 487* P0264 OOOO

P8869 OOOO 487* P0266 (004 487* P0267 0004

P0268 0016 488* P0269 C8FB 489. P026A 0101

VERIFY IDA REGVR+I

STA HHP

Ufc ?XRER-RECVR~I

STA RECVR+K

LDA SROIft+t

STA* SAVADR LDA 3UtESTR-2RRtlT-l

STA GROUT-H

JKP 6DI0

HER ERA 8R4 STA- I STA* ISA RTJ REA0B READ I REC 1010 l i f t

LDQ* ISA CREC LDA RUFR»0 VERIFY REC*,

ERR RUF,Q CHUCK l i t

SAR R0608D-* - ! IRQ • ! SQZ AR01HR-*-! SKIP I F ERD OF RGB JNP* SHSC

A801HR IDA* LSBB PREPARE FOR REXT RRC* IRA m STA* LSBR JNP EDI * OR READ IR REXT TAPE Rf f i *

RRGROD LDA* LS8B DETERMRE BAD REC* 0 IRA 137 STA* LSBR cut 0 DVI SXT37

RTJ- (ARCDEC) RON 0 RUN 0 RUN 0 RTJ- (AHEX) ADC (NSGRQ-*+2) Huso FRR1TE 4 t 9NSGR8-MtS6-l »4»A»4, „ X

LDA* HWSQ+3 SAZ I

Page 199: WSIBf , 1 - International Nuclear Information System (INIS)

192 '

490. P026B 18FD 4 9 1 . P026C 1800

P026D FF80 492 . P026E C 800

P026F FE8B 493 . P0270 6800

P027I FDCC 494 . P0272 0842 495. P0273 481A 496 . P0274 1800

P0275 FF78 497 . P0276 0001

P0277 0001 498 . P0278 0000 499 . P0279 4552

P027A 2023 P027B 2020 P027C 2020

5 0 0 . P027D OOOO 5 0 1 . P027E 0C25 502 . P027F OAFF 503 . P0280 6A00

P0281 0105 504 . P0282 ODFE 505 . P0283 0171 506 . P0284 18FB 5 0 7 . 507 . P0285 54F4 5 0 7 . P0286 0340 507 . P0287 OOOO

P0288 OOOO 507 . P0289 0005 507 . P028A 0026

P028B 0100 508 . P028C OOOF 509 . P028D OOOO 510 . P028E C8FA 5 1 1 . P028F 0136 512 . P0290 C07E 513 . P0291 0114 5 1 4 . P0292 C8F5 515 . P0293 0101 516. P0294 18FB 5 1 7 . P029 5 1CE7 5 1 8 . P0296 1800

P0297 FECC

520 .

5 2 2 . P0298 C300 P0299 FD99

5 2 3 . P029A 6800 P029B FE5F

524 . P029C COOO P029D 027A

JMP* * - 2 JMP AL

RESTR LDA TEMP

STA ER0UT+1

CLR Q STQ* LSBB JMP AL

BSS I S A , SAVADR

NUM 0 MSGN0 ALF 4 ,ER-#

READB NUM 0 ENQ T37-1 ENA $FF

BUFLP STA BUF2.Q

INQ - 1 S6M RB-+ -1 JMP* BUFLP

RB READ 5 f t BUF2-RB- l ,T37 ,B , 4 , , tX

ADC EDITMS LSBB NUM 0

LDA* RB+4 SAM E 6 - * - l LDA- EDFLAG SAN E 6 - * - l IDA* RB+3 SAZ 1 JMP* * - 4

JMP* (READB) E6 JMP EX0UT

* THIS I S ADDITIONS VIA THE READER.

TAPERD LDA RECWR+1

STA TEMP

LDA =XRESP1-RECWR-1

Page 200: WSIBf , 1 - International Nuclear Information System (INIS)

193'

5 2 5 . P029E 6800 STA RECWR+1 P029F FD93

5 2 6 . P02A0 C800 LDA ER0UT+1 P02A1 FD9C

5 2 7 . P02A2 68 D4 STA* SAVADR 5 2 8 . P02A3 COOO LDA =XENUFF -ER0UT-1

P02A4 027E 5 2 9 . P02A5 6800 STA ER0UT+1

P02A6 FD97 5 3 0 . P02A7 C800 LDA W0RDST

P02A8 FE1 5 531 . P02A9 092 6 INA T37 5 3 2 . P 02 AA 6800 STA LSB SET UP STARTING ADR F0R ADDITION

P02AB FDA6 SET UP STARTING ADR F0R ADDITION

5 3 3 . P02AC 180E JMP* 60RD 5 3 4 . P02AD 5800 RESP1 RTJ ERMWRT

P02AE FD9A 5 3 5 . P02AF C800 LDA LSB PREPARE DRUM ADR. FOR NEXT 0NE.

P02B0 FDA1 PREPARE DRUM ADR. FOR NEXT 0NE.

5 3 6 . P02B1 0926 INA T37 5 3 7 . P02B2 6800 STA LSB

P02B3 FD9E 5 3 8 . P02B4 C800 LDA INBUF+1 SEE I F COMPLETED.

P02B5 FDD I 539 9 P02B6 Q9FE INA - I 5 4 0 . P02B7 6800 STA INBUF+1

P02B8 FDCE 541 . P02B9 0102 SAZ ENUFF-* - 1 5 4 2 . P02BA 1800 60RD JMP EDIN

P02BB FD56 !

5 4 3 . P02BC C800 ENUFF LDA LSBEND P02BD FE02

5 4 4 . P02BE 6800 STA LSB P02BF FD92 )

5 4 5 . P02C0 C800 LDA TEMP P02C1 FE39

5 4 6 . P02C2 6800 STA RECWR+1 RESTORE RESPONSE ROUTINE ADR P02C3 FD6F

5 4 7 . P02C4 CSB2 LDA* SAVADR i •

5 4 8 . P02C5 6800 STA ER0UT+1 P02C6 FD77

5 4 9 . P02C7 1800 JMP AL "NEXT MSG" P02C8 FF25

551 . * THIS I S ENTRY F0R PUNCH AND L IST REQUEST

5 5 3 . P02C9 0A01 B0TH ENA 1 554 . P02CA 6800 STA B0HCTR

P02C8 FF5D

5 5 6 . * THIS I S THE L IST ROUTINE.

5 5 8 . P02CC OAOO LIST ENA 0 5 5 9 . P02CD 6800 STA WORDST LIST ENTIRE PROGRAM

P02CE FDEF LIST ENTIRE PROGRAM

5 6 0 . P02CF C800 LDA LSBEND P02D0 FDEF

5 6 1 . P02D1 0112 SAN C L R - * - l

Page 201: WSIBf , 1 - International Nuclear Information System (INIS)

194'

5 6 2 . P02D2 1800 JMP ERMSG P02D3 FED8

5 6 3 . P02D4 0842 CLR CLR Q 564 . P02D5 3000 DVI =XT37 NO. OF RECORDS.

P02D6 0026 5 6 5 . P02D7 6800 STA INBUF+1

P02D8 FDAE 566 . P02D9 1800 JMP TYPE+1

P02DA FF2C

5 6 8 . * SUBROUTINE T0 TMM RECORDS FROM FILE TO ED IT .

570 . P 02 DB OOOO EDREC NUM 0 5 7 1 . P02DC OOOO TMMREC NUM 0 5 7 2 . P02DD 7FFF X FILADR ADC RECN0 5 7 3 . P02 DE 0A0D ADD ENA FILEMS 5 7 4 . P02DF 6800 STA MSBR

P02E0 FE10 575 . P02E1 C8F9 LDA* EDREC CONTAINS START ADR I N EDIT 5 7 6 . P02E2 0926 INA T$7

CONTAINS START ADR I N EDIT

5 7 7 . P02E3 6800 STA LSB P02E4 FD6D

5 7 8 . P02E5 C800 LDA 1NBUF-M F I L E NO. P02E6 FDAO

F I L E NO.

5 7 9 . P02E7 09FE INA - 1 5 8 0 . P02E8 2043 MUI- $43 CONTAINS 5 581 . P02E9 0905 INA 5 582 . P02EA 0822 TRA Q 5 8 3 . P02EB CEF1 LDA* (FILADR) »Q THIS I S THE LSB 5 8 4 . P02EC 8800 ADD WORDST ADD START ADR I N F ILE PROG

P0£ED FDDO 585 . P02EE OBOO N0P 0 586 . P02EF 6800 STA LSBR STORE INTO WRITE REQUEST.

P02F0 FE01 5 8 7 . P02F1 5800 LPXR RTJ FREAD DRUM READ

P02F2 FDF6 DRUM READ

5 8 8 . P02F3 5800 RTJ DRMWRT P02F4 FD54

5 8 9 . P02F5 C8E6 LDA* TMMREC 590 . P02F6 09D9 INA -T37 SEE I F ALL REC TMMED. 591 . P02F7 01 OC SAZ ALLTRU-* "i 592 . P02F8 68E3 STA* TMMREC 5 9 3 . P02F9 C800 LDA LSB NOPE TMM ANOTHER REC.

P02FA FD57 5 9 4 . P02FB 0926 INA T37 595. P02FC 6800 STA LSB

P02FD FD54 596 . P02FE C800 LDA LSBR

P02FF FDF2 5 9 7 . P0300 0926 INA T37 5 9 8 . P0301 6800 STA LSBR

P0302 FDEF < r

5 9 9 . P0303 18ED JMP* LPXR 600 . P0304 OCOF ALLTRU ENQ EDITMS 6 0 1 . P0305 4800 STQ MSBR

P0306 FDEA

Page 202: WSIBf , 1 - International Nuclear Information System (INIS)

195 '

6 0 2 , P0307 C800 P0308 FOB7

6 0 3 , P0309 6800 P030A FD47

6 0 4 , P030B OAOO 6 0 5 , P030C 68CE 6 0 6 , P030D 1800

P030E FEDF

LDA

STA

LSBEND

LSB

ENA 0 STA* EDREC

JMP AL FLAG F0R +F COMMAND

L

608 . * SUBROUTINE TO TYPE TOTAL REC. NO.

6 1 0 . P030F OOOO TYPREC NUM 0 61 1 , P0310 0842 CLR Q 61 2 • P031 1 C800 LDA LSB

P0312 FD3F 6 1 3 , P0313 3000 DVI =XT37 DETERMINE REC NO.

P0314 0026 6 1 4 , P0315 6CC7 STA* (FILADR) 61 5 , P0316 54A2 RTJ - ( AOC DEC) 616 , P0317 OOOO NUM 0 , 0 , 0

P0318 OOOO P0319 OOOO

6 1 7 , P031A 5489 RTJ- (AHEX) 6 1 8 , P031B 80 OA ADC ( TOTMSG-*+l) 6 1 9 , RECMSG FWRITE 4 . .TOTMSG-RECMSG-1 .4 .A f l 4 . . .X 6 1 9 , P031C 54F4 6 1 9 , P031D 0D4O 6 1 9 , P031E OOOO

P031F OOOO 6 1 9 , P0320 1004 6 1 9 . P0321 0004

P0322 0007 6 2 0 , P0323 1CEB RECTN JMP* (TYPREC) 621 . P0324 233D TOTMSG ALF 3 , # =

P0325 2020 P0326 2020

6 2 2 , P0327 000 D NUM SOD 6 2 3 , P0328 43 4F EMSG ALF 2 , CO MO

P0329 4D4F 6 2 4 , P032A 3F0 D NUM S3F0D 6 2 5 , P032B 4E45 AMSG ALF 3 , NEXT!

P032C 5854 P032D 2120 "

6 2 6 , P032E 000 D NUM SOD 6 2 7 . * THE FOLLOWING Z00K LOOP WILL ALLOW SINGLE OR 628* * MULTIPLE CHARACTER DELETIONS BY SINGLE 6 2 9 . *0R MULT. USE OF THE UPPER CASE "0"(ARROW)• 6 3 0 . *Z00X PUTS I N 00 NULLS PACKDN REMOVES THEM 63 i , P032F OOOO Z00K NUM 0 SUBROUTINE TO EDIT ERRORS USING 6 3 2 . P0330 OCOO ENQ 0 6 3 3 , P0331 40 FF STQ- I 6 3 4 , P0332 C92A LP LDA* B U F . I 6 3 5 . P0333 AO 1A AND- $1A s$FF00 6 3 6 . P0334 BOOO E0R =N$5F00 m - 4-

P0335 5F00 6 3 7 . PQ336 010E SAZ Y E l - * - l

Page 203: WSIBf , 1 - International Nuclear Information System (INIS)

I

196

638 • P0337 OCOO ENQ 0 6 3 9 . P0338 C924 LDA* BUF, I 640 . P0339 AOOA AND- $A =$00FF, 641 . P033A BOOO LP2 E0R =N$5F THIS IS ASCHII F0R A Z00K

P033B 00 5F 642 . P033C 0105 SAZ Y U - * - I 6 4 3 . P033D OCOO ENQ 0 644 . P033E COFF IS LDA- I 6 4 5 . P033F 09D6 IN A - T 4 1 6 4 6 . P0340 0132 SAM C 0 N - * - l 6 4 7 , P0341 186C JMP* PACXDN 6 4 8 . P0342 180F YU JMP* YE2 6 4 9 . P0343 DOFF C0N RAG 1- I 650 . P0344 18ED JMP* LP 651 • P0345 COFF YE1 LDA- I 6 5 2 . P0346 0834 AAQ A 653 . P0347 09FE INA - 1 THIS PREVENTS NULLING 654 . P0348 0133 SAM A X - * - 1 ANY W0RDS BEL0W B U F ( O ) . 655 . P0349 CB12 LDA* BUF-1 ,B 656. P034A A01A AND- $1A =$FF00 . 6 5 7 . P034B 6B10 STA* BUF- I 9B 658 . P034C C910 AX LDA* BUF, I 659 . P034D AOOA AND- $A =$FF 660 . P034E 690 E STA* BUF, I 661 . P034F ODFE INQ - 1 662 . P0350 18E9 JMP* LP2 663 . P0351 COFF YE2 LDA- I PREVENT NULLING ANY 664 . P0352 0834 AAQ t * 665. P0353 0133 SAM A X 2 - * - l CHARACTER BEL0W BUF<0) . 6 6 6 . P0354 CB08 LDA* BUF 9B 6 6 7 . P0355 AOOA AND- $A =$00FF 6 6 8 . P0356 6B06 STA* BUF fB 6 6 9 . P0357 C905 AX2 LDA* BUF, I 670 . P0358 A01A AND- $1A =FFOO 671 . P0359 6903 STA* B U F , I 672 . P035A ODFE INQ - 1 673 . P035B 18E2 JMP* TS 674 . P035C 002A BSS BUFC T41+1) tBUF2 ( T37)

P0386 0026 675 . P03AC 0000 QCTR NUM 0 676. P03AD OAOO PACKDN ENA 0 677 . P03AE 60FF STA- I 678 . P03AF 68FC STA* QCTR 6 7 9 . P03B0 COFF G0U LDA- I 6 8 0 . P03B1 09 D5 INA - T 4 1 - 1 681 . P03B2 0132 SAM 0 K K - * - i D0NE7 682 . P03B3 1C00 JMP CZ00K)

P03B4 FF7A 6 8 3 . P03B5 092A 0KK INA T4 I+1 684 . P03B6 C9A5 LDA* B U F f I 6 8 5 . P03B7 0131 SAM MNUS- * - l 686 . P03B8 1812 JMP* PP I T ' S P0S. 6 8 7 . P0SB9 C8F2 MNUS LDA* QCTR I F "EVEN" THEN, 688 . P03BA OFCF ALS 15 Q I S EMPTY 0F CHARS. 6 8 9 . P03BB 0122 SAP Q M T - * - l 6 9 0 . P03BC 0804 SET A 691 . P03BD 5817 RTJ* QSTUF SAVE I M0RE WITH 6 9 2 . P03BE ESED QMT LDQ* QCTR AN FF I N THE RIGHT HALF.

Page 204: WSIBf , 1 - International Nuclear Information System (INIS)

197'

6 9 3 . P03BF 0F21 QRS 1 69 4 . P03CD 0804 SET A 6 9 5 . P03C1 48 EA STQ* QCTR 6 9 6 . P03C2 E8E9 QMT2 LDQ* QCTR 6 9 7 . P03C3 6A98 STA* B U F F I L L REMAIN. WITH FFFF . 6 9 8 . P03C4 0DD5 INQ - T 4 1 - 1 ( - 2 A ) 6 9 9 . P03C5 0162 SQP D D D - * - l DONE. 7 0 0 . P03C6 D8E5 RAO* QCTR 701 . P03C7 18 FA JMP* QMT2 7 0 2 . P03C8 1C00 DDD JMP (Z0OK)

P03C9 FF65 7 0 3 . P03CA AO 1A PP AND- $1A (FFOO) 7 0 4 . P03CB 0101 SAZ D 0 R - * - l LEFT HALF I S 0 -SO S K I P . 7 0 5 . P03CC 5808 RTJ* QSTUF NOT 0 S0 GO SAVE INQ 7 0 6 . P03CD C98E D0R LDA* BUF, I 7 0 7 . P03CE AOOA AND- $A ( F F ) 7 0 8 . P03CF 0102 SAZ B M P - * - 1 RT SIDE I S 0 - SO S K I P . 7 0 9 . P03D0 0FC8 ALS 8 7 1 0 . P03 01 5803 RTJ* QSTUF GO SAVE 71 1 . P03D2 DOFF BMP RAO- I 7 1 2 . P03D3 18DC JMP* GOU 7 1 3 . P03D4 OOOO QSTUF NUM 0 7 1 4 . P03D5 0FE8 LLS 8 7 1 5 . P03D6 D6D5 RAO* QCTR 71 6 . P03D7 C8D4 LDA* QCTR 7 1 7 . P03D6 OFEF LLS 15 7 1 8 . P03D9 0135 SAM N O T F - * - 1 NOT FULL : S K I P . 7 1 9 . P03 DA 0FE1 LLS 1 7 2 0 . * S0 1 F IN ISH XFRING A TO Q. 721 . P03DB 0F21 QRS 1 DVI Q BY 2 . 7 2 2 . P03DC 6AOO STA BUF-1 ,Q SAVE PACKED WORD I N BUF.

P03DD FF7D 7 2 3 . P03DE ICF5 JMP* (QSTUF) 72 4 . P03DF 0FF1 N0TF LLS 17 RESTORE REGISTERS. 72 5 . P03E0 ICF3 JMP* (QSTUF) 72 S . * THE ROUTINE QSTUF TAKES THE UPPER 8 B ITS FROM 7 2 7 . • THE A REG . INTO THE LOWER 8 B ITS OF Q . I F Q I S 7 2 8 . • F I L L E D ( INDICATED BY QCTR BEING ODD).THE WORD 7 2 9 . • I S STORED INTO B U F + ( Q C T R / 2 ) . THE REMAINDER I S 7 3 0 . • FILLED WITH FFFF BY PACKDN BEFORE E X I T I N G . 731 . • 732 . • PACKDN - I S USED TO REMOVE ALL $00 NULLS 7 3 3 . • WHICH ARE INSERTED BY Z 0 0 K . THIS IS ENTERED 7 3 4 . • EACH TIME 1 BEFORE A BUFFER I S WRITTEN ONTO 7 3 5 . • DRUM BY E D I T . 7 3 6 . END

I OOFF ED OOOOP F ILLS 7FC0 STRADR 0057 MSBDRM 0058 LSB DRM 0059 ADEOCT 00A3 EDFLAG 007 E T41 0029 EDITMS OOOF FILEMS 000 D T37 0026 AHEX 0089 A0CDEC OOA2 JA 0008P JU 001 OP EDIN 0012P EDLP 001 4P EDY 0019P RDEY 002 IP OP 0031P RECWR 0032P GOTY 0034P ENDTP 003BP EROUi 003 DP DRUMWR 003FP QUIT 0048P DRMWRT 0049P N00VF 004AP MSB 0051P LSB 00 52P El 00 SAP RDOVER 005BP RDOV 0061P E2 006EP OONVRT 0070P LONG 0078P LPBK1 007 DP INBUF 0086P BBASC 008AP 00K 008BP AD1 0092P BDASC 009CP DN1 009DP SH0 00B5P PLUS OOBCP QSVE OOBDP WORDST OOBEP CHANG OOBFP LSBEND OOCOP

Page 205: WSIBf , 1 - International Nuclear Information System (INIS)

198

YS 00C1P TR2 OOC9P EG BLAL 00 EBP RD OODCP BLA CIS BR 00FI P LSBR OOF2P E3 C0RT 0102P C0T 0112P C0R E4 0127P E5 0128P G0AGN F I L I 0I4AP PNCH 014BP LPT RECEND 0156P HERE 015EP EX0UT LEADER 0 I72P L00P 017BP FULBUF RELES 0L8CP TERMTE 018FP MINUS ERG 0IA7P ERMSG OLACP TAB SETN0 01C2P EL 1 01CBP DELETE AL OLEEP ERCHK 01F6P BADNVS JUSTYP 021AP THRU 022 6P B0HCTR HER 0243P CHEC 0249P AN0THR RESTR 02 SEP ISA 0276P SAVADR BUF LP 028OP RB 0285P LSBB RESPI 02ADP G0RD 02BAP ENUFF CLR 02D4P EDREC 02DBP TMMREC LPXR 02 FI P ALLTRU 0304P TYPREC T0TMSG 032 4P EMSG 032 8P AMSG LP2 033AP TS 033EP YU AX 034CP YE2 0351P AX2 QCTR 03ACP PACKDN 03ADP G0U QMT 03BEP QMT2 03C2P DDD BMP 03 DSP QSTUF 03D4P N0TF mem 02 DDX

OOCEP ALRGHT OOCFP LP 1 OOD8P 00E8P FREAD OOE9P ""RE OOEAP OOFAP TEMP OOFBP C0RT0N OOFCP 0114P L0P 0115P FX 01 IBP 013CP D0NE 01 41P FT 0147P 014DP RECD 0 I54P R9 0155P 0164P ENDIT 0169P F IN 0170P 01 SOP F ILE 0186P REL 01 SAP 0199P LPINST 019DP EXIT 01A3P 01B4P LIS 01BEP B0TH1 01C0P 01CCP RED 01D3P ALRT 01E6P 0205P TYPE 020 6P TYPLUP 020BP 0229P REPLAC 022AP VERIFY 0232P 0251P N0G00D 0256P MMSG 0262P 0277P MSGN0 0279P READB 027DP 028 DP E6 029 6P TAPERD 0298P 02BCP B0TH 02C9P LIST 02CCP 02DCP FILADR 02DDP ADD 02DEP 030FP RECMSG 03ICP RECTN 0323P 032BP Z00K 032 FP LP 0332P 0342P C0N 0343P YE1 03-35P 0357P BUF 035CP BUF2 0386P 03B0P 0KK 03B5P MNUS 03B9P 03C8P PP 03CAP D0R 03CDP 03DFP KILL 0002X EDFILE 0188X

Page 206: WSIBf , 1 - International Nuclear Information System (INIS)

1 9 9

2.27 FLUME

2 . 2 7 . 1 Classification

On-line/mass memory resident/assembly Janguage/nonreentrant/relocatable

2 .27.2 Purpose

FLUME measures the release and response times for the HFIR shim safety rods. The response time is the time elapsed from the initiation of the reactor scram until the reactor control rod latch is actuated. The release time is the time elapsed from the initiation of the scram signal until the latching magnet armature has moved to the point of no return should the magnet power be restored. The time to fall to the seat is also measured.

2.27.3 Description

Upon entry, FLTIME resets the abort request flag and clears the time counter used to tally the repeated interrupts by the 1572. The 1572 high frequency timer is started with user code 1. The message "Rod Timer Ready" is typed in the control room, and the program loops on a scram initiate relay, awaiting the first indication of the scrom. When the scram occurs, the value of the timer is saved, and a loop on digital input words 8 and 9 is started, waiting for relay contact changes to indicate that rods are unclutched and unlatched. Whenever ail rods are done, or whenever the kill flag becomes set, the program stops the 1572 and buffers a message block showing the three time values for each of the four rods and then releases.

The logic block diagram of FLTIME is shown in Fig. 26.

2 .27.4 User Instructions

FLTIME is initiated at any time by manual function 08 and is terminated by manual function 09, unless a scram occurs. Upon scramming, if all rods are released and reach the seat, the program automatically terminates when the message block is typed.

i

Page 207: WSIBf , 1 - International Nuclear Information System (INIS)

2 0 0

ORNL DWG NO 7 2 - 8 2 5

FCN. 0 8

Fig. 26. Logic Block D iagram of Program FLTIME.

Page 208: WSIBf , 1 - International Nuclear Information System (INIS)

201 '

001. 002. 0 0 3 . 0 0 4 . 0 0 5 . 006.

0 0 7 .

0089 00 A2 0088 006B

NAM FLTIME 2 / 1 0 / 7 0 VERSION ENT FLTIME EXT ER172 *DIGCON,FLOAT,FD9 EXT FL0T»Q8QFLT fQ8QFIX EQU AHEX($89)

EQU A0Ci;EC($A2) 9 ARGINF($88)

EQU KILFLG($6B)

0 0 9 . 010.

* * THIS PROGRAM MEASURES RELE AS E,RESPONSE, AND FLIGHT TIMES.

012. 0 1 3 . 0 1 4 .

0 1 5 . 016 . 0 1 7 . OiS. 0 1 9 , 020. 021 . 022. 0 2 3 . 0 2 3 . 0 2 3 . 0 2 3 .

0 2 3 . 0 2 3 .

024 e 0 2 5 . 026. 0 2 7 . 028. 0 2 9 . 0 3 0 . 0 3 1 . 0 3 2 .

0 3 3 . 0 3 4 . 0 3 5 . 0 3 6 . 0 3 7 . 0 3 8 . 0 3 9 . 0 4 0 . 0 4 1 .

0 4 2 . 0 4 3 .

POO 00 POOOl P0002 P0003 P00Q4 P0005 P0006 P0007 P0008 P0009 POOOA POOOi;* POOOC POOOB POOOE POOOF POOJO POOH P0012 P0013 POOL 4 POOl 5 P0016 PG017 P0018 P0019 POOL A POO IB POOLC POOID POOLE POOlF P0020 P0021 P0022 P0023 P0024 P0025 P0026 P0027 P0028

OAOO 606B 6800 0090 0C02 DE5F PC5E 0C01 5C0E OOOl 80BB 0063

54F4 0D55 OOOA OOOO 100E 0008 OOC1 14EA 0008 0009 7FFF OA04 OCOO 40 FF E020 5400 7FFF 5488 FFF5 0FC6 0134 C06B 0111 18F9 1848 C800 007A 682C 5488

FLTIME ENA 0 STA- KILFLG STA CLTIME CLOCK TIME I N I T I A L I Z E D .

ENQ 2 RAO* ( F9) ,Q TEMP. PATCH TO FIELD I N RAO* ( F 9 ) ENQ 1 USERS 30DE NO. RTJ* (D72) NUM 1 REQ. CODE FOR SAMPLE RATE MODE. ADC ( C L C K - * ) FOR INTERPT. RESPONSE. NUM 99 INTERRUPT EVEfiY .5 MILSEC.

READY FWRITE $E,READSW-READY- I ,MSGR-READY«l»8 ,A,5 ,5 , ,

X X

JMP- ($EA) CHANL8 NUM 8 CHANL9 NUM 9 B72 ADC DRI72 READSW ENA 4

ENQ 0 STQ- I PICK UP SCRAM RELAY. LDQ- $20 =$COOO RTJ+ DIGCON

SCRAM RTJ- (ARGINP) READ SCRAM SW ADC (CHANL8- * ) ALS 6 SW ON B I T 9 SAM SCRAMT-*-1 LDA- KILFLG SAN E X - * - l JMP* SCRAM

EX JMP* END8 SCRAMT LDA CLTIME SAVE SCRAM TIME.

STA* GOTIME STARTS RTJ- (ARGINP)

Page 209: WSIBf , 1 - International Nuclear Information System (INIS)

202 '

0 4 4 . 0 4 5 . 0 4 6 . 0 4 7 . 0 4 8 . 0 4 9 . 0 5 0 . 0 5 1 . 0 5 2 . 0 5 3 . 0 5 4 . 0 5 5 . 0 5 6 . 0 5 7 . 0 5 8 . 0 5 9 . 060. 061 . 062. 0 6 3 . 0 6 4 . 0 6 5 . 066. 067 . 068. 0 6 9 . 0 7 0 . 071 . 0 7 2 . 0 7 3 . 0 7 4 . 0 7 5 . 0 7 6 . 0 7 7 . 0 7 8 . 0 7 9 . 080. 081. 082. 0 8 3 . 0 8 4 . 0 8 5 . 086. 0 8 7 .

088. 0 8 9 . 0 9 0 . 0 9 1 . 0 9 2 . 0 9 3 . 0 9 4 . 0 9 5 .

0 9 6 .

P0029 FFEA POOSA 0864 P002B AOOA P002C 0FC7 P002 D 0822 P002E 6826 P002F B827 POO30 4826 P0031 OCOO P0032 40FF POO33 0111 P0034 1810 P0035 0C07 P0036 0FC1 P0037 0133 P0038 ODFE P0039 0177 P003A 18FB P003B 6819 P003C C864 P003D 9816 P003E 6BIE P003F C815 POO40 18F7 P0041 EOFF P0042 0141 P0043 1822 P0044 5488 P0045 FFCF P0046 0864 POO47 A006 P0048 OFCB P0049 0822 POO4A 680B P004B B80C P004C 480B P004D OCFB P004E 40FF P004F 0111 POO50 1815 P0051 OC03 POO52 18E3 P0053 0000 P0054 0001 P0055 0001 P0056 0000 POO57 0000 P0058 0004 P005C 0004 P0060 0004 P0064 7FFF P0065 C8F0 P0066 BO00 POO67 7F80 P0068 0103

ADC TCA AND- $A ALS 7

IRA Q STA* NEV8 EOR* 0LD8 STQ* 0LD8 ENQ 0 STQ-SAN

(CHANL8-*) A

SEE I F ANY NEW TIMES READY.

Y E S T I M - * - ! JMP* CK9

YESTIM LP2

AGIN

SAVTIM

ENQ ALS SAM INQ SQM

7 I

NO NEW ONES IN WD 8 , GO CK 9

CK EACH B I T

ALLCK

CK9

S A V T I M - * - ! -1 ALLCK-* - l

JMP* LP2 STA* NEW8 LDA* CLTIME SUB* GOTIME

STA* CLUTIM,B LDA* NEW8 JMP* AGIN LDQ- I SQZ C K 9 - * - l ' JMP* CKEND RTJ- SARGINP) ADC (CHANL9-*) TCA A AND- 6 ALS 11 TRA Q

SAVE THE TIME.

SEE I F OTHERS

STA* NEW9 EOR* 0LD9 STQ* 0LD9 ENQ - 4 STQ- I SAN Y E S - * - l JMP* CKEND

YES ENQ 3 JMP* LP 2

G0TIME NUM 0 BZS NEW8,NEW9

OLDS NUM 0 0LD9 NUM 0 RESTIM BZS REST IMC 4) CLUTIM BZS CLUTIMC 4) SEATIM BZS SEATIMC 4) F9 ADC FD9 CKEND LDA* OLD 8

EOR =N$7F80

SAZ ENDS - * - l

ADR FOR PATCH IN FLOAT.

SKIP I F FINISHED

Page 210: WSIBf , 1 - International Nuclear Information System (INIS)

203 '

0 9 7 . POO 69 C06B LDA- KILFLG 0 9 8 , POO 6 A 0111 SAN ENDS-* - ! 0 9 9 . P006B 18BC JMP* START8 100 . P006C 0C01 END8 ENQ 1 USERS CODE NO. 1 0 1 . P006D 5CA8 RTJ* CD72) TURN OFF 1572 102 . P006E FFFE NUM - 1 , 0 , 0

P006F 0000 P0070 0000

103 . P0071 0A04 ENA 4 1 0 4 . P0072 OCOO ENQ 0 DROP OUT SCRAM I N I T I A T E RELAY. 1 0 5 . P0073 40 FF STQ- I 1 0 6 . P0074 E032 LDQ- $32 1 0 7 . P0075 5400 X RTJ+ DIGCON

P0076 001C X 108 . P0077 0C03 ENQ 3 109 . P0078 4831 STQ* CTR 1 1 0 . P0079 4831 LP3 STQ* QSVE 111 . P007A CAE1 LDA* CLUTIM,Q PREPARE TIMES FOR TYPING 1 1 2 . P007B 5802 EN RTJ* ENTRY 1 1 3 . P007C 18FC JMP* LP3 114. P007D 0000 ENTRY NUM 0 115 . P007E 5400 X RTJ+ Q8QFLT

P007F 7FFF X 116 . P0080 5400 X RTJ+ FLOT X = ( F L 0 A T ( I X ) * 1 0 . ) / 2 . 0

P008 I 7FFF X 117 . P0082 5AD4 NUM S5AD4 CHANG E - D I V - S TOR E-TERMINATE 1 1 8 . P0083 002A ADC TWO-* 119 . P0084 0027 ADC CONST-* 1 2 0 . P0085 5400 X RTJ+ FLOAT

P003C 7FFF X 121 . POO 87 8024 ADC (CONST-*) 122 . P0088 808C ADDRES ADC ( MSG1 - * + 2 8 ) 123 . POO 89 E821 LDQ* QSVE 124 . P008A E820 BYPASS LDQ* QSVE 125 . P008B ODFE INQ - 1 126 . P008C 0174 SQM NXT0NE-+-1 127 . P008D C8FA LDA* ADDRES 1 2 8 . P008E 09F9 INA - 6 1 2 9 . P008F 68F8 STA* ADDRES 130. P0090 1CEC JMP* (ENTRY) 131 . P0091 C818 NXTONE LDA* CTR 132 . P0092 09FE INA - 1 133 . P0093 6816 STA* CTR 134 . P0094 0111 SAN NOTEND-*-! 135 . P0095 181A JMP* WRITE 136 . P0096 09FE NOTEND INA - 1 137 . P0097 0119 SAN F L I G H T - * - l 1 3 8 . P0098 COOO LDA =X(MSG2-ADDRES+28)

P0099 80 A E 139 . P009A 68ED STA* ADDRES 140 . P009B 0C03 ENQ 3 141 . P009C 480 E LP4 STQ* QSVE 1 4 2 . P009D CABA LDA* RESTIM,Q 143 . P009E 58 DE RTJ* ENTRY 144. P009F 18FC JMP* LP 4

Page 211: WSIBf , 1 - International Nuclear Information System (INIS)

204'

145 . P00A0 OOOO CLTIME NUM 0 TIME GENERATED BY 1572 INTERUPT 146 . P00A1 COOO FLIGHT LDA SX < MSG3-ADDR ES+2 8 )

P00A2 80 DO 147 . P00A3 68E4 STA* ADDRES 1 4 8 . P00A4 0C03 ENQ 3 149 . P00A5 4805 LP 5 STQ* QSVE 150 . P00A6 CAB9 LDA* SEATIM,Q 151 . POO A 7 58D5 RTJ* ENTRY 1 5 2 . P00A8 18FC JMP* LP 5 153 . P00A9 0001 BZS CTR,QSVE

POOAA 0001 154. POOAB OOOO CONST NUM 0 , 0

POOAC OOOO 155 . POOAD 4140 TWO NUM $ 4 1 4 0 , 0 W " 2

POOAE OOOO 156 . WRITE FWRITE $E,GET-WRITE-1,MSG-WRITE-J,1 3 4 T A T 8 , 6 T T X 156. POOAF 54F4 156. POOBO 0D86 156 . P00B1 0007

P00B2 OOOO 156 . P00B3 100E 156. P00B4 0086

P00B5 0027 1 5 7 . P00B6 14EA JMP- (SEA) 158 . P00B7 0A04 GET ENA 4 159 . P00B8 60 FF STA- I TURN 0FF SCRAM RELAY 160 . P00B9 E021 LDQ- $21 =$8000 161 . POOBA 5400 X RTJ+ DIGC0N

POOBB 0076 X 1 6 2 . POOBC 0C02 ENQ 2 RESTORE TEMP. PATCHES IN FLOAT 163 . P003D COOO LDA =N$A03

POOBE 0A03 164. POGBF 6EA4 CTA* ( F 9 ) , Q 165. POOCO 0906 INA 6 166 . P00C1 6CA2 STA* (F9 ) 167 . RELEAS RELEAS (FLTIME-RELEAS- I ) *T ,X 167 . P00C2 54F4 167. P00C3 1901 167. P00C4 FF3C 168 . P00C5 D6DA CLCK RAO* CLTIME 1572 INTERPT RESPONSE ROUTI 169 . P00C6 0C01 ENQ 1 170. P00C7 5C00 RTJ CD72)

P00C8 FF4D 171 . P00C9 FFFD NUM - 2 , 0 , 0 RESET 1572 INTERRPT.

POOCA OOOO r POOCB OOOO

1

172 . POOCC 14EA JMP- ( $EA) 173 . POOCD OOOO NUM 0 174 . POOCE 52 4F MSGR ALF 8,ROD TIMER READY.

POOCF 4420 POODO 5449 POOD1 4D45 P00D2 5220 P00D3 5245 P00D4 4144 P00D5 592 E

175 . P00D6 OOOO NUM 0 176. P00D7 2020 MSG ALF 3 2 , #1 #2

Page 212: WSIBf , 1 - International Nuclear Information System (INIS)

205'

POODS 2020 P00D9 2020 POODA 2020 POODB 2020 POODC 2020 POODD 2020 POODE 2020 POODF 2020 POOEO 2020 POOEI 2020 P00E2 2020 P00E3 2023 P00E4 3120 P00E5 2020 P00E6 2020 P00E7 2020 P00E8 2020 P00E9 2023 POOEA 3220 POOEB 2020 POOEC 2020 POOED 2020 POOEE 2020 POOEF 2023 POOFO 3320 P00F1 2020 P00F2 2020 POOF3 2020 P00F4 2020 P00F5 2020 P00F6 2020

177 , P00F7 OAOD 178 . P00F8 5245

P00F9 4C45 POOFA 4153 POOFB 4520 POOFC 5449 POOFD 4D45 POOFE 5320 POOFF 4152 POL00 4520 P0101 3A20 POL02 2020 P0103 2020 PQ104 2020 P0105 2020 P0106 2020 P 0 I 0 7 2020 P0108 2020 P0109 2020 P010A 2020 POLOB 2020 P010C 2020 P010D 2020 P010E 2020 P010F 2020 POL10 2020 POUl 2020

/

NUN $AOD MSG1 ALF 30,RELEASE TINES ARE S

Page 213: WSIBf , 1 - International Nuclear Information System (INIS)

206'

179 •

180* 181 ,

182*

183, 184,

POl 12 POl 13 POl 14 POl 1 5 POl 16 POl 17 POl 18 POl 19 POl 1A POl IB P011C POl ID POl IE P01 IF POl 20 P0121 POl 22 POl 23 P0124 P0125 r 0126 P0127 P0128 P0129 P012A P012B P012C P012D P012E P012F POl 30 PO! 31 POl 32 POl 33 POl 34 POl 35 POl 36 POl 37 POl 38 POl 39 P013A P013B P013C P013D P013E P013F POl 40 POl 41 POl 42 POl 43 POl 44 POl 45 POl 46 POl 47 POl 48 POl 49 P014A P014B

2020 2020 2020 2020 2020 2020 2020 OAOD 5245 5350 4F4E 5345 2054 49 4D 4553 2041 5245 3A20 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 OAOD 464C 4947 4854 2054 49 4D 4553 2041 5245 203A 2020 2020 2020 2020 2020 2020 2020

MSG2

NUM $2020,$2020,$2020

NUM $AOD ALF 30,RESPONSE TIMES ARE:

MSG 3

NUM $2020,$2020,$2020

NUM $AOD ALF 30,FLIGHT TIMES ARE s

Page 214: WSIBf , 1 - International Nuclear Information System (INIS)

207'

P014C 2020 P014D 2020 POME 2020 POMF 2020 POl 50 2020 POl51 2020 POl52 2020 POl53 2020 POl54 2020 POl55 2020 POI56 2020 POI57 2020 POl58 2020 POl 59 2020 P0I5A 2020 P015B 2020 P015C 2020

NUM $2020 ,$2020 ,$2020

END

Page 215: WSIBf , 1 - International Nuclear Information System (INIS)

208

2.28 FRYKIL

2 .31 .1 Class ification

On-line/drum resident/assembly language/nonreentrant/relocatable

2.28.2 Purpose

FRYKIL sets abort (also called kill or terminate) request flags in locations $6A and $6B.

2.28.3 Description

On first entry, the program sets location $6B. On the second entry, the program sets location $6A. The multiple entries enables FRYKIL to serve as a dual abort request function for program PSDIO. The first entry terminates the power spectral density plotting routine, and the second entry terminates the power spectral density typing routine. Location $6A is also used to terminate other programs.

The logic block diagram of FRYKIL is shown in Fig. 27.

2.28.4 User Instructions

FRYKIL is executed by manual function 09. Two entries are required to set both kill flags.

2.28.5 Relationship to Other Programs

FRYKIL sets abort request flags for programs DATPLT, PROJCT, PSDIO, PLTCAL, and FLTIME.

2.28.6 Change Considerations

Locations $6A and $6B must not be. changed unless rectified with the above re-lated programs.

Page 216: WSIBf , 1 - International Nuclear Information System (INIS)

209

ORNL DWG NO. 7 2 - 8 1 1

FCN. -09

Page 217: WSIBf , 1 - International Nuclear Information System (INIS)

210'

0 0 1 , NAP) FRYKIL 002 * 0031 * REV, 9 / 2 / 7 1 10 RESET PR0JECT BUSY FLG <$7F9F) 0 0 4 . * AND PROVIDE MESSAGE 0 0 5 . * 0 0 6 . * THIS PROGRAM STOPS TYPING OF PSD ON FIRST 007 . * ENTRY , THEN STOPS THE PLOT FUNCTION ON 0 0 8 . * SECOND ENTRY. 0 0 9 . * ALSO USED TO KILL: 0 1 0 . * PROJECT 011 . * ALL PLOTTING ROUTINES 012 . * TIME OF FLIGHT 01 3 . 006A EQU KILL($6A) ,TYPKIL<$6B)

006B

015 . POOOO C06B FRYKIL LDA- TYPKIL 01 6 . P0001 0103 SAZ 0 U T - * - l 0 1 7 . P0002 606A STA- KILL 0 1 8 . P0003 0844 CLR A 0 1 9 . P0004 1803 JMP* TY 020 . * 0 2 1 . * 0 2 2 . P0005 0A01 OUT ENA 1 0 2 3 . P0006 606B STA- TYPKIL 024 . TY FVRITE $E,REL-0 2 4 . P0007 54F4 0 2 4 . P0008 0D66 024 . P0009 OOOA

POOOA OOOO 024 . POOOB 100E 0 2 4 . POOOC 0015

POOOD OOOF 0 2 5 . POOOE OAOO ENA 0 026 . POOOF 6400 STA+ $7F9F

POOIO 7F9F 0 2 7 . POOl I 14EA JMP- (SEA) 0 2 8 , REL RELEAS CFRYKI1 0 2 8 . P0012 54F4 0 2 8 . POOl 3 1901 0 2 8 . POOl 4 FFEC 0 2 9 . POOl 5 14EA JMP- ($EA> 0 3 0 . POOl 6 OOOO NUM 0 031 . POO 17 4142 MS ALF 21„ABORT

POOl 8 4F52 P0019 5420 POOl A 5245 P001B 5155 P001C 4553 POOl D 5445 P001E 4420 P001F 464F P0020 5220 P0021 4643 P0022 4E53 P0023 2D30 P0024 322C P0025 3033 P0026 2 C30

RESET PROJECT BUSY FLAG

21 j,ABORT REQUESTED FOR F C N S - 0 2 , 0 3 , 0 7 , 0 8 , 2 6

Page 218: WSIBf , 1 - International Nuclear Information System (INIS)

P0027 372C P0028 3038 P0029 2C32 P002A 362C P002B 3237

Page 219: WSIBf , 1 - International Nuclear Information System (INIS)

212

2.29 FRYLIN

2.31 .1 Class ification

On-line/drum resident/assembly language/nonreentrant/relocatable

2.29.2 Purpose

FRYLIN provides for automatic execution of the power spectral density routine BULKRY. In addition, the program reads an input value from high-level channel 14 connected to a single-channel noise analyzer. The program averages frequency channels 5 through 20 from the BULKRY calculation and saves the integrated average value of the power spectral density for comparison to the single-channel analog noise analyzer.

2.29.3 Description

The program first checks for manual use of the BULKRY program. If it is currently in use, a 1-min timer call is made for reentry to this program. If it is not, the program sets an indicator that it is in operation so that no manual use of the BULKRY program is possible. A single value is read from the analog noise analyzer and scved in common location $7F4!. A message is typed to the operator to prevent rod movement during the data gathering period. An 8-hr timer call is made for FRYLIN to automatically continue it» execution on an 8-hr basis. Preset values are loaded in the parameter list for the standard frequency for this case and the 1572 high-speed timer is initiated to gather noise data for the BULKRY analysis.

The logic block diagram of FRYLIN is shown in Fig. 28.

2.29.4 Relationship to Other Programs

FRYLIN uses AUTBSY and MANBSY indicators in program MUXBUF. FRYLIN also sets up the parameter list (PAMLST) in MUXBUF for the selected scan rate and block size for this case. When in service, the initial FRYLIN timer -all is made by program GDUP.

Page 220: WSIBf , 1 - International Nuclear Information System (INIS)

GIDYUP

, NO. - MESSAGES 1-- TAKING NOISE DATA. PLEASE DON'T MOVE RODS.

Fig. 28. Logic Block Diagro.n of Program FRYLIN.

Page 221: WSIBf , 1 - International Nuclear Information System (INIS)

214'

0 0 1 . 0 0 2 , 003 •

NAM FRYLIN * REV 9 / 3 0 / 7 1 TO SET FRYLN =$7F42 IN C0MM0N .

0 0 5 . 006.

* TO RUN PSD 0N A TIMER CALL AND SAVE AN AVG. * VALUE 0F SEVERAL CHNLS. I N C0MM0N SAVE.

008. 0 0 9 . 010 . 7F42

EXT MANBSYfAUTBSY ,FRYLIN,RDPT,C0NECT EXT PAMLST,DRI72,Q 8QFLT

EQU FRYLN ($7F42 )

0 1 2 .

01 3 . 0 1 4 . 0 1 4 . 0 1 4 . 0 1 4 . 0 1 5 . 016. 0 1 7 . 018. 0 1 9 . 020.

021 . 022. 0 2 3 . 0 2 4 .

0 2 5 . 025 . 0 2 5 . 02 5 .

0 2 5 . 02 5.

026. 0 2 7 . 0 2 7 . 0 2 7 . 027 » 028. 0 2 9 .

030 . 031 . 632. 0 3 3 . 034 . 0 3 5 .

POOOO P0001 P0002

P0003 P0004 P0005 P0006 P0007 P0008 P0009 POOOA POOOB POOOC POOOD POOOE POOOF P0010 POOI 1 P0012

POOI 3 POOI 4 POOI 5 POOI 6 POO 17 P0018 POO 19 POOI A

POOIB P001C POOI D POOIE P001F P0020 2*0021 P0022 P0023 :P0024 P0025 P0026

C400 7FFF 0105

54F4 1033 FFFF 0000 1824 0A01 6400 7FFF OAOE 5400 7FFF 0161 18F3 0FC4 6400 7F42

54F4 0D33 0007 0000 100E 001B 0039 14EA

54F4 1033 8005 OlDF COOO 7FFF 09FA 60 FF E807 CA1C 6301 0DF4

X X

FRY0N IDA MANBSY

AGN

TR X X

X X

G0

0K

TI

X X

LP

SAZ T R - * - l TIMER (FRYLIN) , 3 , 0 , 3

NUM 0 JMP* REL ENA 1 STA AUTBSY

ENA 14 RTJ RDPT

SQP G0-+-1 JMP* AGN ALS 4 STA FRYLN

C0ME BACK AND RUN IN 1 . 0 M I N .

FULL SCALE F0R 5 V . SAVE I N C0MM0N.

FWRITE $ E , T I - 0 K - 1 , M S G - 0 X - 1 , 2 7 , A , 3 , 3 , , X

JMP- (SEA) TIMER (FRYLIN) , 3 , 0 , 3

NUM 479 = 8 . 0 HRS. LDA =XPAMLST

INA - 5 STA- I LDQ* QR LDA* MUXN0M.Q STA- 1,B INQ - 1 1

INDEX T0 BUFCTR I N MUXBUF

TXFR TO PAMLIST

Page 222: WSIBf , 1 - International Nuclear Information System (INIS)

215'

036. P0027 0146 0 3 7 . P0028 D802 038 . P0029 18F9 0 3 9 . P002A 0000 0 4 0 .

QR NUM 0 REL RELEAS ( FRY0N-REL-1 > , T , X

SQZ DN - * - l RAO* QR JMP* LP

0 4 0 . P002 B 54F4 0 4 0 . P002C 1901 0 4 0 . P002 D FFD3 0 4 1 . P002E 0C02 0 4 2 . P002F 5C10 0 4 3 . P0030 FFFE

DN ENQ 2 1572 CODE # FOR MUXBUF RTJ* (D72) NUM - 1 , 0 , 0

P0031 OOOO POO32 OOOO

0 4 4 . P0033 0C03 0 4 5 . P0034 COOO

ENQ 3 LDA =N$D40 COMPUTE REG. FOR DESIRED SCANRA

P0035 0D40 0 4 6 . P0036 3000

P0037 0400 DVI =N 1024 THE SCANRATE IN PPS

0 4 7 . P0038 6805 0 4 8 . P0039 0C02 0 4 9 . P003A 5C05 0 5 0 . P003B 0001

STA* REG72 ENQ 2 RTJ* (D72) NUM 1 ADC CONECT 051 . P003C 7FFF X

0 5 2 . P003D OOOO 0 5 3 . P003E 18EC

REG 72 NUM 0 JMP* REL

0 5 4 . P003F 7FFF X D72 ADC DRI72 055 . POO40 0001 MUXNOM NUM 1 , 0 , 1 0 , 0 , 1 0 , $ 1 0 0 , $ 4 0 0 , $ 3 A , $ 2 8 1 0

P0041 OOOO P0042 OOOA P0043 OOOO P0044 OOOA P0045 0100 P0046 0400 P0047 003A P0048 2810

0 5 6 . P0049 517A SCANR NUM $517A ,$E2F,$2 58 P004A 0E2F P004B 0258

0 5 7 . * STARTING WITH BUFCTR AND ENDING WITH NUM3UF. 0 5 8 . P004C OOOO NUM 0 0 5 9 . P004D 5441 MSG ALF 27,TAKING NOISE DATA. PLEASE DON'T MOVE RO

P004E 4B49 P004F 4E47 P0050 204E P0051 4F49 P0052 5345 P0053 2044 P0054 4154 P0055 4 I 2 E P0056 2050 P0057 4C45 P0058 4153 P0059 4520 P005A 444F P005B 4E27 P005C 5420 P005D 4D4F P005E 5645

Page 223: WSIBf , 1 - International Nuclear Information System (INIS)

P005F 2052 P0060 4F44 P0061 5320 ^0062 464F P0063 5220 P0064 3930 P0065 2053 P0066 4543 P0067 532E

060 . *

216

END

Page 224: WSIBf , 1 - International Nuclear Information System (INIS)

217

2.30 FTNFIX

2 .31 .1 Class ification

On-line/core resident/assembly language/nonreentrant/relocatable

2.30.2 Purpose

FTNFIX provides the capability of compiling source material from the drum edit area on drum $F. There are two entries: Entry 1 calculates the absolute address of the Fortran input buffer into which the source is to be transferred from the edit area, and Entry 2 modifies the input request code from format read to binary read. This modifica-tion with reference to MSB/LSB changes the input read request of the compiler from paper-tape read to drum transfer.

2.30.3 Description

Upon entry, FTNFIX calculates the address of the Fortran input buffer as $106A plus the beginning of unprotected core minus 1. This number is stored in the starting buffer address in low core cell $57. The reader returns with the address and with the A register containing the reader request code $800. DRMCAL is the entry for drum request reads, and it checks to determine whether unit 9 is requested; if it is, the pro-gram returns. If it is not, the test for unit 14 is made. If unit 14 is requested, it is set equal to 9, and the program returns. Otherwise, the input unit is assumed to be the drum (unit 5). The program then increases the LSB pointer for the next line of source material.

The logic block diagram of FTNFIX is shown in Fig. 29.

Page 225: WSIBf , 1 - International Nuclear Information System (INIS)

218

ORNL DWG NO. 72-850

Fig. 29. Logic Block Diagram of Program FTNFIX.

Page 226: WSIBf , 1 - International Nuclear Information System (INIS)

219'

001. NAM 002 . ENT 003. 0800 EQU

0200 004 . 0026 EQU

0011 0057

005. 0058 EQU 0059 0024

FTNFIX REV 1 / 1 5 / 7 1 FTNFIXtDRMCAL PARAB($800)»PARAC($200)

BMP <38),SEVEN F ( $ 1 1 ) f STRADR < $57)

MSB C $5 8 ) ,LSB($59 ) ,RTN(36 )

007 . * ROUTINE ADDED 10 END OF FORTPl PROVIDING 0 0 8 . * ABILITY TO COMPILE FROM DRUM USING EDIT

010 . POOOO 0000 FTNFIX 0 0 ENTRY FOR READER & TTY CALLS 01 1. P0001 C0F7 LDA- $F7 BEGINNING OF UNPROTECTED-1. 012 . P0002 8000 ADD =N$106A ADC OF FTN BUFFER.

P0003 106A 0 1 3 . P0004 6057 STA- STR ADR 0 1 4 . P0005 COOO LDA sXPARAB READ REQUEST

P0006 0800 0 1 5 . P0007 1CF8 JMP* (FTNFIX)

0 1 7 . THIS ENTRY IS FOR BRUM CALLS

0 1 9 . P0008 0000 DRMCAL 0 0 0 2 0 . P0009 09FB INA - 4 021 . POOOA 0105 SAZ OUT- * - l 022 . POOOB 09F A INA - 5 023. POOOC 0114 SAN G 0 - * - l 024 . POOOD 0A09 ENA 9 I F REQUESTED 14 9 GIVE 9 025 . POOOE 0C27 ENQ $27 STORE 9 INTO REQUEST 026 . POOOF 6EF8 STA* (DRMCAL) 027 . POO 10 ICF7 OUT JMP* (DRMCAL) 028 . POOU C059 GO LDA- LSB 0 2 9 . P0012 0926 INA BMP INCREMENT FOR NEXT TIME 030 . P0013 0122 SAP DONE-*-! 031 . POOU DO 58 RAO- MSB 032 . POO 15 A011 AND- SEVENF 033 . POO 16 6059 DONE STA- LSB 0 3 4 . POO 17 COOO LDA sXPARAC

P0018 0200 0 3 5 . P0019 0C24 ENQ RTN 0 3 6 . POOI A 6EED STA* (CRMCAL) •Q 0 3 7 . P001B 1CEC JMP* (BRMCAL) 0 3 8 . * END

INSTEAD

Page 227: WSIBf , 1 - International Nuclear Information System (INIS)

220

2.31 FUN4

2.31.1 Class ification

On-line/drum resident/assembly language/nonreentrant/relocatable

2.31.2 Purpose

FUN4 is the manual function 4 response routine that interrogates the AUTBSY flag of MUXBUF and initiates the operation of the noise analysis data gathering program by calling STATGO.

2.3? .3 Description

FUN4 interrogates the right-hand digiswitch for the number of channels of input data requested (1 or 2). If more than one channel is requested, the program currently types out an error message and releases. Otherwise, the AUTBSY flag is checked, and, if it is found set by FRYLIN, a busy message is typed and the program is released. If FRYLIN is not currently in execution, as indicated by a clear AUTBSY flog, FUN4 will set the MANBSY flag. A directory scheduler request for BULKRY is then constructed and loaded into MUXBUF at entry point DIRSCH. A scheduler request is then made for program STATGO, and the program FUN4 is released.

The logic block diagram of FUN4 is shown in Fig. 30.

2.31.4 User Instructions

The noise analysis program is requested by manual function 4. The right-hand digiswitch sign is set to a minus for single-channel analysis. (A plus sign is reserved for dual-channel analysis, although this is not currently available.) The numerical value of the right-hand digiswitch is the number of 100-word buffers to be recorded and stored on drum memory starting at location $A/0. The left-hand digiswitch contains the re-quested scan rate for the data-taking process. The scan rate in points per second is entered in the left-hand digiswitch, right-justified, and may not exceed 2048. The block size for the fast Fourier transform is indicated by the left-most digit of the left-hand digiswitch. The number 9 corresponds to the maximum block size of 2048. Reduc-ing this number by 1 results in halving the block size. The sign of the left-hand digiswitch controls the plot scaling of the output data.

2.31.5 Relationship to Other Programs

FUN4 uses entry points AUTBSY, MANBSY, and DIRSCH in program MUXBUF. STATGO and BULKRY are two directory resident programs scheduled or referenced by FUN4.

Page 228: WSIBf , 1 - International Nuclear Information System (INIS)

221

ORNL DWG NO. 72-847

MAN. FCN-4

NO. MESSAGES 1 CHK.SIGN RH SWITCH 2 PDS BUSY TRY LATER

Fig. 30. Logic Block Diagram of Program FUN4.

Page 229: WSIBf , 1 - International Nuclear Information System (INIS)

222

001. 002. 003.

005.

007. 008. 009.

010. 011. 012. 013.

014. 015. 016© 017. 018.

019. 020. 021 . 022. 022. 022. 022. 023. 024. 024. 024. 024.

024. 024.

025. 026. 027. 028. 028. 028. 028. 029 . 029. 029. 029.

029. }9 .

030. 031 . 032.

P0000 POOOl P0002 P0003 P0004 P0005 P0006 P0007 P0008 P0009 POOOA* POOOB POOOC POOOD POOOC POOOF P0010 POOH

C204 012F C 400 7FFF 0101 1S1E 0A01 6400 7FFF C816 6C14 OAFE 60FF COOO 1203 6D0F 1802 1805

X X

P0016 P0017 P0018 POO 19 P001A POO IB P001C P001D POOIE POO IF

P0020 54F4 P0021 1901 P0022 FFDE

P0023 P0024 P0025 P0026 P0027 P0028 P0029 P002A P002B P002C P002D P002E P002F

54F4 0D53 7FFB 0000 100E OOOA 0012 14EA 0000 4348 4B20 5349 47 4E

NAN FUN4 REVISED 4/8/69 ENT FUN4 EXT BULKRY,DIRSCH,STATG0fAUTBSY.MANBSY

RESPONSE R0UT1NE F0R PSD REQUEST.

P0012 54F4 P0013 1206 POO14 FFFF X P0015 180B

FUN4 LDA- 4,Q SAP B A D - 1 LDA+ AUTBSY

SAZ N0TBSY-*-l JMP* BUSY

N0TBSY ENA 1 STA+ MANBSY

LDA* BUDIR ST A* (DIR) ENA -1 STA- I LDA =N $1 203

STA* (DIR),I JMP* SCH

BAD JMP* PTB SCH SCHDLE (STATG0)f6

C0NINT TABLE L0C IN Q CK, N0. 0F CHANNELS REQUESTE

SEE IF AUT0 PR06 IN USE

GET BULKRY DIR INDEX

SCH CALL PRI0RITY F0R BULKR

54F4 0D53 0009 0000 100E 0009 0015 14EA 7FFF X FFFF X

JMP* REL PTB FVRITE $E,REL-PTB-I,MSG-PTB-I,9,Af5,3, ,X

JMP- (SEA) DIR ADC DIRSCH BUDIR ADC (BULKRY) REL RELEAS (FUN4-REL-1),TtX

BUSY FWRITE $E»REL-BUSY-1fMSGl-BUSY-lt10,A,5f3t,X

MSG

JMP- ($EA) NUM 0 ALF 9,CHK SIGN RK SWTCH!

Page 230: WSIBf , 1 - International Nuclear Information System (INIS)

223'

P0030 2052 P0031 4820 POO32 5357 P0033 5443 P0034 4821

033 . P0035 OOOO NUM 0 034 . P0036 5053 MSG1 ALF 10,PSD-BUSYt TRY LATER.

P0037 442D P0038 4255 P0039 5359 POO3A 2C20 P003B 5452 P003C 5920 P003D 4 C41 P003E 5445 P003F 522E

035 . * END

Page 231: WSIBf , 1 - International Nuclear Information System (INIS)

224

2.32 FXCHRS

2 .31 .1 Class ification

Special/drum-resident/assembly language/nonreentrant/relocatable

2.32.2 Purpose

FXCHRS is a special program used at system rebuild time to absolutize the addresses of program CHRIS. The program also transfers the binary image of the CHRIS program from the preload area on drum $F to the area assigned by the system initializer.

2.32.3 Description

FXCHRS is named program CHRIS and is loaded in the library under the directory index for CHRIS. After the system rebuild, this program is executed using the S/80XX option in MIPRO. Upon execution, the program uses the directory index for CHRIS to find the sector address to calculate the MSB/LSB; then it uses this drum LSB address to increase all values in the BLK 1 table of the FXCHRS fix program. The binary copy of CHRIS is read from drum $F/2400 and written onto the appropriate MS/LS for CHRIS. The BLK 1 corrections are transferred to the appropriate locations of the CHRIS program, and the FXCHRS program is released.

The logic block diagram of FXCHRS is shown in Fig. 31.

Page 232: WSIBf , 1 - International Nuclear Information System (INIS)

225

ORNL DWG NO. 72-850

MIPRO S/80XX

Fig. 29. Logic Block Diagram of Program FTNFIX.

Page 233: WSIBf , 1 - International Nuclear Information System (INIS)

226

001 , 002 . 005, 004. oo'n 00,-s. 007 . 003. 009 • 010, o n . 0 1 2 • 0J53. D M .

015. 016. G17. 018 • (»19. 020. '321 • 022. 023. 024. 025. 026. 027. 027. 027. 027.

027. 027.

023. 029. 030. 031 . 032. 033.

034. 035. 036.

037. 038. 039. 039. 039. 039.

039. 039.

040.

P0000 P0001 P0002 P0003 P0004 P0005 P0006 P0007 P0008 P0009 P000A P000B POOOC POOOD POOOE POOOF P0010 POOH P0012 P0013

P0014 P001 5 P0016 POO 17 P0018 P0019 P001A P001B P001C P001D P001E P001F P0020 P0021 P0022 P0023 P0024 P0025 P0026 P0027

P0028 P0029 P002A P002B P002C P002D P002E P002F

0813 AO 42 8000 0006 0822 C6EB 2000 0060 0FE1 OFCF 4825 6825 OC 17 ODFE 0175 C821 8A25 6A2 4 18 FA FFFF

54F4 0343 0009 0000 0005 0667 0055 OOOF 2400 14EA OAOO 60 FF E900 002E 0145 C912 6AOO 0045 DOFF 18F8

54F4 0543 0009 0000 0005 0667 0041 0000

NAM CHRIS REV. 2/12/71 * THIS PR0GRAM IS USED AT REBUILD TIME TO FIX * THE PR0GRAM RELOCATABLE ADD. IN CHRIS. *A BINARY 0F CHRIS IS PREL0ADED AT F/2400. •THIS PR0G IS L0ADED IN PLACE 0F CHRIS 0N *YM * SEQUENCE. AN S/SOXX IS USED T0 RUN IT. ******************************* ******************

EXT CHRIS GET DIR. INDEX =$7FFF, CLR BIT 15

FXCHRS LDA* CHDIR AND- $42 ADD =N6

LP1

CHDIR DN

RDD

LP2

DP

IRA Q LDA- ($EB),Q MUI =N96

GET SECT0R FRM DRM C0NVERT DRM ADR.

LLS 1 ALS 15 STQ* MSB STA* LSB ENQ $17 INQ -1 SQM DN -*-l LDA* LSB ADD* BLK1,Q STA* BLK1,Q JMP* LP 1 ADC (CHRIS) READ 5 tRDD-DN-1,00 PY-DN-1f $667,B,4,3 f,X

NUM $F CHRIS BINARY IS PRE-L0ADED AT NUM $2400 F/2400tBEF0RE RUNNING THIS, JMP- (SEA) ENA 0 S T A -LDQ

I INDfl

SQZ DP-+-1 LDA* BLK19I STA C0PYfQ

RA0- I JMP* LP2 WRITE 5.REL-DP-1.C0PY-DP-1,$667,B ,4,3,,X

MSB NUM 0

Page 234: WSIBf , 1 - International Nuclear Information System (INIS)

041 . P0030 OOOO 042. P0031 14EA 043, 043 , POO 32 54F4 043 , P0033 1901 043, POO 34 FFCC 044 , P0035 02 CB

P0036 036F P0037 0301 P0038 03F8 P0039 0446 P003A 0489 P003B 0506

045, P003C 0567 P003D 062 D P003E 0072 P003F 00B5 P0040 00E1 P0041 Oi lB POO 42 0162

046 , P0043 01C1 P0044 01C1 P0045 020 F P0046 024D P0047 024D P0048 02 4D

0 4 7 , P0049 0567 P004A 0489 P004B 02 ED P004C 0002 P004D 0002 P004E 0002

048 , P004F 002 F POO 50 0030 P0051 0031 POO 52 0032 P0053 0033 P0054 0034 P0055 0035 POO 56 0036 POO 57 0037

0 4 9 . P0058 003E POO 59 00A6 POO 5 A 00A7 P005B 00A8 P005C 00A9 P005D OOAA P005E OOAB P005F OOAC POO 60 OOAD

050 , P0061 OOAE P0062 00 AF P0063 02 5F P0064 02BD P0065 02 CF P0066 04E0 P0067 05C2 P0068 0632

227'

LSB NUM 0 JMP- (SEA)

REL RELEAS (FXCHRS-REL-1)9T,X

BLK1 NUM $2CB 9 $36F 9 $3C1 9 $3F8 9 $446 9 $489 9 $506

NUM $567 9 $62 D9 $72 9 $B5 9 $E 1 9 $ 11B 9 $ 162

NUM $ l C i , $ l C l , $ 2 0 F , $ 2 4 D , $ 2 4 D , $ 2 4 D

NUM $ 5 6 7 , $ 4 8 9 , $ 2 S D , 2 , 2 , 2

IND NUM $2F 9 $30 9 $31 9 $32 9 $33 9 $34 9 $35 9 $36 9 $37

NUM $3E9$A69$A79$A89$A99$AA9$AB 9$AC 9$AD

N UM $AE 9$AF 9$25F 9$2BD 9$2CF 9$4E0,$5C2,$632,0

Page 235: WSIBf , 1 - International Nuclear Information System (INIS)

228'

P0069 OOOO 051 • P006A 0635 BSS C0PY($635) SPACE F0R CHRIS BINARY, 052, * END

Page 236: WSIBf , 1 - International Nuclear Information System (INIS)

229

2.33 GADAT

2 .31 .1 Class ification

On-line/drum resident/Fortran language/nonreentrant/relocatable

2.33.2 Purpose

GADAT is the third in a series of programs that calculates the average reactor power level. It uses 30 values of primary flow rate, core inlet temperature, and core outlet temperature to calculate a 30-sec average for the reactor power level. This value is then displayed in engineering units in the window of the operator's console.

2.33.3 Description

GADAT is scheduled by GETDAT at priority level 5, and, upon entry, uses the contents of the Q register to locate the values accumulated by GETDAT. These values are transferred into a GADAT data block, and the average value of the reactor power is calculated using the same algorithm used by program POWAVG. After the value is calculated, the number is converted and displayed in engineering units, using the sub-routine DPLAY. The program is then released.

The logic block diagram of GADAT is shown in Fig. 32.

2.33.4 Relationship to Other Programs

GADAT is the last program in a series of three. It is scheduled by GETDAT, which was scheduled by SWENTR. GADAT is listed in the system directory under the name "ADAT."

Page 237: WSIBf , 1 - International Nuclear Information System (INIS)

230

ORNL DWG NO. 72-811

GETDAT

USE 0 TO XFR DATA

FROM GETDAT

CALC. AVG. HEAT POWER ALL CHNLS.

CONVERT FOR DIGITAL

DISPLAY

OUT PUT TO CONSOLE VIA

DPLAY

GD Fig. 32. Logic Block Diagram of Program GADAT.

Page 238: WSIBf , 1 - International Nuclear Information System (INIS)

231'

PROGRAM GADAT C COMPILE RELOCATABLE******* CALLED BY GDAT EA. 30 SECS* C GADAT THEN USES DATA FROM GDAT TO CALC* MW FOR DPLAY* C GADAT IS LISTED IN IKE DIR AS ADAT*

EXTERNAL DPLAY DIMENSION IADRC1) 9 1T IN(30 ) t ITEX(30 ) ,1FLOW(30) ASSEM $40FF 9$C5A 9$C722 f$6A00 9 IADR fSDFE,$17l f$l8FA TINT0T=O. TEXTOTsO. FLOWTsO. DO 1 J = 1 ,30 TINT0T = FLOAT* IT iN(J}} •«- TINTOT TEX TOT = FLOAT( ITEX(J ) ) + TEX TOT

I FLOWT = FLOAT(IFLOW(J)) • FLOWT TINTOT=TIN TOT/300. TEXTO T sTEXTOT/300* HP0Ws(*9957* (TEXT0T-TINT0T>- .28O5)*FL0WT/ (3O.* (3 .553E-5

1*TINT0T+ ,116657) * 5 .688E+4) JP0W :HP0W*1O. ASSEM $C8OO f*9*(,JP0V)9$54A29$O9$O9$O*$8429$FEC»$FCC

2 » $8000 9 SBOOO , $FF8 9 $4804 9 $6804 9 $5400 9 + DPLAY 9 $0 » $0 CALL RELESE (GADAT)

END

Page 239: WSIBf , 1 - International Nuclear Information System (INIS)

232

2.34 GEOF

2 . 3 1 . 1 Class ification

On-line/drum resident/assembly language/nonreentrant/relocatable

3.34.2 Purpose

This program saves the current second and minute data on drum $E by transferring the data to drum $C and punching the data on the paper-tape punch. The program is executed 8 min after an annunciator safety trip that contains two or more of the same trips is detected by the ANNBLK program.

2.34.3 Description

GEOF is entered by a timer call from ANNBLK at priority level 6 . The program first transfers the current drum LSB data pointers from $7F50-53 to $7F60-63. These values are converted to ASCII, and typed on the control room message typewriter. The entire black of 1-sec and 1-min data is transferred from drum $E to drum $C. The transfer is accomplished by repeating a series of $100-word block transfers. After the transfer is finished, the program punches a leader and the complement of the data block length on the paper-tape punch. After all data have been punched in a form that can be read by the CHRIS program/ the program clears busy flog BZ2 in the ANNUNC program.

The logic block diagram of GEOF is shown in Fig. 33.

2.34.4 Relationship to Other Programs

GEOF assumes that common locations $7F50 and $7F51 contain Hie current value of the saved data LSB. The program is listed in the program directory, which must be fixed by the PATCH program after each system rebuild to increase the program length by $100 words. The program is nonreentrant and prevents reentrance by setting busy flag BZ2 in program ANNUNC.

2.34.5 Change Considerations

GEOF is assembled $100 words shorter than the operational length. The length of the program directory must be increased following each system rebuild.

Page 240: WSIBf , 1 - International Nuclear Information System (INIS)

233

ORNL DWG NO 72-819

ANNBLK

Fig. 33. Logic Block Diagram of Program GEOF

Page 241: WSIBf , 1 - International Nuclear Information System (INIS)

234

001 . 002 . 003 . 004 . 005 . 0 0 6 . 7F50

0100 007 . 0089 008 . 009 . 010 , P0000 0003 0 1 1 . P0001 C600

P0002 7F50 012* P0003 460A 0 1 3 , P0004 5489 014* P0005 8085 0 1 5 . P0006 E8FE 0 1 6 . P0007 0D02 017 . P0008 48FC 018 • P0009 E804 019 . POOOA OOFE 020* POOOB 0142 021* POOOC 18F4 022. POOOD OOOO 023 . 023* POOOE 54F4 023 . POOOF 0080 0 2 3 . POOIO OOOO

POO11 OOOO 023 . P0012 100E 023* POO13 OOOF

POOl4 0072 024* 0 2 4 . POOl5 54F4 024« POOIS 0380 024* POOl7 OOOO

POOl8 OOOO 024 . P0019 0005 0 2 4 . POOlA 0100

P001B 0074 0 2 5 . P001C OOOE 0 2 6 . POOlD OOOO 0 2 7 . POO IE C8F9 028 . POOIF 0101 0 2 9 . p0020 18FD 030* 030* P0021 54F4 030* P0022 0540 030* P0023 OOOO

P0024 OOOO 030* P0025 0005 030 . P0026 0100

P0027 0068 0 3 1 . P0028 OOOC 0 3 2 . P0029 OOOO 0 3 3 . P002A C8F9

NAN GEOF 2 / 1 2 / 7 0 * THIS I S SCHEDULED BY ANNBLK WHEN 2 / 3 0R PHI/FL0 * ANNUNCIATORS ARE TRIPPED.8 MIN AFTER 1RIP. THIS * TRANSFERS SEC.&MIN. DATA FROM DRUM E TO Cv THEN * PUNCHES DRUM C. TAPE GOOD FOR CHRIS.

EQU LIVEC $7F50),LEN<256)

START LP

BF

QS WR

EQU AHEX($89) EXT BZ2 MADE LENGTH $100 LONGER IN THE DWORD TABLE FOR ENQ 3 LDA LIVE»Q

STQ* QS RTJ- (AHEX) ADC (BUF-* ) LDQ* BF INQ 2 STQ* BF LDQ* QS INQ - 1 SQZ WR-*-1 JMP* LP NUM 0 FWRITE $ E , t M S G - W R - l f 1 5 f A f 8 t f f X

SAVE Q. CONVERT TO ASCHII .

SET BUF POINTER

3 WORDS READ7

DRMRD READ 5 , .BUF-DRMRD-I p LEN,B t 8, , 9 X

NUN $E LSBRD NUN 0

LDA* DRMRD+3 SAZ 1 JMP* * « 2

DRMWR WRITE 5 f ,BUF-DRMWR-< fLEN fB,4 0 f tX

NUM $C ISBWR NUM 0

LDA* DRMWR+3

Page 242: WSIBf , 1 - International Nuclear Information System (INIS)

235'

0 3 4 . P002B 0101 035* P002C 18FD 036* P002D C8EF 0 3 7 . P002E 8000

P002F 0100 0 3 8 . POO30 68EC 039• P003I 68F7 0 4 0 . POO32 9000

P0033 2000 0 4 1 . P0034 0121 0 4 2 . P0035 18 DF 043 . P0036 COOO

P0037 D2FF 0 4 4 . POO38 681F 0 4 5 . P0039 6800

POO3A 014F 0 4 6 . P003B £000

P003C 00 FE 0 4 7 . P003D OAOO 0 4 8 . F003E 6A4C 0 4 9 . P003F 0142 050 . P0040 ODFE 0 5 1 . P0041 18FC 052 . POO42 1817 0 5 3 . 0 5 3 . POO43 54F4 053 . POO44 0380 053 . P0045 OOOO

P0046 OOOO 053 . POO47 0005 0 5 3 . POO48 0100

P0049 0046 0 5 4 . P004A OOOC 055 . P004B FEFF 0 5 6 . P004C C8F9 0 5 7 . P0040 0101 0 5 8 . P004E 18FD 0 5 9 . P004F EOOO

POO50 OOFF 060 . P0051 C806 0 6 1 . POO52 8A38 0 6 2 . POO53 OOFE 0 6 3 . POO54 0173 064 . P0055 18FC 0 6 5 . POO56 OOOO 0 6 6 . P0057 OOOO 0 6 7 . POO58 68FE 068. 0 6 8 . POO59 54F4 0 6 8 . POO5A 0583 0 6 8 . P005B 0007

P005C OOOO 0 6 8 . POO50 0003 0 6 8 . P005E 0100

P005F 0030

LEAD

LEADS

PU RD

SAZ 1 JMP* * - 2 IDA* LSBRD ADD =XLEN

STA* LSBRD STA* LSBWR SUB =N$2D00

SAP LEAD-* - l JMP* DRMRD LDA =N$D2FF

STA* CKSUM STA BUF+SFF

LDQ =N$FE

ENA 0 STA* BUF9Q SQZ P U - * - i INQ - I JMP* LEADR JMP* PUNCH READ 599BUF-RD

SEC. & WIN, DATA : 0 - 2 0 0 0

= COMPLEMENT 0F $2000

FOR CHRIS.

NUM SC RDLSB NUM - S i 0 0

LDA* RD+3 SAZ 1 JMP* * - 2 LDQ sNSFF

LDA* CKSUM CKLP ADD* BUF9Q

INQ - 1 SQM SAVE- * - l JMP* CKLP

TRFLG NUM 0 CKSUM NUM 0 SAVE STA* CKSUM PUNCH WRITE 3 fOOM-PUNCH-lVBUF"PUNCK-I,LEN9B989399X

THIS COMPUTES A CHECKSUM IB MAKE OUTPUT TAPE C0MPATABLE WITH CHRIS.

TRAILER FLAG.

Page 243: WSIBf , 1 - International Nuclear Information System (INIS)

236'

069 . POO 60 14EA JMP- (SEA) 0 7 0 . P0061 C8F4 con LDA* TRFLG 071 . POO 62 0101 SAZ C 0 N T - * - l 0 7 2 . POO 63 1817 JMP* DONE DONE, GO RELEASE. 073 . POO 64 C8E6 CONT LDA* RDLSB CALCULATE NEW USB. 0 7 4 . P0065 8000 ADD -XLEN

POO 66 0100 073 . POO 67 68E3 STA* RDLSB 0 7 6 . P0068 9000 SUB =N$2D00 DONE WITH READING?

P0069 2D00 0 7 7 . POO 6 A 0121 SAP TRAIL-* -1 0 7 8 . P006B 18D7 JMP* RD 0 7 9 . P006C BO 00 TRAIL LDQ =N$FF SET BUFFER

POO 60 OOFF 080 . P006E OAOO NXT ENA 0 FOR TRAILER 0 8 1 . P006F 6A00 STA BUF,Q

P0070 001A BUF,Q

082 . P0071 ODFE INQ - 1 083 . P0072 0141 SQZ C K - * - 1 084 . P007S 18FA JMP* NXT 0 8 5 . P0074 C8E2 CK LDA* CKSUM 086 . P0075 0864 TCA A 0 8 7 . P0076 6814 STA* BUF PUT IN CHECK SUM. 0 8 8 . P0077 0A01 ENA 1 089 . P0078 68DD STA* TRFLG SET TRAILER FLAG. 090 . P0079 18DF JMP* PUNCH 091 . P007A OCOO DONE ENQ 0 092 . P007B 4400 X STQ BZ2 RESET BUSY FLAG I N

P007C 7FFF X 0 9 3 . REL RELEAS <START-REL-1).T.X 093 . P007D 54F4 093 . P007E 1901 0 9 3 . P007F FF81 0 9 4 . POO 80 0000 NUM 0 095 . P0081 4452 MSG ALF 99DRMXFR AND PUNCH.

POO 82 4D58 POO 83 4652 POO84 2041 POO 85 4E44 POO 86 2050 POO 87 554E POO 88 4343 POO 89 2E20

096 . P008A 0001 BUF BSS BUF( t ) 0 9 7 . • END

Page 244: WSIBf , 1 - International Nuclear Information System (INIS)

237

2.35 GETDAT

2 .31 .1 Class ification

On-line/drum resident/assembly language/nonreentrant/relocatable

2.35.2 Purpose

GETDAT accumulates for a period of 30 sec, 30 values of core flow rate, inlet temperature, and outlet temperature. When the 30 values are stored in core in the relocatable area, the absolute address is passed to GADAT, the third program in this series.

2.35.3 Description

GETDAT is scheduled at level 4 from the program directory, and upon entry cal-culates the absolute address of the allocated area. If the "on" flag in common is set, the program continues; otherwise, it is released. The program tests the busy flag in low core cell $7F. If the busy flag is set, a 30-sec timer call for the entry point is made, and the program is released. If not busy, the program loops on a 1-sec timer call unt'l 30 values of the primary flow, inlet and outlet core temperature are accumulated. The absolute address of the data block is calculated and loaded in the Q register for trans-mission to program GADAT which is scheduled at level 5 so that it will be executed prior to the release of GETDAT at level 4 .

The logic block diagram of GETDAT is shown in Fig. 34.

2.35.4 Relationship to Other Programs

GETDAT assumes that the value table is structured according to the original de-sign. It also uses the flag in common $7F40, and it schedules GADAT from the program directory.

Page 245: WSIBf , 1 - International Nuclear Information System (INIS)

238

ORNL DWG NO. 72-851

SWENTR

Fig. 34. Logic Block Diagram of Program GETDAT.

Page 246: WSIBf , 1 - International Nuclear Information System (INIS)

239'

001 . NAM GETDAT 002 . * REV. 1 / 7 / 7 2 003 . * GETDAT IS LISTED IN THE DIR. AS GDAT 004. EXT ADAT,GDAT 005 . 009D EQU AVALU($9 D).BSYFLG($7F)

007F 006 . 7F40 EQU BUTT0N($7F40) 007 . POOOO C8FE GETDAT NUM $C8FE STARTING ADR 008 . P0001 6833 STA* ADR 009. P0002

P0003 C 400 7F40

LDA+ BUTT0N

010. P0004 P0005

AOOO 0020

AND =N $20

Oi l . P0006 0111 SAN G 0 - * - l 012 . P0007 1828 JMP* REL 01 3 . P0008 C07F G0 LDA- BSYFLG 014. POO 09 0101 SAZ START-*-1 015 . POOOA 1821 JMP* T2 016 . POOOB 0828 START LDA* ST0CTR 017 . POOOC 60 FF STA- I STORAGE INDEXING CTR. 018 . POOOD OC 12 ENQ $12 VALU TIN INDEX 019 . POOOE C69D LUP LDA- (AVALU), Q 020 . POOOF 6926 STA* T I N , I 021 . P0010 0D03 INQ 3 INDEX T0 TEX 022. POOI 1 C69D LDA- (AVALU) ,Q 023. P0012 6941 STA* TEX,I 024 . POOI 3 ODOA INQ $A VALU INDEX T0 FL0W 025. P0014 C69D LDA- (AVALU) ,Q 026. POOI 5 695C STA* FLOW , I 027 . POOI 6 DOFF RA0- I 028. POO 17 0814 TRQ A SEE I F FINISHED. 029 . POOI 8 09 DE INA -$21 030 . POOI 9 0102 SAZ THRU-*- l 031 . P J01A 0DF3 INQ -$C SET UP INDEX FOR NEXT 0 3 2 . POOIB 18F2 JMP* LUP 033. POOIC COFF THRU LDA- I 034 . POOI D 6816 STA* ST0CTR SAVE STORAGE INDEXER 035 . P001E 09Ei INA - 3 0 036. P001F 0125 SAP ENUFF-*- l 037 . T1 TIMER START-T1 - 1 , 4 , X , 1 037. P0020 54F4 037 . P0021 1114 037. P0022 7FE9 038 . P0023 0009 NUM 9 039 . P0024 14EA JMP- (SEA) 040. P0025 E80F ENUFF LDQ* ADR 041 . P0026 0D34 INQ ADR-GETDAT 042 . P0027 40 5D STQ- $5D 043. SCHDLE (ADAT), 5 043. P0028 54F4 043. P0029 1205 043. P002A FFFF X 044. T2 TIMER (GDAT),4 , 0 , 2 044. P002B 54F4 044. P002C 1024 044 . P002D FFFF X

Page 247: WSIBf , 1 - International Nuclear Information System (INIS)

240'

045. P002E 00 ID NUM 29 046. REL RELEAS (GETDAT-REL-l) ,T fX 046. P002F 54F4 046. P0030 1901 046. P0031 FFCF 047. P0032 14EA JMP- (SEA) 048. P0033 OOOO ST0CTR NUM 0 049. P0034 OOOO ADR NUM 0 050. P0035 001E TIN BZS TIN(30) ,TEX(30) ,FL0W(3O)

P0053 001E P0071 001E

051. END

I OOFF G0 0008P ENUFF 0025P TIN 0035P

J

AVALU 009D START 000BP T2 002BP TEX 0053P

BSYFLG 007F LUP 000EP REL 002FP FL0W 007 IP

BUTT0N 7F40 THRU 001CP ST0CTR 0033P GDAT 002DX

GETDAT OOOOP TI 0020P ADR 0034P ADAT 002AX

Page 248: WSIBf , 1 - International Nuclear Information System (INIS)

241

2.36 GIDUP

2 .31 .1 Class ification

On-line/drum resident/Fortran I anguage/nonreentrant/re I oca fable

2.36.2 Purpose

GIDUP is the restart program for updating the software system of the HFIR com-puter. The program operates in conjunction with PSYCHO/ if the system is being fully reinitiated; otherwise, GIDUP is entered by a user command to correct the burnup calcu-lation for any computer outage or downtime.

2.36.3 Description

Upon entry, GIDUP reads the location in PSYCHO containing a number propor-tional to the battery block. Hie current value for the common QCLK is read from $7F01. If the digital rod-control bit in $7F40 is set, the program lights the operator console lamp labeled "Digital Rod Control." Otherwise, the lamp is not lit.

The program uses the current value of the clock and the battery clock to update all of the real-time counters and the software calendar. The number of SC burnup calculation iterations missed is calculated, and a rest is made to determine whether the scan loop was on before the outage. If the scan was not on, the following message is typed on the control room typewriter: "Reset ar (time)." Otherwise, other programs will do a series of update calls to SCTRN, looping on the subroutine until all of the missed SC runs have been calculated. The message "Scan Up (time)" is then typed. The line-sync 60-Hz timer (1573) equipment is started, and a series of scheduler requests are made to initiate the following programs: DTIMER, UPTOD, SCAN34, CALLSC, ANNUNC, COMSTO, DIGCLK, and KILL. Then a 6-sec timer call for the SCNFLO follows. The program unprotects low core cells $57, $58, and $59 for use by the FTNFIX.

A "Power-on" relay is energized to alert the reactor operator that the computer has been reset. The release request is scheduled for GIDUP, the stall alarm interrupt address is reset, interrupts are enabled, and the program jumps to STLSET.

The logic block diagram of GIDUP is shown in Fig. 35.

2.36.4 Relationship ot Other Programs

GIDUP assumes that the last value of the burnup calculation and the calendar are contained in core common when GIDUP is initiated. The location $7F01 is assumed to contain the corresponding counter for the 60-Hz timer. These values of common must be properly reset by the user or the automatic restart program PSYCHO before GIDUP is initiated.

Page 249: WSIBf , 1 - International Nuclear Information System (INIS)

PSYCHO MIPRO

GIDVUP GET BATCLK

FROM PSYCHO ANO QCLK $7F01

TURN ON ORC LJTE (OIGCON)

UPDATE ALL TIMES ANO CALENDER

DTIMER LVL* 4

START 1573 60Hi

TIMER

WRITE MSG NO. 1 ZCALLSC fm j SCAN 34 L j UPTOt

LVL-7 / 7 t - V L 6 / / L V L <

/ ANNUNC / / COMSTO 7 J ~ DIGCLK / / KtLL / LVL4 f y LVL-4 f f LVL 4 / 7 LVL 4 / <SfJL

Nf j

n^ry ENABLE RESET STALL

\m ENABLE INTERRUPT r INTRPT. ADDRESS

CALC. NO. SC RUNS MISSED

- < UPDATE

SC (SCTRN}

UNPROTECT SS7.St.59.

FOR FTNFK

SET POWER ON RELAY (OIGCON)

2 to

o a» 2 r-O s o z c

MESSAGE NO.l: SCAN UP-ITIME) N0.2: RESET AT.(TIME)

m ©

Fig. 35. Logic Block Diagram of Program GIDUP.

Page 250: WSIBf , 1 - International Nuclear Information System (INIS)

243'

PR06RAM GIDUP C REV, 6 / 9 / 7 1 * * * * * * R E L O C A T A B L E * * * * * * * * * * * * * * * * * * * * C REV. 8 / 3 0 / W DEL* QCLK AND READ S7F01 INSTEAD* C REV* 1 1 / 1 9 / 7 1 IB NULL BAT CLCK AFTER READING FROM PSYCH.A C TO ONLY TYPE SCAN UP I F INAOIN IS SET.ALSO TIME CALCS* ARE C DONE DIFFERENTLY I F INAOIN NOT SET A MSG IS "RESET AT* C FOLLOWED BY TIME«SCIRAN IS NOT ENTERED I F INAGIN IS NOT SET, C SC UPDATE AND RESTART PROGRAM

DIMENSION IYRN0W(6) , IYR0LD(6 ) , ITEMP(1 ) DIMENSION IBUFC30)

DIMENSION I Y(12)9 IKRMN(1),NOLTIM<1> 9INA6INC1> DIMENSION ICLCX CI) tJCLOCK(1>

EXTERNAL OACDRI EXTERNAL Y£RTO,RDPT,SCTRN,M0RMIN,KILL EXTERNAL DTIMER fUPTOD,SCAN34, CALLSCfANNUNC EXTERNAL DIGCLK .COMSTO»DI6C0N9INTSTA,STLCHK,STLSET EXTERNAL TBD-BATCLK-SCANER9FRYLIN DATA I Y ( 1 ) , I Y < 2 ) , 1 Y ( 3 ) , 1 Y ( 4 ) , I Y ( 5 ) 9 I Y ( 6 ) , I Y < 7 ) , 1 Y ( 8 ) , 1 Y ( 9 ) , I Y ( 1 0 ) ,

i lY( U ) , I Y ( 1 2 ) 90VERKD/0931 , 5 9 , 9 0 , 1 2 0 ? ! 5 1 -181 , 2 1 2 , 2 4 3 ? 2 7 3 , 3 0 4 s 2 3 3 4 , 8 0 , /

C GET BAT* CLOCK FROM PSYCHO AND TEST FOR MAX OF $600=2 *7SMI W ASSEM $C400,+BATCLK 9 S121,$864,$9000,$600,$ I32 ,$C8FD,$ I802

ASSEM $OSFB,$6000,1 TEMP C NULL THE BATTERY CLOCK IN PSYCHO FOR NEXT RUN*

ASSEM $A00 ,$6400 ,+BATCLX C GET 0 CLOCK FROM COM -1-1 RESTORED BY PSYCHO .ALSO TEST DRC LIGHT*

ASSEM $C400,$7F01,$6800,JCLOCK,$C400,$7F409$A0269$105 ASSEM $AOl,$5400,+DACDRI,$900B,$A08,$6400,$7F40

C ABOVE TURNS ON DRC LITE I F ON BEFORE THE RESTART* Q GET INAGIN

ASSEM $C400,$7F00,$6800,1NAGIN C OBTAIN OLD QCLOCK FROM COMMON

ASSEM $C400,$7F2 C,$6800,NOLTIM C CONVERT BAT CLOCK TO COUNTS

TIMDWN=6,44*FL0ATCITEMP5 C GET QCLOCK

I F (INAGIN «NE* 1) NOLT I Mr J CLOCK C OVERHD I S = 8 0 . (OVERHEAD CORRECTION)

ICLCK=JCLOCK-NOLTIM 3 UPCLCK= TIMDWN+OVERHD+FLOATOCLCK)

C TRANSFER NEW AND OLD TIMES 10 1HIS PROGRAM* ASSEM $CO5,$C6OO,+YERT0,$6AOO,IYRNOV,$O6OO ASSEM $7F02,S6A00,1YROLD,$DFE,$l71,$l8F5 J=IYRN0W(2) JDAYSs I Y ( J ) JTOTHR=(JDAYS+IYRN0W(3))*24+IYRN0W(4) TOTKRs JTOTHR UPSEC=i0THR*36OO.+(FLOATCIYRN0W(5)))*6O*+FL0AT(IYRNOW(6)) UPCTSs UPS EC* 60 .+UPCLCK I= IYR0LD(2) IDAYSs I Y ( I ) IOLDHR:(IDAYS+IYROLD(3))*24+IYROLD(4) 0LDHR=10LDHR 0LDSEC:0LDHR*36OO.+(R0AT(IYR0LD(5)))*6O,+FL0ATCIYR0LDC6))

15 0LDCTS=0LDSEC*60. C CALULATE THE NO. OF SC RUNS.

SCNO =(UPCTS-OLDCTS)/1800 * ASSEM $C800,N0LTIM,$60E8

Page 251: WSIBf , 1 - International Nuclear Information System (INIS)

244'

20 IF(SCN0 • I E • 0 , .0R. INAG IN . N E . l ) G0 T0 10 SCN0=SCN0-l.0

C G0 00 AN SC CALULATI0N ASSEM $COOO,$708,$80E8,$60E8,$5400,+SCTRN G0 TO 20

C CALULATE E8 CLOCK AT RESTART. 10 JCL0CK= JCL0CK+I F I X ( TI MDWN )+80

ASSEM $C8OO,JCL0CK,$6OE8,$54OO,+T0D ASSEM $E400 ,+H0RMIN ,$4800,1HRMN CALL SETBFR(IBUF,30>

I F CINAGIN .NE. I ) 60 10 WRITE(14,5)IHRMN G0 T0 17

5 F0RMAT(7HSCAN U P , 2 X , I 4 ) 16 WRITE ( 1 4 , 1 8 ) IHRMN |7 CONTINUE 18 FORMAT(8HRESET AT ,2X , I4> C START THE 1573

ASSEM $COOO,$8000,$E000,$400,$3 FD C SCHEDULER CALLS TO RESTART SCAN ETC,

ASSEM $54F4,$I204,4>DTIMER ASSEM $S4F4,$I2O4,+UPT0D ASSEM $54F 4 ,$1206,+SCAN3 4 ASSEM $54F * $1207 ,+CALLSC ASSEM $54F4,$1204,+ANNUNC ASSEM $54F4,$I2O4,+C0MST0 ASSEM $54F4 9$1204,+DIGCLK ASSEM $54F4,$1204,+KILL

C SET UP DIRECTORY INDEX AND MAKE A TIMER CALL FOR SCANER • ASSEM $C805,$B021 »$6803,$54F4,$1024,*SCANER,$5

C UNPR0TECT L0C0RE CELLS FOR FTNFX AND ASMFX. ASSEM $ © 7 , $ 7 0 0 , $ D 0 1 , $ 7 0 O , $ D 0 l , $ 7 0 0

C TURN 0N "POWER ON** RELAY 99 ASSEM $£000,$0000,$AO0,$6OFF,$AO2,$5400,+ DIGC0N

C RELEASE GIDUP ASSEM SD803,$54F4,$1900,GIDUP

C RESTORE STALL INTERRUPT RESPONSE ADR AND JMP T0 STALSET. ASSEM $5O0,$COOO,+STLCHK*$COI f$6600,+INTSTA,$i400,+STLSET END

Page 252: WSIBf , 1 - International Nuclear Information System (INIS)

245

2.37 KILL

2 .31 .1 Class ification

On-line/core resident/assembly language/nonreentrant/relocatable

2.37.2 Purpose

KILL sets termination or abort request flag $7E to terminate program EDIT. Abort request flag $68 is also cleared to terminate program CHRIS. The KILL program also reestablishes the initial drum address MS/LSB in locations $57 and $58 for use by FTNFIX and ASMFIX. The initial value is calculated to correspond to a starting drum address for source images at $F/0000.

2.37.3 Description

KILL is entered by a scheduler request from EDIT and from a MIPRO request typed on the teletype keyboard. Upon entry, the edit kill flag is set, and the bias constant for drum address $F/0 is calculated and stored in the low core cells. The CHRIS flag is cleared, indicating an cfeort request for CHRIS, and the program exits to the dispatcher.

The logic block diagram of KILL is shown in Fig. 36.

2.37.4 User Instructions

To execute KILL manually, the user presses the teletype manual interrupt and types KILL, followed by a carriage return.

2.37.5 Relationship to Other Programs

KILL serves as the abort request program for CHRIS and stops listing or punching operations in program EDIT.

2.37.6 Change Considerations

Al! changes must be rectified with FTNFIX, ASMFIX, CHRIS, and EDIT

Page 253: WSIBf , 1 - International Nuclear Information System (INIS)

246

OftNL DWG NO.72-848

EDIT MIPRO—KILL

Page 254: WSIBf , 1 - International Nuclear Information System (INIS)

247'

001. RAM KILL REV. 2/23/71 002. * REV. 11/8/71 10 RUN VITM EDIT 0N DRUM SF. 003. ENT KILL ENTERED 8Y MIPR0,EDIT 004. 007E EQU EDFLACi ($7E> . GHFLA6 C$68)

0068 005. 0058 EQU MSB($58>»LSB<$59>

0059 006. OOOF EQU EDITHSC$F> SET EDIT F0R DRUM F.

008* * THIS PROGRAM KILLS EDIT AID/OR CHRIS. 009. * ALS9, IT RESETS THE HS/LS POINTER BY 010. • SUBTRACTING THE BEGINNING 0F SCRATCH Oil. * (Cl> FR0K SEDITRS/003A. THIS GIVES THE BASE 012. * HS/LS F9R UNPR8T. DM 1/0 r EDITHS/OOOO. OK 3. * IT IS STORED IM $57,58 F0R USE BY THE 014. * ASSEMBLER AND COMPILER. 015. * REFER B ASMFIX AND FTNFIX FBR DETAILS. 016. PQOCO 0A60 KILL ERA $60 017. POOOI 607E STA- EDFLAG 018. P&0Q2 20C1 MUI- SCI C0SVER IB WORDS. 019. P0003 OFEI LLS 1 020. P0004 OFCF ALS 15 021* P0005 OfiFO INQ -EDITHS 022. P0006 0852 ICQ Q MSB 023. P0OO7 09C5 INA -$3A CALC BIAS FOR SEDITMS/003A. 024. P0008 0132 SAM 2 025* P0009 OfiFS INQ -1 026. POOOA 9021 SUB- $S1 ($8600) 027* P0008 0864 IDA A 028. POOOC 4058 STQ* MSB 029. POOOO 6059 STA- LSB 030. POOOE OAOO ERA 0 031 • POOOF 6068 STA- CKFLAS 032. POOIO 14EA JMP- t$EA) 033. * END

Page 255: WSIBf , 1 - International Nuclear Information System (INIS)

248

2.38 LOCORE

2 .31 .1 Class ification

On-line/core resident/assembly language/nonreentrant/nonrelocatable

2.38.2 Purpose

LOCORE is the low-core image to provide common tables of constants and fre-quently referenced addresses for the entire operating system. This is an ideal application because locations 0 through $FF can be addressed by one-word storage reference instructions from any location in memory.

2.38.3 Description

LOCORE contains the interrupt trap region, starting at location $100. These locations are the hard-wired response locations for the 15 interrupt lines of the C D C -1700. The user assigns a priority level and response routine name or address in the interrupt trap region for each interrupt line. Starting at location $140, the current value table, which is addressed indirectly by AVALU, contains the current value of the process variables digitized and converted by the scan program. Following the current value table, the table of preset entry points contains the alphanumeric designa-tion arid the address of programs which may be referenced by off-line programs. The standard allocation for the special locations in low-core is shown in Table 4 . This program is not shown as a block diagram because it is basically a table of constants and not cm executable program.

Page 256: WSIBf , 1 - International Nuclear Information System (INIS)

249'

Table 4, LOCORE Constants

The communication region is the area of core below FF l g . It can be addressed directly by a one-word instruction. Contents are defined by the following table. All locations are protected except as noted.

Location Contents HEX Equivalent

0 & 1 Reserved for the system 2 OOOOOOOOOOOOOOOO 0 3 0000000000000001 1 4 0000000000000011 3 5 0000000000000111 7 6 0000000000001111 F 7 0000000000011111 IF 8 0000000000111111 3F 9 0000000001111111 7F A 0000000011111111 FF B 0000000111111111 IFF C 0000001111111111 3FF D 0000011111111111 7FF E 0000111111111111 FFF F 0001111111111111 1FFF 10 0011111111111111 3FFF 11 0111111111111111 7FFF 12 1111111111111111 FFFF 13 1111111111111110 FFFE 14 1111111111111100 FFFC 15 1111111111111000 FFF8 16 1111111111110000 FFFO 17 1111111111100000 FFEO 18 1111111111000000 FFCO 19 1111111110000000 FF80 1A 1111111100000000 FFOO IB 1111111000000000 FEOO 1C 1111110000000000 FCOO ID 1111100000000000 F800 IE 1111000000000000 FOOO IF 1110000000000000 EGOO 20 1100000000000000 COOO 21 1000000000000000 8000 22 oooooooooooooooo 0000

Page 257: WSIBf , 1 - International Nuclear Information System (INIS)

250'

Table 4 . LOCO RE Constants (continued)

Location Contents HEX Equivalent

23 I 24 2 25 4 26 8 27 10 28 20 29 40 2A 80 2B 100 2C 200 2D 400 Hexadecimal 2E 800 2F 1000 30 2000 31 4000 32 8000 33 1111111111111110 FFFE 34 1111111111111101 FFFD 35 1111111111111011 FFFB 36 uuiiiuiuom FFF7 37 1111111111101111 FFEF 38 1111111111011111 FFDF 39 1111111110111111 FFBF 3A 1111111101111111 FF7F 3B 1111111011111111 FEFF 3C 1111110111111111 FDFF 30 liiiioimuuii FBFF 3E 1111011111111111 F7FF 3F mdiimiinm EFFF 40 1101111111111111 DFFF 41 1011111111111111 BFFF 42 6111111111111111 7FFF 43 5 44 45 9 46 A16 82 Reserved for process 03 logical noil: number of scratch unit 84 Top of thread of eatrie* in schedule

Address of FM £6 Address of C0MP8Q

Address of «M«k table 38 Address of top ot interrupt stack 99 Address of request exit m Address of volatile storage release i

Page 258: WSIBf , 1 - International Nuclear Information System (INIS)

251'

Table 4. LOCORE Constants (continued)

Location Contents HEX Equivalent

BB Address of volatile storage assignment routine BC Address of absolutizing routine for logical unit # BD Address of S absolutizing routine BE Address of C absolutizing routine BF Address of N absolutizing routine CO Most significant bits of first scratch area sector # CI Least significant bits of first scratch area sector # C2 Logical unit number of the library unit C3 Most significant bits of sector # of first Program

Library Directory block C4 Least significant bits of sector # of first Program

Library Directory block C5 thru E3 Reserved for FORTRAN (unprotected)

E4 Used for load and go (unprotected) E5 Address of timer handler E6 Length of System Library Directory E7 Index to first mass storage entry in the System

Library Directory E8 Countdown register E9 Real time clock FA Address of Dispatcher EB Address of System Library Directory FC Temporary highest unprotected location + 1 ED Temporary lowest unprotected location - 1 EE Used by Job Processor for returns from loader, etc. EF Current priority level FO Address of first available volatile storage FI Length of table of presets F2 Address of table of presets F3 Address of Breakpoint Program when in core (unprotected) F4 Address of entry for system requests F5 Largest core location F6 Highest unprotected location + 1 F7 Lowest unprotected location - 1 F8 Address of internal interrupt processor F9 Logical unit number of standard input device FA Logical unit number of standard binary output device FB Logical unit number o* standard print output device FC Logical unit number o£ output comment device FD Logical unit number of input comment device FE Address of the common interrupt handler FF Memory index (unprotected)

Page 259: WSIBf , 1 - International Nuclear Information System (INIS)

252'

001 • 002. 0 0 3 . 004 . 0 0 5 . 006.

* * * * *

NAM L0C0RE 9 / 3 0 / 7 1 SPECIAL 0AK RIDGE COMMUNICATIONS REGION, I N T . TRAPS AND PRESET EN NO SPECIFICATION AVAILABLE VERSION 0 . 1 , JULY 7TH 1967 PROGRAMMING SYSTEMS, LA J0LLA, C . D . C .

008. 0 0 9 . 010. 01 1 . 012. 013 . 0 1 4 . 01 5 .

0 1 7 . 0 1 8 .

020. 021 .

022.

0 2 3 .

7FFF 0002 0003 0004 0004 0004 0005 0005

*

EXT SCHSTK,FNR,C0MPRQVMASKT,INTSTK,REQXTVVOLR EXT GNEXT,REGINP,HX2ASC EXT DPLAY,SQRT EXT DWH,DWC,DWF EXT CDWRD,DWFT,SCTRN,HEXASC EXT YERTO,0CDEC,DE0CT,TOD EXT VOLA,LUABS, SABS, CABS,NABS,DISPXX,V0LBLK EXT MONI ,IPR0C ,ALLIN ,RESTRT

THE FOLLOWING PARAMETERS MUST 3E SETUP FOR THE PARTICULAR SYSTEM

EQU MAXC0R($7FFF) HIGHEST CORE MEMORY ADDRE EQU STDINPC2) ,B IN0UT(3 ) ,LST0UT(4 )

EQU INPC0M(4) ,0UTC0M(4)

EQU LBUNITC 5) fSCRTCHC5)

LUS FOR COMMENT

LUS FOR LIBRARY

025 .

0 2 7 . 028. 029 . 030 . 031 . 032 . 0 3 3 .

L0CN OOOO I S SET TO SI8FF BY S I (SYSTEM IN

034 .

0 3 5 . 0 3 6 .

0001 0002 0003 0004 0005 0006 0007 0008 0009 OOOA OOCB OOOC OOOD 000 E OOOF 0010 0011 0012 0013 0014 0015 0016 0017 0013 0019

0001 7FFF 0000 0001 0003 0007 OOOF 001F 003F 007 F OOFF 01FF 03FF 07FF OFFF 1FFF 3FFF 7FFF FFFF FFFE FFFC FFF8 FFFO FFEO FF CO FF80

LPMSK ONE THREE SEVEN

NZER0

ORG ADC NUM NUM NUM NUM NUM

1 ADR OF RESTART PROGRAM RESTRT

0 1 3 7 $ F , $ l F , $ 3 F , $ 7 F f $ F F , $ l F F , $ 3 F F

NUM S7FF ,$FFF ,$ IFFF ,$3FFF ,$7FFF

NUM - 0 N UM SFFFE,SFFFC,SFFF8,$FFF0,SFFE0,$FFC0,$FF80

Page 260: WSIBf , 1 - International Nuclear Information System (INIS)

253

037. 038.

0 3 9 . 0 4 0 . 041 • 0 4 2 . 0 4 3 . 0 4 4 .

0 4 5 *

0 4 6 .

0 4 7 .

0 4 8 .

0 4 9 . 0 5 0 . 051 • 052*

001A 0 0 1 3 0 0 1 C 001D 0 0 1 E OOIF 0020 0021 0022 0 0 2 3 0 0 2 4 0 0 2 5 0026 0 0 2 7 0028 0 0 2 9 0 0 2 A 002B 0 0 2 C 0 0 2 D 002C 002F 0 0 3 0 0 0 3 1 0 0 3 2 0 0 3 3 0 0 3 4 0 0 3 5 0 0 3 6 0 0 3 7 0 0 3 8 0 0 3 9 003A 0 0 3 B 0 0 3 C 0 0 3 D 0 0 3 E 0 0 3 F 0 0 4 0 0 0 4 1 0 0 4 2 0 0 4 3 0 0 4 4 0G45 0 0 4 6

FFOO FEOO FCOO F 8 0 0 FOOO £000 COOO 8000 0000 0001 0002 0 0 0 4 0008 0010 0020 0 0 4 0 0080 0100 0200 0 4 0 0 0800 1000 2000 4 0 0 0 8000 FFFE FFFD FFFB FFF7 FFEF FFDF FFBF F F 7 F FEFF FDFF FBFF F7FF EFFF OFFF BFFF 7FFF

0 0 0 5 0006 0 0 0 9 OOOA

NUM $ F F 0 0 NUM $ F E O O , $ F C O O f $ F 8 0 0 # $ F O O O f $ E O O O , $ C O O O , $ 8 0 0 0

ZER0 NUM 0 0NEBIT NUM H 1W0 NUN 2 F0UR NUM 4 EIGHT NUM 8

NUM $ 1 0 , $ 2 0 , $ 4 0 , $ 8 0 , $ 1 0 0 , $ 2 0 0 t $ 4 0 0 , $ 8 0 0

NUM $ 1 0 0 0 * $ 2 0 0 0 , $ 4 0 0 0 * $ 8 0 0 0

ZR0BIT NUM $ F F F E , $ F F F D t $ F F F B , $ F F F 7 , $ F F E F , $ F F D F t $ F F B F

FIVE S I X NINE TEN

NUM $FF7 F , $ F E F F , $ F D F F » SFBFF«SF7FF»SEFFF f $ D F F F

NUM $ B F F F * $ 7 F F F

NUM 5 NUM 6 NUM 9 NUM 10

0 5 4 . 0 5 5 .

4 7 1HRU B 2 I S RESERVED F0R PR0CESS USE EXT PSYCH0

811: 881 0 5 9 . 060. 061. 0*2 • 063.

1 0061 s irrr

0 0 4 9 0 0 6 1 0 0 4 A 0 0 6 1 0 0 4 B 0 0 6 1 0Ci4C 7 F F F 0 0 4 D 0 0 0 9

ADC SNAPP ADC GNEXT ADC SNAPP ADC SNAPP ADC SNAPP ADC OPtAY BZS ( 9 )

Page 261: WSIBf , 1 - International Nuclear Information System (INIS)

254'

064* 0056 0000 ADC 0 SPARE 065 , 0057 0000 ADC 0 SPECIAL CELLS 0 6 6 . 0058 0000 ADC 0 FOR FORTRAN & 067 . 00 59 0000 ADC 0 ASSEM FROM DRUM 0 6 8 . 005A 0006 BZS ($5F-$5A+1) 069 . 0060 7FFF X ADC HEXASC 0 7 0 . 0061 0000 SNAPP NUM 0 071 . 0062 1461 JMP- (SNAPP) 0 7 2 . 0063 7FFF X AD AC ADC DACDRI 073 . 0064 7FFF X ARDPT ADC RDPT 074 . 0065 7FFF X ADC PSYCHO 07 5 . 0066 0000 ADC 0 0 7 6 . 0067 0000 ADC 0 LOG FLAG 077 . 0068 0000 ADC 0 CHRIS FLAG 0 7 8 . 0069 0000 ADC 0 PSDIO BUSY FLAG 0 7 9 . 006A 0000 ADC 0 PSDIO PLOT KILFLAG 080 . 006B 0000 ADC 0 PSDIO TYPE KILFLAG 081 . 00 6C 0060 NUM $60 USED IN PROTEC(IPR0C2) 0 8 2 . 006D 0000 ADC 0 SPARE FLAG 1 083 . 006E 0000 ADC 0 SPARE FLAG 2 084 . 006F 0000 ADC 0 SCANNER PROG. FLAG. 085. 0070 0000 ADC 0 ER KILL FLAG. 086 . 0071 000 D BZS FR($D) 087 . 007E 0000 ADC 0 EDIT FLAG 0 8 8 . 007F 0000 ADC 0 AVGDAT FLAG 0 8 9 , 0080 0000 ADC 0 MSB OF DWORDS 090 . 0081 0000 ADC 0 LSB OF DWORDS 0 9 1 . 0082 0000 ADC 0 MSB OF PTDESC WDS 092 . 0083 0000 ADC 0 LSB OF PTDESC WDS 0 9 3 . 0084 OOOF ADC $F MSB DDRUM DRM LOCATION 094 . 0085 7AE0 ADC $7AE0 LSB DDRUM DRM LOCATION 0 9 5 . 0086 0000 NUM 0 WORD 9 PSEUD0 DTAB DUMMY 0 9 6 . 0087 0000 NUM 0 WORD 10 PSEUD0 DTAB DUMMY 0 9 7 . 0088 7FFF X AR6INP ADC REG INP 0 9 8 . 0089 7FFF X AHEX ADC HX2ASC 0 9 9 . 008A OOOE BZS ( $ 9 7 - $ 8 A + l ) 100 . 0098 7FFF X ADC DWH 101 . 0099 7FFF X ADC DWC 102. 009A 7FFF X ADC DWF 103. 009B 7FFF X ADC TOD 104. 009C 7FFF X ADC SORT 105. 009 D 0140 ADC VALU 106. 009E 7FFF X ADC CDWRD 107 . 009F 7FFF X ADC DWFT 108 . 00 AO 0000 0 0 109 . 00A1 7FFF X ADC YERTO 110 . 00A2 7FFF X ADC OCDEC Ill. 00A3 7FFF X ADC DEOCT 112 . 00A4 00A3 X ADC DEOCT 113. 00A5 OOOE BZS ( $ 8 2 - $ A 5 + l )

115. 0033 0005 ADC SCRTCH LOGICAL UNIT OF SCRATCH 116 , 00B4 7FFF X ADC SCHSTK ADR OF TOP OF SCHEDULER STAC 117 . OOB5 7FFF X ADC FNR ADR 0F FNR 1 1 8 . 00B6 7FFF X ADC COMPRQ ADR OF COMPRQ 119 . 00B7 7FFF V A ADC MASKT ADR OF MASK TABLE 120 . OOB8 7FFF X ADC INTSTK ADR 0F TOP OF INT.STACK 121 . 00B9 7FFF X ADC REQ XT ADR OF EXIT FOR MONITOR REQ IT

Page 262: WSIBf , 1 - International Nuclear Information System (INIS)

255'

122 , OOBA 7FFF X ADC V0LR ADR OF RELEASE VOLATILE ROUT 123 . OOBB 7FFF X ADC VOL A ADR 0F ASSIGN VOLATILE ROUT I 124 . OOBC 7FFF X ADC LUABS ADR OF ABS ROUTINE FOR LU 125 . 003D 7FFF X ADC SABS ADR OF ABS ROUTINE FOR S 126 , OOBE 7FFF X ADC CABS ADR OF ABS ROUTINE FOR C 1 2 7 , OOBF 7FFF X ADC NABS ADR OF ABS ROUTINE FOR N 1 2 8 , OOCO 0000 NUM 0 MSB OF START SCRATCH SECT0R 129 , 00C1 0000 NUM 0 LSB 0F START SCRATCH SECTOR 130 , 00C2 0005 ADC LB UNIT LOGICAL UNIT OF LI BR ARY 131 , 00C3 0000 NUM 0 MSB OF PROG LIB DIRECTORY SE 1 3 2 . 00C4 0000 NUM 0 LSB OF PROG LIB DIRECTORY SE

134 . * C5 THRU E3 I S RESERVED FOR FORTRAN USE <U

136. 00C5 001C BZS ($E0 -$C5+1)

1 3 8 . 00E1 0001 NUM 1 139 . 00E2 0002 BZS ( 2 ) 140 . 00E4 0000 NUM 0 LOAD AND G0 SECT0R N0 (ALSO 1411 00 E5 0000 NUM 0 RESERVED FOR FORTRAN USE 142 . 00E6 0001 BSS ( I ) LENGTH OF SYSTEM DIRECTORY 143. 00E7 0001 BSS ( 1 ) LENGTH 0F C0RE RES SYS DIRY 144 . 00 E8 0000 NUM 0 REAL TIME CLOCK COUNTER 145. 00 E9 0000 NUM 0 146. 00 EA 7FFF X ADC DISPXX ADR 0F DISPATCHER 147 . 00 EB 024F ADC SLDIRY ADR 0F SYSTEM DIRECTORY 1 4 8 . OOEC 0000 NUM 0 TEMP HIGHEST UNPR0T LOCN +1 149 . 00 ED 0000 NUM 0 TEMP LOWEST UNPR0T LOCN - 1 150 . 00 EE 0000 NUM 0 USED BY JOB PROCESSOR 151. 00 EF FFFE NUM - 1 CURRENT PRIORITY LEVEL 152 . 00 FO 7FFF X ADC V0LBLK ADR OF FIRST AVAIL VOLATILE 153 . 0CF1 0004 ADC LPRSET LENGTH 0F TABLE OF PRESETS 154 . 00 F2 0168 ADC APRSET ADR 0F TABLE OF PRESETS 155. 00 F3 0000 ADC 0 ADR 0F BREAKPOINT PROG WHEN 156 . 00F4 7FFF X ADC M0NI ADR OF M0NIT0R ENTRY FOR REQ 157. 00F5 7FFF ADC MAXCOR HIGHEST CORE LOCATION 158 . 00F6 0000 NUM 0 HIGHEST UNPR0T LOCN +1 (SE 159 . 00 F7 0000 NUM 0 LOWEST UNPR0T LOCN - 1 (SE 160 . OOFS 7FFF X ADC I PROC ADR 0F INTERNAL I N T . PROCESS 161 . 00 F9 0005 NUM 5 LU 0F STANDARD INPUT DEVICE. 162. 00 FA 0003 ADC BIN0UT LU 0F STANDARD BINARY OUTPUT 1 6 3 . OOFB 0004 ADC LST0UT LU 0F STANDARD PRINT OUTPUT 164 . 00 FC 0004 ADC 0UTC0M LU 0F OUTPUT COMMENT DEVICE 165 . OOFD 0004 ADC INPC0M LU 0F INPUT COMMENT DEVICE 166 . 00 FE 7FFF X ADC ALL I N ADR 0F COMMON I N T . HANDLER 1 6 7 . OOFF 0001 BSS ( 1 ) MEMORY INDEX ( I -REGISTER)

169 . THIS I S THE INTERRUPT TRAP REGI0N

171 . 172 . 1 7 3 . J 7

0100 0101 0102 0103

0000 54F8 000E OOFS

LINEO NUM RTJ-NUM ADO

0 C$F8> 14 IPR0C

INTERRUPT LINE 0 ENTRY 60 T0 INTERNAL INT HANDLER PRIORITY LEVEL MEMORY PARITY/PROTECT PR0CSR

Page 263: WSIBf , 1 - International Nuclear Information System (INIS)

256'

176. 177. 178 . 179. o

oo

o

oo

oo

OOOO 54FE OOOB 7FFF X

LINE1 NUM RTJ-NUM ADC

0 ($FE) 11 LYNEl

181. 182 . 183. 184.

0108 0109 010A 010B

OOOO 54FE 000 D 7FFF X

LIN £2 NUM RTJ-NUM ADC

0 ($FE> 13 TIMINT

186. 187. 188 . 189.

010C 010D 010E 010F

OOOO 54FE OOOF 7FFF X

LINE3 NUM RTJ-NUM ADC

0 <$FE> 15 INT72

191. 192 . 193 . 194.

0110 0111 0112 0113

OOOO 54FE 0009 7FFF X

LINE4 NUM RTJ-NUM ADC

0 ($FE) 9 INTDRM

196 . 197. 198. 199.

0114 0115 0116 0117

OOOO 54FE 0009 7FFF X

LINE5 NUM RTJ-NUM ADC

0 ($FE) 9 INT38

2 0 1 . 2 0 2 . 2 0 3 . 2 0 4 .

0118 0119 011A 01 IB

OOOO 54FE OOOA 7FFF X

LINE6 NUM RTJ-NUM ADC

0 ($FE> 10 INTSEL

2 0 6 . 2 0 7 . 2 0 8 . 2 0 9 .

o n e 01 ID 01 IE 01 IF

OOCO 54FE OOOA 7FFF X

LINE7 NUM RTJ-NUM ADC

0 <$FE) 10 DMFO

211 . 2 1 2 . 2 1 3 . 2 1 4 .

0120 0121 0122 0123

OOOO 54FE 0009 7FFF X

LINES NUM RTJ-NUM ADC

0 <$FE) 9 ADCT

2 1 6 . 2 1 7 . 2 1 8 . 2 1 9 .

0124 0125 0126 0127

OOOO 54FE OOOO 7FFF X

LINE9 NUM RTJ-NUM ADC

0 ($FE) 0 INVINT

221 . 2 2 2 . 2 2 3 , 2 2 4 .

0128 0129 012A 012B

OOOO 54FE OOOO 0127 X

LINEIO NUM RTJ-NUM ADC

0 <$FE> 0 INVINT

2 2 6 . 2 2 7 . 2 2 8 . 2 2 9 ,

0 1 2 0 OOOO 012 D 54FE 012E OOOE 012F 7FFF X

LINE11 NUM RTJ

NUM ADC

0 - ($FE)

14 INTSTA

2 3 1 . 2 3 2 . 2 3 3 . 2 3 4 .

0130 0131 0132 0133

OOOO 54FE OOOO 012B X

LINE12 NUM RTJ-NUM ADC

0 ($FE) 0 INVINT

INTERRUPT LINE 1 ENTRY 60 T0 COMMON I N T . HANDLER PRIORITY LEVEL LINE I INTERRUPT HANDLER

INTERRUPT LINE 2 ENTRY G0 T0 COMMON I N T . HANDLER PRIORITY LEVEL 1573 TIMER

INTERRUPT LINE 3 ENTRY GO TO COMMON I N T . HANDLER PRIORITY LEVEL 1572 SAMPLE RATE GENERATOR

INTERRUPT LINE 4 ENTRY GO TO COMMON I N T . HANDLER PRIORITY LEVEL DRUM

INTERRUPT LINE 5 ENTRY GO TO COMMON I N T . HANDLER PRIORITY LEVEL HIGH LEVEL MUX

INTERRUPT LINE 6 ENTRY GO TO COMMON I N T . HANDLER PRIORITY LEVEL SELECTRIX

INTERRUPT LINE 7 ENTRY GO TO COMMON I N T . HANDLER PRIORITY LEVEL OPERATOR CONSOLE

INTERRUPT LINE 3 ENTRY GO TO COMMON I N T . HANDLER PRIORITY LEVEL ANALOG INPUT

INTERRUPT LINE 9 ENTRY GO TO COMMON I N T . HANDLER PRIORITY LEVEL INVALID INTERRUPT

INTERRUPT LINE 10 ENTRY GO TO COMMON I N T , HANDLER PRIORITY LEVEL INVALID INTERRUPT

INTERRUPT LINE 11 ENTRY GO TO COMMON I N T . HANDLER

PRIORITY LEVEL STALL ALARM

INTERRUPT LINE 12 ENTRY GO 10 COMMON I N T . HANDLER PRIORITY LEVEL INVALID INTERRUPT

Page 264: WSIBf , 1 - International Nuclear Information System (INIS)

257'

236* 0134 0000 LINE 13 NUM 0 INTERRUPT LINE 13 ENTRY 2 3 7 . 0135 54FE RTJ- <$FE> G0 T0 C0MM0N I N T . HANDLER 2 3 8 . 0136 0000 NUM 0 PRIORITY LEVEL 2 3 9 . 0137 0133 X ADC INVINT INVALID INTERRUPT

2 4 1 . 0138 0000 LINE14 NUM 0 INTERRUPT LINE 14 ENTRY 2 4 2 . 0139 54FE R TJ- ($FE) 60 10 C0MH0N I N T . HANDLER 2 4 3 . 013A 0000 NUM 0 PRIORITY LEVEL 2 4 4 . 013B 0137 X ADC INVINT INVALID INTERRUPT

2 4 6 . 013C 0000 LINE15 NUM 0 INTERRUPT LINE 15 ENTRY 2 4 7 . 013D 54FE RTJ- ($FE) G0 TO C0MM0N I N T . HANDLER 2 4 8 . 013E 0000 NUM 0 PRIORITY LEVEL 2 4 9 . 0 1 3 F 013B X ADC INVINT INVALID INTERRUPT

251 . EXT INT72 2 5 2 . EXT LYNE1jTIMINT 2 5 3 . EXT INTDRM.INT38 ,1NTSEL,DMFO,1NTSTA 2 5 4 . EXT INVINT,ADCT

256 . * THIS I S THE CURRENT VALUE TABLE 2 5 7 . ENT VALU 2 5 8 . ENT CVT 2 5 9 . 0140 VALU EQU VALUC*) 2 6 0 . 0140 0000 CVT NUM 0 CURRENT VALUE TABLE 261 . 0141 0000 NUM 0 CVR0D1 1 2 6 2 . 0142 0000 NUM 0 CVR0D2 2 2 6 3 . 0143 0000 NUM 0 CVR0D3 3 2 6 4 . 0144 0000 NUM 0 CVR0D4 4 2 6 5 . 0145 0000 NUM 0 CVR0D5 5 2 6 6 . 0146 0000 NUM 0 CVDPW1 6 2 6 7 . 0147 0000 NUM 0 CVDPW2 7 2 6 8 . 0148 0000 NUM 0 CVDPVI3 8 2 6 9 . 0149 0000 NUM 0 CVBCLK 9 2 7 0 . 014A 0000 NUM 0 CVHSP1 10 271 . 014B 0000 NUM 0 CVHSP2 11 2 7 2 . 01 4 C 0000 NUM 0 CVHSP3 12 2 7 3 . 014D 0000 NUM 0 CVHSP4 13 2 7 4 . 01 4E 0000 NUM 0 CVHSP5 14 2 7 5 . 014F 0000 NUM 0 CVDPS1 15 2 7 6 . 0150 0000 NUM 0 CVDPS2 16 2 7 7 . 0151 0000 NIJM 0 CVDPS3 17 2 7 8 . 0152 0000 NUM 0 CVTMI1 18 2 7 9 . 0153 0000 NUM 0 CVTMI2 19 280 . 01 54 0000 NUM 0 CVTMI3 20 281 . 0155 0000 NUM 0 CVTM01 21 2 8 2 . 0156 0000 NUM 0 CVTM02 22 2 8 3 . 0157 0000 NUM 0 CVTM03 23 284 . 0158 0000 NUM 0 CVLSP1 24 2 8 5 . 0159 0000 NUM 0 CVRDIF 25 2 8 6 . 015A 0000 NUM 0 CVIP0W 26 2 8 7 . 015B 0000 NUM 0 CVLSP4 27 2 8 8 . 01 5 C 0000 NUM 0 CVLSP5 28 2 8 9 . 015D 0000 NUM 0 CVLSP6 29 2 9 0 . 01 5E 0000 NUM 0 CVLSP7 30 291 . 015F 0000 NUM 0 CVFL01 31 2 9 2 . 0160 0000 NUM 0 CVFL02 32

Page 265: WSIBf , 1 - International Nuclear Information System (INIS)

258'

2 9 3 . 0161 oooo NUN 0 CVFL03 33 29 4 . 0162 oooo NUN 0 CVP0W1 34 2 9 5 . 0163 oooo NUN 0 CVP0W2 35 2 9 6 . 0164 oooo NUN 0 CVP0W3 36 2 9 7 . 0165 oooo NUN 0 CVAVPW 37 2 9 8 . 0166 oooo NUN 0 CVRROD 38 2 9 9 . 0167 oooo NUN 0 CVSCRE 39

303 . * THIS I S THE TABLE OF PRESET 3 0 4 . * THAT ALL0WS ENTRY TO A PR0T1 3 0 5 . * FR0M AN UNPROTECTED ROUTINE

3 0 8 . ENT JPRET 3 0 9 . 0168 APRSET EQU APRSET(*> 3 1 0 . 0168 4A50 ALF 3,JPRETN

0169 5245 01 6A 544E

311 . 016B 7FFF X JPRET ADC JPRETN JOB PROCESSOR 312 . EXT JPRETN 313 . 0004 LPRSET EQU LPRSET<*-APRSET) 3 1 4 . 016C 4356 ALF 3 , CVTF

016D 5446 01 6E 2020

315 . 01 6F 7FFF X ADC CVTF 316 . EXT CVTF 3 1 7 . 0170 4652 ALF 3 , FREAD RUN-TINE

0171 4541 0172 4420

3 1 8 . 0173 7FFF X ADC FREAD 3 1 9 . EXT FREAD 320 . 017 4 4657 ALF 3 fFWRITE

0175 5249 0176 5445

321 . 0177 7FFF X ADC FWRITE •

3 2 2 . EXT FWRITE 3 2 3 . 0178 5245 ALF 3,READ

0179 4144 017A 2020

3 2 4 . 017 B 7FFF X ADC READ 325 . EXT READ 3 2 6 . 017C 57 52 ALF 3 fWRITE

017D 4954 017E 4520

327 . 017F 7FFF X ADC WRITE 3 2 8 . EXT WRITE 3 2 9 . 0180 4449 ALF 3 ,DISP

0181 5350 0182 2020

3 3 0 . 0183 7FFF X ADC DISP 331 . EXT DISP 3 3 2 . 0184 4449 ALF 3 fDISPAT

Page 266: WSIBf , 1 - International Nuclear Information System (INIS)

259'

0185 5350 0136 4154

333 . 0187 7FFF X ADC DISPAT 334 . EXT DISPAT 335. 0188 5343 ALF 3t9CHEDL

0189 4845 018A 444 C

336* 0188 7FFF X ADC SCHEDL 337 . EXT SCHEDL 3 3 8 . 018C 5449 ALF 3.TIMER

018D 4D45 018E 5220

3 3 9 . 018F 7FFF X ADC TIMER 3 4 0 . EXT TIMER 341 . 0190 5245 ALF 39RELESE

0191 4C45 0192 5345

342. 0193 7FFF X ADC RELESE 343. EXT RELESE 344 . 0194 4C49 ALF 3 f LINK

0195 4E4B 3 f LINK

0196 2020 343 . 0197 7FFF X ADC LINK 346 . EXT LINK 347. 0198 5351 ALF 3vSORT

0199 5254 3vSORT

0I9A 2020 348 . 0198 009C X ADC SORT 349 . EXT SORT 350 . 019C 5138 ALF 3.Q8AB

019D 4142 019E 2020

351. 0 I9F 7FFF X ADC Q8AB 358 . EXT Q8AB 353 . 01 AO 5138 ALF 3tQ8SG

01 At 5347 3tQ8SG

01A2 2020 354 . 01A3 7FFF X ADC Q8SG 355. EXT Q8SG 356 . 01A4 4558 ALF 3 , EXP

01A5 5020 01A6 2020

357. 01A7 7FFF X ADC EXP 358 . EXT EXP 359 . 01A8 414C ALF 3,AL0G

01A9 4F47 01AA 2020

360. 01AB 7FFF X ADC AL0G 361 • EXT AL0G 362 . 01 AC 5441 ALF 3,TANK

01 AD 4E48 01 AE 2020

363. OS AF 7FFF X ADC TANH 364 . EXT TANH 365. 01 BO 5349 ALF 3 . S I N

01B1 4E20 01B2 2020

366 . 01B3 7FFF X ADC SIN

ARITHMETIC ROUTINES

Page 267: WSIBf , 1 - International Nuclear Information System (INIS)

260'

367 . EXT SIN 368 . 01B4 434F ALF 3 F COS

01B5 5320 01B6 2020

369 . 01B7 7FFF X ADC COS 370* EXT COS 37K. 01B8 4154 ALF 3|ATAN

01B9 414E 01BA 2020

372 . 01BB 7FFF X ADC ATAN 373 . EXT ATAN 3 7 4 . 01BC 454E ALF 3 .ENCODE

01BD 434F 01BE 4445

375 . 01BF 7FFF X ADC ENCODE 3 7 6 . EXT ENCODE 377 . OICO 4445 ALF 3 Y DECODE

01C1 434F 01C2 4445

378* 0 IC3 7FFF X ADC DECODE 3 7 9 . EXT DECODE 3 8 0 . 01C4 4445 ALF 3 1 DECHEX

01C5 4348 3 1 DECHEX

01C6 4558 3 8 1 . 01C7 7FFF X ADC DECHEX 3 8 2 . EXT DECKEX 383* 01C8 4C4C ALF 3,FLOAT

01C9 4F41 3,FLOAT

01CA 5420 3 8 4 . OTCB 7FFF X ADC FLOAT 3 8 5 . EXT FLOAT 3 8 6 . OICC 464 C ALF 3»FL0T

OICD 4F54 3»FL0T

OTCE 2020 3 8 7 . QICF 7FFF X ADC FLOT 3 8 8 . EXT FLOT 3 8 9 . 0100 5138 ALF 3»Q8QFIX

0101 5146 3»Q8QFIX

0 1 0 2 4958 390* 0103 7FFF X ADC Q8QFIX 3 9 1 . EXT Q8QFIX 3 9 2 . 0104 5138 ALF 3.08QFLT

0105 5146 3.08QFLT

0106 4G54 0107 7FFF X ADC Q8QFLT

3 9 4 , EXT o s o a T 3 9 5 . 0108 5138 ALF 3 »Q 8 PREP

0109 5052 3 »Q 8 PREP

01DA 4550 3 9 6 . 01DB 7FFF X ADC Q8PREP 3 9 7 . EXT 88PRE? 3 9 8 . osoc 5138 ALF 3.08PKUP

0100 5048 3.08PKUP

01BE 5550 3 9 9 . 01OF 7FFF X ADC Q8PKUP 4 0 0 . EXT Q8PKUP 4 0 1 . 01E0 5138 ALF 3 , 0 8 FX

ENCODE/DECODE

FORTRAN PACKAGE

Page 268: WSIBf , 1 - International Nuclear Information System (INIS)

261'

01E1 4658 Q1E2 2020

402* 01E3 7FFF X ABC Q8FX 403. EXT Q8FX 404* 01E4 5138 ALF 3 t 0 8 $ F 2 I

Q1E5 5146 ALF 3 t 0 8 $ F 2 I

Q1E6 3249 405* DIE? 7FFF X ABC 080F2 I 406 . EXT Q8QF21 40? « 01E8 5138 ALF 3»08&I2F

01E9 5149 ALF 3»08&I2F

01EA 3246 408 • 01EB 7FFF X ADC Q3QI2F 409* EXT Q8QI2F 410* 01EC 5138 ALF 3,&8QF2F

01ED 5146 ALF 3,&8QF2F

01EE 3246 411* 01EF 7FFF X ABC Q8GF2F 412* EXT S83F2F 413* 01F0 4946 ALF 3 t I F A L T

OIF 1 414C ALF 3 t I F A L T

OIF2 5420 414* 01F3 7FFF X ADC I F ALT 415* EXT I F ALT 416* OIF4 5138 ALF 3»Q8RftT

01F5 464C ALF 3»Q8RftT

0 IF6 4F54 417* 01F7 7FFF X ADC Q8FUBT 418* EXT 08FLAT 419* OIF? 5138 ALF 3 tQ8STP

0 I F 9 5354 ALF 3 tQ8STP

01FA 5020 420* OIFB 7FFF X ADC Q8STP 421* EXT Q8STP 422* OIFC 5345 ALF 3»SETBFB

01FD 5442 OIFE 4652

423* OIFF 7FFF X ADC SETBFB 424* EXT SETBFB 425* 0200 5138 ALF 3 t * 8 Q I « I

0201 5149 ALF 3 t * 8 Q I « I

0202 4E49 428* 0203 7FFF X ADC Q801III 427* EXT QBBIttl 428* 0204 5138 ALF 3,Q3BX

0205 5158 ALF 3,Q3BX

0206 2020 429* 0207 7FFF X ADC Q8QX 430* EXT OBOX 431* 0208 5138 ALF 3«BBBCKD

0209 5145 ALF 3«BBBCKD

020A 4E44 432* 020B 7FFF X ADC OBQEND 433* EXT B8SEKD 434* 02GC 4441 ALF 3»DAC®8I

02CD 4344 ALF 3»DAC®8I

020E 5249 435* 020F 0063 X ADC DACBRt

Page 269: WSIBf , 1 - International Nuclear Information System (INIS)

262'

436. EXT DACDRI 437 . 0210 4452 ALF 3 VDRI72

0211 4937 0212 3220

438 . 0213 7FFF X ADC DR 172 439 . EXT DRI72 440. 0214 4449 ALF 3vDIGC0N

0215 47 43 0216 4F4E

441 . 0217 7FFF X ADC DI6C0N 442 . EXT DIGC0N 443. 0218 5244 ALF 3,RDPT

0219 5054 021A 2020

444. 02 IB 0064 X ADC RDPT 445. EXT RDPT 446. 021C 5343 ALF 3,SC.4L

021D 414C 02 IE 2020

447. 021F 7FFF X ADC SCAL 448. EXT SCAL 449 . 0220 5041 ALF 3fPAML,ST

0221 4D4C 0222 5354

450. 0223 7FFF X ADC PAMLST 451 . EXT PAMLST 452. 0224 4155 ALF 3VAUTBSY

0225 5442 0226 5359

453. 0227 7FFF X ADC AUTBSY 454. EXT AUTBSY 455. 0228 4D41 ALF 3fMANBSY

0229 4E42 022A 5359

456. 022B 7FFF X ADC MANBSY 457. EXT MANBSY 458. 022 C 5945 ALF 3,YERT0

022D 5254 022 E 4F20

459. 022 F 00A1 X ADC YERT0 460. EXT YERT0 461 . 0230 4D4F ALF 3 , M0NT0

0231 4E54 0232 4F20

462. 0233 7FFF X ADC M0NT0 463. EXT M0NT0 464. 0234 4441 ALF 3.DAYT0

0235 59 54 0236 4F20

465. 0237 7FFF X ADC DAYT0 466. EXT DAYT0 467 , 0238 48 4F ALF 3,H0RMIN

0239 52 4D 023A 49 4E

468. 023 B 7FFF X ADC H0RMIN 469 .

OOOC EXT H0RMIN

470. 0230 OOOC BSS SPARES(I2) 471 . * N 0 T E * * * * PROGRAM "ONE"

MAY ADD UP 10 3 M0RE PRESETS

Page 270: WSIBf , 1 - International Nuclear Information System (INIS)

263'

472 . 473. 47 4 .

00EO LPRES2 EQU ENT ENT

LPRES2(*-APRSET) LPRSET SHORTEST LENGTH 0F PRESETS LPRES2 LONG EST LENBTH OF PRESETS

47 6 . 477 .

* * ADDITIONAL ENTRIES MAY BE ADDED TO THE PRE IN THE FOLLOWING FORMAT

479 » 480 . 481 .

* * ALF 3,NAME ADC NAME EXT NAME

483. THE FOLLOWING SEVEN LOCNS ARE FOR MM FORTR

485 . 0248 0003 486. 024B OOOO 4 8 7 . 024C 0FF2 4 8 8 . 0i?,4D 0002

BZS ( 3 ) NUM 0

MAXSEC NUM 4082 BZS ( 2 )

MSB OF MAX SCRATCH SECTOR NO LSB OF MAX SCRATCH SECTOR NU

4 9 0 . * THE SYSTEM LIBRARY DIRECTORY FOLLOWS 491 . * AND IS COMPILED FROM THE * Y , * Y M ENTRIES 492 . * BY THE SYSTEM IN IT IAL IZER

494 . 024F EQU S L D I R Y ( * ) END OF PROGRAM = START OF DI 4 9 5 . END

I OOFF INPCOM 00015 ONE 0003 ONEBIT 0023 FIVE 0043 ADAC 0063 LINEO 0100 LINE5 0114 LINE10 0128 LINE15 013C LPRSET 0004 HORMIN 023BX PAMLST 0223X DACDRI 020 FX Q8STP 01FBX Q8QF2I 01E7X Q8QFIX 01D3X ENCODE 01SFX ALOG 01ABX RELESE 0193X WRITE 017FX JPRETN 016BX JNTSEL 011BX INT72 010FX m NI 00F4X SABS OOBDX OCDEC OOA2X

MAXQOR 7FFF 0UTC0M 0004 THREE 0004 TWO 0024 SIX 0044 ARDPf 0064 LINE1 0104 LINE6 0118 LINE11 012C VALU 0140 SPARES 023C DAYT0 0237X SCAL 021FX Q8QEND 020BX Q8FL0T 01F7X Q8FX 01E3X FLOT 01CFX ATAN 01BBX EXP 0IA7X TIMER 018FX READ 0,\7BX ADCT 0123X INT38 0117X PSYCHO 0065X VOLBLK 00 FOX LUABS OOBCX YERTO 022FX

STDINP 0002 LBUNIT 0005 SEVEN 0005 FOUR 0025 NINE 0045 FR 0071 LINE2 0108 L.INE7 011C LINE12 0130 CVT 0140 LPRES2 00 EO MOM TO 0233X RDPT 021BX Q8QX 0207X I F ALT 01F3X Q8PKUP 01 DFX FLOAT 01CBX COS 01B7X Q8SG 01A3X SCHEDL 018BX FWRITE 0177X INVINT 013FX INTDRM 0113X RESTRT 0001X DISPXX OOEAX VOL A OOBBX HEXASC 0060X

BINOUT 0003 SCRTCH 0005 NZERO 0012 EIGHT 0026 TEN 0046 ARGINP 0088 LINE3 01 OC LINE8 0120 LINE13 0134 JPRET 016B MAXSEC 02 4 C MANBSY 022BX DIGCON 0217X Q8QINI 0203X Q8QF2F 01EFX Q8PREP 01DBX DEC HEX 01C7X S IN 01B3X Q8AB 019FX DISPAT 0187X FREAD 0173X INTSTA 012FX TIMINT 010BX ALLIN OOFEX NABS OOBFX TOD 009BX SCTRN 7FFFX

LSTOUT 0004, LPMSK 0002 ZERO 0022 ZROBIT 0033 SNAPP 0061 AHEX 0089 LINE4 0110 LINE9 0124 L INEI4 0138 APRSET 0168 SLDIRY 02 4F AUTBSY 022 7X DRI72 0213X SETBFR 01FFX Q8QI2F 01EBX Q8QFLT 01D7X DECODE 01C3X TANH 01AFX LINK 0197X DISP 0183X CVTF 016FX DMFO O i l FX LYNEl 0107X IPROC 0103X CABS OOBEX DEOCT 00A4X DWFT 009FX

Page 271: WSIBf , 1 - International Nuclear Information System (INIS)

264'

CDWRD 009EX DWF 009AX DWC 0099X DWH 0098X SQRT 019BX DPLAY 004CX HX2ASC 0089X REGINP 0088X GNEXT 0048X V0LR 00BAX REQXT 00B9X INTSTK 00B8X MASKT OOB7X C0MPRQ OOB6X FNR 00B5X SCHSTK 00B4X J

Page 272: WSIBf , 1 - International Nuclear Information System (INIS)

265

2.39 MUXBUF

2 . 3 1 . 1 Class ification

On-line/core resident/assembly language/nonreentrant/relocatable

2.39.2 Purpose

MUXBUF, a data collecting program, responds to the interrupt of the 1572 high speed timer. Upon response to the interrupt, the program transfers data from the analog to digital converter and buffers the data for storage on mass memory. The pro-gram tests the data for overflow; and, finally, when all the requested data are recorded, the program schedules the noise analysis routine BULKRY.

2.39.3 Description

MUXBUF is entered at priority 15 by hardware interrupt from the 1572. Upon entry, the program connects to high-level point 8; if it is unsuccessful after three attempts, it types an error message, master clears the 1572, and exits to the dispatcher. Otherwise, the program tests for a maximum value of 5 V . If exceeded, the same exit procedure is used. Provisions are made for 2-channel data buffering; however, these instructions are currently bypassed.

The program tests to determine whether 100 words have been saved in the core buffer. If they have, a test is made to determine whether all data requested by FUN4 were digitized. If not, counters and drum addresses are adjusted, the current full 100-word buffer is transferred to the current empty location on drum, and the program exits to the dispatcher. The program continues in this fashion, recording one data word for each 1572 interrupt and transferring data in 100-word buffers until all data are recorded as inuicated by the parameter list values shown in PAMLST. After all data are recorded, the program schedules the noise analysis routine BULKRY and exits to the dispatcher.

The logic block diagram of MUXBUF is shown in Fig. 37.

2.39.4 Relationship to Other Programs '

MUXBUF schedules program BULKRY and uses subroutine DRI72.

2.39.5 Change Considerations

The parameter list PAMLST is used by STATGO and PSDIO. Any changes in this list must be rectified with these programs.

Page 273: WSIBf , 1 - International Nuclear Information System (INIS)

266

ORNL DWG NO. 72-850

LINE 3

NOTE- THE 1572 IS A 200 KHz PROGAMABLE CLOCK WHICH INTERRUPS AT LEVEL 15

MESSAGES NOISE SIGNAL TO HI DATA READ ERROR

Fig. 29. Logic Block Diagram of Program FTNFIX.

Page 274: WSIBf , 1 - International Nuclear Information System (INIS)

267

0 0 1 . NAM MUXBUF 1 / 1 7 7 0 V E R S I O N 0 0 2 . * 1 5 3 8 D R I V E R FOR N O I S E DATA C O L L E C T I O N 0 0 3 . ENT C O N E C T , P A M L S T , D I R S C H , A U T B S Y , M A N B S Y 0 0 4 . ENT S C A N R T , S C A L 0 0 5 . EXT BULKRY 0 0 6 . EXT D R I 7 2 0 0 7 . 0 0 F 4 EQU A M O N I ( $ F 4 ) , A D I S P ( $ E A )

OOEA 0 0 8 . 0 0 0 D EQU M S K ( $ D ) * M S K 1 ( $ 1 D >

0 0 1 D 0 0 9 . POOOO 0 0 0 1 BUFCTR NUM 1 0 1 0 . P 0 0 0 1 OOOO NUM 0 DRUM LSB FOR RAW DATA O i l . P 0 0 0 2 OOOA NUM $A DRUM MSB FOR RAW DATA 0 1 2 . P 0 0 0 3 OOOO NCHNLS NUM 0 N O . CHANNELS TO BE U S E D . ENTER VALUE 0 1 3 . * FROM OP C O N S O L E . O=0NE C H . 1=TW0 C H S . 01 4 . P 0 0 0 4 0 0 0 1 PAMLST NUM 1 = LG2N DUMMY 0 1 5 . P 0 0 0 5 0 0 1 0 NUM $ 1 0 M B I T DUMMY 0 1 6 . P 0 0 0 6 0 4 0 0 NUM $ 4 0 0 NBLK DUMMY 0 1 7 . P 0 0 0 7 0 0 3 A NUM $3A NUMBLK DUMMY. 0 1 8 . P 0 0 0 8 2 8 1 0 SCANRT NUM $ 2 8 1 0 = 1 0 * S C A N R T (DUMMY) 0 1 9 . P 0 0 0 9 OOOO SCAL NUM 0 PLOT F L A G - C A L S 0 SCALE CONST FOR F R L I N ) 0 2 0 . POOOA OOOO NUM 0 S H F T TOTALS 0 2 1 . POO OB OOOO NUMBUF NUM 0 N O . OF T I M E S THE 1 0 0 WD B U F F TO B E F I L 0 2 2 . p o o o c OOOO QPTR NUM 0 Q POINTER FOR NEXT BUFFER TO BE U S E D . 0 2 3 . POOOD OOOO BUFSWT NUM 0 S W I T C H USED I N I R E G . TO P I C K R T . BUF

0 2 5 . POOOE OOOO AUTBSY 0 0 FLAG S E T B Y TIMER SCHEDULE 0 2 6 . POOOF o o o o MANBSY 0 0 FLAG S E T FROM OP CONSOLE

028. 0 2 9 . 0 3 0 . 0 3 1 . 0 3 2 .

0 3 3 . 0 3 4 . 0 3 5 . 0 3 6 . 0 3 7 . 0 3 8 . 0 3 9 . 0 4 0 .

0 4 1 . 0 4 2 . 0 4 3 . 0 4 4 . 0 4 5 . 0 4 6 . 0 4 7 . 0 4 8 . 0 4 9 . 0 5 0 .

P 0 0 1 0 POOl 1 POOl 2 POOl 3 POOl 4 P O O l 5 POOl 6 POO 17 P O O l 8 POOl 9 POOl A P 0 0 1 B POOIC POOl D P 0 0 1 E POO I F P0020 P0021 P0022 P 0 0 2 3 P 0 0 2 4 P 0 0 2 5 P0026 P 0 0 2 7 P0028 P 0 0 2 9

OOOO OA FC 6 8 4 5 0 5 0 0 EOOO 0 4 4 E 0202 1 8 0 3 5 8 7 B 18 FE OAFC 6 8 3 C OBOO EOOO 9 4 0 8 0202 1 8 0 3 OBOO 5 8 7 1 C 8 E 9 6 0 F F OAFC 6 8 3 1 OBOO EOOO 9 4 0 8

CONECT

BACK

OK

OK 1

0 0 ENA - 3 S T A * COUNTS I I N 0 LDQ = N $ 0 4 4 E CONNECT TO 1 5 3 9

I N P 2 J M P * OK R T J * LOOP J M P * BACK ENA - 3 S T A * COUNTS NOP 0 LDQ = N $ 9 4 0 8

GOT CONNECTED TRY THREE T IMES

ENTER AND READ ONCE TO CLEAR

I N P J M P * N0P R T J * L D A * S T A -ENA S T A * NOP LDQ

2 OK 1

LOOP BUFSWT I - 3 COUNTS 0 = N $ 9 4 0 8

GOT THE DATA

BUFFER SELECTOR PUT I N I REG

READ CH.8

Page 275: WSIBf , 1 - International Nuclear Information System (INIS)

268

0 5 1 . P 0 0 2 A 0 2 0 2 I N P 2 0 5 2 . P 0 0 2 B 1 8 0 3 J M P * 0K2 6 0 T I T I N A R E G . 0 5 3 . P 0 0 2 C OBOO NOP 0 5 4 . P 0 0 2 D 5 8 6 6 R T J * L 0 0 P 0 5 5 . P 0 0 2 E E8DD 0K2 LDQ* QPTR B U F F . P 0 I N T E R I N Q 0 5 6 . P 0 0 2 F 5 8 7 7 R T J * L I M CHECK L I M I T S 0 5 7 . P 0 0 3 0

P 0 0 3 1 6 B 0 0 OOAE

STA MUXBUF ,B STORE DATA I N BUFFER

0 5 8 . P 0 0 3 2 C8D0 LDA* NCHNLS HOW MANY CHANNELS ARE WANTED 0 5 9 , P 0 0 3 3 0 1 1 7 SAN R D C H 9 - * - l I F 2 C H . G0 T0 READ 9 0 6 0 . P 0 0 3 4 0 4 0 0 E I N 0 0 6 1 . P 0 0 3 5 0D9C I S T B U F I N Q - 9 9 I F 0NE THEN TEST I F BUF FULL 0 6 2 . P 0 0 3 6 0 1 6 3 SQP U B L L U F - * - 1 WHEN B U F F I S F U L L G0 T0 0 6 3 . P 0 0 3 7 D 8 0 4 R A O * QPTR F U L B U F . OTHERWISE ADJUST 0 6 4 . P 0 0 3 8 5 8 5 0 R T J * ACKN A C K . I N T E R . 0 6 5 . P 0 0 3 9 14EA J M P - ( S E A ) 0 6 6 . P 0 0 3 A 1 8 1 7 UBLLUF J M P * FULBUF TO GET NEXT C H . 8 V A L U E . 0 6 7 . P 0 0 3 B OAFC RDCH9 SNA - 3 0 6 8 . P 0 0 3 C 6 8 1 B S T A * C0UNTS 0 6 9 . P 0 0 3 D D8CE R A 0 * QPTR 0 7 0 . P 0 0 3 E

P 0 0 3 F EOOO 9 4 0 9

LDQ = N $ 9 4 0 9 ftD. TO C L E A R .

0 7 1 . P 0 0 4 0 0 2 0 2 I N P 2 0 7 2 . P 0 0 4 1 1 8 0 3 J M P * 0K3 0 7 3 . POO 4 2 OBOO N0P 0 0 7 4 . P 0 0 4 3 5 8 5 0 R T J * L 0 0 P 0 7 5 . P 0 0 4 4 OBOO 0K3 N0P 0 0 7 6 . P 0 0 4 5

P 0 0 4 6 EOOO 9 4 0 9

LDQ = N $ 9 4 0 9

0 7 7 . POO 47 0 2 0 2 I N P 2 0 7 8 . P 0 0 4 8 1 8 0 3 J M P * 0 K 4 0 7 9 . POO 49 OBOO N0P 0 0 8 0 . P 0 0 4 A 5 8 4 9 R T J * L 0 0 P 0 8 1 . P 0 0 4 B E 8 C 0 0 K 4 LDQ* QPTR 0 8 2 . P 0 0 4 C 58 5A R T J * L I M CHECK L I M I T S 0 8 3 . P 0 0 4 D

P 0 0 4 E 6B00 0 0 9 1

STA M U X B U F , B STORE CH 9 AFTER CH 8

0 8 4 . P 0 0 4 F 0 4 0 0 E I N 0 0 8 5 . P 0 0 5 0 1 8 E 4 J M P * TSTBUF G0 TO TEST I F B U F F FULL 0 8 6 . P 0 0 5 1 0 8 4 2 FULBUF CLR Q THE Q SHOULD STAY CLR T I L SWTBU 0 8 7 . P 0 0 5 2 48B9 S T Q * QPTR I N I T I L I Z E B U F F . POINTER 0 8 8 . P 0 0 5 3 C 8 B 7 LDA* NUMBUF TEST T0 S E E I F R E Q D . N 0 . 0 8 9 . P 0 0 5 4 9 8 AB S U B * BUFCTR 0 F B U F F S . HAVE BEEN D0NE I F 0 9 0 . P 0 0 5 5 0 1 3 3 SAM C 0 N T - * - l 0 9 1 . P 0 0 5 6 180C J M P * SWTBUF 0 9 2 . P 0 0 5 7 0 0 0 1 BSS C0UNTS 0 9 3 . P 0 0 5 8 0 4 0 3 C 0 N 7 2 NUM $ 4 0 3 0 9 4 . POO 59 OAOO C 0 N T ENA 0 RESET BAD COUNTER 0 9 5 . POO 5 A 6 8 5 6 S T A * BDCTR 0 9 6 . P 0 0 5 B 0 C 0 2 ENQ 2 USER CODE N 0 . 0 9 7 . P 0 0 5 C

P 0 0 5 D 5 4 0 0 7 F F F

X X

R T J E R I 7 2

0 9 8 . P 0 0 5 E FFFE NUM - I MASTER CLEAR 5 1 5 7 2 . 0 9 9 . P 0 0 5 F 0 0 0 0 NUM 0 1 0 0 . P 0 0 6 0 0 0 0 0 NUM 0

Page 276: WSIBf , 1 - International Nuclear Information System (INIS)

2 6 9

i o l . P 0 0 6 1 1 8 4 1 J M P * SCHBUL 1 0 2 . POO 6 2

POO 6 3 COOO 0 0 D F P

SWTBUF LDA =XMUXBUF

1 0 3 . P 0 0 6 4 8 0 F F A D D - I 1 0 4 . P 0 0 6 5 6 8 1 F S T A * PAMMXP C 0 R E ADDRESS F0R NEXT DRUM T 1 0 5 . P 0 0 6 6 C 8 9 B L D A * B U F C T R + 2 S T A R T I N G DRUM ADDRESS F0R 1 0 6 . P 0 0 6 7 6 8 I E S T A * DRMSTR T H I S T R A N S F E R . 1 0 7 . P 0 0 6 S C 8 9 8 LDA* B U F C T R + 1 TWO W0RD ADDRESSING F0R THE 1 0 8 . POO 6 9 6 8 1 D S T A * DRMSTR+1 DRUM 1 0 9 . P 0 0 6 A O I B O SN0 I 1 0 0 « * - 1 1 1 0 . P 0 0 6 B 0 9 6 4 1 1 0 0 I N A 1 0 0 I l l . P 0 0 6 C 0 1 B 6 SN0 G0 - * - 1 CHECK T0 DETERMING I F SECOND 1 1 2 . P 0 0 6 D E 8 9 4 LDQ* B U F C T R + 2 1 1 3 . P 0 0 6 E 0 DF 1 I N Q - $ E 1 1 4 . P 0 0 6 F 0 1 6 A SQP ' ; J I L D - * - i 1 1 5 . P 0 0 7 0 D 8 9 1 RAO* B U F C T R + 2 1 1 6 . P 0 0 7 1 AO! 1 A N D - $ 1 1 REACHED 7 F F F . I F S 0 I N C R E A S E i n . P 0 0 7 2 OBOO N0P 0 F I R S T WORD BY ONE AND ERASE 1 1 8 . * S I G N I N SECOND WORD. 1 1 9 . P 0 0 7 3 6 8 8 D G0 S T A * B U F C T R + 1 ADJUST DRUM A D D . P O I N T E R 1 2 0 . P 0 0 7 4 D88B R A O * BUFCTR UPDATE THE B U F F . COUNTER 121 . P 0 0 7 5 C O F F LDA- I F L I P THE B U F . S T I T C H TO = 1 0 0 1 2 2 . P 0 0 7 6 0 1 0 4 S A Z S E T 1 0 0 - * - 1 OR 0 DEPENDING ON LAST T I M 1 2 3 . P 0 0 7 7 0 8 4 2 CLR Q

1 OR 0 DEPENDING ON LAST T I M

1 2 4 . P 0 0 7 8 4 8 9 4 S T Q * BUFSWT RESET U B U F , S W I T C H TO 0 . 1 2 5 . P 0 0 7 9 1 8 0 4 J M P * R E S 0 U 1 2 6 . P 0 0 7 A 1 8 D E WILD J M P * C 0 N T 1 2 7 . P 0 0 7 B 0A6 4 S E T I O O ENA 1 0 0 1 2 8 . P 0 0 7 C 6 8 9 0 S T A * BUFSWT S E T I T TO 1 0 0 1 2 9 . P 0 0 7 D 5 SOB R E S 0 U R T J * ACKN 1 3 0 . P 0 0 7 E 5 4 F 4 DRMTRF NUM $ 5 4 F 4 131 . P 0 0 7 F 0 4 CO NUM $ 4 CO 1 3 2 . P 0 0 8 0 OOOO NUM 0 1 3 3 . POO 81 OOOO NUM 0 1 3 4 . P 0 0 8 2 0 8 B 3 NUM S 8 B 3 1 3 5 . P 0 0 8 3 0 0 6 4 NUM $ 6 4 1 3 6 . P 0 0 8 4 OOOQ PAMMXP NUM 0 1 3 7 . P 0 0 8 5 OOOO DRMSTR NUM 0 1 3 8 . P 0 0 8 6 OOOO NUM 0 1 3 9 . P 0 0 8 7 14EA J M P - ( S E A ) 1 4 0 . POO 8 8 OOOO ACKN NUM 0 ENTRY P 0 I N T . 141 . P 0 0 8 9 OAFC ENA - 3 1 4 2 . P 0 0 8 A 68CC S T A * C 0 U N T S 1 4 3 . P 0 0 8 B 0 5 0 0 I I N 0 1 4 4 . POO 8 0 0 A 0 2 ENA 2 RESET THE I N T R P T . 1 4 5 . P 0 0 8 D E8C A L D Q * C 0 N 7 2 1 4 6 . P 0 0 8 E 0 3 0 3 0UT 3 1 4 7 . P 0 0 8 F 0 4 0 0 E I N 0 . 1 4 8 . P 0 0 9 0 1CF7 J M P * ( A C K N ) 1 4 9 . P 0 0 9 1 OBOO N 0 P 0 1 5 0 . P 0 0 9 2 5 8 0 1 R T J * L 0 0 P 151 . P 0 0 9 3 OBOO U30P N0P 0 i

1 5 2 . P 0 0 9 4 C 8 C 2 LDA* C 0 U N T S 1 5 3 . P 0 0 9 5 0 1 2 3 SAP B A D N W S - + - 1 1 5 4 . P 0 0 9 6 DBCO R A 0 * C 0 U N T S

Page 277: WSIBf , 1 - International Nuclear Information System (INIS)

270

1 5 5 . P 0 0 9 7 0 C F 9 ENQ -6 1 5 6 . P 0 0 9 8 I E FA J M P * ( L00P ) t Q 1 5 7 . P 0 0 9 9 0 4 0 0 BADNWS E I N 0 1 5 8 . F W R I T E $ E , . M S G - B A D N W S - 2 , 8 , A , 8 , t 0 , X 1 5 8 . P 0 0 9 A 5 4 F 4

- B A D N W S - 2 , 8 , A , 8 , t 0 , X

1 5 8 . P 0 0 9 B OD8O 1 5 8 . P 0 0 9 C

P 0 0 9 D OOOO OOOO

1 5 8 . P 0 0 9 E 1 0 0 E 1 5 8 . P 0 0 9 F

P 0 0 A 0 0 0 0 8 0 0 3 C

1 5 9 . P 0 0 A 1 1 8 1 D J M P * X X I T 1 6 0 . P 0 0 A 2 54 F4 SCHBUL R T J - ( A M 0 N I ) 161 . P 0 0 A 3 1 2 0 3 NUM $ 1 2 0 3 1 6 2 . P 0 0 A 4 F F F F X D I R S C H ADC ( B U L K R Y ) 1 6 3 . P 0 0 A 5 14EA J M P - ( A D I S P ) 1 6 4 . P 0 0 A 6 OOOO L I M 0 0 A / D 0VERANGE CHECK R O U T I N E 1 6 5 . P 0 0 A 7 6 8 0 8 S T A * S V I T 1 6 6 . P 0 0 A 8 BOOD E 0 R - MSK 1 6 7 . P 0 0 A 9 0 1 0 7 SAZ B U M P - * - l 1 6 8 . POOAA C 8 0 5 LDA* S V I T 1 6 9 . POOAB B 0 1 D E 0 R - MSK 1 1 7 0 . POOAC 0 1 0 4 SAZ B U M P - * - 1 171 . POOAD C 8 0 2 LDA* S V I T 1 7 2 . POOAE 1CF7 J M P * ( L I M ) I T ' S OK S 0 G0 0 N . 1 7 3 . POOAF OOOO S V I T 0 0 1 7 4 . POOBO OOOO BDCTR 0 0 1 7 5 . P 0 0 B 1 C 8 F E BUMP LDA* BDCTR 1 7 6 . POOB2 0 9 F E I N A - 1 1 7 7 . P 0 0 B 3 0 1 3 3 SAM B D M S - * - 1 1 7 8 . POOB4 6 8 F B S T A * BDCTR 1 7 9 . P 0 0 B 5 C 8 F 9 LDA* S V I T 1 8 0 . POOB6 1CEF J M P * ( L I M ) E X I T . 181 . BDMS FWRITE $ E . . M S -B D M S - 1 , 1 0 ,A , 9 , , , X 181 . P 0 0 B 7 5 4 F 4

B D M S - 1 , 1 0 ,A , 9 , , , X

181 . POOB8 OD90 1 8 1 . P 0 0 B 9

POOBA OOOO OOOO

181 . POOBB 1 0 0 E 181 . POOBC

POOBD OOOA 0 0 1 4

-

1 8 2 . POOBE OAOO X X I T EN A 0 1 8 3 . POOBF

POOCO 6 8 0 0 FF4D

STA AUTBSY

1 8 4 . POOC1 P O 0 C 2

6 8 0 0 F F 4 C

STA MANBSY

1 8 5 . POOC3 68EC S T A * BDCTR 1 8 6 . P 0 0 C 4 0 0 0 2 ENQ 2 MASTER CLR 1 5 7 2 1 8 7 . POOC5

P 0 0 C 6 5 4 0 0 0 0 5D

X X

R T J + D R I 7 2

1 8 8 . POOC7 POOC8 POOC9

FFFE OOOO OOOO

NUM - 1 , 0 , 0

1 8 9 . POOCA 14EA J M P - ( A D I S P ) 1 9 0 . POOCB OOOO NUM 0

Page 278: WSIBf , 1 - International Nuclear Information System (INIS)

271

1 9 1 .

1 9 2 . 1 9 3 .

19 4 . 1 9 5 .

POOCC POOCD POOCE POOCF POO DO POO D1 POOD2 POO D3 POO LW POOD5 POO DS POOD7 POODS POOD9 POO DA POOD8 POODC POODD POODE POO DF

4 E 4 F 4 9 5 3 4 5 2 0 5 3 4 9 47 4E 41 4 C 2 0 5 4 4 F 4 F 2 0 4 8 4 9 2 E OOOO 4 4 4 1 5 4 4 1 2 0 5 2 45 1 4 4 2 0 4 5 5 2 5 2 4 F 5 2 2 0 OOC8

MS ALF l O t N 0 I S E S I G N A L T 0 0 H I .

MSG NUM 0 A L F 8 , D A T A READ ERR0R

BZS M U X B U F C 2 0 0 ) END

Page 279: WSIBf , 1 - International Nuclear Information System (INIS)

272

2.40 PATCH

2.40.1 Classification

Off-l ine/core resident/Fortran language/nonreentrant/relocatable

2 .40 .2 Purpose

PATCH automatically fixes several system softward "patches" after each rebuild. The program thus expedites the completion of the rebuild by performing several drum transfers and table transfers which were previously performed manually with CHRIS.

2 .40 .3 Description

PATCH is executed off-l ine, using the standard off-line procedure. Upon entry, the program requests the user to type an entry point number, which can be any number from 1 to 6. The entry points allow the user to obtain access to the program at several different locations. Entry point 1 converts any sector number to MSB/LSB. This loop repeats until the user types 0000 which transfers execution to entry point 2. Entry point 2 provides the system fix for Q8RINT and CALENDR. Entry point 3 permits standard fixes for the Fortran compiler, followed by fixes for the assembler. Entry point 4 fixes SYSBUF and GENLIB. Entry point 5 provides for core image fixfes to program OVFVOL and PSYCHO. Entry point 6 is for DWORDS and PTDESC, followed by fixes for the console function series. The console function series has a loop which allows modifications to each of the DWORDS as required .

The logic block diagram of PATCH is shown in Fig. 38.

2 .40 .4 User Instructions

PATCH is executed as a standard off-line program. The instructions are typed. The address of each location and its contents are typed before the following number is entered. If the user desires to have the change made, a "2" is typed after each patch typeout is finished. If not, any other number will cause the execution to proceed to the next step.

2 .40 .5 Relationship to Other Programs

PATCH is affected by many of the programs which it patches. Changes in any of these programs must be rectified with the PATCH program.

Page 280: WSIBf , 1 - International Nuclear Information System (INIS)

273

O R N L D W G NO 7 2 8 3 5

MANUAL

Fig. 38. Logic Block Diagram of Program PATCH.

Page 281: WSIBf , 1 - International Nuclear Information System (INIS)

2 7 4

PROGRAM PATCH C 1 1 / 0 9 / 7 1 C T H I S PROGRAM R E Q U I R E S THE F 0 L L 0 W I N G S E T U P C F T N F I X P R E - L O A D E D AT F / 2 3 3 0 . C A S M F I X PRE-LOADED AT F / 2 3 6 0 . C BULKRY , P S D I O , A N D GEOFF MUST BE L0ADED C 0 N T I G I 0 U S L Y . C I N THE SYSTEM D I R . ( 0 N THE * Y M TAPE) C FORTRAN AND ASSEMBLER LOADED C 0 N T I G I 0 U S L Y . C S E T J S P = A D D . OF SPACE (CURRENTLY $ 4 4 C 0 ) < * * * THE CONSOLE S E R I E S S H 0 U L D B E LOADED FROM THE * M B U I L D TAPE C C 0 N T I G I 0 U S L Y , EXCEPT FOR F U S . 7 , AND ALL GREATER THAN 2 2 . O f * THE CONSOLE S E R I E S I S PATCHED AS F O L L O W S * : THE DWORDS MUST BE L0ADB C W I T H E THE SYSTEM B U I L D AND W I T H E THE CORRECT KEY 0 F F - 0 N I N D I C A T O R C AND P R I O R I T I E S . THE LENGTHS NEED ONLY BE T0 THE NEAREST C S E C T O R , BECAUSE THEY ARE INCREASED BY PATCH TO THE NEXT INTEGER SECT J C THE VALUES FOR F N . 7 AND ALL GREATER THAN 2 2 MUST B E ENTERED AS S I N G S C C C 0 * * * * * * * * * * * * * * * * * * * * * ENTRY P 0 I N T I N D E X T A B L E * * * * * * * * * * * * *

************ *********** Qeci|c4<;)t:>|c 4: i|c4:4;}(c]|c>ie******3t:***********************4c*3|c**************

D I M E N S I O N I P ( $ 1 8 1 ) , N D A T ( $ 1 8 1 ) , J ( 3 ) INTEGER FLA W R I T E ( 4 , 2 1 3 ) W R I T E ( 4 , 2 2 3 )

2 2 3 FORMAT ( 4 6 H E A C H DRM W R I T E I S DONE BY T Y P I N G - 2 AFTER 0 K - ) 2 1 3 F 0 R M A T ( 3 4 H V E R I F Y S E T U P - ( S E E PATCH C O M M E N T S ) )

J S P = $ 4 4 C 0 1 = 0 L=0 M S = 0

LN = 2 N =0

7 W R I T E ( 4 , 3 0 3 ) 3 0 3 FORMAT ( 2 9 H S T A R T E X E C U T I O N AT ENTRY N 0 . - )

READ ( 4 , 2 2 2 ) I S T A R I F ( I S T A R . L T . 0 . 0 R . I S T A R . G T . 6 ) G0 T0 7 G0 T0 ( 3 0 4 , 2 3 0 , 2 0 , 1 5 , 2 1 6 , 3 1 3 ) , I S T A R

3 0 2 F O R M A T ( 9 H * * * E N T . - 1 ) 3 0 4 W R I T E ( 4 , 3 0 2 )

WRITE ( 4 , 2 5 ) 2 5 F O R M A T ( 3 2 H D E T E R M I N E MS ,LS 0F G I V E N S E C T O R / )

W R I T E ( 4 , 3 6 ) 3 6 F O R M A T ( 2 I H T Y P E I N SECTOR ( X X X X ) / ) 3 5 READ ( 4 , 2 ) 1

I F ( I . E Q . O ) G 0 TO 2 3 0 ASSEM $ 5 8 0 0 . * . * 1 0 0

C C C C C C c C c c c

E N T . - l GET M S / L S 0F ANY S E C T O R . E N T . - 2 Q S R I N T AND C A L N D R .

E N T . - 3 F 0 R T P 1 , E N T . - 4 SYSBUF AND G E N L I B . E N T . - 5 CORE IMAGE AND CORE CHANGES E N T . - 6 DWORD,PTDESC S E C T O R S .

Page 282: WSIBf , 1 - International Nuclear Information System (INIS)

\

\ \ \

\ \

W R I T E ( ^ , 3 7 ) M S , L 3 7 F0RMAT (3HMS= , $ 4 , 3 H L S = , $ 4 , 5 H )

G0 10 3 5 2 3 0 WRITE ( 4 , 3 0 5 )

C F I X SPACE I N G 8 R I N T AND C0MM0N ADD* I N FL0W • 3 0 5 F0RMAT ( 9 H * * * E N T . - 2 )

W R I T E ( 4 , 2 3 1 ) 2 3 1 F 0 R M A T C 3 OH T Y P E Q 8 R I N T AND CA1LNDR S E C T 0 R - )

READC 4 , 9 ) 1 , 1 2 LN = 1 I F ( I . E Q . 0 ) G0 T0 2 0 ASSEM $ 5 8 0 0 , * , * 1 0 0 I P = 0

L P = $ C E ASSEM $ 5 8 0 0 , * , * 9 0 I F ( 1 2 . E Q . 0 ) G0 10 2 0 1=12 A S S E M $ 5 8 0 0 , * , * 1 0 0

I P = $ 1 0 0 9 L P = $ 2 9

ASSEM $ 5 8 0 0 , * , * 9 0 C F 0 R T P 1 2 0 W R I T E ( 4 , 3 0 6 ) 3 0 6 F0RMAT ( 9 H * * * E N T * - 3 )

W R I T E ( 4 , 1 ) 1 F0RMAT ( 2 5 H T Y P E F 0 R T P 1 SECT0R C X X X K ) / )

R E A D C 4 , 2 ) I I F ( I . E Q . 0 ) G0 110 15

2 F 0 R M A T ( $ 4 ) WRITEC 4 , J 5 0 )

1 5 0 F 0 R M A T C 3 1 H C 0 M P I L E R AND ASSEMBLER PATCHES / ) ASSEM $ 5 8 0 0 , * , * 1 0 0 L N =1 MSV=MS

L S V = L I P = $ 1 8 1 0 L P = $ 1 OCA ASSEM $ 5 8 0 0 , * , * 9 0

I P = $ 6 4 B 5 L P = $ 1 1 E C ASSEM $ 5 8 0 0 , * , * 9 0

LN =2 I P ( I ) = $ 5 8 0 0 I P ( 2 ) = $ C 0 8 LP= $ A 9 7 ASSEM $ 5 8 0 0 , * , * 9 0 LN =1 I P = $ B E 6 L P = $ A C 2 ASSEM $ 5 8 0 0 , * , * 9 0 I P =$9F A LP = $ABF ASSEM $ 5 8 0 0 , * , * 9 0 I P = $ 8 0 5 7 L P = $ 1 0 B 2 ASSEM $ 5 8 0 0 , * , * 9 0 I P = $ 8 0 5 7

Page 283: WSIBf , 1 - International Nuclear Information System (INIS)

2 7 6

L P = $ U 5 B ASSEM $ 5 8 0 0 , * , * 9 0

C F 0 R T P 6 LN = 1 1 = I + $ 2 F 5 ASSEM $ 5 8 0 0 , * , * 1 0 0 I P = $ 9 F 5 L P = $ 3 2 3 ASSEM $ 5 8 0 0 , * , * 9 0 I P = $ 1 8 0 9 LP = $ 3 2 5 ASSEM $ 5 8 0 0 , * , # 9 0

C PART 6 2 I = I + $ 3 6 ASSEM $ 5 8 0 0 , * , * 1 0 0

I P = $ 9 F 5 LP = $ E F ASSEM $ 5 8 0 0 , * , * 9 0

W R I T E ( 4 , 2 1 2 ) 2 1 2 F0RMAT ( 4 0 H X F R F T N F I X FR0M F / 2 3 3 0 T0 F 0 R T P i + $ 1 6 A 0 )

L N = $1C N=1

MST =MSV L T = L S V + S 1 6 A 0 I F <LT . 6 E . 0 ) G0 TO 2 1 4 L T = L T - S 8 0 0 0 MST = M S T + 1

2 1 4 L P = 0 M S = $ F

L = $ 2 3 3 0 A S S E M S 5 8 0 0 , * , * 9 0 N =0

C PASS 1 WRITEC 4 , 1 6 0 )

1 6 0 F0RMAT ( I 5 H P A S S I PATCHES / ) I = I + $ 2 E ASSEM $ 5 8 0 0 , * , * ! 0 0 L N = l I P = $ F F 2 L P = $ 5 B

ASSEM $ 5 8 0 0 , * , * 9 0 I P = $ l 8 0 6 L P = $ 5 6 5 ASSEM $ 5 8 0 0 , * , * 9 0 I P C 1 ) = $ 5 8 0 0 I P ( 2 ) = $ 2 2 4 L P = $ 5 A 1 L N = 2 ASSEM $ 5 8 0 0 , * f * 9 0 LN =1 I P = $ 8 0 5 7 LP = $ 5 A 9 ASSEM $ 5 8 0 0 , * , * 9 0 WRITE ( 4 , 1 9 )

19 F 0 R M A T ( 3 5 H X F R A S M F I X FR0M F / 2 3 6 0 10 P A S S 1 + 7 C 6 ) L N = $ 1 6 N=l MST=MS

Page 284: WSIBf , 1 - International Nuclear Information System (INIS)

2 7 7

LT = L + $ 7 C 6 I F ( LT . G E . 0 ) G0 T0 2 1 5 LT = L T - $ 8 0 0 0 MST = MST + 1

21 5 L P = 0 M S = $ F

L = $ 2 3 6 0 ASSEM $ 5 8 0 0 , * , * 9 0

N =0 C G E N L I B 5 F0RMAT ( 3 9 H T Y P E SYSBUF C 0 R E A D D . AND G E N L I B S E C T . - ) 1 5 W R I T E ( 4 , 3 0 8 ) 3 0 8 F 0 R M A T ( 9 H * * * E N T . - 4 )

W R I T E ( 4 , 5 ) READ ( 4 , 9 ) I P O ) , I I F ( I P ( 1 ) . E Q . 0 ) G0 T0 2 1 6

ASSEM $ 5 8 0 0 , * , * 1 0 0 LN = 1

LP=$A4 ASSEM $ 5 8 0 0 , * , * 9 0 L P = $E0 ASSEM $ 5 8 0 0 , * , * 9 0

C * * * T H E F 0 L L 0 W I N G PATCHES ARE T0. THE C 0 R E IMAGE 0 * * T H E BASE DRUM A D D . I S F0R THE C 0 R E I M A G E AKD 0NLY 0 * * 0 N L Y LP ( = C 0 R E A D D . ) NEED B E ALTERED 0 * * B E F 0 R E E A . $ 5 8 0 0 , * , * 9 0 . 0 * * * * I F THE IMAGE S E C T 0 R I S S E T T0 Z E R 0 ALL I S O * * * S K I P P E D . C IMAGE C C0NVERT C 0 R E IMAGE SECT0R T0 M S / L S . 2 1 6 W R I T E ( 4 , 3 1 1 ) 3 1 1 F0RMAT ( 9 H * » * E N T . - 5 )

W R I T E ( 4 , 2 0 6 ) 2 0 6 F 0 R M A T ( 2 3 H T Y P E C 0 R E I M A G E S E C T 0 R - ) 17 READ ( 4 , 2 ) 1

I T = I I F ( I . E Q . 0 ) G0 10 1 8

ASSEM $ C 8 0 0 , I , $ 2 0 0 0 , $ 6 0 , $ 3 0 0 0 , $ 8 0 0 , $ 6 8 0 0 , J ( 1 ) , $ 4 8 0 0 , J ( 3 ) C AB0VE C A L C . TRACK I N J ( l ) AND REMAINDER I N J ( 3 )

ASSEM $ 5 8 0 0 , * , * ! 0 0 W R I T E ( 4 , 1 4 )

1 4 F 0 R M A T ( 3 6 H T Y P E C 0 R E A D D . 0 F 0 V F V 0 L AND P S Y C H 0 - ) READ ( 4 , 9 ) I P ( 4 ) , L P I F ( I P ( 4 ) . E Q . 0 ) G0 T0 2 0 5 LN =2

L P = L P + $ 5 B I P ( 1 ) = J ( 1 ) I P ( 2 ) = J ( 3 )

ASSEM $ 5 8 0 0 , * , * 9 0 ASSEM $ C 8 0 0 , J S P , $ C 0 0 , $ 3 0 0 0 , $ 8 0 0 , $ 8 8 0 0 , I P ( 1 ) , $ 6 8 0 0 , I P U ) ASSEM $ 8 1 4 , $ 8 8 0 0 , J ( 3 ) ASSEM $ 1 2 4 , $ A 0 0 0 , $ 7 F F F , $ D 8 0 0 , I P ( 1 ) , $ 6 8 0 0 , J ( 3 )

C AB0VE C A L C . TRACK AND S E C T . 0 F S P A C E , N0W S T 0 R E I N P S Y C H 0 + 6 3 S L P = L P + 5

I P ( 2 ) = J ( 3 ) ASSEM $ 5 8 0 0 , * , * 9 0

C N0W D0 THE PATCH I N 0 V F V 0 L T0 JMP T0 P S Y C H 0 . LN =1

Page 285: WSIBf , 1 - International Nuclear Information System (INIS)

2 7 8

LP = I P ( 4 > + $ B I P = $ 1 4 6 5 ASSEM $ 5 8 0 0 , * , * 9 0

C P U T J M P * PSYCH0 I N AT L 0 C . $ 0 0 0 0 I P = $ 1 4 6 5

L P = 0 ASSEM $ 5 8 0 0 * * 9 0

C ASSEMBLER B L 0 C K ' I N C 0 R E < ( $ F 7 ) + $ 2 A 2 4 . E Q , $ 7 E 9 3 ASSEM $ C 0 F 7 , $ 6 8 0 0 , 1 P I P = I P + $ 2 A 2 4 LP = $ 5 7 ASSEM $ 5 8 0 0 , * , * 9 0

C F I X DWC T0 G0 T0 DUMBUL W R I T E ( 4 , 3 )

3 F0RMAT ( 2 7 H T Y P E ADD 0 F DWC AND DUMBUL- ) READC 4 , 9 ) L P D , I P ( 4 ) I F ( L P D . E Q . 0 ) G0 TO 2 0 5 L P = LPD+SAF IP(1)=$1802 I P < 2 ) = $ 5 0 0 I P ( 3 ) = $ 5 4 0 0 LN =4 ASSEM $ 5 8 0 0 , * , * 9 0 I P ( 2 ) = $ 3 0 0 L P = L P D + $ C C ASSEM $ 5 8 0 0 , * , * 9 0

2 0 5 W R I T E ( 4 , 2 0 2 ) L N = 1

2 0 2 F0RMAT ( 3 0 H T Y P E D I R I N D E X 0 F BULKRY ( 1 2 ) - ) READ ( 4 , 2 1 0 ) J ( l )

2 1 0 F 0 R M A T ( 1 2 ) I F ( J ( l ) . E Q , 0 ) G0 TO 8 0 W R I T E ( 4 , 2 0 4 )

2 0 4 F 0 R M A T ( 3 O H D I R LENGTHS CHANGED AS F 0 L L 0 W S ) D0 2 0 3 K 2 = 1 , 3 ASSEM SCOEB , $ 6 8 0 0 , J ( 2 ) LP= ( J ( 1 ) - 1 + K 2 ) * 7 - 3 + J ( 2 ) I F ( K 2 . E Q . 1 ) I N C = $ 1 4 0 0

I F ( K 2 . E Q . 2 ) I N C = $ 2 0 0 I F ( K 2 . E Q . 3 ) I N C = $ 1 0 0 ASSEM $ C C O O , L P , $ 8 8 0 0 , I N C , $ 6 8 0 0 , I P ( 1 )

2 0 3 ASSEM $ 5 8 0 0 , * , * 9 0 C N0W C A L C . GUARD SW. S E T T I N G S ALS0 1ST SECTOR A B 0 V E GUARDS C AND S T 0 R E I N SPACEDR + $ 6 0

8 0 W R I T E ( 4 , 8 ) 8 F 0 R M A K 3 6 H T Y P E ASSEM S E C T AND SPACDR C 0 R E A D D / )

R E A D ( 4 , 9 ) J ( 1 ) , J ( 2 ) 9 F 0 R M A T ( $ 4 , I X , $ 4 )

ASSEM $ C 8 0 0 , J ( 1 ) , $ 9 0 4 , $ 2 0 0 0 , $ 6 0 , $ 3 0 0 0 , $ 8 0 0 , $ 9 0 1 ASSEM $ 6 8 0 0 , J ( 1 ) , $ 2 0 0 0 , $ 8 0 0 , $ 3 0 0 0 , $ 6 0 , $ 9 0 1 , $ 6 8 0 0 , I P

I F ( J ( l ) . E Q . 0 ) G0 TO 18 W R I T E ( 4 , 1 0 ) J ( 1 ) , 1 P ( 1 )

1C F 0 R M A T O 4 H S E T GUARDS AT , $ 4 , I X , $ 4 , 15H I S < 4AP S E C T 0 R ) LP= J ( 2 ) + $ 6 0 ASSEM $ 5 8 0 0 , * , * 9 0

C CALC . THE B E G I N N I N G 0 F SCRATCH AND PUT I N $ C 1 . ASSEM $ C 0 F 6 , $ 9 0 F 7 , $ C O O , $ 3 0 0 0 , $ 6 0 , $ 9 0 1 ASSEM $ 8 8 0 0 , I P , $ 6 8 0 0 , I P

Page 286: WSIBf , 1 - International Nuclear Information System (INIS)

2 7 9

L P = $ C 1 ASSEM $ 5 8 0 0 , * , * 9 0

6 0 T0 18 3 1 3 W R I T E ( 4 , 2 0 6 )

R E A D ( 4 , 2 ) I T 3 1 4 FORMAT ( 9 H * * * E N T . - 6 ) 18 W R I T E ( 4 , 3 1 4 )

W R I T E ( 4 , 1 2 ) LN =2 C O N T I N U E

12 F 0 R M A T ( 2 6 H T Y P E DWORD,PTDESC S E C T O R S / ) READ ( 4 , 9 ) J ( l ) , J ( 2 ) I F ( J ( l ) . E Q . 0 ) S T O P

1= J ( l ) ASSEM $ 5 8 0 0 , * , * 1 0 0 I P ( 1 ) =MS

MSDW=MS LSDW=L

I = I T I P ( 2 ) = L ASSEM $ 5 8 0 0 , * , * 1 0 0 L P = $ 8 0

ASSEM $ 5 8 0 0 , * , * 9 0 1=J(2) ASSEM $ 5 o 0 0 , * , * l 0 0

C L0C0RE FOR ADR OF P T D E S C . I P ( 1 ) =MS I " I T I P ( 2 ) = L ASSEM $ 5 8 0 0 , * , * 1 0 0 LP - $ 8 2 ASSEM $ 5 8 0 0 , * , * 9 0

W R I T E ( 4 , 2 1 7 ) 2 1 7 F 0 R M A T ( 4 6 K T Y P E SECT C 0 R R 0 S P O N D I N G TO CONSOLE F N . N O . 0 0 = )

L N =$A 4 C A L L DRUM ( 0 , L N , M S D W , L S D W , N D A T )

C THE ABOVE READS DWORDS I N T O NDAT FOR F I X I N G . L A S T = 0 L L 2 = $ F 0 F F

NUN =0 READ ( 4 , 2 ) I L L = 4 * N U N + 1

2 1 8 W R I T E ( 4 , 2 3 2 ) N U N , I 2 3 2 F O R M A T ( 1 2 , 2 H = , $ 4 )

I F ( I . E Q . 0 ) GO TO 5 0 1 ASSEM $ 5 8 0 0 , * , * 1 0 0 N D A T ( L L ) = L

C ADD THE MSB TO 2 N D WORD AT B I T S 8 - 1 1 . M L S 8 = M S * 2 5 6

C ABOVE I S A L E F T S H I F T S COMMAND. K L = N D A T ( L L + 1 ) N S = A N D ( U L 2 , K L ) N D A T ( L L + 1 ) =NS+MLS8

C C A L C . N E X T S E C T . ABOVE T H I S CURRENT F N C . N O . I S S = 1 + N D A T ( L L + 2 ) / 9 6

I = I + I S S I F ( L A S T . E Q . 1 . O R . NUN . G T . 2 2 ) G0 TO 2 1 9 NDAT( LL"*2 ) = I S S * 9 6

Page 287: WSIBf , 1 - International Nuclear Information System (INIS)

2 8 0

WRITEC 4 , 6 ) N D A T ( L L ) , N D A T ( L L + l ) , N D A T ( L L + 2 ) L L = L L + 4 NUN = NUN+1

C S I N C E F N S . 2 & 3 ARE THE SAME AND 1 4 4 1 5 ARE SAME: I F (NUN . E Q . 3 . O R • NUN . E Q . 1 5 ) I = 1 - I 5 S

I F (NUN . N E . 7 ) GO TO 2 1 8 NUN =8 L L = L L + 4 GO TO 2 1 8

2 1 9 W R I T E ( 4 , 6 ) N D A T ( L L ) , N D A T ( L L + 1 ) , N D A T ( L L + 2 ) WRITE ( 4 , 5 0 2 ) READ ( 4 , 2 2 2 ) F L A I F ( FLA . N E . 2 ) 60 T0 5 0 3 CALL DRUM ( 1 , L N , M S D W , L S D W , N D A T )

2 2 2 F0RMAT ( I I ) 5 0 0 F 0 R M A T ( 5 4 H F 0 R S I N G L E S TYPE FN N O . - S E C T . - LENGTH ( 1 2 , I X , $ 4 , I X , $ 4 ) ) 5 0 3 I F ( L A S T . E Q . 1 ) G0 T0 5 0 7

WRITE ( 4 , 5 0 0 ) 5 0 7 W R I T E ( 4 , 5 0 5 ) 5 0 5 F 0 R K A T ( 5 H M 0 R E - )

READ ( 4 , 1 4 0 ) N U N , 1 , J ( I ) LL=N U N * 4 + 1

N D A T ( L L + 2 ) = J ( 1 ) LAST=1 I F (NUN . G E . L N / 4 ) G0 T0 5 0 1

1 4 0 F 0 R M A T ( 1 2 , I X , $ 4 , I X , $ 4 ) 5 0 2 F0RMAT(69HDW0RDS AS F I X E D BY ALL THE A 8 0 V E CHANGES ARE XFRED T0 DM

1 BY T Y P I N G - 2 ) G0 10 2 1 8

5 0 1 WRITE ( 4 , 2 2 0 ) 2 2 0 F0RMAT (15HHAPPY COMPUTING)

STOP O k * * * * * * * * * * * * e * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * C THE FOLLOWING LOOP TAKES ANY SECTOR I N " I " AND CONVERTS C TO M S B / L S B I N MS AND L . 0************************************************** Q SSjCJC JfOfC JfcC SfffjfC J|C3tC jjc jfofcjfc c ***************** 1 0 0 ASSEM $ 0 , $ C 8 0 0 , I , $ 2 0 0 0 , $ 6 0 , $ F E 1 , $ F C F , $ 4 8 0 0

ASSEM M S , $ 6 8 0 0 , L , $ 1 C F 4 0 **************** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * c c CTHE FOLLOWING LOOP INCREASES DRUM ADD. BY LP AND READS C LN WORDS INTO N D A T ( L N ) , S T A R T I N G FROM M S / L S . T H E VALUES C ARE L I S T E D FOLLOWING THE ADD. T0 WHICH THEY W I L L BE C W R I T T E N . FOR BLOCKS ONLY THE 1ST TWO WORDS ARE L I S T E D . C FOR BLOCK XFRS SET N = 1 AND THE DATA I S READ FROM C M S / ( L + L P ) INTO N D A T ( I ) . I T I S THEN WRITTEN TO M S T / ( L T + L P ) . C THE A D D . WHICH I S TYPED OUT I S 1HEVALUE OF L P . O * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * c * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

ASSEM . 9 0 , $ 0 6 F O R M A T ( $ 4 , I X , $ 4 , I X , $ 4 )

M=MS I F ( M S . G E . $ F F ) G 0 TO 91 L S = L + L P I F ( L S . G E . O ) G 0 TO 1 0 1

Page 288: WSIBf , 1 - International Nuclear Information System (INIS)

281

L S = L S - $ 8 0 0 0 MS=MS+1

101 CALL D R U M ( 0 , L N , M S t L S , N D A T ) L L N = L N I F < N . N E . I ) G0 TO 2 0 1

WRITEC 4 , 6 ) M S , L S , N D A T ( 1 ) G0 TO 2 3 3

2 0 1 W R I T E ( 4 , 6 ) L P , ( N D A T ( K ) , K = 1 , L L N ) G0 T0 2 1

2 3 3 MS =MST L = L T

D0 3 0 1 1 2 = 1 , L N I P ( 1 2 ) = N D A T ( I 2 )

3 0 1 C O N T I N U E 1 F ( M S . G E . $ F F ) G 0 10 9 1 L S = L + L P

I F (US . G E . 0 ) G0 TO 2 3 8 L S = L S - $ 8 0 0 0 M S = M S + 1

2 3 8 I F ( N . N E . 1 ) G0 T0 2 1 W R I T E ( 4 , 6 ) M S , L S , I P ( 1 ) G0 T0 2 3 4

2 1 W R I T E ( 4 , 6 ) L P , ( I P ( K ) , K = 1 , L L N ) 2 2 i FORMAT ( 4 H 0 K - ) 2 3 4 W R I T E ( 4 , 2 2 1 )

READ ( 4 , 2 2 2 ) FLA I F ( F L A . N E * 2 ) G0 TO 9 1 C A L L DRUM ( 1 , L N ,MS , L S , I P )

9 1 MS=M ASSEM S 1 C 0 0 , * , * ( 9 0 )

END Q f * * U 0 T E * * * * D0 NOT C O M P I L E AS A RELOCATABLE PROGRAM. 0 * * * N 0 T E * * * * D0 NOT USE THE O P T I O N AT C O M P I L E T I M E . O f * * T H I S R O U T I N E W I L L READ OR W R I T E FROM ANY DRUM O * * L 0 C A T I 0 N S P E C I F I E D I N THE C A L L AS MSB & L S B . 0 * * * I F " I N D " =1 IHEN " L E N " WORDS W I L L BE W R I T T E N O f * * FROM " I DATA" WHICH I S D I M E N S I O N E D I N THE O f * * C A L L I N G PROGRAM. I F " I N D " I S . N E . 1 , A READ O f * # 0 F " L E N " WORDS FROM M S B - L S B I N T O " 1 D A T A " O f * * W I L L BE M A D E .

S U B R O U T I N E D R U M ( I N D , L E N , M S B S , L S B S , I D A T A ) D I M E N S I O N M S B ( l ) , L S B ( 1 ) ASSEM $ 6 8 0 0 , * , * 7 ASSEM $ C 0 0 0 , $ 2 0 0 , $ 6 8 0 0 , * , * 2 I F ( I N D . N E . 1 ) G0 10 5 0 ASSEM $ C 0 0 0 , $ 4 0 0 , $ 6 8 0 0 v * , * 2

O f * * CALC MS ,LS FROM ( $ C I ) + 1 . ( T H I S I S S T A R T OF S C R A T C H ) . ASSEM . 5 0 , $ C 0 C 1 , $ 9 F E , $ 2 0 0 0 , $ 6 0 , $ F E 1 , $ F C F , $ 4 8 0 0 , M S B , $ 6 8 0 0 f L S B MSB=MSBS-MSB L S B = L S B S - L S B I F ( LSB . G E . 0 ) G0 TO 5 L S B = L S B - $ 8 0 0 0 L S B = L S B + 1 MSB = M S B - 1 ASSEM . 5 , $ C C 0 0 , L E N , $ 6 8 0 0 , * , * 6 LEN = L E N + 0 A S S E M $ C 8 0 0 , L S B , $ 6 8 0 0 , * , * 9

A S S E M $ C 8 0 0 , M S B , $ 6 8 0 0 , * , * 8

Page 289: WSIBf , 1 - International Nuclear Information System (INIS)

282

C R E A D / W R I T E REQUEST ASSEM , 1 t $ 5 4 F 4 , . 2 t $ 3 0 0 , $ 0 , $ Q , $ 5 A S S E M , 6 , $ 0 , . 7 , $ 0 , . 8 f $ 0 , , 9 f $ 0 , $ C 8 F 9 » $ 1 0 1 , $ 1 8 F D RETURN END

Page 290: WSIBf , 1 - International Nuclear Information System (INIS)

283

2.41 PERMIT

2 .40 .1 Classification

On-1ine/core resident/assembly language/r.onreentrant/relocatable

2 .41 .2 Purpose

PERMIT regulates updating of the burnup calculation during a transient condition, defining a transient as a rate of change of power level greater than 1.5 MW/sec.

2 .41 .3 Description

PERMIT is entered each second frcru program CONTRL at priority level 7 . Upon entry, if the regulating rod position is greater than the automatic shim withdraw position, the program tests t } determine whether this is the first ASW. If it is, an SC update is executed; otherwise, RHODIF is updated, and the program exits to clear all rod control relays in program DRC. If the regulating rod is not greater than the ASW, the program updates RHODIF and resets the ASW flag and tests the change in power level by compar-ing the present power level to rhe previous power level. If the change in power level since the last scan is less than 1.5 MW, a lest is made to determine whether the level is sieady at this power level, that is, has the level been constant to within 1.5 MW for two scans. I* the level is steady, the program exits to DRC. If it is not, the indicator for steady state is set and an SC update is made by a return jump to the transient entry of ^C, and the program exits ro DRC. If the power level test shows a change of more tiw..i 1.5 MW since the last entry, the steady-state indicator is changed to indicate a powe. ' ansient. If this is the first entry of the power transient, an SC update is made. Otherwise, the program exits to DRC.

The logic block diagram of PERMIT is shown in Fig. 39.

2 .41 .4 Relationship to Other Programs

PERMIT is entered from program CONTRL and exits to program DRC to stop all rod control.

Page 291: WSIBf , 1 - International Nuclear Information System (INIS)

284

ORNL DWG NO. 72-823 C O N T R L

Fig. 39. Logic Block Diagram of Program PERMIT.

Page 292: WSIBf , 1 - International Nuclear Information System (INIS)

2 8 5

002. 003. 004.

0 0 5 .

7F2A 7 F 2 D 7 F 2 F

NAM P E R M I T R E V I S E D 7 / 2 2 / 6 9 ENT P E R M I T EXT S C T R N , R H 0 C A L , DIGCON EQU P 0 L D < $7 F 2 A ) f P A V G C S 7 F 2 D ) , D I G W D g C $ 7 F 2 F )

EXT C L R E X l

0 0 7 . 008.

* * T H I S PR0GRAM G I V E S P E R M I T T0 REACT0R F0R S H I M M I N G V I A ASW.

0 1 0 . Oil . 012 . 0 1 3 . 0 1 4 . 0 1 5 . 0 1 6 . 0 1 7 . 018.

0 1 9 . 020. 021 . 022. 0 2 3 . 0 2 4 .

0 2 5 .

026.

0 2 7 . 028. 0 2 9 . 0 3 0 . 0 3 1 . 0 3 2 . 0 3 3 . 0 3 4 . 0 3 5 . 0 3 6 . 0 3 7 . 0 3 8 . 0 3 9 . 0 4 0 . 0 4 1 .

POOOO P 0 0 0 1 P 0 0 0 2 P 0 0 0 3 P 0 0 0 4 P 0 0 0 5 P 0 0 0 6 P 0 0 0 7 P 0 0 0 8 P 0 0 0 9 POO OA POOOB POOOC POOOD POOOE POOOF POOIO P0011 P 0 0 1 2 POOl 3 POOl 4 POOl 5 POOl 6 POO 17 POO 18 POO 19 POOl A P 0 0 1 B P 0 0 1 C POOl D P 0 0 1 E P 0 0 1 F P0020 P0021 P0022

X

ccoc 0121 1 8 0 B D 8 0 8 C 8 0 7 0111 5 C 1 D 5 C l E 1 4 0 0 X 7 F F F OOOA F F F E 7 F 2 F 5 C 1 8 OAFE 6 8 F B C 4 0 0 7F2A 9 4 0 0 7 F 2 D 0121 0 8 6 4 9 8 F 3 0 1 3 5 D 8 0 E C 8 0 D 0111 5 COS 1806 C 8 0 9 0 1 3 3 OAFE 6806 5 C 0 2 1 8 E 5

P E R M I T L D A * ( D I G S ) SAP A S W Y E S - * - ! J M P * NOASW

ASWYES RAO* ASNMRK LDA* ASNMRK SAN G I V E - * - l

R T J * ( S C ) G I V E R T J * ( R H O )

CLROD JMP C L R E X l

S K I P I F ASW I S 0N

CHECK I F F I R S T T I M E THRU ON T H I S A S W .

I F I S T UPDAATE SC

MINPOW NUM ASNMRK NUM DIG 8 ADC

10 -1 DIGWD8

NO ASW R T J * ( R H O ) ENA - 1 RESET NEW ASW I N D I C A T O R S T A * ASNMRK AND STORE AWAY* LDA P 0 L D A V G . POWER FROM LAST SCAN

SUB P AVG A V G . POWER FROM NEW SCAN

SAP T S T E M A - * - l TCA A MAKE ABSOLUTE

TSTEMA S U B * MINPOW COMPARE TO MAX ERROR. SAM S M O O T H - * - 1 RAO* STDY L D A * STDY SAN N 0 S T D Y - * - l

R T J * ( S C ) NOSTDY J M P * A L T R U SMOOTH L D A * S T D Y

SAM A L T R U - * - l ENA - 1 S T A * STDY

R T J * ( S C ) ALTRU J M P * CLROD

0 4 3 . P 0 0 2 3 7 F F F X SC ADC SCTRN 0 4 4 . P 0 0 2 4 7 F F F X DIGCN ADC DIGCON 0 4 5 . P 0 0 2 5 7 F F F X RHO ADC RHOCAL 0 4 6 . P 0 0 2 6 OOOO STDY NUM 0 0 4 7 . END

I OOFF P E R M I T OOOOP POLD 7 F 2 A PAVG 7 F 2 D DIGWDg 7 F 2 F ASWYES 0 0 0 3 P G I V E 0 0 0 7 P CLROD 0 0 0 8 P MINPOW OOOAP ASNMRK OOOBP

Page 293: WSIBf , 1 - International Nuclear Information System (INIS)

2 8 6

D I G 8 OOOCP N0ASW OOODP TSTEMA 0 0 1 6 P N0STDY OOICP S M 0 0 T H 0 0 1 DP ALTRU 0 0 2 2 P SC 0 0 2 3 P DIGCN 0 0 2 4 P RH0 0 0 2 5 P S T D Y 0 0 2 6 P

C L R E X l 0 0 0 9 X D IGC0N 0 0 2 4 X RH0CAL 0 0 2 5 X SCTRN 0 0 2 3 X

f

Page 294: WSIBf , 1 - International Nuclear Information System (INIS)

287

2 .42 PICMID

2 .40 .1 Classification

On-line/core resident/assembly language/nonreentrant/relocatable

2 .42 .2 Purpose

PICMID calculates the median reactor-power level from the three values calcu-lated by POWCAL and compares the median power with the demand power as set by the the reactor operator.

2 .42.3 Description

PICMID is entered each second at priority level 7 from program POWCAL. The program determines the median value of the power levels as stored for each of the three servo channels by program POWCAL. The median value is stored as power average in the value table. This value is compared with the median value of the demand power, and a message is typed if the difference is greater than 10 MW. The program exits to DIFPLT.

The logic block diagram of PICMD is shown in Fig. 40.

2 .42 .4 Relationship to Other Programs

PICMD is entered at POWAVG by SCAN34. PICMD exits to program DIFPLT with a jump.

Page 295: WSIBf , 1 - International Nuclear Information System (INIS)

288

ORNL DWG NO. 72-845

POWCAL

THAN 10 MW

Fig. 40. Logic Block Diagram of Program PICMID.

Page 296: WSIBf , 1 - International Nuclear Information System (INIS)

2 8 9

001 . 002 • 003. 004 . 005. 0 0 6 * 007.

008.

009

0000 0001 0002 OOOA OOOB 0023 0025 0026 0027 0028 0029 002A 002B 002C 002D OOEA 009D OOOE 0010

C C C C c c c c c c c c c c c

NAM PICMID 5 / 9 / 6 9 * THIS PROGRAM PICKS 1HE MIDDLE POWER FROM THE * THREE CALCULATED POWERS IN THE VALUE TABLE

ENT POWAVG EXT DIFPLT

* COMMON DECLARATIONS COM INAGIN,OCL0CK,CYERT0(8>,CYCLE,B(24),RH0TOT

COM IRH0EX,IREACT,IRSTM9IRANST,P0LD,P0WTOTVN0L

EQU ADISP <$EA)9AVALU($9D) ,LU(14 ) ,LN(16 )

o i l . POOOO E80C POWAVG LDQ* I N P I 012. P0001 0844 LO CLR A . 013 . P0002 60 FF STA- I

015. * LI LOOP GATHERS POWERS & DEMANDS FROM

017. P0003 C69D LI LDA- (AVALU) ,Q GET THE THREE POWERS 018. P0004 690B STA* P 1 # I FROM THE VALUE TABLE. 019. P0005 COFF LDA- I 020. P0006 09FD INA - 2 021. P0007 010B SAZ L 2 - * - l 022. FOODS DOFF RAO- I 023. P0009 ODOl INQ 1 024. POOOA 18F8 JMP* L I

026. * CONSTANTS

028 . POOOB 0064 DEL NUM 100 029 . POOOC 0022 INP I NUM 34 030. POOOD 0025 INPAV NUM 37 031 • POOOE 0006 INDEM NUM 6

033. POOOF OOOO PI NUM 0 034. POOIO OOOO P2 NUM 0 035. POOli OOOO P3 NUM 0 036. P0012 OOOO ERR NUM 0

038* * FIND THE

SPECIAL CELLS

VALUE I N ROUTINES L2 THRU L9

Page 297: WSIBf , 1 - International Nuclear Information System (INIS)

2 9 0

0 4 0 . POOl 3 C8FC L 2 LDA* P 2 041 . P O O l 4 9 8 F A S U B * P i 0 4 2 . POO 15 0 1 2 1 SAP L 3 - * - l 0 4 3 . POO 16 1 8 0 9 J M P * L 5

0 4 5 . POOl 7 C 8 F 9 L3 L D A * P 3 0 4 6 . P O O l 8 9 8 F 6 S U B * P I 0 4 7 . P 0 0 1 9 0 1 2 1 SAP L 4 - * - l 0 4 8 . P O O l A 1 8 0 E J M P * L 8

0 5 0 . P 0 0 1 B C 8 F 5 L4 L D A * P 3 0 5 1 . P 0 0 1 C 9 8 F 3 S U B * P 2 0 5 2 . P O O l D 0 1 2 4 SAP L6 - * - 1 0 5 3 . P 0 0 1 E 1 8 0 D J M P * L 9

0 5 5 . P 0 0 1 F C8F1 L5 L D A * P 3 0 5 6 . P 0 0 2 0 9 8 E F S U B * P 2 0 5 7 . P 0 0 2 1 0 1 2 3 SAP L 7 - * - l

0 5 9 . P 0 0 2 2 C8ED 16 L D A * P 2 0 6 0 . P 0 0 2 3 6 8 1 6 S T A * PGUD 0 6 1 . P 0 0 2 4 1 8 0 9 J M P * L 1 0

0 6 3 . P 0 0 2 5 C8E9 L7 L D A * P I 0 6 4 . P 0 0 2 6 98EA S U B * P 3 0 6 5 . P 0 0 2 7 0 1 2 3 SAP L 9 - * - l

0 6 7 . P 0 0 2 8 C 8 E 6 L 8 ' L D A * P I 0 6 8 . P 0 0 2 9 6 8 1 0 S T A * PGUD 0 6 9 . P 0 0 2 A 1 8 0 3 J M P * L 1 0

0 7 1 . P 0 0 2 B C8E5 L 9 L D A * P 3 0 7 2 . P 0 0 2 C 6 8 0 D S T A * PGUD

0 7 4 . P 0 0 2 D C 8 0 E L 1 0 L D A * THRU 0 7 5 . P 0 0 2 E 0 1 2 1 SAP L l l - * - l 0 7 6 . P 0 0 2 F 1 8 0 D J M P * L 1 2

0 7 8 . P 0 0 3 0 C 8 0 9 L I 1 L D A * PGUD 0 7 9 . P 0 0 3 1 E8DB LDQ* I N P A V 0 8 0 . POO 3 2 6 6 9 D S T A - ( A V A L U ) , 0 8 1 . P 0 0 3 3 6 4 0 0 S I A * PAVG

P 0 0 3 4 0 0 2 D C 0 8 2 . P 0 0 3 5 OAFE ENA - 1 0 8 3 . P 0 0 3 6 6 8 0 5 S T A * THRU 0 8 4 . P 0 0 3 7 E8D6 LDQ* I N D E M 0 8 5 . P 0 0 3 8 i S C S J M P * LO

0 8 7 . * BZS BL0CK 0 8 8 . P 0 0 3 9 OOOO PGUD NUM 0 0 8 9 . P 0 0 3 A OOOO PDEM NUM 0 0 9 0 . P 0 0 3 B OOOO THRU NUM 0

0 9 2 . P 0 0 3 C 0 8 4 4 L 1 2 CLR A 0 9 3 . P 0 0 3 D 6 8 F D S T A * THRU 0 9 4 . P 0 0 3 E C8FA I D A * PGUD 0 9 5 . P 0 0 3 F 6 8 F A S T A * PDEM

I S P2 GREATER THAN P i ?

Y E S , L00K AT P 3 AND P I N O , L00K AT P3 AND P 2

I S P 3 GREATER THAN P i 7

Y E S , L 0 0 K AT P3 AND P 2 N 0 , P I I S PGUD

I S P 3 GREATER THAN P 2

Y E S , P 2 I S PGUD N 0 , P3 I S PGUD

I S P 3 GREATER THAN P 2 ?

Y E S , L00K AT P I AND P3

N 0 , P 2 I S PGUD SET PGUD = P 2

I S P i GREATER THAN P 3 ?

Y E S , P 3 I S PGUD

N 0 , P I I S PGUD SET PGfJD = P I

AM I THRU? N 0 , S A V E AND THEN GET DEMANDS.

PUT THE M I D D L E VALUE

I N THE VALUE TABLE AND I N C0MM0N

SET UP THRU F0R F I N I S H

N0W P I C K UP THE M I D DEMAND.

PUT M I D D L E VALUE I N P D E M .

Page 298: WSIBf , 1 - International Nuclear Information System (INIS)

2 9 1

0 9 6 . P 0 0 4 0 9 4 0 0 S U B + PAVG P 0 0 4 1 0 0 2 D C

0 9 7 . P 0 0 4 2 0 1 2 1 SAP L 1 3 - * - l 0 9 8 . P 0 0 4 3 0 8 6 4 TCA A 0 9 9 . P O O 4 4 9 8 C 6 L I 3 S U B * DEL 1 0 0 . POO45 0 1 3 4 SAM L ! 4 - * - l 1 0 1 . P 0 0 4 6 C8CB LDA* ERR 1 0 2 . POO47 0 1 1 4 SAN L 1 5 - * - l 1 0 3 . P O O 4 8 D8C9 R A 0 * ERR 1 0 4 . POO49 1 8 0 5 J M P * L 1 6

1 0 6 . P 0 0 4 A 0 8 4 4 L 1 4 CLR A 1 0 7 . P 0 0 4 B 6 8 C 6 S T A * ERR

GET PAVG AND CHANGE T0

G0 CHECK

I S PDEM-PAVG M0RE THAN 10 MW ? N0 « E X I T G R A C E F U L L Y Y E S , S E E I F A MSG HAS 0CCURED I F S 0 , E X I T HERE SET UP ERR0R F L A G . AND P R I N T MSG

CLEAR 0 U T THE ERR0R FLAG AND

1 0 9 . P 0 0 4 C 1 4 0 0 X L 1 5 J M P + D I F P L T NEXT PR0G I N SCAN P 0 0 4 D 7 F F F X

111* 1 1 3 . 1 1 3 . 1 1 3 . 1 1 3 .

1 1 3 . 1 1 3 .

1 1 4 .

P 0 0 4 E P 0 0 4 F POO 5 0 POO 51 POO 5 2 POO 53 P 0 0 5 4 P 0 0 5 5

5 4 F 4 0 D 5 5 7 F F C 0000 1 0 0 E 0010 0008 14EA

* ERR0R MESSAGE REQUEST

L 1 6 F W R I T E L U , L 1 5 - L 1 6 - 1 , L 1 7 - L 1 6 - 1 , L N , A , 5 , 5 , , y

J M P - C A D I S P )

1 1 6 . MESSAGE BL0CK

118. 1 1 9 . 120.

P 0 0 5 6 POO 57 P 0 0 5 8 P 0 0 5 9 P 0 0 5 A P 0 0 5 B P 0 0 5 C P 0 0 5 D P 0 0 5 E P 0 0 5 F P 0 0 6 0 P 0 0 6 1 P 0 0 6 2 P 0 0 6 3 P 0 0 6 4 P 0 0 6 5

1 2 1 . P 0 0 6 6 122.

0000 8012 2 8 4 4 4 5 4D

2 D 4 3 41 4 C 2 0 5 0

5 7 2 9 2 0 4D 4 F 5 2 4 5 2 0 5 4 4 8 41 4E 2 0 3 1 3 0 2 0 4 D 5 7 8011

NUM 0 SCRATCH L 1 7 NUM $ 8 0 1 2 RED R I B B 0 N

A L F 1 4 , ( D E M - C A L PW) M0RE THAN 10 MW

NUM $ 8 0 1 1 END

BLACK R I B B 0 N

I OOFF P0WAVG OOOOP I N A G I N OOOOC CCL0CK 0 0 0 1 C C y E R T 0 0 0 0 2 C CyCLE OOOAC B OOOBC R H 0 T 0 T 0 0 2 3 C I R H 0 S C 0 0 2 5 C I R H 0 E X 0 0 2 6 C IREACT 0 0 2 7 C I R S T M 0 0 2 8 C I R A N S T 0 0 2 9 C P 0 L D 0 0 2 A C P 0 W T 0 T 0 0 2 B C N 0 L T I M 0 0 2 C C PAVG 0 0 2 D C A D I S P OOEA A V A L U 0 0 9 D LU OOOE

Page 299: WSIBf , 1 - International Nuclear Information System (INIS)

LN 0 0 1 0 L 0 0 0 0 I P L I INPAV 0 0 0 DP I N DEM OOOEP P I ERR 0 0 1 2 P L 2 0 0 1 3 P L 3 L6 0 0 2 2 P L7 0 0 2 5 P L8 L l l 0 0 3 0 P PGUD 0 0 3 9P PDEM L I 3 0 0 4 4 P L I 4 0 0 4 A P L I S D I F P L T 0 0 4 D X

2 9 2

0 0 0 3 P DEL OOOBP I N P I OOOCP OOOFP P2 0 0 1 OP P3 0 0 I I P 0 0 1 7 P L 4 0 0 1 B P L5 0 0 1 F P 0 0 2 3 P L9 0 0 2 B P L10 0 0 2 DP 0 0 3 A P THRU 0 0 3 B P L 1 2 0 0 3 C P 0 0 4 CP L I 6 0 0 4 E P L 1 7 0 0 5 7 P

Page 300: WSIBf , 1 - International Nuclear Information System (INIS)

293

2.43 PLOT

2 .40.1 Classification

On -1 i ne/cl ru m res ident/assemb I y language/nonree ntr ant/re I ocatab le

2 .43 .2 Purpose

PLOT plots values on the x -y recorder from drum $A/0. Since the y axis has a midscale zero, plus and minus values are displayed. The program has an option for plotting values digitized from channel 8 or 9. Several values of plotting speed can also be selected.

2 .43 .3 Description

Upon entry, the PLOT clears kill flag $6A and tests the plot speed value in the left-hand digiswitch. Values from 0 to 16 can be selected. Otherwise, AX is set to 3. The test for the channel 8 or 9 is made, and the current drum address is calculated. Plot reads 1,000 data points per loop and continues plotting until terminated by function 09. The values of x and y are nulled before releasing.

The logic block diagram of PLOT is shown in Fig. 41. i

2 .43 .4 User Instructions

Values digitized by channel 8 only can be plotted by selecting the value 8 in the right-hand digiswitch. Values digitized from channel 9 only can be plotted by setting a 9 in the right-hand digiswitch. Other values of the right-hand digiswitch will plot all values stored on drum A. The left-hand digiswitch contains the x increment indicator. Any value from 0 to 16 will give a corresponding x plotting speed; otherwise, a value of 3 is fixed by the program. The program may be terminated at any time by selecting function 09.

Page 301: WSIBf , 1 - International Nuclear Information System (INIS)

294

Fig. 41. Logic Block Diagram of Program PLOT

Page 302: WSIBf , 1 - International Nuclear Information System (INIS)

2 9 5

001 . 002 . 0 0 3 . 0 0 4 . 0 0 6 A

0 3 Eg

NAM P L 0 T 2 / 6 / 7 0 V E R S I O N ENT P L 0 T EXT DACDRI EQU K I L F L G ( $ 6 A ) , N U M B ( 1 0 0 0 )

006. 0 0 7 . 006. 0 0 9 . 010. 01 1 . 0 1 2 . 0 1 3 .

* * * * * * *

T H I S P L O T S DRUM A / 0 TO A / 1 0 0 0 AND THEN READS NEXT 1 0 0 0 AND PLOTS I T - T H E PROGRAM I S T E R M I N A T W I T H F N C T . 0 9 . O P T I O N S FOR T H I S PROGRAM;

1 . C H # 8 0 N L Y * * * * * * * R T . * I G . S W . r g 2 . C H # 9 0 W L Y * * * * # * # R T . " n =9 3 . P L O T ALL DATA O T H E R W I S E . 4 . L T . D I G . S W . = X I N C R E M E N T

0 1 5 . * 0 0 0 0 C8FE PLOT NUM $ C 8 F E P I C K UP 0 1 6 . P 0 0 0 1 6 8 2 9 S T A * S T A R T 0 1 7 . P 0 0 0 2 4 8 2 4 S T Q * TABADR 0 1 8 . P 0 0 0 3 OAOO ENA 0 0 1 9 . P 0 0 0 4 6 0 6 A S T A - K I L F L G 0 2 0 . P 0 0 0 5 E 8 2 1 FX LDQ* TABADR 0 2 1 . P 0 0 0 6 4 0 F F S T Q - I 0 2 2 . P 0 0 0 7 C I 0 8 L D A - 8 , 1 0 2 3 . P 0 0 0 8 0 1 2 1 S A P 0 K - * - l LT 0 2 4 . P 0 0 0 9 0 8 6 4 TCA A 0 2 5 . POOOA 0 8 2 2 0K TRA Q 0 2 6 . POOOB 0 D F 5 I N Q - 1 0 0 2 7 . POOOC 0 1 7 1 SQM G 0 0 D - * - l 0 2 8 . POOOD 0 A 0 3 ENA 3 0 2 9 . POOOE 6 8 1 B G 0 0 D S T A * XDELTA 0 3 0 . POOOF CI 0 4 L D A - 4 , 1 0 3 1 . P 0 0 1 0 0 1 2 1 SAP 0 K 1 - * - 1 RT 0 3 2 . P 0 0 1 I 0 8 6 4 TCA A 0 3 3 . POOI 2 C 9 F 6 0 K 1 I N A - 9 0 3 4 . POOI 3 0 1 0 7 S A Z 0 N E - * - 1 0 3 5 . POOI 4 0 9 0 1 I N A 1 CK FOR 0 3 6 . POO 15 O i l 1 SAN T T - * - l 0 3 7 . P O O I 6 1 8 1 7 J M P * TWO 0 3 8 . POOI 7

POOI 8 COOO 0 C 0 1

TT LDA =N $CQ 1

0 3 9 . POOI 9 6 8 0 5 S T A * SET 0 4 0 . POO 1A 1 8 0 4 J M P * SET 0 4 1 . P 0 0 1 B

P 0 0 1 C EOOO 0 0 0 2

ONE LDQ = N $ C 0 2

0 4 2 . POOI D 4 8 0 1 S T Q * SET 0 4 3 . P 0 0 1 E OCOI SET ENQ 1 0 4 4 . POOI F 4 8 0 8 S T Q * DELTA 0 4 5 . P 0 0 2 0 C80A L D A * START 0 4 6 . P 0 0 2 1 8 0 0 0 ADD = X B L K - P L 0 T - 1

P 0 0 2 2 0 0 6 B = X B L K - P L 0 T -

0 4 7 . P 0 0 2 3 6 8 0 5 S T A * ADRBLK 0 4 8 . P 0 0 2 4 6 8 0 8 S T A * I N I T 0 4 9 . P 0 0 2 5 1 8 0 F J M P * GO 0 5 0 . P 0 0 2 6

P 0 0 2 7 P 0 0 2 8

OOQl 0 0 0 1 0 0 0 1

BSS T A B A D R , D E L T A •ADRBLK

RT DIG SW

Page 303: WSIBf , 1 - International Nuclear Information System (INIS)

2 9 6

0 5 1 . P 0 0 2 9 0 0 0 1 BZS X D E L T A , S T A R T , x » I N I T P 0 0 2 A 0 0 0 1

X D E L T A , S T A R T , x » I N I T

P 0 0 2 B 0 0 0 1 P 0 0 2 C 0 0 0 1

0 5 2 . P 0 0 2 D 0 C 0 2 TW0 ENQ 2 0 5 3 , P 0 0 2 E 4 8 F 8 S T Q * DELTA 0 5 4 . P 0 0 2 F C8FA LDA* START 0 5 5 . P 0 0 3 0 8 0 0 0 ADD = x B L K - P L 0 T - 2

P 0 0 3 J 0 0 6 A = x B L K - P L 0 T - 2

0 5 6 . POO32 6 8 F 5 S T A * ADRBLX 0 5 7 . P 0 0 3 3 6 8 F 8 S T A * I N I T 0 5 8 . P 0 0 3 4 CO6A G0 LDA- K I L F L G 0 5 9 * P 0 0 3 5 0 1 0 1 SAZ A G I N - * - l 0 6 0 . P O O 3 6 1 8 2 E J M P * R1 061 . POO37 0 8 4 2 AG I N CLR Q 0 6 2 . RD READ 5 , G 0 G 0 - R D - 1 ,B LK - R D - 1 , NUMB ,B , 4 , 4 , , y 0 6 2 . P 0 0 3 8 5 4 F 4

5 , G 0 G 0 - R D - 1 ,B LK - R D - 1 , NUMB ,B , 4 , 4 , , y

0 6 2 . P 0 0 3 9 0 3 4 4 0 6 2 . P 0 0 3 A OOOB

P 0 0 3 B OOOO 0 6 2 . P 0 0 3 C 0 0 0 5 0 6 2 . P 0 0 3 D 0 3 E 8

P 0 0 3 E 0 0 3 3 0 6 3 . P 0 0 3 F OOOA NUM $A 0 6 4 . P 0 0 4 0 OOOO LSB NUM 0 0 6 5 . P 0 0 4 1 0 1 6 1 SQP G U D - * - l 0 6 6 . POO42 J 8 F 5 J M P * RD 0 6 7 . P 0 0 4 3 14EA GUD J M P - ( S E A ) 0 6 8 . P O O 4 4 C 8 E 4 G0G0 L D A * XDELTA 0 6 9 . POO45 8 8 E 5 A D D * X 0 7 0 . P 0 0 4 6 6 8 E 4 S T A * X 07 S . POO47 OFC 4 ALS 4 0 7 2 . P 0 0 4 8 5 C1B R T J * ( D A C ) 0 7 3 . POO49 9 0 0 3 NUM $ 9 0 0 3 0 7 4 . P 0 0 4 A C8DD LDA* ADR BLK 0 7 5 . P 0 0 4 B 88DB A D D * DELTA 0 7 6 . P 0 0 4 C 6 8 0 B S T A * ADRBLK 0 7 7 . P 0 0 4 D 98DE S U B * I N I T 07 8 . P 0 0 4 E 9 0 0 0

P 0 0 4 F 0 3 E 8 SUB = XNUMB

0 7 9 . POO50 0 1 3 7 SAM G 0 T 0 - * - l 0 8 0 . P 0 0 5 1 C8EE L D A * LSB 0 8 1 • P 0 0 5 2 8 0 0 0 ADD = X N U M B - l 0 8 1 •

P 0 0 5 3 0 3 E 7 0 8 2 . P 0 0 5 4 68EB S T A * LSB 0 8 3 . POO55 C8D6 L D A * I N I T 0 8 4 . P 0 0 5 6 6 8 D 1 S T A * ADRBLK 0 8 5 . POO 57 18DC J M P * G0 0 8 6 . P 0 0 5 8 CCCF G 0 T 0 L D A * ( A D R B L K ) 0 8 7 . POO59 0 F 4 1 ARS 1 D I V I D E BY 2 0 8 8 . POO5 A 8 0 0 C A D D - $ C = $ 3 F F . 0 F F S E T T E R 0 T0 M I D 0 8 9 . P 0 0 5 B OFC4 ALS 4 P 0 S I T I 0 N F0R P L 0 T 0 9 0 . P 0 0 5 C 5 CO7 R T J * ( D A C ) 0 9 1 . P 0 0 5 D 9 0 0 2 NUM $ 9 0 0 2 0 9 2 . T I T IMER G 0 - T 1 - 1 , 4 , T . 0 0 9 2 . P 0 0 5 E 5 4 F 4 0 9 2 . P 0 0 5 F 1 1 0 4 0 9 2 . POO60 7 F D 4

Page 304: WSIBf , 1 - International Nuclear Information System (INIS)

2 9 7

0 9 3 . P 0 0 6 1 OOOA 0 9 4 . POO 6 2 14EA 0 9 5 . P 0 0 6 3 7 F F F X DAC 0 9 6 . P 0 0 6 4 OAOO R1 0 9 7 . P 0 0 6 5 5 CFD 0 9 8 . P 0 0 6 6 9 0 0 2 0 9 9 . P 0 0 6 7 5 CFB 1 0 0 . P 0 0 6 8 9 0 0 3 1 0 1 . REL 1 0 1 . P 0 0 6 9 5 4 F 4 1 0 1 . P 0 0 6 A 1 9 0 1 101 . P 0 0 6 8 F F 9 5 1 0 2 . P 0 0 6 C 0 0 0 1 BLK 1 0 3 .

NUM $A J M P - ( S E A ) ADC DACDRI ENA 0

R T J * ( D A C ) NUM $ 9 0 0 2

R T J * ( D A C ) NUM $ 9 0 0 3 RELEAS (PL0T-REL-1) , T , X

B Z S END

B L K ( J )

I OOFF P L 0 T OOOOP K I L F L G 0K OOOAP G 0 0 D OOOEP 0 K 1 SET 0 0 1 EP TAB ADR 0 0 2 6 P DELTA START 0 0 2 A P X 0 0 2 B P I N I T AGIN 0 0 3 7 P RD 0 0 3 8 P LSB G0T0 0 0 5 8 P T I 0 0 5 E P DAC ELK 0 0 6 CP DACDRI 0 0 6 3 X P A R I T Y ,

0 0 6 3 X

P A R I T Y , P A R I T Y ,

0 0 6 A NUMB 0 5 E8 FX 0 0 0 5 P 0 0 1 2 P TT 0 0 1 7 P 0 N E 0 0 I B P 0 0 2 7 P ADRBLK 0 0 2 8 P XDELTA 0 0 2 9 P 0 0 2 C P TW0 0 0 2 EP G0 0 0 3 4 P 0 0 4 0 P GUD 0 0 4 3 P G0G0 0 0 4 4 P 0 0 6 3 P R1 0 0 6 4 P REL OO69P

Page 305: WSIBf , 1 - International Nuclear Information System (INIS)

2 9 8

2.44 PLTCAL

2.40.1 Classification

On-line/drum resident/assembly language/nonreentrant/relocatable

2 .44 .2 Purpose

PLTCAL calibrates the x-y plotter for PSDIO.

2 .44 .3 Description

PLTCAL is executed manually by demand function 11. Upon entry, the kill flag is cleared and checked. If kill has been requested, the program is released; otherwise, the program outputs the value $7EA0 to the x and y axes. This program is repeated six times and terminates by releasing.

The logic block diagram of PLTCAL is shown in Fig. 42.

2 .44 .4 User Instructions

PLTCAL is executed by demand function 11, can be terminated at any time using demand function 09. However, a 10-sec timer call nulls the x and y positions of the recorder, and the program is reentered if the kill flag does not remain set for at least 10 sec.

2 .44 .5 Relationship to Other Programs

PLTCAL assumes that the output values for PSDIO are scaled on a base 10 span of 0 to 32,000.

Page 306: WSIBf , 1 - International Nuclear Information System (INIS)

299

O R N L DWG N 0 , 7 2 - 8 1 4

M A N . F C N - 1 1

Fig. 42. Logic Block Diagram of Program PLTCAL.

Page 307: WSIBf , 1 - International Nuclear Information System (INIS)

3 0 0

001 . NAM PLTCAL 002 . ENT PC 003. EXT DACDRI 0 0 4 . 00 6A EQU KILL($6A) 005. POOOO OAOO PC ENA 0 006* P0001 60 6A STA- KILL 007. P0002 1802 JMP* 80 0 0 8 . P0003 0006 AL NUM 6 009 . P0004 C06A G0 LDA- KILL 010 . P0005 0102 SAZ G 0 M I - * - l 01 1 . P0006 18IC JMP* ON 012 . P0007 7FFF X DAC ADC DACDRI 013. P0008 COOO G0HI LDA =N$7EA0

P0009 7EA0 014 , POOOA 5CFC RTJ* C DAC) 015 . POOOB 9002 NUM $9002 016 . POOOC 5CFA RTJ* (DAC) 017 . POOOD 9003 KUM $9003 0 1 8 . TI TIMER G0L0-TI -018 • POOOE 54F4 0 1 8 . POOOF 1122 018 • POOIO 0004 0 1 9 . P001I 0009 NUM 9 020. P0012 14EA JMP- <$EA) 021 • P0013 COOO 60L0 LDA =N0 021 •

POO 14 OOOO 022 . POO 15 5CF1 RTJ* CDAC) 023 • POOl 6 9003 NUM $9003 024 . P0017 5CEF RTJ* (DAC) 025 . POOl 8 9002 NUM $9002 026* P0019 C8E9 LDA* AL 027 . P001A 0107 SAZ D N - * - l 0 2 8 . POO IB 09FE INA - I 0 2 9 . P001C 68E6 STA* AL 030 . T2 TIMER 6 0 - 1 2 - 1 . j 030 . POO ID 54F4 030 . POO IE 1122 0 3 0 . POO IF 7FE5 0 3 1 . P0020 0009 NUM 9 0 3 2 . P0021 14EA JMP- (SEA) 0 3 3 . DN RELEAS (PC-DN-0 3 3 . P0022 54F4 0 3 3 . P0023 1901 0 3 3 . P0024 FFDC 0 3 4 . * END

Page 308: WSIBf , 1 - International Nuclear Information System (INIS)

301

2.45 PLTCOM

2.40.1 Classification

On-line/drum resident/assembly language/nonreentrant/relocarable

2.45.2 Purpose

PLTCOM displays on the x-y plotter, values of reactor parameters stored in the drum data save area J The program is operated with two options: (1) plotting the current data, and (2) plotting data that had been punched or saved at some other time. The parameters can be plotted individually or consecutively.

2.45.3 Description

PLTCOM is initiated by manual functions 14 or 15 and enters at priority level 5. Upon entry, kill flag $6A is cleared, and the MSB and parameter pointers appropriate for the function number selected are established. If the right-hand digiswitch is equal to 0, a list of parameter scale factors is typed, and the program releases. Otherwise, the right-hand digiswitch is tested. If it exceeds 14, a message to check the right-hand digiswitch is typed and the program releases. If it does not exceed 14, the program tests the left-hand digiswitch. If the value is negative, a flag is set to plot all parameters in succession, starting with the point number selected in the right-hand digi-switch. Otherwise, only the parameter corresponding to the point selected will be plotted. If the left-hand digiswitch time base is greater than 4, a "check digiswitch" message is typed, and the program releases. Otherwise, the program tests for minutes or seconds time base request. The scaling is selected appropriately if seconds or minutes is selected, and a drum read for the next point value to be plotted is made. The value is read and converted for the appropriate scale. If the value is off-scale, a full-scale setting of the plotter pen is set, and a timer call is made for entry into the loop which moves the x axis corresponding to the time base appropriate to the value requested. Upon entry to the x move routine, the kill flag is tested; if it is not set, a timer call for the next data point is made. If abort is requested, the x and y positions are nulled, and the program releases. For the hourly or the daily data option, a change in the x increment and the data length is made, and the test for floating point number is made. For floating point numbers two words are read for each data point. The appropriate scaling is established for each word, and the plotting loop continues with the drum reed for each point as stated dbove.

The logic block diagram of PLTCOM is shown in Fig. 43.

2.45.4 Relationship to Other Programs

PLTCOM assumes that the data is stored in a fixed format on drum with LSB pointers shown in common locations $7F50-53 for function 14 data and $7F6G-63 for function 15 data which is saved on drum $C. The saved data are transferred from the live data area on drum $E to drum $C by program DRMXFR using manual function 16.

Page 309: WSIBf , 1 - International Nuclear Information System (INIS)

302

2.45 .5 User Instructions

The instructions for functions 14 and 15 to plot reactor data are as follows:

1. Select function 14 for live data Select function 15 for saved data

2 . Set time base in left-hand digiswitch (set minus for plotting all points) a . 1 = 1 sec for last 10 min

2 = 1 min for last 6 hr b. 3 = 2 hr for last 24 hr

4 = 3 times per day for complete cycle

3 . Set point No. in right-hand digiswitch a. 0 - type out scale factors

1 - heat power 2 - rod position 1 3 - rod position 2 4 - rod position 3 5 - rod position 4 6 - rod position 5 7 - inlet temperature 1 8 - FRY. neut. flux 9 - RHODIF

10 - D R 11 - RHOROD 12 - IRHOEX-SC

b. 0 - type out scale factors 1 - average heat power 2 - POWTOT 3 - RHOTOT 4 - U235 5 - BIO 6 - Xenon 7 - SM 8 - FP 9 - RHODIF

10 - DR 11 - RHOROD 12 - FRYLIN

4 . Press "Enter."

Page 310: WSIBf , 1 - International Nuclear Information System (INIS)

303

ORNL DWG NO 72-801

MAN. F C N - 1 4 , 1 5

Fig. 43. Logic Block Diagram of Program PLTCOM.

Page 311: WSIBf , 1 - International Nuclear Information System (INIS)

3 0 4

001 . 002. 003* 004* 005, 006. 007, 008. 009* 010.

Oil* 0!2. 013* 014. 015.

7F5C 006A

NAM PLTC0M 7/22/71 * REV.6/71 TO ADD T IN AND FRY FLUX. ALSO 0VF CK. * REV. 10/70 10 MADE TIMER CALL PR0P. T0 DY INCREMENT. * REV.7/22/71 T0 PLOT ALL PTS IF LH DG SW IS MINUS. * ALSO DELETED COMPLEMENT OPTION IN RH D6 SW. *

ENT PLTCOM EXT DACDRI 9Q8QFIX EXT FLOT EQU LS8T($7F50)tKILFLG($6A)

* COM $7F50»5l,52»53f ARE USED TO SAVE THE * CURRENT LSB POINTERS FOR LIVE DATA ON DRM E. * COM $7F60fl»2,3, ARE FOR SNAP SHOT DATA WHICH * IS XFRED FROM E IB C. BUT WITH SAME LSB'S. * THE LATTER IS CALLED REPLAY DATA.

017. 018. 019. 020. 021. 022. 023.

* THIS PLOTS REACTOR DATA FOR THE FOLLOWING TIMES * (1) THE LAST 10 MIN. * (2) THE LAST 6 HRS. * (3) THE LAST 24 HRS. * (4) THE REACTOR CYCLE<3/DAY). * STARTS PLOTTING FROM BASE LSB+PT.# AND *G0ES UNTIL LSB=($7F5x>. APPROP. LSB FOR PT.

025. POOOO OAOO PLTCOM ENA 0 026. P0001 606A STA- KILFLG 027. P0002 4800 STQ ISV

P0003 0133 028. P0004 40 FF STQ- I 029. P0005 C522 LDA- ($22),1 030. P0006 09F0 INA -15 031. POO 0? 0117 SAN NOT 15-*-1 032. P0008 OAOC ENA SC 033. P0009 686B STA* MSB 034. POOOA COOO LDA sNS7F60

POOOB 7F60 035. POOOC 6846 STA* 0NE+I 036. POOOD 6849 STA* TWO+1 037. POOOE 6853 STA* THREE*1 038. POOOF C104 N0T15 IDA- 4§I 039. POOIO 0121 SAP OK -*-l 040. P0011 0864 1CA1N TCA A 041 . POOl 2 6800 OK ST* P02NT

POO 13 0068 042. POOl 4 0104 SAZ MSGPT-*-1 043. POOl 5 09F0 INA -15 044. POOl 6 013B SAM GUDPT-*-! 045. POOl 7 1800 BAOPT JMP BADMSG

POOl 8 01 IF 046. MSGPT FWRITE SE.REL2 046. POO 19 54F4 046. POOl A 0D44 046. POOIB 0104 046. P001C OOOO 046. POOl D 100E

SEE WHICH FUNCTION NO. I 5rREPLAY* UsINSTANT PLAYBACK MSB FOR REPLAY

RT. DIG, SW.

MSG FOR CAL FACTORS

Page 312: WSIBf , 1 - International Nuclear Information System (INIS)

305

0 4 6 . P 0 0 1 E 0 0 5 C POOIF 0 1 6 9

0 4 7 . P 0 0 2 0 14EA JMP- (SEA) 0 4 8 * P 0 0 2 1 0 0 0 0 ALLPLT NUM 0 0 4 9 . P 0 0 2 2 E l 0 8 GUDPT LDQ- 8®I LT DIG SW 0 5 0 . P 0 0 2 3 0 1 6 2 SQP Q P - * - l 051 . P 0 0 2 4 48FC STQ* ALLPLT 0 5 2 . P 0 0 2 5 0 8 5 2 ICQ Q 0 5 3 . P 0 0 2 6 O W E G? INQ - 1 0 5 4 . P 0 0 2 7 4 8 5 5 STQ* TMEBSE 0 , 1 1 i 2 t 0 R 3 F0R S E C . M I N . E T C . 0 5 5 . P 0 0 2 8 0DF8 INQ -41 0 5 6 . P 0 0 2 9 0 1 7 2 SQN C K P T - * - l 0 5 7 . P002A 1 8 0 0

P 0 0 2 B 0 1 0 C JMP BADflSG T00 BIG

0 5 8 . P 0 0 2 C 0 0 0 2 CKPT INQ 2 SEE I F TIME BASE HRS. 0 5 9 . P 0 0 2 D 0 1 6 1 SQP U P P E R - * - l 0 6 0 . P 0 0 2 E 1 8 2 D JMP* SEC SEC 0R HIN 0 6 1 . P 0 0 2 F OA50 UPPER EN A 8 0 LENGTH 0 F C0MM0N 0 6 2 . P 0 0 3 0 684A STA* LEN 0 6 3 . P 0 0 3 1 0 A 1 4 ENA 2 0 0 6 4 * P 0 0 3 2 6 8 0 0

P 0 0 3 3 0 1 2 0 STA XDEL

0 6 5 . P 0 0 3 4 OAOF ENA 13 0 6 6 . P 0 0 3 5 6 8 0 0 STA G'0+3

P 0 0 3 6 0 0 IB 0 6 7 . P 0 0 3 7 C 8 4 4 L 0 0 P IDA* P 0 I N T 0 6 8 . P 0 0 3 8 09FC INA - 3 SEE I F FL0ATING N 0 . 0 6 9 . P 0 0 3 9 0 1 3 3 SAM N 0 T F L T - * - ! 0 7 0 . P003A 0 9 F 9 INA - 6 0 7 1 . P 0 0 3 B 0 1 2 1 SAP N 0 T F L T - * - ! 0 7 2 . P 0 0 3 C 0 8 3 6 RA0* RD+5 READ 2 V0RDS 0 7 3 . P 0 0 3 0 E 8 3 E N0TFLT LDQ* P 0 I N T 0 7 4 . P 0 0 3 E CAOO

P 0 0 3 F 0 1 1 5 IDA SCALE2 »Q

0 7 5 . P 0 0 4 0 6 8 5 D STA* SHIFT 0 7 6 . P 0 0 4 ! 0 8 1 4 TRQ A 0 7 7 . P 0 0 4 2 0 9 F D • INA - 2 SEE I F P 0 I N T 2 0 7 8 . POO43 0 1 1 1 SAN N 0 T 2 - * - ! 0 7 9 . POO44 D835 RA0* CH2 0 8 0 . P 0 0 4 5 CAOO

POO46 0 1 2 1 N0T2 LDA PTADR tQ

0 8 1 • POO47 E 8 3 5 tDQ* THEBSE 0 8 2 . POO48 ODFC 3 HQ • 3 SEE I F DAY 0 8 3 . POO49 0 1 5 A SON N 0 T D A Y - * - !

I F DAY

0 8 4 . P 0 0 4 A 8 8 0 0 AOD ADR1+3 START 0 F 4TK BL0CK. P 0 0 4 B OOF7

0 8 5 . P 0 0 4 C 6 8 2 9 STA* LSS 0 8 6 * P 0 0 4 D E82E UDQ* P 0 I N T F I X UP ENDING ADR. 0 8 7 . P 0 0 4 E CAOO LDA PTADR fQ

P 0 0 4 F 0 1 1 8 PTADR fQ

0 8 8 * P 0 0 5 0 0 0 0 3 ENQ 3 0 8 9 . P 0 0 5 1 8 6 0 0 0NE ADO LSBT.Q RUST B E 2 U0RD INSTRUCTION.

P 0 0 5 2 7 F 5 0 0 9 0 . POO 53 1 8 1 2 JMP* SACKS 091 • P 0 0 5 4 0 0 0 3 N0TDAY INQ 3 0 9 2 . POO55 8 6 0 0 TV0 ADD LSBT,Q 0 9 2 .

P 0 0 5 6 7 F 5 0 LSBT,Q

0 9 3 . P 0 0 5 7 0 C 2 8 ENQ 4 0

Page 313: WSIBf , 1 - International Nuclear Information System (INIS)

3 0 6

094 . P0058 4800 POO59 OOFA

STQ XDEL

095 . P005 A 180A JMP* BACK 0 9 6 . P005 B E820 SEC LDQ* P0INT 0 9 7 , P005 C CAOO

P005D OOO LDA SCALE.Q

0 9 8 . P005E 683F STA* SHIFT 0 9 9 . P005F E81D N0 LDQ* THEBSE 1 0 0 . P0060 C600 THREE LDA LSBT.O

P0061 7F50 LSBT.O

10! • P0062 8819 ADD* P0INT 102 . POO63 09FE INA - 1 103 . P0064 6811 BACK STA* LSB 104 . P0065 6800

PQ066 00 EB BACK2 STA IRITDR

105 . P0067 E814 LDQ* P0INT 106 . P0068 0DF6 INQ - 9 I 1 0 7 . P0069 0142 SQZ Y E S - * - I 108 . P006A ODFE INQ - I 1 0 9 . P006B 0151 SON RD-* -L 110 . P006C D811 YES RA0* SPECAL U L . RD READ 5,END- RD 1 1 1 . P006D 54F4 I I I . P006E 0344 H I . P006F 0010

P0070 OOOO 1 1 1 . P007 I 0005 H I . P0072 0001

P0073 0009 1 1 2 . P0074 OOOE HSB HUH SE 1 1 3 . P0075 OOOO LSB NUH 0 114. P0076 14EA JHP- (SEA) 1 1 5 . P0077 OOOO DATA NUH 0 1 1 8 . P0078 OOOO DATA1 RUH 0 117 . P0079 OOOO CH2 1UH 0 118 . P007* OOCC LEN NUH 12 1 1 9 . P007B OOOO P0IAT NUH 0 1 2 0 . P007C OOOO THEBSE NUH 0 1 2 1 . P007D OOOO SPECAL 8101 0 1 2 2 . P007E 0162 £110 SQP 0XL0-*-l 123 . P007F 1800 JMP BADRS6

POO80 0087 124 . P008 I C8F7 0KL0 LDA* CH2 1 2 5 . P0082 0104 SAZ 128 . POO83 C8F3 LDA* OATA 1 2 7 . POO84 OCOO ENQ 0 1 2 8 . P0085 3046 OV I - 846 1 2 9 . POO86 68F0 ST A* OATA 1 3 0 . POO87 C8EA 0X0 LDA* RD+5 1 3 1 . P0088 09FD INA - 2 2 | 3 2 . P0089 0102 SAZ FLOAT-* - ! 1 3 3 . P008A C8EC LDA* DATA 1 3 4 . POOSB 1810 JHP* N0C0RP 1 3 5 . P008C 5400 X

P 0 0 8 0 7FFF X FL0AT RTJ+ Ml

1 3 6 . P008E 5 BAD NUM S5BAD 1 3 7 . P008F 7FE7 ADC DATA-* 1 3 8 . P0090 0004 ADC SEVEN-*

SEE I F RH0DIF 0R DR

= C , FBR REPLAY.

SEE I F P0VT0T

YES, DIVIDE BY 10

CONVERT 19 INTEGER I N CENTS

Page 314: WSIBf , 1 - International Nuclear Information System (INIS)

3 0 7

139 . P0091 7FE5 ADC DATA-* 1 4 0 . P0092 4000 NUM $4000 141 . POO 93 1804 JMP* F IX 142 . P0094 39 4A SEVEN NUM $394A ,$8D<

POO 95 8DC3 143 . P0096 7FE0 FLPT ADC DATA-FLPT 144 . P0097 5400 X F IX RTJ+ Q8QFIX

P0098 7FFF X 145 . P0099 0121 SAP N0C0MP-*-146. P009A 0864 TCA A 147 . P009B 6SDB NOC0MP STA* DATA 148 . P009C 0842 CLR Q 149 . P009D OBOO SHIFT NOP 0 150 . P009E 0145 SQZ NL-*-l 151 . P009F E8DD LDQ* SPECAL 1 5 2 . POOAO 015E SQN Y E S 9 1 0 - * -153 . POOA1 G8D5 LDA* DATA SEE 154 . P00A2 0I3A SAM G00D-*-l 155 . POOA3 1808 JMP* FULSCL 156 . POO A 4 0136 NL SAM FULSCL-*-157 . P00A5 E8D7 LDQ* SPECAL 158. POOA6 0 1 5 8 SQN Y E S 9 1 0 - * -159 . P00A7 0822 CKK TRA Q 1 6 0 . P00A8 9000 SUB =N$7D00

POOA9 7DOO 1 6 1 . POOAA 0132 SAM GOOD-*-I 162. POOAB EOOO FULSCL LDQ =N $71)00 162. POOAC 7D0C 1 6 3 . POOAD 0814 GOOD TRQ A 164. POOAE 1810 JMP* PLTY 1 6 5 . POOAF 8000 YES910 ADD =N$3E80

POOBO 3E80 1 6 6 . P00B1 68C6 STA* DATA1 167 . POO 92 C8C4 LDA* DATA K68. POOB3 0133 SAM CKLOW-*-I 1 6 9 . P00B4 0981 INA - 1 2 6 1 7 0 . P00B5 0137 SAM 0KEY-* -3 171 . P00B6 18F4 JMP* FULSCL 1 7 2 . POOB7 097E CKLOW INA 126 173. P0038 0124 SAP 0KEY-+-1 1 7 4 . P00B9 OAOO ENA 0 1 7 5 . POOBA 1804 JMP* PLTY 1 7 6 . POOBB OOOO SV NUM 0 177 . POOBC 7FFF A0LD NUM S7FFF 178 . POOBD C8BA 0KEY LDA* DATA1 179 . POOBE 0C7F PLTY ENQ $7F 180. POOBF 68FS STA* SV 181. POO CO 98FB SUB* A0LD 182. POOCI 0121 SAP 0RP-*-l 183 . P00G2 0864 TCA A ; 8 4 . P00C3 0FC1 ORP ALS 1 185. POOC4 0133 SAM D0N-*-l 186. POOC5 0F21 QRS 1 187. POO 06 0141 SQZ DON-*-1 188. POOC7 18FB JMP* ORP 189. POOC8 4820 D0N STQ* TX+3 190. POOC9 C8FI LDA* SV 191 . POOCA 68F1 STA* AOLD

FLOATING F0R .0000711

YES, N3TE Q IS zERO.

CK FOR UNDER AND OVERFLOW

Page 315: WSIBf , 1 - International Nuclear Information System (INIS)

308

192. POOCB 5 C42 153. POOCC 9002 194. POOCD E8AE 195. POOCE 40FF 196* POOCF C8A5 197. POODO 8800

P00D1 FFA8 198. POO02 0822 199. POODS 996D 200. POOD4 013F 2,01 . P00D5 EOFF 202. POODS OWE 203. P00D7 C8A4 204. P00D8 09FD 205. P00D9 0136 206 . POODA 40FF 207. POODB E89F 2 0 8 . POODC EAOO

POODO 008A 209 . POODE F962 210 . POODF 1805 211 * POOEO EA60 212 . P00E1 F800

P00E2 FF98 213. P00E3 ODFE 21 4* P00E4 4890 215. 213. POOE5 54F4 215* POOE6 1104 21 3 . P00E7 0004 216. P00E8 0005 217 . P00E9 14EA 212* PCOEA C868 219 . POOEB 8868 220* POO EC 686f* 221 • POOED 0FC4 222* POOEE 5 C IF 223* POOEF 9003 224 . POOFO C884 225 . POOFI 9860 226. P00F2 0111 227 . P00F3 1804 228 . P00F4 C06A 229 . POOFS O t H 230* P00F6 1818 2 3 1 . 2 3 1 . P00F7 54F4 231• POOFS 1124 231 * P00F9 0004 2 3 2 . POOFA 0001 233 . P00F8 14EA 2 3 4 . POOFC COQO

POOKD 3&B0 235. POOFE 5 COF 236. POOFF 9002 237 . 237 . POtOO 54F4 237 . P0101 1124

RTJ* (DAC) NUM $9002 Y AXIS LDQ* TNEBSE STQ- I IDA* LSB ADD LEN

TRA Q SUB* ADR,I SAM 0 K l - * - l LDQ- 1 I HQ -1 LDA* TMEBSE IMA -2 UPPER T0TIME BASE SAM L 0 V - * - l STQ- I LDQ* P0INT LDQ PTADRtQ

fcDQ* ADR,I JMP* 0K1

L0tf LDQ* ADR,Q ADQ P0INT

IK9 - 1 0K1 STQ* LSB TX TIMER X A X I 3 « T X - I , 4 f * t 0

NUM 5 JMP- (SEA)

XAXlS LDA* XP0S ADD* XDEL STA* X^SS ALS 4

RTJ* (OAC> HUM $9003 LDA* LSB SI©* IN1TDR SAN W0THRU-*-l JMP* 3UT

N0THRU LDA* KILFL6 SAN 0 U T - * - l JMP* 60

0UT TIMER 0 2 - 0 U T - l , 4 t T t 2

NUM 1 JMP- (SEA)

02 LDA =N$3E80

RTJ* (DAC) NUM $9002

T! TIMER XZER0-TI-1 «4 f ? 9 2

Page 316: WSIBf , 1 - International Nuclear Information System (INIS)

3 0 9

2 3 7 . P O l 0 2 0 0 0 4 2 3 8 . P 0 1 0 3 0 0 0 1 NUM 1 2 3 9 . P O l 0 4 1 4 E A J M P " ( S E A ) 2 4 0 • P 0 1 0 5 O A O O X Z E R 0 E N A 0 2 4 1 • P O l 0 6 5 C 0 7 R T J * ( D A C ) 2 4 2 . P 0 1 0 7 9 0 0 3 N U M $ 9 0 0 3 2 4 3 . E X T I M E R R F L - E X - 1 . 2 4 3 . P 0 1 0 8 5 4 F 4 2 4 3 . P 0 1 0 9 1 1 2 4 2 4 3 . P 0 1 0 A O O O A 2 4 4 . P O l O B 0 0 0 1 N U M 1 2 4 5 . P 0 1 0 C 1 4 E A J M P - ( S E A ) 2 4 6 . P 0 1 0 D 7 F F F X O A C A D C D A C D R I 2 4 7 . 6 0 T I M E R R D - G 0 - 1 . 4 . 2 4 7 . P 0 1 0 E 5 4 F 4 2 4 7 . P O l O F 1 1 0 4 2 4 7 . P 0 1 1 0 7 F 5 D 2 4 8 . P O l 1 1 O O O O N U M 0 2 4 9 . P O l 1 2 1 4 E A J M P - ( S E A ) 2 5 0 . P O 1 1 3 C 0 6 A R E L L D A - K I L F L G 2 5 1 • P O l 1 4 0 1 1 9 S A N R E L 2 - * - l 2 5 2 . P 0 1 1 5 C 8 0 0 L D A A L L P L T

P O U 6 F F O A 2 5 3 . P O l 1 7 0 1 0 6 S A Z R E L 2 - * - l 2 5 4 . P O l 1 8 D 8 0 0 R A 0 P 0 I N T

P O l 1 9 F F 6 1 2 5 5 . P O l 1 A C 8 0 0 L D A P 0 I N T

P O l I B F F 5 F

2 5 6 . P O U C 0 9 F 2 I N A - 1 3 2 5 7 . PQUD 0 1 3 3 S A M f 0 R E - * - i 2 5 8 . R E L 2 R E L E A S ( P L T C 0 M - R 2 5 8 . P O U E 5 4 F 4

2 5 8 . P O l 1 F i 9 0 1

2 5 8 . P 0 1 2 0 F E E O

2 5 9 . P 0 1 2 1 O A O O M 0 R E E N A 0 2 6 0 . P 0 1 2 2 6 8 0 0 S T A C H 2

P 0 1 2 3 F F 5 5 . CM P 0 1 2 4 6 8 0 0 S T A S P E C A L P 0 1 2 5 F F 5 7

2 6 2 . P 0 1 2 6 6 8 2 C S T A * X P 8 S 2 6 3 . P 0 1 2 7 6 8 2 A S T A * I N I T D R 2 6 4 . P 0 1 2 8 c o n L D A - $ 1 1 = $ 7 F F F 2 6 5 . P O l 2 9 6 8 9 2 S T A * A 0 L D 2 6 6 . P 0 1 2 A 0 A 0 1 E N A 1 2 6 7 . P 0 1 2 B 6 8 0 0 S T A R D + 5

P 0 1 2 C F F 4 5 2 6 8 . P 0 1 2 D 0 A 0 3 E N A 3 2 6 9 . P 0 I 2 E 6 8 2 5 S T A * X D E L 2 7 0 . P 0 1 2 F C 8 0 7 L D A * I S V 2 7 1 . P 0 1 3 0 6 0 F F S T A - I 2 7 2 . P 0 1 3 1 E 8 0 0 L D Q T M E B S E

P O l 3 2 F F 4 9 2 7 3 . P O l 3 3 O D F B I N Q - 4 2 7 4 . P O l 3 4 1 8 0 0 J M P C K P T

P 0 1 3 5 F E F 6 2 7 5 . P O l 3 6 O O O O I S V N U M 0 2 7 6 . B A D M S G F U R I T E S E . . B M S G - I 2 7 6 . P O I 5 7 5 4 F 4

Page 317: WSIBf , 1 - International Nuclear Information System (INIS)

3 1 0

276, 276. 276. 276. 277. 278. 279. 280. 281 . 282. 283. 284. 285. 286. 287. 288. 289. 290. 291 . 292. 293. 294. 299. 296. 2 9 7 . 298. 299. 300. 301. 302. 303. 304. 305. 306. 307. 308. 309. 310. 311 . 312. 313. 315.

POl 38 POl 39 P013A P013B P015C P0I3D P013E P0I3F POl 40 POl 41 POl 42 POI 43 POl 44 POI 49 POl 46 POl 47 P0148 POl 49 P014A POl 48 P014C P014D P014E P014F POl 50 POI 51 POl 52 POl 53 POl 54 POl 55 POI 56 POl 57 POl 58 POl 59 P015A POl 5 8

0D40 OOOO OOOO 100E 0007 0043 18DF OOOO 1C20 2DOO 30 CO 4790 OFEO 0FE5 0FE3 0FE3 0FE3 0FE3 0FE3 0FE4 0FE5 0FE7 0FE7 0FE4 0FE4 OOOO OOOO 0005 OFEO 0FE5 0FE3 0FE4 0FE4 0FE4 0FE4 0FE4

POl5 C 0FE4 POI50 0FE7 POl 5£ P015F POl 60 P0161 POI 62

0FE7 0FE4 OFEO OFEO 0005

ADR1 ADR

SCALE

INITDR XP0S XDEL SCALE2

JMP* NUM NUM NUM NUM NUM LLS LLS as LLS LLS LLS LLS LLS LLS US LLS LLS as NUM NUM NUM as as as as as as as as as as as as as as BZS

REL2 0 BASE LSB F0R BLKS 0N CRM E. 7200 11520 12480 $4790 MAX. MSB F0R DAY SAVE 0

PAVG . R0D#1 #2 #3 #4 #5 6/3/71 TEMP, INLET #1.

FRY FLUX IN 1 0F 5.0 V0LTS.

5 3 3 3 3 3 4 5 7 RH0DIF 7 RH0DY 4 RH0R0D 4 SC 0 0 5 0 5 PAVG. 3 P0VT0T 4 RH0T0T 4 U235 4 BIO 4 XE 4 SH 4 FP 7 RK0DIF 7 OR 4 RHOROD 0 0 THESE ARE 0N LINE NOISE. SPARES(5)

ADDRESSES FOR COMMON POINTS 317. POl67 OOOO PTADR ADC 0 318. POl68 002D ADC S2D PAVG 319. POl69 002B ADC $2B P0VT0T 320. P016A 0023 ADC $23 RH0T0T 321 . P0I6B 0035 ADC $35 U235 322. P0I6C 0037 ADC $37 810 323. P0I6D 0039 ADC $39 X£ 324. P016E 003B ADC S3B SM 325. P0I6F 003D ADC $3D FP 326. POl70 0031 ADC $51 RM0DIF 327. P0171 005F ADC $3F DR 328. POl72 0027 ADC $27 RH0R0D

Page 318: WSIBf , 1 - International Nuclear Information System (INIS)

3)1

329. POI73 0041 ADC 330. POI 74 0042 ADC 351 • P0175 0005 BZS 332 . P0I7A OOOO NUM 333. P017B 434B BMSG ALF P0I7C 2E20 POI 70 4449 P0I7E 4749 POI7F 5357 POI 80 4954 POI 81 4348 334. POI 82 OOOO NUM 335. POI 83 5449 MSGP ALF POl 84 4045 POI 85 2042 POI 86 4153 POI 87 4520 POI 88 2331 POI 89 3000 P0I8A 3120 POI 88 404E P0I8C 2F33 POI 80 4456 P018E 2020

336* P0I8F OOOA NUM 337. P0I90 2020 ALF P0I9I 2220 POI 92 2020 POI 93 2220 POI 94 2023 POI 95 3230 POI 96 2031 POI 97 2048 POl 98 522F POl 99 3344 P0I9A 5620 POI 98 2020

338. P0I9C OOOA NUM 339. POl 90 504F ALF

P0I9E 5745 ALF

P0I9F 523 0 POI AO 2035 POIAI 2040 P0IA2 572P P0IA3 4456

340. P0IA4 OOOA NUN 341. P0IA5 504F ALF P0IA6 5745 P01A7 523 0 P0IA8 2035 P0IA9 2040 •BIU «9f P01AB 4456

342* POI AC OOOA NUM 343. P01AD 524F ALF

POIAE 4420 POIAF 504F POI 80 5330

ONLINE NOISE

MSG SCRATCH

fZz t HR/30Y

Page 319: WSIBf , 1 - International Nuclear Information System (INIS)

12

POIBI 2032 POI82 2049 POI 83 4E2F P0 I84 4*56

544* P0IB5 OOOA 349* P01B6 9248

P0 I87 4F44 POI 8 8 4946 POI 89 2041 POIBA 4E4* POI88 2044 P018C 9230 POI80 2032 POISE 3943 P018F 5453 POI CO 2F32 POtCI 2044 P0IC2 5620 P0IC3 2020

346. P0IC4 OOOA 347. P0IC5 5248

P0IC6 4F52 P0IC7 4F44 P0IC8 2C20 P0IC9 5248 POICA 4F54 P0IC8 4F54 P01CC 2C20 POICO 5227 POtCE 5320 p o t c r 3oeo POI 00 2431 POI 01 2F44 POI 02 5620 POl 03 2020

348* POt 04 OOOA 349 » POl 05 *04F

POI06 5754 POl 07 4F54 POl 08 3820 POI99 3230 POIOA 3420 POl 08 4057 POtDC 4459 POIDO 532F POID£ 4456

350 .

I OOFF PLTC0H TCAIN OOUP OK COOPT 0022P OP N0TFLT 003DP N0T2 SEC 009 BP NO « S 006 CP AD SATAI 0078P CH2 SPECAL 007OP END SEVEN 0094P a P T

n m soOA ALF |4 fRK0OlF AND 0R= 25CTS/2 DV

dUfl 800A ALF 19*RH0R0D* RK0T0T, 8 ' S » Sl/OV

i y n SOOA ALF IO tP0tf t fTs 200 HUDYS/OV

END

OOOOP 158T 00 I2P 8A0PI 0026P CNPT 0045P 8*E

005FP TWRCE 006OP USB 0079P L£N 007EP 0NL0 0096P FIX

7F50 KtLFLO 0017P NSOPt 002CP UPPER 0051P NATO AY

0060P BACK 0074? l$B 007AP Pf INT 0 0 8 I P I K f 0097 P meoyip

006A NOT 15 00 I9P ALLPLT 002FP LOOP 0054P TWO

0064f» 8ACN2 0075P OATA 007BP TREBSE 0087P FLOAT 009BP SHIFT

OOOFP 0021P O037P 0055P

0065P 0077P 007CP OO0CP 0090P

Page 320: WSIBf , 1 - International Nuclear Information System (INIS)

3 1 3

til 00A4P CHK 00A7P FULSCL OOABP GOOD OOADP YESS10 OOAFP CKL0W 00B7P SV 008BP AOLD OOBCP OKEY OOBDP PLTY OOBEP ORP 0OC3P DON 00C8P LOW OOEOP OKI 00E4P TX 00E5P XAX1S OOEAP H0THRU OOF4P OUT 00F7P 02 OOFCP TI 01 OOP XZER0 0105 F ' EX 0108P DAC 010DP GO 010EP REL 0113P HEL2 OUEP M9RE 0121P ISV 0S36P BADMSG 0137P ADR 1 013FP mn 0 I40P SCALE 0144P INITDR 0 1 5 I P XPOS 0 I52P XDEL 0153P SCALES 0154P SPARES 0162P PTADR 0167P SPARE 0 I75P BMSG 017BP WSGP 0 I83P FL0T 008DX Q8QFIX 0098X DACDRX OIODX J

Page 321: WSIBf , 1 - International Nuclear Information System (INIS)

314

2.46 POWCAL

2.40.1 Classification

On-Iine/core resident/assembly language/nonreentrant/relocatable

2 .46 .2 Purpose

POWCAL converts the venturi differential pressure in the primary flow loop to flow rate in gallons per minute and calculates the average reactor power level in each of the three servo channels for the HFIR control system.

2 .46 .3 Description

POWCAL is entered at priority level 7 each second from program SCAN34. The program uses the current values stored in the LOCORE value table for the differential pressure of the primary loop venturi and the core inlet and outlet water temperatures to calculate reactor power level in megawatts times 10. The calculated values are stored for each channel in the value table, and the program jumps to P ICMD.

The logic block diagram of POWCAL is shown in Fig. 44.

2 .46 .4 Relationship to Other Programs

POWCAL is entered by a jump from SCAN34 and exits to P ICMD, with a jump to entry point POWAVG.

Page 322: WSIBf , 1 - International Nuclear Information System (INIS)

315

ORNL DWG NO. 72*843

SCAN-3 4

Page 323: WSIBf , 1 - International Nuclear Information System (INIS)

316

001. 002. 003 • 004* 005, 006.

00 7 * 008 • 009. 0 1 0 * o n * 012* 013* 014* 015* 016. 017. 01S» 01*. 0 2 0 * 0 2 1 * 022* 023* 024* 025. 026* 027* 028. 029* 030 » 031. 032. 033* 034* 035* 036* 037. 038* 039* 040* 041. 0 4 2 . 043. 044* 045* 046* 047. 048* 049* 050* 051. 052*

NAH P0WCAL ENT P0WCAL EST P S M M

REVISED 4/2/€9

00 EA 0090

POOOO 0001 POOOl 0001 P0002 0001 P0003 03 E8 P0004 2710 P0005 05 A8 P0006 2055 P0007 0000 P0003 OCOF P0009 40FF POOOA 5802 POOOB m C POOOC 0000 POOOO 0844 P000E E59D POOOr 5400 X POO 10 7FFF X POO11 28F4 POO 12 0F6C P0013 1CF8 POO14 0000 POOS 5 0121 POO16 OA00 POOI7 6690 POO18 DOFF P0019 1CFA P001A 0000 P001B 0690 P001C ODFC P001D 969 D P001E 1CFB P001F 0000 P0020 2690 P0021 38EI P0022 28E2 P0023 38E0 P0024 E8E2 P0025 0003 P0026 0121 P0027 OA00 P0028 6690 P0029 1CF5 P002A 0000 P002B 53EE P002C 6805 P0020 ODOD P002 E 4808 P002F 58EF P0030 tHF9 P0031 0000

EXT SQR00T SOU AOISP ( SEA ) «AVALU C $90) 8SS DELAT 1»0ELAT2,DELAT3

7HSND mm TNTHSO NU* ce»sT nm FLVC0H nm QSAV »un P0WCAL BHQ

STQ-

LPI

1000 10000 1448

$2055 0 15 I

RT-J* UP I J»P* tiXTi 0 0

CtR A CALCULATE FIMS UDQ- CAVALU) RT*J SQR00T

LP2

0K

LP3

LP

mi* FLWCSJS LRS 12 J«P* CLP1> 0 0 SAP 0K-*-i EN A 0 STA* CAVALU),9 8A0- I JMP* <LP2) 0 0 LDA- CAVALU) ,0 IRQ -3 SUB- CAVALU) 90 «JHP* (UP3>

SCALE

00 <101 ST0HE AHy dEO. #0* ST0RE FLOWS 2» VALU

0 0 CAVALU),0

0V1* THSNO WJI* C0MST WI* TNTHSO LDQ* QSAV IRQ 3 SAP 0K1-*»1 EDA 0

0K1 STA- CAVALU) ,Q JMP* CLP4)

LPS 0 0 RTJ* LP3

STRDLT STA* DELAT3 I NO 13 STQ* @SAV

RTJ* LP4 JHP* CLP5)

LP6 0 0

CALCULATE PELTA TE«PS CALCULATE P0#ERS*

09 N0T 5T0RE ANY NEG. P0WERS, ST0RE HEAT POWERS

Page 324: WSIBf , 1 - International Nuclear Information System (INIS)

it?

053 . P0032 50F7 054* P0033 E8F8 055* P0034 ODFE 056 . P00S5 48F6 057 . P0036 ICFA 0 5 8 . P0037 OCIF 0 5 9 . P0038 58JB 060 . POO 39 5802 061 • ?003A 0C20 062 # P003B 5008 063* P003C 58CF 0 6 4 . P0030 0C21 065 . P003E 6690 066. FOOSF 0CJ7 067. POO 40 58F0 068» P0041 OCt 6 0 6 9 . P0042 50CE 0 7 0 . POO 4$ OCt 5 071 . P0044 5 SEC 0 7 a . ?0045 0A03 074 . ?0046 88E5 074, ?0047 68E4 075. P0048 1400 X

POO 49 7FFF X 076*

NXTI

RTJ* LP5 LDQ» STRDLT IRQ - 1 SfO* STRDLT JMP* CLP6) ENQ 31 RTJ* LP2 RT,J* LP I ENQ 32 RTJ* LP2 RTJ* LP I EMO 33 STA- (AVALU) ,Q ENQ 33 RTci* LF6 ENQ 22 RTJ* LP6 ENQ 21 RTJ* IPS EUA 3 ADD* STRDLT STA* STRDLT JMP* P0«AVC

END

I _ OOFF POWCAL 0008? AO ISP OOEA AVAtU DELAT2 OOOIP DELAT3 0002P TRSND 0003P TNTHSD aifC08 0006P QSAV 0007P LP! OOOCP 3 1 m 001AP LP4 001FP OKI 0020? LPS* L?6 0031P NXTi 0037P 3QR00T 001OX P0WAV6

0090 DELATi OOOOP 0004? CONST 0005P 0014? OK 0017? 002AP STRDLT 002CP 0049X

001 NAM

Page 325: WSIBf , 1 - International Nuclear Information System (INIS)

318

2.47 PROJCT

2.40.1 Classification

On-line drum resident/Fortran language/nonreentrant/relocatable

2.47*2 Purpose

PROJCT calculates the on-line projected timet to poison and, if poisoned-out, the projected time for restart. The anticipated reactor power profile can be changed and the behavior of a new core calculated.

2.47.3 Description

Upon sntry, PROJCT tests a busy flog located in $7F9F. If a 5 is found in this memory-location, the program is busy and is released. This prevents the running of more than one program at any time. If it is not busy, the program reschedules the priority from 6 to 5. Upon entry, the initial conditions for the fuel and boron concen-trations correspond to a new reactor fuel element. A test is made to determine whether tN^user is requesting function 26. If he is not, the current core conditions are used by trcmsferrtng the isotope concentrations from core common. A test to determine whether function 27 is being requested is made; if it is not, the program loops on the console input waiting tor five reactor power levels and five time values to be entered by the operator. This type of profile is required for function 26 and function 27.

The profile required feu- functions 2 and 3 is a hypothetical change from the current reactor conditions to a new power level at a time indicated in the digiswitch. The steps are discussed in detail under user instructions below. The busy flag is set and the power profile requested is typse* appropriate to the function selected. If the current reactor power level is to be used, a 1-sec timer call is used to obtain five values of the current value table reactor p»v*«r level. During this loop, a test is made for the kill flag, actuated by function 9. After the power profile has been entered, a test is made for function 26. If function 26 cs being requested, the current excess reactivity is read from common, and the program utsieses the burnup algorithm from program SC to calculate the projected reactivity change the requested power profile. This calculation is done in a loop, with checks being made on the reactivity balance.

Whenever the available excess reactivity has been equaled by the combined reactor core burnup and xenon poisoning, the poisoned condition is defined. Whenever poisoning occurs, the algorithm reduces the power level to 0.01 MW and, depending on the function selected, the calculation may continue while waiting for xenon decay in order to predict the earliest time at which the reactor would be critical. This is defined as "the time to restart."

Page 326: WSIBf , 1 - International Nuclear Information System (INIS)

319

When on-line conditions ore being extrapolated, a test is made for the regulating rod position. If the regulating rod is in the withdrawal limit, the reactivity from RHOROD will not be used to extrapolate the time to poison. In this case, the estimated reactivity excess will be based on the burnup calculation. If the regulating rod should clear the withdrawal limit before the requested calculation is finished, the calculation will automatically restart using the rod positions as the best estimate of current core excess reactivity. Function 3 and function 27 cause the calculation to continue after poisoning in order to predict the time of restart. If criticality is calculated within the requested time interval in the digiswitch, the value of restart time will be typed, and the program will be released. Otherwise, the calculation will continue typing ot intervals of each projected 10 hr of operation that restart has not occurred up to that time. This calculation will continue for a maximum projected time of 80 hr.

The logic block diagram of PROJCT is shown in Fig. 45.

2 .47 .4 User Instructions

Function 2. — The projected reactor poisoning calculations requested under function 2 anticipate reactor operation at the current real reactor power level until the elapsed time shown in the left-hand digiswitch of the operator console. The value of power level shown in megawatts in the right-hand digiswitch will then be used for con-tinuing the extrapolation for times beyond the value shown in the left-hand switch. This calculation will continue until a time to poison of 6 hr or less is found. If the time lapse entered in the left-hand switch is greater than 350 min, the calculation will run until the time period has lapsed. If a poison state is detected during this calculation, the time to poison will be typed, and the calculation will terminate.

Function 3. — Function 3 is the same as function 2 except that the calculation will be continued after finding time to poison, searching for the time to restart. Messages will be typed at projected time intervals of 10 hr for a maximum of 80 hr.

Function 27. — This function uses current core conditions as in functions 2 and 3 . However, provisions are made for five power level changes, although these need not be different. Each value is entered successively by setting the power level in megawatts in the right-hand switch with the corresponding lapse time at which the power change is to be made. The time lapse is entered in the left-hand switch in units of hours times 10. After all five entries have been made, a list of the power profile is typed. The real-time start for the power profile is taken to be the time the last entry is made. If an error is made during the entry, a new set may be started after the abort function 09 is entered. If a poison state is encountered before the programmed time lapses, a message wilt Indicate the time at which the poisoning occurs. The calculation will continue with the power level assumed to be 0.01 MW until the restart condition is detected. This value L typed and the calculation terminates. If a restart condition does not occur, a 10-hr interval typeout of the calculation is given until a maximum of 80 hr is projected.

Page 327: WSIBf , 1 - International Nuclear Information System (INIS)

320

Function 26. — Function 26 is used the same as function 27, except that the initial conditions are applicable to a t e w reactor core. Ihe times entered for the power profile are therefore for a power profile starting ot zero time or zero burnup.

The following applies to all four of the above functions: (1) any of these functions can be terminated at any time by selecting function 9, pressing ENTER; and (2) the maxi-mum range of power levels which may be entered is 0 to 1000 MW in increments of 1 MW. The time intervals for functions 2 and 3 must be restricted to 0 to 35,000 min in increments of 1 min. Functions 26 and 27 time interval may vary from 0 to 600 hr in increments of 1 hr.

The computing time required for each 24-hr projection is approximately 4 min of real time.

Page 328: WSIBf , 1 - International Nuclear Information System (INIS)

IMNUAI IC«( 1.1 >t«l 0*111 0»C NO 1} TTT

U> ro

t mil0CCM»xuiirns i *t»M« mi occu**i u«t K»s Mil* msoft I »WT ro MXSON «>***O« - «ts *CO >» imit 'M»OM*fCMtU U «•» 10* 111 I Ml u a* 10* ui I n»s n «* I0« Ut t n*%

I I M> (0* >» • MS nmtMuii MS « iwNfl«CMKi loumuimtoo* • »0<SMOTll MOIOCCU* mtma ut i n*s FENOM M I KO» occu« • <HI U»t mil M0> OCtU* Ulnftt II »l • KJiiO*

Fig. 45* Logic Block Diagram of Program PROJCT.

Page 329: WSIBf , 1 - International Nuclear Information System (INIS)

3 2 2

PROGRAM PROJCT C 3 / 2 4 / 7 1 VERSION COMPILE RELOCATABLE * * * * * * * * * * * * * * * * * * * * * C FUNCTS 2 , 3 REQ 1 VALUE OF TIME (MIN) & POWER (MW) IN L«R DIGSV C 2 6 , 2 7 REQ 5 VALUES OF TIME(HRXIO) A POWER(MW) IN LAR OIGS RESP

DIMENSION IPOW(l) ,1TIME(1) ,1POWAG(1> DIMENSION IBUFC50) ,1POWR(5) , IT IMC5) ,T IME(5 ) DIMENSION B (11 ) ,B I ( 11 ) ,DO ( 11) ,D1 ( 11 ) ,MSG( 4),MNHR(2) DATA B ( l ) , B < 2 ) „ 8 C 3 ) , B ( 4 ) , B ( 5 ) , 8 ( 6 ) , B ( 7 ) , B ( 8 ) , B ( 9 ) , B ( I 0 )

1 , B ( l l ) / 4 . 7 2 6 E + 2 0 , 2 . 5 0 5 E + 1 8 , 0 . , 0 . , 0 . 9 0 . , 0 . , 0 . , 0 . , 0 . 9 0 . / DATA DT,IPFLG ,TME ,RH0 ,1 RHORDf LASFLG 9 I P 0 V A G / 3 0 . , O , O . , 0 * 9 O , J ,0/ DATA MSG(1) f MSG(2) .MSG(3) ,MSG(4> /$4652 ,$4F4D,$204E,$4F57 /

C IPFLG=POISON FLAG (I=REAC IN POISONED STATE) C LASFLGsRR LIMIT AT START FLAG (QsRR IN WTHDR LIM) C MSG IS PART OF FORMAT FOR POISON MESSAGE* SEE FORMAT 6 BELOW C CHECK PROJECT BUSY FLAG, LOWER PRIORITY FROM 6 TO 5 I F NOT BUSY

ASSEM $ C 4 0 0 , $ 7 F 9 F 9 $ 9 F A , $ U 2 9 $ l 8 0 0 9 * 9 * 3 0 0 9 $ 5 4 F 4 , $ | 3 0 5 , $ 3 , $ t 4 E A C SAVE CONINT TABLE LOC, AND ZERO KILL FLAG*

ASSEM $480O,IDIGSW,$C622,$680O,IFNCT,$A00,$606B ASSIGN 98 10 IEX IT 1F(IFNCT«EQ.26)G0 TO 8

C TRANSFER B'S FROM COMMON ASSEM $C15 ,$C600 ,$7F0B,$6A00 ,B( I ) , $L42»$DF£ ,$ !8F9 IF ( IFNCT.NE.27)G0 10 51

C LOOP THRU 5 TIMES PICKING UP DIGSW. DATA. 8 ASSEM $E800, IDIGSW,$C400,S7F9F,$60FF,$C204

ASSEM $121 ,$864 ,$6500 f $7FA0 ASSEM $C208 ,$J21 ,$864 ,$6500 f $7FA5,$D400 ,$7F9F ,$C400 ASSEM S 7 F 9 F , $ 9 F A , $ 1 0 2 9 $ I 8 0 0 9 * 9 * 3 0 C

C XFR TABLES 10 1KIS PRC, SINCE 5 TIMES OVER. C A 5 IN S7F9F SETS THE PROJECT BUSY FLAG

ASSEM $C09 f $C60Q,$7FA0 > $6A00 , IF8WR,$BFE l $ i7 i t $ i8F9 55 CALL SETBFRdBUF ,31 )

WRITEC14 1) I F£RMAT(17MF0R POWER PROFILE)

DO 10 1=1 , 5 T l M E ( I ) s F L 0 A T ( I T I M ( I ) ) / 1 0 .

10 W R I T E ( 1 4 , 1 1 ) I P 0 W R ( I ) , T I M E ( I ) I I F0RMAT(5X,13 ,7H MW F0R 9 F6«I ,4K HRS)

JCTRs1 PsiPOWR(JCTR) TIMPW sTIM£(JCTR)*3600• GO TO 3

C GET DIGISWITCH INFO 51 ASSEM $C00,$40FF,$C04,SCE00, ID IGSW,$12I ,$864

ASSEM $6900,1P0W,SCO FF,$113,SDO FF,$C08,$18F5 C SET PROJECT BUSY FLAG, A 5 IN S7F9F.

ASSEM $A05,$6400,$7F9F 155 TIMsFL0AT(ITIME3

CALL SETBFR(IBUF;«1) WR1TE(14,5) IP0W9TIM

5 F0RMAT( 19HF0R POWER CHANGE T 0 . H . 3 H M N . F f . l . U M Ml H FHiM NHW ) C READ AVG POWER FROM VALUE TABLE £0fHy i l u 5 Ski,

ASSEM $AF99$6811,$C259$D8OF,$C8OE.$lOF f$C69D.$00nn ASSEM IP0VAG,$6800,1F0W AG,SCO 6 8 , 1 1 1 6 , t M F 4.11 11 5 ASSEM $7FF3 ,$9 9 $ !4EA,$0 G0 TO 98 P=FL0AT(IP0WAG)/5O. TIMPW=FL2AT(ITIME>*60.

Page 330: WSIBf , 1 - International Nuclear Information System (INIS)

m

3 I F(.1FNCT«EQ,26)G0 TO 52 C GET JtR WDR LI P IT STATUS

ASSItM SC400, $7F2F,$A02B f$6000,LASFL6 C CALC IRHORD 76 ASSSM SC4OO#$7F26#$84OO#$7F25#$68OO,1RH0RD

1FC LASFLG* EQ.O)G0 TO 54 IRH0RD=O

C READ I REAC FR011 $7F27 EVERY SEC FOR 5 SEC ASSErt $CFA,$43l t > SC810,110F,$D80E > $C400,S7F2? ASSiEM $8800 ,IRHORD, S6800 # IRHOR 0 1 $0060 , S U 8 ASsen S54F4 ,$ i11 5 ,$7 FF3,S9,$14EA # $0 ASSEM $ 1 8 0 0 , * , * 7 5 00 TO 98

75 1RHORDsiRH0RO/5 C GET RR WDR L1HIT STATUS

ASSEfl SC400»S7F2F»SA020,$6800,LASFLG IF(LASFLG*NE»0)GO TO 54 GO TO 76

C LET JRHORD=IftHO£X FOR FCW 26 52 ASSEM SC400 »$7F26,$6800,1RHORD C CHECK KILL FLAO 54 ASSEM $£068,$J 4 2 , $ I C 0 0 t I E X I T

F 3 = l . 5 7 3 E 3 3 * P / B U > C EQUA

DO < i J = - 7 . 5 8 6 5 C E I ! * P D O ( 2 ) = - F 3 * B < 2 ) * 3 . 7 2 9 E -2$ D 0 ( 3 > = 4 , 1 6 8 4 5 £ ! 0 * P - 2 . 8 7 E - 5 * B < 3 > 00<4> = 1 . 1 7 4 2 4 E 9 * P + 2 « 8 7 £ - 5 * B ( 5 > - 2 . 0 9 E - 5 * 8 < 4 > - 2 . 0 5 E H 8 » F 3 * B C4> 0 0 ( 5 ) s f • 4 5 8 4 9 E I 0 * P - 7 ,23E-7*B<5) 00 <6> 4 7 . 2 3 £ - 7 * B ( 5 ) - 8 . 3 8 6 E - 2 2 * F3*B<6> Dt)<7) - 3 . 9 4 1 E - 2 2 * F 3 # B < 6 ) - { I •98E~742«92E~2l *F3 J*B ( 7 ) 00 < 8 ) = 4 , 4 4 5 E « 2 2 * F 3 * B < 6 > - < I e 4 9 E - 6 + 4 , 4 0 £ - 2 Q * F 3 > * 8 <8> DOC9) «6»98412£9*P+F3*CJ>R92E"2L*B<7)+4»40E~20*BF 8 ) )

i - 3 * 6 6 4 E - 6 * 8 < 9 > 00 (10 )=3»664E-6 *B<9>~5 .029E-20* F3*B(10 > 0 0 ( i 1 ) = 6 • 1 8 0 3 2 E- i I * P CO NS T=DT/ ( 8 . 548E - 2 2 * B C D ) DR5s+2*148E-22* 00 <I>*COWST QRiC=-9*3E-2l*DO<2)*C0NST DRXE=-2.625E-18*DO(4)*C0NST DRS«s-6,7E«20*DOUO)»CO»ST ORFPs-DO«ll)*CONST DRs DR5+DRI0+DRXE+ DRSM+BRFP RH0=RH0+DR/*Q0C0711 IRHSC=-RH0 00 13 l £ i » i t

13 31 ( X > sBt l )+DO<I )*DT C EQUA #2

D I < I > = - 7 • 5 8 6 5 8 E 1 I * P Dt < 2 > s - F 3 * B l < 2 > * 3 . 7 2 9 E - 2 i D t ( 3 ) = 4 . 1 6 8 4 5 E I 0 * P - 2 . 8 7 E - 5 * B 1 ( 3 ) DJ < 4 ) s | . 1 7 4 2 4 E 9 * P + 2 . 8 7 E - 5 * B l t 3 > - 2 . 0 9 E - 5 * B l < 4 > - 2 . 0 5 E - l 8 * F 3 * B l < 4 > DK5> = I . 4 5 8 4 9 E I 0 * P - 7 .23E-7*B I<5> Dl <6) ~7 »23E-7*B1 <5 ) -8«386E-22*F3*B H 6 ) D I < 7 ) s 3 . 9 4 I E - 2 2 * F 3 * B K 6 ) - ( l . 9 8 E - 7 + 2 . 9 2 E - 2 I * F 3 ) * B l<7 ) DI ( 8 ) = 4 « 4 4 5 E - 2 2 * F 3 * B I C 6 ) - < U 4 9 E - 6 + 4 * 4 0 E - 2 0 * F 3 > *B 1 C 8 > D K 9 ) s 6 . 9 8 4 i 2 E 9 * P + F 3 * ( 2 . 9 2 E - 2 l * B l < 7 ) + 4 . 4 0 E - 2 0 * B l < 8 > )

I - 3 » 6 6 4 E - 6 * B I ( 9 )

Page 331: WSIBf , 1 - International Nuclear Information System (INIS)

3 2 4

01C10)*3«664E~6*B1(9 ) • * *029£«20*r * *B H t0> 01<11> =6 »18032 E- I I »P 00 14 1 - i . 11

14 B( 1 > -B<! >+CD0(l>*Di U »>*.5«DT lFdFNCT,E9.26>80 10 19 1F( LASFLG.NE.OJG0 10 19

C GET 8ft WOR LIMIT STATUS ASSEM $C4OO,$7F2Ff$A02B,$68O0fLASFLG 1F<LA$FLG#E0«O)G0 70 19 IPFLGsO TWE=0, RH0=O. IRHORDsO IPOWAGsQ

C TRANSFER NEW B'S FROM COMMON ASSEM SCI 5* $0600 »S7F0B tI6AG0,B < t ) , $ 142 ,SDFE, $ t8F9 IFdFNCT.£Q.27)G0 10 55 G0 10 155

19 lFdPFLG*EQ. l )C0 10 56 1F (1RH SC • LT «1RH0RO > G0 10 57

C SET P01S0N FLAG, SAVE TIME 0F POISON* AND ZERO POWER IPFLGsi 1T" 10 T0P=TME/ 3600. TIMsTME/60. PsO.

C I F TOP IS I T 2 HRS, PRINT TIME IN MIN . OTHERWISE IN HRS. MNHR< l> S$4D49 MNHR<2)s$4E20 IF<TIM.LT.12O.)G0 10 84 TIMsTOP MNHR< US$4852 MNHR(2)=$5320

84 1F<IFNCT.NE.26)60 TO 67 MSG(l)s$494E MSG<2)s$544F MSG(3)=$2043 MSG(4)=$5543

67 CALL SETBFRdBUF ,37) WRITEC14,6)TIM,MNHR,MSG

6 F0RMAT<17HP0IS8N WILL OCCUR,F6.10 IX,2A2 f4A2) IF( IFNCT.EQ.2)G0 10 58 GO 10 59

56 IF(1RHSC.GT.IRH0RD)00 TO 59 TIM=TME/3600•-T0 P CALL SETBFRdBUF,45) WRiTEC14,7)TIM

7 FORMATCI8HRESTART WILL 0CCUR,F6.1,17H HRS AFTER POISON) GO TO 38

C INCREMENT TIME 59 TMEsTME+DT

IF< (TKE/3600. -T0P) .LT .FLOAT(IT) )G0 10 54 CALL SETBFRdBUF,45) WRITEC14,1?7)IT

157 F0RMATC29HRESTART WILL NOT OCCUR WITHIN,14, A17H HRS AFTER POISON) IT=1T+10

Page 332: WSIBf , 1 - International Nuclear Information System (INIS)

3 2 5

60 T0 34 37 TMEsTME+DT

1F< TM£.LE.TIMPW)G0 10 34 IFdFNCT»LT.5 )G0 10 61 £F(JCTR.GE.5)G0 10 62

C GET NEW P0WER AND TIME JCTRsXTR+1 PsIP0WR<JCTR) TIMPW sTIME(JCTR)*3600.+TIMPW G0 10 34

C GET NEW P0WER AND CHECK F0R 6 HR U M I T 63 P sIP0W

I F ( TME.LT.2.1 6E4)G0 10 54 TIMsTME/3600. CALL SETBFRdBUF138) WRITE(14»63)TIM

65 F0RMAT<28HP0IS0N WILL N0T 0CCUR WITHIN,F6.1 ,4H HRS) 00 T0 58

62 CALL SETBFRdBUF,29) WR1TE(14,64)

64 F0RMATC2IHP0IS0N WILL N0T 0CCUR) C CHECK I F RR WAS IN WTHDR LIMIT DURING THIS CALC 53 1F( LASFLG«N£.O)G0 T0 98

CALL SETBFRdBUF,38) WRITE<14,63)

65 F0RMAT(4OHTIME T0 P01S0N APPR0X. REG R0D I N LIMITS) 98 ASSEM SAO0,$6400,$7 F9F 300 CALL RELESE(PR0JCT)

END

Page 333: WSIBf , 1 - International Nuclear Information System (INIS)

326

2.48 PSDIO

2.48.1 Class if ication

On-1 ine/drum resident/assembly language/nonreentrant/relocatable

2.48.2 Purpose

PSDIO^ is the output routine for the power spectral density calculation program BULKRY. The routine outputs to the x-y plotter the frequency vs PS) on four-cycle semilog paper. The output is also listed on the control room typewriter. The first row of the list contains the frequency; the second row contains the absolute value of the PSD.

2.48.3 Descripiion

PSDIO is entered by function 07 at priority level 5. The program saves the digi-switches, and checks to determine whether a PSDIO prograrr is in operation. If it is, the program is released; otherwise, a busy flag is set in location $69, and all kill flags are reset. The program reads the PSD table from drum $E/7D00 and calculates the increments for the x-y recorder from the parameter list in MUXBUF. The PSD values are arranged appropriate to the block size of the calculation just finished. Constants are calculated appropriate to the type of plot being requested. If the kill flag is set at any time, the program nulls the pen on the x and y axes and releases. Otherwise, the program loops through all the values of the PSD table, plotting frequency along the x axis vs power spectral density along the y axis. The values plotted are on an absolute scale on four-cycle semilog paper or on a relative scale depending on the FUN4 request.

The relative scale option is selected by having a positive sign in the left-hand digiswitch whenever the FUN4 program is executed. The relative scaling is accomplished with a negative sign in this position. Relative scaling adjusts the plot to the greatest position divisible by 2 on the y axis to give maximum dynamic range on the display.

Concurrent with the plotting function the program types the values of PSD and frequency on the control room typewriter. This option may be terminated by entering function 09 one time. If a second entry of function 09 is made, the plotting function is aborted.

The logic block diagram of PSDIO is shown in Fig. 46.

2.48.4 User Instructions

The PSDIO routine is entered with function 07 and can be terminated at any time by entering function 09 to terminate typing and twice to terminate plotting.

Page 334: WSIBf , 1 - International Nuclear Information System (INIS)

327

2.48 .5 Relationship to Other Programs

PSD IO assumes that the current values of the power spectral density are stored in a $200-word block on drum $E/7D00. The current value of the block size is assumed to be contained in the parameter list in MUXBUF.

2 .48 .6 Change Considerations

PSDIO is a directory program whose length is increased by $100 words after system rebuild. This change is made by the PATCH program.

Page 335: WSIBf , 1 - International Nuclear Information System (INIS)

MAN. FCN-7

Fig. 46. Logic Block Diagram of Program PSDIO

Page 336: WSIBf , 1 - International Nuclear Information System (INIS)

329

0 0 1 * 002. 005. 004*

005.

006. 007.

00 ea 0089 00a2 0000 0069 00 6a 006B

nam psdi0 * r e v . 3 /24 /69 t 0 use drpi se/7000 f0 r psdio t a b l e .

ent pu equ ad isp($ea) ,ahex($89) ,a0dec(sa2) ,

equ b u s y ( $ 6 9 ) , k i l l c $6a > v t y p k i l ( $ 6 b )

ex t f l 0 a t , q 6 q f 2 i ext p a m l s t , e x p , a l 0 g , d a c d r i , q 8 q f l t , q 8 q f i x 9 f l 0 t

009. 010. Oil.

* a f t e r l0adin6 system b u i l d * patch system * d i rec to ry for requi red psd length(see end) . * (add $200 t0 d i rec to ry l e n g t h , )

013. 014. 015. 016. 017. 018. 019.

020. 021 . 022. 023. 024. 025. 025. 025. 025.

025. 025. 026. 027. 028. 029. 030. 031 . 032. 033. 034. 035. 036. 037. 038. 039. 040. 041 .

poooo p0001 p0002 p0003 p0004 p0005 p0006 p0007 poo 08 p0009 poo oa pooob poooc

poood poooe pooof POOIO poo i i poo 12 poo 13 poo 14 pool 5 poo 16 pool 7 p0018 pool 9 poo ia poo ib p001c p001d poo i e p o o i f P0020 P0021 p0022 p0023

c207 0005 6E16 c069 0111 1803 1800 008f 0a01 6069 0844 606a 606b

54f4 0365 ooob OOOO 0005 0200 021 E oooe 7d00 14ea oboo 7 f f f e8fe odfc 4 0 f f 0c09 c301 6a06 0172 odfe 18fb i80c oboo

pu l d a * 7,q enq 5 s ta* (pamad) »q l d a - busy san a l - * - l jmp* bm

a l jmp ree

bm ena 1 s t a - busy c l r a s t a - k i l l s t a - t y p k i l

l f hd. d ig isw-get s ign

s ta i n muxbuf p l t f l g c k . busy f l a g

s e t the busy f l a g , c lear k i l l .

c l r . typer l k i l l f l a g . drmrd read 5,back-drhrd-1 ,psd-drmrd-i ,$200,6 , 6 * 5 , , x

paw ad back

agn

dn

num $e num $7000 jmp- (adisp) nop 0 adc pamlst ldq* pamad i no -3 s t q - i enq 9 l d a - 1,b s ta * pamfq son dn-%-1 inq - i jmp* aon jmp* cipher nop 0

msb drum a d r . l s b w

address s29f9 i n 2 / 4 / 8 8 g e t paml ist from muxbuf.

Page 337: WSIBf , 1 - International Nuclear Information System (INIS)

330

042 • P0024 0000 PAM NUM 0 0 4 3 . P0025 0000 NUM 0 044* P0026 0000 LG2N NUM 0 045* P0027 0000 MBIT NUM 0 046* P0028 0000 NBLK NUM 0 0 4 7 . P0029 0000 NUMBLK NUM 0 048* P002A 0000 SCANRT NUM 0 0 4 9 . P002B 0000 PLTFLS NUM 0 050* P002C 0000 JBCON NUM 0 051 • P002D 0000 NUMBUF NUM 0 052* P002E C800 CIPHER LDA XINC C

P002F 00D2 053 . P0030 202C Ki l l - $2C 054* P0031 38F5 DVI* MBIT 055 . P0032 6800 STA XINC

POO 33 00 CE 0 5 6 . P0034 C8F3 LDA* M3LK 0 5 7 . P0035 5000 RTJ (Q8QFL)

P00S6 0097 058* P0037 5000 RTJ (FLO)

P0038 0094 0 5 9 . P0039 5D40 NUM S5D40 060* P003A 0030 ADC FNBLK-* 061 . P003B C8EE LDA* SCANRT 0 6 2 . P003C 5 (BO RTJ (Q8QFL)

P003D 0090 0 6 3 . P003E 5000 RTJ (FLO)

P003F 008D 064 . POO 40 5ADA NUM $5ADA L 0 6 5 . P004I 0027 ADC TEN-* 066 . POO 42 002A ADC FSCAN-* 0 6 7 . POO 43 0027 ADC FNBLK-* 0 6 8 . POO 44 D7D4 NUM SD7D4 0 6 9 . P0045 OOBE ADC DELF-* 070 « POO 46 0104 ADC FFREQ-* 071 « POO 47 585A RTJ* CONCAL 0 7 2 . POO 48 C800 LDA XINC

POO 49 00B8 073 . P004A 6800 STA DELX

P004B 00B7 074 . P004C C8DA SPIN LDA* MBIT 075 . POO 40 0F41 ARS I 0 7 6 . P004E 6816 STA* HALF 0 7 7 . P004F E8D7 LDQ* re IT 0 7 8 . POO50 ODFE I NO •1 0 7 $ . POO 51 0844 CLR A 0 8 0 . P0052 60FF STA- $FF 0 8 1 . POO 53 C?00 LOOP LDA PSD,I

POO 54 01 08 PSD,I

0 8 2 . POO 5 5 6810 STA* HOLD 0 8 3 . POO56 CAOO LDA PSD,Q

P0057 0105 PSD,Q

0 8 4 , POO 58 6900 STA PSD,I POO59 0103

085 , POO 5A C808 LDA* HOLD

CALC• DELTA X

L0C * CONTAINS $200 .

FLOAT NBLK

LD-ST-LD

STA-COMPLEMENT-5TA. DELFsFSCANRT/FTN*FNBLK.

FFREQCO)- Fs = -DELF

REPACK PSD TABLE* KALFsPSIT/2

QsPBIT-1

Page 338: WSIBf , 1 - International Nuclear Information System (INIS)

331

0 8 6 . P005B 6A00 STA PSD»Q P005C 01 DO

PSD»Q

0 8 7 . P005D 0814 TRQ A 0 8 8 . P005E 9806 SUB* HALF 0 8 9 . P005F 0111 SAN GO-* -L 0 9 0 . POO60 180E JHP* DIZZY 091 . P0061 DOFF GO RAO- $FF 0 9 2 . P0062 ODFE INQ - I 0 9 3 . POO63 18EF JKP* LOOP 0 9 4 . POO64 0000 HALF NUN 0 0 9 5 . P0065 0000 HOLD NUN 0 0 9 6 . POO66 0000 TEMP NUN 0 0 9 7 . P0067 0000 NUN 0 0 9 8 . POO68 4250 TEN NUM $4250 0 9 9 . POO69 0000 NUN 0 too. P006A 00OQ FNBLK NUN 0 101 . P006B 0000 NUN 0 1 0 2 . P006C 0000 FSCAN NUM 0 1 0 3 . P006D 0000 NUN 0 1 0 4 . P006E E8B8 DIZZY LDQ* reiT 1 0 5 . P006F ODFE INQ - 1 1 0 6 . P0070 48B6 STQ* MBIT 1 0 7 . P0071 OBOO NOP 1 0 6 . P0072 C800

P0073 FFB7 LDA PLTFLG

1 0 9 . POO?4 0122 SAP ABS-* -L 1 1 0 . P0075 1800 JNP OLDWAY

POO?6 009F L I T . P0077 OBOO ABS NOP 0 1 1 2 . P0078 OBOO NOP 0 1 1 3 . P0079 OBOO NOP 0 1 1 4 . P007A C06A LPS LDA- KILL 1 1 5 . P007B 0111 SAk* GOREL-* 1 1 6 . P007C 1853 JNP* RUN 1 1 7 . P007D 1810 6 OR EL JNP* REL 1 1 8 . P007E OBOO NOP 0 1 1 9 . P007F OBOO NOP 0 1 2 0 , POO80 43EE AP NUN $43 EE 1 2 1 . P0081 045A NUN S45A 122* P0082 45C1 BP RUN $45 CI 1 2 3 . P0083 0 5 5 C NUN I5SC 124 . P0084 0 0 0 0 CONST NUN 0 1 2 5 . P0085 0 0 0 0 NUN 0 1 2 6 . P0086 012C K NUN 300 1 2 7 . POO87 0000 FK RUN 0 1 2 8 . P0088 0000 RUN 0 1 2 9 . POO89 0 0 0 0 PS DA RUN 0 1 3 0 . P008A 0000 RUM 0 1 3 1 . POO88 0000 RUN 0 1 3 2 . P008C 0000 RUN 0 1 3 3 . POO80 0 8 4 4 REL CUR A 134 . P0Q8E 5C6F RTJ* (DAC) 1 3 5 . P008F 9002 RUN $9002 1 3 6 . , P0090 6069 STA- BUSY 13?* P0091 58?6 TTI RTJ* TtNEft

NEW PLOT. OLD TYPE PLOT*

-110*01?

= 1040.535

REZERO DAC OUTPUTS.

Page 339: WSIBf , 1 - International Nuclear Information System (INIS)

332

138. 139. 140. 141 . 142. 142 . 142. 142 . 143. 144. 145. 146. 147. 148 . 149. 450. 151 . 152 .

153. 154 . 155 . 156 . 157. 158. 159 . 160. 161 . 1 6 2 .

163. 164. 165 . 166. 167.

168. 169. 170 . 171 . 172 . 173 . 174 . 175 . 176 . 177 . 178. 179. 179 . 1 7 9 . 179 .

179 . 179.

POO92 0844 P0093 5CSA P0094 9003 P009 5 6069

P0096 P0097 P0098 P0099 P009A P009B P009C P009D P009E P009F POOAO POOA1 P00A2 POO A 3 POO A 4 P00A5 POO A 6 P00A7 P00A8 P00A9 POOAA POOAB POOAC POOAD POOAE POOAF POO BO P00B1 P00B2 P00B3 P00B4 P00B5 P00B6 P00B7 P00B8 P00B9 POOBA POOBB POOBC POOBD POOBE POOBF

POOOO POO CL P00C2 P00C3 P00C4 P00C5 P00C6

54F4 1901 FF68 4140 OOOO OOOO OOOO OOOO OOOO OOOO OOOO oooo C800 FF8 5 5 (29 5C27 5D40 7FF3 C8DD 5C24 5(22 5D40 7FDA CSOO FF7D 5C1E 5C1C 5D40 7FEA 5400 7FFF FFE3 FF75 5 CL 5 5AAD 7FB2 7FE0 7FC8 4000 5C43 FFC5 80D3

54F4 0D65 0009 OOOO 100E OOOE 00C9

X0 CLR A RTJ* (DAC) NUM $9003 STA- BUSY

REE RELEAS (PU-REE-L) ,T ,X

X X

FTW0 NUM $4140 NUM 0

FNUMBL NUM 0 NUM 0

FJBC0N NUM 0 NUM 0 NUM 0 NUM 0

C0NCAL NUM 0 LDA NUMBLK

RTJ* CQ8QFL) RTJ* (FL0) NUM $5D40 ADC FNUMBL-* LDA* K RTJ* (Q8QFL) RTJ* (FL0) NUM $5D40 ADC FK-* LDA JBC0N

RTJ* (Q8QFL) RTJ* (FL0) NUM $5D 40 ADC FJBC0N-* RTJ QSQF2I

ADC ( FTW0 - * ) ADC ( J 8 C 0 N - * )

RTJ* (FL0) NUM • $5AAD

FL0AT NUMBLK

W2

F . P . NUMBLK ST0RED IN FNUMBL. FL0AT K AND ST0RE IR FK .

FL0AT SHIFT C0N. AND ST0RE I N FJ

ENT=3BC5 I N 2 / 4 / 6 8

PS UED0 =FTW0**JBC0N

ADC ADC

ADC NUM RTJ* ADC ADC

FSCAN-* FNUMBL-*

C0NST-* $4000 (FL®T) (C0NST-* ) (BUF1 - * + 8 )

C0NST=(2 .**JBC0N)/(FNUMBL)*(FSCA

FWRITE $E,TYDN-W2-1 ,BUF1 -W2-1 , 1 4 F A T 6 F 5 T F X

Page 340: WSIBf , 1 - International Nuclear Information System (INIS)

333

180 . P00C7 14EA 181 . P00C8 OBOO 182 . POO 09 OBOO 183 . POOCA 1CD6 TYDN 184. POOCB OBOO PLANS 185. POOOC 7FFF X FLO 186 . POO CD 7FFF X QSQFL 187 . POOCE OBOO 1 8 8 . POO CF OBOO RUN 189 . POO DO 5837 T I 190 . P00D1 E834 R 1 191 . P00D2 CAOO

P00D3 0159 192 . P00D4 09FC 193 . POODS 0122 194 . P00D6 0844 195 . P00D7 1814 196 . P00D8 0903 GA 197 . P00D9 5CF3 1 9 8 . POODA 5CF1 199 . POODB 59D9 2 0 0 . POODC 7FA7 201 . POODD 7FAB 2 0 2 . POODE 7FA8 2 0 3 . POODF D400 2 0 4 . POOEO 7FBC 2 0 5 . POO El 5C1 D 2 0 6 . P00E2 FFBA 2 0 7 . P00E3 5CE8 2 0 8 . P00E4 59E4 2 0 9 . P00E5 002A 2 1 0 . P00E6 7F9B 211 . P00E7 5 Cl 8 2 1 2 . P00E8 OFC 5 2 1 3 . P00E9 0121 2 1 4 . POOEA 0844 2 1 5 . POOEB 5C12 YPLT 2 1 6 . POO EC 9002 YM0V 2 1 7 . POOED 581A T2 2 1 8 . POO EE C814 XM0V 2 1 9 . POOEF 5C0E 2 2 0 . POOFO 9003 221 . P00F1 585B 2 2 2 . P00F2 C810 2 2 3 . P00F3 S80E 2 2 4 . P00F4 680 E 2 2 5 . P00F5 C810 2 2 6 . P00F6 9800

P00F7 FF2F 2 2 7 . P00F8 0123 2 2 8 . POOF9 D80C 2 2 9 . POO FA 1800

POOFB FF7E 2 3 0 . POOFC 1890 THRU 231 . POOFD 7FFF X DAC

JMP- (SEA) NOP 0 NOP 0 JMP* (CONCAL) NOP 0 ADC FL0T ADDRESS=$406B I N 2 / 4 / 6 8 ADC Q8QFLT ADDRESS = $3CF5 " N0P 0 N0P 0 RTJ* TIMER LDQ* PSPTR LDA PSD,Q

PSDA=PSDI*CONST*

INA SAP CLR JMP* INA RTJ* RTJ* NUM ADC ADC ADC NUM ADC RTJ* ADC RTJ* NUM ADC ADC RTJ* ALS SAP CLR RTJ* NUM RTJ* LDA* RTJ* NUM RTJ* LDA* ADD* STA* LDA* SUB

- 3 G A - * - 1 A YM0V-1 3 (Q8QFL) <FL0) $59D9 C0NST-* PSDA-* FK-* SD400 FJBC0N-* FJBC0N=FK*PSDA (L0G) (FJBC0N-* ) CFL0) GET Y=A*LNCFJBCON)+BP $59 E4 A-* BP-* B P = - 4 7 5 . 2 9 (QSQFI) 5 Y P L T - * - ! A (DAC) $9002 TIMER DELX (DAC) $9003 TYPE DELX XINC DELX PSPTR MBIT

PREPARE F0R PLOTTING•

INCREMENT X

SAP T H R U - * - ! RAO* PSPTR JMP LP3

JMP* REL ADC DACDRI =2D4C I N THE 2 / 4 / 6 8 LOAD

2 3 2 . POOFE 7FFF X LOG ADC A LOG =3E32

Page 341: WSIBf , 1 - International Nuclear Information System (INIS)

334

2 3 3 . POOFF 7FFF X Q8QFI ADC Q8QFIX : :3CB9 2 3 4 . P0100 7FFF X FLAT ADC FL0AT =386F 2 3 5 . POI01 003F XINC -NUM $3 F 2 3 6 . POI02 0000 DELX NUM 0 2 3 7 . POI03 0000 DELF NUM 0 2 3 8 . POI04 0000 NUM 0 2 3 9 . P0105 0000 PSPTR NUM 0 i 2 4 0 . P0106 0000 NUM 0 241 . POI07 0000 TIMER NUM 0 i 2 4 2 . P0108 C8FE LDA* TIMER STANDARD IMER CALL. 2 4 3 . POI09 6803 STA* RETURN RETURNS AT REQESTED TIME 2 4 4 , P010A 54F4 NUM $54F4 CALLERS RTJ . 2 4 5 . P010B 1005 NUM $1005 2 4 6 . P010C 0000 RETURN NUM 0 2 4 7 . POIOD 0010 NUM $10 2 4 8 . P010E 14EA JMP- ($EA) 2 4 9 . POIOF 43EE A NUM $43 EE =110.017 2 5 0 . POI 10 045A NUM $45A 251 . POI11 BC07 B NUM $BC07 =• - 1 2 0 . 8 6 6 2 5 2 . POI12 224D NUM $224D 2 5 3 . POI13 0000 P0T NUM 0 2 5 4 . POI14 0000 NUM 0 2 5 5 . POU 5 0000 0LDVAY NUM 0 2 5 6 . POI I 6 OBOO N0P 0 257 . POI17 OBOO N0P 0 2 5 8 . POI 18 CO6A LP5 LDA- KILL 2 5 9 . POI19 0111 SAN G R E L - * - 1 2 6 0 . POI 1A 1803 JMP* WALK 261 . POI IB 1800

POUC FF70 GREL JMP REL

2 6 2 . POI1D 0000 WALK NUM 0 2 6 3 . POI I E 58E8 T3 RTJ* TIMER 2 6 4 . POI I F E8E5 W1 LDQ* PSPTR 2 6 5 . POI20 CAOO

P0121 010B LDA PSD,Q

2 6 6 . POI22 09FC INA - 3 2 6 7 . P0123 0122 SAP G B - * - 1 2 6 8 . POI24 0844 CLR A 2 6 9 . P0125 1813 JMP* YMV-l 270« P0126 0903 GB INA 3 271 . P0127 5GA5 RTJ* (Q8QFL) 272 . P012S 5CA3 RTJ* (FL0) 2 7 3 . P0129 5D9D NUM S5D9D STA-MUI-STA 2 7 4 . P012A 7FE8 ADC P 0 T - * =FL0AT CPSDI) 2 7 5 . P012B 7F58 ADC C0NST-* 2 7 6 . P012C 7F5C ADC PSDA-* PS DA=PSDI*C0NST 277 . P012D 4000 NUM $4000 2 7 8 . P012E 5 OCF RTJ* (L0G) 2 7 9 . P012F FFE3 ADC ( P 0 T - * ) 2 8 0 . POI 30 5C9B RTJ* (FL0) COMPUTE Y=A*LN<PSDI>+B 281 . POI31 59E4 NUM $59 E4 MUI-ADD TERMINATE 2 8 2 . POI 32 7FDC ADC A - * 2 8 3 . POI33 7FDD ADC B - * 2 8 4 . POI34 OBOO N0P 0

2 8 5 , P0135 OBOO N0P 0

Page 342: WSIBf , 1 - International Nuclear Information System (INIS)

335

286, 2 8 7 . 288, 2 8 9 , 2 9 0 . 291 . 2 9 2 . 2 9 3 . 29 4 . 2 9 5 . 2 9 6 . 297 » 2 9 8 . 2 9 9 .

3 0 0 . 301 . 3 0 2 . 3 0 3 .

3 0 4 . 30 5 . 30 6 . 3 0 7 . 3 0 8 .

309 .

3 1 0 .

311 . 3 1 2 . 3 1 3 . 3 1 4 . 3 1 5 . 3 1 6 . 3 1 7 . 3 1 8 . 3 1 9 . 3 2 0 . 321 . 3 2 2 . 3 2 3 . 32 4 . 3 2 5 . 32 6 . 3 2 7 . 3 2 8 . 329 . 3 3 0 . 331 . 332 . 3 3 3 . 3 3 4 .

POl 36 POl 37 POl 38 POl 39 P0I3A P013B P013C P013D P013E P013F POl 40 POl 41 POl 42 POl 43 POl 44 POl 45 POl 46 POl 47 POl 48 POl 49 P014A P014B POl 4C P014D POl 4E P014F POl 50 POl 51 POl 52 POl 53 POl 54 POl 55 POI 56 POl 57 POl 58 POl 59 P015A P015B POl 5 C P015D P015E P015F POl 60 POI 61 POl 62 POl 63 PO 1 64 POl 65 POl 66 POl 67 POl 68 POl 69 POi 6A P016B

5 0C8 OFC 5 50C4 9002 58CC C8C6 5 GCO 9003 580 E C8C2 8 8 CO 68 CO C8C2 9800 FEE2 0122 D8BE 1 800 1800 FF43 OOOO OOOO OOOO E8B7 CAOO OODD 5 000 FF7B 5 COO FF78 5BED 7FF4 7FAC 7FF2 4000 C06B 0107 ICFO C813 0121 1812 09FE 680 F ICEA E80B 0D05 4809 E805 0D05 4803 5C97 FF1F 80 6 C 5C94

PREPARE T0 PL0T Y . RTJ* (Q8QFI) ALS 5

RTJ* (DAC) YMV NUM $9002 T4 RTJ* TIMER XMV LDA* DELX

RTJ* (DAC) NUM $9003 RTJ* TYPE

LDA* DELX ADD* XINC INCREMENT STA* DELX

LDA* PSPTR SUB MBIT

SAP T H R 0 - * - l R@0* PSPTR

JMP* LP5 THR0 JMP REL

FFREQ NUM 0 NUM 0

TYPE NUM 0 LDQ* PSPTR

LDA PSD,Q PSDA=PSDI*C0NST

PSDA=PSDI*C0NST AT THIS TIME

RTJ

RTJ

(Q8QFL)

(FL0)

0KT

ZA

0KT1

PB2

NUM $5BED ADC FFREQ-* ADC DELF-* ADC FFREQ-* NUM $4000 LDA- TYPKIL SAZ 0 K T l - * - l JMP* (TYPE) LDA* CH SAP Z A - * - l JMP* SEL INA - I STA* CH JMP* (TYPE)

LDQ* PB1 INQ 5 STQ* PB1 LDQ* PB2 INQ 5 STQ* PB2 RTJ* (FLAT) ADC (PSDA-* ) ADC ( B U F 2 - * - 5 ) RTJ* (FLAT)

FFREQ=FFREQ+DELF

3 3 5 . POl6C FFDD ADC (FFREQ-*)

Page 343: WSIBf , 1 - International Nuclear Information System (INIS)

336

336 . P016D 8018 PB1 ADC (BUF1 - * - 5 ) 337 . P016E 18ED JMP* OKT 3 3 8 . P016F OOOE CH NUM $E 3 3 9 . SEL FWRITE $E f SEL2-SEL-1 ,BUF1-SEL-1 , 8 0 f A f 6 , 5 , tX 339 . P0170 54F4

FWRITE $E f SEL2-SEL-1 ,BUF1-SEL-1 , 8 0 f A f 6 , 5 , tX

339 . POI 71 0D65 3 3 9 . POI 72

POI 73 0007 0000

339 . POI 74 1 00 E 3 3 9 . P0175

POI 76 0050 0019

340 . POI 77 1 4EA JMP- (SEA) 341 . SEL2 FWRITE $E, DNT-SEL2-1 ,BUF2-SEL2-1 ,81 , A t 6 , 5 , ,X 341 . POI 78 54F4 341 . POI 79 0D65 341 . P017A 0009

P017B 0000 341 . P017C 100E 341 . P017D

P017E 0051 0062

3 4 2 . P017F 14EA JMP- <$EA> 3 4 3 . POI 80 8018 RBI ADC (BUF1-PB1-5) 344 . P0181 806 C RB2 ADC (BUF2-PB2-5) 345 . POI 82 C8FD DNT LDA* RBI 346 . POI 83 68E9 STA* PB1 REST0RE BUF POINTERS. 3 4 7 . P0184 C8FC LDA* RB2 348 . P0185 68E4 STA* PB2 3 4 9 . P0186 OAOE ENA $E 3 5 0 . P0187 68 E7 STA* CH RESTORE LOOP CNTR. 351 . POI 88 1CC3 JMP* (TYPE) 352 . POI 89 0000 NUM 0 3 5 3 . P018A

P018B P018C

43 4F 4E53 5420

BUF1 ALF 80»CONST =

P018D 203D P018E 2020 P018F 2020 »

POI 90 2020 POI 91 2020 P0192 2020 POI 93 2020 P0194 2020 P0195 2020 P0196 2020 P0197 2020 P0198 2020 P0199 2020 P019A 2020 P019B 2020 P019C 2020 P019D 2020 P019E 2020 P019F 2020 POI AO 2020 P01A1 2020 P01A2 2020 P01A3 2020 P01A4 2020

Page 344: WSIBf , 1 - International Nuclear Information System (INIS)

637

3 5 4 . 355 .

P01A5 P01A6 P01A7 P01A8 P01A9 POl AA POl AB POl AC PO 1 AD POl AE POl AF POIBO POlBl P01B2 P01B3 P01B4 P01B5 P01B6 P01B7 P0138 P01B9 POlBA POlBB POIBC POlBD POIBE POIBF POICO P01C1 P01C2 P01C3 P01C4 P01C5 P01C6 P01C7 P01C8 P01C9 POICA POICB POICC POICD POICE POICF POl DO P01D1 P01D2 POl D3 P01D4 POl D5 POl D6 P01D7 POl D8 P01D9 POl DA POl DB POl DC POl DD POl DE

2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 ODOA 2020 2020 2020 2020

NUM SODOA BUF2 ALF 8 0 ,

Page 345: WSIBf , 1 - International Nuclear Information System (INIS)

POl DF 2 0 2 0 POl EX) 2020 POl El 2020 P01E2 2020 P01E3 2020 P01E4 2020 P01E5 2020 P01E6 2020 P01E7 2020 POlE8 2020 P01E9 2020 POl EA 2020 POl EB 2020 POl EC 2020 POlED 2020 POlEE 2020 POl EF 2020 POl FD 2020 P01F1 2020 P01F2 2020 P01F3 2020 P01F4 2020 P01F5 2020 P01F6 2020 P01F7 2020 P01F8 2020 P01F9 2020 POlFA 2020 POl FB 2020 POl FC 2020 POlFD 2020 POlFE 2020 POlFF 2020 P0200 2020 P0201 2020 P0202 2020 P0203 2020 P0204 2020 P0205 2020 P0206 2020 P0207 2020 P0208 2020 P020S 2020 P020A 2020 P020B 2020 P020 C 2020 P020D 2 0 2 0 P020E 2020 P020F 2 0 2 0 P0210 2020 P0211 2020 P0212 2 0 2 0 P0213 2 020 P0214 2020 P0215 2 020 P0216 2020 P0217 2020 P0218 2020

Page 346: WSIBf , 1 - International Nuclear Information System (INIS)

339

3 5 6 . 357 • 358 .

P02 I9 P021A P021B P021C P021D P021E PG21 F P0220 P0221 P0222 P0223 P022 4 P0225 P0226 P0227 P0228 P0229 P022A P022B P022C

2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 ODOA 0001

NUM BZS END

$D0A P S D ( l )

I OOFF PU OOOOP ADISP BUSY 0069 KILL 00 6A TYPKIL DRMRD OOODP PAMAD 0018P BACK PAM 002 4P LG2N 002 6P MBIT SCANRT 002AP PLTFLG 002BP JBC0N SPIN 004 CP L00P 00 53P G0 TEMP 0066P TEN 0068P FNBLK ABS 0077P LP3 007AP G0REL CBNST 0084P K 0086P FK TTI 0091P X0 0092P REE FJBC0N 009DP C0NCAL 00A1P V2 FL0 OOGCP Q8QFL OOCDP RUN GA 00D8P YPLT OOEBP YM0V THRU OOFCP DAC OOFDP L0G X1NC 0101P DELX 0102P DELF RETURN 010 CP A 010FP B LP 5 0118P GREL 01 IBP WALK GB 0126P YMV 0139P T4 FFREQ 014AP TYPE 014CP 0KT PB2 016AP PB1 01SDP CH RBI 0180P RB2 0181P DNT PSD 0JL2C P FL0T OOCCX Q8QFIX AL0G OOFEX EXP 7FFFX PAMLST

J

OOEA AHEX 0089 A0DEC 00A2 006B AL 0006P BM 0008P 0019P AGN 001 DP DN 0022P 0027P NBLK 002 8P NUMBLK 0029P 002CP NUMBUF 002 DP CIPHER 002 EP 0061P HALF 0064? H0LD 0065P 006AP FSCAN 006CP DIZZY 006EP 007DP AP 00 SOP BP 0082 P 0087P PSDA 0089P REL 008DP 0096P FTW0 0099 P FNUMBL 009BP OOCOP TYDN OOCAP PL@NS OOCBP OOCFP T I OODOP R1 00D1P OOECP T2 OOEDP XM0V OOEEP OOFEP Q8QFI OOFFP FLAT 01 OOP 0103P PSPTR 0105P TIMER 0107P O l l l P P0T 0113P 0LDWAY 0115P O i l DP T3 011 EP WI O l lFP 013AP XMV 013BP THR0 0148P 015CP ZA 015FP 0KT1 0162P 016FP SEL 0170P SEL2 0178P 0182P BUF1 01 BAP BUF2 01DBP OOFFX QSQFLT OOCDX DACDRI OOFDX 0018X Q8QF2I 00B4X FL0AT 0100X

Page 347: WSIBf , 1 - International Nuclear Information System (INIS)

340

2.49 PSYCHO

2.49.1 Classification

On-line/core resident/assembly language/nonreentrant/relocafable

2 . 4 9 . 2 Purpose

2 PSYCHO is a general purpose restart program for the entire operating system.

The program responds to interrupts caused by a stall alarm, protect, parity, or power outage interrupt. The main function of the program is to reset all hardware system interrupts, prepare the system for operation, read a full image of the operating system from drum into core, and initiate the update program G D U P .

2 .49 .3 Description

PSYCHO may be entered from SCAN34, line 0 interrupt, a jump from location 0, or a jump from program D I G C O N . In all cases, these entries indicate a major failure of some software or an interrupt, indicating a major hardware problem such as a parity. Upon entry, any fault message is transferred from program INTERN. A test for the number of attempts to operate PSYCHO is made; if more than five are required, the program attempts to output on the control room digital display window, alternating plus and minus signs. Otherwise, the program master clears the data control terminal (DCT) and the common synchronizer and resets the Teletype to mode K, because power outages frequently result in these equipments being left in an undetermined state. The program then clears and sets all of core except for its own working space. This operation is useful for clearing intermittent memory parity errors. The protect bits are cleared for all core and reset for the protect region which includes all core except for $5470 to $7FOO.

A PSYCHO subroutine to read drum without a separate driver is entered, and a total core image except for PSYCHO is read from drum, including a new common image from drum $E/7F00. The high-level input point connected to the battery clock is read and stored to determine the duration of the outage. The date and time from common are restored to the TOD package, and the restart exit is modified to schedule G D U P to update the burnup calculations missed during the outage. The parity light, drum interrupt, and overflow lamps are cleared, a restart message is typed, and a reset loop is scheduled for 60 sec. The program then exits by a jump to program RESTRT, which will clear and set special protect regions and schedule program G D U P .

The logic block diagram of PSYCHO is shown in Fig. 47.

Page 348: WSIBf , 1 - International Nuclear Information System (INIS)

341

2.49.4 Relationship to Other Programs

PSYCHO schedules program GIDUP and jumps to the restart loop RcSTRT in pro-gram SPACE. PSYCHO requires system patches (handled by the PATCH program) at rebuild time, and changes made to PSYCHO must be compatible with the PATCH pro-gram. The specialized hardware designed to initiate PSYCHO following a power outage recovery has been reported in detail ,^

Page 349: WSIBf , 1 - International Nuclear Information System (INIS)

342

ORNL DWG NO 72 822

SCAN 34 LINE-0 JMP(FRQM 0) DIGCON v?vv c PSYCHO

ALTERNATE IN DIG

DISPLAY

XFR FAULT MSG FROM

INTERN

M/C THE OCT & COMM. SYNC. PUT TTY IN K

CLEAR ALL CORE

EXCEPT PSYCHO

SET ALL CORE

EXCEPT PSYCHO

CLEAR ALL PROTECT BITS

EXCEPT PSYCHO

RESET (PSYCHO)

WRITE RESTART MESSAGE

CLR PARITY LITE, DRM

INTERRUPT & OVERFLOW

MODIFY RESTRT EXIT

TO SCHDLE GIDYUP

RESTORE TIME

& DATE FROM COM

< READ BATTERY

CLOCK

) RESET TRY COUNTER

DISP )

SET PROTECT EXCEPT 5470

TO S7F00

USE PSYCHO DRIVER TO READ NEW

CORE IMAGE & COMMON

FR0ME/7F00

Fig. 47. Logic Block Diagram of Program PSYCHO,

Page 350: WSIBf , 1 - International Nuclear Information System (INIS)

343

00! • NAM PSYCH0 0 0 2 . * REV. 8 / 2 3 / 7 1 10 MAKE ALL RETURNS FR0M L00P CORRECT 0 0 3 . * REV. 8 / 3 0 / 7 1 TO REMOVE QCLK (6IDYUP WILL READ 7F01 ) 0 0 4 . * 0 0 5 . * N O T E * * * * * ANY CHANGES MAY REQUIRE A CHANGE IN PATCH 006. ENT PSYCHOfRESET 007. ENT TEMSTLfBATCLK 0 0 8 . EXT MESSAG 0 0 9 . EXT INTSTA fRDPT 010« EXT RESTRT,GIDYUP9PATS0 O i l . OOA1 EQU YERTOC $A1)eCLOCK($E8 > 9CCLOCK(S7F01)

00E8 7F01

0 1 3 . * THIS I S THE INTERRUPT RESPONSE ROUTINE 0 1 4 . * FOT THE STALL ALARM AND PARITY-PR0TECT 0 1 5 . * FAULTS. THE FOLLOWING I S DONEs 0 1 6 . * KMC THE EQUIP. C0NTROLLEVS. 017. * 2.WRITE ALL ZEROES IN CORE. 0 1 8 . * 3.WRITE ALL ONES IN CORE. 019. * 4.CLR. ALL PROTECT BITS. 020* * 5.SET ALL PROTECT BITS NECESSARY. 0 2 1 . * 6.READ I N CORE IMAGE I N DRUM. 022 • * 7.READ I N COMMON FROM DRUM. 0 2 3 . * 8.SET TOD TIMES = COMMON TIMES. 0 2 4 . * 9.JUMP TO RESTART PROG . I N SPACE. 0 2 5 . * 10,THE RESTART PROG MADE TO EXIT TO GIDYUP.

0 2 7 . POOOO 0500 PSYCHO I I N 0 0 2 8 . P0001 0C05 ENQ 5 0 2 9 . P0002 C600 X MSG XFR LDA+ MESSA6 ,Q XFR FAULT MSG T0 PSYCHO 1ST TIME

P0003 7FFF X 0 3 0 . P0004 6A4F STA* PSYMSGVQ 0 3 1 . P0005 ODFE INQ - 1 0 3 2 . P0006 0171 SQM R E G 0 - * - l 0 3 3 . P0007 18FA JMP* MSGXFR 0 3 4 . P0008 D81E REG0 RAO* FREQCT 0 3 5 . P0009 C81D LDA* FREQCT 0 3 6 . POOOA 09FA INA - 5 0 3 7 . POOOB 0113 SAN S H 0 0 T - * - l 0 3 8 . POOOC 1800 JMP BADNWS QUIT

POOOD 00 DE 0 3 9 . * * * * 1

040. POOOE 0000 BATCLK NUM 0 041, POOOF E816 SH00T LDQ* DCTC0N CONNECT T0 DCT

ENA 1 MC DCT OUT 2 JMP* OKI NOP 0 RTJ LOOP i, LDQ* C0MSYN COMMON SYNCH. CONNECT CODE. ENA 1

0 4 2 . P0010 OAOl 0 4 3 . P0011 0302 0 4 4 . POO 12 1804 0 4 5 . P0013 OBOO 0 4 6 . POO 14 5800

POO 15 OOCF 0 4 7 . POO 16 E812 0K1 0 4 8 . POO 17 OAOl

Page 351: WSIBf , 1 - International Nuclear Information System (INIS)

344

0 4 9 . POO 18 0302 0 5 0 . POO19 1804 051• POO1A OBOO 0 5 2 . POOIB 5800

P001C 00C8 0 5 3 . POOlD C808 0 5 4 . P001C E806 0 5 5 . P001F 0302 0 5 6 . P0020 180A 057« P0021 OBOO 0 5 8 . POO22 5800

P0023 00C1 0 5 9 . P0024 0091 0 6 0 . P0025 0400 0 6 1 . P0026 0001 0 6 2 . P0027 7FFF 0 6 3 . P0028 0081 0 6 4 . P0029 OOOO 0 6 5 . P002A OCOO 0 6 6 . P002B 4864 0 6 7 . P002C 40FF 0 6 8 . P002D C825 0 6 9 . P002E 0901 0 7 0 . P002F 68F9 071 . P0030 4CF8 0 7 2 . P0031 D8F7 0 7 3 . P0032 C8F6 0 7 4 . P0033 0122 0 7 5 . P0034 A8F2 0 7 6 . P0035 68F3 0 7 7 . P0036 98 IB 0 7 8 . P0037 0101 0 7 9 . P0038 18F7 0 8 0 . POO39 EOFF 0 8 1 . P003A 0153 082 . P003B DOFF 0 8 3 . P003C OCFF 084 . P003D 18EF 085 . P003E E814 0 8 6 . P003F ODOl 0 8 7 . POO40 0700 0 8 8 . P0041 ODOl 0 8 9 . P0042 0814 0 9 0 . P0043 A8E3 0 9 1 . P0044 0822 0 9 2 . P0045 9SOC 0 9 3 . P0046 0101 0 9 4 . P0047 18F8 0 9 5 . P0048 E81F 0 9 6 . POO49 0600 0 9 7 . P004A 0814 0 9 8 . P004B A8DB 0 9 9 . P004C 0822 100. P004D 9816 101 . P004E 010A

BUT 2 MC C0M. SYNC. JMP* 0K2 N0P 0 RTJ L00P

0K2 LDA* DCTC0N LDQ* NINE1 0UT 2 JMP* 0K3 N0P 0 RTJ L00P

PUT IN "Kw M0DE

NINE! NUM $91 DCTC0N NUM $400

BZS FREQCT SIGN NUM $7FFF C0MSYN NUM $81 TEMADR NUM 0 0K3 ENQ 0 ENTER ZER0ES IN C0RE.

STQ* FMSG+3 STQ- I

FIXC0R LDA* END LAST ADR. 0F THIS PR0G. INA 1 STA* TEMADR

LI STQ* (TEMADR) RA0* TEMADR LDA* TEMADR SAP P L U S - * - l AND* SIGN ERASE SIGN B I T . STA* TEMADR

PLUS SUB* BEGIN 1ST ADR. 0F THIS PR0G SAZ N X T - * - l SEE I F F INISHED. JMP* LI

NXT LDQ- I SQN C L R B I T - * - l RA0- I ENQ $FF ENTER ALL 0NES. JMP* FIXC0R

CLRBIT LDQ* END •s INQ 1 L2 CPB 0

INQ 1 TRQ. A

/ AND* SIGN TRA Q SUB* BEGIN SAZ S E T B I T - * - l JMP* L2

SETBIT LDQ* C0M BEGINNING 0F C0MM0N. L3 SPB 0 SET PR0T. BITS (C0M

TRQ A AND* SIGN TRA Q SUB* HIPRT HIGHEST PR0T. L0C. SAZ CLRPAR-*-!

PSYCH0)

Page 352: WSIBf , 1 - International Nuclear Information System (INIS)

345

102• P004F 0D01 INQ 1 103. POO50 18F8 JMP* L3 104. P0051 0000 P BEGIN ADC PSYCH0 105. POO52 0113 P END ADC PSYEND 106. POO53 0006 PSYMSG BSS PSYMSG(6) 107 * P0059 01C0 CLRPAR SPE LDC0RE-* - ! CLR PARITY ERR0R LIGHT

109 . FOLLOWING LOADS CORE IMAGE TO FROM DRUM.

111 . P005A 5849 1 1 2 . P005B 0022 113 . P005C 0040 114 . P005D 0000 115 . P005E 7FFE

LDC0RE RTJ* DRUMRD NUM $22 NUM $40 NUM 0 ADC PSYCHO-1

DRUM READ UP T0 PSYCHO. TRACK AND SECTOR NBRS. PATCHED AT REBUILD/ I N I T I A L CORE ADR. FINAL CORE ADR.

117 DRUM READ FROM 44CO TO $546F

119* P005F 5844 120. POO60 002A 121 . P0061 0380 122 . POO62 4400 1 2 3 . P0063 546F

R2 RTJ* DRUMRD NUM $2A NUM $380 NUM $4400

HIPRT NUM $546F

TRK. AND SECTOR ADRS. PATCHED AT REBUILD.

I N I T . CORE ADR.

125. ERUM READ FOR COMMflji

127 . 128. 1 2 9 . 130 . 131 . 132 .

1 3 3 . 134 . 135 . 1 3 6 .

137 . 1 3 8 . 139. 140 . 141 . 142 . 143. 144 . 145 . 1 4 6 . 1 4 7 .

P0064 P0065 P0066 POO 67 P0068 POO 69 P006A P006B P006C P006D P006E P006F P0070 P0071 P0072 P0073 P0074 P0075 P0076 P0077 P0078 P0079 P007A P007B

583F 00 EF 0700 7F00 7FFF COOO 0099 P 0C01 6E1F OAOA 5400 X 7FFF X 689D 0A02 60 FF 0C07 CFF2 66A1 0142 ODFE 18FB 0C2C COOO 1815

R3

COM

RTJ* DRUMRD NUM $EF NUM $700 NUM $7FOO NUM $7FFF

LDA =XTEMSTL

DRUM ADR.=E?/$7F00

TIMES

L5

EXIT

ENQ 1 STA* (STLADR)»Q ENA $A RTJ+ RDPT

ADR. 0F TEMPORARY STALL RESP0N

READ THE BATTERY CLOCK

STA* BATCLK T0 BE PICKED UP BU GIDYUP ENA 2 TRANSFER COM. 10TIMES TO TOD. STA- I ENQ 7 LDA* CC0M) fB STA- CYERT0),Q

E X I T - * - l -I

SQZ INQ JMP* L5 ENQ $2C LDA =N$1815

FIX RESTART EXIT TO SCHED. GIDITJP

Page 353: WSIBf , 1 - International Nuclear Information System (INIS)

346

148 . 1 49* 150. 151* 152 . 153 . 154. 155. 156. 157 .

158 . 159. 160. 161 . 162. 163. 163. 163. 163.

163. 163.

164. 164. 164 . 164 . 165. 166. 167 .

P007C P007D P007E P007F P0080 P0081 P0082 POO 83 POO 84 P0085 POO 86 POO 87 P0088 P0089 P008A P008B

P008C P008D P008E P008F POO 90 P0091 P0092

6E1C ODFE C85B 6E19 ODFE C857 6E16 01 AO 0A02 EOOO 0101 0302 1804 OBOO 585A 7FFF X

54F4 0D40 OOOO OOOO 1004 0006 7FC5

STA* (RESTR),Q INQ - 1 LDA* GIDADR+2 ENTRY TO GIDYUP STA* (RESTR),Q INQ - 1 LDA* GIDADR+1 STA* (RESTR),Q S0V 0 CLR 0VERFL. ENA 2 THIS RESETS THE DRUM INTERPT. LDQ =N$101 CONNECT CODE

OUT 2 JMP* FMSG NOP 0 RTJ* LOOP

STLADR ADC INTSTA TRAP FOR STALL RESPONSE FMSG FWRITE 4,,PSYMSG-FMSG-l , 6 , A , 4 , , , X

P0093 54F4 P0094 1124 P0095 004C P0096 003B P0097 1C01 P0098 7FFF X

TWER TIMER RESET-TMER-1,4 ,X ,2

NUM 59 TIMER CALL TO RESET FRE QCTR JMP* (RESTR)

RESTR ADC RESTRT

169 . 170 .

* * THIS I S TEMPORARY RESPONSE ROUTINE FOR STALL INTERRUPT.

172. 173 . 174 . 175. 176. 177. 1 7 8 . 179 . 180 .

P0099 P009A P009B P009C P009D P009E P009F POOAO P00A1

0500 0A05 E805 0303 0400 14EA 5845 0408 18FD

TEMSTL I I N 0 ENA 5 LDQ* C0NQ

LUPCHK C0NQ

OUT EIN

3 0

FNCT. CODE TO RESET STALL CONNECT CODE FOR STALL ALARM.

JMP- (SEA) RTJ* U00P

NUM $4CC JMP* LUPCHK

182. DRUM DRIVER FOR READS,

184 . P00A2 0100 185. P00A3 OOOO 186. P00A4 OAFE

HUDRD NUM $100 DRUMRD 0 0

' ENA - 1

Page 354: WSIBf , 1 - International Nuclear Information System (INIS)

347

187 , P00A5 60 FF STA- 1 188 . P00A6 88FC ADD* DRUMRD 169 . P00A7 68FB STA* DRUMRD 190 . P00A8 EOOO LDQ - =N$C08 = ENQ 8 WHICH I S FNCT,

POOA9 0C08 191* * C0DE TO SET TRK. ADR. REQ 1 9 2 . P00AA 4805 L6 STQ* QINSTR 193 , POOAB 0A03 ENA 3 194. POOAC 682 E STA* C0UNT SET UP REJECT COUNTER. 195* POOAD D8F5 RA0* DRUMRD 196* POOAE DOFF RA0- I 197 . POOAF 0C08 QINSTR ENQ 8 1 9 8 . POOBO F8F1 ADQ* HUDRD = $100 199 . POOB1 CCF1 LDA* (DRUMRD) GET PAR. L I S T . 2 0 0 . P00B2 0302 0UT 2 201 . P00B3 1903 JMP* DR0K ,1 2 0 2 . P00B4 OBOO N0P 0 2 0 3 . P00B5 582 F RTJ* L00P 2 0 4 . POOB6 1805 DR0K JMP* SECTR 2 0 5 . P00B7 1807 JMP* INC0RE 2 0 6 . P00B8 1809 JMP* ENDC0R 2 0 7 . P00B9 180B JMP* READ 2 0 8 . POOBA 180 D JMP* STATUS 2 0 9 . POOBB EOOO SEC TR LDQ =N$COA ENQ A=FNCT. CODE FOR LD.

POOBC OCOA 2 1 0 . POOBD 18 EC JMP* L6 THE SECTOR ADR. REG. 21 1 . POOBE EOOO INC0RE LDQ =N $ COC L D , I N I T I L CORE ADR. REG.

POOBF OCOC 2 1 2 . POOCO 18E9 JMP* L6 2 1 3 . P00C1 EOOO ENDC0R LDQ =N$COE FINAL ADR. REG.

POOC2 OCOE 2 1 4 . P00C3 18E6 JMP* L6 2 1 5 . P00C4 EOOO READ LDQ =N$C04 FNCT. FOR DRUM READ.

P00C5 0C04 2 1 6 . POOC6 18E3 JMP* L6 2 1 7 . P00C7 E814 STATUS LDQ* STAC0N CONNECT SCODE FOR STATUS 2 1 8 . P00C8 OBOO N0P 0 2 1 9 . P00C9 0202 INP 2 2 2 0 . POOCA 1804 JMP* D0K 2 2 1 . POOCB OBOO N0P 0 2 2 2 . POOCC OBOO N0P 0 2 2 3 . POOCD 5817 RTJ* L00P 2 2 4 . POOCE A810 DOK AND* MASK 2 2 5 . POOCF OCOO ENQ 0 CHECK 4 FSTATUS BITS 2 2 6 . POODO OFEB LLS 11 B IT 4=END OF OPERATION 2 2 7 . P00D1 0142 SQZ N0ERR-*- 1 BIT6=L0ST DATA 2 2 8 . * BIT BrPARITY ERR0R 2 2 9 . P00D2 1800 JMP RE60 B I T 11^TIMING ERROR

POOD3 FF34 2 3 0 . P00D4 0131 N0ERR SAM ENDOPR-* - I 231 . P00D5 18 F1 JMP* STATUS 2 3 2 . P00D6 1CCC END0PR JMP* (ERUMRD) DRUM READ COMPLETE 2 3 3 . 6IDADR SCHDLE (GIDYUP) .6 2 3 3 . P00D7 54F4 2 3 3 . POODS 1206

Page 355: WSIBf , 1 - International Nuclear Information System (INIS)

348

233 . P00D9 FFFF X 2 3 4 . POO DA 0004 C0UNT NUM 4 2 3 5 . POODB 0101 STAC0N NUM $101 2 3 6 . POODC AAAA MINUS NUM $AAAA 2 3 7 . POODD 9004 CHANL NUM $9004 2 3 8 . POODE 0950 MASK NUM $950 2 3 9 . POODF 0000 BADCTR NUM 0 2 4 0 . POO EX) OAOO RESET ENA 0 241 . P00E1 6800 STA FREQCT

P00E2 FF43 2 4 2 . P00E3 14EA JMP- ($EA)

2 4 4 . * DIGITAL DISP1

2 4 6 . P00E4 0000 L00P 0 0 ENTRY 2 4 7 . P00E5 C8F4 LDA* C0UNT 2 4 8 . POOE6 0104 SAZ BADNWS-*-! 2 4 9 . P00E7 09FE INA - 1 2 5 0 . P00E8 6SF1 STA* C0UNT 251 . P00E9 0CF8 ENQ - 7 2 5 2 . POOEA 1EF9 JMP* (L00P) «Q 2 5 3 . POOEB C8F3 BADNWS LDA* BADCTR 2 5 4 . POO EC 09FC INA - 3 2 5 5 . POOED 0103 SAZ BAD-+-1 2 5 6 . POOEE D8P0 RA0* BADCTR 2 5 7 . POOEF 1800 JMP RE60

POOFO FF17 2 5 8 . POOF1 OAOO BAD ENA 0 2 5 9 . P00F2 60FF STA- I 2 6 0 . P00F3 E800 C0N LDQ DCTC0N

P00F4 FF30 261 . P00F5 0202 INP 2 2 6 2 . POOFS 1803 JMP* 10K 2 6 3 . P00F7 OBOO N0P 0 2 6 4 . POOF8 18F2 JMP* BADNWS 265 . P00F9 E8E3 T0K LDQ* CHANL 2 6 6 . POOFA C8E1 LDA* MINUS 2 6 7 . POOFB 0302 0UT 2 2 6 8 . POOFC 1803 JMP* T0K1 2 6 9 . POOFD OBOO N0P 0 2 7 0 . POOFE I SEC JMP* BADNWS 2 7 1 . POOFF ODOl 10 K 1 INQ 1 2 7 2 . POIOO 0302 0UT 2 2 7 3 . P0101 1803 JMP* T0K2 2 7 4 . P0102 OBOO N0P 0 2 7 5 . P0103 18E7 JMP* BADNWS 2 7 6 . P0104 EOOO TOK2 LDQ sN$7FFF

P0105 7FFF 2 7 7 . P0106 ODFE BLP INQ - 1 2 7 8 . POI 07 0141 SQZ SET-+ -1 2 7 9 . P0108 18FD JMP* BLP 2 8 0 . POI 09 COFF SET LDA- I 2 8 1 . P010A 0104 SAZ Z E R 0 - * - l

282 • P010B COOO LDA =N$ A AAA

Page 356: WSIBf , 1 - International Nuclear Information System (INIS)

349

POiOC AAAA 283. POIOD 68CE STA* MINUS 284« POlOE 18DC JMP* BADNWS 285. POIOF 68CC ZERO STA* MINUS 286. POllO OAOl ENA 1 287. POlll 60FF STA- I 288. P0112 18E0 JMP* CON 289. P0113 18FF PSYEND NUN $18FF 290. END

I 00 FF PSYCHO OOOOP RESET YERT0 00A1 CLOCK 00E8 CCL0CK SHOOT OOOFP 0K1 0Q16P 0K2 FREQCT 002 6P SIGN 0027P C0MSYN FIXCOR 002DP LI 0030P PLUS 12 0040P SETBIT 0048P L3 PSYMSG 0053P CLRPAR 0059P LDC0RE R3 0064P COM 0067P TIMES STLADR 008BP FMSG 008CP 1MER C0NQ OOAOP HUDRD 00A2P DRUMRD DROK 0036 P SECTR OOBBP INC0RE STATUS 00C7P DOK OOCEP N0ERR COUNT 00 DAP STAC0N 00 CBP MINUS BADCTR OODFP L00P 00E4P BADNWS T0K 00F9P TOK1 OOFFP T0K2 7ER0 010FP PSYEND 0U3P PATS0 HDPT 006FX INTSTA 008BX MESSAG

OOEOP TEMSTL 0099P BATCLK OOOEP 7F01 MSGXFR 0002P REG0 0008P 001 DP NINE1 0024P DCTCON 0025P 0028P TEMADR 002 9P 0K3 002AP 0036P NXT 0039P CLRBIT 003EP 0049P BEGIN 005 IP END 0052P 005AP R2 005FP HIPRT 0063P 007 IP L5 007 4P EXIT 0079P 0093P RESTR 0098P LUPCHK 009FP 00A3P L6 OOAAP QINSTR OOAFP OOBEP ENDC0R 00C1P READ 00C4P 00D4P END0PR 00 DSP GIDADR 00D7P 00 X P CHANL OODDP MASK OODEP OOEBP BAD OOF IP CON 00F3P 0104P BLP 01C6P SET 0109P 7FFFX GIDYUP 00D9X RESTRT 0098X 0003X

Page 357: WSIBf , 1 - International Nuclear Information System (INIS)

350

2.50 RED BLK

2.49.1 Classification

On-line/drum resident/assembly language/nonreentrant/relocatable

2 .50.2 Purpose

REDBLK provides manual instruction for the control room typewriter ribbon color sh ift.

2.50.3 Description

Upon entry, this program tests the right-hand digiswitch for sign. If the sign is positive, the black-ribbon shift code is output to the control room typewriter along with the message: "Red to Black." If the sign is negative, a red-ribbon shift code is output to the typewriter along with the message: "Black to Red," and the program is released.

The logic block diagram of REDBLK is shown in Fig. 48.

2 .50.4 User Instructions

This program is executed by manual function 18, using a plus sign in the right-hand digiswitch for a black-ribbon request or a minus sign in the right-hand digiswitch for a red-ribbon request.

Page 358: WSIBf , 1 - International Nuclear Information System (INIS)

351

ORNL DWG NO. 72 -849

MAN. FCN.18

NO. MESSAGE

1 — RED TO BLK 2 — BLK TO RED

Fig. 48. Logic Block Diagram of Program REDBLK.

Page 359: WSIBf , 1 - International Nuclear Information System (INIS)

352

001. 002. 003* 00EA

0004 0004 0008 OOOE 0004

005 . POOOO C204 0 0 6 . P0001 0131 0 0 7 . P0002 1809

0 0 9 .

Oil . O i l . P0003 54F4 011 • P0004 0D44 O i l * P0005 OOOF

P0006 0000 0 1 1 . P0007 100E O i l * P0008 0008

P0009 0012 0 1 2 . POOOA 14EA

0 1 4 .

016. 0 1 6 . POOOB 54F4 0 1 6 . POOOC 0D44 0 1 6 . POOOD 0007

POOOE 0000 016* POOOF 100E 016* POO10 0008

POOll 0012 017* POO 12 14EA

019*

021 • 021* POO13 54F4 021* POOI4 1901 0 2 1 . POOI5 FFEB

023*

0 2 5 . POOI6 ODOA 0 2 6 . P0017 424C

POOI8 4B20 POOI9 544F

027* POOIA 8012 028* P001B 2052

POOIC 4544 029* POOI D ODOA

NAM REDBLK 4 / 1 5 / 6 9 ENT RDBLK EQU A D I S P ( $ E A ) » R P ( 4 ) f C P ( 4 ) f L N ( 8 ) V L U ( 1 4 ) , R H ( 4 )

RDBLK LDA- RH,Q SAM R E D - * - l JMP* BLK

* RED RIBBON REQUEST

RED FWRITE L U f E X I T - R E D - l , R D F L G - R E D - 1 , L N , A , 4 , 4 , , X

JMP- (ADISP)

* BLACK RIBBON REQUEST

BLK FWRITE L U , E X I T - B L K - 1 f B L K F L 6 - B L K - 1 f L N , A f 4 f 4 , , X

JMP- (ADISP)

* RELEASE REQUEST

EXIT RELEAS ( R D B L K - E X I T - l ) f T t X

* MESSAGE BLOCKS

RDFLG NUM $DOA LF/CR ALF 3 fBLK TO

NUM $8012 RED CONTROL ALF 2 , RED

NUM $DOA LF/CR

Page 360: WSIBf , 1 - International Nuclear Information System (INIS)

031 . P001E 0 DO A BLKFLG NUM 0 3 2 . POOIF 5245 ALF

P0020 4420 P0021 544F

0 3 3 . P0022 8011 NUM 0 3 4 . P0023 2042 ALF

P0024 4C4B 0 3 5 . P0025 ODOA NUM 0 3 6 . * END

353

$DOA LF/CR 3,RED T0

$8011 BLACK C0NTR0L 2 P BLK

$D0A LF/CR

Page 361: WSIBf , 1 - International Nuclear Information System (INIS)

354

2.51 RHOCAL

2.49.1 Classification

On-line/core resident/assembly language/nonreentrant/relocatable

. 2 .51 .2 Purpose

RHOCAL updates the calculation RHODIF = SC - RHOROD - RHODY. This term represents the reactivity anomaly, taking into account the current value of the burnup reactivity (SC), the rod positions, and the current value of the dynamic reactivity.

2 .51.3 Description

Upon entry, this program return jumps to RHOROD to update the current value of the reactivity held down by the five control rods. If this is the first entry of RHOCAL for this reactor core cycle, the current value of the position of rod 5 is saved in common, and the current value of the reactivity held down by the rods is stored in common as the initial excess reactivity for this core. A calculation is done for the anomalous reactivity (RHODIF). The value is saved in common and in the value table, and the program returns to the caller.

The logic block diagram of RHOCAL is shown in Fig. 49.

2 .51.4 Relationship to Other Programs

RHOCAL is a subroutine that returns to the user the current value of RHODIF in the A register. The programs currently using RHOCAL are PERMIT and CONTRL.

Page 362: WSIBf , 1 - International Nuclear Information System (INIS)

355

ORNL DWG NO. 72-853

Page 363: WSIBf , 1 - International Nuclear Information System (INIS)

[

356

001 e 002. 003. 0 0 4 . 005 .

006,

007 .

008.

0 0 9 .

009D 0000 0001 0002 OOOA OOOB 0023 0025 0026 0027 0028 0029 002A 002B 002C 002 D C 002E C 002F 0030 0031 0032 0033 0035 0037 0039 003B 003D 003F 0040

C C C C C C C C C c c c c c

C c c c c c c c c c c c

NAM RH0CAL 1 1 / 4 / 6 9 VERSION ENT RH0CAL EXT RH0R0D EQU A VALU($9D) C0M INAGIN, CCL0CK,CYERT0<S> ,CYCLE,B(24) FRH0T0T

C0M IRH0SC ,1RH0EX,IREACTT IRS TM

C0M IRANST,P0LDFP0WT0T,N0LTIM,PAVG,NOWTIM

C0M DIGWD 8»RQTRIM F RHODIF , IN IT 5,ACCP0W(2) ,R 5 (2 )

C0M R 1 0 ( 2 ) F R X E ( 2 ) , R S M ( 2 ) , R F P ( 2 ) ,IRH0DY,BUTT0N

Oil • 012.

* * THIS PROGRAM CALLS UP RH0R0D AND CALCULATES RHO WITH RHO DYNAMIC ADDED TO SUMTO ACCOUNT FOR K<>

0 1 4 . POOOO OOOO RHOCAL NUM 0 0 1 5 . P0001 5400 X RTJ+ RHOROD

P0002 7FFF X 0 1 6 . P0003 EC11 LDQ* ( IRST) 0 1 7 . P0004 0146 SQZ NOTSTR-*-1 0 1 8 . P0005 0C05 ENQ 5 0 1 9 . P0006 E69D LDQ- (AVALU),Q 0 2 0 . P0007 4C0F STQ* ( I N I T ) 021 . P0008 0842 CLR Q 022* P0009 4C0B STQ* ( I R S T ) 023 • POOOA 6 COD STA* ( I RHO) 0 2 4 . POOOB 9C0D NOTSTR SUB* ( I S C ) 0 2 5 . POOOC 9C0B SUB* ( IRHO) 0 2 6 . POOOD 0864 TCA A 0 2 7 . POOOE 9C07 SUB* (IRODY) 0 2 8 . POOOF 6400 STA+ RHODIF

POOIO 0031 C RHODIF

0 2 9 . POOH 0C19 ENQ 25

SEE I F FIRST TIME THIS CYCL

1ST TIME STORE IN COMMON NO. 5 ROD P0S.

I N I T I A L CRITICAL ROD WORTH CALC. RH0D1F

COMPENSATE W/IRH0 DYNAMIC.

Page 364: WSIBf , 1 - International Nuclear Information System (INIS)

357

0 3 0 . P0012 669D STA- (AVALU) fQ 031 . POO 13 1CEC JMP* (RH0CAL) 032 • POOI 4 0028 C IRST ADC IRSTM 0 3 3 . POO 1 5 003F C IR0DY ADC IRH0DY 0 3 4 . POOI 6 0032 c I N I T ADC I N I T 5 0 3 5 . POOI 7 0026 c IRH0 ADC IRH0EX 0 3 6 . POOI 8 0025 c ISC ADC IRH0SC 0 3 7 . END

OOOOC CCL0CK OOOIC 0023C IRH0SC 0025C 0029C P0LD 002AC 002EC 0IGWD8 002FC 0033C R5 0035C 003DC IRH0DY 003FC

0 0 I 5 P I N I T 0016P

CYER T0 IRH0EX P0WT0T RQTRIM m o BUTT0N

IRH0

OOFF RH0CAL 0002C CYCLE 0026C I REACT 002BC N0LTIM 0030C RH0DIF 0037C RXE

0040C N0TSTR 0017P ISC

OOOOP AVALU OOOAC B 0027C IRSTM 002CC PAVG 0031C I N I T 5 0039C RSM

OOOBP IRST 0 0 I 3 P RH0R0D

009D INAGIN OOOBC RH0T0T 0028C IRANST 002DC N0WTIM 0032C ACCP0W 003BC RFP

0014P IR0DY 0002X

Page 365: WSIBf , 1 - International Nuclear Information System (INIS)

358

2.52 RHOROD

2.49.1 Classification

On-line/core resident/assembly language/nonreentrant/relocatable

2.52.2 Purpose

RHOROD calculates the current value of the reactivity held down by the five shim safety rods in the HFIR. The value is stored in the value table/ in common IREAC, and returned to the caller in the A register. The program is a subroutine with provisions for treating tantalum decay corrections in the control rods.

2.52.3 Description

Upon entry, RHOROD transfers the five current rod positions from the value table. The last value of the tantalum correction is compared to 0, and, if it is less than 0, no tantalum correction is made. Otherwise, a value for tantalum decay correction is entered for each of the rods.

The program then checks for any rods that are not clutched. If any rod is not clutched, its position is set to 0. The program proceeds to estimate the reactivity value appropriate to the position of each rod. The reactivity curve is divided into three portions as a function of the rod position. The portion greater than 16 in. is approximated by a fourth-order polynomial. For positions greater than 7 but less than 16 in . , the value is approximated from a linear slope. For positions less than 7 in. , a constant value is used. The value is stored in the value table, in common, and is returned to the user in the A register in units of cents.

The logic block diagram of RHOROD is shown in Fig. 50.

2.52.4 User Instructions

RHOROD is called by program RHOCAL, priority level 7. The tantalum cor-rection must be entered prior to the start of each reactor cycle for any rod cooling more than 3 days. The values are contained in common, with rod 1 at $7F49. The value to be entered for each safety rod equals 3000 x (1 - e " - 0 0 6 0 3 x day« cooling). Therefore, for a new set of control rods, the value entered for each of the safety rods is 3000. The value for rod 5 is the same as determined by the above equation except that 15,000 is used instead of 3000.

Page 366: WSIBf , 1 - International Nuclear Information System (INIS)

E X RHOROD XFER5 ROO V — * POSITS FROM t VALUE TABLE

TO PROD

MAKE TANTALUM

CORRECTION FOR EACH SHIM

SHIM RODS ) « - * —

VLDONE /

CALC. REACTIVITY FROM STRAIGHT LINE

REACTIVITY =$16.63

FOR REGROD

CALC. REACTIVITY

FROM ST. LINE SEGMEMT

POSITIONS FOR ALL RODS UNCLUTCHED

CO cn V©

REACTIVITY = $3.46

FOR THIS ROD

PUT REACTIVITY IN VALUE TABLE

& IN IREAC IN COMMON & IN A- REGISTER

. RETURN J

o z I— o $ o z o 00 o M

Fig. 51. Logic Block Diagram of Program RODJOG.

Page 367: WSIBf , 1 - International Nuclear Information System (INIS)

360

001 . 002. 0 0 3 . 0 0 4 . 005 . 006. 0 0 7 . 008. 0 0 9 . 010. 011. 012. 0 1 3 . 0 1 4 . 0 1 5 .

016 .

0 1 7 .

018.

0 1 9 .

020.

0000 0001 0002 OOOA OOOB 0023 0025 0026 C 0027 C 0028 0029 002A 002B 002C 002 D C 002E C 002F C 0030 0031 0032 0033 0035 0037 0039 003B C 0 0 3 0 C 003F C

C C C C C C C

C C C C C

c c c c c c c

0040 0041 0042 0043 0044 0049 009D 0006 0003 0002

NAM RH0R0D REV. 6 / 1 4 / 7 1 •ALL UNCLUTCHED R0D ARE SET T0 ZER0 P 0 S I T I 0 N . * T0 CORRECT FOR TANTALUM BUILD-UP, A TABLE * IN COMMON(TANTC5)) I S REQUIRED FOR EACH CYCLE. * FOR EACH ROD COOLING > 3DAYS,INSERT INTO TANT(N) *A NO. = I F I X ( 3 0 0 0 * ( l - E X P ( - . 0 0 6 0 3 * T D A Y S COOLING) ) ) . * THEREFORE FOR NEW RODS* TANTC1-4)=$BB8=3000. •OTHERWISE SET TANTC1-4)s 0 . * FOR ROD #5 USE 15000($3A98) I N PLACE OF 3 0 0 0 . * THE TABLE STARTS WITH R0D#1 AT S7F49 I N COM. * NOTE — THE I N I T I A L C0MM FOR THE STAR6 0F A CYCLE I * ON DRUM D / 7 F 0 0 .

ENT RHOROD EXT EXP,FL0T,Q8QFLT,Q8QFIX COM INAG I N , OCL0CK, OYERTO(8),CYCLE,B(24),RH0T0T

IRH0EX,IREACT,1RSTM,IRANST,P0LD,P0WT0T,

C C C C C C

COM N0L

COM NOWTIM,DIGWD8,RQTRIM,RHODIF,INIT5

COM A C C P 0 W ( 2 ) , R 5 ( 2 ) , R 1 0 ( 2 ) , R X E ( 2 ) , R S M ( 2 ) , R F P ( 2

COM FRYLIN,BULCRY,DRFLUX,R0DP0S(5),TANT(5)

EQU AVALU($9D) ,CLSWS(6) ,CTR(3) ,L0P(2 )

0 2 2 . POOOO OOOO RHOROD 0 2 3 . POOOI 0C05 0 2 4 . P0002 C69D XFER

0 0 ENTRY ENQ 5 LDA- (AVALU),Q

Page 368: WSIBf , 1 - International Nuclear Information System (INIS)

361

0 2 5 . P0003 ODFE INQ - 1 0 2 6 . P0004 6A 77 STA* PROD.Q 0 2 7 . P0005 0141 SQZ ENTER-*-1 0 2 8 . P0006 18FB JMP* XFER 029 . P0007 0844 ENTER CLR A 0 3 0 . P0008 6878 STA* I T 031 . P0009 E854 LDQ* I E 0 3 2 . POOOA 0171 SQM D 0 I - * - l 0 3 3 . POOOB 1822 JMP* GO 0 3 4 . POOOC 5C76 DOI RTJ* (FLT) 0 3 5 . POOOD B59D NUM $B59D LDA-MODE-MUL-STA 0 3 6 . POOOE 0033 C ADC ACCPOW 0 3 7 . POOOF 0018 ADC C4B- * 0 3 8 . P0010 00B7 ADC X - * 0 3 9 . POOI 1 4000 NUM $4000 0 4 0 . P 0 0 I 2 5400 X RTJ+ EXP

P0013 7FFF X 041 . POO! 4 SOB 3 ADC <X-*> 0 4 2 . POO 15 5C6D RTJ* <FLT) 0 4 3 . POOI 6 59 40 NUM $5940 0 4 4 . P0017 0012 ADC F L 1 0 0 - * 0 4 5 . POOI 8 5C6B RTJ* ( F I X ) 0 4 6 . P0019 6879 STA* QSV 0 4 7 . POOI A 0C04 ENQ 4 0 4 8 . POO IB 40 FF LP STQ- I 0 4 9 . P001C C876 LDA* QSV 0 5 0 . P001D 2 5 0 0 MUI TANT,I

POO IE 0049 C 05! . P001F 3000 DVI sN10000 SCALE TO CENTS

P0020 2710 0 5 2 . P0021 885F ADD* I T 0 5 3 . P0022 685E STA* I T 0 5 4 . P0023 EOFF LDQ- I 0 5 5 . P0024 0146 SQZ D D - * - l 0 5 6 . P0025 ODFE INQ - 1 0 5 7 . P0026 18F4 JMP* LP 0 5 8 . P0027 C4B0 C4B NUM $C4B0y$B391

P0028 B391 0 5 9 . P0029 BC1B FL100 NUM $BC1BV$FFFF MINUX 100

P002A FFFF 0 6 0 . P002B 6832 DD STA* I E 061 . P002C OBOO NOP 0

0 6 4 , DIGVID8 FORMAT: BITS 0 > 3 CLUTCH—BITS 4 > 7 SEAT

0 6 6 . P002D C 400 PC02E 0 0 2 F C

067 • P002F A006 068* P003C B006 0 6 9 . P003 i 01 OB 0 7 0 . P0032 0822 071 . 0 7 2 . 0 7 3 .

GO LDA+ DIGWD8

BITS 0 TO 3 SKIP I F CLUTCHED

AND- CLSWS =F EOR- CLSWS SAZ S T A R T - * - ! TRA Q

• I F DROP I S -BOTH UN-CLUTCHED AND SEATED, THEN * THE CODE SHOULD BE CHANGED AS FOLLOWS: * INSERT HERE: QRS 4,LAQ Q,SQZ S T A R T - * - ! ,

Page 369: WSIBf , 1 - International Nuclear Information System (INIS)

362

0 7 4 . *ALS0 EQU CLSWS($A), 0 7 5 . P0033 OAFB ENA - 4 0 7 6 . P0034 60FF CHEK STA- I 0 7 7 . P0035 0F61 LRS 1 0 7 8 . P0036 0122 SAP AGI- + - 1 0 7 9 . P0037 0844 CLR A 0 8 0 . POO 38 6947 STA* PR0D+4,I 08! . P0039 COFF AG I LDA- I 0 8 2 . P003A 0901 INA 1 0 8 3 . P003B 0101 SAZ START- * - l 0 8 4 . P003C 18F7 JMP* CHEK 0 8 5 . P003D 0A03 START ENA CTR 0 8 6 . P003E 60 FF L3 STA- I 0 8 7 . P003F 0C02 ENQ L0P 0 8 8 . P0040 C93B LI LDA* PROD,I 0 8 9 . P0041 9A43 SUB* BRK ,Q 0 9 0 . POO 42 0127 SAP G0TM-* - l 0 9 1 . POO 43 ODFE INQ - 1 0 9 2 . POO 44 0141 SQZ L 0 R 0 D - * - l 0 9 3 . P0045 18 FA JMP* L I 0 9 4 . P0046 C843 t*0R0D LDA* WTH 0 9 5 . POO 47 8839 ADD* I T 0 9 6 . POO 48 6838 STA* I T 0 9 7 . POO 49 1810 JMP* TEST 0 9 8 . P004A 4848 G0TM STQ* QSV 0 9 9 . P004B ODFD INQ - 2 100 . P004C 0152 SQN 0 N - * - l 101 . P004D C92E LDA* PROD,I 102 . P004E 1847 JMP* P0LYRD

ZER0 THE UNCLUTCHED R0DS.

C0ME BACK 10 m TEST"

104 . P004F E843 0N 1JDQ* QSV 105. POO 50 EA39 LDQ* WTH,Q 106 . P0051 F82F ADQ* I T 107 . P0052 482 E ADDRS STQ* I T 1 0 8 . P0053 E83F LDQ* QSV 109. POO 54 2A33 MUI* SLP,Q 110. POO 55 383E DVI* THSND I l l * P0056 982A SUB* I T 112 . P0057 0864 TCA A 113. P0058 6828 STA* I T 114. POO 59 COFF TEST LDA- I 115 . P005A 09FE INA - 1 116 . P005B 0133 SAM REGR0D 1 1 7 . P005C 18E1 JMP* L3 1 1 8 . P005D FFFF I E NUM $FFFF 119 . P005E 0027 C REACT ADC I REACT 120 . P005F 0C02 REG ROD ENQ LOP 121 . P0060 C81F L2 LDA* PR0D+4 122 . P006! 9A2A SUB* BRKRR,! 123 . P0062 0126 SAP HER- * -124 . P0063 ODFF INQ - 1 125. P0064 014i SQZ RRIN- * 126. P0065 18FA JMP* L2 127. P0066 C82A RRIN LDA* VTHRR

A STILL HAS (ROD P0S - BRK.P0INT)

I N I T I A L L0AD VALUE T0 CK TA CALC.

Page 370: WSIBf , 1 - International Nuclear Information System (INIS)

363

128• P0067 8819 ADD* 1 2 9 , P0068 180F JMP* 1 3 0 . P0069 4829 HER STQ* 1 31 . P006A 0DFD INQ 1 3 2 . P006B 0152 SQN 133« P006C C813 LDA* 1 3 4 . P006D 182A JMP* 1 3 5 . P006E E824 NEX LDQ* 1 3 6 . P006F EA21 LDQ* 1 3 7 . P0070 F810 ADQ* 1 3 8 . P0071 480F IRE STQ* 1 3 9 . P0072 E820 LDQ* 140 . P0073 2A1B MUI* 141 . P0074 381F DVI* 1 4 2 . P0075 980B SUB* 1 4 3 . P0076 0864 TCA 1 4 4 . P0077 6CE6 EXIT STA* 145 . P0078 0C26 ENQ 1 4 6 . P0079 669D STA-1 4 7 . P007A 1C85 JMP*

I T EXIT QSV - 2 N E X - * - l PR0D+4 P0LYRG C0ME BACK T0 "EXIT" QSV WTHRR,Q I T I T QSV SLPRR,Q THSND I T A (REACT) 38 (AVALU),Q (RH0R0D) FINISHED N0W.

1 4 9 . P007B 0000 PROD NUM 0 , 0 , 0 , 0 , 0 P007C 0000 P007D 0000 P007E 0000 P007F 0000

1 5 0 . POO 80 0000 I T NUM 0 151 . P0081 0000 I SAVE NUM 0 1 5 2 . P0082 7FFF X FLT ADC FLOT 1 5 3 . P0083 7FFF X FIX ADC Q8QFIX 1 5 4 . P0084 0000 BRK NUM 0 BREAK POINTS FOR SHIMS 155 . P0085 0320 NUM 800 #2 = 8 . 0 0 " 156 . POO 86 0640 NUM 1600 #3 = 16 .00" 1 5 7 . POO 87 0000 SLP NUM 0 SLOPES FOR EACH SHIM 158 . P0088 00 8C NUM 140 .140CNTS/ IN . 159 . POO 89 015A WTH NUM 3 4 6 , 3 4 6 3 . 4 6 DOLLARS

P008A 01 5A 1 6 0 . P008B 0000 BRKRR NUM 0 REG ROD BREAK POINTS 161 . P008C 02 BC NUM 700 #2 = 7 . 0 0 " 1 6 2 . P008D 0640 NUM 1600 #3 = 1 6 . 0 0 " 1 6 3 . P008E 0000 SLPRR NUM 0 REG ROD SLOPES 1 6 4 . P008F 0246 NUM 582 . 582 C N T S / I N . 165 . P0090 067F WTHRR NUM 1663 ,1663 $ 1 6 . 6 3

P009I 067F 166 . P0092 0001 QSV BZS QSV 167 . P0093 03E8 THSND NUM 1000 1 6 8 . P0094 0A7E CONST NUM 2686

170 . P0095 5804 P0LYRD RTJ* CON 1 7 1 . P0096 180D JMP* SCAL

1 7 3 . P0097 5802 P0LYR6 RTJ* CON 174 . P0098 1831 JMP* REGCAL

176 . P0099 0000 CON 0 0 ENTRY

Page 371: WSIBf , 1 - International Nuclear Information System (INIS)

364

177. 178 . 179 . 1 8 0 .

181 • 182. 1 8 3 . 1 8 4 .

1 8 6 . 187 . 188. 189 . 190 . 191 . 192 . 193 . 194 . 195. 196. 197. 198* 199 . 200. 201. 202. 2 0 3 . 2 0 4 . 2 0 5 . 206. 2 0 7 . 208. 2 0 9 .

210. 21 1 . 212. 21 3 . 2 1 4 . 21 5 . 216. 2 1 7 . 218. 2 1 9 . 220. 221 . 222. 2 2 3 . 2 2 4 . 2 2 5 . 226. 2 2 7 . 228.

POO 9 A P009B P009C P009D P009E P009F POOAO P00A1 P00A2

P00A3 P00A4 P00A5 P00A6 P00A7 POOA8 P00A9 POOAA POOAB POOAC POOAD POOAE POOAF POOBO P00B1 P00B2 P00B3 P00B4 P00B5 P00B6 P00B7 P00B8 P00B9 POOBA POOBB POOBC POOBD POOBE POOBF POOCO P00C1 P00C2 P00C3 P00C4 P00C5 P00C6 P00C7 P00C9 POOCA POOCB POOCC POOCD POOCE

EOFF 48 E5 98F7 5400 X 7FFF X 5CE2 5A74 0018 1CF6

5CDE 5D97 0022 00 IF E9E9 00 IB 001E 0017 001C E9E9 0012 0019 0018 E940 OOOA 0015 5CCF 88CB 68CA E8CA 40 FF 18A0

43 £4 OOOO 4162 0418 4069 CB1 4 3 EES s u e C29F E435 3BC6 6392 3963 CABC 0002 5 CBS 5D97 0012 00 ID E9E9 0019

LDQ- 1 STQ* ISAVE SUB* C0NST RTJ+ Q8QFLT

RTJ* (FLT) NUM $5A 74 ADC H - * JMP* (C0N)

- ( F L 0 A T ( 2 6 . 8 6 - R 0 D ) )

DIV-C0MP

SCAL

* K

M

N

RTJ* NUM ADC ADC NUM ADC ADC ADC ADC NUM ADC ADC ADC NUM ADC ADC RTJ* ADD* I T STA* I T LDQ* ISAVE

CRT) $5D97 X - * S - * $E9E9 R-* X-* Q-* X-* $E9E9 P-# X-* X - * $E940 M-* X-* ( F I X )

ST0RE, MULT, C0MPL

ADD, MULT, ADD, MULT

ADD, MULT, ADD, MULT

ADD, MULT

STQ-JMP*

I TEST

«» m1 H 5 S E : A R E C » N S T . F0R P0LYN0MINAL

NUM $43E4,0 100.0

NUM NUM NUM NUM

P NUM NUM

Q NUM NUM

R NUM NUM

S NUM NUM

X BSS RE6CAL RTJ*

NUM ADC ADC NUM ADC

$4162 $0418 $4069 $ (814 $3 EES $811C $C29F SE435 $3BC6 $6392 $3963 $CABC X ( 2 ) (aT) $5D97 Y-* F-* $E9E9 E-*

3 . 0 6 3

.82651

.20411

- 2 . 3 4 6 4 E - 2

2 . 1 4 8 1 E - 3

9 . 5 1 6 9 E - 5

ST0RE, MULT, C0MPL

ADD, MULT, ADD, MULT

2 2 9 . POOCF 000E ADC Y - *

Page 372: WSIBf , 1 - International Nuclear Information System (INIS)

365

2 3 0 . POODO 231 . POOD1 232 • P00D2 2 3 3 . P00D3 2 3 4 . P00D4 2 3 5 . POOD5 2 3 6 . P00D6 2 3 7 . POOD7 2 3 8 . POODB 2 3 9 . POODS 2 4 0 . POO DA 2 4 1 . POODB 2 4 2 . POO DC 2 4 3 . POODD 2 4 4 . POODF 2 4 5 . POOEO 2 4 6 . P00E1 2 4 7 . P00E2 2 4 8 . P00E3 2 4 9 . P00E4 2 5 0 . P00E5 2 5 1 . P00E6 2 5 2 . P00E7 2 5 3 . P00E8 2 5 4 . P00E9 2 5 5 . POOEA 2 5 6 . POOEB 2 5 7 .

0015 OOOC E9E9 0010 0009 OOOC 0007 E940 0007 0004 5 CAS 88A4 189 A 0002 Y 42 C4 A E69B 41C2 B l 27 FA 40C8 C 754F C 139 n EE01 3CCF E 5324 3A57 F 0576 7FD1

ADC D - * ADC Y - * NUM $E9£9 ADC C - * ADC Y - * ADC B 1 - * ADC Y - * NUM $E940 ADC A - * ADC Y - * RTJ* ( F I X ) ADD* IT JMP* EXIT BSS Y ( 2 ) NUM S42C4 NUM SE69B NUM $41C2 NUM $27 FA NUM $40C8 NUM $754F NUM $C139 NUM $EEO1 NUM $3CCF NUM $5324 NUM $3A57 NUM $576 ADC N - * END

ADD, MULT, ADD, MULT

ADD, MULT

17 .2252

4 . 1 3 4 7 6

1 . 13216

. 1 3 6 8 5 6

9 . 6 8 3 2 E - 3

•33196E-3

Page 373: WSIBf , 1 - International Nuclear Information System (INIS)

366

2.53 ROD JOG

2.49.1 Classification

On-line/drum resident/assembly language/nonreentrant/relocatable

2.53.2 Purpose

ROD JOG automatically determines the differential rod worth for the five control rods of the HFIR. The program operates in response to a manual request, and terminates by listing the values of the differential rod worths on the control room typewriter.

2.53.3 Description

Upon entry, the program resets the kill flag and turns on the console lamp labeled RODJOG. The program then calls a subroutine DRCON, which turns on the digital rod control program and loops with 1-sec pauses, waiting for the MG1FLG symmetry flag located in program DRC to come set. This will occur whenever the DRC program has trimmed the rods to a symmetric position. The DRCON subroutine returns whenever rod symmetry is detected. The program then calls a subroutine REGSET, which is a part of the RODJOG program.

REGSET manipulates the servo to a position just above the intermediate limit switch in a repeated series of 0.5-sec rod movements to verify that the rod has moved above the intermediate limit only during the last 0.5-sec pulse. The program then returns to the caller.

After returning from REGSET, rod 5 is inserted using 0.5-sec pulses until the regulating rod is observed to be the withdraw limit. At this point, the program stores initial values of the dynamic reactivity which are concurrently being calculated by the DR program, and the initial position of rod 5 is stored. This loop is repeated for four consecutive values to obtain the average values for the dynamic reactivity and rod position. Following this, rod 5 is inserted for 2 sec. After the insertion, four consecu-tive values are read with a 1-sec pause between each reading to obtain the average value of the rod position and dynamic reactivity following the insert. From these two sets of four readings, the program calculates the average value of the differential worth for rod 5 . The DRCON routine is again entered so that the rods will be made symmetric. Follow-ing this trimming operation, the program enters a loop for each of the four shim safety rods, wherein the regulating rod is set using the REGSET subroutine and four values are read to determine the average position of rod 5 along with the rod being calibrated.

The rod being calibrated is withdrawn for 5 sec. Following a 1-sec delay, four consecutive values of the position of the rod being calibrated and of rod 5 are stored. Tht se values are used to calculate the ratio of the change in position of rod 5 to the

Page 374: WSIBf , 1 - International Nuclear Information System (INIS)

367

change in the position of the rod being calibrated. The subroutine DRCON is executed, the rods are trimmed, and the operation is repeated for each of the four shim safety rods. After all safety rods have been manipulated in this fashion, the routine calculates the differential worth for the shim safety rods from the previously calculated value of the differential worth for rod 5. The results are printed on the control room typewriter. The console lamp is automatically turned off and the program is released.

The logic block diagram of ROD JOG is shown in Fig. 51.

2 .53 .4 User Instructions

This program is activated by manually pressing the ROD JOG lamp on the operator console and simultaneously pressing the ENTER button. The program proceeds through the above-described sequence of operations until it runs to conclusion. It can be termi-nated at any time by turning the program off in the same manner it was turned on. The manual block switch must be in the "Rods" position if actual movement of the control rods is to be realized.

2 .53 .5 Relationship to Other Programs

RODJOG assumes that program DR is running during the course of the execution of RODJOG. The program uses the digital rod control program DRC to reestablish rod symmetry.

2 .53 .6 Change Considerations

Any changes in DRC and MG1FLG, which is located in DRC, must be rectified with program RODJOG.

Page 375: WSIBf , 1 - International Nuclear Information System (INIS)

O R N l DWG NO 7 2 8 5 8

CONSOLE I ' C M I

Fig. 51. Logic Block Diagram of Program RODJOG.

Page 376: WSIBf , 1 - International Nuclear Information System (INIS)

369

001 • 002* 0 0 3 . 004* 005 . 006. 0 0 7 . 008. 0 0 9 . 0 1 0 . 01 1 .

012 .

0 1 3 .

0 1 4 .

015

0 1 6 ,

C c c c c c

c c c c

0000 0001 0002 OOOA OOOB 0023 0025 0026 C 0027 C 0028 0029 002A 002B 002C C 002 D C 002 E C 002 F C 0030 0031 0032 0033 0035 0037 0039 003B 003 D C 003F C 0040 C 0088 009D 0070

NAM R0DJ06 REV 9 / 1 5 / 7 0 * 8 / 1 5 / 7 0 10 TURN 0N R0DJ06 LIGHT AND FLAG 1ST. *ALS0 10 CLEAR SYMM.FLG (MG1FLG) 0N ENTRY 0F DRC0N. * ( I H I S WILL GIVE 0NE PASS AT DRC BEF0RE SYMM. 0K. • 9 / 1 5 / 7 0 - T0 HAVE SAFETY R0DS WITHDRAW F0R 5 . 0 SECS. *(INDEPENDENT 0F REG. R0D P 0 S I T I 0 N . )

ENT R J1 EXT MG1FLG EXT DRCtDACDRIt0NDRC,0FFDRC EXT CLREXl9Q8QFLT»FL0TiFL0AT,DIGC0N C0M INAG IN 9 OCL0CK, CYERT0(8) , CYCLE,B(24)

C C C C C C C C

C0M RH0T0TC2)9IRH0SC , IRH0EX t IREACT f IRSTM

C0M IRANST,P0LD,P0WT0T,N0LTIM,PAVG,N0WTIM

C0M DIGWD8 vRQTRIM yRH0DlF f lNIT5»ACCP0W(2) fR5(2)

C0M R10 (2 ) V RXE(2 ) f RSM(2> fRFP(2) , IRH0DY,BUTT0N

EQU ARGINP($88) ,AVALU($9D) ,DRKIL($70)

0 1 8 . 0 1 9 . 020. 021 • 022 .

0 2 3 . 0 2 4 . 0 2 5 . 026. 0 2 7 .

028.

POOOO P0001 P0002 P0003 P0004 P0005 P0006 P0007 P0008 P0009 POOOA POOOB POOOC

OAOO 6070 OBOO OBOO C400 0040 C AO 37 0910 6CFC 0F43 5400 X 7FFF X 900B

RJ1 ENA 0 STA- DRXIL RESET KILL FLAG.

NBP 0 N0P 0

B0N LDA+ BUTT0N TURN 0N R0DJ0G C0NC0LE LITE

AND- $37 CONTAINS INA $10 STA* CB0N+1) ARS 3 RTJ+ DACDRI

NUM $900B

SFFEF

Page 377: WSIBf , 1 - International Nuclear Information System (INIS)

370

0 2 9 . P000D 5868 RTJ* DRCON TURN ON DRC TIL SYMMETf 0 3 0 . POOOE 5800 RTJ REGSET SET THE RR PROPERLY.

POOOF 008B

0 3 2 . * * * : INSERT #5 TIL WDL LIM I S REACHED. 0 3 3 . P0010 C847 R2J LDA* INS 5 0 3 4 . POOI 1 5857 RTJ* INSERT 0 3 5 . P0012 5800 RTJ STOPAL .5 SEC. PULSE.

P0013 0092 0 3 6 . P0014 5488 RTJ- (ARGINP) 0 3 7 . POOI 5 8004 ADC (CHAN-*) 0 3 8 . P0016 A02B AND- $2B =$100 039 • POOI 7 0102 SAZ R J 3 - * - l SKIP I F L I M I T . 0 4 0 . P0018 18F7 JMP* R2J 041 . POOI 9 0008 CHAN NUM 8 0 4 2 . POOI A 0C04 RJ3 ENQ 4 0 4 3 . P001B 4864 STQ* QSAV 0 4 4 . P001C 5840 RJL1 RTJ* PAUSE 1 SEC. 0 4 5 . P0010 E862 LDQ* QSAV 0 4 6 . POO IE 0151 SQN J R l - * - l 0 4 7 . POOIF 180C JMP* AVI 0 4 8 . P0020 ODFE JR1 INQ - 1 0 4 9 , P0021 485E STQ* QSAV 0 5 0 . P0022 0C05 ENQ 5 0 5 1 . P0023 C69D LDA- (AVALU),Q READ ROD 5 0 5 2 . P0024 8863 ADD* 0R0D5 0 5 3 . P0025 6862 STA* 0R0D5 0 5 4 . P0026 C400 LDA+ IRHODY READ OR REACTIVIY

P0027 003 F C 0 5 5 . P0028 8860 ADD* ORHODY 0 5 6 . P0029 685F STA* 0RH0DY 0 5 7 . P002A 18F1 JMP* RJL1 0 5 8 . * * * * INSERT # 5 ROD FOR 2 . 0 S E C . * * * * * 0 5 9 . P002B C82C AVI LDA* INS5 0 6 0 . P002C 583C RTJ* INSERT 0 6 1 . P002D 582 F RTJ* PAUSE 062 . P002E 582E RTJ* PAUSE 0 6 3 . P002F OAOO ENA 0 0 6 4 . P0030 5838 RTJ* INSERT ST0P# 5 . 0 6 5 . P0031 0C04 ENQ 4 0 6 6 . P0032 4840 STQ* QSAV 0 6 7 . P0033 5829 RJL2 RTJ* PAUSE 1 SEC. 0 6 8 . P0034 E84B LDQ* QSAV 0 6 9 . P0035 0151 SQN J R 2 - * - l 0 7 0 . P0036 180C JMP* AV2 0 7 1 . POO 37 ODFE JR2 INQ - 1 0 7 2 . POO 38 4847 STQ* QSAV 0 7 3 . POO 39 0C05 ENQ 5 0 7 4 . P003A C690 IDA- (AVALU)»Q 0 7 5 . P003B 884F ADD* NR0D5 0 7 6 . P003C 684E STA* NR0D5 0 7 7 . P0030 C 400 LDA+ IRHODY

P003E 003F C 0 7 8 . P003F 884 C ADD* NRHODY

Page 378: WSIBf , 1 - International Nuclear Information System (INIS)

371

0 7 9 . 080. 081. 082. 0 8 3 .

0 8 4 .

0 8 5 . 086. 0 8 7 . 088. 0 8 9 . 0 9 0 . 0 9 1 . 0 9 2 . 0 9 3 . 0 9 4 . 0 9 5 . 0 9 6 . 0 9 7 . 0 9 8 . 0 9 9 . 100. iC i . 102. 103 . 104. 105. 106. 106. 106. 106. 107. 108. 109 . 110. HI. i 1 2 . 113.

P0040 P0041 POO 42 POO 43 P0044 P0045 P0046 P0047 P0048 POO 49 P004A P004B P004C P004D P004E P004F P0050 P0051 P0052 P0053 P0055 P0056 P0057 P0058 P0059 P005A P005B

684B 18F1 C848 9844 5400 X 7FFF X 5400 X 7FFF X 5D40 OOOA C841 983D 5CF8 5CF9 5 AD 4 0004 003C 5824 183C 0002 OOOO OBOO 4000 0040 0100 0400 1000

P005C OOOO

P005D P005E P005F P0060 P0061 P0062 P0063 P0064 P0065 POO 66 P0067

54F4 1107 0004 003B 14EA C070 OBOO 0111 1CF6 1800 0122

STA* NRH0DY JMP* RJL2

AV2 LDA* NR0D5 SUB* 0R0D5

FA RTJ+ Q8QFLT

FB RTJ+ FL0T

NUM $5D40 ADC DELR0D-*

IDA* NRH0DY SUB* 0RH0DY

RTJ* (FA+ l ) RTJ* (FB+1) NUM $5AD4 ADC DELR0D-* ADC DR5-* RTJ* ERC0N JMP* TRD0FF

DELROD BZS DELR0D(2) BUTSAV NUM 0

NBP INS5 NUM $4000 INSERT #5 WDR1 NUM $40 DONT PUT ANY INSTRUCTIONS BETWEEN WRD2 NUM $100 HERE AND I N S 5 f ( S E E Y ) . WDR3 NUM $400 WDR4 NUM $1000 * * * * * * * * * * * * * * * * * * * P A U S E * * * * * * * * * * * * * L 0 0 P * * * $ * * * PAUSE NUM 0 TP TIMER TP0-TP-1 ,7 , X f 0

TP0

I F I

CHECK KILL FLAG

NUM 59 JMP- <$EA) LDA- DRKIL NOP SAN I F I - * - l JMP* (PAUSE)

JMP FIN GO RELEASE.

115. 116. 117. 118 . 119 .

120. 121. 122. 123. 124. 125 .

************************************** P0068 POO 69 P006A P006B P006C P006D P006E P006F P0070 P0071 P0072

OOOO OCOO 40 FF 5400 7FFF 1CFA OBOO OOOO 0C01 40FF 0842

X X

INSERT

DIG

WITHDR

NUM ENQ STQ-RTJ+

JMP* NOP NUM ENQ STQ-CLR

0 INSERT RODS, 0 1 DIGCON

(INSERT)

0 1 I Q

Page 379: WSIBf , 1 - International Nuclear Information System (INIS)

372

126* P0073 5CF8 RTJ* ( D I G + l ) 127 . P0074 1CFA JMP* (WITHDR) 128 . P007 5 OOOO DRC0N NUM 0 129 . P0076 OAOO ENA 0 130 . P0077 6400 X STA MGIFLG

P0078 7FFF X 131 • P0079 5400 X RTJ+ 0NDRC TURN 0N DRC.

P007A 7FFF X 132. P007B 58E0 T6 RTJ* PAUSE 1SEC. PAUSE. 133 . P007C CCFB RJ6 LDA* < ERC0N+3) CHECK MGIFLG F0R SYMMETRY 134 . P007D 0113 SAN R J 6 1 - * - l SKIP WHEN SYMMETRIC. 135 . P007E 18FC JMP* T6 136 . P007F OOOO QSAV NUM 0 137. POO 80 OBOO N0P 138 . POO 81 1CF3 RJ61 JMP* (DRC0N) 139 . P0082 OOOO DRC0FF NUM 0 140. P0083 5400 X RTJ-f 0FFDRC

P0084 7FFF X 141 . P0085 5806 T7 RTJ* PAUSE 142 . P0086 1CFB JMP* < DRC0FF) 143. P0087 OOOO 0R0D5 NUM 0 144. P0088 OOOO 0RH0DY NUM 0 145. P0089 OOOO R0DNUM NUM 0 146. P008A OOOO NR0D5 NUM 0 147 . P0083 OOOO NRH0DY NUM 0 148 . P008C 0002 DR5 BZS DR5C2)

150. P008E 0842 1RD0FF CLR Q 151 . P008F 48F9 STQ* R0DNUM NULL 0UT 152 . P0090 OAOO IRL1 ENA 0 153 . P0091 68F5 STA* 0R0D5 154 . P0092 6864 STA* 0R0D1 155. P0093 D8F5 RA0* R0DNUM 156 . P0094 C8F4 LDA* R0DNUM 157. P0095 09FA INA - 5 158 . P0096 0111 SAN J0GR0D- * - l 159 . P0097 186C JMP* CIPHER 160. P0098 5802 J0GR0D RTJ* REGSET 161. P0099 181C JMP* RJL3

163. : M > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 164 . P009A OOOO RE6SET NUM 0 165. P009B 58E6 RTJ* DRC0FF TURN DRC 0FF. 166 . P009C 58BF RTJ* PAUSE 1. SEC. 167 . P009D 5488 CHIN RTJ- (ARGINP) 168 . P009E FF7A ADC (CHAN-*) 169 . P009F A02D AND- $2D = $400 T0 CK I N T . L IMIT 170 . POO AO 010B SAZ INTl - * - l SKIP I F BEL0W. 171 . P00A1 C8B5 LDA* INS5 WITHDR # 5 . 172 . P00A2 58CC RTJ* WITHDR 173 . P00A3 5802 RTJ* ST0PAL F0R . 5 SEC.

174 . POO A 4 18F8 JMP* CKIN CHECK AGAIN.

Page 380: WSIBf , 1 - International Nuclear Information System (INIS)

373

176. 177. 178 . 178 . 178 . 1 7 8 .

180. 181 . 182. 183. 184. 185 . 186 . 187 . 188. 1 8 9 . 1 9 0 . 191 . 192 . 193 . 194 . 195 . 196 . 197. 198 . 1 9 9 . 200. 201. 202. 2 0 3 . 2 0 4 . 2 0 5 . 206. 2 0 7 . 208. 2 0 9 . 210. 211 . 212. 21 3 . 2 1 4 . 2 1 5 . 216. 2 1 7 . 2 1 7 . 2 1 7 . 2 1 7 . 218 • 2 1 9 . 220. 221.

P00A5 0000

P00A6 P00A7 P00A8 P00A9 POO A A POOAB POOAC POOAD POOAE POOAF POOBO P00B1 P00B2 P00B3 P00B4 P0035 P00B6 P00B7 P00B8 P00B9 POOBA POOBB POOBC POOBD POOBE POOBF POOCO POOC1 P00C2 POOC3 P00C4 P00C5 POOC6 P00C7 P00C8 P00C9 POOCA POOCB POOCC POOCD POOCE

POOCF POO DO POOD! P00D2 POO D3 P00D4 POO 05

54F4 1007 7FFF 001D 5SB1 ICF9 C8AA 58BA 58F6 5488 FF68 A02D 0111 18F8 1CE5 OAFB 680F C80E 0111 180F D80B 58A0 0C05 C69D 88C8 68C7 E8C8 C69D 8834 6833 18F2 0000 0000 0000 OAOO 68 FC 68FC OBOO E8BC CA89 58A0

54F4 1117 0004 002C 14EA OBOO OBOO

******** ********* STOPAL NUM 0

TIMER C L R E X I , 7 , 0 , 0

**********

INT1

RT RJL3

JL3

LPCT TMPN TMP5 10

THR

HER

NUM 29 RTJ* PAUSE JMP* (STOPAL) LDA* INS5 RTJ* INSERT INSERT $ 0 3 , RTJ* STOPAL FOR . 5 SEC. RTJ- (ARGINP) ADC (CHAN-*) AND- $2D =$400 SAN R T - * - l SKIP I F R R . > I N T . JMP* INT1 PULSE AGAIN. JMP* (REGSET) ENA - 4 STA* LPCT LDA* LPCT SAN X - * - ! JMP* 1G RAO* LPCT RTJ* PAUSE ENQ 5 LDA- (AVALU),Q ADD* 0R0D5 STA* 0R0D5 LDQ* RODNUM LDA- (AVALU),Q ADD* 0R0D1 STA* 0R0D1 JMP* JL3 NUM 0 NUM 0 NUM 0 ENA 0

STA* TMPN STA* TMP5

NOP 0 LDQ* RODNUM LDA* INS5,Q

RTJ* WITHDR WITHDRAW ROD #M(Q) FOR 5 SECS. TIMER HER-THR-1 ,7 ,X ,1

NUM 44 DELAY FOR 4 . 5 SECS. JMP- (SEA) NOP 0 NOP 0

2 2 2 . P00D6 58CE 2 2 3 . P00D7 OAFB J2 2 2 4 . POOD8 68EC

RTJ* STOPAL STOP RODS ENA - 4 STA* LPCT

AFTER . 5 SEC PAUSE.

Page 381: WSIBf , 1 - International Nuclear Information System (INIS)

374

2 2 5 . 226* 2 2 7 . 226 . 2 2 9 .

2 3 0 . OXI _ 2 3 2 . 233* 2 3 4 . 235* 236* 2 3 7 . 2 3 8 . 239 » 240* 2 4 1 . 2 4 2 . 243* 2 4 4 . 2 4 5 . 246* 2 4 7 . 248 • 249 . 2 5 0 . 2 5 1 . 2 5 2 . 2 5 3 . 2 5 4 . 2 5 5 . 2 5 6 . 2 5 7 . 2 5 8 . 2 5 9 . 260. 261 . 262. 2 6 3 . 2 6 4 . 2 6 5 . 266. 2 6 7 . 268. 2 6 9 . 2 7 0 .

2 7 1 .

2 7 2 . 2 7 3 .

POO 09 POO DA POO IB P00DC POODD POODS POODF POOEO POO El P00E2 P00E3 P00E4 P00E5 P00E6 P00E7 P00E8 P00E9 POOEA POOEB POOEC POOED POOEE POOEF POOFO P00F1 P00F2 P00F3 POOF4 POOF 5 P00F6 P00F7 POOFS P00F9 POOFA POOFB POOFC POOFD POOFE POOFF P0100 P0101 P0102 POI 03 P0104 P0105 P0106 P0107 P0108 P0109 POI OA POI 08 P010C

C8EB 0111 180 D D6E8 5800 FF7D E8A9 (tn WQ7V 88E4 68E3 0C05 C69D 88E1 68E0 18F1 C8DD 68 OC C8DC 68 DB E89C C8D8 9808 6 AO 7 C8D6 9895 0864 6A08 5880 189A 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0C01 48 FD E8FC CAEF 5400 0045 5400 0047 5D40 7FF3

X X X X

JL4 LDA* LPCT SAN X X - * - l JMP* TBI

XX RAO* LPCT RTJ PAUSE 1 SEC.

LDQ* RODNUM LDA- (AVALU),Q ADD* TMPN STA* TWPN ENQ 5 LDA- (AVALU),Q ADD* 1MP5 STA* TWP5 JMP* JL4

TGI LDA* TMPN STA* TMPN LDA* TMP5 STA* TMP5 LDQ* RODNUM LDA* TMPN SUB* ORODI STA* ORODI,Q ROD #N M0VEME8T LDA* TMP5 SUB* 0R0D5 TCA A STA* 0R5,Q ROD #5 MOVEMENT• RTJ* tRCON TURN ON DRC. JMP* TRL1

ORODI NUM 0 NUM 0 NUM 0 NUM 0 NUM 0

OR 5 NUM 0 NUM 0 NUM 0 NUM 0 NUM 0 NUM 0 NUM 0 NUM 0

1 ROD

LDQ* ROD LDA* ORODI (.Q RTJ+ Q8QFLT

ITCH

ROD CIPHER ENQ

STQ* CI QA

QB RTJ+ FLOT

NUM ADC

$5040 I T C H - *

2 7 4 . P010D E8F4 2 7 5 . P010E CAEC 2 7 6 . P010F 5CF8 2 7 7 . POI10 5CF9

LDQ* ROD LDA* 0R5,Q RTJ* (QA+1) RTJ* (QB+l )

Page 382: WSIBf , 1 - International Nuclear Information System (INIS)

375

2 7 8 , POI 11 5A9D 2 7 9 . PO! 12 7 FED 280 • POI 13 7F78 281 . POI 14 7 FEB 282* POI 15 4000 283* POI 16 5400

POI 17 7FFF 2 8 4 . POI 18 FFE7 2 8 5 . POI 19 8055 2 8 6 . POI 1A C8E7 2 8 7 . POI IB 09FB 288* POHC 0105 2 8 9 . POI ID DBE4 2 9 0 . POI IE E8FA 2 9 1 . POI IF 0005 2 9 2 . P0120 48F8 2 9 3 . P012I 18E3 2 9 4 . P0122 5CF4 295* POI 23 FF68 2 9 6 . POI 24 805E 2 9 7 . P 0 I 2 5 0 C I 8 2 9 8 . POI 26 CA48 2 9 9 . POI 27 0920 3 0 0 . P 0 I 2 8 6 A 46 3 0 ! . POI 29 OGFA 3 0 2 . P0I2A 0171 3 0 3 . P012B I8FA SQ4. 3 0 4 . P012C 54F4 3 0 4 . P0 I2D 0D87 3 0 4 . P 0 I 2 E 0007

P012F 0000 3 0 4 . POI 30 100E 3 0 4 . P0131 002F

POI 32 0011 3 0 5 . P 0 I 3 3 14EA 3 0 6 . 3 0 6 . POI 34 54F4 3 0 6 . POI 35 0D67 3 0 6 . POI 36 0054

POI 37 0000 3 0 6 . PO! 38 100E 3 0 6 . POI 39 001A

P013A 0039 3 0 7 . P013B I4EA 3 0 8 . P01SC OBOO 3 0 9 . P013D OBOO 310 . P 0 I 3 E 4449

P013F 4646 POI 40 4552 POI 41 454E POI 42 5449 POI 43 414C P0144 2052 POI 45 4F44 POI 46 2057 POI 47 4F52 POI 48 5448

FLAT

BUMP

C2

C2LP

P I

AUS

NUM ADC ADC ADC NUN

$5 ADD I T C H - * ER5-* I T C H - * $4000

RTJ+ FLOAT

ADC ( I T C H - * ) ADC (BUF- * ) LDA* ROD INA - 4 SAZ C 2 - * - I RAO* ROD LDQ* BUMP INQ 5 STQ* BUMP

JMP* C I RTJ* (FLAT+I ) AD ADC ( E R 5 - * ) ADC ( B U F 5 - * ) ENQ 24 LDA* BUF9Q INA S20 STA* BUF fQ INQ - 5

SQM P l - * - l JMP* C2LP FMRITF l 4 , A U S - P | M , A B U F - P l - l 9 4 7 9 A t 8 t 7 „ X

JMP- (SEA) FWRITE 14 9 FIN-AUS-1 9 BUF-AUS-1 9 26»A 9 8 9 ? 9 9 X

ABUF

JMP- (SEA) NOP 0 NOP 0 ALF 229DIFFERENT!AL ROD WORTHS ( S / I N C H )

Page 383: WSIBf , 1 - International Nuclear Information System (INIS)

376

POl49 5320 P014A 2820 P0 I4B 2024 P014C 2020 POl 4B 2F49 P014E 4E43 P 0 I 4 F 4829 POl50 2041 POl51 5245 POl 52 3A20 POl53 2020

3 1 1 . POl 54 ODD A 9KUR SDOA 312 . POl 55 2 0 2 0 ALF 2 4 . R0D1 R0D2 R0D3 R0D4

POl56 2052 POl 57 4F44 POl58 3120 POl59 2020 P015A 2020 P015B 2052 P015C 4F44 POl50 3220 P015E 2020 P015F 2020 POl60 2052 POl61 4F44 POI62 3320 POl63 2020 P 0 I 6 4 2020 POl65 2052 POl66 4F44 POl67 3420 POl68 2020 POl69 2020 P016A 2052 P016B 4F44 P016C 3520

313* POI 6 0 OBOO N0P 0 314* P016E 2020 BUF RUM $2020 315* P016F OOOO HUM 0 3 1 6 . POl 7 0 OOOO NUM 0 3 1 7 . P 0 I 7 1 OOOO NUM 0 318* POI 7 2 OOOO NUM 0 319* P 0 I 7 3 2020 NUM $2020 320* PCI 74 OOOO NUlf 0 321 . P 0 I 7 5 OOOO NUM 0 3 2 2 . POl 76 OOOO NUM 0 3 2 3 . P0177 OOOO NUM 0 3 2 4 . POl 78 2020 NUM $2020 3 2 5 . POl 79 OOOO NUM 0 3 2 6 . P017A OOOO NUM 0 3 2 7 . P017B OOOO NUM 0 3 2 8 . P017C OOOO NUM 0 3 2 9 . P0170 2020 NUM $2020 3 3 0 . P017E OOOO NUM 0 3 3 1 . P017F OOOO NUM 0 3 3 2 . POI 80 oooo NUM 0 333 . P 0 I 8 I oooo NUM 0 334 . POl 32 2020 BUF 5 NUM $2020

Page 384: WSIBf , 1 - International Nuclear Information System (INIS)

377

335 . P0183 OOOO NUN 0 336 . P0184 OOOO NUN 0 337 . POl 85 OOOO NUM 0 3 3 8 . P0186 OOOO NUM 0 3 3 9 . POl 87 2020 NUM $2020 3 4 0 . POl 88 OBOO NBP 0 3 4 1 . POl 89 C400 FIN LDA+ BUTT0N

P018A 0040 C 342 . P018B A037 AND- $37 CONTAINS $FFEF 3 4 3 . P018C 6CFD STA* CFIN+I) 3 4 4 . P018D 0F43 ARS 3 3 4 5 . P018E 5400 X RTJ+ DACDRI

P018F OOOB X 3 4 6 . POl 90 900B NUN S900B 3 4 7 . F I RELEAS <RJ1-FX- I )»T ,X 3 4 7 . P0191 54F4 3 4 7 . P0192 1901 347 . POl 93 FE6D 3 4 3 . END RJ1

Page 385: WSIBf , 1 - International Nuclear Information System (INIS)

378

i I30FF RJI OOOOP INAGIN OOOOC CCL0CK 0001C CYERT0 0002C C^VLE OOOAC B OO0BC RM0T0T 0023C 1RH0SC 002SC IRHOEX 0026C imhCi A027C IRSTM 0028C IRANST 0029C P0LD 002AC P0WT0T 002BC

4 02 CC PAVG 002IX? NOWTIM 002EC DIGWD8 002 FC RQTRIM 0030C mem? 1V531C I N I T 5 0032C ACCP0W 0033C R5 0035C RIO 0037C flfPsk LP39C RSM 003BC RFP 003 DC IRK0DY 003 FC BUTTON 0040C

JTF^JUP 31*88 AVALU 009 D QRKIL 0070 BON 0004P R2J 001 OP 13119P RJ3 OOIAP RULL 001 CP JRT 002OP AVI 002BP 0< 33P JR2 0G37P AV2 0042P FA 0044P FB 0046P

OSIR0D 0C53P BUTSAV 0055P INS5 0097 P WDR1 0058P WRD2 0059P 0**AP WDR 4 0098P PAUSE 005CP TP 005DP TP0 0062P

• >* i ARS«P INSERT Q068P DIG OOFIBP WITMDR 006FP CRC0N 0075P j% RJ6 007CP QSAV 007 FP RJ61 008 IP DRC0FF 0082P

0085P 0R8D5 0087P SRMSDY 0088P R0DNUM 0089P NR0D9 00 SAP NRH0DY 008BP DR5 008CP 7RD0FF 008EP TRL1 0090P JOGROD 0098P ICG SET 009AP CKIN 009DP S TO PAL 00A5P 2NT1 OOACP RT 008 4P RJL3 00B5P JL3 008 7P X 008AP LPCT 00C5P TMPN 00C6P TMP5 00C7P IS 00C8P Y OOCCP THR OOCFP HER 00D4P J2 OO07P JL4 00 GOP XX OODCP TGI 00E8P 0R0DI 00F6P 0R5 OOFBP ITCH OIOOP ROD 0102P CIPHER 0103P CL 0 I05P QA 0107P 08 0109P FLAT 0 I 1 6 P BUMP 0 I 1 9 P C2 0122P re LP 0126P P I 01 ESP AOS 0 I 3 4 P ABUF 013EP BUF 01 SEP BUF9 0182P F IN 0 I 8 9 P F I QI91P DIGCON 006CX FL0AT 0 I17X FL0T OIOAX QBQFLT 0 I08X CLREXL 00A8X 0FFDRC 0084X ON DRC 007AX DACDRI 0 I8FX DRC 7FFFX MGIFLG 007 8X J

Page 386: WSIBf , 1 - International Nuclear Information System (INIS)

379

2.54 SC

2.49.1 Classification

On-line/drum resident/Fortran language/nonreentrant/relocatable

2 .54 .2 Purpose

SC is the subroutine for calculating the change in reactivity due to changes in boron, uranium, xenon, samarium, and mixed fission products. The program integrates the change throughout each HFIR fuel cycle.

2 .54 .3 Description

Upon entry, SC saves the value of Q to be used as a return address if the entry is from SCTRAN in PERMIT. The current value of time in $E8 and the value of time on the last entry are used to compute the AT for this entry. The value is restricted to the range 0 to 60 sec. An average power is calculated by taking the current power plus the power used last time and dividing by 2 . The algorithm calculates the accumulated burnup, updates the accumulated power parameter, and calculates the change in concen-tration for all the isotopes necessary to describe the reactivity change of the HFIR core. If the entry was not from the transient program, the program is released. Otherwise, a scheduler request is made for the return address, and the program exits to the dispatcher.

The logic block Jiagram of SC is shown in Fig. 52.

2 .54 .4 Relationship to Other Programs

SC is used routinely for transient entries and for routine 30-sec updates by pro-gram CALLSC at priority level 7 . The subroutine is also used by program G D U P as a transient calculation whenever updates are being performed.

Page 387: WSIBf , 1 - International Nuclear Information System (INIS)

380

CALLSC - 7 GIDYUP -

ORNL DWG NO. 72-853

SAVE RETURN ADDRESS

POWER= POLD+ PAVG

2 T

UPDATE ACCUMULATED

POWER

3 POLD=PAVG NOW=OLD

C E D

SCHDLE RETURN

ADDRESS y

Z SCHDLE 7

REL FOR / s,c /

1' CALC. ALL CLEAR BURN-UP & TRANSIENT REACTIVITY FLAG

Fig. 52. Logic Block Diagram of Program SC.

Page 388: WSIBf , 1 - International Nuclear Information System (INIS)

381

PROGRAM SC C REVISED 1 5 / 7 1 TO RUN AS WW/ * * * C 0 M P I L E R E L O C A T A B L E * * * * * * * * * * * *

COMMON 1NAG IN f CCL0CK, CYERT8 < 8 ) ,CYCLE,8 (12) -RHOTOT. IRHOSC COMMON IRHC3EX.IREACT,IRSTM,IRANST fPOLD tP0WT0T,NOLTIM,PAVG ,NOWTIM COMMON DIGWD8,RQTRIM,RH0DIF, INIT5,ACCP0W,R5,R10,RXE,RSM,RFP DIMENSION B l C l I ) , D O C I I ) f D I C l l ) » I R E T C U

INTEGER CCL0CK, CYERT0,CYCLE INTEGER P0LD,P0WT0T,PAVG•DlGtfD8,R9TRIM »RK0DIF

C SAVE Q (THE RETURN ADDRESS) I N I R E T . ASSEM $ 4 8 0 0 , 1 RET

IDT=N0VTlM-N0LTIM DT=FL0AT< IDT) * . 016667

I F CBT . L T . D.O .OR. DT.GT. 6 0 . ) GO TO 2 C CALC. AVG. POWER I N WW.

P =FL0 AT< P0LD+PAW > / 2 0 . ACCP0V=<P*DT)/8.64E3+ACCP0W PON TO T =1F1X <ACCP0W)

C PUT MXDAYS * 1 0 INTO VALUE TABLE. ASSEM SCI A , $ 6 6 9 0

3 F 3 s I . 9 7 3 E 3 3 * P / B C 1 > C EQUA f |

DO C I ) s - 7 . 58658E1 $ * P 00 ( 2 ) * - F 3 * B < 2 ) * 3 . 7 2 9 E - 2 I DOC3 > * A . 1 6 8 4 5 E 1 0 * P - 2 . 8 7 £ - 5 * 8 < 3 ) D0C4)= I . l 7 4 2 4 E 9 * P 4 2 « 8 7 E - 5 * B C 3 > - 2 . 0 9 E - 5 * B < 4 ) - 2 . 0 5 E - i 8 * F 3 * 8 < 4 > DO < 5 ) 2 1 . 4 5 8 4 9 E I 0 * P - 7 . 2 3 E - 7 * 8 C 5 > DO ( 6 ) =7 . 23E-7 *BC5> - 8 . 3 S 6 E - 2 2 * F 3 * 8 <«> DO <7) s 3 . 9 4 | £ ~ 2 2 * F 3 * 8 Cj6>-< 1 . 9 8 E - 7 * 2 . 9 2 E - 2 1 * F 3 ) * 8 C7J D O C 8 ) = 4 « 4 4 5 E - 2 2 * F 3 * 3 C 6 ) - C U 4 9 £ ~ < » + 4 . 4 O E » 2 0 » F 3 ) * 8 C S ) D 0 < 9 ) s 6 . 9 8 4 l 2 E 9 * P + F 3 * < 2 . 9 2 E - 2 1 * 8 ( 7 M 4 . 4 0 E - 2 0 * 8 ( 3 > )

I - 3 . 6 6 4 E - 6 * 8 ( 9 ) DO C10> « 3 . * 6 4 E - 6 * B « 9 ) > 5 . 0 2 9 E ~ 2 0 * F 3 * B ( 1 0 ) D O C I I > * 6 . l 8 0 3 2 E ~ I t * P CONST =DT/ <8 . 5 4 8 £ - 2 2 * 8 C U ) 0R5 =42 . 1 4 8 E - 2 2 * DO t i > *C8»ST DR10 s - 9 . 8 E - 2 1 * 00 (2 )»C0NST D R X E = - 2 . 6 2 5 E - I 8 * D O ( 4 ) * C 0 N S T DRSM s - 6 . 7 E - 2 0 * DO CI O>»C0NST DUFP s - 0 0 C11)*C9NST

DRs 0R5+DR10+SRXE*8R$M4»&tPP RH0T0T=RH§T0T+9R

RHOSC ' R M 8 T 0 T / . 0 0 0 0 7 I t IRHOSC-RHOSC

ASSEMSC27 * S669D R5 SR54-0R5 RIOsRIO+DRIO RXE=RX£+CRXE RSM = RSM+0RSJ1 RFPsRFP+DRFP

re I 3 I M , I I 13 B 1 U ) ? 8 U > + D O U > « 0 T C E0UA #2

01C1) S - 7 . 5 9 6 5 8 E I I * P D 1 < 2 ) s - F 3 * 8 1 C 2 » * 3 . 7 2 9 E - 2 1 DIC 3> s A • i 6 8 4 9 E I 0 * P - 2 . 8 7 E - 5 * 8 1 1 3 1 D ! 1 4 > f < . 1 7 4 2 4 E 9 * P + 2 . 8 7 £ - 5 » 8 1 C $ ) - 2 . 0 9 £ - 5 * 8 i C 4 ) - 2 . 0 5 E - I 8 * F 3 * B I ( 4 ) 01C 5 ) s i . 4 5 8 4 9 E 1 0 * P - 7 . 2 3 E - 7 # 8 1 < 5 ) Dl ( 6 ) s 7 . 2 3 £ - 7 * 3 1 < 5 ) - 8 » 3 8 6 £ « 2 2 * r 3 * 8 1 < 6 )

Page 389: WSIBf , 1 - International Nuclear Information System (INIS)

382

0 1 ( ? ) = 3 . 9 4 1 £ - 2 2 * F 3 * B I ( 6 ) - ( I . 9 8 £ - 7 + 2 . 9 2 E - 2 l * F 3 ) * B 1 ( 7 ) D l ( 8 ) s 4 . 4 4 5 £ * 2 2 + F 3 * B l ( 6 ) - ( l . 4 9 E ~ G M . 4 0 E - 2 0 * F 3 ) * B I ( 8 ) D l ( 9 ) s € . 9 8 4 1 2 E 9 * P * - F 3 * ( 2 . 9 2 E - 2 l * B l ( 7 ) 4 > 4 . 4 0 E - 2 0 « < ! U ( 8 ) )

J - 3 . 6 6 4 E - 6 * 8 1 ( 9 ) 0 1 ( J O ) = 3 . 6 6 4 E ~ 6 * B 1 ( 9 ) ~ 5 . 0 2 9 E - 2 0 * F 3 * B I ( 1 0 ) D i ( l l > s 6 . l 8 0 3 2 E - l t « P 00 M 1 = 1 ,11

14 0 ( 1 ) : 8 ( 1 ) + ( D D ( l ) + 0 l ( ! > ) * • 0T 2 NOLTIM s NOWTJfl

POLDsPAUO IFdRANST «E0. I ) 00 70 33

C NOT TRANSIENT SO RELEASE SC CALL RELESE(SC)

33 IRANSTsO C RELEASE SC AND SCHEADOLE THE RETURN ADDRESS.

ASSEM S 0 8 0 3 f $ * 4 F 4 » $ ! 9 0 0 , 9 C t S < 8 0 0 9 l f t E T 9 S 6 8 0 3 , S * 4 F 4 f $ l 2 0 7 , $ 0 9 f t 4 E A END

Page 390: WSIBf , 1 - International Nuclear Information System (INIS)

m

2.55 SCNFLO

2.49 .1 Classification

On-line/drum resident/Fortran language/nonreentrant/relocatable

2.55.2 Purpose

SCNFLO operates a stepping switch to drive a pneumatic multiplexer. The program uses an algorithm by Haack® to convert the pneumatic data from differential pressure to equivalent flow for the HFIR fuel beam tube and reflector regions. Alarm messages ore typed if the out-oMimits values are measured.

2.55.3 Description

SCNFLO is entered by manual functions 23 or 24 and the operator console button labeled HYDRAULIC SCAN. Ujpon entry, the program saves the value of the program function number and the right-hand digiswitch value. If the function number is not 23, a test is made to determine whether the function is 24. If the function requested is 24, a program flag is set equal to 2, and the program sets a busy flag to prevent reentrancy. If function 24 has been selected, the program executes by first manipulating the scanner valve to the home position by using the digital output word connected to a stepping switch relay. Digital inputs connected to a resistor network on the switch measure the position of the stepping switch to verify the desired position. The high-level channel $F is connected to a pneumatic-to-current converter, and a voltage proportional to the pneumatic point selected is read by subroutine RDPT and stored in the data black DATA. After all eleven points care multiplexed and read, the program transfers the current value of the primary flow and corresponding differential pressures from the LOCORE value table to the data block*

If function 23 or 24 was selected, the program calculates the current value of the How through each of the flow channels and types the data table on the control room typewriter* If function 23 was requested, the program uses the current value of the presses read by the pneumatic multiplexer and saves these values in common as standard values for alarm purposes tn future scan operations. If neither function 23 or 24 is selected, the program assumes that operation of the HYDRAULIC SCAN button has been the initiating action. In this mode the program mokes a 15-min timer call at priority level 6 for SCNFLO and continues the calculation in the same manner described above, except that a data table will not be listed if all the values are within the alarm limit of the standard values.

The logic block diagram of SCNFLO is shown in Fig. 53.

Page 391: WSIBf , 1 - International Nuclear Information System (INIS)

384

2.55.4 User Instructions

The hydraulic scan program SCNFLO is put into routine self-catling operation by turning on the HYDRAULIC SCAN lamp and pressing ENTER. A single operation of the program is obtained by using demand function 24. The standard alarm values for the hydraulic scan program are stored on drum $D/7F7\ as part of the initial common. These values are read into core when the SCAN O N is initiated at the beginning of each reactor cycle. However, demand function 23 will replace the core common values with the current hydraulic values by entering manual function 23 with a +99 in the right-hand dig?sw«tcH. This causes the program to use the current values of ail hydraulic data as standard for future operation of the program during the current reactor fuel cycle. The initial values on drum $D are changed only by the CHRIS program.

2.55.5 Change Considerations

SCNFLO operates as a self-aver laying program. The buffer IBUF'l) is used as a 460 message word buffer after the initial portion of the program is executed. This buffer is the data table buffer constructed by the write statements. It should be accounted for in any program modifications. The standard alarm values are stored in common beginning with location $7F71. Fourteen values are required.

Page 392: WSIBf , 1 - International Nuclear Information System (INIS)

38S

ORNL DWG NO. 72-804

MAM. fCN 23 FCN. 24 CONSOLE LITE NO. MESSAGES

Fig, 53. Logic Block Diagram of Program SCNFLO.

Page 393: WSIBf , 1 - International Nuclear Information System (INIS)

386

PROGRAM SCNFLO C R E V . 1 0 / 2 6 / 7 1 10 TEST F0R LARGE FL0VS & T0 RUN WITH SCANIN AS C BEGINNING PR0G. * * * N 0 T E * * I B U F ( I ) WILL BE USED BY FL0W AS IBUFC460) C WHICH WILL EXTEND INT0 SCANIN. C THE ASSEM BEF0RE THE CALL SETBUF T0 TYPE THE DATA C TABLE I S USED T0 M0VE IBUF F0RWARD S10B L0CATI0NS T0 SAVE C KL0BBERING THE RELOCATING ROUTINE AT . 0 0 0 0 5 .

DI ME NS10 N ITEMP < 8 ) , I B U F ( I > DIMENSION IDATA(1> , I C D B ( 1 7 ) , I D I F F ( 1 4 ) , 1 E P S ( 1 4 ) , 1 ADR(1) DIMENSION S D B ( 1 4 ) , CDB(17),QCDB( 1 6 ) , D I F F ( 1 4 ) , E P S I ( 1 4 )

DIMENSION I P S T A B ( 1 1 ) , I P 0 S O ) , I T A B ( I ) EXTERNAL RDPTt SCANER 9DIGC0N D A T A I E P S ( l ) 9 I E P S ( 2 ) 9 I E P S ( 3 ) 9 I E P S ( 4 ) 9 I E P S ( 5 ) , 1 E P S ( 6 ) , I E P S ( 7 ) 9 I E P S ( 8

1 ) , I E P S ( 9 ) t I E P S ( 1 0 ) , I E P S ( 1 1 ) 9 I E P S ( 1 2 ) 9 I E P S ( 1 3 ) 9 I E P S ( 1 4 ) 9 I C O N S T 9 I C D B 2 ( 1 ) 9 ICDB(2 ) , I C D B ( 3 ) v I C D B ( 4 ) f I C D B ( 5 ) f I C D B ( 6 ) ,ICDB ( 7 ) , I C D B ( 8 ) , I C D B ( 9 3 ) , I C D B ( 1 0 ) 9 I C D B ( 1 1 ) y I C D B ( 1 2 ) , I C D B ( 1 3 ) V I C D B ( 1 4 ) 9 I C D B ( 1 5 ) , I C D B ( 1 6 ) 9 I 4CDB(17) 9 ICTR 9 IFLAG 9 IH0MCR 9 IW0RDA 9 IC0N 9 INUMI 9 INUM2 9 INUM/147 9 168 9 5 1 5 1 , 1 5 5 , 1 1 9 , 1 2 7 , 1 2 3 , 1 8 4 , 5 3 , 6 1 , 5 7 , 4 1 , 3 * 2 1 , 2 0 * 0 , 1 0 , 5 3 , 1 , 9 , 1 4 /

EXTERNAL YERTO,M0NT0,DAYT0,H0RM1N COMMON I B L K ( $ 7 0 ) y I S D B ( 1 4 )

C C FUNCTIONS 23 AND 24 ENTER HERE9 ALSO ENTERED C VIA A TIMER CALL. C FUNCTION 23-REPLACES THE STANDARD BLOCK DATA. C w 24-TYPES OUT NEW DATA T0 OPERATOR. C TIMER CALL PERFORMS L I M I T CHECKING. C

ASSEM$ 0622 ,$6800 ,1TAB 9 $ C2 04 9 $6800 ,1RDIG CALL SETBFR( IBUF a 25)

1F( ITAB .NE. 23)G0 10 9 I F d R D I G . N E . 9 9 ) G0 TO 199 I FLAG=1 G0 TO 12

9 I F ( I T A B .EQ. 2 4 ) IFLAG"2 IFOFLAG .NE . 0 ) GO TO 12

C TIMER CALL FOR THIS PROGRAM. ASSEM $C000,+SCANER,$8032,$6803 ASSEM $ 5 4 F 4 , $ 1 0 3 6 9 $ 8 0 0 0 , $ E

C CHECK CONSOLE REQUEST FLAG, ASSEM $ C 4 0 0 , $ 7 F 3 0 9 $ F C F 9 $ 1 3 2 , $ 1 8 0 0 , * , * 1 2 0

12 ASSEM $C400,$6F,$6800,1BSFLG I F ( I B S FLG .NE . 0 ) GO TO 99 ASSEM $ A 0 1 , $ 6 4 0 0 , $ 6 F DO 88 1= 1 ,9

88 I P S T A B d ) = 32+1 IPSTAB( IO) = $50 IPSTABd 1) = $41

1 I REG = $20 C HOME THE SCANNER.

ASSIGN 2 TO IG0 GO TO 10

2 ASSIGN 3 TO IGO GO TO 20

3 ASSIGN 5 TO IGO C CLEAR THE HOME B I T .

GO TO 30

Page 394: WSIBf , 1 - International Nuclear Information System (INIS)

387

5 ASSIGN 4 10 IG0 G0 TO 20

C NOW 00 A RTJ 10 DACDRI * * 4 ASSEM $5488 , * , *UW0RDA) f $AOOO,$3FF t $68OO t IPOS

C POSITION READ AND STORED* I F d P O S .EQ, $200) GO TO 60

C $200 = HOME POSITION* 1=1

21 I F ( I P S T A B C I ) .EQ. IPOS) GO 10 2 2 1 = 1+1 I FC I .EQ. 12) GO 10 50 GO 10 21

22 IPOS = I J = IP0S+1 I F ( I DATA <J) .NE. 0 ) GO TO 60

C DATA TAKEN PREVIOUSLY GO STEP. C NOW READ INPUT SIGNAL AND STORE*

ASSEM SAO F f $5400 ,+RDPT f $ 8 6 4 , $ 6 8 0 0 , I DATA IDATA(J) = IDATA ICTR s ICTR+1

C SEE I F ALL 11 INPUTS READ* I F ( I C T R .GE. I I ) GO TO 80 IFCIP0S . L T . 11) GO IB 60

C SEE I F HOMED MORE THAN 4 TIMES, I F SO - Q U I T * 50 IHOMCR = IHOMCR+I

IFUH0MCR *GT* 4 ) GO TO 75 GO TO 1

C STEP THF SCANNER 60 IREG = $10

ASSIGN 61 10 IG0 GO TO 10

61 ASSIGN 62 10 IT IME C PULSE DELAY 66 CALL T IMER( IT IME, IC0NST, INUM1,1 TEMP)

CALL DISPAT 62 ASSIGN 63 10 IGO

GO TO 30 63 ASSIGN 4 10 IT IME

GO TO 66 C SET B IT ROUTINE

10 ASSEM $COO,$40FF,$E0009$COOO,$CSOO,IREG ,$5400»+DIGC0N 60 TO IGO

C WAIT ROUTINE 20 CALL TIMERCIG0, IC0NST,INUM2,ITEMP)

CALL DISPAT C CLEAR B IT 30 ASSEM $C00 ,$40FF ,$£000 ,$8000 ,$C800 , IREG,$5400 ,+D IGCON

GO TO IGO C XFR FLOWS AND DELTA P7'S FROM VALU TO DATA BLK*

80 ASSEM $A0F ,$60FF ,$C02 ,$C79D,$6A00 , ICDB(12 ) , $DFE ASSEM $ 1 7 1 , $ 1 8 F A , $ A I F , $ 6 0 F F , $ C 0 2 , $ C 7 9 D , $ 6 A 0 0 ASSEM I C D B ( 1 5 ) , $ D F E , $ 1 7 1 , $ 1 8 F A IF ( IFLAG .NE . 1) GO 10 110

95 DO 94 K = 1 , 1 4 94 ISDB(K) = ICDB(K)

GO TO H O 75 DO 7 6 K = 1 ,11 76 IFCIDATA(K) .EQ. 0 ) ITYPsK

Page 395: WSIBf , 1 - International Nuclear Information System (INIS)

388

CALL SETBFRdBUF,40) WRITE!14 ,7?) ITYP

77 F0RMAT(2OHCANN0T SCAN P O S I T I O N , I X , 1 2 ) GO TO 120

99 WRITE (9 9 8 ) 98 F0RMAT(30HHYDRAULIC DATA PROGRAM I S BUSY)

GO TO 120 199 WRITE ( 9 * 1 9 8 )

GO TO 120 198 F0RMATC21HCHECX RT, DIGISWITCH.) 110 DO 112 I " 1 , 1 4 112 I D I F F ( I ) = ICDBCI) - I S D 8 C I )

I F( I FLAG .NE . 0 ) GO TO 100 DO 116 I s 1 , 1 4

C CHECK LIMITS* I F ( I A B S ( I D I F F d ) ) - I E P S ( I ) ) l 1 6 , 1 1 6 , 1 0 0

1 16 CONTINUE GO TO 120

C OUT - 0 F - L I M T S , GO TO FLOW AND L IST TABLE• 100 ASSEM SC400,+YERTO , $ 6 8 0 0 , 1 YER ,$C400,+M0NT0 ,$6800,1M0N

ASSEM $C400,+OAYT0,$6800,1DAY,S C400,+H0RMIN,$6800,1HR ASSEM $CiA,$C69D,$6800, IMVDY IMWDY = IMWDY/10

C COMPUTES FLOW RATES AND OUTPUTS PRESSURE OR0PS AND FLOW RATES 130 00 107 I s I , 1 4

I F C 1 - 8 ) 1 0 2 , 1 0 2 , 1 0 3 102 C=7 .328E-3

G0 T0 106 MM I F C I - I 1 > 1 0 4 , 1 0 4 , 1 0 5 104 C=6 .106E-2

GO TO 106 105 C = I . O E - 2 106 SDBCI )=C*FLOAT( ISDB( I ) )

CDBCI> =C*FL8AT(ICDB C1> > D I F F ( I ) =C*FL0 AT ( I D I F F d )> S P S I ( I ) = C * F L 0 A T ( I E P S ( I »

107 CONTINUE QHB=0. 00 108 1=1 , 4 Q C D B ( 1 ) = 6 . 6 3 8 * ( C D 9 ( I ) ) * * . 5 Q C D B ( I + 4 ) = 8 . 8 5 1 * ( C D B ( l + 4 > ) * * . 5

108 QHB=QCDB(I )+QHB QEF=QCDB(5J+QCDB(6)+QCDB(7) Q C D B ( 8 ) = ( C D B ( 8 ) * 2 0 8 8 2 . ) * * 0 . 5 3 5 3 QCDB(9)=199.*(CDB < 9 > / 1 1 5 . ) * * 0 . 4 2 QCDBd0) = ( 1 . 7 0 2 E + 4 * C D B ( 1 0 ) > * * 0 . 5 2 4 QCDBC11)=.0l QCD3(12)=ICDB(15> QCDB (I! 3 ) = ICDB(16) QCDB(14)=ICDB(17) QT0TAV=(QCDB(I2)+QCDB(13)+QCDB(14)) /3 . Q=QTOTAV-QHB-QEF-QCDS(9)-QCDB(10) Q C D B ( 1 5 ) = ( - 6 . 6 9 E - 4 * Q + S Q R T ( 1 3 . 4 E - 4 * Q * * 2 + 2 . 2 6 E + 4 * C D B ( 1 1 ) ) ) / 2 . QCDB ( 1 6 ) =Q-QCDB(15) CDB(I 5 ) = C D B ( 1 1 ) + 5 . 9 2 4 E - 8 * Q C D B ( 1 6 ) * * 2 DHC0R1=(8.0 E - 8 * Q C D B ( 1 6 ) * * 2 ) / 2 . 3 2 7 8 CDBC 16) =CDB (15 ) -DHC0RI

DO 150 1=1 , * 6

Page 396: WSIBf , 1 - International Nuclear Information System (INIS)

389

I F <ABS<QCDB<D) . L T . 1 . E 0 5 #0R, ABS CCDB ( I ) ) . LT . I .E05) G0 T0 150 QCDBCI)=1«E05 CDB< I ) = 1 .E05

150 C0NTINUE C MOVE IBUF FORWARD BY $110 LOCATION TO KEEP FROM KL0BBERIN6 . 0005

ASSEM $ C 8 0 6 , $ 8 0 0 0 , $ 1 1 0 , $ 6 8 0 3 CALL SETBFR(IBUF,460)

WRITE < 9 , 1 1 5 ) IM0N,IDAY,1YER,IHR,IMWDY 115 FORMAT ( I 2 „ l H - , I 2 , l H - , I 2 , 2 X t l 4 t 3 X , 7 H M W D A Y S = , l 4 )

WRITE<9,1000) WRITEC 9 , 1002) <SDB <J ) , CDB (J ) ,DIFF<J ) ( EPSI (J ) ,QCDB ( J ) , J = 1 , 1 4 ) WRITE<9,1006)CDB<15),QCDB < 1 5 ) , CDB(16),QCDB <16) CONTINUE

1000 F0RMAT< UX,53HSTANDARD CURRENT CHANGE ALARM CURREN 2T /1X ,8HP0S IT I0N ,2X ,54HDR0P-PS I CROP-PSI IN DROP L IMIT 3 FL0V-GPM )

1002 FORMAT(2X,4MHB-1,4< F I 1 * 2 ) , F 1 2 . 0 / 2 X , 4 H H 3 - 2 , 4 ( F 1 1 . 2 ) , F 1 2 . 0 / 2 X , 4 K H B - 3 2 , 4 < F 1 1 . 2 ) , F 1 2 . 0 / 2 X , 4 H H B - 4 , 4 < F 1 1 . 2 ) , F 1 2 * 0 / 2 X . 4 H E F - 1 , 4 < F 1 1 . 2 ) , F 1 2 . 0 / 3 2 X , 4 H E F - 2 , 4 ( F I 1 . 2 ) , F 1 2 . 0 / 2 X , 4 H E F - 4 , 4 < F 1 I . 2 ) , F 1 2 . 0 / 2 X , 4 H B E - R , 4 ( F 1 1 . 4 2 ) , F 1 2 . 0 / 2 X , 4 H V E R T , 4 ( F 1 1 . 2 ) , F 1 2 . 0 / 2 X , 4 H C . R . , 4 < F 1 1 . 2 ) , F 1 2 . 0 / 2 X t 4 H F . 5 E » , 4 ( F 1 1 . 2 ) , F 1 2 » 0 / 2 X , 4 H F T - l , 4 ( F I 1 , 2 ) , F 1 2 » 0 / 2 X , 4 H F T ~ 2 , 4 ( F 1 1 . 2 ) , F 1 2 . 6 0 / 2 X , 4 H F T - 3 , 4 ( F 1 1 , 2 ) , F 1 2 . 0 )

1006 F0RMAT(1X,7KTARGET , F 2 0 . 2 , 2 3 X , F I 1 . 0 / I X , 1 O H F U E L ASSEM,F17 .2 ,23X,F11 2,0) 120 ASSEM $ A 0 0 , $ 6 4 0 0 , $ 6 F

CALL RELESE (SCNFLO) END

Page 397: WSIBf , 1 - International Nuclear Information System (INIS)

390

2.56 SETOD

2 .49 .1 Classification

On-line/drum resident/assembly language/nonreentrant/relocatable

2 .56 .2 Purpose

SETOD provides a method for manually setting the time of day from the operator console.

2 .56 .3 Description

SETOD is entered by manual function 6 and upon entry reads the value entered in the right-hand digiswitch. If the value is reasonable, it is converted and stored in hours and minutes. The program nulls the current value of seconds and schedules pro-gram DIGCLK at priority level 8 and releases. If the reasonableness check indicates an unacceptable value, an illegal message is typed and the program is released.

The logic block diagram of SETOD is shown in Fig. 54.

2 .56 .4 User Instructions

To set the current time of day, the user selects function 06, with the right-hand digiswitch containing the present time of day using the 24-hr clock. The value selected must be positive and right-justified. The value of hours must be less than 25, and the value of minutes must be less than 61. Whenever the ENTER button is pressed, accept-able values will be entered in the computer, and the digital display of time will change 1 min from the time the ENTER button is pressed. Therefore, synchronizing pressing the ENTER button with the sweep hand of the real time clock is advisable.

2 .56 .5 Relationship to Other Programs

SETOD uses the time of day table in program TOD and schedules program DIGCLK.

Page 398: WSIBf , 1 - International Nuclear Information System (INIS)

391

ORNL DWG NO. 72 -813 MAN. FCN. 6

MESSAGE N0.1 ILLEGAL ENTRY !

54. Logic Block Diagram of Program SETOD.

Page 399: WSIBf , 1 - International Nuclear Information System (INIS)

392

001. NAM SET0D 1 /23 /69 002. ENT SET0D 003. EXT HORTO.MINTfl 1.SECON.DIGCLK 004 . 00A3 EQU ADE0CT($A3)

006. * IK IS PROGRAM SETS T0D AND RESCHEDULES

008 . POOOO C202 SETOD LDA- 2,Q BCD 0F LSB 0F RT . HD. 009. P0001 OBOO N0P 0

BCD 0F LSB 0F RT . HD.

010. POO 02 £201 LDQ- 1*0 01 1. P0003 0F6 4 LRS 4 012. P0004 0842 CLR Q 013 . P0005 0FE8 LLS 8 HOURS INQ, MIN. IN A 014. P0006 ODD A INQ -$25 SEE I F HRS. LEGAL. 015. P0007 0166 SQP BAD-* - l

SEE I F HRS. LEGAL.

016. P0008 0 025 INQ $25 017. POO 09 4826 STQ* TEMP 018 . POOOA 0FC8 ALS 8 MIN. IN LSB 019 . POOOB 099E INA -$61 SEE I F MINUTES LEGAL. 020 . POOOC 0121 SAP BAD- * - l

SEE I F MINUTES LEGAL.

021. POOOD 1802 JMP* G00D 0 2 2 . POOOE 1813 BAD JMP* BAD1 023 . POOOF 0961 600D INA $61 024 . POOIO 54A3 RTJ- (ADE0CT) CONVERT TO HEX 025 . POOU OOOO NUM 0 , 0 , 0

P0012 OOOO P00I3 OOOO

0 2 6 . POOl 4 6400 X STA+ M INTO POOl 5 7FFF X

0 2 7 . POOl 6 C819 LDA* TEMP 0 2 8 . P0017 54A3 RTJ- CADE0CT) 0 2 9 . POO 18 OOOO NUM 0 , 0 , 0 CONVERT HRS. 70 HI

POO 19 OOOO P001A OOOO

0 3 0 . P001B 6400 X STA+ H0RT0 P001C 7FFF X

031 . P001D 0844 CLR A 032 . POO IE 6400 X STA+ SECON

POO IF 7FFF X 033 . P0020 1809 JMP* SCHCLK GO SCHEDULE DIGCLK 034. BAD1 FWRITE SE.REL-BAD1-1.MSG-BADl- l .7.A.4 034 . P002I 54F4 034 . P0022 0 043 034 . P0023 OOOA

P0024 OOOO 034 . P0025 100E 034 . P0026 0007

P0027 OOOF 035 . P0028 14EA JMP- (SEA) 036 . SCKCLK SCHDLE DIGCLK,8 ,0 0 3 6 . P0029 54F4 0 3 6 . P002A 1208 0 3 6 . P002B 7FFF X 0 3 7 . P002C 54F4 REL NUM $54F4 RELEASE REQUEST 0 3 8 . P002D 1901 NUM $1901 0 3 9 . P002E FF02 ADC (SET0D-REL-1)

Page 400: WSIBf , 1 - International Nuclear Information System (INIS)

m

040 # P002F 0001 041• P0030 0000 042* r 0 0 5 i 4940

POO32 4C45 P0033 4741 PQ034 4€20 P0035 454C POO36 543® P0037 5921

0 4 3 .

HSG

BZS TEUPCH utm o ALF 7,ZU.ESAt SH78Y!

CUD

Page 401: WSIBf , 1 - International Nuclear Information System (INIS)

2.57 STATGO

2.57.1 Classification 'MMMMMMMMMMMMMWMNMMM W<

On~Um/dt tm resident/assembly fanguage/aonreentrant/reiocetoble

2 .$7 .2 Purpose

STATGO»ets up and initiates the highspeed data acquisition program MUXBUF. STATGO interrogates the operator comoie for options stlflcttd by the user, as described in program FUN4> The basic purpose is to establish the par orator vofu« for the neutron-noise analysis, power spectral density calculation ami to schedule the noise analysis program 0UIKRY directly, if the option of reanalyzing the same data has been selected.

2.57.3 Description

Upon entry, STATGO requests user No. 2 for use by the 1572 driver. The 1572 driver is initiated, and, if the request is refected, STATGO is released. Otherwise, the program establish* the parameter list in MUXBUF corresponding to the current value of scan rate and block size entered in the left- and right-hand digiswitches, respectively. If new data are requested, the program tests for the maximum data block size; if more than 130,000 points are requested, a "Fault* message Is typed and the program is released. Otherwise the Fourier analysis block size requested is letted for maximum and minimum. If a value less tfoan 2 or greater than 9 is requested, an "Error" message is typed, and the program is released. Otherwise, Hie requested values are assumed to be valid, and the values for the parameter list are calculated and saved in PAMLST in MUXBUF.

The requested scan rate Is tested for the maximum permissible value of 2049. If It is illegal, an "Error" message is typed, ami the program is released. Otherwise, the constant is calculated for the 1572 that wil l generate the requested scan rate. The pro-gram starts the 1572, and exits with a release.

The logic block diagram of STATGO is shown in Fig. 55.

2 .57 .4 User Instructions

The user instructions for this program are to be followed when FUN4 is executed. The sign in the right-hand digiswitch indicates the number of data channels to be recorded. Single-channel data are indicated by a minus, or a negative, sign. Two channels are indicated by a plus sign, but this option is not currently available. The right-hand digi-swttch contains the number of 100-word blocks (base 10) to be digitized and stored on mass memory for subsequent analysis. If zero data points are requested, STATGO will schedule BULKRY to reanalyze the previously recorded data block with the indicated block size for this entry. The left-hand digiswitch uses the sign as a plotting option

Page 402: WSIBf , 1 - International Nuclear Information System (INIS)

395

indicator* TH© scan rate in points par second is entered in the left-hand digiswitch, right-Justified, The left-most digit indicates the block size to be used during the fast Fourier transform. The largest block is 2048 and is indicated by the value 9. Reducing the value by 1 reduces the block size by t / 2 .

2 .57.5 Relationship to Other Programs

STATGO uses the 1572 driver (PR 172) and the parameter list in program MUXBUF. Changes in these prof rams should be rectified with STATGO.

Page 403: WSIBf , 1 - International Nuclear Information System (INIS)

396

MAN. FCN. 4 f ^ STATQO ^

I SAVE CONSOLE | | POINTER. QSBRJ

ORNL DWC N D . 7 2 ' 8 3 0

NO. MESSAGE

1. NO. M S . TOO BIG 2- BATE OR MBIT NOT LEGAL 3. SCAN RATE IS: ( )

Fig. 55. Logic Block Diagram of Program STATGO.

Page 404: WSIBf , 1 - International Nuclear Information System (INIS)

397

001« 002. 0 0 3 . 0 0 4 . 0 0 5 . 00A4 0 0 6 . 00EA

00 F4 00A2 0089

0 0 7 . POOOO <800 STAT POOOI 0088

0 0 8 . P0002 0C02 0 0 9 . P0003 5400 X

P0004 7FFF X 0 1 0 . P0005 FFFE 011 . P0006 0000 0 1 2 . P0007 0000 0 1 3 . P0008 0162 0 1 4 . P0009 1800

POOOA 0086 0 1 3 . POOOB COOO X CLXI

POOOC 7FFF X 0 1 6 . POOOD 09FD 0 1 7 . POOOE 60FF 0 1 8 . POOOF 6800

P0010 007F 0 1 9 . POOli 0822 0 2 0 . POO 12 ODFC 02! . POOI3 OAOJ 022* POO!4 6201 0 2 3 . POOI5 OAOO 0 2 4 . POO 16 6202 0 2 5 . POOI7 OAOA 0 2 6 . POOI 8 6203 0 2 7 . POO19 E870 0 2 8 . POOIA C625 0 2 9 . POO IB OICD 0 3 0 . P001C B012 031 . POO ID 01CB 0 3 2 . P001E C625 0 3 3 . POO IF 012A DATPL 0 3 4 . P0020 0842 0 3 3 . P0021 0864 0 3 6 . P0022 4101 0 3 7 . P0023 6865 0 3 8 . P0024 9000 XPR

P0025 0514 0 3 9 . P002S 0128 0 4 0 . P0027 5811 0 4 1 . P0028 1835 0 4 2 . P0029 1850 JPMCK 0 4 3 . P002A 685E TW0CH 0 4 4 . P002B OAOl 0 4 5 . P002C 6101 0 4 6 . P002 D C85B 047 . P002E 1801

NAM STATGO REVISED 2 / 2 5 / 6 9 ENT STAT EXT PAMLST,BULKRY EXT DRI72,C0NECT,INT72 EQU ADEOCTC $A4) EQU ADISP(SEA) ,AM0NI ($F4) ,A0DEC($A2) ,AHEX($89)

STQ QS3R

ENQ 2 RTJ ORI72 USERS NO. I N Q=2

NUM - 1 MASTER CLR. 1572 . NUM 0 3 WORD PARAM. LIST NUM 0 SQP C L X I - * - l ERROR C0DS = $8000 FROM 72DRI . JMP FI

LDA =XPAMLST

INA - 2 STA- I STA INCNT

TRA Q INQ - 3 ENA 1 STA- 1,Q ENA 0 STA- 2,Q ENA $A STA- 3,Q LDQ* QSBR LDA- ( $ 2 5 ) 9 Q HEX 0F LSB 0F VAL. DIGSW. SAZ JPMCK-* - ! SEE ! F N0 DATA WANTED. EOR- $12 12 CONTAINS FFFF. SAZ JPMCK-* -1 LDA- ( $ 2 5 ) ,Q SAP TW0CH-*- l CLR Q TCA A STQ- 1,1 STA* BUFNUM SUB =N 1300

SAP B A D - * - 1 RTJ* RATCH JMP* DA RAX JMP* MCHK N0 NEW DATA WILL BE TAKEN. STA* BUFNUM ENA 1 STA- 1,1

LDA* BUFNUM JMP* BAD

Page 405: WSIBf , 1 - International Nuclear Information System (INIS)

398

0 4 8 . BAD FWRITE SE.Fl -] 0 4 8 . P002F 54F4 0 4 8 . POO 30 0D59 0 4 8 . P0031

POO 32 0060 OOOO

0 4 8 . POO 33 100E 0 4 8 . P0034

P0035 0008 OOAC

0 4 9 . P0036 14EA JMP- (ADISP) 0 5 0 . P0037 1859 JMP* FI 051 . P0038 OBOO RATCH N0P 0 052 . POO 39 E850 LDQ* QSBR 053 . P003A C643 LDA- ( $ 4 3 ) , Q 0 5 4 . P003B 6852 STA* SCANRT 055 . P003C AO 00 AND =N$FO

P003D OOFO 0 5 6 . P003E 0101 SAZ A L R T - * - l 0 5 7 . P003F 182 E JMP* BAR 0 5 8 . P0040 C84D ALRT LDA* SCANRT 0 5 9 . P0041

P0042 AO 00 OFOO

AND =N$FOO

0 6 0 . P0043 0F48 ARS 8 0 6 1 . P0044 6846 STA* LG2BIT 0 6 2 . POO 45 09FD INA - 2 063 . POO 46 0132 SAM J M P 5 - * - l 064 . P0047 09F7 INA - 8 0 6 5 . P0048 0131 SAM 0KMBIT-* 0 6 6 . P0049 1824 JMP5 JMP* BAR 0 6 7 . P004A C840 0KMBIT LDA* LS2BIT 0 6 8 . P004B 0902 INA 2 N0 0 6 9 . P004C

P004D 6400 OOOC

X X

STA PAMLST

0 7 0 . P004E P004F

8000 OFBE

ADD =N$FBE

071 . P0050 6802 STA* SHIFT 072 . P 0051 0A01 ENA 1 0 7 3 . P0052 OOOO SHIFT NUM 0 074 . P0053 6103 STA- 3 , 1 075 . P0054 0FC2 ALS 2 076 . P0055 6104 STA- 4 , 1 0 7 7 . P0056 6836 STA* NBLK 0 7 8 . P0057 C831 LDA* BUFNUM 079 . P0058

POO 59 2000 0064

MUI =N100

080 . P005A 3832 DVI* NBLK 081. P005B 6105 STA- 5,1 082 . P005C 1CDB JMP* (RATCH) 083 . P005D E82C DA RAX LDQ* QSBR 084. P005E C644 P0SSCN LDA-• ( $44 ) ,Q 085 . P005F E82E LDQ* SCANRT 0 8 6 . P0060 0F64 LRS 4 0 8 7 . P0061 54A4 RTJ- (ADE0CT) 0 8 8 . P0062 OOOO NUM 0 089 . P0063 OOOO NUM 0 090 . P0064 OOOO NUM 0

MSB 0F ADD. IN BCD

OF 100K THIS IS

UNITS LG2N

T0 BE SUB. FR0M DI

Page 406: WSIBf , 1 - International Nuclear Information System (INIS)

399

0 9 1 . P0065 E82A 0 9 2 . P0066 40FF 0 9 3 . P0067 09FB 0 9 4 . P0068 0134 0 9 5 . POO69 9000

P006A 07FD 0 9 6 . P006B 0121 097 . P006C 1809 0 9 8 . BAR 0 9 8 . P006D 54F4 0 9 8 . P006E 0D59 0 9 8 . P006F 0022

P0070 OOOO 0 9 8 . P0071 100£ 0 9 8 . P0072 OOOB

P0073 0077 0 9 9 . P0074 14EA 100. P0075 8000 ALL0K

P007 6 0801 101 . P0077 6816 102. P0078 18IB 103 . P0079 C109 MCHK 104. P007A 680E 105. P007B 5SBC 106 . P007C E80D 107 . P007D C605 108 . P007E 0133 109 . P007F 0A01 110 . POO80 6107 111 . P0081 1803 112. POO82 OAFE N0PLT 113 . POO83 6107 114 . F2 114. P0084 54F4 114. P0085 1203 114. POO86 FFFF X 115. POO87 1809 116. POO88 0001

P0089 0001 P008A 0001 P008B 0001 P008C 0001 P008D 0001

117 . P008E 0001 P008F 0001

1 1 8 . P0090 54F4 F1 1 1 9 . P0091 1901 REL 120 . P0092 FF6E 121 . P0093 C8F4 GIT 122. P0094 6109 1 2 3 . P0095 0003 124 . P009o COOO

P0097 0D40 125. P0098 38F4 126. P0099 680A

127 . P009A 180B

LDQ* INCNT STQ- I INA - 4 SAM BAR-+-1 SUB =N2045

SAP BAR-+-1 JMP* ALL0K FVRITE $E,F1 -BAR- l f MSG5-BAR- l , 11 , A , 5 , 9 , 0 , X

JMP- (ADISP) ADD =N2049

STA* SCANRT JMP* GIT LDA- 9 , 1 STA* BUFNUM PICK UP PREVIOUS BUFNUM FOR THIS RTJ* RATCH LDQ* QSBR LDA- ( 5 ) , Q SAM NOPLT-* - l ENA 1 STA- 7 , 1 JMP* F2 GO RELEASE ENA - 1 STA- 7 , 1 SCHDLE (BULKRY),3

JMP* Fl BZS BUFNUM,QSBR,LG2BIT,TEMP,NBLK ,SCANRT

BSS COUNTS,INCNT

RTJ- (AMONI) RELEASE ALLOCAT. CORE NUM $1901 ADC (STAT-REL) LDA* BUFNUM STA- 9 , 1 E!9Q 3 LDA =N$D40

DVI* SCANRT STA* PSRREG

JMP* AUS

Page 407: WSIBf , 1 - International Nuclear Information System (INIS)

400

1 2 8 . P009B C 808 THAR LDA* PSRREG 1 2 9 . P009C 09FE INA - 1 130. P009D 6806 STA* PSRREG 131 . P009E 0C02 ENQ 2 132. P009F 5400 X

POOAO 0004 X RTJ DRI72 SAMPLE RATE M0DE•

133 . POOA1 0001 NUM 1 134. P00A2 7FFF X ADC C0NECT ADR. FOR INTERRUPT RESP. 135 . P00A3 0000 PSRREG NUM 0 INTERPT. TIME. 136 . P00A4 18EB JMP* F I 137 . P00A5 E8E3 A US LDQ* QSBR 1 3 8 . P00A6 C605 LDA- ( 5 ) ,Q 139 . P00A7 0133 SAM NUPL-*~l SKIP I F N0 PLOT WANTED 140 . P00A8 OAOl ENA 1 141 . P00A9 6107 STA- 7 , 1 STORE IN PLOT FLAG. 142. POOAA 1803 JMP* C0NFRM 143 . POOAB OAFE NUPL ENA - 1 144. POOAC 6107 STA- 7 , 1 145. POOAD COOO

POOAE 8480 C0NFRM LDA =N$8480

146 . POOAF OC IE ENQ $1E 147. POOBO 38F2 DVI* PSRREG 148 . P00B1 6106 STA- 6 , 1 149 . P00B2 54A2 RTJ- (A0DEC) 150. P00B3 0000 NUM 0 151 . P00B4 0000 NUM 0 152 . P00B5 0000 NUM 0 153 . P00B6 5489 RTJ- (AHEX) 154 . P00B7 801C ADC <MSG6-*+12) 155. P00B8 0814 TRQ A 156 . P00B9 5489 RTJ- (AHEX) 157 . POOBA 8017 ADC (MSG6-*+10) 158 . POOBB COOO

POOBC 3A20 LDA =N$3A20 ASCI I FOR = AND SPACR

159 . POOBD 6814 STA* MSG6+10 160 . OUT FWRITE SE .THAR-0UT-1 .MSG6-0UT-1 .20 .A .5 .5 .0 .X 160. POOBE 54F4 160. POOBF 0D55 160. POOCO 7FDB

P00C1 0000 160. POOC2 100E 160. P00C3 0014

P00C4 0008 161 . P00C5 14EA JMP- (ADISP) 162 . P00C6 0000 NUM 0 163 . P00C7 4245 MSG6 ALF 20,BEGIN NOISE SCAN SRs £ - 1 PPS.

P00C8 47 49 20,BEGIN NOISE SCAN SRs £ - 1 PPS.

P00C9 4E20 POOCA 4E4F POOCr 4953 POOCC 4520 POOCD 5343 POOCE 414E POOCF 2020 POODO 5352 POOD! 3D20 P00D2 2020 P00D3 2020

Page 408: WSIBf , 1 - International Nuclear Information System (INIS)

401

P00D4 2020 POODS 2020 POO06 452D P00D7 3120 P00D8 5050 P00D9 532E POO DA 2020

164. POODB OOOO NUM 0 165. POO DC 4E4F MSG4 ALF 8 , N 0 . PTS. T00 BIG

POODD 2E20 POODE 5054 POODF 532E POOEO 2054 P00E1 4F4F P00E2 2042 P00E3 4947

166* P00E4 OOOO NUM 0 167• P00E5 5241 MSG5 ALF I I , R A T E 0R MBIT N0T LEGAL

P00E6 5445 P00E7 20 4F P00E8 5220 P00E9 4D42 POOEA 4954 POOEB 204E POOEC 4F54 POOED 204C PQOEE 4547 POO EF 414C

168* * END

Page 409: WSIBf , 1 - International Nuclear Information System (INIS)

402

2.58 STLCHK

2.58.1 Classification

On-line/core resident/assembly language/nonreentrant/relocatable

2 .58 .2 Purpose

STLCHK responds to the stall alarm interrupt.

2 .58 .3 Description

Upon entry, the program connects to the stall alarm equipment to status the equipment for the type of stall alarm detected. If the status indicates an AC power loss, a jump is made to POWLOS. Otherwise, the program transfers the address in the interrupt trap for line 11 to line 0. The ASCII-code corresponding to the letters STALL is transferred into the restart message block of program PSYCHO, and the program executes the parity response routine in INTERN, by jumping to C O N V .

The logic block diagram of STLCHK is shown in Fig. 56.

2 .58 .4 Relationship to Other Programs

Although STLCHK jumps to program POWLOS, this program has been removed from the system because an engineering field change in the interrupt for power failure has negated the need for POWLOS. If the AC power fails, a line 0 interrupt is generated and the interrupt handler INTERN processes the parity, protect, or power failure interrupt,

Page 410: WSIBf , 1 - International Nuclear Information System (INIS)

403

ORNL DWG NO,72-341 LINE 11

56. Logic Block Diagram of Program STLCHK

Page 411: WSIBf , 1 - International Nuclear Information System (INIS)

404

0 0 1 . NAM STLCHK 1 R E V I S E D 7 / 2 8 / 6 9 0 0 2 . ENT STLCHK 0 0 3 . EXT P0WL0S , M E S S A G t C 0 N V 0 0 4 . 0 0 2 B EQU I N TC EL ( $2B >

0 0 6 . POOOO 0 5 0 0 STLCHK I I N 0 0 0 7 . P 0 0 0 1 E81C LDQ* STLCNT C0NNECT T0 DCT F0R E Q U I P . STATUS 0 0 8 . P 0 0 0 2 0 2 0 2 I N P 2 i C H K . STATUS F0R L 0 0 P 0R P0WL0S« 0 0 9 . P 0 0 0 3 1 8 0 3 J M P * 0K 0 1 0 . P 0 0 0 4 OBOO N 0 P 0 O i 1 . P 0 0 0 5 18FB J M P * S T L C H K + l 0 1 2 . P 0 0 0 6 0 9 F D 0K I N A - 2 S T A T U S ; L 0 0 P S T A L L = 2 0 1 3 . P 0 0 0 7 0 1 0 2 SAZ L U P S T L - * - 1 P0WL0S =4 0 1 4 . P 0 0 0 8 1 4 0 0 X J M P + P0WL0S

P 0 0 0 9 7 F F F X 0 1 5 . POOOA CC 12 LUPSTL LDA* ( I N T 1 1 ) A D R . I N TRAP I I 0 1 6 . POOOB 6 4 2 B S T A - ( I N T C E L ) I N S E R T I N TRAP " 0 " 0 1 7 . POOOC COOO LDA = N $ 5 3 5 4 A S C I I F0R S T

POOOD 5 3 5 4 A S C I I F0R S T

0 1 8 . POOOE OCOO ENQ 0 0 1 9 . POOOF 6E0C S T A * ( I P R 0 ) , Q 0 2 0 . POOIO ODOl I N Q 1 0 2 1 . POOl 1 COOO LDA = N $ 4 1 4 C A S C I I F0R AL

P 0 0 1 2 4 l 4 C A S C I I F0R AL

0 2 2 . POOl 3 6 E 0 8 S T A * ( I P R 0 ) ,Q 0 2 3 . POOl 4 ODOl I N Q 1 0 2 4 . POOl 5 COOO LDA = N $ 4 C 2 0 A S C I I F0R L

POOl 6 4 C 2 0 0 2 5 . POO 17 6E0 4 S T A * ( I P R 0 ) ,Q 0 2 6 . POOl 8 0 C 0 4 ENQ 4

!

0 2 7 . POOl 9 1 4 0 0 X J M P + C0NV L0CATED I N I N T E R N POO 1A 7 F F F X

0 2 8 . POOIB 7 F F F X I P R 0 ADC MESSAG • V M M 0 2 9 . P 0 0 1 C 0 1 2 C I N T 1 1 NUM $12C AND JUMPS T0 PSYCH0 0 3 0 . POO I D 0 4 0 1 S T L C N T NUM $ 4 0 1 0 3 1 . * END

Page 412: WSIBf , 1 - International Nuclear Information System (INIS)

405

2.59 STLSET

2.59.1 Classification

On-I ine/core resident/assembly language/nonreentrant/relocatable

2 .59 .2 Purpose

STLSET resets the stall alarm watch-dog timer relay. If the relay is not reset on a regular basis, it will disengage and cause a stall alarm interrupt.

2 .59.3 Description

STLSET is initiated at priority level 4 by program GIDUP. Upon entry, the pro-gram tries to connect to the stall alarm. If the program fails to connect after four tries, a message is typed, and the program exits to the dispatcher. Otherwise, the program resets the stall alarm interrupt relay and makes a. timer call for STLSET in 0.067 sec at priority level 7 .

The logic block diagram of STLSET is shown in Fig. 57.

2 .59.4 Relationship to Other Programs

STLSET must be scheduled initially at restart by program GIDUP.

;

Page 413: WSIBf , 1 - International Nuclear Information System (INIS)

406

ORNL DWG NO.72-852 GIDYUP

MESSAGE NO. 1 - STLSET FAILED

Fig. 57. Logic Block Diagram of Program STLSET.

Page 414: WSIBf , 1 - International Nuclear Information System (INIS)

407

0 0 1 . NAM S T L S E T R E V I S E D 2 / 1 8 / 6 9 0 0 2 . ENT S T L S E T 0 0 3 . OOF4 EQU A M 0 N I C S F 4 ) , A D I S P ( S E A )

0 0 EA 0 0 4 . POOOO EOOO S T L S E T LDQ = N $ 4 0 8 CONNECT T0 S T A L L ALARM

P 0 0 0 1 0 4 0 8 0 0 5 . P 0 0 0 2 OAO 5 ENA 5 0 0 6 . P 0 0 0 3 0 5 0 0 I I N 0 0 0 7 • P 0 0 0 4 0 3 0 1 0UT 1 0 0 8 . P 0 0 0 5 1 8 0 3 J M P * G0 0 0 9 . P 0 0 0 6 OBOO N0P 0 0 1 0 . P 0 0 0 7 1 8 0 8 J M P * TRY AGN O i l . P 0 0 0 8 0 4 0 0 G0 E I N 0 0 1 2 . P 0 0 0 9 D 8 2 1 R A 0 * C 0 U N T 0 1 3 . T1 T IMER S T L S E T - T l - 1 . 7 . X . 0 0 1 3 . POOOA 5 4 F 4 0 1 3 . POOOB 1 1 0 7 , , 0 1 3 . POOOC 7 F F 4 0 1 4 . POOOD 0 0 0 3 NUM 3 RESET THE S T A L L EVERY . 0 6 7 S E C O N D S . 0 1 5 . POOOE 14EA J M P - ( A D I S P ) 0 1 6 . POOOF C 8 1 B TRY AGN L D A * COUNT TRY TO RESET 4 T I M E S 0 1 7 . P 0 0 1 0 O i l 1 SAN 1 0 1 8 . P O O H 18EE J M P * S T L S E T I F I N I T I A L LOAD L 0 0 P T I L DONE 0 1 9 . P 0 0 1 2 0 9 F B I N A - 4 0 2 0 . POO 13 0 1 0 1 SAZ 1 0 2 1 . POOI 4 1 8 1 4 J M P * ZEBRA 0 2 2 . HERE F W R I T E $ E , C 0 N T - H E R E - 1 . M S G I - H E R E - 1 , 7 . A , 8 , 7 , . X 0 2 2 . POO 15 5 4 F 4 0 2 2 . POO 1 6 0 DB7 0 2 2 . P 0 0 1 7 0 0 0 7

1

POO 18 0 0 0 0 0 2 2 . P 0 0 1 9 1 0 0 E 0 2 2 . POO 1A 0 0 0 7

P 0 0 1 B OOOB 0 2 3 , P 0 0 1 C I 4EA J M P - ( A D I S P ) 0 2 4 . POOI D 0 8 4 4 C0NT CLR A 0 2 5 , POO IE 6 8 0 C S T A * COUNT 0 2 6 . P O O I F 14EA J M P - ( A D I S P ) 0 2 7 . P 0 0 2 0 0 0 0 0 NUM 0 0 2 8 . P 0 0 2 1 5 3 5 4 MSG1 A L F 7 , S T L S E T F A I L E D I

P 0 0 2 2 4 C 5 3 P 0 0 2 3 4 5 5 4 ' i J P 0 0 2 4 2 0 4 6 P 0 0 2 5 4 1 4 9 P 0 0 2 6 4 C 4 5 P 0 0 2 7 4 4 2 1

0 2 9 . P 0 0 2 8 D 8 0 2 ZEBRA R A 0 * COUNT 0 3 0 . P 0 0 2 9 1 8 D 6 J M P * S T L S E T 0 3 1 . P 0 0 2 A 0 0 0 1 B Z S COUNT 0 3 2 . * END

Page 415: WSIBf , 1 - International Nuclear Information System (INIS)

408

2.60 SWENTR

2 .58 .1 Classification

On-line/core resident/assembly language/nonreentrant/relocatable

2 .60 .2 Purpose

SWENTR is the console response function for turning on the heat power program operated by the momentary switch which is labeled DISPLAY AVG. POWER on the oper-ator computer console.

2 .60 .3 Description

Upon entry, SWENTR checks the "on" flag contained in common $7F40. If the program is on, the program is turned off and the console lamp is turned off. The pro-gram exits to the dispatcher. Otherwise, the program is turned on. The flag which is represented by a $20 in $7F40 is set, the console lamp is turned on, and the program GETDAT is scheduled at priority fevel 4 . The program exits to the dispatcher.

The logic block diagram of SWENTR is shown in Fig. 58.

2 .60 .4 User Instructions

To activate the heat power program, press down the heat power console button while simultaneously pressing ENTER. The same procedure is used to turn the program off.

2 .60 .5 Relationship to Other Programs

SWENTR is the first in a series of three programs for calculating and displaying the average heat power in the digital display window of the operator console. The second program is GETDAT, which is scheduled from the program directory by the entry GDAT. The third program, GADAT, is scheduled by the second.

Page 416: WSIBf , 1 - International Nuclear Information System (INIS)

409

O R N L DWG NO. 7 2 - 8 4 2

DMF

Fig. 58. Logic Block Diagram of Program SWENTR.

Page 417: WSIBf , 1 - International Nuclear Information System (INIS)

410

001 . 002, 003 . 004. 7F40

NAM SWENTR ENT 0NSW,0FFSW EXT DACDRI,GDAT EQU BUTT0N($7F4O)

1 2 / 2 2 / 6 9

006. POOOO CC10 0NSW LDA* (RQFLG) 007. P0001 OFCA ALS 10 008. P0002 0122 SAP TURN0N-*-l 009. P0003 0FC6 ALS < 6 010. P0004 1 80 D JMP* 0FFSW Oil . P0005 0FC6 TURN0N ALS 6 012. P0006 0920 INA $20 013. P0007 6C09 STA* (RQFLG) 014. P0008 0F43 ARS 3 015. POO 09 5C06 RTJ* (DAC) 016. POOOA 90 OB NUM $90 OB 017. SCHDLE (GDAT).4 017. POO OB 54F4 017. POOOC 120 4 017. POOOD FFFF X 018. POOOE 1 4EA JMP- (SEA) 019. POOOF 7FFF X DAC ADC DACDRI 020. P0010 7F40 RQFLG ADC BUTTON 021 . P0011

POO 12 AOOO FFDF

0FFSW AND =N$FFDF 022. POO 13 6CFC STA* (RQFLG) 023. P0014 0F43 ARS 3 024. P0015 5CF9 RTJ* (DAC) 025. P0016 90 OB NUM $90 OB 026. POO 17 14EA JMP- (SEA) 027 . * END

SET THE APPROPRIATE BIT TURN 0N C0NS0LE LIGHT

Page 418: WSIBf , 1 - International Nuclear Information System (INIS)

411

2.61 UPDWN

2.58.1 Classification

On-line/drum resident/assembly language/nonreentrant/relocatable

2 .61 .2 Purpose

UPDWN is the response routine for the console lamp labeled PROCESS SCAN. The program is entered whenever the lamp is turned on or off. The program sets or clears the appropriate scan on flags, actuates the digital rod control lamp (if needed), initializes the common appropriate to the scan start, and initiates the self-calling programs for the process scan.

2 .61 .3 Description

Upon entry at priority level 7 , UPDWN calculates its absolute address and reads common location $7F30. If the 11 Scan On" bit is set, the program tests the inte-grated power in core common. If the integrated power is greater than 0.1 MW-day, a full common is read from $E/7F00. Otherwise, $100 words of common are read from $D/7F00. The I N A G I N flag is set, the program schedules COMSTO, A N N U N C , and CALLSC before typing the message "Scan is On" and then releases. If upon entry the "Scan On" bit in $7F30 is found clear, the program assumes that the scan is to be turned off. The I N A G I N flag is cleared, and, if it is on, the program turns off the digital rod control lamp. The message "MW Days This Cycle" is constructed, showing the current value of the megawatt-days. The data save pointers for the drum data in $7F50-3 are advanced to cause the current data set to be saved. The program schedules DMPCOM and schedules (at a lower priority) a loop to null the value of megawatt-days in common and to execute a common save at entry point SOV in program COMSTO.

The logic block diagram of UPDWN is shown in Fig. 59.

Page 419: WSIBf , 1 - International Nuclear Information System (INIS)

412

ORNL DWG NO. 72 8 2 1

CONSOLE-LITE

Fig. 59. Logic Block Diagram of Program UPDWN.

Page 420: WSIBf , 1 - International Nuclear Information System (INIS)

413

00 i . 002 , 003. 004. 005. 0 0 6 * 007.

008* 009 . 010* O i l .

012* 013. 014. 015* 016* 017* 018. 019. 020. 021 . 022 . 023 . 024.

025. 026.

027 . 028. 029 . 030 . 031. 032 .

033. 034. 035 . 036. 037. 037. 037. 037 .

037. 037 .

038 . 039 . 040 . 041 . 042 .

0000 C 00EA 009D 00A2 0089 7F40 7F54

7F00 7F30

POOOO P0001 P0002 P0003 P0004 P0005 P0006 P0007 P0008 P0009 POO OA POOOB POOOC POOOD POOOE POOOF P0010

P0011 P0012 P0013 P0014 P0015 POOI 6 P0017 P0018 P0019 P001A P001B P001C P001D

C8FE 8000 00 IB 6810 C 400 7F30 68F9 A025 Oi l 1 1833 OC 1A C 400 7F2B 09FE 0132 OAOE 6808

54F4 0254 0000 0000 0005 0100 7 FOO 000 D 7F00 14EA OAOl 6400 0000

NAN UPDWN REV. 3 / 3 0 / 7 1 ENT UPDN.REPEAT EXT ANNUNC , CALLSCt COMSTO EXT DACDRI, DMPCOM C m INAGIN EQU ADISP(SEA) EQU AVALU(S9D) fA0CDEC($A2),AHEX($89)

EQU BUTTON($7F40) FIXED BY DMF . EQU CTRMIN($7F54) COUNTERS FOR DRM DATA SAVIN EXT SOF THIS IS IN COMSTO EQU CO M($7 FOO),RQTRIM($7 F3 0)

EXT SOF THIS IS IN COMSTO •REV. 1 / 2 6 / 7 1 10 SAVE ALL DATA AT END OF SCAN CYCLE. •NOTE THAT THE IN IT IAL COMMON IS ON D/7F00, • THIS I S FOR START OF REACTOR CYCLE-"UP*. • READS IN A NEW COMMON AND SCHEDULES PROGRAMS. • ALSO CHECKS I F DURING A CYCLE - IN THIS • CASE JUST READS PRESENT COMMON FROM DRUM E. • AT THE BEGINNING OF A CYCLE MWDAYS IN COMM. • TABLE MUST BE <1 10 READ D/7FOO,OTHERWISE E/7F00. * * * * * * * * * THIS PROGRAM IS SCHEADULED BY ONLY DMF * * * * * * * * * AND I S ENTERED AT UPDN. UPDN NUM $C8FE GET ADR OF THIS PROGRAM

ADD =XSCD-UPDN

STA* RD+2 LDA+ RQTRIM

SET UP COMPLETION ADDRESS. STATUS 0F LATCHING LIGHTS.

UPUP

STA* UPDN (TEMP. STORE) AND- $25 =4, CHECK SCAN ON LIGHT. SAN UPUP-*- l I F =1, LIGHT IS ON. JMP* DWN OTHERWISE ITS OFF. ENQ 26 LDA+ C0M+$2B =MWDAYS* 10 (SEE I F < 1 . )

RD

INA - I SAM R D - * - l ENA SE STA* MSB IN THE CYCLE READ 5 , , C O M , 2 5 6 , B , 5 , 4 ^ , 0

AT BEGINNING OF THE CYCLE

Vj

MSB

SCD

NUM $D NUM $7F00 JMP- (ADISP) ENA 1 STA+ INAGIN

NEW COMMON ON DRUM D,0LD COM 0N E

Page 421: WSIBf , 1 - International Nuclear Information System (INIS)

414

043* POO IE C8E1 LDA* UPDN (CONTAINS RQTRIM FL6) 0 4 4 . P001F 6400 STA+ RQTRIM

P0020 7F30 045* SCHDLE COMSTO.4.0 045* P0021 54F4 0 4 5 . P0022 1204 045* P0023 7FFF X 0 4 6 . SCHDLE ANNUNC.4.0 0 4 6 . P0024 54F4 0 4 6 . P0025 1204 0 4 6 . P0026 7FFF X 0 4 7 . SCHDLE CALLSC.7,0 0 4 7 . P0027 54F4 0 4 7 . P0028 1207 0 4 7 . P0029 7FFF X 0 4 8 . P002A 180A JMP* FR 049 « P002B 0009 BSS SPARES(9) 3 SPARE SCHD CALLS 0 5 0 . FR FWRITE $E,REL-FR-1 .MSGUP-FR-1 .5 ,A ,4 0 5 0 . P0034 54F4 0 5 0 . P0035 0D48 0 5 0 . P0036 003 F

P0037 0000 0 5 0 . P0038 100E 0 5 0 . P0039 0005

P003A 0043 051 . P003B 14EA JMP- (ADISP)

0 5 3 . * ENTER HERE TO STOP SCAN AT REACTOR

0 5 5 . P003C OAOO DWN ENA 0 0 5 6 . P003D 6400 STA+ INAGIN

P003E 0000 c 0 5 7 . P003F C 400 LDA+ BUTTON LOOK FOR DRC B I T .

P0040 7F40 0 5 8 . P0041 0822 IRA Q 0 5 9 . POO 42 A026 AND- $26 =8 0 6 0 . P0043 0111 SAN TJ.MR-*-1 061 . P0044 1809 JMP* CON 0 6 2 . POO 45 0814 TIMR TRQ A TURN DRC OFF. 0 6 3 . POO 46 A026 AND- $26 0 6 4 . P0047 6400 S TAT- BUTTON

P0048 7F40 0 6 5 . P0049 0F43 ARS 3 066 . P004A 5400 X RTJ+ DACDRI

P004B 7FFF X 0 6 7 . P004C 90 OB NUM $90OB ' 0 6 8 . P004D OC 1A CON ENQ 26 GET MWDAYS FOR MSG. 0 6 9 . P004E C69D LDA- (AVALU),Q 0 7 0 . P004F 0842 CLR Q 0 7 1 . POO 50 3000 DVI =N 10

P0051 OOOA 0 7 2 . P0052 54A2 RTJ- (AOCDEC) 073 . P0053 0000 NUM 0 , 0 , 0

PQQ54 0000 P0055 0000

1

Page 422: WSIBf , 1 - International Nuclear Information System (INIS)

415

0 7 4 . P0056 5489 RTJ- (AHEX) 0 7 5 . P0057 8039 ADC (MSGDN-*+17) 0 7 6 . FD FWRITE $ E , R E P E A T - F D - 1 . M S G D - F D - I . 2 0 . A . 4 . 7 . . X 0 7 6 . P0058 54F4 0 7 6 . P0059 0D47 0 7 6 . P005A 0007

P005B OOOO 0 7 6 . P005C 100E 0 7 6 . P005D 0014

P005E 0025 0 7 7 . P005F 14EA JMP- (ADISP) 0 7 g . POO 60 0C02 REPEAT ENQ 2 0 7 9 . P0061 OA 7F ENA 127 BUMP ALL COUNTERS T0 0 8 0 . P0062 6600 RP2 STA CTRMIN,Q MADE DMPCOM & DRMCOM

P0063 7F54 081 . P0064 ODFE INQ - 1 RUN NOW. (END OF SCAN CYCLE) 0 8 2 . P0065 0171 SQM E X - * - 1 0 8 3 . P0066 18FB JMP* RP2 0 8 4 . EX SCHDLE DMPCOM,4-0 CALL DATA SAVING PGMS. 0 8 4 . P0067 54F4 0 8 4 . P0068 1204 0 8 4 . P0069 7FFF X 0 8 5 . N SCHDLE E-N - 1 . 3 . 1 C0ME BACK T0 CLR MW DAYS. 0 8 5 . P006A 54F4 0 8 5 . P006B 1303 0 8 5 . P006C 0003 0 8 6 , P006D 14EA JMP- ($EA) 0 8 7 . P006E OAOO E ENA 0 0 8 8 . P006F 6400 STA+ C0M+$2B NULL MWDAYS.

P0070 7F2B 0 8 9 . SCHDLE S 0 F . 4 , 0 10 WMM FR0M C0M TO E /7F00 0 8 9 . P007 i 54F4 0 8 9 . P0072 1204 0 8 9 . P0073 7FFF X 0 9 0 . REL RELEAS (UPDN-REL-1) »R,X 0 9 0 . P0074 54F4 •

0 9 0 . P0075 1901 0 9 0 . P0076 FF8A 0 9 1 . P0077 OOOO NUM 0 0 9 2 . P0078 5343 MSG UP ALF 5,SCAN IS ON

P0079 41 4E P007A 20 49 P007B 5320 P007C 4F4E

0 9 3 . P007D OOOO NUM 0 0 9 4 . P007E 8012 MSGD NUM $8012 RED RIBBON 09 5 . P007F 5343 MSGDN ALF 6,SCAN IS OFF

P0080 41 4E P0081 2049 P0082 5320 P0083 4F46 P0084 4620

0 9 6 . P0085 8011 NUM $8011 BLACK RIB 0 9 7 . P0086 ODOA NUM $DOA 0 9 8 . P0087 4D57 ALF 11,MWDYS THIS CYCLE =

P0088 4459 P0089 5320 P008A 5448

Page 423: WSIBf , 1 - International Nuclear Information System (INIS)

P008B 4953 P008C 20 43 P008D 5943 P003E 4C45 P008F 3D20 P0090 2020 P0091 2020

Page 424: WSIBf , 1 - International Nuclear Information System (INIS)

417

REFERENCES

1. H. P. Danforth and G . R. Owens, Graphical Display Programs for the HFIR Digital Control and Data Acquisition System, ORNL-TM-2738 (Feb. 1970),

2 . G . R. Owens, Development of an Automatic Restart System for the HFIRDigi ^ Control and Data Acquisition System, ORNL-TM-2787 (Feb. 1970).

3 . G . R. Owens, Development of a Mass Memory Program Editor for the HFIR Digital Control and Data Acquisition System, ORNL-TM-2788 (Feb. 1970).

4 . J. B. Bullock and H. P. Danforth, Annunciator Scan Program for the HFIR Digital Control and Data Acquisition System, ORNL-TM-2837 (Feb. 1970).

5. H. P. Danforth, High-Speed Scan Programs for the HFIR Digital Control and Data Acquisition System, ORNL-TM-2931 (April 1970).

6 . H. P. Danforth, The High Flux Isotope Reactor (HFIR) Control Computer Operating System, ORNL-TM-2758 (Nov. 1969). ;

7 . B. R. Lawrence and J. B. Bullock, An Algorithm for Calculating Reactivity from Neutron Flux Using an On-Line Digital Computer, ORNL-TM-1473 (April 1970).

8 . L. A . Haack, HFIRHY - A Computer Program for Calculating Flow Distribution and Pressure Drop in the HFIR Core, ORNL-TM-2541 (March 1969).