Figure 1.33-1 Function Block Diagram of General-Purpose Calculation Blocks (CALCU, CALCU-C)
The following tables show the connection types and connection destinations of the I/O terminals of General-
Purpose Calculation Blocks (CALCU, CALCU-C).
Table 1.33-1 Connection Types and Connection Destinations of the I/O Terminals of General-Purpose
Calculation Block (CALCU)
file:///C:/Program%20Files%20(x86)/Yokogawa/IA/iPCS/Products/CENTUMVP/Pro... 25/12/2014
1.33 General-Purpose Calculation Blocks (CALCU, CALCU-C) Page 2 of 17
Table 1.33-2 Connection Types and Connection Destinations of the I/O Terminals of General-Purpose
Calculation Block with String I/O (CALCU-C)
SEE For more information about the types of input processing, output processing, and alarm processing
ALSO possible for the CALCU and CALCU-C blocks, refer to:
1.3.1, "Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block"
For more information about the input processing, refer to:
3, “Input Processing” in the Function Blocks Overview (IM 33K03E21-50E)
For more information about the output processing, refer to:
4, “Output Processing” in the Function Blocks Overview (IM 33K03E21-50E)
For more information about the alarm processing, refer to:
5, “Alarm Processing - FCS” in the Function Blocks Overview (IM 33K03E21-50E)
file:///C:/Program%20Files%20(x86)/Yokogawa/IA/iPCS/Products/CENTUMVP/Pro... 25/12/2014
1.33 General-Purpose Calculation Blocks (CALCU, CALCU-C) Page 3 of 17
file:///C:/Program%20Files%20(x86)/Yokogawa/IA/iPCS/Products/CENTUMVP/Pro... 25/12/2014
1.33 General-Purpose Calculation Blocks (CALCU, CALCU-C) Page 4 of 17
The following processing is performed if the data status of a calculation output value (CPV) becomes a bad
data value (BAD) or a questionable data value (QST) according to the specification of the calculation input
value error detection.
• If the data status of a calculation output value (CPV) becomes a bad data value (BAD)
The calculation processing is aborted, the value immediately before the error is retained and the
connected destination of OUT terminal will hold this retained previous value. The previous good CPV is
held and accessible from SUB terminal. If CPV overshoot is set to the block, the data from the OUT
terminal is not affected by the CPV change caused by main calculation input (RV) abnormality. However,
the CPV after overshoot can be accessed using SUB terminal.
• If the data status of a calculation output value (CPV) becomes a questionable data value (QST)
The calculation input values (RV, RVn) retain the values immediately before the error generation. The
calculation processing is continued using these values and the calculation output value (CPV) is updated.
file:///C:/Program%20Files%20(x86)/Yokogawa/IA/iPCS/Products/CENTUMVP/Pro... 25/12/2014
1.33 General-Purpose Calculation Blocks (CALCU, CALCU-C) Page 5 of 17
TIP Notice that when this option is checked, the closing processing of trend data and the closing data of
report, the quality flag of OPC may be affected.
SEE For more information about the closing processing of trend data, refer to:
ALSO " Closing Data Processing Based on Data Status" in 1.7.2, "Structure of the Closing Processed Data "
in the Human Interface Stations Reference Vol.2 (IM 33K03F22-50E)
For more information about the closing data of report, refer to:
" Detailed Format Design – Closed-Topic Dialog Box Detail Definition Sheet" in 2.4.2, "Detailed
Format Design – Closing Data" in the Optional Functions Reference (IM 33K03N10-50E)
For more information about the quality flag of OPC, refer to:
"z Setting Quality Flag Tables" in " HIS Setup Window" in 1.2 "Engineering Related to OPC" in the
Optional Functions Reference (IM 33K03N10-50E)
Calculation Algorithm
The General-Purpose Calculation Blocks (CALCU, CALCU-C) execute algorithms that are defined using the
general-purpose calculation expression description language.
The calculation input values, calculated output values and set parameters of the General-Purpose Calculation
Block (CALCU) all use double-precision floating-point data type.
The calculation input values (RV4 to RV7) and calculated output values (CPV2, CPV3) of the General-Purpose
Calculation Block with String I/O (CALCU-C) all use string data type. When data of other function block is
referred or set using element symbols and a description of data items without specifying I/O terminal
connections in a calculation expression description, terminal connections of the specified I/O data are
performed automatically during compiling. The I/O terminals used here are different from those connected in
the Function Block Detail Builder.
file:///C:/Program%20Files%20(x86)/Yokogawa/IA/iPCS/Products/CENTUMVP/Pro... 25/12/2014
1.33 General-Purpose Calculation Blocks (CALCU, CALCU-C) Page 6 of 17
The input signals that are directly specified in the calculation expression description become the target of
calculation input error detection.
SEE For more information about the general-purpose calculation expression description language, refer to:
ALSO 1.47, "General-Purpose Arithmetic Expressions"
Set Parameters
The parameters of the General-Purpose Calculation Blocks (CALCU, CALCU-C) are shown as follows.
• Calculation parameters 1 to 4 (P01 to P 04)
Engineering unit data values.
• Calculation parameters 5 to 8 (P05 to P08)
Engineering unit data values in the case of General-Purpose Calculation Block (CALCU).
A string data of up to 16 standard-width characters or 8 double-width characters can be used for the
General-Purpose Calculation Block with String I/O (CALCU-C).
SEE For more information about suppressing the system alarms on calculation error, refer to:
ALSO " Suppress System Alarm when CALCU Calculation Error Occurs : FFCS Series/KFCS2/LFCS2" in
1.33, "General-Purpose Calculation Blocks (CALCU, CALCU-C)"
For more information about the description of calculation errors and the calculation error handling, refer
to:
1.47.7, "Error Handling"
file:///C:/Program%20Files%20(x86)/Yokogawa/IA/iPCS/Products/CENTUMVP/Pro... 25/12/2014
1.33 General-Purpose Calculation Blocks (CALCU, CALCU-C) Page 7 of 17
SEE For more information about the calculation errors, refer to:
ALSO 1.47.7, "Error Handling"
file:///C:/Program%20Files%20(x86)/Yokogawa/IA/iPCS/Products/CENTUMVP/Pro... 25/12/2014
1.33 General-Purpose Calculation Blocks (CALCU, CALCU-C) Page 8 of 17
The table below shows the data items of the General-Purpose Calculation Block with String I/O (CALCU-C):
Table 1.33-6 Data Items of General-Purpose Calculation Block with String I/O (CALCU-C)
file:///C:/Program%20Files%20(x86)/Yokogawa/IA/iPCS/Products/CENTUMVP/Pro... 25/12/2014
1.33 General-Purpose Calculation Blocks (CALCU, CALCU-C) Page 9 of 17
SEE For more information about valid block modes for CALCU block and CALCU-C block, refer to:
ALSO 1.3.2, "Valid Block Modes for Each Calculation Block"
Even though the I/O normalization is specified on the builder, the CENTUM-XL
calculation expressions are not free from problems. After the CENTUM-XL migration,
the application debugging is necessary.
z In Data Normalization
The input engineering unit data (RV) of a calculation block can be normalized before used in the calculation.
When normalizing the RV, the range of the general-purpose calculation block will be ignored but the range of
the block connected to IN terminal or Q01 to Q07 terminal will be used. The normalization is performed with
the following formula:
RVN = (RV – SLi) / (SHi – SLi)
RVN: After normalization
RV: Before normalization (Engineering Unit Data)
SHi: Scale high-limit of the connected data
SLi: Scale low -limit of the connected data
For the data item, such as DV or DL, that is differentiated from other data items, the normalization is
performed with the following formula:
RVN = RV / (SHi – SLi)
RVN: After normalization
RV: Before normalization
SHi: Scale high-limit of the connected data
SLi: Scale low -limit of the connected data
file:///C:/Program%20Files%20(x86)/Yokogawa/IA/iPCS/Products/CENTUMVP/Pro... 25/12/2014
1.33 General-Purpose Calculation Blocks (CALCU, CALCU-C) Page 10 of 17
z Input Limitation
If “Normalization of Input/Output Signal” is defined with Yes, the input data will be restricted as follows:
• If the connected data or referenced data is a non-difference type data.
file:///C:/Program%20Files%20(x86)/Yokogawa/IA/iPCS/Products/CENTUMVP/Pro... 25/12/2014
1.33 General-Purpose Calculation Blocks (CALCU, CALCU-C) Page 11 of 17
The data value will be restricted within the range of SH and SL-(SH-SL).
(SH/SL: Range of the connected or referenced data)
• If the connected data or referenced data is a difference type data.
The data value will be restricted within the range between positive and negative of (SH-SL).
(SH/SL: Range of the connected or referenced data)
However, the values beyond the limitation can be visualized on Tuning View.
z Output Limitation
If “Normalization of Input/Output Signal” is defined with Yes, the output will be restricted as follows:
• CPV
The data value will be restricted within the range of SH and SL-(SH-SL).
(SH/SL: Range of the CPV)
• If the connected data or referenced data is a non-difference type data.
The data value will be restricted within the range of SH and SL-(SH-SL).
(SH/SL: Range of the connected or manipulated data)
• If the connected data or referenced data is a difference type data.
The data value will be restricted within the range between positive and negative of (SH-SL).
(SH/SL: Range of the connected or manipulated data)
However, the values after limitation can be visualized on Tuning View.
Model Fomula
Relevant data item Range
name number
file:///C:/Program%20Files%20(x86)/Yokogawa/IA/iPCS/Products/CENTUMVP/Pro... 25/12/2014
1.33 General-Purpose Calculation Blocks (CALCU, CALCU-C) Page 12 of 17
HH / LL / PH / PL / PV / PVP SH:SL 1
PVI
VL SH:SL (Difference) 4
HH / LL / PH / PL / PV / PVP / SV / SVH / SVL SH:SL 1
PVI-DV
DL / DV / VL SH:SL (Difference) 4
CSV / HH / LL / PH / PL / PV / PVP / RSV / SV / SVH / SVL SH:SL 1
PID MH / ML / MV / OPHI / OPLO / PMV / RLV1-2 / RMV MSH:MSL 3
DB / DL / GW / VL / DV SH:SL (Difference) 4
CSV / HH / LL / PH / PL / PV / PVP / RSV / SV / SVH / SVL SH:SL 1
MH / ML / MSH / MSL / MV / OPHI / OPLO / PMV / RLV1-
PI-HLD MSH:MSL 3
2 / RMV
DB / DL / GW / VL / DV SH:SL (Difference) 4
CSV / HH / LL / PH / PL / PV / PVP / RSV / SV / SVH / SVL SH:SL 1
MH / ML / MV / OPHI / OPLO / PMV / RLV1-2 / RMV MSH:MSL 3
PID-BSW
DL / LK / VL / DV SH:SL (Difference) 4
BIAS MSH:MSL (Difference) 6
CSV / HH / LL / PH / PL / PV / PVP / RSV / SV / SVH / SVL SH:SL 1
ONOFF MV / PMV / RMV MSH:MSL 3
DL / VL / DV SH:SL (Difference) 4
CSV / HH / LL / PH / PL / PV / PVP / RSV / SV / SVH / SVL SH:SL 1
ONOFF-E MV / PMV / RMV MSH:MSL 3
DL / VL / DV SH:SL (Difference) 4
CSV / HH / LL / PH / PL / PV / PVP / RSV / SV / SVH / SVL SH:SL 1
ONOFF-G MV / PMV / RMV MSH:MSL 3
DB / DL / VL / DV SH:SL (Difference) 4
CSV / HH / LL / PH / PL / PV / PVP / RSV / SV / SVH / SVL SH:SL 1
ONOFF-GE MV / PMV / RMV MSH:MSL 3
DB / DL / VL / DV SH:SL (Difference) 4
CSV / HH / LL / PH / PL / PV / PVP / RSV / SV / SVH / SVL SH:SL 1
PID-TP MH / ML / MV / OPHI / OPLO / PMV / RLV1-2 / RMV MSH:MSL 3
DB / DL / GW / VL / DV SH:SL (Difference) 4
CSV / HH / LL / PH / PL / PV / PVP / RSV / SV / SVH / SVL SH:SL 1
PD-MR CALC / MH / ML / MR / MV / OPHI / OPLO / PMV / RMV MSH:MSL 3
DL / VL / DV SH:SL (Difference) 4
CSV / HH / LL / PH / PL / PV / RSV / SVH / SVL / SV SH:SL 1
MH / ML / MV / OPHI / OPLO / PMV / RMV MSH:MSL 3
PI-BLEND
RP MSH:MSL (Difference) 6
DL / VL / DV DSL:DSH (Difference) 8
CSV / HH / LL / PH / PL / PV / PVP / RSV / SV / SVH / SVL SH:SL 1
PID-STC MH / ML / MV / OPHI / OPLO / PMV / RLV1-2 / RMV MSH:MSL 3
DB / DL / GW / VL / DV SH:SL (Difference) 4
MLD MH / ML / MV / OPHI / OPLO MSH:MSL 3
HH / LL / PH / PL / PV / PVP SH:SL 1
MLD-PVI MH / ML / MV / OPHI / OPLO MSH:MSL 3
VL SH:SL (Difference) 4
CSV / SV / SVH / SVL SSH:SSL 2
MLD-SW
MH / ML / MV / OPHI / OPLO / PMV MSH:MSL 3
file:///C:/Program%20Files%20(x86)/Yokogawa/IA/iPCS/Products/CENTUMVP/Pro... 25/12/2014
1.33 General-Purpose Calculation Blocks (CALCU, CALCU-C) Page 13 of 17
file:///C:/Program%20Files%20(x86)/Yokogawa/IA/iPCS/Products/CENTUMVP/Pro... 25/12/2014
1.33 General-Purpose Calculation Blocks (CALCU, CALCU-C) Page 14 of 17
• Calculation Blocks
Table 1.33-9 Relevant Data Item: Calculation Blocks (Data Connection) (1/2)
file:///C:/Program%20Files%20(x86)/Yokogawa/IA/iPCS/Products/CENTUMVP/Pro... 25/12/2014
1.33 General-Purpose Calculation Blocks (CALCU, CALCU-C) Page 15 of 17
Table 1.33-10 Relevant Data Item: Calculation Blocks (Data Connection) (2/2)
• Faceplate Blocks
Table 1.33-11 Relevant Data Item: Faceplate Blocks (Data Connection)
• SFC Blocks
Table 1.33-12 Relevant Data Item: SFC Blocks (Data Connection)
file:///C:/Program%20Files%20(x86)/Yokogawa/IA/iPCS/Products/CENTUMVP/Pro... 25/12/2014
1.33 General-Purpose Calculation Blocks (CALCU, CALCU-C) Page 16 of 17
_SFCAS MH / ML / MV MSH:MSL 3
• FF Faceplate Blocks
Table 1.33-15 Relevant Data Item: FF Faceplate Blocks (Data Connection)
Model Fomula
Relevant data item Range
name number
FF-AI HH / LL / OUT_V / PH / PL / PV SH:SL 1
FF-DI Irrelevant to normalization ― ―
BKCL_IN / MH / ML / MV / OPHI / OPLO / SEL1- SEL3 /
FF-CS MSH:MSL 3
BKCL_SL1 - BKCL_SL3
BKCL_OUT / CSV / HH / LL / PH / PL / PV / RCAS_OUT / RSV SH:SL 1
BKCL_IN / MH / ML / MV / OPHI / OPLO / RMV / ROUT_OUT MSH:MSL 3
FF-PID
SH:SL
DH 4
(Difference)
BKCL_OUT / CSV / HH / LL / PH / PL / PV / RCAS_OUT / RSV SH:SL 1
BKCL_IN / MH / ML / MV / OPHI / OPLO MSH:MSL 3
FF-RA
SH:SL
DH 4
(Difference)
BKCL_OUT / CSV / FST_VAL / PV / RCAS_OUT / RSV SH:SL 1
FF-AO
MV / OPHI / OPLO / READBACK MSH:MSL 3
FF-DO Irrelevant to normalization ― ―
FF-OS CSV / SV SSH:SSL 2
FF-SC OUT1_V / OUT2_V SH:SL 1
FF-IT CPV SH:SL 1
FF-IS CPV SH:SL 1
FF-MDI Irrelevant to normalization ― ―
file:///C:/Program%20Files%20(x86)/Yokogawa/IA/iPCS/Products/CENTUMVP/Pro... 25/12/2014
1.33 General-Purpose Calculation Blocks (CALCU, CALCU-C) Page 17 of 17
file:///C:/Program%20Files%20(x86)/Yokogawa/IA/iPCS/Products/CENTUMVP/Pro... 25/12/2014