Sei sulla pagina 1di 17

1.

33 General-Purpose Calculation Blocks (CALCU, CALCU-C)

1.33

Page 1 of 17

General-Purpose Calculation Blocks (CALCU,


CALCU-C)

The General-Purpose Calculation Blocks (CALCU, CALCU-C) are used when defining arbitrary calculation
algorithms.

General-Purpose Calculation Blocks (CALCU, CALCU-C)


Connection
The General-Purpose Calculation Block (CALCU) is a function block that executes pre-defined arbitrary
calculation algorithms. Calculation algorithms are defined using the general-purpose calculation expression
description language.
The Calculation Block with String I/O (CALCU-C) has the same function as the General-Purpose Calculation
Block (CALCU), but the former has I/O terminals that can handle string data and a part of the I/O data is
used only for string data.
Here is a function block diagram of the General-Purpose Calculation Blocks (CALCU, CALCU-C).

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 GeneralPurpose 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)
Connection type(*1)
I/O terminal

Data
Data Condition
reference setting
testing

Connection destination(*1)

Status
Terminal Process
manipulation connection
I/O

Software
I/O

Function
block

Calculation
input

Q01
nth
to
calculation
Q07
input

IN

OUT

Calculation
output

J01
to
J03

nth
calculation
output

SUB

Auxiliary
output

file:///C:/Program%20Files%20(x86)/Yokogawa/IA/iPCS/Products/CENTUMVP/Pro... 25/12/2014

1.33 General-Purpose Calculation Blocks (CALCU, CALCU-C)

*1:

Page 2 of 17

x: Connection available
Blank: Connection not available
: Connection is available only when connecting to a switch block (SW-33, SW-91) or inter-station data link
block (ADL).

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)
Connection type(*1)
I/O terminal

Data
Data Condition
reference setting
testing

Connection destination(*1)

Status
Terminal Process
manipulation connection
I/O

Software
I/O

Function
block

Calculation
input

Q01
nth
to
calculation
Q03
input

Q04
nth
to
calculation
Q07
input

IN

OUT

Calculation
output

J01

nth
calculation
output

J02
to
J03

nth
calculation
output

SUB

Auxiliary
output

*1:

x: Connection available
Blank: Connection not available
: Connection is available only when connecting to a switch block (SW-33, SW-91) or inter-station data link
block (ADL).

Functions of General-Purpose Calculation Blocks (CALCU,


CALCU-C)
The CALCU and CALCU-C blocks perform input processing, calculation processing, output processing, and
alarm processing.
The processing timings available for the CALCU and CALCU-C blocks are a periodic startup and a one-shot
startup. Selections available for the scan period used to execute a periodic startup include the basic scan
period, the medium-speed scan period (*1), and the high-speed scan period.
*1:

SEE
ALSO

The medium-speed scan period can only be used for the FFCS series, KFCS2, KFCS, LFCS2, and LFCS.

For more information about the types of input processing, output processing, and alarm processing
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

z Input Processing of General-Purpose Calculation Blocks (CALCU,


CALCU-C) when a Calculation Input Value Error is Detected

The CALCU and CALCU-C blocks perform special input processing when an abnormal calculation input value
is detected.

z Exact Totalization Pulse Train Input of General-Purpose Calculation


Blocks (CALCU, CALCU-C)
When the input signal conversion is specified with [Exact Totalization Pulse Train Input], the totalization can
use the calculation output value (CPV).

z Calculation Processing of General-Purpose Calculation Blocks


(CALCU, CALCU-C)

The CALCU and CALCU-C blocks perform computation using arbitrarily defined calculation algorithms and
their setup parameters.

z Alarm Processing Specific to General-Purpose Calculation Blocks


(CALCU, CALCU-C)

The calculation error alarm check, which is one of the alarm checks performed by the CALCU and CALCU-C
blocks, is specific to these two function blocks.

z Calculation Output Value Range limit of General-Purpose


Calculation Blocks (CALCU, CALCU-C)
The calculation output value (CPV) can be limited in range between SL-(SH-SL) and SH (*1).
*1:

SL= CPV scale low limit; SH= CPV scale high limit

z In/Out Data Normalization of General-Purpose Calculation Blocks


(CALCU, CALCU-C): FFCS Series/KFCS2/LFCS2

In CENTUM-XL system, the In/Out data of general-purpose calculation blocks are normalized values. In
CENTUM VP system, the In/Out data of general-purpose calculation blocks can be either normalized values
or engineering unit data values according to the designation on the builder. Designating to use the
normalized In/Out data of general-purpose calculation blocks can retain consistency when migrating a
CENTUM-XL calculations to CENTUM VP system.

Input Processing when a Calculation Input Value Error is


Detected
Calculated Input Value Error Detected
Define the calculation value error detection condition of the CALCU and CALCU-C blocks and the data status
of the calculation output value (CPV) when an error is detected in Calculated input value error detected of
Function Block Detail Builder. By default, this setting is set as 0: Non-Detecting Type.
In connection with these settings, a method by which the data status (IOP, IOP-, OOP, NRDY) related to the
process control input/output generated with the calculation input values (RV, RVn) is communicated to the
calculation output value (CPV) will furthermore be determined. The data status of the calculation output
values (CPV1 to CPV3) is always NR (normal) regardless of the setting in [Calculated input value error
detected] item.
Table 1.33-3

Specification of Calculation Input Value Error Detection of General-Purpose Calculation

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

Blocks (CALCU, CALCU-C)


Error detection condition(*1)
Specification

Compensationcomputing Type

All-detection Type

Non-detecting Type
*1:
*2:
*3:
*4:

CPV data
status

Input value of data status


communication source

RV

RV1 to
RV7 (*2)

Calculation
processing

BAD

BAD

NR
(*3)

BAD

Normal

QST

NR
(*3)

NR (*3)

Normal

NR (*3)

BAD

BAD

BAD

BAD

NR
(*3)

NR (*3)

Normal

NR (*3)

Do not communicate.

Normal

NR (*3)

Do not communicate.

RV

Do not communicate.

The priority order is from RV to RVn


(*4).

-: Ignore (dont care)


RV1 to RV7 means the logic sum of the data statuses from RV1 to RV7.
An NR entry in the table indicates a condition where the data status is neither BAD nor QST.
The IOP and IOP- of a status to be communicated have higher priority. An IOP will be transmitted if an NRDY
has been generated for an input value with higher priority, and an IOP has been generated at the same time for
an input value with lower priority.

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.

z Input Processing for Data Status QST: FFCS Series/KFCS2/LFCS2


For a calculation block input, if its data status is QST, the QST status can be passed to the calculated output
value. For passing the QST status, check the option of [Pass calculation block's input QST status to CPV] on
[Constant 3] tab of FCS properties sheet.
When the option is checked or unchecked, the behaviors of CPV data status vary as follows:
Table 1.33-4
CPV

Relationship of CALCU and CALCU-C Block's Data Status of Input (RVn) and Data Status of

Calculated input value error


detection specification

Compensation-computing Type

Error detection condition(*1)(*2)

CPV data status

RV

RV1 to
RV7 (*3)

Calculation
processing

QST is
passed

QST is not
passed

BAD

BAD

BAD

BAD

Normal

QST

QST

QST

QST

Normal

QST

NR

QST

NR

Normal

QST

NR

NR

QST

Normal

NR

NR

NR

NR

Normal

NR

NR

BAD

BAD

BAD

file:///C:/Program%20Files%20(x86)/Yokogawa/IA/iPCS/Products/CENTUMVP/Pro... 25/12/2014

1.33 General-Purpose Calculation Blocks (CALCU, CALCU-C)

All-detection Type

Non-detecting Type
*1:
*2:
*3:

TIP

SEE
ALSO

Page 5 of 17

BAD

BAD

BAD

QST

QST

Normal

QST

NR

QST

NR

Normal

QST

NR

NR

QST

Normal

QST

NR

NR

NR

Normal

NR

NR

Normal

NR

NR

-:Ignore (dont care)


Conditions are tested starting from the top, and if a condition is met, the subsequent conditions are ignored.
If any one of RV1 to RV7 input statuses is BAD, it is denoted as BAD. If none of RV1 to RV7 input statuses is bad
while one of them is QST, it is denoted as QST.

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.

For more information about the closing processing of trend data, refer to:
" 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)

Data for Totalization when Input Signal Conversion is Exact


Totalization Pulse Train
Data Item for Totalization
When the input signal conversion is specified with [Exact Totalization Pulse Train Input], the totalization can
use the calculation outut value (CPV) instead of the integration of the calculation input value (RV).
[Exact Totalization Pulse Train Input] can be specified on the Function Block Detail builder for the item of
[Input Signal Conversion].
Data Item for Totalization: Choose [RV] or [CPV].
The default is [RV].
Moreover, if the [Input Signal Conversion] is specified with another type of conversion, the totalization can
only use the calcaulation output [CPV], cannot use the calculation input [RV].

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
ALSO

For more information about the general-purpose calculation expression description language, refer to:
1.47, "General-Purpose Arithmetic Expressions"

z Restriction on the General-Purpose Calculation Blocks (CALCU,


CALCU-C)

Up to eight input terminal connections and four output terminal connections can be defined on the
Function Block Detail Builder.
Up to 24 input data and 12 output data can be referred or set as the element symbols and data items in a
calculation expression.
However, for using alphanumeric strings in CALCU-C, a maximum of 6 character strings and 6 numeric
strings can be used.
Data of other FCS cannot be used in an arithmetic/logic calculation expression.

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).

Computation Error Alarm Check


A computation error alarm (CERR) is generated if a calculation error occurs during the processing of a userdefined calculation formula.
If a computation error alarm (CERR) is generated, the calculation processing stops and an error message
containing an error generation statement number and an error code is output. The error occurrence
statement number is set to the data item ERRL, and the previous value is held as the calculated output value
(CPV). The ERRL can be accessed from other function block, since it is handled as a parameter. Under this
circumstance, the system alarm may occur. However, if the setting item of [Suppress system alarm when
CALCU calculation error occurs] is specified on the builder, the system alarm message will not occur.
If a computation error occurs, the computation executes again from the beginning of the calculation in the
next scan. If the second computation is completed correctly, the computation error alarm (CERR) returns to
normal. The value at the error occurrence is held in ERRL.
On the builder, if the setting item of [Suppress system alarm when CALCU calculation error occurs] is
specified, when the calculation error occurs, the CPV data status will not change to BAD but the alarm status
will change to CERR.

SEE
ALSO

For more information about suppressing the system alarms on calculation error, refer to:
" 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

Suppress System Alarm when CALCU Calculation Error


Occurs : FFCS Series/KFCS2/LFCS2
Suppress system alarm when CALCU calculation error occurs
When running the CALCU or CALCU-C calculations, if a calculation error occurs, a system alarm message will
be initiated. However, this message can be suppressed by specifying the setting item of [Suppress system
alarm when CALCU calculation error occurs] on the Constant 3 tab of FCS Properties. By default, this
option is not enabled.

SEE
ALSO

For more information about the calculation errors, refer to:


1.47.7, "Error Handling"

CPV Range Limit: FFCS Series/KFCS2/LFCS2


CPV range limit
The CPV Range Limit can be applied to limit the calculation output value (CPV) within a specified range. The
CPV can be limited in range between SL-(SH-SL) and SH.
When CPV is smaller than the low limit of SL-(SH-SL), the low limit will be used. When CPV is greater than
the high limit of SH, the high limit will be used.
The CPV range limit is different from the PV range limit, only limit the calculation output value (CPV). The
limited calculation output value will go through digital filter and used for totalization. The CPV Range Limit
functions only when the block mode is AUT.
The CPV Range Limit can be specified on Function Block Detail builder.
CPV Range Limit: Choose [Valid] or [Invalid].
The default is [Invalid].

SEE
ALSO

For more information about PV range limit, refer to:


PV Range Limit: FFCS Series/KFCS2/LFCS2 in 3.1.1, Input Signal Conversions Common to
Regulatory Control Blocks and Calculation Blocks in the Function Blocks Overview (IM 33K03E21-50E)

Data Items CALCU, CALCU-C


The table below shows the data items of the General-Purpose Calculation Block (CALCU):
Table 1.33-5
Data Item

Data Items of General-Purpose Calculation Block (CALCU)


Data Name

Entry Permitted or Not


(*1)

Range

Default

-----

O/S
(AUT)

Alarm status

-----

NR

AFLS

Alarm flashing status

-----

-----

AF

Alarm detection
specification

-----

-----

AOFS

Alarm masking
specification

-----

-----

RV

Calculated input value

-----

RAW

Raw input data

Value in the unit at the connection


destination

-----

MODE

Block mode

ALRM

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

RV1 to RV7

Calculated input value 1


to 7

-----

RAW1 to
RAW7

Raw input data 1 to 7

Value in the unit at the connection


destination

-----

CPV

Calculated output value

CPV engineering unit value

SL

SUM

Totalizer value

Value in the same engineering unit


as CPV

CPV1 to
CPV3

Calculated output value


1 to 3

-----

P01 to P08

Calculation parameters 1
to 8

-----

EERL

Error statement number

-----

ERRC (*3)

Error code

-----

OPMK

Operation mark

0 to 64

UAID

User application ID

-----

*1:

*2:
*3:

(*2)

x: Entry is permitted unconditionally


Blank: Entry is not permitted
: Entry is permitted conditionally
Entry is permitted when the data status is CAL
ERRC denotes a detailed error code and a class error code

The table below shows the data items of the General-Purpose Calculation Block with String I/O (CALCU-C):
Table 1.33-6
Data Item

Data Items of General-Purpose Calculation Block with String I/O (CALCU-C)


Data Name

Entry Permitted or Not


(*1)

Range

Default

-----

O/S
(AUT)

Alarm status

-----

NR

AFLS

Alarm flashing status

-----

-----

AF

Alarm detection
specification

-----

-----

AOFS

Alarm masking
specification

-----

-----

RV

Calculated input value

-----

RAW

Raw input data

Value in the unit at the connection


destination

-----

RV1 to RV3

Calculated input value 1


to 3

-----

RAW1 to
RAW3

Raw input data 1 to 3

Value in the unit at the connection


destination

-----

RV4 to RV7

Calculated input value 4


to 7

16Byte

NULL

CPV

Calculated output value

CPV engineering unit value

SL

SUM

Totalizer value

Value in the same engineering unit


as CPV

CPV1

Calculated output value 1

16Byte

NULL

CPV2 to
CPV3

Calculated output value 2


and 3

-----

P01 to P04

Calculation parameters 1
to 4

-----

P05 to P08

Calculation parameters 5
to 8

16Byte

NULL

MODE

Block mode

ALRM

(*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)

EERL

Error statement number

-----

ERRC (*3)

Error code

-----

OPMK

Operation mark

0 to 64

UAID

User application ID

-----

*1:

*2:
*3:

SEE
ALSO

Page 9 of 17

x: Entry is permitted unconditionally


Blank: Entry is not permitted
: Entry is permitted conditionally
Entry is permitted when the data status is CAL
ERRC denotes a detailed error code and a class error code

For more information about valid block modes for CALCU block and CALCU-C block, refer to:
1.3.2, "Valid Block Modes for Each Calculation Block"

Calculation Block In/Out Data Normalization


Normalization of Input/Output Signal
By designating on the builder, the calculation can be performed using the normalized values for the data
connected to the IN terminal, Q01 to Q07 terminals, OUT terminal, J01 to J03 terminals of a general-purpose
calculation block and the data set to or referenced by the general-purpose calculation block according to the
PV range (SH, SL), SV range (SSH, SSL), MV range (MSH, MSL) of the data.
The I/O terminals for numerical data and the numerical variables in the CALCU-C function block are also
affected by this feature. The numerical input and output terminals of CALCU-C function block are as follows:
Input Terminals for Numerical Data: IN, Q01 to Q03
Output Terminals for Numerical Data: OUT, J01
Numerical variables that referenced or defined by the expressions in the CALCU-C function 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:
RV:
SHi:
SLi:

After normalization
Before normalization
Scale high-limit of the connected data
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 Convert Output Data to Engineering Unit Data


When outputing the calculated data, the normalized data can be converted to engineering unit data. When
converting CPV to an engineering unit data, the range of the CPV will be used. When converting CPV1 to
CPV3 and other internal variables to engineering unit data, the ranges of the blocks connected to J01 to J03
terminal will be used.
The conversion is performed with the following formula:
CPV = CPVN x (SHo SLo) + SLo
CPV: Before normalization (Engineering Unit Data)
CPVN: After normalization
SHo: Scale high-limit of the connected data (for CPV1 to CPV3 and other internal variables)
Scale high-limit of CPV (for CPV)
SLo: Scale low-limit of the connected data (for CPV1 to CPV3 and other internal variables)
Scale low-limit of CPV (for CPV)
For the data item, such as DV or DL, that is differentiated from other data items, the conversion is
performed with the following formula:
CPV = CPVN x (SHo SLo)
CPV: Before normalization (Engineering Unit Data)
CPVN: After normalization
SHo: Scale high-limit of the connected data (for CPV1 to CPV3 and other internal variables)
Scale high-limit of CPV (for CPV)
SLo: Scale low-limit of the connected data (for CPV1 to CPV3 and other internal variables)
Scale low-limit of CPV (for CPV)
The formulas for normalizing the input data and for converting the output data to engineering unit data in
related to ranges are shown in the table below:
Table 1.33-7

In/Out Data Normalization

Formula
number

Range

Normalizing input data

Converting output to engineering


unit data

SH:SL

RVN = (RV - SL) / (SH - SL)

CPV = CPVN (SH - SL) + SL

SSH:SSL

RVN = (RV - SSL) / (SSH - SSL)

CPV = CPVN (SSH - SSL) + SSL

MSH:MSL

RVN = (RV - MSL) / (MSH MSL)

CPV = CPVN (MSH - MSL) + MSL

SH:SL (Difference)

RVN = RV / (SH - SL)

CPV = CPVN (SH - SL)

SSH:SSL (Difference)

RVN = RV / (SSH - SSL)

CPV = CPVN (SSH - SSL)

MSH:MSL (Difference) RVN = RV / (MSH - MSL)

DSH:DSL

RVN = (RV - DSL) / (DSH - DSL) CPV = CPVN (DSH - DSL) + DSL

DSH:DSL (Difference)

RVN = RV / (DSH - DSL)

CPV = CPVN (DSH - DSL)

MSH1:MSL1

RVN = (RV - MSL1) / (MSH1 MSL1)

CPV = CPVN (MSH1 - MSL1) + MSL1

10

MSH1:MSL1
(Difference)

RVN = RV / (MSH1 - MSL1)

CPV = CPVN (MSH1 - MSL1)

11

MSH2:MSL2

RVN = (RV - MSL2) / (MSH2 MSL2)

CPV = CPVN (MSH2 - MSL2) + MSL2

12

MSH2:MSL2
(Difference)

RVN = RV / (MSH2 - MSL2)

CPV = CPVN (MSH2 - MSL2)

CPV = CPVN (MSH - MSL)

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.

z Designating In/Out Data Normalization


Data normalization can be designated for each calculation block on the Function Block Detail Builder of the
general-purpose calculation block.
Normalization of input/output signal: Select No or Yes
Default: No
The settings regarding the calculation block in/out data normalization as well as the general-purpose
calculation details and function block details can be printed out on the builder and printed out through selfdocumentation.

z Regarding DT or NX terminal of BDA-L, BDSET-1L/BDSET-2L Block


When a general-purpose calculation block is referencing or setting the data of a DT01 to DT16 or a NX01 to
NX16 terminal of a BDA-L, BDSET-1L/BDSET-2L block, the data normalization and the range limitation will be
performed according to the range of the data connected to the corresponding J01 to J16 terminal.
The data normalization and range limitation according to the range of the data connected to the J01 to J16
terminals are performed only when the connected data is normalizable.
When the data connected to the J01 to J16 terminal is changed, CALCU that referencing the previously
connected data may become invalid element. In this case, you need to perform the operations for resolving
the invalid elements.

z Normalizable Data (Data Connection)


What data item can be normalized is automatically determined on the control drawing builder.
The normalizable data items (Data Connection) are listed below. In this table, the numbers that represent
different formulas are the same as in the table of In/Out Data Normalization.
Regulatory Control Blocks
Table 1.33-8
Model
name

Relevant Data Item: Regulatory Control Blocks (Data Connection)


Relevant data item

Range

Fomula
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)

PVI

PVI-DV

PID

PI-HLD

PID-BSW

ONOFF

ONOFF-E

ONOFF-G

ONOFF-GE

PID-TP

PD-MR

PI-BLEND

PID-STC

MLD

MLD-PVI

MLD-SW

Page 12 of 17

HH / LL / PH / PL / PV / PVP

SH:SL

VL

SH:SL (Difference)

HH / LL / PH / PL / PV / PVP / SV / SVH / SVL

SH:SL

DL / DV / VL

SH:SL (Difference)

CSV / HH / LL / PH / PL / PV / PVP / RSV / SV / SVH / SVL

SH:SL

MH / ML / MV / OPHI / OPLO / PMV / RLV1-2 / RMV

MSH:MSL

DB / DL / GW / VL / DV

SH:SL (Difference)

CSV / HH / LL / PH / PL / PV / PVP / RSV / SV / SVH / SVL

SH:SL

MH / ML / MSH / MSL / MV / OPHI / OPLO / PMV / RLV12 / RMV

MSH:MSL

DB / DL / GW / VL / DV

SH:SL (Difference)

CSV / HH / LL / PH / PL / PV / PVP / RSV / SV / SVH / SVL

SH:SL

MH / ML / MV / OPHI / OPLO / PMV / RLV1-2 / RMV

MSH:MSL

DL / LK / VL / DV

SH:SL (Difference)

BIAS

MSH:MSL (Difference)

CSV / HH / LL / PH / PL / PV / PVP / RSV / SV / SVH / SVL

SH:SL

MV / PMV / RMV

MSH:MSL

DL / VL / DV

SH:SL (Difference)

CSV / HH / LL / PH / PL / PV / PVP / RSV / SV / SVH / SVL

SH:SL

MV / PMV / RMV

MSH:MSL

DL / VL / DV

SH:SL (Difference)

CSV / HH / LL / PH / PL / PV / PVP / RSV / SV / SVH / SVL

SH:SL

MV / PMV / RMV

MSH:MSL

DB / DL / VL / DV

SH:SL (Difference)

CSV / HH / LL / PH / PL / PV / PVP / RSV / SV / SVH / SVL

SH:SL

MV / PMV / RMV

MSH:MSL

DB / DL / VL / DV

SH:SL (Difference)

CSV / HH / LL / PH / PL / PV / PVP / RSV / SV / SVH / SVL

SH:SL

MH / ML / MV / OPHI / OPLO / PMV / RLV1-2 / RMV

MSH:MSL

DB / DL / GW / VL / DV

SH:SL (Difference)

CSV / HH / LL / PH / PL / PV / PVP / RSV / SV / SVH / SVL

SH:SL

CALC / MH / ML / MR / MV / OPHI / OPLO / PMV / RMV

MSH:MSL

DL / VL / DV

SH:SL (Difference)

CSV / HH / LL / PH / PL / PV / RSV / SVH / SVL / SV

SH:SL

MH / ML / MV / OPHI / OPLO / PMV / RMV

MSH:MSL

RP

MSH:MSL (Difference)

DL / VL / DV

DSL:DSH (Difference)

CSV / HH / LL / PH / PL / PV / PVP / RSV / SV / SVH / SVL

SH:SL

MH / ML / MV / OPHI / OPLO / PMV / RLV1-2 / RMV

MSH:MSL

DB / DL / GW / VL / DV

SH:SL (Difference)

MH / ML / MV / OPHI / OPLO

MSH:MSL

HH / LL / PH / PL / PV / PVP

SH:SL

MH / ML / MV / OPHI / OPLO

MSH:MSL

VL

SH:SL (Difference)

CSV / SV / SVH / SVL

SSH:SSL

MH / ML / MV / OPHI / OPLO / PMV

MSH:MSL

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

BIAS / RP

SSH:SSL (Difference)

MC-2

ANSP / FV / PH / PL

SH:SL

MC-2E

ANSP / FV / PH / PL

SH:SL

MC-3

ANSP / FV / PH / PL

SH:SL

MC-3E

ANSP / FV / PH / PL

SH:SL

HH / LL / PH / PL / PV / PVP

SH:SL

CSV / RSV / SV / SVH / SVL

SSH:SSL

CALC / MH / ML / MV / OPHI / OPLO / PMV / RMV

MSH:MSL

VL

SH:SL (Difference)

RP

SSH:SSL (Difference)

BIAS

MSH:MSL (Difference)

CALC / MH / ML / MV / OPHI / OPLO / Y01-14

MSH:MSL

LL / PH / PL / PV

SH:SL

MH / ML / MV / OPHI / OPLO / PRE

MSH:MSL

LL / PH / PL / PV

SH:SL

MH / ML / MV / OPHI / OPLO / PRE

MSH:MSL

CSV / RSV / SV / SVH / SVL

SSH:SSL

MH / ML / MV / OPHI / OPLO / PMV / RMV

MSH:MSL

DL / DMVM / DMVP / DV

SSH:SSL (Difference)

PV / RV1-3

SH:SL

PV / RV1-3

SH:SL

MH / ML / MV / OPHI / OPLO / PMV

MSH:MSL

HH / LL / PH / PL / PV / PVP / RV1-2 / SV

SH:SL

DL / DV / VL

SH:SL (Difference)

CSV / SV

SSH:SSL

PV

SH:SL

CSV / SV / SVH / SVL

SSH:SSL

MH / ML / MV / OPHI / OPLO / PMV

MSH:MSL

RP

MSH:MSL (Difference)

MH / ML / MV / OPHI / OPLO / PMV / PV

MSH:MSL

RP

MSH:MSL (Difference)

CSV / RSV / SRH1-2 / SRL1-2 / SV / SVH / SVL

SSH:SSL

MV1

MSH1:MSL1

RP1

MSH1:MSL1
(Difference)

10

MV2

MSH2:MSL2

11

RP2

MSH2:MSL2
(Difference)

12

PH / PV

SH:SL

DL

SH:SL (Difference)

Irrelevant to normalization

CSV / PH / PL / PV / RSV / SV / SVH / SVL

SH:SL

DL / DV

SH:SL (Difference)

CSV / PH / PL / PV / RSV / SV / SVH / SVL

SH:SL

DL / DV

SH:SL (Difference)

CSV / PH / PL / PV / RSV / SV / SVH / SVL

SH:SL

RATIO

PG-L13 (*1)
BSETU-2

BSETU-3

VELLIM

SS-H/M/L
AS-H/M/L

SS-DUAL
FOUT

FFSUM

XCPL

SPLIT

PTC
ALM-R
SLCD

SLPC

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

SLMC

DL / DV

SH:SL (Difference)

SMST-111

CSV / PH / PL / PV / RSV / SV / SVH / SVL

SH:SL

SMST-121

PH / PL / PV

SH:SL

PH / PL / PV

SH:SL

CSV / RSV / SV / SVH / SVL

SSH:SSL

DL

SH:SL (Difference)

SBSD

PH / PL / PV

SH:SL

SLBC

PH / PL / PV

SH:SL

PV

SH:SL

RSV / SV

SSH:SSL

DV

SH:SL (Difference)

PV

SH:SL

SMRT

SLCC

STLD
*1:

SV, X02 to X14, PH, PL of PG-L13 are not normalizable.

Calculation Blocks
Table 1.33-9
Model name

Relevant Data Item: Calculation Blocks (Data Connection) (1/2)


Relevant data item

Range

Fomula number

ADD

CPV

SH:SL

MUL

CPV

SH:SL

DIV

CPV

SH:SL

AVE

CPV

SH:SL

SQRT

CPV

SH:SL

EXP

CPV

SH:SL

LAG

CPV

SH:SL

INTEG

CPV

SH:SL

LD

CPV

SH:SL

RAMP

CPV

SH:SL

LDLAG

CPV

SH:SL

DLAY

CPV

SH:SL

DLAY-C

CPV

SH:SL

AVE-M

CPV / PREV

SH:SL

AVE-C

CPV / PREV

SH:SL

FUNC-VAR

CPV

SH:SL

TPCFL

CPV

SH:SL

ASTM1

CPV

SH:SL

ASTM2

CPV

SH:SL

AND

Irrelevant to normalization

OR

Irrelevant to normalization

NOT

Irrelevant to normalization

SRS1-S

Irrelevant to normalization

SRS1-R

Irrelevant to normalization

SRS2-S

Irrelevant to normalization

SRS2-R

Irrelevant to normalization

WOUT

Irrelevant to normalization

OND

Irrelevant to normalization

OFFD

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)

TON

Irrelevant to normalization

TOFF

Irrelevant to normalization

GT

Irrelevant to normalization

GE

Irrelevant to normalization

EQ

Irrelevant to normalization

BAND

Irrelevant to normalization

BOR

Irrelevant to normalization

BNOT

Irrelevant to normalization

CALCU

CPV

SH:SL

CALCU-C

CPV

SH:SL

Table 1.33-10

Page 15 of 17

Relevant Data Item: Calculation Blocks (Data Connection) (2/2)

Model name

Relevant data item

Range

Fomula number

SW-33

Irrelevant to normalization

SW-91

Irrelevant to normalization

DSW-16

CPV / SD01-16

SH:SL

DSW-16C

Irrelevant to normalization

DSET

SV / SVH / SVL

SH:SL

CPV / HH / LL/ PH / PL/ PVP / SV / SVH / SVL

SH:SL

VL

SH:SL (Difference)

BDSET-1L

DT01-DT16

Depending on the connected data

BDSET-1C

Irrelevant to normalization

BDSET-2L

DT01-DT16 / NX01-NX16

Depending on the connected data

BDSET-2C

Irrelevant to normalization

BDA-L

DT01-DT16

Depending on the connected data

BDA-C

Irrelevant to normalization

DSET-PVI

1 to 12

1 to 12

1 to 12

Faceplate Blocks
Table 1.33-11
Model name
INDST2

Relevant Data Item: Faceplate Blocks (Data Connection)


Relevant data item

Range

Fomula number

PV / SV / SVH / SVL

SH:SL

SV / SVH / SVL

SH:SL

MH / ML / MV

MSH:MSL

PV / SV / SVH / SVL

SH:SL

MH / ML / MV

MSH:MSL

BSI

Irrelevant to normalization

PBS5C

Irrelevant to normalization

PBS10C

Irrelevant to normalization

PV / SV / SVH / SVL

SH:SL

MH / ML / MV

MSH:MSL

INDST2S

INDST3

HAS3C

SFC Blocks
Table 1.33-12
Model name

Relevant Data Item: SFC Blocks (Data Connection)


Relevant data item

Range

Fomula number

_SFCSW

Irrelevant to normalization

_SFCPB

Irrelevant to normalization

PV / SV / SVH / SVL

SH:SL

file:///C:/Program%20Files%20(x86)/Yokogawa/IA/iPCS/Products/CENTUMVP/Pro... 25/12/2014

1.33 General-Purpose Calculation Blocks (CALCU, CALCU-C)

_SFCAS

MH / ML / MV

MSH:MSL

Page 16 of 17

UNIT Instrument Blocks


Table 1.33-13

Relevant Data Item: UNIT Instrument Blocks (Data Connection)

Model name

Relevant data item

Range

Fomula number

_UTSW

Irrelevant to normalization

_UTPB

Irrelevant to normalization

PV / SV / SVH / SVL

SH:SL

MH / ML / MV

MSH:MSL

_UTSW-SN

Irrelevant to normalization

_UTPB-SN

Irrelevant to normalization

PV / SV / SVH / SVL

SH:SL

MH / ML / MV

MSH:MSL

_UTAS

_UTAS-SN

Valve Pattern Monitors


The valve pattern monitor block does not have normalizable data item.
Off-site Blocks
Table 1.33-14

Relevant Data Item: Off-site Blocks (Data Connection)

Model name

FSBSET

BLEND

Relevant data item

Range

Fomula number

PV / SV / SVH / SVL / SVPR

SH:SL

MV / OPHI / OPLO

MSH:MSL

DL1 / DL2 / DV

SH:SL (Difference)

MPSV / PV / SV / SVH / SVL / SVPR

SH:SL

FF Faceplate Blocks
Table 1.33-15

Relevant Data Item: FF Faceplate Blocks (Data Connection)

Model
name

Relevant data item

Range

Fomula
number

FF-AI

HH / LL / OUT_V / PH / PL / PV

SH:SL

FF-DI

Irrelevant to normalization

FF-CS

BKCL_IN / MH / ML / MV / OPHI / OPLO / SEL1- SEL3 /


BKCL_SL1 - BKCL_SL3

MSH:MSL

BKCL_OUT / CSV / HH / LL / PH / PL / PV / RCAS_OUT / RSV

SH:SL

BKCL_IN / MH / ML / MV / OPHI / OPLO / RMV / ROUT_OUT

MSH:MSL

DH

SH:SL
(Difference)

BKCL_OUT / CSV / HH / LL / PH / PL / PV / RCAS_OUT / RSV

SH:SL

BKCL_IN / MH / ML / MV / OPHI / OPLO

MSH:MSL

DH

SH:SL
(Difference)

BKCL_OUT / CSV / FST_VAL / PV / RCAS_OUT / RSV

SH:SL

MV / OPHI / OPLO / READBACK

MSH:MSL

FF-DO

Irrelevant to normalization

FF-OS

CSV / SV

SSH:SSL

FF-SC

OUT1_V / OUT2_V

SH:SL

FF-IT

CPV

SH:SL

FF-IS

CPV

SH:SL

FF-MDI

Irrelevant to normalization

FF-PID

FF-RA

FF-AO

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

FF-MDO

Irrelevant to normalization

FF-MAI

Irrelevant to normalization

FF-MAO

Irrelevant to normalization

z Normalizable Data (Terminal Connection)


CPV is normalized or converted according to the range of itself.

SEE
ALSO

For more information about terminal connection, refer to:


2.2, Terminal Connection in the Function Blocks Overview (IM 33K03E21-50E)

z Data That Irrelevant to Data Normalization


The following data are irrelevant to data normalization.
Data connected through switch blocks (SW-33, SW-91)
Data connected through inter-station data link block
Data connected through process I/O
Data connected through software I/O
Data connected to SUB terminal
Data connected through sequence connection
Data connected to MI, NB, CR and GM terminals of self-tuning PID controller block (PID-STC)
Data connected to MV1 to MV8 items of a cascade signal distributor block (FOUT)
Data connected to MV, MSH, MSL, MH, ML and RMV items of YS blocks
Data items that indicating the high and low limits
(SH/SL/SSH/SSL/MSH/MSL/DSH/DSL/MSH1/MSL1/MSH2/MSL2)
If you want to normalize the above data, you can connect the data to a PVI block first and then connect to
the calculation block.

z CENTUM-XL Compatible Action if CPV is not substituted in


Calculation
If the normalization of input/output signal is enabled and the CPV is not substituted in the calculation, at the
end of the calculation script, CPV=RV will be affixed.
In this case, the action will be as follows:
CPV:
CPV is substituted by RV and output through OUT terminal.
digital filter: Activated (*1)
totalization: Activated (*1)
*1:

In CENTUM-XL, the calculation blocks do not have digital filter and totalization features.

file:///C:/Program%20Files%20(x86)/Yokogawa/IA/iPCS/Products/CENTUMVP/Pro... 25/12/2014

Potrebbero piacerti anche