0% found this document useful (0 votes)
13 views14 pages

Ap BRC100

The document provides detailed information on the memory utilization and execution times for various function codes of the Harmony Bridge Controller (BRC-100). It specifies the total memory available, including 424,128 bytes of NVRAM and 1,572,192 bytes of RAM, along with a table listing each function's memory requirements and execution times in microseconds. The execution times are noted to be for worst-case conditions, and the document includes references to equations for memory usage.

Uploaded by

pradeep2011npti
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views14 pages

Ap BRC100

The document provides detailed information on the memory utilization and execution times for various function codes of the Harmony Bridge Controller (BRC-100). It specifies the total memory available, including 424,128 bytes of NVRAM and 1,572,192 bytes of RAM, along with a table listing each function's memory requirements and execution times in microseconds. The execution times are noted to be for worst-case conditions, and the document includes references to equations for memory usage.

Uploaded by

pradeep2011npti
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

Harmony Bridge Controller

(BRC-100) Appendix B

Memory Utilization and Execution Times


This section lists the module memory requirements for each
function code. Two quantities are given for the BRC-100 mem-
ory utilization. The first value is the number of bytes of nonvol-
atile random access memory (NVRAM). The second quantity is
the number of bytes of random access memory (RAM). The
BRC-100 module has a total configuration memory of 424,128
bytes of NVRAM and 1,572,192 bytes of RAM.

This section also lists the function code execution times (in
microseconds) for the BRC-100 module.

NOTE: Except where otherwise noted, execution times are given for worst
case conditions.

Table B-1 shows the BRC-100 memory requirements and the


execution time for each function code.

NOTE: Refer to Memory Usage Equations in this section for the equations
listed in Table B-1.

Table B-1. BRC-100 Memory Utilization and Execution Times

Execution
Function NVRAM RAM
Description Times
Code (Bytes) (Bytes)
(in µsecs)
1 Function generator 46 92 17
2 Manual set constant 12 40 7
3 Lead/lag 18 72 60
4 Pulse positioner 24 88 27
5 Pulse rate 16 72 49
6 High/low limiter 16 48 16
7 Square root 14 48 70
8 Rate limiter 18 64 49
9 Analog transfer 20 76 68
10 High select 16 52 21
11 Low select 16 52 21

WBPEEUI210504B0 B-1
Memory Utilization and Execution Times

Table B-1. BRC-100 Memory Utilization and Execution Times (continued)

Execution
Function NVRAM RAM
Description Times
Code (Bytes) (Bytes)
(in µsecs)
12 High/low compare 16 48 16
13 Integer transfer 14 44 9
14 Four input summer 16 52 26
15 Two input summer 18 52 36
16 Multiply 14 48 29
17 Divide 14 48 33
18 PID error input 34 108 213
19 PID process variable and set point 36 116 230
24 Adapt 12 50 12
25 Analog input (periodic sample) 12 102 12
26 Analog input/loop 12 54 14
30 Analog exception report 26 102 38
31 Test quality 16 52 18
32 Trip 12 36 8
33 Not 12 36 8
34 Memory 14 46 10
35 Timer 14 58 27
36 Qualified OR (eight input) 26 68 24
37 AND (two input) 12 40 8
38 AND (four input) 16 48 11
39 OR (two input) 12 40 8
40 OR (four input) 16 48 11
41 Digital input (periodic sample) 12 90 13
42 Digital input/loop 12 42 12
45 Digital exception report 12 66 26
50 Manual set switch 12 36 7
51 Manual set constant (nontunable) 12 40 7
52 Manual set integer 12 36 7
55 Hydraulic servo 60 404 2,363
58 Time delay (analog) 18 Equation 1 56
59 Digital transfer 14 44 9

B-2 WBPEEUI210504B0
Memory Utilization and Execution Times

Table B-1. BRC-100 Memory Utilization and Execution Times (continued)

Execution
Function NVRAM RAM
Description Times
Code (Bytes) (Bytes)
(in µsecs)
61 Blink 12 48 40
62 Remote control memory 28 96 40
63 Analog input list (periodic sample) 28 286 40
64 Digital input list (periodic sample) 28 190 39
65 Digital sum with gain (four input) 28 68 33
66 Analog trend
Normal mode (slow) 12 196 41
Fast mode 12 700 26
68 Remote manual set constant (REMSET) 22 128 33
69 Test alarm 12 44 13
79 Control interface slave
First FC 79 block in segment 48 328 15,710
Additional FC 79 blocks in segment 48 328 1,054
80 Control station 84 366 118
81 Executive block 22 224 0
82 Segment control 64 284 0
83 Digital output group 32 90 134
84 Digital input group 16 114 133
85 Up/down counter 24 76 26
86 Elapsed timer 20 84 35
89 Last block 12 48 0
90 Extended executive 52 152 0
91 BASIC configuration Equation 2 Equation 3 5
92 Invoke BASIC 22 46 Program
dependent
93 BASIC real output 12 64 4
94 BASIC boolean output 12 72 4
95 Module status monitor 22 108 22
96 Redundant analog input 22 106 44
97 Redundant digital input 14 58 23
98 Slave select 26 84 26
99 Sequence of events log 14 Equation 4 97
100 Digital output readback check 40 144 77

WBPEEUI210504B0 B-3
Memory Utilization and Execution Times

Table B-1. BRC-100 Memory Utilization and Execution Times (continued)

Execution
Function NVRAM RAM
Description Times
Code (Bytes) (Bytes)
(in µsecs)
101 Exclusive OR 12 40 8
102 Pulse input/period 24 100 162
103 Pulse input/frequency 24 100 170
104 Pulse input/totalization 26 130 203
109 Pulse input/duration 24 100 160
110 Five input rung 24 74 20
111 Ten input rung 38 104 30
112 Twenty input rung 68 164 49
114 BCD input 20 72 113
115 BCD output 22 72 150
116 Jump/master control relay 12 52 6
117 Boolean recipe table 28 68 24
118 Real recipe table 48 102 24
119 Boolean signal multiplexer 32 86 21
120 Real signal multiplexer 32 90 21
121 Analog input/Cnet 22 82 17
122 Digital input/Cnet 20 50 12
123 Device driver 30 118 33
124 Sequence monitor 80 162 15
125 Device monitor 40 102 77
126 Real signal demultiplexer 12 92 45
128 Slave default definition 44 72 4
129 Multistate device driver 60 168 40
132 Analog input/slave 54 340 346
133 Smart field device definition 36 144 14
134 Multi-sequence monitor 96 268 13
135 Sequence manager 82 208 66
136 Remote motor control 52 186 54
137 BASIC real output/quality 12 80 4
138 BASIC boolean output/quality 12 64 4
139 Passive station interface 44 146 37

B-4 WBPEEUI210504B0
Memory Utilization and Execution Times

Table B-1. BRC-100 Memory Utilization and Execution Times (continued)

Execution
Function NVRAM RAM
Description Times
Code (Bytes) (Bytes)
(in µsecs)
140 Restore
Restore largest NVM utilization Equation 19 88 5,141
(FC 165 with S2 = 249)
Smallest NVM utilization (FC 33) Equation 19 88 123
141 Sequence master 80 142 33
142 Sequence slave 74 104 7
143 Invoke C 28 108 Program
dependent
144 C allocation Equation 5 Equation 6 5
145 Frequency counter/slave 30 120 62
146 Remote I/O interface 68 340 2,015
147 Remote I/O definition 144 480 27
148 Batch sequence 36 Equation 7 Program
dependent
149 Analog output/slave
First FC 149 in segment 82 318 16,414
Second FC 149 in segment 82 318 16,414
(same ASO as first)
Additional FC 149s in segment 82 318 1,298
150 Hydraulic servo slave 32 168 164
151 Text selector 46 152 20
152 Model parameter estimator 28 352 16
153 Inferential smith controller parameter converter 42 196 73
154 Adaptive parameter scheduler 36 224 38
155 Regression 68 Equation 8 28
156 Advanced PID controller 58 190 309
157 General digital controller 68 Equation 9 46
160 Smith predictor 36 342 146
161 Sequence generator 74 212 32
162 Digital segment buffer 16 78 22
163 Analog segment buffer 16 94 23
165 Moving average 16 Equation 10 96
166 Integrator 28 92 64

WBPEEUI210504B0 B-5
Memory Utilization and Execution Times

Table B-1. BRC-100 Memory Utilization and Execution Times (continued)

Execution
Function NVRAM RAM
Description Times
Code (Bytes) (Bytes)
(in µsecs)
167 Polynomial
Most complicated 58 108 216
All zero 58 108 81
168 Interpolator 98 196 167
169 Matrix addition 44 172 86
170 Matrix multiplication 44 172 624
171 Trigonometric
Sine 14 48 149
Secant 14 48 161
172 Exponential 12 44 136
173 Power 14 48 228
174 Logarithm 14 50 152
177 Data acquisition analog 104 398 118
178 Data acquisition analog input/loop 20 134 30
179 Enhanced trend
Normal sampling 52 Equation 11 98
Normal and statistical sampling 52 Equation 11 188
184 Factory instrumentation protocol handler 42 1342 3123
185 Digital input subscriber 32 220 88
186 Analog input subscriber 32 252 468
187 Analog output subscriber 48 232 835
188 Digital output subscriber 48 208 91
190 User defined function declaration 30 Equation 12 5
191 User defined function one 56 Equation 13 Program
dependent
192 User defined function two 70 Equation 14 Program
dependent
193 User defined data import 48 Equation 15 32
194 User defined data export 48 Equation 16 55
198 Auxiliary real user defined function 38 150 5
199 Auxiliary digital user defined function 38 134 5
210 Sequence of events slave 100 572 338
211 Data acquisition digital 62 310 123
212 Data acquisition digital input/loop 20 110 20

B-6 WBPEEUI210504B0
Memory Utilization and Execution Times

Table B-1. BRC-100 Memory Utilization and Execution Times (continued)

Execution
Function NVRAM RAM
Description Times
Code (Bytes) (Bytes)
(in µsecs)
215 Enhanced analog slave definition 30 206 766
216 Enhanced analog input definition 42 114 299
217 Enhanced calibration command 24 178 12
218 Phase execution 44 Equation 25 Program
dependent
219 Common sequence 46 Equation 17 Program
dependent
220 Batch historian 46 Equation 18 Program
dependent
221 I/O device definition Equation 20 966 Note 1
222 Analog in/channel Equation 21 298 3002
223 Analog out/channel Equation 22 298 3602
224 Digital in/channel Equation 23 298 1602
225 Digital out/channel Equation 24 298 1602
226 Test status Equation 26 130 70
227 Gateway TBD TBD TBD
228 Foreign device definition TBD TBD TBD
241 DSOE data interface SEM to MFP
No SED resynch function performed 18 284 105
SED resynch performed once every second 18 284 470
242 DSOE digital event interface
No data available on SED I/O module 84 338 77
Data available on SED I/O module 84 338 795
247 Condition monitoring TBD TBD TBD
NOTES:
1. Time dependent on the I/O block type configured and on the presence or absence of redundant blocks. Refer to Table B-2.
2. With exception reports enabled.

Table B-2. FC221 Execution Times

Non-Redundant
Redundant Blocks
I/O Block Blocks
(µsecs)
(µsecs)
AIN-120 1900 3600
AOT-120 3400 6800
CIO-100 2900 N/A

WBPEEUI210504B0 B-7
Memory Usage Equations

Table B-2. FC221 Execution Times (continued)

Non-Redundant
Redundant Blocks
I/O Block Blocks
(µsecs)
(µsecs)
DIO-400 3000 6000
DOT-120 3000 6000

Memory Usage Equations


1. 78 + [8 x (S5)]

2. 38 + [1024 x (S5)]

3. 4994 + 1024 [(S3) + (S4) + (S5)]

4. 96 + [9 x (S2)]

5. 12 + [1024 x (S2)]

6. 36 + [1024 x (S1)]

7. 826 + [1024 x (S11)] + [2048 x (S12)]

8. 338 + [40 x (S7)]

9. 228 + [8 x (S21 + S22)]

10. 98 + [8 x (S2]

11. a + [b x (S4)] + [c x (n{S3})],

where:

n{S3} = Number of modes selected for S3


if S2 = 0 or 3, then a = 396, b = 24, and c = 16
if S2 = 1, 2, 5, 6, 7 or 9, then a = 380, b = 20, and c = 8
if S2 = 4 or 8, then a = 456, b = 50, and c = 64

12. 78 + [10 x (S2)]

13. 520 + [2 x (S16)]

14. 604 + [2 x (S24)]

15. 256 + [3 x (S5)]

16. 256 + [5 x (S4)]

B-8 WBPEEUI210504B0
Function Blocks - BRC-100

17. 424 + [222 x (S13)]

18. 666 + [2 x (S11)]

19. 40 + N,

where:

N = Applicable function code size from Table 140-2.


NVRAM is set to 46 when N is less than six.

20. 90 + Size of string data in S1 + Size of string data in S30.

21. 92 + Size of string data in S1.

22. 78 + Size of string data in S1.

23. 52 + Size of string data in S1.

24. 48 + Size of string data in S1.

25. 1450 + [1024 x (S11)] + [2 x (S12)]

26. 27 + Size of string data in S2 + S3 + S4 + S5 + S10.

Function Blocks - BRC-100


Table B-3 contains function code block number information
for the BRC-100 module.

Table B-3. BRC-100 Module

Block No. Definition Function Code


0 Logic 0 81
1 Logic 1
2 0 or 0.0
3 -100.0
4 -1.0
5 0.0
6 1.0
7 100.0
8 -9.2 E18
9 9.2 E18
10 Startup flag (0 = no, 1 = yes)

WBPEEUI210504B0 B-9
Function Blocks - BRC-100

Table B-3. BRC-100 Module (continued)

Block No. Definition Function Code


11 Memory display value 81 (continued)
12 System free time in percent
13 Revision level
14 Reserved
15 Task 1 elapsed time since previous cycle 82
16 Task 1 elapsed time current cycle (sec/min)
17 Task 1 processor utilization
18 Task 1 check point overrun count
19 Task 1 cycle time overrun (sec/min)
20 Hours, time of day 90
21 Minutes, time of day
22 Seconds, time of day
23 No time synchronization flag:
0 = time of day invalid
1 = time of day valid
24 Year (0 to 99)
25 Month (1 to 12)
26 Day (1 to 31)
27 Day of week (1 to 7, Sunday = 1) 90
28 Reserved
29 Reserved
301 Configurable blocks Any allowed
function code -
refer to Table B-1
9999 Loop type: 89
0.0 = Plant Loop
1.0 = Cnet
3.0 = Cnet with time-stamping
NOTE:
1. The highest configurable block number is 9998 for the BRC-100.

B - 10 WBPEEUI210504B0
Module Status Information - BRC-100

Module Status Information - BRC-100


Tables B-4 and B-5 explain Harmony bridge controller status
bytes.

Table B-4. Bit Description - BRC-100

Bit
Byte
7 6 5 4 3 2 1 0
1 ES MODE TYPE
2 FTX BAC RIO LIO CFG NVF NVI DSS
3 Error code
4 Error code descriptor (1)
5 Error code descriptor (2)
6 ETYPE
7 CWA CWB R1F R2F Reserved Reserved HnetA HnetB
8 SIME SIMR SIMT Reserved
9 RA RB Reserved
10 PRI CFC Reserved CHK RID RDEXP OCE RDDET
11 Reserved Reserved Reserved SOA RNO Reserved Reserved Reserved
12-13 Reserved
14 Module nomenclature
15 Revision letter (ASCII)
16 Revision number (ASCII)

Table B-5. Byte Description - BRC-100

Field Size
Byte Field Description
or Value
1 ES 80 Error summary: 0 = good, 1 = errors
MODE 60 Module mode: 00 = configure, 10 = error, 11 = execute
TYPE 1F Module type code: (15)16 = Enhanced status
2 FTX 80 First time in execute: 0 = no, 1 = yes
BAC 40 Backup status: 0 = good, 1 = bad
RIO 20 Summary remote input status: 0 = good, 1 = bad
LIO 10 Summary local input status: 0 = good, 1 = bad
CFG 08 Online configuration changes being made
NVF 04 Summary NVRAM failure status: 0 = good, 1 = fail
NVI 02 Summary NVRAM initialized state: 0 = no, 1 = yes
DSS 01 Digital station status: 0 = good, 1 = bad

WBPEEUI210504B0 B - 11
Module Status Information - BRC-100

Table B-5. Byte Description - BRC-100 (continued)

Field Size
Byte Field Description
or Value
3-5 Error 3 4 5
Note 1 Code
NVRAM error:
01 01 — Write failure
02 — Checksum failure
03 — Bad data
FF — Reset during write
02 (1) (2) Analog input reference error:
(1), (2) = block number of control interface I/O module block
03 (1) (2) Missing I/O module or expander board:
(1), (2) = block number of I/O module or station
05 (1) (2) Configuration error – undefined block:
(1), (2) = block number making reference
06 (1) (2) Configuration error – input data type is incorrect:
(1), (2) = block number making reference
08 (1) (2) Trip block activated:
(1), (2) = block number of trip block
0F — — Primary module has failed and the redundant module configuration is
not current
10 — — Primary module has failed and the dynamic RAM data in the redundant
module is not current
09 — — Segment violation - priority set the same in two segments or more than
eight segments defined.
11 — — NVRAM write failure error
1E (1) (2) Duplicate device definition label – multiple function code 221 function
blocks contain the same device label.
(1), (2) = block number making reference.
20 — — Program format error - inconsistent format table
21 (1) (2) File system error:
(1), (2) = file number
22 (1) (2) Invoke C error:
(1), (2) = block number making reference
24 (1) (2) C program stack overflow:
(1), (2) = block number making reference
28 (1) (2) User defined function (UDF) reference is invalid:
(1), (2) = block number making reference
29 (1) (2) UDF block cannot read program file:
(1), (2) = block number making reference
2A (1) (2) Not enough memory for UDF:
(1), (2) = block number making reference

B - 12 WBPEEUI210504B0
Module Status Information - BRC-100

Table B-5. Byte Description - BRC-100 (continued)

Field Size
Byte Field Description
or Value
3-5 Error 2B (1) (2) Missing UDF declaration:
(cont) Code (1), (2) = block number making reference
2C (1) (2) Wrong UDF type:
(1), (2) = block number making reference
2D (1) (2) Missing UDF auxiliary block:
(1), (2) = block number making reference
2E (1) (2) UDF compiler and firmware are incompatible:
(1), (2) = block number making reference
2F (1) (2) BASIC program error:
(1), (2) = line number of error
6 ETYPE 1F Enhanced module type = (24)16
7 CWA 80 Controlway bus A failure: 0 = good, 1 = fail
CWB 40 Controlway bus B failure: 0 = good, 1 = fail
R1F 20 Redundancy link channel 1 failure: 0 = good, 1 = fail
R2F 10 Redundancy link channel 2 failure: 0 = good, 1 = fail
HnetA 02 Harmony net channel A failure: 0 = good, 1 = fail
HnetB 01 Harmony net channel B failure: 0 = good, 1 = fail
8 SIME 80 Simulation enabled: 0 = normal operation, 1 = simulation active
SIMR 40 Simulation running/frozen: 0 = simulation frozen, 1= simulation running
SIMT 20 Simulation time rate: 0 = real time, 1 = slow/fast time
9 RA 80 Harmony net channel A relay fault: 0 = good, 1 = fail
RB 40 Harmony net channel B relay fault: 0 = good, 1 = fail
10 PRI 80 Module is primary versus backup; set to 1 in the primary module.
CFC 40 Configuration current (latched until backup is reset). Set when LED 7 is
enabled (1 = on or blinking) on the backup module.
CHK 10 Backup has completed checkpointing (latched until backup is reset).
Always set to 0 on the primary module. Follows LED 8 (1 = on or blink-
ing) on the backup module.
RID 08 Redundancy ID. Follows setting of redundancy ID pole on the
dipswitch.
RDEXP 04 Redundancy expected. Always set to 1 on the backup module. Follows
state of function code 90, specification S3, ones digit on the primary
module.
OCE 02 Online configuration is enabled. Follows setting of online configuration
enable pole on dipswitch.
RDDET 01 Redundancy detected (latched until module is reset or it changes from
backup to primary or primary to backup). Set to 1 when a properly con-
figured redundant module is detected.

WBPEEUI210504B0 B - 13
Module Status Information - BRC-100

Table B-5. Byte Description - BRC-100 (continued)

Field Size
Byte Field Description
or Value
11 SOA 10 Status output alarm. Indicates the status of the system +24 volt power
and the I/O block’s power (logic and field power for a single cabinet).
0 = OK, 1 = alarm.
RNO 08 Redundancy NVM overrun (latched indication). Set to 1 in primary
module if NVM checkpoint overruns have occurred. NVM checkpoint
overruns cause the primary module to reset the backup module.
12-13 — 00 Reserved
14 — FF Module nomenclature:(05)16 = BRC-100
15 — FF Revision letter (in ASCII code), for example, (46)16 = F, (47)16 = G
16 — FF Revision number (in ASCII code), for example, (30)16 = 0
NOTE:
1. Byte 3 is displayed on the front panel LEDs when the module is in ERROR mode.

B - 14 WBPEEUI210504B0

You might also like