Professional Documents
Culture Documents
IM 33S01B30-01E
CS 1000/CS 3000
Reference
Function Block Details
CONTENTS
10th Edition : Dec.18,2003-00
IM 33S01B30-01E 10th Edition
PART-C Function Block Common
C1. Structure of a Function Block .............................................................. C1-1
C2. I/O Connection ...................................................................................... C2-1
C2.1 Data Connection ........................................................................................... C2-3
C2.2 Terminal Connection................................................................................... C2-13
C2.2.1 Connection between Function Blocks ........................................... C2-14
C2.2.2 Connection by a Switch Block (SW-33, SW-91) ............................. C2-16
C2.3 Sequence Connection ................................................................................ C2-19
C2.4 Connection between Control Stations....................................................... C2-22
C2.5 I/O Connection Information ........................................................................ C2-25
C3. Input Processing .................................................................................. C3-1
C3.1 Input Signal Conversion ............................................................................... C3-5
C3.1.1 Input Signal Conversions Common to Regulatory Control Blocks
and Calculation Blocks.................................................................... C3-7
C3.1.2 Input Signal Conversion for Logic Operation Blocks ...................... C3-19
C3.2 Digital Filter ................................................................................................. C3-20
C3.3 Integration ................................................................................................... C3-23
C3.4 PV/FV/CPV Overshoot ................................................................................ C3-26
C3.5 Calibration ................................................................................................... C3-28
C3.6 Input Processing in the Unsteady State .................................................... C3-30
C3.6.1 Input Processing of the Regulatory Control Block in
Unsteady State ............................................................................. C3-32
C3.6.2 Input Processing of the Calculation Block in Unsteady State ......... C3-34
C3.7 Input Processing for Sequence Connection ............................................. C3-38
C4. Output Processing................................................................................ C4-1
C4.1 Output Limiter ............................................................................................... C4-8
C4.2 Output Velocity Limiter ............................................................................... C4-11
C4.3 Output Clamp .............................................................................................. C4-12
C4.4 Preset Manipulated Output ......................................................................... C4-19
C4.5 Output Tracking .......................................................................................... C4-21
C4.6 Output Range Tracking............................................................................... C4-25
IM 33S01B30-01E
Toc C-2
10th Edition : Dec.18,2003-00
C4.7 Manipulated Output Index .......................................................................... C4-28
C4.8 Output Signal Conversion .......................................................................... C4-29
C4.8.1 No-Conversion.............................................................................. C4-32
C4.8.2 Pulse Width Output Conversion .................................................... C4-36
C4.8.3 Communication Output Conversion .............................................. C4-42
C4.8.4 Output Signal Conversion of Logic Operation Blocks .................... C4-43
C4.9 Auxiliary Output .......................................................................................... C4-44
C4.10 Output Processing in Unsteady State ....................................................... C4-48
C4.11 CPV Pushback ............................................................................................ C4-49
C4.12 Output Processing in Sequence Connection ............................................ C4-52
C5. Alarm Processing FCS ...................................................................... C5-1
C5.1 Input Open Alarm Check .............................................................................. C5-6
C5.2 Input Error Alarm Check ............................................................................... C5-8
C5.3 Input High-High and Low-Low Limit Alarm Check .................................... C5-10
C5.4 Input High and Low Limit Alarm Check ..................................................... C5-13
C5.5 Input Velocity Alarm Check ........................................................................ C5-16
C5.6 Deviation Alarm Check ............................................................................... C5-19
C5.7 Output Open Alarm Check ......................................................................... C5-24
C5.8 Output Fail Alarm Check ............................................................................ C5-26
C5.9 Output High and Low Limit Alarm Check .................................................. C5-27
C5.10 Bad Connection Status Alarm Check ........................................................ C5-29
C5.11 Process Alarm Message ............................................................................. C5-30
C5.12 System Alarm Message .............................................................................. C5-31
C5.13 Deactivate Alarm Detection ........................................................................ C5-32
C5.14 Alarm Inhibition (Alarm OFF) ..................................................................... C5-33
C5.15 Classification of Alarm Actions Based on Alarm Priority ......................... C5-35
C5.15.1 Alarm Display Flashing Actions..................................................... C5-36
C5.15.2 Repeated Warning Alarm.............................................................. C5-38
C5.16 Alarm Processing Levels ........................................................................... C5-39
C6. Block Mode and Status......................................................................... C6-1
C6.1 Block Mode.................................................................................................... C6-2
C6.1.1 Basic Block Mode ........................................................................... C6-4
C6.1.2 Compound Block Mode .................................................................. C6-6
C6.1.3 Block Mode Transition ................................................................... C6-14
C6.1.4 Block Mode Change Command .................................................... C6-21
C6.1.5 Block Mode Transition Condition ................................................... C6-22
C6.2 Block Status ................................................................................................ C6-28
C6.3 Alarm Status................................................................................................ C6-29
C6.4 Data Status .................................................................................................. C6-33
Toc C-3
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
C7. Process Timing..................................................................................... C7-1
C7.1 Process Timing for Regulatory Control Block ............................................ C7-3
C7.1.1 Scan Period .................................................................................... C7-4
C7.1.2 Order of Process Execution ............................................................ C7-7
C7.1.3 Timing of Process I/O ................................................................... C7-11
C7.1.4 Control Period for Controller Block ................................................ C7-26
C7.2 Process Timing of Calculation Block......................................................... C7-30
C7.3 Process Timing for Sequence Control Block ............................................ C7-35
C7.3.1 Execution Timing for Sequence Control Blocks ............................. C7-36
C7.3.2 Output Timing of Sequence Table Blocks (ST16, ST16E) .............. C7-40
C7.3.3 Output Timing of a LC64 Logic Chart Block ................................... C7-41
C7.3.4 Combination of Execution Timing and Output Timing .................... C7-42
C7.3.5 Control Period and Control Phase for Sequence Table Blocks
(ST16, ST16E) .............................................................................. C7-43
C7.3.6 Control Period and Control Phase for Logic Chart Block (LC64) .... C7-45
Blank Page
<C1. Structure of a Function Block> C1-1
IM 33S01B30-01E
C1. Structure of a Function Block
A function block consists of the following components:
Input and output terminals that exchange data with devices outside of the
external function block
Four processing functions of input processing, calculation processing, output
processing, and alarm processing
Constants and variable data used to execute processing functions. Especially,
an abbreviated name called data item is assigned to data that is referenced or
set during the operation.
The function block performs input processing, calculation processing, and output
processing in sequence for an input signal read from the input terminal, and writes
an output signal from the output terminal.
This chapter describes an overview of each structural component of the function
block as well as a basic structure of the function block.
Basic Structure of the Function Block
The figure below shows a basic structure of the function block.
C010001E.EPS
Calculation
processing
Output
processing
Alarm
processing
Input
processing
Input
module
Output
module
Other
function
block
Function block
Alarm processing flow
Flow of input/output signals and data
Legend
PV, etc.
CSV,
SV,
etc.
MV, etc.
OUT
SET
IN
Data items
Output terminal Input terminal
Set input terminal
Figure Basic Structure of the Function Block
10th Edition : Dec.18,2003-00
C1-2 <C1. Structure of a Function Block>
IM 33S01B30-01E
Input/Output Terminals
A function block performs data input/output with the process control input/output and other
function blocks via input/output terminals.
An input terminal (IN), set input terminal (SET) and output terminal (OUT) are basic input/
output terminals. The function block has some other input/output terminals according to the
type of the function block used.
SEE ALSO
For the connection destinations of the input/output terminals, see the following:
C2, I/O Connection
For specific input/output terminals of each function block, see the following:
Part D, Function Block Details
Input Processing
Input processing changes an input signal read from the connection destination of the input
terminal of the function block into data that is suitable for calculation processing (control
calculation, numeric calculation, etc). Various types of input processing are performed
according to the type of the function block and the input signal format.
SEE ALSO
For the basic input processing in the regulatory control block and calculation block, see the following:
C3, Input Processing
For input processing specific to each function block, see the following:
Part D, Function Block Details
Calculation Processing
Calculation processing reads data obtained by input processing, performs calculation
processing according to the type of the function block, and outputs the processing result.
For example, a regulatory control block reads a process variable (PV), performs computa-
tion for regulatory control, and outputs the computation result as a manipulated value (MV).
Because the calculation processing determines the function of each function block, the
processing contents vary depending on the type of the function block.
SEE ALSO
For the calculation processing of each function block, see the following:
Part D, Function Block Details
10th Edition : Dec.18,2003-00
<C1. Structure of a Function Block> C1-3
IM 33S01B30-01E
Output Processing
Output processing outputs data obtained by calculation processing to the connection
destination of the output terminal as an output signal.
Various types of output processing are performed according to the type of the function
block and the output signal format.
SEE ALSO
For the basic output processing in the regulatory control block and calculation block, see the following:
C4, Output Processing
For output processing specific to each function block, see the following:
Part D, Function Block Details
Alarm Processing
Alarm processing performs various types of alarm check during input processing, calcula-
tion processing and output processing in order to detect a process error. When an error is
detected, the alarm processing reflects the detection of an alarm in the alarm status that
is one of the data items of the function block, and also notifies a message indicating the
detection result to the operation and monitoring.
SEE ALSO
For the basic alarm processing in the function block, see the following:
C5, Alarm Processing - FCS
For the alarm processing specific to each function block, see the following:
Part D, Function Block Details
10th Edition : Dec.18,2003-00
C1-4 <C1. Structure of a Function Block>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Data Items
A function block retains various data according to the type of the function block in a data-
base, which includes setup parameters and variable data that may be referenced or set
during the operation. Abbreviated names that are assigned to these set parameters and
variable data are generically called data items.
For instance, the function block can perform calculation processing based on a specific
data item value and can reflect that processing result in another data item.
The controls of the function block, such as MAN (manual) and AUT (auto), and the
block mode that indicates the output status are some of the data items.
Main data items are as follows:
Block mode (MODE)
Block status (BSTS)
Alarm status (ALRM)
Process variable (PV)
Setpoint value (SV)
Manipulated output value (MV)
SEE ALSO
For details on the block mode, block status and alarm status, see the following:
C6, Block Mode and Status
For data items that are retained by each function block, see the following:
Part D, Function Block Details
<C2. I/O Connection> C2-1
IM 33S01B30-01E
C2. I/O Connection
By performing the I/O connection, data can be exchanged between a function block
and the connection destination according to the connection method.
Connection Destination of I/O Connection
With I/O connection, the destination and method of connection for each I/O terminal of a
function block is specified. When the I/O connection is performed, process I/O, software
I/O, communication I/O, fieldbus I/O and other function blocks can be specified as the
connection destination of the function blocks I/O terminal.
Process I/O
Analog I/O
Contact I/O
Software I/O
Internal switch (common switch)
Message output
Communication I/O
Word data
Bit data
Fieldbus I/O
Parameter of fieldbus block
Other Function Blocks
Data items of other function blocks
I/O terminals of other function blocks
10th Edition : Dec.18,2003-00
C2-2 <C2. I/O Connection>
IM 33S01B30-01E
I/O Connection Methods
The I/O connection methods include data connection, terminal connection and sequence
connection.
Data Connection
This is the I/O connection method used for reading and setting data with respect to the
process I/O, software I/O, communication I/O, fieldbus I/O or other function blocks.
Terminal Connection
This is the I/O connection method used when connecting between cascade control function
blocks or connecting function blocks via a selector switch block (SW-33, SW-91). Data is
exchanged between the terminals of two function blocks.
Sequence Connection
This is the I/O connection method used for testing whether or not the connection destina-
tion data used by the sequence control satisfies the conditional expression, or for changing
block mode, alarm status, data, etc. of the connection destination.
10th Edition : Dec.18,2003-00
<C2.1 Data Connection> C2-3
IM 33S01B30-01E
C2.1 Data Connection
Data connection is used when exchanging data values and data status between a
function block and the data item of the element specified as the connection destina-
tion.
Data Connection
Data connection is a method in which the element symbol name and data item name of
various elements containing data are specified as the I/O connection information to indicate
the connection destination of the function blocks I/O terminal. Process I/O, software I/O,
communication I/O, fieldbus I/O or other function blocks can be specified as an element
which contains data.
In data connection, data values and data status are directly exchanged with the data item
of the element specified as the connection destination.
Data Reference and Data Setting
In data connection, reading data from the connection destination is called data reference,
and writing data into the connection destination from the output terminal of the function
block is called data setting.
Data Reference
Data reference is a type of data connection in which data is read from the connection
destination of the function blocks input terminal. The data value of the connection destina-
tion is read as an input value of the function block in data reference. Also, the data status of
the input data is modified depending upon the data status of the data from the connection
destination.
With data reference, data at the same connection destination can be referenced from I/O
terminals of multiple function blocks. In this case, the same input data is read to each
function block.
Data Setting
Data setting is a type of data connection in which data is written into the connection desti-
nation from the function blocks output terminal. The value of the function blocks output
data is sent to the connection destination. Also, the data status of the connection
destinations data is modified depending upon the data status of the output data from the
function block.
IMPORTANT
When setting data for the process output, make sure that one output terminal corresponds
to one process output.
If data is set for the same process output from output terminals of multiple function blocks,
conflict will result at the process output due to different data values set.
10th Edition : Dec.18,2003-00
C2-4 <C2.1 Data Connection>
IM 33S01B30-01E
Destinations of Data Connection
In data connection, process I/O, software I/O, communication I/O, fieldbus I/O or data items
of other function blocks can be specified as the connection destination of the function
blocks I/O terminal.
Data reference and data setting can be performed with each of the connection destina-
tions.
Data Connection with Process I/O
Data connection with process I/O is an I/O connection that connects the function blocks I/O
terminal to the process I/Os such as analog I/O and contact I/O .
Since process I/Os do not have I/O terminals, terminal connection cannot be performed.
An example of data connection with process I/O is shown below:
C020101E.EPS
Input module Output module
Process input Process output
IN OUT
PID
Data reference Data setting
Figure Data Connection with Process I/O
Data Connection with Software I/O
Data connection with software I/O is an I/O connection that connects an internal switch and
the message outputs such as annunciator messages, messages for sequence control, etc.
to the function blocks I/O terminal.
An example of data connection with software I/O is shown below:
C020102E.EPS
%AN
Annunciator message
SUB
PG-L13
Data setting
Figure Data Connection with Software I/O
10th Edition : Dec.18,2003-00
<C2.1 Data Connection> C2-5
IM 33S01B30-01E
Data Connection with Communication I/O
Data connection with communication I/O means that communication I/O word/bit data is
connected to the I/O terminal of a function block. Its example is shown below.
C020103E.EPS
%WW, %WB
Communication I/O data
IN OUT
CALCU
Data reference Data setting
Figure Data Connection with Communication I/O
SEE ALSO
For the details of communication I/O, see the followings:
Part J, Subsystem Communication (Using RIO)
Part K, Subsystem Communication (Using FIO)
Data Connection with Fieldbus I/O
Data connection with fieldbus I/O means that fieldbus block parameters are connected to
the I/O terminal of a function block. Its example is shown below.
C020104E.EPS
Fieldbus Communication Module
IN OUT
CALCU
Data reference Data setting
Figure Data Connection with Fieldbus I/O
SEE ALSO
For more information about data connection with Fieldbus I/O, see the followings in regarding to KFCS2
or KFCS:
A2.2, Control Loop and Data Flow in FOUNDATION fieldbus Reference (IM 33Y05P10-01E)
For more information about data connection with Fieldbus I/O, see A3.3, Fieldbus Block Connection in
FOUNDATION fieldbus Tools (IM 33S05P10-01E) in regarding to PFCS, LFCS2, LFCS or SFCS.
10th Edition : Dec.18,2003-00
C2-6 <C2.1 Data Connection>
IM 33S01B30-01E
Data Connection with Other Function Blocks
Data connection with other function blocks is an I/O connection that connects data items
such as process variables (PV) and manipulated output values (MV) held in the other
function blocks, to the function blocks I/O terminals.
An example of data connection with other function blocks data items is shown below:
C020105E.EPS
IN
PVI
PV OUT
PID
VN
LDLAG
Data reference Data setting
Figure Data Connection with Other Function Blocks Data Items
In data connection with other function blocks, data is directly exchanged with the data items
of the connection destination. Therefore, there is no need to specify I/O connection infor-
mation in the function blocks of the connection destination as long as the I/O connection
information is specified in the function block of the connection source.
When using calculated input values (RV, RVn) as constants in a calculation block, data can
be set for the calculated input values (RV, RVn) of that calculation block. In such a case,
however, if data reference or terminal connection (cascade input) is specified for the input
terminal corresponding to these calculated input values (RV, RVn), the input action that
uses the input terminal has precedence over the other.
An example of data setting for the calculated input value (RV) is shown below:
C020106E.EPS
OUT
CALCU
IN
CALCU
RV
Data setting for RV is invalid when
the IN terminal is connected.
Data setting
Data reference connection or cascade
input terminal connection
Figure Data Setting for Calculated Input Value (RV)
10th Edition : Dec.18,2003-00
<C2.1 Data Connection> C2-7
IM 33S01B30-01E
I/O Connection Information for Data Connection
Input Connection Information, Output Connection, Set Value Input Connection Information
Specify the I/O connection information to the I/O terminal of the function block as follows in
order to perform data connection.
Element symbol name.data item name
Element symbol name:
A tag name, label name, element number or terminal number that identifies the con-
nection destination.
Data item name: PV, RV, MV, etc.
In data connection with a process I/O, a tag name, label name or terminal number is speci-
fied for the element symbol name, and PV is specified for the data item name.
The terminal number is represented by the following symbols:
%Z01usmm
Terminal (01 to 32)
Slot (1 to 4)
Unit (1 to 5)
C020107E.EPS
Figure I/O Information Symbols
%Znnusmm
Terminal (01 to 32)
Slot (1 to 4)
Unit (1 to 5)
Input module (fixed at 01) (*1)
Node number (01to 08) (*2)
C020108E.EPS
*1: Can only be used with SFCS.
*2: Can only be used with LFCS2 or LFCS.
Figure I/O Information Symbols : LFCS2/LFCS2/SFCS
%Znnusmm
Terminal (01 to 64) (*1)
Segment (1 to 4) (*2)
Slot (1 to 8)
Node number (01 to 10) (*3)
C020111E.EPS
*1: For fieldbus communication, terminal mm ranges between 01 to 48.
*2: For fieldbus communication, segment s ranges between 1 to 4. For process output s is fixed as 1. For Analog I/O
(HART Compatible) modules, when s is set to 2, the element is used as a HART variable channel; when s is set to
1, the element is used as an analog input channel.
*3: If the database in KFCS2 is remote node expanded type, the range of node number becomes 01 to 15.
Figure I/O Information Symbols : KFCS2/KFCS
In data connection with software I/O, a tag name or element symbol number is specified for
the element symbol name, and PV is specified for the data item name.
In data connection with other function blocks, a tag name is specified for the element
symbol name and a data item name that is the target of connection is specified for the data
item name.
10th Edition : Dec.18,2003-00
C2-8 <C2.1 Data Connection>
IM 33S01B30-01E
SEE ALSO
For the element numbers, see the followings in C2.5, I/O Connection Information:
Terminal Numbers, Element Numbers
Terminal Numbers, Element Numbers
For the data item names of each function block, see the description of corresponding function block in the
followings:
D1, Regulatory Control
D2, Arithmetic Calculation, Logic Operation
D3, Sequence Control
D4, Faceplate Blocks
TIP
The I/O terminal which performs input and output of character string data cannot be connected to a
process I/O. The I/O terminals that perform input and output of the character string data are shown in the
following:
Table I/O Terminals for Character Strings
Function block Terminal
CALCU-C Q04 to 07, J02, J03
DSW-16C OUT
BDSET-1C/2C J01 to J16
BDA-C J01 to J16
C020109E.EPS
Data Reference with Respect to Dual-Redundant Input
As indicated below, there are three methods of data reference with respect to dual-redun-
dant input modules, depending on the type of input module.
Dual-Redundant Analog Input : PFCS/LFCS2/LFCS/SFCS
When reading data from dual-redundant analog input modules, a Dual-Redundant Signal
Selector Block (SS-DUAL) is used. Specify an input module for each of the connection
destinations of the two input terminals (IN1, IN2) of the SS-DUAL block, respectively.
An example of a dual-redundant input connection is illustrated below.
C020110E.EPS
IN
IN1
IN2
SS-DUAL
PID
PV
Input
module
Input
module
Data reference
Data reference
Data reference
Figure Dual-Redundant Input Connection : PFCS/LFCS2/LFCS/SFCS
10th Edition : Dec.18,2003-00
<C2.1 Data Connection> C2-9
IM 33S01B30-01E
Dual-Redundant Multi-Point Analog Input : PFCS/LFCS2/LFCS/SFCS
To access the multi-point control analog input modules in dual-redundant configuration, the
following settings are required.
On the IOM module property sheet, check the mark Duplicate Next Card. The setting
is the same for either input modules or output modules.
For the function block input terminal, specify the terminal number of the module with
slot number 1 of the two duplicate modules. The data reference method is the same
as that for a non-dual-redundant module.
Normally, the module with slot number 1 is the control side and the module with slot num-
ber 2 is the standby side. If the module on control side fails, the module that was on the
standby side will take over the control. Function blocks will read data from the new control
side module.
SEE ALSO
For more information about multi-point control analog I/O module dual-redundant configuration, see the
following:
Dual-Multipoint Control Analog I/O in chapter A3.3.2, Parameters for Multipoint Control Analog In-
put/Output
Dual-Redundant Multi-Point Analog Input : KFCS2/KFCS
To access the multi-point analog input modules in dual-redundant configuration, the follow-
ing settings are required.
On the IOM module property sheet, check the mark Duplicate Next Card.
For the function block input terminal, specify the terminal number of the module with
the smaller slot number of the two duplicate modules. The data reference method is
the same as that for a non-dual-redundant module.
Normally, the module with the smaller slot number is the control side and the module with
the larger slot number is the standby side. If the module on control side fails, the module
that was on the standby side will take over the control. Function blocks will read data from
the new control side module.
SEE ALSO
For more information about multi-point analog I/O module dual-redundant configuration, see the follow-
ing:
Dual-FIO Analog Input/Output : KFCS2/KFCS in chapter A3.4.1, Parameters for FIO Analog
Inputs/Outputs
10th Edition : Dec.18,2003-00
C2-10 <C2.1 Data Connection>
IM 33S01B30-01E
Dual-Redundant Contact Input
When reading data from dual-redundant status input modules, it is necessary to perform
the following operations.
On the IOM module property sheet, check the mark Duplicate Next Card.
For the function block input terminal, specify the terminal number of the module with
the smaller slot number of the two duplicate modules. The method of setting data
reference is the same as that for a non-dual-redundant module.
Normally, the module with the smaller slot number is to be the control side and the module
with the larger slot number is to be the standby side. If the module on control side faults, the
module that was on the standby side will take over the control. Function blocks read data
from the control side.
SEE ALSO
For more information about contact I/O module dual-redundant configuration in regarding to PFCS, LFCS
2, LFCS and SFCS, see the following:
Dual-Relay, Contact Terminal, Contact Connector in chapter A3.3.4, Parameters for Relay, Contact
Terminal or Contact Connector
For more information about contact I/O module dual-redundant configuration in regarding to KFCS2,
KFCS, see the following:
Dual-FIO Contact Input/Output : KFCS2/KFCS in chapter A3.4.2, Parameters for FIO Contact
Inputs/Outputs
Data Setting with Respect to Dual-Redundant Output
As indicated below, there are three methods of data setting with respect to dual-redundant
output modules, depending on the type of output module.
Dual-Redundant Analog Output : PFCS/LFCS2/LFCS/SFCS
To write the same output value to dual-redundant analog output modules, the following
operation is required:
Specify Dual for each terminal on the IOM definition builder. For redundancy, specify
two successive output points (1-2, 3-4, ..., 15-16) to the output modules.
For output terminal of the function block, specify the output point with the younger
number of the two output points. The method of setting data is the same as that for a
non-dual-redundant module.
10th Edition : Dec.18,2003-00
<C2.1 Data Connection> C2-11
IM 33S01B30-01E
Dual-Redundant Multi-Point Analog Output : PFCS/LFCS2/LFCS/SFCS
To write data to the multi-point control analog output modules in dual-redundant configura-
tion, the following settings are required.
On the IOM module property sheet, check the mark Duplicate Next Card. The setting
is the same for either input modules or output modules.
For the function block input terminal, specify the terminal number of the module with
slot number 1 of the two duplicate modules. The data reference method is the same
as that for a non-dual-redundant module.
Normally, the module with slot number 1 is the control side and the module with slot num-
ber 2 is the standby side. If the module on control side fails, the module that was on the
standby side will take over the control. Function blocks will read data from the new control
side module.
SEE ALSO
For more information about multi-point control analog I/O module dual-redundant configuration, see the
following:
Dual-Multipoint Control Analog I/O : PFCS/LFCS/SFCS in chapter A3.3.2, Parameters for Multipoint
Control Analog Input/Output
Dual-Redundant Multi-Point Analog Output : KFCS2/KFCS
To write data to the multi-point analog output modules in dual-redundant configuration, the
following settings are required.
On the IOM module property sheet, check the mark Duplicate Next Card.
For the function block input terminal, specify the terminal number of the module with
the smaller slot number of the two duplicate modules. The data reference method is
the same as that for a non-dual-redundant module.
Normally, the module with the smaller slot number is the control side and the module with
the larger slot number is the standby side. If the module on control side fails, the module
that was on the standby side will take over the control. Function blocks will read data from
the new control side module.
SEE ALSO
For more information about multi-point analog I/O module dual-redundant configuration, see the following:
Dual-FIO Analog Input/Output : KFCS2/KFCS in chapter A3.4.1, Parameters for FIO Analog
Inputs/Outputs
10th Edition : Dec.18,2003-00
C2-12 <C2.1 Data Connection>
IM 33S01B30-01E
Dual-Redundant Contact Output
When writing data to dual-redundant contact output modules, it is necessary to perform the
following operations in order to write the same output value to the two output modules.
On the IOM module property sheet, check the mark Duplicate Next Card.
For output terminal of the function block, specify the terminal number of the module
with the smaller slot number of the two duplicate modules. The method of setting data
is the same as that for a non-dual-redundant module.
Normally, the module with the smaller slot number is to be the control side and the module
with the larger slot number to be on the standby side. If the module on control side faults,
the module that was on the standby side will take over the control. Function blocks write
data to the modules on both sides.
SEE ALSO
For more information about contact I/O module dual-redundant configuration in regarding to PFCS,
LFCS2, LFCS and SFCS, see the following:
Dual-Relay, Contact Terminal, Contact Connector in chapter A3.3.4, Parameters for Relay, Contact
Terminal or Contact Connector
For more information about contact I/O module dual-redundant configuration in regarding to KFCS2,
KFCS, see the following:
Dual-FIO Contact Input/Output : KFCS2/KFCS in chapter A3.4.2, Parameters for FIO Contact
Inputs/Outputs
10th Edition : Dec.18,2003-00
<C2.2 Terminal Connection> C2-13
IM 33S01B30-01E
C2.2 Terminal Connection
Terminal connection is used when performing cascade control by connecting I/O
terminal of a function block to that of another function block.
Terminal Connection
The terminal connection specifies the I/O terminal of a function block as the connection
destination of the other function blocks I/O terminal. Data is exchanged between the I/O
terminals of two function blocks in terminal connection. The connections between I/O
terminals of function blocks are well applied to the cascade loops where the upper stream
blocks output depends on the lower stream blocks status.
The terminal connection is mainly used in the following instances:
Connection Between Function Blocks
The output terminal (OUT) of the upstream function block and the setting input terminal
(SET) or input terminal (IN, INn) of the downstream function block are connected under the
cascade control.
Connection by Way of a Switch Block (SW-33, SW-91)
Terminal connection must always be used as the I/O connection method at one or the other
of the I/O terminals (input side or output side) of the SW-33 or SW-91 block. The other
terminal uses the I/O connection method such as data reference, data setting or terminal
connection that applies the case that SW-33 or SW-91 does not intervene.
I/O Connection Information for Terminal Connection
When the terminal connection with the I/O terminal of another function block is established,
specify the I/O connection information to the I/O terminal of the function block as follows:
Element symbol name.I/O terminal name
Element symbol name:
A tag name identifies the connection destination.
I/O terminal name:
IN, OUT, SET, etc.
In terminal connection, I/O terminal of each other must be specified in the both of function
blocks: connection source and connection destination. This is because data is exchanged
with the I/O terminal of the function block of the connection destination.
10th Edition : Dec.18,2003-00
C2-14 <C2.2 Terminal Connection>
IM 33S01B30-01E
C2.2.1 Connection between Function Blocks
This section explains the connection between the output terminal (OUT) of the
upstream function block and the setting input terminal (SET) or input terminal (IN,
INn) of the downstream function block under the cascade control.
Terminal Connection between the Output Terminal (OUT) and
Setting Input Terminal (SET)
The following example shows connection between output terminal (OUT) of the upstream
function block and the setting input terminal (SET) of the downstream function block under
the cascade control. In this example, two I/O terminals are connected by the terminal
connection.
C020201E.EPS
CSV
OUT
PID
SET
PID
Terminal connection
Figure Terminal Connection between the Output Terminal and SET Terminal
In this example, data is sent from the output terminal (OUT) of the upstream function block
by way of the setting input terminal (SET) of the downstream function block, then set as a
cascade setting value (CSV) of the downstream function block at the end.
Terminal Connection between the Output and Input Terminals
The following example shows a connection between output terminal (OUT) of the upstream
function block and the input terminal (IN, INn) of the downstream function block. In this
example, two I/O terminals are connected by the terminal connection.
C020202E.EPS
OUT IN1
AS-H PID
RV1
Terminal connection
Figure Terminal Connection between the Output and Input Terminals
In this example, data is sent from the output terminal (OUT) of the upstream function block
by way of the input terminal (IN1) of the downstream function block, then set as a calcu-
lated input value (RV1) of the downstream function block at the end.
10th Edition : Dec.18,2003-00
<C2.2 Terminal Connection> C2-15
IM 33S01B30-01E
Function Blocks and Their Target Terminals that Allow Terminal
Connection
The following table lists the function blocks that can be connected to the OUT terminal
using a terminal connection and the I/O terminals for which terminal connections can be
used.
Table List of Function Blocks which can be Connected by the Terminal Connection and Their
Target Terminals
Block type Block model name
Target terminal
name
Corresponding
input data
Regulatory
control
PID
PI-HLD
PID-BSW
ONOFF
ONOFF-E
ONOFF-G
ONOFF-GE
PID-TP
PD-MR
PI-BLEND
PID-STC
MILD-SW
VELLIM
FOUT
SPLIT
SET CSV
RATIO
FFSUM
IN PV
SET CSV
SS-H/M/L
AS-H/M/L
IN1 RV1
IN2 RV2
IN3 RV3
SS-DUAL
IN1 RV1
IN2 RV2
XCPL IN PV
Calculation
SQRT
EXP
LAG
INTEG
LD
LDLAG
DLAY
DLAY-C
FUNC-VAR
IN RV
C020203E.EPS
10th Edition : Dec.18,2003-00
C2-16 <C2.2 Terminal Connection>
IM 33S01B30-01E
C2.2.2 Connection by a Switch Block (SW-33, SW-91)
This section explains the connections between I/O terminals of the function blocks
by a switch block (SW-33, SW-91) as well as the connection to the process I/O or
software I/O by the switch block.
A terminal connection to a switch block (SW-33, SW-91) of another control station or
a sequence connection via the SW-33 or SW-91 block cannot be done.
Connection Between Function Blocks by a Switch Block
(SW-33, SW-91)
A switch block (SW-33, SW-91) can be placed in the middle of the cascade control loop. In
this case, the switch block and its upstream/downstream function blocks are connected by
the terminal connection, respectively.
Connection to a Setting Input Terminal (SET) by a Switch Block (SW-33,
SW-91)
The following example shows a connection between an output terminal (OUT) of the
upstream function block and a setting input terminal (SET) of the downstream function
block by a switch block (SW-33).
C020204E.EPS
OUT
PID
SET
PID
S10 S12
S11
S13
SW33
CSV
Terminal connection Terminal connection
Figure Connection to a Setting Input Terminal (SET) by Way of a Switch Block (SW-33)
Connection to an Input Terminal by a Switch Block (SW-33, SW-91)
The following example shows a connection between an output terminal (OUT) of the
upstream function block and an input terminal (IN) of the downstream function block by a
switch block (SW-33).
C020205E.EPS
S10 S12
S11
S13
SW33
OUT IN1
PID AS-H
RV1
Terminal connection Terminal connection
Figure Connection to an Input Terminal by Way of a Switch Block (SW-33)
10th Edition : Dec.18,2003-00
<C2.2 Terminal Connection> C2-17
IM 33S01B30-01E
Connection to a Process I/O or Software I/O by a Switch Block (SW-33,
SW-91)
An I/O terminal of the function block and a process I/O or software I/O are connected by a
switch block (SW-33, SW-91).
In the SW-33, SW-91 block, however, there is no data item to be used for data connection
from another function block. Therefore, the I/O terminal on the function block side is con-
nected by the terminal connection and that on the process I/O or software I/O side is
connected by data connection.
Data Reference by a Switch Block (SW-33, SW-91)
In order to input data from a process I/O by a switch block (SW-33, SW-91), one I/O termi-
nal of the SW-33 or SW-91 block is connected by the terminal connection while the other is
connected by data reference.
The following example shows data reference by a SW-33 block.
C020206E.EPS
S10 S12
S11
S13
SW33
IN
PVI
I/O module
Terminal connection Data reference
Figure Data Reference by a Switch Block (SW-33)
Data Setting by a Switch Block (SW-33, SW-91)
In order to output data to a process I/O by a switch block (SW-33, SW-91), one I/O terminal
of the SW-33 or SW-91 block is connected by the terminal connection while the other is
connected by data setting.
The following example shows data setting by a SW-33 block.
C020207E.EPS
S10 S12
S11
S13
SW-33
OUT
PID
I/O module
Data setting Terminal connection
Figure Data Setting by a Switch Block (SW-33)
10th Edition : Dec.18,2003-00
C2-18 <C2.2 Terminal Connection>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Mixture of Terminal Connection and Data Connection
In the SW-33 or SW-91 block, it is possible to mix two methods; reading data by the termi-
nal connection and by data connection. These two methods can be switched depending on
the situation.
The following example shows a mixture of terminal connection and data connection by a
SW-33 block.
C020208E.EPS
S10 S12
S11
S13
SW-33
OUT IN
PID AS-H
RV1
Input module
Terminal connection Terminal connection
Data reference
Figure Mixture of Terminal Connection and Data Connection by a Switch Block
(SW-33)
<C2.3 Sequence Connection> C2-19
IM 33S01B30-01E
C2.3 Sequence Connection
Sequence connection is used when testing the conditions of input signals in the
function block or manipulating the status of the elements at the output destination.
Sequence Connection
In this method, various elements that contain data are specified as the connection destina-
tion of the function blocks I/O terminal. It is necessary to specify the conditional expression
to the input terminal in order to judge the data status, as well as data for manipulating the
element status to the output terminal. The sequence connection is the I/O connection
method used by sequence controls. In addition to the sequence control block, sequence
connection can also be used in the Pulse Count Input Block (PTC) of regulatory control
blocks, the Logic Operation Blocks (*1) or the General-Purpose Calculation Blocks
(CALCU, CALCU-C) for arithmetic and logic operation functions.
*1: Logic Operation Block can only be used for CS 3000.
Condition Testing and Status Manipulation
In sequence connection, a process performed to read data from the connection destination
is called condition testing, and a process performed to write data to the connection desti-
nation is called status manipulation.
In sequence connection, data contained in the element is exchanged to test the condition,
and data for status manipulation of the element is exchanged to manipulate the status,
respectively, with the element (process I/O, software I/O, or other function blocks) specified
as a connection destination.
Condition Testing
Condition testing is a sequence connection for reading data from the connection destina-
tion of the function blocks I/O terminal. In condition testing, the data at the connection
destination is tested by the condition expression specified to the input terminal, and a
logical value (true or false) which indicates established/unestablished of the condition
expression is obtained. That is, the condition testing replaces the data read by the function
block with a logical value that indicates the status of the connection destination.
Status Manipulation
Status manipulation is a sequence connection to output to the connection destination from
the function blocks I/O terminal. In status manipulation, status manipulation of the connec-
tion destination specified to the output terminal is performed according to the result of
logical operation (true or false) of the function block, then the connection destination status
is modified.
10th Edition : Dec.18,2003-00
C2-20 <C2.3 Sequence Connection>
IM 33S01B30-01E
I/O Connection Information for Sequence Connection
In sequence connection, the I/O connection information is specified to the I/O terminal of
the function block as follows. In the Sequence Table Block (ST16, ST16E), specify this
information in the condition signal setting area and operation signal setting area.
Element symbol name.data item name.condition specification
Element symbol name.data item name.manipulation specification
Element symbol name:
Tag name, label name, element number, or terminal number that identifies the con-
nection destination
Data item name:
Differs according to the type of connection destination
SEE ALSO
For condition specification and manipulation specification, see the chapters,
from D3.3.7, Condition Signal Description : Referencing Other Function Blocks and I/O Data
through D3.3.12, Syntax for Action Signal Description : Status Manipulation of Sequence Table from
Logic Chart.
10th Edition : Dec.18,2003-00
<C2.3 Sequence Connection> C2-21
IM 33S01B30-01E
Function Blocks that Allow Sequence Connections and Their Target
Terminals
The following table lists function blocks that allow sequence connections as well as their
I/O terminals.
Table A List of Function Blocks and Their Target Terminals that Allow Sequence Connections
Block type Block model name Target terminal name
Regulatory control PTC OUT
Sequence control
ST16
ST16E
Q01 to Q56, J01 to J56
LC64 Q01 to Q32, J01 to J32 (*2)
TM
CTS
CTP
OUT
VLVM J01 to J17
General-purpose
calculation
Logical operation (*1)
CALCU IN, OUT, Q01 to Q07, J01 to J03
WOUT OUT, Q01, Q02
SRS2-S
SRS2-R
Q01, Q02, J01, J02
SRS1-S
SRS1-R
Q01, Q02, J01
AND
OR
OUT, Q01, Q02
NOT IN, OUT
CALCU-C IN, OUT, Q01 to Q03, J01
C020301E.EPS
OND
OFFD
TON
TOFF
IN, OUT
GT
GE
EQ
OUT
*1: Logic Operation Block can only be used for CS 3000.
*2: Input/output connection setting areas of sequence tables and logic chart block are equivalent to terminals.
Even if the function block has a terminal that allows sequence connections, it cannot be
connected by the sequence connection via a switch block (SW-33, SW-91).
A sequence connection (condition testing and status manipulation) cannot be set to the I/O
terminals that perform input and output of character string data.
I/O terminals which perform input and output of character string data are as follows:
Table I/O Terminal for Character String
Function block Terminal
CALCU-C Q04 to 07, J02, J03
DSW-16C OUT
BDSET-1C/2C J01 to J16
BDA-C J01 to J16
C020302E.EPS
10th Edition : Dec.18,2003-00
C2-22 <C2.4 Connection between Control Stations>
IM 33S01B30-01E
C2.4 Connection between Control Stations
A data item or I/O terminal of the function block in another control station can be
connected to the I/O terminal of the function block in the present control station.
Connection between Control Stations
The connection between control stations (FCS) is an I/O connection method for establish-
ing data connection or terminal connection between the function block of the present
control station and that of another control station.
The maximum I/O terminal connection points for each type of field control station (FCS) are
as follows.
Field Control Station : Maximum 160 points (*1)
Field Control Station (Compact Type) : Maximum 160 points (*2)
Enhanced Field Control Unit (RIO) : Maximum 512 points (*3)
Field Control Unit (RIO) : Maximum 512 points (*4) (*7)
Enhanced Field Control Unit (FIO) : Maximum 512 points (*5)
Standard Field Control Station (FIO) : Maximum 512 points (*6) (*7)
*1: The maximum number of points may be connected to PFCS. If Batch Control database type is applied, this
number becomes 64.
*2: The maximum number of points may be connected to SFCS
*3: The maximum number of points may be connected to LFCS2.
*4: The maximum number of points may be connected to LFCS.
*5: The maximum number of points may be connected to KFCS2.
*6: The maximum number of points may be connected to KFCS.
*7: The maximum number of points may be connected to CS 3000 KFCS or LFCS varies with the following database
types.
The maximum number of points for Unit control (without recipes) type is 128.
The maximum number of points for Unit control (with recipes) type is 64.
The maximum number of points for Unit control (with recipes and valve monitors) type is 64.
Even between the function blocks that belong to different control stations (FCS) , the I/O
connection can be achieved by a similar procedure to that for the connection between
function blocks belong to the same control station. The following diagram shows an ex-
ample of cascade control using the connection between control stations (FCS).
C020401E.EPS
ADL
FCS1 FCS2
Function block
PID
IN
Control bus
IN OUT
PID
OUT
Function block SET
Connection block between stations
Figure Connection between Control Stations (FCS) (Example of the Cascade Control)
10th Edition : Dec.18,2003-00
<C2.4 Connection between Control Stations> C2-23
IM 33S01B30-01E
Cases when Connection between Control Stations is not Allowed
The connection between control stations (FCS) is not allowed under the following circum-
stances:
Sequence connection
Connection to a process I/O (except for the contact I/O) and word data of communica-
tion I/O.
Terminal connection to a switch block (SW-33, SW-91)
Connection to an I/O terminal which corresponds to the faceplate block mode or
status
Connection to an alarm input terminal of a Representative Alarm Block (ALM-R)
Setting to character string data (The string data can be checked.)
FOUNDATION fieldbus Faceplate Block OUT terminal
Data Connection with Other Control Stations
The inter-station connection block (ADL) is automatically generated if the I/O connection
information with respect to a function block of another control station is specified for the I/O
terminal of the function block at the connection source by using the Function Block Detail
Builder of Control Drawing Builder. Exchanging data with the function block of another
control station is done via the ADL block.
The setting items for the I/O connection information are the same as those within the same
control station.
The I/O operation and the function block processing remain synchronized because the
function block within the same control station performs the processing continuously accord-
ing to the defined execution order. On the other hand, I/O operations are performed asyn-
chronous to the function block processing in the I/O connection between different control
stations. Therefore, communications between control stations (FCS) should be avoided in
applications which require strict timings.
D1
Data setting
FCS 1
D2
Data reference
FCS 2
D1: Data 1
D2: Data 2
ADL
IN
OUT
ADL
Function block
Function block
Function block
Function block
C020402E.EPS
Inter-station connection block
Function block
Figure Connection between Control Stations (Data Connection)
10th Edition : Dec.18,2003-00
C2-24 <C2.4 Connection between Control Stations>
IM 33S01B30-01E
Terminal Connection with Other Control Stations
It is possible to establish a terminal connection with a function block belongs to another
control station for the cascade control. The connection is possible even if the function block
in the downstream of the cascade belongs to another control station.
However, a select switch cannot be placed in the middle of the cascade connection.
C020403E.EPS
ADL
FCS 1 FCS 2
Function block Function block
PID
Terminal
connection
OUT IN OUT IN
PID
SET
Terminal
connection
Inter-station connection block
Figure Connection Between Control Stations (Terminal Connection)
10th Edition : Dec.18,2003-00
<C2.5 I/O Connection Information> C2-25
IM 33S01B30-01E
C2.5 I/O Connection Information
The I/O connection information is specified in order to identify the connection desti-
nation of the function blocks I/O terminal.
I/O Connection Information
This information is comprised of an element symbol name and data item name, indicating
the connection destination of the I/O terminal such as a tag name, label name, element
number, etc. The I/O connection information is added to the I/O terminal of the function
block.
In addition, in the case of sequence connection, condition testing or status manipulation is
also added to the I/O connection information.
The relationship between the connection methods and I/O connection information is as
follows:
Table I/O Connection Information
Connection method I/O signal I/O connection information (*1)
Data
connection
Data
reference
Process I/O tag name/user defined label name/terminal number.data item name
Communication I/O (*2) tag name/element number.data item name
Software I/O tag name/element number.data item name
Function
block
Same control
drawing
tag name.data item name
Different control
drawing
tag name.data item name
Data setting
Process I/O
Communication I/O (*2)
tag name/user defined label name/terminal number.data item name
tag name/element number.data item name
Software I/O tag name/element number.data item name
Function
block
Same control
drawing
tag name.data item name
Different control
drawing
tag name.data item name
Terminal connection
Function
block
Same control
drawing
tag name.I/O connection terminal name
Different control
drawing
tag name.I/O connection terminal name
Sequence
connection
Condition
testing
Process I/O
Communication I/O (*2)
Software I/O
Function block
tag name/user defined label name/terminal number/element number
.data item name.condition specification
Status
manipulation
tag name/user defined label name/terminal number/element number
.data item name.operation specification
C020501E.EPS
Fieldbus I/O tag name/user defined label name/terminal number.data item name
Fieldbus I/O tag name/user defined label name/terminal number.data item name
Different control
station
tag name.data item name
Different control
station
tag name.data item name
Different control
station
tag name.I/O connection terminal name
*1: The description like A/B/... means the I/O information specification have multiple methods. However, some elements
have exceptions that certain methods may not be applied.
*2: Access to the data acquired via communication with an external device using a communication module.
10th Edition : Dec.18,2003-00
C2-26 <C2.5 I/O Connection Information>
IM 33S01B30-01E
On the function block detail builder, for the logical name of the I/O connection information
with respect to the function blocks of different control stations, a (>) is added before tag
name. However, when AREAOUT block is used on control drawing builder, (>) is not
needed.
Terminal Numbers, Element Numbers
The following table shows terminal numbers and element numbers included in the I/O
connection information.
Table List of Terminal Numbers and Element Numbers
Name Symbol Symbol syntax
Process I/O %Z01usmm
01: (fixed)
u: unit (1 to 5)
s: slot (1 to 4)
mm: terminal (01 to 32)
Communication I/O
(*1)
Fieldbus I/O
Word data %WWnnnn
nnnn: continuous number
(Standard type: 0001 to 1000)
(Enhanced type: 0001 to 4000)
Bit data %WBnnnnbb
nnnn: continuous number
(Standard type: 0001 to 1000)
(Enhanced type: 0001 to 4000)
bb: bit number (01 to 16)
Software I/O
Global switch (*2) %GSnnnmm
nnn: Serial no. (001 to 256)
mm: Station no. (01 to 24)
Annunciator message %ANnnnn nnnn: continuous number (0001 to 0200)
Printout message (with data) %PRnnnn nnnn: continuous number (0001 to 0100)
Multimedia start message %VMnnnn nnnn: Serial no. (0001 to 0100)
Sequence message request %RQnnnn nnnn: continuous number (0001 to 0100)
Supervisory computer message
output for PICOT
%M3nnnn nnnn: continuous number (0001 to 9999)
Signal event message %EVnnnn nnnn: continuous number (0001 to 0100)
C020502E.EPS
%Z01usmm
01: (fixed)
u: unit (1 to 5)
s: slot (1 to 2)
mm: terminal (01 to 32)
Common switch %SWnnnn nnnn: continuous number (0001 to 1000)
Operation guide message %OGnnnn nnnn: continuous number (0001 to 0100)
%GSnnnmm
Supervisory computer event
message
%CPnnnn nnnn: Serial no. (0001 to 9999)
*1: With communication I/O, the same I/O points can be accessed as word data (%WW) or bit data (%WB).
*2: Global switches can be applied to enhanced type PFCS.
10th Edition : Dec.18,2003-00
<C2.5 I/O Connection Information> C2-27
IM 33S01B30-01E
Terminal Numbers, Element Numbers
The following table shows terminal numbers and element numbers included in the I/O
connection information.
Table List of Terminal Numbers and Element Numbers
Name Symbol Symbol syntax
Process I/O
%Znnusmm
(*2)
%Znnusmm
(*1)
nn: (fixed at 01) (*3)
nn: Node number (01 to 08) (*4)
u: unit (1 to 5)
s: slot (1 to 4)
mm: terminal (01 to 32)
Communication I/O
(*5)
Fieldbus I/O
Word data %WWnnnn nnnn: continuous number (0001 to 4000)
Bit data
nnnn: continuous number (0001 to 4000)
bb : bit number (01 to 16)
Bit data %WBnnnnbb
Software I/O
Common switch %SWnnnn nnnn: continuous number (0001 to 4000)
Annunciator message %ANnnnn
nnnn: Serial no. (0001 to 0500)
(0001 to 1000) (for KFCS2 or LFCS2)
Printout message (with data) %PRnnnn
nnnn: Serial no. (0001 to 0200) (for SFCS)
(0001 to 0400) (for KFCS or LFCS)
(0001 to 1000) (for KFCS2 or LFCS2)
Multimedia start message %VMnnnn nnnn: Serial no. (0001 to 0100)
Sequence message request %RQnnnn nnnn: continuous number (0001 to 0200)
Supervisory computer message
output for PICOT
%M3nnnn nnnn: continuous number (0001 to 9999)
Signal event message %EVnnnn
nnnn: Serial no. (0001 to 0200)
(0001 to 0500) (for KFCS2 or LFCS2)
C020503E.EPS
%Znnusmm
(*1)
nn: Node number (01 to 10) (*6)
u: slot (1 to 8)
s: 1 is fixed in Process I/O
In case of HART compatible modules,
analog input: s=1; HART variable: s=2.
mm: terminal (01 to 64)
nn: Node number (01 to 10) (*6)
u: slot (1 to 8)
s: segment (1 to 4)
mm: terminal (01 to 48)
%Znnusmm
(*2)
nn: (fixed at 01) (*3)
nn: Node number (01 to 08) (*4)
u: unit (1 to 5)
s: slot (1 to 2)
mm: terminal (01 to 32)
Global switch %GSnnnmm
nnn: continuous number (001 to 256)
mm: station number (01 to 64)
Operation guide message %OGnnnn
nnnn: Serial no. (0001 to 0200)
(0001 to 0500) (for KFCS2 or LFCS2)
nnn: continuous number (001 to 256)
mm: station number (01 to 64)
Supervisory computer event
message
%CPnnnn nnnn: Serial no. (0001 to 9999)
*1: A symbol for KFCS2 or KFCS
*2: A symbol for LFCS2, LFCS or SFCS
*3: Can only be used for SFCS.
*4: Can only be used for LFCS2, LFCS.
*5: With communication I/O, the same I/O points can be accessed as word data (%WW) or bit data (%WB).
*6: If the database in KFCS2 is remote node expanded type, the range of node number becomes 01 to 15.
10th Edition : Dec.18,2003-00
Blank Page
<C3. Input Processing> C3-1
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
C3. Input Processing
The function blocks are provided with various types of input processing methods to
convert the input signals for the control calculation and arithmetic calculation.
In this chapter the input processing methods common to all function blocks are
explained.
Input Processing
Input processing is a general term used for processing for the input signal read from the
connection destination of an input terminal, executed by the function block before the
calculation processing. There are various forms of input processing corresponding to the
function block type and the input signal format.
The Regulatory Control Blocks and Calculation Blocks have the common types of input
processing, and some function blocks have the particular types of input processing.
SEE ALSO
The input processing for the Sequence Tables is unique and differs from that of the Regulatory Control
Blocks or Calculation Blocks. For the Sequence Tables input processing, see the following:
D3.2.4, Input Processing of Sequence Table
For details on input processing of the function blocks with sequence connection, see the following:
D3.3.4, Input Processing of Logic Chart
Input Processing Common to All Regulatory Control Blocks
The Regulatory Control Blocks have the input signals processed as shown in the figure
below. After the processing, the signal becomes process variable (PV).
No Conversion
Input Signal Conversion
Digital
Filter
PV
Overshoot
CAL
BAD
CAL
CAL
BAD
PV
SUM
C030001E.EPS
Input
Module
Analog Input Square
Root Extraction
Pulse
Input Conversion
Communication
Input Conversion
Integration
Figure Block Chart of Input Processing Common to All Regulatory Control Blocks
C3-2 <C3. Input Processing>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Input Processing Common to Calculation Blocks
The Calculation Blocks have the input signals processed as shown in the figure below. The
calculated input value (RV), calculated output value (CPV) or integrator value (SUM) are
obtained after the input processing.
RV
1
RV
Q
01
BAD
1
RV
n
Q
n
BAD
n
IN
CPV
Calculation
Processing
Digital Filter
CPV
Overshoot
BAD
CAL
CAL BAD
SUM
C030002E.EPS
Integration
No Conversion
Pulse Input
Conversion
Analog Input Square
Root Extraction
Input Signal Conversion
Communication
Input Conversion
Figure Block Chart of Input Processing Common to Calculation Blocks
Input Processing Common to Logic Operation Blocks
The Logic Operation Blocks have the input signals processed as shown in the figure below.
The calculated input value (RV) and calculated output value (CPV) are obtained after the
input processing.
RV1
RV
Q01
RVn Qn
IN
CPV
Calculation
Processing
CAL
C030003E.EPS
No
Conversion
Input Signal
Conversion
Figure Block Chart of Input Processing Common to Logic Operation Blocks
<C3. Input Processing> C3-3
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Outline of Input Processing Common to Regulatory Control Block and
Calculation Block
The outline of each type of input processing common to Regulatory Control Blocks and to
Calculation Blocks is explained below.
Input Signal Conversion
The input signal read from the input module or other function blocks is converted to process
variable (PV) or calculated input value (RV) according to the signal type.
Digital Filter
This digital filter executes the first-order lag processing. Input signal noise can be reduced
through digital filtering process in which input signal is filtered for the Regulatory Control
Blocks while value after calculation processing is filtered for the Calculation Blocks.
Integration
The data item (SUM) is set to the integrator value. Input signal is used for the Regulatory
Control Blocks while value after calculation processing is used for the Calculation Blocks
are used.
PV/FV/CPV Scale out
If the data status of input signal is invalid (BAD), the process variable (PV), feedback input
value (FV) or calculated output value (CPV) is coincided with the scale high limit (SH) or
scale low limit (SL) depending on the cause of invalidity (BAD).
Calibration
For maintenance or test purposes, the process variable (PV) or calculated output value
(CPV) can be set manually by using the operation and monitoring function.
Input Processing During Abnormal Status
The input processing during abnormal status is different from when it is normal. It is also
different between Regulatory Control Blocks and Calculation Blocks.
Input Processing for Sequence Connection
For Logic Operation Blocks (*1) and General-Purpose Calculation Blocks (CALCU,
CALCU-C), the terminal connection may be used to link the sequence. When the terminal
connection is a sequence connection, the input is processed with condition test.
*1: Logic Operation Blocks are only supported by CS 3000.
SEE ALSO
For more information about input processing for sequence connection, see the following:
C3.7, Input Processing for Sequence Connection
C3-4 <C3. Input Processing>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Input Processing in Different Function Blocks
The input processing supported in function blocks vary with types of function blocks.
SEE ALSO
For more information about the input processing in regulatory control blocks, see the following:
Input Processing Possible for Each Regulatory Control Block in chapter D1.1.3, Input Processing,
Output Processing, and Alarm Processing Possible for Each Regulatory Control Block
For more information about the input processing in calculation blocks, see the following:
Input Processing Possible for Each Calculation Block in chapter D2.3.1, Input Processing, Output
Processing, and Alarm Processing Possible for Each Calculation Block
<C3.1 Input Signal Conversion> C3-5
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
C3.1 Input Signal Conversion
The input signal conversion is the function that converts the input signal read from
the input module or other function blocks into process variable (PV) or calculated
input value (RV) according to the signal type.
Type of Input Signal Conversion
Input Signal Conversion
There are five kinds of common input signal conversion for the Regulatory Control Blocks
and Calculation Blocks.
In addition, there are input signal conversion methods specific to particular function blocks.
The input signal conversion type can be set on the Function Block Detail Builder.
Input Signal Conversion Type:
Select from No Conversion, Square Root, Pulse-train, Control Priority Type
Pulse Train Input, Exact Totalization Pulse Train Input and Communications.
The default setting is No Conversion.
Input Signal Conversion Common to Regulatory Control Blocks and
Calculation Blocks
No Conversion
Square Root
Pulse-train/ Control Priority Type Pulse Train Input/ Exact Totalization Pulse Train
Input
Communications
Input signal conversion is performed only when the signal input through the input terminal
is the data connection type, one of the I/O connection types. And only the signal transmitted
via IN terminal (main input signal) may be converted. Furthermore, the conversion behaves
differently according to the signals connected to the IN terminal.
Input Signal Conversion of Logic Operation Blocks
Bitwise Logic Operation Blocks, Logic Operation Blocks other than Relational Opera-
tion Blocks
Bitwise Logic Operation Blocks
Relational Operation Blocks
C3-6 <C3.1 Input Signal Conversion>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Input Signal Conversion of Motor Control Blocks (MC-2, MC-2E, MC-3, and
MC-3E)
Feedback Input Signal Conversion
Answerback Input Signal Conversion
Feedback Input to Answerback Input Conversion
SEE ALSO
For details on Input Signal Conversion of Motor Control Blocks (MC-2, MC-2E, MC-3, and MC-3E), see
the following:
D1.17.1, Input Processing of Motor Control Blocks (MC-2, MC-2E, MC-3, and MC-3E)
Input Signal Conversion of Weight-Totalizing Batch Set Block (BSETU-3)
Weight Measurement Conversion
SUM Conversion
SUM Conversion
SEE ALSO
For details on Input Signal Conversion of Weight-Totalizing Batch Set Block (BSETU-3), see the follow-
ing:
D1.22.1, Input Signal Conversion of Weight-Totalizing Batch Set Block (BSETU-3)
Input Signal Conversion of Pulse Count Input Block (PTC)
Input Signal Conversion for PTC Block
SEE ALSO
For details on Input Signal Conversion of Pulse Count Input Block (PTC), see the following:
Input Signal Conversion of Pulse Count Input Block (PTC) in chapter D1.32, Pulse Count Input Block
(PTC)
<C3.1 Input Signal Conversion> C3-7
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
C3.1.1 Input Signal Conversions Common to Regulatory Control
Blocks and Calculation Blocks
Input signal conversions common to the Regulatory Control Blocks and Calculation
Blocks include No Conversion, Square Root, Pulse-train, Control Priority
Type Pulse Train Input, Exact Totalization Pulse Train Input, and Communica-
tions.
The following section describes the conversion methods common to Regulatory
Control Blocks and Calculation Blocks.
No Conversion
No Conversion is selected if the input connection destination is neither the pulse-train
input module nor communication module and the square root extraction of input signal is
not needed. Also, specify No Conversion when the input signal is data referenced from
another function block.
When No Conversion is selected, the input signal conversion is not performed. However,
the raw data (0 to 100 % data) read from analog input modules (except those from thermo-
couple or RDT modules) to the IN terminal are converted into the form of specified engi-
neering unit and scale high/low limits (SH, SL) for the process variable (PV). The raw data
read from the thermocouples and resistance temperature detectors to the IN terminal are
not converted. The data read from analog input modules to the input terminals other than
the IN terminal are not converted, either.
The table below lists the input range between each input module and the raw data.
Table Input Range of Input Module and Raw Data : PFCS/LFCS2/LFCS/SFCS
IOM Model Input Type Input Range Raw Data
AAM10
Electric Current Input 4 to 20 mA 0 to 100 %
Voltage Input 1 to 5 V 0 to 100 %
AAM11
Electric Current Input 4 to 20 mA 0 to 100 %
Voltage Input 1 to 5 V 0 to 100 %
AAM21
mV Input Definable between -50 and 150 mV 0 to 100 %
Thermocouple Input
Measuring Range
of Corresponding
Measuring Range of the
Thermocouple
Measured
Temperature
Resistance Temperature
Detector Input
Measuring Range of the RTD
Measured
Temperature
Potentiometer Input Definable between 0 and 30000 ohm 0 to 100 %
AMC80 Voltage Input 1 to 5 V 0 to 100 %
AMM12T Voltage Input 1 to 5 V 0 to 100 %
AMM22M mV Input Definable between -100 and 100 mV 0 to 100 %
AMM22T Thermocouple Input
Measuring Range of the
Thermocouple
Measured
Temperature
AMM32T
Resistance Temperature
Detector Input
Measuring Range of the RDT
Measured
Temperature
AMM42T Electric Current Input 4 to 20 mA 0 to 100 %
C030101E.EPS
C3-8 <C3.1 Input Signal Conversion>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Table Input Range and Raw Data of Input Modules (1/2) : KFCS2/KFCS
C030111E.EPS
Type IOM Model Terminal No. I/O Type Input Range Raw Data
Type IOM Model Terminal No. I/O Type Input Range Raw Data
16-Channel Current Input;
Non-Isolated
AAI141-S 1 to 16 Current Input 4 to 20 mA 0 to 100%
16-Channel Current Input;
Isolated
AAI143-S 1 to 16 Current Input 4 to 20 mA 0 to 100%
8-Channel Current Input;
Isolated
AAI133-S 1 to 8 Current Input 4 to 20 mA
-20 to 80 mV
0 to 100%
8-Channel Current Input;
Isolated
AAI135-S 1 to 8 Current Input 4 to 20 mA 0 to 100%
16-Channel Voltage Input;
isolated
AAV144-S 1 to 16 Voltage Input 1 to 5 V 0 to 100%
16-Channel Voltage Input
(-10 to 10 V); isolated
AAV144-S 1 to 16 Voltage Input Definable within -10 to 10 V 0 to 100%
16-Channel Thermocouple/
mV Input; Isolated
AAT141-S 1 to 16 mV Input (%)
Rated range
Measured
Temperature
Definable within
-100 to 150 mV
0 to 100%
TC input (V)
Engineering
Unit (V)
-20 to 80 mV
TC input (V)
Engineering
Unit (V)
-50 to 75 mV
Engineering
Unit (V)
-20 to 80 mV
TC input (V)
Engineering
Unit (V)
12-Channel Thermocouple
Input; Isolated
AAR181-S 12
Rated range
Measured
Temperature
RTD Input
0 to 400 ohm
Engineering
Unit (ohm)
RTD Input (ohm)
0 to 400 ohm
Engineering
Unit (ohm)
Measured
Temperature
RTD Input (ohm)
16-Channel Thermocouple/
mV Input; Isolated
16-Channel Thermocouple/
mV Input; Isolated
AAT145-S 1 to 16
Rated range
Measured
Temperature
mV Input (%)
mV Input (%)
Definable within
-100 to 150 mV
Definable within
-100 to 150 mV
0 to 100%
15-Channel Thermocouple
Input; Isolated
(MX Compatible)
AAT145-S 1 to 15 (*1)
Rated range
Measured
Temperature
16-Channel RTD/
Potentiometer Input;
Isolated
AAR145-S
AST143-S
1 to 16
1 to 16
RTD Input Rated range
Measured
Temperature
Potentiometer
Input
Definable within
0 to 10Kohms
Rated range
0 to 100%
0 to 100%
Thermocouple
Input
Thermocouple
Input
Thermocouple
Input
Thermocouple
Input
TC input (V)
16-Channel Voltage Input;
Non-Isolated
AAV141-S 1 to 16 Voltage Input 1 to 5 V 0 to 100%
16-Channel Voltage Input;
Non-Isolated
AAV142-S 1 to 16 Voltage Input Definable within -10 to 10 V 0 to 100%
*1: The 16th channel of AAT 145 is used as cold junction compensation terminal, so that only 15 channels of the tempera-
ture signals from the field can be connected.
<C3.1 Input Signal Conversion> C3-9
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Table Input Range and Raw Data of Input Modules (2/2) : KFCS2/KFCS
C030112E.EPS
Type IOM Model Terminal No. I/O Type Input Range Raw Data
Type IOM Model Terminal No. I/O Type Input Range Raw Data
16-Channel Current Input;
HART
AAI141-H
1 to 16 Current Input 4 to 20 mA 0 to 100%
1 to 16 Current Input 4 to 20 mA 0 to 100%
1 to 32
HART Variable
(*2)
HART Variable
(*2)
HART Variable
(*2)
HART Variable
(*2)
Engineering
Unit
1 to 32 HART Variable
Engineering
Unit
Engineering
Unit
Engineering
Unit
Engineering
Unit
8-Channel Current Input;
Isolate channels; HART
AAI135-H
AAI143-H
1 to 8 Current Input 4 to 20 mA 0 to 100%
1 to 32
8-Channel Current Input;
8-Channel Current Output;
HART
AAI841-H
1 to 8 Current Input 4 to 20 mA 0 to 100%
9 to 16 Current Output 4 to 20 mA
1 to 32
4-Channel Current Input;
4-Channel Current Output;
HART
AAI835-H
1 to 4 Current Input 4 to 20 mA 0 to 100%
5 to 8 Current Output 4 to 20 mA
1 to 32
(Current Output)
8-Channel Pulse Input AAP135-S 1to 8 Pulse Input
Number of pulse 0 to 65535;
Time stamp (1ms)
Number of
pulse (with
time stamp)
8-Channel Current Input
and 8-Channel Current
Output; Non-isolated
AAI841-S
1 to 8 Current Input 4 to 20 mA 0 to 100%
16-Channel Pulse Input
(PM1 Compatible)
AAP149-S 1 to 16 Pulse Input
Number of pulse 0 to 65535;
Time stamp (1ms)
Number of
pulse
(with time
stamp)
9 to 16 (Current Output)
8-Channel Voltage Input
and 8-Channel Current
Output; Non-isolated
AAB841-S
1 to 8 Voltage Input 1 to 5 V 0 to 100%
9 to 16 (Current Output)
8-Channel Voltage Input
and 8-Channel Current
Output; Non-isolated
(MAC2 Terminal
Arrangement)
AAB841-S
1,3,5.. 15
Odd numbers
Voltage Input 1 to 5 V 0 to 100%
2,4,6.. 16
Even numbers
(Current Output)
Prate
1
(SH-SL)+SL
C030105E.EPS
PV: process variable (engineering unit)
P[0]: current integrated pulse count value
P[N]: integrated pulse count value before N scan period
t[0]: current integrated pulse count value measurement time
t[N]: integrated pulse count value measurement time before N scan period
Prate: pulse rate (Hz)
SH: PV scale high limit
SL: PV scale low limit (measurement value when input pulse frequency is 0 Hz)
N: size of pulse input buffer
10th Edition : Dec.18,2003-00
C3-14 <C3.1 Input Signal Conversion>
IM 33S01B30-01E
Exact Totalization Pulse Train Input Conversion
Shown below is the block chart of the exact totalization pulse train input conversion pro-
cessing.
C030106E.EPS
Pulse Input
Module
P[1]
t[1]
P[2]
t[2]
P[N]
t[N]
P, t
P[0]
t[0]
Pulse Input Buffer
/ Scale PV
1/Prate
+
-
+
-
......
......
Figure Block Chart of Exact Totalization Pulse Train Input Conversion Processing
The following is the computational expression for the exact totalization pulse train input
conversion:
P[0]-P[N] 1
Prate NTs
(SH-SL)+SL PV=
C030107E.EPS
PV: process variable (engineering unit)
P[0]: current integrated pulse count value
P[N]: integrated pulse count value before N scan period
Prate: pulse rate (Hz)
SH: PV scale high limit
SL: PV scale low limit (measurement value when input pulse frequency is 0 Hz)
N: size of pulse input buffer
Ts: scan period
With exact totalization pulse train input conversion, the process value (PV) may not stabi-
lize and oscillate during operation, particularly during high-speed scan periods. In this
situation, the oscillation of the process value (PV) can be minimized by enlarge the size of
input buffer.
10th Edition : Dec.18,2003-00
<C3.1 Input Signal Conversion> C3-15
IM 33S01B30-01E
Pulse Rate (Prate)
Pulse rate refers to the input frequency measured when the process variable reaches the
scale high limit. It is indicated in the unit of Hz.
The setup for pulse rate can be executed on the Function Block Detail Builder.
Pulse Rate: Set a value within the range between 0.10 and 10000.00 Hz.
The default value is 1 Hz.
The following is the computational expression for pulse rate:
Prate = (SH-SL) (pulse conversion factor)
An example of pulse rate calculation is as follows:
If the range between process variable is 0 to 2 k/min and the pulse conversion factor for
the flow meter is 2.54 pulse/, the range between process variables is converted into the
time unit (sec.) used for pulse rate as follows.
(k/sec)
2
60
SH=2 (k/min)=
SL=0
C030108E.EPS
The pulse conversion factor is converted into the flow unit (k) used for process variables.
Pulse conversion factor = 2.54 pulse/ = 2.54 1000 pulse/k
The pulse rate is then calculated by assigning the range between process variable and the
pulse conversion factor to the pulse rate computational expression.
Prate
2
60
2.541000=84.67(Hz) =
C030109E.EPS
10th Edition : Dec.18,2003-00
C3-16 <C3.1 Input Signal Conversion>
IM 33S01B30-01E
Pulse Train Input Buffer (N)
Number of Input Buffers
If the pulse rate (input pulse frequency) is low, the instantaneous process variable obtained
based on the integrated pulse count values in a short interval will have a large error. In the
exact totalization pulse train input conversion, the size of pulse train input buffer (N) is
automatically determined so that a suitable value can be obtained for the sample cycle (t[0]
- t[N]) according to the pulse rate.
The table below lists the relation between the pulse rate and the size of pulse train input
buffer (N) when Auto is selected for the pulse train input buffer (N).
Table Pulse Rate and Size of Pulse Train Input Buffer
Pulse Rate (Prate) Size of Pulse Input Buffer (N)
Prate10 Hz 10
10 Hz<Prate<1 KHz 5
Prate1 KHz 3
C030110E.EPS
The setup for pulse train input buffer (N) can be executed on the Function Block Detail
Builder.
Pulse Train Input Buffer (N): Select from the range between 1 and 10 or AUTO.
The default is AUTO.
10th Edition : Dec.18,2003-00
<C3.1 Input Signal Conversion> C3-17
IM 33S01B30-01E
Communication Input Conversion
The communication input conversion performs Data Conversion and High/Low-Limit
Check for the input data read from the communication input modules.
Data Conversion
With communication input, the raw input data read from the input terminal may be in the
format specific to the connection destination. Those data need to be converted into process
variables (PV) in the engineering unit.
The following is the computational expression for the communication input conversion:
Y = GAIN X+BIAS
Y: PV (engineering unit)
X: data read from communication input module
GAIN: data conversion gain
BIAS: data conversion bias
The setup for data conversion gain and data conversion bias can be executed on the
Function Block Detail Builder.
Data Conversion Gain:
Set a maximum of 9-digit numeric value including sign and decimal point.
The default setting is 1.000.
Data Conversion Bias:
Set a maximum of 9-digit numeric value including sign and decimal point.
The default setting is 0.000.
10th Edition : Dec.18,2003-00
C3-18 <C3.1 Input Signal Conversion>
IM 33S01B30-01E
High/Low-Limit Check
The high-low limit check is executed in order to induce the input open alarm status in the
function block.
The following conditions are the input high limit set value or the input low limit set value
trigger alarms or reset alarms.
Condition for high limit input open (IOP)
Y > input high limit detection set value
Input high limit detection set value = 106.25 % (PV scale span)
Condition for low-limit input open (IOP-)
Y < input low limit detection set value
Input low limit detection set value = -6.25 % (PV scale span)
Condition of recovering from status IOP
Y < input high limit detection set value - hysteresis value
Condition of recovering from status IOP-
Y > input high limit detection set value + hysteresis value
The input high-limit detection set value and the input low-limit detection set value can also
be changed on the Function Block Detail Builder.
They may be set between -25.0 and 125.0 %. The default settings are 106.25 % for the
input high-limit detection set value and -6.25 % for the input low-limit detection set value.
The hysteresis value is the same value used for PV high/low-limit alarm (HI, LO).
10th Edition : Dec.18,2003-00
<C3.1 Input Signal Conversion> C3-19
IM 33S01B30-01E
C3.1.2 Input Signal Conversion for Logic Operation Blocks
Input Signal Conversion for Logic Calculation Input includes 3 types, they are Con-
vert to Integer, No Conversion (in Hex.) and No Conversion.
Input Signal Conversion for Logic Operation Blocks (except for Bitwise
Logic Operation Blocks and Relational Operation Blocks)
Convert to Integer is fixed for this type of blocks.
The input data from the input connection terminal is converted to calculated input value
(RV). If the connection of blocks are reference type, the referred data is converted to the
integer and the first digit after decimal point is round off.
Input Signal Conversion for Bitwise Logic Operation Blocks
No Conversion (in Hex.) is fixed for this type of blocks.
Only a certain types of data are allowed to be connected to the input terminals or to be
connected via reference connection. The input processing and the integration functions are
not provided. For the data in the connected destination function blocks, only data reference
connection type may be applied.
Input signal: Binary string (Integer)
Calculated Input Value (RV) is displayed in hexadecimal in 8 digits.
Input Signal Conversion for Relational Operation Blocks
No Conversion is fixed for this type of blocks.
Only a certain types of data are allowed to connected to the input terminals or for the
reference connection. The input processing and the integration functions are not provided.
For the data in the connected destination function blocks, only data reference connection
type may be applied.
10th Edition : Dec.18,2003-00
C3-20 <C3.2 Digital Filter>
IM 33S01B30-01E
C3.2 Digital Filter
The digital filter is a function to remove the noises from process input signals.
Digital Filter
Input Signal Filtering
The digital filter is a function in which the input signal is processed by the first-order lag filter
in order to reduce input signal noise.
Digital Filter for Regulatory Control Block
In the Regulatory Control Blocks, the filtering process is executed for input signal (main
input signal) read from the IN terminal only, following input signal conversion.
Digital Filter for Calculation Block
In the Calculation Blocks, the digital filter processing is executed for the General-Purpose
Calculation Blocks and the Data set block with input indicator only. Each block uses a
different filtering method.
In the General-Purpose Calculation Blocks, the digital filter processing is executed
following calculation processing.
In the Data set block with input indicator, the filtering process is executed for input
signal (main input signal) read from the IN terminal only, following input signal conver-
sion.
10th Edition : Dec.18,2003-00
<C3.2 Digital Filter> C3-21
IM 33S01B30-01E
Computational Expression for Digital Filter
The following is the computational expression for the digital filter:
Yn=(1-) X + Yn-1
: Filter coefficient
X: Input value
Yn: Current filtering data
Yn-1: Previous filtering data
Shown below is the step response of digital filtering process.
Time (sec)
=0.5
100 %
0
Calculation interval
0 1 2 3 4 5 6 7
Timing lag between input and calculation
C030201E.EPS
Input (X) Output (Yn)
Figure Step Response of Digital Filtering Process
Digital Filter Coefficient
Digital Filter Coefficient 1 to 3
There are three kinds of digital filter coefficients. These digital filter coefficients are set by
the FCS Constants Builder for each FCS.
Digital Filter Coefficient 1: 0 to 1.00 (0.01 unit)
Digital Filter Coefficient 2: 0 to 1.00 (0.01 unit)
Digital Filter Coefficient 3: 0 to 1.00 (0.001 unit)
The defaults for these digital filter coefficients are set to the values indicated below.
Digital Filter Coefficient 1: 0.5
(When the digital filter coefficient is 0.5 and scan period is 1 second, the time constant
is 1 second)
Digital Filter Coefficient 2: 0.75
(When the digital filter coefficient is 0.75 and scan period is 1 second, the time con-
stant is 3 seconds)
Digital Filter Coefficient 3: 0.875
(When the digital filter coefficient is 0.875 and scan period is 1 second, the time
constant is 7 seconds)
10th Edition : Dec.18,2003-00
C3-22 <C3.2 Digital Filter>
IM 33S01B30-01E
When high-speed scan is used, the time constant changes in accordance with the scan
period. Since the scan period is getting shorter at high-speed scan rate, the time constant
is getting smaller accordingly.
For input indicator blocks (PVI), input indicator blocks with deviation alarm (PVI-DV),
general-purpose calculation blocks (CALCU), general-purpose calculation blocks with
string I/O (CALCU-C), if scan coefficient is specified as 2 or greater on the Function Block
Detail Builder, the digital filtering coefficient should be multiplied by the specified scan
coefficient.
Input Filter Specification
Input Signal Filtering
The digital filter may be defined for each function block in Input Signal Filtering on the
Function Block Detail Builder.
Input Signal Filtering: None, Auto, 1, 2 and 3.
The default setting is Auto.
Given below are the actions performed for each type of the input signal filtering.
Auto
If the IN terminal is connected to I/O module including communication module, Digital
Filter Coefficient 1 is used. If the IN terminal is connected to neither communication
module nor I/O module, no filtering process is performed.
None
No filtering process is performed.
1
Digital Filter Coefficient 1 is used.
2
Digital Filter Coefficient 2 is used.
3
Digital Filter Coefficient 3 is used.
10th Edition : Dec.18,2003-00
<C3.3 Integration> C3-23
IM 33S01B30-01E
C3.3 Integration
Integration refers to the function in which the input signal or the value after calcula-
tion processing is integrated.
Integration
The integration processing for each of the function blocks is indicated below.
Integration for Regulatory Control Block
In the Regulatory Control Blocks, the integration process is executed for input signal (main
input signal) read from the IN terminal only, following input signal conversion.
The integration process in BSETU-2 and BSETU-3 is different from other regulatory control
blocks.
SEE ALSO
For more information about integration process in BSETU-2 and BSETU-3, see the following:
D1.20.1, Input Processing of Totalizing Batch Set Blocks (BSETU-2 and BSETU-3)
Integration for Calculation Block
In the Calculation Blocks, the integration processing is executed for the General-Purpose
Calculation Blocks and the Data set block with input indicator only. Each block uses a
different filtering method.
In the General-Purpose Calculation Blocks, the integration processing is executed
following calculation processing.
In the Data set block with input indicator, the integration process is executed for input
signal (main input signal) read from the IN terminal only, following input signal conver-
sion.
Computational Expression for Integration
Totalizer
The following is the computational expression for the integration:
SUM
n
T
s
T
k
+SUM
n-1
=
X
C030301E.EPS
X: Integrated input signal
Input value after input signal conversion. However, PV value if the PV data status is CAL.
SUMn: Current integrator value
SUMn-1: Previous integrator value
Ts: Scan period (sec)
Tk: Time scale conversion coefficient
10th Edition : Dec.18,2003-00
C3-24 <C3.3 Integration>
IM 33S01B30-01E
Time Scale Conversion Coefficient
Totalizer Time Unit
The time scale conversion coefficient (Tk) is set corresponding to the totalizer time unit.
The table below lists the correlation between the time scale conversion coefficient and the
totalizer time unit.
Table Time Scale Conversion Coefficient and Totalizer Time Unit
Totalizer time unit
Time Scale Conversion
Coefficient (Tk)
Second 1
Minute 60
Hour 3600
Day 86400
C030302E.EPS
The time scale conversion coefficient (Tk) is automatically determined when the totalizer
time unit is set on the Function Block Detail Builder. The totalizer time unit must be set in
the same unit as the measurement value (PV). For example, if the unit of PV is m
3
/min,
set the totalizer time unit to minute
Number of digits for integrator value
Up to 8 digits can be used. If the integrator value exceeds 8 digits, the value returns to
0 and the integration processing continues.
A negative integration input signal value can be integrated as a negative value. How-
ever, integration of negative values can be executed only when the low-input cutoff
value is negative.
Unit
Engineering unit is used.
The totalizer time unit can be defined on the Function Block Detail Builder.
Totalizer Time Unit
Select Second, Minute, Hour, Day or None.
The default setting is None, however for the BSETU-2 block the default setting is
Hour.
If None is specified as the totalizer time unit, integration will not be executed.
10th Edition : Dec.18,2003-00
<C3.3 Integration> C3-25
IM 33S01B30-01E
Low-Input Cut
The integration operation differs by the integration low-input cut value setting as explained
below.
If the low-input cut value is positive (including 0):
Integration is not executed for the input signal (including negative value) less than the
low-input cut value.
If the low-input cutoff value is negative:
Integration is not executed for the input signal if the absolute value of the input signal
is less than that of the low-input cut value.
When the integration of the reverse direction flow measurement (negative value input) is
allowed, integration cannot be executed for small flow in either direct or reverse direction if
a negative value is set to the low-input cut value.
The low-input cut value can be specified on the Function Block Detail Builder.
Totalizer Low-Input Cut Value:
Set the data in the same unit of integrator value (PV), or percentage value for the PV
scale span.
If a percentage value is used, add % after the value.
The default setting is 0 %.
10th Edition : Dec.18,2003-00
C3-26 <C3.4 PV/FV/CPV Overshoot>
IM 33S01B30-01E
C3.4 PV/FV/CPV Overshoot
The PV/FV/CPV overshoot refers to the function in which the process variable (PV/
FV) or the calculated output value (CPV) is coincided with the scale high-limit (SH) or
the scale low-limit (SL) when the status of input signal is invalid (BAD).
This section describes PV, FV and CPV overshoot.
PV Overshoot
PV Overshoot
When the data status of input signal becomes invalid (BAD), the PV overshoot function
overshoots the process variable (PV), or upscales it to scale high-limit or downscales it to
scale low-limit. The PV overshoot is supported only for the Regulatory Control Blocks.
Since the PV overshoot is for process input signal, it is executed when the I/O connection
type is process I/O.
The following table shows the relationship between the cause for invalidity (BAD) and
process variable (PV) when the PV overshoot is used.
Table Reason for Invalidity (BAD) and Overshoot Value
Cause of invalidity (BAD) Overshoot
High-limit input open (IOP+) Upscale to high-limit (SH)
Low-limit input open (IOP-)
Downscale to low-limit (SL)
Process I/O failure or other error
C030401E.EPS
The PV overshoot can be specified on the Function Block Detail Builder.
PV Overshoot: Select Overshoot PV or Holding PV.
The default setting is Holding PV.
With Holding PV, when the data status of process variable (PV) becomes invalid, the last
good process variable is held.
Furthermore, when the input signal is not a process input signal, the operation becomes
Holding PV even though Overshoot PV is specified.
10th Edition : Dec.18,2003-00
<C3.4 PV/FV/CPV Overshoot> C3-27
IM 33S01B30-01E
FV Overshoot
FV Overshoot
When the data status of input signal becomes invalid (BAD), the feedback input value (FV)
may be overshot to be the same as the scale high-limit or the scale low-limit. The FV
Overshoot is only available for motor control block.
The FV overshoot can be specified on the Function Block Detail Builder.
FV Overshoot: Select Holding FV Value or Overshoot FV Value.
The default setting is Holding FV Value.
CPV Overshoot
When the status of input signal is invalid (BAD). The CPV overshoot function overshoots
the calculated output value (CPV), or upscales it to the scale high-limit (SL) or downscales
it low-limit (SH). CPV overshoot is supported for the General-Purpose Calculation Blocks
and the Data set block with input indicator, the Analog Calculation Blocks and the Arith-
metic Calculation except Averaging Block.
Since the CPV overshoot is for process input signal, it is executed when the I/O connection
type is process I/O.
The following table shows the relationship between the cause for invalidity (BAD) and
calculated output value (CPV) when the CPV overshoot is used.
Table Reason for Invalidity (BAD) and Overshoot Value
Cause of invalidity (BAD) Overshoot
High-limit input open (IOP+) Upscale to high-limit (SH)
Low-limit input open (IOP-)
Downscale to low-limit (SL)
Process I/O failure or other error
C030402E.EPS
The CPV overshoot can be specified on the Function Block Detail Builder.
PV Overshoot: Select either Overshoot PV or Holding PV.
The default setting is Holding PV.
With Holding PV, when the data status of calculated output value (CPV) becomes invalid,
the last good calculated output value is held.
Furthermore, when the input signal is not a process input signal, the operation becomes
Holding PV even though Overshoot PV is specified.
10th Edition : Dec.18,2003-00
C3-28 <C3.5 Calibration>
IM 33S01B30-01E
C3.5 Calibration
The calibration is a function in which the emulated signals for process variables (PV)
or calculated output values (CPV) in the function block can be set manually with the
operation and monitoring function for maintenance or test purpose. The state in
which calibration is being executed is called calibration status.
The calibration mode differs between Regulatory Control Blocks and Calculation
Blocks.
Calibration for Regulatory Control Block
In Regulatory Control Blocks, calibration is executed when the data status of process
variable (PV) is set to calibration (CAL) by the operating and monitoring function.
The following are the indications of Regulatory Control Blocks in calibration status:
The color of the operation and monitoring function PV bar display turns to cyan.
A process variable (PV) can be set manually.
The integration is continued with the process variable (PV) entered.
The alarm check for the process variable (PV) entered is bypassed.
In the function block with manual mode (MAN), the block mode switches to manual
mode.
In the case of Motor Control Blocks (MC-2, MC-2E, MC-3, MC-3E), feedback input
signal processing and answerback input signal processing are stopped. In this case,
the answerback raw signal (RAW) follows the input signal.
The following occurs when the Weight-Totalizing Batch Set Block (BSETU-3) changes to
the calibration mode.
Absolute integrator value (SUM0) and integrator value (SUM) can be set manually.
Block mode changes to manual (MAN) mode.
10th Edition : Dec.18,2003-00
<C3.5 Calibration> C3-29
IM 33S01B30-01E
Calibration for Calculation Block
In Calculation Blocks, calibration is executed when the data status of calculated output
value (CPV) is set to calibration (CAL) by operating the operation and monitoring function.
The Calculation Blocks in calibration status behaves as follows:
The color of the operation and monitoring function CPV bar display turns to cyan.
The calculated output value (CPV) can be entered manually.
The integration is continued with the calculated output value (CPV) entered.
The alarm check for the calculated output value (CPV) entered can be bypassed.
The calculation stops while the block is still in automatic mode (AUT).
The output of the secondary calculated output values (CPV1 to CPVn) stops.
The output of the primary calculated output value (CPV) is processed as usual.
There is no calibration in the Calculation Auxiliary Blocks except the Data set block with
input indicator (DSET-PVI).
The block with calculated output value (CPV1) instead of calculated output value (CPV) is
in calibration state when the data status of calculated output value (CPV) is set to calibra-
tion (CAL). In this state, the calculated output value (CPV1) can be set manually and the
output of the values greater than CPV2 stops.
IMPORTANT
When the output destination is cascade open or output fail in the function block in which the
output value tracking is set to Yes, the tracking function precedes even if the data status
of calculated output value (CPV) is in calibration (CAL).
Calibration for Inter-Terminal Connected Calculation Blocks
Among various Calculation Blocks, the Analog Calculation Blocks listed below may perform
calibration only as input processing in a case where data is entered as the calculated input
value (RV) from other function blocks using terminal connection to the input terminal (IN).
Square Root Block (SQRT)
Exponential Block (EXP)
First-Order Lag Block (LAG)
Integration Block (INTEG)
Derivative Block (LD)
Lead/Lag Block (LDLAG)
Dead-Time Block (DLAY)
Dead-Time Compensation Block (DLAY-C)
Variable Line-Segment Function Block (FUNC-VAR)
10th Edition : Dec.18,2003-00
C3-30 <C3.6 Input Processing in the Unsteady State>
IM 33S01B30-01E
C3.6 Input Processing in the Unsteady State
In the unsteady state, the function block may execute a different input processing
from that in the normal state. This section explains input processing in the unsteady
state. Input processing in the unsteady state differs between the Regulatory Control
Blocks and Calculation Blocks.
Unsteady State of the Regulatory Control Blocks
The following section describes the unsteady states in the Regulatory Control Blocks and
the special input processing.
Unsteady States
The Regulatory Control Blocks suffer the following unsteady states:
Input signal error (PV BAD)
The data status of process variable (PV) is invalid.
Calibration (PV CAL)
The data status of process variable (PV) is calibration (CAL).
Input connection open
The input connection destination is the selector switch which is in open state.
Executing Special Input Processing
The special input processing is also executed in the states below, although they are not
unsteady states.
Terminal connection
The input terminal (IN) is connected via terminal connection with an output terminal of
the other function block. This type of connection is used for the cascade loops with
blocks such as Ratio Set Block (RATIO).
Input connection undefined
The input connection is not defined. The loop is in unconnected state.
SEE ALSO
For the input processing of Regulatory Control Blocks in the unsteady state, see the following:
C3.6.1, Input Processing of the Regulatory Control Block in Unsteady State
10th Edition : Dec.18,2003-00
<C3.6 Input Processing in the Unsteady State> C3-31
IM 33S01B30-01E
Unsteady State of the Calculation Blocks
The Calculation Blocks suffer the following unsteady states:
Input signal error
The data status of input signal is invalid (BAD).
Calibration (CAL)
The data status of calculated output value (CPV) is calibration (CAL).
The abnormal calculated input value is detected
The data status of calculated input value (RV) is invalid (BAD).
SEE ALSO
For the input processing of calculation block in the unsteady state, see the following:
C3.6.2, Input Processing of the Calculation Block in Unsteady State
10th Edition : Dec.18,2003-00
C3-32 <C3.6 Input Processing in the Unsteady State>
IM 33S01B30-01E
C3.6.1 Input Processing of the Regulatory Control Block in
Unsteady State
This section explains the input processing of Regulatory Control Blocks in unsteady
and special state.
Input Processing at Input Signal Error (PV BAD)
The Regulatory Control Blocks executes the following operations when input signal error
(PV BAD).
If the data reference is available, the input signal is read to update the data status
without updating the data value.
Input signal conversion is halted. For pulse input conversion, the contents of pulse
input buffer is initialized when the processing is restarted.
Integration is halted and the integrator value is held. The integration is continued from
the held value when the processing is restarted.
The digital filtering is halted. The previous value is initialized when the processing is
restarted.
The PV/FV overshoot operates when the PV/FV overshoot is specified.
Input Processing at Calibration (PV CAL)
The Regulatory Control Blocks executes the following operations at calibration (PV CAL).
If the data reference is available, the input signal is read to update the data status
without updating the data value. However, the data status of the process variable (PV)
is calibration (CAL).
The input signal conversion is halted. For the pulse input conversion, the contents of
the pulse input buffer is initialized when the processing is restarted.
The integration is continued with process variables (PV).
The digital filtering is halted. The previous value is initialized when the process is
restarted from the halt status.
Input Processing at Open Input Connection
The Regulatory Control Blocks executes the following operations at open input connection.
The input signal conversion is halted. For the pulse input conversion, the contents of
the pulse input buffer is initialized when the processing is restarted.
The integration is halted and the integrator value is held. The integration is continued
from the hold value when the processing is restarted.
The digital filter processing is halted. The previous value is initialized when the pro-
cessing is restarted.
10th Edition : Dec.18,2003-00
<C3.6 Input Processing in the Unsteady State> C3-33
IM 33S01B30-01E
Input Processing at Terminal Connection
The Regulatory Control Blocks executes the following operations at terminal connection.
The input signal conversion is halted.
Process variables (PV) are integrated.
The digital filtering is halted.
Input Processing at Input Connection Undefined
The Regulatory Control Blocks executes the following operations at input connection
undefined.
The input signal conversion is halted.
The integration is halted and the integrator value is held.
The digital filtering is halted.
10th Edition : Dec.18,2003-00
C3-34 <C3.6 Input Processing in the Unsteady State>
IM 33S01B30-01E
C3.6.2 Input Processing of the Calculation Block in Unsteady
State
This section explains the Input processing of the Calculation Blocks in the unsteady
state.
Input Processing at Input Signal Error
The Calculation Blocks executes the following operations when input signal error.
When the data status of the primary input from the input terminal (IN) is invalid (BAD),
the calculated input value (RV) update, digital filter and integration processings are
halted.
The previous calculated input value (RV) is held and the data status of calculated
input value (RV) becomes invalid (BAD). The digital filter initializes the previous value
when the processing is restarted from the halt status.
While the integration is halted, the integrator value is held, and the integration is
continued from the hold value when the processing is restarted.
When the data status of the secondary input from the input terminal (Qn) is invalid
(BAD), the previous calculated input value (RVn) is held and the data status of the
calculated input value (RVn) becomes invalid (BAD).
When the CPV overshoot is specified, the calculated output value (CPV) is overshoot
if the data status of the primary input becomes invalid (BAD).
Input open data status signals (IOP, IOP-) are not detected for the terminals that are
connected in sequence connection. If the input signal could not be obtained, the
condition will be tested using the previous input value.
Input Processing at Calibration
The Calculation Blocks executes the following operations at calibration (CAL).
The input signal conversion is executed, and the calculated input value (RV, RVn) and
the data status continue to be updated.
The digital filer is halted. The previous value is initialized when the processing is
restarted from the halt status.
The integration is continued. However, the calculated output value (CPV) is integrated
at calibration (CAL).
The CPV overshoot does not operate at calibration (CAL).
10th Edition : Dec.18,2003-00
<C3.6 Input Processing in the Unsteady State> C3-35
IM 33S01B30-01E
Input Processing at Calculated Input Value Error Detection
Calculated Input Value Error Detected
The Calculation Blocks executes the following operations if a calculated input value error
were detected.
When the data status of calculated input value (RV) of the primary input from the input
terminal (IN) is invalid (BAD), the calculation is not executed, the data status of the
calculated output value (CPV) becomes invalid (BAD) and the previous calculated
output value is held.
When the data status of the calculated input value (RVn) of the secondary input is
invalid (BAD), the calculation processing is continued using the previous calculated
input value (RVn) held, and the calculated output value (CPV) is updated. However,
the data status of the calculated output value (CPV) becomes questionable (QST).
The Arithmetic Calculation Blocks, the General-Purpose Calculation Blocks and the
Logic Operation Blocks used for auxiliary inputs perform the input error detection by
themselves.
The table below shows the correlation among the data statuses of the calculated input
value (RV) of the primary input and the calculated input value (RVn) of the secondary input,
and the calculated output value (CPV).
Table Correlation of the Data Statuses RV, RVn and CPV
Calculated input value (RV)
of the primary input
Calculated input value (RVn)
of the secondary input
Calculated output value (CPV)
BAD - BAD
NR BAD QST
NR NR NR
C030601E.EPS
BAD: Data value BAD
NR: Neither BAD nor QST
QST: Questionable
-: Ignore (dont care)
10th Edition : Dec.18,2003-00
C3-36 <C3.6 Input Processing in the Unsteady State>
IM 33S01B30-01E
Input Processing at Calculated Input Value Error Detection in the
Arithmetic Calculation
For Arithmetic Calculation Blocks other than the AVE block, the conditions for detecting an
error in calculated input values and the data status setting of the calculated output value
when an error is detected are defined in the Calculated input value error detected of the
Function Block Detail Builder.
The method to transfer the data status (IOP, IOP-, OOp, NRDY) of the process I/O rela-
tions, which is generated with the calculated input value (RV, RV1) in connection with the
above settings, to the calculated output value is specified. The table below describes the
specified ranges 0 to 6. The default value is 1.
Table Specification for Calculated Input Value Error Detected in the Arithmetic-Calculation
Blocks Except AVE block
Calculated input value error
detection specification
Error detection conditions
(Data statuses of the calculated
input values below are BAD.)
CPV data status
Data status
transmission origin
input value
0 - - No transmission
1
RV BAD
RV
RV1 QST
2
RV1 BAD
RV1
RV QST
3
RV and RV1 BAD RV priority
RV QST No transmission
4
RV and RV1 BAD RV priority
RV1 QST No transmission
5
RV and RV1 BAD RV priority
RV or RV1 QST No transmission
6 RV or RV1 BAD RV priority
C030602E.EPS
-: Ignore (Dont care)
When the calculated input value error which causes the invalid (BAD) data status of calcu-
lated output value (CPV) occurs, the calculation processing is halted, and the previous
calculated output value (CPV) is held.
When the calculated input value error which causes the questionable (QST) data status of
calculated output value (CPV) occurs, the previous calculated input value is held due to the
current calculated input value error. The calculation processing is continued using the
previous value (RV) held and the calculated output value (CPV) is updated.
If CPV overshoot is being used, when the data status of the calculated output value is an
invalid data value (BAD) because the data status of the calculated input value (RV) of the
primary input is an invalid value (BAD), the calculated output value (CPV) overshoot.
Input Processing at Calculated Input Value Error Detection in the Averag-
ing Block (AVE)
AVE block behaves differently from other arithmetic calculation blocks when input error is
detected.
SEE ALSO
For more information about the behavior of AVE block when input error is detected, see the following:
Input Processing at Calculated Input Value Error Detection in chapter D2.7, Averaging Blocks (AVE)
10th Edition : Dec.18,2003-00
<C3.6 Input Processing in the Unsteady State> C3-37
IM 33S01B30-01E
Input Processing at Calculated Input Value Error Detection in the Auxiliary
Inputs (RVn)-Used Logic Operation Blocks
For Logic Operation Blocks using auxiliary inputs (RVn), the conditions for detecting an
error in calculated input values and the data status setting of the calculated output value
when an error is detected are defined in the Calculated input value error detected of the
Function Block Detail Builder.
The method to transfer the data status (IOP, IOP-, OOp, NRDY) of the process I/O rela-
tions, which is generated with the calculated input value (RV1, RV2) in connection with the
above settings, to the calculated output value is specified. The table below describes the
specified ranges 0 to 6. The default value is 1.
Table Specification for Calculated Input Value Error Detected in the Arithmetic-Calculation
Calculated input value error
detection specification
Error detection conditions
(Data statuses of the calculated
input values below are BAD.)
CPV data status
Data status
transmission origin
input value
0 - - No transmission
1
RV1 BAD
RV1
RV2 QST
2
RV2 BAD
RV2
RV1 QST
3
RV1 and RV2 BAD RV1 priority
RV1 QST No transmission
4
RV1 and RV2 BAD RV1 priority
RV2 QST No transmission
5
RV1 and RV2 BAD RV1 priority
RV1 or RV2 QST No transmission
6 RV1 or RV2 BAD RV1 priority
C030604E.EPS
-: Ignore (Dont care)
When the calculated input value error which causes the invalid (BAD) data status of calcu-
lated output value (CPV) occurs, the calculation processing is halted, and the previous
calculated output value (CPV) is held.
When the calculated input value error which causes the questionable (QST) data status of
calculated output value (CPV) occurs, the previous calculated input value is held due to the
current calculated input value error. The calculation processing is continued using the
previous value (RV) held and the calculated output value (CPV) is updated.
Input Processing at Calculated Input Value Error Detection in the General-
Purpose Calculation Blocks (CALCU, CALCU-C)
CALCU and CALCU-C blocks behave differently from other arithmetic calculation blocks
when input error is detected.
SEE ALSO
For more information about the behavior of CALCU and CALCU-C blocks when input error is detected,
see the following:
Input Processing when a Calculation Input Value Error is Detected in chapter D2.33, General-Pur-
pose Calculation Blocks (CALCU, CALCU-C)
10th Edition : Dec.18,2003-00
C3-38 <C3.7 Input Processing for Sequence Connection>
IM 33S01B30-01E
C3.7 Input Processing for Sequence Connection
As a special input processing when using the sequence connection, there is condi-
tion testing for the input signals. When using the sequence connection, the Cali-
bration function partially differs.
Input Processing for Sequence Connection
For the General-Purpose Calculation Blocks and Logic Operation Blocks (*1), the se-
quence connection can be used as the I/O connection method.
When using the sequence connection for the Logic Operation Blocks (*1) and for CALCU
and CALCU-C blocks, there are two types of special input processing as follows:
Condition testing for input signals
Calibration
*1: Logic Operation Blocks are only supported by CS 3000.
Input Processing Block Chart for the Sequence Connection
The input processing block chart for the sequence connection is shown below.
C030701E.EPS
RV
CPV
CAL
IN
RV
1
CPV
1
Q
01
CAL
RV
n
CPV
n
Q
n
CAL
Logic
operation
Condition testing
Condition testing
Condition testing
Figure Block Chart of Input Processing for Sequence Connection
10th Edition : Dec.18,2003-00
<C3.7 Input Processing for Sequence Connection> C3-39
IM 33S01B30-01E
Condition Testing
For sequence connection, the input terminals (IN, Qn) of the Logic Operation Blocks
applicable for sequence and CALCU, CALCU-C blocks store the following I/O connection
information:
Information to identify the connection destination, such as tag name, user defined
label name, terminal number, and element number
Information to identify the data item
Information to indicate the condition specification
*1: Logic Operation Blocks are supported by CS 3000 only.
Condition Specification on the I/O Connection Information
Using the I/O connection information and the input signal read from the input terminals, the
condition testing may be performed. When the input signals satisfy the conditions, 1 is set
to the calculated input value (RV). When the conditions are not satisfied, 0 is set to the
calculated input value (RV).
SEE ALSO
For the condition specification on the I/O connection information, see the chapters,
from D3.3.7, Condition Signal Description : Referencing Other Function Blocks and I/O Data
through D3.3.9, Syntax for Condition Signal Description : Referencing Sequence Table in a Logic Chart.
Input Processing for Calibration
Condition testing is performed to continue updating the calculated input values (RV, RVn).
10th Edition : Dec.18,2003-00
Blank Page
<C4. Output Processing> C4-1
IM 33S01B30-01E
C4. Output Processing
This chapter explains the output processing common to Regulatory Control Blocks
and Calculation Blocks.
Output Processing
Output processing is a general term, representing that all function blocks, execute certain
process to the values obtained from the control computation before output it. There are
various forms of output processing corresponding to the function block type and the output
signal format. Some forms of output processing are common to Regulatory Control Blocks
and Calculation Blocks, while others are specific to certain particular blocks.
SEE ALSO
The output processing for the sequence control block is unique and differs from that of the Regulatory
Control Blocks or Calculation Blocks. For the sequence table block output processing details, see the
following:
D3.2.7, Output Processing of Sequence Table
For details on the output processing of the blocks connected in sequence connection, see the following:
D3.3.6, Output Processing of Logic Chart
10th Edition : Dec.18,2003-00
C4-2 <C4. Output Processing>
IM 33S01B30-01E
Output Processing Common to Regulatory Control Block
In a Regulatory Control Block, the value obtained from control computation undergoes the
output processing, then outputs as the manipulated output variable (MV), as depicted in the
figure below.
C040001E.EPS
RMV MVrb
MV
SV MH ML
PV
MAN/
TRK
Control
computation
Output signal
conversion
Auxiliary
output
Output
limiter
Output
velocity
limiter
Output
module
Preset manipulated output
MAN TRK
TRK
TIN
ROUT
OUT
SUB
AUT/CAS/RCAS/ROUT/PRD
AUT/CAS/RCAS/PRD
+
+
+
-
Readback value from
output destination
Figure Block Chart of Output Processing Common to Regulatory Control Block
TIP
In the Dual-Redundant Signal Selector Block (SS-DUAL) and Signal Selector Blocks (SS-H/M/L), the
value obtained by signal selection is output as a selected signal value (PV).
10th Edition : Dec.18,2003-00
<C4. Output Processing> C4-3
IM 33S01B30-01E
Output Operation
Control Calculation Output Type
A Regulatory Control Block outputs its manipulated output value (MV) or the vicissitude of
that value (MV).
There are two types output action: positional and velocity:
In positional output action, the output value connects to its destinations unchanged.
In velocity output action, the amount of change for the current output (MV) is added
to the value read back from the connection destination of the output terminal.
The output operation can be specified on the Function Block Detail Builder.
Output action: Selectable from positional or velocity.
Default is the positional action.
SEE ALSO
For information on setting output actions in Regulatory Control Blocks, see the explanations for the
respective function blocks in the following:
D1, Regulatory Control
Output Limiter
It limits the manipulated output value (MV) to be within the high and low limit values.
Output Velocity Limiter
It limits the amount of change between the current and previous output values to avoid
output bumps.
Output Clamp
It prevents the manipulated output value (MV) from being varied above or below the current
output value. This state is called output clamp. In the output clamp state, the data status of
the manipulated output value (MV) will be either the clamp high (CLP+) or clamp low (CLP-).
Preset Manipulated Output
Upon an external command, the block is forced to operate in the manual mode and output
its manipulated output value (MV) at a predetermined value.
Output Tracking
It forces the output value to match the value of its output destination or the value of the
tracking input signal.
Output Range Tracking
It forces the scale high/low limits (MSH and MSL) of the manipulated output value (MV) to
match the scale high/low limits of its output destination. When a change occurs in the scale
high/low limits (MSH and MSL) of the manipulated output value (MV), it recalculates the
values of the data related to the manipulated output value (MV).
10th Edition : Dec.18,2003-00
C4-4 <C4. Output Processing>
IM 33S01B30-01E
Manipulated Output Index
This function displays two indexes in the manipulated output value (MV) scale in the HIS
operation monitoring screen of operation and monitoring function. They are called manipu-
lated output indexes.
These indexes are set to indicate the feasible limits of the manipulated output values (MV).
They can be used as manipulation reference when operation in the manual mode, and they
can be used to verify the normal conditions when operation in the automatic mode. The
manipulated output indexes are available only in the Regulatory Control Blocks.
Output Signal Conversion
The function converts the result of calculation process into a signal that is compatible with
the output destination, such as the output module or other function blocks.
Various types of output signal conversion are available for different types of function block
and output signal. There are also types of output signal conversion that are common to the
Regulatory Control Blocks, as well as those specific to individual function blocks.
Auxiliary Output
The manipulated output value (MV), change in manipulated output (MV), process variable
(PV), or change in process variable (PV) is output to final control elements such as
compensation control equipment or external indicator of control stations.
Output Processing in Unusual Cases
When in unusual cases, the Regulatory Control Blocks process the output different from in
usual cases.
Output Processing Specific to the Motor Control Blocks (MC-2, MC-2E,
MC-3, and MC-3E)
The Motor Control Blocks (MC-2, MC-2E, MC-3, and MC-3E) execute a special output
processing, which is different from other function blocks.
SEE ALSO
For more information about output processing of MC-2, MC-2E, MC-3, and MC-3E, see the following:
D1.17.3, Output Processing of Motor Control Blocks (MC-2, MC-2E, MC-3 and MC-3E)
Output Processing for the Blocks with Sequence Connection
The Pulse Count Input Block (PTC) may be connected in sequence connection, one of the
connection types. A special output processing for sequence connection with other blocks is
supported and referred as status manipulation.
10th Edition : Dec.18,2003-00
<C4. Output Processing> C4-5
IM 33S01B30-01E
Output Processing Common to All Calculation Blocks
In a Calculation Block, the value obtained from calculation process undergoes the output
processing, then outputs as the calculated output value (CPV), as depicted in the figure
below.
C040002E.EPS
CPV
Calculation
processing
Output signal conversion
Auxiliary output
OUT
SUB
Figure Block Diagram of Output Processing Common to the Numerical, Analog and General-
Purpose Calculation Blocks
C040003E.EPS
CPV Output signal conversion
Output velocity
limiter
OUT
Figure Block Diagram of Output Processing Common to Data Set Blocks
C040004E.EPS
CPV
Calculation
processing
Output signal conversion
OUT
Figure Block Diagram of Output Processing Common to the Logic Operation Blocks (*1)
*1: Logic Operation Blocks are only available in CS 3000 System.
10th Edition : Dec.18,2003-00
C4-6 <C4. Output Processing>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Output Operation
Control Calculation Output Type
A Calculation Block outputs the calculated output value (CPV) or the vicissitude of that
value (CPV).
There are two types output action: positional and velocity:
In positional output action, the output value connects to its destinations unchanged.
In velocity output action, the amount of change for the current output (CPV) is added
to the value read back from the connection destination of the output terminal.
The output operation can be specified on the Function Block Detail Builder.
The Calculation Blocks that can select positional output or velocity output action are Arith-
metic Calculation Blocks and Analog Calculation Blocks. Other Calculation Blocks are fixed
to the positional output action.
Output action: Selectable from positional or velocity.
Default is the positional action.
Output Velocity Limiter
It limits the amount of change between the current and previous output values to avoid
output bumps.
Output Clamp
It prevents the manipulated output value (MV) from being varied above or below the current
output value. This state is called output clamp. In the output clamp state, the data status of
the manipulated output value (MV) will be either the clamp high (CLP+) or clamp low (CLP-).
Output Tracking
It forces the output value to match the value of its output destination or the value of the
tracking input signal.
Output Signal Conversion
The function converts the result of calculation process into a signal that is compatible with
the output destination, such as the output module or other function blocks.
Various types of output signal conversion are available for different types of function block
and output signal. There are also types of output signal conversion that are common to the
Calculation Blocks, as well as those specific to individual function blocks.
<C4. Output Processing> C4-7
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Auxiliary Output
The calculated output value (CPV), or the change in calculated output (CPV) is output to
final control elements such as compensation control equipment and external indicator of
control stations.
Output Processing in Unusual Cases
When in unusual cases, the Calculation Blocks process the output different from in usual
cases.
CPV Pushback
In terminal connection, a function block obtains output value (CPV) by tracking to the
downstream function block at the IN terminal, and calculates the calculation input value
(RV) backward from the CPV to allow the upstream function block tracking.
Output Processing for General-Purpose Calculation Blocks (CALCU and
CALCU-C) in Sequence Connection
The General-Purpose Calculation Blocks (CALC, CALC-C) and Logic Operation Blocks
(*1) may be connected in sequence connection, one of the connection types. A special
output processing for sequence connection with other blocks is supported and referred as
status manipulation.
*1: Logic operation blocks are only available for CS 3000.
Output Processing Applicable to Each Model of Blocks
The different types of output processing may be applied to different models of function
blocks.
SEE ALSO
For more information about output processing applicable to each model of regularly blocks, see the fol-
lowing:
Output Processing Possible for Each Regulatory Control Block in chapter D1.1.3, Input Process-
ing, Output Processing, and Alarm Processing Possible for Each Regularly Control Block
For more information about output processing applicable to each model of calculation blocks, see the
following:
Output Processing Possible in Each Calculation Block in chapter D2.3.1, Input Processing, Output
Processing, and Alarm Processing Possible for Each Calculation Block
C4-8 <C4.1 Output Limiter>
IM 33S01B30-01E
C4.1 Output Limiter
The output limiter limits the manipulated output value (MV) within the MV High/Low
limits (MH and ML) when running in Auto mode. An enhanced output limiter function
is provided as the extra function to the output limiter. This function may prevent the
output from abrupt action when the manipulated output value (MV) is operated in the
manual mode beyond the range of high or low limit, and then the operation mode is
switched from manual to auto.
The output limiter is only available for Regulatory Control Blocks.
Output Limiter
The output limiter limits the manipulated output value (MV) within the high (MH) and low
(ML) limit setpoints.
The limiter is functioning for the Regulatory Control Blocks operating in the automatic mode
(CAS, AUT, RCAS). But, it has no effect on 2-position ON/OFF type output, or 3-position
ON/OFF type output and Pulse width type output with no feedback.
When the manipulated output value (MV) reaches the limit set by the output limiter, the high
or low limit alarm is activated, and the data status of the manipulated output value (MV) will
be in the clamp high (CLP+) or clamp low (CLP-) respectively.
The high (MH) and low (ML) limit setpoints are set in the following setting parameters.
High limit for manipulated output value (MH):
Data in an engineering unit and within the MV range.
The default is the ceiling of the MV scale.
Low limit for manipulated output value (MH):
Data in an engineering unit and within the MV range.
The default is the bottom of the MV scale.
TIP
In the Control Signal Splitter Block (SPLIT), the MVn scale high limit is set in the manipulated output
high limit setpoint (MH) and the MVn scale low limit is set in the manipulated output low limit setpoint
(ML), for each output.
In the 13-Zone Program Set Block (PG-L13), the output value always falls within the range between
the MV scale high (MSH) and low (MSL) limits.
10th Edition : Dec.18,2003-00
<C4.1 Output Limiter> C4-9
IM 33S01B30-01E
High/Low Limit Expansion Function
When a Regulatory Control Block is in manual operation mode and a value exceeding the
manipulated output high and low limit setpoints is set from the operating and monitoring
function, a reconfirmation request message is displayed to caution the user. If the user
performs an acknowledgment operation at this time, a value exceeding the manipulated
output high and low limit setpoints can be set. The function block outputs the value set by
the user regardless of the manipulated output high and low limit setpoints (MH, ML).
If the manipulated output value (MV) that is set by manual operation exceeds the range as
determined by the manipulated output high and low limit setpoints, and if operation is
changed to an automatic mode (CAS, AUT, RCAS), the output limiter will force the manipu-
lated output value (MV) to change to the manipulated output upper limit setpoint (MH) or
the lower limit setpoint (ML) so that the manipulated output value (MV) undergoes an
abrupt change.
The high/low limit expansion function temporarily expands the manipulated output high and
low limit setpoints (MH, ML) in order to avoid such abrupt change in the manipulated output
value (MV) caused by the output limiter.
When MV is Set in the Manual Mode
The High/Low-limit Expansion function is activated when the manipulated output value
(MV) is manually set over the high-limit (MH) or under the low-limit (ML) in manual mode.
If the MV exceeds the MH setpoint, the value equal to that MV will be the temporarily
extended high limit setpoint (MHe) for the manipulated output.
If the MV falls below the ML setpoint, the value equal to that MV will be the temporarily
extended low limit setpoint (MLe) for the manipulated output.
10th Edition : Dec.18,2003-00
C4-10 <C4.1 Output Limiter>
IM 33S01B30-01E
When the Mode is Switched from Manual to Automatic
When the mode is changed from manual operation to automatic operation, the output
limiter operates using the manipulated output high limit setpoint (MHe) or the manipulated
output low limit setpoint (MLe) that has been temporarily expanded. Therefore, there will be
no abrupt change in the manipulated output value (MV).
If the calculation process yields a value exceeding the current MHe value, then the
current MHe value will be output as the MV. Otherwise, the calculated result will be
output, and the MHe value will be replaced by the new MV value.
If the calculation yields a value that falls below the current MLe value, then the current
MLe value will be output as the MV. Otherwise, the calculated result will be output, and
the MLe value will be replaced by the new MV value.
The following figure shows the operation of the High/Low-limit Expansion function:
Time
MV
Alarm
Mode
MH
ML
AUT MAN AUT
NR NR MHI
C040101E.EPS
The ramp up output is limited.
Unlimited MV MV
Figure Operation of High/Low-Limit Expansion Function
Return to Normal Operation
When the manipulated output value (MV) finally returns within the high limit (MH) and low
limit (ML) setpoints, the output limiter returns to normal operation.
10th Edition : Dec.18,2003-00
<C4.2 Output Velocity Limiter> C4-11
IM 33S01B30-01E
C4.2 Output Velocity Limiter
It is a function to limit the amount of change between the previous and current
output values, so as to prevent abrupt changes in the output value.
Output Velocity Limiter
Output Change, Output Velocity Limiter, MAN Mode Output Velocity Limiter Bypass
The output velocity limiter limits the amount of change in the output value according to the
output velocity limit setting. The output velocity limit is a permissible amount of output
change over one scan period.
In the manual operation mode, the operation and monitoring window will display the ma-
nipulated output value (MV) as set manually, even if the output velocity limiter has acted to
limit the manipulated output value (MV). The output velocity limiter can be disabled by
setting the bypass for the MAN-mode output velocity limiter.
Also, the limiter will not function when the output signal is 2-position ON/OFF or 3-position
ON/OFF output, or when the block is in the tracking (TRK) mode.
In the PID Controller Block with Batch Switch (PID-BSW), the output velocity limiter does
not operate during the time the manipulated output value (MV) is at the manipulated output
high limit value or low limit value because the control deviation value has exceeded the
deviation alarm setpoint and lockup setpoint.
The output velocity limiter does not function in Time-Proportioning ON/OFF Controller
Block regardless the setting for MAN Mode Output Velocity Limiter Bypass.
The output velocity limiter and the bypass for MAN-mode output velocity limiter may be
defined on the Function Block Detail Builder.
Output Velocity Limiter:
Engineering unit data or percentage within the range from 0 to the MV scale span
setting in positive values only (six significant figures).
The default setting is 100.0 %.
MAN Mode Output Velocity Limiter Bypass:
Selectable between Yes and No.
Default is No.
10th Edition : Dec.18,2003-00
C4-12 <C4.3 Output Clamp>
IM 33S01B30-01E
C4.3 Output Clamp
Output clamp is a function applied to cascade-connected output terminals. It pre-
vents the manipulated output value (MV) from exceeding, or falling below the current
value, when the data status of manipulated output value (MV) is in the high-limit
(CLP+), or low-limit (CLP-) clamped state.
Output Clamp
The output clamp function indicates the status that the manipulated output value (MV) is
restrained at the limits of a specified range.
The output clamp function operates only when the output terminal is connected in cascade.
The data status CLP+ or CLP- is initiated by one of the following conditions:
When the output value is limited by the output limiter.
When the data status of cascade-connected destination is CLP+ or CLP-.
Each of these conditions is explained further in the following paragraph.
When the Output Value is Limited by the Output Limiter
If the output is limited within the range of high-limit (MH) and low-limit (ML) setpoints of the
manipulated output value, then the data status of the function block will be CLP+ or CLP-.
The CL+ and CL- have a 2 % (initial value) hysteresis. For example, if the low-limit setpoint
is 0 %, and the manipulated output falls to 0 % and activates the output limiter. Then the
data status of the manipulated output value (MV) become CLP-. Later, when the manipu-
lated output increases from 0 % and the output limiter is no longer activated, the data
status CLP- will continue until the manipulated output value (MV) exceeds 2 %.
When the Data Status of Cascade-connected Destination Become CLP+ or
CLP-
If the output terminal is cascade-connected to a function block whose cascade set value
(CSV) is in the status of CLP+ or CLP-, or if the data status of data item connected to the IN
terminal of the connection destination at the terminal connection is CLP+ or CLP-, then the
data status of manipulated output value at the connection source will also be CLP+ or CLP-.
10th Edition : Dec.18,2003-00
<C4.3 Output Clamp> C4-13
IM 33S01B30-01E
Operation of Output Clamp
Limit Output in Direction when Clamped
When the data status of the cascade connection destination is CLP+ or CLP-, the output
direction of the manipulated output value (MV) is restricted, i.e., the value cannot be
changed to exceed or falls below the present output value, so that only the manipulated
output value (MV) in the direction that cancels CLP+ or CLP- is output.
The restriction of the direction of changes in clamped output can be set with the Function
Block Detail Builder.
Limit output in direction when clamped:
Selectable from Yes and No.
Default is Yes.
Release the Output Clamp
The output clamp will be released under the following conditions:
When the block mode is switched to the manual (MAN), remote output (ROUT),
tracking (TRK) or primary direct mode (PRD).
When the output connection destination is changed through a switch, etc.
Output Clamp and MAN Mode of Primary Loop
In a cascade control loop, if the setting of [Limit Output in Direction when Clamped] of the
primary loop is specified to [Yes], the output (MV) of the primary loop in manual (MAN)
mode and the set point value of the secondary loop will behave as follows if the output of
the secondary loop is clamped.
The manipulated output value (MV) of the primary loop can be freely manipulated
irrelevant to clamping or declamping direction.
The set point value (SV) of the secondary loop will follow the motion of the primary
loops output (MV) if the motion is in the declamping direction, and will not follow the
MV of the primary loop but maintain the current value if the motion is in the clamping
direction.
10th Edition : Dec.18,2003-00
C4-14 <C4.3 Output Clamp>
IM 33S01B30-01E
Tracking of the Output Clamp Status
The data status CLP+ or CLP- of the manipulated output value (MV) will be copied to the
data status of the setpoint (SV, CSV and RSV) and of the remote manipulated output value
(RMV). This action is called the tracking of the output clamp status. The tracking function
transmits the output clamp status of a downstream function block to an upstream function
block.
If, however, the limit output in direction when clamped is disabled in the upstream block,
the downstream output status will not be transmitted to the upstream.
CAS
CAS
MAN
CSV
If a high-end limiting occurs in the downstream block due to a reverse action, the CSV will only be
allowed to ramp down.
C040301E.EPS
MAN
Legends
Output clamp state
Output value may be set as desired.
Output high/low limiting
Block mode
Function block
Figure An Example of Typical Clamping
Output Clamp when the High/Low Limit Expansion Function is in Effect
Note When the output High/Low-limit Expansion function is in effect, the manipulated
output value (MV) is not limited by the high-limit (MH) or the low-limit (ML) setpoints.
Whenever MVMH or MVML, the manipulated output value (MV) data status is set as
CLP+ or CLP- even if the manipulated output value (MV) is not limited by the high/low limit
expansion function.
10th Edition : Dec.18,2003-00
<C4.3 Output Clamp> C4-15
IM 33S01B30-01E
An Example of Output Clamp
The following figures illustrate examples of output clamp:
An Example of Function Blocks Connected in Parallel in Downstream
Even in a case in which multiple function blocks are connected downstream via the Cas-
cade Signal Distributor Block (FOUT), the output clamp status of the downstream function
block output is transmitted to the upstream function block via the FOUT block.
AUT
PID
CAS
CAS CAS CAS
FOUT
C040302E.EPS
Output clamp state
Output
high/low limit
Output
high/low limit
Output clamp state
Figure When Downstream Function Blocks are Connected in Parallel
When Connecting to IN Terminal of a Ratio Set Block (RATIO)
When RATIO block is connected downstream in a loop, the output clamp status of the
RATIO block is transmitted to the upstream function block connected to its SET terminal.
The clamp status is not transmitted via IN terminal even though the connection to the IN
terminal is the terminal connection type.
AUT
CAS AUT
IN
IN OUT
OUT
IN
RATIO
C040303E.EPS
Output clamp state
Output
high/low limit
Output clamp state
Not output
clamp state
Figure An Example of Connecting to the Input Terminal of a Ratio Set Block (RATIO)
10th Edition : Dec.18,2003-00
C4-16 <C4.3 Output Clamp>
IM 33S01B30-01E
When Connecting to an Auto Selector Block (AS-H/M/L)
When an AS-H/M/L block is connected downstream and the AS-H/M/L block signal selector
switch position is 4 (auto selection), the output clamp status of the AS-H/M/L block is
transmitted to all upstream function blocks. When the signal selector switch position is 1, 2,
or 3, the output clamp status is transmitted only to the upstream function block that is
selected by the signal selector switch.
AUT
AUT
PID
AUT
IN1
IN2
AS
AUT
AUT
PID
PID
AUT
IN1
IN2
IN1 is
selected
AS
C040304E.EPS
Output clamp state
Output
high/low
limit
Output
clamp state
Output
clamp state
Output
high/low limit
Automatic
selection
Output
clamp state
Figure An Example of Connecting with Auto Selector Block (AS)
When Connecting to a Switch Block (SW-33, SW-91)
When connected to a downstream function block via the SW-33 or SW-91 block, the output
clamp status of the downstream function block is not transmitted upstream when the switch
is OFF. It is transmitted when the switch is ON.
AUT
AUT
SW-33
MLD-SW
PID
AUT
AUT
SW-33
MLD-SW
PID
C040305E.EPS
Output
high/low limit
Output
clamp state
Output
high/low limit
Output
clamp state
Figure An Example of Connecting with a Switch Block (SW-33)
10th Edition : Dec.18,2003-00
<C4.3 Output Clamp> C4-17
IM 33S01B30-01E
Precautions When Connecting a Manual Loader Block with Auto/Man
SW (MLD-SW) in the Downstream of Cascade Loop
If a Manual Loader Block with Auto/Man SW (MLD-SW) is placed downstream in a cas-
cade-connected control loop, the control block connected upstream must have the limit
output in direction when clamped function turned off.
The following paragraph explains how to connect a MLD-SW block in the downstream of a
cascade loop.
An Example of Connecting a Manual Loader Block with Auto/Man SW
(MLD-SW) in the Downstream of a Cascade loop
Assume the MLD-SW gain (GAIN) is 1, bias (BIAS) is 0, the low-limit alarm setpoint is 0 %,
and hysteresis for manipulated output alarm is 2 %, in the loop shown below.
AUT
AUT
MLD-SW
PID
C040306E.EPS
Output
high/low limit
Output
clamp state
Figure An Example of Turning Off the Limit Output in Direction when Clamped
10th Edition : Dec.18,2003-00
C4-18 <C4.3 Output Clamp>
IM 33S01B30-01E
Action of the Limit Output in Direction when Clamped
When the block status of the PID and MLD-SW blocks are AUT, set the manipulated output
value (MV) of a PID block to 0 % then the MLD-SW manipulated output (MV) become 0 %,
clamped at the low limit, thus turns the data status of the manipulated output value (MV) to
CLP-. This will also cause the PID block data status of the manipulated output value (MV)
to CLP-, and restricts the PID manipulated output value (MV) changes on the clamped
output direction. The restriction on the PID block will continue until a change in the PID
output causes the manipulated output value (MV) of the MLD-SW to exceed 2 %, thus
releasing the CLP-data status of the manipulated output value (MV).
Precautions on Limit Output in Direction when Clamped
When changes on the direction of clamped output is restricted, the PID block output can
not decrease to 0 % once it increased to 1.9 % under CPL- status. The MLD-SW is re-
stricted on moving to the clamped direction kept it at 1.9 %. In other words, though a valve
requires full close when the manipulated output value (MV) becomes 0 %, the valve is not
fully closed in this case.
Turn off the limit output in direction when clamped at the upstream control block can avoid
this state.
10th Edition : Dec.18,2003-00
<C4.4 Preset Manipulated Output> C4-19
IM 33S01B30-01E
C4.4 Preset Manipulated Output
The preset manipulated output is a function that, through an external command,
forces a block to the manual mode (MAN) and output a preset value as the manipu-
lated output value (MV).
The preset manipulated output function is available only for Regulatory Control
Blocks.
Preset Manipulated Output
The preset manipulated output is a function that, through an external command, forces a
block to the manual mode (MAN) and output a preset value as the manipulated output
value (MV).
The command for the preset manipulated output is generated only upon switching the
preset MV switch (PSW) from 0 to 1, 2 or 3. The value of the preset MV switch (PSW) will
determine the manipulated output value (MV) as follows:
PSW = 1: MV = MSL (the low limit of MV scale)
PSW = 2: MV = MSH (the high limit of MV scale)
PSW = 3: MV = PMV (the preset manipulated-output value)
The preset manipulated output value (PMV) is a value set as a tuning parameter from the
operation and monitoring function, or from the General-Purpose Calculation Blocks.
10th Edition : Dec.18,2003-00
C4-20 <C4.4 Preset Manipulated Output>
IM 33S01B30-01E
Reset the Preset MV Switch
The preset MV switch (PSW) value will be automatically reset to 0 when the preset
manipulated output function is activated to set the manipulated output (MV) at a preset
value. The block mode will remain manual (MAN), can not trace back the mode and
value prior to the activation of preset manipulated output function.
If the value of the preset MV switch (PSW) is set at 1 or 2, the output velocity limiter
will not take effect on the preset manipulated output.
If the value of the preset MV switch (PSW) is set at 3, and if MAN mode output velocity
limiter bypass is set to off, the output velocity limiter will restrict the velocity when the
MV tries to jump to the preset value.
IMPORTANT
Since the preset MV switch (PSW) is automatically reset to 0, the PSW0 state can not be
referred by other function blocks. For example, the Sequence Table Blocks (ST16, ST16E)
can not refer it as a condition for sequence control.
Set Parameters for the Preset Manipulated Output Function
The set parameters for the preset manipulated output function is shown below:
Preset manipulated output value (PMV):
Data in an engineering unit and within the MV range.
Default is the low limit of the MV scale.
Preset MV switch (PSW):
Selectable among 0, 1, 2, 3.
Default is 0.
10th Edition : Dec.18,2003-00
<C4.5 Output Tracking> C4-21
IM 33S01B30-01E
C4.5 Output Tracking
The output tracking is a function that forces the output value to match the value of
the output destination or the value of the tracking-input signal.
Output Tracking
Output Value Tracking
The output tracking behaves different between the Regulatory Control Blocks and Calcula-
tion Blocks.
For the Regulatory Control Blocks, the manipulated output value (MV) is forced to
match the value of the external tracking signal (TIN) or output destination.
In the Calculation Blocks, the calculated output value (CPV) is forced to match the
value of the output destination when the data status of the destination block is condi-
tional (CND).
Output Tracking in the Regulatory Control Block
The output tracking in the Regulatory Control Blocks is a function that forces the manipu-
lated output value (MV) to match the value of the external tracking-input signal (TIN) or
output destination.
However, when the tracking input signal (TIN) or the value of the output terminal connec-
tion destination falls outside the range of the manipulated output value (MV) scale, the
manipulated output value (MV) is restricted to the MV scale low limit value (MSL) or MV
scale high limit value (MSH).
In the Cascade Signal Distributor Block (FOUT), when each output point becomes cascade
open, the manipulated output value (MV) is made to conform to the output destination data.
The output tracking in the Regulatory Control Block functions under the following condi-
tions:
In the tracking mode (TRK).
In the initialization manual mode (IMAN)
In a condition other than initialization manual mode where the initialization process is
required (IMAN state).
The output tracking for Manual Loader Blocks (MLD, MLD-PVI and MLD-SW) can be set
on Function Block Detail Builder.
Output Tracking: Selectable between Yes and No.
Default is No.
The output tracking for Enhanced Two-Position ONOFF Controller Block (ONOFF-E) and
Enhanced Three-Position ONOFF Controller Block (ONOFF-GE) can be set on Function
Block Detail Builder.
Output Tracking: Selectable between Yes and No.
Default is No.
TIP
For Regulatory Control Blocks with a remote manipulated output value (RMV), the remote manipulated
value (RMV) data is made to conform to the manipulated output value (MV) when the block mode is other
than remote output (ROUT) or service off (O/S).
10th Edition : Dec.18,2003-00
C4-22 <C4.5 Output Tracking>
IM 33S01B30-01E
Output Tracking of Calculation Blocks
The output tracking of the Calculation Blocks is a function that forces the calculated output
value to match the value of the connected destination.
Even if calibration (CAL) is set as the data status of the calculated output value (CPV), the
output tracking have a priority over it. The output tracking of the Calculation Blocks will
operate when the data status of the output destination block status becomes conditional
(CND). The conditional (CND) status are as follows:
When the cascade connection is disconnected.
When the downstream function block begins the operation in non-cascade mode.
The output tracking can be defined on the Function Block Detail Builder.
Output Value Tracking: Selectable from Yes or No.
Default is No.
Additionally, if the output tracking is set to No, and when the status of the output destina-
tion becomes CND, the previously calculated output value (CPV) will be held.
10th Edition : Dec.18,2003-00
<C4.5 Output Tracking> C4-23
IM 33S01B30-01E
Output Tracking in the Tracking Mode
The Regulatory Control Blocks where the tracking (TRK) mode is valid are provided with
the tracking switch (TSW). When the tracking switch (TSW) is turned to ON, the Regula-
tory Control Blocks operate in the tracking (TRK) mode.
If a function block operates in the tracking (TSK) mode, the output tracking is activated and
allows the external tracking-input signal (TIN) to be its manipulated output value (MV). In
this case, no output limiter and output velocity limiter functions on the tracking-input signal
terminal (TIN).
Tracking switch (TSW) may be set either directly by an external data set action or by data
reference through the tracking-switch input terminal (TSI).
Occurrence of Data Errors in the Tracking Mode
When a data error (BAD) occurs, from either the tracking-input signal terminal (TIN) or
tracking-switch input terminal (TSI), an output open (OOP) alarm will be issued. Since the
initialization manual condition is established at this time, the active mode switches from the
tracking (TRK) mode to initialization manual (IMAN) mode. When the function block oper-
ates in the initialization manual mode (IMAN), the output tracking is activated to match the
manipulated output value (MV) to the value of the output destination. For the Regulatory
Control Blocks whose MV is pulse width output signal, the tracking (TRK) mode will prevail,
and the previous manipulated output value (MV) will be held when above error occurs.
If the block is not in tracking (TRK) mode, the occurrence of a data error (BAD) in the signal
at the tracking-input signal terminal (TIN) or tracking-switch input terminal (TSI) does not
invoke an alarm nor change the active mode. Control will continue regardless the occur-
rence of data error.
PIO Not Ready Alarm and Output Tracking
When the block is in tracking (TRK) mode, if the tracking input signal on TIN terminal
becomes PIO Not Ready (NRDY) status, the manipulated output (MV) will keep the previ-
ous good value and initiates an OOP alarm. However, the block mode is unchanged. PIO
Not Ready is caused by the connected I/O module power failure, or by the initialization of
ADL block used for linking stations. When the causes of PIO Not Ready is resolved, the
OOP alarm will vanish and the block will recover to its control activity.
Pulse Width Output
When a Regulatory Control Block is defined to give pulse width output, the tracking switch
terminal (TSI) is connected to the Remote/Local Digital Input signal and the tracking input
terminal (TIN) is connected to the Valve opening feedback signal.
10th Edition : Dec.18,2003-00
C4-24 <C4.5 Output Tracking>
IM 33S01B30-01E
Output Tracking in the Initialization Manual Mode
When multiple Regulatory Control Blocks are in cascade connection, the manipulated
output value (MV) of the upstream control loop is used as the setpoint value (SV) for
downstream loop. If the cascade connection opens, the upstream loop enters to the initial-
ization manual (IMAN) mode.
When a function block is in the initialization manual mode (IMAN), the output tracking
function force its manipulated output value (MV) to match the value of the output destina-
tion.
In the case that the cascade connection is established via a selector switch, when the
selector switch opens the cascade connection, the upstream loop changes to the initializing
manual (IMAN) mode, when the connection restores, it tracks its MV to the destination only
once. When the switch closes the cascade connection again, the downstream loop SV will
change to bumpless cascade set value.
When the initialization manual mode is invoked from the tracking (TRK) mode, the initializa-
tion manual mode prevails.
Output Tracking in the IMAN Mode
In the mode other than the initialization manual mode, a situation calling for the initializing
process is referred as IMAN status. A function block under the following circumstances is
referred as in the IMAN status:
When initialization manual condition established in a function block that has no initial-
ization manual (IMAN) mode.
When the mode of a block returns from off-service (O/S) mode to manual (MAN),
automatic (AUT) or cascade (CAS) mode.
On the first scan after returning from the initialization manual mode to the non-initial-
ization manual mode.
As the function block operates in the IMAN state, the output tracking is activated to match
the manipulated output value (MV) to the value of the connection destination.
10th Edition : Dec.18,2003-00
<C4.6 Output Range Tracking> C4-25
IM 33S01B30-01E
C4.6 Output Range Tracking
Output range tracking is a function that forces the scale High/Low limits of the
manipulated output value (MV) to match those of the output destination, and the
values of data items related to the manipulated output value (MV) are recalculated
whenever there is a change in the scale High/Low limits.
Output Range Tracking
In a Regulatory Control Block, data are processed as engineering unit data. For this rea-
son, whenever the manipulated output value (MV) of an upstream function block is used as
the setpoint value (SV) of the downstream function block in a cascade connection, the
scale High/Low limits of the both blocks must be identical. The output range tracking
function matches these ranges automatically. Output range tracking function will force the
scale High/Low-limit setpoints of the manipulated output value (MV) to match those of the
output destination, and recalculates the values of the data items related to the manipulated
output value (MV) whenever there is a change in the scale High/Low limits.
Output range tracking operates only when the OUT terminal of an upstream Regulatory
Control Block is connected to the SET terminal of a downstream Regulatory Control Block.
The following figure shows an example of connection in cascade where output range
tracking works.
MSH
MSL
PID
OUT
SET
Data value
SL
SH
PID CSV
C040601E.EPS
Output range tracking
Figure Output Range Tracking
For instance, if the output terminals connected destination is a PID controller block (PID)
with the PV range of 0 to 1500 m
3
/h, the range of manipulated output values (MV) will also
be 0 to 1500 m
3
/h.
If the output destination is a process output, the range will be 0.0 to 100.00 % regardless of
the output signal format. For instance, if the output destination is the analog output module,
the manipulated output value (MV) will be 0.0 to 100.0 %.
10th Edition : Dec.18,2003-00
C4-26 <C4.6 Output Range Tracking>
IM 33S01B30-01E
Recalculation
The manipulated output value (MV)s scale High/Low limits are applied to the following data
items related to the manipulated output value (MV).
Remote manipulated output value (RMV)
Preset manipulated output value (PMV)
Output High/Low limit indexes (OPHI and OPLO)
Reset signal value (RLV1 and RLV2)
Manipulated output High/Low limit setpoint values (MH and ML)
These data will be recalculated with the manipulated output value (MV) whenever there is a
change in the MV scale High/Low limits. The formula for recalculation is:
DATA.n = (DATA.o-MSL.o)+MSL.n
MSH.n-MSL.n
MSH.o-MSL.o C040602E.EPS
DATA.o: Target data before change
MSH.o: High limit of MV scale before change
MSL.o: Low limit of MV scale before change
DATA.n: Target data after change
MSH.n: High limit of MV scale after change
MSL.n: Low limit of MV scale after change
10th Edition : Dec.18,2003-00
<C4.6 Output Range Tracking> C4-27
IM 33S01B30-01E
IMPORTANT
In changing the output destination of the manipulated output value by means of switch
blocks, etc., make sure that the downstream block does not have a conflict output.
The engineering unit must be identical. If the range discrepancy exist, using Cascade
Signal Distributor Block (FOUT) or Control Signal Splitter Block (SPLIT) is required.
The output velocity limiter value is not automatically recalculated, even if there is a
change in the MV scale High/Low limits. Use a Control Signal Splitter Block (SPLIT)
for switching, if the destination of the manipulated output applied with velocity limiter in
effect. Thus, the recalculation for output velocity limit is unnecessary.
If a function block without output range tracking function, such as a Calculation Block,
is placed in the middle of a cascade connection, it is necessary to set the MV scale
High and Low limits for the upper stream regulatory control blocks. The MV scale
High/Low limits can be defined on the Function Block Detail Builder.
IN OUT
LAG
OUT
MSH
MSL
PID
SET
Data value
SL
SH
PID CSV
C040603E.EPS
Output range tracking
Figure A Cascade Connection via a Calculation Block
If multiple controllers are connected in parallel in the downstream of a cascade control
loop, use a Cascade Signal Distributor Block (FOUT). Without using FOUT block
multiple downstream control blocks cannot be chained by terminal connection.
10th Edition : Dec.18,2003-00
C4-28 <C4.7 Manipulated Output Index>
IM 33S01B30-01E
C4.7 Manipulated Output Index
This function displays indexes that show the permissible range of the manually
manipulated values at the normal operation. The manipulated output index is only
available for Regulatory Control Blocks.
Manipulated Output Index
Index
This function displays two indexes in the manipulated output value (MV) scale on the
operation monitoring window of the operation and monitoring function. These are called the
manipulated output indexes.
By setting these indexes at the operable limits of the manipulated output values (MV), they
can be used as manipulation guides in the manual mode, or as guides for verifying normal
status in the automatic mode.
For a Regulatory Control Block with manipulated output value (MV), both the high output
limit (OPHI) and low output limit (OPLO) indexes can be set on the tuning window. These
limits are displayed in the operation and monitoring window of the operation and monitoring
function.
The indexes may be defined on the Function Block Detail Builder.
Set Indexes: Selectable from Yes and No.
Default is Yes.
Setting Parameters of Manipulated Output Index
The following items are the parameters of the manipulated output index:
High output limit index: In an engineering unit within MV scale range.
Default is the high limit of the MV scale.
Low output limit index: In an engineering unit within MV scale range.
Default is the low limit of the MV scale.
MAN
NR
100.0
0.0
FIC100
C040701E.EPS
Prohibit
OPN
CLS
High output limit index
Low output limit index
Figure Example of Manipulated Output Index Display
10th Edition : Dec.18,2003-00
<C4.8 Output Signal Conversion> C4-29
IM 33S01B30-01E
C4.8 Output Signal Conversion
This process converts the result of calculation process into an output format for the
output modules or other function blocks.
Output Signal Conversion
Output Signal Conversion
The output signal conversion may be used for the processes that are common to the
Regulatory Control Blocks and the Calculation Blocks, and for the specific function blocks
which have specific output process function.
SEE ALSO
For details on each type of the output signal conversion processes, see the chapters,
from C4.8.1, No-Conversion Output
through C4.8.4, Output Signal Conversion of Logic Operation Blocks.
Output Signal Conversion Process Common to Regulatory Control
Blocks
Here is the outline of the output signal conversion processes that are common to the
Regulatory Control Blocks:
No-Conversion Output
The manipulated output value (MV) resulted from the control-calculation process is No-
Conversion output.
Pulse Width Output Conversion
The changes of manipulated output value (MV) is output after converted into a pulse
width signal.
Communication Output Conversion
The manipulated output value (MV) resulted from the control-calculation process is con-
verted into the format compatible with the destination subsystem.
Output Signal Conversion Process Common to Calculation Blocks
Here is the outline of the output conversion processes that are common to the Calculation
Blocks:
No-Conversion Outputs
The calculated output value (CPV) resulted from the control-calculation process is no-
conversion output.
10th Edition : Dec.18,2003-00
C4-30 <C4.8 Output Signal Conversion>
IM 33S01B30-01E
Communication Output Conversion
The calculated output value (CPV) resulted from the control-calculation process is con-
verted into the format compatible with the destination subsystem.
Output Signal Conversion of the Logic Operation Blocks
The output is unconverted.
Output Signal Conversion Processes for Specific Function Blocks
Here are the outlines of the conversion processes for different types of specific function
blocks:
Output Signal Conversion of the Motor Control Blocks (MC-2 and MC-3)
One of the following types of output may be specified:
2-position status output; 2-position pulsive output; 3-position status output or 3-position
pulsive output.
2-position status output
The process switches one contact point ON or OFF according to the manipulated
output value (MV).
3-position status output
The process switches two contact points ON or OFF according to the manipulated
output value (MV).
2-position pulsive output
The process switches one of the two contacts ON for one second according to the
manipulated output value (MV).
3-position pulsive output
The process switches one of the three contacts ON for one second according to the
manipulated output value (MV).
SEE ALSO
For more information about output processing specific to MC-2, MC-2E, MC-3, and MC-3E blocks, see
the following:
D1.17.3, Output Processing of Motor Control Blocks (MC-2, MC-2E, MC-3, and MC-3E)
Output Signal Conversion of the Two-Position ON/OFF Controller Block
(ONOFF) and the Enhanced Two-Position ON/OFF Controller Block
(ONOFF-E)
The Two-position status output is used.
SEE ALSO
For more information about output processing specific to ONOFF, ONOFF-E block, see the following:
Two-Position Status Output in chapter D1.8, Two-Position ON/OFF Controller Block (ONOFF), En-
hanced Two-Position ON/OFF Controller Block (ONOFF-E)
10th Edition : Dec.18,2003-00
<C4.8 Output Signal Conversion> C4-31
IM 33S01B30-01E
Output Signal Conversion of the Three-Position ON/OFF Controller Block
(ONOFF-G) and the Enhanced Three-Position ON/OFF Controller Block
(ONOFF-GE)
The Three-position status output is used.
SEE ALSO
For more information about output processing specific to ONOFF-G, ONOFF-GE block, see the following:
Three-Position Status Output in chapter D1.9, Three-Position ON/OFF Controller Block (ONOFF-
G), Enhanced Three-Position ON/OFF Controller Block (ONOFF-GE)
Output Signal Conversion, of the Time-Proportioning ON/OFF Controller
Block (PID-TP)
This is applied for a time-proportioning ON/OFF output. Time-proportioning ON/OFF is a
type of status output which set the contact output to ON via digital output module in propor-
tional to the manipulated output value (MV) ON/OFF cycle.
SEE ALSO
For more information about output processing specific to PID-TP block, see the following:
Time-Proportioning ON/OFF Output in chapter D1.10, Time-Proportioning ON/OFF Controller Block
(PID-TP)
Output Signal Conversion of Flow/Weight-Totalizing Batch Set Block
(BESTU-2 and BESTU-3)
The 2-position or 3-position status output is used.
SEE ALSO
For more information about output processing specific to BSETU-2, BSETU-3 blocks, see the following:
D1.20.3, Output Processing of Totalizing Batch Set Blocks (BSETU-2, BSETU-3)
Output Signal Conversion of the Pulse Count Input Block (PTC)
A specific output process is used in the PTC block when it is connected to sequence
blocks.
SEE ALSO
For more information about output processing specific to PTC block, see the following:
Output Signal Conversion of the Pulse Count Input Block (PTC) in chapter D1.32, Pulse Count In-
put Block (PTC)
10th Edition : Dec.18,2003-00
C4-32 <C4.8 Output Signal Conversion>
IM 33S01B30-01E
C4.8.1 No-Conversion
The No-Conversion output is the data resulted from control computation process
and given as output without signal conversion process.
This can be used in the Regulatory Control Blocks and Calculation Blocks. Regula-
tory Control Blocks and Calculation Blocks behave differently when they are defined
to use the No-Conversion output.
Here describes the behaviors of the function blocks that are defined to use No-
Conversion output:
No-Conversion in the Regulatory Control Block
The No-Conversion output is to be connected to another function block or an analog output
module.
Here explains the both cases.
Output to Another Function Block
The data output is carried out by data set to the other function blocks or by terminal con-
nection to the other function blocks.
Output by data set
The manipulated output value (MV) is given from the OUT terminal can be used for
data set, as well as the process variable (PV) from the OUT terminal of the input
indicator block (PVI) or the input indicator block with deviation alarm (PVI-DV). The
manipulated output value (MV) and process variable (PV) are no-conversion outputs,
and in forms of engineering unit.
Output by terminal connection
The manipulated output value (MV) is set in the cascade setpoint value (CSV) of the
connection destination function block via the SET terminal of the connection destina-
tion function block and the OUT terminal.
When an inter-terminal connection is possible at the IN terminal of the connection
destination function block, the manipulated output value (MV) can be passed to the
process variable (PV) or calculated input value (RV) of the connection destination
function block via the IN terminal of the connection destination function block and the
OUT terminal.
Output to the Analog Output Module
When connect the output to the analog output module, the tight-shut and full-open func-
tions are automatically added to the manipulated output value (MV). The direction of analog
output can also be defined.
Output to a analog output module is in term of data set output.
Manipulated output value (MV) of 0 to 100 % is given from the OUT terminal.
The analog output module converts the 0 to 100 % the manipulated output value (MV) data
into a 4 to 20 mA (or 1 to 5 V) output to drive a final control element, such as a control
valve.
10th Edition : Dec.18,2003-00
<C4.8 Output Signal Conversion> C4-33
IM 33S01B30-01E
Tight-Shut Function and Full-Open Function
The Tight-shut function fully close an operation valve and the Full-open function fully open
it when a manipulated output value (MV) is 0% or 100 %. With these functions, an actual
tight-shut output value (Ms) is set to a value less than 0% or greater than 100%, fully
closing an operation valve. And an actual full-open output value (Mf) is set to a value less
than 0% or greater than 100%, fully opening the valve.
These functions are added to the Regulatory Control Blocks with a MV and the MAN mode
to manually operate the MV, excluding the PG-L13 13-Zone Program Set Block. When you
set No to Tight-shut/full-open Specifications on the Function Block Detail Builder, these
functions are not added. When data is output to a function block of fieldbus device, set
No.
The following figure illustrates the tight-shut function:
0 % 100 %
MV
100 %
Mf
Actual
output
Ms
C040801E.EPS
Figure Tight-Shut Function
Define the Tight-shut/full-open specifications, Ms and Mf on the Function Block Detail
Builder.
Tight-shut/full-open Specifications:
Choose Yes or No.
The default setting is Yes.
Output Value for tight-shut (Ms):
The actual output value for tight-shut. If the output channel reverses the output, the
tight-shut output will become the output of full-open. (This value can be calculated by
reversing the polarization sing of tight-shut output value on the builder and plus 100.)
Setting range is -17.19 to 117.19 % (5 significant figures).
By default, the tight-shut value is -17.19%. If the output channel reverses the output,
the default tight-shut value will be converted (117.19%) and become the output for full-
open.
Output Value for full-open (Mf):
The actual output value for full-open. If the output channel reverses the output, the full-
open output will become the output of tight-shut. (This value can be calculated by
reversing the polarization sing of full-open output value on the builder and plus 100.)
Setting range is -17.19 to 117.19 % (5 significant figures).
By default, the full-open value is 106.25%. If the output channel reverses the output,
the default full-open value will be converted (-6.25%) and become the output for tight-
shut.
10th Edition : Dec.18,2003-00
C4-34 <C4.8 Output Signal Conversion>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
The actual current output of full-open and the actual current output of tight-shut, both direct
output and reversed output, are shown as follows:
0
MV (%)
20
Actual
Output
100
117.19
C040811E.EPS
(mA)
0
4
-6.25
106.25 -17.19
100
Direct Output
Reversed Output
Figure Actual Direct/Reversed Output of Full-Open and Tight-Shut
IMPORTANT
Even when the function block faceplate displays 0.0% output, the actual output may not go
to tight-shut. This phenomenon is caused due to the HIS trunks out the second digit after
the decimal point of the displayed MV. Thus even the displayed MV is 0.0% but the actual
MV is FCS is still grater than 0.0% since FCS does not truncate the MV.
When manipulate a function block to ensurre the block gives a tight-shut output, i.e., to
make sure the MV actually becomes zero, and the following operations can be performed:
On the data entry daialog box, enter MV=0 directly
Keep pushing the [DEC] key on the operation keyboard for one more second or even
longer time after the MV of the function block becomes 0.0%
Moreover, if the [MV Display Style] setting on the function block builder is [SELF: User
Defined] and the user-defined range is 0.000 to 100.000% for the function block, when the
MV of the function block displays 0.000%, the tight-shut will properly function.
<C4.8 Output Signal Conversion> C4-35
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Analog Output Direction
The analog output module outputs 4 to 20 mA (or 1 to 5 V) against the 0 to 100 % range of
manipulated output values (MV). However, it can also output in the reverse direction,
e.g.20 to 4 mA (or 5 to 1 V). The following figure shows the relationship between the ma-
nipulated output value (MV) and output current. The reverse settings are shown in a dotted
line.
The output direction can be defined on the Detailed setting items in the IOM Builder.
0
50 100 (%)
4
20
(mA DC)
MV
: Positive direction (Direct output)
: Negative direction (Reverse output)
Output
current
C040802E.EPS
Figure Relationship between the Manipulated Output Value and Output Current
No-Conversion in the Calculation Block
When the No-Conversion output is specified, the connection destination will be another
function block or an analog output module.
Its use in different cases is explained below:
Output to Another Function Block
The output is given unconverted to another function block either by data set or terminal
connection.
The calculated output value (CPV) or the change in calculated output value (CPV) is no-
conversion output from the SUB terminal by data set.
Output to an Analog Output Module
Calculation output value (CPV) is converted to 0 to 100 % on the CPV scale and output
through the OUT or SUB terminal. The range of the output, converted in terms of 0 to 100
% will be limited to 0 to 100 %.
Output terminals other than OUT and SUB give the output value (CPVn) unconverted,
regardless of the destination type.
C4-36 <C4.8 Output Signal Conversion>
IM 33S01B30-01E
C4.8.2 Pulse Width Output Conversion
This conversion method converts the changes in manipulated output value (MV)
into a pulse width signal. It is used for the contact output module to open and close
the motor-operated valve through the contacts.
The conversion to pulse width output is available only in the Regulatory Control
Blocks.
Pulse Width Output Conversion
In this conversion method, the changes in manipulated variable (MV) are converted into a
pulse width signal. The degree of opening for the motor-operated valve can be manipulated
by outputting this pulse width signal from the contact output module as two contact outputs
(UP, DOWN) corresponding to the sign of the manipulated variable (MV).
Furthermore, the displayed manipulated output value (MV) for the pulse width output
conversion and the output action for increasing or decreasing the manipulated output value
are different depending on the feedback input signal availability.
Table Regulatory Control Blocks where Pulse width Output Conversion is Available
Type of regulatory control block
With feedback
input
PID Controller Block (PID)
Sampling PI Controller Block (PI-HLD)
PID Controller Block with Batch Switch (PID-BSW)
PD Controller Block with Manual Reset (PD-MR)
Blending PI Controller Block (PI-BLEND)
Self-Tuning PID Controller Block (PID-STC)
Ratio Set Block (RATIO)
Manual Loader Block (MLD, MLD-PVI and MLD-SW)
Feedforward Signal Summing Block (FFSUM)
Non-Interference Control Output Block (XCPL)
Without
feedback input
C040803E.EPS
: available
Blank: not available
10th Edition : Dec.18,2003-00
<C4.8 Output Signal Conversion> C4-37
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Computational Expression for Pulse Width
The pulse width of pulse signal is given by the following computational expression:
Tout=Pf
MV
100 C040804E.EPS
Tout: Output pulse width (sec.)
Pf: Pulse width stroke value (sec.)
MV: Change in manipulated output (%)
The stroke of the pulse width is the pulse width in time that is required to operate the final
control element from full-closed to full-opened state. In the automatic operation, the output
pulse width can not be defined greater than the control period time.
The full stroke value is defined using the Function Block Detail Builder.
Full stroke value: The setting range is 0.00 to 7200.00 (sec.).
Default is 0.00 sec.
Minimum Output Width
The final control element may not move if the pulse width signal is below a specific value
because of the mechanical characteristics of the object. To prevent this happens, the
minimum output width is utilized that, when a pulse width smaller than the minimum output
width, this pulse is withheld to add to the next pulse, until the pulse width becomes wider
than the minimum output value. A pulse width of fractional value below the output resolution
(10 ms) will also be added to the next output.
The minimum pulse width is only valid in automatic operation.
The minimum pulse width is defined through the Function Block Detail Builder.
The minimum pulse width: Setting range is 0.00 to 7200.00 (sec.).
Default is 0.00 sec.
Backlash Compensation
When the output reverses from the previous direction, a compensation value is added to
the calculated output to compensate the backlash of the final control element.
The backlash compensation is set through the Function Block Detail Builder.
Backlash compensation value: Setting range is 0.00 to 7200.00 (sec.).
Default is 0.00 sec.
Resetting Pulse Width
If the pulse width reset switch (RSW) is turned ON from the sequence control block or
others, the pulse width signal being output is reset immediately. The pulse width reset
switch returns to OFF after resetting the pulse width signal.
In the case of automatic operation (AUT, CAS and RCAS), no pulse width signal will be
output until the next control period after reset the pulse width.
C4-38 <C4.8 Output Signal Conversion>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Output Contacts
The output contacts are the contacts that drive final control elements, such as an motor-
operated valve. There are two types of contacts: the first contact and the second contact.
The terminal number for the first contact is defined through the Function Block Detail
Builder. An odd terminal number in the digital output module should be assigned for the first
contact. The second contact is automatically assigned with the succeeding terminal num-
ber of the first contact number.
The First Contact
The first contact is called UP contact and activated when the change in manipulated
output (MV) is a positive value. If the feedback input signal is defined to indicate the valve
opening, it increases when the UP contact is ON.
The Second Contact
The second contact is called DOWN contact and is activated when the change in manipu-
lated output (MV) is a negative value. If the feedback input signal is defined to indicate the
valve opening, it decreases when the DOWN contact is ON.
Remote/Local Switch
The on-site operation panel compatible with the pulse-width output may have an operation
button for local control. If you wish to perform on-site operation, change the remote/local
switch on the on-site operation panel to local to stop output from the FCS, then output the
on-site operation button signal. When changing the switch between remote and local, the
Regulatory Control Block receives the remote/local switching contact signal in the tracking
switch input connection terminal (TSI). When this input turns ON, the tracking switch (TSW)
turns ON and the Regulatory Control Block is set to the tracking (TRK) mode.
The operation upon switching between the remote and local modes is explained below.
Operation Upon Switching from Remote Mode to Local Mode
The on-site operation is enabled.
If the feedback input is provided, the feedback input value will be displayed as the
manipulated output value (MV). If no feedback defined, a 50 % (fixed) value is dis-
played as the manipulated output value (MV).
Only the pulse width being output at the time the mode is switched continuous till the
pulse output completed.
The block mode is switched to the tracking (TRK) mode.
Operation Upon Switching from Local Mode to Remote Mode (Other Than
TRK Mode)
The calculated output value of the Regulatory Control Block becomes valid.
If the feedback input is provided, the calculated output value will be displayed as the
manipulated output value (MV) immediately after switching, and thereafter, the feed-
back input value will be displayed as the manipulated output value (MV).
The pulse width signal being output at the time the mode is switched will be reset.
<C4.8 Output Signal Conversion> C4-39
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Feedback Input
The feedback input communicates to the Regulatory Control Block to notify the absolute
value of the manipulated output (MV), e.g. the opening of the valve connected as the final
control element.
The pulse width output is a velocity-type control output action, it outputs the change in
manipulated output (MV). The absolute value of the manipulated output (MV) is not
known.
The feedback signal from the final control element is connected to the tracking input signal
terminal (TIN) of the Regulatory Control Block.
The feedback signal is provided or not provided decide how the manipulated output value
(MV) display and how the manipulated output behaves to increase or decrease the output.
The pulse width output behavior is described in the following table:
Table Pulse width Output Operation
Item With feedback input Without feedback input
MV
display
Remote
mode
AUT
mode
Feedback input value
During UP pulse output:
Changes in +direction
During DOWN pulse output:
Changes in -direction
While pulse is stopped:
MV is held. (*1)
MAN
mode
During pulse output:
Manual set point value
While pulse is stopped:
Feedback input value
During UP pulse output:
Changes in +direction
During DOWN pulse output:
Changes in -direction
While pulse is stopped:
50 %
Local mode Feedback input value 50 %
Pulse output status on
depressing INC/DEC key
Pulse equivalent to MV is
output
Pulse equivalent to MV is output.
However, when MV reaches 0 or 100 %, pulse
continues to output until the INC/DEC operation
is ended.
C040805E.EPS
*1: If the pulse width output of PID is specified to be CENTUM-V compatible, the MV displays at the position of 50% when
no pulse is output.
No Feedback, Pulse Width Output MV at AUT Mode
PID Pulse Width Output
If no feedback is set, the MV displays in the following two styles at the AUT mode.
Hold Previous MV
When no pulse is output (or the output pulse width smaller than threshold), the dis-
played MV keeps the previous MV. When pulse output restarts, if the restarted output
is in the same direction of the previous output, the displayed MV equals to the previ-
ous MV plus the MV for increment or previous MV minus the MV for decrement.
However, if the restarted output is in reversed direction, the displayed MV equals to
50% plus or minus the MV for increment or decrement.
Display 50% MV (CENTUM-V Compatible)
When no pulse is output (or the output pulse width smaller than threshold), the dis-
played MV returns to 50%. When pulse output restarts, the displayed MV equals to the
50% plus the MV for increment or 50% minus the MV for decrement. Whenever the
MV reverses from positive to negative or vice versa, the displayed MV returns to 50%
then plus or minus the MV for increment or decrement respectively.
The MV display style when no feedback for pulse width output and the block is at AUT
mode can be set on FCS properties sheet. Check the check box of [CENTUM-V compat-
ible MV Display] in the column of [PID Pulse Width Output]. When this option is checked,
the displayed MV returns to 50% when no pulse is output. Otherwise, the displayed MV
keeps the previous MV. This check box is unchecked by default.
C4-40 <C4.8 Output Signal Conversion>
IM 33S01B30-01E
An Example of Pulse Width Output Conversion Operation with Feedback
Signal
C040806E.EPS
OUT
Digital output module
Terminal n Terminal n +1
TSI TIN
Pulse width
output
conversion
Output
limiter
Output
velocity
limiter
Digital
input module
Analog
input module
MV
AUT
MAN
LOCAL
REM
Motor-operated
valve - remote/local
UP DOWN
Regulatory Control Block
Control output
Feedback
slide resistor
Process
input/output section
Figure Schematic Diagram for Pulse Width Output Signal with Feedback Input
During automatic operation, the feedback input value which indicates how far the valve is
open is displayed as the manipulated output value (MV).
When the manipulated output value (MV) from the operation and monitoring function is
changed during manual operation, the pulse width corresponding to the change is output.
The manipulated output value (MV) displays the manipulated output value (MV) set manu-
ally during pulse width output, and when output is complete it displays the feedback input
value.
The timing chart for manual operation is shown below:
C040807E.EPS
Time
Time
Time 0 %
ON
ON
50 %
100 %
MV
Manual operation
using the keys
Pulse width output (UP)
Indication of
manipulated
output value (MV)
100
T
F
MV
T
F
: Full stroke value
The value may be slightly off
since the feedback input value
is displayed after the pulse
width output is complete.
Manually set value for
manipulated output value
Feedback value
Feedback value
Feedback value
Figure Timing Chart for Manual Operation
10th Edition : Dec.18,2003-00
<C4.8 Output Signal Conversion> C4-41
IM 33S01B30-01E
An Example of Pulse Width Output Conversion Operation without
Feedback
C040808E.EPS
OUT
TSI
Pulse width
output
conversion
Output
velocity
limiter
Contact
input module
MV
AUT
MAN
LOCAL
REM
Motor-operated
valve - remote/local
UP DOWN
Regulatory Control Block
Control output
Contact output module
Terminal n Terminal n+1
Figure Schematic Diagram of Pulse Width Output Signal Conversion without Feedback Input
The valve opening will not be displayed since there is no feedback signal.
The manipulated output value (MV) in the automatic operation is displayed by UP/DOWN of
the pulse width output.
When Up: manipulated output value (MV) increases.
When DOWN: manipulated output value (MV) decreases.
No output: manipulated output value (MV) stays unchanged. (*1)
*1: When the PID pulse width output is specified as CENTUM-V compatible, the displayed MV returns to 50% when no
pulse is output.
The timing chart for manual operation is shown below:
C040809E.EPS
Time
Time
Time
Pulse width output
(UP)
Indication of manipulated
output value (MV)
0 %
50 %
100 %
MV
100
T
F
MV
T
F
: Full stroke value
Time
Time
Time
Pulse width output
(DOWN)
Indication of manipulated
output value (MV)
0 %
50 %
100 %
T
F
0.5
T
F
: Full stroke value
Output is stopped beyond
this point on the instant the
manual operation is
terminated.
ON
ON
(a) When moving 50% or less of the full span (b) When moving 50% or above of the full span
Manual operation
using the keys
Manual operation
using the keys
Figure Timing Chart for Manual Operation
10th Edition : Dec.18,2003-00
C4-42 <C4.8 Output Signal Conversion>
IM 33S01B30-01E
C4.8.3 Communication Output Conversion
The communication output conversion converts the data resulted from control
computation into a format that can be output to the destination subsystem.
This conversion method is available for the Regulatory Control Blocks and Calcula-
tion Blocks. It behaves differently for Regulatory Control Block and Calculation
Block.
Communication Output Conversion
The data value to be converted to the communication output will be the calculated output
value (MV) and calculated output value (CPV) on the regulatory control and Calculation
Blocks, respectively.
The computational expression for the communication output conversion is shown below:
OUT= (MV-BIAS)
1
GAIN C040810E.EPS
OUT: Subsystem output value
GAIN: Data conversion gain
BIAS: Data conversion bias
The data conversion gain and bias are set through the function block detail definition
builder.
Data Conversion Gain:
Specify a floating-decimal constant, a 9-digit number including the sign and decimal
point.
Default is 1.000.
Data Conversion Bias:
Specify a floating-decimal constant, a 9-digit number including the sign and decimal
point.
Default is 0.000.
TIP
If a function block is defined with communication output conversion, the following restrictions will be
applied:
Output reversal (i.e., to reverse the analog output signal) will not be supported.
Though the output velocity limiter and the velocity type output can be applied to controller blocks,
however the output velocity limiter and the velocity type output may not function properly in the
subsystem since the subsystem communication takes longer time. For an example, when the output
of a controller block is limited to 1% per second, if the communication period is 3-seconds, the output
limiter to the subsystem will become 3% per three seconds.
10th Edition : Dec.18,2003-00
<C4.8 Output Signal Conversion> C4-43
IM 33S01B30-01E
C4.8.4 Output Signal Conversion of Logic Operation Blocks
The following paragraph explains the output signal conversion of Logic Operation
Blocks.
Output Signal Conversion of Logic Operation Blocks
The logic calculated value (CPV) for the output to the connection destination connected to
the OUT terminal is passed to the destination block without any output processing. The
data type of calculated value is integer type.
TIP
In bitwise logic operation blocks, CPV is displayed in 8 digits hexadecimal.
10th Edition : Dec.18,2003-00
C4-44 <C4.9 Auxiliary Output>
IM 33S01B30-01E
C4.9 Auxiliary Output
The auxiliary output is used when output a signal to a destination other than the final
control element. The signal is often used as compensation data to other function
blocks, or to the indicator outside of the FCS, etc.
The operation of auxiliary output is different between the Regulatory Control Block
and the Calculation Block.
This section explains the operation in the auxiliary output.
Auxiliary Output from the Regulatory Control Block
Auxiliary Output
The auxiliary output is used when output a signal through the SUB terminal to a destination
other than the final control element. The signal is often used as compensation data to other
function blocks, or to the indicator outside of the FCS, etc.
In the Regulatory Control Blocks, the process variable (PV), change in process variable
(PV), manipulated output value (MV), or the change in manipulated output value (MV) is
output via the SUB terminal. The connection method is the data setting.
The connection destinations of the SUB terminal are indicated below.
Process output
Data item of other function block
10th Edition : Dec.18,2003-00
<C4.9 Auxiliary Output> C4-45
IM 33S01B30-01E
In function blocks with the output compensation function, the change of MV before the
output compensation is considered to be the change in manipulated output value (MV).
Even if the output of the auxiliary output becomes open, the alarm status does not change
to an output open alarm (OOP).
The operation of the auxiliary output is determined by the settings for the auxiliary output
builder definition items Output Data and Output Type.
The auxiliary output builder definition items Output Data and Output Type are set with
the Function Block Detail Builder.
Table Selection List and Default Values for Output Data of Auxiliary Output
Name of the subject function block Selection list Default value
Manual Loader Block (MLD)
Manual Loader Block with Auto/Man SW (MLD-SW)
Velocity Limiter Block (VELLIM)
[MV] [MV] [MV]
Input Indicator Block (PVI)
Input Indicator Block with Deviation Alarm (PVI-DV)
2-Position ON/OFF Controller Block (ONOFF)
Enhansed Two-Position ON/OFF Controller Block
(ONOFF-E)
3-Position ON/OFF Controller Block (ONOFF-G)
Enhansed Three-Position ON/OFF Controller Block
(ONOFF-GE)
Non-Interference Control Output Block (XCPL)
[PV] [PV] [PV]
Regulatory control blocks other than those listed
above
[MV] [MV]
[PV] [PV]
[PV]
C040901E.EPS
Output Type:
Selectable from Positional Output Action and Velocity Output Action.
Default is Positional Output Action.
When the output action for auxiliary output is set to Positional Output Action, the output
values (MV, MV, PV, or PV) can be set in the connection destination as it is. Also, when
set to the Velocity Output Action type, the value read back from the connection destination
is added to the output value and set in the connection destination.
10th Edition : Dec.18,2003-00
C4-46 <C4.9 Auxiliary Output>
IM 33S01B30-01E
When the Connection Destination is a Process I/O
The output value is converted to a percentage by the following arithmetic expression to
output.
When the auxiliary output is process variable (PV):
Output value= 100.0
PV-SL
SH-SL
C040902E.EPS
When the auxiliary output is change in process variable (PV):
Output value= 100.0
PV
SH-SL C040903E.EPS
When the auxiliary output is manipulated output value (MV):
Output value= 100.0
MV-MSL
MSH-MSL C040904E.EPS
When the auxiliary output is change in manipulated output value (MV):
Output value= 100.0
MV
MSH-MSL C040905E.EPS
When the Connection Destination is a Data Item of the Function Block
The output value is output from the SUB terminal without any conversion.
When the output action is set to positional type, the output value (PV, PV, MV or MV) is
set to the connection destination as it is, whereas for the velocity type, the output value is
added to the readback value from the connection destination and set to the connection
destination.
Table Relationship between the I/O Connection Methods and Output Action
Output connection method Output value
Output action
Positional type Velocity type
Process output
PV, PV
MV, MV
DLe
r
T
SV
s
1T
SV
s
C050603E.EPS
KSV: deviation check filter gain. 0.000 to 10.000
TSV: deviation check filter time constant. 0 to 10000 seconds
s: Laplacian
10th Edition : Dec.18,2003-00
<C5.6 Deviation Alarm Check > C5-21
IM 33S01B30-01E
Effects of the Deviation Check Filter
C050604E.EPS
SV
DLe
0
DLe
(A)
(B)
t
DLe
DV
DL
DL
Figure Effect of the Deviation Check Filter
The (A) and (B) shown in the above diagram assume the setpoint value operations below.
(A) Abruptly ramp to the setpoint value (SV)
(B) Gradually ramp to the setpoint value (SV)
When operation performed like this, the deviation (DV) temporarily increases to the points
indicated as (A) and (B) in the diagram if the process variable is constant. The increase of
the deviation is the result of the setpoint values change performed by the operator who
expected such a consequence. The deviation check filter has the effect to prevent the
temporarily increased deviation (DV) caused by setpoint value changes from being acti-
vated. In the diagram, it shows how the corrected deviation alarm setpoint values (+/- DLe)
changes according to the changes in the setpoint value (SV) under the conditions such as
(A) and (B). If the deviation check filter is not provided, the deviation alarm always occurs
whenever the deviation (DV) exceeds the limit of the deviation alarm setpoint value (+/-
DLe), because the deviation alarm setpoint value (DLe) is the same value of the deviation
alarm setpoint value (DL).
10th Edition : Dec.18,2003-00
C5-22 <C5.6 Deviation Alarm Check >
IM 33S01B30-01E
Settings for the Deviation Alarm Check
The types of the deviation alarm check, the deviation alarm setpoint values (DL), the alarm
hysteresis value (HYS), and the deviation check filter can be set.
Types of Deviation Alarm Check
The type of deviation alarm check can be defined on the deviation alarm check item of
the Function Block Detail Builder. The types of deviation alarm checks are listed below. The
default is detect both directions.
Detection of both directions:
Monitors deviation in both directions
Detection of single direction:
Monitors deviation in only one direction, positive or negative
No detection:
Detection is not conducted
When single direction is selected for detection, if the deviation alarm setpoint value is plus
symbol, only the deviation in the positive direction is detected and if the deviation alarm
setpoint value is negative symbol, only the deviation in the negative direction is detected.
Deviation Alarm Setpoint Value (DL)
The deviation alarm setpoint value (DL) is set by the operation and monitoring function.
Deviation alarm setpoint value (DL): Engineering unit data within PV scale span
Default is the PV scale span
When only one direction is selected for detection, the direction that is to be detected (+ or -)
must be added to the engineering unit data of the velocity alarm setpoint value (DL).
10th Edition : Dec.18,2003-00
<C5.6 Deviation Alarm Check > C5-23
IM 33S01B30-01E
Alarm Hysteresis Value
The alarm hysteresis value is defined on each function block in the Function Block Detail
Builder.
Hysteresis:
Engineering unit data within the range of 0 to PV scale span, or percentage data for
the PV scale span
When specifying percentage data, add % after the numeric value.
The default is 1.0 %.
Deviation Check Filter
The deviation check filter gain and time constant can be defined in the Function Block
Detail Builder.
DV check filter gain: Deviation check filter gain
0.000 to 10.000
Default is 0.
DV check filter time constant: Deviation check filter time constant
0 to 10,000 seconds
Default is 0.
For Input Indicator Blocks with Deviation Alarm (PVI-DV), if scan coefficient is specified as
2 or greater on the Function Block Detail Builder, the deviation check filter should be multi-
plied by the specified scan coefficient.
SEE ALSO
For details on the deviation check filter gain and deviation check filter time constant, see the following:
The Operation of the Deviation Check Filter
TIP
The Dual-Redundant Signal Selector Block (SS-DUAL) and the velocity limiter block (VELLIM) do not
have the deviation check filter function.
10th Edition : Dec.18,2003-00
C5-24 <C5.7 Output Open Alarm Check>
IM 33S01B30-01E
C5.7 Output Open Alarm Check
The output open alarm check may generate an alarm to indicate that the output is
open (OOP).
The Operation of the Output Open Alarm Check
Output Open Alarm
The output open alarm check is a function that determines the data status received from
the I/O module.
Based on the data status (OOP) received from the I/O module, an output open alarm
(OOP) is activated.
This alarm indicates that the control output line has been physically severed.
The output open alarm check is performed by the I/O module. The function block receives
the check results from the I/O module as a data status (OOP) and processes the activation
or the restoration of the output open alarm. The output open alarm is activated only in the
function block that is directly connected to the I/O module. The alarm will not be activated at
function blocks that sends output through data connections to other function blocks.
When I/O modules are duplicated, an output open alarm is activated if both I/O modules
are failed.
In tracking mode (TRK), the output open alarm is activated when data status of the track-
ing input terminal (TIN) or tracking switch input terminal (TSI) is bad (BAD). At this time, the
block mode changes to Initialized manual (IMAN) mode if the output signal is not pulse
width output type. If the output signal is pulse width output type, the block mode does not
change, but the value prior the abnormality occurrence is maintained as the manipulated
output value.
10th Edition : Dec.18,2003-00
<C5.7 Output Open Alarm Check> C5-25
IM 33S01B30-01E
The Function Block Reaction when Output Open Detected by Output
Open Check Function
When an alarm output open alarm occurs, detected by output open alarm check function,
the function blocks react as follows:
For the regulatory control blocks that have MAN fallback functions, the MAN fallback
action is initiated and the block mode is changed to manual (MAN) mode.
The manipulated output value (MV) is frozen, and the current value is kept as manipu-
lated output values (MV).
The reaction is the same as described above when the output fail alarm activates.
Settings for the Output Open Alarm Check
Setting of the output open alarm check is performed using the Function Block Detail
Builder.
Output open alarm check: Choose from Enabled or Disabled
Default is Enabled.
10th Edition : Dec.18,2003-00
C5-26 <C5.8 Output Fail Alarm Check>
IM 33S01B30-01E
C5.8 Output Fail Alarm Check
The output fail alarm check may generate an alarm to indicate that the output is open
(OOP).
The Operation of the Output Fail Alarm Check
The output fail alarm check is a function that determines whether the data status of the
manipulated output value (MV) is output fail (PTPF).
When it is determined that the data status of the manipulated output value (MV) is output
fail (PTPF), an output open alarm (OOP) is activated.
The system recovers from the alarming state when the data status is no longer output fail
(PTPF).
The possible causes of the data status of the manipulated output value (MV) being output
fail (PTPF) are listed below.
Output open detected
I/O module failure
The mode of the destination block that data is being set is out of service (O/S).
The Function Block Reaction when Output Fail Alarm Detected by Out-
put Fail Alarm Check Function
When an alarm output fail alarm occurs, detected by output fail alarm check function, the
function blocks react as follows:
For the regulatory control blocks that have MAN fallback functions, the MAN fallback
action is initiated and the block mode is changed to manual (MAN) mode.
The manipulated output value (MV) is frozen, and the current value is kept as manipu-
lated output values (MV).
The reaction is the same as described above when the output open alarm activates.
Settings for the Output Fail Alarm Check
Enable or disable the output fail alarm check depends on whether the output open alarm
check is enabled or not.
When the output open alarm check is enabled, the output fail alarm check is automatically
enabled.
Vice versa, if the output open alarm check is disabled, the output fail alarm check is dis-
abled too. In this case output fail alarm will not be activated even when the data status
becomes output fail (PTPF).
10th Edition : Dec.18,2003-00
<C5.9 Output High and Low Limit Alarm Check> C5-27
IM 33S01B30-01E
C5.9 Output High and Low Limit Alarm Check
The output high limit and low limit alarm check may generate an alarm to indicate
that the output is in high limit or low limit alarming status (MHI, MLO).
Operation of the Output High and Low Limit Alarm Check
Output High/Low Limit Alarm
The output high and low limit alarm check is a function that determines whether the ma-
nipulated output value (MV) exceeds the range of the manipulated output variable high-
limit/low-limit setpoint (MH, ML) for the output limiter.
When it is determined that the manipulated output value (MV) exceeds the manipulated
output variable high limit setpoint (MH), an output high limit alarm (MHI) is activated. Simi-
larly, when it is lower than the manipulated variable low limit setpoint (ML), an output low
limit alarm (MLO) is activated.
The system will recover from the alarming state when manipulated output value (MV)
becomes lower than the value in which the alarm hysteresis value is subtracted from the
manipulated variable high-limit setpoint. Similarly, the system recovers from the output low-
limit alarm when the manipulated output value becomes greater than the value in which the
alarm hysteresis value is added to the manipulated variable low-limit setpoint.
10th Edition : Dec.18,2003-00
C5-28 <C5.9 Output High and Low Limit Alarm Check>
IM 33S01B30-01E
Settings for Output High and Low Limit Alarm Check
The types of output high and low limit alarm checks, the manipulated variable high limit/low
limit setpoints (MH, ML), and the alarm hysteresis value (HYS) can be set.
Types of Output High and Low Limit Alarm Checks
The types of output high and low limit alarm checks can be defined on the output high and
low limit alarm item in the Function Block Detail Builder. The types of output high and low
limit alarm checks are listed below. The default is set as high and low limit alarms.
Both high and low limit alarms: Output high and low limit alarm check enabled
High-limit alarm only: Output high-limit alarm check enabled
Low-limit alarm only: Output low-limit alarm check enabled
Alarms disabled: No alarm checking
Manipulated Variable High-Limit / Low-Limit Setpoint (MH, ML)
The manipulated variable high-limit setpoint (MH) and the manipulated variable low-limit
setpoint (ML) is set by the operation and monitoring function.
Manipulated variable high-limit setpoint (MH):
Engineering unit data within MV scale span
Default is MV scale high-limit value
Manipulated variable low-limit setpoint (ML):
Engineering unit data within MV scale span
Default is MV scale low-limit value
If the same value as the MV scale high-limit value is set to the manipulated variable high-
limit setpoint (MH), the output high-limit alarm will not be activated. Similarly, if the same
value as the MV scale low-limit value is set to the manipulated variable low-limit setpoint
(ML), the output low-limit alarm will not be activated.
Alarm Hysteresis Value (HYS)
Alarm hysteresis can be defined in each block in the Function Block Detail Builder.
Hysteresis:
Engineering unit data within the range of 0 to PV scale span, or percentage data for
the PV scale span
When specifying percentage data, add % after the numeric value.
Default is 2.0 %.
10th Edition : Dec.18,2003-00
<C5.10 Bad Connection Status Alarm Check> C5-29
IM 33S01B30-01E
C5.10 Bad Connection Status Alarm Check
Bad connection status alarm check may generate an alarm to indicate that the
connection is bad (CNF).
Operation of the Bad Connection Alarm Check
Bad Connection Alarm
The bad connection status alarm check is a function that determines whether there is a
faulty connection to the function block or data at the I/O connection destination.
When it is determined that the connection status is bad, the bad connection alarm (CNF) is
activated. When the connection is restored, the system recovers from the alarming state.
The bad connection is judged as follows.
The connected destination function block is in out of service (O/S) mode.
The connection information is abnormal, and the data reference or data set cannot be
performed.
The connected destination function blocks data type is invalid (cannot be convert to
the appropriate data type).
Setting of the Bad Connection Alarm Check
The bad connection alarm check can be defined in the Function Block Detail Builder.
Bad connection alarm check: Enabled or Disabled
Default is Enabled.
10th Edition : Dec.18,2003-00
C5-30 <C5.11 Process Alarm Message>
IM 33S01B30-01E
C5.11 Process Alarm Message
The process alarm messages are the process alarms that have been detected by the
alarm detection functions and transmitted from the function block to the operation
and monitoring function.
Process Alarm Messages
The process alarm messages are transmitted when abnormality in the process variables
(PV) or manipulated output values (MV) is detected by the alarm detection function of the
function block, and when the abnormality returns to normal.
Alarm detection function as well as alarm check function varies from function block types.
For those alarm items that have been set to AOF ( Alarm Off), when alarm occurs, the
process alarm message is detected but activates no alarm message on the operation and
monitoring function.
For those alarm items that have been as no alarm detection, when alarm occurs, it acti-
vates no alarm message on the operation and monitoring function because the function
block does not detect the alarm.
SEE ALSO
For each process alarm detection, see the chapters,
from C5.1, Input Open Alarm Check
through C5.10, Bad Connection Status Alarm Check.
10th Edition : Dec.18,2003-00
<C5.12 System Alarm Message> C5-31
IM 33S01B30-01E
C5.12 System Alarm Message
The system alarm messages are the messages represent system abnormality oc-
curred in the FCS and in the function blocks, those have been transmitted to the
operation and monitoring function.
This section describes the messages related to the function blocks.
System Alarm Message
The system alarm messages are transmitted for abnormalities originating in the control
station system, such as a malfunction in the I/O module or calculational errors caused in
the user-defined computational expressions.
Regardless how the function block alarm detection defined, system alarm message will
definitely broadcasts whenever it occurs or recovers.
The abnormalities that initiate the system alarm message are shown below.
Abnormalities of the Input Modules
Abnormalities caused by the Input module detected by the Input error alarm check.
Abnormalities of the Output Modules
Abnormalities caused by the output module detected by the output fail alarm check.
Abnormalities in the User-Defined Computational Expression
Computational error caused in the user-defined computational expression in the general-
purpose calculation block (CALCU).
Abnormalities on One-Shot Initiation Exerted from the Sequence Control
Block
Abnormalities occurred in a function block which terminal connected to a sequence control
block such as sequence table, when the sequence block exerts a One-Shot initiation to the
function block. This can be caused by any of the reasons below.
The connected destination block is in out of service (O/S) mode.
Restriction on the one-shot initiation from the nest.
A function block that can be one-shot initiated is able to one-shot initiate another
function block. When the chain one-shot initiation on multiple function blocks exceed
the limit, an error occurs.
10th Edition : Dec.18,2003-00
C5-32 <C5.13 Deactivate Alarm Detection>
IM 33S01B30-01E
C5.13 Deactivate Alarm Detection
The alarm detection function for each process alarm can be stopped in accordance
with the alarm detection specification.
Alarm Detection
For each alarm detection function of the process alarms, the alarm detection status is
changed by the function that sets Detection enabled or Detection disabled.
Deactivate Alarm Detection
The alarms that are set as Detection disabled, the alarm detection function itself will be
disabled.
When the alarm detection is being changed from Detection enabled to Detection dis-
abled, if the process alarm is in alarm activating status, the alarm notification process is
executed in the same manner as alarm recovery. Therefore, if there are no alarms in
progress in the function block of the process alarm, that function block will be handled as a
normal recovery (Alarm status: NR).
Alarm Detection Specification
The alarm detection specifications are defined in the Function Block Detail Builder to each
alarm in each function block.
The alarm detection specification (AF) for each alarm can be changed through the se-
quence table block or the sequence-connected function block.
10th Edition : Dec.18,2003-00
<C5.14 Alarm Inhibition (Alarm OFF)> C5-33
IM 33S01B30-01E
C5.14 Alarm Inhibition (Alarm OFF)
The alarm inhibition can be used to temporarily inhibit the action of process alarm
messages while the alarm detection is still active.
Alarm inhibition (Alarm OFF)
The alarm inhibition is a function that temporarily inhibits the action of process alarm
messages. During this time, the alarm detection is still active.
The alarm inhibition is abbreviated to alarm OFF (AOF).
The following table indicates the alarm action during alarm inhibition and when it is not
inhibited, each alarms priority level.
Table Standard Specification of Alarm Actions
Alarm priority
Normal alarm action Alarm action when inhibited
Alarm display
flashing action
Repeated
warning alarm
Alarm display
flashing action
Repeated
warning alarm
High-priority Locked (*1) Self acknowledge
Medium-priority Locked (*1) Self acknowledge
Low-priority Non-locked Self acknowledge
Logging Self acknowledge Self acknowledge
C051401E.EPS
Reference Self acknowledge Self acknowledge
: For repeated warning alarm
Blank: Not for repeated warning alarm
*1: Can be changed on Alarm Priority Builder.
When the alarm shifts from the normal mode to AOF mode, the active alarms will keep
previous behaviors. For example, the alarm flashing state and the repeated-warning alarm
actions will be remained. When the alarm status changes (alarm occurs or recovers in the
same tag), the initial alarm inhibition actions will take place.
Since the alarm detection is conducted even in the alarm inhibition mode, the alarm status
can be still referred from sequence control blocks as sequence condition. The conditions
are functioning the same as in normal (not in AOF) mode.
SEE ALSO
For more information about alarm processing during alarm inhibition, see the following:
E12.3.3, Alarm Inhibition (AOF)
For more information about alarm flashing, see the following:
C5.15.1, Alarm Display Flashing Actions
10th Edition : Dec.18,2003-00
C5-34 <C5.14 Alarm Inhibition (Alarm OFF)>
IM 33S01B30-01E
Alarm Inhibition Setting
The alarm inhibition can be set for each function block. Alarms of a block can also be
inhibited all together. Each process alarm, including the input open alarm (IOP) and the
output open alarm (OOP), can be inhibited individually.
The alarm inhibition setting can be changed manually by the operator or changed by the
sequence control blocks or the blocks in sequence connection. However, from an operation
and monitoring console, alarms of a block can only be inhibited all together.
Alarm Notification when Releasing Alarm Inhibition
Alarm Notify Action when All AOF Released
For all alarms in a function block, how they behave when releasing Alarm Inhibition can be
specified. To notify the operation and monitoring console the existing alarms or not to notify
the operation and monitoring console can be selected.
TIP
The setting for notifying the or not notifying the operation and monitoring console of the existing
alarms only valid for releasing the AOF, it does not function when release alarm inhibition of each
alarm items of a function block.
For the alarms masked by Representative Alarm Block (ALM-R), when alarm mask is released by
changing the SV or SW of the ALM-R block, the existing alarms will not initiate alarm message
outputs.
Check Box of Alarm Notify Action when All AOF Released
On each FCS property sheet, there is a check box of Alarm Notify Action When All AOF
Released. To notify the operation and monitoring console when alarm inhibition is released
can be set by checking this item.
Alarm Notify Action when All AOF Released
Check this option. This option is not checked by default setting.
10th Edition : Dec.18,2003-00
<C5.15 Classification of Alarm Actions Based on Alarm Priority> C5-35
IM 33S01B30-01E
C5.15 Classification of Alarm Actions Based on
Alarm Priority
There are five levels of alarm priority. The alarm action varies by the priority level.
Alarm Priority
There are five levels in alarm priority. They are high-priority alarms, medium-priority alarms,
low-priority alarms, logging alarms and reference alarms. Each level of alarm priority has its
own specifications regarding to the following items:
Enable/Disable display on windows
Enable/Disable printouts
Enable/Disable logging into file
Regarding to FCS, each level of alarm priority has the following different specifications:
Alarm Action (Alarm flashing actions when alarm occurs)
Enable/Disable repeated warning alarm
Alarm Action when Returning to Normal (Alarm flashing when returns to normal)
The alarm actions corresponding to each level of alarm priority when alarm inhibition is
deactivated are list in the following table.
Table Alarm Actions and Levels of Alarm Priority
Alarm priority
Alarm display
flashing
Repeated
warning alarm
When returns to normal
High-priority Locked (*1) Yes (*1)
No
No
No
No
Depends on alarm type (*1)
Medium-priority Locked (*1) No action
Low-priority Non-locked (*1) No action
Logging Self acknowledge No action
C051501E.EPS
Reference Self acknowledge No action
*1: The action may be defined on Alarm Priority Builder.
SEE ALSO
For more information about the behaviour of operation and monitoring console when an alarm returns to
normal, see the following:
E12.2, Alarm Priority
For more information about alarm display flashing, action when returns to normal (Alarm flashing when
returns to normal), see the following:
C5.15.1, Alarm Display Flashing Actions
10th Edition : Dec.18,2003-00
C5-36 <C5.15 Classification of Alarm Actions Based on Alarm Priority>
IM 33S01B30-01E
C5.15.1 Alarm Display Flashing Actions
The alarm display flashing action is a function that changes the alarm display color
or flashing status in the operation and monitoring window when a change occurs
with respect to the alarm.
Alarm Display Flashing Actions
When an alarm occurs or when the system recovers from the alarm status, and when
operator acknowledges the occurrence or recovery, the alarm marks on the operation and
monitoring window change flashing status or colors.
The alarm acknowledgment action performed by the operator is transmitted to the FCS.
The FCS indicates the alarm acknowledged status (if the alarm has been acknowledged or
not) by alarm flashing status (AFLS) for each function block. Therefore, from any operation
and monitoring console in the same project can perform the alarm acknowledgment action
and monitor the alarm acknowledgment status.
Alarm Display Flashing Action When Alarm Occurs
The alarm display object starts to flash when the alarming activates and stops flashing
when the alarm is acknowledged. There are three types of flashing actions behaves differ-
ently when the alarm status recovers. They are lock type, non-lock type, and self-acknowl-
edge type.
Locked Type (LK : Locked)
Even if alarm has recovered, the alarm flashing will continue until it is acknowledged.
C051502E.EPS
Alarm condition
Flashing status
Acknowledgment Acknowledgment
Figure Locked Type Alarm Display Flashing Action
Non-Locked Type (NL : Non-Locked)
When alarm status has recovered, the flashing stops regardless whether has been ac-
knowledged or not.
C051503E.EPS
Alarm condition
Flashing status
Acknowledgment
Figure Non-Locked Type Alarm Display Flashing Action
10th Edition : Dec.18,2003-00
<C5.15 Classification of Alarm Actions Based on Alarm Priority> C5-37
IM 33S01B30-01E
Self-Acknowledge Type (SA : Self-Acknowledge)
It is assumed that the alarm is acknowledged when it activates, so that the alarm display
object does not flash.
C051504E.EPS
Alarm condition
Flashing status
Figure Self-Acknowledging Type Alarm Display Flashing Action
Alarm Action in Normal Status (Flashing Action in NR Status)
When a function block returns to normal status with all alarms vanished, the mark for
normal (NR) will flash to notify the operator. The flashing action when normal status returns
from alarm status contains two types, Alarm Dependent and Normal Notification. Only the
alarms with high-priority can be specified with these options.
Alarm Dependent (XL: eXception Lock)
When all alarms vanish and normal status returns, the alarm marks that have been flashing
will continue to flash. The alarm marks that have stopped flashing will not flash.
Normal Notification (NL: Non-Lock)
When all alarms vanish and the block returns to normal, the alarm mark starts to flash even
though the alarming status flashing has been stopped. An acknowledge operation may
stop the normal notification flashing. Without the acknowledge operation, the normal
notification flashing will be kept when a new alarm occurs. When a function block returns to
normal, it notifies it to operator by this Non-Lock type notification.
10th Edition : Dec.18,2003-00
C5-38 <C5.15 Classification of Alarm Actions Based on Alarm Priority>
IM 33S01B30-01E
C5.15.2 Repeated Warning Alarm
The repeated warning alarm retransmits a process alarm message to notify the
operator that a critical alarm status is continuing.
Repeated Warning Alarm
The repeated warning alarm is a function that retransmits a process alarm message after a
specified time has elapsed during the period between the alarm occurrence and recovery
from the alarm, regardless of whether the alarm is acknowledged. The purpose of the
repeated warning alarm is to notify the operator that a critical alarming state is continuing.
When multiple alarms originated from the same tag, the re-alarm requests are issued
simultaneously to the same tag. In this case, only the one has the highest-priority among
them can be reissued again.
Only the high-priority alarm can be reissued as repeated warning alarm. If the definition
item of repeated warning alarm cycle is defined as zero second, repeated warning alarm
does not effect.
Repeated Warning Alarm at Initial Cold Start
Alarm Mask for Initial Cold Start
The repeated warning alarm has a function in which at initial cold start (include recovery
from a long period of power failure) of the FCS, only the high-priority alarms are picked up
from all the alarms and issued to the operation and monitoring consoles.
When the initial cold start for the FCS is executed, as a rule, only the alarms that were
newly activated after start are transmitted to the operation and monitoring console by the
alarm mask function. However, for the alarms that are set as repeated warning, if alarm is
in process, the process alarm message is transmitted even though it was not newly acti-
vated.
However, if it is set as alarm mask disabled in the FCS Constants Builder, every alarm
that is in progress will be classified as newly activated, and the process alarm messages
will be issued at initial cold start.
Setting of Repeated Warning Alarm Period
Interval of Repeated Warning Alarms
The period of the repeated warning alarm is defined for each control station in the FCS
Constants Builder.
Repeated warning alarm period: The setting value is between 0 to 3600 seconds.
When 0 is set, repeated warning alarm function is
disabled.
Default is 600 seconds
10th Edition : Dec.18,2003-00
<C5.16 Alarm Processing Levels> C5-39
IM 33S01B30-01E
C5.16 Alarm Processing Levels
With the alarm processing level, the alarm priority level can be specified for each
function block or element.
Alarm Processing Levels
Alarm Level
Designating an alarm processing level to a function block or an element, the alarms from
the function block or the element will have the designated priority and display the desig-
nated color.
There are 16 levels, 1 to 16, for alarm processing. The alarm priority and alarm colors of all
alarms occurred in a function block or an element are defined for each processing level.
The alarm priority defined for the first 4 levels of alarm processing are shown as follows.
Level1
All alarms initiated from the function block or the element are High-priority alarms.
Level2
All alarms initiated from the function block or the element are Medium-priority
alarms.
Level3
All alarms initiated from the function block or the element are Low-priority alarms.
Level4
All alarms initiated from the function block or the element are Logging alarms.
The definitions for level1 to level4 are fixed for a whole system. The alarm priorities and
colors for level5 to level16 can be defined by users.
The alarm processing levels for each function block can be defined on the Function Block
Overview Builder or function block detail builder.
SEE ALSO
For more information about the definitions of level5 to level16, see the following:
Alarm Processing of chapter E12.4, Alarm Status Character String and Alarm Processing
10th Edition : Dec.18,2003-00
Blank Page
<C6. Block Mode and Status> C6-1
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
C6. Block Mode and Status
Block mode and status are the information that represent how a function block
behaves under the current circumstances. Block mode and block status represent
the operating state of the function blocks, while alarm status represents the alarm
state of the process. Data status represents the reliability of the process data.
Block Mode
Block mode is the information that represents the control state and the output state of a
function block. The different type of function blocks have different kinds of operation mode.
In general there are 9 kinds of basic block mode, and some other block modes that are the
composition of those basic block modes.
Block Status
A block status is the information that represents the operating state of a function block.
Block status and block mode reflect the overall behavior of the function blocks. The differ-
ent type of function block have different type of block status. Some function blocks do not
have any block status.
Alarm Status
An alarm status is information that represents the alarm state of a process which was
detected by the function block. The different type of function block have different type of
alarm status. Some function blocks do not have any alarm status.
Data Status
A data status is the information that represents the reliability of data. For the data obtained
from I/O module, their status pass from one function block to another. Data status is ob-
served when various exceptional events occurred due to abnormality in the process or
calculation.
Block Mode and Block Status of the Faceplate Block
The block mode and block status of the faceplate block are different from the block mode
and block status of other function blocks.
SEE ALSO
For more information about block mode and block status of the faceplate blocks, see the following:
D4.3, Block Mode and Status of Faceplate Blocks
Block Mode and Block Status of the SFC Block
The block mode and block status of the SFC block are different from the block mode and
block status of other function blocks.
SEE ALSO
For more information about block mode and block status of the SFC block, see the following:
D5.6.13, SFC Block Mode & Status
C6-2 <C6.1 Block Mode>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
C6.1 Block Mode
Block Mode
Block mode is the information that represents the control state and the output state
of a function block. The different type of function blocks have different kinds of
operation mode. In general there are 9 kinds of basic block mode, and some other
block modes that are the composition of those basic block modes.
Basic Block Mode
There are 9 kinds of basic block mode. These basic block modes are shared by all function
blocks.
However, the basic block mode that can be applied to the particular function block varies
from the types of the function block.
Compound Block Mode
Compound block mode refers to the state where multiple basic block modes are estab-
lished simultaneously. In a compound block mode, the block mode with the highest priority
among the basic block modes that are being simultaneously established will be executed.
Between any two block modes, there exists either a complementary relationship in which
the two modes can be simultaneously established as a compound block mode, or a mutu-
ally exclusive relationship in which the two modes cannot be simultaneously established.
Transition of Block Mode
A transition of a block mode means that a specific block mode changes into a different
block mode. A transition of block mode can be initiated by a mode change command from
outside of the function block, or it may take place automatically when a mode transition
condition is established inside.
Block Mode Transition Command
The block mode transition commands are the commands for switching the block mode
performed outside of the function block, such as the operations performed by operator, or
the action from the sequence control blocks and so on.
Block Mode Transition Condition
The block mode transition condition stand for the factors related to block mode change.
When the condition for block mode change established, the block will automatically shift to
the mode.
<C6.1 Block Mode> C6-3
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Block Mode of Function Blocks
The type of block mode applicable to the function blocks varies with type of block.
SEE ALSO
For more information about block mode of regulatory control blocks, see the following:
D1.1.4, Valid Block Modes for Each Regulatory Control Block
For more information about block mode of calculation blocks, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
For more information about block mode of sequence control blocks, see the following:
D3.1.2, Block Mode of Sequence Control Blocks
C6-4 <C6.1 Block Mode>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
C6.1.1 Basic Block Mode
There are 9 kinds of basic block mode. These basic block modes have common
meanings when applied to all function blocks.
Basic Block Mode
The following table lists the basic block modes. The basic block mode that can be applied
to the particular function block varies from the types of the function block.
Table Basic Block Modes
Symbol Name Description
O/S Out of Service All functions of the function block are currently stopped.
IMAN Initialization MANual Calculation processing and output processing are currently stopped.
TRK TRacKing Calculation processing is currently stopped and the specified value is forced to be output.
MAN MANual
Calculation processing is currently stopped and the manipulated output value, which is
set manually, is output.
AUT AUTomatic Calculation processing is being executed and the calculation result is output.
CAS CAScade
Calculation processing is being executed, the set value CSV is from the cascade
connected upstream block, and the calculation result referred to this CSV is output.
PRD PRimary Direct
Calculation processing is currently stopped, the set value CSV is from the cascade
connected upstream block, this CSV is output directly.
RCAS Remote CAScade
An control and calculation processing is being executed using the remote setpoint value
(RSV) which is set remotely from a supervisory system computer, and the calculation
results is output.
ROUT Remote OUTput
Calculation processing is currently stopped, and the remote manipulated output value
(RMV) which is set remotely from a supervisory system computer is output directly.
C060101E.EPS
<C6.1 Block Mode> C6-5
IM 33S01B30-01E
Relationships among Basic Block Modes
The initialization manual (IMAN) mode and the tracking (TRK) mode of the basic block
modes cannot exist by themselves, and they represent certain operating states when they
are established together with other basic block modes.
Any two of the modes such as automatic (AUT), manual (MAN), cascade (CAS), and
primary direct (PRD) can not be established simultaneously. They have exclusive relation-
ship and repel each other. The automatic (AUT) mode and tracking (TRK) mode can exist
together. They have a complementary relationship.
The following figure shows the relationships among the basic block modes:
C060102E.EPS
O/S
IMAN
TRK
MAN, AUT, CAS, PRD
RCAS, ROUT
Priority level
4
3
2
1
0
High
Low
Exclusive relationship
Complementary
relationship
Figure Relationships among Basic Block Modes
10th Edition : Dec.18,2003-00
C6-6 <C6.1 Block Mode>
IM 33S01B30-01E
C6.1.2 Compound Block Mode
The compound block mode refers to the state where the multiple basic block modes
exist simultaneously.
Compound Block Mode
The state where multiple basic block modes are established simultaneously is called a
compound block mode. The basic block modes that constituting a compound block mode
have complementary relationships with each other so that they can exist together.
Among basic block modes, the initialization manual (IMAN) mode and the tracking (TRK)
mode cannot exist by themselves. Only when they are combined with other basic block
mode, they represent meaningful operating state. Therefore, the initialization manual
(IMAN) mode or the tracking (TRK) mode is established only as part of a compound block
mode.
Take the relationship between the tracking (TRK) mode and the automatic (AUT) mode for
the PID controller block (PID) for example. When the tracking switch (TSW) is turned on
when the operation in the automatic (AUT) mode, the operation of the tracking (TRK) is
executed. When the tracking switch (TSW) is turned off, the operation of the original auto-
matic (AUT) mode is executed. In this example, when the tracking switch (TSW) is on, the
automatic (AUT) mode and the tracking (TRK) mode are established as the compound
block mode.
AUT
TRK
(AUT)
C060103E.EPS
TSW
OFF
TSW
ON
The TRK and
AUT modes are
satisfied simultaneously
Figure An Example of the Compound Block Mode
The Priority Levels of Block Mode
In a compound block mode, the basic modes that have complementary relationships each
other are distinguished by the priority levels assigned to them. The basic block modes that
have the same priority level but have exclusive relationship cannot exist together. On the
other hand, the basic block modes that have different priority levels and complementary
relationships each other can be established simultaneously.
In a compound block mode, the mode which has the highest priority level among all exist-
ing basic block modes is called the active mode of the compound block mode.
In a compound block mode, the active mode takes effect.
10th Edition : Dec.18,2003-00
<C6.1 Block Mode> C6-7
IM 33S01B30-01E
Displaying Compound Block Mode on the Operation and Monitoring
Function
Among all simultaneously established basic block modes, the block mode which has the
highest priority level and the one which has the lowest priority level are displayed on the
operation and monitoring function.
Example 1) AUT TRK
Example 2) ROUT AUT
References to Compound Block Mode Throughout This Document
In this chapter, a compound block mode is indicated by listing the simultaneously estab-
lished basic block modes in a descending order starting from the highest priority level, and
the block modes that have lower priority levels are in parentheses.
Example 1) TRK (AUT)
Example 2) IMAN (AUT (RCAS))
10th Edition : Dec.18,2003-00
C6-8 <C6.1 Block Mode>
IM 33S01B30-01E
Combinations of Block Mode
The following figure shows the combinations of the basic block modes that constitute
compound block mode.
MAN, AUT,
CAS
MAN, AUT,
CAS
MAN, AUT,
CAS
MAN, AUT,
CAS
O/S
MAN, AUT,
CAS, PRD
MAN, AUT,
CAS, PRD
MAN, AUT,
CAS, PRD
MAN, AUT,
CAS, PRD
TRK
TRK
TRK
TRK
RCS, ROUT
RCS, ROUT
RCS, ROUT
RCS, ROUT
RCS, ROUT
RCS, ROUT
RCS, ROUT
TRK
TRK IMAN
C060104E.EPS
IMAN
IMAN
IMAN
IMAN
IMAN
2 0 1 3 4
Priority level
Type 1
Type 2
Type 3
Type 4
Type 5
Type 6
Type 7
Type 8
Type 9
Type 10
Type 11
Low High
Figure Combinations of Block Modes
10th Edition : Dec.18,2003-00
<C6.1 Block Mode> C6-9
IM 33S01B30-01E
When Transit from O/S to MAN, AUT or CAS Mode (Type 1)
Compound block mode that represents a course of transition state when transit a block
mode from O/S to MAN, AUT or CAS mode (over transition mode). PRD mode can not be
combined.
Example) Transit from O/S to MAN:
Display on the operation and monitoring function: MAN O/S
Block mode: O/S (MAN)
SEE ALSO
For the over transition block mode, see the following:
Over Transition Mode in C6.1.3, Block Mode Transition
10th Edition : Dec.18,2003-00
C6-10 <C6.1 Block Mode>
IM 33S01B30-01E
When Operate in MAN, AUT, CAS or PRD Mode
Here is the explanation on the compound block modes established when a block mode
transition condition is satisfied while the operation in MAN, AUT, CAS or PRD mode.
SEE ALSO
For the mode transition conditions, see the following:
C6.1.5, Block Mode Transition Condition
When the Initialization Manual Condition is Satisfied (Type 2)
Compound block modes established when the initialization manual condition is
satisfied while operation in MAN, AUT, CAS or PRD mode.
Example) When the initialization manual condition is satisfied while operation in AUT
mode:
Display on the operation and monitoring function: AUT IMAN
Block mode: IMAN (AUT)
When the Tracking Condition is Satisfied (Type 3)
Compound block modes established when the tracking condition is satisfied while
operation in MAN, AUT, CAS or PRD mode.
Example) When the tracking condition is satisfied while operation in CAS mode:
Display on the operation and monitoring function: CAS TRK
Block mode: TRK (CAS)
When the Initialization Manual Condition is Satisfied in Tracking Operation (Type 4)
Compound block modes established when the initialization manual condition is satis-
fied while tracking is effect in the operation in MAN, AUT, CAS or PRD mode.
Example)
When the initialization manual condition is satisfied while tracking is effect in the operation
in AUT mode:
Display on the operation and monitoring function: AUT IMAN
Block mode: IMAN (TRK (AUT))
10th Edition : Dec.18,2003-00
<C6.1 Block Mode> C6-11
IM 33S01B30-01E
When Operation in RCAS or ROUT Mode
Here is the explanation of compound block modes established when a block mode transi-
tion condition is satisfied while operation in RCAS or ROUT mode.
SEE ALSO
For block mode transition conditions, see the following:
C6.1.5, Block Mode Transition Condition
When the Initialization Manual Condition is Satisfied (Type 5)
Compound block modes established when the initialization manual condition is
satisfied while the operation in RCAS or ROUT mode.
Example) When the initialization manual condition is satisfied while operation in RCAS
mode:
Display on the operation and monitoring function: RCAS IMAN
Block mode: IMAN (RCAS)
When the Tracking Condition is Satisfied (Type 6)
Compound block modes established when the tracking condition is satisfied while
operation in RCAS or ROUT mode.
Example) When the tracking condition is satisfied while operation in ROUT mode:
Display on the operation and monitoring function: ROUT TRK
Block mode: TRK (ROUT)
When the Initialization Manual Condition is Satisfied During the Tracking Operation
(Type 7)
Compound block modes established when the initialization manual condition is
satisfied during the tracking operation in RCAS or ROUT mode.
Example)
When the initialization manual condition is satisfied during the tracking operation in
RCAS mode:
Display on the operation and monitoring function: RCAS IMAN
Block mode: IMAN (TRK (RCAS))
10th Edition : Dec.18,2003-00
C6-12 <C6.1 Block Mode>
IM 33S01B30-01E
When Transit to a Computer Backup Mode (MAN, AUT or CAS) (Type 8)
When communication from the supervisory system fails while the operation is in
RCAS or ROUT mode, transition to a compound block mode e.g. computer backup
mode (MAN, AUT or CAS) takes place. A combination with the PRD mode [PRD
(RCAS) and PRD (ROUT)] is a compound block mode that represents only an over
transition state (over transition mode) during the block mode transition.
Example) When transit from ROUT to a computer backup mode (MAN):
Display on the operation and monitoring function: ROUT MAN
Block mode: MAN (ROUT)
When Transit from a Computer Backup Mode to RCAS or ROUT Mode (Type 8)
Compound block mode that represents only an over transition state during the block
mode transition from a computer backup mode to the RCAS or ROUT mode (over
transition mode). A combination with the PRD mode [PRD (RCAS) and PRD (ROUT)]
is a compound block mode that represents an over transition state (over transition
mode) during the mode transition.
Example) When transiting from the ROUT mode to a computer backup mode (MAN):
Display on the operation and monitoring function: ROUT MAN
Block mode: MAN (ROUT)
SEE ALSO
For the over transition mode, see the following:
Over Transition Mode in C6.1.3, Block Mode Transition
10th Edition : Dec.18,2003-00
<C6.1 Block Mode> C6-13
IM 33S01B30-01E
During Computer Backup in RCAS or ROUT Mode
Here is the explanation of the combinations of block modes that are obtained when each
block mode transition condition is satisfied during the computer backup in the RCAS or
ROUT mode.
SEE ALSO
For the block mode transition conditions, see the following:
C6.1.5, Block Mode Transition Condition
When Initialization Manual Condition is Satisfied (Type 9)
Compound block modes that are obtained when the initialization manual condition is
satisfied during computer backup operation (MAN, AUT or CAS mode) in RCAS or
ROUT mode. PRD mode cannot be combined.
Example)
When the initialization manual condition is satisfied during the operation in the com-
puter backup mode (AUT mode) and in the RCAS mode:
Display on the operation and monitoring function: RCAS IMAN
Block mode: IMAN (AUT (RCAS))
When Tracking Condition is Satisfied (Type 10)
Compound block mode established when the tracking condition is satisfied while the
computer backup operation (MAN, AUT or CAS mode) is in RCAS or ROUT mode.
PRD mode cannot be combined.
Example)
When tracking condition is satisfied while the AUT backup operation in ROUT mode:
Display on the operation and monitoring function: ROUT TRK
Block mode: TRK (AUT (ROUT))
When Initialization Manual Condition is Satisfied During Tracking Operation (Type 11)
Compound block mode established when the initialization manual condition is satis-
fied while the RCAS or ROUT mode and the computer backup mode (MAN, AUT or
CAS mode) exist together and the tracking is in operation. PRD mode cannot be
combined.
Example)
When the initialization manual condition is satisfied during tracking operation in
computer backup mode (AUT) and in RCAS or ROUT mode:
Display on the operation and monitoring function: RCAS IMAN
Block mode: IMAN (TRK (AUT (RCAS))
10th Edition : Dec.18,2003-00
C6-14 <C6.1 Block Mode>
IM 33S01B30-01E
C6.1.3 Block Mode Transition
Block mode transitions means to change a specific block mode to a different block
mode. Block mode transition can be initiated by a block mode change command
from other function block, or it may take place automatically when a block mode
transition condition is satisfied inside.
When transit from a specific block mode to a different block mode, the state which
both block modes exist temporarily is called transition mode.
Block Mode Transition
When change a specific block mode into a different block mode, the event is called Block
Mode Transition. In principle, block mode transitions are triggered by the following two
factors:
Block Mode Change Commands
Block mode transition can be initiated by an external operation, such as an operation
performed by the operator from the operation and monitoring function or block mode
change command from the sequence control block. Operations from the outside of the
function block are called block mode change commands.
Block Mode Transition Conditions
Block mode transition can take place automatically corresponding to the condition inside of
the function block itself. An example is that block mode changes when abnormality from
connected I/O module is detected.
The conditions which initiates the function block transit its own mode are called block mode
transition conditions.
10th Edition : Dec.18,2003-00
<C6.1 Block Mode> C6-15
IM 33S01B30-01E
Block Mode Transition Diagram
The following figure shows an overview of block mode transitions.
Each arrow in the figure denotes a block mode change command or a block mode transi-
tion condition.
Items designated with command such as in MAN command indicate transitions ex-
ecuted by a block mode change command. The other items indicate transitions executed
by a block mode transition condition.
For example, the transition to the out-of-service (O/S) mode is executed by the O/S com-
mand. The MAN, AUT or CAS command executes transition from the out-of-service (O/S)
mode to the respective block modes.
C060105E.EPS
O/S mode
O/S
Normal mode (*1)
MAN
AUT
CAS
PRD
RCAS
ROUT
O/S command
O/S command
O/S command
O/S
command
MAN command
AUT command
CAS command
TSW
ON
TSW
OFF
TSW
ON
TSW
OFF
TRK mode IMAN mode
IMAN recovered
IMAN satisfied
IMAN (TRK) mode (*2)
*2: IMAN (TRK) represents that IMAN and
TRK are being satisfied simultaneously.
IMAN recovered
IMAN satisfied
IMAN
(MAN)
IMAN
(AUT)
IMAN
(CAS)
IMAN
(PRD)
IMAN
(RCAS)
IMAN
(ROUT)
IMAN
(TRK (MAN) )
IMAN
(TRK (AUT) )
IMAN
(TRK (CAS) )
IMAN
(TRK (PRD) )
IMAN
(TRK (RCAS) )
IMAN
(TRK (ROUT) )
TRK
(MAN)
TRK
(AUT)
TRK
(CAS)
TRK
(PRD)
TRK
(RCAS)
TRK
(ROUT)
*1: The normal mode represents that O/S,
IMAN or TRK is not satisfied.
Figure A Transition Diagram for Block Modes
SEE ALSO
For information on block mode transitions in normal mode, IMAN mode, TRK mode and IMAN (TRK)
mode shown in the above diagram, see the following:
A Diagram for Basic Block Mode Transition in the Normal Mode
10th Edition : Dec.18,2003-00
C6-16 <C6.1 Block Mode>
IM 33S01B30-01E
A Diagram for Basic Block Mode Transition in the Normal Mode
The following figure shows the details of block mode transitions for the segment indicated
as normal mode in Block Mode Transition Diagram shown in the previous page.
The block modes transition is shown as follows:
Priority level 0
RCAS, ROUT
Priority level 1
MAN, AUT, CAS, PRD
Transition can take place from one block mode to the other if the two modes have the same
priority level. For example, transition can take place from MAN to CAS.
C060106E.EPS
RCAS
ROUT
MAN PRD AUT CAS
MAN
(ROUT)
PRD
(ROUT)
AUT
(ROUT)
CAS
(ROUT)
CMP
recovered
CMP recovered
CMP failure CMP failure
CMP failure CMP failure
CMP
recovered
CMP
failure
CMP
recovered
CMP recovered
CMP
recovered
CMP
failure
MAN
fallback
MAN
command
PRD
command
AUT
command
CAS
command
AUT
fallback
AUT
fallback
RCAS
command
RCAS
command
RCAS
command
RCAS
command
ROUT
command
ROUT
command
ROUT
command
ROUT
command
MAN/AUT command
CAS/PRD command
MAN fallback
MAN/AUT command
CAS/PRD command
MAN fallback
CMP failure: A computer failure has occurred
CMP recovered: The computer failure has been recovered
MAN
(RCAS)
PRD
(RCAS)
AUT
(RCAS)
CAS
(RCAS)
Figure A Transition Diagram for Block Modes in the Normal Mode
Even when the IMAN mode, TRK mode and IMAN (TRK) mode shown in Block Mode
Transition Diagram in the previous page exist, transition of basic block mode whose
priority level is 0 or 1 will be similar to the above figure. In these cases, IMAN or TRK, or
both IMAN and TRK will exist in addition to the block modes shown in the above figure.
10th Edition : Dec.18,2003-00
<C6.1 Block Mode> C6-17
IM 33S01B30-01E
Examples of the Block Mode Transition
Normal mode transition and compound mode transition are show as follows:
1. In Automatic (AUT) mode which is a normal mode, when the tracking switch (TSW) is
turned on, a compound mode consisting of the tracking (TRK) mode and the auto-
matic (AUT) mode is established.
AUT TRK is displayed as a block mode. The tracking (TRK) mode is the active
mode.
2. When the connection with the cascade connected output destination opens, the
initialization manual (IMAN) mode is established. A compound mode consisting of the
initialization manual (IMAN) mode, tracking (TRK) mode, and automatic (AUT) mode
are established together.
AUT IMAN is displayed as the block mode. The initialization manual (IMAN) mode is
the active mode.
3. When the tracking switch (TSW) is turned off, the tracking (TRK) mode no longer
exists. The compound block mode only consists of the initialization manual (IMAN)
mode and automatic (AUT) mode.
AUT IMAN is displayed as a block mode. The initialization manual (IMAN) mode
remains to be active mode.
4. When the connection with the cascade connected output destination recovers, the
automatic (AUT) mode becomes the only block mode.
AUT is displayed as a block mode. The automatic (AUT) mode becomes the active
mode.
AUT
TRK
(AUT)
IMAN
(TRK (AUT))
IMAN
(AUT)
C060107E.EPS
TSW ON
TSW OFF
Cascade open
(IMAN satisfied)
Cascade close
(IMAN recovered)
Figure Examples of the Block Modes Transition
10th Edition : Dec.18,2003-00
C6-18 <C6.1 Block Mode>
IM 33S01B30-01E
Rules for Block Mode Transitions
The block mode transition either by external mode change commands or by internal mode
change conditions follows the same rules as explained below.
Transition to an Exclusively Related Block Mode
When transit to a new block mode which has exclusive relationship with the current block
mode, current block mode will be replaced by the new block mode.
The basic block modes that have exclusive relationship with each other:
Among MAN, AUT CAS and PRD
Between RCAS and ROUT
Example) MAN
AUT command
AUT
Under the same above condition, when transit from one inactive mode of a compound
block mode to another inactive mode of the same compound block mode, the active mode
is not affected, the function blocks behavior remains unchanged too.
Example) IMAN (AUT)
MAN command
IMAN (MAN)
Transition to a Complementary Block Mode
When transit to a new block mode which has complementary relationship with the current
block mode, the new block mode will be added to the current block mode and a compound
block mode is established. At this time, the block mode which has the highest priority level
becomes the active mode.
Example) AUT
IMAN condition establish
IMAN (AUT)
The Invalidation of the Active Mode
When a new condition invalidates the current active mode, the block mode which has the
next highest priority level becomes the new active mode.
Example) IMAN (TRK (AUT))
IMAN condition vanish
TRK (AUT)
10th Edition : Dec.18,2003-00
<C6.1 Block Mode> C6-19
IM 33S01B30-01E
Over Transition Mode
When a specific block mode transits to a different block mode, a state occurs in which both
of the block modes are satisfied temporarily. This state is called an over transition mode.
An over transition occurs in the following mode transitions:
A mode transition to the RCAS or ROUT mode when a computer failure has occurred.
A mode transition from the O/S mode.
A Block Mode Transition to RCAS or ROUT Mode when a Computer
Failure Occurs
When a remote cascade (RCAS) or remote output (ROUT) command is received during a
computer failure (BSW=ON), the function block does not make a direct transition to the
remote cascade (RCAS) or remote output (ROUT) mode but changes first to the over
transition mode.
Subsequently, the computer failure status is determined during the scan period in that
function block, and if there has been a recovery from the computer failure there is a transi-
tion to the remote cascade (RCAS) or remote output (ROUT) mode. If the computer failure
occurrence status is unchanged, a transition is made to the backup mode for the computer.
The over transition mode refers to a compound block mode of the block mode just prior to
the mode change command and the remote cascade (RCAS) or remote output (ROUT)
mode.
Example)
The remote output (ROUT) command when the manual (MAN) mode has been specified
as a computer backup mode, and the computer failure condition is being satisfied.
AUT
Remote output (ROUT) command
AUT (ROUT) Over transition mode
After one scan cycle
MAN (ROUT) Computer backup mode (when BSW=ON)
Example)
The remote cascade (RCAS) command when the computer failure condition is not satisfied
AUT
Remote cascade (RCAS) command
AUT (RCAS) Over transition mode
After one scan cycle
RCAS Remote cascade mode (when BSW=OFF)
10th Edition : Dec.18,2003-00
C6-20 <C6.1 Block Mode>
IM 33S01B30-01E
A Block Mode Transition from the O/S Mode
When a block mode change command is received from the out-of-service (O/S) mode, the
function block does not make a direct transition to the specified block mode but temporarily
changes to an over transition mode such as O/S (MAN), O/S (AUT) or O/S (CAS).
In this case, when the function block which has undergone a block mode transition is a
regulatory control block, the transition to the specified block mode (MAN, AUT, CAS) is
made after initializing the output during the next scan period.
Example) O/S
AUT command
O/S (AUT)
After one scan period
AUT
TIP
Output initialization processing includes the following operations:
Output tracking in the IMAN state
Reset the pulse width output
Reset the time-proportional output
SEE ALSO
For output tracking in the IMAN state, see the following:
C4.5, Output Tracking
The Status Change Message
Status Change Message Bypass
When function blocks such as sequence control blocks change block mode, the event
recording function sends the status change message from FCS to HIS to inform the opera-
tor.
To suppress this message can be defined on each function block in the Function Block
Detail Builder.
Status Change Message Bypass:
Select Yes or No.
The default is No.
In case of the sequence table block (ST16), the default is Yes.
When status change message is set as Bypass, the message of status change is not
recorded in the historical message file in HIS.
When the status change is performed manually on HIS, the status change message will all
be recorded in the historical message file in HIS regardless the setting of bypass.
10th Edition : Dec.18,2003-00
<C6.1 Block Mode> C6-21
IM 33S01B30-01E
C6.1.4 Block Mode Change Command
Block mode change commands are operations outside of the function block to
transit the block mode, such as operations from the operation and monitoring
function or status change command from sequence control blocks or from general-
purpose calculation blocks (CALCU and CALCU-C).
Block Mode Change Commands
Operations and descriptions related to block mode change commands are shown as
follows.
Table Mode Change Commands
Command operation Description
O/S command Sets the O/S mode and resets all other modes.
MAN command Sets the MAN mode and resets modes other than the O/S, IMAN and TRK modes.
AUT command Sets the AUT mode and resets modes other than the O/S, IMAN and TRK modes.
CAS command Sets the CAS mode and resets modes other than the O/S, IMAN and TRK modes.
PRD command
Sets the PRD mode and resets modes other than the O/S, IMAN and TRK modes
(*1).
RCAS command Sets the RCAS mode (*2).
ROUT command Sets the ROUT mode (*3).
C060108E.EPS
*1: The PRD command from the O/S mode is invalid.
*2: The RCAS command from the O/S or ROUT mode is invalid.
*3: The ROUT command from the O/S or RCAS mode is invalid.
When a function block is in calibration status, it ignores the block mode change operations
performed by the operator from the operation and monitoring function.
10th Edition : Dec.18,2003-00
C6-22 <C6.1 Block Mode>
IM 33S01B30-01E
C6.1.5 Block Mode Transition Condition
Block mode transition conditions are conditions that internally initiate the function
block to transit its mode from one to another.
Block Mode Transition Conditions
Block mode transition conditions are conditions that internally initiate a function block to
transit its block mode from one to the other. When a specific condition for transiting to a
certain block mode establishes, such as abnormality in I/O module, the function block itself
changes the block mode automatically by itself according to the block mode transition
conditions.
Block mode transition conditions are listed below:
The tracking condition
The MAN fallback condition
The AUT fallback condition
The initialization manual condition
The computer failure condition
The block mode change interlock condition
The Tracking Condition
For the function blocks that have tracking (TRK) function, a tracking switch (TSW) is pro-
vided. According to the status of the tracking switch (ON/OFF), the function blocks set or
reset its tracking (TRK) mode.
A function block changes to the tracking (TRK) mode only when the tracking switch is
turned on. The status of the tracking switch can be changed by the external contact input or
set from other function blocks such as from the sequence control block.
Example) AUT
TSW=ON
TRK (AUT)
TSW=OFF
AUT
10th Edition : Dec.18,2003-00
<C6.1 Block Mode> C6-23
IM 33S01B30-01E
The MAN Fallback Condition
When the MAN fallback condition establishes, the function block changes to the manual
(MAN) mode regardless of the current operation status. Control calculation stops and the
operation status changes to manual.
Example) AUT MAN
IMAN (CAS) IMAN (MAN)
The MAN fallback condition establishes when following events occur.
When the data status of the process variable (PV) is bad value (BAD) or calibration
(CAL). However, the MAN fallback condition does not establishes when the block
mode is the primary direct (PRD) or remote output (ROUT) mode (excluding com-
pound block modes that are obtained during computer backup operation).
When the data status of the manipulated output value (MV) is output failure (PTPF).
When the data status of the setpoint value (SV) is bad value (BAD).
At the regulatory control block where the manipulated output value (MV) is connected
to the process I/O, when the FCS has been started after initialization.
When the block mode change interlock condition has been satisfied.
At the regulatory control block where the process variable (PV) or manipulated output
value (MV) is connected to the process I/O, when the I/O module that contains the I/O
point of the connection destination has been changed due to online maintenance.
Even when the above events that constitute the MAN fallback condition have vanished, the
block mode remains manual (MAN) and does not automatically return to the original mode.
10th Edition : Dec.18,2003-00
C6-24 <C6.1 Block Mode>
IM 33S01B30-01E
The AUT Fallback Condition
When the AUT fallback condition establishes, the block changes to the automatic (AUT)
mode, and then operates in automatic status. The mode transition is the same as enforced
by the external AUT command.
Example) CAS AUT
IMAN (CAS ) IMAN (AUT)
The AUT fallback condition establishes when the AUT fallback item (in the builder) is
specified Yes and the data status of the cascade setpoint value (CSV) is bad value (BAD)
or no communication (NCOM).
The AUT fallback condition establishes only in the cascade (CAS) mode or primary direct
(PRD) mode. The mode transition is the same as enforced by the external AUT command.
Even when the above events that constitute the AUT fallback condition have vanished, the
block mode remains automatic (AUT) and does not automatically return to the original
mode.
The setting of AUT fallback condition can be in the Function Block Detail Builder.
AUT Fallback: Select Yes or No.
The default is No.
10th Edition : Dec.18,2003-00
<C6.1 Block Mode> C6-25
IM 33S01B30-01E
The Initialization Manual Condition
When the initialization manual condition establishes, the block mode changes to the initial-
ization manual (IMAN) mode, and control operation temporarily stops.
A regulatory control block changes to initialization manual (IMAN) mode only when the
internal condition for the block mode establishes. When the condition vanishes, the initial-
ization manual (IMAN) mode is reset and replaced by a new active mode.
Example) AUT
IMAN condition satisfied
IMAN (AUT)
IMAN condition recovered
AUT
The initialization manual condition establishes when any of the following events occurs:
When the manipulated output value (MV) connected destination block changes to
conditional (CND) status (i.e. cascade loop open).
When the manipulated output value (MV) connected destination block is in no com-
munication (NCOM) or the output failure (PTPF) alarm status.
When the manipulated output value (MV) connected destination block is a switch
block, and the connection is switched off. (i.e., cascade loop open).
When the manipulated output value (MV) is output to the process equipment, and the
equipment is in abnormal status or the output open occurs.
When the output signal is not the pulse width output type, and the data status of the
input signal of the TIN or TSI terminal has changed to bad value (BAD) in the tracking
(TRK) mode.
10th Edition : Dec.18,2003-00
C6-26 <C6.1 Block Mode>
IM 33S01B30-01E
The Computer Failure Condition
When the computer failure condition establishes, operation in remote cascade (RCAS) or
remote output (ROUT) mode temporarily stops, and then switches to computer backup
mode.
Example) When the automatic (AUT) mode is specified as a computer backup mode
RCAS
Computer failure occurs
AUT (RCAS)
Computer failure recovers
RCAS
In the remote cascade (RCAS) mode or remote output (ROUT) mode, a setpoint value or
manipulated output value is transmitted from a supervisory system computer through
remote setting communication via control bus.
If abnormality is detected in remote setting communication, the computer failure condition
establishes. Operation in the remote cascade (RCAS) or remote output (ROUT) mode
temporarily stops, switches to a computer backup mode. When the computer failure condi-
tion vanishes, the mode immediately returns to the original (RCAS or ROUT) mode.
The function blocks that have the remote cascade (RCAS) or remote output (ROUT) mode
is provided with a backup switch (BSW). According to the status of this switch (ON/OFF),
the function block determines whether the computer failure conditions exist or not.
When BSW=ON, the computer failure conditions exist.
When BSW=OFF, the computer failure conditions not exist
Determine as desired the status of the backup switch (BSW) in the control application such
as a sequence table and set it for the backup switch (BSW). However, in a block mode
other than remote cascade (RCAS) or remote output (ROUT), the block mode does not
change even if the backup switch (BSW) is operated.
The computer backup mode can be set with the Function Block Detail Builder.
Computer Backup Mode:
Status setting when the computer is down.
Select from MAN, AUT and CAS.
Default is MAN.
Select from AUT and CAS in the case of a Control Signal Splitter Block (SPLIT).
Default is AUT.
10th Edition : Dec.18,2003-00
<C6.1 Block Mode> C6-27
IM 33S01B30-01E
The Block Mode Change Interlock Condition
When the block mode change interlock condition establishes, the block changes to manual
(MAN) mode, and the change command to automatic operation status (AUT, CAS, PRD,
RCAS or ROUT mode) become invalid.
If automatic operation cannot continue due to abnormality in the plant, etc., it is necessary
not only to stop the currently automatically operated control loops but also to prevent them
from being put into AUT again.
To prevent the function blocks change to automatic operation mode, the automatic opera-
tion interlock switch can be used. The automatic operation interlock switch can be con-
nected to the function blocks that have automatic operation mode.
When the status of the interlock switch connected to the terminal (INT) becomes ON, the
block mode change interlock establishes, then succeeded by the following actions:
The MAN fallback condition establishes, and the block mode changes to manual
(MAN).
Any mode change command to put the function block into an automatic operation
status (AUT, CAS, PRD, RCAS or ROUT mode) is invalidated.
Any datum that has a logical value, such as a contact I/O or internal switch, can be speci-
fied as an automatic operation interlock switch regardless the type of the element.
10th Edition : Dec.18,2003-00
C6-28 <C6.2 Block Status>
IM 33S01B30-01E
C6.2 Block Status
Block Status
The operating state of a function block may be monitored via block status.
Block Status
Block status is the information that represents the operating state of a function block. Block
status and block mode simultaneously reflect an overall operation state of a function block.
The different type of function blocks have different kinds of block status. Some function
blocks do not have any block status.
A function block may check itself and display the result via block status.
Similar to block modes, the block status is also categorized by priority levels. A block status
with same priority level exists exclusively. It is not possible that a block can be in two
statuses with same priority level at the same time. A supplementary status can exists
together with the main status, however, in this case, only the main status is displayed on
HIS as the block status.
Table Block Status of Each Function Block
Priority
level
Function block name
Regulatory control block Sequence control block
Arithmetic-
calculation
block
MC-2
MC-2E
MC-3
MC-3E
BSETU-1
BSETU-2
PTC SO-1
SO-1E
SO-2
SO-2E
SIO-11
SIO-11E
SIO-12
SIO-12E
SIO-21
SIO-21E
SIO-22
SIO-22E
SIO-12P
SIO-12PE
SIO-22P
SIO-22PE
TM
CTP
CTS CI CO INTEG
AVE-C
3 ANCK - - - ANCK PAUS - ERR - -
2
OFF
LOCK -
PAUS
- -
PALM
CTUP
NR
PALM
CTUP
NR
HI
LO
NR
-
1
SIM
NR
STRT
IBCH
STUP
STDY
ERLY
PBCH
END
NCNT
RSET
EMST
EEMS
RSTR
CTUP
PALM
NR
SIM
NR
RUN
STOP
- -
C060201E.EPS
HI
LO
NR
SIM
NR
RUN
STOP
RUN
STOP
10th Edition : Dec.18,2003-00
<C6.3 Alarm Status> C6-29
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
C6.3 Alarm Status
The process alarm may be monitored and managed via alarm statuses of data items.
Alarm Status Common to Regulatory Control Blocks
An alarm status is information that represents the alarm state of a process which was
detected by the function block. The alarm status that can be satisfied for a particular func-
tion block varies depending on the type of the function block.
Some function blocks do not have any alarm status.
The alarm status for the operation and monitoring function is displayed in the data item
ALRM. When multiple alarms are occurring, the alarm status with the highest alarm display
priority will be displayed.
The priority for alarm display is as follows:
OOP>IOP>IOP->HH>LL>HI>LO>DV+>DV->VEL+>VEL->MHI>MLO>CNF
C6-30 <C6.3 Alarm Status>
IM 33S01B30-01E
Table Alarm Status Common to Regulatory Control Blocks
Symbol Name Description
Symbol Name Description
NR Normal Indicates a state in which no alarm has occurred.
OOP Output OPen Alarm
Indicates a state in which the output data status has become output failure (PTPF) as a
result of the failure or disconnection of an operation terminal or process I/O device or the
abnormality of output destination data. Normally, the output function is stopped.
IOP
High Input Open
Alarm
Indicates a state in which the input data status has become bad value (BAD) as a result of
the failure or disconnection of a detection terminal or process I/O device or the abnormality
of input destination data. Normally, any processing that uses input signals is stopped. If the
input signal has been overshot due to disconnection, etc., this alarm indicates a state in
which input is overshot to the high-limit direction.
IOP- Low Input Open Alarm
Indicates a state in which the input signal has been overshot to the low-limit direction due
to disconnection, etc. The input data status becomes bad value (BAD). Normally, any
processing that uses input signals is stopped.
HH High High Alarm Indicates a state in which the process variable exceeds the high high-limit alarm setpoint.
LL Low Low Alarm Indicates a state in which the process variable falls below the low low-limit alarm setpoint.
HI High Alarm Indicates a state in which the process variable exceeds the high-limit alarm setpoint.
LO Low Alarm Indicates a state in which the process variable falls below the low-limit alarm setpoint.
DV+ Deviation Alarm +
Indicates a state in which the deviation between the process variable and the setpoint value
exceeds the deviation alarm setpoint in the positive direction.
DV- Deviation Alarm -
Indicates a state in which the deviation between the process variable and the setpoint value
exceeds the deviation alarm setpoint in the negative direction.
VEL+ Velocity Alarm +
Indicates a state in which the change amount of the input signal within a specified time
exceeds the velocity limit alarm setpoint in the positive direction.
VEL- Velocity Alarm -
Indicates a state in which the change amount of the input signal within a specified time
exceeds the velocity limit alarm setpoint in the negative direction.
MHI Output High Alarm
Indicate a state in which the output signal almost exceeded the output high-limit value.
The actual output is limited to the output high-limit value.
MLO Output Low Alarm
It indicates a state in which the output signal almost fell below the output low-limit value.
The actual output is limited to the output low-limit value.
CNF
Connection Failure
Alarm
Indicates a state in which a block mode of the function block in the I/O connection
destination is in the out of service (O/S) mode. This alarm controls a temporary out of
service state due to maintenance, and indicates a function block which is still in operation.
Normally, IOP or OOP occurs simultaneously.
C060301E.EPS
10th Edition : Dec.18,2003-00
<C6.3 Alarm Status> C6-31
IM 33S01B30-01E
Alarm Status Common to Calculation Blocks
The alarm status for the operation and monitoring function is displayed in the data item
ALRM. When multiple alarms are occurring, the alarm status with the highest alarm display
priority will be displayed.
The priority for alarm display is as follows:
IOP>IOP->HH>LL>HI>LO>VEL+>VEL->CNF
The alarm status is NR if no alarm occurs.
Table Alarm Status Common to Calculation Blocks
Symbol Name Description
NR Normal Indicates a state in which no alarm has occurred.
IOP High Input Open Alarm
Indicates a state in which the input data status has become bad value (BAD) as a result of
the failure or disconnection of a detection terminal or process I/O device or the abnormality
of input destination data. Normally, any processing that uses input signals is stopped. If the
input signal has been overshot due to disconnection, etc., this alarm indicates a state in
which input is overshot to the high-limit direction.
IOP- Low Input Open Alarm
Indicates a state in which the input signal has been overshot to the low-limit direction due
to disconnection, etc.
The input data status becomes bad value (BAD). Normally, any processing that uses input
signals is stopped.
HH High High Alarm
Indicates a state in which the calculated input value exceeds the high high-limit alarm
setpoint.
LL Low Low Alarm
Indicates a state in which the calculated input value falls below the low low-limit alarm
setpoint.
HI High Alarm Indicates a state in which the calculated input value exceeds the high-limit alarm setpoint.
LO Low Alarm Indicates a state in which the calculated input value falls below the low-limit alarm setpoint.
VEL+ Velocity Alarm +
Indicates a state in which the change amount of the calculated input value within a
specified time exceeds the velocity limit alarm setpoint in the positive direction.
VEL- Velocity Alarm -
Indicates a state in which the change amount of the calculated input value within a
specified time exceeds the velocity limit alarm setpoint in the negative direction.
CNF
Connection Failure
Alarm
Indicates a state in which the block mode of a function block in the I/O connection
destination is in the out of service (O/S) mode. This alarm controls a temporary out of
service state due to maintenance, and indicates a function block which is still in operation.
CERR
Computation Error
Alarm
Indicates a state in which a computation error has occurred during a user-defined
calculation processing. Calculation processing is stopped.
C060302E.EPS
TIP
The one-shot processing initiated by one-shot start does not update the alarm status of the function
block.
10th Edition : Dec.18,2003-00
C6-32 <C6.3 Alarm Status>
IM 33S01B30-01E
Alarm Status Common to Sequence Control Blocks
Table Alarm Status Common to Sequence Control Blocks
Symbol Name Description
NR Normal Indicates a state in which no alarm has occurred.
OOP Output Open
Indicates that the block is in an output open state due to the disconnection of a process I/O
device of the output destination or other failure.
IOP Input Open
Indicates a state in which the input data status has become bad value (BAD) as a result of
the failure or disconnection of a detection terminal or process I/O device or the abnormality
of input destination data.
CNF Connection Failure
Indicates a state in which the block mode of a function block in the I/O connection
destination is in the out of service (O/S) mode.
This alarm controls a temporary out of service state due to maintenance, and indicates a
function block which is still in operation.
PERR
Computation Error
Answerback
Inconsistency Alarm
Indicates a state in which an illegal input pattern has occurred, such as when the full-open
and full-close signals are inputted simultaneously.
ANS+ Answerback Error +
Indicates a state in which answerback check is being performed and the manipulated output
value (MV) of ON operation and the answerbacked process variable (PV) do not agree.
ANS- Answerback Error -
Indicates a state in which answerback check is being performed and the manipulated output
value (MV) of OFF operation and the answerbacked process variable (PV) do not agree.
C060303E.EPS
Alarm Status of Each Function Block
Different model of function block supports different alarm status.
SEE ALSO
For more information about alarm status of regulatory control blocks, see the following:
Alarm Processing Possible for Each Regulatory Control in D1.1.3, Input Processing, Output process-
ing, and Alarm Processing Possible for Each Regulatory Control Block
For more information about alarm status of calculation blocks, see the following:
Alarm Processing Possible for Each Calculation Block in D2.3.1, Input Processing, Output process-
ing, and Alarm Processing Possible for Each Calculation Block
For more information about alarm status of sequence control blocks, see the following:
D3.1.1, Alarm Processing of Sequence Control Blocks
10th Edition : Dec.18,2003-00
<C6.4 Data Status> C6-33
IM 33S01B30-01E
C6.4 Data Status
Data Status
Data status is the information that represents the quality of data. It is used for judg-
ing the proper operations according to the reliability of the data.
Data Status
Data status is the information that represents the reliability of data. The data obtained from
I/O module is passed from one function block to another with its data status information.
Data status is observed when various exceptional events occurred due to abnormality in
the process and it is helpful for making a proper decision for control operation.
Table Data Status (1/2)
Symbol Name Description
Symbol Name Description
BAD BAD value
Indicates a state in which a normal data value cannot be obtained. The data value stored
when this status occurs may be a meaningless value or the last normal value which has
been stored.
QST QueSTionable value
Indicates that the data value is questionable and cannot be determined whether it is normal
or bad. The data value stored when this status occurs may be a value inputted from outside
while it is in the QST status, a manually set value using the CAL function, or the last
normal value which has been stored.
NCOM No COMmunication
Indicates that when data is inputted or outputted through communication, the
communication has been disconnected and the data has not been updated.
Used only for I/O data that is exchanged with other control stations.
NFP Not From Process
Indicates that the data value is not derived from a process I/O. The data value stored when
this status occurs may be a value inputted from outside while it is in the NFP status, a
calculated value, or a manually set value using the CAL function.
PTPF Path To Process Failed
Indicates a state in which output is being disabled due to the abnormality of the block itself
or the output destination.
If the output destination is a PI/O, this status occurs when output open (OOP), not ready
(NRDY) or power failure has occurred. If the output destination is a function block, this
status occurs when the output destination block is in the out of service (O/S) mode.
CLP+ CLamP high
Indicates that output is clamped at the high-limit value.
This status occurs when the block itself is limited by the output high limit or when the data
status of the output destination is clamp high (CLP+).
CLP- CLamP low
Represents that output is clamped at the low-limit value.
This status occurs when the block itself is limited by the output low limit or when the data
status of the output destination is clamp low (CLP-).
CND CoNDitional
Indicates that cascade connection is open.
This status occurs when a downstream function block changes to the non-cascade mode or
the cascade connection path has been disconnected due to switching, etc. Used only for
data that is the object of cascade connection (MV, CSV, etc.)
CAL CALibration
Indicates a state in which the data value can be replaced manually as an emergency
This status occurs when a downstream function block changes to the non-cascade mode or
value will not be updated until it is replaced manually.
NEFV Not EFfecTive
Indicates a state in which the data value is invalid.
This is a state in which no setpoint value has been set manually after the CAL status was
obtained or the value is yet to be updated after the CAL status was turned off.
C060401E.EPS
10th Edition : Dec.18,2003-00
C6-34 <C6.4 Data Status>
IM 33S01B30-01E
Table Data Status (2/2)
Symbol Name Description
O/S Out of Service
Indicates that the function block of the I/O destination is in O/S mode. If the operation is
input, the data value is not updated.
MNT MaiNTenance
Indicates that the function block of the I/O destination is undergoing online maintenance.
If the operation is input, the data value is not updated. Normally, data reference is not
performed while this data status in on, since online maintenance is performed as a group
between function block executions and data access processing.
IOP+ Input Open high
Indicates that the process I/O of the input destination is in a high limit input open state due
to disconnection or other failure. The data value is not updated. The PV value is forcibly
set to a special value only when the PV overshoot function is activated.
IOP- Input OPen low
Indicates that the process I/O of the input destination is in a low limit input open state due
to disconnection or other failure. The data value is not updated. The PV value is forcibly
set to a special value only when the PV overshoot function is activated.
OOP Output OPen
Indicates that the process I/O of the output destination is in an output open state due to
disconnection or other failure.
NRDY PI/O Not ReaDY
Indicates that the process I/O of the I/O destination is in an operation disabled state due to
power failure, maintenance or a failure. If the operation is input, the data value is not
updated.
PFAL PI/O Power FAiLure
Indicates that the process I/O of the I/O destination is not responding due to power failure
or other reason and is in an operation disabled state. If the operation is input, the data
value is not updated.
LPFL
PI/O Long Power
FaiLure
Indicates that the process I/O of the I/O destination has been non-responsive for a long time
due to power failure or other reason and is in an operation disabled state. If the operation
is input, the data value is not updated.
MINT Master INiTialize
Indicates that the upstream side of the cascade connection is in a state where a balance
operation should be performed.
SINT Slave INiTialize
Indicates that the downstream side of the cascade connection is in a state where a balance
due to power failure or other reason and is in an operation disabled state. If the operation
SVPB SV PushBack
Indicates that the downstream side of the cascade connection is in a state where the CSV
should be made to match SV by the SV pushback operation.
Symbol Name Description
C060402E.EPS
10th Edition : Dec.18,2003-00
<C7. Process Timing> C7-1
IM 33S01B30-01E
C7. Process Timing
The function block executes a process in accordance with the process timing.
This chapter describes the process timing for the regulatory control block, the
sequence control block and the calculation block.
Process Timing
The process timing is a timing at which a function block executes a process. An individual
function block executes an input, a calculation or an output processing in accordance with
the process timing defined in.
There are four types of the process timing.
Periodic Execution
This is repeatedly executed per preset period. The periodic execution can be used in
the regulatory control block, sequence control block, and calculation block.
One-Shot Execution
This is executed only once when it is invoked from other function blocks. The one-shot
Execution can be used in the sequence control block and the calculation block.
Initial Execution/Restart Execution
This is executed when the FCS executes the cold start or restart process. The initial
execution can be used in the sequence control block.
Restricted Initial Execution
This is executed when the FCS executes the initial cold start process. The restricted
initial execution can be used in the sequence control block.
10th Edition : Dec.18,2003-00
C7-2 <C7. Process Timing>
IM 33S01B30-01E
Process Timing for Regulatory Control Block
The process timing for the regulatory control block is the periodic execution.
Process Timing for Calculation Block
There are following two types of the process timings for the calculation block.
Periodic Execution
One-Shot Execution
Process Timing for Sequence Control Block
The process timing for the sequence control block has following four different types of
execution timing.
Periodic Execution
One-Shot Execution
Initial Execution/Restart Execution
Restricted Initial Execution
10th Edition : Dec.18,2003-00
<C7.1 Process Timing for Regulatory Control Block> C7-3
IM 33S01B30-01E
C7.1 Process Timing for Regulatory Control Block
The process timing for the regulatory control block is the periodic execution.
Periodic Execution for Regulatory Control Block
The regulatory control block executes process repeatedly in a predetermined period.
Normally, these periodic execution function blocks execute per scan period.
The timing that individual function blocks activate as well as control drawings are deter-
mined by following factors in the periodic execution of the regulatory control block.
Scan Period
The scan period is period at which the function block is executed periodically. The periodic
execution function block executes a process based on the scan period.
There are two types of scan periods: the basic scan and the high-speed scan; each indi-
vidual function block can select one of the two types scan period. However, some function
blocks cannot be executed in high-speed scan.
Scan Period
The scan period is the period at which the function block is executed periodically. The
periodic execution function block executes a process based on the scan period.
There are three types of scan periods: the basic scan, the medium-speed scan (*1) and the
high-speed scan. One of these scan periods can be selected for each individual function
block. However, the medium-speed scan (*1) and high-speed scan cannot be selected for
some function blocks.
*1: The medium-speed scan setting is available only for the KFCS2, KFCS, LFCS2 or LFCS.
Order of Process Execution
The order of process execution refers to a sequence in which the control drawing and
individual function block are executed in the periodic execution. The order of process
execution determines the execution timing of the control drawing and individual function
block within a scan period.
Timing for Process I/O
The timing for the process I/O is a timing in which data input/output is executed between
the function block and the process I/O.
The timing for the process input/output differs from the type of input/output is analog or
contact.
Control Period of Controller Block
Among the regulatory control blocks, the controller block has a control period that is depen-
dent on process timing. The control period of the controller block is a period in which control
calculation and output processing are executed when the controller block is performing
automatic operation (AUT, CAS, RCAS). The control period of the controller block is
always an integer multiple of the scan period.
The only processing that the controller block always performs for every scan period is input
processing and alarm processing. Control calculation and output processing during auto-
matic operation (AUT, CAS, RCAS) are performed during every control period.
10th Edition : Dec.18,2003-00
C7-4 <C7.1 Process Timing for Regulatory Control Block>
IM 33S01B30-01E
C7.1.1 Scan Period
The periodic execution function block performs processing based on this scan
period.
Scan Period
Scan Period, Fast-Scan Period
The scan period determines a period for the periodic execution of the function block.
There are two scan period types: basic scan and high-speed scan.
Basic Scan
The basic scan is a standard scan period which is common to function blocks.
The basic scan period is fixed to 1 second. This cannot be changed.
High-Speed Scan
The high-speed scan is a scan period suited for the process control that requires high-
speed response.
Setting value of the high-speed scan can be selected by each FCS according to its use.
Setting value of the high-speed scan can be changed on FCS property sheet:
High-Speed Scan Period: Select 200 ms or 500 ms.
50 ms, 100 ms or 250 ms can also be used by direct
entry from keyboard.
The default is 200 ms.
Set Scan Speed of Function Blocks
Scan speed of function blocks can be set on the function block detail builder. Basic scan or
high-speed scan can be selected on the builder in accordance with requirement of re-
sponse time.
Scan Period: Select Basic Scan or High-speed Scan.
The default setting is Basic Scan.
Note that Basic Scan, not High-speed Scan, should be set for the following function
blocks:
PID-TP, MC-2, MC-2E, MC-3, MC-3E, PG-L13, SLCD, SLPC, SLMC, SMST-111, SMST-
121, SMRT, SBSD, SLBC, SLCC, STLD
10th Edition : Dec.18,2003-00
<C7.1 Process Timing for Regulatory Control Block> C7-5
IM 33S01B30-01E
Scan Period
Scan Period, Fast-Scan Period, Medium-Speed Scan Period
Scan period determines a period for the periodic execution of the function block.
There are three types of scan periods: basic scan, medium-speed scan (*1) and high-
speed scan.
*1: The medium-speed scan setting is available only for the KFCS2, KFCS, LFCS2 or LFCS.
Basic Scan
The basic scan is a standard scan period which is common to function blocks.
The basic scan period is fixed to 1 second. This cannot be changed.
Medium-Speed Scan : KFCS2/KFCS/LFCS2/LFCS
The medium-speed scan is a scan period suited for the process control that requires
quicker response than what can be achieved with the basic scan setting. Setting value of
the medium-speed scan can be selected by each FCS according to its use.
Setting value of the medium-speed scan can be changed on FCS property sheet:
Medium-speed scan period: Select 200 ms or 500 ms.
50 ms, 100 ms or 250 ms can also be used by
direct entry from keyboard.
The default is 500 ms.
High-Speed Scan
The high-speed scan is a scan period suited for the process control that requires high-
speed response. Setting value of the high-speed scan can be selected by each FCS
according to its use.
Setting value of the high-speed scan can be changed on FCS property sheet:
High-speed scan period: Select 200 ms or 500 ms.
50 ms , 100 ms or 250 ms can also be used by direct
entry from keyboard.
The default is 200 ms.
Set Scan Speed of Function Blocks
Scan speed of function blocks can be set on the Function Block Detail Builder. Basic scan,
medium-speed scan or high-speed scan can be selected on the builder in accordance with
requirement of response time.
Scan period: Select [Basic Scan], [Medium-speed Scan] (*1) or [High-speed
Scan.]
The default setting is [Basic Scan.]
*1: The medium-speed scan setting is available only for the KFCS2, KFCS, LFCS2 or LFCS.
Note that [Basic Scan], not [Medium-speed Scan] (*1) or [High-speed Scan], should be set
for the following function blocks:
PID-TP, MC-2, MC-2E, MC-3, MC-3E, PG-L13, SLCD, SLPC, SLMC, SMST-111, SMST-
121, SMRT, SBSD, SLBC, SLCC, STLD
With certain function blocks, processing can be executed in a scan longer than the basic
10th Edition : Dec.18,2003-00
C7-6 <C7.1 Process Timing for Regulatory Control Block>
IM 33S01B30-01E
scan by specifying the [Scan Coefficient] and [Scan Phase] parameters.
Scan Coefficient, Scan Phase
Scan Coefficient, Scan Phase
When a scan coefficient is specified in addition to the scan period in the Function Block
Detail Builder, input indicator blocks (PVI), input indicator blocks with deviation alarm (PVI-
DV) and general-purpose calculation blocks (CALCU, CALCU-C) can be executed based
on their actual scan period being calculated as follows:
Actual scan period = Scan period Scan coefficient
Scan coefficient: 1, 2, 4, 8, 16, 32 or 64
If the scan coefficient is represented by N, the function block is executed every N x scan
period.
In addition, when a scan phase is specified in the Function Block Detail Builder, in which of
the N times of scans the function block is executed can be defined. Specify the scan phase
using a numeric value in the following range:
Scan phase: 0 to ((Scan coefficient) - 1)
10th Edition : Dec.18,2003-00
<C7.1 Process Timing for Regulatory Control Block> C7-7
IM 33S01B30-01E
C7.1.2 Order of Process Execution
The order of process execution refers to a sequence in which the control drawing
and individual function block are executed in the periodic execution. The process
timing of a periodic execution regulatory function block is determined by the orders
of execution of the control drawings and the function blocks.
The following section describes the orders in which the control drawings and indi-
vidual function blocks are executed in the periodic execution.
Order of Process Execution for Control Drawings/Function Blocks
The figure below shows an example of control drawings execution timing.
In the following example, there are three control drawings represented. Processing timing
of the function blocks with high-speed scan period in each drawing is indicated as A, B or C
and the processing timing to the function blocks with basic scan period in each drawing is
indicated as a, b or c. In the following figure, the processing to the function blocks at the
timing of A, B, C is referred to as high-speed processing and the processing to the func-
tion blocks at the timing of a, b, c is referred to as basic processing.
C070101E.EPS
A B C A B C
a a b
A B C C A B
b b c
......
......
......
High-speed
scan
High-speed
processing
Basic processing
Basic scan (1 sec.)
Time
Control drawing
Function block 1 2 3
b
4 5
b
Enlarged
Other process
Figure Example of Control Drawings/Function Blocks Process Execution
10th Edition : Dec.18,2003-00
C7-8 <C7.1 Process Timing for Regulatory Control Block>
IM 33S01B30-01E
The high-speed processing has priority over the basic processing.
Once all function blocks of high-speed processing are completed to execute, the basic
processing is executed.
In case that the high-speed processing gets its timing for execution during the basic
processing is being executed, the high-speed processing interrupts the basic process-
ing by making the basic processing pause at the gap among function blocks basic
processing.
Once all function blocks of high-speed processing are completed to execute, the basic
processing is resumed from where it was interrupted.
The high-speed processing of function blocks are executed for each of the control
drawings containing the function blocks and in the order of control drawing numbers.
Function blocks having the same scan period within the same control drawing are
executed in the set execution order (order of the function block numbers defined).
The basic processing of function blocks are executed in the same order as applied to
the high-speed processing.
Processing of each function block is executed only once per single scan period.
Other processes are executed in the idle time after the high-speed processing and
basic processing are completed.
Idle Time in Processing at FCS
SEBOL/User C Ratio
The setting of the processing executed in the idle time in FCSs CPU is defined in SEBOL/
User C time ratio on the FCS Constants Builder. This time ratio is set as 100 % as de-
fault, means the total idle time of FCSs CPU is used by SEBOL.
TIP
Each function block is executed asynchronously among the plural FCSes.
10th Edition : Dec.18,2003-00
<C7.1 Process Timing for Regulatory Control Block> C7-9
IM 33S01B30-01E
Order of Process Execution for Control Drawings/Function Blocks
The diagram below shows an example of executing control drawings each consisting of
function blocks being executed in the high-speed scan, medium-speed scan (*1) and basic
scan. In this example, three control drawings are processed. The groups of high-speed
scan function blocks in the respective drawings are indicated as A, B and C. Similarly, the
groups of medium-speed scan (*1) function blocks in the respective control drawings are
indicated as A, B and C; and the groups of basic scan function blocks, a, b and c. In the
diagram below and the explanation that follows, the processing of the function blocks
belonging to A, B and C is referred to as high-speed processing; processing of the func-
tion blocks belonging to A, B and C, medium-speed processing (*2); and processing of
the function blocks belonging to a, b and c, basic processing. Other processing indicates
processing of SFC blocks.
*1: The medium-speed scan setting is available only for KFCS2, KFCS, LFCS2 or LFCS.
*2: The medium-speed processing function is available only for KFCS2, KFCS, LFCS2 or LFCS.
C070102E.EPS
A B C A B C A B C
A'
a b
B'
b
1 2 3 4 5
b
b b c
C' A' B' C' A' B' C' C'
A B C A B C A B C
Medium-speed scan
High-speed
processing
Medium-speed
processing
Basic processing
Other processing
High-speed scan
Time
Basic scan (1 sec.)
Control drawing
Function block
Enlarged
a
Figure Example of Control Drawings/Function Blocks Process Execution
10th Edition : Dec.18,2003-00
C7-10 <C7.1 Process Timing for Regulatory Control Block>
IM 33S01B30-01E
The high-speed processing has priority over the medium-speed processing (*2) or
basic processing. The medium-speed processing (*2) has priority over the basic
processing.
Once processing of all high-speed function blocks have been completed, the medium-
speed processing (*2) is executed.
When execution of all high-speed and medium-speed (*2) processes of function
blocks have been completed, the basic processing is executed.
In case that the high-speed processing gets its timing for execution during the basic
processing or medium-speed processing (*2) is being executed, the high-speed
processing interrupts the basic processing or medium-speed processing (*2) by
making the basic processing or medium-speed processing (*2) pause at the gap
among function blocks' basic processing or medium-speed processing (*2). Once all
function blocks of high-speed processing are completed to execute, the basic pro-
cessing or medium-speed processing (*2) is resumed from where it was interrupted.
In case that the medium-speed processing (*2) its timing for execution during the
basic processing is being executed, the medium-speed processing (*2) interrupts the
basic processing by making the basic processing pause at the gap among function
blocks' basic processing. Once all function blocks of medium-speed (*2) processing
are completed to execute, the basic processing is resumed from where it was inter-
rupted.
The high-speed processing of function blocks are executed for each of the control
drawings containing the function blocks and in the order of control drawing numbers.
Function blocks having the same scan period within the same control drawing are
executed in the set execution order (order of the function block numbers defined).
The medium-speed processing (*2) and basic processing of function blocks are
executed in the same order as applied to the high-speed processing.
Processing of each function block is executed only once per single scan period.
Other processes are executed in the idle time after the high-speed processing, me-
dium-speed processing (*2) and basic processing are completed.
*2: The medium-speed processing function is available only for KFCS2, KFCS, LFCS2 or LFCS.
Idle Time in Processing at FCS
SEBOL/User C Ratio
The setting of the processing executed in the idle time in FCSs CPU is defined in SEBOL/
User C time ratio on the FCS Constants Builder. This time ratio is set as 100 % as de-
fault, means the total idle time of FCSs CPU is used by SEBOL.
TIP
Each function block is executed asynchronously among the plural FCSes.
10th Edition : Dec.18,2003-00
<C7.1 Process Timing for Regulatory Control Block> C7-11
IM 33S01B30-01E
C7.1.3 Timing of Process I/O
The timing of process I/O refers to the timing at which the data input/output is ex-
ecuted between the function block and the process I/O modules.
The timing of process I/O depends upon the type of the input/output data whether it
is analog or digital.
The following section explains the timing of process I/O.
Data Flow in Process I/O
The flow of data in process input/output is different for analog data and for digital data. The
following section explains the data flow of each type.
Analog Data
For analog input/output signals, the I/O module and the function block exchange data via
the process I/O image in the main memory of processor unit.
The diagram below shows an image of analog data input/output processing.
Process I/O image
Function block
Analog I/O module
Main Memory
Processor Unit
Read all at once at the beginning of
the high-speedand basic scans
Write only the changes when
processing of each function block
is completed
C070103E.EPS
Read when the function block
starts the processing
Write to Process I/O image when
complete the processing
Figure Image of Analog Data Input/Output
10th Edition : Dec.18,2003-00
C7-12 <C7.1 Process Timing for Regulatory Control Block>
IM 33S01B30-01E
Analog Data : KFCS2/KFCS
For analog input/output signals, the I/O module and the function block perform input/output
of data via the process I/O image in the main memory of processor unit.
The diagram below shows an image of analog data input/output processing.
Process I/O image
Function block
Main Memory
Processor Unit
KFCS2/KFCS: Write the changes
to I/O modules when processing
of all highest scan(*1) function
blocks is completed, as well as
when processing of all basic scan
function blocks is completed.
KFCS2/KFCS: Read at the
beginning of the basic scan the
analog input from the I/O unit
which specified to be read by the
basic scan: or read at the beginning
of the highest scan the analog input
from the I/O unit which specified to
read by the highest scan of
FCS(*1)
C070104E.EPS
Read when the function block
starts the processing
Write to Process I/O image
when complete the processing
Analog I/O modules
Refresh Periodically(*2)
Local Node
Remote Node
Remote Node Interface Card
(EB401)
Analog I/O modules
*1: The Highest Scan of FCS means that if the FCS is applied with high-speed scan, the High-Speed Scan is the highest
scan, and otherwise the Medium-Speed Scan is. If the FCS is applied with basic scan only, the Basic Scan is the
highest scan of FCS.
*2: The period of analog I/O data refresh between EB401 and remote node varies with the number of remote nodes
connected.
Figure Image of Analog Data Input/Output : KFCS2/KFCS
10th Edition : Dec.18,2003-00
<C7.1 Process Timing for Regulatory Control Block> C7-13
IM 33S01B30-01E
The period of data refresh between EB401 and remote nodes varies with the number of
remote nodes connected. The data refresh period corresponds to the number of nodes are
shown as follows.
Table Data Refresh Period between EB401 and IOM
Number of Remote Nodes
2 4 6
Analog I/O (None HART) 50 ms
1 to 2 seconds
Analog I/O (HART) 100 ms
100 ms
200 ms
200 ms
400 ms
HART Variables
C070105E.EPS
Analog Data : LFCS2/LFCS/SFCS
For analog input/output signals, the I/O module and the function block perform input/output
of data via the process I/O image in the main memory of processor unit.
The diagram below shows an image of analog data input/output processing.
Process I/O image
Function blocks
Analog I/O module
Main Memory
Processor Unit
SFCS: Write the changes
when processing of each function
block is completed.
LFCS2/LFCS: Write the changes
when processing of all high-speed
scan function blocks is completed
(or when processing of all medium-
completed if the high-speed scan is
not used) , as well as when
processing of all basic scan
function blocks is completed.
SFCS: Read all data at once at
the beginning of the high-speed
scans.
LFCS2/LFCS: Read at the beginning
of the basic scan the analog input
from the I/O unit which specified to
be read by the basic scan: or read
at the beginning of the high-speed
scan (or medium-speed scan if the
high-speed scan is not used) the
analog input from the I/O unit which
specified to ready by the high-speed
scan.
C070119E.EPS
Read when the function block
starts the processing
Write to Process I/O image
when complete the processing
Figure Image of Analog Data Input/Output : LFCS2/LFCS/SFCS
10th Edition : Dec.18,2003-00
C7-14 <C7.1 Process Timing for Regulatory Control Block>
IM 33S01B30-01E
Contact I/O Data
For contact input, the I/O module and the function block perform data input processing via
the process I/O image in the main memory of the processor unit and the contact input
image of the corresponding scan period stored in the data buffer areas.
Since the contact input data are stored in the image area, the function blocks which are
operated in the same period use the contact inputs image read at the beginning of that
scan period.
The diagram below shows an image of contact input data processing:
Contact input image
common to stations
(data image for HIS)
Read when the
basic scan starts
the processing
Read when the
high-speed
scan starts the
processing
Read when the
basic scan starts
the processing
Process I/O Image
Contact input image
for basic scan
Contact input image
for high-speed scan
Contact input module
Main memory
Processor Unit
Read all at once at the beginning
of the high-speed scans
C070106E.EPS
Each function block of
the high-speed scan
Each function block
of the basic scan
Figure Image of Contact Input Data Processing
10th Edition : Dec.18,2003-00
<C7.1 Process Timing for Regulatory Control Block> C7-15
IM 33S01B30-01E
Also, in the case of contact output, the function blocks output data via the process I/O
image, which is in the processor unit main memory, to I/O modules.
The diagram below illustrates the digital data output processing.
Write when function block
processing is completed
Write when function block
processing is completed
Process I/O image
Contact output module
Main memory
Processor unit
C070107E.EPS
High-speed scan
function blocks
Basic scan
function blocks
Write the changes when processing of all
high-speed scan function blocks or all basic
scan function blocks is completed
Figure Image of Contact Output Data Processing
10th Edition : Dec.18,2003-00
C7-16 <C7.1 Process Timing for Regulatory Control Block>
IM 33S01B30-01E
Contact I/O Data : KFCS2/KFCS
For contact input, the I/O module and the function block perform data input processing via
the process I/O image in the main memory of the processor unit and the contact input
image of the corresponding scan period stored in the data buffer areas.
Since the contact input data are stored in the image area, the function blocks which are
operated in the same period use the contact inputs image read at the beginning of that
scan period.
The diagram below shows an image of contact input data processing:
Contact input image
common to stations
(data image for HIS)
Read when the
basic scan starts
the processing
Read when the
high-speed
scan starts the
processing
Read when the
basic scan starts
the processing
Process I/O Image
Contact input image
for medium-speed scan
Contact input image
for high-speed scan
Main memory
Processor Unit
KFCS2/KFCS: Read at the beginning of the basic scan
the contact input from the I/O module which specified to be
read by the basic scan; or read at the beginning of the
highest scan the contact input from the I/O module which
specified to be read by the highest scan of FCS(*1)
C070108E.EPS
Function blocks with
high-speed scan
Function blocks with
the medium-speed scan
Read when the
basic scan starts
the processing
Contact input image
for basic scan
Function blocks
with basic scan
Contact Input Modules
Refresh Periodically(*2)
Remote Node
Remote Node Interface Card
(EB401)
Contact Input Modules
Local Node
*1: The Highest Scan of FCS means that if the FCS is applied with high-speed scan, the High-Speed Scan is the highest
scan of FCS, and otherwise the Medium-Speed Scan is. If the FCS is applied with basic scan only, the Basic Scan is
the highest scan of FCS.
*2: The period of contact I/O data refresh between EB401 and remote node varies with the number of remote nodes
connected.
Figure Image of Contact Input Data Processing : KFCS2/KFCS
10th Edition : Dec.18,2003-00
<C7.1 Process Timing for Regulatory Control Block> C7-17
IM 33S01B30-01E
The period of data refresh between EB401 and remote nodes varies with the number of
remote nodes connected. The data refresh period corresponds to the number of nodes are
shown as follows.
Table Data Refresh Period between EB401 and IOM
Number of Remote Nodes
2 4 6
Status Input 50 ms
ST Compatible (16-Point Input) 50 ms
100 ms
100 ms
200 ms
200 ms
Pushbutton Input 100 ms 200 ms 400 ms
ST Compatible (32-Point Input) 100 ms 200 ms 400 ms
ST Compatible (64-Point Input) 200 ms 400 ms 800 ms
C070109E.EPS
Also, in the case of contact output, the function blocks output data via the process I/O
image, which is in the processor unit main memory to the I/O modules.
The diagram below illustrates the contact output data processing.
Write when function
block processing
is completed
Write when function
block processing
is completed
Write when function
block processing
is completed
Process I/O image Main memory
Processor unit
High-speed scan
function blocks
Basic scan
function blocks
KFCS2/KFCS: Write the changes when
processing of all highest-speed scan function
blocks is completed (*1)
Medium-speed scan
function blocks
Contact Output Modules
Refresh Periodically(*2)
Remote Node Interface Card
(EB401)
Contact Output Modules
Local Node
Remote Node
C070110E.EPS
*1: The Highest Scan of FCS means that if the FCS is applied with high-speed scan, the High-Speed Scan is the highest
scan of FCS, and otherwise the Medium-Speed Scan is. If the FCS is applied with basic scan only, the Basic Scan is
the highest scan of FCS.
*2: The period of contact I/O data refresh between EB401 and remote node varies with the number of remote nodes
connected.
Figure Image of Contact Output Data Processing : KFCS2/KFCS
10th Edition : Dec.18,2003-00
C7-18 <C7.1 Process Timing for Regulatory Control Block>
IM 33S01B30-01E
The period of data refresh between EB401 and remote nodes varies with the number of
remote nodes connected. The data refresh period corresponds to the number of nodes are
shown as follows.
Table Data Refresh Period between EB401 and IOM
Number of Remote Nodes
2 4 6
Status Output 50 ms
Pulse-Width Output (*1) 100 ms
100 ms
200 ms
200 ms
400 ms
200 ms 400 ms 800 ms ST Compatible (64-Point Output)
C070111E.EPS
*1: The pulse-width output between IOM and field devices behaves differently, the output timing is controlled in the output
module.
Contact I/O Data : LFCS2/LFCS/SFCS
For contact input, the I/O module and the function block perform data input processing via
the process I/O image in the main memory of the processor unit and the contact input
image of the corresponding scan period stored in the data buffer areas.
Since the contact input data are stored in the image area, the function blocks which are
operated in the same period use the contact input's image read at the beginning of that
scan period.
The diagram below shows an image of digital data input processing:
Contact input image
common to stations
(data image for HIS)
Read when the
medium-speed
scan starts the
processing
Read when the
high-speed
scan starts the
processing
Read when the
basic scan starts
the processing
Process I/O Image
Contact input image
for medium-speed scan
Contact input image
for high-speed scan
Main memory
Processor Unit
SFCS: Read all data at once at the beginning of the
high-speed scans.
LFCS2/LFCS: Read at the beginning of the basic scan
the contact input from the I/O unit which specified to be
read by the basic scan; or read at the beginning of the
high-speed scan (or medium-speed scan if the high-
speed scan is not used) the contact input from the I/O
unit which specified to be read by the high-speed scan
C070120E.EPS
Function blocks with
high-speed scan
Function blocks with
the medium-speed scan
(applicable only with
the LFCS)
Read when the
basic scan starts
the processing
Contact input image
for basic scan
Function blocks
with basic scan
Contact Input Module
Figure Image of Contact Input Data Processing : LFCS2/LFCS/SFCS
10th Edition : Dec.18,2003-00
<C7.1 Process Timing for Regulatory Control Block> C7-19
IM 33S01B30-01E
Also, in the case of contact output, the function block and I/O module output data via the
process I/O image, which is in the processor unit main memory.
The diagram below illustrates the contact output data processing.
Write when function
block processing
is completed
Write when function
block processing
is completed
Write when function
block processing
is completed
Process I/O image Main memory
Processor unit
High-speed scan
function blocks
Basic scan
function blocks
SFCS: Write the changes when processing of
all high-speed scan function blocks or all basic
scan function blocks is completed
LFCS2/LFCS: Write only the changes when
processing of all high-speed scan function
blocks is completed (or when processing of all
medium-speed scan function blocks is
completed if the high-speed scan is not used),
as well as when processing of all basic scan
function blocks is completed
Medium-speed scan
function blocks
(applicable only with
the LFCS)
Contact Output Module
C070121E.EPS
Figure Image of Contact Output Data Processing : LFCS2/LFCS/SFCS
10th Edition : Dec.18,2003-00
C7-20 <C7.1 Process Timing for Regulatory Control Block>
IM 33S01B30-01E
Timing of Process I/O
The following section describes the timing of process I/O.
Input Timing
The input signals are read from the input module to the process I/O image in the processor
unit, then to the contact input image in which they are grouped according to their scan
period in the data buffer area. All the input data are accessed all together at the beginning
of each high-speed processing scan.
The accessed data may be applied to either high scanned function blocks or basic scanned
function blocks.
The function blocks perform their input and calculation process to the data they read from
the process I/O image.
C070112E.EPS
A B C A B C
a b
A B C
e d
A B
b c
...... ......
High-speed
scan
High-speed
processing
Basic processing
Basic scan (1 sec.)
Time
: High-speed scan processing start
: Basic scan processing start
Control drawing
Function block 1 2 3
b
4 5
b
Enlarged
Figure Input Timing
10th Edition : Dec.18,2003-00
<C7.1 Process Timing for Regulatory Control Block> C7-21
IM 33S01B30-01E
Output Timing
The function blocks write output data to the specified area in the process I/O image when
the function blocks are executed. Of the data written to the process I/O image, only the
changes are written to the output module at the following timing:
The contact output data is written when processing of all high-speed scan function
blocks or all basic scan function blocks is completed.
The analog output data are written at the end of each function blocks processing.
C070113E.EPS
A B C A B C
a b
A B C
e d
A B
b c
...... ......
High-speed
scan
High-speed
processing
Basic processing
Basic scan (1 sec.)
Time
: High-speed scan processing end
: Basic scan processing end
Control drawing
Function block 1 2 3
b
4 5
b
Enlarged
Figure Output Timing
10th Edition : Dec.18,2003-00
C7-22 <C7.1 Process Timing for Regulatory Control Block>
IM 33S01B30-01E
Timing of Process I/O
Timing of Process I/O is explained in the following section.
Input Timing : KFCS2/KFCS
The processor reads the input data from local nodes or from the remote node communica-
tion interface card (EB401) and puts the data into processor unit memory image table at the
following timings.
The input data of remote nodes are acquired periodically by EB401 card. The input data
from EB401 to memory image table are the data that EB401 periodically acquired from the
remote nodes.
KFCS2 or KFCS:
For the I/O modules not defined with high-speed scan, data are accessed at the
beginning of basic processing scan period.
For the I/O modules defined with high-speed scan or medium-speed scan, data are
accessed at the beginning of highest processing scan period.
The highest scan period means that if the FCS is applied with High-Speed scan, the
High-Speed scan is the highest scan of FCS, and otherwise the Medium-Speed scan
is. If the FCS is applied with basic scan only, the basic scan is the highest scan period.
Moreover, for contact I/O data, the I/O data are sent to the image tables categorized in
accordance with the scan periods. The timings of accessing these I/O data are the begin-
nings of the corresponding scan periods.
Function blocks perform input processing, calculation processing to the analog data ac-
quired from process I/O image. While the function blocks perform input processing, calcula-
tion processing to the contact input data acquired from the I/O images of various scan
periods.
10th Edition : Dec.18,2003-00
<C7.1 Process Timing for Regulatory Control Block> C7-23
IM 33S01B30-01E
Input Timing : LFCS2/LFCS/SFCS
The input signals are read from input module to the process I/O image in the processor
unit, then to the contact input image in which they are grouped according to their scan
period in the data buffer area, at the following timing:
LFCS2 or LFCS:
The input from the I/O module which specified to be read by the high-speed scan is
read when the high-speed scan processing of the function block is started (or when
the medium-speed scan processing is started if the high-speed scan is not used).
The input from the I/O module which specified to be read by the basic scan is read
when the basic scan processing of the function block is started.
SFCS:
Access data at the beginning of each high-speed processing scan.
The accessed data may be applied to either high scanned function blocks or basic
scanned function blocks.
The function blocks perform their input and calculation process to the data they read from
the process I/O image.
C070114E.EPS
A B C A B C
a b
A B C
e d
A B
b c
...... ......
High-speed
scan
High-speed
processing
Basic processing
Basic scan (1 sec.)
Time
: High-speed scan processing start
: Basic scan processing start
Control drawing
Function block 1 2 3
b
4 5
b
Enlarged
Figure Input Timing
10th Edition : Dec.18,2003-00
C7-24 <C7.1 Process Timing for Regulatory Control Block>
IM 33S01B30-01E
Output Timing : KFCS2/KFCS
Output Type Output in a Lump, Output Type Output Immediately
Function blocks send their output data to process I/O image at the time of the function
blocks performing output processing.
The output data changes in the process I/O image are written to the local nodes or remote
node interface card (EB401) at the following timings.
The output data in the EB401 sent from process I/O image are periodically written to
remote nodes.
For analog output in KFCS2 or KFCS:
The timings for writing the output data in process I/O image to I/O modules vary with
the designated options [Output in a Lump] and [Output immediately].
When option [Output in a Lump] is designated, the output data are written from pro-
cess I/O image to I/O modules at the completion of the highest scan of function
blocks.
When option [Output Immediately] is designated, the output data are written from
process I/O image to I/O modules right after the data are outputted from the function
blocks.
For contact output in KFCS2 or KFCS:
The contact output data are written from process I/O image to I/O modules at the
completion of the highest scan of function blocks.
The highest scan period means that if the FCS is applied with High-Speed scan, the High-
Speed scan is the highest scan of FCS, and otherwise the Medium-Speed scan is. If the
FCS is applied with basic scan only, the basic scan is the highest scan period.
The output type may be specified on IOM property sheet.
Output Type: Selectable between Output in a Lump and Output immediately.
Default is Output in a Lump
IMPORTANT
When option [Output immediately] is designated, it takes 1 or 2 milliseconds of processor
unit to perform the task of writing from process I/O image to I/O modules, thus the CPU
load is added.
It is recommended to choose [Output in a Lump] option instead of choosing [Output imme-
diately] option unless it is necessary. With [Output in a Lump] option, the output data can
also be sent from process I/O image to I/O modules at high-speed scan period if the high-
speed scan is specified.
TIP
For Flow-totalizing batch set block (BSETU-2) and Weight-totalizing batch set block, if the output auto-
matic prediction is applied, the output data are written from the function block to I/O modules or EB401 at
the predicted time.
Furthermore, it may take up to 30 milliseconds more time for outputting to the I/O modules in the remote
nodes.
10th Edition : Dec.18,2003-00
<C7.1 Process Timing for Regulatory Control Block> C7-25
IM 33S01B30-01E
Output Timing : LFCS2/LFCS/SFCS
The function blocks write output data to the specified area in the process I/O image when
being executed. Of the data written to the process I/O image, only the changes are written
to the output module at the following timing:
LFCS2 or LFCS analog output/contact output:
When processing of all high-speed scan function blocks (or all medium-speed scan
function blocks if the high-speed scan is not used) is completed.
When processing of all basic scan function blocks is completed.
SFCS analog output:
When processing of each function block is completed.
SFCS contact output:
When processing of all high-speed scan function blocks (or all medium-speed scan
function blocks if the high-speed scan is not used) is completed.
When processing of all basic scan function blocks is completed.
C070115E.EPS
A B C A B C
a b
A B C
e d
A B
b c
...... ......
High-speed
scan
High-speed
processing
Basic processing
Basic scan (1 sec.)
Time
: High-speed scan processing end
: Basic scan processing end
Control drawing
Function block 1 2 3
b
4 5
b
Enlarged
Figure Output Timing : LFCS2/LFCS/SFCS
10th Edition : Dec.18,2003-00
C7-26 <C7.1 Process Timing for Regulatory Control Block>
IM 33S01B30-01E
C7.1.4 Control Period for Controller Block
Among the regulatory control blocks, the controller block has control period that is
dependent on process timing. The control period of the controller block is a time
period that the controller block executes control calculation and output processing
during automatic operation (AUT, CAS, RCAS). The control period of the controller
block is always an integer multiple of the scan period.
The only processing that the controller block always performs for each scan period
is input processing and alarm processing. Control calculation and output process-
ing are performed once per each control period.
Control Period of Controller Block
Control Period
The controller block executes the input processing per scan period. However, the control
calculation and output processing are executed per each control period.
The control period of controller block is always an integer-multiple of the scan period.
There are 2 types of the control periods of controller block as shown below:
The control period of the regulatory control action.
The control period of the intermittent control action.
Control Period of Regulatory Control Action
Control calculation is executed at every control period in regulatory control action.
The figure below shows the controller blocks control period in the regulatory control action.
C070116E.EPS
Time
MV
Scan period
Control
period
Figure The Control Period in the Regulatory Control Action
10th Edition : Dec.18,2003-00
<C7.1 Process Timing for Regulatory Control Block> C7-27
IM 33S01B30-01E
Control Period in Intermittent Control Action
In intermittent control action, control calculation and output processing are executed only
once in the scan period in which the control switch (CSW) is turned ON during the auto-
matic operation (AUT, CAS, RCAS). After the execution, the control switch (CSW) is turned
OFF. The control switch (CSW) can be set to ON by other function blocks such as the
sequence control blocks.
The figure below shows the control period of the controller block in the intermittent control
action.
Time
MV
Scan period
Control
period
: Time in which CSW is turned ON
: Scan period in which
CSW is turned ON
C070117E.EPS
Figure The Control Period of the Intermittent Control Action
The intermittent control action is used for the sampling control with a sampling value to be
measured at the timing determined by outside of the controller block.
10th Edition : Dec.18,2003-00
C7-28 <C7.1 Process Timing for Regulatory Control Block>
IM 33S01B30-01E
Setting for Control Period of Controller Block
The following section describes the method of setting the control period of a controller
block, and how the function block behaves for the different settings.
Setting for Control Period of Controller Block
Setting for control period of controller block can be defined in the Function Block Detail
Builder.
Control period:
Select from fixed control period, automatic determination or intermittent control
action.
In the case of the Blending PI Controller Block (PI-BLEND) or the sampling PI control-
ler block (PI-HLD), select from fixed control period or automatic determination.
The default is automatic determination.
TIP
The control period for the two-position ON/OFF controller block (ONOFF), Enhanced Two-Position
ONOFF Controller Block (ONOFF-E), three-position ON/OFF controller block (ONOFF-G), Enhanced
Three-Position ONOFF Controller Block (ONOFF-GE) and the PD Controller Block with Manual Reset
(PD-MR) is the same as the scan period.
The fixed control periods is selected from the following:
1, 2, 4, 8, 16, 32 or 64 seconds.
When the automatic determination is selected, the control period is decided by the follow-
ing rules:
Table Control Period at the Automatic Determination
Integral Time (Sec.)
Control Period (Sec.)
Basic Scan High-Speed Scan
1 to 31 1
Same as the scan period
32 to 63 2
64 to 255 4
256 to 1023 8
1024 to 2047 16
2048 to 10000 32
C070118E.EPS
When the fixed control period or the automatic determination is selected, it is operated with
the control period of the regulatory control action. When the intermittent control action is
selected, it is operated with the control period of the intermittent control action.
10th Edition : Dec.18,2003-00
<C7.1 Process Timing for Regulatory Control Block> C7-29
IM 33S01B30-01E
Action of Controller Block Based on Control Period
Based on the control period defined, the controller blocks are executed as follows:
When a fixed control period is selected
The control calculation processing and output action during the automatic operation
(AUT, CAS, RCAS) are executed with the preset fixed control period.
When the automatic determination is selected
If the scan period is the basic scan, the control period is determined automatically
according to the parameter of the integral time (I). If the scan period is the high-speed
scan, the control period is the same as the scan period.
When an intermittent control action is selected
The control calculation and output processings are executed only once with the scan
period in which the control switch (CSW) is turned ON during the automatic operation
(AUT, CAS, RCAS).
10th Edition : Dec.18,2003-00
C7-30 <C7.2 Process Timing of Calculation Block>
IM 33S01B30-01E
C7.2 Process Timing of Calculation Block
The process timing for the calculation block has the following two execution types
according to execution timing.
Periodic Execution
One-Shot Execution
Periodic Execution
Start Timing
The periodic execution means that the calculation block is repeatedly executed in a preset
cycle. The function blocks for which a periodic execution is defined is referred as the
periodic-execution type function block.
Normally, the periodic-execution type function block is executed per scan period.
The timing that the control drawings and the individual function blocks are executed by the
periodic execution of calculation block is determined by following factors.
Scan Period
The scan period refers to a period at which the function block is executed periodically. The
periodic execution function block executes a process based on the scan period.
There are 2 types of scan periods: the basic period and the high-speed period; each
individual function block can select one of the 2 types scan period. However, some function
blocks cannot execute in high-speed period.
SEE ALSO
For the scan period, see the following:
C7.1.1, Scan Period
Scan Period
The scan period is a period of periodic execution for a function block. The periodic execu-
tion function block executes a process based on the scan period.
There are three types of scan periods: basic scan, medium-speed scan (*1) and high-
speed scan. Select one of these scan periods for each function block. However, the me-
dium-speed scan (*1) and high-speed scan cannot be selected for some function blocks.
SEE ALSO
For the scan period, see the following:
C7.1.1, Scan Period
*1: The medium-speed scan setting is available only for KFCS2, KFCS, LFCS2 and LFCS.
10th Edition : Dec.18,2003-00
<C7.2 Process Timing of Calculation Block> C7-31
IM 33S01B30-01E
Order of Process Execution
The order of process execution refers to a sequence in which the control drawing and
individual function block are executed in the periodic execution. This order of process
execution determines the execution timing within a scan period of the control drawing and
individual function block.
SEE ALSO
For the order of process execution, see the following:
C7.1.2, Order of Process Execution
Timing of Process I/O
The timing of the process input/output refers to a timing at which data I/O is executed
between the function block and the process I/O.
The timing of the process I/O differs by whether the input/output data is analog or contact
type.
SEE ALSO
For the process input/output timing, see the following:
C7.1.3, Timing of Process I/O
10th Edition : Dec.18,2003-00
C7-32 <C7.2 Process Timing of Calculation Block>
IM 33S01B30-01E
One-Shot Execution
In one-shot execution, the calculation block is executed only once when it is invoked by
other function blocks. The function block defined with one-shot execution is referred as the
one-shot-execution (O) type function block.
When an one-shot function block is invoked by other function blocks in the same FCS, it
starts its own process with interrupting the process from which it was invoked. When the
one-shot blocks process is completed, it hands back the process to the block from which it
was invoked. The sequence control block cannot be invoked from other control stations.
The following diagram shows the one-shot processing:
C070301E.EPS
Process execution Process execution
Process execution
Time
Call
Execution
Process
completion
Process resumption
The calling source
function block
One-shot-execution-type
function block
Figure One-Shot Execution Conceptual Diagram
The one-shot execution is used when a calculation block is invoked from a sequence table
block.
10th Edition : Dec.18,2003-00
<C7.2 Process Timing of Calculation Block> C7-33
IM 33S01B30-01E
The following table lists the calculation blocks where one-shot start is possible.
Table Calculation Blocks in Which One-Shot Execution is Possible
Block type Type Name
Arithmetic calculations
Logic operation (*1)
ADD Addition Block
MUL Multiplication Block
DIV Division Block
AVE Averaging Block
General-purpose
calculations
CALCU General-Purpose Calculation Block
CALCU-C
General-Purpose Calculation Block (with character string data I/O
terminal)
Auxiliary calculations
BDSET-1L One-Batch Data Set Block
BDSET-1C One-Batch String Data Set Block
BDSET-2L Two-Batch Data Set Block
BDSET-2C Two-Batch String Data Set Block (strings only)
BDA-L Batch Data Acquisition Block
BDA-C Batch String Data Acquisition Block
C070302E.EPS
AND Logical AND Block
OR Logical OR Block
NOT Logical NOT Block
SRSI-S Set-Dominant Flip-Flop Block with 1 Output
SRSI-R Reset-Dominant Flip-Flop Block with 1 Output
SRS2-S Set-Dominant Flip-Flop Block with 2 Outputs
SRS2-R Reset-Dominant Flip-Flop Block with 2 Outputs
WOUT Wipeout Block
GT Comparator Block (Greater Than)
GE Comparator Block (Greater Than or Equal)
EQ Equal Operator Block
BAND Bitwise AND Block
BOR Bitwise OR Block
BNOT Bitwise NOT Block
*1: The logic operation blocks can be used only for the CS 3000.
TIP
When a calculation block is executed based on one-shot specification, the alarm status is not updated
during the one-shot processing.
10th Edition : Dec.18,2003-00
C7-34 <C7.2 Process Timing of Calculation Block>
IM 33S01B30-01E
Setting for Processing Timing
Setting for processing timing can be defined in the Function Block Detail Builder.
Execution timing:
Select from 0 (periodic execution) or 1 (one-shot execution).
The default is 0.
When the periodic execution is selected for execution timing, set a scan period in the
Function Block Detail Builder. There are two types of scan periods: the basic scan and the
high-speed scan.
Setting for Processing Timing
Setting for processing timing can be defined in the Function Block Detail Builder.
Execution timing:
Select from 0 (periodic execution) or 1 (one-shot execution).
The default is 0.
When the periodic execution is selected for execution timing, set a scan period in the
function block detail definition builder. There are three types of scan periods: basic scan,
medium-speed scan (*1) and high-speed scan.
*1: The medium-speed scan setting is available only for KFCS2, KFCS, LFCS2 and LFCS.
10th Edition : Dec.18,2003-00
<C7.3 Process Timing for Sequence Control Block> C7-35
IM 33S01B30-01E
C7.3 Process Timing for Sequence Control Block
This section explains the process timing of a sequence control block.
Process timing for a Sequence Table Block (ST16, ST16E) and logic chart block
(LC64) includes the execution timing, output timing subordinated to execution
timing, control period, and control phase.
Start Timing of Sequence Control Block
Processing Timing
A sequence control block and a logic chart block have the following four types of execution
timing:
Periodic Execution (T)
One-Shot Execution (O)
Initial Execution/Restart Execution (I)
Restricted Initial Execution (B)
Output Timing of Sequence Control Block
The output timing of sequence control block and logic chart block indicates the conditions
to execute the output processing when the sequence table is started periodically or as a
one shot.
There are two types of output timing as below:
Output only when conditions change (C)
Output each time conditions are satisfied (E)
The output timing of function blocks excluding sequence control blocks is Output each
time conditions are satisfied (E).
Combining Execution Timing and Output Timing
The execution timing and the output timing can be used in combination.
Control Period and Control Phase of a Sequence Control Block
The control period is a period at which Periodic Execution Type (T) sequence tables and
logic charts are executed. The control phase is the timing for performing sequence table
processing during a control period.
The control period and control phase of a sequence table and a logic chart are used when
the sequence table and a logic chart are executed using a period longer than the basic
scan for periodic execution.
10th Edition : Dec.18,2003-00
C7-36 <C7.3 Process Timing for Sequence Control Block>
IM 33S01B30-01E
C7.3.1 Execution Timing for Sequence Control Blocks
The sequence control block is executed at the timing defined, then it performs data
input processing. After the input processing, it executes processes such as the
control calculation processing and output processing.
There are four types of execution timing to start the sequence control block
Periodic Execution
One-Shot Execution
Initial Execution/Restart Execution
Restricted Initial Execution
Periodic Execution (T)
Scan Period
The periodic execution means that the sequence control block is repeatedly executed in a
preset cycle. The function block for which a periodic execution is defined is referred as the
periodic-execution (T) type function block.
The timing that the control drawings and individual function blocks are executed by the
periodic execution is determined by following factors.
Scan Period
The scan period is a period of periodic execution for a function block. The periodic-execu-
tion function block performs the processing based on the scan period.
There are two types of scan periods: the basic scan and the high-speed scan. In the peri-
odic execution type sequence table block and logic chart block, basic scan or high-speed
scan can be selected as the scan period. Note that basic scan, not high-speed scan,
should be set for the switch instrument block, enhanced switch instrument block, and
VLVM block.
SEE ALSO
For the scan period, see the following:
C7.1.1, Scan Period
10th Edition : Dec.18,2003-00
<C7.3 Process Timing for Sequence Control Block> C7-37
IM 33S01B30-01E
Scan Period
The scan period is a time period of periodic execution for a function block. The periodic
execution function block executes a process based on the scan period.
There are three types of scan periods: basic scan, medium-speed scan (*1) and high-
speed scan. In the periodic-execution-type sequence table block and logic chart block, the
basic scan, medium-speed scan (*1) or high-speed scan can be selected as the scan
period. Note that basic scan, not medium-speed scan or high-speed scan, should be set for
the switch instrument block, enhanced switch instrument block, and VLVM block.
SEE ALSO
For the scan period, see the following:
C7.1.1, Scan Period
*1: The medium-speed scan setting is available only for KFCS2, KFCS, LFCS2 and LFCS.
Order of Process Execution
The order of process execution refers to a sequence in which the control drawing and
individual function block are executed in the periodic execution. The execution timing within
a scan period of the control drawing and the individual function block is determined by the
order of the execution.
SEE ALSO
For the order of process execution, see the following:
C7.1.2, Order of Process Execution
Timing of Process I/O
The timing of process input/output refers to a timing at which data input/output is executed
between the function block and the process I/O.
The timing of process I/O differs by whether the input/output data is analog or contact type.
SEE ALSO
For the process input/output timing, see the following:
C7.1.3, Timing of Process I/O
10th Edition : Dec.18,2003-00
C7-38 <C7.3 Process Timing for Sequence Control Block>
IM 33S01B30-01E
One-Shot Execution (O)
In one-shot execution, sequence block is executed only once when it is invoked by other
function blocks. The function block defined with one-shot execution is referred as the one-
shot-execution (O) type function block.
When an one-shot function block is invoked by other function blocks in the same FCS, it
starts its own process with interrupting the process from which it was invoked. When the
one-shot blocks process is completed, it hands back the process to the block from which it
was invoked. The sequence control block cannot be invoked from other control stations.
The following diagram shows the one-shot processing:
C070201E.EPS
Process execution Process execution
Process execution
Time
Call
Execution
Process
completion
Process resumption
The calling source
function block
One-shot-execution-type
function block
Figure One-Shot Processing Conceptual Diagram
A one-shot function block can invoke another one-shot function block. However, such
succession is limited to seven blocks.
The one-shot processing is used when a function block is executed from a sequence
control block.
10th Edition : Dec.18,2003-00
<C7.3 Process Timing for Sequence Control Block> C7-39
IM 33S01B30-01E
Initial Execution/Restart Execution (I)
In initial execution/restart execution, the sequence block executes its process when the
FCS performs a cold start or a restart. The function blocks only work in such timing are
referred as the initial-cold start/restart execution (I) style function block.
Restricted Initial Execution (B)
In restricted initial execution (B), the sequence control block executes only when the FCS
performs a cold start, not include restart. The function blocks only work in such timing are
referred as the initial-cold start (B) style function block.
Setting for Execution Timing
Setting for execution timing can be defined in the Function Block Detail Builder.
Execution Timing:
Select from the Periodic Execution (T), One-Shot Execution (O), Initial Execution/
Restart Execution (I), or Restricted Initial Execution (B).
When the periodic execution (T) is selected for execution timing, set a scan period in the
Function Block Detail Builder.
10th Edition : Dec.18,2003-00
C7-40 <C7.3 Process Timing for Sequence Control Block>
IM 33S01B30-01E
C7.3.2 Output Timing of Sequence Table Blocks (ST16, ST16E)
The output timing of a sequence table block indicates the conditions under which
output processing is performed when the sequence table is executed periodically or
as a one shot.
The two types of output timing are given below.
Output only when conditions are changed (C)
Output each time conditions are satisfied (E)
Output Only when Conditions are Changed (C)
The ST16, ST16E blocks output an operation signal only at the timing when the judged
conditions are changed from unsatisfied to satisfied. The output only when conditions are
changed can only be specified for ST16, ST16E blocks with periodic execution (T) or one-
shot start (O).
Output Each Time Conditions are Satisfied (E)
The ST16, ST16E blocks output an operation signal every scan period as long as the
judged conditions are satisfied.
Setting for Execution Timing
The output timing can be defined in the Function Block Detail Builder.
Output timing:
Select from Output only when conditions are change or Output each time conditions
are satisfied.
10th Edition : Dec.18,2003-00
<C7.3 Process Timing for Sequence Control Block> C7-41
IM 33S01B30-01E
C7.3.3 Output Timing of a LC64 Logic Chart Block
Output timing of logic chart block shows output conditions when the logic chart
block starts by Periodic/One-shot Execution. Each Time Conditions are Satisfied
(E) can only be selected as output timing.
Output Each Time Conditions are Satisfied (E)
The LC64 Logic Chart Block outputs operation signals by scan period if the specified
conditions are satisfied.
IMPORTANT
Manipulated output is sent from the logic chart block every cycle. If the output data
(ex. Printout messages) is not necessary every cycle, change output timing to output
only when logical operators are changed.
When the logic chart block starts by one-shot processing, do not use time data in
internal logical operation. For example, if on-delay timer were used, output is in the
initial state.
Internal logic operators are reset upon recovery from O/S upon online maintenance.
10th Edition : Dec.18,2003-00
C7-42 <C7.3 Process Timing for Sequence Control Block>
IM 33S01B30-01E
C7.3.4 Combination of Execution Timing and Output Timing
The following section describes combinations of the execution and output timings.
Combination of Execution Timing and Output Timing of Sequence Table
Blocks (ST16, ST16E)
The table below shows all possible combinations of the execution timing and the output
timing of the sequence tables.
Combinations not listed here are not allowed. The default combination is TC.
Table Combination of Execution Timing and Output Timing of Sequence Tables
Execution Timing Output Timing Symbol
Periodic Execution (T)
Conditional Output (C) TC
Each time Output (E) TE
One-Shot Execution (O)
Conditional Output (C) OC
Each time Output (E) OE
Startup at Initial Cold Start/Restart (I) - I
Restricted Initial Execution (B) - B
C070202E.EPS
Combination of Execution Timing and Output Timing of Logic Chart
Block (LC64)
The execution timing and the output timing of the logic chart block can be used with the
following. No other combination is allowed. The default is T.
Table Combination of Execution Timing and Output Timing of Logic Chart Block
Execution Timing Output Timing Symbol
Periodic Execution (T) TE
One-Shot Execution (O) OE
Startup at Initial Cold Start/Restart - I
Restricted Initial Execution (B) - B
C070204E.EPS
Each time (E)
Each time (E)
10th Edition : Dec.18,2003-00
<C7.3 Process Timing for Sequence Control Block> C7-43
IM 33S01B30-01E
C7.3.5 Control Period and Control Phase for Sequence Table
Blocks (ST16, ST16E)
For the periodic execution (T) type ST16 and ST16E blocks, the control period and
control phase can be set by the Function Block Detail Builder. However, the control
period and control phase can only be set when the scan period is set to the basic
scan.
Control Period for Sequence Table Blocks (ST16, ST16E)
The control period for the ST16, ST16E blocks refers to the interval at which the periodic-
execution-type ST16 or ST16E block executes the sequence table.
The control period can be set in the Function Block Detail Builder.
Control period: Set a value between 1 and 16 seconds.
Default is 1 second.
Control Phase for Sequence Table Blocks (ST16, ST16E)
The control phase for the ST16, ST16E blocks refers to the timing at which the sequence
table is executed in the control period. It sets the execution timing relative to the execution
timing of the phase-zero sequence table.
The control phase can be set in the Function Block Detail Builder.
Control phase: Set a value between 0 and 15 seconds.
Default is 0 second.
10th Edition : Dec.18,2003-00
C7-44 <C7.3 Process Timing for Sequence Control Block>
IM 33S01B30-01E
Example of Control Period and Control Phase for Sequence Table
Blocks (ST16, ST16E)
For example, in case of that a ST16 or ST16E blocks control period is 5 sec. and control
phase is 3 sec., the ST16 or ST16E block is executed at every 5 seconds interval, 3 sec-
onds after the phase zeros ST16 or ST16E block.
The following execution timing diagram shows the execution timing in case of the control
period and control phase are set.
C070203E.EPS
Control
period
Phase
Execution
2
3
4
5
1 0
0
0 1 2 3 4 5 6 7 8 9 10 11 sec
1
0
1
2
0
1
2
3
0
1
2
4
Time elapsed
3
Figure Control Period and Phase for Sequence Table Block (ST16, ST16E)
10th Edition : Dec.18,2003-00
<C7.3 Process Timing for Sequence Control Block> C7-45
IM 33S01B30-01E
C7.3.6 Control Period and Control Phase for Logic Chart Block
(LC64)
The control period and control phase of periodic execution type (T) LC64 block can
be set on the Function Block Detail Builder when the scan period is set to Basic
Scan.
Control Period for Logic Chart Block (LC64)
A control period is defined as a period at which the LC64 periodic execution type logic chart
block executes logic charts. Define the control period on the Function Block Detail Builder.
Control Period: Set a value between 1 to 16 seconds.
The default is 1.
Control Phase for Logic Chart Block (LC64)
A control phase is defined as a timing when logic charts start within control periods. Define
start timing relative to phase 0 logic chart start timing on the Function Block Detail Builder.
Control Phase: Set a value between 1 to 15 seconds.
The default is 0.
10th Edition : Dec.18,2003-00
Blank Page
Toc D-1
IM 33S01B30-01E
CS 1000/CS 3000
Reference
Function Block Details
CONTENTS
10th Edition : Dec.18,2003-00
IM 33S01B30-01E 10th Edition
PART-D Function Block Details
D1. Regulatory Control ............................................................................... D1-1
D1.1 Regulatory Control Blocks ........................................................................... D1-2
D1.1.1 Types of the Regulatory Control Blocks........................................... D1-4
D1.1.2 I/O Data Handled by the Regulatory Control Blocks ........................ D1-7
D1.1.3 Input Processing, Output Processing, and Alarm Processing
Possible for Each Regulatory Control Block .................................. D1-12
D1.1.4 Valid Block Modes for Each Regulatory Control Block ................... D1-19
D1.2 Input Indicator Block (PVI) ......................................................................... D1-21
D1.3 Input Indicator Block with Deviation Alarm (PVI-DV) .............................. D1-24
D1.4 Control Computation Processing Common to Controller Blocks ........... D1-28
D1.5 PID Controller Block (PID) .......................................................................... D1-58
D1.6 Sampling PI Controller Block (PI-HLD) ...................................................... D1-70
D1.7 PID Controller Block with Batch Switch (PID-BSW) .................................. D1-80
D1.8 Two-Position ON/OFF Controller Block (ONOFF),
Enhanced Two-Position ON/OFF Controller Block (ONOFF-E) ................ D1-88
D1.9 Three-Position ON/OFF Controller Block (ONOFF-G),
Enhanced Three-Position ON/OFF Controller Block (ONOFF-GE) .......... D1-96
D1.10 Time-Proportioning ON/OFF Controller Block (PID-TP) ......................... D1-106
D1.11 PD Controller Block with Manual Reset (PD-MR) .................................... D1-114
D1.12 Blending PI Controller Block (PI-BLEND) ................................................ D1-121
D1.13 Self-Tuning PID Controller Block (PID-STC) ............................................ D1-133
D1.13.1 Control Algorithm of Self-Tuning PID Controller Block
(PID-STC) .................................................................................. D1-139
D1.13.2 Self-Tuning Function (STC Function) .......................................... D1-140
D1.13.3 Self-Tuning Operating Modes...................................................... D1-143
D1.13.4 Initializer Start ............................................................................. D1-148
D1.13.5 Auto-Startup ............................................................................... D1-149
D1.13.6 On-Demand Tuning..................................................................... D1-154
D1.13.7 Tuning Parameters of Self-Tuning PID Controller Block
(PID-STC) .................................................................................. D1-156
D1.13.8 Points of Using Self-Tuning PID Controller Block (PID-STC) ....... D1-167
D1.14 Manual Loader Block (MLD) ..................................................................... D1-179
D1.15 Manual Loader Block with Input Indicator (MLD-PVI) ............................. D1-181
D1.16 Manual Loader Block with Auto/Man SW (MLD-SW) ............................... D1-184
IM 33S01B30-01E
Toc D-2
10th Edition : Dec.18,2003-00
D1.17 Motor Control Blocks (MC-2, MC-2E, MC-3, and MC-3E) ........................ D1-196
D1.17.1 Input Processing of Motor Control Block
(MC-2, MC-2E, MC-3, and MC-3E) ............................................. D1-204
D1.17.2 Control Computation Processing of Motor Control Blocks
(MC-2, MC-2E, MC-3, and MC-3E) ............................................. D1-208
D1.17.3 Output Processing of Motor Control Blocks
(MC-2, MC-2E, MC-3, and MC-3E) ............................................. D1-221
D1.17.4 Alarm Processing of Motor Control Blocks
(MC-2, MC-2E, MC-3, and MC-3E) ............................................. D1-238
D1.18 Ratio Set Block (RATIO) ............................................................................ D1-241
D1.19 13-Zone Program Set Block (PG-L13) ...................................................... D1-261
D1.20 Totalizing Batch Set Blocks (BSETU-2, BSETU-3) .................................. D1-273
D1.20.1 Input Processing of Totalizing Batch Set Blocks
(BSETU-2, BSETU-3) ................................................................. D1-274
D1.20.2 Control Algorithm of Totalizing Batch Set Blocks
(BSETU-2, BSETU-3) ................................................................. D1-275
D1.20.3 Output Processing of Totalizing Batch Set Blocks
(BSETU-2, BSETU-3) ................................................................. D1-291
D1.20.4 Alarm Processing of Totalizing Batch Set Blocks
(BSETU-2, BSETU-3) ................................................................. D1-296
D1.21 Flow-Totalizing Batch Set Block (BSETU-2) ............................................ D1-299
D1.22 Weight-Totalizing Batch Set Block (BSETU-3) ........................................ D1-310
D1.22.1 Input Signal Conversion of Weight-Totalizing Batch Set Block
(BSETU-3) .................................................................................. D1-316
D1.22.2 Alarm Processing of Weight-Totalizing Batch Set Block
(BSETU-3) .................................................................................. D1-321
D1.23 Velocity Limiter Block (VELLIM) ............................................................... D1-325
D1.24 Signal Selector Blocks (SS-H/M/L) ........................................................... D1-342
D1.25 Auto-Selector Blocks (AS-H/M/L) ............................................................. D1-349
D1.26 Dual-Redundant Signal Selector Block (SS-DUAL) ................................ D1-361
D1.27 Cascade Signal Distributor Block (FOUT) ............................................... D1-366
D1.28 Feedforward Signal Summing Block (FFSUM) ........................................ D1-373
D1.29 Non-Interference Control Output Block (XCPL) ...................................... D1-391
D1.30 Control Signal Splitter Block (SPLIT)....................................................... D1-402
D1.31 Representative Alarm Block (ALM-R) ...................................................... D1-417
D1.32 Pulse Count Input Block (PTC) ................................................................ D1-425
D1.33 Control Operations of YS Blocks ............................................................. D1-432
D1.33.1 Applying YS Blocks ..................................................................... D1-433
D1.33.2 Common Specification of YS Blocks ........................................... D1-434
D1.34 YS Controller Block (SLCD) ..................................................................... D1-447
D1.35 YS Programmable Controller Block (SLPC) ............................................ D1-452
D1.36 YS Programmable Controller Block with Pulse Width Output (SLMC) .. D1-457
D1.37 YS Manual Station Block with SV Output (SMST-111) ............................. D1-462
D1.38 YS Manual Station Block with MV Output Lever (SMTS-121) ................. D1-465
D1.39 YS Ratio Set Station Block (SMRT) .......................................................... D1-468
Toc D-3
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
D1.40 YS Batch Set Station Block (SBSD) ......................................................... D1-474
D1.41 YS Batch Controller Block (SLBC) ........................................................... D1-478
D1.42 YS Blending Controller Block (SLCC) ..................................................... D1-482
D1.43 YS Totalizer Block (STLD) ........................................................................ D1-487
D2. Arithmetic Calculation, Logic Operation ............................................. D2-1
D2.1 Common Functions of Calculation Blocks.................................................. D2-2
D2.2 Data Handled by Calculation Blocks ........................................................... D2-5
D2.3 Types of Calculation Blocks......................................................................... D2-8
D2.3.1 Input Processing, Output Processing, and Alarm Processing
Possible for Each Calculation Block .............................................. D2-11
D2.3.2 Valid Block Modes for Each Calculation Block ............................... D2-19
D2.4 Addition Block (ADD) .................................................................................. D2-22
D2.5 Multiplication Block (MUL) ......................................................................... D2-26
D2.6 Division Block (DIV) .................................................................................... D2-30
D2.7 Averaging Block (AVE) ............................................................................... D2-34
D2.8 Square Root Block (SQRT) ......................................................................... D2-40
D2.9 Exponential Block (EXP) ............................................................................ D2-44
D2.10 First-Order Lag Block (LAG)....................................................................... D2-47
D2.11 Integration Block (INTEG) ........................................................................... D2-52
D2.12 Derivative Block (LD) .................................................................................. D2-58
D2.13 Ramp Block (RAMP) ................................................................................... D2-63
D2.14 Lead/Lag Block (LDLAG) ............................................................................ D2-67
D2.15 Dead-Time Block (DLAY) ............................................................................ D2-72
D2.16 Dead-Time Compensation Block (DLAY-C) ............................................... D2-77
D2.17 Moving-Average Block (AVE-M) ................................................................. D2-81
D2.18 Cumulative-Average Block (AVE-C) ........................................................... D2-86
D2.19 Variable Line-Segment Function Block (FUNC-VAR) ................................ D2-91
D2.20 Temperature and Pressure Correction Block (TPCFL) ............................. D2-96
D2.21 ASTM Correction Block : Old JIS (ASTM1) .............................................. D2-102
D2.22 ASTM Correction Block : New JIS (ASTM2) ............................................ D2-106
D2.23 Logical AND Block (AND), Logical OR Block (OR) .................................. D2-110
D2.24 Logical NOT Block (NOT) ......................................................................... D2-113
D2.25 Flip-Flop Blocks (SRS1-S, SRS1-R, SRS2-S, SRS2-R) ............................ D2-116
D2.26 Wipeout Block (WOUT) ............................................................................. D2-120
D2.27 ON-Delay Timer Block (OND) ................................................................... D2-123
D2.28 OFF-Delay Timer Block (OFFD) ................................................................ D2-127
D2.29 One-Shot Blocks Rise Trigger (TON), Fall Trigger (TOFF) ...................... D2-131
D2.30 Relational Operation Blocks (GT, GE, EQ) ............................................... D2-134
D2.31 Bitwise AND Block (BAND), Bitwise OR Block (BOR) ............................. D2-137
D2.32 Bitwise NOT Block (BNOT) ....................................................................... D2-140
D2.33 General-Purpose Calculation Blocks (CALCU, CALCU-C) ..................... D2-143
D2.34 Three-Pole Three-Position Selector Switch Block (SW-33) .................... D2-151
IM 33S01B30-01E
Toc D-4
D2.35 One-Pole Nine-Position Selector Switch Block (SW-91) ......................... D2-154
D2.36 Selector Switch Block for 16 Data (DSW-16) ........................................... D2-157
D2.37 Selector Switch Block for 16 String Data (DSW-16C) .............................. D2-160
D2.38 Data Set Block (DSET) .............................................................................. D2-163
D2.39 Data Set Block with Input Indicator (DSET-PVI) ...................................... D2-166
D2.40 One-Batch Data Set Block (BDSET-1L) .................................................... D2-170
D2.41 One-Batch String Data Set Block (BDSET-1C) ........................................ D2-174
D2.42 Two-Batch Data Set Block (BDSET-2L) .................................................... D2-177
D2.43 Two-Batch String Data Set Block (BDSET-2C) ........................................ D2-182
D2.44 Batch Data Acquisition Block (BDA-L) .................................................... D2-187
D2.45 Batch String Data Acquisition Block (BDA-C) ......................................... D2-191
D2.46 Inter-Station Data Link Block (ADL) ......................................................... D2-194
D2.47 General-Purpose Arithmetic Expressions............................................... D2-199
D2.47.1 Basic Items of the General-Purpose Arithmetic Expressions....... D2-200
D2.47.2 Constants in General-Purpose Arithmetic Expressions ............... D2-205
D2.47.3 Variables..................................................................................... D2-207
D2.47.4 Operators ................................................................................... D2-217
D2.47.5 Arithmetic Expressions ............................................................... D2-221
D2.47.6 Control Statements ..................................................................... D2-225
D2.47.7 Error Handling ............................................................................ D2-230
D2.47.8 Built-In Functions ........................................................................ D2-234
D2.47.9 Reserved Words for Numerical and Logical Arithmetic
Expressions ................................................................................ D2-242
D3. Sequence Control ................................................................................. D3-1
D3.1 Types of Sequence Control Blocks.............................................................. D3-3
D3.1.1 Alarm Processing of Sequence Control Blocks ............................... D3-6
D3.1.2 Block Mode of Sequence Control Blocks......................................... D3-7
D3.2 Sequence Table Block (ST16, ST16E) .......................................................... D3-8
D3.2.1 Sequence Table Configuration ...................................................... D3-11
D3.2.2 Creating a Sequence Table ........................................................... D3-16
D3.2.3 Sequence Table Processing Flow ................................................. D3-19
D3.2.4 Input Processing of Sequence Table ............................................. D3-28
D3.2.5 Condition Rule Processing of Sequence Table .............................. D3-30
D3.2.6 Action Rule Processing of Sequence Table ................................... D3-31
D3.2.7 Output Processing of Sequence Table .......................................... D3-32
D3.2.8 Number of Condition Signals and Action Signals .......................... D3-33
D3.2.9 Rule Extension ............................................................................. D3-34
D3.2.10 Condition Signal Description: Referencing Other Function Blocks
and I/O Data ................................................................................. D3-36
D3.2.11 Control Signal Description: Referencing Sequence Table .............. D3-57
D3.2.12 Syntax for Condition Signal Description: Logic Chart
Reference in Sequence Table ....................................................... D3-70
10th Edition : Dec.18,2003-00
Toc D-5
IM 33S01B30-01E
D3.2.13 Description of Action Signal: Status Manipulation for Other
Function Blocks and I/O Data........................................................ D3-72
D3.2.14 Action Signal Description: Status Manipulation for
Sequence Table ............................................................................ D3-91
D3.2.15 Action Signal Description: Status Manipulation for a Logic Chart
from a Sequence Table ............................................................... D3-101
D3.2.16 Data Items of the Sequence Table Block (ST16) ......................... D3-102
D3.3 Logic Chart Block (LC64) ......................................................................... D3-103
D3.3.1 Configuration of a Logic Chart .................................................... D3-105
D3.3.2 Creating a Logic Chart Block ...................................................... D3-108
D3.3.3 Logic Chart Processing Flow ...................................................... D3-111
D3.3.4 Input Processing of Logic Chart .................................................. D3-112
D3.3.5 Logic Calculation Processing of Logic Chart ............................... D3-113
D3.3.6 Output Processing of Logic Chart ............................................... D3-120
D3.3.7 Condition Signal Description: Referencing Other Function
Blocks and I/O Data .................................................................... D3-121
D3.3.8 Syntax for Condition Signal Description: Referencing
Logic Chart ................................................................................. D3-142
D3.3.9 Syntax for Condition Signal Description: Referencing
Sequence Table in a Logic Chart ................................................. D3-143
D3.3.10 Action Signal Description: Status Manipulation for Other
Function Blocks and I/O Data...................................................... D3-147
D3.3.11 Syntax for Action Signal Description: Status Manipulation of
Logic Chart ................................................................................. D3-165
D3.3.12 Syntax for Action Signal Description: Status Manipulation of
Sequence Table from Logic Chart ............................................... D3-166
D3.3.13 Behavior of Logic Chart Internal Timer ........................................ D3-169
D3.3.14 Data Items of Logic Chart Block - LC64 ...................................... D3-170
D3.4 Switch Instrument Block and Enhanced Switch Instrument Block ....... D3-171
D3.5 Timer Block (TM) ....................................................................................... D3-197
D3.6 Software Counter Block (CTS) ................................................................. D3-206
D3.7 Pulse Train Input Counter Block (CTP) .................................................... D3-211
D3.8 Code Input Block (CI) ................................................................................ D3-219
D3.9 Code Output Block (CO) ........................................................................... D3-225
D3.10 Relational Expression Block (RL) ............................................................ D3-230
D3.11 Resource Scheduler Block (RS) ............................................................... D3-235
D3.12 Valve Monitoring Block (VLVM) ................................................................ D3-245
D4. Faceplate Blocks .................................................................................. D4-1
D4.1 Types of Faceplate Blocks ........................................................................... D4-2
D4.2 Push Button Operation of Faceplate Blocks ............................................... D4-5
D4.3 Block Mode and Status of Faceplate Blocks ............................................... D4-8
D4.3.1 Block Mode of Faceplate Blocks ................................................... D4-10
D4.3.2 Block Status of Faceplate Blocks .................................................. D4-13
D4.3.3 Alarm Status of Faceplate Blocks.................................................. D4-15
D4.3.4 Data Status of Faceplate Blocks ................................................... D4-17
10th Edition : Dec.18,2003-00
IM 33S01B30-01E
Toc D-6
D4.4 Dual-Pointer Indicating Station Block (INDST2) ........................................ D4-18
D4.5 Dual-Pointer Manual Station Block (INDST2S) .......................................... D4-22
D4.6 Triple-Pointer Manual Station Block (INDST3) .......................................... D4-27
D4.7 Batch Status Indicator Block (BSI) ............................................................ D4-32
D4.8 Extended 5-Push-Button Switch Block (PBS5C) ...................................... D4-41
D4.9 Extended 10-Push-Button Switch Block (PBS10C) .................................. D4-49
D4.10 Extended Hybrid Manual Station Block (HAS3C) ...................................... D4-57
D5. Sequential Function Chart ................................................................... D5-1
D5.1 SFC Elements................................................................................................ D5-5
D5.1.1 Step................................................................................................ D5-6
D5.1.2 Transition ...................................................................................... D5-10
D5.1.3 Links ............................................................................................. D5-12
D5.1.4 Step & Selective Sequences ......................................................... D5-15
D5.2 Action Description Using SEBOL .............................................................. D5-18
D5.2.1 Step Common Items ..................................................................... D5-19
D5.2.2 Initial Step..................................................................................... D5-23
D5.2.3 SEBOL Steps ............................................................................... D5-25
D5.2.4 SEBOL One-Shot Steps ............................................................... D5-26
D5.3 Action Description Using Sequence Table ................................................ D5-28
D5.3.1 Step Common Item Description Using the Sequence Table........... D5-29
D5.3.2 Sequence Table Steps .................................................................. D5-32
D5.3.3 Sequence Table One-Shot Steps .................................................. D5-33
D5.4 Action Description Using Logic Chart ....................................................... D5-34
D5.4.1 Step Common Item Description Using Logic Chart ....................... D5-35
D5.4.2 Logic Chart Steps ......................................................................... D5-38
D5.4.3 Logic Chart One-Shot Steps ......................................................... D5-39
D5.5 Transition Conditions ................................................................................. D5-40
D5.6 SFC Block Action ........................................................................................ D5-42
D5.6.1 Queue Signal Processing ............................................................. D5-47
D5.6.2 Status Change Processing ........................................................... D5-56
D5.6.3 Interrupt Signal Processing ........................................................... D5-64
D5.6.4 Error Processing ........................................................................... D5-67
D5.6.5 Terminating SFC Block Execution ................................................. D5-68
D5.6.6 Pausing SFC Block Execution....................................................... D5-70
D5.6.7 Referencing Current Step ............................................................. D5-76
D5.6.8 Changing Current Step ................................................................. D5-77
D5.6.9 SFC Block Alarm Processing ........................................................ D5-78
D5.6.10 SFC Online Maintenance.............................................................. D5-81
D5.6.11 SFC Block Execution .................................................................... D5-83
D5.6.12 Data Items - SFC .......................................................................... D5-84
D5.6.13 SFC Block Mode & Status............................................................. D5-94
D5.7 Manipulating Unit Instrument from SFC Block ......................................... D5-98
10th Edition : Dec.18,2003-00
Toc D-7
IM 33S01B30-01E
D6. Unit Supervision ................................................................................... D6-1
D6.1 Outline of Unit Supervision .......................................................................... D6-2
D6.1.1 What is a Unit? ............................................................................... D6-3
D6.1.2 ISA S88.01 and Unit Supervision .................................................... D6-5
D6.1.3 Batch Management and Unit Supervision ....................................... D6-9
D6.1.4 Application Capacity of Unit Supervision....................................... D6-10
D6.2 Unit Instrument ........................................................................................... D6-14
D6.3 Unit Instrument Data Items......................................................................... D6-19
D6.3.1 System-Specific Data Items .......................................................... D6-20
D6.3.2 Faceplate Data Items .................................................................... D6-22
D6.3.3 User-Definable Data Items............................................................ D6-24
D6.3.4 Data Items for Process Management ............................................ D6-28
D6.3.5 Accessing Unit Data ..................................................................... D6-30
D6.4 Unit Procedure ............................................................................................ D6-33
D6.4.1 Unit Procedure SFC...................................................................... D6-34
D6.4.2 Compound Sequence ................................................................... D6-40
D6.4.3 Transition Conditions .................................................................... D6-43
D6.4.4 Interrupt Processing of Unit Procedure ......................................... D6-46
D6.4.5 Unit Procedure Sharing ................................................................ D6-48
D6.5 Unit Mode and Unit Status .......................................................................... D6-51
D6.5.1 Unit Mode ..................................................................................... D6-52
D6.5.2 Unit Status .................................................................................... D6-53
D6.5.3 Unit Sub-Status ............................................................................ D6-54
D6.5.4 Unit Mode and Unit Status Change Command.............................. D6-55
D6.6 State Transition Matrix................................................................................ D6-63
D6.6.1 Standard State Transition Matrix ................................................... D6-64
D6.6.2 User Defined State Transition Matrix ............................................. D6-77
D6.7 Unit Supervision Messages........................................................................ D6-81
D6.7.1 Unit Process Alarm Messages ...................................................... D6-82
D6.7.2 Unit Mode and Unit Status Change Messages .............................. D6-85
D6.7.3 Sequence Control Messages - Unit Instrument ............................. D6-86
D6.7.4 System Alarm Messages .............................................................. D6-87
D6.8 Operations................................................................................................... D6-88
D6.9 Data Items of Operation.............................................................................. D6-91
D6.10 SFC Operation............................................................................................. D6-95
D6.10.1 SFC Operation.............................................................................. D6-97
D6.10.2 Compound Sequence ................................................................. D6-102
D6.10.3 Transition Conditions .................................................................. D6-103
D6.10.4 Operation Sharing ...................................................................... D6-105
D6.11 Mode and Status of an Operation ............................................................ D6-108
D6.11.1 Operation Mode .......................................................................... D6-109
D6.11.2 Operation Status......................................................................... D6-110
10th Edition : Dec.18,2003-00
IM 33S01B30-01E
Toc D-8
D6.11.3 Operation Mode and Status Change Command.......................... D6-111
D6.11.4 Operation Block Status Transition ............................................... D6-112
D6.12 Actions of Operation................................................................................. D6-114
D6.12.1 Action Scripts in SEBOL ............................................................. D6-115
D6.12.2 Action Description Using the Sequence Table ............................. D6-124
D6.12.3 Action Description Using Logic Charts ........................................ D6-128
D6.13 Operation Actions ..................................................................................... D6-131
D6.13.1 Start and End of An Operation .................................................... D6-132
D6.13.2 Pause an Operation .................................................................... D6-134
D6.13.3 Referencing Current Step ........................................................... D6-140
D6.13.4 Changing Current Step ............................................................... D6-141
D6.13.5 Operation Alarm Processing ....................................................... D6-142
D6.14 Interrupt Processing of Operation ........................................................... D6-145
D6.14.1 Queue Signal Processing ........................................................... D6-152
D6.14.2 Status Change Processing ......................................................... D6-159
D6.14.3 Interrupt Signal Processing ......................................................... D6-170
D6.14.4 Error Processing ......................................................................... D6-173
D6.15 Initialization Operation and Monitoring Operation.................................. D6-174
D7. Valve Pattern Monitors ......................................................................... D7-1
D7.1 Valve Pattern Monitor Type and Size ........................................................... D7-5
D7.2 System Environment .................................................................................... D7-6
D7.3 Procedure for Operating Valve Pattern Monitor .......................................... D7-7
D7.4 Data Items for Valve Pattern Monitor ........................................................... D7-8
D7.5 Block Mode of Valve Pattern Monitor......................................................... D7-14
D7.6 Block Status of Valve Pattern Monitor ....................................................... D7-15
D7.7 Signal Transmission and Alarm of Valve Pattern Monitor ........................ D7-16
D7.8 SEBOL Statements for Valve Pattern Monitor ........................................... D7-22
D7.8.1 vpmstart Statement ...................................................................... D7-23
D7.8.2 drive vpmon Statement ................................................................. D7-25
D7.8.3 drive vpmoff Statement ................................................................. D7-30
D7.8.4 vpmon Statement ......................................................................... D7-33
D7.8.5 vpmoff Statement ......................................................................... D7-38
D7.8.6 vpmreset Statement ..................................................................... D7-41
D7.9 Inspection of Data Acquired from FCS ...................................................... D7-42
D7.10 Builder Items for Creating Application Program....................................... D7-45
D7.11 Example for Creating Application Program............................................... D7-46
D7.12 Specifying Processing Timing ................................................................... D7-50
D7.13 Using Simulation Programs ....................................................................... D7-51
D8. Offsite Block ......................................................................................... D8-1
D8.1 Batch Set Control Block (FSBSET) .............................................................. D8-7
D8.1.1 Operation for Batch Loader Control - FSBSET ................................ D8-8
D8.1.2 Operation for Batch Blending Control - FSBSET ........................... D8-11
10th Edition : Dec.18,2003-00
Toc D-9
IM 33S01B30-01E
D8.1.3 Operation for X% Preset MV Control - FSBSET ............................ D8-13
D8.1.4 Configuration of Batch Set Control Block (FSBSET) ..................... D8-15
D8.1.5 Input Processing of Batch Set Control Block (FSBSET) ................ D8-17
D8.1.6 Output Processing of Batch Set Control Block (FSBSET) ............. D8-25
D8.1.7 Alarm and Notification Processing of Batch Set Control Block
(FSBSET) ..................................................................................... D8-27
D8.1.8 Control Processing of Batch Set Control Block (FSBSET) ............. D8-34
D8.1.9 Block Modes of Batch Set Control Block (FSBSET) ...................... D8-57
D8.1.10 Data Items of Batch Set Control Block (FSBSET) ......................... D8-58
D8.2 Blending Master Control Block (BLEND) ................................................... D8-61
D8.2.1 Operation for Tank Blending Control .............................................. D8-62
D8.2.2 Operation for Direct Blending Shipment Control ............................ D8-65
D8.2.3 Configuration of Blending Master Control Block (BLEND) ............. D8-67
D8.2.4 Component Management ............................................................. D8-68
D8.2.5 Port Management ......................................................................... D8-71
D8.2.6 Input Processing of Blending Master Control Block (BLEND) ........ D8-73
D8.2.7 Output Processing of Blending Master Control Block (BLEND) ..... D8-75
D8.2.8 Alarm and Notification Processing of Blending Master Control
Block (BLEND) ............................................................................. D8-76
D8.2.9 Control Processing of Blending Master Control Block (BLEND) .... D8-79
D8.2.10 Block Modes of Blending Master Control Block (BLEND) .............. D8-96
D8.2.11 Data Items of Blending Master Control Block (BLEND) ................. D8-97
10th Edition : Dec.18,2003-00
Blank Page
<D1. Regulatory Control> D1-1
IM 33S01B30-01E
D1. Regulatory Control
The regulatory control performs control computation processing using analog
process values for process monitor and process control. The function blocks that
provide the regulatory control function are referred as regulatory control blocks.
This chapter presents a detailed description of the function of each of the regulatory
control blocks, excluding the FOUNDATION fieldbus faceplate block.
SEE ALSO
For details on the FOUNDATION fieldbus faceplate blocks, see the following:
A2, Overview of FF Faceplate Blocks in the FOUNDATION fieldbus Reference (IM 33Y05P10-01E)
Regulatory Control Positioning
The regulatory control is one of the basic controls in the FCS and performs control compu-
tation processing to monitor and control processes. The function blocks that perform the
this regulatory control are referred as regulatory control blocks.
The regulatory control blocks include Input indication blocks, controller blocks, manual
loader blocks, signal set blocks, signal limiter blocks, Signal selector blocks, signal distribu-
tion blocks, pulse-count blocks, alarm blocks and YS blocks.
The figure below shows the position of the regulatory control function in the basic control
architecture:
FCS
Software I/O
Faceplate blocks
Unit instrument blocks
SFC blocks
Regulatory control blocks
Arithmetic calculation blocks
Sequence control blocks
Basic control
Valve pattern monitoring (1*)
Off-site blocks (1*)
Options
Internal switch
Annunciator message
Sequence message
D010001E.EPS
Fieldbus I/O Process I/O
FCS I/O Interfaces
Communication I/O
*1: The valve pattern monitor and the off-site block can only be used for the CS 3000.
Figure Regulatory Control Block in the Basic Control Function Architecture
10th Edition : Dec.18,2003-00
D1-2 <D1.1 Regulatory Control Blocks>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
D1.1 Regulatory Control Blocks
The regulatory control blocks are the function blocks that perform control computa-
tion processing mainly on the analog input as input signals. The calculated results
are used for process monitor and process control.
The regulatory control blocks support the following types of processing: input
processing, control computation processing, output processing and alarm process-
ing.
Structure of Regulatory Control Blocks
The function blocks that provide the regulatory control function are called regulatory
control blocks.
The regulatory control blocks perform control computation processing mainly on analog
signals (analog values) as input values. The results of control computation processing
performed by the regulatory control blocks are output as manipulated output values (MV).
The figure below shows a function block diagram of a general regulatory control block:
D010101E.EPS
MV
RMV
SV
CAS
AUT
MAN
ROUT
IN OUT
(PV, PV, MV, MV)
Control
computation
processing
SUB
AUT
MAN
PV
RSV
CSV
AUT
MAN
PV
RSV
CSV
CAS
SET
RAW
Output
processing
INT TSI TIN RL2 BIN RL1
(TSW) (RLV2) (RLV1) (VN)
Alarm
processing
RCAS
Input
processing
Figure Function Block Diagram of the Regulatory Control Block
IN: Input terminal RAW: Raw data input signal
SET: Setpoint value input terminal PV: Process variable
BIN: Compensation input terminal SV: Setpoint value
RLn: Reset signal input terminal CSV: Cascade setpoint value
TIN: Tracking signal input terminal RSV: Remote setpoint value
TSI: Tracking switch input terminal VN: Compensated value Input
INT: Interlock switch input terminal RMV: Remote manipulated output value
SUB: Auxiliary output terminal RLVn: Reset signal
OUT: Output terminal MV: Manipulated output value
TSW: Tracking switch
<D1.1 Regulatory Control Blocks> D1-3
IM 33S01B30-01E
Functions of the Regulatory Control Blocks
The regulatory control blocks have the following four processing functions:
Input Processing
Receives a signal from the input terminal and outputs a process variable (PV).
Control Computation Processing
Performs control computation processing by reading the process variable (PV) and outputs
a manipulated output value (MV).
Output Processing
Reads the manipulated output value (MV) and outputs the result of control computation
processing to the output terminal as an output signal.
Alarm Processing
Detects an abnormality in the process variable (PV) or manipulated output value (MV) and
notifies the operation and monitoring functions.
Control computation processing can be performed independently via data setting or data
reference between the function blocks, without involving input processing or output pro-
cessing.
SEE ALSO
Refer to the following sections for the input processing, output processing, and alarm processing that are
common to a multiple number of regulatory control blocks.
For input processing, see the following:
C3, Input Processing
For output processing, see the following:
C4, Output Processing
For alarm processing, see the following:
C5, Alarm Processing - FCS
The characteristics and control computation processing functions of the regulatory control
blocks are explained as control action in the sections for individual function blocks in the
chapters from D1.3.
The characteristics and control computation processing of each regulatory control block, as
well as any input processing, output processing, and alarm processing that are inherent to
particular regulatory control blocks are explained in the sections beginning with D1.2 for
each function block.
10th Edition : Dec.18,2003-00
D1-4 <D1.1 Regulatory Control Blocks>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
D1.1.1 Types of the Regulatory Control Blocks
The regulatory control blocks vary by the types of data handled and control compu-
tation processing functions provided. The blocks are classified into these blocks
below.
Input Indicator Blocks
Controller Blocks
Manual Loader Blocks
Signal Setter Blocks
Signal Limiter Blocks
Signal Selector Blocks
Signal Distributor Blocks
Pulse Count Input Block
Alarm Block
YS Blocks
Input Indicator Blocks
The table below shows a list of input indicator blocks:
Table Input Indicator Blocks
Block type Code Name
Input indicators
PVI Input Indicator Block
PVI-DV Input Indicator Block with Deviation Alarm
D010102E.EPS
Controller Blocks
The table below shows a list of controller blocks:
Table Controller Blocks
Block type Code Name
Controllers
PID PID Controller Block
PI-HLD Sampling PI Controller Block
PID-BSW PID Controller Block with Batch Switch
ONOFF 2-Position ON/OFF Controller Block
ONOFF-G 3-Position ON/OFF Controller Block
PID-TP Time-Proportioning ON/OFF Controller Block
PD-MR PD Controller Block with Manual Reset
PI-BLEND Blending PI Controller Block
PID-STC Self-Tuning PID Controller Block
D010103E.EPS
ONOFF-E Enhanced 2-Position ON/OFF Controller Block (*1)
ONOFF-GE Enhanced 3-Position ON/OFF Controller Block (*1)
*1: This type of function blocks can be applied to all field control stations except standard PFCS (CS 1000).
However, the optional software [Enhanced MC/Switch Instrument] is required.
<D1.1 Regulatory Control Blocks> D1-5
IM 33S01B30-01E
Manual Loader Blocks
The table below shows a list of manual loader blocks:
Table Manual Loader Blocks
Block type Code Name
Manual Loader
MLD Manual Loader Block
MLD-PVI Manual Loader Block with Input Indicator
MLD-SW Manual Loader Block with Auto/Man Switch
MC-2 2-Position Motor Control Block
MC-3 3-Position Motor Control Block
D010104E.EPS
MC-2E Enhanced 2-Position Motor Control Block (*1)
MC-3E Enhanced 3-Position Motor Control Block (*1)
*1: This type of function blocks can be applied to all field control stations except standard PFCS (CS 1000).
However, the optional software [Enhanced MC/Switch Instrument] is required.
Signal Setter Blocks
The table below shows a list of signal setter blocks:
Table Signal Setter Blocks
Block type Code Name
Signal Setters
RATIO Ratio Set Block
PG-L13 13-Zone Program Set Block
BSETU-2 Flow-Totalizing Batch Set Block
BSETU-3 Weight-Totalizing Batch Set Block
D010105E.EPS
Signal Limiter Block
The table below shows the signal limiter block:
Table Signal Limiter Block
Block type Code Name
Signal Limiters VELLIM Velocity Limiter Block
D010106E.EPS
Signal Selector Blocks
The table below shows a list of Signal selector blocks:
Table Signal Selector Blocks
Block type Code Name
Signal selectors
AS-H/M/L Autoselector Block
SS-H/M/L Signal Selector Block
SS-DUAL Dual-Redundant Signal Selector Block
D010107E.EPS
10th Edition : Dec.18,2003-00
D1-6 <D1.1 Regulatory Control Blocks>
IM 33S01B30-01E
Signal Distributor Blocks
The table below shows a list of signal distributor blocks:
Table Signal Distributor Blocks
Block type Code Name
Signal Distributors
FOUT Cascade Signal Distributor Block
FFSUM Feedforward Signal Summing Block
XCPL Non-Interference Control Output Block
SPLIT Control Signal Splitter Block
D010108E.EPS
Alarm Block
The table below shows the alarm block:
Table Alarm Block
Block type Code Name
Alarm ALM-R Representative Alarm Block
D010109E.EPS
Pulse Count Input Block
The table below shows the pulse count input connection block:
Table Pulse Count Input Connection Block
Block type Code Name
Pulse Count Input
Connection Block
PTC Pulse Count Input Block
D010110E.EPS
YS Blocks
The table below shows the YS blocks:
Table YS Blocks
Block type Code Name
YS instrument
SLCD YS Controller Block
SLPC YS Programmable Controller Block
SLMC YS Programmable Controller Block with Pulse-Width Output
SMST-111 YS Manual Station Block with SV Output
D010111E.EPS
SMST-121 YS Manual Station Block with MV Output Lever
SMRT YS Ratio Set Station Block
SBSD YS Batch Set Station Block
SLCC YS Blending Controller Block
SLBC YS Batch Controller Block
STLD YS Totalizer Block
10th Edition : Dec.18,2003-00
<D1.1 Regulatory Control Blocks> D1-7
IM 33S01B30-01E
D1.1.2 I/O Data Handled by the Regulatory Control Blocks
As a rule, the data transmitted via I/O terminals handled by the regulatory control
blocks must be the engineering unit data. Each data item consists of data value and
data status.
Data Value
The data value is a numeric data that is transmitted in or out of a function block. The data
values handled by the blocks include process variable (PV), cascade setpoint value (CSV)
and manipulated output value (MV).
The data values handled by the regulatory control blocks are numeric data in engineering
unit. However, the data received from the input modules (excluding the input modules for
temperature measurement as well as for pulse trains) and the setpoint data sent to ana-
logue output modules are given as percentage values in the range from 0% to 100%.
The data value read into a function block via an input terminal is called input data, while
the value written out of a function block via an output terminal is called output data.
Data Status
The data status is a piece of status information that indicates the value and quality of I/O
data.
The data status is conveyed as I/O data from one function block to another via I/O connec-
tion along with a data value.
The data status is used to test the existence of exceptional events, such as process failures
and computation errors occurred in the control computation processing performed by the
function blocks.
SEE ALSO
For the details of data status, see the following:
C6.4, Data Status
10th Edition : Dec.18,2003-00
D1-8 <D1.1 Regulatory Control Blocks>
IM 33S01B30-01E
Input Data
The input data is numeric data that the function blocks read from input terminals.
The types of input data are shown below:
Process variable (PV)
Setpoint value (SV), cascade setpoint value (CSV), remote setpoint value (RSV)
Input signal values (RV1, RV2, RV3)
Reset limit values (RLV1, RLV2)
Input or Output Compensated value (VN)
Tracking switch (TSW)
Process Variable (PV)
Process Variable Range
The engineering unit and scale range of raw input signals (RAW) input to an IN terminal
agree with the engineering unit and scale range of data at the connected destination of the
IN terminal. A raw input signal turns into a process variable (PV) after input processing.
Use the Function Block Detail Builder to set the engineering unit and scale range. However,
the process variable (PV) of Motor control blocks (MC-2, MC-3) must be an integer value
between 0 and 2.
Engineering unit:
Consists of six or less standard-width characters or three double-width characters.
The default is %.
Process variable range:
High and low limits.
Numerical values of seven digits or less, where the sign or decimal point takes one
digit each.
The default is 100.0 for the upper limit and 0.0 for the lower limit.
Setpoint Value (SV), Cascade Setpoint Value (CSV), Remote Setpoint Value
(RSV)
The engineering unit and scale range of the setpoint value (SV), cascade setpoint value
(CSV) and remote setpoint value (RSV) agree with the engineering unit and scale range of
the process variable (PV) except in the function blocks shown below:
Motor Control Blocks (MC-2, MC-2E, MC-3,
and MC-3E)
13-Zone Program Set Block (PG-L13)
Representative Alarm Block (ALM-R)
Ratio Set Block (RATIO)
Velocity Limiter Block (VELLIM)
Control Signal Splitter Block (SPLIT)
Cascade Signal Distributor Block (FOUT)
Feedforward Signal Summing Block (FFSUM)
YS Ratio Set Station Block (SMRT)
D010112E.EPS
Use the Function Block Detail
Definition Builder to set the
engineering unit and scale range
of SV for the function blocks
shown to the left. The engineering
unit and scale range of CSV and
RSV are same as those of SV.
The FOUT and FFSUM blocks
have no RSV.
The engineering unit and scale
range of the function blocks shown
to the left are fixed for each block.
10th Edition : Dec.18,2003-00
<D1.1 Regulatory Control Blocks> D1-9
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Input Signal Values (RV1, RV2, RV3)
The input signal values (RV1, RV2, RV3) are input data handled by the Signal selector
blocks.
Use the Function Block Detail Builder to set the engineering unit and scale range of input
signal values. The input signal values (RV1, RV2, RV3) are regarded as having the same
engineering unit and scale range as those of the selected signal value (PV).
Reset Limit Values (RLV1, RLV2)
The reset limit values (RLV1, RLV2) are input data that are handled by a controller block
when the reset limit function is used.
The reset limit values (RLV1, RLV2) are regarded as having the same engineering unit and
scale range as those of the manipulated output value (MV).
Input or Output Compensated Value (VN)
The engineering unit and scale range are not defined for input compensated values (VN)
received from the BIN terminal, as the numeric data of input compensated values (VN)
taken in from outside are used directly for input or output compensation computation.
Tracking Switch (TSW)
The data handled by the tracking switch (TSW) for the TSI terminal must be an integer
value of 0 or 1. 1 and 0 indicate ON and OFF, respectively.
D1-10 <D1.1 Regulatory Control Blocks>
IM 33S01B30-01E
Output Data
The output data is a numeric data value that is written out of a function block via an output
terminal.
The types of output data are shown below:
Manipulated output value (MV)
Auxiliary output values (PV, PV, MV, MV)
Process variable (PV)
Manipulated Output Value (MV)
MV Display Style
Use the Function Block Detail Builder to set the display form for the manipulated output
value (MV).
MV Display Style:
Select Automatic Determination or User Define.
The default is Automatic Determination.
When Automatic Determination is selected, the engineering unit and scale range of the
manipulated output value (MV) change according to the connected destination of the OUT
terminal.
If the connection destination is a process I/O, the scale range and engineering unit of
the manipulated output value (MV) is fixed to 0 to 100 and %, respectively. How-
ever, this rule does not apply if the connection destination is a Fieldbus block.
When outputting to a cascade setpoint value (CSV) in a case where the connection
destines to a SET terminal of another function block (cascade connection), the engi-
neering unit and scale range of the manipulated output value (MV) agree with those of
the cascade setpoint value (CSV) of the output destination.
When the connection destination is an input terminal of another function block than
SET terminal, self determination must be selected.
When User Define is selected, set the engineering unit and scale range for the manipu-
lated output value (MV). The engineering unit and the range should be the same as the
output destination.
MV Engineering Unit Symbol:
Consists of six or less standard-width characters or three double-width characters.
The default is %.
MV Range:
High and low limits.
Numerical values of seven digits or less, where the sign and decimal point occupy one
digit each.
The default is 100.0 for the upper limit and 0.0 for the lower limit.
For MV displayed on an instrument faceplate, set whether to display the engineering unit
data as is or to convert the data into a percentage-unit value first. Use the Function Block
Detail Builder to set the instrument faceplate display.
MV Display on Faceplate:
Select Indicate Actual Quantity or Indicate %.
The default is Indicate real amount.
10th Edition : Dec.18,2003-00
<D1.1 Regulatory Control Blocks> D1-11
IM 33S01B30-01E
IMPORTANT
Event when the user wants to display the MV in percentage on HIS faceplate, there is no
need to change the setting for [MV Display Style] - [User-Define] to 0% - 100%. The setting
in this field should be kept the same as the output destination; but to change the setting
[MV Display on Faceplate] from [Indicate Actual Quantity] to [Indicate %].
Auxiliary Output Values (PV, PV, MV, MV)
The auxiliary output values include PV, PV, MV and MV, the types vary with the function
block. The engineering unit and scale range of the auxiliary output values change in accor-
dance with the connected destination of the SUB terminal.
If the connected destination is a process I/O, the scale range and engineering unit of
the auxiliary output values are fixed to 0 to 100 and %, respectively. However, this
rule does not apply if the connection destination is a Fieldbus block.
When the connected destination is a function block and auxiliary output is the process
variable (PV) or process variable change (PV), the engineering unit and scale range
of the output value agree with those of the process variable (PV).
When the connected destination is a function block and auxiliary output is the manipu-
lated output value (MV) or manipulated output change (MV), the output value is
regarded as having the same engineering unit and scale range as those of the ma-
nipulated output value (MV).
Process Variable (PV)
The process variable (PV) can be output directly from the input indicator blocks.
The engineering unit and scale information of the process variable (PV) vary with the
connected destination of the OUT terminal.
If the connected destination is a process I/O, the scale range and engineering unit of
the output value are fixed to 0 to 100 and %, respectively. However, this rule does
not apply if the connection destination is a Fieldbus block.
If the connected destination is another function block, the scale range and engineering
unit of the output value agree with those of the process variable.
10th Edition : Dec.18,2003-00
D1-12 <D1.1 Regulatory Control Blocks>
IM 33S01B30-01E
D1.1.3 Input Processing, Output Processing, and Alarm
Processing Possible for Each Regulatory Control Block
A list of the types of input processing, output processing, and alarm processing that
can be performed in each regulatory control block is shown below.
Input Processing Possible for Each Regulatory Control Block
Table Input Processing Possible for Each Regulatory Control Block (1/3)
Model
Input signal
conversion
Digital filter Totalizer PV overshoot CAL
PVI
BARPSb
PVI-DV
PID
PI-HLD
PID-BSW
ONOFF
ONOFF-G
PID-TP
PD-MR
PI-BLEND
PID-STC
MLD
MLD-PVI BARPbSb
MLD-SW
MC-2
S
2
S
3
MC-3
D010113E.EPS
ONOFF-E
ONOFF-GE
MC-2E
MC-3E
B: No conversion (function block)
A: No conversion (analog input)
R: Square root conversion (analog input)
Pb: Pulse-train input conversion
S2: Two-position status input (for MC-2/3 and MC-2E/3E only)
S3: Three-position status input (for MC-2/3 and MC-2E/3E only)
Sb: Subsystem input
: Exists
Blank: Not exist
10th Edition : Dec.18,2003-00
<D1.1 Regulatory Control Blocks> D1-13
IM 33S01B30-01E
Table Input Processing Possible for Each Regulatory Control Block (2/3)
Model
Input signal
conversion
Digital filter Totalizer PV overshoot CAL
RATIO (*1) BARPbSb
PG-L13
BSETU-2 BARPbSb
BSETU-3 BACSb
VELLIM
SS-H/M/L
AS-H/M/L
SS-DUAL (*2) BASb
FOUT
FFSUM
XCPL
SPLIT
PTC (*3) (*3)
ALM-R
D010114E.EPS
B: No conversion (function block)
A: No conversion (analog input)
R: Square root conversion (analog input)
Pb: Pulse-train input conversion
C: Code input (for BSETU-3 only)
Sb: Subsystem input
: Exists
Blank: Not exist
*1: The input processing will not function when the data setting is performed to the PV by cascade connection.
*2: The input processing is performed against the input signal on the selected side.
*3: Performs a PTC block independent processing
Table Input Processing Possible for Each Regulatory Control Block (3/3)
Model
Input signal
conversion
Digital filter Totalizer PV overshoot CAL
SLCD B/R
SLPC
SLMC
(*1)
(*1)
(*1)
(*1)
SMST-111
SMST-121
SMRT
SBSD
SLBC
SLCC
STLD
D010115E.EPS
B: No conversion
R: Square root conversion
: Exists
Blank: Not exist
*1: Display the sum of YS Instrument.
10th Edition : Dec.18,2003-00
D1-14 <D1.1 Regulatory Control Blocks>
IM 33S01B30-01E
Output Processing Possible for Each Regulatory Control Block
Table Output Processing Possible for Each Regulatory Control Block (1/2)
Model
Output
limit
Velocity
limit
Clamped
output
PMV
Output
track
Range
track
Auxiliary
output
Output signal
conversion
PVI
PPd BASb
PVI-DV
PID
PPdMMd BAPwPwfSb
PI-HLD
PID-BSW PPdMMd BAPwfSb
ONOFF PPd
S
2
S
2
ONOFF-G PPd
S
3
PID-TP (*2) PPdMMd D
PD-MR PPdMMd BAPwfSb
PI-BLEND
PPdMMd BAPwPwfSb
PID-STC
MLD (*1)
(*1)
(*1)
MMd BAPwfSb
MLD-PVI (*1) PPdMMd BAPwfSb
MLD-SW (*1) MMd BAPwfSb
MC-2
S
2
P
2
MC-3
S
3
P
3
D010116E.EPS
ONOFF-E PPd
ONOFF-GE PPd
S
3
MC-2E
S
2
P
2
MC-3E
S
3
P
3
P: PV
Pd: PV
M: MV
Md: MV
B: Unconverted output (function block)
A: Analog output
D: Time-proportioning ON/OFF output
Pw: Pulse width output (without FB)
Pwf: Pulse width output (with FB)
S
2
: 2-position status output
S
3
: 3-position status output
P
2
: 2-position pulsive output
P
3
: 3-position pulsive output
Sb: Subsystem output
*1: Selectable by builder setting.
*2: The velocity limiter functions when the block is in AUT mode, but not when the block is in MAN mode regardless the
setting for [MAN Mode Velocity Limiter Bypass].
10th Edition : Dec.18,2003-00
<D1.1 Regulatory Control Blocks> D1-15
IM 33S01B30-01E
Table Output Processing Possible for Each Regulatory Control Block (2/2)
Model
Output
limit
Velocity
limit
Clamped
output
PMV
Output
track
Range
track
Auxiliary
output
Output signal
conversion
RATIO PPdMMd BAPwfSb
PG-L13 (*1) BASb
BSETU-2
BAS2bS3b
S2sS3sb
BSETU-3
VELLIM MMd BASb
SS-H/M/L BASb
AS-H/M/L BASb
SS-DUAL BASb
FOUT (*2) B
FFSUM PPdMMd BAPwfSb
XCPL MMd BAPwfSb
SPLIT BASb
PTC
ALM-R
D010117E.EPS
YS Blocks (*4)
(*3)
P: PV
Pd: PV
M: MV
Md: MV
B: Unconverted output (function block)
A: Analog output
Pwf: Pulse width output (with FB)
S2b: 2-position status output (BSETU-2/3 only)
S3b: 3-position status output (BSETU-2/3 only)
S2s: 2-position status output through switch instrument (BSETU-2/3 only)
S3s: 3-position status output through switch instrument (BSETU-2/3 only)
Sb: Subsystem output
*1: Always restricted by MSH/MSL
*2: Only tracking of the CLP status of the output destination is performed.
*3: Performs processing unique to PTC block.
*4: YS Blocks contain the following models:
SLCD, SLPC, SLMC, SMST-111, SMST-121, SMRT, SBSD, SLBC, SLCC, STLD.
10th Edition : Dec.18,2003-00
D1-16 <D1.1 Regulatory Control Blocks>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Alarm Processing Possible for Each Regulatory Control
Table Alarm Processing Possible for Each Regulatory Control Block (1/3)
Model
Process alarms
Other alarms
N
R
O
O
P
I
O
P
I
O
P
-
H
H
L
L
H
I
L
O
D
V
+
D
V
-
V
E
L
+
V
E
L
-
M
H
I
M
L
O
C
N
F
PVI
PVI-DV
PID
PI-HLD
PID-BSW
ONOFF
ONOFF-G
PID-TP
PD-MR
PI-BLEND
HDV
LDV
PID-STC
MLD
MLD-PVI
MLD-SW
MC-2
MC-2E
TRIP
PERR
ANS+
ANS-
INT
MC-3
MC-3E
D010118E.EPS
ONOFF-E
ONOFF-GE
: Available
Blank: Not available
<D1.1 Regulatory Control Blocks> D1-17
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Table Alarm Processing Possible for Each Regulatory Control Block (2/3)
Model
Process alarms
Other alarms
N
R
O
O
P
I
O
P
I
O
P
-
H
H
L
L
H
I
L
O
D
V
+
D
V
-
V
E
L
+
V
E
L
-
M
H
I
M
L
O
C
N
F
RATIO Not available
PG-L13 Not available
BSETU-2
NPLS (*1)
BDV+
BDV-
LEAK
BEND
BPRE
BSETU-3
VELLIM Not available
SS-H/M/L
AS-H/M/L
SS-DUAL
FOUT (*2)
FFSUM
XCPL
SPLIT
PTC
ALM-R
HALM
MALM
LALM
RALM
D010119E.EPS
: Available
Blank: Not available
*1: The NPLS alarm is only supported in the BSETU-2 but not in the BSETU-3.
*2: FOUT does not have an alarm status. Nevertheless, the output fail check and the bad connection status alarm check
are performed and the results are transmitted to the upstream function block. An output fail of FOUT is generated when
output fail is detected at all FOUT output destinations.
D1-18 <D1.1 Regulatory Control Blocks>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Table Alarm Processing Possible for Each Regulatory Control Block (3/3)
Model
Process alarms
Other alarms
N
R
O
O
P
I
O
P
I
O
P
-
H
H
L
L
H
I
L
O
D
V
+
D
V
-
V
E
L
+
V
E
L
-
M
H
I
M
L
O
C
N
F
SLCD
D010120E.EPS
SLPC
SLMC
SMST-111
SMST-121
SMRT
SBSD
END
PRE
LERK
SLBC
END
PRE
LERK
SLCC HDV
STLD
: Available
Blank: Not available
<D1.1 Regulatory Control Blocks> D1-19
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
D1.1.4 Valid Block Modes for Each Regulatory Control Block
A list of valid block modes for each regulatory control block is shown below.
Valid Block Modes for Each Regulatory Control Block
Table Valid Basic Block Modes for Each Regulatory Control Blocks (1/2)
Model Name of function block
Valid basic block modes
PVI Input indicator block
- - -
- - - -
PVI- DV Input indicator block with deviation alarm
PID PID controller block
PI-HLD Sampling PI controller block
PID-BSW PID controller block with batch switch
ONOFF Two-position ON/OFF controller block
- - ONOFF-G Three-position ON/OFF controller block
PID-TP Time-proportioning ON/OFF controller block
PD-MR PD controller block with manual reset
PI-BLEND Blending PI controller block
-
PID-STC Self-tuning PID controller block
MLD Manual loader block
- - - - -
MLD-PVI Manual loader block with input indicator
MLD-SW Manual loader block with Auto/Man SW
- - -
MC-2 Two-position motor control block
- -
MC-3 Three-position motor control block
RATIO Ratio set block
-
PG-L13 13-zone program set block
-
- - -
D010121E.EPS
ONOFF-E Enhanced two-position ON/OFF controller block
ONOFF-GE Enhanced three-position ON/OFF controller block
MC-2E Enhanced two-position motor control block
MC-3E Enhanced three-position motor control block
O
/
S
I
M
A
N
T
R
K
M
A
N
A
U
T
C
A
S
P
R
D
R
C
A
S
R
O
U
T
: Valid
-: Invalid
: For MLD-SW, CAS mode can be specified instead of AUT mode.
D1-20 <D1.1 Regulatory Control Blocks>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Table Valid Basic Block Modes for Each Regulatory Control Blocks (2/2)
Model Name of function block
Valid basic block modes
BSETU -2 Flow-totalizing batch set block
- - - - -
BSETU -3 Weight-totalizing batch set block
VELLIM Velocity limiter block
- -
SS-H/M/L Signal selector block
- - - - - - -
AS-H/M/L Autoselector block
- - - - -
SS-DUAL Dual-redundant signal selector block
- - -
- - - -
FOUT Cascade signal distributor block
- - - - - - - - -
FFSUM Feedforward signal summing block
- - -
XCPL Non-inteference control output block
Control signal splitter block
- - - -
SPLIT
- -
-
-
PTC Pulse count input block
- - -
- - - -
ALM-R Representative alarm block
- - -
- - - -
D010122E.EPS
SLCD YS controller block
-
-
SLPC YS programmable controller block
-
-
SLMC YS programmable controller block with pulse-width output
-
-
SMST-111 YS manual station block with SV output
- -
- -
SMST-121 YS manual station block with MV output lever
- -
- -
SMRT YS ratio set station block
-
-
SBCD YS batch set station block
-
-
SLCC YS blending controller block
-
-
SLBC YS batch controller block
-
-
STLD YS totalizer block
-
-
-
-
-
-
-
-
-
-
O
/
S
I
M
A
N
T
R
K
M
A
N
A
U
T
C
A
S
P
R
D
R
C
A
S
R
O
U
T
: Valid
-: Invalid
<D1.2 Input Indicator Block (PVI)> D1-21
IM 33S01B30-01E
D1.2 Input Indicator Block (PVI)
This function block displays an input signal from the I/O modules or from the other
blocks as process variable (PV). It can also output the process variable (PV) from the
OUT terminal.
This block may be used only for indicating the process variable.
Input Indicator Block (PVI)
Connection
The figure below shows a function block diagram of the Input Indicator Block (PVI):
PV OUT
(PV, PV)
SUB
IN
Input
processing
D010201E.EPS
Figure Function Block Diagram of Input Indicator Block (PVI)
The table below shows the connection method and connected destination of the I/O termi-
nals of the Input Indicator Block (PVI):
Table Connection Method and Connected Destination of I/O Terminals of Input Indicator Block
(PVI)
I/O terminal
Connection method Connection destination
Data
reference
Data
setting
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN Measurement input
OUT
Process variable
output
SUB Auxiliary output
D010202E.EPS
: Connection allowed
Blank: Connection not allowed
: Connection allowed only when connecting to a switch block (SW-33, SW-91) or inter-station data link block (ADL).
10th Edition : Dec.18,2003-00
D1-22 <D1.2 Input Indicator Block (PVI)>
IM 33S01B30-01E
Function of Input Indicator Block (PVI)
The PVI block performs input processing, output processing, and alarm processing.
The only processing timing available for the PVI block is a periodic 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. Moreover, it is
possible to specify the scan coefficient and the scan phase.
*1: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the PVI block,
see the following:
D1.1.3, Input Processing, Output Processing, and Alarm Processing Possible for Each Regulatory Con-
trol Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
10th Edition : Dec.18,2003-00
<D1.2 Input Indicator Block (PVI)> D1-23
IM 33S01B30-01E
Data Items - PVI
Table Data Items of Input Indicator Block (PVI)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- 0
AF Alarm detection specification ----- 0
AOFS Alarm masking specification ----- 0
PV Process variable (*1) PV engineering unit value SL
RAW Raw input data Value in the unit at the connection destination -----
SUM Totalizer value Engineering unit value 0
HH High - high limit alarm setpoint SL to SH SH
LL Low - low limit alarm setpoint SL to SH SL
PH High - limit alarm setpoint SL to SH SH
PL Low - limit alarm setpoint SL to SH SL
VL Velocity alarm setpoint (SH - SL) SH - SL
PVP Velocity-Reference Sample Value in the same engineering unit as PV -----
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
SH PV scale high limit Value in the same engineering unit as PV -----
SL PV scale low limit Value in the same engineering unit as PV -----
D010203E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
SEE ALSO
For a list of valid block modes of the PVI block, see the following:
D1.1.4, Valid Block Modes for Each Regulatory Control Block
10th Edition : Dec.18,2003-00
D1-24 <D1.3 Input Indicator Block with Deviation Alarm (PVI-DV)>
IM 33S01B30-01E
D1.3 Input Indicator Block with Deviation Alarm
(PVI-DV)
The Input Indicator Block with Deviation Alarm (PVI-DV) displays an input signal as a
process variable (PV), provides the deviation alarm function, and outputs a PV from
the OUT terminal. This block is used for PV display, and deviation alarm indicating
the difference between a PV and a setpoint value (SV).
Input Indicator Block with Deviation Alarm (PVI-DV)
Connection
The Input Indicator Block with Deviation Alarm (PVI-DV) displays an input signal received
from an I/O module or other function block as a process variable (PV).
In addition to the function to display an input signal as a process variable (PV), Input Indica-
tor Block with Deviation Alarm (PVI-DV) provides two other functions: deviation alarm
check and setpoint value limiter.
By presetting a deviation alarm setpoint (DL), the deviation (DV) of the setpoint value (SV)
from process variable (PV) can be confirmed.
The figure below shows a function block diagram of Input Indicator Block with Deviation
Alarm (PVI-DV):
PV
SV DV
OUT
(PV, PV)
SUB
IN
Input
processing
-
+
D010301E.EPS
Figure Function Block Diagram of Input Indicator Block with Deviation Alarm (PVI-DV)
The table below shows the connection methods and connected destinations of the I/O
terminals of Input Indicator Block with Deviation Alarm (PVI-DV):
Table Connection Methods and Connected Destinations of I/O Terminals of Input Indicator Block
with Deviation Alarm (PVI)
I/O terminal
Connection method Connection destination
Data
reference
Data
setting
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN Measurement input
OUT
Process variable
output
SUB Auxiliary output
D010302E.EPS
: Connection allowed
Blank: Connection not allowed
: Connection allowed only when connecting to a switch block (SW-33, SW-91) or inter-station data link block (ADL).
10th Edition : Dec.18,2003-00
<D1.3 Input Indicator Block with Deviation Alarm (PVI-DV)> D1-25
IM 33S01B30-01E
Function of Input Indicator Block with Deviation Alarm (PVI-DV)
The PVI-DV block performs input processing, output processing, and alarm processing.
The only processing timing available for the PVI-DV block is a periodic 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. Moreover, it is
possible to specify the scan coefficient and the scan phase.
*1: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the PVI-DV block,
see the following:
D1.1.3, Input Processing, Output Processing, and Alarm Processing Possible for Each Regulatory Con-
trol Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
This section describes the deviation alarm check function and the setpoint value limiter
function, which constitute some of the processing performed by the PVI-DV block.
Deviation Alarm Check
The deviation alarm check function generates a deviation alarm when the absolute value of
deviation (DV) between the setpoint value (SV) and process variable (PV) exceeds the
absolute value of the preset deviation alarm setpoint (DL).
When the deviation (DV) exceeds the high limit of the deviation alarm setpoint (DL):
A positive deviation alarm (DV+) is generated.
When the deviation (DV) falls below the low limit of the deviation alarm setpoint (DL):
A negative deviation alarm (DV-) is generated.
The deviation (DV) of the process variable (PV) from the setpoint value (SV) is represented
by the following expression:
DV=PV-SV
SEE ALSO
For the details of the deviation alarm check, see the following:
C5.6, Deviation Alarm Check
10th Edition : Dec.18,2003-00
D1-26 <D1.3 Input Indicator Block with Deviation Alarm (PVI-DV)>
IM 33S01B30-01E
Setpoint Value Limiter
The setpoint value limiter function limits the setpoint value (SV) within a range between the
setpoint high limit (SVH) and setpoint low limit (SVL).
The actions of the setpoint value limiter are described below:
When a value exceeding the setpoint high limit (SVH) or high alarm setpoint (PH) is
set as a setpoint value (SV):
An acknowledgment dialog box appears to prompt for the operators confirmation. To
check alarm operation, the operator can set a value exceed the setpoint high limit
(SVH) or high alarm setpoint (PH).
When a value below the setpoint low limit (SVL) or low alarm setpoint (PL) is set as a
setpoint value (SV):
An acknowledgment dialog box appears to prompt for the operators confirmation. To
check alarm operation, the operator can set a value exceed the setpoint low limit
(SVL) or low alarm setpoint (PL).
The parameters of the setpoint value limiter:
Setpoint high limit (SVH):
Engineering unit data within the PV scale range.
The default is the scales high limit.
Setpoint low limit (SVL):
Engineering unit data within the PV scale range.
The default is the scales low limit.
10th Edition : Dec.18,2003-00
<D1.3 Input Indicator Block with Deviation Alarm (PVI-DV)> D1-27
IM 33S01B30-01E
Data Items PVI-DV
Table Data Items of Input Indicator Block with Deviation Alarm (PVI-DV)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- 0
AF Alarm detection specification ----- 0
AOFS Alarm masking specification ----- 0
PV Process variable (*1) PV engineering unit value SL
RAW Raw input data Value in the unit at the connection destination -----
SUM Totalizer value
Engineering unit value 0
SV Setpoint value Value in the same engineering unit as PV SL
DV Deviation Value in the same engineering unit as PV 0
HH High - high limit alarm setpoint SL to SH SH
LL Low - low limit alarm setpoint SL to SH SL
PH High - limit alarm setpoint SL to SH SH
PL Low - limit alarm setpoint SL to SH SL
VL Velocity alarm setpoint (SH - SL) SH - SL
PVP Velocity-Reference Sample Value in the same engineering unit as PV -----
DL Deviation alarm setpoint (SH - SL) SH - SL
SVH Setpoint high limit SL to SH SH
SVL Setpoint low limit SL to SH SL
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
SH PV scale high limit Value in the same engineering unit as PV -----
SL PV scale low limit Value in the same engineering unit as PV -----
D010303E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
SEE ALSO
For a list of valid block modes of the PVI-DV block, see the following:
D1.1.4, Valid Block Modes for Each Regulatory Control Block
10th Edition : Dec.18,2003-00
D1-28 <D1.4 Control Computation Processing Common to Controller Blocks>
IM 33S01B30-01E
D1.4 Control Computation Processing Common to
Controller Blocks
The various types of controller blocks, represented by PID controller, have some
common computation processing functions. This chapter explains the control
computation processing functions that are common to multiple controller blocks.
The control computation processing functions specific to each controller block are
explained in the section of the corresponding controller block.
Control Computation Processing Common to Controller Blocks
The table below shows the control computation processing functions that are common to
multiple controller blocks:
Table Control Computation Processing Common to Controller Blocks (1/2)
Control computation processing Description
Non-linear gain
Changes the proportional gain in accordance with the degree of deviation so that the
relationship between the deviation and control output change (MV) becomes non-linear.
Gap action
Lowers the proportional gain to moderate control effects when the deviation is within the
gap width (GW) range.
Squared deviation action
Changes the proportional gain according to the degree of deviation when the deviation is
within the gap width (GW) range.
Control output action
Converts the manipulated output change (MV) during each control period to an actual
manipulated output value (MV). The control output actions include positional type and
velocity type.
Control action direction
Switches the direction of the output action (reverse action or direct action) in accordance
with the increase or decrease in deviation.
Reset limit function
Performs correction computation using values read from the connection destinations of
input terminals RL1 and RL2 during PID control computation. This function prevents
reset windup.
Deadband action
Adjusts the manipulated output change (MV) to 0 when the deviation is within the
deadband range, in order to stop the manipulated output value (MV) from changing.
I/O compensation
Adds the I/O compensated value (VN) received from outside to the input signal or control
output signal of PID computation when the controller block is operating automatically.
Input compensation
Adds the I/O compensated value (VN) received from the outside to the input signal of the
PID control computation.
Output compensation
Adds the I/O compensated value (VN) received from outside to the output signal of the
PID control computation.
Process variable tracking Causes the setpoint value (SV) to agree with the process variable (PV).
Setpoint value limiter Limits the setpoint value (SV) within the setpoint high/low limits (SVH, SVL).
Setpoint value pushback Causes two of the three setpoint values (SV, CSV, RSV) to agree with the remaining one.
D010401E.EPS
10th Edition : Dec.18,2003-00
<D1.4 Control Computation Processing Common to Controller Blocks> D1-29
IM 33S01B30-01E
Table Control Computation Processing Common to Controller Blocks (2/2)
Control computation processing Description
Bumpless switching
Switches the manipulated output value (MV) without causing it to change abruptly when
the block mode has been changed or when the manipulated output value (MV) has been
switched in a downstream block in cascade.
Initialization manual
Changes the block mode to IMAN to temporarily suspend the control action. This action
takes place when the initialization manual condition becomes satisfied.
Control hold
Temporarily suspends the control action while maintaining the current block mode.
During control hold, the output action is performed normally.
MAN fallback
Changes the block mode to MAN to forcibly stop the control action. This action takes
place when the MAN fallback condition becomes satisfied.
AUT fallback
Changes the block mode to AUT when the function block is operating in the CAS or PRD
mode, so that the control action is continued using values set by the operator. This action
takes place when the AUT fallback condition becomes satisfied.
Computer failure
Temporarily suspends the control action and switches to the computer backup mode when
an error has been detected at a supervisory computer while the function block is operating
in the RCAS or ROUT mode. This action takes place when the computer failure condition
becomes satisfied.
Block mode change interlock
Stops the control action of function blocks currently operating automatically, while
disabling the stopped function blocks from changing to the automatic operating mode.
PRD mode action
Outputs the cascade setpoint value (CSV) after converting it to a manipulated output value
(MV) when the block mode has been changed to PRD.
D010402E.EPS
SEE ALSO
For the control computation processing functions specific to each controller block, see a the chapter or
section of the corresponding controller block in the following sections,
from D1.5, PID Controller Block (PID)
through D1.13, Self-Tuning PID Controller Block (PID-STC).
10th Edition : Dec.18,2003-00
D1-30 <D1.4 Control Computation Processing Common to Controller Blocks>
IM 33S01B30-01E
Non-Linear Gain
Non-Linear Gain
The non-linear gain function changes the proportional gain in accordance with the deviation
of the process variable (PV) from the setpoint value (SV) in the control computation. As a
result, a non-linear relationship is formed between the manipulated output change (MV)
and the deviation of the process variable (PV) from setpoint value (SV).
The non-linear gain function is used for pH control, in which the process gain often be-
comes too high near the target value, or for buffer tank level control, whose purpose is to
stabilize the discharge volume while maintaining the tank level within the limits.
The actions that realize the non-linear gain function include gap actions and squared
deviation actions.
Processing Flow of Non-Linear Gain
The non-linear gain function calculates the control output change (MV), using the effective
proportional gain (Kpe) obtained through non-linear correction of proportional gain (Kp).
The figure below shows a flow of the non-linear gain.
MV
En
GW Kp
PID
computation
Non-linear
gain computation
Kpe
MV: Manipulated output change
Kpe: Effective proportional gain
En: Deviation
GW: Gap width
Kp: Proportional gain
D010403E.EPS
Figure Processing Flow of the Non-Linear Gain
Setting Non-Linear Gain
Use the Function Block Detail Builder to set the non-linear gain.
Non-linear gain:
Select No, Gap Action or Squared Deviation Action.
The default is No.
10th Edition : Dec.18,2003-00
<D1.4 Control Computation Processing Common to Controller Blocks> D1-31
IM 33S01B30-01E
Gap Action
The gap action moderates control effects by lowering the proportional gain when the
deviation is within the preset gap width (GW).
Non-Linear Gain Characteristics of Gap Action
If a non-linear gain coefficient (Knl) has been set, the effective proportional gain (Kpe) is
obtained by the following expression when the deviation is within the gap width (GW):
Kpe=Kp Knl
Once the deviation exceeds the limits of the gap width (GW), the effective proportional gain
(Kpe) is obtained by the following expression:
Kpe= 1-(1-Knl) Kp
GW
| En |
D010404E.EPS
The figure below shows the non-linear gain characteristics of the gap action:
D010405E.EPS
0.25
0.5
Kp
0 Gap width
(GW)
Gap width
(GW)
Gap width
(GW)
Deviation (En)
Effective proportional
gain (Kpe)
Equivalent deviation:
The deviation equivalent to a state
in which no non-linear gain is specified.
Equivalent
deviation
(En')
Knl=1.0
Knl=0.5
Knl=0.25
Knl=0.0
Knl=1.0
Knl=0.0
Knl=0.25
Knl=0.5
0
Deviation (En)
Figure Non-Linear Gain Characteristics of Gap Action
10th Edition : Dec.18,2003-00
D1-32 <D1.4 Control Computation Processing Common to Controller Blocks>
IM 33S01B30-01E
Setting Gap Action
Use the Function Block Detail Builder to set the non-linear gain coefficient.
Gap Gain: Select 1.0, 0.5, 0.25 or 0.
The default is 1.0.
Table Relationship between the Non-linear Gain Coefficient and Effective Proportional Gain
Gain coefficient (Knl) | En |>GW
1.0 (linear) - -
0.5
0.25
0 0
D010406E.EPS
| En |GW
Kp
4
1
Kp
2
1
(1- ) Kp
GW
2 | En |
(1- ) Kp
3GW
4 | En |
(1- ) Kp
GW
| En |
Set Parameter of Gap Action
The parameter of the gap action:
Gap width (GW):
Engineering unit data between 0 and the PV scale span range limit.
The default is 0.
10th Edition : Dec.18,2003-00
<D1.4 Control Computation Processing Common to Controller Blocks> D1-33
IM 33S01B30-01E
Squared Deviation Action
The squared deviation action changes the proportional gain in proportion to the degree of
deviation when the deviation is within the preset gap width (GW).
Non-Linear Gain Characteristics of Squared Deviation Action
If a gap width (GW) has been set, the effective proportional gain (Kpe) is obtained by the
following expression when the deviation is within the gap width (GW):
Kpe= Kp
| En |
GW D010407E.EPS
Once the deviation exceeds the limits of the gap width (GW), the effective proportional gain
(Kpe) is represented by the following expression:
Kpe=Kp
The figure below shows the non-linear characteristics of the squared deviation action:
D010408E.EPS
Kp
0 Gap width
(GW)
Gap width
(GW)
Gap width
(GW)
Deviation (En)
Deviation (En)
Effective proportional
gain (Kpe)
Equivalent deviation:
The deviation equivalent to a state
in which no non-linear gain is specified.
Equivalent
deviation
(En')
0
Figure Non-Linear Characteristics of the Squared Deviation Action
Set Parameter of Squared Deviation Action
The parameter of the squared deviation action:
Gap width (GW):
Engineering unit data between 0 and the PV scale span range limit.
The default is 0.
10th Edition : Dec.18,2003-00
D1-34 <D1.4 Control Computation Processing Common to Controller Blocks>
IM 33S01B30-01E
Control Output Action
The control output action converts the manipulated output change (MV) during each
control period to an actual manipulated output value (MV). There are two types of control
output actions: velocity type and positional type.
Velocity Type
Adds the current manipulated output change (MV) to the value readback from the output
destination (MVrb) and determines the manipulated output value (MVn).
The computational expression of the velocity-type control output action is shown below:
MVn=MVrb+MVn
Positional Type
Adds the current manipulated output change (MV) to the previous output value (MVn-1)
and determines the manipulated output value (MVn).
The computational expression of the positional-type control output action is shown below:
MVn=MVn-1+MVn
Setting Control Calculation Output Action
Use the Function Block Detail Builder to set the control calculation output action.
Control Calculation Output Type:
Select Velocity Output Action or Positional Output Action.
The default is Positional Output Action.
10th Edition : Dec.18,2003-00
<D1.4 Control Computation Processing Common to Controller Blocks> D1-35
IM 33S01B30-01E
Control Action Direction
Control Action
The control action direction function switches between direct action and reverse action that
reflect the increase or decrease of manipulated output value.
Direct Action and Reverse Action
The direct action and reverse action indicate the increase and decrease directions of the
manipulated output value (MV) corresponding to deviation changes.
When the setpoint value (SV) is fixed, the relationship between the process value (PV) and
the manipulated output value (MV) in direct action and the reversed action is shown as
follows.
Direct action
The control action in which the manipulated output value (MV) increases as the
process variable (PV) increases, or decreases as the process variable decreases.
Reverse action
The control action in which the manipulated output value (MV) decreases as the
process variable (PV) increases, or increases as the process variable decreases.
Setting Control Action Direction
Use the Function Block Detail Builder to set the control action direction:
Control Action: Select Direct or Reverse.
The default is Reverse.
Reset Limit Function
The reset limit function prevents the occurrence of reset windup (integral saturation) by
setting limits to the integral term in PID control computation. The reset limit function is
applied only to the positional-type control output actions.
Reset Windup
In PID control computation, the value obtained via the integral action represents an inte-
grated value of deviation by time. Therefore, when a batch control stops, if the deviation
prolongs, the integral term in PID control computation becomes saturated due to the
integral action. This condition is called reset windup (integral saturation).
For example, reset windup often occurs in the following situation:
The control computation value exceed the manipulated variable high-limit or low-limit
setpoint (MH, ML) and the output is limited by the H/L limiter.
The output to the manipulation terminal is switched off by an Auto-selector blocks, etc.
Manipulated output is used as the additional signal from a PID controller block (PID)
for the purpose of fine-adjust of the base load feedforward control.
When reset windup occurs, the control result tends to overshoot, and as a result the pro-
cess becomes unstable. In a control loop that reset windup may happen, you should select
positional-type control output action and use the reset limit function.
10th Edition : Dec.18,2003-00
D1-36 <D1.4 Control Computation Processing Common to Controller Blocks>
IM 33S01B30-01E
Reset Limit Function
The reset limit function carries out the correction to the PID control computation with the
values read from the connected destinations via the RL1 and RL2 terminals.
The values read from the connected destinations via RL1 and RL2 terminals are used as
reset signals RLV1 and RLV2. The reset signals RLV1, RLV2 are used to perform the
following correction computation to the output value of PID computation (MVn0). Thus,
when the output MV is limited by the manipulated variable high-limit and low-limit setpoints
(MH, ML), the reset limit exerts directly on the integral term of the output value (MV'), the
value before MV in computation.
If the RL1 terminal is not connected, the value readback from the output destination is used
as the reset signal value RLV1. If the RL2 terminal is not connected, 0 is used in computa-
tion as reset signal RLV2.
MVn=MVn0+ (RLV1-RLV2-MV'n-1)
T
TI D010409E.EPS
MV: Manipulated output change (after correction)
MVn0: PID computed value (manipulated output change before correction)
MV'n-1: Previously computed MV value (value before output limiting)
RLV1: Reset signal from the RL1 terminal
RLV2: Reset signal from the RL2 terminal
T: Control period
TI: Integral time
The following phenomena occur during velocity-type Control Action:
Reset windup
Normally reset windup do not happen to the velocity-type control output actions, since
the cumulative value of manipulated output changes (MV) of each scan period is
limited. However, if the values readback from the output destination are not limited by
the MV H/L scale setpoints nor by the MV H/L limiter, the manipulated output change
(MV) of each scan period is accumulated, similar to the positional-type actions.
Consequently, the reset windup happens.
Output excess pullback phenomenon
When the manipulated output value (MV) is limited by the manipulated variable high-
limit or low-limit setpoint (MH, ML) as a result of changes caused by pulse-type distur-
bances, an output excess pullback phenomenon happens if the control output action
is velocity type.
When the manipulated output value was limited by the manipulated variable high-limit
or low-limit setpoint (MH, ML), a significant change in the process variable (PV)
caused by disturbances can pullback the manipulated output value (MV) excessively
from the original value. When the disturbance disappears, the process variable re-
turns to the original level. This is called the output excess pullback phenomenon.
This phenomenon happens because the manipulated output value (MV) are limited by
the manipulated variable high-limit or low-limit setpoint (MH, ML). The current MV
limited by the limiter is added with a delta MV caused by the disturbance negative to
the current MV direction.
The output excess pullback phenomenon does not happen if the control output action
is positional type since the proportional term of the manipulated output value (MV) is
not limited by the manipulated variable high-limit or low-limit setpoint (MH, ML).
10th Edition : Dec.18,2003-00
<D1.4 Control Computation Processing Common to Controller Blocks> D1-37
IM 33S01B30-01E
Example for Positional-Type Control Output Action
The following section explains the example that how the reset limit acts when the control
computation value of the function block with positional-type output action exceed the
manipulated variable high-limit or low-limit setpoint (MH, ML).
With a positional-type control output action, the control computation value in the current
control period (MV'n) is the sum of the manipulated output change (MVn) obtained from
the current PID computation, and the control computation value in the previous control
period (MV'n-1).
MV'n=MVn+MV'n-1
The control computation value (MV'n) in the current control period limited by the manipu-
lated variable high-limit and low-limit setpoints (MH, ML) is output as the manipulated
output value (MVn).
The figure below shows an example of the reset limit function for the positional-type control
output action:
D010410E.EPS
MV'n MVn
RLV2 RLV1
OUT
RL1 RL2
PID
computation
Output limiter
DMVn
Control computation
Output
destination data
+
+
Figure Reset Limit Function for a Positional-Type Control Output Action
When the reset limit function is not used, positive or negative values is continuously added
to the integral term of the manipulated output change (MV) so long the positive or nega-
tive deviation exists. If the situation sustains, the manipulated output change (MV) is
added to the control computation value (MV') continuously and make it reach the MV scale
high limit (MSH) or the MV scale low limit (MSL) or the manipulated variable high-limit or
low-limit setpoint (MH, ML) and continue to windup. As a result, saturation (reset windup)
happens to the integral term of the control computation value (MV'). Because the integral
term is saturated, the manipulated output value (MV) limited by the limiter does not move
back even when the sign of deviation changes to the pullback direction. The MV starts to
pullback only when the control computation value (MV') returns to the range between the
manipulated output high-limit and low-limit setpoints (MH, ML).
In the same situation, if the reset limit function is used, the integral term of the manipulated
output value (MV') will be limited to the value RLV1 - RLV2 as a result of correction com-
putation. Even if the deviation sustains, the reset windup does not happens.
10th Edition : Dec.18,2003-00
D1-38 <D1.4 Control Computation Processing Common to Controller Blocks>
IM 33S01B30-01E
Example on the Figure Reset Limit Function for a Positional-Type Control Output Action,
neither the RL1 or RL2 terminal is connected. Therefore, the reset signal RLV1 is the
readback value from the output destination, while the value of reset signal RLV2 is 0. For
example, suppose a loop is in cascade (CAS) mode, if the manipulated output (MV) is
limited by the manipulated variable high-limit setpoint (MH), the reset signal RLV1 becomes
the manipulated variable high-limit setpoint (MH). In this situation, the integral term of the
control computation value (MV') is adjusted gradually to the value obtained by subtracting
RLV2 from RLV1 (i.e., MH), even when the deviation sustains, it does not exceed the
manipulated variable high-limit setpoint (MH).
The manipulated output value (MV) will quickly move away from the limit when the sign of
the manipulated output change (MV) reverses and agrees to the pullback direction of the
value from output limiting. This is because the control computation value (MV') is limited
within the manipulated variable high-limit and low-limit setpoints (MH, ML).
Example for a Simple Cascade Control loop
The figure below shows an application example of using the reset limit function to a simple
cascade control loop. The RL1 and RL2 terminals are not connected.
Since the RL1 or RL2 terminals are not connected the reset signal RLV1 becomes the
readback value from the output destination and the value of the reset signal RLV2 becomes
0.
If use the readback value of the manipulated output value (MV) output destination to
compute the difference of the two reset signals (RLV1 - RLV2), there is no need to have
terminal RL1 or RL2 connected.
D010411E.EPS
RLV1
SET
PID
OUT
PID
OUT IN
Figure Reset Limit Function for a Simple Cascade Control loop
10th Edition : Dec.18,2003-00
<D1.4 Control Computation Processing Common to Controller Blocks> D1-39
IM 33S01B30-01E
Application Example to Auto-Selection via Auto-Selector Blocks (AS-H)
The figure below shows an example of the reset limit function when automatically selecting
the signals from two function blocks using an Auto-selector blocks (AS-H).
Suppose the two PID Controller Blocks (PID) on the left side of the figure are velocity-type,
even when the deviation is within the switching point, the disturbance of the process vari-
able may trigger the output excess pullback to the manipulated output value (MV). Thus
make the Auto-selector blocks (AS-H) switch temporarily to the other controller. To define
the positional-type output action using the reset limit function can avoid this happening.
D010412E.EPS
IN1
IN2 IN
RL1
OUT
OUT
RL1
SET
PID
OUT
PID AS-H
OUT
IN
PID
IN
Figure Reset Limit Function Used for Auto-Selection via Auto-Selector Blocks (AS-H)
Application Example in Feedforward Control
The figure below shows an example of the reset limit function used in feedforward control.
This example assumes base load control that uses the feedforward signals from the OUT
terminal of the General-Purpose Calculation Block (CALCU) as the base load values. To
prevent reset windup of the upstream PID Controller Block (PID), the RL2 terminal refer-
ences the feedforward signals, while the RL1 terminal references the process variable of
the downstream PID Controller Block (PID).
D010413E.EPS
SET
OUT
IN RL1
SET
RL2
IN
PID
OUT
PID
OUT
FFSUM
IN
CALCU
OUT IN
Figure Reset Limit Function Used in Feedforward Control (Base Load Control)
10th Edition : Dec.18,2003-00
D1-40 <D1.4 Control Computation Processing Common to Controller Blocks>
IM 33S01B30-01E
Deadband Action
Deadband Action
The deadband action stops the manipulated output value (MV) from changing while the
deviation (DV) is within the preset deadband (DB) range, by causing the manipulated
output change (MV) to be 0.
Characteristics of Deadband Action
The deadband action causes the manipulated output change (MVn) to be 0 when the
absolute value of the deviation (DV) minus the hysteresis value becomes smaller than the
deadband width (DB). When the absolute value of deviation (DV) increases greater than
the deadband width (DB), the manipulated output change after the deadband action
(MVn) will be brought back to the manipulated output change before the deadband action
(MVn0).
The figure below shows the characteristics of the deadband action:
DB DB
En
MVn0
MVn: Manipulated output change after the deadband action
MVn0: Manipulated output change before the deadband action
DB: Deadband width
En: Deviation (data of the same unit as PV)
HYS: Hysteresis (data of the same unit as PV)
HYS HYS
Output (MVn)
D010414E.EPS
Figure Characteristics of Deadband Action
Setting Deadband Action
Use the Function Block Detail Builder to set the deadband action.
Deadband action: Select Yes or No.
The default is No.
When the deadband action is set as Yes, the hysteresis (HYS) must be set. Use the
Function Block Detail Builder to set the hysteresis (HYS).
Hysteresis:
Engineering unit data between 0 and the PV scale span range limit.
The default is the value equivalent to 1.0 % of the PV scale span.
Set Parameter of Deadband Action
The parameter of the deadband action:
Deadband width (DB):
Engineering unit data between 0 and the PV scale span range limit.
The default is 0.
10th Edition : Dec.18,2003-00
<D1.4 Control Computation Processing Common to Controller Blocks> D1-41
IM 33S01B30-01E
Input or Output Compensation
I/O Compensation
The Input or Output Compensation function adds the compensation value (VN) received
from outside to the input signal or output signal of PID control computation, while the
controller block is operating automatically in the automatic (AUT), cascade (CAS), or
remote cascade (RCAS) mode.
The Control Action of Input or Output Compensation include the following two types:
Input compensation
Output compensation
The compensation value (VN) is reset to 0 automatically at the beginning of each control
period. This prevents the previous external compensation value is added to (VN) when the
external compensation data not exist.
Normally, the external data is set directly to the compensation value (VN) from other func-
tion block. However, the external data from other function block can be connected to the
compensation input terminal (BIN), then set to the compensation value (VN).
For manual operation, the manually set manipulated output value (MV) is not affected by
the Input or Output Compensation.
Define Input or Output Compensation
Use the Function Block Detail Builder to define the Input or Output compensation.
I/O Compensation: Select No, Input Compensation or Output Compensation.
The default is No.
For the 2-Position ON/OFF Controller Block (ONOFF), 3-Position ON/OFF Controller Block
(ONOFF-G), PD Controller Block with Manual Reset (PD-MR) and Feedforward Signal
Summing Block (FFSUM), only the input compensation can be defined.
Input Compensation: Select No or Input Compensation.
The default is No.
Set Parameters of I/O Compensation
The parameters of the I/O compensation:
I/O compensation gain (CK): -10.000 to +10.000.
The default is 1.000.
I/O compensation bias (CB): Arbitrary engineering unit data.
The default is 0.0.
10th Edition : Dec.18,2003-00
D1-42 <D1.4 Control Computation Processing Common to Controller Blocks>
IM 33S01B30-01E
Input Compensation
Input Compensation
The input compensation is a control action that adds the compensation value (VN) received
from outside to the input signal of PID control computation.
Characteristics of Input Compensation
The computational expression of the input compensation:
CVn=PVn+CK(VN+CB)
CVn: Control variable (PV after input compensation)
PVn: Process variable
CK: I/O compensation gain
CB: I/O compensation bias (internal bias)
VN: I/O compensated value (bias signal)
The figure below shows a processing flow of the input compensation:
D010415E.EPS
PV
VN
CB
PVn
PID control computation
CVn MV
CK
+
+
+
+
Figure Processing Flow of the Input Compensation
Example Using Input Compensation
The input compensation is used to improve the controllability of a process with a long dead
time, by subtracting from the input signal the signal from the Dead-Time Compensation
Block (DLAY-C) to perform PID control computation (Smith Dead Time Compensation).
The figure below shows an example of dead time compensation:
D010416E.EPS
IN
DLAY-C
OUT
VN
PID
Figure Example of Dead Time Compensation
10th Edition : Dec.18,2003-00
<D1.4 Control Computation Processing Common to Controller Blocks> D1-43
IM 33S01B30-01E
Output Compensation
The output compensation is a control action that adds the I/O compensated value (VN)
received from the outside to the output signal of PID control computation.
Characteristics of the Output Compensation
The computational expression of the output compensation:
MVn=MVn0+CK(VN+CB)
MVn: Manipulated output after output compensation
MVn0: manipulated output before output compensation
CK: I/O compensation gain
CB: I/O compensation bias (internal bias)
VN: I/O compensated value (bias signal)
The figure below shows a processing flow of the output compensation:
D010417E.EPS
PV
VN
CB
PID control
computation
PVn MVn0 MVn
CK
+
+
+
+
Figure Processing Flow of the Output Compensation
Example of Using the Output Compensation
The output compensation is used for feedforward control that adds the feedforward signal
to the control output signal, or for non-interacting control that adds the output signal from
the interacting loop to the control output signal.
The figure below shows an example of feedforward control:
D010418E.EPS
IN
CALCU
IN
OUT
VN
PID
OUT
Figure Example of Feedforward Control
10th Edition : Dec.18,2003-00
D1-44 <D1.4 Control Computation Processing Common to Controller Blocks>
IM 33S01B30-01E
Process Variable Tracking (Measurement Tracking)
Measurement Tracking
The process variable tracking function prevent the abrupt changes in the manipulated
output value (MV) when change from the manual (MAN) mode to automatic (AUT) mode,
by forcing the setpoint value (SV) to agree with the process variable (PV).
Characteristics of Process Variable Tracking
When switching from the manual (MAN) mode to automatic (AUT) mode, the existence of a
large deviation is harmful, since it makes the manipulated output change (MV) very large.
If force the setpoint value (SV) to agree with the process variable (PV) in manual mode
operation via process variable tracking, abrupt Control Action can be avoided when the
mode switches to automatic (AUT).
Suppose a primary loop is in cascade connection and controls in the automatic (AUT) or
cascade (CAS) mode. If the mode of the secondary loop in the cascade connection
switches from cascade (CAS) to automatic (AUT), the cascade connection becomes open
and the control action of the primary side loop can stop. In this situation, the setpoint value
(SV) of the primary loop can be forced to agree with the process variable (PV) by the
process variable tracking function.
Define Process Variable Tracking
Use the Function Block Detail Builder to define the process variable tracking.
Measurement tracking
MAN mode: Select Yes or No.
The default is No.
AUT and CND mode: Select Yes or No.
The default is No.
CAS and CND mode: Select Yes or No.
The default is Yes.
The statuses referred to as MAN, AUT and CAS include remote backup modes such
as AUT (ROUT) and AUT (RCAS).
For a 2-Position ON/OFF Controller Block (ONOFF), 3-Position ON/OFF Controller Block
(ONOFF-G) or Time - Proportioning ON/OFF Controller Block (PID-TP), the definition is
allowed for MAN mode only.
10th Edition : Dec.18,2003-00
<D1.4 Control Computation Processing Common to Controller Blocks> D1-45
IM 33S01B30-01E
Setpoint Value Limiter
The setpoint value limiter function limits the setpoint value (SV) within a range between the
setpoint high limit (SVH) and setpoint low limit (SVL).
The action of the setpoint value limiter varies with the block mode of the function block.
Actions in the Automatic or Manual Mode
When the function block is in automatic (AUT) or manual (MAN) mode, the user is able to
set the setpoint value (SV). The setpoint value limiter performs the following actions:
When try to set a setpoint value (SV) exceed the setpoint high limit (SVH) or high limit
alarm setpoint (PH):
An acknowledgment dialog box appears to prompt for the operators confirmation.
When confirms, the operator can set a value exceed the setpoint high limit (SVH) or
high limit alarm setpoint (PH).
When try to set a setpoint value (SV) below the setpoint low limit (SVL) or low limit
alarm setpoint (PL):
An acknowledgment dialog box appears to prompt for the operators confirmation.
When confirms, the operator can set a value below the setpoint low limit (SVL) or low
limit alarm setpoint (PL).
Actions in the Remote Cascade Mode
When the function block is in remote cascade (RCAS) mode and the setpoint value (SV) is
defined to automatically follow the remote setpoint value (RSV) received from the supervi-
sory system computer, the setpoint value limiter performs the following actions:
The value exceeds the setpoint high limit (SVH) is forced to be equal to the setpoint
high limit (SVH).
The value smaller than the setpoint low limit (SVL) is forced to be equal to the setpoint
low limit (SVL).
Set Parameters of the Setpoint Value Limiter
The parameters of the setpoint value limiter:
Setpoint high limit (SVH): Engineering unit data within the PV scale range.
The default is the scale high limit.
Setpoint low limit (SVL): Engineering unit data within the PV scale range.
The default is the scale low limit.
10th Edition : Dec.18,2003-00
D1-46 <D1.4 Control Computation Processing Common to Controller Blocks>
IM 33S01B30-01E
Setpoint Value Pushback
The setpoint value pushback function sets the same value for the three types of setpoint
values (SV, CSV, RSV). The figure below explains the relationship among the setpoint
value (SV), cascade setpoint value (CSV) and remote setpoint value (RSV):
D010419E.EPS
CSV
SV
Input from the SET terminal
Control
computation
CAS
Setpoint value
AUT/MAN
RSV
Set from the supervisory computer
RCAS
Figure Relationship among Setpoint Values (SV, CSV and RSV)
The action of the setpoint value pushback varies in accordance with the block mode of the
function block.
Action in the Automatic (AUT) or Manual (MAN) Mode
Causes the cascade setpoint value (CSV) and remote setpoint value (RSV) to agree with
the setpoint value (SV). Even when a data value is set to the setpoint value (SV) from
outside the function block, the same value is automatically set to the cascade setpoint
value (CSV) and remote setpoint value (RSV).
Action in the Cascade (CAS) Mode
Force the setpoint value (SV) and remote setpoint value (RSV) to be equal to the cascade
setpoint value (CSV).
Action in the Remote Cascade (RCAS) Mode
Force the setpoint value (SV) and cascade setpoint value (CSV) to be equal to the remote
setpoint value (RSV).
10th Edition : Dec.18,2003-00
<D1.4 Control Computation Processing Common to Controller Blocks> D1-47
IM 33S01B30-01E
Bumpless Switching
The bumpless switching function switches the block mode of the function block or manipu-
lated output value downstream in cascade without causing the manipulated output value
(MV) to change abruptly (i.e., bumpless change).
The action during bumpless switching varies with the control output action and block mode
status.
Action for Velocity-Type Control Output Action
For a velocity-type control output action, the manipulated output change (MVn) obtained
by control computation is added to the present value readback from the connected destina-
tion. Therefore, the block mode or cascade switch can be changed without causing an
abrupt change in the manipulated output value (MV).
Action for Positional-Type Control Output Action
For a positional-type control action, when the function block mode changes to tracking
(TRK) mode, or when the cascade connection to the downstream is open then close again,
or for the similar reason the cascade control loop regain the control, the manipulated output
value (MV) may change abruptly. To prevent this, the output value is forced to be equal (or
to track) to the value of the output destination while the control action stops. This enables
the block mode switch causes no abrupt change in the manipulated output value (MV).
Action when a Cascade Connected Downstream Loop Changes from
Automatic (AUT) to Cascade
When a cascade connected downstream loop changes its mode from automatic (AUT) to
cascade (CAS), the tracking process described above is performed in the upstream loop if
the downstream is only connected to one loop. Therefore, the block mode switches without
causing an abrupt change in the manipulated output value (MV).
10th Edition : Dec.18,2003-00
D1-48 <D1.4 Control Computation Processing Common to Controller Blocks>
IM 33S01B30-01E
Action when Manipulated Output of an Upstream Loop is Connected to
Multiple Downstream Loops as Setpoint Value
When multiple downstream loops are receiving the manipulated output signals of an
upstream loop as setpoint value signals via a Cascade Signal Distributor Block (FOUT),
Control Signal Splitter Block (SPLIT) or switch block (SW-33, SW-91), the setpoint value
downstream may change abruptly. In this case, control computation is not performed in
downstream loops in the first control period following the switching of modes from auto-
matic (AUT) to cascade (CAS). In other words, the block mode can be changed without
causing an abrupt change in the output as a result of a proportional or derivative action, by
resuming the control computation from the next control period in which the change in the
setpoint value caused by the block mode change will not be reflected by the change in the
deviation (En).
The figure below shows an example of a multiple downstream loop configuration:
FOUT
JO1
JO8
OUT SET
SET
SET
PID
PID
PID
D010420E.EPS
Figure Example of a Multiple Downstream Loop Configuration (when a Cascade Signal
Distributor Block is Used)
SPLIT
OUT1
OUT
OUT2
SET
SET
SET
PID
PID
PID
D010421E.EPS
Figure Example of a Multiple Downstream Loop Configuration (when a Control Signal Splitter
Block is Used)
SW33
OUT S12 S10
PID PID
S11
S13
SET
SET
SET
PID
PID
D010422E.EPS
Figure Example of a Multiple Downstream Loop Configuration (when a Switch Block is Used)
10th Edition : Dec.18,2003-00
<D1.4 Control Computation Processing Common to Controller Blocks> D1-49
IM 33S01B30-01E
Initialization Manual
The initialization manual is an error processing function that suspends the control action
temporarily by changing the block mode to initialization manual (IMAN). This action takes
place when the initialization manual condition is established.
Characteristics of the Initialization Manual
The initialization manual function suspends the control action and control output action
temporarily during the automatic (AUT) mode or other automatic control operation mode
when the initialization manual condition is established, and changes the function block to
initialization manual (IMAN) mode.
Since the initialization manual action causes the manipulated output value (MV) to track the
value of the connected destination, even when the mode changes from initialization manual
(IMAN) mode to manual (MAN) mode, the initialization manual (IMAN) mode will precede
the manual (MAN) mode. Therefore, the manual (MAN) mode does not take effect.
The block returns to the original mode as soon as the initialization manual condition van-
ishes. However, if the mode change operation is performed in the initialization manual
(IMAN) mode, the block will switch to the mode of this operation after the initialization
manual condition vanishes.
Initialization Manual Condition
The initialization manual condition is a block mode transition condition. It suspends the
control action and control output action temporarily by changing the block mode to initializa-
tion manual (IMAN) mode.
The initialization manual (IMAN) block mode becomes active only when the initialization
manual condition is established.
The initialization manual condition is depicted as follows:
AUT
Initialization manual condition is established
IMAN (AUT)
Initialization manual condition vanishes
AUT
The initialization manual condition is established in the following situation:
When the manipulated output value (MV) connected destinations data status is
conditional (CND) (i.e., the cascade loop open).
When the manipulated output value (MV) connected destinations data status is
communication error (NCOM) or output failure (PTPF).
When the manipulated output value (MV) connected destination is a switch block
(SW-33, SW-91) and the cascade connection is switched off (i.e., the cascade loop
open).
When the manipulated output value (MV) connected destination is a process output,
and a failure or output open alarm has occurred in the process output.
When the data status of the input signal at the TIN or TSI terminals become invalid
(BAD) in the tracking (TRK) mode while the output signal is not a pulse-width type.
10th Edition : Dec.18,2003-00
D1-50 <D1.4 Control Computation Processing Common to Controller Blocks>
IM 33S01B30-01E
Control Hold
The control hold is an error processing function that suspends the control action tempo-
rarily while maintaining the current block mode. Unlike initialization manual, the control
output action is performed normally during control hold.
The control hold action takes place when the following conditions are established during
automatic operation (AUT, CAS, PRD, RCAS, ROUT):
The connected destination of the IN terminal is open (i.e., not selected via a selector
switch, etc.) and,
The connected destination of the IN terminal or the connected destination of the data
at the first connected destination is a process input, and the process input is tempo-
rarily in a non-response state (momentary power failure).
The control is resumed when the conditions vanish.
10th Edition : Dec.18,2003-00
<D1.4 Control Computation Processing Common to Controller Blocks> D1-51
IM 33S01B30-01E
MAN Fallback
The MAN fallback is an error processing function that stops the control forcibly by changing
the block mode to manual (MAN). This action takes place when the MAN fallback condition
is established.
Characteristics of the Man Fallback
The MAN fallback stops the control by changing the function block to manual (MAN) mode
regardless of the current operation status, and forces the function block to manual opera-
tion state.
Once the MAN fallback condition is established, the block mode remain manual (MAN)
even after the condition vanishes.
MAN Fallback Condition
The MAN fallback condition is used to stop the control by changing the function block to
manual (MAN) mode regardless of the current operation status, and forces the function
block to enter manual operation state. When the MAN fallback condition is established, it
indicates that a fatal error has occurred and requests operator interruption.
An example of the MAN fallback condition is shown as follows:
AUTMAN
IMAN (CAS)IMAN (MAN)
The MAN fallback condition is established in the following situation:
When the data status of the process variable (PV) is invalid (BAD) or calibration (CAL).
However, the MAN fallback condition will not be established when the block mode is
primary direct (PRD), or remote output (ROUT) excluding any compound mode during
computer backup.
When the data status of the manipulated output value (MV) is output failure (PTPF).
When the data status of the setpoint value (SV) is invalid (BAD).
When the manipulated output value (MV) is connected to a process I/O and the FCS
is having an initial cold start.
When the block mode change interlock condition is established.
When the manipulated output value (MV) is connected to a process I/O, and one of
the I/O points connected to the module has been changed via maintenance.
10th Edition : Dec.18,2003-00
D1-52 <D1.4 Control Computation Processing Common to Controller Blocks>
IM 33S01B30-01E
AUT Fallback
AUT Fallback
The AUT fallback is an error processing function that switches the block mode from cas-
cade (CAS) or primary direct (PRD) to automatic (AUT) when the AUT fallback condition is
established. Thus the set value of the control loop can be set by the operator.
Characteristics of the AUT Fallback
Changes the block mode from cascade (CAS) or primary direct (PRD) to automatic (AUT)
to continue control using values set by the operator.
Once the AUT fallback condition is established, the block mode remain automatic (AUT)
even after the condition vanishes.
AUT Fallback Condition
The AUT fallback condition is used to change the block mode of the function block from
cascade (CAS) or primary direct (PRD) to automatic (AUT) so that control can be continued
using the values set by the operator. When this condition is established, it indicates that
abnormality has been detected in the cascade setpoint value (CSV) for some reason.
An example of when the AUT fallback condition establishment is as follows:
CASAUT
IMAN (CAS)IMAN (AUT)
Setting AUT Fallback Condition
Use the Function Block Detail Builder to enable/disable the AUT fallback function.
AUT Fallback: Select Yes or No.
The default is No.
If the AUT fallback is defined as Yes via the Function Block Detail Builder, the AUT fallback
condition is established when the data status of the cascade setpoint value (CSV) become
invalid (BAD) or communication error (NCOM).
10th Edition : Dec.18,2003-00
<D1.4 Control Computation Processing Common to Controller Blocks> D1-53
IM 33S01B30-01E
Computer Fail
Computer Backup Mode
When the computer fail is detected, the function block suspends the action in the remote
cascade (RCAS) mode or remote output (ROUT) mode temporarily and switches to the
computer backup mode.
Characteristics of Computer Fail
When the function block mode is remote cascade (RCAS) or remote output (ROUT), the
function block receives the setpoint value (SV) or manipulated output value (MV) from a
supervisory system computer via Control bus communication.
When the computer fails, the block changes mode to the preset computer backup mode
(MAN, AUT or CAS) which indicates that an abnormality has been detected in the supervi-
sory computer. When the computer recovers, the block returns to the mode before the
change.
The following actions will take place when a block mode change command from MAN,
AUT, CAS or PRD to RCAS or ROUT is sent while the computer fails:
1. When a block mode change command from MAN, AUT, CAS or PRD to RCAS or PRD
is sent while the computer fails (BSW=ON), the function block does not switch to the
computer backup mode directly but switches to the transient state mode first.
The transient state mode is a compound block mode consisting of the block mode
before the execution of the block mode change command (MAN, AUT, CAS, PRD)
and a remote mode (RCAS, ROUT).
2. Then the function block tests the computer condition in the first scan after the block
mode change command and switches to the computer backup mode.
The computer backup mode is a compound block mode consisting of the backup
mode set via the Function Block Detail Builder (MAN, AUT, CAS) and a remote mode
(RCAS, ROUT).
3. If the computer recovers while the function block is in the computer backup mode, the
block mode changes to remote cascade (RCAS) or remote output (ROUT).
10th Edition : Dec.18,2003-00
D1-54 <D1.4 Control Computation Processing Common to Controller Blocks>
IM 33S01B30-01E
Computer Fail Condition
The computer fail condition is a block-mode transition condition used to suspend actions in
the remote cascade (RCAS) or remote output (ROUT) mode and switches the mode to the
computer backup mode.
A backup switch (BSW) is provided in function block to define the remote cascade (RCAS)
or remote output (ROUT) mode. The status of this switch determines whether the computer
has failed or recovered. The value of the backup switch (BSW) can be set from a sequence
table or other function blocks.
Switching to a computer backup mode does not take effect if the backup switch (BSW) is
on a block mode other than remote cascade (RCAS) or remote output (ROUT).
When BSW=ON, computer has failed
When BSW=OFF, computer has recovered
An example when the automatic (AUT) mode has been specified for the computer backup
mode is shown as follows:
RCAS
Computer fails
AUT (RCAS)
Computer recovers
RCAS
An example when the manual (MAN) mode has been specified for the computer backup
mode is shown as follows:
AUT
ROUT command
AUT (ROUT) Transient state mode
After one scan period
MAN (ROUT) Computer backup mode (When BSW=ON)
Define Computer Backup Mode
Use the Function Block Detail Builder to define the computer backup mode for each func-
tion block.
Computer Backup Mode:
Select MAN, AUT or CAS as the mode to be switched to when the computer
becomes down. The default is MAN.
For a Control Signal Splitter Block (SPLIT), select AUT or CAS. The default is
AUT.
10th Edition : Dec.18,2003-00
<D1.4 Control Computation Processing Common to Controller Blocks> D1-55
IM 33S01B30-01E
Block Mode Change Interlock
When the block mode change interlock condition is established, the block mode change
interlock function stops the control computation processing of the function block running in
auto mode, and prohibit the function block changing to automatic operation mode.
Characteristics of the Block Mode Change Interlock
Stops the control computation processing of the function blocks that are operating auto-
matically, and disables the currently stopped function blocks from changing to an automatic
operation state. The following actions will take place:
The block mode changes to manual (MAN).
Any block mode change command to make the function block into automatic opera-
tion state (AUT, CAS, PRD, RCAS or ROUT mode) becomes invalid.
Block Mode Change Interlock Condition
The Block mode change interlock condition is established when the switch at the con-
nected destination of the interlock switch input terminal (INT) is turned ON. This switch is
manipulated in the process control sequence and the switch is turned on when the se-
quence judge that the loop can not run in Auto mode, or etc.,.
10th Edition : Dec.18,2003-00
D1-56 <D1.4 Control Computation Processing Common to Controller Blocks>
IM 33S01B30-01E
Primary Direct (PRD) Mode Action
The primary direct (PRD) mode action enables the downstream block to output the setpoint
value received from the cascade connected upstream block (CSV) after converting it into
manipulated output value (MV).
The conversion action from the cascade setpoint value (CSV) to the manipulated output
value (MV) varies with the control action direction, i.e., direct or reverse.
When an error such as process input signal error is detected in the cascade connected
downstream block, the block changes to primary direct (PRD) mode, to allow the upstream
block temporarily takes over control.
The output tracking function for the cascade connected upstream block is used so that an
abrupt change in the manipulated output does not occur when the block mode for the
cascade connected downstream block is changing to the primary direct (PRD) mode. The
cascade connected downstream block returns the manipulated output value (MV) to the
setpoint value (SV, CSV, RSV) in order to make the downstream block manipulated output
value (MV) track the upstream block manipulated output value (MV) when the block mode
for the downstream block changes to the primary direct (PRD) mode.
IMPORTANT
Normally, when changing the block mode to primary direct (PRD), the set parameter
(P, I, D) of the upstream block in cascade need to be adjusted.
When change a block to primary direct (PRD) mode, it is necessary to change the
upper stream block in the same cascade loop to manual (MAN) mode.
When change a block from primary direct (PRD) mode to automatic (AUT) mode, it is
better to change the block into manual (MAN) mode first. However, it is possible to
change the block from primary direct (PRD) mode to automatic (AUT) mode directly.
In this case, the block runs measurement tracking to force the set point value (SV) to
track the process variable value (PV) so as to avoid the radical change to the control
output.
SEE ALSO
For the details of primary direct (PRD) mode, see the following:
C6.1.1, Basic Block Mode
10th Edition : Dec.18,2003-00
<D1.4 Control Computation Processing Common to Controller Blocks> D1-57
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
When the Control is Direct Action
The computational expression of the primary direct (PRD) mode action when the control
action is direct:
MV=MSH- (CSV-SL)
MSH-MSL
SH-SL D010423E.EPS
RMV=MV
SH: PV scale high limit
SL: PV scale low limit
MSH: MV scale high limit
MSL: MV scale low limit
When the block mode changes to primary direct (PRD), the downstream block sets its the
manipulated output value (MV) to the setpoint value (SV, CSV, RSV), using the computa-
tional expression shown below:
SV=SH- (MV-MSL)
SH-SL
MSH-MSL D010424E.EPS
CSV=RSV=SV
When the Control is Reverse Action
The following computational expression is used as a basis of the primary direct (PRD)
mode action when the control action is reverse:
MV= (CSV-SL)+MSL
MSH-MSL
SH-SL
D010425E.EPS
RMV=MV
When the block mode changes to primary direct (PRD), the downstream block sets its the
manipulated output value (MV) to the setpoint value (SV, CSV, RSV), using the computa-
tional expression shown below:
SV=SH (MV-MSL)+SL
SH-SL
MSH-MSL
D010426E.EPS
CSV=RSV=SV
D1-58 <D1.5 PID Controller Block (PID)>
IM 33S01B30-01E
D1.5 PID Controller Block (PID)
The PID Controller Block (PID) provides the most general control function to perform
proportional-integral-derivative control based on the deviation of the process vari-
able (PV) from the setpoint value (SV).
PID Controller Block (PID)
Connection
The figure below shows a function block diagram of PID Controller Block (PID):
RMV
SV
CAS/AUT
MAN
INT TSI TIN RL2 BIN RL1
IN OUT
(TSW) (RLV2) (RLV1) (VN)
(PV, PV, MV, MV)
SUB
RSV
CSV
CAS
AUT
MAN
RCAS
SET
MV PV
Control
computation
processing
Output
processing
Input
processing
D010501E.EPS
ROUT
Figure Function Block Diagram of PID Controller Block (PID)
The table below shows the connection methods and connected destinations of the I/O
terminals of PID Controller Block (PID):
Table Connection Methods and Connected destinations of the I/O Terminals of PID Controller
Block (PID)
I/O terminal
Connection method Connection destination
Data
reference
Data
setting
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN Measurement input
SET Setting input
OUT Manipulated output
SUB Auxiliary output
RL1
Reset signal 1
input
RL2
Reset signal 2
input
BIN
Compensation
input
TIN
Tracking signal
input
TSI Tracking SW input
INT Interlock SW input
D010502E.EPS
: Connection allowed
Blank: Connection not allowed
: Connection allowed only when connecting to a switch block (SW-33, SW-91) or inter-station data link block (ADL).
10th Edition : Dec.18,2003-00
<D1.5 PID Controller Block (PID)> D1-59
IM 33S01B30-01E
Function of PID Controller Block (PID)
The PID block performs input processing, control computation processing, output process-
ing, and alarm processing.
The only processing timing available for the PID block is a periodic 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the PID block,
see the following:
D1.1.3, Input Processing, Output Processing, and Alarm Processing Possible for Each Regulatory Con-
trol Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
10th Edition : Dec.18,2003-00
D1-60 <D1.5 PID Controller Block (PID)>
IM 33S01B30-01E
Control Computation Processing of the PID Controller Block (PID)
The table below shows the control computation processing functions of the PID Controller
Block (PID):
Table Control Computation Processing Functions of the PID Controller Block (PID) (1/2)
Control computation processing Description
PID control
Calculates the manipulated output value (MV) and manipulated output change (MV)using
the PID control algorithms.
Control action bypass
Performs the PID control actions by bypassing derivative control actions (D), proportional
control actions (P) or both proportional and derivative control actions (P+D).
Non-linear gain
Changes the proportional gain in accordance with the degree of deviation so that the
relationship between the deviation and manipulated output change (MV) becomes non-
linear.
Gap action
Lowers the proportional gain to moderate control effects when the deviation is within the
gap width (GW) range.
Squared deviation action
Changes the proportional gain according to the degree of deviation when the deviation is
within the gap width (GW) range.
Control output action
Converts the manipulated output change (MV) during each control period to an actual
manipulated output value (MV). The control output actions include positional type and
velocity type.
Control action direction
Switches the direction of the output action (reverse action or direct action) in accordance
with the increase or decrease in deviation.
Reset limit function
Performs correction computation using values read from the connection destinations of
input terminals RL1 and RL2 during PID control computation. This function prevents
reset windup.
Deadband action
Adjusts the manipulated output change (MV) to 0 when the deviation is within the
deadband range, in order to stop the manipulated output value (MV) from changing.
I/O compensation
Adds the I/O compensated value (VN) received from outside to the input signal or control
output signal of PID computation when the controller block is operating automatically.
Input compensation
Adds the I/O compensated value (VN) received from the outside to the input signal of the
PID control computation.
Output compensation
Adds the I/O compensated value (VN) received from outside to the output signal of the
PID control computation.
Process variable tracking Causes the setpoint value (SV) to agree with the process variable (PV).
Setpoint value limiter Limits the setpoint value (SV) within the setpoint high/low limits (SVH, SVL).
Setpoint value pushback Causes two of the three setpoint values (SV, CSV, RSV) to agree with the remaining one.
D010503E.EPS
10th Edition : Dec.18,2003-00
<D1.5 PID Controller Block (PID)> D1-61
IM 33S01B30-01E
Table Control Computation Processing Functions of the PID Controller Block (PID) (2/2)
Control computation processing Description
Bumpless switching
Switches the manipulated output value (MV) without causing it to change abruptly when
the block mode has been changed or when the manipulated output value (MV) has been
switched in a downstream block in cascade.
Initialization manual
Changes the block mode to IMAN to temporarily suspend the control action. This action
takes place when the initialization manual condition becomes satisfied.
Control hold
Temporarily suspends the control action while maintaining the current block mode.
During control hold, the output action is performed normally.
MAN fallback
Changes the block mode to MAN to forcibly stop the control action. This action takes
place when the MAN fallback condition becomes satisfied.
AUT fallback
Changes the block mode to AUT when the function block is operating in the CAS or PRD
mode, so that the control action is continued using values set by the operator. This action
takes place when the AUT fallback condition becomes satisfied.
Computer failure
Temporarily suspends the control action and switches to the computer backup mode when
an error has been detected at a supervisory computer while the function block is operating
in the RCAS or ROUT mode. This action takes place when the computer failure condition
becomes satisfied.
Block mode change interlock
Stops the control action of function blocks currently operating automatically, while
disabling the stopped function blocks from changing to the automatic operating mode.
PRD mode action
Outputs the cascade setpoint value (CSV) after converting it to a manipulated output value
(MV) when the block mode has been changed to PRD.
D010504E.EPS
SEE ALSO
For the details on control computation processing functions applied in the PID Controller Block, see the
following:
D1.4, Control Computation Processing Common to Controller Blocks
10th Edition : Dec.18,2003-00
D1-62 <D1.5 PID Controller Block (PID)>
IM 33S01B30-01E
PID Control Computation
PID Control Algorithm
The PID control computation is the core of the PID control computation processing, calcu-
lating a manipulated output change (MV) by using the PID control algorithms. The PID
control is the most widely used, it combines three types of actions: proportional, integral
and derivative.
The figure below shows a block diagram of PID control computation:
D010505E.EPS
MV
I-PD
Range
conversion
Integral term
computation (I)
Derivative term
computation (D)
Proportional term
computation (P)
PID
PI-D/PID
I-PD/PI-D
P0
D0
+
+
+
+
-
Note: Compensated PV, if input compensation is performed.
PV
(Note)
SV
Figure Block Diagram of PID Control Computation
10th Edition : Dec.18,2003-00
<D1.5 PID Controller Block (PID)> D1-63
IM 33S01B30-01E
PID Control Computation Expression
The PID control computation expression used in a regulatory control system (analog
control system):
MV(t)= E(t)+ E(t)dt+TD
100
PB
dE(t)
dt
1
TI
D010506E.EPS
MV(t): Manipulated output
E(t): Deviation E(t) = PV(t) - SV(t)
PV(t): Process variable
SV(t): Setpoint value
PB: Proportional band (%)
TI: Integral time
TD: Derivative time
If we use the sampling value derived at each interval of the control period for the above
expression, the differential expression of the PID control computation is transformed as
follows:
MVn= En+ En+ (En)
100
PB
TD
T
T
TI
D010507E.EPS
MVn: Manipulated output change
En: Deviation En=PVn-SVn
PVn: Process variable
SVn: Setpoint value
En: Change in deviation En=En-En-1
T: Control period
The subscripts n and n-1 represent the sample against the control period, it stands for
the nth sample or n-1th sample.
The above differential expression calculates a change in manipulated output (difference). A
new output value is obtained by adding the current change in manipulated output (MVn) to
the previous manipulated output value (MVn-1).
Types of PID Control Computation
The PID Controller Block uses the following five PID control algorithms to perform PID
control computation. The actions vary with the characteristics of a controlled system and
the purpose of control.
Basic type PID control (PID)
PV proportional and derivative type PID control (I-PD)
PV derivative type PID control (PI-D)
Automatic determination type
Automatic determination type 2
10th Edition : Dec.18,2003-00
D1-64 <D1.5 PID Controller Block (PID)>
IM 33S01B30-01E
Define PID Control Computation
For PID control computation, the input variables of the proportional, integral and derivative
terms are different for each PID control algorithm.
The table below shows the PID control algorithms and the input variable of each term:
Table PID Control Algorithms and the Input Variables
PID control
algorithm
Trinomial input variables
Proportional term Derivative term Integral term
PID En En En
I-PD PV PV En
PI-D En PV En
Automatic
determination
Same as I-PD in the AUT mode.
Same as PI-D in the CAS or RCAS mode.
Automatic
determination 2
Same as I-PD in the AUT or RCAS mode.
Same as PI-D in the CAS mode.
D010508E.EPS
Use the Function Block Detail Builder to define the PID control algorithm.
PID Control Algorithm:
Select one of the following algorithms:
Basic Type
Proportional PV Derivative Type PID Control (I-PID)
PV Derivative Type PID Control (PI-D)
Automatic Determination
Automatic Determination 2
The default is Automatic Determination 2.
When the block mode of the PID Controller Block is remote cascade (RCAS), the PID
control algorithm Automatic Determination and Automatic Determination 2 act as fol-
lows:
Automatic determination type: Same actions as in the cascade (CAS) mode.
Automatic determination type 2: Same actions as in the automatic (AUT) mode.
10th Edition : Dec.18,2003-00
<D1.5 PID Controller Block (PID)> D1-65
IM 33S01B30-01E
Basic Type PID Control Algorithm (PID)
The basic type PID control algorithm performs proportional, integral and derivative Control
Action following the changes in the setpoint value.
This algorithm is used when the process time constant is long and the control is oriented on
the prompt response to the change in the setpoint value. For example, when use a 13-
Zone Program Set Block (PG-L13) to change the setpoint value of a controller block, this
algorithm is used for the PID block.
The computational expression of the basic type PID control algorithm (PID):
MVn=Kp Ks En+ En+ (En)
TD
T
T
TI
D010509E.EPS
En=PVn-SVn
Kp=
100
PB D010510E.EPS
Ks=
MSH-MSL
SH-SL D010511E.EPS
T: Control period
En: Change in deviation En=En-En-1
Kp: Proportional gain
PB: Proportional band (%)
TI: Integral time
TD: Derivative time
Ks: Scale conversion coefficient
PVn: Process variable (engineering unit)
SVn: Setpoint value (engineering unit)
SH: PV scale high limit
SL: PV scale low limit
MSH: MV scale high limit
MSL: MV scale low limit
The process variable (PV) and setpoint value (SV) used in the computation are both
engineering unit data. The manipulated output change (MV) obtained in an engineering
unit by the range conversion performed via the scale conversion coefficient (Ks).
10th Edition : Dec.18,2003-00
D1-66 <D1.5 PID Controller Block (PID)>
IM 33S01B30-01E
PV Proportional and Derivative Type PID Control Algorithm (I-PD)
The PV proportional and derivative type PID control algorithm (I-PI) differs from the basic
type that it performs only integral actions when the setpoint value changes.
This algorithm ensures stable control characteristics even when the setpoint value changes
abruptly when the SV is set via numerical value entry. At the same time, the algorithm
ensures proper control in response to the characteristic changes occurring in controlled
processes, load variations and disturbances by performing proportional, derivative and
integral Control Action accordingly.
The computational expression of the PV proportional and derivative type PID control
algorithm (I-PD):
MVn=Kp Ks PVn+ En+ (PVn)
TD
T
T
TI
D010512E.EPS
PVn : Process variable change PVn=PVn-PVn-1
PV Derivative Type PID Control Algorithm (PI-D)
Compared to the basic type, the PV derivative type PID control algorithm (PI-D) only
performs proportional and integral Control Action when setpoint value changes, but not
derivative Control Action. This algorithm is used in the situations where the better follow up
to the setpoint value change is required, such a downstream control block in a cascade
control loop.
The computational expression of the PV derivative type PID control algorithm:
MVn=Kp Ks En+ En+ (PVn)
TD
T
T
TI
D010513E.EPS
Automatic Determination Type
When a PID Controller Block is in cascade (CAS) or remote cascade (RCAS) mode, it uses
the PV derivative type PID control algorithm (PI-D) to perform computation so that the
follow-up the setpoint value change can be improved.
When the block is in automatic (AUT) mode, it uses the PV proportional and derivative type
PID control algorithm (I-PD) to perform computation so that stable control characteristics
can be ensured in the event that an abrupt change occurs in the setpoint value due to a
numeric value setting.
Automatic Determination Type 2
When a PID Controller Block is in cascade (CAS) mode, it uses the PV derivative type PID
control algorithm (PI-D) to perform computation. When the block is in remote cascade
(RCAS) mode or automatic (AUT) mode, it uses the PV proportional and derivative type
PID control algorithm (I-PD) to perform computation.
In the cascade (CAS) mode, the automatic determination type 2 orients to the follow-up
capability to setpoint value (CSV) change. In the remote cascade (RCAS) mode, it orients
to prevent the abrupt change in the output due to an abrupt change in the remote setpoint
value (RSV).
10th Edition : Dec.18,2003-00
<D1.5 PID Controller Block (PID)> D1-67
IM 33S01B30-01E
Set Parameters of the PID Control Algorithms
The set parameters of the PID control algorithms:
Proportional band (P): 0 to 1000 %. (Note)
Integral time (I): 0.1 to 10000 seconds.
Derivative time (D): 0 to 10000 seconds (Note)
Note: The control action bypass function is enabled when 0 is set.
IMPORTANT
If the integral time of control block is set to zero or to a value beyond the range, the control
algorithm stops functioning. No process alarm or system alarm message is initiated for this
trouble. So that it is better to use a general purpose calculation block or sequence table
block to enforce the set value of integral time within the proper range and to avoid it to be
set to zero.
Control Action Bypass
The PID Controller Block can perform the following two types of control action by bypassing
proportional and/or derivative actions among the proportional, integral and derivative
actions:
Table Control Action Bypass
Control actions bypassed
Control actions
after bypassing
Set parameter setpoint
Derivative (D) Proportional (P)+integral (I) P0, D=0
Proportional (P),
derivative (D)
Integral (I) P=0
D010514E.EPS
To set the control action bypass, specify 0 to the set parameter P or D, as shown in the
table above. The proportional gain (Kp) is fixed to 1 when only integral action is required.
10th Edition : Dec.18,2003-00
D1-68 <D1.5 PID Controller Block (PID)>
IM 33S01B30-01E
Data Items - PID
Table Data Items of PID Controller Block (PID) (1/2)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (MAN)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- 0
AF Alarm detection specification ----- 0
AOFS Alarm masking specification ----- 0
PV Process variable (*1) PV engineering unit value SL
RAW Raw input data Value in the unit at the connection destination -----
SUM Totalizer value Engineering unit value 0
SV Setpoint value (*2) Value in the same engineering unit as PV SL
CSV Cascade setpoint value Value in the same engineering unit as PV SL
RSV Remote setpoint value (*4) Value in the same engineering unit as PV SL
DV Control deviation value Value in the same engineering unit as PV 0
VN I/O compensation value ----- 0
MV Manipulated output value (*3) MV engineering unit value MSL
RMV Remote manipulated output value (*5) Value in the same engineering unit as MV MSL
RLV1 Reset limit value 1 Value in the same engineering unit as MV MSL
RLV2 Reset limit value 2 Value in the same engineering unit as MV MSL
HH High - high limit alarm setpoint SL to SH SH
LL Low - low limit alarm setpoint SL to SH SL
PH High - limit alarm setpoint SL to SH SH
PL Low - limit alarm setpoint SL to SH SL
VL Velocity alarm setpoint (SH - SL) SH - SL
PVP Velocity-Reference Sample Value in the same engineering unit as PV -----
DL Deviation alarm setpoint
(SH - SL) SH - SL
D010515E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
*2: Entry is permitted when the data mode is CAS or RCAS
*3: Entry is permitted when the block mode is MAN
*4: Entry is permitted when the block mode is RCAS
*5: Entry is permitted when the block mode is ROUT
SH: PV scale high limit
SL: PV scale low limit
MSL: MV scale low limit
SEE ALSO
For a list of valid block modes of the PID block, see the following:
D1.1.4, Valid Block Modes for Each Regulatory Control Block
10th Edition : Dec.18,2003-00
<D1.5 PID Controller Block (PID)> D1-69
IM 33S01B30-01E
Table Data Items of PID Controller Block (PID) (2/2)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MH Manipulated variable high-limit setpoint MSL to MSH MSH
ML Manipulated variable low-limit setpoint MSL to MSH MSL
SVH Setpoint high limit SL to SH SH
SVL Setpoint low limit SL to SH SL
P Proportional band 0 to 1000% 100%
I Integral time 0.1 to 10,000 seconds 20 seconds
D Derivative time 0 to 10,000 seconds 0 second
GW Gap width 0 to (SH - SL) 0.0
DB Deadband 0 to (SH - SL) 0.0
CK Compensation gain -10.000 to 10.000 1.000
CB Compensation bias ----- 0.000
PMV Preset manipulated output value MSL to MSH MSL
TSW Tracking switch 0, 1 0
CSW Control switch 0, 1 0
PSW Preset MV switch 0, 1, 2, 3 0
RSW Pulse width reset switch 0, 1 0
BSW Backup switch 0, 1 0
OPHI Output high-limit index MSL to MSH MSH
OPLO Output low-limit index MSL to MSH MSL
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
SH PV scale high limit Value in the same engineering unit as PV -----
SL PV scale low limit Value in the same engineering unit as PV -----
MSH MV scale high limit Value in the same engineering unit as MV -----
MSL MV scale low limit Value in the same engineering unit as MV -----
D010516E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
10th Edition : Dec.18,2003-00
D1-70 <D1.6 Sampling PI Controller Block (PI-HLD)>
IM 33S01B30-01E
D1.6 Sampling PI Controller Block (PI-HLD)
Sampling PI Controller Block (PI-HLD) stops after performing each control action
and waits for the result to come out. This block may be used to control processes
with a long dead time or for the control that relies on the data from sampling unit of
analyzers.
Sampling PI Controller Block (PI-HLD)
Connection
The figure below shows a function block diagram of Sampling PI Controller Block (PI-HLD):
RMV
SV
CAS/AUT
MAN
INT TSI TIN RL2 BIN RL1
IN OUT
(TSW) (RLV2) (RLV1) (VN)
(PV, PV, MV, MV)
SUB
RSV
CSV
CAS
AUT
MAN
RCAS
SET
MV PV
Control
computation
processing
Output
processing
Input
processing
D010601E.EPS
ROUT
Figure Function Block Diagram of Sampling PI Controller Block (PI-HLD)
The table below shows the connection methods and connected destinations of the I/O
terminals of the Sampling PI Controller Block (PI-HLD):
Table Connection Methods and Connected destinations of the I/O Terminals of Sampling PI
Controller Block (PI-HLD)
I/O terminal
Connection method Connection destination
Data
reference
Data
setting
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN Measurement input
SET Setting input
OUT Manipulated output
SUB Auxiliary output
RL1
Reset signal 1
input
RL2
Reset signal 2
input
BIN
Compensation
input
TIN
Tracking signal
input
TSI Tracking SW input
INT Interlock SW input
D010602E.EPS
: Connection allowed
Blank: Connection not allowed
: Connection allowed only when connecting to a switch block (SW-33, SW-91) or inter-station data link block (ADL).
10th Edition : Dec.18,2003-00
<D1.6 Sampling PI Controller Block (PI-HLD)> D1-71
IM 33S01B30-01E
Function of Sampling PI Controller Block (PI-HLD)
The PI-HLD block performs input processing, control computation processing, output
processing, and alarm processing.
The only processing timing available for the PI-HLD block is a periodic 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the PI-HLD block,
see the following:
D1.1.3, Input Processing, Output Processing, and Alarm Processing Possible for Each Regulatory Con-
trol Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
10th Edition : Dec.18,2003-00
D1-72 <D1.6 Sampling PI Controller Block (PI-HLD)>
IM 33S01B30-01E
Control Computation Processing of Sampling PI Controller Block
(PI-HLD)
The table below shows the control computation processing functions of the Sampling PI
Controller Block (PI-HLD):
Table Control Computation Processing Functions of Sampling PI Controller Block (PI-HLD)
(1/2)
Control computation processing Description
PI control computation with hold
Performs PI control computation for each sampling period only during the specified
control time, and holds the manipulated output value (MV) for the remainder of the period.
Non-linear gain
Changes the proportional gain in accordance with the degree of deviation so that the
relationship between the deviation and manipulated output change (MV) becomes non-
linear.
Gap action
Lowers the proportional gain to moderate control effects when the deviation is within the
gap width (GW) range.
Squared deviation action
Changes the proportional gain according to the degree of deviation when the deviation is
within the gap width (GW) range.
Control output action
Converts the manipulated output change (MV) during each control period to an actual
manipulated output value (MV). The control output actions include positional type and
velocity type.
Control action direction
Switches the direction of the output action (reverse action or direct action) in accordance
with the increase or decrease in deviation.
Reset limit function
Performs correction computation using values read from the connection destinations of
input terminals RL1 and RL2 during PID control computation. This function prevents
reset windup.
Deadband action
Adjusts the manipulated output change (MV) to 0 when the deviation is within the
deadband range, in order to stop the manipulated output value (MV) from changing.
I/O compensation
Adds the I/O compensated value (VN) received from outside to the input signal or control
output signal of PID computation when the controller block is operating automatically.
Input compensation
Adds the I/O compensated value (VN) received from the outside to the input signal of the
PID control computation.
Output compensation
Adds the I/O compensated value (VN) received from outside to the output signal of the
PID control computation.
Process variable tracking Causes the setpoint value (SV) to agree with the process variable (PV).
Setpoint value limiter Limits the setpoint value (SV) within the setpoint high/low limits (SVH, SVL) .
Setpoint value pushback Causes two of the three setpoint values (SV, CSV, RSV) to agree with the remaining one.
D010603E.EPS
10th Edition : Dec.18,2003-00
<D1.6 Sampling PI Controller Block (PI-HLD)> D1-73
IM 33S01B30-01E
Table Control Computation Processing Functions of Sampling PI Controller Block (PI-HLD)
(2/2)
Control computation processing Description
Bumpless switching
Switches the manipulated output value (MV) without causing it to change abruptly when
the block mode has been changed or when the manipulated output value (MV) has been
switched in a downstream block in cascade.
Initialization manual
Changes the block mode to IMAN to temporarily suspend the control action. This action
takes place when the initialization manual condition becomes satisfied.
Control hold
Temporarily suspends the control action while maintaining the current block mode.
During control hold, the output action is performed normally.
MAN fallback
Changes the block mode to MAN to forcibly stop the control action. This action takes
place when the MAN fallback condition becomes satisfied.
AUT fallback
Changes the block mode to AUT when the function block is operating in the CAS or PRD
mode, so that the control action is continued using values set by the operator. This action
takes place when the AUT fallback condition becomes satisfied.
Computer failure
Temporarily suspends the control action and switches to the computer backup mode when
an error has been detected at a supervisory computer while the function block is operating
in the RCAS or ROUT mode. This action takes place when the computer failure condition
becomes satisfied.
Block mode change interlock
Stops the control action of function blocks currently operating automatically, while
disabling the stopped function blocks from changing to the automatic operating mode.
PRD mode action
Outputs the cascade setpoint value (CSV) after converting it to a manipulated output value
(MV) when the block mode has been changed to PRD.
D010604E.EPS
SEE ALSO
For the details on control computation processing functions of Sampling PI Controller Block (PI-HLD), see
the following:
D1.4, Control Computation Processing Common to Controller Blocks
10th Edition : Dec.18,2003-00
D1-74 <D1.6 Sampling PI Controller Block (PI-HLD)>
IM 33S01B30-01E
PI Control Computation with Hold
The PI control computation with hold is a control algorithm of the Sampling PI Controller
Block. It is a control computation function that performs PI control computation to obtain a
manipulated output value (MV) and manipulated output change (MV).
Characteristics of the PI Control Computation with Hold
The PI control computation with hold action performs PI control for each sampling period
(TC) only during the control time (TC) in an automatic operating mode (AUT, CAS or
RCAS), and holds manipulated output for the remainder of the period (TS - TC).
The figure below shows the sampling PI control action:
D010605E.EPS
Time
MV
TC TC
(control time)
TS TS (sampling period)
T (control period)
Output hold
PI computation
output
Figure Sampling PI Control Action
Set the sampling period and control time in advance, in accordance with the following
principle:
Sampling period: TS=L+T (2 to 3)
L: Dead time of the process (second)
T: Lag constant of the process (second)
TC=
TS
10 D010606E.EPS
Control time:
10th Edition : Dec.18,2003-00
<D1.6 Sampling PI Controller Block (PI-HLD)> D1-75
IM 33S01B30-01E
The value of sampling period represents the time required for the process variable (PV) to
be stabilized after the manipulated output is actually output to the process and its effects
are transmitted throughout the process. When the shortest period of a major disturbance
affecting the process is Tn, if Tn is shorter than the sampling period, the control may be-
come impossible. Therefore, refer the following expression to adjust the sampling period
shorter than Tn:
TS
Tn
5 D010607E.EPS
The sampling period and control time are considered as set parameters, and their setting
can be changed during operation.
Computational Expressions of the PI Control Algorithm with Hold
The computational expressions of the PI control algorithm:
MVn=Kp Ks PVn+ En
T
TI
D010608E.EPS
En=PVn-SVn
Kp=
100
PB D010609E.EPS
Ks=
MSH-MSL
SH-SL D010610E.EPS
MVn: Manipulated output change
Kp: Proportional gain
Ks: Scale conversion coefficient
PVn: Process variable change PVn=PVn-PVn-1 (engineering unit)
PVn: Process variable (engineering unit)
SVn: Setpoint value (engineering unit)
En: Deviation
T: Control period
PB: Proportional band (% unit)
TI: Integral time
SH: PV scale high limit
SL: PV scale low limit
MSH: MV scale high limit
MSL: MV scale low limit
The above PI control algorithm is the same as the PV proportional and derivative type PID
control algorithm (I-PD) of the PID Controller Block (PID) except that the former does not
have a derivative term.
10th Edition : Dec.18,2003-00
D1-76 <D1.6 Sampling PI Controller Block (PI-HLD)>
IM 33S01B30-01E
Set Parameters of the PI Control Algorithm with Hold
The following are set parameters for control computation processing of the PI control
algorithm with hold:
Sampling period (TS): 0 to 10000 seconds.
The default is 1 second.
Control time (TC): 0 to 10000 seconds.
The default is 1 second.
Proportional band (P):
0 to 1000%.
When P=0, the proportional action does not function but only the integral action is
performed.
The proportional gain Kp is 1 when only the integral action is performed.
Integral time (I): 0.1 to 10000 seconds.
IMPORTANT
If the integral time of control block is set to zero or to a value beyond the range, the control
algorithm stops functioning. No process alarm or system alarm message is initiated for this
trouble. So that it is better to use a general purpose calculation block or sequence table
block to enforce the set value of integral time within the proper range and to avoid it to be
set to zero.
PI-HLD Action after Hold
PI-HLD Action after Hold
When PI-HLD starts the control calculation after its Hold period elapsed, the previous
process variable is used as the PVn-1 in proportional term computation, the following two
methods can be selected:
Use the PV right before the Hold status as the PVn-1
Use the current PV as the PVn-1 (Same as the PI-HLD in CENTUM-XL)
The two calculation methods can be selected on FCS properties sheet. Check the check
box of [CENTUM-XL compatible] in the column of [PI-HLD Control Action after Hold]. When
this option is checked, the PVn-1 in the control algorithm uses the current process variable
PVn. Otherwise, the PVn-1 in the control algorithm uses the process variable right before the
Hold started. By default, [CENTUM-XL compatible] is not checked.
10th Edition : Dec.18,2003-00
<D1.6 Sampling PI Controller Block (PI-HLD)> D1-77
IM 33S01B30-01E
Externally Started Sampling PI Control Action
When 0 is set for the sampling period (TS), the externally started sampling PI control
action will take place, as shown in the figure below.
The externally started sampling PI control action starts control when a switch signal is
received from outside the Sampling PI Controller Block.
The externally started sampling PI control action starts PI control when the control switch
(CSW) is turned ON from outside the block during automatic operation. Once started, PI
control will continue throughout the control time (TC). When the TC time has elapsed,
output is held and the control switch (CSW) is turned OFF until the next action is started.
D010611E.EPS
Time
MV
CSW
TC TC
T
(control period)
set set set
OFF
ON
TC
(control time)
Output hold
PI computation output
Figure Externally Started Sampling PI Control Action
The control switch (CSW) is turned ON by other function block, such as a sequence control
block.
When the control switch (CSW) is turned OFF forcibly from outside the block during the
control time, output is held immediately.
10th Edition : Dec.18,2003-00
D1-78 <D1.6 Sampling PI Controller Block (PI-HLD)>
IM 33S01B30-01E
Data Items - PI-HLD
Table Data Items of Sampling PI Controller Block (PI-HLD) (1/2)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (MAN)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- 0
AF Alarm detection specification ----- 0
AOFS Alarm masking specification ----- 0
PV Process variable (*1) PV engineering unit value SL
RAW Raw input data Value in the unit at the connection destination -----
SUM Totalizer value Engineering unit value 0
SV Setpoint value (*2) Value in the same engineering unit as PV SL
CSV Cascade setpoint value Value in the same engineering unit as PV SL
RSV Remote setpoint value (*4) Value in the same engineering unit as PV SL
DV Control deviation value Value in the same engineering unit as PV 0
VN I/O compensation value ----- 0
MV Manipulated output value (*3) MV engineering unit value MSL
RMV Remote manipulated output value (*5) Value in the same engineering unit as MV MSL
RLV1 Reset limit value 1 Value in the same engineering unit as MV MSL
RLV2 Reset limit value 2 Value in the same engineering unit as MV MSL
HH High - high limit alarm setpoint SL to SH SH
LL Low - low limit alarm setpoint SL to SH SL
PH High - limit alarm setpoint SL to SH SH
PL Low - limit alarm setpoint SL to SH SL
VL Velocity alarm setpoint (SH - SL) SH - SL
PVP Velocity-Reference Sample Value in the same engineering unit as PV -----
DL Deviation alarm setpoint (SH - SL) SH - SL
D010612E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
*2: Entry is permitted when the data mode is CAS or RCAS
*3: Entry is permitted when the block mode is MAN
*4: Entry is permitted when the block mode is RCAS
*5: Entry is permitted when the block mode is ROUT
SH: PV scale high limit
SL: PV scale low limit
MSL: MV scale low limit
SEE ALSO
For a list of valid block modes of the PI-HLD block, see the following:
D1.1.4, Valid Block Modes for Each Regulatory Control Block
10th Edition : Dec.18,2003-00
<D1.6 Sampling PI Controller Block (PI-HLD)> D1-79
IM 33S01B30-01E
Table Data Items of Sampling PI Controller Block (PI-HLD) (2/2)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MH Manipulated variable high-limit setpoint MSL to MSH MSH
ML Manipulated variable low-limit setpoint MSL to MSH MSL
SVH Setpoint high limit SL to SH SH
SVL Setpoint low limit SL to SH SL
P Proportional band 0 to 1000% 100%
I Integral time 0.1 to 10,000 seconds 20 seconds
TS Sampling period 0 to 10,000 seconds 1 second
TC Control time 1 to 10,000 seconds 1 second
GW Gap width 0 to (SH - SL) 0.0
DB Deadband 0 to (SH - SL) 0.0
CK Compesation gain -10.000 to 10.000 1.000
CB Compesation bias ----- 0.000
PMV Preset manipulated output value MSL to MSH MSL
TSW Tracking switch 0, 1 0
CSW Control switch 0, 1 0
PSW Preset MV switch 0, 1, 2, 3 0
RSW Pulse width reset switch 0, 1 0
BSW Backup switch 0, 1 0
OPHI Output high-limit index MSL to MSH MSH
OPLO Output low-limit index MSL to MSH MSL
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
SH PV scale high limit Value in the same engineering unit as PV -----
SL PV scale low limit Value in the same engineering unit as PV -----
MSH MV scale high limit Value in the same engineering unit as MV -----
MSL MV scale low limit Value in the same engineering unit as MV -----
D010613E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
10th Edition : Dec.18,2003-00
D1-80 <D1.7 PID Controller Block with Batch Switch (PID-BSW)>
IM 33S01B30-01E
D1.7 PID Controller Block with Batch Switch
(PID-BSW)
PID Controller Block with Batch Switch (PID-BSW) outputs a high limit or low limit
manipulated output signal unconditionally when control deviation becomes large.
This block may be applied to batch reactor temperature control process.
PID Controller Block with Batch Switch (PID-BSW)
Connection
The PID Controller Block with Batch Switch (PID-BSW) prevent overshooting so that the
process variable (PV) may be brought closer to the target value sooner.
The figure below shows a function block diagram of the PID Controller Block with Batch
Switch (PID-BSW):
RMV
SV
CAS/AUT
MAN
INT TSI TIN RL2 RL1
IN OUT
(TSW) (RLV2) (RLV1)
(PV, PV, MV, MV)
SUB
RSV
CSV
CAS
AUT
MAN
RCAS
SET
MV PV
Control
computation
processing
Output
processing
Input
processing
D010701E.EPS
ROUT
Figure Function Block Diagram of PID Controller Block with Batch Switch (PID-BSW)
10th Edition : Dec.18,2003-00
<D1.7 PID Controller Block with Batch Switch (PID-BSW)> D1-81
IM 33S01B30-01E
The table below shows the connection methods and connected destinations of the I/O
terminals of the PID Controller Block with Batch Switch (PID-BSW):
Table Connection Methods and Connected destinations of the I/O Terminals of PID Controller
Block with Batch Switch (PID-BSW)
I/O terminal
Connection method Connection destination
Data
reference
Data
setting
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN Measurement input
SET Setting input
OUT Manipulated output
SUB Auxiliary output
RL1
Reset signal 1
input
RL2
Reset signal 2
input
TIN
Tracking signal
input
TSI Tracking SW input
INT Interlock SW input
D010702E.EPS
: Connection allowed
Blank: Connection not allowed
: Connection allowed only when connecting to a switch block (SW-33, SW-91) or inter-station data link block (ADL).
Function of PID Controller Block with Batch Switch (PID-BSW)
The PID-BSW block performs input processing, control computation processing, output
processing, and alarm processing.
The only processing timing available for the PID-BSW block is a periodic startup. Selec-
tions 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the PID-BSW
block, see the following:
D1.1.3, Input Processing, Output Processing, and Alarm Processing Possible for Each Regulatory Con-
trol Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
10th Edition : Dec.18,2003-00
D1-82 <D1.7 PID Controller Block with Batch Switch (PID-BSW)>
IM 33S01B30-01E
Control Computation Processing of PID Controller Block with Batch
Switch (PID-BSW)
The table below shows the control computation processing functions of PID Controller
Block with Batch Switch (PID-BSW).
Table Control Computation Processing Functions of PID Controller Block with Batch Switch
(PID-BSW)
Control computation processing Description
PID with two-level output switching
Changes the manipulated output computational expression in accordance with the value of
control deviation. PID control computation is performed in a steady state.
Control output action
Converts the manipulated output change (MV) during each control period to an actual
manipulated output value (MV). The control output actions include positional type and
velocity type.
Control action direction
Switches the direction of the output action (reverse action or direct action) in accordance
with the increase or decrease in deviation.
Reset limit function
Performs correction computation using values read from the connection destinations of
input terminals RL1 and RL2 during PID control computation. This function prevents
reset windup.
Process variable tracking Causes the setpoint value (SV) to agree with the process variable (PV).
Setpoint value limiter Limits the setpoint value (SV) within the setpoint high/low limits (SVH, SVL).
Setpoint value pushback Causes two of the three setpoint values (SV, CSV, RSV) to agree with the remaining one.
Bumpless switching
Switches the manipulated output value (MV) without causing it to change abruptly when
the block mode has been changed or when the manipulated output value (MV) has been
switched in a downstream block in cascade.
Initialization manual
Changes the block mode to IMAN to temporarily suspend the control action. This action
takes place when the initialization manual condition becomes satisfied.
Control hold
Temporarily suspends the control action while maintaining the current block mode.
During control hold, the output action is performed normally.
MAN fallback
Changes the block mode to MAN to forcibly stop the control action. This action takes
place when the MAN fallback condition becomes satisfied.
AUT fallback
Changes the block mode to AUT when the function block is operating in the CAS or PRD
mode, so that the control action is continued using values set by the operator. This action
takes place when the AUT fallback condition becomes satisfied.
Computer failure
Temporarily suspends the control action and switches to the computer backup mode when
an error has been detected at a supervisory computer while the function block is operating
in the RCAS or ROUT mode. This action takes place when the computer failure condition
becomes satisfied.
Block mode change interlock
Stops the control action of function blocks currently operating automatically, while
disabling the stopped function blocks from changing to the automatic operating mode.
PRD mode action
Outputs the cascade setpoint value (CSV) after converting it to a manipulated output value
(MV) when the block mode has been changed to PRD.
D010703E.EPS
SEE ALSO
For the details on control computation processing functions applied in PID Controller Block with Batch
Switch (PID-BSW), see the following:
D1.4, Control Computation Processing Common to Controller Blocks
10th Edition : Dec.18,2003-00
<D1.7 PID Controller Block with Batch Switch (PID-BSW)> D1-83
IM 33S01B30-01E
PID Control Computation with Two-Level Output Switching
In PID control computation with two-level output switching, the computational expression
for a manipulated output value (MV) is switched in accordance with the state of control
deviation, as shown below:
When the control deviation is negative and excessive.
When the control deviation is positive, or negative and extremely small.
The figure below shows an example of control action performed by the PID Controller Block
with Batch Switch (PID-BSW) when the control action direction is reverse:
MH
SV
MV
PV
Time
D010704E.EPS
(1) (2) (1) (2)
(1) When the control deviation is negative and excessive
(2) When the control deviation is positive, or negative and extremely small
LK (lockup setpoint)
DL (deviation alarm setpoint)
BIAS (bias setpoint)
Figure Example of Control Action (Reverse Action) Performed by PID Controller Block with
Batch Switch (PID-BSW)
Control Algorithms when the Deviation is Negative and Excessive
The following expressions represent the algorithms of calculating the manipulated output
value when the process variable (PV) is smaller than the setpoint value minus deviation
alarm setpoint (SV-| DL |) value:
When the control action direction is reverse
Manipulated output value (MV)=Manipulated variable high-limit setpoint (MH)
When the control action direction is direct
Manipulated output value (MV)=Manipulated variable low-limit setpoint (ML)
When the deviation immediately after the start of batch operation exceeds the deviation
alarm setpoint, the PID Controller Block with Batch Switch (PID-BSW) outputs a manipu-
lated output value (MV) that is the same as the manipulated variable high-limit setpoint
(MH) or manipulated variable low-limit setpoint (ML). As a result, the process variable
quickly approaches the setpoint value.
10th Edition : Dec.18,2003-00
D1-84 <D1.7 PID Controller Block with Batch Switch (PID-BSW)>
IM 33S01B30-01E
Control Algorithms when the Control Deviation is Positive, or Negative but
Small
The following expressions represent the algorithms of calculating the control output value
when the process variable (PV) is larger than the setpoint value minus deviation alarm setpoint
(SV-| DL |) value:
When the control action direction is Reverse
Manipulated output value (MV)=Manipulated variable high-limit setpoint (MH)Bias
setpoint (BIAS). PID control computation is performed by using the result obtained
from the above calculation as an initial value.
When the control action direction is Direct
Manipulated output value (MV)=Manipulated variable low-limit setpoint (ML)Bias
setpoint (BIAS)
PID control computation is performed by using the result obtained from the above calcula-
tion as an initial value. When the deviation becomes smaller than the deviation limit range, the
PID Controller Block with Batch Switch (PID-BSW) assumes that the process is stabilized
and switches the control algorithm to PID control. At this time, output resumes to the ma-
nipulated variable high-limit setpoint (MH) or manipulated variable low-limit setpoint (ML)
by vanishing the bias setpoint (BIAS) value to prevent the manipulated output value (MV)
from overshooting.
Use the Function Block Detail Builder to define the PID control algorithm.
PID Control Algorithm:
Select one of the following algorithms:
Basic Type
Proportional PV Derivation Type PID Control (I-PID)
PV Derivative Type PID Control (PI-D)
Automatic Determination
Automatic Determination 2
The default is Automatic Determination 2.
SEE ALSO
For the details of PID control algorithm, see the following:
PID Control Computation in chapter D1.5, PID Controller Block (PID)
Lockup Function
Once the PID control action resumes, even when the deviation exceeds the deviation
alarm setpoint (DL), the manipulated output value (MV) does not immediately ramp to the
manipulated variable high-limit setpoint (MH) or manipulated output low-limit setpoint (ML).
This is because of the lockup function.
When the following condition exists, the manipulated output value (MV) does not change to
the manipulated variable high-limit setpoint (MH) if the control action direction is Reverse,
nor to the manipulated variable low-limit setpoint (ML) if the control action direction is
Direct:
Condition
PV<SV-| DL |-LK
LK: Lockup setpoint
10th Edition : Dec.18,2003-00
<D1.7 PID Controller Block with Batch Switch (PID-BSW)> D1-85
IM 33S01B30-01E
Set Parameters of the PID Control Computation with Two-Level Output
Switching
The set parameters of the PID control computation with two-level output switching:
Proportional band (P):
0 to 1000 %.
When P = 0, the proportional action does not function but only the integral action is
performed.
The proportional gain Kp is 1 when only the integral action is performed.
Integral time (I): 0.1 to 10000 seconds.
Derivative time (D): 0 to 10000 seconds.
When D=0, the derivative action does not function.
Deviation alarm setpoint (DL):
Engineering unit data between 0 and the PV scale span range limit.
The default is the scale span.
Bias setpoint (BIAS): Engineering unit data within the MV scale span range.
The default is 0.
Lockup setpoint (LK): Engineering unit data within the PV scale span range.
The default is 0.
Manipulated variable high-limit setpoint (MH):
Engineering unit data within the MV scale range.
The default is the MV scales high limit.
Manipulated variable low-limit setpoint (ML):
Engineering unit data within the MV scale range.
The default is the MV scales low limit.
IMPORTANT
If the integral time of control block is set to zero or to a value beyond the range, the control
algorithm stops functioning. No process alarm or system alarm message is initiated for this
trouble. So that it is better to use a general purpose calculation block or sequence table
block to enforce the set value of integral time within the proper range and to avoid it to be
set to zero.
10th Edition : Dec.18,2003-00
D1-86 <D1.7 PID Controller Block with Batch Switch (PID-BSW)>
IM 33S01B30-01E
Data Items - PID-BSW
Table Data Items of PID Controller Block with Batch Switch (PID-BSW) (1/2)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (MAN)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- 0
AF Alarm detection specification ----- 0
AOFS Alarm masking specification ----- 0
PV Process variable (*1) PV engineering unit value SL
RAW Raw input data Value in the unit at the connection destination -----
SUM Totalizer value Engineering unit value 0
SV Setpoint value (*2) Value in the same engineering unit as PV SL
CSV Cascade setpoint value
Value in the same engineering unit as PV SL
RSV Remote setpoint value (*4) Value in the same engineering unit as PV SL
DV Control deviation value Value in the same engineering unit as PV 0
MV Manipulated output value (*3) MV engineering unit value MSL
RMV Remote manipulated output value (*5) Value in the same engineering unit as MV MSL
RLV1 Reset limit value 1 Value in the same engineering unit as MV MSL
RLV2 Reset limit value 2 Value in the same engineering unit as MV MSL
HH High - high limit alarm setpoint
SL to SH SH
LL Low - low limit alarm setpoint
SL to SH SL
PH High - limit alarm setpoint
SL to SH SH
PL Low - limit alarm setpoint
SL to SH SL
VL Velocity alarm setpoint
(SH - SL) SH - SL
PVP Velocity-Reference Sample Value in the same engineering unit as PV -----
DL Deviation alarm setpoint
(SH - SL) SH - SL
D010705E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
*2: Entry is permitted when the data mode is CAS or RCAS
*3: Entry is permitted when the block mode is MAN
*4: Entry is permitted when the block mode is RCAS
*5: Entry is permitted when the block mode is ROUT
SH: PV scale high limit
SL: PV scale low limit
MSL: MV scale low limit
SEE ALSO
For a list of valid block modes of the PI-BSW block, see the following:
D1.1.4, Valid Block Modes for Each Regulatory Control Block
10th Edition : Dec.18,2003-00
<D1.7 PID Controller Block with Batch Switch (PID-BSW)> D1-87
IM 33S01B30-01E
Table Data Items of PID Controller Block with Batch Switch (PID-BSW) (2/2)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MH Manipulated variable high-limit setpoint MSL to MSH MSH
ML Manipulated variable low-limit setpoint MSL to MSH MSL
SVH Setpoint high limit SL to SH SH
SVL Setpoint low limit SL to SH SL
P Proportional band 0 to 1000% 100%
I Integral time 0.1 to 10,000 seconds 20 seconds
D Derivative time 0 to 10,000 seconds 0 second
LK Lockup setpoint 0 to (SH - SL) 0.0
PMV Preset manipulated output value MSL to MSH MSL
BIAS Bias setpoint value 0 to (MSH - MSL) 0.0
TSW Tracking switch 0, 1 0
CSW Control switch 0, 1 0
PSW Preset MV switch 0, 1, 2, 3 0
RSW Pulse width reset switch 0, 1 0
BSW Backup switch 0, 1 0
OPHI Output high-limit index MSL to MSH MSH
OPLO Output low-limit index MSL to MSH MSL
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
SH PV scale high limit Value in the same engineering unit as PV -----
SL PV scale low limit Value in the same engineering unit as PV -----
MSH MV scale high limit Value in the same engineering unit as MV -----
MSL MV scale low limit Value in the same engineering unit as MV -----
D010706E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
10th Edition : Dec.18,2003-00
D1-88 <D1.8 Two-Position ON/OFF Controller Block (ONOFF), Enhanced ...>
IM 33S01B30-01E
D1.8 Two-Position ON/OFF Controller Block
(ONOFF), Enhanced Two-Position ON/OFF
Controller Block (ONOFF-E)
The Two-Position ON/OFF Controller Block (ONOFF) performs control by ON/OFF
action via a single contact output. The Enhanced Two-Position ONOFF Controller
Block (ONOFF-E) functions the same but have the additional capability to connect to
FF faceplate blocks and fieldbus function blocks.
Two-Position ON/OFF Controller Block (ONOFF), Enhanced Two-Posi-
tion ON/OFF Controller Block (ONOFF-E)
Connection
The ONOFF and ONOFF-E (*1) blocks turn On or Off the contact output according to the
result in comparing the process variable (PV) and setpoint value (SV).
The figure below shows a function block diagram of the Two-Position ON/OFF Controller
Block (ONOFF or ONOFF-E) :
*1: ONOFF-E block can be applied to all field control stations except standard PFCS (CS 1000). When using
ONOFF-E block, it is necessary to add the option [DIOENH] on the [Constant] tab of the FCS properties sheet.
RMV
SV
CAS/AUT
MAN
INT BIN
IN OUT
(VN)
(PV, PV)
SUB
RSV
CSV
CAS
AUT
MAN
RCAS
SET
MV PV
Control
computation
processing
Output
processing
Input
processing
D010801E.EPS
ROUT
Figure Function Block Diagram of ONOFF, ONOFF-E Block
10th Edition : Dec.18,2003-00
<D1.8 Two-Position ON/OFF Controller Block (ONOFF), Enhanced ...> D1-89
IM 33S01B30-01E
The table below shows the connection methods and connected destinations of the I/O
terminals of the Two-Position ON/OFF Controller Block (ONOFF):
Table Connection Methods and Connected destinations of the I/O Terminals of Two-Position ON/
OFF Controller Block (ONOFF):
I/O terminal
Connection method Connection destination
Data
reference
Data
setting
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN Measurement input
SET Setting input
OUT Manipulated output
SUB Auxiliary output
BIN
Compensation
input
INT Interlock SW input
D010802E.EPS
: Connection allowed
Blank: Connection not allowed
: Connection allowed only when connecting to a switch block (SW-33, SW-91) or inter-station data link block (ADL).
The table below shows the connection methods and connected destinations of the I/O
terminals of the Enhanced Two-Position ON/OFF Controller Block (ONOFF-E):
Table Connection Methods and Connected destinations of the I/O Terminals of Enhanced Two-
Position ON/OFF Controller Block (ONOFF-E):
I/O terminal
Connection method Connection destination
Data
reference
Data
setting
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN Measurement input
SET Setting input
: Connection allowed
Blank: Connection not allowed
: Connection allowed only when connecting to a switch block (SW-33, SW-91) or inter-station data link block (ADL).
IMPORTANT
If the OUT1 terminal and the OUT2 terminal are connected to different output modules or if
OUT1 terminal and the OUT2 terminal are connected to FF faceplate blocks or fieldbus
function blocks, the simultaneity of the two outputs are not guaranteed.
Function of Three-Position ON/OFF Controller Block (ONOFF-G), En-
hanced Three-Position ON/OFF Controller Block (ONOFF-GE)
The ONOFF-G and ONOFF-GE blocks perform input processing, control computation
processing, output processing, and alarm processing.
The only processing timing available for the ONOFF-G and ONOFF-GE blocks are a
periodic 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the ONOFF-G
and ONOFF-GE blocks, see the following:
D1.1.3, Input Processing, Output Processing, and Alarm Processing Possible for Each Regulatory Con-
trol Block
For details on the input processing, see the following:
C3,Input Processing
For details on the output processing, see the following:
C4,Output Processing
For details on the alarm processing, see the following:
C5,Alarm Processing-FCS
10th Edition : Dec.18,2003-00
<D1.9 Three-Position ON/OFF Controller Block (ONOFF-G), Enhanced...> D1-99
IM 33S01B30-01E
Control Computation Processing of Three-Position ON/OFF Controller
Block (ONOFF-G), Enhanced Three-Position ON/OFF Controller Block
(ONOFF-GE)
The table below shows the control computation processing functions of the Three-Position
ON/OFF Controller Block (ONOFF-G, ONOFF-GE):
Table Control Computation Processing Functions of Three-Position ON/OFF Controller Block
(ONOFF-G, ONOFF-GE)
Control computation processing Description
ON/OFF three-position control
Compares the deviation with ON/OFF hysteresis and obtains a manipulated output value
(MV).
Control output action
Converts the manipulated output change (MV) during each control period to an actual
manipulated output value (MV). The available control output actions are of positional
type only.
Control action direction
Switches the direction of the output action (reverse action or direct action) in accordance
with the increase or decrease in deviation.
I/O compensation
Adds the I/O compensated value (VN) received from outside to the input signal or control
output signal of PID computation when the controller block is operating automatically.
Only input compensation can be used.
Input compensation
Adds the I/O compensated value (VN) received from the outside to the input signal of the
PID control computation.
Process variable tracking Causes the setpoint value (SV) to agree with the process variable (PV).
Setpoint value limiter Limits the setpoint value (SV) within the setpoint high/low limits (SVH, SVL).
Setpoint value pushback Causes two of the three setpoint values (SV, CSV, RSV) to agree with the remaining one.
Initialization manual
Changes the block mode to IMAN to temporarily suspend the control action. This action
takes place when the initialization manual condition becomes satisfied.
Control hold
Temporarily suspends the control action while maintaining the current block mode.
During control hold, the output action is performed normally.
MAN fallback
Changes the block mode to MAN to forcibly stop the control action. This action takes
place when the MAN fallback condition becomes satisfied.
AUT fallback
Changes the block mode to AUT when the function block is operating in the CAS or PRD
mode, so that the control action is continued using values set by the operator. This action
takes place when the AUT fallback condition becomes satisfied.
Computer failure
Temporarily suspends the control action and switches to the computer backup mode when
an error has been detected at a supervisory computer while the function block is operating
in the RCAS or ROUT mode. This action takes place when the computer failure condition
becomes satisfied.
Block mode change interlock
Stops the control action of function blocks currently operating automatically, while
disabling the stopped function blocks from changing to the automatic operating mode.
D010903E.EPS
SEE ALSO
For the control computation processing functions applied in Three-Position ON/OFF Controller Block
(ONOFF, ONOFF-GE) see the following:
D1.4, Control Computation Processing Common to Controller Blocks
10th Edition : Dec.18,2003-00
D1-100 <D1.9 Three-Position ON/OFF Controller Block (ONOFF-G), Enhanced...>
IM 33S01B30-01E
Output Processing Specific to Three-Position ON/OFF Controller Block
(ONOFF-G), Enhanced Three-Position ON/OFF Controller Block (ONOFF-
GE)
The ONOFF-G and ONOFF-GE blocks perform three-position status output as output
signal conversion.
TIP
The output tracking of ONOFF-GE block can be set on the function block detail builder in related to the
settings of output processing. The ONOFF-G block does not have the capability of output tracking.
SEE ALSO
For more information about the output tracking, see the following:
C4.5, Output Tracking
10th Edition : Dec.18,2003-00
<D1.9 Three-Position ON/OFF Controller Block (ONOFF-G), Enhanced...> D1-101
IM 33S01B30-01E
ON/OFF Three-Position Control Computation
ON/OFF Hysteresis
The ON/OFF three-position control computation is a control algorithm of the 3-Position ON/
OFF Controller Block (ONOFF-G, ONOFF-GE). This algorithm compares the deviation
(En=PVn-SVn) with neutral status range (DB) that includes an ON/OFF hysteresis and
outputs the manipulated output value (MV) by 0 %, 50 % or 100 % based on the compari-
son result.
The action of the control algorithm varies with the control action directions.
Use the Function Block Detail Builder to define the ON/OFF hysteresis.
ON/OFF Hysteresis:
Engineering unit data within the PV scale span range.
The default is the value equivalent to 2.0 % of the PV scale span.
Control Algorithm in Direct Action
The figure below shows the ON/OFF hysteresis when the control action direction is direct:
D010904E.EPS
Direct action Contact 1 output status OFF ON
100 % 50 % 0 % 50 % 0 %
OFF ON ON
OFF
Time
0
-
+
Manipulated output value (MV) when the deviation (En) is increasing
(1) MV=0 %: En<-(| DB |-HYS)
(2) MV=50 %: -(| DB |-HYS)En<| DB |
(3) MV=100 %: | DB |En
Manipulated output value (MV) when the deviation (En) is decreasing
(1) MV=100 %: | DB |-HYS<En
(2) MV=50 %: -| DB |<En| DB |-HYS
(3) MV=0 %: En-| DB |
(1)
(2)
(3)
(4)
(5)
(6)
Deviation (En)
Contact 2 output status
Manipulated output value
Neutral status range (DB) ON/OFF hysteresis (HYS)
Figure ON/OFF Hysteresis in Direct Action
10th Edition : Dec.18,2003-00
D1-102 <D1.9 Three-Position ON/OFF Controller Block (ONOFF-G), Enhanced...>
IM 33S01B30-01E
Control Algorithm in Reverse Action
The figure below shows the ON/OFF hysteresis when the control action direction is re-
verse:
D010905E.EPS
Reverse action Contact 1 output status
OFF ON OFF
0 % 50 % 100 % 50 % 100 %
OFF ON ON
Time
0
-
+
(1)
(2)
(3)
(4)
(5)
(6)
Manipulated output value (MV) when the deviation (En) is increasing
(1) MV=100 %: En<-(| DB |-HYS)
(2) MV=50 %: -(| DB |-HYS)En<| DB |
(3) MV=0 %: | DB |En
Manipulated output value (MV) when the deviation (En) is decreasing
(1) MV=0 %: | DB |-HYS<En
(2) MV=50 %: -| DB |<En| DB |-HYS
(3) MV=100 %: En-| DB |
Deviation (En)
Contact 2 output status
Manipulated output value
Neutral status range (DB) ON/OFF hysteresis (HYS)
Figure ON/OFF Hysteresis in Reverse Action
Set Parameter of ON/OFF Three-Position Control Computation
The parameter of the Three-Position ON/OFF Controller Block (ONOFF-G, ONOFF-GE):
Neutral status range (DB): Engineering unit data within the PV scale range.
The default is 0.
10th Edition : Dec.18,2003-00
<D1.9 Three-Position ON/OFF Controller Block (ONOFF-G), Enhanced...> D1-103
IM 33S01B30-01E
Three-Position Status Output
The ONOFF-G and ONOFF-GE blocks perform three-position status output as output
signal conversion.
In the 3-position status output, the contact output (2 points) are turned ON or OFF accord-
ing to the manipulated output value (MV).
The following table shows the contact output status in relationship to the manipulated
output value (MV) at 0 %, 50 %, 100 % and other instances. Note that the manipulated
output value (MV) is always expressed in percentage (%).
Table Relationship of the Manipulated Output Value (MV) and Contact Output Status (At 0 %, 50 %
and 100 %)
Manipulated output value 0 % 50 % 100 %
Contact 1 output status OFF OFF ON
Contact 2 output status ON OFF OFF
D010908E.EPS
Table Relationship of the Manipulated Output Value (MV) and Contact Output Status (Not at the 0 %,
50 % and 100 %)
Manipulated output value 0 to 24.9 % 25 to 74.9 % 75 to 100 %
Contact 1 output status OFF OFF ON
Contact 2 output status ON OFF OFF
D010909E.EPS
When connect process I/O contacts to the three-position output, only one contact number
need to be defined to the OUT terminal of the ONOFF-G block. This number will become
the first contact output of the ONOFF-G block. Its succeeding number contact will be
automatically assigned to be the second contact output of the ONOFF-G block. When
define the first contact point, make sure that the succeeding contact is not assigned for
other contact output module.
When the ONOFF-GE block is configured for tree-position status outputs, the OUT1
terminal of the ONOFF-GE block can be designated with a contact channel number as the
first output and the OUT2 terminal can be designated with a different contact channel
number as the second output.
10th Edition : Dec.18,2003-00
D1-104 <D1.9 Three-Position ON/OFF Controller Block (ONOFF-G), Enhanced...>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Data Items - ONOFF-G, ONOFF-GE
Table Data Items of Three-Position ON/OFF Controller Block (ONOFF-G, ONOFF-GE) (1/2)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (MAN)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- 0
AF Alarm detection specification ----- 0
AOFS Alarm masking specification ----- 0
PV Process variable (*1) PV engineering unit value SL
RAW Raw input data Value in the unit at the connection destination -----
SUM Totalizer value Engineering unit value 0
SV Setpoint value (*2) Value in the same engineering unit as PV SL
CSV Cascade setpoint value Value in the same engineering unit as PV SL
RSV Remote setpoint value (*4) Value in the same engineering unit as PV SL
DV Control deviation value Value in the same engineering unit as PV 0
VN Input compensation value ----- 0
MV Manipulated output value (*3) 0 to 100% 0 %
RMV Remote manipulated output value (*5) 0 to 100% 0 %
D010906E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
*2: Entry is permitted when the data mode is CAS or RCAS
*3: Entry is permitted when the block mode is MAN
*4: Entry is permitted when the block mode is RCAS
*5: Entry is permitted when the block mode is ROUT
SL: PV scale low limit
SEE ALSO
For a list of valid block modes of the ONOFF-G, ONOFF-GE blocks, see the following:
D1.1.4, Valid Block Modes for Each Regulatory Control Block
<D1.9 Three-Position ON/OFF Controller Block (ONOFF-G), Enhanced...> D1-105
IM 33S01B30-01E
Table Data Items of Three-Position ON/OFF Controller Block (ONOFF-G, ONOFF-GE) (2/2)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
HH High - high limit alarm setpoint SL to SH SH
LL Low - low limit alarm setpoint SL to SH SL
PH High - limit alarm setpoint SL to SH SH
PL Low - limit alarm setpoint SL to SH SL
VL Velocity alarm setpoint
(SH - SL) SH - SL
PVP Velocity-Reference Sample Value in the same engineering unit as PV -----
DL Deviation alarm setpoint (SH - SL) SH - SL
SVH Setpoint high-limit SL to SH SH
SVL Setpoint low-limit SL to SH SL
DB Neutral status range 0 to (SH - SL) 0.0
CK Compensation gain -10.000 to 10.000 1.000
CB Compensation bias
----- 0.000
PMV Preset manipulated output value
0 to 100% 0 %
PSW Preset MV switch
0, 1, 2, 3 0
BSW Backup switch
0, 1 0
OPMK Operation mark
0 to 255 0
UAID User application ID
----- 0
SH PV scale high limit Value in the same engineering unit as PV -----
SL PV scale low limit Value in the same engineering unit as PV -----
D010907E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
10th Edition : Dec.18,2003-00
D1-106 <D1.10 Time-Proportioning ON/OFF Controller Block (PID-TP)>
IM 33S01B30-01E
D1.10 Time-Proportioning ON/OFF Controller Block
(PID-TP)
The Time-Proportioning ON/OFF Controller Block (PID-TP) changes ON time of
contact output proportional to the result of the PID control computation. This block
is used for temperature control of an electric furnace.
Time-Proportioning ON/OFF Controller Block (PID-TP)
Connection
Time-Proportioning ON/OFF Controller Block (PID-TP) changes ON/OFF time ratio in
proportion to the manipulated output value (MV) obtained by PID control computation to the
overall ON/OFF period. Only the basic scan-cycle can be applied to PID-TP.
The figure below shows the function block diagram of Time-Proportioning ON/OFF Control-
ler Block (PID-TP):
RMV
SV
CAS/AUT
MAN
INT RL2 BIN RL1
IN OUT
(RLV2) (RLV1) (VN)
(PV, PV, MV, MV)
SUB
RSV
CSV
CAS
AUT
MAN
RCAS
SET
MV PV
Control
computation
processing
Output
processing
Input
processing
D011001E.EPS
ROUT
Figure Function Block Diagram of Time-Proportioning ON/OFF Controller Block (PID-TP)
10th Edition : Dec.18,2003-00
<D1.10 Time-Proportioning ON/OFF Controller Block (PID-TP)> D1-107
IM 33S01B30-01E
The table below shows the connection methods and connected destinations of the I/O
terminals of the Time-Proportioning ON/OFF Controller Block (PID-TP):
Table Connection Methods and Connected destinations of the I/O Terminals of Time-
Proportioning ON/OFF Controller Block (PID-TP):
I/O terminal
Connection method Connection destination
Data
reference
Data
setting
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN Measurement input
SET Setting input
OUT Manipulated output
SUB Auxiliary output
RL1
Reset signal 1
input
RL2
Reset signal 2
input
BIN
Compensation
input
INT Interlock SW input
D011002E.EPS
: Connection allowed
Blank: Connection not allowed
: Connection allowed only when connecting to a switch block (SW-33, SW-91) or inter-station data link block (ADL).
10th Edition : Dec.18,2003-00
D1-108 <D1.10 Time-Proportioning ON/OFF Controller Block (PID-TP)>
IM 33S01B30-01E
Function of Time-Proportioning ON/OFF Controller Block (PID-TP)
The PID-TP block performs input processing, control computation processing, output
processing, and alarm processing.
The only processing timing available for the PID-TP block is a periodic startup. Moreover,
only the basic scan period can be selected as the scan period to execute the periodic
startup.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the PID-TP block,
see the following:
D1.1.3, Input Processing, Output Processing, and Alarm Processing Possible for Each Regulatory Con-
trol Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Control Computation Processing of Time-Proportioning ON/OFF
Controller Block (PID-TP)
The table below shows the control computation processing functions of the Time-Propor-
tioning ON/OFF Controller Block (PID-TP):
Table Control Computation Processing Functions of Time-Proportioning ON/OFF Controller
Block (PID-TP) (1/2)
Control computation processing Description
PV proportional and derivative PID
control
Performs integral actions in accordance with changes in the setpoint value (SV). This
ensures stable control characteristics even when the setpoint value changes abruptly.
Non-linear gain
Changes the proportional gain in accordance with the degree of deviation so that the
relationship between the deviation and manipulated output change (MV) becomes non-
linear.
Gap action
Lowers the proportional gain to moderate control effects when the deviation is within the
gap width (GW) range.
Squared deviation action
Changes the proportional gain according to the degree of deviation when the deviation is
within the gap width (GW) range.
Control output action
Converts the manipulated output change (MV) during each control period to an actual
manipulated output value (MV). The control output actions include positional type and
velocity type.
Control action direction
Switches the direction of the output action (reverse action or direct action) in accordance
with the increase or decrease in deviation.
Reset limit function
Performs correction computation using values read from the connection destinations of
input terminals RL1 and RL2 during PID control computation. This function prevents
reset windup.
Deadband action
Adjusts the manipulated output change (MV) to 0 when the deviation is within the
deadband range, in order to stop the manipulated output value (MV) from changing.
D011003E.EPS
10th Edition : Dec.18,2003-00
<D1.10 Time-Proportioning ON/OFF Controller Block (PID-TP)> D1-109
IM 33S01B30-01E
Table Control Computation Processing Functions of Time-Proportioning ON/OFF Controller
Block (PID-TP) (2/2)
Control computation processing Description
Initialization manual
Changes the block mode to IMAN to temporarily suspend the control action. This action
takes place when the initialization manual condition is established.
Control hold
Temporarily suspends the control action while maintaining the current block mode.
During control hold, the output action is performed normally.
MAN fallback
Changes the block mode to MAN to forcibly stop the control action. This action takes
place when the MAN fallback condition is established.
AUT fallback
Changes the block mode to AUT when the function block is operating in the CAS or PRD
mode, so that the control action is continued using values set by the operator. This action
takes place when the AUT fallback condition is established.
Computer failure
Temporarily suspends the control action and switches to the computer backup mode when
an error is detected by supervisory computer while the function block is operating in the
RCAS or ROUT mode. This action takes place when the computer failure condition is
established.
Interlock on block mode change
Stops the automatic control action of function blocks. And prevents the function blocks
currently operating in manual mode from changing to automatic mode.
D011004E.EPS
I/O compensation
Adds the I/O compensated value (VN) received from outside to the input signal or control
output signal of PID computation when the controller block is operating automatically.
Input compensation
Adds the I/O compensated value (VN) received from the outside to the input signal of the
PID control computation.
Output compensation
Adds the I/O compensated value (VN) received from outside to the output signal of the
PID control computation.
Process variable tracking Causes the setpoint value (SV) to agree with the process variable (PV).
Setpoint value limiter Limits the setpoint value (SV) within the setpoint high/low limits (SVH, SVL).
Setpoint value pushback Causes two of the three setpoint values (SV, CSV, RSV) to agree with the remaining one.
SEE ALSO
For the details on control computation processing functions applied in the Time-Proportioning ON/OFF
Controller Block (PID-TP), see the following:
D1.4, Control Computation Processing Common to Controller Blocks
Output Processing Specific to Time-Proportioning ON/OFF Controller
Block (PID-TP)
The PID-TP block performs time-proportioning ON/OFF output as output signal conver-
sion.
10th Edition : Dec.18,2003-00
D1-110 <D1.10 Time-Proportioning ON/OFF Controller Block (PID-TP)>
IM 33S01B30-01E
PV Proportional and Derivative Type PID Control (I-PD)
The PV proportional and derivative type PID control algorithm (I-PI) is a control algorithm of
the Time-Proportioning ON/OFF Controller Block (PID-TP).
This algorithm performs only integral actions when the setpoint value changes, and en-
sures stable control characteristics even when the setpoint value changes abruptly by a
numerical value entry.
At the same time, the algorithm ensures proper control in response to the characteristic
changes occurring in the controlled process, load variations and disturbances by perform-
ing proportional, derivative and integral Control Action accordingly.
Computational Expression of the PV Proportional and Derivative Type of
PID Control
The computational expression of the PV proportional and derivative type of PID control:
MVn=Kp Ks PVn+ En+ (PVn)
TD
T
T
TI
D011005E.EPS
PVn: Process variable change PVn=PVn-PVn-1
Set Parameters of the PV Proportional and Derivative Type of PID Control
The parameters the PV proportional and derivative type of PID control (I-PID):
Proportional band (P): 0 to 1000 %
When P=0, only the integral action is performed.
When P=0, the proportional gain Kp=1.
Integral time (I): 0.1 to 10000 seconds
Derivative time (D): 0 to 10000 seconds
No derivative action is performed when D=0.
IMPORTANT
If the integral time of control block is set to zero or to a value beyond the range, the control
algorithm stops functioning. No process alarm or system alarm message is initiated for this
trouble. So that it is better to use a general purpose calculation block or sequence table
block to enforce the set value of integral time within the proper range and to avoid it to be
set to zero.
10th Edition : Dec.18,2003-00
<D1.10 Time-Proportioning ON/OFF Controller Block (PID-TP)> D1-111
IM 33S01B30-01E
Time-Proportioning ON/OFF Output
Time-Proportioning ON/OFF Period
The PID-TP block performs time-proportioning ON/OFF output as output signal conversion.
In the time-proportioning ON/OFF output, a contact output (1 point) defined to the OUT
terminal is turned ON for the period of time proportioning to the manipulated output value
(MV) within the ON/OFF period.
D011008E.EPS
Time
OFF
ON
Proportional to manipulated output value (MV)
ON/OFF period (constant)
On time (sec.) = ON/OFF period (sec.)
Output value (MV value) (%)
100 (%)
Figure Operation of Time-Proportioning ON/OFF Output
The time-proportioning ON/OFF output is always off against 0 % and on against 100 % of
the manipulated output value (MV) respectively. For instance, if the ON/OFF period is 10
seconds and manipulated output value (MV) is 80 %, the ON time will be 8 seconds.
The time-proportioning ON/OFF period is set through the Function Block Detail Builder.
Time-proportioning ON/OFF Period: 1.00 to 256.00 seconds
Default is 1.00 second.
If there are multiple PID-TP blocks, their simultaneous turning on at the beginning of the
ON/OFF period will cause a large fluctuation in the load of power supply for the final control
element (such as heaters). To reduce such load fluctuation, the phases of PID-TP blocks
ON/OFF outputs are automatically shifted.
Phasing the ON/OFF period of the function blocks
The phasing is performed according to the internal block numbers so as to prevent the
multiple blocks ON/OFF in the same phase (*1).
Phasing the ON/OFF period of the I/O modules. For the time-proportioning ON/OFF
pulse period in the Details Setting dialogue box of IOM Builder, set the same value as
the time-proportioning ON/OFF period specified with Function Block Detail Builder.
In addition, specify Operation start offset in the Details Setting dialogue box of IOM
Builder so as to prevent a heavy load caused by multiple outputs ON/OFF in the same
period (*2).
*1: The function is supported in PFCS
The function is supported in SFCS
*2: The function is supported only in CS 3000 system.
The function is supported in KFCS2, KFCS, LFCS2 or LFCS
10th Edition : Dec.18,2003-00
D1-112 <D1.10 Time-Proportioning ON/OFF Controller Block (PID-TP)>
IM 33S01B30-01E
Data Items - PID-TP
Table Data Items of Time-Proportioning ON/OFF Controller Block (PID-TP) (1/2)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (MAN)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- 0
AF Alarm detection specification ----- 0
AOFS Alarm masking specification ----- 0
PV Process variable (*1) PV engineering unit value SL
RAW Raw input data Value in the unit at the connection destination -----
SUM Totalizer value Engineering unit value 0
SV Setpoint value (*2) Value in the same engineering unit as PV SL
CSV Cascade setpoint value Value in the same engineering unit as PV SL
RSV Remote setpoint value (*4) Value in the same engineering unit as PV SL
DV Control deviation value Value in the same engineering unit as PV 0
VN Input compensation value ----- 0
MV Manipulated output value (*3) 0 to 100 % 0 %
RMV Remote manipulated output value (*5) 0 to 100 % 0 %
RLV1 Reset limit value1 0 to 100 % 0 %
RLV2 Reset limit value 2 0 to 100 % 0 %
HH High - high limit alarm setpoint SL to SH SH
LL Low - low limit alarm setpoint SL to SH SL
PH High - limit alarm setpoint SL to SH SH
PL Low - limit alarm setpoint SL to SH SL
VL Velocity alarm setpoint (SH - SL) SH - SL
PVP Velocity-Reference Sample Value in the same engineering unit as PV -----
DL Deviation alarm setpoint (SH - SL) SH - SL
D011006E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
*2: Entry is permitted when the data mode is CAS or RCAS
*3: Entry is permitted when the block mode is MAN
*4: Entry is permitted when the block mode is RCAS
*5: Entry is permitted when the block mode is ROUT
SH: PV scale high limit
SL: PV scale low limit
SEE ALSO
For a list of valid block modes of the PID-TP block, see the following:
D1.1.4, Valid Block Modes for Each Regulatory Control Block
10th Edition : Dec.18,2003-00
<D1.10 Time-Proportioning ON/OFF Controller Block (PID-TP)> D1-113
IM 33S01B30-01E
Table Data Items of Time-Proportioning ON/OFF Controller Block (PID-TP) (2/2)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MH Manipulated variable high-limit setpoint 0 to 100% 100 %
ML Manipulated variable low-limit setpoint 0 to 100% 0 %
SVH Setpoint high limit SL to SH SH
SVL Setpoint low limit SL to SH SL
P Proportional band 1 to 1000% 100%
I Integral time 0.1 to 10,000 seconds 20 seconds
D Derivative time 0 to 10,000 seconds 0 second
GW Gap width 0 to (SH - SL) 0.0
DB Deadband 0 to (SH - SL) 0.0
CK Compensation gain -10.000 to 10.000 1.000
CB Compensation bias ----- 0.000
PMV Preset manipulated output value 0 to 100% 0 %
CSW Control switch 0, 1 0
PSW Preset MV switch 0, 1, 2, 3 0
BSW Backup switch 0, 1 0
OPHI Output high-limit index 0 to 100% 100 %
OPLO Output low-limit index 0 to 100% 0 %
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
SH PV scale high limit Value in the same engineering unit as PV -----
SL PV scale low limit Value in the same engineering unit as PV -----
D011007E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
10th Edition : Dec.18,2003-00
D1-114 <D1.11 PD Controller Block with Manual Reset (PD-MR)>
IM 33S01B30-01E
D1.11 PD Controller Block with Manual Reset
(PD-MR)
PD Controller Block with Manual Reset (PD-MR) performs proportional-derivative
(PD) control function. This block may be applied to programmed temperature con-
trol process.
PD Controller Block with Manual Reset (PD-MR)
Connection
The PD Controller Block with Manual Reset (PD-MR) performs proportional (P) and deriva-
tive (D) control, while the integral (I) may be manually set to be applied to the control
function.
In programmed temperature control process, operating conditions do not remain the same
throughout the process time. For example, a chemical process is accompanied by momen-
tary generations of intense heat. In this case, among all PID actions of the controller block
the integral (I) actions may be weakened for a specific period of time during operation so
that control is performed only by proportional and derivative (PD) actions. In this type of
process, it is necessary to set a wide proportional band, as a long dead time or large
process time constant tends to cause hunting if an integral (I) action is performed.
By performing only proportional-derivative (PD) actions, the proportional band (P) can be
narrowed. In addition, overshooting can be inhibited by shift the control phase by derivative
(D) actions to achieve the better control result.
The figure below shows the function block diagram of PD Controller Block with Manual
Reset (PD-MR):
RMV
SV
CAS/AUT
MAN
INT TSI TIN BIN
IN OUT
(TSW) (VN)
(PV, PV, MV, MV)
SUB
RSV
CSV
CAS
AUT
MAN
RCAS
SET
MV PV
Control
computation
processing
Output
processing
Input
processing
D011101E.EPS
ROUT
Figure Function Block Diagram of PD Controller Block with Manual Reset (PD-MR)
10th Edition : Dec.18,2003-00
<D1.11 PD Controller Block with Manual Reset (PD-MR)> D1-115
IM 33S01B30-01E
The table below shows the connection methods and connected destinations of the I/O
terminals of the PD Controller Block with Manual Reset (PD-MR):
Table Connection Methods and Connected destinations of the I/O Terminals of PD Controller
Block with Manual Reset (PD-MR)
I/O terminal
Connection method Connection destination
Data
reference
Data
setting
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN Measurement input
SET Setting input
OUT Manipulated output
SUB Auxiliary output
BIN
Compensation
input
TIN
Tracking signal
input
TSI Tracking SW input
INT Interlock SW input
D011102E.EPS
: Connection allowed
Blank: Connection not allowed
: Connection allowed only when connecting to a switch block (SW-33, SW-91) or inter-station data link block (ADL).
Function of PD Controller Block with Manual Reset (PD-MR)
The PD-MR block performs input processing, control computation processing, output
processing, and alarm processing.
The only processing timing available for the PD-MR block is a periodic 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the PD-MR block,
see the following:
D1.1.3, Input Processing, Output Processing, and Alarm Processing Possible for Each Regulatory Con-
trol Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
10th Edition : Dec.18,2003-00
D1-116 <D1.11 PD Controller Block with Manual Reset (PD-MR)>
IM 33S01B30-01E
Control Computation Processing of PD Controller Block with Manual
Reset (PD-MR)
The table below shows the control computation processing functions of the PD Controller
Block with Manual Reset (PD-MR):
Table Control Computation Processing Functions of PD Controller Block with Manual Reset
(PD-MR)
Control computation processing Description
PD control with manual reset Performs PD actions. The reset value (MR) is set manually.
Control output action
Converts the manipulated output change (MV) during each control period to an actual
manipulated output value (MV). The available control output actions are of positional
type only.
Control action direction
Switches the direction of the output action (reverse action or direct action) in accordance
with the increase or decrease in deviation.
I/O compensation
Adds the I/O compensated value (VN) received from outside to the input signal or control
output signal of PID computation when the controller block is operating automatically.
Only input compensation can be used.
Input compensation
Adds the I/O compensated value (VN) received from the outside to the input signal of the
PID control computation.
Process variable tracking Causes the setpoint value (SV) to agree with the process variable (PV).
Setpoint value limiter Limits the setpoint value (SV) within the setpoint high/low limits (SVH, SVL).
Setpoint value pushback Causes two of the three setpoint values (SV, CSV, RSV) to agree with the remaining one.
Bumpless switching
Switches the manipulated output value (MV) without causing it to change abruptly when
the block mode has been changed or when the manipulated output value (MV) has been
switched in a downstream block in cascade.
Balance action
Prevents abrupt changes in the manipulated output value (MV) by initializing the balance
term in the manipulated output computational expression.
Initialization manual
Changes the block mode to IMAN to temporarily suspend the control action. This action
takes place when the initialization manual condition becomes satisfied.
Control hold
Temporarily suspends the control action while maintaining the current block mode.
During control hold, the output action is performed normally.
MAN fallback
Changes the block mode to MAN to forcibly stop the control action. This action takes
place when the MAN fallback condition becomes satisfied.
AUT fallback
Changes the block mode to AUT when the function block is operating in the CAS or PRD
mode, so that the control action is continued using values set by the operator. This action
takes place when the AUT fallback condition becomes satisfied.
Computer failure
Temporarily suspends the control action and switches to the computer backup mode when
an error has been detected at a supervisory computer while the function block is operating
in the RCAS or ROUT mode. This action takes place when the computer failure condition
becomes satisfied.
Block mode change interlock
Stops the control action of function blocks currently operating automatically, while
disabling the stopped function blocks from changing to the automatic operating mode.
PRD mode action
Outputs the cascade setpoint value (CSV) after converting it to a manipulated output value
(MV) when the block mode has been changed to PRD.
D011103E.EPS
SEE ALSO
For the control computation processing available with the PD Controller Block with Manual Reset (PD-
MR), see the following:
D1.4, Control Computation Processing Common to Controller Blocks
10th Edition : Dec.18,2003-00
<D1.11 PD Controller Block with Manual Reset (PD-MR)> D1-117
IM 33S01B30-01E
PD Control with Manual Reset
The PD control with manual reset performs proportional and derivative (PD) actions. The
reset value (MR) must be set manually.
Computational Expression of the PD Control with Manual Reset
The computational expression of the PD control with manual reset:
CALCn=Kp Ks En+ PVn +MR+BLn
TD
T
D011104E.EPS
En=PVn-SVn
Kp=
100
PB D011105E.EPS
Ks=
MSH-MSL
SH-SL
D011106E.EPS
BLn= 1- BLn-1
T
Tbl D011107E.EPS
CALCn: Calculated output value
Kp: Proportional gain
Ks: Scale conversion coefficient
En: Deviation
PVn: Process variable (engineering unit)
SVn: Setpoint value (engineering unit)
PVn: Process variable change PVn=PVn-PVn-1
MR: Manual reset value
BLn: Balance term. A correction variable used for bumpless switching from MAN to AUT.
TD: Derivative time
T: Control period
PB: Proportional band (%)
Tbl: Balance rate time
SH: PV scale high limit
SL: PV scale low limit
MSH: MV scale high limit
MSL: MV scale low limit
In an automatic mode (AUT, CAS or RCAS), the calculated output value (CALCn) is con-
verted into a manipulated output value (MV) through output processing.
10th Edition : Dec.18,2003-00
D1-118 <D1.11 PD Controller Block with Manual Reset (PD-MR)>
IM 33S01B30-01E
Set Parameters of the PD Control with Manual Reset
The parameters of the PD control with manual reset:
Proportional band (P): 1 to 1000 %
Derivative (D): 0 to 1000 seconds
When D=0, the proportional action does not function.
Manual reset value (MR): Engineering unit data within the MV scale range
Balance rate time (I): 0.1 to 10000 seconds
The balance rate time (Tbl) is set to the parameter I on
operation and monitoring functions.
IMPORTANT
If the integral time of control block is set to zero or to a value beyond the range, the control
algorithm stops functioning. No process alarm or system alarm message is initiated for this
trouble. So that it is better to use a general purpose calculation block or sequence table
block to enforce the set value of integral time within the proper range and to avoid it to be
set to zero.
Bumpless Switching
The bumpless switching function switches the function block mode or switches the cas-
cade connected downstream blocks manipulated output value (MV) without causing its
own manipulated output value (MV) to change abruptly (i.e., bumpless switch).
The PD Controller Block with Manual Reset performs bumpless switching based on bal-
ance action.
The PD Controller Block with Manual Reset performs bumpless switching of the block
mode from manual (MAN) to automatic (AUT), by using a value obtained by the following
expression as the initial value of the balance term (BLn0):
BLn0=MV-Kp Ks En+ PVn -MR
TD
T
D011108E.EPS
MV: Output in the manual mode
The figure below shows the balance action of the PD Controller Block with Manual Reset:
D011109E.EPS
MAN
MV
BLn0
MR
AUT
Time
Figure Bumpless Switching by PD Controller Block with Manual Reset (Balance Action)
When the block mode is not remote output (ROUT) or out of service (O/S), the remote
manipulated output value (RMV) tracks the manipulated output value (MV).
10th Edition : Dec.18,2003-00
<D1.11 PD Controller Block with Manual Reset (PD-MR)> D1-119
IM 33S01B30-01E
Data Items - PD-MR
Table Data Items of PD Controller Block with Manual Reset (PD-MR) (1/2)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (MAN)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- 0
AF Alarm detection specification ----- 0
AOFS Alarm masking specification ----- 0
PV Process variable (*1) PV engineering unit value SL
RAW Raw input data Value in the unit at the connection destination -----
SUM Totalizer value Engineering unit value 0
SV Setpoint value (*2) Value in the same engineering unit as PV SL
CSV Cascade setpoint value Value in the same engineering unit as PV SL
RSV Remote setpoint value (*4) Value in the same engineering unit as PV SL
DV Control deviation value Value in the same engineering unit as PV 0
VN Input compensation value ----- 0
MV Manipulated output value (*3) MV engineering unit value MSL
RMV Remote manipulated output value (*5) Value in the same engineering unit as MV MSL
CALC Calculated output value Value in the same engineering unit as MV MSL
HH High - high limit alarm setpoint SL to SH SH
LL Low - low limit alarm setpoint SL to SH SL
PH High - limit alarm setpoint SL to SH SH
PL Low - limit alarm setpoint SL to SH SL
VL Velocity alarm setpoint (SH - SL) SH - SL
PVP Velocity-Reference Sample Value in the same engineering unit as PV -----
DL Deviation alarm setpoint (SH - SL) SH - SL
D011110E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
*2: Entry is permitted when the data mode is CAS or RCAS
*3: Entry is permitted when the block mode is MAN
*4: Entry is permitted when the block mode is RCAS
*5: Entry is permitted when the block mode is ROUT
SH: PV scale high limit
SL: PV scale low limit
MSL: MV scale low limit
SEE ALSO
For a list of valid block modes of the PD-MR block, see the following:
D1.1.4, Valid Block Modes for Each Regulatory Control Block
10th Edition : Dec.18,2003-00
D1-120 <D1.11 PD Controller Block with Manual Reset (PD-MR)>
IM 33S01B30-01E
Table Data Items of PD Controller Block with Manual Reset (PD-MR) (2/2)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MH Manipulated variable high-limit setpoint MSL to MSH MSH
ML Manipulated variable low-limit setpoint MSL to MSH MSL
SVH Setpoint high limit SL to SH SH
SVL Setpoint low limit SL to SH SL
P Proportional band 1 to 1000% 100%
I Balancing rate time 0.1 to 10,000 seconds 10 seconds
D Derivative time 0 to 10,000 seconds 0 second
MR Manual reset value MSL to MSH MSL
CK Compensation gain -10.000 to 10.000 1.000
CB Compensation bias ----- 0.000
PMV Preset manipulated output value MSL to MSH MSL
TSW Tracking switch 0, 1 0
PSW Preset MV switch 0, 1, 2, 3 0
RSW Pulse width reset switch 0, 1 0
BSW Backup switch 0, 1 0
OPHI Output high-limit index MSL to MSH MSH
OPLO Output low-limit index MSL to MSH MSL
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
SH PV scale high limit Value in the same engineering unit as PV -----
SL PV scale low limit Value in the same engineering unit as PV -----
MSH MV scale high limit Value in the same engineering unit as MV -----
MSL MV scale low limit Value in the same engineering unit as MV -----
D011111E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
10th Edition : Dec.18,2003-00
<D1.12 Blending PI Controller Block (PI-BLEND)> D1-121
IM 33S01B30-01E
D1.12 Blending PI Controller Block (PI-BLEND)
Blending PI Controller Block (PI-BLEND) may be applied to the multiple elements
flow control (blending control) to maintain the totalized flow value of each blending
component at a constant ratio (blending ratio).
Blending PI Controller Block (PI-BLEND)
Connection
The figure below shows a function block diagram of Blending PI Controller Block (PI-
BLEND):
RMV
SV
CAS/AUT
MAN
INT TSI TIN
IN OUT
(TSW)
(PV, PV, MV, MV)
SUB
RSV
CSV
CAS
AUT
MAN
RCAS
SET
MV PV
Control
computation
processing
Output
processing
Input
processing
D011201E.EPS
ROUT
Figure Function Block Diagram of Blending PI controller Block (PI-BLEND)
The table below shows the connection methods and connected destinations of the I/O
terminals of Blending PI Controller Block (PI-BLEND):
Table Connection Methods and Connected Destinations of the I/O Terminals of Blending PI
Controller Block (PI-BLEND)
I/O terminal
Connection method Connection destination
Data
reference
Data
reference
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN Measurement input
SET Setting input
OUT Manipulated output
SUB Auxiliary output
TIN
Tracking signal
input
TSI Tracking SW input
INT Interlock SW input
D011202E.EPS
: Connection allowed
Blank: Connection not allowed
: Connection allowed only when connecting to a switch block (SW-33, SW-91) or inter-station data link block (ADL).
10th Edition : Dec.18,2003-00
D1-122 <D1.12 Blending PI Controller Block (PI-BLEND)>
IM 33S01B30-01E
Function of Blending PI Controller Block (PI-BLEND)
The PI-BLEND block performs input processing, control computation processing, output
processing, and alarm processing.
The only processing timing available for the PI-BLEND block is a periodic startup. Selec-
tions 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the PI-BLEND
block, see the following:
D1.1.3, Input Processing, Output Processing, and Alarm Processing Possible for Each Regulatory Con-
trol Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
10th Edition : Dec.18,2003-00
<D1.12 Blending PI Controller Block (PI-BLEND)> D1-123
IM 33S01B30-01E
Control Computation Processing of Blending PI Controller Block
(PI-BLEND)
The table below shows the control computation processing functions of Blending PI Con-
troller Block (PI-BLEND):
Table Control Computation Processing Functions of Blending PI controller Block (PI-BLEND)
Control computation processing Description
PI control based on cumulative
deviation
Performs proportional (P) control and integral (I) actions based on cumulative deviation,
and obtains a manipulated output value (MV) and manipulated output change (MV).
Control output action
Converts the manipulated output change (MV) during each control period to an actual
manipulated output value (MV). The control output actions include positional type and
velocity type.
Control action direction
Switches the direction of the output action (reverse action or direct action) in accordance
with the increase or decrease in deviation.
Process variable tracking Causes the setpoint value (SV) to agree with the process variable (PV).
Setpoint value limiter Limits the setpoint value (SV) within the setpoint high/low limits (SVH, SVL).
Setpoint value pushback Causes two of the three setpoint values (SV, CSV, RSV) to agree with the remaining one.
Bumpless switching
Switches the manipulated output value (MV) without causing it to change abruptly when
the block mode has been changed or when the manipulated output value (MV) has been
switched in a downstream block in cascade.
Balance action
Prevents abrupt changes in the manipulated output value (MV) by initializing the balance
term in the manipulated output computational expression.
Initialization manual
Changes the block mode to IMAN to temporarily suspend the control action. This action
takes place when the initialization manual condition becomes satisfied.
Control hold
Temporarily suspends the control action while maintaining the current block mode.
During control hold, the output action is performed normally.
MAN fallback
Changes the block mode to MAN to forcibly stop the control action. This action takes
place when the MAN fallback condition becomes satisfied.
AUT fallback
Changes the block mode to AUT when the function block is operating in the CAS or PRD
mode, so that the control action is continued using values set by the operator. This action
takes place when the AUT fallback condition becomes satisfied.
Computer failure
Temporarily suspends the control action and switches to the computer backup mode when
an error has been detected at a supervisory computer while the function block is operating
in the RCAS or ROUT mode. This action takes place when the computer failure condition
becomes satisfied.
Block mode change interlock
Stops the control action of function blocks currently operating automatically, while
disabling the stopped function blocks from changing to the automatic operating mode.
D011203E.EPS
SEE ALSO
For the control computation processing functions applied in Blending PI Controller Block (PI-BLEND), see
the folloowing:
D1.4, Control Computation Processing Common to Controller Blocks
Alarm Processing Specific to Blending PI Controller Block (PI-BLEND)
The cumulative deviation alarm check and control error alarm check, which are two of
the alarm checks performed by the PI-BLEND block, are specific to this function block.
10th Edition : Dec.18,2003-00
D1-124 <D1.12 Blending PI Controller Block (PI-BLEND)>
IM 33S01B30-01E
PI Control Based on Cumulative Deviation
The Blending PI Controller Block (PI-BLEND) performs proportional and integral actions
based on cumulative deviation. The cumulative deviation value (DVn) is obtained by totaliz-
ing deviations of the process variable (PVn) from setpoint value (SVn) for each scan period
and performing time scale-conversion on the totalized deviation.
Computational Expression of the PI Control Algorithm Based on
Cumulative Deviation
DVRn=DVRn-1+(PVn-SVn)
DVn= TS
DVRn
TK D011204E.EPS
DVRn: Raw cumulative deviation value
DVRn-1: Previous raw cumulative deviation value
DVn: Cumulative deviation value
TS: Scan period
TK: Time scale conversion coefficient
The time scale conversion is to convert the raw cumulative deviation value that represents
a totalized deviation value, from a value of flowrate unit (e.g., m
3
/h) to that in a weight or
volume unit (e.g., m
3
). The time scale conversion coefficient (TK) used in the above compu-
tational expression is a value in seconds representing the unit time of the flowrate unit. For
example, if the unit of the process variable (PV) is m
3
/h, set 3600 as a time scale conver-
sion coefficient (TK).
The computational expression of the control algorithm used by the Blending PI Controller
Block.
MVn = T En + ESn +BLn
Kp Ks
8
T
TI
D011205E.EPS
En= PVn-SVn
Kp=
100
PB D011206E.EPS
Ks=
MSH-MSL
SH-SL D011207E.EPS
Kp: Proportional gain
Ks: Scale conversion coefficient
PVn: Process variable (engineering unit)
SVn: Setpoint value (engineering unit)
ESn: Control cumulative deviation (A DV value limited by DL)
BLn: Balance term. A correction variable used for bumpless switching from MAN to AUT.
T: Control period
TI: Integral time
PB: Proportional band (%)
SH: PV scale high limit
SL: PV scale low limit
MSH: MV scale high limit
MSL: MV scale low limit
10th Edition : Dec.18,2003-00
<D1.12 Blending PI Controller Block (PI-BLEND)> D1-125
IM 33S01B30-01E
Control Cumulative Deviation Value (ESn) Used in the PI Control Algorithm
Based on Cumulative Deviation
The control cumulative deviation value (ESn) used for PI control computation is equivalent
to the cumulative deviation value (DVn) limited by the deviation alarm setpoint (DL).
When DVn| DL |
ESn=+| DL | TK
When-| DL |<DVn<| DL |
ESn=DVRn TS
When DVn-| DL |
ESn=-| DL | TK
The cumulative deviation value (DVn) is reset to 0 in the following cases:
When the cumulative deviation reset switch (RST) is set to 1.
When Yes is specified for process variable tracking and the block mode changes
from manual (MAN) to automatic (AUT).
When the cumulative deviation reset switch (RST) is set to 1, it returns to 0 automati-
cally when resetting is complete.
Set Parameters of the PI Control Algorithm Based on Cumulative Deviation
The parameters of the PI control algorithm based on cumulative deviation:
Time scale conversion coefficient (TK): 1 to 100,000
Proportional band (P):
1 to 1000 %
When P = 0, only the integral action is performed.
The proportional gain Kp is 1 when only the integral action is performed.
Integral time (I): 0.1 to 10000 seconds.
Ramp constant (RP):
Set engineering unit data within the scale span range of the manipulated output value
(MV).
The default is the MV scale span.
IMPORTANT
If the integral time of control block is set to zero or to a value beyond the range, the control
algorithm stops functioning. No process alarm or system alarm message is initiated for this
trouble. So that it is better to use a general purpose calculation block or sequence table
block to enforce the set value of integral time within the proper range and to avoid it to be
set to zero.
10th Edition : Dec.18,2003-00
D1-126 <D1.12 Blending PI Controller Block (PI-BLEND)>
IM 33S01B30-01E
Bumpless Switching
The bumpless switching function switches the function block mode or switches the down-
stream blocks manipulated output value (MV) without causing its own manipulated output
value (MV) to change abruptly (i.e., bumpless change).
The Blending PI Controller Block performs bumpless switching based on balance action.
The Blending PI Controller Block performs bumpless switching of the block mode from
manual (MAN) to automatic (AUT), by using a value obtained by the following expression
as the initial value of the balance term (BLn0):
BLn0=- T En + ESn
Kp Ks
8
T
TI
D011208E.EPS
MV: Output in the manual mode
When the mode switches to automatic (AUT), the balance term (BLn) approaches 0 with
each control period for the increment of ramp constant, until it finally reaches 0.
The figure below shows the balance action of Blending PI Controller Block:
D011209E.EPS
Time
BLn0
BLn
0
AUT MAN
Ramp constant (RP)
Control period
Figure Bumpless Switching by Blending PI Controller Block (PI-BLEND) (Balance Action)
When the block mode is not remote output (ROUT) or out of service (O/S), the remote
manipulated output value (RMV) tracks the manipulated output value (MV).
10th Edition : Dec.18,2003-00
<D1.12 Blending PI Controller Block (PI-BLEND)> D1-127
IM 33S01B30-01E
Cumulative Deviation Alarm Check
Accumulated Deviation Alarm
The cumulative deviation alarm check is a function that determines whether the absolute
value of the cumulative deviation (DV) exceeds the absolute value of the cumulative
deviation alarm setpoint value (DL).
When it is determined that the absolute value of the cumulative deviation (DV) exceeds the
absolute value of the cumulative deviation alarm setpoint value (DL) in the positive direc-
tion, a positive direction cumulative deviation alarm (DV+) is activated. Similarly, when it
exceeds the setpoint in the negative direction, a negative direction cumulative deviation
alarm (DV-) is activated.
When an alarm has occurred, if the cumulative deviation (DV) absolute value drops lower
than the cumulative deviation alarm setpoint (DL) absolute value minus the alarm hyster-
esis value (HYS), the alarm is returned to normal state.
D011212E.EPS
HYS
HYS
| DL |
| DL |
DV
Time
DV
0
Conditions causing an alarm
DV | DL |
DV | DL |
Conditions causing recovery from an alarm
DV | DL | HYS
DV | DL | HYS
Figure Actions of Cumulative Deviation Alarm Check
10th Edition : Dec.18,2003-00
D1-128 <D1.12 Blending PI Controller Block (PI-BLEND)>
IM 33S01B30-01E
The cumulative deviation alarm check type, cumulative deviation alarm setpoint (DL),
cumulative deviation range (DV) and the alarm hysteresis value can be set.
Cumulative Deviation Alarm Check Types
The cumulative deviation alarm check type is set with the Function Block Detail Builder.
The default is detection of both directions.
Detection of both directions:
Monitors the deviation of both the positive and negative directions.
Detection of single direction:
Monitors the deviation of either the positive or negative direction only.
No alarm:
Detection is not performed.
When single direction is selected for the cumulative deviation alarm check type, only the
deviation in the positive direction is monitored when the cumulative deviation alarm
setpoint (DL) has a plus sign, and only the deviation in the negative direction is monitored
when the cumulative deviation alarm setpoint has a minus sign.
Cumulative Deviation Alarm Setpoint (DL)
The cumulative deviation alarm setpoint is set by the operation and monitoring function.
Cumulative deviation alarm setpoint:
Engineering unit data within the DV scale span range
Default is DV scale span
Cumulative Deviation Range
DV Range
The cumulative deviation range can be set with the Function Block Detail Builder.
Cumulative deviation range:
Set engineering unit data (absolute value)
5 significant figures
Alarm Hysteresis Value
The alarm hysteresis value can be set with the Function Block Detail Builder.
Hysteresis:
Engineering unit data within the range of 0 to DV scale span, or percentage data for
the DV scale span
When specifying percentage data, add % after the numeric value.
Default is 1.0 %.
10th Edition : Dec.18,2003-00
<D1.12 Blending PI Controller Block (PI-BLEND)> D1-129
IM 33S01B30-01E
Control Error Alarm Check
Alarm for Control Error
In the control error alarm check it is determined whether or not the absolute value of the
cumulative deviation (DV), which may continue to increase even after the activation of the
cumulative deviation alarm, exceeds the absolute value of the control error alarm setpoint
value (VL).
If it is determined that the absolute value of the cumulative deviation (DV) exceeds the
absolute value of the control error alarm setpoint value (VL), a positive direction control
error alarm (HDV) is activated if the deviation is in the positive direction. And, when the
deviation is in the negative direction, a negative direction control error alarm (LDV) occurs.
When an alarm has occurred, if the cumulative deviation (DV) absolute value drops lower
than the control error alarm setpoint (VL) absolute value minus the hysteresis value, the
alarm is returned to normal state.
SV
0
| VL |
| DL |
| VL |
| DL |
D011213E.EPS
Cumulative deviation alarm
setpoint
PV Deviation
Control error alarm setpoint
Cumulative deviation (DV)
Figure Actions of Control Error Alarm Check
10th Edition : Dec.18,2003-00
D1-130 <D1.12 Blending PI Controller Block (PI-BLEND)>
IM 33S01B30-01E
The control error alarm check type, control error alarm setpoint (VL) and the alarm hyster-
esis value can be set.
Control Error Alarm Check Types
The control error alarm check type is set with the Function Block Detail Builder. The default
is detection of both directions.
Detection of both directions:
Monitors the deviation of both the positive and negative directions.
Detection of single direction:
Monitors the deviation of either the positive or negative direction only.
No alarm:
Detection is not performed.
When single direction is selected for the control error alarm check type, only the deviation
in the positive direction is monitored when the control error alarm setpoint (DL) has a plus
sign, and only the deviation in the negative direction is monitored when the control error
alarm setpoint has a minus sign.
Control Error Alarm Setpoint (VL)
The control error alarm setpoint is set by the operation and monitoring function.
Control error alarm setpoint:
Engineering unit data within the DV scale span range
Default is DV scale span
Alarm Hysteresis Value
The alarm hysteresis value can be set with the Function Block Detail Builder.
Hysteresis:
Engineering unit data within the range of 0 to DV scale span, or percentage data for
the DV scale span
When specifying percentage data, add % after the numeric value.
Default is 1.0 %.
10th Edition : Dec.18,2003-00
<D1.12 Blending PI Controller Block (PI-BLEND)> D1-131
IM 33S01B30-01E
Data Items - PI-BLEND
Table Data Items of Blending PI Controller Block (PI-BLEND) (1/2)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (MAN)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- 0
AF Alarm detection specification ----- 0
AOFS Alarm masking specification ----- 0
PV Process variable (*1) PV engineering unit value SL
RAW Raw input data Value in the unit at the connection destination -----
SUM Totalizer value Engineering unit value 0
SV Setpoint value (*2) Value in the same engineering unit as PV SL
CSV Cascade setpoint value Value in the same engineering unit as PV SL
RSV Remote setpoint value (*4) Value in the same engineering unit as PV SL
DV Cumulative deviation value DV engineering unit value 0
MV Manipulated output value (*3) MV engineering unit value MSL
RMV Remote manipulated output value (*5) Value in the same engineering unit as MV MSL
HH High - high limit alarm setpoint SL to SH SH
LL Low - low limit alarm setpoint SL to SH SL
PH High - limit alarm setpoint SL to SH SH
PL Low - limit alarm setpoint SL to SH SL
VL Control error alarm setpoint (DSH - DSL) DSH - DSL
DL Cumulative deviation alarm setpoint (DSH - DSL) DSH - DSL
D011210E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
*2: Entry is permitted when the data mode is CAS or RCAS
*3: Entry is permitted when the block mode is MAN
*4: Entry is permitted when the block mode is RCAS
*5: Entry is permitted when the block mode is ROUT
SH: PV scale high limit
SL: PV scale low limit
MSL: MV scale low limit
DSH: DV scale high limit
DSL: DV scale low limit
SEE ALSO
For a list of valid block modes of the PI-BLEND block, see the following:
D1.1.4, Valid Block Modes for Each Regulatory Control Block
10th Edition : Dec.18,2003-00
D1-132 <D1.12 Blending PI Controller Block (PI-BLEND)>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Table Data Items of Blending PI Controller Block (PI-BLEND) (2/2)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MH Manipulated variable high-limit setpoint MSL to MSH MSH
ML Manipulated variable low-limit setpoint MSL to MSH MSL
SVH Setpoint high limit SL to SH SH
SVL Setpoint low limit SL to SH SL
P Proportional band 1 to 1000% 100%
I Integral time 0.1 to 10,000 seconds 20 seconds
TK Time scale conversion coefficient 1 to 100,000 1
RP Ramp constant 0 to (MSH - MSL) MSH to MSL
PMV Preset manipulated output value MSL to MSH MSL
RST Cumulative deviation reset switch 0, 1 0
TSW Tracking switch 0, 1 0
PSW Preset MV switch 0, 1, 2, 3 0
RSW Pulse width reset switch 0, 1 0
BSW Backup switch 0, 1 0
OPHI Output high-limit index MSL to MSH MSH
OPLO Output low-limit index MSL to MSH MSL
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
SH PV scale high limit Value in the same engineering unit as PV O/S (MAN)
SL PV scale low limit Value in the same engineering unit as PV -----
MSH MV scale high limit Value in the same engineering unit as MV -----
MSL MV scale low limit
DSH DV scale high limit
DSL DV scale low limit
Value in the same engineering unit as MV
Value in the same engineering unit as DV
Value in the same engineering unit as DV
-----
-----
-----
D011211E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
SH: PV scale high limit
SL: PV scale low limit
MSL: MV scale low limit
DSH: DV scale high limit
DSL: DV scale low limit
<D1.13 Self-Tuning PID Controller Block (PID-STC)> D1-133
IM 33S01B30-01E
D1.13 Self-Tuning PID Controller Block (PID-STC)
The Self-Tuning PID Controller Block (PID-STC) has both the PID control function
and self-tuning function (STC function). This function block is used to automatically
adjust PID parameters (P, I, D).
Self-Tuning PID Controller Block - (PID-STC)
Connection
The Self-Tuning PID Controller Block (PID-STC) has both the PID control function and self-
tuning function (STC function). The STC function automatically sets PID parameters (P, I,
D).
The STC function provides the following two merits:
Maintains optimum controllability in spite of the static and dynamic process character-
istics variation
Reduces the work load of tuning operation at process startup
The figure below shows a function block diagram of Self-Tuning PID Controller Block (PID-
STC):
RMV
SV
CAS/AUT
MAN
INT TSI TIN RL2 BIN RL1
IN OUT
(TSW) (RLV2) (RLV1) (VN)
(PV, PV, MV, MV)
SUB
RSV
CSV
CAS
AUT
MAN
RCAS
SET
MV PV
Self-tuning control
computation
processing
Output
processing
Input
processing
D011301E.EPS
ROUT
Figure Function Block Diagram of Self-Tuning PID Controller Block (PID-STC)
10th Edition : Dec.18,2003-00
D1-134 <D1.13 Self-Tuning PID Controller Block (PID-STC)>
IM 33S01B30-01E
The figure below shows a block diagram of the self-tuning control computation processing
area of the Self-Tuning PID Controller Block (PID-STC):
Estimated
process
model
Process
characteristic
estimation
Response
monitoring
Process
PID
parameter
calculation
PID
controller
SV PV
P I D
-
MV
D011302E.EPS
Figure Block Diagram of the Self-Tuning Control Computation Processing Area
The Self-Tuning PID Controller Block (PID-STC) estimates process characteristics while
monitoring process variables (PV) and manipulated output values (MV) to create an esti-
mated process model. Optimum PID parameters (P, I, D) are calculated based on the
estimated process model.
The table below shows the connection methods and connected destinations of the I/O
terminals of the Self-Tuning PID Controller Block (PID-STC):
Table Connection Methods and Connected Destinations of the I/O Terminals of Self-Tuning PID
Controller Block (PID-STC)
I/O terminal
Connection method Connection destination
Data
reference
Data
setting
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN Measurement input
SET Setting input
OUT Manipulated output
SUB Auxiliary output
RL1
Reset signal 1
input
RL2
Reset signal 2
input
BIN
Compensation
input
TIN
Tracking signal
input
TSI Tracking SW input
INT Interlock SW input
D011303E.EPS
: Connection allowed
Blank: Connection not allowed
: Connection allowed only when connecting to a switch block (SW-33, SW-91) or inter-station data link block (ADL).
10th Edition : Dec.18,2003-00
<D1.13 Self-Tuning PID Controller Block (PID-STC)> D1-135
IM 33S01B30-01E
Function of Self-Tuning PID Controller Block (PID-STC)
The PID-STC block performs input processing, control computation processing, output
processing, and alarm processing.
The only processing timing available for the PID-STC block is a periodic 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the PID-STC
block, see the following:
D1.1.3, Input Processing, Output Processing, and Alarm Processing Possible for Each Regulatory Con-
trol Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Control Computation Processing of Self-Tuning PID Controller Block (PID-
STC)
The function of the PID-STC block related to control computation processing includes the
PID control function and the self-tuning function (STC function).
SEE ALSO
For the PID control function, see the following:
D1.13.1, Control Algorithm of Self-Tuning PID Controller Block (PID-STC)
For details on the self-tuning function (STC function), see the chapters,
from D1.13.2, Self-Tuning Function (STC Function)
through D1.13.8, Points of Using Self-Tuning PID Controller Block (PID-STC).
10th Edition : Dec.18,2003-00
D1-136 <D1.13 Self-Tuning PID Controller Block (PID-STC)>
IM 33S01B30-01E
Data Items - PID-STC
Table Data Items of Self-Tuning PID Controller Block (PID-STC) (1/3)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (MAN)
BSTS Block status ----- RUN, OFF
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- 0
AF Alarm detection specification ----- 0
AOFS Alarm masking specification ----- 0
PV Process variable (*1) PV engineering unit value SL
RAW Raw input data Value in the unit at the connection destination -----
SUM Totalizer value Engineering unit value 0
SV Setpoint value (*2) Value in the same engineering unit as PV SL
CSV Cascade setpoint value Value in the same engineering unit as PV SL
RSV Remote setpoint value (*4) Value in the same engineering unit as PV SL
DV Control deviation value Value in the same engineering unit as PV 0
VN I/O compensation value ----- 0
MV Manipulated output value (*3) MV engineering unit value MSL
RMV Remote manipulated output value (*5) Value in the same engineering unit as MV MSL
RLV1 Reset limit value 1 Value in the same engineering unit as MV MSL
RLV2 Reset limit value 2 Value in the same engineering unit as MV MSL
D011304E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
*2: Entry is permitted when the data mode is CAS or RCAS
*3: Entry is permitted when the block mode is MAN
*4: Entry is permitted when the block mode is RCAS
*5: Entry is permitted when the block mode is ROUT
SL: PV scale low limit
MSL: MV scale low limit
SEE ALSO
For a list of valid block modes of the PID-STC block, see the following:
D1.1.4, Valid Block Modes for Each Regulatory Control Block
10th Edition : Dec.18,2003-00
<D1.13 Self-Tuning PID Controller Block (PID-STC)> D1-137
IM 33S01B30-01E
Table Data Items of Self-Tuning PID Controller Block (PID-STC) (2/3)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
HH High - high limit alarm setpoint SL to SH SH
LL Low - low limit alarm setpoint SL to SH SL
PH High - limit alarm setpoint SL to SH SH
PL Low - limit alarm setpoint SL to SH SL
VL Velocity alarm setpoint (SH - SL) SH - SL
DL Deviation alarm setpoint (SH - SL) SH - SL
PVP Velocity-Reference Sample Value in the same engineering unit as PV -----
MH Manipulated variable high - limit setpoint MSL to MSH MSH
ML Manipulated variable low - limit setpoint MSL to MSH MSL
SVH Setpoint high limit SL to SH SH
SVL Setpoint low limit SL to SH SL
P Proportional band 0.0 to 1000.0 % 100.0 %
I Integral time 1.0 to 10,000.0 seconds 20.0 seconds
GW Gap width 0 to (SH - SL) 0.0
DB Deadband 0 to (SH - SL) 0.0
CK Compensation gain -10.000 to 10.000 1.000
CB Compensation bias ----- 0.000
D011305E.EPS
TSW Tracking switch 0, 1 0
CSW Control switch 0, 1 0
PSW Preset MV switch 0, 1, 2, 3 0
RSW Pulse width reset switch 0, 1 0
BSW Backup switch 0, 1 0
OPHI Output high-limit index MSL to MSH MSH
OPLO Output low-limit index MSL to MSH MSL
MSL
OPMK Operation mark
0 to 255 0
SH PV scale high limit Value in the same engineering unit as PV -----
SL PV scale low limit Value in the same engineering unit as PV -----
MSH MV scale high limit Value in the same engineering unit as MV -----
MSL MV scale low limit Value in the same engineering unit as MV -----
UAID User application ID ----- 0
PMV Preset manipulated output value MSL to MSH
: Entry is permitted unconditionally
Blank: Entry is not permitted
SH: PV scale high limit
SL: PV scale low limit
MSH: MV scale high limit
MSL: MV scale low limit
10th Edition : Dec.18,2003-00
D1-138 <D1.13 Self-Tuning PID Controller Block (PID-STC)>
IM 33S01B30-01E
Table Data Items of Self-Tuning PID Controller Block (PID-STC) (3/3)
Data Item Data Name
Entry Permitted
or Not
Range Default
STC STC operation mode selection switch (*1) -1, 0, 1, 2, 3
TR Process 95% response time 1 to 10,000 seconds 40 seconds
0 (*1)
NB Noise band 1.0 % to 20.0 % of PV 1.0 % of PV
OS Control target type 0, 1, 2, 3 2
MI MV impulse amplitude 0.0 % to 20.0 % of MV 5.0 % of MV
PMAX Proportional band high limit 0.0 to 1000.0 % 1000.0 %
PMIN Proportional band low limit 0.1 to 1000.0 % 0.1 %
IMAX Integral time high limit 0.1 to 1000.0 seconds 10000.0 seconds
IMIN Integral time low limit 0.1 to 1000.0 seconds 0.1 seconds
DMAX Derivative time high limit 0.0 to 1000.0 seconds 2000.0 seconds
PIDC PID update ratio coefficient 0.00 to 1.00 1.00
CR Estimation accuracy error 0.000 to 100.000 -----
LM Estimated equivalent dead time 0.0 to 10,000.0 seconds -----
TM
Estimated equivalent first-order lag
constant
0.0 to 10,000.0 seconds -----
GM Estimated equivalent process gain 0.000 to 100.000 -----
PA Proportional band calculation value 0.0 to 1000.0 % -----
IA Integral time calculation value 0.1 to 10000.0 seconds -----
DA Derivative time calculation value 0.0 to 10000.0 seconds -----
D011307E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
*1: For CS 1000, if there are more than 5 PID-STC in one FCS, the default value will be -1 for the blocks from the 6th
PID-STC.
For CS 3000, if there are more than 10 PID-STC in one FCS, the default value will be -1 for the blocks from the
11th PID-STC.
10th Edition : Dec.18,2003-00
<D1.13 Self-Tuning PID Controller Block (PID-STC)> D1-139
IM 33S01B30-01E
D1.13.1 Control Algorithm of Self-Tuning PID Controller Block
(PID-STC)
Self-Tuning PID Controller Block (PID-STC) obtains manipulated output value (MV)
and manipulated output change (MV) based on PID algorithm.
PID Control Algorithm
The Self-Tuning PID Controller Block (PID-STC) uses the same PID control algorithm as
the PID controller block (PID).
SEE ALSO
For the details of PID control algorithm, see the following:
PID Control Computation in D1.5, PID Controller Block (PID)
Control Action Bypass
When 0 is set for the PID parameter (P) or (D) of the Self-Tuning PID Controller Block (PID-
STC), parts of the control action can be bypassed.
The figure below shows the partially bypassed control action and setpoint values of PID
parameters (P, I, D):
Table Partially Bypassed Control Action and Setpoint Values of PID Parameters (P, I, D)
Control action PID parameter setpoint value
Proportional (P) +integral (I)
P
0, D=0
Integral (I) P=0
D011308E.EPS
If you want to run the PID controller in proportional-integral (PI) action, you may set a value
other than 0 to parameter (P) and set to parameter (D). If run the controller in integral (I)
actions only, you may set 0 for parameter (P). In this case, even set a value for parameter
(D), the derivative (D) action does not work. When execute integral (I) action only, the
proportional gain (Kp) becomes 1.
IMPORTANT
The Self - Tuning PID Controller Block (PID-STC) is unable to control astatic processes by
using integral (I) actions only. If the process type is set as astatic system (integral system)
and only integral (I) action defined, the block changes to STC function invalid (INVL) status,
and stops the STC function.
10th Edition : Dec.18,2003-00
D1-140 <D1.13 Self-Tuning PID Controller Block (PID-STC)>
IM 33S01B30-01E
D1.13.2 Self-Tuning Function (STC Function)
The self-tuning function (STC function) determines a tuning index based on the
estimated process model, PID control algorithm, process type and control target
type, to calculate optimum PID parameters (P, I, D) in accordance with the obtained
tuning index.
Self-Tuning Function (STC Function)
The self-tuning function (STC function) estimates process characteristics while monitoring
process variables (PV) and manipulated output values (MV) to create an estimated pro-
cess model. It then determines a tuning index based on the estimated process model, PID
control algorithm, process type and control target type, and calculates optimum PID param-
eters (P, I, D) in accordance with the obtained tuning index.
The STC function can be started by the following three methods:
Initialize start
Auto-startup
On-demand tuning
SEE ALSO
For the details of initialize start, see the following:
D1.13.4, Initializer Start
For the details of auto-startup, see the following:
D1.13.5, Auto-Startup
For the details of on-demand tuning, see the following:
D1.13.6, On-Demand Tuning
10th Edition : Dec.18,2003-00
<D1.13 Self-Tuning PID Controller Block (PID-STC)> D1-141
IM 33S01B30-01E
Tuning Index
Generally, in a normal PID controller block (PID), optimum PID parameters (P, I, D) vary
with the purpose of control: to follow up the setpoint value or to prevent from disturbances.
Therefore, it is difficult to tune parameters in a single set of PID parameters (P, I, D) to
obtain the optimum responses for the prompt follow-up of set point value change as well as
to restrain from external disturbances. The Self-Tuning PID Controller Block (PID-STC)
changes the index (tuning index) according to the control target and the PID control func-
tion algorithm and block mode, so that optimum responses can be obtained based on each
tuning index.
The table below shows the tuning indexes of the Self-tuning function (STC function):
Table Tuning Indexes
Control algorithm
Tuning index
Block mode AUT Block mode CAS Block mode RCAS
PID
Setpoint value follow-up
response
Setpoint value follow-up
response
Setpoint value follow-up
response
I-PD
Disturbance suppression
response
Disturbance suppression
response
Disturbance suppression
response
PI-D
Setpoint value follow-up
response
Setpoint value follow-up
response
Setpoint value follow-up
response
Automatic determination
Automatic determination 2
Disturbance suppression
response
Setpoint value follow-up
response
Setpoint value follow-up
response
D011309E.EPS
The Self-Tuning PID Controller Block (PID-STC) calculates PID parameters (P, I, D) of the
setpoint value follow-up type when the PV derivative type (PI-D) control algorithm is used,
and calculates those of the disturbance suppression type when the PV proportional and
derivative type (I-PD) control algorithm is used.
When the STC function calculates PID parameters based on the result of process estima-
tion, the following processing are performed:
When the block detects that response is tending to hunt, the tuning stops when such
hunting occurs only for one cycle to ensure safety.
When the gain of the controller block is increased, the change is limited to ensure
safety.
When the deviation remains large for a prolonged period of time, the gain of the
controller block increases.
10th Edition : Dec.18,2003-00
D1-142 <D1.13 Self-Tuning PID Controller Block (PID-STC)>
IM 33S01B30-01E
Number of Simultaneously Executable Blocks
There is no limit to the number of Self-tuning PID controller blocks (PID-STC) that can be
used in one FCS. However, the number of Self-tuning PID controller blocks (PID-STC)
executing self-tuning function (STC function) at the same time is limited to 5 (*1) or 10 (*2)
blocks per FCS.
If more than 5(*1) or 10 (*2) Self-tuning PID controller blocks (PID-STC) are defined by the
Function Block Detail Builder, the first 5 blocks (*1) or 10 blocks (*2) with the smaller block
numbers are set in the PID parameter display mode (STC=0), while the remaining Self-tuning
PID controller blocks (PID-STC) are set in the STC operation stop mode (STC=-1).
If 5 (*1) or 10 (*2) Self-tuning PID controller blocks (PID-STC) are currently executing the
STC function, the STC function of a new Self-Tuning PID Controller Block cannot be
started. Only after one of the currently executing Self-Tuning PID Controller Blocks (PID-
STC) stops the STC function i.e., changes its STC operation mode (STC=-1), the new Self-
Tuning PID Controller Block can start the STC function.
*1: Restriction for CS 1000.
*2: Restriction for CS 3000.
10th Edition : Dec.18,2003-00
<D1.13 Self-Tuning PID Controller Block (PID-STC)> D1-143
IM 33S01B30-01E
D1.13.3 Self-Tuning Operating Modes
The self-tuning operating mode (STC operating mode) determines the action of the
Self-tuning function (STC function). The Self-Tuning PID Controller Block (PID-STC)
uses five types of STC operating modes.
Self-Tuning Operating Mode (STC Operating Mode)
Switching between the STC operating modes is done via an STC operating mode selection
switch (STC).
STC Stop Mode (STC=-1)
The STC function is not executed in this mode.
Neither process characteristic estimation nor PID parameter (P, I, D) calculation are per-
formed.
The block acts in the same way as a PID Controller Block (PID).
PID Parameter Display Mode (STC=0)
In this mode, process characteristic estimation and PID parameter (P, I, D) calculation are
performed, but the calculated PID parameters (P, I, D) are only displayed and not used for
control.
In the PID parameter display mode, process characteristic estimation is performed when
the process variable (PV) moves out of the noise band (NB), and PID parameter (P, I, D)
calculation is performed if the estimation accuracy is high. The calculated PID parameters
(P, I, D) are only displayed and not used for control.
PID Parameter Automatic Updating Mode (STC=1)
In this mode, process characteristic estimation and PID parameter (P, I, D) calculation are
performed, and the calculated PID parameters (P, I, D) are used for control. In the PID
parameter automatic updating mode, process characteristic estimation is performed when
the process variable (PV) moves out of the noise band (NB), and PID parameter (P, I, D)
calculation is performed if the estimation accuracy is high. The calculated PID parameters
(P, I, D) are used for control.
10th Edition : Dec.18,2003-00
D1-144 <D1.13 Self-Tuning PID Controller Block (PID-STC)>
IM 33S01B30-01E
Auto-Startup Mode (STC=2)
Auto-startup is executed in this mode.
The process 95 % response time, noise band and PID parameters (P, I, D) are calculated
automatically. This mode is used when initial setpoint values are not known, such as during
plant startup.
On-Demand Mode (STC=3)
On-demand tuning is executed in this mode.
Step test signals are added to the manipulated output value (MV), and PID parameters (P,
I, D) are calculated based on the response waveform of the corresponding process vari-
able (PV).
SEE ALSO
For the details of auto-startup, see the following:
D1.13.5, Auto-Startup
For the details of on-demand tuning, see the following:
D1.13.6, On-Demand Tuning
10th Edition : Dec.18,2003-00
<D1.13 Self-Tuning PID Controller Block (PID-STC)> D1-145
IM 33S01B30-01E
Flow of Self-Tuning Actions
During each control period, the Self-Tuning PID Controller Block (PID-STC) performs
actions in accordance with the Self-tuning operating mode (STC operating mode).
STC function
STC=-1
Manual mode
No
No
STC=0
STC=1
Yes
Yes
Automatic mode
STC=0, 1
STC=2 STC=3
Manual mode Manual mode
Automatic
mode
Automatic
mode
STC operating
mode
PV and MV data
Change in PV
Estimation of
process
characteristics
Block mode
(*1)
High estimation
accuracy
Operating mode
Return
Auto-startup
processing
On-demand
processing
Operating mode
recovery
(*1) Go to the step below if disable is set for the STC
function bypass specification during the MAN mode.
D011310E.EPS
Block mode
Setting of PID
parameters
Calculation of
PID parameters
Block mode
Figure Flow of Self-Tuning Actions
10th Edition : Dec.18,2003-00
D1-146 <D1.13 Self-Tuning PID Controller Block (PID-STC)>
IM 33S01B30-01E
Actions in Self-Tuning Operating Modes (STC Operating Modes)
Table Table of Actions in Self-Tuning Operating Modes (STC Operating Modes) (1/2)
STC operating mode
selection switch
Block mode Action
Previous Current
-1
0
MAN Remains in the initialization processing state (*1).
AUT Starts normal processing after initialization processing (*1).
1
MAN Remains in the initialization processing state (*1).
AUT Starts normal processing after initialization processing (*1).
2
MAN
Remains in the initialization processing state.
Startup mode waiting state (*1).
AUT Operation disabled. Returns to STC=-1.
3 All Operation disabled. Returns to STC=-1.
0
-1 All Stops STC actions. The block mode remains the same.
1 All No special processing. The block mode remains the same.
2
MAN Remains in the startup mode waiting state.
AUT Operation disabled. Returns to STC=0.
3
MAN Operation disabled. Returns to STC=0.
AUT On-demand mode. Returns to STC=0 after applying signals to MV.
D011311E.EPS
All: All normal modes (MAN, PRD, ROUT, AUT, CAS, RCAS)
*1: For CS 1000, only up to 5 PID-STC blocks are allowed to run self-tuning at the same time per one FCS. The STC
setting will be forced to -1 for the blocks from the 6th PID-STC.
For CS 3000, only up to 10 PID-STC blocks are allowed to run self-tuning at the same time per one FCS. The STC
setting will be forced to -1 for the blocks from the 11th PID-STC.
MAN: All manual modes (MAN, PRD, ROUT)
All: All automatic modes (AUT, CAS, RCAS)
All normal modes, if No is selected for the STC bypass specification during the MAN mode.
10th Edition : Dec.18,2003-00
<D1.13 Self-Tuning PID Controller Block (PID-STC)> D1-147
IM 33S01B30-01E
Table Table of Actions in Self-Tuning Operating Modes (STC Operating Modes) (2/2)
STC operating mode
selection switch
Block mode Action
Previous Current
1
-1 All Stops STC actions. The block mode remains the same.
0 All No special processing. The block mode remains the same.
2
MAN Remains in the startup mode waiting state.
AUT Operation disabled. Returns to STC=1.
3
MAN Operation disabled. Returns to STC=1.
AUT On-demand mode. Returns to STC=1 after applying signals to MV.
2
-1
MAN Stops STC actions. The block mode remains the same.
AUT
Suspends the startup action. Stops STC actions. The block mode
changes to MAN.
0 All
Stops the startup action. The block mode and block status change
to MAN and PVER, respectively.
1 All
Stops the startup action and returns to STC=0. The block mode and
block status change to MAN and PVER, respectively.
3 All Operation disabled. Returns to STC=2.
3 All All
The operating mode of STC=3 returns to the original operating
mode in the next control period. In the previous operating mode
transition, actions will continue assuming that the STC=3 mode has
never existed.
D011312E.EPS
All: All normal modes (MAN, PRD, ROUT, AUT, CAS, RCAS)
MAN: All manual modes (MAN, PRD, ROUT)
AUT: All automatic modes (AUT, CAS, RCAS)
All normal modes, if disable is selected for the STC bypass specification during the MAN mode.
SEE ALSO
For the details of self-tuning operating mode selection switch (STC), see the following:
STC Operating Mode Selection Switch (STC) in chapter D1.13.7, Tuning Parameters of Self-Tun-
ing PID Controller Block (PID-STC)
10th Edition : Dec.18,2003-00
D1-148 <D1.13 Self-Tuning PID Controller Block (PID-STC)>
IM 33S01B30-01E
D1.13.4 Initializer Start
Initializer start can be executed in the situation that allows to use the estimated
initial values of PID parameters (P, I, D).
The initializer start function uses estimated PID parameters (P, I, D) to start control.
Execution of Initializer Start
The methods used to start initialization are shown below. To execute initializer start, the
following conditions must be satisfied:
The self-tuning operating mode (STC operating mode) is STC stop.
The block mode is manual (MAN).
The following parameters are set:
PID parameters (P, I, D)
Process 95 % response time (TR)
Noise band (NB)
Control target type (OS)
PID data set high/low limits (PMAX, PMIN, IMAX, IMIN, DMAX)
PID update ratio coefficient (PIDC)
IMPORTANT
Before changing the block mode to any of the automatic modes (AUT/CAS/RCAS), confirm
that measured signals are within the safety range where step changes (MI) can be added
to manipulated output signals, and the measured process signals are sufficiently stable.
When the following operations are performed with the above parameters set, initializer start
will be executed after the time set as the process 95 % response time (TR) has elapsed:
1. Change the STC operating mode to the PID parameter display or PID automatic
updating mode.
2. Change the block mode to any of the automatic modes (AUT/CAS/RCAS).
Upon executing initializer start, PID control and self-tuning starts using the values set for
PID parameters (P, I, D) as initial values.
10th Edition : Dec.18,2003-00
<D1.13 Self-Tuning PID Controller Block (PID-STC)> D1-149
IM 33S01B30-01E
D1.13.5 Auto-Startup
In the process where step response can be obtained, use auto-startup if initial
setpoint values of PID parameters (P, I, D) cannot be estimated, such as when the
plant is first started.
The auto-startup function starts control by automatically calculating the process 95
% response time (TR), noise band (NB) and PID parameters (P, I, D) based on data
obtained via step responses.
Execution of Auto-Startup
The methods of auto-startup are shown below. To execute auto-startup, the following
conditions must be satisfied:
The self-tuning operating mode (STC operating mode) is STC stop.
The block mode is manual (MAN).
The following parameters are set:
Control target type (OS)
MV Impulse amplitude (MI)
PID parameter (P)
PID parameter (D)
When the following operations are performed after the above conditions established, auto-
startup can be executed.
1. Change the STC operating mode to auto-startup.
2. Change the block mode to any of the automatic modes (AUT/CAS/RCAS).
Upon auto-startup, the following actions take place:
1. The block status changes to STUP (during auto-startup), and the current manipulated
output value (MV) is held for 30 seconds.
2. Step signal set as the MV Impulse amplitude (MI) is added to the manipulated output
value (MV) in the direction of increasing deviation.
3. Observation of the response waveform of measured signals relative to the step
change is started. If, during the observation, the measured signal change (PV)
becomes equivalent to or larger than 1.5 times of the MV Impulse amplitude (MI), the
manipulated output value (MV) returns to the original value to ensure safety.
10th Edition : Dec.18,2003-00
D1-150 <D1.13 Self-Tuning PID Controller Block (PID-STC)>
IM 33S01B30-01E
4. If the target process is a static system (IP=0), the manipulated output value (MV)
returns to the original value after the response waveform is observed for a specified
period of time. If the process is an astatic system (IP=1), the step changes equivalent
to the MV Impulse amplitude (MI) is added to the manipulated variable in the reverse
direction, then the manipulated output (MV) returns to the original value.
5. Process characteristics is estimated based on the data obtained by the step response
observation.
6. The process 95 % response time (TR) and PID parameters (P, I, D) are calculated
based on the estimated model.
7. The following computations on the PID parameters (P, I, D) of the estimated model are
performed, and the computed results are set as PID parameters high/low limits
(PMAX, PMIN, IMAX, IMIN, DMAX).
PMAX=4 PB
PMIN=
PB
4
IMAX=4 TI
DMAX=4 TD
IMIN=
TI
4
D011313E.EPS
Some of these values may be fixed to 0 depending upon the control method.
8. Measured noise is observed for a specified period of time (2TR; minimum 2 min-
utes, maximum 5 minutes), and the noise band (NB) is calculated based on the peak
value.
9. The STC operating mode automatically changes to the PID parameter automatic
updating mode (STC=1), then PID control and self-tuning start to run.
10th Edition : Dec.18,2003-00
<D1.13 Self-Tuning PID Controller Block (PID-STC)> D1-151
IM 33S01B30-01E
Example of the Auto-Startup Action in Static Process
MV
PV
MI
Time
Waveform
observation
Noise
observation
Operation after switching to
the PID automatic
updating mode (STC=1)
Auto-startup end
Tuning end
MI signal
application
Auto-startup begin
(STC=2,MANAUT)
Block status "STUP"
D011314E.EPS
Waiting for settling
(30 seconds)
Figure Example of the Auto-Startup Action in Static (Non-Integral) System
Example of the Auto-Startup Action in Astatic Process
MV
PV
MI
MI
Time
Waveform
observation
Noise
observation
Operation after switching to
the PID automatic
updating mode (STC=1)
Auto-startup begin
(STC=2,MANAUT) Auto-startup end
Tuning end
MI signal
application
Block status STUP
D011315E.EPS
Waiting for settling
(30 seconds)
Figure Example of the Auto-Startup Action in Astatic (Integral) System
10th Edition : Dec.18,2003-00
D1-152 <D1.13 Self-Tuning PID Controller Block (PID-STC)>
IM 33S01B30-01E
Abnormal Termination of Auto-Startup
The following section explains the abnormal termination of auto-startup.
Causes of the Abnormal Termination of Auto-Startup
The auto-startup action is terminated abnormally if the following events occur:
Power failure
Change in the self-tuning operating mode (STC operating mode)
Change to a block mode other than automatic modes (AUT, CAS, RCAS).
Failure to create an estimated process model
The measured signal change (PV) remains under 0.5 % of the MV Impulse ampli-
tude (MI) after the maximum observation time (90 minutes) elapsed.
Insufficient information from step response.
The data status of the manipulated output value (MV) changes to CLP or CND.
The alarm status changes to IOP+, IOP-, OOP or CNF.
Self-Tuning PID Controller Block (PID-STC) upon Abnormal Termination of
Auto-Startup
When the auto-startup action is stopped, the following changes take place inside the Self-
tuning PID controller block (PID-STC):
The block changes to automatic (AUT) mode.
The STC operating mode changes to PID parameter display (STC=0).
The block status changes to auto-startup abnormal termination (PVER).
The block status changes or set the STC operating mode operation stop (STC=-1) cancels
the auto-startup abnormal termination status.
IMPORTANT
Do not use auto-startup for systems whose process dead-time is short. This is because an
abnormal termination processing of the auto-startup may not be carried out if the process
dead-time is 4 seconds or less. If an abnormal termination processing could not be carried
out, the block status remains as STUP.
If an auto-startup has been used by mistake, change the block mode to MAN mode and
interrupt the auto-startup.
10th Edition : Dec.18,2003-00
<D1.13 Self-Tuning PID Controller Block (PID-STC)> D1-153
IM 33S01B30-01E
Setup Items for Auto-Startup
The following items must be set in the auto-startup mode:
Control target type (OS):
Specify the type of response waveform to be targeted by the self-tuning function (STC
function)
Select a target suitable for the controlled plant
MV Impulse amplitude (MI):
Set a value that may trigger the process variable (PV)s impulse response around 5
%.
Control method (P, I, D):
Specify a desired control method
Specify one of the following three types of control methods:
I control: P=0
PI control: P0, D=0
PID control: P0, D0
Within the range allowed by the process, the bigger the impulse response from the process
variable (PV) the more accurate estimation can be provided by the model.
When a control algorithm that uses derivative (D) action is selected, it may change to the
control method that does not use derivative (D) action if it is judged appropriate by the STC
function.
10th Edition : Dec.18,2003-00
D1-154 <D1.13 Self-Tuning PID Controller Block (PID-STC)>
IM 33S01B30-01E
D1.13.6 On-Demand Tuning
On-demand tuning is applied to tune PID parameters (P, I, D) when tuning request is
given from the operator. On-demand tuning may be applied to the loops where the
change of setpoint values need to be avoided.
Execution of On-Demand Tuning
For on-demand tuning, when a tuning demand is given from the operator, a step test signal
is added to the manipulated output value (MV) in a closed loop. Then the self-tuning is
performed based on the response waveform of the corresponding process variable (PV).
The method of on-demand tuning is shown below. To execute on-demand tuning, the
following conditions must be satisfied:
The self-tuning operating mode (STC operating mode) is the PID parameter display or
PID automatic updating mode
The block mode is one of the automatic modes
IMPORTANT
Before changing to the on-demand tuning mode, confirm that the value of the MV Impulse
amplitude (MI) is well within the safe range.
When the STC operating mode is changed to on-demand tuning in the above state, on-
demand tuning may be executed.
During on-demand tuning, the following actions take place:
1. Step signal equivalent to the MV Impulse amplitude (MI) is added to the manipulated
output (MV) in the direction of decreasing deviation.
If the process type is astatic system (IP=1), the pulse of TR/5 in time span will be
added.
2. After the step signals is added, the STC operating mode returns to 0 or 1 in the
next control period.
3. The response waveform of a measured signal that corresponds to the step change is
monitored.
4. PID control and self-tuning are started.
MV
Set as STC=3
(on-demand command)
Time
Tuning
PV
D011316E.EPS
Figure Responses in the On-Demand Mode
If responses from the process are extremely monotonous, an estimated model may not be
created. In this case, increase the MV Impulse amplitude (MI) and retry the self-tuning.
10th Edition : Dec.18,2003-00
<D1.13 Self-Tuning PID Controller Block (PID-STC)> D1-155
IM 33S01B30-01E
Setup Item for On-Demand Tuning
The following item must be set in order to execute on-demand tuning:
MV Impulse amplitude (MI):
Set a value that may trigger the process variable (PV)s impulse response around 5
%.
Within the range allowed by the process, the bigger the impulse response from the process
variable (PV) the more accurate estimation can be provided by the model.
10th Edition : Dec.18,2003-00
D1-156 <D1.13 Self-Tuning PID Controller Block (PID-STC)>
IM 33S01B30-01E
D1.13.7 Tuning Parameters of Self-Tuning PID Controller Block
(PID-STC)
This tuning parameters of PID-STC block consist of three types; Setting parameters
that may be set on the tuning window; Parameters for indication and the parameters
defined on the function block detail definition window.
Tuning Parameters
The tuning parameters of the Self-Tuning PID Controller Block (PID-STC) include the
following types:
Parameters may be set on tuning window
These tuning parameters can be set on the tuning window during operation.
Parameters for indication
These parameters are displayed in the tuning window to indicate the operating status
of the STC function. The values of the parameters are calculated automatically by the
Self-tuning PID Controller Block (PID-STC).
Parameters defined on the Function Block Detail Builder
These parameters are defined on the Function Block Detail Builder.
Parameters Set from the Tuning Window
The table below shows the parameters that are set from the tuning window:
Table Parameters Set from the Tuning Window
Symbol Name
Entry
enable/
disable
Range Default
Setup items in each
operating mode
-1 0 1 2 3
STC
STC operating mode
selection switch
-1, 0, 1, 2, 3 0 (*1) (*4)
TR Process 95 % response time 1 to 10000 seconds 40 seconds -
NB Noise band
1.0 to 20.0 % of the PV
value (*2)
1.0 % (*2) -
OS Control target type 0, 1, 2, 3 2 -
MI
MV Impulse amplitude
0.0 to 20.0 % of the MV
value (*3)
5.0 % (*3) - - -
P Proportional band 0.0 to 1000.0 % 100.0 %
I Integral time 0.1 to 10000.0 seconds 20.0 seconds
D Derivative time 0.0 to 10000.0 seconds 0.0 second
PMAX Proportional band high limit 0.0 to 1000.0 % 1000.0 % -
PMIN Proportional band low limit 0.1 to 1000.0 % 0.1 % -
IMAX Integral time high limit 0.1 to 10000.0 seconds 10000.0 seconds -
IMIN Integral time low limit 0.1 to 10000.0 seconds 0.1 second -
DMAX Derivative time high limit 0.0 to 10000.0 seconds 2000.0 seconds -
PIDC PID update ratio coefficient 0.00 to 1.00 1.00 - - - -
D011317E.EPS
: Can be entered from the tuning windows at any time.
: Setting required.
-: Setting not required.
: Setting is done automatically, but can be entered from the tuning window, as well.
*1: The default values of the 11th and subsequent PID-STC controller blocks within the same control station will be -1.
*2: A percentage value converted from the PV engineering unit data.
*3: A percentage value converted from the MV engineering unit data.
*4: A determining factor of the operating mode.
10th Edition : Dec.18,2003-00
<D1.13 Self-Tuning PID Controller Block (PID-STC)> D1-157
IM 33S01B30-01E
Display Parameters
The table below shows display parameters. These parameters are displayed in the tuning
window to indicate the operating status of the STC function.
Table Display Parameters
Symbol Name
Entry
enable/
disable
Range
Setup items in each
operating mode
-1 0 1 2 3
CR Estimation accuracy error 0.000 to 100.000
LM Estimated equivalent dead time 0.0 to 10000.00 seconds
TM
Estimated equivalent first-order lag
constant
0.1 to 10000.0 seconds
GM Estimated equivalent process gain
0.000 to 100.000
PA Proportional band calculation value
0.0 to 1000.0 %
IA Integral time calculation value
1.0 to 10000.0 seconds
DA Derivative time calculation value 0.0 to 10000.0 seconds
D011318E.EPS
: Cannot be entered from the tuning window.
: Items for automatic calculation and display only.
Items Defined in the Function Block Detail Builder
The table below shows the tuning parameters of the Self-Tuning PID Controller Block (PID-
STC) defined in the Function Block Detail Builder:
Table Items defined in the Function Block Detail Builder
Symbol Name
Entry
enable/
disable
Range Default
Setup items in each
operating mode
-1 0 1 2 3
IP Process type
0, 1 0 (non-integral)
- Manual mode STC function bypass ON, OFF ON
D011319E.EPS
: Item defined in the Function Block Detail Builder.
STC Operating Mode Selection Switch (STC)
Set the operating mode of the Self-Tuning PID Controller Block (PID-STC) to the STC
operating mode selection switch.
STC: Specify the operating mode using a numeric value.
The following operating modes can be selected:
-1: STC operation stop mode
0: STC parameter display mode
1: STC parameter automatic updating mode
2: Auto-startup mode
3: On-demand mode
10th Edition : Dec.18,2003-00
D1-158 <D1.13 Self-Tuning PID Controller Block (PID-STC)>
IM 33S01B30-01E
Process 95 % Response Time (TR)
Set the rise time for 95 % of process step response in an open-loop.
Process 95 % Response Time Setting Methods
The Self-Tuning PID Controller Block (PID-STC) calculates the time for measured signal
waveform observation as well as sampling time for process characteristic estimation,
based on the process 95 % response time (TR). To operate the STC function in a good
condition, an optimum value for the process 95 % response time (TR) is required.
Process 95 % response time
Set the rising time for 95 % of process step response in an open-loop.
The procedure to set an optimum TR value is shown below:
When step responses from the process are known
Set the time required for the process variable change (PV) to reach 95 % of the
settling value.
When the process can be approximated based on the first-order lag system
Obtain TR that satisfied TR=L+3T, from the dead time (L) and first-order lag constant
(T) of the process, and set the obtained value as the process 95 % response time
(TR).
When the process is an astatic system (integral system)
The time required for the process variable change (PV) reach 95 % peak can be set
as the response rising time (TR) after an impulse is applied to the process.
When the past operating process behavior is known
Obtain the specific oscillation cycle (Tp) of the process from the past operation data,
and set this value as the process 95 % response time.
When the response time is expected to change
Set a value in accordance with the particular response waveform to be controlled. As
in the case of furnace temperature, if the response rising time of the process variable
(PV) is different from the falling time, use the longer response time. In this way, esti-
mated process characteristic values will have less error than that the shorter response
time is used.
10th Edition : Dec.18,2003-00
<D1.13 Self-Tuning PID Controller Block (PID-STC)> D1-159
IM 33S01B30-01E
Examples of Process 95 % Response Time (TR) Estimation
The figures below are examples of process response estimation when step responses from
the process are known (estimated from the step response waveform) and when the past
operation conditions are known (estimated from damped oscillatory waveform):
MV
PV
settling value
Time
TR
95 %
PV
Time
PV
TR=T
P
T
P
Specific
oscillation cycle
Estimation from the step response waveform
Estimation from the damped oscillatory waveform
D011320E.EPS
Figure TR Estimation Methods
Noise Band (NB)
Set the noise band (NB) to prevent process characteristic estimation from being disturbed
by noise. For the noise band, set a value that is twice of the peak value of random noise
being superimposed over measured signals (maximum width of noise).
When a noise band (NB) is set, process characteristic estimation will be started when the
process variable (PV) changes beyond the limits of noise band (NB) during a single sam-
pling period.
NB
Time
D011321E.EPS
Figure Noise Band
Noise Band (NB):
Set a value that is twice of the peak value of random noise being superimposed over
measured signals (maximum width of noise).
10th Edition : Dec.18,2003-00
D1-160 <D1.13 Self-Tuning PID Controller Block (PID-STC)>
IM 33S01B30-01E
Control Target Type (OS)
The desirable control target response waveform varies depending upon the process type
and operating method. Set a control target type (OS) from the tuning window according to
the controlled system.
Control target type (OS):
Select a control target type and specify a numeric value indicating the type.
The table below shows the control target types (OS) that can be set for the Self-Tuning PID
Controller Block (PID-STC):
Table Control Target Types
OS Target overshoot Characteristics Evaluation expression
0 0 % Overshoot: zero Overshoot zero
1 5 %
Overshoot: small
Settling time: short
Minimum time-load control area
2 10 %
Overshoot: medium
Rise time: slightly quick
Minimum control area
3 15 %
Overshoot: large
Rise time: quick
Minimum squared control area
D011322E.EPS
Min | e | tdt
0
Min | e | dt
0
Min e tdt
0
2
0
No overshoot exists.
1
Minimizes the product of the evaluation expression that multiplies the deviation area
by elapsed time. The overshoot is smaller and setting time is shorter.
2
Minimizes the control area (deviation). This is the default setting.
3
Minimizes the squared area of deviation. The overshoot is larger and rise time is
quicker.
SV
Time
D011323E.EPS
Control area
PV response
Figure Control Areas and PV Responses
10th Edition : Dec.18,2003-00
<D1.13 Self-Tuning PID Controller Block (PID-STC)> D1-161
IM 33S01B30-01E
MV Impulse Amplitude (MI)
The MV Impulse amplitude (MI) is the size of the test signal that is applied to the manipu-
lated output value (MV) during the auto-startup or on-demand mode. The value is set from
the tuning window.
MV Impulse amplitude (MI):
Set a value that may trigger the process variable (PV)s impulse response around 5
%.
As the auto-startup mode is a MAN state, the current control deviation is assumed to be on
the safe side and the test signal is added in the direction of increasing control deviation. In
the on-demand mode, which is an AUT state, the test signal is added in the direction of
decreasing control deviation.
The table below shows the directions of MV step changes:
Table Directions of MV Step Changes
Operating mode Deviation
Action mode
Direct action Reverse action
Auto-startup
SVPV +MI % -MI %
SV<PV -MI % +MI %
On-demand
SVPV -MI % +MI %
SV<PV +MI % -MI %
D011324E.EPS
PID Parameters (P, I, D)
The PID parameters (P, I, D) are used in control computation. The values of respective
parameters are shown below:
P: Proportional band
I: Integral time
D: Derivative time
During operation in the PID parameter automatic updating mode, the values set for PID
parameters (P, I, D) are used as initial values and updated automatically when the self-
tuning function (STC function) is activated.
Set initial values for PID parameters (P, I, D) using the following methods:
New Process
When estimation or calculation is possible based on the statistical data of other
processes
Use values estimated or calculated based on the statistical data of other processes.
When using estimated or calculated values is difficult
Use auto-startup. If auto-startup cannot be used, perform self-tuning in the PID pa-
rameter display mode, and use the values displayed as new calculated values of PID
parameter (PA, IA, DA).
Existing Control System Replacement
Use the PID values before the replacement.
10th Edition : Dec.18,2003-00
D1-162 <D1.13 Self-Tuning PID Controller Block (PID-STC)>
IM 33S01B30-01E
PID Data Set High/Low Limits (PMAX, PMIN, IMAX, IMIN, DMAX)
If the process is likely to receive negative impacts when PID parameters (P, I, D) exceed
their specified limit, set PID data set high/low limits in advance.
The PID data set high/low limits indicate control ranges that are used to limit PID param-
eters (P, I, D) when they are changed by the STC function.
PMAX: Proportional band high limit
PMIN: Proportional band low limit
IMAX: Integral time high limit
IMIN: Integral time low limit
DMAX: Derivative time high limit
The PID parameters (P, I, D) are limited within the range of the corresponding high/low
limits:
PMIN P PMAX (Same for PA when the STC value is 1)
IMIN I IMAX (Same for IA when the STC value is 1)
0 D PMAX (Same for DA when the STC value is 1)
If the set high limit is smaller than low limit, the corresponding PID parameter (P, I or D) will
be fixed to the high limit value. If the DMAX value is 0, the value of the PID parameter (D)
becomes 0. If the PMAX value is 0, the value of the PID parameter (P or D) becomes 0.
If, due to the STC function any PID parameter (P, I, or D) exceeds the control range during
operation in the PID parameter automatic updating mode, the block status changes to PID
parameter limiting (PLMT) and the PID parameter (P, I or D) obtained by the STC function
will be limited within the range of the corresponding PID data set high/low limits (PMAX,
PMIN, IMAX, IMIN or DMAX).
The PID parameter limiting (PLMT) status is canceled when the applicable PID parameter
(P, I or D) has changed to a value inside the control range or when the STC actions have
stopped (STC=-1).
10th Edition : Dec.18,2003-00
<D1.13 Self-Tuning PID Controller Block (PID-STC)> D1-163
IM 33S01B30-01E
PID Update Ratio Coefficient (PIDC)
The PID update ratio coefficient (PIDC) represents a ratio at which the current PID param-
eters (P, I, D) are updated by the corresponding PID parameter values calculated by the
STC function (PA, IA, DA).
PID update ratio coefficient (PIDC): A value between 0.00 and 1.00.
The parameters are not updated if PIDC is 0.00. If PIDC is 1.00, the PID parameter values
calculated by the STC function (PA, IA, DA) will be set directly as PID parameters (P, I, D).
If the estimated model remains unstable due to disturbances and the PID parameters (P, I,
D) tend to change although slightly with every tuning, set a smaller PIDC value to stabilize
the PID parameters (P, I, D).
This coefficient is effective only in the PID parameter automatic updating mode.
PBnew = (1.0-PIDC) PB+PIDC PA
TInew = (1.0-PIDC) TI +PIDC IA
TDnew = (1.0-PIDC) TD+PIDC DA
Pbnew: New effective proportional band value
PB: Current effective proportional band value
PA: PB calculated value
Tinew: New effective integral time value
TI: Current effective integral time value
IA: TI calculated value
Tdnew: New effective derivative time value
TD: Current effective derivative time value
DA: TD calculated value
PIDC: Update ratio coefficient (0.00 to 1.00)
IMPORTANT
When exceptional tuning is performed at slow response or hunting response processing,
the PID update ratio coefficient (PIDC) is ignored and the PID parameter values (PA, IA,
DA) calculated by the STC function will be set directly as PID parameters (P, I, D).
10th Edition : Dec.18,2003-00
D1-164 <D1.13 Self-Tuning PID Controller Block (PID-STC)>
IM 33S01B30-01E
Estimation Error (CR)
Whenever an estimated process model is created, the STC function simulates the output of
the model and calculates a squared error based on the actual process response. The
estimation error is a value obtained from the best parameter set which has the smallest
estimation error.
If the estimated model matches perfectly with the actual process, the estimation error (CR)
becomes 0.000. However, as the actual process is affected by measurement noise and
various disturbances, deviations exist between the estimated model and actual process
and the value of the estimation error (CR) varies accordingly.
When the value of the estimation error (CR) exceeds 5.000, the Self-Tuning PID Controller
Block (PID-STC) assumes that the current estimated model is not effective and starts
creating a new estimated model using new data without updating the PID parameters (P, I,
D).
Estimated Models (LM, TM, GM)
The Self-Tuning PID Controller Block (PID-STC) creates estimated models by approximat-
ing the target process based on the dead time and first-order lag system. The estimated
models, LM, TM and GM, represent the equivalent dead time, equivalent first-order lag
constant and equivalent process gain, respectively.
The estimated models (LM, TM, GM) hold the latest values as long as the estimation error
(CR) is under 5.000.
The estimation error (CR) is updated every time a process characteristic estimation is
performed, but the estimated models (LM, TM, GM) are updated if the estimation error
(CR) is 5.000 or greater.
New Calculated Values of PID Parameters (PA, IA, DA)
The new calculated values of PID parameters obtained by the self-tuning function (STC
function). If the value of the Self-tuning operating mode (STC) is 1, the new calculated
values of PID parameters (PA, IA, DA) are set as the corresponding PID parameters (P, I,
D) after receiving computation processing based on the PID update ratio coefficient
(PIDC).
10th Edition : Dec.18,2003-00
<D1.13 Self-Tuning PID Controller Block (PID-STC)> D1-165
IM 33S01B30-01E
Process Type (IP)
Process Type
The process type indicates whether the target process is a static system (non-integral
system) or astatic system (integral system). The process type is specified in the Function
Block Detail Builder.
Process Type: Select Static system or Astatic.
The default is Static system.
The static system is a process whose process variable (PV) changes gradually toward a
settling value when step change is added to the manipulated output value (MV), until an
equilibrium state is finally reached. The astatic system is a process whose process variable
(PV) rises or falls infinitely with time when step change is added to the manipulated output
value (MV). An example of astatic system is a constant-flow pump whose flowrate is
maintained at constant levels via level control.
The figures below show examples of step responses from static system and astatic system
processes:
PV settling value
Time
Time
MV
PV
MV
PV
Static system (non-integral system) process
Astatic system (integral system) process
D011325E.EPS
Figure Examples of Step Responses from Static System and Astatic System Processes
10th Edition : Dec.18,2003-00
D1-166 <D1.13 Self-Tuning PID Controller Block (PID-STC)>
IM 33S01B30-01E
MAN Mode STC Function Bypass
STC Function Bypass Designation for MAN Mode
Specify whether to use or bypass the self-tuning function (STC function) when the block is
in a manual operating mode (MAN, PRD or ROUT).
Use the Function Block Detail Builder to set the MAN mode STC function bypass specifica-
tion.
STC function bypass designation for MAN mode: Select Yes or No.
The default is Yes.
In general, it is not desirable that PID parameters (P, I, D) change when PID computation is
not performed. Therefore, set Yes as the default bypass specification.
In the bypass mode, the STC function does become active. However, as I/O data is con-
stantly observed, the STC function becomes active as soon as the block changes to an
automatic operating mode (AUT, CAS or RCAS).
If No is set as the bypass specification, the STC function becomes active even in a
manual operating mode (MAN, PRD or ROUT). Setting No as the bypass specification is
effective in the PID parameter display mode or PID parameter automatic updating mode.
10th Edition : Dec.18,2003-00
<D1.13 Self-Tuning PID Controller Block (PID-STC)> D1-167
IM 33S01B30-01E
D1.13.8 Points of Using Self-Tuning PID Controller Block
(PID-STC)
This section explains the points to be noted when using the self-tuning function
(STC function) in various controlled systems and loops as well as applicability of the
function.
Applicable Conditions of Self-Tuning PID Controller Block (PID-STC)
The self-tuning function can be used only when the process satisfies the following condi-
tions:
PID control is allowed.
The cycle of factors that can cause changes in the control deviation (changes in
process characteristics and setpoint values, etc.) is longer than the specific oscillation
cycle of the control loop.
Responses between the manipulated variable (MV) and process variable (PV) can be
approximated by the dead time and first-order lag system or integral system.
In general, many processes can be approximated with a combination of higher-order lag
element, dead time, and process gain, by the following expression:
Gp(s)=
Ke
-LS
(1+T1S) (1+T2S)
.......
(1+TnS)
D011326E.EPS
In estimated models created by the STC function, even the higher-order system used in the
above expression is approximated by the dead time and first-order lag system. The Self-
Tuning PID Controller Block (PID-STC) performs appropriate tuning after changes have
occurred in the process variable (PV) as a result of changes in the setpoint value or ma-
nipulated variable. Appropriate control is ensured if the ratio of dead time to lag time (L/T) is
3 or smaller.
10th Edition : Dec.18,2003-00
D1-168 <D1.13 Self-Tuning PID Controller Block (PID-STC)>
IM 33S01B30-01E
Stable Control Loops (Regulatory Control)
When using a Self-Tuning PID Controller Block (PID-STC) in a stable control loop in which
the setpoint value does not change frequently and process characteristics undergo little
fluctuation, it is recommended that the control be performed with the self-tuning function
(STC function) turned OFF once optimum PID parameters (P, I, D) are calculated. The
procedure is shown below:
1. First, obtain optimum PID parameters (P, I, D) using the STC function.
2. Change the PID data set high/low limits to reduce the range of PID parameters (P, I,
D) or turn the STC function OFF (STC=-1).
Controlling a Process with a Longer Dead Time
The following section shows the points to be noted when using a Self-Tuning PID Control-
ler Block (PID-STC) in a process with a longer dead time:
When a Self-Tuning PID Controller Block (PID-STC) is used to control a process in which
the dead time element is dominant, determine whether or not appropriate control is feasible
using the Self-Tuning PID Controller Block (PID-STC), based on the value of the dead time/
lag time ratio (L/T).
When the dead time/lag time ratio (L/T) of the process is smaller than 3
Appropriate actions can be obtained by combining basic PID functions and the STC
function.
When the dead time/lag time ratio (L/T) of the process is larger than 3
It is difficult to perform control by combining basic PID functions and the STC function.
In this case, consider using the Smiths Dead Time Compensation Control or sampled
value PI control. Note that the STC function cannot be used with either of these
control methods.
10th Edition : Dec.18,2003-00
<D1.13 Self-Tuning PID Controller Block (PID-STC)> D1-169
IM 33S01B30-01E
Cascade Control with Quicker Downstream Responses
The following section shows the points to be noted when using Self-Tuning PID Controller
Blocks (PID-STC) in a process with quick responses coming from downstream, by using an
example of a cascade loop consisting of temperature control and flowrate control as the
upstream and downstream processes, respectively.
TIC
FIC
Temperature
Steam
D011327E.EPS
Flowrate
Distillation
column
Figure Cascade Control loop with Quicker Downstream Responses
Unless frequent changes occur in the process of the downstream Self-Tuning PID Control-
ler Block (PID-STC), it is recommended to use the Self-tuning function (STC function) of
the upstream Self-Tuning PID Controller Block (PID-STC) only. The procedure is shown
below:
1. Change the downstream block to AUT mode to open the cascade connection.
2. Set an optimal PID value using the STC function of the downstream Self-Tuning PID
Controller Block (PID-STC).
3. Turn off the STC function of the downstream Self-Tuning PID Controller Block (PID-
STC).
4. Establish the cascade connection.
5. Turn on the STC function of the upstream Self-Tuning PID Controller Block (PID-
STC).
10th Edition : Dec.18,2003-00
D1-170 <D1.13 Self-Tuning PID Controller Block (PID-STC)>
IM 33S01B30-01E
Cascade Control with Slower Downstream Responses
The following section shows the points to be noted when using Self-Tuning PID Controller
Block (PID-STC) in a process with slower responses coming from downstream, by using an
example of a cascade loop consisting of two temperature control processes in upstream
and downstream.
TC 1
Water
TC 2
Steam
Reactor
Cooling
jacket
Raw material
Split range control valve
D011328E.EPS
Figure Cascade Control with Slower Downstream Responses
The procedure to control this cascade loop is shown below:
1. Change the downstream block to AUT mode to open the cascade connection.
2. Set an optimal PID value using the STC function of the downstream Self-Tuning PID
Controller Block (PID-STC).
3. Turn off the STC function of the downstream Self-Tuning PID Controller Block (PID-
STC).
4. Establish the cascade connection.
5. Turn on the STC function of the upstream Self-Tuning PID Controller Block (PID-
STC).
In this type of cascade loop, it is generally recommended that the Self-tuning function (STC
function) be executed only in the upstream controller, which is the main target of control, in
order to avoid interaction between the two STC functions in upstream and downstream.
10th Edition : Dec.18,2003-00
<D1.13 Self-Tuning PID Controller Block (PID-STC)> D1-171
IM 33S01B30-01E
Controlling a Process with Changing Target Control Characteristics
The following section shows the points to be noted when using a Self-Tuning PID Controller
Block (PID-STC) in a process where target control characteristics, such as gain, lag time
and dead time, fluctuate.
LIC FIC
Inflow volume
F1
Intermediate
outflow volume
F0 Pump
Outflow volume
F
Re-circulated
Level
Tank
D011329E.EPS
Figure Process with Changing Gain
The above example shows a process where the flowrate F is control target. Since the
flowrate F1, inflow of the tank, fluctuate periodically, the level control is activated to change
the intermediate outflow volume F0. The changes in F0 correspond to those in gain that
occur in the target control process of FIC.
If the change cycle of the target control characteristic is longer than the specific oscillation
cycle of the control loop, the self-tuning function (STC function) is activated to follow up the
change. If changes in the process variable response are detected as a result of the
changes in the target control characteristic, the STC function will be activated.
10th Edition : Dec.18,2003-00
D1-172 <D1.13 Self-Tuning PID Controller Block (PID-STC)>
IM 33S01B30-01E
Neutralization Control
The following section shows the points to be noted when using a Self-Tuning PID Controller
Block (PID-STC) for neutralization control.
Controlled fluid
pHC
Neutralizing
agent
pH transmitter
pH
14
12
10
8
6
4
2
0
7
MV (neutralizing agent)
D011330E.EPS
Figure Neutralization Control
In the neutralization control shown above, the pH process shows non-linear characteristics;
i.e., the gain increases significantly near the neutralizing point (pH=7) and becomes small
on both sides.
The pH controller is controlled by calculating optimum PID parameter values (P, I, D) near
the neutralizing point. Therefore, the proportional band converges by several hundred
percent, making it impossible to obtain appropriate control away from the neutralizing point.
In this case, specify non-linear gain processing for the controller and use the STC function
after obtaining linear characteristics.
10th Edition : Dec.18,2003-00
<D1.13 Self-Tuning PID Controller Block (PID-STC)> D1-173
IM 33S01B30-01E
Tank Level Control with Integral Characteristics
The following section shows the points to be noted when using a Self-Tuning PID Controller
Block (PID-STC) in a process with integral characteristics, by using a level control process
as an example:
Constant flowrate
LIC
Constant-flow pump
Fluid level H
t
Q1
H
Q1 inflow volume
D011331E.EPS
Level
gauge
Figure Control with Integral Characteristics
The level control shown above is a process that maintains a constant outflow volume via a
constant-flow pump, regardless of the fluid level. In this process, the fluid level (H) contin-
ues to rise linearly as the inflow volume (Q1) increases. In other words, this is an integral
process that does not have a self-regulation function. When controlling an integral process,
use proportional and derivative (PD) control by setting a longer integral time, as the pro-
cess becomes unstable if the integral time is short.
In this type of integral process, use the self-tuning function (STC function) by setting 1 for
the process type (IP). When the process type (IP) is 1, proportional and derivative (PD)
control is executed by setting a longer integral time.
10th Edition : Dec.18,2003-00
D1-174 <D1.13 Self-Tuning PID Controller Block (PID-STC)>
IM 33S01B30-01E
Controlling a Process with Phases of Varying Response Speeds
The following section shows the points to be noted when using a Self-Tuning PID Controller
Block (PID-STC) in a process where the response speed varies depending on the phase,
by using an example of temperature control.
PV
Temperature
Heating phase Cooling
phase
Time
Time
MV
Step input
D011332.EPS
Figure Example of Step Responses in a Process with Phases of Varying Response Speeds
In a heating furnace or heat exchanger process that requires temperature control, the
process response time may vary with the heating phase and cooling phase. When using a
Self-Tuning PID Controller Block (PID-STC) to control these processes, set the process 95
% response time (TR) based on the phase with a longer response time.
PID parameters changes between the optimum PID parameters (P, I, D) of the two phases
in accordance with the direction of process variable response actions.
10th Edition : Dec.18,2003-00
<D1.13 Self-Tuning PID Controller Block (PID-STC)> D1-175
IM 33S01B30-01E
Controlling a Process with Slower Actions at the Final Control Element
The following section shows the points to be noted when using a Self-Tuning PID Controller
Block (PID-STC) in a process whose final control element exhibits slower actions, by using
an example of flowrate control with a motor-operated valve.
FIC
M
D011333E.EPS
Motor-operated
valve
Flow gauge
Figure Motor-Operated Valve Flowrate Control
SV
+
PV
PID
aTds
1+Tds
-
a: First-order lead computation gain
Td: First-order lead constant
+
-
MV
D011334E.EPS
Figure Controlling a Process with Slower Actions at the Final Control Element
When performing flowrate control using a motor-operated valve, the speed of response
time control for the motor-operated valve may be affected, as the response time of the
motor-operated value is slower than that of the flow gauge. As the self-tuning function (STC
function) estimates process characteristics by taking into account delays at the final control
element, set a larger proportional band than when there is no delay at the final control
element.
If controllability needs to be further improved, consider using phase compensation by first-
order lead computation, in order to compensate for the derivative actions.
10th Edition : Dec.18,2003-00
D1-176 <D1.13 Self-Tuning PID Controller Block (PID-STC)>
IM 33S01B30-01E
Program Pattern Control
The following shows points to be noted when applying a Self-Tuning PID Controller Block
(PID-STC) to program control, by using an example of a program controlling process where
the setpoint value of the temperature controller is changed in accordance with a specific
temperature rise and fall pattern:
Temperature pattern
Time
TPG
TIC
Temperature pattern generator
Fuel
D011335E.EPS
Heat treatment
furnace
Temperature
Figure Program Control
When applying a Self-Tuning PID Controller Block (PID-STC) to a program controlling
process where the setpoint value of the temperature controller is changed in accordance
with a specific temperature rise and fall pattern, note the following points:
Select the PI-D type (PV derivative type) control algorithm. The I-PD type (PV propor-
tional and derivative type) algorithm provides poor follow-up capability relative to
changes in SV.
If it requires that overshoot of the rising temperature must be minimized, set 0 for the
control target type (OS) of the Self-Tuning PID Controller Block (PID-STC).
In general, when the setpoint value changes along a ramp pattern, as in the case of rising
or falling temperature, the Self-Tuning PID Controller Block (PID-STC) generates an offset.
If on-demand tuning is executed at this time, the MV Impulse amplitude (MI) is applied to
the manipulated output value (MV) in the direction of decreasing control deviation, then PID
parameters (P, I, D) are calculated and set automatically based on the response obtained.
As a result, the offset is reduced.
10th Edition : Dec.18,2003-00
<D1.13 Self-Tuning PID Controller Block (PID-STC)> D1-177
IM 33S01B30-01E
Batch Control Combining a Self-Tuning PID Controller Block (PID-STC)
The following section shows the points to be noted when using a Self-Tuning PID Controller
Block (PID-STC) for batch control:
SV
STC stop STC stop
Time
Batch end
Additional
raw material
input
PV
D011336E.EPS
Temperature
Figure Batch Control
During PID control, simple batch processes are subject to large disturbances beyond the
correctable range through feedback control, as a result of additional charging of raw materi-
als or discharging of products in large quantities. In such cases, use the STC start and stop
functions to build a sequence control process where STC actions stop temporarily when
disturbances occur.
If the process is left unattended after batch end, with the setpoint value (SV) maintained at
a constant level in the automatic (AUT) mode, stop the STC function to prevent any unnec-
essary action of the self-tuning function (STC function).
Controlling Interacting Loops Whose Interaction cannot be Eliminated
The following section shows the points to be noted when using Self-tuning PID controller
blocks (PID-STC) to control interacting loops whose interaction cannot be eliminated, by
using an example of pressure control and flowrate control interacting with each other:
FC PC
D011337E.EPS
Pressure Flowrate
Figure Controlling Interacting Loops Whose Interaction cannot be Eliminated
If interaction exists between pressure control and flowrate control, as shown in the figure
above, using the self-tuning function (STC function) in both control loops causes interacting
oscillation when their PID parameters (P, I, D) approach optimum values. In this case, turn
off the STC function of one Self-Tuning PID Controller Block (PID-STC) whose process
variable (PV) is allowed to change, and set larger values for the current effective propor-
tional band (PB) and current effective integral time (TI). (e.g.: PB=100 to 200 %, TI=30 to
80 seconds)
After this, use the STC function of the other Self-Tuning PID Controller Block (PID-STC)
only.
10th Edition : Dec.18,2003-00
D1-178 <D1.13 Self-Tuning PID Controller Block (PID-STC)>
IM 33S01B30-01E
Controlling Interacting Loops whose Interaction can be Eliminated
The following section shows the points to be noted when using Self-Tuning PID Controller
Blocks (PID-STC) to control interacting loops whose interaction can be eliminated, by using
an example of temperature control in a distillation column:
TC
1
TC
2
PID controller
TC 1
TC 2
m
2
m
1
T
1
T
2
LL - 1
LL - 2
g
21
g
22
g
12
g
11
+
+
D011338E.EPS
Distillation
column
-
-
Figure Controlling Interacting Loops whose Interaction Can Be Eliminated
If interaction exists between the column top temperature and column bottom temperature
control segments of a distillation column process, first execute non-interacting control.
The method of non-interacting control is shown below:
In the figure, when the transmission function between the output mi and temperature Tj of
the controller TCi is gij. T1 and T2 will be represented as follows after non-interacting ele-
ments LL-1 and LL-2 are applied:
T1 = (g11-g12 g21/g22) m1
T2 = (g22-g12 g21/g11) m2
As a result, the process is divided into two control loops that are regulated based on T1 and
T2, respectively.
Configure STC after confirming the result of this non-interacting control.
Controlling a Loop Subject to Impulse Noise
When a Self-Tuning PID Controller Block (PID-STC) is used to control a loop subject to
impulse noise, the Self-Tuning PID Controller Block (PID-STC) estimates process charac-
teristics after removing the impulse noise. When noise generates frequently, set a noise
band (NB).
If impulse noise is generated frequently at intervals of TR/10 or shorter, consider using
filters to remove the noise.
10th Edition : Dec.18,2003-00
<D1.14 Manual Loader Block (MLD)> D1-179
IM 33S01B30-01E
D1.14 Manual Loader Block (MLD)
Manual Loader Block (MLD) may be applied to output manipulated output value (MV)
to manually operate final control elements, such as control valves.
Manual Loader Block (MLD)
Connection
Manual Loader Block (MLD) outputs manipulated output value (MV) set from operation and
monitoring function. When in tracking (TRK) mode, the tracking input signal received from
the TIN terminal is output as manipulated output value (MV).
The figure below shows a function block diagram of the Manual Loader Block (MLD):
D011401E.EPS
TSI TIN
OUT
(TSW)
(MV, MV)
SUB
MV
Output
processing
Figure Function Block Diagram of Manual Loader Block (MLD)
The table below shows the connection methods and connected destinations of the I/O
terminals of the Manual Loader Block (MLD):
Table Connection Methods and Connected destinations of the I/O Terminals of Manual Loader
Block (MLD)
I/O terminal
Connection method Connection destination
Data
reference
Data
setting
Terminal
connection
Process
I/O
Software
I/O
Function
block
OUT Manipulated output
SUB Auxiliary output
TIN
Tracking signal
input
TSI Tracking SW input
D011402E.EPS
: Connection allowed
Blank: Connection not allowed
: Connection allowed only when connecting to a switch block (SW-33, SW-91) or inter-station data link block (ADL).
10th Edition : Dec.18,2003-00
D1-180 <D1.14 Manual Loader Block (MLD)>
IM 33S01B30-01E
Function of Manual Loader Block (MLD)
The MLD block performs output processing and alarm processing.
The only processing timing available for the MLD block is a periodic 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of output processing and alarm processing possible for the MLD block, see the following:
D1.1.3, Input Processing, Output Processing, and Alarm Processing Possible for Each Regulatory Con-
trol Block
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Data Items - MLD
Table Data Items of Manual Loader Block (MLD)
Data Item Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (MAN)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- 0
AF Alarm detection specification ----- 0
AOFS Alarm masking specification ----- 0
MV Manipulated output value (*1) MV engineering unit value MSL
MH Manipulated variable high-limit setpoint MSL to MSH MSH
ML Manipulated variable low-limit setpoint MSL to MSH MSL
TSW Tracking switch 0, 1 0
RSW Pulse width reset switch 0, 1 0
OPHI Output high-limit index MSL to MSH MSH
OPLO Output low-limit index MSL to MSH MSL
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
D011403E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the block mode is MAN
MSH: MV scale high limit
MSL: MV scale low limit
SEE ALSO
For a list of valid block modes of the MLD block, see the following:
D1.1.4, Valid Block Modes for Each Regulatory Control Block
10th Edition : Dec.18,2003-00
<D1.15 Manual Loader Block with Input Indicator (MLD-PVI)> D1-181
IM 33S01B30-01E
D1.15 Manual Loader Block with Input Indicator
(MLD-PVI)
Manual Loader Block with Input Indicator (MLD-PVI) may output manipulated output
value while displaying the process variable (PV). It may be applied to manually
operate final control elements and observing the process variable (PV) at the same
time.
Manual Loader Block with Input Indicator (MLD-PVI)
Connection
Manual Loader Block with Input Indicator (MLD-PVI) displays the value input from the IN
terminal as process variable (PV). It also outputs the value set from operation and monitor-
ing function as manipulated output value (MV). In tracking (TRK) mode, the block outputs
the tracking input signal received from the TIN terminal as manipulated output value (MV).
The figure below shows a function block diagram of the Manual Loader Block with Input
Indicator (MLD-PVI):
MV PV
TSI
OUT
(TSW)
(PV, PV, MV, MV)
TIN
Output
processing
SUB
IN
Input
processing
D011501E.EPS
Figure Function Block Diagram of Manual Loader Block with Input Indicator (MLD-PVI)
The table below shows the connection methods and connected destinations of the I/O
terminals of the Manual Loader Block with Input Indicator (MLD-PVI):
Table Connection Methods and Connected destinations of the I/O Terminals of Manual Loader
Block with Input Indicator (MLD-PVI)
I/O terminal
Connection method Connection destination
Data
reference
Data
setting
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN Measurement input
OUT Manipulated output
SUB Auxiliary output
TIN
Tracking signal
input
TSI Tracking SW input
D011502E.EPS
: Connection allowed
Blank: Connection not allowed
: Connection allowed only when connecting to a switch block (SW-33, SW-91) or inter-station data link block (ADL).
10th Edition : Dec.18,2003-00
D1-182 <D1.15 Manual Loader Block with Input Indicator (MLD-PVI)>
IM 33S01B30-01E
Function of Manual Loader Block with Input Indicator (MLD-PVI)
The MLD-PVI block performs input processing, output processing, and alarm processing.
The only processing timing available for the MLD-PVI block is a periodic 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the MLD-PVI
block, see the following:
D1.1.3, Input Processing, Output Processing, and Alarm Processing Possible for Each Regulatory Con-
trol Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
10th Edition : Dec.18,2003-00
<D1.15 Manual Loader Block with Input Indicator (MLD-PVI)> D1-183
IM 33S01B30-01E
Data Items - MLD-PVI
Table Data Items of Manual Loader Block with Input Indicator (MLD-PVI)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S(MAN)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- 0
AF Alarm detection specification ----- 0
AOFS Alarm masking specification ----- 0
PV Process variable
(*1)
PV engineering unit value SL
RAW Raw input data Value in the unit at the connection destination -----
SUM Totalizer value Engineering unit value 0
MV Manipulated output value
(*2)
MV engineering unit value MSL
HH High - high limit alarm setpoint SL to SH SH
LL Low - low limit alarm setpoint SL to SH SL
PH High - limit alarm setpoint SL to SH SH
PL Low - limit alarm setpoint SL to SH SL
VL Velocity alarm setpoint (SH - SL) SH - SL
PVP Velocity-Reference Sample Value in the same engineering unit as PV -----
MH Manipulated variable high-limit setpoint MSL to MSH MSH
ML Manipulated variable low-limit setpoint
MSL to MSH MSL
TSW Tracking switch
0, 1 0
RSW Pulse width reset switch
0, 1 0
OPHI Output high-limit index
MSL to MSH MSH
OPLO Output low-limit index
MSL to MSH MSL
OPMK Operation mark
0 to 255 0
UAID User application ID ----- 0
SH PV scale high limit Value in the same engineering unit as PV -----
SL PV scale low limit Value in the same engineering unit as PV -----
D011503E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
*2: Entry is permitted when the block mode is MAN
MSH: MV scale high limit
MSL: MV scale low limit
SEE ALSO
For a list of valid block modes of the MLD block, see the following:
D1.1.4, Valid Block Modes for Each Regulatory Control Block
10th Edition : Dec.18,2003-00
D1-184 <D1.16 Manual Loader Block with Auto/Man SW (MLD-SW)>
IM 33S01B30-01E
D1.16 Manual Loader Block with Auto/Man SW
(MLD-SW)
Manual Loader Block with Auto/Man SW (MLD-SW) may be applied as the lowest
downstream block in the control loops that consist of multiple function blocks.
Manual Loader Block with Auto/Man SW (MLD-SW)
MLD-SW AUT/CAS, Connection
The Manual Loader Block with Auto/Man SW (MLD-SW) selects the manipulated output
signals to be sent to final control elements, by switching between the output signal received
from a controller and its own manually manipulated output signal.
In the manual (MAN) mode, the Manual Loader Block with Auto/Man SW (MLD-SW)
outputs the value set from operation and monitoring function as manipulated output value
(MV) to operate the final control element. In the automatic (AUT) mode or cascade (CAS)
mode, it performs control computation processing to the value input from other function
block (CSV), and outputs the result as a manipulated output value (MV) while in the manual
mode (MAN) it outputs the MV set from the operation and monitoring function.
Whether to set the cascade (CAS) mode or automatic (AUT) block mode for outputting the
result obtained by control computation processing of the value input from other function
block, may be selected for each control station on the property sheet of the FCS:
MLD-SW AUT/CAS: Check CAS or AUT.
The default is AUT.
The figure below shows the function block diagram of Manual Loader Block with Auto/Man
SW (MLD-SW)
MV
AUT (CAS)
MAN
INT TSI TIN
OUT
(TSW)
(MV, MV)
Output
processing
SUB
SET
CSV
SV
Range
adjustment
GAI CSV+BIAS
D011601E.EPS
Control computation
processing
Figure Function Block Diagram of Manual Loader Block with Auto/Man SW (MLD-SW)
10th Edition : Dec.18,2003-00
<D1.16 Manual Loader Block with Auto/Man SW (MLD-SW)> D1-185
IM 33S01B30-01E
The table below shows the connection methods and connected destinations of the I/O
terminals of the Manual Loader Block with Auto/Man SW (MLD-SW):
Table Connection Methods and Connected destinations of the I/O Terminals of Manual Loader
Block with Auto/Man SW (MLD-SW)
I/O terminal
Connection method Connection destination
Data
reference
Data
setting
Terminal
connection
Process
I/O
Software
I/O
Function
block
SET Setting input
OUT Manipulated output
SUB Auxiliary output
TIN
Tracking signal
input
TSI Tracking SW input
INT Interlock SW input
D011602E.EPS
: Connection allowed
Blank: Connection not allowed
: Connection allowed only when connecting to a switch block (SW-33, SW-91) or inter-station data link block (ADL).
10th Edition : Dec.18,2003-00
D1-186 <D1.16 Manual Loader Block with Auto/Man SW (MLD-SW)>
IM 33S01B30-01E
Function of Manual Loader Block with Auto/Man SW (MLD-SW)
The MLD-SW block performs control computation processing, output processing, and
alarm processing.
The only processing timing available for the MLD-SW block is a periodic 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of output processing and alarm processing possible for the MLD-SW block, see the following:
D1.1.3, Input Processing, Output Processing, and Alarm Processing Possible for Each Regulatory Con-
trol Block
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Control Computation Processing of Manual Loader Block with Auto/Man
SW (MLD-SW)
The table below shows the control computation processing functions of the Manual Loader
Block with Auto/Man SW (MLD-SW):
Table Control Computation Processing Functions of Manual Loader Block with Auto/Man SW
(MLD-SW)
Control computation processing Description
Automatic control output
computation
Performs computation processing to the cascade setpoint value (CSV) and obtains a
setpoint value (SV). Then, performs range conversion to this SV and obtains a
manipulated output value.
Control output action
Converts the manipulated output change (MV) during each control period to an actual
manipulated output value (MV). The control output actions available with this function
block are of positional type only.
Setpoint value pushback
Set the setpoint value (SV) which was converted to the cascade setpoint value (CSV)to the
CSU.
Bumpless switching
Switches the manipulated output value (MV) without causing it to change abruptly when
the block mode has been changed or when the manipulated output value (MV) has been
switched in a downstream block in cascade.
Output pushback
Performs inverse operation on the manipulated output value to obtain SV and CSV and
uses them as a setpoint value (SV) and cascade setpoint value (CSV), respectively.
Combining this function with output tracking prevents the manipulated output value (MV)
from changing abruptly when the mode is changed to automatic.
Bias tracking
Obtains a BIAS value to balance the manipulated output value and cascade setpoint value,
and resets the bias term. Combining this function with output tracking prevents the
manipulated output value (MV) from changing abruptly when the mode is changed to
automatic.
Setpoint value ramp
action
Causes the current manipulated output value (MV) to gradually approach the MV value
converted from the setpoint value. This prevents the manipulated output value (MV) from
changing abruptly when the mode is changed to automatic.
Initialization manual
Changes the block mode to IMAN to temporarily suspend the control action. This action
takes place when the initialization manual condition becomes satisfied.
MAN fallback
Changes the block mode to MAN to forcibly stop the control action. This action takes
place when the MAN fallback condition becomes satisfied.
Block mode change interlock
Stops the control action of function blocks currently operating automatically, while
disabling the stopped function blocks from changing to the automatic operating mode.
D011603E.EPS
10th Edition : Dec.18,2003-00
<D1.16 Manual Loader Block with Auto/Man SW (MLD-SW)> D1-187
IM 33S01B30-01E
Automatic Control Output Computation
The automatic control output computation function converts the value set from other func-
tion blocks as a cascade setpoint value (CSV) to a manipulated output value (MV).
Characteristics of Automatic Control Output Computation
The following computational expression is used in automatic control output:
The computation processing shown below is performed to the cascade setpoint value
(CSV) to obtain a setpoint value (SV):
SV=GAIN CSV+BIAS
When the block mode is automatic (AUT) or cascade (CAS), a manipulated output value
(MV) is obtained by performing range conversion to the setpoint value (SV).
MV= (SV-SSL)+MSL
MSH-MSL
SSH-SSL D011604E.EPS
MSH: MV scale high limit
MSL: MV scale low limit
SSH: SV scale high limit
SSL: SV scale low limit
Set Parameters of Automatic Control Output Computation
The parameters of automatic control output computation:
Gain (GAIN): Arbitrary data.
The default is 1.000.
Bias value (BIAS): Engineering unit data within the SV scale span range.
The default is 0.0.
Setpoint range (SV)
SV Range
High and low limits.
Numerical values of seven digits or less, where the sign and decimal point occupy one digit
each.
The default is 100.0 for the upper limit and 0.0 for the lower limit.
Control Output Action
The control output action converts the manipulated output change ( MV) of each control
period to an actual manipulated output value (MV).
The control output actions applied in Manual loader with Aut/Man SW (MLD-SW) is posi-
tional type. The manipulated output value (MV) is the value obtained from automatic
control output computation.
10th Edition : Dec.18,2003-00
D1-188 <D1.16 Manual Loader Block with Auto/Man SW (MLD-SW)>
IM 33S01B30-01E
Setpoint Value Pushback
When output is clamped, the setpoint value (SV) is converted to and set as a cascade
setpoint value (CSV), using the following computational expression:
CSV=
SV-BIAS
D011605E.EPS GAIN
The setpoint value pushback action does not take place if GAIN is 0.
Bumpless Switching
The bumpless switching function switches the block mode of the function block or manipu-
lated output value downstream in cascade without causing the manipulated output value
(MV) to change abruptly (i.e., bumpless change).
The action during bumpless switching varies with the control output action and block mode
status.
The bumpless switching performed by the Manual Loader Block with Auto/Man SW (MLD-
SW) include the following types:
Output pushback
Bias tracking
Setpoint value ramp action
Output Pushback
The output pushback function calculates a setpoint value (SV) and cascade setpoint value
(CSV) from the manipulated output value (MV) when the block is in the manual (MAN) or
initialization manual (IMAN) mode, and put it to the setpoint value (SV) and cascade
setpoint value (CSV), respectively. Output pushback is used when an upstream block is
cascade connected to the Manual Loader Block with Auto/Man SW (MLD-SW), and the
upstream block is tracking to the MLD-SW. With the combination of the output pushback
and the output tracking function of the cascade connected upstream control block, the
manipulated output value (MV) of the cascade connected upstream block changes in
accordance with the manipulated output value (MV) of the Manual Loader Block with Auto/
Man SW (MLD-SW) when the cascade connection is open. This action allows to change
the block mode for the Manual Loader Block with Auto/Man SW (MLD-SW) from manual
(MAN) to automatic (AUT) bumplessly and without balancing.
The computational expressions of output pushback:
SV= (MV-MSL)+SSL
SSH-SSL
MSH-MSL D011606E.EPS
CSV=
SV-BIAS
GAIN D011607E.EPS
The output pushback action takes place when the following settings are performed:
No is set for bias tracking.
A value other than 0 is set for GAIN.
10th Edition : Dec.18,2003-00
<D1.16 Manual Loader Block with Auto/Man SW (MLD-SW)> D1-189
IM 33S01B30-01E
The following figure shows an action example of output pushback:
A Manual Loader Block with output switch is cascade connected in the middle of this loop,
when the cascade connection is open the manipulated output value (MV) of the upstream
block is forced to be equal to the setpoint value (SV) of the downstream block in the same
cascade loop:
CAS
PV
SV
PID
MV
SV
MLD-SW
MV
PV
PID
MV
AUT/MAN
CAS
(AUT)
MAN
D011608E.EPS
Output pushback
Output value tracking
Output value tracking
Figure Output Pushback and Output Value Tracking when Cascade is Open
In the above action example, bumpless switching is realized by the following three func-
tions:
Output value tracked by the upstream block in the cascade loop
Output pushback by the Manual Loader Block with Auto/Man SW (MLD-SW)
Output value tracks the downstream by the Manual Loader Block with Auto/Man SW
(MLD-SW)
10th Edition : Dec.18,2003-00
D1-190 <D1.16 Manual Loader Block with Auto/Man SW (MLD-SW)>
IM 33S01B30-01E
Bias Tracking
Bias Tracking
The bias tracking function calculates a bias value (BIAS) that allows the manipulated output
value (MV) to agree with the MV value converted from the cascade setpoint value (CSV),
and replaces the current bias value (BIAS) with the calculated value. Bias tracking is used
when an upstream block cascade connected to the Manual Loader Block with Auto/Man
SW (MLD-SW) performances the output value tracking function. When cascade connection
is open, the upstream blocks MV does not only follow the changes of MV of the Manual
Loader Block with Auto/Man SW (MLD-SW) but also adds the bias of the Manual Loader
Block with Auto/Man SW (MLD-SW), so that the bump can be avoided when connection
switches back to cascade.
By using the bias tracking function, switching of the block mode from manual (MAN) to
automatic (AUT) can be performed bumplessly.
The computational expressions of bias tracking:
SV= (MV-MSL)+SSL
SSH-SSL
MSH-MSL
D011609E.EPS
BIAS=SV-GAIN CSV
Use the Function Block Detail Builder to define bias tracking.
Bias Tracking: Select Yes or No.
The default is No.
If Yes is defined for bias tracking, the output pushback and setpoint value ramp actions
will not be performed. If No is defined for bias tracking, these two actions will take place.
However, the setpoint value ramp action is not performed if the ramp constant (RP) set
parameter remains at its default value.
When the upstream function block in cascade connection is a Cascade Signal Distributor
Block (FOUT), define Yes for bias tracking. This activates the bias tracking action even
when the Cascade Signal Distributor Block (FOUT) has multiple output connected destina-
tions and the Manual Loader Block with Auto/Man SW (MLD-SW) in cascade is closed
when connected to the second output destination or thereafter.
10th Edition : Dec.18,2003-00
<D1.16 Manual Loader Block with Auto/Man SW (MLD-SW)> D1-191
IM 33S01B30-01E
Setpoint Value Ramp Action
The setpoint value ramp action causes the current manipulated output value (MV) to
gradually approach the manipulated output value (MV) converted from the setpoint value
(SV). This function is used when a upstream block cascade connected to the Manual
Loader Block with Auto/Man SW (MLD-SW) is not defined the output tracking function.
The setpoint value ramp action takes place when the following two block mode changes
are performed:
The block mode changes from manual (MAN) to an automatic (AUT or CAS) mode.
The initialization manual (IMAN) mode is canceled while the block is still in an auto-
matic (AUT or CAS) mode.
The setpoint value ramp action causes the current manipulated output value (MV) to
approach the manipulated output value (MV) converted from the setpoint value (SV), by
limiting the change per-scan period in the setpoint value (SV) that is used to calculate a
manipulated output value (MV) (effective setpoint value) to equivalent to or less than the
ramp constant (RP), when the setpoint value (SV) changes as a result of the above two
block mode changes.
The following example shows the action of the setpoint value ramp:
SV
Time
D011610.EPS
Effective setpoint value
Scan period
Ramp constant (RP)
Figure Action Example of the Setpoint Value Ramp
The setpoint value ramp action takes place only when No is defined for the bias tracking.
The parameter of the setpoint value ramp action:
Ramp constant (RP):
Engineering unit data between 0 and the SV scale span range limit.
The default is the SV scale span.
The setpoint value ramp action enables bumpless switching of the cascade status from
open to close, even when the upstream block in cascade connection does not have the
output tracking function and the bias tracking action of the Manual Loader Block with output
switch is disabled.
10th Edition : Dec.18,2003-00
D1-192 <D1.16 Manual Loader Block with Auto/Man SW (MLD-SW)>
IM 33S01B30-01E
Initialization Manual
The initialization manual is an error processing function that suspends the control action
temporarily by changing the block mode to initialization manual (IMAN). This action takes
place when the initialization manual condition is established.
Characteristics of the Initialization Manual
The initialization manual function suspends the control action and control output action
temporarily during the automatic (AUT) mode or other automatic control operation mode
when the initialization manual condition is established, and changes the block mode of the
function block to initialization manual (IMAN).
When output value tracking is set to Yes with the Function Block Detail Builder, the ma-
nipulated output value (MV) is tracked to the value of the connection destination when
initialization manual goes into effect. Because of this, even if the mode is changed to the
manual (MAN) mode during initialization manual (IMAN) mode, the initialization manual
(IMAN) mode takes priority and the operation to change to the manual (MAN) mode be-
comes invalid.
The block returns to the original mode when the initialization manual condition vanishes.
However, if try to change block mode in the initialization manual (IMAN) mode, the block
only change to that mode when the initialization condition vanishes.
Initialization Manual Condition
The initialization manual condition is a block mode transition condition that suspends the
control action and control output action temporarily by changing the block mode to initializa-
tion manual (IMAN). The initialization manual (IMAN) block mode becomes active only
when the initialization manual condition is established.
The following example shows when the initialization manual condition establishes and
vanishes:
AUT
Initialization manual condition establishes
IMAN (AUT)
Initialization manual condition vanishes
AUT
The initialization manual condition is established in the following situation:
When the manipulated output value (MV) connected destinations data status is
conditional (CND) (i.e., the cascade loop open).
When the manipulated output value (MV) connected destinations data status is
communication error (NCOM) or output failure (PTPF).
When the manipulated output value (MV) connected destination is a switch block
(SW-33, SW-91) and the cascade connection is switched off (i.e., the cascade loop
open).
When the manipulated output value (MV) connected destination is a process output-,
and a failure or output open alarm has occurred in the module.
When the data status of the input signal at the TIN or TSI terminals becomes invalid
(BAD) in the tracking (TRK) mode while the output signal is not a pulse-width type.
10th Edition : Dec.18,2003-00
<D1.16 Manual Loader Block with Auto/Man SW (MLD-SW)> D1-193
IM 33S01B30-01E
MAN Fallback
The MAN fallback is an error processing function that stops the control and forces the
function block to enter manual operation state. This action takes place when the MAN
fallback condition is established.
Characteristics of the MAN Fallback
The MAN fallback stops the control by changing the function block to manual (MAN) mode
regardless of the current operation status, and forces the function block to enter manual
operation state.
Once the MAN fallback condition is established, the block mode remains manual (MAN)
even when the condition later vanishes.
MAN Fallback Condition
The MAN fallback condition is used to stop the control by changing the function block to
manual (MAN) mode regardless of the current operation status, and forces the function
block to enter manual operation state. When the MAN fallback condition is established, it
indicates that a fatal error has occurred and requests operator interruption.
The following example shows when the MAN fallback condition is established:
AUTMAN
IMAN (AUT)IMAN (MAN)
The MAN fallback condition is established in the following situation:
When the data status of the manipulated output value (MV) is output failure (PTPF).
When the data status of the setpoint value (SV) is invalid (BAD).
When the manipulated output value (MV) is connected to a process I/O module and
the FCS is having an initial cold start.
When the block mode change interlock condition is established.
When the manipulated output value (MV) is connected to a process I/O module, and
one of the I/O points connected to the module is undergoing maintenance load.
10th Edition : Dec.18,2003-00
D1-194 <D1.16 Manual Loader Block with Auto/Man SW (MLD-SW)>
IM 33S01B30-01E
Block Mode Change Interlock
When the block mode change interlock condition is established, the block mode change
interlock function stops the control computation processing of the function block running in
auto mode, and prohibit the function block changing to automatic operation mode.
Characteristics of the Block Mode Change Interlock
Stops the control computation processing of the function blocks that are operating auto-
matically, and disables the currently stopped function blocks from changing to an automatic
operation state. The following actions will take place:
The block mode changes to manual (MAN).
Any block mode change command to make the function block into automatic opera-
tion state (AUT or CAS mode) become invalid.
Block Mode Change Interlock Condition
The Block mode change interlock condition is established when the switch at the con-
nected destination of the interlock switch input terminal (INT) is turned ON. This switch is
manipulated in the process control sequence and the switch is turned on when the se-
quence judge that the loop can not run in Auto mode, or etc.,.
10th Edition : Dec.18,2003-00
<D1.16 Manual Loader Block with Auto/Man SW (MLD-SW)> D1-195
IM 33S01B30-01E
Data Items - MLD-SW
Table Data Items of Manual Loader Block with Auto/Man SW (MLD-SW)
D011611E.EPS
Data
Item
Data Name
Entry Permitted
or Not
Range Default
(*1)
-----
-----
-----
-----
-----
SV engineering unit value
Value in the same engineering unit as SV
MV engineering unit value
MSL to MSH
MSL to MSH
-----
(SSH - SSL)
0 to (SSH - SSL)
MSL to MSH
0, 1
0, 1, 2, 3
0, 1
MSL to MSH
MSL to MSH
0 to 255
-----
Block mode
Alarm status
Alarm flashing status
Alarm detection specificaton
Alarm masking specification
Setpoint value
Cascade setpoint value
Manipulated output value
Manipulated variable high - limit setpoint
Mnipulated variable low - limit setpoint
Gain
Bias
Ramp consistant
Preset manipulated output value
Tracking switch
Preset MV swich
Pulse width reset switch
Output high-limit index
Output low-limit index
Operation mark
User application ID
MODE
ALRM
AFLS
AF
AOFS
SV
CSV
MV
MH
ML
GAIN
BIAS
RP
PMV
TSW
PSW
RSW
OPHI
OPLO
OPMK
UAID
O/S(MAN)
NR
0
0
0
SSL
SSL
MSL
MSH
MSL
1.000
0.0
SSH to SSL
MSL
0
0
0
MSH
MSL
0
0
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the block mode is MAN
SSH: SV scale high limit
SSL: SV scale low limit
MSH: MV scale high limit
MSL: MV scale low limit
SEE ALSO
For a list of valid block modes of the MLD-SW block, see the following:
D1.1.4, Valid Block Modes for Each Regulatory Control Block
10th Edition : Dec.18,2003-00
D1-196 <D1.17 Motor Control Blocks (MC-2, MC-2E, MC-3, and MC-3E)>
IM 33S01B30-01E
D1.17 Motor Control Blocks (MC-2, MC-2E, MC-3,
and MC-3E)
The Motor Control Blocks MC-2, MC-2E, MC-3, and MC-3E are applied to operate
motor-driven pumps and motor-operated valves. These blocks may be used to start
or stop motors from operation and monitoring functions or to control them auto-
matically.
There are four models of Motor Control Block (MC-2, MC-2E, MC-3, and MC-3E),
which behaves in different output manner.
Two-Position Motor Control Block (MC-2)
Enhanced Two-Position Motor Control Block (MC-2E)
Three-Position Motor Control Block (MC-3)
Enhanced Three-Position Motor Control Block (MC-3E)
Motor Control Blocks (MC-2, MC-2E, MC-3, and MC-3E)
Connection
The motor control blocks are provided with function to operate motor-driven pumps and
motor-operated valves.
The motor control blocks enable starting and stopping of motors from operation and moni-
toring functions. Also, combining the motor control blocks with the sequence control func-
tion to realize the automatic control on motors.
The MC-2E (*1) and MC-3E (*1) blocks function the same as MC-2 and MC-3 blocks but
have the additional capability to connect to FF faceplate blocks and fieldbus function blocks.
Moreover, the input terminals for the two contacts and the output terminals for the two or
three contacts can be defined separately so that the two or three irrelevant channels can
be used.
*1: MC-2E and MC-3E blocks can be applied to all field control stations except standard PFCS (CS 1000). When using
MC-2E or MC-3E block, it is necessary to add the option [DIOENH] on the [Constant] tab of the FCS properties sheet.
The figure below shows the function block diagram of the motor control blocks (MC-2, MC-
3):
INT TSI IL
IN
TT
FB
OUT
(BPSW)
SWI
CSV RMV
FV
SV
Output
processing
PV MV
Input
processing
Answerback
check function
D011701E.EPS
Figure Function Block Diagram of the Motor Control Blocks (MC-2, MC-3)
10th Edition : Dec.18,2003-00
<D1.17 Motor Control Blocks (MC-2, MC-2E, MC-3, and MC-3E)> D1-197
IM 33S01B30-01E
The table below shows the connection methods and connected destinations of the I/O
terminals of the Motor Control Blocks (MC-2, MC-3):
Table Connection Methods and Connected destinations of the I/O Terminals of Motor Control
Blocks (MC-2, MC-3)
I/O terminal
Connection method Connection destination
Data
reference
Data
setting
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN Answerback input
OUT Manipulated output
FB
Feedback signal
input
TT
Thermal trip signal
input
IL
Operation interlock
input
SWI
Bypass command
SW input
TSI Tracking SW input
INT Interlock SW input
D011702E.EPS
: Connection allowed
Blank: Connection not allowed
: Connection allowed only when connecting to a switch block (SW-33, SW-91) or inter-station data link block (ADL).
10th Edition : Dec.18,2003-00
D1-198 <D1.17 Motor Control Blocks (MC-2, MC-2E, MC-3, and MC-3E)>
IM 33S01B30-01E
The figure below shows the function block diagram of the motor control blocks (MC-2E):
INT TSI IL
IN1
IN2
TT
FB
OUT1
OUT2
(BPSW)
SWI
CSV RMV
FV
SV
Output
processing
PV MV
Input
processing
Answerback
check function
D011711E.EPS
Figure Function Block Diagram of the Enhanced Two-position Motor Control Blocks (MC-2E)
The table below shows the connection methods and connected destinations of the I/O
terminals of the Motor Control Blocks (MC-2E):
Table Connection Methods and Connected destinations of the I/O Terminals of Enhanced Two-
position Motor Control Blocks (MC-2E)
I/O terminal
Connection method Connection destination
Data
reference
Data
setting
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN1 Answerback input1
IN2 Answerback input2
OUT1 Manipulated output1
FB
Feedback signal
input
TT
Thermal trip signal
input
IL
Operation interlock
input
SWI
Bypass command
SW input
TSI Tracking SW input
INT Interlock SW input
D011712E.EPS
OUT2 Manipulated output2
: Connection allowed
Blank: Connection not allowed
: Connection allowed only when connecting to a switch block (SW-33, SW-91) or inter-station data link block (ADL).
10th Edition : Dec.18,2003-00
<D1.17 Motor Control Blocks (MC-2, MC-2E, MC-3, and MC-3E)> D1-199
IM 33S01B30-01E
The figure below shows the function block diagram of the motor control blocks (MC-3E):
INT TSI IL
IN1
IN2
TT
FB
OUT1
OUT2
OUT3
(BPSW)
SWI
CSV RMV
FV
SV
Output
processing
PV MV
Input
processing
Answerback
check function
D011713E.EPS
Figure Function Block Diagram of the Enhanced Three-position Motor Control Blocks (MC-3E)
The table below shows the connection methods and connected destinations of the I/O
terminals of the Motor Control Blocks (MC-3E):
Table Connection Methods and Connected destinations of the I/O Terminals of Enhanced Three-
position Motor Control Blocks (MC-3E)
I/O terminal
Connection method Connection destination
Data
reference
Data
setting
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN1 Answerback input1
IN2 Answerback input2
OUT1 Manipulated output1
FB
Feedback signal
input
TT
Thermal trip signal
input
IL
Operation interlock
input
SWI
Bypass command
SW input
TSI Tracking SW input
INT Interlock SW input
D011714E.EPS
OUT2 Manipulated output2
BSET - PLST
BSET - LPV
STUP
2
STDY
3
EMST
8
EEMS
9
STDY
3
PBCH
5
END
7
NCNT
0 4 0 10 11 2
BPRE
BEND
D012001E.EPS
MH: High flowrate setpoint
ML: Low flowrate setpoint
PRE: Pre-batch flowrate setpoint
TU: Rise time
TD: Fall time
TW: Batch end wait time
BSET: Batch setpoint
ILST: Initial forecast value
PLST: Pre-batch setpoint
LPV: Leakage predictive value
BPRE: Pre-batch alarm (early notification)
BEND: Batch end alarm (end notification)
NCNT STUP ERLY RSTR STRT
Figure Batch Operation (Analog Output)
10th Edition : Dec.18,2003-00
D1-276 <D1.20 Totalizing Batch Set Blocks (BSETU-2, BSETU-3)>
IM 33S01B30-01E
The operating status is indicated by the block status and control step. The operating status
is switched via the command switch (SW), emergency stop switch (EMSW) or control step
(ZONE). The commands issued by the command switch (SW) and emergency stop switch
(EMSW) are shown below:
Command switch (SW)
1: Start
2: Restart
3: Abort
4: Emergency stop
0: Changes to 0 automatically when the command (1 to 4) is acknowledged.
Emergency stop switch (EMSW)
1: Emergency stop
0: After the executes command (1), it changes to 0 automatically.
Basic Batch Operation
The following section explains the basic operation of the Totalizing Batch Set Blocks at
each control step (ZONE):
1. ZONE10: Batch start (Block status: STRT)
Sets data to the set parameters including batch setpoint (BSET) prior to batch start. If
the command switch is set to start (SW=1) while in the automatic (AUT) block mode,
the current control step moves to ZONE10 and the block starts batch operation after
resetting the totalized value (SUM) to 0.
Once batch starts, the control step moves to ZONE1.
2. ZONE1: Initial batch (Block status: IBCH)
After batch start, outputs the low flowrate setpoint (ML) as the manipulated output
value (MV) until the totalized value (SUM) reaches the initial forecast value (ILST).
The output velocity limiter does not operate. When the totalized value (SUM) exceeds
ILST, the control step moves to ZONE2.
The low flowrate setpoint (ML) and initial forecast value (ILST) are set from the
operation and monitoring functions as set parameters.
Low flowrate setpoint (ML):
Set engineering unit data within the manipulated output value (MV) scale range.
The default is the manipulated output value (MV) scales low limit.
Initial forecast value (ILST):
Set data in the same unit as the totalized value (SUM).
The default is 0.
The set value consist of 8 digits or less.
10th Edition : Dec.18,2003-00
<D1.20 Totalizing Batch Set Blocks (BSETU-2, BSETU-3)> D1-277
IM 33S01B30-01E
3. ZONE2: Setup (Block status: STUP)
Changes the manipulated output value (MV) to the high flowrate setpoint (MH) value
during the Ramp Up time (TU). The high flowrate setpoint (MH) is an output value in a
steady state.
When the set TU time elapses in the setup mode, the control step moves to ZONE3.
The high flowrate setpoint (MH) and Ramp Up time (TU) are set from the operation
and monitoring functions as set parameters.
High flowrate setpoint (MH):
Set engineering unit data within the manipulated output value (MV) scale range.
The default is the manipulated output value (MV) scales low limit.
Ramp Up time (TU):
Set a value between 0 and 10000 seconds.
The default is 0 second.
4. ZONE3: Steady (Block status: STDY)
Outputs the high flowrate setpoint (MH) as the manipulated output value (MV). When
the totalized value (SUM) reaches the value of batch setpoint (BSET) less pre-batch
setpoint (PLST), the control step moves to ZONE4.
The batch setpoint (BSET) and pre-batch setpoint (PLST) are set from the opera-
tion and monitoring functions as set parameters.
Batch setpoint (BSET): Set data in the same unit as the totalized value (SUM).
The default is 0.
Specify a numeric value consisting of 8 digits or less.
Pre-batch setpoint (PLST): Set data in the same unit as the totalized value (SUM).
The default is 0.
Specify a numeric value consisting of 8 digits or less.
5. ZONE4: Early (Block status: ERLY)
The alarm status changes to pre-batch alarm (BPRE). In the course of Ramp Down
time (TD), the manipulated output value (MV) is changed to PRE (pre-batch flowrate
setpoint) on the gradient that leads to the low-flowrate setpoint (ML). When the ma-
nipulated output value (MV) becomes the same value as the pre-batch flowrate
setpoint (PRE), the control step moves to ZONE5.
The pre-batch flowrate setpoint (PRE) and Ramp Down time (TD) are set from the
operation and monitoring functions as set parameters.
Pre-batch flowrate setpoint (PRE):
Set engineering unit data within the MV scale range.
The default is the manipulated output value (MV) scales low limit.
Ramp Down time (TD):
Set a value between 0 and 10000 seconds.
The default is 0 second.
10th Edition : Dec.18,2003-00
D1-278 <D1.20 Totalizing Batch Set Blocks (BSETU-2, BSETU-3)>
IM 33S01B30-01E
6. ZONE5: Pre-batch (Block status: PBCH)
Outputs the pre-batch flowrate setpoint (PRE) as the manipulated output value (MV).
When the totalized value (SUM) reaches the value of batch setpoint (BSET) less
leakage predictive value (LPV), the control step moves to ZONE7.
The leakage predictive value (LPV) is set from the operation and monitoring func-
tions as a set parameter.
Leakage predictive value (LPV):
Set data in the same unit as the totalized value (SUM).
The default is 0.
Specify a numeric value of 4 digits or less.
7. ZONE7: Batch end (Block status: END)
The alarm status changes to batch end alarm (BEND), and batch operation ends after
the manipulated output value (MV) is reset to 0. When the batch end wait time (TW)
elapses in the batch end mode, the block mode changes to manual (MAN) and the
control step moves to ZONE0. At this time, the totalized value (SUM) is added to the
cumulative totalized value (SUM1). However, this addition will not take place in the
manual (MAN) mode.
The batch end wait time (TW) is set from the operation and monitoring functions as a
set parameter.
Batch end wait time (TW): Set a value between 0 and 10000 seconds.
The default is 0 second.
8. ZONE0: Batch operation stop (Block status: NCNT)
In this mode, batch Control Action stops and a manually manipulated variable can be
output.
9. ZONE6: Reset (Block status: RSET)
When the command switch is set to Abort (SW=3) during batch operation, the control
step moves to ZONE6 and the manipulated output value (MV) is brought down to 0 %
at a speed of changing it from the high flowrate setpoint (MH) to low flowrate setpoint
(ML) over the Ramp Down time (TD).
When the manipulated output value reaches 0 %, the control step moves to ZONE7.
When the totalized value exceeds the value of batch setpoint (BSET) less leakage
predictive value (LPV), the status changes to batch end and generates an alarm
(BEND). The batch ends other than this way does not generate batch end alarm
(BEND).
10. ZONE8: Emergency stop (Block status: EMST)
When the emergency command switch is set to emergency stop (EMSW=1), or when
the command switch is set to emergency stop (SW=4), the control step moves to
ZONE8, and the manipulated output value (MV) is brought down to 0 % at a speed of
changing it from the high flowrate setpoint (MH) to low flowrate setpoint (ML) over TD
(Ramp Down time). When the manipulated output value (MV) reaches 0 %, the control
step moves to ZONE9.
10th Edition : Dec.18,2003-00
<D1.20 Totalizing Batch Set Blocks (BSETU-2, BSETU-3)> D1-279
IM 33S01B30-01E
11. ZONE9: Emergency stop complete (Block status: EEMS)
When the totalized value (SUM) reaches the value of batch setpoint (BSET) less
leakage predictive value (LPV) during emergency stop, the control step moves to
ZONE7.
12. ZONE11: Restart (Block status: RSTR)
When the command switch is set to restart (SW=2) during the emergency stop com-
plete mode (ZONE9), the control stop moves to ZONE1 via ZONE11.
Actions Triggered by Command Switch
The figure below shows the actions of batch operation triggered by the command switch
(SW):
0
ML
MH
MV
TW
Block
status
Totalized
value
<
ILST
IBCH
0
MAN
Block
mode
ZONE 1
ILST
AUT MAN
STUP
2
STDY
3
EMST
8
EEMS
9
STDY
3
END
7
NCNT
0 6 0 10 11 2
Command switch (SW)
Action
Block mode
Start
AUT
4 1 2
EM-ST
AUT
Restart
AUT
3
Reset
AUT
D012002E.EPS
RSTR NCNT STUP STRT RSET
Figure Actions of Batch Operation Triggered by Command Switch
Other than by the emergency stop command (SW=4), emergency stop can also be trig-
gered via the emergency stop switch (EMSW=1).
10th Edition : Dec.18,2003-00
D1-280 <D1.20 Totalizing Batch Set Blocks (BSETU-2, BSETU-3)>
IM 33S01B30-01E
Transition of Control Step Status
The figure below shows a status transition diagram of control steps:
1
IBCH
8
EMST
0
NCNT
9
EEMS
10
STRT
11
RSTR
(B)
2
STUP
(C)
3
STDY
(D)
4
ERLY
(E)
5
PBCH
(F)
(H)
(F) (I) (L)
(B)
(D)
(G) (K) (A)
(J)
6
RSET
7
END
ZONE
Block status
(M)
(F)
(N)
D012003E.EPS
Legend
(A) Batch start complete
(B) End of initial batch
(C) End of setup
(D) Early point detection (SUM>BET-PLST)
(E) End of pre-batch processing (MV=PRE)
(F) Batch end detection (SUM>BSET-LPV)
(G) End of batch end processing
(H) Emergency stop command (EMSW=1 or SW=4)
(I) Emergency stop complete
(J) Restart complete
(K) Start command (SW=1)
(L) Restart command (SW=2)
(M) Abort (SW=3)
(N) Abort completed (MV=0 %)
Figure Transition of Control Step Status
Status transition can also be induced by changing the control step. The control step
(ZONE) can be changed from a sequence table or calculation block, but not from the
operation and monitoring functions. Note that change commands issued by the command
switch (SW) precede any operation to change the control step (ZONE).
The totalized value (SUM) is added to the cumulative totalized value (SUM1) when batch
end processing is completed.
10th Edition : Dec.18,2003-00
<D1.20 Totalizing Batch Set Blocks (BSETU-2, BSETU-3)> D1-281
IM 33S01B30-01E
Manual Operation
When the block mode changes to manual (MAN), automatic control processing is sus-
pended and manual operation is enabled. The control step changes even during the
manual (MAN) mode. When the block mode is changed from manual (MAN) to automatic
(AUT) during manual operation, automatic control is started.
Automatic Prediction
When batch end is detected during each scan period, a flowrate error equivalent to a
maximum of one scan period may generate. The Totalizing Batch Set Blocks automatically
predicts batch end in order to minimize this error.
When the alarm status changes to pre-batch alarm (BPRE), the totalized value during the
next scan is predicted based on the totalized value increase during the current scan period
(totalized value during the current scan-totalized value during the previous scan). If the
predicted value exceeds the batch setpoint (BSET), a duration of time to keep the valve
fully open is calculated in 25 msec. units, based on the totalized value (SUM). The valve is
fully opened when the time calculated using this formula elapses.
The automatic prediction function is executed only in ZONE5. This function is also acti-
vated for outputs via a switch instrument block.
Batch Operation (2-Position ON/OFF Output)
Simple batch control based on the two-position ON/OFF output method can be performed
by connecting the output terminal (OUT) of the Totalizing Batch Set Blocks to a contact
output or switch instrument block. Valve closure processing can also be performed via
automatic prediction when the block is connected to a switch instrument.
The table below shows the relationship between the manipulated output values (MV)
during manual operation and those of a contact output or switch instrument block.
Table Relationship between Manipulated Output Values (MV) during Manual Operation and Those
of a Contact Output or Switch Instrument Block
MV value 0 % to 49.9 % 50 % to 100 %
Contact output OFF ON
Switch instrument MV=0 MV=2
D012004E.EPS
IMPORTANT
When a BSETU-2 or BSETU-3 function block is applied with two-position ON/OFF output,
the parameters of the ramp up time (TU) and the ramp down time (TD) should be set to
zero.
If the ramp down time (TD) is not zero, when the function block runs emergency shutdown
to force MV to 0%, but the control calculation will ramp down the MV slowly based on the
setting value of TD. Since the ON/OFF output only acts in accordance with 100% MV or
0% MV, thus, the output cannot become OFF if the MV is not ramping down to zero but
hooked at 100%.
Consequently, the valve cannot be closed by the emergency shutdown (EMST) action.
The same phenomenon occurs when the ramp up time (TU) is not zero. In setup mode of
the function block, the MV may be hooked at 0% and the valve cannot be opened.
10th Edition : Dec.18,2003-00
D1-282 <D1.20 Totalizing Batch Set Blocks (BSETU-2, BSETU-3)>
IM 33S01B30-01E
Actions when Switch Instrument is in Cascade (CAS) Mode
When the connected switch instrument is in the cascade (CAS) mode, the BSETU-2 and
BSETU-3 blocks output the manipulated output value (MV) to the sequence setpoint value
(CSV) of the switch instrument, and the switch instrument outputs the received sequence
setpoint value (CSV) as its own manipulated output value (MV). In the case of emergency
stop, the manipulated output value (MV) drops to 0 % immediately.
The figure below shows an example of simple batch operation based on the 2-position ON/
OFF output method, when the switch instrument is in the cascade (CAS) mode.
In this example, the parameters are set as follows:
Output velocity limiter: 100 %
Ramp Up time (TU): 0 second
Ramp Down (TD): 0 second
High flowrate setpoint (MH): 100 %
Low flowrate setpoint (ML): 100 %
Pre-batch flowrate setpoint (PRE): 100 %
0
2-position
ON/OFF
100
MV
TW
Block
status
Totalized
value
<ILST
IBCH
0
MAN
Block
mode
Pre-batch
batch end
alarm
ZONE 1
MAN
EEMS
9
STDY
3
PBCH
5
END
7
NCNT
0
STRT
10
ILST
AUT
BSET - PLST
BSET - LPV
BPRE
BEND BEND
STDY
3
RSTR
11
NCNT
0
D012005E.EPS
Figure Example of Simple Batch Operation Using 2-Position ON/OFF Output Method when the
Both Switch Instruments are in Cascade (CAS) Mode
SEE ALSO
For the switch instrument block, see the following:
D3.4, Switch Instrument Block and Enhanced Switch Instrument Block
10th Edition : Dec.18,2003-00
<D1.20 Totalizing Batch Set Blocks (BSETU-2, BSETU-3)> D1-283
IM 33S01B30-01E
Actions when Switch Instrument is not in Cascade (CAS) Mode
When the connected switch instrument is not in the cascade (CAS) mode, the Flow/
Weight-Totalizing Batch Set Block (BSETU-2, BSETU-3) changes to the initialization
manual (IMAN) mode. In this mode, the MV value of the switch instrument is set as the MV
of the Flow/Weight-Totalizing Batch Set Block (BSETU-2, BSETU-3) after having been
converted via the output value tracking function.
Batch Operation (3-Position ON/OFF Output)
Simple batch control using the 3-position ON/OFF output method can be performed by
connecting the output terminals (OUT, OUT2) of the Flow-Totalizing Batch Set Block
(BSETU-2) to contact outputs or switch instruments.
When connecting to contact outputs, use two contact outputs with successive terminal
numbers. Register the contact output with the smaller terminal number as I/O connection
information of the OUT terminal. The contact output with the smaller terminal number
becomes output contact 1. When connecting to switch instruments, the switch instrument
connected to the OUT terminal becomes switch instrument 1, and the one connected to the
OUT2 terminal becomes switch instrument 2.
The table below shows the relationship between the manipulated output values (MV)
during manual operation and those of contact outputs or switch instruments:
Table Relationship between Manipulated Output Values (MV) during Manual Operation and
Contact Outputs or Switch Instrument Blocks
MV value 0 % to 24.9 % 25 % to 74.9 % 75 % to 100 %
Contact output 1 OFF OFF ON
Contact output 2 OFF ON ON
Switch instrument 1 MV=0 MV=0 MV=2
Switch instrument 2 MV=0 MV=2 MV=2
D012006E.EPS
IMPORTANT
When a BSETU-2 or BSETU-3 function block is applied with three-position ON/OFF output,
the parameters of the ramp up time (TU) and the ramp down time (TD) should be set to
zero.
If the ramp down time (TD) is not zero, when the function block runs emergency shutdown
to force MV to 0%, but the control calculation will ramp down the MV slowly based on the
setting value of TD. Since the ON/OFF output only acts in accordance with 100% MV, 50%
MV or 0% MV, thus, the output cannot become OFF if the MV is not ramping down to zero
but hooked at 100%. (or 50%.)
Consequently, the valve cannot be closed by the emergency shutdown (EMST) action.
The same phenomenon occurs when the ramp up time (TU) is not zero. In setup mode of
the function block, the MV may be hooked at 0% and the valve cannot be opened.
10th Edition : Dec.18,2003-00
D1-284 <D1.20 Totalizing Batch Set Blocks (BSETU-2, BSETU-3)>
IM 33S01B30-01E
Actions when Both Switch Instruments are in Cascade (CAS) Mode
When both of the connected switch instruments are in the cascade (CAS) mode, the
BSETU-2 or BSETU-3 blocks output two manipulated output values (MV) to the corre-
sponding sequence setpoint values (CSV) of switch instruments 1 and 2, and each switch
instrument outputs the received sequence setpoint value (CSV) as its own manipulated
output value (MV). In the case of emergency stop, the manipulated output value (MV)
drops to 0 % immediately.
The figure below shows an example of simple batch operation based on the three-position
ON/OFF output method, when the switch instruments are in the cascade (CAS) mode.
In this example, the parameters are set as follows:
Output velocity limiter: 100 %
Ramp Up time (TU): 0 second
Ramp Down time (TD): 0 second
High flowrate setpoint (MH): 100 %
Low flowrate setpoint (ML): 50 %
Pre-batch flowrate setpoint (PRE): 50 %
0
3-position
ON/OFF
100
MV
TW
Block
status
Totalized
value
<ILST
IBCH
0
MAN
Block
mode
Pre-batch
batch end
alarm
ZONE 1
MAN
EEMS
9
STDY
3
PBCH
5
END
7
NCNT
0
STRT
10
ILST
AUT
BSET-PLST
BSET-LPV
BPRE
BEND BEND
STDY
3
RSTR
11
NCNT
0
D012007E.EPS
Figure Example of Simple Batch Operation Based on 3-Position ON/OFF Output Method when
Both Switch Instruments are in the Cascade (CAS) Mode
10th Edition : Dec.18,2003-00
<D1.20 Totalizing Batch Set Blocks (BSETU-2, BSETU-3)> D1-285
IM 33S01B30-01E
Actions when Only Switch Instrument 2 is in Cascade (CAS) Mode
When only switch instrument 2 is in the cascade mode, the Flow/Weight-Totalizing Batch
Set Block (BSETU-2, BSETU-3) outputs only to switch instrument 2.
The figure below shows an example of simple batch operation based on the three-position
ON/OFF output method, when only switch instrument 2 is in the cascade (CAS) mode:
D012008E.EPS
Switch instrument
2
ZONE
MODE CAS Other than CAS
MV
MODE
Switch instrument
1
CAS
0 0/2 (No output from the BSETU-2/BSETU-3)
0 1 3 9 3 5 7
MV 0 2 0 2 0
0 %
50 %
100 %
MV
BSETU-2/
BSETU-3
Switch instrument 1 changes to a non-CAS mode
Figure Example of Batch Operation when Only Switch Instrument 2 is in Cascade (CAS) Mode
10th Edition : Dec.18,2003-00
D1-286 <D1.20 Totalizing Batch Set Blocks (BSETU-2, BSETU-3)>
IM 33S01B30-01E
Actions when Only Switch Instrument 1 is in Cascade Mode
In batch operation where only switch instrument 1 is in the cascade (CAS) mode, the
manipulated output value (MV) of switch instrument 1 becomes 0 in the initial batch
(ZONE1) and pre-batch (ZONE5) modes. Therefore, if the manipulated output value (MV)
of switch instrument 2 is 0, the emergency stop mode (ZONE9) becomes active.
To perform output in this state, set either of the following:
ILST (initial forecast value)=0
PLST (pre-batch setpoint)=0
This eliminates the mode of ZONE1 or 5 and sets the command switch (SW) to 2 (restart
specification). As a result, the control step changes to ZONE3 and batch operation re-
sumes.
The figure below shows an example of simple batch operation based on the three-position
ON/OFF output method, when only switch instrument 1 is in the cascade (CAS) mode:
D012009E.EPS
Switch instrument
2
ZONE
MODE
Switch instrument
1
CAS
0 1 9 3 9 3 7
MV 0 2 0 2 0
MODE CAS Other than CAS
MV 0 2 0/2 (No output from the BSETU-2/BSETU-3)
0 %
50 %
100 %
MV
BSETU-2/
BSETU-3
Switch instrument 2 changes to a non-CAS mode
LIST=PLST=0. Set SW=2.
Figure Example of Batch Operation when Only Switch Instrument 1 is in Cascade (CAS) Mode
Actions when Neither Switch Instrument is in Cascade (CAS) Mode
When neither switch instrument is in the cascade (CAS) mode, the Flow/Weight-Totalizing
Batch Set Block (BSETU-2, BSETU-3) enters the initialization manual (IMAN) mode. In this
mode, the MV value of the switch instrument is set as the MV of the Flow/Weight-Totalizing
Batch Set Block (BSETU-2, BSETU-3) after having been converted via the output value
tracking function.
10th Edition : Dec.18,2003-00
<D1.20 Totalizing Batch Set Blocks (BSETU-2, BSETU-3)> D1-287
IM 33S01B30-01E
Emergency Stop when an Alarm Occurs
Emergency Stop when Input Open, Emergency Stop when Low-Low Alarm, Emergency Stop
when High Alarm, Emergency Stop when Low Alarm, Emergency Stop when Missing Pulse
The batch operation can be set to the emergency stop state when an alarm occurs. Emer-
gency stop execution can be specified for the alarms indicated below:
Input open alarm (IOP, IOP-)
Input low-low limit alarm (LL)
Input high limit alarm (HI)
Input low limit alarm (LO)
Missing pulse alarm (NPLS) (*1)
The setting for whether the batch operation comes to an emergency stop or continues
when an alarm occurs is performed for each alarm using the Function Block Detail Builder.
The setting selections are Yes or No. When Yes is selected, the operation performs an
emergency stop when an alarm occurs. When No is selected, there is no emergency stop
and the batch operation continues. Default settings are given below:
Emergency Stop When Input Open: The default is Yes
Emergency Stop When Low-Low Alarm: The default is No.
Emergency Stop When High Alarm: The default is No.
Emergency Stop When Low Alarm: The default is No.
Emergency Stop When Missing Pulse: The default is Yes. (*2)
*1: The missing pulse alarm (NPLS) is available only for BSETU-2, but not for BSETU-3.
*2: Emergency Stop When Missing Pulse is available only for BSETU-2, but not for BSETU-3.
SEE ALSO
For more details on the input open, input low-low limit, input high limit and input low limit alarms, see the
followings:
C5.1, Input Open Alarm Check
C5.3, Input High-High and Low-Low Limit Alarm Check
C5.4, Input High and Low Limit Alarm
For the details of the missing pulse alarm, see the following:
Missing Pulse Alarm Check in D1.21, Flow-Totalizing Batch Set Block (BSETU-2)
10th Edition : Dec.18,2003-00
D1-288 <D1.20 Totalizing Batch Set Blocks (BSETU-2, BSETU-3)>
IM 33S01B30-01E
Initialization Manual
The initialization manual is an error processing function that suspends the control action
temporarily by changing the block mode to initialization manual (IMAN). This action takes
place when the initialization manual condition is established.
Characteristics of the Initialization Manual
The initialization manual function suspends the control action and control output action
temporarily during the automatic (AUT) mode or other automatic control operation mode
when the initialization manual condition is established, and changes the block mode of the
function block to initialization manual (IMAN).
Because the initialization manual action causes the manipulated output value (MV) to track
the value at the connected destination, even when the initialization manual (IMAN) mode is
changed to manual (MAN), the initialization manual (IMAN) mode will precede the manual
(MAN) mode and any operation to change to the manual (MAN) mode will become invalid.
The block returns to the original mode when the initialization manual condition vanishes.
However, if try to change a block mode in the initialization manual (IMAN) mode, the block
will switch to that mode only when the initialization condition vanishes.
Initialization Manual Condition
The initialization manual condition is a block mode transition condition that suspends the
control action and control output action temporarily by changing the block mode to initializa-
tion manual (IMAN). The initialization manual (IMAN) block mode becomes active only
when the initialization manual condition is established.
The following example shows when the initialization manual condition establishes and
vanishes:
AUT
Initialization manual condition establishes
IMAN (AUT)
Initialization manual condition vanishes
AUT
The initialization manual condition is established in the following situation:
When the data status at the connected destination of the manipulated output value
(MV) is conditional (CND) (i.e., the cascade connection is open).
When the data status at the connected destination of the manipulated output value
(MV) is a communication error (NCOM) or output failure (PTPF).
When the connected destination of the manipulated output value (MV) is a switch
block (SW-33, SW-91) and the switches off the cascade connection.
When the connected destination of the manipulated output value (MV) is a process
output and a failure or output open alarm is detected in the process output.
10th Edition : Dec.18,2003-00
<D1.20 Totalizing Batch Set Blocks (BSETU-2, BSETU-3)> D1-289
IM 33S01B30-01E
MAN Fallback
The MAN fallback is an error processing function that stops the control and forces the
function block to enter manual operation state. This action takes place when the MAN
fallback condition is established. In the Flow-Totalizing Batch Set Block (BSETU-2), the
emergency stop action triggered by an input open alarm will override the MAN fallback
action only when input open emergency stop is defined Yes in the function block builder.
When an input open alarm occurs, the emergency stop (EMST) mode becomes active and
the manipulated output value (MV) drops to the manipulated output scale low limit (MSL).
Once the emergency stop action is completed, the MAN fallback action is executed and the
block mode changes to manual (MAN) mode.
Characteristics of MAN Fallback
The MAN fallback stops the control by changing the block to manual (MAN) mode regard-
less of the current operation status, and forces the function block to enter manual operation
state.
Once the MAN fallback condition is established, the block mode remains manual (MAN)
even when the condition later vanishes.
MAN Fallback Condition
The MAN fallback condition is used to stop the control by changing the function block to
manual (MAN) mode regardless of the current operation status, and forces the function
block to enter manual operation state. When the MAN fallback condition is established, it
indicates that a fatal error has occurred and requests operator interruption.
The following example shows when the MAN fallback condition is established:
AUTMAN
IMAN (CAS)IMAN (MAN)
The MAN fallback condition is established in the following situations:
When the data status of the process variable (PV) is invalid (BAD) or calibration
(CAL).
When the data status of the manipulated output value (MV) is output failure (PTPF).
When the manipulated output value (MV) is connected to a process I/O and the FCS
is having an initial cold start.
When the block mode change interlock condition is established.
When the manipulated output value (MV) is connected to a process I/O, and one of
the I/O points connected to the I/O module has been changed via maintenance.
10th Edition : Dec.18,2003-00
D1-290 <D1.20 Totalizing Batch Set Blocks (BSETU-2, BSETU-3)>
IM 33S01B30-01E
Block Mode Change Interlock
The block mode change interlock function stops the control computation processing of
function blocks that are operating automatically, while disabling the currently stopped
function blocks from changing to an automatic operation state. This action takes place
when the block mode change interlock condition is established.
Characteristics of the Block Mode Change Interlock
Stops the control computation processing of the function blocks that are operating auto-
matically, and disables the currently stopped function blocks from changing to an automatic
operation state. The following actions will take place:
The block mode changes to manual (MAN).
Any block mode change command to obtain an automatic operation state (AUT mode)
becomes invalid.
Block Mode Change Interlock Condition
The Block mode change interlock condition is established when the switch at the con-
nected destination of the interlock switch input terminal (INT) is turned ON. This switch is
manipulated in the process control sequence and the switch is turned on when the se-
quence judge that the loop can not run in Auto mode, or etc.,.
10th Edition : Dec.18,2003-00
<D1.20 Totalizing Batch Set Blocks (BSETU-2, BSETU-3)> D1-291
IM 33S01B30-01E
D1.20.3 Output Processing of Totalizing Batch Set Blocks
(BSETU-2, BSETU-3)
The BSETU-2 and BSETU-3 blocks perform a special output signal conversion.
This section describes the output signal conversion, using the BSETU-2 block as an
example.
Output Signal Conversion of the Flow/Weight-Totalizing Batch Set Block
(BSETU-2 and BSETU-3)
Output Signal Conversion
The types of output signal processing available in the BSETU-2 and BSETU-3 blocks are
analog output, data set output for other function block, subsystem output, and 2-position/3-
position ON/OFF output. Pulse width output is not available.
Not only the process I/O contact output but also Switch Instrument blocks can be used as
the destination of 2-position/3-position ON/OFF output.
The following list shows the Switch Instrument block that may be connected to BSETU-2
and BSETU-3. Switch Instrument block with two status output can not be connected.
SIO-11, SIO-11E
SIO-21, SIO-21E
SO-1, SO-1E
IMPORTANT
When a BSETU-2 or BSETU-3 function block is applied with two-position ON/OFF output
or three-position ON/OFF output, the parameters of the ramp up time (TU) and the ramp
down time (TD) should be set to zero.
If the ramp down time (TD) is not zero, when the function block runs emergency shutdown
to force MV to 0%, but the control calculation will ramp down the MV slowly based on the
setting value of TD. Since the ON/OFF output only acts in accordance with 100% MV, 50%
MV or 0% MV, thus, the output cannot become OFF if the MV is not ramping down to zero
but hooked at 100%. (or 50%.)
Consequently, the valve cannot be closed by the emergency shutdown (EMST) action.
The same phenomenon occurs when the ramp up time (TU) is not zero. In setup mode of
the function block, the MV may be hooked at 0% and the valve cannot be opened.
10th Edition : Dec.18,2003-00
D1-292 <D1.20 Totalizing Batch Set Blocks (BSETU-2, BSETU-3)>
IM 33S01B30-01E
Connecting a 2-Position ON/OFF Output to a Contact Output
The following figure illustrates the connection of an I/O contact output to the output terminal
(OUT) of the BSETU-2 block:
IN
BSETU-2
OUT
D012010E.EPS
Figure An Example of 2-Position ON/OFF Output
The following table shows the relationship between the manipulated output value (MV) in
the manual operating mode and the contact output status:
Table Relationship between the MV and the Contact Output Status in Manual Mode
MV value 0 to 49.9 % 50 to 100 %
Contact output OFF ON
D012011E.EPS
0
2-position
ON/OFF
100
MV
D012012E.EPS
Figure Simplified Batch Operation of the 2-Position ON/OFF Output System
10th Edition : Dec.18,2003-00
<D1.20 Totalizing Batch Set Blocks (BSETU-2, BSETU-3)> D1-293
IM 33S01B30-01E
Connecting a 3-Position ON/OFF Output to Contact Outputs
The following figure illustrates the connection of the I/O contact outputs to the output
terminals (OUT and OUT2) of the BSETU-2 block:
IN
BSETU-2
OUT
OUT2
D012013E.EPS
Figure An Example of 3-Position ON/OFF Output
The following table shows the relationship between the manipulated output value (MV) in
the manual operating mode and the contact outputs status:
Table Relationship between the MV and the Contact Output Status in Manual Mode
MV value 0 to 24.9 % 25 to 74.9 % 75 to 100 %
Contact output 1 OFF OFF ON
Contact output 2 OFF ON ON
D012014E.EPS
0
3-position
ON/OFF
100
MV
D012015E.EPS
Figure 3-Position ON/OFF Output
10th Edition : Dec.18,2003-00
D1-294 <D1.20 Totalizing Batch Set Blocks (BSETU-2, BSETU-3)>
IM 33S01B30-01E
2-Position ON/OFF Output Connected to a Switch Instrument in
Cascade
The following figure illustrates the connection of a 2-position ON/OFF output to a switch
instrument in cascade. In this example, the switch instrument CSV is connected to the
output terminal (OUT) of the Flow-Totalizing Batch Set Block (BSETU-2) in cascade.
D012016E.EPS
IN
BSETU-2
OUT
OUT
SIO-11
CSV IN
Figure An Example of 2-Position ON/OFF Output
The following table shows the relationship between the manipulated output value (MV) in
the manual operating mode and the switch instrument status:
Table Relationship between the MV of 2-Position ON/OFF Block and the MV of the Switch
Instrument Block
MV value 0 to 49.9 % 50 to 100 %
Switching instrument MV=0 MV=2
D012017E.EPS
When the connected switch instrument is in the cascade (CAS) mode, the BSETU-2 block
outputs a manipulated output value (MV) to the sequence setpoint value (CSV) of the
switch instrument, and the instrument will output the sequence setpoint value (CSV) as its
own manipulated output value (MV). If the switch instrument is not in the cascade (CAS)
mode, the BSETU-2 block will be in the initialization manual mode (IMAN). Then, the switch
instrument manipulated output value (MV) converted to the manipulated output value (MV)
data of the BSETU-2 block will be set as the manipulated output value (MV) of the BSETU-
2 by the output tracking function. Even when connected to a switch instrument block, the
automatic prediction is still functioning to close the valve.
10th Edition : Dec.18,2003-00
<D1.20 Totalizing Batch Set Blocks (BSETU-2, BSETU-3)> D1-295
IM 33S01B30-01E
3-Position ON/OFF Output Connected to a Switch instrument in Cascade
The following figure illustrates the connection of the 3-position ON/OFF output to a switch
instrument in cascade. In this example, the switch instrument CSV is connected to the
output terminals (OUT or OUT2) of the Flow-Totalizing Batch Set Block (BSETU-2) in
cascade. In the case of 3-position ON/OFF output, Switch Instrument Block with 1 Output
(SO-1) and Switch Instrument Block with 1 Output (SO-1) are connected to the OUT and
OUT2 terminals, respectively.
D012018E.EPS
IN
OUT
SO-1
OUT
SO-1
CSV CSV
BSETU-2
OUT
OUT2
Figure An Example of 3-Position ON/OFF Output
The following table shows the relationship between the manipulated output value (MV) in
the manual operating mode and the switch instrument status:
Table Relationship between the MV of 3-Position ON/OFF Block and the MV of the Switch
Instrument Block
MV value 0 to 24.9 % 25 to 74.9 % 75 to 100 %
Switching instrument 1 MV=0 MV=0 MV=2
Switching instrument 2 MV=0 MV=2 MV=2
D012019E.EPS
When both of the connected switch instruments are in the cascade (CAS) mode, the
BSETU-2 block outputs two manipulated output values (MV) to the sequence setpoint
values (CSV) of the switch instrument 1 and 2, respectively, and the individual instruments
will output their sequence setpoint value (CSV)s as their own manipulated output value
(MV)s, respectively. If neither of the switch instruments is in the cascade (CAS) mode, the
BSETU-2 block will be in the initialization manual mode (IMAN). Then, the switch instru-
ment manipulated output value (MV) converted to the manipulated output value (MV) data
of the BSETU-2 block will be set as the manipulated output value (MV) of the BSETU-2 by
the output tracking function.
10th Edition : Dec.18,2003-00
D1-296 <D1.20 Totalizing Batch Set Blocks (BSETU-2, BSETU-3)>
IM 33S01B30-01E
D1.20.4 Alarm Processing of Totalizing Batch Set Blocks
(BSETU-2, BSETU-3)
The alarm checks commonly performed by and specific to the BSETU-2 and BSETU-
3 blocks are as follows:
Pre-batch alarm check
Batch end alarm check
Cumulative deviation high and low limit check
Leak alarm check
Pre-Batch Alarm Check
Pre-Batch Alarm
The pre-batch alarm check is a function that determines if the integral value (SUM) has
reached a value (BSET-PLST) obtained by subtracting the pre-batch setpoint value (PLST)
from the batch setpoint value (BSET).
If it is determined that the integral value (SUM) has reached a value (BSET-PLST) obtained
by subtracting the pre-batch setpoint value (PLST) from the batch setpoint value (BSET), a
pre-batch alarm (BPRE) is activated.
To enable the pre-batch alarm function, set the alarm detect as enabled in the Function
Block Detail Builder.
The pre-batch alarm can be set with the Function Block Detail Builder.
Pre-batch alarm: Select from enabled and disabled
Default is disabled.
Batch End Alarm Check
Batch End Alarm
The batch end alarm check is a function that determines if the integral value (SUM) has
reached a value (BSET-LPV) obtained by subtracting the leakage predictive value (LPV)
from the batch setpoint value (BSET).
If it is determined that the integral value (SUM) has reached a value (BSET-LPV) obtained
by subtracting the leakage predictive value (LPV) from the batch setpoint value (BSET), a
batch end alarm (BEND) is generated.
To enable the batch end alarm check, set the alarm detect as enabled in the Function
Block Detail Builder.
The batch end alarm can be set with the Function Block Detail Builder.
Batch end alarm: Select from enabled and disabled
Default is disabled.
10th Edition : Dec.18,2003-00
<D1.20 Totalizing Batch Set Blocks (BSETU-2, BSETU-3)> D1-297
IM 33S01B30-01E
Cumulative Deviation High and Low Limit Check
Accumulated Deviation High/Low Limit Alarm
The cumulative deviation high and low limit check is a function that determines whether the
deviation (SUM-BSET) between the integral value (SUM) and batch setpoint value (BSET)
falls outside the range of the absolute value of the cumulative deviation alarm setpoint
value (DL).
If it is determined that the deviation exceeds the cumulative deviation alarm setpoint value
(DL) in the positive direction, a cumulative deviation high limit alarm (BDV+) occurs. Simi-
larly, if it exceeds the DL in the negative direction, a cumulative deviation low limit alarm
(BDV-) occurs. These alarms are checked upon batch completion (transits from ZONE7 to
ZONE0) and are maintained as long as the control step is ZONE0 (batch stopped status).
However, when a reset (SW=3) is done, the alarm check is not performed.
To activate the cumulative deviation high and low limit alarm check, set the type of cumula-
tive deviation high and low limit alarm check and the cumulative deviation high and low limit
alarm check setpoint value (DL).
Cumulative Deviation High and Low Limit Alarm Check Type
The type of cumulative deviation high and low limit alarm is set by the cumulative deviation
high and low limit alarm item in the Function Block Detail Builder. The types of cumulative
deviation high and low limit alarms are given below. The default is high and low limit
alarm.
High and low limit alarm: Monitors the deviation for both the high and low limits
High limit only: Monitors the deviation for the high limit only
Low limit only: Monitors the deviation for the low limit only
No alarm: No detection is performed
When single direction is specified for the cumulative deviation high and low limit alarm type,
only the cumulative deviation high limit alarm is monitored when the cumulative deviation
alarm setpoint (DL) has a plus sign, and only the low limit alarm is monitored when the
setpoint has a minus sign.
Cumulative Deviation Alarm Setpoint (DL)
The cumulative deviation alarm setpoint (DL) is set by the operation and monitoring func-
tion. The cumulative deviation alarm setpoint (DL) can changed as setting parameters.
Cumulative deviation alarm setpoint (DL): Same unit data as SUM
Number of digits for the setting: Maximum 4 digits
Default is 1000.
10th Edition : Dec.18,2003-00
D1-298 <D1.20 Totalizing Batch Set Blocks (BSETU-2, BSETU-3)>
IM 33S01B30-01E
Leak Alarm Check
Leak Check
The leak alarm check is a function that compares the integral value and the previous
integral value at the time of batch completion (saved when batch is completed) and deter-
mines whether the difference exceeds the leak setpoint value (LK).
If it is determined that the difference exceeds the leak setpoint value (LK), a leak alarm
(LEAK) occurs. Flowrate accumulation is being performed from the time the batch is
completed until the next batch starts.
Flow-Totalizing Batch Set Block (BSETU-2)
For the BSETU-2 block, the leak alarm check is performed only for an increase (the
difference is a positive number).
Weight-Totalizing Batch Set Block (BSETU-3)
For the BSETU-3 block, the leak alarm check is performed for both an increase (the
difference is a positive number) and decrease (the difference is a minus number).
However, the alarm status will be leak alarm (LEAK) whether the leak is an increase or
a decrease.
To activate the leak alarm check, set whether the leak alarm check is enabled or disabled
and the leak setpoint value (LEAK).
Leak Alarm Enabled/Disabled
The leak alarm can be set with the Function Block Detail Builder.
Leak alarm: Select from enabled and disabled
Default is disabled.
Leak Setpoint (LK)
The leak setpoint is set by the operation and monitoring function.
Leak setpoint (LK): Same unit data as SUM
Maximum 4 digits
Default is 100.
10th Edition : Dec.18,2003-00
<D1.21 Flow-Totalizing Batch Set Block (BSETU-2)> D1-299
IM 33S01B30-01E
D1.21 Flow-Totalizing Batch Set Block (BSETU-2)
The Flow-Totalizing Batch Set Block (BSETU-2) totalizes flowrate signals and out-
puts the manipulated output value in accordance with the totalized value. This block
is used for batch control, such as batch shipment control of products and batch
charge control of raw materials.
Flow-Totalizing Batch Set Block (BSETU-2)
Connection
The Flow-Totalizing Batch Set Block (BSETU-2) totalizes flowrate signals and outputs the
manipulated output value (MV) in accordance with the totalized value.
The Flow-Totalizing Batch Set Block (BSETU-2) changes the output to 0 % when the
totalized value reaches the batch setpoint.
The Flow-Totalizing Batch Set Block (BSETU-2) enables batch control, such as batch
shipment control of products and batch charge control of raw materials.
The figure below shows a function block diagram of Flow-Totalizing Batch Set Block
(BSETU-2):
INT
OUT
SW ZONE
SUM
PV
Input
processing
IN
OUT2
Batch
set pattern
MV
AUT
MAN
EMSW
D012101E.EPS
Output
processing
Figure Function Block Diagram of Flow-Totalizing Batch Set Block (BSETU-2)
10th Edition : Dec.18,2003-00
D1-300 <D1.21 Flow-Totalizing Batch Set Block (BSETU-2)>
IM 33S01B30-01E
The figure below shows an example of simple batch shipment control:
IN
BSETU-2
OUT
D012102E.EPS
Figure Example of Simple Batch Shipment Control
The figure below shows an example of batch shipment control where flow velocity is PID
controlled in combination with other function blocks:
IN
BSETU-2
OUT
SET
IN
PID
OUT
D012103E.EPS
Figure Example of Batch Shipment Control
The figure below shows an example of batch blend control:
SET
SET IN
IN
RATIO
FOUT BSETU-2
OUT
IN
PI-BLEND
OUT
OUT
SET
IN
RATIO
OUT
IN
PI-BLEND
OUT
J02
J01
D012104E.EPS
Figure Example of Batch Blend Control
10th Edition : Dec.18,2003-00
<D1.21 Flow-Totalizing Batch Set Block (BSETU-2)> D1-301
IM 33S01B30-01E
The table below shows the connection methods and connected destinations of the I/O
terminals of the Flow-Totalizing Batch Set Block (BSETU-2):
Table Connection Methods and Connected destinations of the I/O Terminals of Flow-Totalizing
Batch Set Block (BSETU-2)
I/O terminal
Connection method Connection destination
Data
reference
Data
setting
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN Measurement input
OUT Manipulated output
OUT2
Manipulated output
(*1)
INT Interlock SW output
D012105E.EPS
: Connection allowed
Blank: Connection not allowed
: Connection allowed only when connecting to a switch block (SW-33, SW-91) or inter-station data link block (ADL).
*1: The OUT2 terminal is used when connecting a 3-position ON/OFF output to switch instruments 1 and 2, for connection
to switch instrument 2.
OUT Terminal Manipulated Output
The OUT terminal outputs the manipulated output signals indicated below:
Analog output
Output to other function blocks
Contact outputs for 2-position ON/OFF output and 3-position ON/OFF output
Data setting to the 2-position ON/OFF output switch instrument
Data setting to switch instrument 1 when the 3-position ON/OFF output is connected
to switch instruments 1 and 2.
OUT2 Terminal Manipulated Output
The OUT2 terminal outputs the data set to switch instrument 2 when the 3-position ON/
OFF output is connected to switch instruments 1 and 2.
10th Edition : Dec.18,2003-00
D1-302 <D1.21 Flow-Totalizing Batch Set Block (BSETU-2)>
IM 33S01B30-01E
Function of Flow-Totalizing Batch Set Block (BSETU-2)
The BSETU-2 block performs input processing, control computation processing, output
processing, and alarm processing.
The only processing timing available for the BSETU-2 block is a periodic startup. Selec-
tions 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the functions common to the BSETU-2 and BSETU-3 blocks, see the following:
D1.20, Totalizing Batch Set Blocks (BSETU-2, BSETU-3)
For the types of input processing, output processing, and alarm processing possible for the BSETU-2
block, see the following:
D1.1.3, Input Processing, Output Processing, and Alarm Processing Possible for Each Regulatory Con-
trol Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Control Computation Processing of Flow-Totalizing Batch Set Block
(BSETU-2)
The table below shows the control computation processing functions of the Flow-Totalizing
Batch Set Block (BSETU-2).
Table Control Computation Processing Functions of Flow-Totalizing Batch Set Block (BSETU-2)
Control computation processing Description
Batch operation
Performs batch operation in accordance with the type of output (analog output, two-
position ON/OFF output or three-position ON/OFF output).
Initialization manual
Changes the block mode to IMAN to temporarily suspend the control action. This action
takes place when the initialization manual condition becomes satisfied.
MAN fallback
Changes the block mode to MAN to forcibly stop the control action. This action takes
place when the MAN fallback condition becomes satisfied. However, the emergency stop
action precedes when an input open alarm has occurred.
Block mode change interlock
Stops the control action of function blocks currently operating automatically, while
disabling the stopped function blocks from changing to the automatic operating mode.
D012106E.EPS
SEE ALSO
For details on the control computation processing of the BSETU-2 block, see the following:
D1.20.2, Control Algorithm of Totalizing Batch Set Blocks (BSETU-2, BSETU-3)
10th Edition : Dec.18,2003-00
<D1.21 Flow-Totalizing Batch Set Block (BSETU-2)> D1-303
IM 33S01B30-01E
Alarm Processing Specific to Flow-Totalizing Batch Set Block (BSETU-2)
The missing pulse alarm check and flowrate alarm check, which are two of the alarm
checks performed by the BSETU-2 block, are specific to this function block.
In addition, the BSETU-2 block uses a unique alarm display priority order, which is different
from that of other function blocks.
Missing Pulse Alarm Check
Missing Pulse
The missing pulse alarm check is a function that determines whether a pulse input for a set
duration is detected during pulse input detection.
If it is determined that when a pulse input is not detected for the set duration during pulse
input detection, a missing pulse alarm (NPLS) is generated. This check is performed during
each missing pulse check time (t3) after the missing pulse check mask interval (t2) has
elapsed and only when the control step is 1, 2, 3, 4 or 5.
The figure below illustrates the timing of the BSETU-2 block alarm check.
0
ML
PRE
MH
MV
Block
status
LO
IBCH NCNT
ZONE 1
STUP
2
t1
STDY
3
PBCH
5
END
HI/LL t1
NPLS t2
7
ERLY
4 0
EMST
8
EEMS
9
STUP
2
STDY
3
t3
t1
t1
t2
t1
t2
t3
: Alarm check period
: Flowrate check mask interval
: Missing pulse check mask interval
: Missing pulse check time
: Missing pulse check timing
LO
HI
LL
NPLS
: Low limit alarm
: High limit alarm
: Low-low limit alarm
: Missing pulse warning
D012107E.EPS
Figure Alarm Check Timing
10th Edition : Dec.18,2003-00
D1-304 <D1.21 Flow-Totalizing Batch Set Block (BSETU-2)>
IM 33S01B30-01E
To activate the missing pulse alarm, set whether the missing pulse alarm check is enabled
or disabled, the missing pulse check mask interval, and the missing pulse check time.
Missing Pulse Alarm Check Enabled/Disabled
The missing pulse alarm can be set with the Function Block Detail Builder.
Missing pulse alarm: Select from enabled and disabled
Default is enabled.
Missing Pulse Check Mask Interval
The missing pulse check mask interval can be set with the Function Block Detail Builder.
Missing pulse check mask interval: 0 to 10000
Unit is the scan period
Default is 5.
Missing Pulse Check Time
The missing pulse check time can be set with the Function Block Detail Builder.
Missing pulse check time: 0 to 10000
Unit is the scan period
Default is 1.
IMPORTANT
For KFCS2/KFCS, if a pulse input signal is sent from aremote node, missing pulse alarm
may occur due to the delay of data refresh. Thus, when setting the missing pulse check
time, the data refresh delay from remote node should be put into consideration.
Moreover, if the ER bus interface modules (EB401) of KFCS2/KFCS, or RIO bus interface
modules (RB301) of LFCS2/LFCS are dual-redundantly configured, when switching from
one module to another, the pulse input may halt for a few seconds. The missing pulse
check time can be set with the following consideration:
For RB301 (half time: 1 or 2 seconds)
Missing pulse check time should be greater than 2 divided by scan period.
(i.e.,
Missing pulse check time > 2 if scan period is 1 second;
Missing pulse check time > 4 if scan period is 500 ms;
Missing pulse check time > 10 if scan period is 200 ms)
For EB401 (half time: 2 or 3 seconds)
Missing pulse check time should be greater than 4 divided by scan period.
(i.e.,
Missing pulse check time > 4 if scan period is 1 second;
Missing pulse check time > 8 if scan period is 500 ms;
Missing pulse check time > 20 if scan period is 200 ms)
SEE ALSO
For more information about the data refresh cycle between the remote node of KFCS2/KFCS and EB401,
see the following:
Data Flow in Process I/O in C7.1.3, Timing of Process I/O
10th Edition : Dec.18,2003-00
<D1.21 Flow-Totalizing Batch Set Block (BSETU-2)> D1-305
IM 33S01B30-01E
Flowrate Alarm Check
Flow Check Mask Interval, Input Low-Low Limit Alarm, PV High/Low Limit Alarm
The flowrate checks take place upon expiration of the flowrate check masking interval (t1),
as shown in Figure below. Specify the masking interval with the Function Block Detail
Builder.
Flowrate check masking interval: 0 to 10000
(in the scan period unit)
The default is 10.
The flowrate alarm check processing timing of BSETU-2 block is shown below.
0
ML
PRE
MH
MV
Block
status
LO
IBCH NCNT
ZONE 1
STUP
2
t1
STDY
3
PBCH
5
END
HI/LL t1
7
ERLY
4 0
EMST
8
EEMS
9
STUP
2
STDY
3
t1
t1
t1
: Alarm check period
: Flowrate check masking interval
LO
HI
LL
: Low-limit alarm
: High-limit alarm
: Low-low limit alarm
D012108E.EPS
Figure Flowrate Check Processing Timing
10th Edition : Dec.18,2003-00
D1-306 <D1.21 Flow-Totalizing Batch Set Block (BSETU-2)>
IM 33S01B30-01E
The flowrate alarm check in the BSETU-2 block consists of the low-low limit check and the
high-low limit check.
Low-Low Limit Alarm
A low-low limit alarm (LL) is generated if the flowrate (PV) falls below the low-low limit alarm
setpoint (LL). This check operates in control steps 1, 2, 3, 4, and 5.
Low-Limit Alarm
A low-limit alarm (LO) is generated if the flowrate (PV) falls below the low-limit alarm
setpoint (PL). This check operates only in control step 3.
High-Limit Alarm
A high-limit alarm (HI) is generated if the flowrate (PV) exceeds the high-limit alarm setpoint
(PH). This check operates in control steps 1, 2, 3, 4, and 5.
10th Edition : Dec.18,2003-01
<D1.21 Flow-Totalizing Batch Set Block (BSETU-2)> D1-307
IM 33S01B30-01E
Alarm Display Priority of the Flow-Totalizing Batch Set Block (BSETU-2)
The following is the order for the alarm display priority specific to the BSETU-2 block:
OOP>IOP>IOP->NPLS>LL>HI>LO>LEAK>BDV+>BDV->BEND>BPRE>CNF
When there are absolutely no alarms generated, the alarm status is NR.
Table Alarm Check for the Control Steps (ZONE) of the Flow-Totalizing Batch Set Block
Alarm
ZONE
0 1 2 3 4 5 6 7 8 9 10 11
IOP
IOP-
OOP
CNF
LL - - - - - - -
HI - - - - - - -
LO - - - - - - - - - - -
BDV + - - - - - - - - - - -
BDV- - - - - - - - - - - -
LEAK - - - - - - - - - - -
NPLS - - - - - - -
BPRE
BEND
D012109E.EPS
: Alarm check is executed for the ZONE.
: Alarm check is executed only once when ZONE=7 changes to ZONE=0.
-: Alarm check is not executed for the ZONE.
The alarm is set to normal state (NR).
: Alarm check is not executed and the status prior to ZONE=0 is retained.
SEE ALSO
For information on operation of the control steps for the BSETU-2 block, see the following:
Batch Operation (Analog Output) in chapter D1.20.2, Control Algorithm of Totalizing Batch Set Block
(BSETU-2, BSETU-3)
10th Edition : Dec.18,2003-01
D1-308 <D1.21 Flow-Totalizing Batch Set Block (BSETU-2)>
IM 33S01B30-01E
Data Items - BSETU-2
Table Data Items of Flow-Totalizing Batch Set Block (BSETU-2) (1/2)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (MAN)
BSTS Block status ----- NCNT
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- 0
AF Alarm detection specification ----- 0
AOFS Alarm masking specification ----- 0
PV Flowrate process variable (*1) PV engineering unit value SL
RAW Raw input data Value in the unit at the connection destination -----
SUM Totalizer value SUM engineering unit value 0
SUM1 Cumulative totalized value Value in the same engineering unit as SUM 0
SW Command switch 0, 1, 2, 3, 4 0
MV Manipulated output value (*2) MV engineering unit value MSL
LL Low - low limit alarm setpoint SL to SH SL
PH High - limit alarm setpoint SL to SH SH
PL Low - limit alarm setpoint SL to SH SL
DL Cumulative deviation alarm setpoint Value in the same engineering unit as SUM 1000
D012110E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
*2: Entry is permitted when the block mode is MAN
SH: PV scale high limit
SL: PV scale low limit
MSL: MV scale low limit
SEE ALSO
For a list of valid block modes of the BSETU-2 block, see the following:
D1.1.4, Valid Block Modes for Each Regulatory Control Block
10th Edition : Dec.18,2003-01
<D1.21 Flow-Totalizing Batch Set Block (BSETU-2)> D1-309
IM 33S01B30-01E
Table Data Items of Flow-Totalizing Batch Set Block (BSETU-2) (2/2)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MH High flowrate setpoint MSL to MSH MSH
ML Low flowrate setpoint MSL to MSH MSL
PRE Pre-batch flowrate setpoint MSL to MSH MSL
LPV Leakage predictive value Value in the same engineering unit as SUM 0
ILST Initial forecast value Value in the same engineering unit as SUM 0
PLST Pre-batch setpoint Value in the same engineering unit as SUM 0
BSET Batch setpoint Value in the same engineering unit as SUM 0
LK Leak setpoint Value in the same engineering unit as SUM 100
TU Up time 0 to 10,000 seconds 0 second
TD Down time 0 to 10,000 seconds 0 second
TW Batch end wait time 0 to 10,000 seconds 0 second
ZONE Control step 0 to 11 0
EMSW Emergency stop switch 0, 1 0
OPHI Output high-limit index MSL to MSH MSH
OPLO Output low-limit index MSL to MSH MSL
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
SH PV scale high limit Value in the same engineering unit as PV -----
SL PV scale low limit Value in the same engineering unit as PV -----
D012111E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
SUM: Totalizer value
MSH: MV scale high limit
MSL: MV scale low limit
Block Status of Flow-Totalizing Batch Set Block (BSETU-2)
Table Block Status of Flow-Totalizing Batch Set Block (BSETU-2)
Level
Block Status
Symbol Name
STRT
IBCH
STUP
STDY
ERLY
Batch Start
Batch Initialization
Batch Setup
Ready
Early
PBCH Pre-Batch
END
1
Batch End
NCNT Batch Stopped
RSET Reset
EMST Emergency Shutdown
EEMS Emergency Shutdown Completed
RSTR Restart
D012113E.EPS
10th Edition : Dec.18,2003-01
D1-310 <D1.22 Weight-Totalizing Batch Set Block (BSETU-3)>
IM 33S01B30-01E
D1.22 Weight-Totalizing Batch Set Block (BSETU-3)
The Weight-Totalizing Batch Set Block (BSETU-3) calculates a totalized value of
changes in weight signals sent from a scale, and outputs the manipulated output
value in accordance with the totalized value. This block is used for batch control,
such as batch shipment control of products and batch charge control of raw materi-
als.
Weight-Totalizing Batch Set Block (BSETU-3)
Connection
The Weight-Totalizing Batch Set Block (BSETU-3) calculates a totalized value of changes
in weight signals sent from the scale, and outputs the specified manipulated output value in
accordance with the totalized value.
The Weight-Totalizing Batch Set Block (BSETU-3) changes the output to 0 % when the
totalized value reaches the batch setpoint.
The Weight-Totalizing Batch Set Block (BSETU-3) enables batch control, such as batch
shipment control of products and batch charge control of raw materials.
The figure below shows a function block diagram of Weight-Totalizing Batch Set Block
(BSETU-3):
INT
OUT
SW ZONE
SUM
PV
Input
processing
IN2
IN
IN3
IN4
OUT2
Batch
set pattern
MV
AUT
MAN
EMSW
SUM0
D012201E.EPS
Output
processing
Figure Function Block Diagram of Weight-Totalizing Batch Set Block (BSETU-3)
10th Edition : Dec.18,2003-00
<D1.22 Weight-Totalizing Batch Set Block (BSETU-3)> D1-311
IM 33S01B30-01E
The table below shows the connection methods and connected destinations of the I/O
terminals of the Weight-Totalizing Batch Set Block (BSETU-3):
Table Connection Methods and Connected destinations of the I/O Terminals of Weight-Totalizing
Batch Set Block (BSETU-3)
I/O terminal
Connection method Connection destination
Data
reference
Data
setting
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN Analog input
IN2 Digital input
IN3 Sign bit input
IN4 Ready bit input
OUT Manipulated output
OUT2
Manipulated output
(*1)
INT Interlock SW input
D012202E.EPS
: Connection allowed
Blank: Connection not allowed
: Connection allowed only when connecting to a switch block (SW-33, SW-91) or inter-station data link block (ADL).
*1: The OUT2 terminal is used when connecting a 3-position ON/OFF output to switch instruments 1 and 2, for connection
to switch instrument 2.
IN Terminal Analog Input
If the weight signal from a scale is a analog signal, connt the weight signal to the IN
terminal via an analog process I/O module oprocess I/O. When reading weight data from
other function blocks, also connect the weight signal to the IN terminal.
IN2 Terminal Digital Input
If the weight signal from the scale is a digital datum that satisfy the following conditions,
connect it to the IN2 terminal via a contact module of process I/O.
Also use the IN2 terminal when inputting digital data of weight signals that satisfy the above
condition, from a software I/O.
Number of bits: 32 bits or less
Code: Binary or BCD
IN3 Terminal Sign Bit Input
Connect the sign bit of weight signal digital data to the IN3 terminal.
The sign bit indicates the sign of data. The length of this bit is 1 bit. 0 and 1 indicate
positive and negative, respectively.
10th Edition : Dec.18,2003-00
D1-312 <D1.22 Weight-Totalizing Batch Set Block (BSETU-3)>
IM 33S01B30-01E
IN4 Terminal Ready Bit Input
The ready bit transmits the timing of when the weight signals sent as digital data can be
read. The length of this bit is 1 bit.
Connect the ready bit to the IN4 terminal.
Use the Function Block Detail Builder to define the control action direction of the ready bit.
Ready-bit Action Direction: Select Direct or Reverse.
The default is Direct.
The table below shows actions of the IN4 terminal ready bit input:
Action
specification
Ready bit Status
Direct action
0 Preparing data
1 Read ready
Reverse action
0 Read ready
1 Preparing data
D012203E.EPS
OUT Terminal Manipulated Output
The OUT terminal outputs the following manipulated output signals:
Analog output
Output to other function blocks
Contact output of a 2-position or 3-position ON/OFF output
Data setting of a 2-position ON/OFF output to the switch instrument
Data setting to switch instrument 1, when a 3-position ON/OFF output is connected to
switch instruments 1 and 2.
OUT2 Terminal Manipulated Output
The OUT2 terminal transmits data setting output to switch instrument 2, when a 3-position
ON/OFF output is connected to switch instruments 1 and 2.
10th Edition : Dec.18,2003-00
<D1.22 Weight-Totalizing Batch Set Block (BSETU-3)> D1-313
IM 33S01B30-01E
Function of Weight-Totalizing Batch Set Block (BSETU-3)
The BSETU-3 block performs input processing, control computation processing, output
processing, and alarm processing.
The only processing timing available for the BSETU-3 block is a periodic startup. Selec-
tions 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the functions common to the BSETU-2 and BSETU-3 blocks, see the following:
D1.20, Totalizing Batch Set Blocks (BSETU-2, BSETU-3)
For the types of input processing, output processing, and alarm processing possible for the BSETU-3
block, see the following:
D1.1.3, Input Processing, Output Processing, and Alarm Processing Possible for Each Regulatory Con-
trol Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Input Processing Specific to Weight-Totalizing Batch Set Block (BSETU-3)
The BSETU-3 block performs special input signal conversions.
Control Computation Processing of Weight-Totalizing Batch Set Block
(BSETU-3)
The table below shows the control computation processing functions of the Weight-Totaliz-
ing Batch Set Block (BSETU-3).
Table Control Computation Processing of Weight-Totalizing Batch Set Block (BSETU-3)
Control computation processing Description
Batch operation
Performs batch operation in accordance with the type of output (analog output, two-
position ON/OFF output or three-position ON/OFF output).
Initialization manual
Changes the block mode to IMAN to temporarily suspend the control action. This action
takes place when the initialization manual condition becomes satisfied.
MAN fallback
Changes the block mode to MAN to forcibly stop the control action. This action takes
place when the MAN fallback condition becomes satisfied. However, the emergency stop
action precedes when an input open alarm has occurred.
Block mode change interlock
Stops the control action of function blocks currently operating automatically, while
disabling the stopped function blocks from changing to the automatic operating mode.
D012204E.EPS
SEE ALSO
For details on the control computation processing of the weight-totalizing batch set block (BSETU-3), see
the following:
D1.20.2, Control Algorithm of Totalizing Batch Set Blocks (BSETU-2, BSETU-3)
10th Edition : Dec.18,2003-00
D1-314 <D1.22 Weight-Totalizing Batch Set Block (BSETU-3)>
IM 33S01B30-01E
Alarm Processing Specific to Weight-Totalizing Batch Set Block (BSETU-3)
The flowrate alarm check, which is one of the alarm checks performed by the BSETU-3
block, is specific to this function block.
In addition, the BSETU-3 block uses a unique alarm display priority order, which is different
from that of other function blocks.
Data Items - BSETU-3
Table Data Items of Weight-Totalizing Batch Set Block (BSETU-3) (1/2)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (MAN)
BSTS Block status ----- NCNT
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- 0
AF Alarm detection specificaton ----- 0
AOFS Alarm masking specification ----- 0
PV Flowrate process variable PV engineering unit value SL
RAW Raw input data Value in the unit at the connection destination -----
SUM Totalizer value SUM engineering unit value 0
SUM0 Absolute totalized value Value in the same engineering unit as SUM 0
SUM1 Cumulative totalized value Value in the same engineering unit as SUM 0
SW Command switch 0, 1, 2, 3, 4 0
MV Manipulated output value (*1) MV engineering unit value MSL
LL Low - low limit alarm setpoint SL to SH SL
PH High - limit alarm setpoint SL to SH SH
PL Low - limit alarm setpoint SL to SH SL
DL Cumulative deviation alarm setpoint Value in the same engineering unit as SUM 1000
D012205E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the block mode is MAN
SH: PV scale high limit
SL: PV scale low limit
MSL: MV scale low limit
SEE ALSO
For a list of valid block modes of the BSETU-3 block, see the following:
D1.1.4, Valid Block Modes for Each Regulatory Control Block
10th Edition : Dec.18,2003-00
<D1.22 Weight-Totalizing Batch Set Block (BSETU-3)> D1-315
IM 33S01B30-01E
Table Data Items of Weight-Totalizing Batch Set Block (BSETU-3) (2/2)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MH High flowrate setpoint MSL to MSH MSH
ML Low flowrate setpoint MSL to MSH MSL
PRE Pre-batch flowrate setpoint MSL to MSH MSL
LPV Leakage predictive value Value in the same engineering unit as SUM 0
ILST Initial forecast value Value in the same engineering unit as SUM 0
PLST Pre-batch setpoint Value in the same engineering unit as SUM 0
BSET Batch setpoint Value in the same engineering unit as SUM 0
LK Leak setpoint Value in the same engineering unit as SUM 100
TU Up time 0 to 10,000 seconds 0 second
TD Down time 0 to 10,000 seconds 0 second
TW Batch end wait time 0 to 10,000 seconds 0 second
ZONE Control step 0 to 11 0
EMSW Emergency stop switch 0, 1 0
OPHI Output high-limit index MSL to MSH MSH
OPLO Output low-limit index MSL to MSH MSL
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
SH PV scale high limit Value in the same engineering unit as PV -----
SL PV scale low limit Value in the same engineering unit as PV -----
D012206E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
SUM: Totalizer value
MSH: MV scale high limit
MSL: MV scale low limit
Block Status of Weight-Totalizing Batch Set Block (BSETU-3)
Table Block Status of Weight-Totalizing Batch Set Block (BSETU-3)
Level
Block Status
Symbol Name
STRT
IBCH
STUP
STDY
ERLY
Batch Start
Batch Initialization
Batch Setup
Ready
Early
PBCH
1
Pre-Batch
END Batch End
NCNT Batch Stopped
RSET Reset
EMST Emergency Shutdown
EEMS Emergency Shutdown Completed
RSTR Restart
D012207E.EPS
10th Edition : Dec.18,2003-00
D1-316 <D1.22 Weight-Totalizing Batch Set Block (BSETU-3)>
IM 33S01B30-01E
D1.22.1 Input Signal Conversion of Weight-Totalizing Batch Set
Block (BSETU-3)
Input Signal Conversion
The input signal conversion specific to the Weight-Totalizing Batch Set Block
(BSETU-3) includes three types of methods: Weight Measurement Conversion,
SUM Conversion and SUM Conversion.
Input Signal Conversion of Weight-Totalizing Batch Set Block (BSETU-3)
Shown below is the block chart for the input signal conversion of the Weight-Totalizing
Batch Set Block (BSETU-3).
Digital
filter
IN
IN2
IN3
IN4
SUM conversion
SUM0 SUM
SUM1
Measurement in the
incremental direction
SUM =
SUM0 - (zero point)
SUM
conversion
SUM
calculation
PV
CAL CAL
D012208E.EPS
SUM: integrator value SUM1: cumulative integrator value SUM0: absolute integrator value
Measurement in the
decremental direction
SUM =
(zero point) - SUM0
SUM0=
x input data
volume unit
conversion factor
Weight
measurement
conversion
Figure Block Chart for Input Signal Conversion of Weight-Totalizing Batch Set Block (BSETU-3)
As shown in above figure, the combination of input signal conversion includes the following
three types
Weight Measurement Conversion
SUM Conversion
SUM Conversion
10th Edition : Dec.18,2003-00
<D1.22 Weight-Totalizing Batch Set Block (BSETU-3)> D1-317
IM 33S01B30-01E
Weight-Totalizing Conversion
Weight-Totalizing Conversion refers to the processing in which the weight input data read
from a weighing machine are converted into the data in the same unit as the integrator
value (SUM) to obtain the absolute integrator value (SUM0).
The following is the computational expression for the absolute integrator value (SUM0):
SUM0 = quantity unit scale factor input data
Quantity Unit Scale Factor
The quantity unit scale factor is the factor used to convert the input data into the data in the
same unit as integrator value (SUM). For example, if the unit of input data is g and that of
integrator value (SUM) is kg, the quantity unit scale factor is 0.001.
The setup for quantity unit scale factor can be executed with the Function Block Detail
Builder.
Quantity unit scale factor: Within the range between 0.001 to 100000
The default setting is 1.
In the weight measurement conversion, the input data differs by the type of weight signal.
If the weight signal is an analog signal, the input data is the 0 to 100 % data read from
the connection destination.
If the weight signal is data read from the communication input, the input data is the
data after communication input conversion.
If the weight signal is a digital signal, the input data can be obtained as follows:
When the ready bit is Ready to Read, the digital data and its sign bit are read for
each scan period and converted into the same format (double-precision floating-point)
as the absolute integrator value (SUM0) to obtain the input data.
If the ready bit is Not Ready to Read, the data setting for absolute integrator value
(SUM0) is bypassed while the previous value is latched.
SEE ALSO
For more information about communication input conversion of the weight-totalizing signals, see the
following:
Communication Input Conversion in C3.1.1, Input Signal Conversions Common to Regulatory Con-
trol Blocks and Calculation Blocks
10th Edition : Dec.18,2003-00
D1-318 <D1.22 Weight-Totalizing Batch Set Block (BSETU-3)>
IM 33S01B30-01E
Code Conversion
Code conversion is a function that converts the weight signal digital data read from IN
terminal 2 to binary code data. The weight signal digital data that can be read by the
BSETU-3 block includes binary codes and binary coded decimal (BCD) codes. Specify
No when the weight signal is a binary code and BCD in the case of BCD code using the
Function Block Detail Builder, together with the number of code contacts.
Number of Code Contacts:
Set by the unit of one bit within the range between 1 to 32 bits.
The default setting is 16 bits.
Code Conversion:
Set BCD if the input signal is a binary-coded decimal code (BCD) or No if it is a
binary.
The default setting is No conversion.
Weight-Totalizing Conversion Bypass
Under the following circumstances, the weight-totalizing conversion is bypassed.
The input signal is digital type and the ready bit is in the status of Not Ready to Read.
The data status of the absolute integrator value (SUM0) is not good (BAD or IOP).
When the weight-totalizing conversion is bypassed, the absolute integrator value (SUM0) is
not to be updated, the previous good value is kept.
10th Edition : Dec.18,2003-00
<D1.22 Weight-Totalizing Batch Set Block (BSETU-3)> D1-319
IM 33S01B30-01E
SUM Conversion
Input Change Protrusion Bypass
SUM conversion refers to the processing in which the integrator value (SUM) is obtained by
totalizing the increment or decrement of the absolute integrator value (SUM0) from the
batch start.
The following is the totalization formula for measurement in the incremental or decremental
direction:
Measurement in the incremental direction: SUM=SUM0-zero point
Measurement in the decremental direction: SUM=zero point-SUM0
The zero point refers to the absolute integrator value (SUM0) when the control step is 10
(initialization processing at batch start).
If the input change exceeds the input velocity limit setting value, it is considered as an
abnormal input signal so that the integrator value data setting is not executed and the
previous value is held. The data status, however, is not invalid in this case. The input
velocity alarm bypass setting is a value indicated by the process variable change in one
scan period. The basic scan period is 1 scan per 1 second.
The weight measurement direction specification, input velocity alarm bypass specification,
and the setting value for input velocity limit can be defined on the Function Block Detail
Builder.
Weighing Direction:
Select Increase or Decrease.
The default setting is Increase.
Input Velocity Alarm Bypass:
Select Yes or No.
The default setting is No.
Setting value:
Set the value between 0 and 1000 in the same unit as SUM.
The default setting is 1000.
The cumulative integrator value (SUM1) is the accumulation of integrator values at the end
of batch. The cumulative integrator value (SUM1) is obtained at the end of each batch as
follows:
SUM1=SUM1 (cumulative integrator value kept at the end of the previous batch) +SUM
Under the following circumstances, the SUM conversion is bypassed.
The input signal is digital type and the ready bit is in the status of Not Ready to Read.
The data status of the absolute integrator value (SUM0) is not good (BAD or IOP).
When the SUM conversion is bypassed, the integrator value (SUM) is not to be updated,
the previous good value is kept.
10th Edition : Dec.18,2003-00
D1-320 <D1.22 Weight-Totalizing Batch Set Block (BSETU-3)>
IM 33S01B30-01E
SUM Conversion
Flow Time Unit
SUM conversion refers to the function in which the integrator value variation in the speci-
fied time unit is passed to the digital filter. The value variation after digital filter processing is
the flow rate (PV). The following is the computational expression for the SUM.
SUM = (process variable change of SUM in one scan period)
(scan period)
(PV time unit)
D012209E.EPS
The PV time unit and scan period in the above formula are in the unit of second.
The flow measurement time unit can be defined on the Function Block Detail Builder.
Flow Time Unit: Select Second, Minute, Hour or Day.
The default setting is Second.
e.g. Select Hour for ton/h and Minute for kg/min.
Under the following circumstances, the input signal processing is bypassed.
The input signal is digital type and the ready bit is in the status of Not Ready to Read.
The data status of the absolute integrator value (SUM0) is not good (BAD or IOP).
In these cases, the flow rate value (PV) is not to be updated, the previous good value is
kept.
10th Edition : Dec.18,2003-00
<D1.22 Weight-Totalizing Batch Set Block (BSETU-3)> D1-321
IM 33S01B30-01E
D1.22.2 Alarm Processing of Weight-Totalizing Batch Set Block
(BSETU-3)
This section describes the flowrate alarm check, which is one of the alarm checks
performed by the BSETU-3 block and is specific to this function block.
In addition, the BSETU-3 block uses a unique alarm display priority order, which is
different from that of other function blocks.
Flowrate Alarm Check
Flow Check Mask Interval, Flow Check Time Interval, Input Low-Low Limit Alarm, PV High/Low
Limit Alarm
Low-low limit and high and low-limit checks are made upon expiration of a specified period
of time, as shown in Figure below. The specified period of time is called the flowrate check
masking interval. The checks are made by comparing the SUM change (SUM) for the
flowrate check time interval with an alarm setpoint.
Specify the flowrate check masking interval and the flowrate check time interval with the
Function Block Detail Builder.
Flowrate check masking interval: 0 to 10000
(in the scan period unit)
10 is assumed by default.
Flowrate check time interval: 0 to 10000
(in the scan period unit)
1 is assumed by default.
10th Edition : Dec.18,2003-00
D1-322 <D1.22 Weight-Totalizing Batch Set Block (BSETU-3)>
IM 33S01B30-01E
The flowrate alarm check processing timing of BSETU-3 block is shown below.
0
ML
PRE
MH
MV
Block
status
LO
IBCH NCNT
ZONE 1
STUP
2
t1
STDY
3
PBCH
5
END
HI/LL t1
7
ERLY
4 0
EMST
8
EEMS
9
STUP
2
STDY
3
t1
t1
t1
t2
: Alarm check period
: Flowrate check masking interval
: Flowrate check time interval
: Check timing
LO
HI
LL
: Low-limit alarm
: High-limit alarm
: Low-low limit alarm
D012210E.EPS
t2
Figure Flowrate Check Processing Timing
10th Edition : Dec.18,2003-00
<D1.22 Weight-Totalizing Batch Set Block (BSETU-3)> D1-323
IM 33S01B30-01E
The flowrate alarm check in the BSETU-3 block consists of the low-low limit check and the
high-low limit check.
Low-Low Limit Check
A low-low limit check (LL) is generated if the value of SUM in the flow check masking
interval converted to a flow measurement falls below the low-low limit alarm setpoint (LL).
This check is operable in control steps 1, 2, 3, 4, and 5.
SUM (PV time unit)
(Flowrate check time interval) (Scan period)
D012211E.EPS
< LL LL alarm
Low-Limit Check
A low-limit alarm (LO) is generated if the value of SUM in the flow check masking interval
converted to a flow measurement falls below the low-limit alarm setpoint (PL). This check is
operable only in control step 3.
SUM (PV time unit)
(Flowrate check time interval) (Scan period)
D012212E.EPS
< PL LO alarm
High-Limit Check
A high-limit alarm (HI) is generated if the value of SUM in the flow check masking interval
converted to a flow measurement exceeds the high-limit alarm setpoint (PH). This check is
operable in control steps 1, 2, 3, 4, and 5.
SUM (PV time unit)
(Flowrate check time interval) (Scan period)
D012214E.EPS
> PH HI alarm
10th Edition : Dec.18,2003-00
D1-324 <D1.22 Weight-Totalizing Batch Set Block (BSETU-3)>
IM 33S01B30-01E
Alarm Display Priority Specific to Weight-Totalizing Batch Set Block
(BSETU-3)
The following is the order for the alarm display priority specific to the BSETU-3 block:
OOP>IOP>IOP-> LL>HI>LO>LEAK>BDV+>BDV->BEND>BPRE>CNF
When there are absolutely no alarms generated, the alarm status is NR.
Table Alarm Check for the Control Steps (ZONE) of the Weight-Totalizing Batch Set Block
Alarm
ZONE
0 1 2 3 4 5 6 7 8 9 10 11
IOP
IOP-
OOP
CNF
LL
- - - - - - -
HI
- - - - - - -
LO
- -
- - - - - - - - -
BDV +
-
- - - - - - - - - -
BDV-
-
- - - - - - - - - -
LEAK
-
- - - - - - - - - -
BPRE
BEND
D012215E.EPS
: Alarm check is executed for the ZONE.
: Alarm check is executed only once when ZONE=7 changes to ZONE=0.
-: Alarm check is not executed for the ZONE.
The alarm is set to normal state (NR).
: Alarm check is not executed and the status prior to ZONE=0 is retained.
SEE ALSO
For the operation of each control step in the BSETU-3 block, see the following:
Batch Operation (Analogue Output) in D1.20.2, Control Algorithm of Totalizing Batch Set Blocks
(BSETU-2, BSETU-3)
10th Edition : Dec.18,2003-00
<D1.23 Velocity Limiter Block (VELLIM)> D1-325
IM 33S01B30-01E
D1.23 Velocity Limiter Block (VELLIM)
The Velocity Limiter Block (VELLIM) outputs a change per unit time by limiting it
within the velocity limits. The Velocity Limiter Block may be applied to the control
process that the abrupt change need to be avoided.
Velocity Limiter Block (VELLIM)
Connection
The Velocity Limiter Block (VELLIM) performs control computation processing to the
setpoint signals from other function blocks or setpoint values set by the operator, and
outputs a change per unit time by limiting it within the velocity limits. The velocity limiting
processing is executed in the cascade (CAS) or automatic (AUT) mode.
The Velocity Limiter Block (VELLIM) reads the abruptly changing manipulated output value
(MV) of other function blocks as a cascade setpoint signal, and outputs its change per scan
period as a manipulated output value (MV) by limiting it within the velocity limits. In the
automatic (AUT) mode, the block outputs a change per scan period in the setpoint value
(SV) received from outside, such as operation and monitoring functions, as a manipulated
output value (MV) by limiting it within the velocity limits. Separate velocity limits may be set
for upward and downward directions.
The figure below shows the function block diagram of Velocity Limiter Block (VELLIM):
MV BPSW
CSV
SV
AUT/CAS
SET
OUT
Output
processing
Velocity limiting
computation
RSV
ROUT
MAN
RMV
(MV, MV)
SUB
INT
CAS
AUT
MAN
RCAS
D012301E.EPS
Figure Function Block Diagram of Velocity Limiter Block (VELLIM)
The table below shows the connection methods and connected destinations of the I/O
terminals of the Velocity Limiter Block (VELLIM):
Table Connection Methods and Connected Destinations of I/O Terminals of Velocity Limiter Block
(VELLIM):
I/O terminal
Connection method Connection destination
Data
reference
Data
setting
Terminal
connection
Process
I/O
Software
I/O
Function
block
SET Setting input
OUT Manipulated output
SUB Auxiliary output
INT Interlock SW input
D012302E.EPS
: Connection allowed
Blank: Connection not allowed
: Connection allowed only when connecting to a switch block (SW-33, SW-91) or inter-station data link block (ADL).
10th Edition : Dec.18,2003-00
D1-326 <D1.23 Velocity Limiter Block (VELLIM)>
IM 33S01B30-01E
Function of Velocity Limiter Block (VELLIM)
The VELLIM block performs control computation processing, output processing, and alarm
processing.
The only processing timing available for the VELLIM block is a periodic 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of output processing and alarm processing possible for the VELLIM block, see the follow-
ing:
D1.1.3, Input Processing, Output Processing, and Alarm Processing Possible for Each Regulatory Con-
trol Block
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Control Computation Processing of Velocity Limiter Block (VELLIM)
The table below shows the control computation processing functions of the Velocity Limiter
Block (VELLIM):
Table Control Computation Processing Functions of Velocity Limiter Block (VELLIM)
Control computation processing Description
Velocity limiting computation
Performs velocity limiting to the setpoint value (SV) and obtains a manipulated output
value (MV).
Control output action
Converts the manipulated output change (MV) during each control period to an actual
manipulated output value (MV). The control output actions available with this function
block are of positional type only.
Setpoint value limiter Limits the setpoint value (SV) within the setpoint high/low limits (SVH, SVL).
Setpoint value pushback Causes two of the three setpoint values (SV, CSV, RSV) to agree with the remaining one.
Bumpless switching
Switches the manipulated output value (MV) without causing it to change abruptly when
the block mode has been changed or when the manipulated output value (MV) has been
switched in a downstream block in cascade.
Output pushback
Performs range conversion to the manipulated output value (MV) based on the setpoint
value range, and obtains a new setpoint value. This prevents the manipulated output value
from changing abruptly.
Initialization manual
Changes the block mode to IMAN to temporarily suspend the control action. This action
takes place when the initialization manual condition becomes satisfied.
MAN fallback
Changes the block mode to MAN to forcibly stop the control action. This action takes
place when the MAN fallback condition becomes satisfied.
AUT fallback
Changes the block mode to AUT when the function block is operating in the CAS or PRD
mode, so that the control action is continued using values set by the operator. This action
takes place when the AUT fallback condition becomes satisfied.
Computer failure
Temporarily suspends the control action and switches to the computer backup mode when
an error has been detected at a supervisory computer while the function block is operating
in the RCAS or ROUT mode. This action takes place when the computer failure condition
becomes satisfied.
Block mode change interlock
Stops the control action of function blocks currently operating automatically, while
disabling the stopped function blocks from changing to the automatic operating mode.
D012303E.EPS
10th Edition : Dec.18,2003-00
<D1.23 Velocity Limiter Block (VELLIM)> D1-327
IM 33S01B30-01E
Alarm Processing Specific to Velocity Limiter Block (VELLIM)
The deviation alarm check, which is one of the alarm checks performed by the VELLIM
block, is specific to this function block.
Velocity Limiting Computation
This function executes velocity limiting computation to the setpoint value when the block
mode is automatic (AUT), cascade (CAS) or remote cascade (RCAS), and uses the com-
puted result as a manipulated output value (MV).
The velocity limiting computation action varies depending upon whether the rate of SV
change is below or on/over the velocity limits.
The figure below shows an action example of velocity limiting computation:
Time
SV
MV
Scan period
Converted downward velocity limit value (Dmm)
Scan period
SV
MV
D012304E.EPS
Converted upward velocity limit value (Dmp)
Figure Action Example of Velocity Limiting Computation
Setpoint Value (SV) Range
SV Range
Use the Function Block Detail Builder to set the setpoint value (SV) range:
SV Range High Limit Value:
Specify a numeric value of 7 digits or less, where the sign and decimal point occupy
one digit each
The default is 100.0
SV Range Low Limit Value:
Specify a numeric value of 7 digits or less, where the sign and decimal point occupy
one digit each
The default is 0.0.
When the Rate of Setpoint Value Change Is BELOW the Velocity Limits
If the rate of SV change is below the velocity limits, the SV value receives velocity limiting
processing and is converted to an MV-range value to be used as an MV.
The computational expression of this velocity limiting computation is shown below:
MVc= (SV-SSL)+MSL
MSH-MSL
SSH-SSL D012305E.EPS
MVn = MVc
MVc: Manipulated output computed value
MVn: Manipulated output current value
SSH: SV scale high limit
SSL: SV scale low limit
MSH: MV scale high limit
MSL: MV scale low limit
10th Edition : Dec.18,2003-00
D1-328 <D1.23 Velocity Limiter Block (VELLIM)>
IM 33S01B30-01E
When the Rate of Setpoint Value Change Is ON or OVER the Velocity
Limits
If the rate of SV change is on or over the velocity limits, the SV value receives velocity
limiting processing and is converted to an MV-range value to be used as a manipulated
output value. The computational expressions of this velocity limiting computation are
shown below:
MVn=MVn-1+Dmp (When MVDmp)
MVn=MVn-1+Dmp (When MV-Dmm)
MV=MVc-MVn-1
Dmp:
A per-scan rate-of-change value in the MV range, converted from the upward velocity limit
value (DMVP).
Dmp:
A per-scan rate-of-change value in the MV range, converted from the downward velocity
limit value (DMVM).
Set Parameters of Velocity Limiting Computation
The parameters of velocity limiting computation:
When 1 is set for the velocity limiting bypass switch (BPSW), the velocity limiting bypass
function is enabled. If 0 is set for the BPSW, the velocity limiting bypass function is dis-
abled.
Upward velocity limit value (DMVP) :
Set engineering unit data between 0 and the SV scale span range limit.
The default is the SV scale span.
Downward velocity limit value (DMVM):
Set engineering unit data between 0 and the SV scale span range limit.
The default is the SV scale span.
Velocity limiting time unit (TU):
Select 0 (1 second) or 1 (1 minute).
Bypass switch (BPSW):
Select 0 (limited) or 1 (not limited). The default is 0.
10th Edition : Dec.18,2003-00
<D1.23 Velocity Limiter Block (VELLIM)> D1-329
IM 33S01B30-01E
Control Output Action
The control output action converts the manipulated output change (MV) during each
control period to an actual manipulated output value (MV).
The control output action of Velocity limiter block is positional type. The result of velocity
limiting computation is output as the current manipulated output value (MV).
Setpoint Value Limiter
The setpoint value limiter function limits the setpoint value (SV) within the range between
the setpoint high limit (SVH) and setpoint low limit (SVL), and recognizes setpoint values
(SV) within this range as a valid one.
The action of the setpoint value limiter varies in accordance with the block mode of the
function block.
Setpoint Value Limiter in the Automatic (AUT) or Manual (MAN) Mode
When the block mode of the function block is automatic (AUT) or manual (MAN), in which
the user is able to set the setpoint value, the setpoint value limiter performs the following
actions in accordance with the situation:
When a value exceeding the setpoint high limit (SVH) is set as the setpoint value (SV):
An acknowledgment dialog box appears to prompt for the operators confirmation.
When confirms, the operator can set a value exceeding the setpoint high limit (SVH).
When a value below the setpoint low limit (SVL) is set as the setpoint value (SV):
An acknowledgment dialog box appears to prompt for the operators confirmation.
When confirms, the operator can set a value below the setpoint low limit (SVL).
Setpoint Value Limiter in the Remote Cascade (RCAS) Mode
When the block mode of the function block is remote cascade (RCAS) and the setpoint
value (SV) is set to automatically agree with the remote setpoint value (RSV) received from
the supervisory system computer, the setpoint value limiter performs the following actions:
Limits a value exceeding the setpoint high limit (SVH) to the setpoint high limit (SVH).
Limits a value below the setpoint low limit (SVL) to the setpoint low limit (SVL).
Set Parameters of the Setpoint Value Limiter
The parameters of the setpoint value limiter:
Setpoint high limit (SVH): Engineering unit data within the SV scale range.
The default is the scale high limit.
Setpoint low limit (SVL): Engineering unit data within the SV scale range.
The default is the scale low limit.
10th Edition : Dec.18,2003-00
D1-330 <D1.23 Velocity Limiter Block (VELLIM)>
IM 33S01B30-01E
Setpoint Value Pushback
The setpoint value pushback function sets the same value for the three types of setpoint
values (SV, CSV, RSV). The figure below explains the relationship among the setpoint value
(SV), cascade setpoint value (CSV) and remote setpoint value (RSV):
D012306E.EPS
CSV
SV
Input from the SET terminal
Control
computation
CAS
Setpoint value
AUT/MAN
RSV
Set from the supervisory computer
RCAS
Figure Relationship Among Setpoint Values (SV, CSV and RSV)
The action of the setpoint value pushback varies in accordance with the block mode of the
function block.
Action in the Automatic (AUT) or Manual (MAN) Mode
Causes the cascade setpoint value (CSV) and remote setpoint value (RSV) to agree with
the setpoint value (SV). Even when a data value is set to the setpoint value (SV) from
outside the function block, the same value is automatically set to the cascade setpoint
value (CSV) and remote setpoint value (RSV).
Action in the Cascade (CAS) Mode
Causes the setpoint value (SV) and remote setpoint value (RSV) to agree with the cascade
setpoint value (CSV).
Action in the Remote Cascade (RCAS) Mode
Causes the setpoint value (SV) and cascade setpoint value (CSV) to agree with the remote
setpoint value (RSV).
10th Edition : Dec.18,2003-00
<D1.23 Velocity Limiter Block (VELLIM)> D1-331
IM 33S01B30-01E
Bumpless Switching
Output Pushback
The bumpless switching function switches the function block mode or switches the cas-
cade connected downstream blocks manipulated output value (MV) without causing its
own manipulated output value (MV) to change abruptly (i.e., bumpless switch).
The action during bumpless switching varies with the control output action and block mode
status.
The type of bumpless switching performed by the Velocity Limiter Block (VELLIM) is out-
put pushback.
In the manual (MAN) or initialization manual (IMAN) mode, the output pushback function
sets as a setpoint value (SV), a SV-range value converted from the manipulated output
value (MV). Also, when the block mode is not remote output (ROUT) or off-service (O/S),
the remote manipulated output value (RMV) is caused to track the manipulated output
value (MV). The figure below shows the action of output pushback:
MV BPSW
CSV
SV
AUT/CAS
OUT
Output
processing
Velocity
limiting
RMV
RSV
ROUT
MAN
Output pushback
CAS
AUT
MAN
RCAS
D012307E.EPS
Figure Output Pushback
Use the Function Block Detail Builder to set the output pushback.
Output pushback: Select Yes or No.
The default is Yes.
10th Edition : Dec.18,2003-00
D1-332 <D1.23 Velocity Limiter Block (VELLIM)>
IM 33S01B30-01E
Using the output pushback function enables a balanceless bumpless switching of block
modes from manual (MAN) to automatic (AUT).
The following figure shows an example of bumpless cascade closing in a control loop:
PV
SV
PID
MV
SV
VELLIM
MV
PV
PID
MV
AUT/MAN
MAN
CAS
D012308E.EPS
Output tracking
Output tracking
Output pushback
Figure Output Pushback and Output Tracking When Cascade Is Open
1. When cascade connection is open, the output tracking function causes the manipu-
lated output value (MV) to track data of the output destination.
2. When cascade connection is closed, the output pushback function performs range
conversion to the manipulated output value (MV) and sets the result as the setpoint
value (SV).
3. The output value tracking function of the upstream block causes the output value of
the upstream function block to track the setpoint value (SV).
In this control loop, when cascade is closed the input value from the upstream function
block will agree with the data value at the output destination of the Velocity limiter block.
Therefore, output will not bump when cascade connection is closed.
10th Edition : Dec.18,2003-00
<D1.23 Velocity Limiter Block (VELLIM)> D1-333
IM 33S01B30-01E
Initialization Manual
The initialization manual is an error processing function that suspends the control action
temporarily by changing the block mode to initialization manual (IMAN). This action takes
place when the initialization manual condition is established.
Characteristics of the Initialization Manual
The initialization manual function suspends the control action and control output action
temporarily during the automatic (AUT) mode or other automatic control operation mode
when the initialization manual condition is established, and changes the block mode of the
function block to initialization manual (IMAN).
Because the initialization manual action causes the manipulated output value (MV) to track
the value at the connected destination, even when the initialization manual (IMAN) mode is
changed to manual (MAN), the initialization manual (IMAN) mode will override the manual
(MAN) mode. In other words, any operation to change to the manual (MAN) mode be-
comes invalid.
The block returns to the original mode as soon as the initialization manual condition van-
ishes. However, if try to change block mode in the initialization manual (IMAN) mode, the
block only change to that mode when the initialization condition vanishes.
Initialization Manual Condition
The initialization manual condition is a block mode transition condition that suspends the
control action and control output action temporarily by changing the block mode to initializa-
tion manual (IMAN). The initialization manual (IMAN) block mode becomes active only
when the initialization manual condition is established.
The following example shows when the initialization manual condition establishes and
vanishes:
AUT
Initialization manual condition establishes
IMAN (AUT)
Initialization manual condition vanishes
AUT
The initialization manual condition is established in the following situation:
When the data status at the connected destination of the manipulated output value
(MV) is conditional (CND) (i.e., the cascade connection is open).
When the data status at the connected destination of the manipulated output value
(MV) is a communication error (NCOM) or output failure (PTPF).
When the connected destination of the manipulated output value (MV) is a switch
block (SW-33, SW-91) and cascade connection is switched is off (i.e., the cascade
connection is open).
When the connected destination of the manipulated output value (MV) is a process
output and a failure or output open alarm is detected in the process output.
10th Edition : Dec.18,2003-00
D1-334 <D1.23 Velocity Limiter Block (VELLIM)>
IM 33S01B30-01E
MAN Fallback
The MAN fallback is an error processing function that stops the control and forces the
function block to enter manual operation state. This action takes place when the MAN
fallback condition is established.
Characteristics of the Man Fallback
The MAN fallback stops the control by changing the block to manual (MAN) mode regard-
less of the current operation status, and forces the function block to enter manual operation
state.
Once the MAN fallback condition is established, the block mode remains manual (MAN)
even when the condition later vanishes.
MAN Fallback Condition
The MAN fallback condition is used to stop the control by changing the function block to
manual (MAN) mode regardless of the current operation status, and forces the function
block to enter manual operation state. When the MAN fallback condition is established, it
indicates that a fatal error has occurred and requests operator interruption.
The following example shows when the MAN fallback condition is established and van-
ished:
AUTMAN
IMAN (CAS)IMAN (MAN)
The MAN fallback condition is established in the following situation:
When the data status of the manipulated output value (MV) is output failure (PTPF).
When the data status of the setpoint value (SV) is invalid (BAD).
When the manipulated output value (MV) is connected to a process I/O and the FCS
is having an initial cold start.
When the block mode change interlock condition is established.
When the manipulated output value (MV) is connected to a process I/O, and one of
the I/O points connected to the I/O module has been changed via maintenance.
10th Edition : Dec.18,2003-00
<D1.23 Velocity Limiter Block (VELLIM)> D1-335
IM 33S01B30-01E
AUT Fallback
The AUT fallback is an error processing function that switches the block mode from cas-
cade (CAS) to automatic (AUT) when the AUT fallback condition is established, and
switches the control action to the one that uses values set by the operator.
Characteristics of the AUT Fallback
Changes the block mode from cascade (CAS) to automatic (AUT) to continue control using
values set by the operator.
Once the AUT fallback condition establishes, the block mode remains automatic (AUT)
even when the condition vanishes.
AUT Fallback Condition
The AUT fallback condition is used to change the block mode of the function block from
cascade (CAS) to automatic (AUT) so that control can be continued using values set by the
operator. When this condition is established, it indicates that abnormality has been de-
tected in the cascade setpoint value for some reason.
The following example shows when the initialization manual condition establishes and
vanishes:
CASAUT
IMAN (CAS)IMAN (AUT)
Use the Function Block Detail Builder to set whether or not to use the AUT fallback.
AUT Fallback: Select Yes or No.
The default is No.
The AUT fallback condition is established when the AUT fallback is set as Yes via the
Function Block Detail Builder and the data status of the cascade setpoint value (CSV) has
become invalid (BAD) or communication error (NCOM).
10th Edition : Dec.18,2003-00
D1-336 <D1.23 Velocity Limiter Block (VELLIM)>
IM 33S01B30-01E
Computer Fail
When the computer fail is detected, the function block suspends the action in the remote
cascade (RCAS) mode or remote output (ROUT) mode temporarily and switches to the
computer backup mode.
Characteristics of Computer Fail
When the function block mode is remote cascade (RCAS) or remote output (ROUT), the
function block receives the setpoint value (SV) or manipulated output value (MV) from a
supervisory system computer via control bus communication.
When the computer fails, the block changes mode to the preset computer backup mode
(MAN, AUT or CAS) which indicates that an abnormality has been detected in the supervi-
sory computer. When the computer recovers, the block returns to the mode before the
change.
The following actions take place while the computer fail condition exists, the block mode
change command from MAN, AUT or CAS to RCAS or ROUT is sent:
1. When a block mode change command from MAN, AUT or PRD to RCAS or ROUT is
sent while the computer fails (BSW=ON), the function block does not switch to the
computer backup mode directly but switches to the transient state mode first.
The transient state mode is a compound block mode consisting of the block mode
before the execution of the block mode change command (MAN, AUT, CAS) and a
remote mode (RCAS, ROUT).
2. Then the function block tests the computer condition in the first scan after the block
mode change command and switches to the computer backup mode.
The computer backup mode is a compound block mode consisting of the backup
mode set via the Function Block Detail Builder (MAN, AUT, CAS) and a remote mode
(RCAS, ROUT).
3. If the computer recovers while the function block is in the computer backup mode, the
block mode changes to remote cascade (RCAS) or remote output (ROUT).
10th Edition : Dec.18,2003-00
<D1.23 Velocity Limiter Block (VELLIM)> D1-337
IM 33S01B30-01E
Computer Fail Condition
The computer fail condition is a block-mode transition condition used to suspend actions in
the remote cascade (RCAS) or remote output (ROUT) mode and switches the mode to the
computer backup mode.
A backup switch (BSW) is provided in function blocks to define the remote cascade (RCAS)
or remote output (ROUT) mode. The status of this switch determines whether the computer
has failed or recovered. The value of the backup switch (BSW) can be set from a sequence
table or other function blocks.
Switching to a computer backup mode does not take effect if the backup switch (BSW) is
on a block mode other than remote cascade (RCAS) or remote output (ROUT).
When the backup switch BSW=ON, computer has failed
When the backup switch BSW=OFF, computer has recovered
The following example shows when the automatic (AUT) mode has been specified for the
computer backup mode:
RCAS
Computer fails
AUT (RCAS)
Computer recovers
RCAS
An example when the manual (MAN) mode has been specified for the computer backup
mode is shown as follows:
AUT
ROUT command
AUT (ROUT) Transient state mode
After one scan period
MAN (ROUT) Computer backup mode (When BSW=ON)
Setting Computer Backup Mode
Use the Function Block Detail Builder to define the computer backup mode for each func-
tion block.
Computer Backup Mode:
Select MAN, AUT or CAS as the mode to be switched to when the computer
becomes down.
The default is MAN.
10th Edition : Dec.18,2003-00
D1-338 <D1.23 Velocity Limiter Block (VELLIM)>
IM 33S01B30-01E
Block Mode Change Interlock
The block mode change interlock function stops the control computation processing of
function blocks that are operating automatically, while disabling the currently stopped
function blocks from changing to an automatic operation state. This action takes place
when the block mode change interlock condition is established.
Characteristics of the Block Mode Change Interlock
Stops the control computation processing of the function blocks that are operating auto-
matically, and disables the currently stopped function blocks from changing to an automatic
operation state. The following actions will take place:
The block mode changes to manual (MAN).
Any block mode change command to obtain an automatic operation state (AUT, CAS,
RCAS or ROUT mode) becomes invalid.
Block Mode Change Interlock Condition
The Block mode change interlock condition is established when the switch at the con-
nected destination of the interlock switch input terminal (INT) is turned ON. This switch is
manipulated in the process control sequence and the switch is turned on when the se-
quence judge that the loop can not run in Auto mode, or etc.,.
10th Edition : Dec.18,2003-00
<D1.23 Velocity Limiter Block (VELLIM)> D1-339
IM 33S01B30-01E
Deviation Alarm Check
Deviation Alarm
The deviation alarm check in the VELLIM block is applicable to the deviation (DV) between
the manipulated output value (MV) converted to a value in the setpoint (SV) range and the
setpoint value (SV).
When the absolute value of the deviation (DV) exceeds the absolute value of the deviation
alarm setpoint (DL), either a positive direction deviation alarm (DV+) or a negative direction
deviation alarm (DV-) is generated. When an alarm has occurred, if the deviation (DV)
absolute value drops lower than the absolute value of the deviation alarm setpoint (DL)
minus the hysteresis value (HYS), the alarm is returned to normal state.
There is no deviation check filter function in the VELLIM block deviation alarm check.
The deviation (DV) that is subject to the deviation alarm check of the VELLIM block is
expressed in the following format.
DV=MVs-SV
MVS = (MVMSL)SSL
SSHSSL
MSHMSL D012309E.EPS
MVs: Manipulated output value (MV) after conversion to the SV range
SSH: SV scale high limit
SSL: SV scale low limit
MSH: MV scale high limit
MSL: MV scale low limit
When the deviation (DV) absolute value exceeds the absolute value of the deviation alarm
setpoint (DL) and the deviation is for the positive direction, a positive direction deviation
alarm (DV+) occurs. If the deviation is for the minus direction, a negative direction deviation
alarm (DV-) occurs. When an alarm has occurred, if the deviation (DV) absolute value
drops lower than the absolute value of the deviation alarm setpoint (DL) minus the hyster-
esis value (HYS), there is a recovery from the alarm.
Further, when the same value as for the SV scale span (positive value) is set in the devia-
tion alarm setpoint (DL), neither a positive direction nor negative direction deviation alarm
occurs regardless of the deviation alarm check.
D012310E.EPS
HYS
HYS
DL
DL
DV+
DV-
Time
DV
0
Conditions causing an alarm
DVDL
DVDL
Conditions causing recovery from alarm
DVDLHYS
DVDLHYS
Figure Actions of Deviation Alarm Check in the Velocity Limiter Block (VELLIM)
10th Edition : Dec.18,2003-00
D1-340 <D1.23 Velocity Limiter Block (VELLIM)>
IM 33S01B30-01E
Deviation Alarm Check Settings
The type of deviation alarm check, deviation alarm setpoint (DL), and alarm hysteresis
value can be set.
The type of deviation alarm check is defined by the deviation alarm check item in the
Function Block Detail Builder. The types of deviation alarm checks are given below. The
default is detection of both directions.
Detection of both directions:
Monitors the deviation of both the positive and negative directions
Detection of single direction:
Monitors the deviation of either the positive or negative direction only
No alarm:
No detection is performed
When single direction is selected for the deviation alarm check type, only the deviation in
the positive direction is monitored when the deviation alarm setpoint (DL) has a plus sign,
and only the deviation in the negative direction is monitored when the deviation alarm
setpoint has a minus sign.
Setting of the deviation alarm check type can be performed in the sequence control block
or CALCU, CALCU-C blocks in addition to the Function Block Detail Builder.
The deviation alarm setpoint (DL) is set by the operation and monitoring function.
Deviation alarm setpoint (DL):
Engineering unit data within the SV scale span range
Default is SV scale span.
When single direction is selected for the deviation alarm check type, add the sign (+ or -) for
the direction to be detected to the deviation alarm setpoint (DL) engineering unit data.
Setting for the alarm hysteresis value is done by the Function Block Detail Builder for each
regulatory control block.
Hysteresis:
Engineering unit data within the range of 0 to SV scale span, or percentage data for
the SV scale span
When specifying percentage data, add % after the numeric value.
The default is 1.0 %.
10th Edition : Dec.18,2003-00
<D1.23 Velocity Limiter Block (VELLIM)> D1-341
IM 33S01B30-01E
Data Items - VELLIM
Table Data Items of Velocity Limiter Block (VELLIM)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S(MAN)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
SV Setpoint value (*1) SV engineering unit value -----
CSV Cascade setpoint value Value in the same engineering unit as SV -----
RSV Remote setpoint value (*3) Value in the same engineering unit as SV -----
DV Deviation Value in the same engineering unit as SV -----
MV Manipulated output value (*2) MV engineering unit value -----
RMV Remote manipulated output value (*4) Value in the same engineering unit as MV -----
DL Deviaton alarm setpoint (SSH - SSL) SSH-SSL
MH Manipulated variable high - limit setpoint MSL to MSH MSH
ML Manipulated variable low - limit setpoint MSL to MSH MSL
SVH Setpoint high limit SSL to SSH SSH
SVL Setpoint low limit SSL to SSH SSL
DMVP Upward velocity limit value 0 to (MSH - MSL) MSH-MSL
DMVM Downward velocity limit value 0 to (MSH - MSL) MSH-MSL
PMV Preset manipulated output value MSL to MSH MSL
TU Velocity limit timer unit 0 (second) or 1 (minute) 0
BPSW Velocity limit bypass switch 0, 1 0
PSW Preset MV switch 0, 1, 2, 3 0
BSW Backup switch 0, 1 0
OPHI Output high-limit index MSL to MSH MSH
OPLO Output low-limit index MSL to MSH MSL
OPMK Operation mark 0 ~ 255 0
UAID User application ID ----- 0
D012311E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
*2: Entry is permitted when the block mode is MAN
*3: Entry is permitted when the block mode is RCAS
*4: Entry is permitted when the block mode is ROUT
SSH: SV scale high limit
SSL: SV scale low limit
MSH: MV scale high limit
MSL: MV scale low limit
SEE ALSO
For a list of valid block modes of the VELLIM block, see the following:
D1.1.4, Valid Block Modes for Each Regulatory Control Block
10th Edition : Dec.18,2003-00
D1-342 <D1.24 Signal Selector Blocks (SS-H/M/L)>
IM 33S01B30-01E
D1.24 Signal Selector Blocks (SS-H/M/L)
The Signal Selector Blocks (SS-H/M/L) compares the value of the signals from
multiple inputs, then selects 1 signal (PV) as output. This block may be applied to
the signal selection loop.
Signal Selector Blocks (SS-H/M/L)
Connection, Constant Input
The Signal Selector Blocks (SS-H/M/L) compare the signals from 2-position input or 3-
position input, then selects the maximum, minimum or medium value signal (PV) as output.
The selection may be operated manually.
The figure below shows the function block diagram of Signal Selector Blocks (SS-H/M/L):
IN1
IN2
IN3
OUT RV1 PV
SEL SW
RV2
RV3
Automatic
signal
selection
1
2
0
3
4
D012401E.EPS
Selected
number
Figure Function Block Diagram of Signal Selector Blocks (SS-H/M/L)
The Signal Selector Blocks (SS-H/M/L) are classified into three types according to the
automatic selection rule used:
Table Types of Signal Selector Blocks (SS-H/M/L)
Code Automatic selection rule
SS-H Selects the maximum value (high selector)
SS-M Selects the medium value
SS-L Selects the minimum value (low selector)
D012402E.EPS
10th Edition : Dec.18,2003-00
<D1.24 Signal Selector Blocks (SS-H/M/L)> D1-343
IM 33S01B30-01E
The table below shows the connection methods and connected destinations of the I/O
terminals of the Signal Selector Blocks (SS-H/M/L):
Table Connection Methods and Connected destinations of the I/O Terminals of Signal Selector
Blocks (SS-H/M/L)
I/O terminal
Connection method Connection destination
Data
reference
Data
setting
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN1 Signal input 1
IN2 Signal input 2
IN3 Signal input 3
OUT Manipulated output
D012403E.EPS
: Connection allowed
Blank: Connection not allowed
: Connection allowed only when connecting to a switch block (SW-33, SW-91) or inter-station data link block (ADL).
The methods used by the Signal Selector Blocks (SS-H/M/L) to obtain input signals (RV1 to
RV3) include two connection input types and one constant input type.
The terminal connection input methods include:
Data reference to other function block via data reference connection from the input
connection terminals.
Data setting from other function block via terminal connection to the input connection
terminals.
The constant input method does not involve connection to the input connection terminals.
Instead, the signal input value (RVn) set from operation and monitoring functions is used as
a constant.
Use the Function Block Detail Builder to define whether connection input or constant
input is used for each input signal. The input signals (RVn) for which connection input is
specified but no connection has been made, will not be regarded as signal selection targets
of the Signal selector blocks.
Input Signal n: Select Constant Input or Connection Input.
The default is Connection Input.
10th Edition : Dec.18,2003-00
D1-344 <D1.24 Signal Selector Blocks (SS-H/M/L)>
IM 33S01B30-01E
Functions of Signal Selector Blocks (SS-H/M/L)
The SS-H/M/L blocks perform control computation processing, output processing, and
alarm processing.
The only processing timing available for the SS-H/M/L blocks is a periodic startup. Selec-
tions 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of output processing and alarm processing possible for the SS-H/M/L blocks, see the fol-
lowing:
D1.1.3, Input Processing, Output Processing, and Alarm Processing Possible for Each Regulatory Con-
trol Block
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Control Computation Processing of Signal Selector Blocks
(SS-H/M/L)
The table below shows the control computation processing functions of the Signal selector
blocks (SS-H/M/L):
Table Control Computation Processing Functions of Signal Selector Blocks (SS-H/M/L)
Control computation processing Description
Signal selection
Compares the sizes of three input signal values (RV1, RV2, RV3) and selects the one that
satisfies the condition set by the signal selection switch.
PV pushback Causes the non-selected input signal values to agree with the selected signal value (PV).
D012404E.EPS
10th Edition : Dec.18,2003-00
<D1.24 Signal Selector Blocks (SS-H/M/L)> D1-345
IM 33S01B30-01E
Signal Selection
The signal selection function selects one signal from multiple input signals. The signal to be
selected varies depending upon the type of the Signal Selector Blocks (SS-H/M/L) and
value of the signal selection switch (SW).
Function of the Signal Selection Switch (SW)
The table below shows the signal selection switch positions and corresponding actions:
Table Signal Selection Switch Positions and Corresponding Actions
Switch position (SW) Action
0 Holds the selected signal value (PV).
1 Selects input signal 1
2 Selects input signal 2
3 Selects input signal 3
4 Selects the result of signal-size comparison (automatic selection).
D012405E.EPS
When the signal selection switch (SW) is set to automatic selection (SW=4)
The values of input signals (RV1 to RV3) are compared. The SS-H, SS-L and SS-M
blocks select the maximum, minimum or medium value, respectively as a selected
signal value (PV).
When the SW is set to 1 to 3
The input signal (RV [SV]) that corresponds to each SW value is selected uncondition-
ally.
When the SW is set to 0
Signal selection is not performed, but the previously selected signal value (PV) is held
and output.
The automatic selection rule to be used is determined by the code of the function block.
If automatic selection is performed and one of the input signals has an invalid (BAD) data
status, the maximum or minimum value will be selected from the data excluding the invalid
signal. If two input signals are invalid (BAD), the remaining non-invalid input signal (RVn) is
selected.
The table below shows invalid input signals and corresponding actions when selecting the
medium value:
Table Invalid Input Signals and Corresponding Actions When Selecting the Medium Value
Input signal with BAD data status Action
RV1 RV2 is selected.
RV2 RV1 is selected.
RV3 RV2 is selected.
Any two signals RVn that is not BAD is selected.
All signals BAD The previously selected value is stored and the SW is set to 0.
D012406E.EPS
10th Edition : Dec.18,2003-00
D1-346 <D1.24 Signal Selector Blocks (SS-H/M/L)>
IM 33S01B30-01E
The rules of determining the data status of the selected signal value (PV) are shown below:
When SW=0
The status of the previous value is stored.
When SW=1 to 3
The status of the selected signal value (PV) is determined based on the status of the
currently selected input signal.
When SW=4
The status of the selected signal value (PV) is determined based on the status of the
currently selected input signal. If all input signals have invalid (BAD) data status, the
data status of the previous value is stored.
Display of Selected Number (SEL)
Whether it is performed automatically or manually, the signal selection action displays the
number of the currently selected input signal (1, 2 or 3) as a selected number (SEL). If the
signal selection switch position is 0 and no signal is selected, SEL becomes 0.
Change in Selected Signal Value (PV)
When the signal selection switch position is 0, the selected signal value (PV) can be set
from operation and monitoring functions or other function block.
Set Parameters of Signal Selection
The parameters of signal selection:
If the signal selection switch position is set above the switch high limit setpoint (SWH) or
below the switch low limit setpoint (SWL) via operation from operation and monitoring
functions, an acknowledgment dialog box appears to prompt for the operators confirma-
tion. When confirms, the switch position can be set outside the high/low limit setpoint
range.
Switch high limit setpoint (SWH): Select 0, 1, 2, 3 or 4.
The default is 4.
Switch low limit setpoint (SWL): Select 0, 1, 2, 3 or 4.
The default is 0.
10th Edition : Dec.18,2003-00
<D1.24 Signal Selector Blocks (SS-H/M/L)> D1-347
IM 33S01B30-01E
PV Pushback
The PV pushback function causes the non-selected input signal values (RV1 to RV3) to
agree with the selected signal value (PV).
The PV pushback action targets the input signal values that are obtained via terminal
connection to the input terminals. The PV pushback action is not performed to the input
signal values which are received via data reference or for which constant input is speci-
fied.
The figure below shows the action of PV pushback:
PV pushback
D012407E.EPS
IN1
IN2
IN3
OUT RV1 PV
SEL SW
RV2
RV3
Automatic
signal
selection
1
2
0
3
4
Selected
number
Figure PV Pushback
An abrupt change in the selected signal value (PV) upon switching of the selection switch,
may have a negative impact on the process. Preventing this abrupt change in the selected
signal value (PV) is called, bumpless switching.
Combining the PV pushback function with the output tracking function of the input con-
nected destination function block enables the signal selection switch position to be
changed bumplessly. The following example shows a control loop where the signal selec-
tion switch position is changed bumplessly.
PV
RATIO
MV
SS-H
PV
D012408E.EPS
Output tracking
PV pushback
Figure PV Pushback and Output Tracking
1. The PV pushback function sets the selected signal value (PV) to the non-selected
input signals (RV1 to RV3).
2. The output value tracking functions of the upstream function blocks connected to the
IN1 to IN3 terminals cause the output values of the upstream function blocks to track
the values of input signals (RV1 to RV3).
10th Edition : Dec.18,2003-00
D1-348 <D1.24 Signal Selector Blocks (SS-H/M/L)>
IM 33S01B30-01E
Data Items
Table Data Items of Signal Selector Blocks (SS-H/M/L)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S(AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- 0
AF Alarm detection specification ----- 0
AOFS Alarm masking specification ----- 0
PV Selected signal value (*1) PV engineering unit value SL
SW Signal selection switch 0, 1, 2, 3, 4 0
SEL Selected number 0, 1, 2, 3 0
RV1 Input signal value 1 (*2) Value in the same engineering unit as PV SL
RV2 Input signal value 2 (*2) Value in the same engineering unit as PV SL
RV3 Input signal value 3 (*2) Value in the same engineering unit as PV SL
SWH Switch high limit setpoint 0 to 4 4
SWL Switch low limit setpoint 0 to 4 0
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
SH PV scale high limit Value in the same engineering unit as PV -----
SL PV scale low limit Value in the same engineering unit as PV -----
D012409E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
*2: Entry is permitted if Constant input is specified
SEE ALSO
For a list of valid block modes of the SS-H/M/L blocks, see the following:
D1.1.4, Valid Block Modes for Each Regulatory Control Block
10th Edition : Dec.18,2003-00
<D1.25 Auto-Selector Blocks (AS-H/M/L)> D1-349
IM 33S01B30-01E
D1.25 Auto-Selector Blocks (AS-H/M/L)
The Auto-Selector Blocks (AS-H/M/L) compare signals from 2-position or 3-position
input from 2 or 3 controller blocks and automatically select one signal as manipu-
lated output value (MV). Auto-selector blocks may be applied to the override control
loops for signal selection.
Auto-Selector Blocks (AS-H/M/L)
Connection, Constant Input
The Signal Selector Blocks (SS-H/M/L) compare the signals from 2-position input or 3-position
input, then selects the maximum, minimum or medium value signal (PV) as output. The selec-
tion may be operated manually.
The figure below shows the function block diagram of Signal Selector Blocks (SS-H/M/L):
An auto-selector control system can be configured by combining an Auto-Selector Blocks (AS-
H/M/L) and 2 to 3 controller blocks. In other words, final control elements of a single loop
can be controlled in such a way that 2 to 3 variables are monitored and maintained on the
safe side of their presetpoint values using a signal selector unit; whereas, in a normal case
the final elements are controlled based on a single variable.
The figure below shows a function block diagram of the Auto-Selector Blocks (AS-H/M/L):
INT
OUT MV
AUT
MAN
Output
processing
D012501E.EPS
IN1
IN2
IN3
RV1 PV
SEL SW
RV2
RV3
Automatic
signal
selection
1
2
0
3
4
Selected
number
Figure Function Block Diagram of Auto-Selector Blocks (AS-H/M/L)
The Auto-Selector Blocks (AS-H/M/L) are classified into three types according to the
automatic selection rule used:
Table Types of Auto-Selector Blocks (AS-H/M/L)
Code Automatic selection rule
AS-H Selects the maximum value (high selector)
AS-M Selects the medium value
AS-L Selects the minimum value (low selector)
D012502E.EPS
10th Edition : Dec.18,2003-00
D1-350 <D1.25 Auto-Selector Blocks (AS-H/M/L)>
IM 33S01B30-01E
The table below shows the connection methods and connected destinations of the I/O
terminals of the Auto-Selector Blocks (AS-H/M/L):
Table Connection Methods and Connected destinations of the I/O Terminals of Auto-Selector
Blocks (AS-H/M/L)
I/O terminal
Connection method Connection destination
Data
reference
Data
setting
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN1 Signal input 1
IN2 Signal input 2
IN3 Signal input 3
OUT Manipulated output
INT Interlock SW input
D012503E.EPS
: Connection allowed
Blank: Connection not allowed
: Connection allowed only when connecting to a switch block (SW-33, SW-91) or an inter-station data link block (ADL).
The methods used by the Auto-Selector Blocks (AS-H/M/L) to obtain input signals 1 to 3
(RV1 to RV3) include two connection input types and one constant input type.
The connection input methods include the following:
Data reference to other function block via data reference connection from the input
connection terminals
Data setting from other function block via terminal connection to the input connection
terminals
The constant input method does not involve connection to the input connection terminals.
Instead, the signal input value (RVn) set from operation and monitoring functions is used as
a constant.
Use the Function Block Detail Builder to define whether connection input or constant
input is used for each input signal. The input signals (RVn) for which connection input is
specified but no connection has been made, will not be regarded as signal selection targets
of the Auto-selector blocks.
Input Signal: Select Constant Input or Connection Input.
The default is Connection Input.
IMPORTANT
When a controller block is terminal connected to the INx terminal of an Auto-selector blocks
(AS-H/M/L), be sure to specify positional type for the control output action of the controller
block.
10th Edition : Dec.18,2003-00
<D1.25 Auto-Selector Blocks (AS-H/M/L)> D1-351
IM 33S01B30-01E
Functions of Auto-Selector Blocks (AS-H/M/L)
The AS-H/M/L blocks perform control computation processing, output processing, and
alarm processing.
The only processing timing available for the AS-H/M/L blocks is a periodic startup. Selec-
tions 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of output processing and alarm processing possible for the AS-H/M/L blocks, see the fol-
lowing:
D1.1.3, Input Processing, Output Processing, and Alarm Processing Possible for Each Regulatory Con-
trol Block
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Control Computation Processing of Auto-Selector Blocks (AS-H/M/L)
The table below shows the control computation processing functions of the Auto-Selector
blocks (AS-H/M/L):
Table Control Computation Processing Functions of Auto-Selector Blocks (AS-H/M/L)
Control computation processing Description
Signal selection
Compares the sizes of three input signal values (RV1, RV2, RV3) and selects one input
signal that satisfies the condition set by the signal selection switch.
Automatic control output
computation
Performs range conversion to the selected signal value (PV) to obtain a manipulate output
value (MV).
Control output action
Converts the manipulated output change (MV) during each control period to an actual
manipulated output value (MV). The control output actions available with this function
block are of positional type only.
Bumpless switching
Switches the manipulated output value (MV) without causing it to change abruptly when
the block mode has been changed or when the manipulated output value (MV) has been
switched in a downstream block in cascade.
Output pushback
Causes the input signal values (RV1, RV2, RV3) to agree with the manipulated output
value (MV) to prevent the manipulated output value (MV) from changing abruptly.
Initialization manual
Changes the block mode to IMAN to temporarily suspend the control action. This action
takes place when the initialization manual condition becomes satisfied.
MAN fallback
Changes the block mode to MAN to forcibly stop the control action. This action takes
place when the MAN fallback condition becomes satisfied.
Block mode change interlock
Stops the control action of function blocks currently operating automatically, while
disabling the stopped function blocks from changing to the automatic operating mode.
D012504E.EPS
10th Edition : Dec.18,2003-00
D1-352 <D1.25 Auto-Selector Blocks (AS-H/M/L)>
IM 33S01B30-01E
Signal Selection
The signal selection function selects one signal from multiple input signals. The signal to be
selected varies depending upon the type of the Auto-Selector Blocks (AS-H/M/L) and value
of the signal selection switch (SW).
The Auto-Selector Blocks (AS-H/M/L) do not output the selected signal value (PV) if the
block mode is manual (MAN) or initialization manual (IMAN). However, as the signal
selection function remains active, the selected number (SEL) and selected signal value
(PV) are updated constantly.
Function of the Signal Selection Switch (SW)
The table below shows the signal selection switch positions and corresponding actions:
Table Signal Selection Switch Positions and Corresponding Actions
Switch position (SW) Action
0 Holds the selected signal value (PV).
1 Selects input signal 1
2 Selects input signal 2
3 Selects input signal 3
4 Selects the result of signal-size comparison (automatic selection).
D012505E.EPS
When the signal selection switch (SW) is set to automatic selection (SW=4)
The values of input signals (RV1 to RV3) are compared. The SS-H, SS-L and SS-M
blocks select the maximum, minimum or medium values, respectively as the selected
signal value (PV).
When the SW is set to 1 to 3
The input signal (RV [SV]) that corresponds to each SW value is selected uncondition-
ally.
When the SW is set to 0
Signal selection is not performed, but the previously selected signal value (PV) is held
and output.
The automatic selection rule to be used is determined by the code of the function block.
If automatic selection is performed and one of the input signals has an invalid (BAD) data
status, the maximum or minimum value will be selected from the data excluding the invalid
signal. If two input signals have invalid (BAD) data value, the remaining non-invalid input
signal (RVn) is selected.
The table below shows invalid input signals and corresponding actions when selecting the
medium value:
Table Invalid Input Signals and Corresponding Actions When Selecting the Medium Value
Input signal with BAD data status Action
RV1 RV2 is selected.
RV2 RV1 is selected.
RV3 RV2 is selected.
Any two signals RVn that is not BAD is selected.
All signals BAD The previously selected value is stored and the SW is set to 0.
D012506E.EPS
10th Edition : Dec.18,2003-00
<D1.25 Auto-Selector Blocks (AS-H/M/L)> D1-353
IM 33S01B30-01E
The rules of determining the data status of the selected signal value (PV) are shown below:
When SW=0
The previous status is stored.
When SW=1 to 3
The status of the selected signal value (PV) is determined based on the status of the
currently selected input signal.
When SW=4
The status of the selected signal value (PV) is determined based on the status of the
currently selected input signal. If all input signals are invalid (BAD), the data status of
the previous value is stored.
Display of Selected Number (SEL)
Whether it is performed automatically or manually, the signal selection action displays the
number of the currently selected input signal (1, 2 or 3) as a selected number (SEL). If the
signal selection switch position is 0 and no signal is selected, SEL becomes 0.
Set Parameters of Signal Selection
The parameters of signal selection.
If the signal selection switch position is set above the switch high limit setpoint (SWH) or
below the switch low limit setpoint (SWL) from operation and monitoring functions, an
acknowledgment dialog box appears to prompt for the operators confirmation. When
confirms, the switch position can be set outside the high/low limit setpoint range.
Switch high limit setpoint (SWH): Select 0, 1, 2, 3 or 4.
The default is 4.
Switch low limit setpoint (SWL): Select 0, 1, 2, 3 or 4.
The default is 0.
10th Edition : Dec.18,2003-00
D1-354 <D1.25 Auto-Selector Blocks (AS-H/M/L)>
IM 33S01B30-01E
Automatic Control Output Computation
The automatic control output computation function determines the manipulated output
value (MV) by performing range conversion to the selected signal value (PV). This action
takes place in the automatic (AUT) mode.
The computational expression of range conversion:
MV= (PV-SL)+MSL
MSH-MSL
SH-SL D012507E.EPS
SH: PV scale high limit
SL: PV scale low limit
MSH: MV scale high limit
MSL: MV scale low limit
Control Output Action
The control output action converts the manipulated output change (MV) of each control
period to an actual manipulated output value (MV). The action that converts the manipu-
lated output change to an actual manipulated output value (MV) is called, control/calcula-
tion output action.
The control action applied in the Auto-Selector Blocks (AS-H/M/L) are of positional type
only. The result of automatic control output computation is output as a manipulated output
value (MV).
10th Edition : Dec.18,2003-00
<D1.25 Auto-Selector Blocks (AS-H/M/L)> D1-355
IM 33S01B30-01E
Bumpless Switching
The bumpless switching function switches the block mode of the function block or manipu-
lated output value of the downstream block in cascade loop without causing the manipu-
lated output value (MV) to change abruptly (i.e., bumpless change).
The action during bumpless switching varies in accordance with the control output action
and block mode status.
The type of bumpless switching performed by the Auto-Selector Blocks (AS-H/M/L) is
output pushback.
The output pushback function causes the input signal values (RV1 to RV3) to agree with
the manipulated output value (MV).
INT
OUT MV
AUT
MAN
Output
processing
D012508E.EPS
IN1
IN2
IN3
RV1 PV
SEL SW
RV2
RV3
Automatic
signal
selection
1
2
0
3
4
Selected
number
Figure Output Pushback
In any block mode, the output pushback function of the Auto-Selector Blocks (AS-H/M/L)
sets as the input signal values (RV1 to RV3), the range-converted values based on MV.
RVn= (MV-MSL)+SL
SH-SL
MSH-MSL D012509E.EPS
Output pushback operates in coordination with the output tracking function of the output
processing targets, and causes the input signal values (RV1 to RV3) to agree with the
values at the output destination blocks cascade connected downstream.
By using the output pushback function in a cascade control loop built around an Auto-
Selector Blocks (AS-H/M/L), the cascade status can be switched without causing an output
bump.
Output pushback is performed only to the input signal values received from the input
terminals used for cascade connection. Output pushback is not performed to the input
signal values that are extracted via data reference or used as constants during constant
input.
10th Edition : Dec.18,2003-00
D1-356 <D1.25 Auto-Selector Blocks (AS-H/M/L)>
IM 33S01B30-01E
The following example shows a control loop where the signal selection switch position is
changed bumplessly.
PV
PID
MV
SS-H
PV
D012510E.EPS
Output tracking
PV pushback
Figure PV Pushback and Output Tracking
1. The output tracking function causes the selected signal value (PV) to track data at the
output destination.
2. The output pushback function sets the tracked data as input signals (RV1 to RV3).
3. The output value tracking functions of the upstream function blocks connected to the
IN1 to IN3 terminals cause the output values of the upstream function blocks to track
the values of input signals (RV1 to RV3).
10th Edition : Dec.18,2003-00
<D1.25 Auto-Selector Blocks (AS-H/M/L)> D1-357
IM 33S01B30-01E
Initialization Manual
The initialization manual is an error processing function that suspends the control action
temporarily by changing the block mode to initialization manual (IMAN). This action takes
place when the initialization manual condition is established.
Characteristics of the Initialization Manual
The initialization manual function suspends the control action and control output action
temporarily during the automatic (AUT) mode or other automatic control operation mode
when the initialization manual condition is established, and changes the block mode of the
function block to initialization manual (IMAN).
Because the initialization manual action causes the manipulated output value (MV) to track
the value at the connected destination, even when the initialization manual (IMAN) mode is
changed to manual (MAN), the initialization manual (IMAN) mode will override the manual
(MAN) mode. Therefore, no actions in the manual (MAN) mode take place.
The block returns to the original mode when the initialization manual condition vanishes.
However, if try to change block mode in the initialization manual (IMAN) mode, the block
only change to that mode when the initialization condition vanishes.
Initialization Manual Condition
The initialization manual condition is a block mode transition condition that suspends the
control action and control output action temporarily by changing the block mode to initializa-
tion manual (IMAN). The initialization manual (IMAN) block mode becomes active only
when the initialization manual condition is established.
The following example shows when the initialization manual condition establishes and
vanishes:
AUT
Initialization manual condition establishes
IMAN (AUT)
Initialization manual condition vanishes
AUT
The initialization manual condition is established in the following situation:
When the data status at the connected destination of manipulated output value (MV)
is conditional (CND) (i.e., the cascade connection is open).
When the data status at the connected destination of manipulated output value (MV)
is a communication error (NCOM) or output failure (PTPF) (i.e., the cascade connec-
tion is open).
When the connected destination of manipulated output value (MV) is a switch block
(SW-33, SW-91) and the cascade connection is switched off.
When the connected destination of manipulated output value (MV) is a process output
and a failure or output open alarm is detected in the process output.
10th Edition : Dec.18,2003-00
D1-358 <D1.25 Auto-Selector Blocks (AS-H/M/L)>
IM 33S01B30-01E
MAN Fallback
The MAN fallback is an error processing function that stops the control and forces the
function block to enter manual operation state. This action takes place when the MAN
fallback condition is established.
Characteristics of the MAN Fallback
The MAN fallback stops the control by changing the block to manual (MAN) mode regard-
less of the current operation status, and forces the function block to enter manual operation
state.
Once the MAN fallback condition is established, the block mode remains manual (MAN)
even when the condition later vanishes.
MAN Fallback Condition
The MAN fallback condition is used to stop the control by changing the function block to
manual (MAN) mode regardless of the current operation status, and forces the function
block to enter manual operation state. When the MAN fallback condition is established, it
indicates that a fatal error has occurred and requests operator interruption.
The following example shows when the MAN fallback condition is established:
AUTMAN
IMAN (CAS)IMAN (MAN)
The MAN fallback condition is established in the following situation:
When the data status of the process variable (PV) is invalid (BAD) or calibration
(CAL).
When the data status of the manipulated output value (MV) is output failure (PTPF).
When the manipulated output value (MV) is connected to a process I/O and the FCS
is having an initial cold start.
When the block mode change interlock condition is established.
When the manipulated output value (MV) is connected to a process I/O, and one of
the I/O points connected to the I/O module has been changed via maintenance.
10th Edition : Dec.18,2003-00
<D1.25 Auto-Selector Blocks (AS-H/M/L)> D1-359
IM 33S01B30-01E
Block Mode Change Interlock
The block mode change interlock function stops the control computation processing of
function blocks that are operating automatically, while disabling the currently stopped
function blocks from changing to an automatic operation state. This action takes place
when the block mode change interlock condition is established.
Characteristics of the Block Mode Change Interlock
Stops the control computation processing of the function blocks that are operating auto-
matically, and disables the currently stopped function blocks from changing to an automatic
operation state. The following actions will take place:
The block mode changes to manual (MAN).
Any block mode change command to obtain an automatic operation state (AUT mode)
becomes invalid.
Block Mode Change Interlock Condition
The Block mode change interlock condition is established when the switch at the con-
nected destination of the interlock switch input terminal (INT) is turned ON. This switch is
manipulated in the process control sequence and the switch is turned on when the se-
quence judge that the loop can not run in Auto mode, or etc.,.
10th Edition : Dec.18,2003-00
D1-360 <D1.25 Auto-Selector Blocks (AS-H/M/L)>
IM 33S01B30-01E
Data Items - AS-H/M/L
Table Data Items of Auto-Selector Blocks (AS-H/M/L)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S(MAN)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- 0
AF Alarm detection specification ----- 0
AOFS Alarm masking specification ----- 0
PV Selected signal value (*1) PV engineering unit value SL
SW Signal selection switch 0, 1, 2, 3, 4 0
MV Manipulated output value (*2) MV engineering unit value MSL
SEL Selected number 0, 1, 2, 3 0
RV1 Input signal value 1 (*3) Value in the same engineering unit as PV SL
RV2 Input signal value 2 (*3) Value in the same engineering unit as PV -----
RV3 Input signal value 3 (*3) Value in the same engineering unit as PV -----
SWH Switch high limit setpoint 0 to 4 4
SWL Switch low limit setpoint 0 to 4 0
MH Manipulated variable high - limit setpoint MSL to MSH MSH
ML Manipulated variable low - limit setpoint MSL to MSH MSL
PMV Preset manipulated output value MSL to MSH MSL
PSW Preset MV switch 0, 1, 2, 3 0
OPHI Output high-limit index MSL to MSH MSH
OPLO Output low-limit index MSL to MSH MSL
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
SH PV scale high limit Value in the same engineering unit as PV -----
SL PV scale low limit Value in the same engineering unit as PV -----
D012511E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
*2: Entry is permitted when the block mode is MAN
*3: Entry is permitted if Constant input is specified
MSH: MV scale high limit
MSL: MV scale low limit
SEE ALSO
For a list of valid block modes of the AS-H/M/L blocks, see the following:
D1.1.4, Valid Block Modes for Each Regulatory Control Block
10th Edition : Dec.18,2003-00
<D1.26 Dual-Redundant Signal Selector Block (SS-DUAL)> D1-361
IM 33S01B30-01E
D1.26 Dual-Redundant Signal Selector Block
(SS-DUAL)
Dual-Redundant Signal Selector Block (SS-DUAL) may be applied in a redundant
configuration to automatically select one of the two input signals from the same
process signal source but received separately via two signal paths.
Dual-Redundant Signal Selector Block (SS-DUAL)
Connection
The Dual-Redundant Signal Selector Block (SS-DUAL) automatically selects one of the
two input signals. The selected signal is output as process variable (PV).
With the Dual-Redundant Signal Selector Block (SS-DUAL), the redundant configuration
become possible. Similar to the dual-redundant transmitter configuration, the dual-redun-
dant analog I/O modules are provided in the process input and output configuration.
The figure below shows the function block diagram of Dual-Redundant Signal Selector
Block (SS-DUAL):
OUT PV
SW
1
2
3
Input
processing
SEL
Selected
number
Input
processing
D012601E.EPS
Deviation
check
Automatic
signal
selection
IN1
IN2
RV1
RV2
Figure Function Block Diagram of Dual-Redundant Signal Selector Block (SS-DUAL)
The table below shows the connection methods and connected destinations of the I/O
terminals of the Dual-Redundant Signal Selector Block (SS-DUAL):
Table Connection Methods and Connected Destinations of I/O Terminals of Dual-Redundant
Signal Selector Block (SS-DUAL):
I/O terminal
Connection method Connection destination
Data
reference
Data
setting
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN1 Input signal 1
IN2 Input signal 2
OUT Manipulated output
D012602E.EPS
: Connection allowed
Blank: Connection not allowed
: Connection allowed only when connecting to a switch block (SW-33, SW-91) or inter-station data link block (ADL).
10th Edition : Dec.18,2003-00
D1-362 <D1.26 Dual-Redundant Signal Selector Block (SS-DUAL)>
IM 33S01B30-01E
Function of Dual-Redundant Signal Selector Block (SS-DUAL)
The SS-DUAL block performs input processing, control computation processing, output
processing, and alarm processing.
The only processing timing available for the SS-DUAL block is a periodic startup. Selec-
tions 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the SS-DUAL
block, see the following:
D1.1.3, Input Processing, Output Processing, and Alarm Processing Possible for Each Regulatory Con-
trol Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Control Computation Processing of Dual-Redundant Signal Selector Block
(SS-DUAL)
The table below shows the control computation processing functions of the Dual-Redun-
dant Signal Selector Block (SS-DUAL):
Table Control Computation Processings of Dual-Redundant Signal Selector Block
(SS-DUAL)
Control computation processing Description
Signal selection
Tests the data status of two input signal values (RV1, RV2) and selects
the one that satisfies the condition set by the signal selection switch.
Selected signal error
Changes the data status of the selected signal (PV) to BAD when two
input signals have an invalid (BAD) data status or when a deviation
alarm is present.
D012603E.EPS
Alarm Processing Specific to Dual-Redundant Signal Selector Block
(SS-DUAL)
The SS-DUAL block performs a special operation triggered by the presence of a deviation
alarm in its alarm processing.
10th Edition : Dec.18,2003-00
<D1.26 Dual-Redundant Signal Selector Block (SS-DUAL)> D1-363
IM 33S01B30-01E
Signal Selection
The signal selection function selects one of multiple input signals.
Signal Selection Switch (SW)
The table below shows the signal selection switch positions and corresponding actions:
Table Signal Selection Switch Positions and Corresponding Actions
Switch position (SW) Action
1 Selects input signal 1.
2 Selects input signal 2.
3 Selects input signal 1 or 2, whichever is in normal state.
D012604E.EPS
If the signal selection switch is set to 3 (automatic selection), the data statuses of input
signals RV1 and RV2 are tested, and the signal whose data status is other than invalid
(BAD) is selected as the selected signal value (PV). If both input signals are normal or
abnormal, the previously selected input signal remains selected. If the signal selection
switch is set to 1 or 2, the specified input signal is selected unconditionally.
Selected Number (SEL)
The currently selected input signal number (1 or 2) is stored as the selected number (SEL)
and displayed.
Non-Selected Signal Value (SV)
The input signal value of the signal not selected is stored as the non-selected signal value
(SV) and displayed.
10th Edition : Dec.18,2003-00
D1-364 <D1.26 Dual-Redundant Signal Selector Block (SS-DUAL)>
IM 33S01B30-01E
Selected Signal Error
The selected signal error function changes the data status to invalid (BAD) when the
selected signal error conditions are satisfied.
Table Selected Signal Error Conditions
Switch position (SW) Error condition
1 Input signal 1 is BAD.
2 Input signal 2 is BAD.
3 Both input signals 1 and 2 are BAD, or a deviation alarm is present.
D012605E.EPS
In a control loop where the selected signal value (PV) that received this selected signal
error processing is input as a process variable, the block mode changes to manual (MAN).
Operations during Deviation Alarm
Deviation Alarm, SS-DUAL PV Update during Deviation Alarm
If the signal selection switch is set to 3, when the difference between the selected signal
value (PV) and non-selected signal value (SV) exceeds the deviation alarm settings value
(DL), a deviation alarm will be generated and the PV data status will become invalid (BAD).
While the deviation alarm is being generated, the PV data value immediately prior to the
alarm generation is maintained. However, if SS-DUAL PV Update during Deviation Alarm
is selected on the property sheet of the FCS, the data value will be updated to the selected
input value even if the PV data status is BAD due to a deviation alarm.
The table below shows the difference in operations between when SS-DUAL PV Update
during Deviation Alarm is selected and when Maintain PV value is selected.
Table Operations during Deviation Alarm Generation when SW=3
Item Update PV Value
BAD (Data value invalid)
D012606E.EPS
BAD (Data value invalid) PV data status
Updates value
Maintains value immediately prior to
deviation alarm generation
PV data value
Operates No operation Digital filter
No operation No operation Totalizer
Performs check Performs check
High-limit, low-limit alarm
High-high limit, low-low limit alarm
Does not perform check Does not perform check Velocity alarm
Updated value is output Maintained value is output Output from OUT terminal
Performs MAN fallback since the PV data
status is BAD. The destination data value is
not updated.
Performs MAN fallback since the PV data
status is BAD. The destination data value is
not updated.
Operation of connected
function block
Maintain PV Value (Default)
10th Edition : Dec.18,2003-00
<D1.26 Dual-Redundant Signal Selector Block (SS-DUAL)> D1-365
IM 33S01B30-01E
Specifying Operation during Deviation Alarm
The operation during deviation alarm generation is specified for each FCS station using the
FCS Properties.
The operation cannot be specified for individual SS-DUAL blocks. The specification can
only be changed off-line.
Update PV Value during SS-DUAL Deviation Alarm Generation:
Select this specification by placing a check in the checkbox. By default, the PV value
immediately prior to the generation of a deviation alarm is maintained during the alarm
generation (the checkbox is left blank)
Data Items - SS-DUAL
Table Data Items of Dual-Redundant Signal Selector Block (SS-DUAL)
Data Item Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S(AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- 0
AF Alarm detection specification ----- 0
AOFS Alarm masking specification ----- 0
PV Selected signal value (*1) PV engineering unit value SL
SUM Totalizer value Engineering unit value 0
SV Non-selected signal value Value in the same engineering unit as PV SL
DV Deviation Value in the same engineering unit as PV 0
RV1 Input signal value 1 Value in the same engineering unit as PV SL
RV2 Input signal value 2 Value in the same engineering unit as PV SL
SW Signal selection switch 1, 2, 3 3
SEL Selected number 1, 2 1
HH High - high limit alarm setpoint SL to SH SH
LL Low - low limit alarm setpoint SL to SH SL
PH High - limit alarm setpoint SL to SH SH
PL Low - limit alarm setpoint SL to SH SL
VL Velocity alarm setpoint (SH - SL) SH - SL
DL Deviation alarm setpoint (SH - SL) SH - SL
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
SH PV scale high limit Value in the same engineering unit as PV -----
SL PV scale low limit Value in the same engineering unit as PV -----
D012607E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
SEE ALSO
For a list of valid block modes of the SS-DUAL block, see the following:
D1.1.4, Valid Block Modes for Each Regulatory Control Block
10th Edition : Dec.18,2003-00
D1-366 <D1.27 Cascade Signal Distributor Block (FOUT)>
IM 33S01B30-01E
D1.27 Cascade Signal Distributor Block (FOUT)
The Cascade Signal Distributor Block (FOUT) distributes cascade setpoint signals
input from controller blocks to multiple down-stream controller blocks. This block
may be applied in a cascade control loop with multiple function blocks in parallel
downstream connected.
Cascade Signal Distributor Block (FOUT)
Connection
The Cascade Signal Distributor Block (FOUT) can distribute cascade signals to as many as
8 function blocks.
Using the Cascade Signal Distributor Block (FOUT) enables the creation of a cascade
control loop where multiple controller blocks are connected in parallel downstream. The
system does not support to simply link the downstream controller blocks in a chain connec-
tion.
The Cascade Signal Distributor Block transmits the cascade open or clamp status of the
downstream controller blocks to the upstream controller block.
The figure below shows the function block diagram of the Cascade Signal Distributor Block
(FOUT):
MV2
CSV
J02
SET Output
computation
J01
J08 MV8
MV1
SV
D012701E.EPS
Figure Function Block Diagram of Cascade Signal Distributor Block
The setpoint value (SV) of the Cascade Signal Distributor Block (FOUT) can be used for
data reference but not for data setting.
10th Edition : Dec.18,2003-00
<D1.27 Cascade Signal Distributor Block (FOUT)> D1-367
IM 33S01B30-01E
The figure below shows an application example of the Cascade Signal Distributor Block
(FOUT):
PV
SV
PID
MV
OUT
SET
PV
SV
PID
MV
PV
PID
MV
OUT
OUT
SET
SET
IN
IN
IN
SV
FOUT
MV1
MV2
J01
J02
D012702E.EPS
Figure Application Example of Cascade Signal Distributor Block (FOUT)
Considering the range of each output destination, the cascade setpoint signals to be
distributed undergo range matching. Assume that the SV range of the Cascade Signal Dis-
tributor Block (FOUT) is 0 to 100 %, while the PV ranges of the two downstream controller
blocks are 0 to 8000 NM3/H and 0 to 10.00 KG/H, respectively. If the manipulated output of
the upstream controller block is 50 %, the output values of the Cascade Signal Distributor
Block (FOUT) become 400 NM3/H and 5.00 KG/H, respectively.
The function blocks that can be used upstream of the Cascade Signal Distributor Block are
limited to those that satisfy the following conditions:
A regulatory control block with a manipulated output value (MV), capable of forming
cascade connection
An analog calculation block capable of forming cascade connection
When Cascade Signal Distributor Block (FOUT) are connected in cascade in multiple
levels, the maximum number of Cascade Signal Distributor Block (FOUT) that can be
connected serially between the top block and bottom block is 6. Switch blocks (SW-33,
SW-91) inserted in between are not counted. If FOUT blocks used exceed the limit, the
manipulated output value (MV) of the top function block becomes output failure (PTPF).
10th Edition : Dec.18,2003-00
D1-368 <D1.27 Cascade Signal Distributor Block (FOUT)>
IM 33S01B30-01E
The table below shows the connection methods and connected destinations of the I/O
terminals of the Cascade Signal Distributor Block (FOUT):
Table Connection Methods and Connected Destinations of I/O Terminals of Cascade Signal
Distributor Block (FPIT):
I/O terminal
Connection method Connection destination
Data
reference
Data
setting
Terminal
connection
Process
I/O
Software
I/O
Function
block
SET Setting input
J01
Manipulated
output 1
J02
Manipulated
output 2
J03
Manipulated
output 3
J04
Manipulated
output 4
J05
Manipulated
output 5
J06
Manipulated
output 6
J07
Manipulated
output 7
J08
Manipulated
output 8
D012703E.EPS
: Connection allowed
Blank: Connection not allowed
SET terminal can not be connected to the terminals of other stations function block.
10th Edition : Dec.18,2003-00
<D1.27 Cascade Signal Distributor Block (FOUT)> D1-369
IM 33S01B30-01E
Function of Cascade Signal Distributor Block (FOUT)
The FOUT block performs control computation processing and output processing.
The only processing timing available for the FOUT block is a periodic 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of output processing possible for the FOUT block, see the following:
D1.1.3, Input Processing, Output Processing, and Alarm Processing Possible for Each Regulatory Con-
trol Block
For details on the output processing, see the following:
C4, Output Processing
Control Computation Processing of Cascade Signal Distributor Block
(FOUT)
The table below shows the control computation processing functions of the Cascade Signal
Distributor Block (FOUT):
Table Control Computation Processing Functions of Cascade Signal Distributor Block (FOUT)
Control computation processing Description
Range conversion output distribution
Performs range matching to the cascade setpoint value (CSV) based on the range of the
output destination, and uses the result as a manipulated output value (MV). Range
matching is performed for each output destination.
Bumpless switching
Switches the manipulated output value (MV) without causing it to change abruptly when
the block mode has been changed or when the manipulated output value (MV) has been
switched in a downstream block in cascade.
Output pushback
Obtains a cascade setpoint value (CSV) from the Cascade Signal Distributor Blocks
(FOUT) manipulated output value (MVn) via range conversion. Prevents abrupt changes
in the manipulated output by utilizing output tracking.
D012704E.EPS
Output Processing Specific to Cascade Signal Distributor Block (FOUT)
As part of its output processing, the FOUT block employs a special output clamp.
10th Edition : Dec.18,2003-00
D1-370 <D1.27 Cascade Signal Distributor Block (FOUT)>
IM 33S01B30-01E
Range Conversion Output Distribution
The control algorithm used by the Cascade Signal Distributor Block (FOUT) is based on
range conversion output distribution.
The range conversion output distribution function performs range matching to the cascade
setpoint value (CSV) set from the upstream function block, for each connected destination
based on the destination range. During range conversion output distribution, range match-
ing is performed using output range tracking.
Range matching is based on the following expression:
MVn= (SV-SSL)+MSLn
MSHn-MSLn
SSH-SSL D012705E.EPS
MVn: nth manipulated output value (MV1 to MV8)
SSH: SV scale high limit
SLS: SV scale low limit
MSHn: MVn scale high limit
MSLn: MVn scale low limit
MSHn and MSLn are caused to automatically agree with the scale high limit and low limit of
the output destination via the output range tracking function.
Setpoint Value (SV) Range
SV Range
Use the Function Block Detail Builder to set the setpoint value (SV) range:
SV Range High Limit Value:
Specify a numeric value of 7 digits or less, where the sign and decimal point occupy
one digit each.
The default is 100.0.
SV Range Low Limit Value:
Specify a numeric value of 7 digits or less, where the sign and decimal point occupy
one digit each.
The default is 0.0.
Bumpless Switching
The bumpless switching function switches the block mode of the function block or manipu-
lated output value downstream in cascade without causing the manipulated output value
(MV) to change abruptly (i.e., bumpless change).
The action during bumpless switching varies in accordance with the control output action
and block mode status.
The type of bumpless switching performed by the Cascade Signal Distributor Block (FOUT)
is output pushback.
The output pushback function sets as the setpoint value (SV) and cascade setpoint value
(CSV), the SV-range values converted from the manipulated output value (MVn) via range
conversion.
Combining the output pushback and output tracking functions enables the creation of a
control loop where a balanceless bumpless transfer can be performed.
The computational expression of range conversion:
SV= (MVn-MSLn)+SSL
SSH-SSL
MSHn-MSLn
D012706E.EPS CSV=SV
10th Edition : Dec.18,2003-00
<D1.27 Cascade Signal Distributor Block (FOUT)> D1-371
IM 33S01B30-01E
Output pushback is executed when the following occur:
When the cascade status of one output destination of the Cascade Signal Distributor
Block (FOUT) has changed to close, while the cascade statuses of all other output
destinations remain open.
In a configuration where a selector switch exists between the Cascade Signal Distribu-
tor Block (FOUT) and the upstream function block in cascade connected to the FOUT,
the switch status has changed from open to close.
When cascade is open and tracking is enabled at the J01 terminal.
1. When cascade is open, the output tracking function causes the manipulated output
value (MVn) to track data at the output destination.
2. When cascade is closed, the manipulated output value (MVn) is pushed back to the
level of SV. However, this occurs only when one of the above output pushback execu-
tion conditions is satisfied.
3. The output value tracking function of the upstream function block causes the output
value of the upstream function block to track the setpoint value (SV).
In a control loop where these actions take place, the output value of the upstream function
block agrees with data at the output destination of the Cascade Signal Distributor Block
(FOUT) when the cascade status is switched to close. Therefore, no output bump occurs
as a result of the cascade status switching to close.
Output pushback can handle only one input signal (RVn) at one time. In other words,
balanceless bumpless transfer of a cascade loop is possible only in the first loop.
Bumpless switching based on the output pushback function will not be executed to the
second and subsequent output destinations to close cascade. However, abrupt changes in
output as a result of changes in the setpoint value can be prevented if the downstream
controller blocks are PID type controller blocks (PID), as they bypass control computation
during the first control period after the cascade connection establishes.
If the upstream function block is a calculation block, neither output pushback action nor
output tracking action take place.
10th Edition : Dec.18,2003-00
D1-372 <D1.27 Cascade Signal Distributor Block (FOUT)>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Output Clamp
The output clamp is a function that limits the manipulated output value (MV) in such a way
that it cannot be changed to a value greater than or less than the current output value. The
status where the manipulated output value (MV) is limited in this way is called the output
clamp status.
In the FOUT block, if the output value at each output destination is subject to a limitation,
the output clamp status is indicated by the MVn data status high limit clamp (CLP+) or
low limit clamp (CLP-).
The cascade setpoint value (CSV) data status will be data status (CLP+ or CLP-) if the data
statuses for all output points that are in the cascade close status are CLP+ or CLP-, re-
spectively.
SEE ALSO
For details on the output clamp, see the following:
C4.3, Output Clamp
Data Items - FOUT
Table Data Items of Cascade Signal Distributor Block (FOUT)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
SV Setpoint value SV engineering unit value SSL
CSV Cascade setpoint value Value in the same engineering unit as SV SSL
MV1 Manipulated output value 1 Value in the same unit as connection destination JO1 MSL1
MV2 Manipulated output value 2 Value in the same unit as connection destination JO2 MSL2
MV3 Manipulated output value 3 Value in the same unit as connection destination JO3 MSL3
MV4 Manipulated output value 4 Value in the same unit as connection destination JO4 MSL4
MV5 Manipulated output value 5 Value in the same unit as connection destination JO5 MSL5
MV6 Manipulated output value 6 Value in the same unit as connection destination JO6 MSL6
MV7 Manipulated output value 7 Value in the same unit as connection destination JO7 MSL7
MV8 Manipulated output value 8 Value in the same unit as connection destination JO8 MSL8
D012707E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
SSL: SV scale low limit
MSLn: MVn scale low limit
<D1.28 Feedforward Signal Summing Block (FFSUM)> D1-373
IM 33S01B30-01E
D1.28 Feedforward Signal Summing Block (FFSUM)
Feedforward Signal Summing Block (FFSUM) adds the feedforward signal to the
feedback control signal then outputs the result. This block may be applied to the
control loop that performs feedforward compensation control or base load control.
Feedforward Signal Summing Block (FFSUM)
Connection
Feedforward Signal Summing Block (FFSUM) adds up the feedback signal (manipulated
output value) input to the IN terminal from an up-stream controller block via cascade
connection and the feedforward signal input to the SET terminal via cascade connection,
and outputs the result.
The figure below shows the function block diagram of Feedforward Signal Summing Block
(FFSUM):
MV PV
FSW
CSV
SV
CAS/AUT
MAN
CAS
AUT
MAN
IN
SET
OUT
(PV, PV, MV, MV)
Output
processing
Signal
addition
INT TSI TIN BIN
(TSW) (VN)
SUB
D012801E.EPS
Figure Function Block Diagram of Feedforward Signal Summing Block (FFSUM)
The table below shows the connection methods and connected destinations of the I/O
terminals of the Feedforward Signal Summing Block (FFSUM):
Table Connection Methods and Connected Destinations of I/O Terminals of Feedforward Signal
Summing Block (FFSUM)
I/O terminal
Connection method Connection destination
Data
reference
Data
setting
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN FB signal input
SET FF setting input
OUT Manipulated output
SUB Auxiliary output
BIN
Compensation
input
TIN
Tracking signal
input
TSI Tracking SW input
INT Interlock SW input
D012802E.EPS
: Connection allowed
Blank: Connection not allowed
: Connection allowed only when connecting to a switch block (SW-33, SW-91) or an inter-station data link block (ADL).
10th Edition : Dec.18,2003-00
D1-374 <D1.28 Feedforward Signal Summing Block (FFSUM)>
IM 33S01B30-01E
Function of Feedforward Signal Summing Block (FFSUM)
The FFSUM block performs control computation processing, output processing, and alarm
processing.
The only processing timing available for the FFSUM block is a periodic 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of output processing and alarm processing possible for the FFSUM block, see the follow-
ing:
D1.1.3, Input Processing, Output Processing, and Alarm Processing Possible for Each Regulatory Con-
trol Block
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
10th Edition : Dec.18,2003-00
<D1.28 Feedforward Signal Summing Block (FFSUM)> D1-375
IM 33S01B30-01E
Control Computation Processing of Feedforward Signal Summing Block
(FFSUM)
The table below shows the control computation processing functions of the Feedforward
Signal Summing Block (FFSUM):
Table Control Computation Processings of Feedforward Signal Summing Block (FFSUM)
Control computation processing Description
Feedforward control signal addition
Obtains a manipulated output value (MV) by adding to the feedforward setpoint value
(SV) the feedback input value (PV) corrected by the input corrected value (VN).
Control output action
Converts the manipulated output change (MV) during each control period to an actual
manipulated output value (MV). The control output actions available with this function
block are of positional type only.
I/O compensation
Adds the I/O compensated value (VN) received from outside to the input signal or control
output signal of PID computation when the controller block is operating automatically.
Only input compensation is available.
Input compensation
Adds the I/O compensated value (VN) received from the outside to the input signal of the
PID control computation.
Setpoint value limiter Limits the setpoint value (SV) within the setpoint high/low limits.
Setpoint value pushback Causes two of the three setpoint values (SV, CSV, RSV) to agree with the remaining one.
Bumpless switching
Switches the manipulated output value (MV) without causing it to change abruptly when
the block mode has been changed or when the manipulated output value (MV) has been
switched in a downstream block in cascade.
Output pushback
Forcibly sets as the feedback input value, the PV value calculated back from the MV
output destination readback value (MVrb). This prevents the manipulated output value
(MV) from changing abruptly.
Balance action
Prevents abrupt changes in the manipulated output value (MV) by initializing the balance
term in the manipulated output computational expression.
Initialization manual
Changes the block mode to IMAN to temporarily suspend the control action. This action
takes place when the initialization manual condition becomes satisfied.
Control hold
Temporarily suspends the control action while maintaining the current block mode.
During control hold, the output action is performed normally.
MAN fallback
Changes the block mode to MAN to forcibly stop the control action. This action takes
place when the MAN fallback condition becomes satisfied.
AUT fallback
Changes the block mode to AUT when the function block is operating in the CAS mode,
so that the control action is continued using values set by the operator. This action takes
place when the AUT fallback condition becomes satisfied.
Block mode change interlock
Stops the control action of function blocks currently operating automatically, while
disabling the stopped function blocks from changing to the automatic operating mode.
D012803E.EPS
10th Edition : Dec.18,2003-00
D1-376 <D1.28 Feedforward Signal Summing Block (FFSUM)>
IM 33S01B30-01E
Feedforward Signal Summing
The feedforward signal summing function adds the feedforward setpoint value (SV) to the
feedback input value (PV), after correcting the latter by the input compensated value (VN),
to obtain a manipulated output value (MV) when the block mode is automatic (AUT) or
cascade (CAS).
PV
VN
CSV
SV
CB
CV MV
CK
Signal
addition
FSW
AUT/MAN CAS
+
+
+
+
D012804E.EPS
Input
compensation
Figure Feedforward Signal Summing Action
Signal Addition
The following computational expressions are used to add up the PV value (CV) after input
compensation and feedforward setpoint value (SV) via range conversion to obtain a ma-
nipulated output value (MV).
MV=CVm+SVm+BLn
CVm= (CV-SL)+MSL
MSH-MSL
SH-SL D012805E.EPS
SVm= (SV-SSL)+MSL
MSH-MSL
SSH-SSL D012806E.EPS
MV: Manipulated output value
SV: Feedforward setpoint value
SVm: SV after range conversion
CV: PV after input compensation
CVm: CV after range conversion
BLn: Balance term
SH: PV scale high limit
SL: PV scale low limit
SSH: SV scale high limit
SSL: SV scale low limit
MSH: MV scale high limit
MSL: MV scale low limit
10th Edition : Dec.18,2003-00
<D1.28 Feedforward Signal Summing Block (FFSUM)> D1-377
IM 33S01B30-01E
Feedforward Signal Cut
Depending upon the operating condition of the plant, it is sometimes desirable that
Feedforward Signal Summing be disabled completely. When the feedforward control signal
cut switch (FSW) is turned ON, the feedback input value after input compensation directly
receives range conversion and is output as a manipulated output value (MV) in the auto-
matic (AUT) or cascade (CAS) mode.
MV=CVm+BLn
During the automatic (AUT) or cascade (CAS) mode, the following balance operation is
performed to prevent an output bump as a result of switching the feedforward control signal
cut switch.
When the feedforward signal cut switch (FSW) is turned ON, BLn changes to the value
shown below:
BLn=MVrb-CVm
MVrb: MV output destination readback value
When the feedforward switch (FSW) is turned OFF, the following computation is performed
to determine the BLn value.
BLn=MVrb-SVm-CVm
Setpoint Value (SV) Range
SV Range
Use the Function Block Detail Builder to set the setpoint value (SV) range:
SV Range High Limit Value:
Specify a numeric value of 7 digits or less, where the sign and decimal point occupy
one digit each
The default is 100.0.
SV Range Low Limit Value:
Specify a numeric value of 7 digits or less, where the sign and decimal point occupy
one digit each
The default is 0.0.
10th Edition : Dec.18,2003-00
D1-378 <D1.28 Feedforward Signal Summing Block (FFSUM)>
IM 33S01B30-01E
I/O Compensation
The I/O compensation function adds the I/O compensated value (VN) received from out-
side to the input signal or output signal of PID control computation, while the controller
block is operating automatically in the automatic (AUT) or cascade (CAS) mode.
Only input compensation is available with the Feedforward Signal Summing Block
(FFSUM).
Characteristics of Input Compensation
The following is a computational expression of input compensation:
CVn=PVn+CK (VN+CB)
CVn: Control variable (PV after input compensation)
PVn: Process variable
CK: I/O compensation gain
CB: I/O compensation bias (internal bias)
VN: I/O compensated value (bias signal)
The figure below shows a processing flow of input compensation:
D012807E.EPS
PV
VN
CB
PVn CVn MV
CK
+
+
+
+
PID control
computation
Figure Processing Flow of Input Compensation
When creating a base load control system, set the median value of feedforward signals in a
normal operating state as the input compensated value (VN). Also, preset CK and CV to
-1.0 and 0.0, respectively. As a result, the feedback control signal (PV) is compensated by
its deviation from the median value of feedforward signals (SV) and obtained as a final
manipulated output value (MV).
Set Parameters of Input Compensation
The parameters of input compensation:
Compensation gain (CK): -10.000 to 10.000
The default is 1.000.
Compensation bias (CB): Arbitrary engineering unit data
The default is 0.
The input compensated value (VN) can not only be set from other function block via data
setting, but also be entered via data reference from the compensation input terminal (BIN).
10th Edition : Dec.18,2003-00
<D1.28 Feedforward Signal Summing Block (FFSUM)> D1-379
IM 33S01B30-01E
Control Output Action
The control output action converts the manipulated output change (MV) during each
control period to an actual manipulated output value (MV).
The control output actions available with the Feedforward Signal Summing Block (FFSUM)
are of positional type only. The result of signal summing computation is output as a
manipulated output value (MV).
Setpoint Value Limiter
The setpoint value limiter function limits the setpoint value (SV) within the range between
the setpoint high limit (SVH) and setpoint low limit (SVL), and recognizes the setpoint
values (SV) only within this range as valid.
The action of the setpoint value limiter varies in accordance with the block mode of the
function block.
Actions in Automatic (AUT) or Manual (MAN) Mode
When the block mode of the function block is automatic (AUT) or manual (MAN), in which
the user is able to set the setpoint value, the setpoint value limiter performs the following
actions in accordance with the situation:
When a value exceeding the setpoint high limit (SVH) is set as the setpoint value (SV):
An acknowledgment dialog box appears to prompt for the operators confirmation.
When confirms, the operator can set a value exceeding the setpoint high limit (SVH).
When a value below the setpoint low limit (SVL) is set as the setpoint value (SV):
An acknowledgment dialog box appears to prompt for the operators confirmation.
When confirms, the operator can set a value below the setpoint low limit (SVL).
Set Parameters of Setpoint Value Limiter
The parameters of the setpoint value limiter:
Setpoint high limit (SVH): Engineering unit data within the SV scale range
The default is the scale high limit.
Setpoint low limit (SVL): Engineering unit data within the SV scale range
The default is the scale low limit.
10th Edition : Dec.18,2003-00
D1-380 <D1.28 Feedforward Signal Summing Block (FFSUM)>
IM 33S01B30-01E
Setpoint Value Pushback
The setpoint value pushback function sets the same value for the two types of setpoint
values (SV, CSV). The figure below explains the relationship between the setpoint value
(SV) and cascade setpoint value (CSV):
D012808E.EPS
CSV
SV
Input from the SET terminal
Control
computation
CAS
Setpoint value
AUT/MAN
Figure Relationship between Setpoint Values (SV and CSV)
The action of the setpoint value pushback varies in accordance with the block mode of the
function block.
Action in Automatic (AUT) or Manual (MAN) Mode
Causes the cascade setpoint value (CSV) to agree with the setpoint value (SV). Even when
a data value is set to the setpoint value (SV) from outside the function block, the same
value is automatically set to the cascade setpoint value.
Action in Cascade (CAS) Mode
Causes the setpoint value (SV) to agree with the cascade setpoint value (CSV).
10th Edition : Dec.18,2003-00
<D1.28 Feedforward Signal Summing Block (FFSUM)> D1-381
IM 33S01B30-01E
Bumpless Switching
The bumpless switching function switches the block mode of the function block or manipu-
lated output value of the downstream block in cascade loop without causing the manipu-
lated output value (MV) to change abruptly (i.e., bumpless change).
The action during bumpless switching varies in accordance with the control output action
and block mode status.
The bumpless switching functions available with the Feedforward Signal Summing Block
(FFSUM) include:
Output pushback
Balance action
Output Pushback
The output pushback function sets as the feedback input value (PV), the value calculated
back from the MV output destination readback value (MVrb).
The following computational expressions are used to calculate PV back from MVrb:
PV=CV-CK (VN+CB)
CV= (CVm-MSL)+SL
SH-SL
MSH-MSL D012809E.EPS
CVm=MVrb-SVm-BLn
SVm= (SV-SSL)+MSL
MSH-MSL
SSH-SSL D012810E.EPS
BLn: Balance term
In the manual (MAN) or initialization manual (IMAN) mode
BLn=0.0
When output is clamped in the automatic (AUT) or cascade (CAS) mode
BLn=BLn-1
If no input compensation is performed, the feedback input value (PV) in the above compu-
tational expression is the same as CV.
If the calculated value exceeds the feedback input value (PV) range, it is limited to the SH
or SL value.
An abrupt change in the manipulated output value (MV) upon changing of block modes
from manual (MAN) to automatic (MAN), may have a negative impact on the process.
Preventing this abrupt change in the manipulated output value (MV) is called, bumpless
switching.
10th Edition : Dec.18,2003-00
D1-382 <D1.28 Feedforward Signal Summing Block (FFSUM)>
IM 33S01B30-01E
Using the output pushback function in combination with the output tracking function en-
ables balanceless bumpless transfer of a cascade loop.
CAS
PV
SV
PID
MV
PV
SV
FFSUM
MV PV
PID
MV
AUT/MAN
AUT/MAN
D012811E.EPS
Output tracking
Output pushback
Output tracking
Figure Output Pushback and Output Tracking when Cascade is Open
1. When cascade is open, the output tracking function causes MVrb to track data at the
output destination.
2. When cascade is closed, the output pushback function calculates the feedback input
value (PV) from MVrb, and sets the obtained value as PV.
3. The output value tracking function of the upstream block in cascade causes the output
value of the upstream function block to track the feedback input value (PV).
10th Edition : Dec.18,2003-00
<D1.28 Feedforward Signal Summing Block (FFSUM)> D1-383
IM 33S01B30-01E
Balance Action
The balance action function adjusts the balance term value when the feedback input value
(PV) changes abruptly during automatic operation in the auto (AUT) or cascade (CAS)
mode, in order to prevent the manipulated output value (MV) from changing abruptly.
An abrupt change in the manipulated output value (MV) during automatic operation may
have a negative impact on the process. Preventing this abrupt change in the manipulated
output value (MV) is called, bumpless switching.
The balance action prevents the manipulated output value from changing abruptly when
the feedback input value undergoes an abrupt change.
The balance term is adjusted based on the following computational expressions:
BLn=MVrb-CVm-SVm
CVm= (CV-SL)+MSL
MSH-MSL
SH-SL D012812E.EPS
SVm= (SV-SSL)+MSL
MSH-MSL
SSH-SSL
D012813E.EPS
CV=PV+CK (VN+CB)
If no input compensation is performed, CV in the above computational expressions is the
same as PV.
The Feedforward Signal Summing Block (FFSUM) executes this balance action when the
feedback control function block connected upstream in cascade issues a warning that the
setpoint value will be bumped.
The execution conditions of the balance action:
When a Cascade Signal Distributor Block (FOUT) is connected upstream and the
conditional (CND) status of the upstream output value is canceled.
A calculation block that does not provide a balance function is connected upstream.
The initialization manual (MAN) mode is canceled while the output pushback value is
being limited to the MSH or MSL value.
When the balance action is executed, BLn is moved toward 0 by the ramp constant (RP)
during each of the subsequent scan periods, until it finally reaches 0.
Ramp constant (RP):
Engineering unit data between 0 and the MV scale span range limit
The default is the MV scale span.
The setting can be changed from operation and monitoring functions during operation.
10th Edition : Dec.18,2003-00
D1-384 <D1.28 Feedforward Signal Summing Block (FFSUM)>
IM 33S01B30-01E
Initialization Manual
The initialization manual is an error processing function that suspends the control action
temporarily by changing the block mode to initialization manual (IMAN). This action takes
place when the initialization manual condition is established.
Characteristics of Initialization Manual
The initialization manual function suspends the control action and control output action
temporarily during the automatic (AUT) mode or other automatic control operation mode
when the initialization manual condition is established, and changes the block mode of the
function block to initialization manual (IMAN).
Because the initialization manual action causes the manipulated output value (MV) to track
the value at the connected destination, even when the initialization manual (IMAN) mode is
changed to manual (MAN), the initialization manual (IMAN) mode will precede the manual
(MAN) mode.
In other words, any operation to change to the manual (MAN) mode becomes invalid.
The block returns to the original mode when the initialization manual condition vanishes.
However, if try to change block mode in the initialization manual (IMAN) mode, the block
only change to that mode when initialization condition vanishes.
Initialization Manual Condition
The initialization manual condition is a block mode transition condition that suspends the
control action and control output action temporarily by changing the block mode to initializa-
tion manual (IMAN). The initialization manual (IMAN) block mode becomes active only
when the initialization manual condition is established.
The following example shows when the initialization manual condition establishes and
vanishes:
AUT
Initialization manual condition establishes
IMAN (AUT)
Initialization manual condition vanishes
AUT
The initialization manual condition is established in the following situation:
When the data status at the connected destination of the manipulated output value
(MV) is conditional (CND) (i.e., the cascade connection is open).
When the data status at the connected destination of the manipulated output value
(MV) is a communication error (NCOM) or output failure (PTPF).
When the connected destination of the manipulated output value (MV) is a switch
block (SW-33, SW-91) and the switch is disconnected (i.e., the cascade connection is
open).
When the connected destination of the manipulated output value (MV) is a process
output and a failure or output open alarm has occurred in the process output.
The output signal is not a pulse-width output and the data status of the input signal at
the TIN or TSI terminal has become invalid (BAD) during the tracking (TRK) mode.
10th Edition : Dec.18,2003-00
<D1.28 Feedforward Signal Summing Block (FFSUM)> D1-385
IM 33S01B30-01E
Control Hold
The control hold is an error processing function that suspends the control action tempo-
rarily while maintaining the current block mode. Unlike initialization manual, the control
output action is performed normally during control hold.
The control hold action takes place when the following conditions are establishes during
automatic operation (AUT, CAS):
The connected destination of the IN terminal is open (i.e., not selected via a selector
switch, etc.)
The connected destination of the IN terminal or the connected destination of the data
at the first connected destination is a process input, and the process input is tempo-
rarily in a non-response state (momentary power failure)
The control is resumed when the conditions become unsatisfied.
10th Edition : Dec.18,2003-00
D1-386 <D1.28 Feedforward Signal Summing Block (FFSUM)>
IM 33S01B30-01E
MAN Fallback
The MAN fallback is an error processing function that stops the control and forces the
function block to enter manual operation state. This action takes place when the MAN
fallback condition is established.
Characteristics of Man Fallback
The MAN fallback stops the control by changing the block to manual (MAN) mode regard-
less of the current operation status, and forces the function block to enter manual operation
state.
Once the MAN fallback condition is established, the block mode remains manual (MAN)
even when the condition later vanishes.
MAN Fallback Condition
The MAN fallback condition is used to stop the control by changing the function block to
manual (MAN) mode regardless of the current operation status, and forces the function
block to enter manual operation state. When the MAN fallback condition is established, it
indicates that a fatal error has occurred and requests operator interruption.
The following example shows when the MAN fallback condition is established:
AUTMAN
IMAN (CAS)IMAN (MAN)
The MAN fallback condition is established in the following situation:
When the data status of the process variable (PV) is invalid (BAD).
When the data status of the manipulated output value (MV) is output failure (PTPF).
When the data status of the setpoint value (SV) is invalid (BAD).
When the manipulated output value (MV) is connected to a process I/O and the FCS
is having an initial cold start.
When the block mode change interlock condition establishes.
When the manipulated output value (MV) is connected to a process I/O, and one of
the I/O points connected to the I/O module has been changed via maintenance.
10th Edition : Dec.18,2003-00
<D1.28 Feedforward Signal Summing Block (FFSUM)> D1-387
IM 33S01B30-01E
AUT Fallback
The AUT fallback is an error processing function that switches the block mode from cas-
cade (CAS) to automatic (AUT) when the AUT fallback condition is established, and
switches the control action to the one that uses values set by the operator.
Characteristics of AUT Fallback
Changes the block mode from cascade (CAS) to automatic (AUT) to continue control using
values set by the operator.
Once the AUT fallback condition establishes, the block mode remains automatic (AUT)
even when the condition vanishes.
AUT Fallback Condition
The AUT fallback condition is used to change the block mode of the function block from
cascade (CAS) to automatic (AUT) so that control can be continued using values set by the
operator. When this condition is established, it indicates that abnormality has been de-
tected in the cascade setpoint value (CSV) for some reason.
The following examples shows when the AUT fallback condition is established:
CASAUT
IMAN (CAS)IMAN (AUT)
Use the Function Block Detail Builder to define whether or not to use the AUT fallback.
AUT Fallback: Select Yes or No.
The default is No.
The AUT fallback condition is established when the AUT fallback is set as Yes via the
Function Block Detail Builder and the data status of the cascade setpoint value (CSV) has
become invalid (BAD) or communication error (NCOM).
10th Edition : Dec.18,2003-00
D1-388 <D1.28 Feedforward Signal Summing Block (FFSUM)>
IM 33S01B30-01E
Block Mode Change Interlock
The block mode change interlock function stops the control computation processing of
function blocks that are operating automatically, while disabling the currently stopped
function blocks from changing to an automatic operation state. This action takes place
when the block mode change interlock condition is established.
Characteristics of Block Mode Change Interlock
Stops the control computation processing of the function blocks that are operating auto-
matically, and disables the currently stopped function blocks from changing to an automatic
operation state. The following actions will take place:
The block mode changes to manual (MAN).
Any block mode change command to obtain an automatic operation state (AUT or
CAS mode) becomes invalid.
Block Mode Change Interlock Condition
The Block mode change interlock condition is established when the switch at the con-
nected destination of the interlock switch input terminal (INT) is turned ON. This switch is
manipulated in the process control sequence and the switch is turned on when the se-
quence judge that the loop can not run in Auto mode, or etc.,.
10th Edition : Dec.18,2003-00
<D1.28 Feedforward Signal Summing Block (FFSUM)> D1-389
IM 33S01B30-01E
Data Items - FFSUM
Table Data Items of Feedforward Signal Summing Block (FFSUM) (1/2)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (MAN)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- 0
AF Alarm detection specification ----- 0
AOFS Alarm masking specification ----- 0
PV Fedback input signal value PV engineering unit value SL
SV Fedforward setpoint value SV engineering unit value SSL
CSV Fedforward control signal cascade setpoint Value in the same engineering unit as PV SSL
MV Manipulated output value (*1) MV engineering unit value MSL
MH Manipulated variable high - limit setpoint MSL to MSH MSH
ML Manipulated variable low - limit setpoint MSL to MSH MSL
SVH Setpoint high limit SSL to SSH SSH
SVL Setpoint low limit SSL to SSH SSL
D012814E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the block mode is MAN
SH: PV scale high limit
SL: PV scale low limit
SSH: SV scale high limit
SSL: SV scale low limit
MSH: MV scale high limit
MSL: MV scale low limit
SEE ALSO
For a list of valid block modes of the FFSUM block, see the following:
D1.1.4, Valid Block Modes for Each Regulatory Control Block
10th Edition : Dec.18,2003-00
D1-390 <D1.28 Feedforward Signal Summing Block (FFSUM)>
IM 33S01B30-01E
Table Data Items of Feedforward Signal Summing Block (FFSUM) (2/2)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
VN Input compensation value ----- 0.0
RP Ramp constant 0 to (MSH - MSL) MSH - MSL
CK Compensation gain -10.000 to 10.000 1.000
CB Compensation bias ----- 0.000
RMV Remote manipulated output value Value in the same engineering unit as MV MSL
TSW Tracking switch 0, 1 0
PSW Preset MV switch 0, 1, 2, 3 0
RSW Pulse width reset switch 0, 1 0
FSW Fedforward control signal cut switch 0, 1 0
OPHI Output high-limit index MSL to MSH MSH
OPLO Output low-limit index MSL to MSH MSL
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
SH PV scale high limit Value in the same engineering unit as PV -----
SL PV scale low limit Value in the same engineering unit as PV -----
D012815E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
MSH: MV scale high limit
MSL: MV scale low limit
10th Edition : Dec.18,2003-00
<D1.29 Non-Interference Control Output Block (XCPL)> D1-391
IM 33S01B30-01E
D1.29 Non-Interference Control Output Block
(XCPL)
Non-Interference Control Output Block (XCPL) adds output compensation signals to
the feedback control signal the outputs the result.
This block may be applied to add non-interference compensation signals to two
mutually non-interference control loops.
Non-Interference Control Output Block (XCPL)
Connection
Non-Interference Control Output Block (XCPL) adds output compensation signals to the
feedback control signal (manipulated output value) that are received by the IN terminal
from an upstream control loop via cascade connection.
The figure below shows the function block diagram of Non-Interference Control Output
Block (XCPL):
MV
VN
PV
AUT
MAN
INT TSI TIN
OUT IN
(TSW)
(MV, MV)
Output
processing
Signal
addition
SUB
BIN
D012901E.EPS
Figure Function Block Diagram of Non-Interference Control Output Block (XCPL)
The figure below shows an example of mutually non-interacting control using Non-interfer-
ence Control Output Blocks (XCPL):
PID
MV
XCPL
VN
MV
A
PID
MP
VN
XCPL
MV
B
CALC
CALC
D012902E.EPS
Figure Example of Mutually Non-Interference Control Using Non-Interference Control Output
Block (XCPL):
10th Edition : Dec.18,2003-00
D1-392 <D1.29 Non-Interference Control Output Block (XCPL)>
IM 33S01B30-01E
The table below shows the connection methods and connected destinations of the I/O
terminals of the Non-Interference Control Output Block (XCPL):
Table Connection Methods and Connected destinations of the I/O Terminals of Non-Interference
Control Output Block (XCPL):
I/O terminal
Connection method Connection destination
Data
reference
Data
setting
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN FB signal input
OUT Manipulated output
SUB Auxiliary output
BIN
Compensation
input
TIN
Tracking signal
input
TSI Tracking SW input
INT Interlock SW input
D012903E.EPS
: Connection allowed
Blank: Connection not allowed
: Connection allowed only when connecting to a switch block (SW-33, SW-91) or inter-station data link block (ADL).
10th Edition : Dec.18,2003-00
<D1.29 Non-Interference Control Output Block (XCPL)> D1-393
IM 33S01B30-01E
Function of Non-Interference Control Output Block (XCPL)
The XCPL block performs control computation processing, output processing, and alarm
processing.
The only processing timing available for the XCPL block is a periodic 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of output processing and alarm processing possible for the XCPL block, see the following:
D1.1.3, Input Processing, Output Processing, and Alarm Processing Possible for Each Regulatory Con-
trol Block
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Control Computation Processing of Non-Interference Control Output
Block (XCPL)
The table below shows the control computation processing functions of the Non-Interfer-
ence Control Output Block (XCPL):
Table Control Computation Processings of Non-Interference Control Output Block (XCPL)
Control computation processing Description
Non-interference compensation
signal addition
Adjusts the noninteracting compensated value (VN) using the compensation gain (CK) and
compensation bias (CB). The adjusted value is added to the feedback input signal value
(PV) to obtain a manipulated output value (MV).
Control output action
Converts the manipulated output change (MV) during each control period to an actual
manipulated output value (MV). The control output actions available with this function
block are of positional type only.
Control action direction
Switches the increasing/decreasing direction of the manipulated output value (MV) in
accordance with the increase or decrease in the feedback input signal (PB). The control
action direction of this function block is always direct.
Bumpless switching
Switches the manipulated output value (MV) without causing it to change abruptly when
the block mode has been changed or when the manipulated output value (MV) has been
switched in a downstream block in cascade.
Output pushback
Forcibly sets as the feedback input value (PV) the value calculated back from the
manipulated output value (MV). This prevents the manipulated output value (MV) from
change abruptly.
Balance action
Prevents abrupt changes in the manipulated output value (MV) by initializing the balance
term in the manipulated output computational expression.
Initialization manual
Changes the block mode to IMAN to temporarily suspend the control action. This action
takes place when the initialization manual condition becomes satisfied.
MAN fallback
Changes the block mode to MAN to forcibly stop the control action. This action takes
place when the MAN fallback condition becomes satisfied.
Block mode change interlock
Stops the control action of function blocks currently operating automatically, while
disabling the stopped function blocks from changing to the automatic operating mode.
D012904E.EPS
10th Edition : Dec.18,2003-00
D1-394 <D1.29 Non-Interference Control Output Block (XCPL)>
IM 33S01B30-01E
Non-Interference Compensation Signal Addition
The non-interference compensation signal addition function adds the non-interference
compensated value (VN) to the feedback input signal value (PV) to obtain a manipulated
output value (MV) during the automatic (AUT) mode.
PV
VN
CB
MV
CK
+
+
+
+
D012905E.EPS
Figure Non-Interference Compensation Signal Addition Action
The following expression is used to add the non-interference compensated value (VN) to
the feedback input signal value (PV):
MV=PV+CK (VN+CB)+BLn
MV: Manipulated output value
PV: Feedback input signal value
VN: Non-interacting compensated value
CK: Compensation gain
CB: Compensation bias
BLn: Balance term
Input compensation gain (CK): -10.000 to +10.000
The default is 1.000.
The setting can be changed during operation.
Input compensation bias (CB): Arbitrary engineering unit data
The default is 0.
The setting can be changed during operation.
The non-interference compensation value (VN) can be set from other function block via
data setting and also can be input via data reference from the compensation input terminal
BIN. If the compensation input terminal (BIN) is not connected, this value is considered to
the handled via data setting.
For the Non-Interference Control Output Block (XCPL), only the MV scale may be defined.
The process variable (PV) uses the same scale as the manipulated output value (MV).
10th Edition : Dec.18,2003-00
<D1.29 Non-Interference Control Output Block (XCPL)> D1-395
IM 33S01B30-01E
Control Output Action
The control output action converts the manipulated output change (MV) of each control
period to an actual manipulated output value (MV).
The control output action applied in the Non-Interference Control Output Block (XCPL) is
positional type only. The computed result of non-interacting compensation signal addition
is output as a manipulated output value (MV).
Control Action Direction
The control action direction function switches the increasing/decreasing direction of the
manipulated output value (MV) in accordance with the increase or decrease in the feed-
back input signal value (PV).
The manipulated output value (MV) changes in the same direction as the change in the
process variable (PV) in direct action, while the manipulated output value (MV) changes
in the opposite direction to the change in the process variable (PV) in reversed action.
The control output action of the Non-Interference Control Output Block (XCPL) is always
direct action.
10th Edition : Dec.18,2003-00
D1-396 <D1.29 Non-Interference Control Output Block (XCPL)>
IM 33S01B30-01E
Bumpless Switching
The bumpless switching function switches the block mode of the function block or manipu-
lated output value of the downstream block in cascade loop without causing the manipu-
lated output value (MV) to change abruptly (i.e., bumpless change).
The action during bumpless switching varies in accordance with the control output action
and block mode status.
The bumpless switching functions available with the Non-Interference Control Output Block
(XCPL) include:
Output pushback
Balance action
Output Pushback
The output pushback function sets as the feedback input value (PV), the value calculated
back from the manipulated output value (MV).
The following computational expression is used to calculate the manipulated output value
(MV):
PV=MVrb-CK (VN+CB)-BLn
MVrb: MV output destination readback value
BLn: Balance term
In the manual (MAN) or initialization manual (IMAN) mode
BLn=0.0
When output is clamped in the automatic (AUT)
BLn=BLn-1
Output pushback is executed in the following conditions:
In the manual (MAN) mode
When the mode status is initialization manual (IMAN)
When output is clamped in the automatic (AUT) mode
If the calculated value exceeds the PV range, it is limited to the MSH or MSL value.
Using the output pushback function in combination with the output tracking function en-
ables balanceless bumpless transfer of cascade loop.
1. When cascade is open, the output tracking function causes the manipulated output
value (MV) to track data at the output destination.
2. When cascade is closed, the output pushback function back calculates the manipu-
lated output value (MV), and sets the obtained value as the feedback input value (PV).
3. The output value tracking function of the upstream block in cascade causes the output
value of the upstream function block to track the feedback input value (PV).
10th Edition : Dec.18,2003-00
<D1.29 Non-Interference Control Output Block (XCPL)> D1-397
IM 33S01B30-01E
Balance Action
The balance action function adjusts the balance term value when the feedback input value
(PV) changes abruptly during automatic operation in the auto (AUT) or cascade (CAS)
mode, in order to prevent the manipulated output value (MV) from changing abruptly.
The BLn is adjusted by the following computational expression. Using the balance action
prevents the manipulated output value from changing abruptly when the feedback input
value undergoes an abrupt change.
BLn=MVrb-PV-CK (VN+CB)
The Non-Interference Control Output Block (XCPL) executes this balance action when the
feedback control function block connected upstream in cascade issues a warning that the
setpoint value will be bumped.
The following are execution conditions of the balance action:
When a Cascade Signal Distributor Block (FOUT) is connected upstream and the
conditional (CND) status of the upstream output value is canceled
A calculation block that does not provide a balance function is connected upstream
The initialization manual (MAN) mode is canceled while the output pushback value is
being limited to the MSH or MSL value
When the balance action is executed, BLn is moved toward 0 by the ramp constant (RP)
during each of the subsequent scan periods, until it finally reaches 0.
Ramp constant (RP)
Engineering unit data between 0 and the MV scale span range limit.
The default is the MV scale span.
IMPORTANT
Observe the following rules when creating a control system that includes a Non-Interfer-
ence Control Output Block (XCPL):
Always specify velocity type for the control output action of the upstream controller
blocks in cascade.
Specify output limiters or output velocity limiters for the upstream controller blocks
in cascade in such a way that no limiting action will actually take place.
Specify No for the output compensation specification of the upstream controller
blocks in cascade.
To manually control the loop, change the block mode of the Non-Interference Control
Output Block (XCPL) to manual (MAN).
10th Edition : Dec.18,2003-00
D1-398 <D1.29 Non-Interference Control Output Block (XCPL)>
IM 33S01B30-01E
Initialization Manual
The initialization manual is an error processing function that suspends the control action
temporarily by changing the block mode to initialization manual (IMAN). This action takes
place when the initialization manual condition is established.
Characteristics of Initialization Manual
The initialization manual function suspends the control action and control output action
temporarily during the automatic (AUT) mode or other automatic control operation mode
when the initialization manual condition is established, and changes the block mode of the
function block to initialization manual (IMAN).
Because the initialization manual action causes the manipulated output value (MV) to track
the value at the connected destination, even when the initialization manual (IMAN) mode is
changed to manual (MAN), the initialization manual (IMAN) mode will override the manual
(MAN) mode. In other words, any operation to change to the manual (MAN) mode be-
comes invalid.
The block returns to the original mode when the initialization manual condition vanishes.
However, if try to change block mode in the initialization manual (IMAN) mode, the block
only change to that mode when the initialization condition vanishes.
Initialization Manual Condition
The initialization manual condition is a block mode transition condition that suspends the
control action and control output action temporarily by changing the block mode to initializa-
tion manual (IMAN). The initialization manual (IMAN) block mode becomes active only
when the initialization manual condition is established.
The following example shows when the initialization manual condition establishes and
vanishes:
AUT
Initialization manual condition establishes
IMAN (AUT)
Initialization manual condition vanishes
AUT
The initialization manual condition is established in the following situation:
When the data status at the connected destination of the manipulated output value
(MV) is conditional (CND) (i.e., the cascade connection is open).
When the data status at the connected destination of the manipulated output value
(MV) is communication error (NCOM) or output failure (PTPF).
When the connected destination of the manipulated output value (MV) is a switch
block (SW-33, SW-91) and the connection is switched off (i.e., the cascade connec-
tion is open).
When the connected destination of the manipulated output value (MV) is a process
output and a failure or output open alarm is detected in the process output.
The output signal is not a pulse-width output and the data status of the input signal at
the TIN or TSI terminal has become invalid (BAD) during the tracking (TRK) mode.
10th Edition : Dec.18,2003-00
<D1.29 Non-Interference Control Output Block (XCPL)> D1-399
IM 33S01B30-01E
MAN Fallback
The MAN fallback is an error processing function that stops the control and forces the
function block to enter manual operation state. This action takes place when the MAN
fallback condition is established.
Characteristics of Man Fallback
The MAN fallback stops the control by changing the block to manual (MAN) mode regard-
less of the current operation status, and forces the function block to enter manual operation
state.
Once the MAN fallback condition is established, the block mode remains manual (MAN)
even when the condition later vanishes.
MAN Fallback Condition
The MAN fallback condition is used to stop the control by changing the function block to
manual (MAN) mode regardless of the current operation status, and forces the function
block to enter manual operation state. When the MAN fallback condition is established, it
indicates that a fatal error has occurred and requests operator interruption.
The following example shows when the MAN fallback condition is established:
AUTMAN
IMAN (CAS)IMAN (MAN)
The MAN fallback condition is established in the following situation:
When the data status of the feedback input signal (PV) is invalid (BAD).
When the data status of the manipulated output value (MV) is output failure (PTPF).
When the manipulated output value (MV) is connected to a process I/O and the FCS
is having an initial cold start.
When the block mode change interlock condition is established.
When the manipulated output value (MV) is connected to a process I/O, and one of
the I/O points connected to the I/O module has been changed via maintenance.
10th Edition : Dec.18,2003-00
D1-400 <D1.29 Non-Interference Control Output Block (XCPL)>
IM 33S01B30-01E
Block Mode Change Interlock
The block mode change interlock function stops the control computation processing of
function blocks that are operating automatically, while disabling the currently stopped
function blocks from changing to an automatic operation state. This action takes place
when the block mode change interlock condition is established.
Characteristics of Block Mode Change Interlock
Stops the control computation processing of the function blocks that are operating auto-
matically, and disables the currently stopped function blocks from changing to an automatic
operation state. The following actions take place:
The block mode changes to manual (MAN).
Any block mode change command to obtain an automatic operation state (AUT mode)
becomes invalid.
Block Mode Change Interlock Condition
The Block mode change interlock condition is established when the switch at the con-
nected destination of the interlock switch input terminal (INT) is turned ON. This switch is
manipulated in the process control sequence and the switch is turned on when the se-
quence judge that the loop can not run in Auto mode, or etc.,.
10th Edition : Dec.18,2003-00
<D1.29 Non-Interference Control Output Block (XCPL)> D1-401
IM 33S01B30-01E
Data Items - XCPL
Table Data Items of Non-Interference Control Output Block (XCPL)
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (MAN)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- 0
AF Alarm detection specification ----- 0
AOFS Alarm masking specification ----- 0
PV Feedback input signal value Value in the same engineering unit as MV MSL
MV Manipulated output value (*1) MV engineering unit value MSL
MH Manipulated variable high - limit setpoint MSL to MSH MSH
ML Manipulated variable low - limit setpoint MSL to MSH MSL
VN Input compensation value ----- 0.0
RP Ramp constant 0 to (MSH - MSL) MSH - MSL
CK Compensation gain -10.000 to 10.000 1.000
CB Compensation bias ----- 0.000
PMV Preset manipulated output value MSL to MSH MSL
TSW Tracking switch 0, 1 0
PSW Preset MV switch 0, 1, 2, 3 0
RSW Pulse width reset switch 0, 1 0
OPHI Output high-limit index MSL to MSH MSH
OPLO Output low-limit index MSL to MSH MSL
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
D012906E.EPS
Data
Item
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the block mode is MAN
MSH: MV scale high limit
MSL: MV scale low limit
SEE ALSO
For a list of valid block modes of the XCPL block, see the following:
D1.1.4, Valid Block Modes for Each Regulatory Control Block
10th Edition : Dec.18,2003-00
D1-402 <D1.30 Control Signal Splitter Block (SPLIT)>
IM 33S01B30-01E
D1.30 Control Signal Splitter Block (SPLIT)
Control Signal Splitter Block (SPLIT) is capable of distributing the manipulated
output signals from the upstream control loop to two output destinations via a
signal distribution switch. This block may be applied to the loops when split the
upstream signal to multiple downstream control loops with different operation
ranges.
Control Signal Splitter Block (SPLIT)
Connection
Control Signal Splitter Blocks (SPLIT) may be applied to the multiple downstream control
loops with different operation ranges.
The figure below shows the function block diagram of Control Signal Splitter Block (SPLIT):
MV1
RSV
CSV
SW
SV
SET
OUT1
MV2 OUT2
Range
conversion
Range
conversion
1
0
2
3
Signal distribution switch
CAS
RCAS
AUT
CAS
RCAS
D013001E.EPS
Figure Function Block Diagram of Control Signal Splitter Block (SPLIT)
Data setting cannot be performed to the manipulated output values (MV1, MV2) of the
Control Signal Splitter Block (SPLIT).
The table below shows the connection methods and connected destinations of the I/O
terminals of the Control Signal Splitter Block (SPLIT):
Table Connection Methods and Connected Destinations of I/O Terminals of Control Signal
Splitter Block (SPLIT)
I/O terminal
Connection method Connection destination
Data
reference
Data
setting
Terminal
connection
Process
I/O
Software
I/O
Function
block
SET Setting input
OUT1
Manipulated
output 1
OUT2
Manipulated
output 2
D013002E.EPS
: Connection allowed
Blank: Connection not allowed
10th Edition : Dec.18,2003-00
<D1.30 Control Signal Splitter Block (SPLIT)> D1-403
IM 33S01B30-01E
Function of Control Signal Splitter Block (SPLIT)
The SPLIT block performs control computation processing, output processing, and alarm
processing.
The only processing timing available for the SPLIT block is a periodic 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of output processing and alarm processing possible for the SPLIT block, see the following:
D1.1.3, Input Processing, Output Processing, and Alarm Processing Possible for Each Regulatory Con-
trol Block
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Control Computation Processing of Control Signal Splitter Block (SPLIT)
The table below shows the control computation processing functions of the Control Signal
Splitter Block (SPLIT):
Table Control Computation Processing Functions of Control Signal Splitter Block (SPLIT)
Control computation processing Description
Signal distribution with output
destination switching
Obtains two manipulated output values (MV1, MV2) based on the process variable (PV).
Control output action
Converts the manipulated output change (MV) during each control period to an actual
manipulated output value (MV). The control output actions available with this function
block are of positional type only.
MV output action direction
Switches the increasing/decreasing direction of the manipulated output value (MVn) in
accordance with the increase or decrease in the setpoint value (SV). The control action
direction of this function block is set for each output destination.
Setpoint value limiter Limits the setpoint value (SV) within the setpoint high/low limits (SVH, SVL).
Setpoint value pushback Causes two of the three setpoint values (SV, CSV, RSV) to agree with the remaining one.
Bumpless switching
Switches the manipulated output value (MV) without causing it to change abruptly when
the block mode has been changed or when the manipulated output value (MV) has been
switched in a downstream block in cascade.
Balance action
Prevents abrupt changes in the manipulated output value (MV) by initializing the balance
term in the manipulated output computational expression.
Initialization manual
Changes the block mode to IMAN to temporarily suspend the control action. This action
takes place when the initialization manual condition becomes satisfied.
AUT fallback
Changes the block mode to AUT when the function block is operating in the CAS mode,
so that the control action is continued using values set by the operator. This action takes
place when the AUT fallback condition becomes satisfied.
Computer failure
Temporarily suspends the control action and switches to the computer backup mode when
an error has been detected at a supervisory computer while the function block is operating
in the RCAS mode. This action takes place when the computer failure condition becomes
satisfied.
D013003E.EPS
Output Processing Specific to Control Signal Splitter Block (SPLIT)
As part of its output processing, the SPLIT block employs a special output clamp.
10th Edition : Dec.18,2003-00
D1-404 <D1.30 Control Signal Splitter Block (SPLIT)>
IM 33S01B30-01E
Signal Distribution with Output Destination Switching
The figure below shows the control signal splitter action:
MV1
SW
SV
MV2
1
0
2
3
Signal
distribution
switch
Range conversion
(manipulated output
value computation)
Range conversion
(manipulated output
value computation)
D013004E.EPS
Figure Control Signal Splitter Action
Setpoint Value (SV) Range
SV Range
Use the Function Block Detail Builder to set the setpoint value (SV) range:
SV Range high Limit Value:
Specify a numeric value of 7 digits or less, where the sign and decimal point occupy
one digit each
The default is 100.0.
SV Range Low Limit Value:
Specify a numeric value of 7 digits or less, where the sign and decimal point occupy
one digit each
The default is 0.0.
Manipulated Output Value Computation
MVn Operation Range
The Control Signal Splitter Block (SPLIT) gives two manipulated output values (MV1, MV2)
calculated from the process variable (SV). The computational expressions are shown in the
later paragraphs.
In the Function Block Detail Builder, user can preset the SV-based action range for two
manipulated outputs (SRH1, SRL1, SRH2, SRL2), the values defined should be within the
SV range. The figure below shows an example of action ranges:
SRL1 SRL2 SRH1 SRH2
SSL SV SSH
MSL1 MSL2
MSH1 MSH2
MV1 MV2
D013005E.EPS
Figure Control Signal Splitter
10th Edition : Dec.18,2003-00
<D1.30 Control Signal Splitter Block (SPLIT)> D1-405
IM 33S01B30-01E
Use the Function Block Detail Builder to define the manipulated output value computation:
MVn Operation Range:
Specify SRH1, SRL1, SRH2 and SRL2 values within the SV range.
The default for SRH1 and SRH2 is the SV scale high limit (SSH).
The default for SRL1 and SRL2 is the SV scale low limit (SSL).
The two manipulated output values (MV1, MV2) can be obtained by the following expres-
sions when the SV is meaningful:
MVi=CALCi+BLi (n)
When the MV output action direction is direct
CALCi=MSLi+ (SV-SRLi)
MSHi-MSLi
SRHi-SRLi D013006E.EPS
When the MV output action direction is reverse
CALCi=MSHi- (SV-SRLi)
MSHi-MSLi
SRHi-SRLi D013007E.EPS
MVi: Manipulated output (i=1 or 2)
CALCi: Manipulated output computed value
BLi (n): Balance term
SV: Setpoint value
MSHi: MVi scale high limit
MSLi: MVi scale low limit
SRHi: MVi action range high limit
SRLi: MVi action range low limit
10th Edition : Dec.18,2003-00
D1-406 <D1.30 Control Signal Splitter Block (SPLIT)>
IM 33S01B30-01E
Signal Distribution Switch
The normal actions of the Control Signal Splitter Block (SPLIT) consist of computing a
manipulated output value for each output point based on the setpoint value and distributing
signals to both output destinations. However, the signal distribution action can be limited to
a specific output point by operating the signal distribution switch (SW).
The table below shows the signal distribution switch positions and corresponding actions:
Table Signal Distribution Switch Positions and Corresponding Actions:
Switch position (SW) Action
0 Stops signal distribution.
1 Distributes signals to MV1 only.
2 Distributes signals to MV2 only.
3 Distributes signals to both output points.
D013008E.EPS
The value at the manipulated output point that has not been selected by the signal distribu-
tion switch is always caused to agree with the value at the output destination via output
tracking.
Control Output Action
The control output action converts the manipulated output change (MV) of each control
period to an actual manipulated output value (MV). The action to convert a change of the
manipulated output to an actual manipulated output value (MV) is called control output
action. The control output actions available with Control Signal Splitter Block (SPLIT) are
of positional type. The result of manipulated output computation corresponding to the
signal distribution switch position, is output as the manipulated output value (MV).
Control Action Direction
MVn Output Direction
The control action direction function switches the increasing/decreasing direction of a
manipulated output value (MVn) corresponding to the increase or decrease in the setpoint
value (SV).
The manipulated output value (MV) changes in the same direction as the change of the
setpoint variable (SV) is called direct action, while the MV value changing to the reverse
direction to the change of SV is called reverse action.
Use the Function Block Detail Builder as define the control action direction:
MV1 Output Direction/MV2 Output Direction: Select Direct or Reverse
The default is Direct.
10th Edition : Dec.18,2003-00
<D1.30 Control Signal Splitter Block (SPLIT)> D1-407
IM 33S01B30-01E
Setpoint Value Limiter
The setpoint value limiter function limits the setpoint value (SV) within the range between
the setpoint high limit (SVH) and setpoint low limit (SVL), and recognizes the setpoint
values (SV) only within this range as valid.
The action of the setpoint value limiter varies in accordance with the block mode of the
function block.
Actions in Automatic (AUT) Mode
When the block mode of the function block is automatic (AUT) and user is to set the
setpoint value, the setpoint value limiter performs the following actions in accordance with
the situation:
When a value exceeding the setpoint high limit (SVH) is set as the setpoint value (SV)
An acknowledgment dialog box appears to prompt for the operators confirmation.
When confirms, the operator can set a value exceeding the setpoint high limit (SVH).
When a value below the setpoint low limit (SVL) is set as the setpoint value (SV)
An acknowledgment dialog box appears to prompt for the operators confirmation.
When confirms, the operator can set a value below the setpoint low limit (SVL).
Actions in Remote Cascade (CAS) Mode
When the function block is in the remote cascade (RCAS) mode and the remote setpoint
value (RSV) from a supervisory system computer is automatically set as the setpoint value
(SV), the setpoint value limiter performs the following actions:
A value exceeding the setpoint high limit (SVH) is limited to the setpoint high limit
(SVH).
A value below the setpoint low limit (SVL) is limited to the setpoint low limit (SVL).
Set Parameters of Setpoint Value Limiter
The parameters of the setpoint value limiter:
Setpoint high limit (SVH): Engineering unit data within the SV scale range
The default is the scale high limit.
Setpoint low limit (SVL): Engineering unit data within the SV scale range
The default is the scale low limit.
10th Edition : Dec.18,2003-00
D1-408 <D1.30 Control Signal Splitter Block (SPLIT)>
IM 33S01B30-01E
Setpoint Value Pushback
The setpoint value pushback function sets the same value for the three types of setpoint
values (SV, CSV, RSV). The figure below explains the relationship among the setpoint
value (SV), cascade setpoint value (CSV) and remote setpoint value (RSV):
D013009E.EPS
CSV
SV
Input from the SET terminal
Control
computation
CAS
Setpoint value
AUT
RSV
Set from the supervisory computer
RCAS
Figure Relationship among Setpoint Values (SV, CSV and RSV)
The action of the setpoint value pushback varies in accordance with the block mode of the
function block.
Action in Automatic (AUT) Mode
Causes the cascade setpoint value (CSV) and remote setpoint value (RSV) to agree with
the setpoint value (SV). Even when a data value is set to the setpoint value (SV) from
outside the function block, the same value is automatically set to the cascade setpoint
value (CSV) and remote setpoint value (RSV).
Action in Cascade (CAS) Mode
Causes the setpoint value (SV) and remote setpoint value (RSV) to agree with the cascade
setpoint value (CSV).
Action in Remote Cascade (RCAS) Mode
Causes the setpoint value (SV) and cascade setpoint value (CSV) to agree with the remote
setpoint value (RSV).
10th Edition : Dec.18,2003-00
<D1.30 Control Signal Splitter Block (SPLIT)> D1-409
IM 33S01B30-01E
Bumpless Switching
The bumpless switching function switches the block mode of the function block or manipu-
lated output value of the downstream block in cascade loop without causing the manipu-
lated output value (MV) to change abruptly (i.e., bumpless change).
The action during bumpless switching varies with the control output action and block mode
status.
The type of bumpless switching performed by the Control Signal Splitter Block (SPLIT) is
balance action.
The balance action adjusts the balance term value when the feedback input value (PV)
changes abruptly during automatic operation in the auto (AUT) or cascade (CAS) mode, in
order to prevent the manipulated output value (MV) from changing abruptly.
Using the balance action enables bumpless switching of block modes from automatic
(AUT) to cascade (CAS).
The balance action prevents the manipulated output value from changing abruptly when
the operating condition of the plant has changed.
The following computational expression is used to adjust BLi:
BLi (n)=MVRBi-CALCi
BLi (n): Balance term (i=1 or 2)
MVRBi: Manipulated output readback value
CALCi: Manipulated output computed value
The execution conditions of the balance action (switching of operating conditions):
When signal distribution is started after the setting of the signal distribution switch
(SW) has been changed
When the initialization manual condition is canceled during signal distribution
When an initialization request is issued from an upstream block in cascade during
signal distribution
When an initialization request is issued from an output destination function block
during signal distribution
When the balance action is executed, BLi is moved toward 0 by the specified value of
ramp constant (RP) during each of the subsequent scan periods, until it finally reaches 0.
MV1 ramp constant (RP1):
Set engineering unit data between 0 and the MV1 scale span range limit.
The default is the MV1 scale span.
MV2 ramp constant (RP1):
Set engineering unit data between 0 and the MV2 scale span range limit.
The default is the MV2 scale span.
TIP
Initialization requests from upstream blocks are issued automatically.
10th Edition : Dec.18,2003-00
D1-410 <D1.30 Control Signal Splitter Block (SPLIT)>
IM 33S01B30-01E
Initialization Manual
The initialization manual is an error processing function that suspends the control action
temporarily by changing the block mode to initialization manual (IMAN). This action takes
place when the initialization manual condition is established.
Characteristics of the Initialization Manual
The initialization manual function suspends the control action and control output action
temporarily during the automatic (AUT) mode or other automatic control operation mode
when the initialization manual condition is established, and changes the block mode of the
function block to initialization manual (IMAN).
The block returns to the original mode when the initialization manual condition vanishes.
However, if try to change block mode in the initialization manual (IMAN) mode, the block
only change to that mode when the initialization condition vanishes.
10th Edition : Dec.18,2003-00
<D1.30 Control Signal Splitter Block (SPLIT)> D1-411
IM 33S01B30-01E
Initialization Manual Condition
The initialization manual condition is a block mode transition condition that suspends the
control action and control output action temporarily by changing the block mode to initializa-
tion manual (IMAN). The initialization manual (IMAN) block mode becomes active only
when the initialization manual condition is established.
The following example shows when the initialization manual condition establishes and
vanishes:
AUT
Initialization manual condition establishes
IMAN (AUT)
Initialization manual condition vanishes
AUT
The initialization manual condition for the Control Signal Splitter Block (SPLIT) is satisfied
in the following cases:
When SW=1 and the initialization manual condition is established at the connected
destination of the OUT1 terminal.
When SW=2 and the initialization manual condition is established at the connected
destination of the OUT2 terminal.
When SW=3 and the initialization manual condition (same as above) is satisfied at the
connected destinations of the OUT1 and OUT2 terminals.
The initialization manual condition is established in the following situation:
When the data status at the connected destination of the manipulated output value
(MV) is conditional (CND) (i.e., the cascade connection is open).
When the data status at the connected destination of the manipulated output value
(MV) is a communication error (NCOM) or output failure (PTPF).
When the connected destination of the manipulated output value (MV) is a switch
block (SW-33, SW-91) and the cascade connection is switched off (i.e., the cascade
connection is open).
When the connected destination of the manipulated output value (MV) is a process
output and a failure or output open alarm is detected in the process output.
10th Edition : Dec.18,2003-00
D1-412 <D1.30 Control Signal Splitter Block (SPLIT)>
IM 33S01B30-01E
AUT Fallback
The AUT fallback is an error processing function that switches the block mode from cas-
cade (CAS) to automatic (AUT) when the AUT fallback condition is established, and
switches the control action to the one that uses values set by the operator.
Characteristics of the AUT Fallback
Changes the block mode from cascade (CAS) to automatic (AUT) to continue control using
values set by the operator.
Once the AUT fallback condition establishes, the block mode will remain automatic (AUT)
even after the condition later vanishes.
AUT Fallback Condition
The AUT fallback condition is used to change the block mode of the function block from
cascade (CAS) to automatic (AUT) so that control can be continued using values set by the
operator. When this condition is established, it indicates that abnormality has been de-
tected in the cascade setpoint value (CSV) for some reason.
The following example shows when the AUT fallback condition is established:
CASAUT
IMAN (CAS)IMAN (AUT)
Use the Function Block Detail Builder to define whether or not to use the AUT fallback.
AUT Fallback: Select Yes or No.
The default is No.
The AUT fallback condition is established when the AUT fallback is set as Yes via the
Function Block Detail Builder and the data status of the cascade setpoint value (CSV) has
become invalid (BAD) or communication error (NCOM).
10th Edition : Dec.18,2003-00
<D1.30 Control Signal Splitter Block (SPLIT)> D1-413
IM 33S01B30-01E
Computer Fail
When the computer fail is detected, the function block suspends the action in the remote
cascade (RCAS) mode temporarily and switches to the computer backup mode.
Characteristics of Computer Fail
When the function block mode is remote cascade (RCAS), the function block receives the
setpoint value (SV) or manipulated output value (MV) from a supervisory system computer
via control bus communication.
When the computer fails, the block changes mode to the preset computer backup mode
(AUT or CAS) which indicates that an abnormality has been detected in the supervisory
computer. When the computer recovers, the block returns to the mode before the change.
The following actions take place when the computer failure condition exist and a block
mode change command from AUT or CAS to RCAS is sent:
1. When a block mode change command from AUT or CAS to RCAS is sent while the
computer fails (BSW=ON), the function block does not switch to the computer backup
mode directly but switches to the transient state mode first.
The transient state mode is a compound block mode consisting of the block mode
before the execution of the block mode change command (AUT, CAS) and a remote
mode (RCAS).
2. Then the function block tests the computer condition in the first scan after the block
mode change command and switches to the computer backup mode.
The computer backup mode is a compound block mode consisting of the backup
mode set via the Function Block Detail Builder (AUT, CAS) and a remote mode
(RCAS).
3. If the computer recovers while the function block is in the computer backup mode, the
block mode changes to remote cascade (RCAS).
10th Edition : Dec.18,2003-00
D1-414 <D1.30 Control Signal Splitter Block (SPLIT)>
IM 33S01B30-01E
Computer Fail Condition
The computer fail condition is a block-mode transition condition used to suspend actions in
the remote cascade (RCAS) mode and switches the mode to the computer backup mode.
A backup switch (BSW) is provided in function blocks to define the remote cascade (RCAS)
mode. The status of this switch determines whether the computer has failed or recovered.
The value of the backup switch (BSW) can be set from a sequence table or other function
blocks.
Switching to a computer backup mode does not take effect if the backup switch (BSW) is
on a block mode other than remote cascade (RCAS)
When the backup switch BSW=ON, computer has failed
When the backup switch BSW=OFF, computer has recovered
The following example shows when the automatic (AUT) mode has been specified for the
computer backup mode:
RCAS
Computer fails
AUT (RCAS)
Computer recovers
RCAS
Setting Computer Backup Mode
Use the Function Block Detail Builder to define the computer backup mode for each func-
tion block.
Computer Backup Mode:
Select AUT or CAS as the mode to be switched to when the computer becomes
down.
The default is AUT.
10th Edition : Dec.18,2003-00
<D1.30 Control Signal Splitter Block (SPLIT)> D1-415
IM 33S01B30-01E
Output Clamp
The output clamp is a function that limits the manipulated output value (MV) in such a way
that it cannot be changed to a value greater than or less than the current output value. The
status where the manipulated output value (MV) is limited in this way is called the output
clamp status.
In the SPLIT block, the output clamp statuses for manipulated output values MV1 and MV2
respectively are indicated as data status high limit clamp (CLP+) and low limit clamp (CLP-).
The clamp status of the cascade setpoint value (CSV) is as follows:
When SW=0
There is no clamp data status.
When SW=1
When the MV1 output operation is direct, the clamp status is the same as for MV1. For
reverse operation, if MV1 is CLP+ status, then the status is CLP-, if MV1 is CLP-
status, then the status is CLP+.
When SW=2
When the MV2 output operation is direct, the clamp status is the same as for MV2. For
reverse operation, if MV2 is CLP+ status, then the status is CLP-, if MV2 is CLP-
status, then the status is CLP+.
When SW=3
If output operation is direct and both MV1 and MV2 are CLP+ status, or if output
operation is reverse and MV1, MV2 are CLP- status, then the status becomes CLP+.
Or, if the output operation is direct and both MV1 and MV2 are CLP- status, or if the
output operation is reverse and MV1, MV2 are CLP+, then the status becomes CLP-.
SEE ALSO
For details on the output clamp, see the following:
C4.3, Output Clamp
10th Edition : Dec.18,2003-00
D1-416 <D1.30 Control Signal Splitter Block (SPLIT)>
IM 33S01B30-01E
Data Items - SPLIT
Table Data Items of Control Signal Splitter Block (SPLIT)
Data Item Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
SV Setpoint value SV engineering unit value SSL
CSV Cascade setpoint value Value in the same engineering unit as SV SSL
RSV Remote setpoint value (*1) Value in the same engineering unit as SV SSL
MV1 Manipulated output value 1 MV1 engineering unit value MSL1
MV2 Manipulated output value 2 MV2 engineering unit value MSL2
SVH Setpoint high limit SSL to SSH SSH
SVL Setpoint low limit SSL to SSH SSL
RP1 MV1 ramp constant 0 to (MSH1 - MSL1) MSH1 - MSL1
RP2 MV2 ramp constant 0 to (MSH2 - MSL2) MSH2 - MSL2
SW Signal distributor switch 0, 1, 2, 3 0
BSW Backup switch 0, 1 0
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
D013010E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the block mode is RCAS
SSH: SV scale high limit
SSL: SV scale low limit
MSHn: MVn scale high limit
MSLn: MVn scale low limit
SEE ALSO
For a list of valid block modes of the SPLIT block, see the following:
D1.1.4, Valid Block Modes for Each Regulatory Control Block
10th Edition : Dec.18,2003-00
<D1.31 Representative Alarm Block (ALM-R)> D1-417
IM 33S01B30-01E
D1.31 Representative Alarm Block (ALM-R)
Representative Alarm Block (ALM-R) manages the alarms initiated from up to 16
function blocks. This block may be applied to inhibit the unnecessary alarm notifica-
tions from the function blocks.
Representative Alarm Block (ALM-R)
Representative Alarm
The Representative Alarm Block (ALM-R) controls alarms initiated from up to 16 function
blocks. The block has function to activate or inhibit the alarms sent from other function
blocks.
The figure below shows the function block diagram of Representative Alarm Block (ALM-
R):
ALRM
SW
SV Input masking
Alarm
priority
masking
Q01 Q02 Q16
Function
block 1
Function
block 16
Function
block 2
Representative alarm
Alarm masking command
D013101E.EPS
Figure Function Block Diagram of Representative Alarm Block (ALM-R)
The table below shows the connection methods and connected destinations of the I/O
terminals of the Representative Alarm Block (ALM-R):
Table Connection Methods and Connected destinations of the I/O Terminals of Representative
Alarm Block (ALM-R):
I/O terminal
Connection method Connection destination
Data
reference
Data
setting
Terminal
connection
Process
I/O
Software
I/O
Function
block
Q01 to Q16 Alarm input (*1)
D013102E.EPS
: Connection allowed
Blank: Connection not allowed
*1: Connection allowed to any input terminal only when specifying an annunciator message to a software I/O.
10th Edition : Dec.18,2003-00
D1-418 <D1.31 Representative Alarm Block (ALM-R)>
IM 33S01B30-01E
Function of Representative Alarm Block (ALM-R)
The ALM-R block performs only alarm processing.
The only processing timing available for the ALM-R block is a periodic 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of alarm processing possible for the ALM-R block, see the following:
D1.1.3, Input Processing, Output Processing, and Alarm Processing Possible for Each Regulatory Con-
trol Block
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Alarm Input Specification
The targets of a maximum of 16 alarm inputs that can be controlled by a Representative
Alarm Block (ALM-R):
Alarm status of function blocks
Annunciator messages
To specify an alarm input controlled by the representative alarm, use the Function Block
Detail Builder to specify a tag name for the corresponding function block or annunciator
message.
Each function block has a number of alarm items. The alarm processing range, i.e.,
whether all alarm items of a function block are regarded as input targets or only some of
them are regarded, can be specified for each input terminal. The alarm processing range
specification is determined by the priority level of the alarm.
Specify one of the following four types of alarm processing ranges for each input terminal:
Range setting Target alarms
Full alarm All alarms
Medium-priority alarm or lower Alarms excluding high-priority alarms
Low-priority alarm or lower Alarms excluding high- and medium-priority alarms
Logging alarm or lower Alarms excluding high-, medium- and low-priority alarms
D013103E.EPS
Those alarms excluded from the alarm processing range cannot be controlled collectively
by the Representative Alarm Block (ALM-R). Individual alarms of the annunciator mes-
sages or function blocks that are specified as input targets of the Representative Alarm
Block (ALM-R) are notified via the block. Alarm notifications issued directly to operation and
monitoring functions are masked. However, the target of this alarm masking is limited by
priority masking
10th Edition : Dec.18,2003-00
<D1.31 Representative Alarm Block (ALM-R)> D1-419
IM 33S01B30-01E
Representative Alarm Processing
The Representative Alarm Block (ALM-R) checks the status of all alarm inputs and deter-
mines its own alarm status (representative alarm) based on the alarm of the highest priority.
The table below shows the alarm statuses of the Representative Alarm Block (ALM-R):
Table Table of Alarm Statuses of Representative Alarm Block (ALM-R)
Alarm status Name
NR Normal
HALM High-priority alarm present
MALM Medium-priority alarm present
LALM Low-priority alarm present
RALM Logging alarm present
CNF Connection failure alarm
D013104E.EPS
For example, if the most important alarm among all alarms present is a medium-priority
alarm, the alarm status becomes medium-priority alarm present (MALM).
When the status of this representative alarm changes, a process alarm message is initiated
for output.
The alarm masking function is also effective on representative alarms. For example, if a
Representative Alarm Block (ALM-R) is specified as an input source of another Represen-
tative Alarm Block (ALM-R), the representative alarm of the input source can be masked.
Using this method, a nested alarm filtering system can be configured.
The alarm detection specification of the Representative Alarm Block (ALM-R) is always
fixed to detection Yes for all alarms shown in the Table of Alarms of Representative Alarm
Block (ALM-R) except connection failure alarms.
By the input masking function explained in the following page, certain alarm inputs of the
Representative Alarm Block (ALM-R) may be excluded from the targets of above represen-
tative alarm processing.
10th Edition : Dec.18,2003-00
D1-420 <D1.31 Representative Alarm Block (ALM-R)>
IM 33S01B30-01E
Input Masking
The input masking function specifies by the setpoint value (SV), which input points are and
are not regarded as a target of representative alarm processing among the 16 alarm input
points connected to the input terminals.
Input masking is performed by setting as setpoint value (SV), an input masking pattern
represented by a numeric value between 0 and 15. The setpoint value (SV) can be
changed via setting from operation and monitoring functions or other function block.
The table below shows the setpoint values (input masking patterns) and corresponding
targets of representative alarm processing:
Table Setpoint Values and Corresponding Targets of Representative Alarm Processing
SV Target of representative alarm processing
0 No input is regarded as a target of representative alarm processing
1 All inputs are regarded as targets of representative alarm processing
2 to 15 Defined by the user
D013105E.EPS
When the setpoint value (SV) is 2 through 15, the targets of representative alarm process-
ing can be defined using the Function Block Detail Builder. Define the targets for each of
the Representative alarm blocks (ALM-R) used, by the following methods:
Table Table of Input Masking Patterns
Input point
SV
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
1 . Y
Defined by the user
Y or N or .
2 . Y
3 . Y
4
.
Y
16
.
Y
D013106E.EPS
Specify Y, N or . for each entry column in the table of input masking patterns, where
the X axis and Y axis represent the setpoint value (SV) and input point, respectively. Y, N
and . have the following meanings:
Y: Regarded as a target of representative alarm processing.
N: Not regarded as a target of representative alarm processing.
Alarm of the input source are unmasked.
. : Not regarded as a target of representative alarm processing.
The alarm masking status of alarms at the input source is not manipulated at all.
Note that when the specification changes from Y to . following a change in the setpoint
value (SV), the current alarm masking status is held as is.
After the specification of an input point is changed from Y to ., alarm notifications will no
longer be transmitted from the function block corresponding to the input point or from the
Representative Alarm Block (ALM-R).
When the alarm masking status at the connected destination of an input terminal is
changed from unmasked to masked, the first alarm that occurs at this connected destina-
tion after the change will not be masked. Therefore, caution should be exercised when
changing the input masking pattern from N to Y, from N to ., or from . to Y.
10th Edition : Dec.18,2003-00
<D1.31 Representative Alarm Block (ALM-R)> D1-421
IM 33S01B30-01E
Priority Masking
The priority masking function specifies the range of alarm masking via the priority masking
switch (SW) for each alarm of the annunciator message and function block that is con-
nected to a terminal of the Representative Alarm Block (ALM-R).
Priority masking targets the alarms included in the alarm processing range.
Specification of Priority Masking
Priority masking is specified by setting a numeric value between 0 and 5 for the priority
masking switch. The table below shows the priority masking switch (SW) values and
corresponding alarm masking actions:
Table Priority Masking Switch Values and Alarm Masking Actions
SW Name Action
0 No masking Does not manipulate the alarm masking status at all.
1
Full alarm masking Performs alarm masking (AOF) to all alarms at once.
2 Medium-priority alarm masking
Masks medium-priority alarms and alarms of lower priorities.
Only high-priority alarms are not masked.
3 Low-priority alarm masking
Masks low-priority alarms and alarms of lower priorities.
High- and medium-priority alarms are not masked.
4 Logging alarm masking
Masks logging alarms and alarms of lower priorities.
High-, medium- and low-priority alarms are not masked.
5 Dynamic masking
Masks the alarms whose priority is lower than that of the
highest-priority alarm currently occurred in the connected function block.
Only the alarm of the highest priority at the moment is not
masked.
D013107E.EPS
Among all alarms at the alarm inputs of the Representative Alarm Block (ALM-R), those of
the priority (priority level) specified by the value of the priority masking switch (SW) or lower
will be masked. In case of priority mask, all the alarms of the connected function block with
lower level than the alarm of the highest priority level occurred so far will be masked.
The priority masking switch (SW) can be changed by the operator or via setting operation
from other function block.
10th Edition : Dec.18,2003-00
D1-422 <D1.31 Representative Alarm Block (ALM-R)>
IM 33S01B30-01E
When the setting of the priority masking switch (SW) is changed, any changes in the alarm
masking status will be limited by the priorities that are included in the alarm processing
range specified by the builder. The table below shows alarm masking ranges for different
combinations of the alarm processing range specification and SW setting:
Table Alarm Masking Ranges
SW
Alarm processing range specification by the builder
Full alarm
Medium-priority alarm
or lower
Low-priority alarm or lower Logging alarm or lower
0 Alarm masking status is not manipulated at all.
1 Full alarm
Medium-priority alarm or
lower
Low-priority alarm or lower
Logging alarm or lower
2
Medium-priority alarm or
lower
3 Low-priority alarm or lower Low-priority alarm or lower
4 Logging alarm or lower Logging alarm or lower Logging alarm or lower
5 (*1) (*2) (*3) (*4)
D013108E.EPS
*1: The alarm masking range covers those alarms occurred in the connected function block whose priority is lower than
that of the most important alarm currently present.
*2: The alarm masking range covers those alarms occurred in the connected function block whose priority is lower than
that of the most important alarm currently present among medium-priority alarms and alarms of lower priorities.
*3: The alarm masking range covers those alarms occurred in the connected function block whose priority is lower than
that of the most important alarm currently present among low-priority alarms and alarms of lower priorities.
*4: The alarm masking range covers those alarms occurred in the connected function block whose priority is lower than
that of the most important alarm currently present among logging alarms and alarms of lower priorities.
10th Edition : Dec.18,2003-00
<D1.31 Representative Alarm Block (ALM-R)> D1-423
IM 33S01B30-01E
Action Example of Priority Masking
The figure below shows an example of how the alarm masking status changes during
priority masking when dynamic masking (SW=5) is specified:
HH (high-priority alarm)
HI (medium-priority alarm)
DEV (low-priority alarm)
D013109E.EPS
Alarm masking status
Legend
Figure Action of Dynamic Masking (SW=5)
In this example, the builder-specified alarm range is assumed to be All alarms. The figure
is based on a scenario in which a high-priority alarm, medium-priority alarm and low-priority
alarm have occurred simultaneously at a function block controlled by the Representative
Alarm Block (ALM-R), to depict how the alarm masking status changes, or how the alarm
status is recovered in the order of higher to lower priority alarms.
Among all alarms present, only the alarm of the highest priority is not subject to masking.
Dynamic masking checks the priority level of alarms in each function block. For an ex-
ample, if a function block is sending an alarm with high priority level, the new alarms with
lower levels will be masked. While if another function block connected in the same ALM-R
is in normal status, an new alarm with medium level sent from this block will not be masked.
So that it is useful to used dynamic masking for handling alarms with multiple priority levels.
Inhibiting Alarm of Connected Function Block
The alarms of a function block that connected to ALM-R can be inhibited by changing the
state of the priority level switch (SW) on ALM-R block.
No masking (SW=0)
The current alarm masking status of the input source is held.
This also applies to the action of specifying N by switching the setpoint value (SV).
Although the alarms for which N is specified are normally unmasked, they are not
unmasked if the SW value is 0.
Dynamic masking (SW=5)
The alarm masking status of the input source is set every period in accordance with
the alarm occurrence status.
Other masking (SW=1, 2, 3, 4)
The alarm masking status of the input source is set only when the setting of the priority
masking switch (SW) or SV has been changed.
In some cases the alarm masking status of a function block controlled by the Representa-
tive Alarm Block (ALM-R) may not be changed directly from operation and monitoring
functions or via other means.
10th Edition : Dec.18,2003-00
D1-424 <D1.31 Representative Alarm Block (ALM-R)>
IM 33S01B30-01E
IMPORTANT
During on-line maintenance, merely changing the alarm processing level of the tag as-
signed to a connected destination of the Representative Alarm Block (ALM-R) does not
make the Representative Alarm Block (ALM-R) a target of on-line loading. In this case,
discrepancies may occur between the Representative Alarm Block (ALM-R) and the
connected destination block, causing actions to become unstable. Specify the representa-
tive alarm itself as a target of on-line loading, as well.
Data Items - ALM-R
Table Data Items of Representative Alarm Block (ALM-R)
Data Item Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (MAN)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- 0
AF Alarm detection specification ----- 0
AOFS Alarm masking specification ----- 0
SV Setpoint value 0 to 15 1
SW Priority masking switch 0, 1, 2, 3, 4, 5 0
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
D013110E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
SEE ALSO
For a list of valid block modes of the ALM-R block, see the following:
D1.1.4, Valid Block Modes for Each Regulatory Control Block
10th Edition : Dec.18,2003-00
<D1.32 Pulse Count Input Block (PTC)> D1-425
IM 33S01B30-01E
D1.32 Pulse Count Input Block (PTC)
Pulse Count Input Block (PTC) counts process values that are products of pulse
signals multiplied by the pulse conversion coefficient. This block may be applied to
count process values obtained by multiplying the input pulse signals by pulse
conversion coefficient.
Pulse Count Input Block (PTC)
Connection
Pulse Count Input Block (PTC) counts process values that are products of pulse signals
multiplied by the pulse conversion coefficient. In addition, the Pulse Count Input Block
(PTC) has a preset counter function.
Counting operations of the counter, such as issuing of reset and hold commands, are
performed from a sequence control block, calculation block or other function blocks. The
block status that indicates the action status can be referenced from other function blocks.
The figure below shows the function block diagram of Pulse Count Input Block (PTC):
RMV
DL
PH
CTUP
PALM
PV
HSW
IN OUT
-
Input
processing
Count
processing
D013201E.EPS
Figure Function Block Diagram of Pulse Count Input Block (PTC)
The table below shows the connection methods and connected destinations of the I/O
terminals of the Pulse Count Input Block (PTC):
Table Connection Methods and Connected Destinations of I/O Terminals of Pulse Count Input
Block (PTC):
I/O terminal
Connection method Connection destination
Data
reference
Data
setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN
Measurement
input
OUT
Manipulated
output
D013202E.EPS
: Connection allowed
Blank: Connection not allowed
: Connection allowed only when connecting to a switch block (SW-33, SW-91) or inter-station data link block (ADL).
10th Edition : Dec.18,2003-00
D1-426 <D1.32 Pulse Count Input Block (PTC)>
IM 33S01B30-01E
Function of Pulse Count Input Block (PTC)
The PTC block performs input processing, control computation processing (count process-
ing), output processing, and alarm processing.
The only processing timing available for the PTC block is a periodic 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the PTC block,
see the following:
D1.1.3, Input Processing, Output Processing, and Alarm Processing Possible for Each Regulatory Con-
trol Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Input Processing Specific to Pulse Count Block (PTC)
The PTC block performs special input signal conversions.
Control Computation Processing of Pulse Count Block (PTC)
The PTC block performs count processing as its control computation processing. The
count processing contains the following functions.
Counter update operation
Preset counter function
Pause operation
Restart operation
Output Processing Specific to Pulse Count Block (PTC)
The PTC block performs special output signal conversions.
10th Edition : Dec.18,2003-00
<D1.32 Pulse Count Input Block (PTC)> D1-427
IM 33S01B30-01E
Input Signal Conversion of Pulse Count Input Block (PTC)
Pulse Conversion Factor
The input signal conversion for the Pulse Count Input Block (PTC) counts the increments of
integrated pulse count values (P) read from the input connection terminal then multiply it by
the pulse conversion factor to convert it into count value (PV).
The following is the computational expression for the count value (PV):
PVn = Pfactor (Pn - Pn-1)+PVn-1
P: Integrated pulse count value
Pfactor: Pulse conversion factor
PV: Count value, decimal-point notation is valid, the value returns to 0 when exceeding 8 digits.
The subscripts n and n-1 indicate the number of sampling scan periods.
The setup for the pulse conversion factor can be executed on the Function Block Detail
Builder.
Pulse Conversion Factor: Within the range between 0.001 to 1000
The default setting is 1.
10th Edition : Dec.18,2003-00
D1-428 <D1.32 Pulse Count Input Block (PTC)>
IM 33S01B30-01E
Counter Updating Operation
When a counter reset command is received, counting is started after the counter value
(PV) is reset to 0. Counter reset command is issued by setting the reset command switch
(data item: RST) to 1 from operation and monitoring functions or a sequence control
block. The reset command switch (RST) automatically returns to 0 when the reset com-
mand is executed.
When a counter reset command is received, the block status changes to normal (NR).
When counting, PV is updated every scan period.
PV
PH
DL
CTUP PALM PALM NR NR
Reset
command
Reset
command
Block
status
D013203E.EPS
Figure Basic Pulse Counting Action
10th Edition : Dec.18,2003-00
<D1.32 Pulse Count Input Block (PTC)> D1-429
IM 33S01B30-01E
Preset Counter Function
The preset counter function notifies when the count value (PV) has reached the preset
number.
Besides this count-up completed notification function based on the presetpoint (PH), the
Pulse Count Input Block (PTC) also has the pre-alarm function by which a warning is
issued before the presetpoint is reached.
When the block mode is automatic (AUT), the block status changes to pre-alarm (PALM) or
count-up completed (CTUP) when the following conditions are satisfied:
Pre-alarm (PALM) status
0DVDL
DV=PH-PV
DV: Remaining count value
DL: Pre-alarm setpoint (8 digits)
PH: Presetpoint (8 digits)
PV: Count value
Count-up completed (CTUP) status
PH-PV0
PH: Presetpoint (8 digits)
PV: Count value
The pre-alarm (PALM) status and count-up completed (CTUP) status are mutually exclu-
sive. When DV=0, the pre-alarm (PALM) status is canceled and changes to count-up
completed (CTUP).
When the setting is DL=0, the status will never become pre-alarm (PALM).
The setting of PH and DL can be changed during operation as set parameters.
The count value continues to be updated even after the count-up completed (CTUP) status
is obtained. When the count value exceeds 8 digits, PV changes to 0 and the block status
returns to normal (NR) before counting is continued.
10th Edition : Dec.18,2003-00
D1-430 <D1.32 Pulse Count Input Block (PTC)>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Pause Operation
A pause command is issued by setting the hold command switch (data item: HSW) to 1
from operation and monitoring functions or via other function blocks such as a sequence
control block or calculation block. When a pause command is received, the counter action
stops temporarily. The counter value and other data are held during the pause. The current
block status of normal (NR), pre-alarm (PAL) or count-up completed is held, while a new
pause (PAUS) status is added. The block status display on the operation and monitoring
functions shows only the pause (PAUS) status that has a higher priority.
When a counter reset command is received in a pause (PAUS) state, the count value is
reset to 0 and the currently held block status (NR, PALM or CTUP) is changed to NR.
The figure below shows an example of pause/restart actions of the pulse-count block:
PH
DV
PV
DL
NR
PAUS PAUS
PALM CTUP NR
Block status
Operation command Pause
command
Pause
canceled
Pause
command
Reset
command
Pause
canceled
D013204E.EPS
Figure Example of Pause/Restart Actions of the Pulse-Count Block
Restart Operation
The pause command is canceled by setting 0 for the hold command switch (data item:
HSW). When the pause command is canceled, the count action currently in pause (PAUS)
is resumed. The pause (PAUS) status is removed from the block status, and the original
status that has been saved is recovered. Updating of the count value resumes from the
value that has been held.
Output Signal Conversion of the Pulse Count Input Block (PTC)
In the Pulse Count Input Block (PTC), a processing specific to the PTC Block takes place
when it is connected in sequence connection.
If the output terminal is defined to the manipulation of sequence connection status, then its
status can be manipulated according to the block status of the PTC Block.
Table Description of Manipulation for Each Block Status
Block status Description of manipulation
CTUP plus NOT PAUS Status manipulation for the logical value true is executed.
(NR or PALM) plus NOT PAUS Status manipulation for the logical value false is executed.
PAUS Not valid
D013206E.EPS
<D1.32 Pulse Count Input Block (PTC)> D1-431
IM 33S01B30-01E
Data Items - PTC
Table Data Items of Pulse Count Input Block (PTC)
Data Item Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (MAN)
BSTS Block status ----- NR
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- 0
AF Alarm detection specification ----- 0
AOFS Alarm masking specification -----
-----
-----
0
PV Count value SL
PH Presetpoint SH
DV Remaining count value ----- -----
DL Pre-alarm setpoint ----- 0
PL PV initial value 0 0
RST Reset command switch 0, 1 0
HSW Hold command switch 0, 1 0
SH PV scale high limit Value in the same engineering unit as PV -----
SL PV scale low limit Value in the same engineering unit as PV -----
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
D013205E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
SEE ALSO
For a list of valid block modes of the PTC block, see the following:
D1.1.4, Valid Block Modes for Each Regulatory Control Block
Block Status of Pulse Count Input Block (PTC)
Table Block Status of Pulse Count Input Block (PTC)
Level
Block Status
Description
Symbol Name
2 PAUS
1
CTP
PALM
NR
Pause
Count Up
Pre-Alarm
Normal
Pauses pulse counter
Counter reaches a preset value
Counter reaches Pre Count Up.
Counting or CTUP, PALM not active.
D013207E.EPS
10th Edition : Dec.18,2003-00
D1-432 <D1.33 Control Operations of YS Blocks>
IM 33S01B30-01E
D1.33 Control Operations of YS Blocks
The YS80/YS100 communication blocks (hereinafter referred to as YS blocks) are
function blocks designated to act as gateways for displaying the faceplate of the
YS100 SERIES/YEWSERIES 80/YEWSERIES BCS electronic control systems (herein-
after referred to as YS instruments) via the operation and monitoring function of the
HIS. The YS instruments are connected via the ALR121 modules of the KFCS2/
KFCS, via the ACM12 modules of the PFCS/LFCS2/LFCS/SFCS (RS-422/RS-485
communication modules) or the LCS (loop communication card) of the migrated
FCS (RFCS5, RFCS2). Function block models, such as SLCD and SLPC, are avail-
able for respective YS instruments.
YS Block Functions
The YS block offers the following functions:
Operation and monitoring of YS instruments from the HIS
Operates and monitors YS instruments via the YS block.
Cascade control of YS instruments and FCS function blocks
By using the SET terminal of the YS block, a cascade loop can be created for the FCS
of the function block and the YS instruments, which are used as a slave loop.
Similar to the faceplate block, the YS block has no special control algorithm. This function
block simply sends and receives data to/from the YS instruments connected to it.
The YS block is used to operate and monitor YS instruments from the HIS, or to control
them from an FCS or supervisory computer.
Correspondence between Function Block Models and YS Instruments
See the table below to select the applicable YS block according to the YS instrument to be
connected.
Table YS Block Model List
Function Block
Model
SLCD SLCD
SLPC SLPC
SLMC SLMC
SMST-111 SMST-111
D013301E.EPS
SMST-121 SMST-121
SMRT SMRT
SBSD SBSD
SLBC SLBC
SLCC SLCC
STLD STLD
YS170 User-programmable mode
YS150,
YS170 User-selectable multifunction mode
YS135
YS136
Corresponding
YS80 Instrument
Connected to ALR121
Corresponding
YS BCS Instrument
YS170, YS150
YS135
YS136
Connected via
SICU
Corresponding YS Instrument
10th Edition : Dec.18,2003-00
<D1.33 Control Operations of YS Blocks> D1-433
IM 33S01B30-01E
D1.33.1 Applying YS Blocks
The YS block is a function block operating on the FCS. YS instruments can be oper-
ated and monitored from the HIS via the YS block on the FCS.
Positioning of the YS Block within the System
Similarly to other function blocks, the YS block is generated with a tag name via the Engi-
neering function and is executed periodically on the FCS. It can also be connected with
other function blocks. The HIS displays the YS blocks process data or parameters, such as
PV, SV, and MV. This allows for indirect operation and monitoring of YS instruments via the
YS block.
The figure below shows the positioning of the YS block within the system.
YS instrument
PID
YS block
HIS Operation and Monitoring Window
IN
OUT
SET
FCS
SW-33
SW-91
DSW-16
DSW-16C
DSET
DSET-PVI BARPSb
BDSET-1L
BDSET-1C
BDSET-2L
BDSET-2C
BDA-L
BDA-C
ADL
D020309E.EPS
B: No conversion (function block)
A: No conversion (analog input)
R: Square root conversion (analog input)
P: Control priority type pulse-train input conversion
Pq: Exact totalization type pulse-train input conversion
Sb: Subsystem input
: Exists
Blank: Not exist
10th Edition : Dec.18,2003-00
D2-14 <D2.3 Types of Calculation Blocks>
IM 33S01B30-01E
Output Processing Possible in Each Calculation Block
Table Output Processing Possible in Each Calculation Block (1/2)
Type
Output
limit
Velocity
limit
Clamped
output
PMV
Output
track
Range
track
Auxiliary
output
Output signal
conversion
ADD (*2) CCd BASb
MUL (*2) CCd BASb
DIV (*2) CCd BASb
AVE (*2) CCd BASb
AQRT (*1) (*2) CCd BASb
EXP (*1) (*2) CCd BASb
LAG (*1) (*2) CCd BASb
INTEG (*1) (*2) CCd BASb
LD (*1) (*2) CCd BASb
RAMP (*2) CCd BASb
LDLAG (*1) (*2) CCd BASb
DLAY (*1) (*2) CCd BASb
DLAY-C (*1) (*2) CCd BASb
AVE-M (*2) CCd BASb
AVE-C
(*1)
(*2) CCd BASb
FUNC-VAR (*2) CCd BASb
TPCFL (*2) CCd BASb
ASTM1 (*2) CCd BASb
ASTM2 (*2) CCd BASb
D020310E.EPS
Logical
Calculation
Blocks (*3)
(*2) CCd BASb
C: CPV
Cd: CPV
B: Unconverted output (function block)
A: Analog output
Sb: Subsystem output
*1: Only tracking of the CLP status of the output destination is performed.
*2: Selectable by builder setting.
*3: The logical calculation blocks contain the following models. The logical calculation blocks are available only in
CS 3000 system. If the connection method of an output terminal is "status manipulation," the operation specification
defined for the output terminal is executed.
AND, OR, NOT, SRSI-S, SRS1-R, SRS2-S, SRS2-R, WOUT, OND, OFFD, TON, TOFF, GT, GE, EQ, BAND, BOR,
BNOT
10th Edition : Dec.18,2003-00
<D2.3 Types of Calculation Blocks> D2-15
IM 33S01B30-01E
Table Output Processing Possible in Each Calculation Block (2/2)
Type
Output
limit
Velocity
limit
Clamped
output
PMV
Output
track
Range
track
Auxiliary
output
Output signal
conversion
CALCU (*1) CCd BASb
CALCU-C (*1) CCd BASb
SW-33
SW-91
DSW-16 BASb
DSW-16C
DSET BASb
DSET-PVI CCdSSd BASb
DSET-1L
DSET-1C
DSET-2L
DSET-2C
BDA-L
BDA-C
D020311E.EPS
C: CPV
Cd: CPV
S: SV
Sd: SV
B: Unconverted output (function block)
A: Analog output
Sb: Subsystem output
*1: Possible if explicitly input using computational expression
10th Edition : Dec.18,2003-00
D2-16 <D2.3 Types of Calculation Blocks>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Alarm Processing Possible in Each Calculation Block
Table Alarm Processing Possible in Each Calculation Block (1/3)
Code
Common process alarms
Other alarms
N
R
O
O
P
I
O
P
I
O
P
-
H
H
L
L
H
I
L
O
D
V
+
D
V
-
V
E
L
+
V
E
L
-
M
H
I
M
L
O
C
N
F
ADD
MUL
DIV
AVE
SQRT
EXP
LAG
INTEG
LD
RAMP
LDLAG
DLAY
DLAY-C
AVE-M
AVE-C
FUNC
FUNC-VAR
TPCFL
ASTM1
ASTM2
D020312E.EPS
: Available
Blank: Not available
<D2.3 Types of Calculation Blocks> D2-17
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Table Alarm Processing Possible in Each Calculation Block (2/3)
Code
Common process alarms
Other alarms
N
R
O
O
P
I
O
P
I
O
P
-
H
H
L
L
H
I
L
O
D
V
+
D
V
-
V
E
L
+
V
E
L
-
M
H
I
M
L
O
C
N
F
AND
OR
NOT
SRS1-S
SRS1-R
SRS2-S
SRS2-R
WOUT
OND
OFFD
TON
TOFF
GT
GE
EQ
BAND
BOR
BNOT
D020313E.EPS
: Available
Blank: Not available
D2-18 <D2.3 Types of Calculation Blocks>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Table Alarm Processing Possible in Each Calculation Block (3/3)
Code
Common process alarms
Other alarms
N
R
O
O
P
I
O
P
I
O
P
-
H
H
L
L
H
I
L
O
D
V
+
D
V
-
V
E
L
+
V
E
L
-
M
H
I
M
L
O
C
N
F
CALCU
CERR
CALCU-C
SW-33
SW-91
DSW-16
DSW-16C
DSET
DSET-PV1
BDSET-1L
BDSET-1C
BDSET-2L
BDSET-2C
BDA-L
BDA-C
D020314E.EPS
: Available
Blank: Not available
<D2.3 Types of Calculation Blocks> D2-19
IM 33S01B30-01E
D2.3.2 Valid Block Modes for Each Calculation Block
A list of valid block modes for each calculation block is shown below.
Valid Block Modes for Each Calculation Block
Table Valid Basic Block Modes for Calculation Blocks (1/3)
Type Name of function block
Valid basic block modes
O
/
S
I
M
A
N
T
R
K
M
A
N
A
U
T
C
A
S
P
R
D
R
C
A
S
R
O
U
T
ADD Addition block
- - - - - - -
MUL Multiplication block
DIV Division block
AVE Average block
SQRT Square root block
EXP Exponential block
LAG First-order lag block
INTEG Integration block
LD Derivative block
RAMP Ramp block
LDLAG Lead/lag block
DLAY Dead time block
DLAY-C Dead time compensation block
AVE-M Moving average block
AVE-C Cumulative average block
FUNC-VAR Variable line-segment function block
TPCFL Temperature and pressure correction block
ASTM1 ASTM correction block:Old JIS
ASTM2 ASTM correction block:New JIS
D020315E.EPS
: Valid
-: Invalid
10th Edition : Dec.18,2003-00
D2-20 <D2.3 Types of Calculation Blocks>
IM 33S01B30-01E
Table Valid Basic Block Modes for Calculation Blocks (2/3)
Type Name of function block
Valid basic block modes
O
/
S
I
M
A
N
T
R
K
M
A
N
A
U
T
C
A
S
P
R
D
R
C
A
S
R
O
U
T
AND (*1) Logic product block
- - - - - - -
OR (*1) Logic sum block
NOT (*1) Negation block
SRS1-S (*1) Set-dominant flip-flop block with 1 output
SRS1-R (*1) Reset-dominant flip-flop block with 1 output
SRS2-S (*1) Set-dominant flip-flop block with 2 outputs
SRS2-R (*1) Reset-dominant flip-flop block with 2 outputs
WOUT (*1) Wipeout block
OND (*1) On-delay timer block
OFFD (*1) Off-delay timer block
TON (*1) Rise trigger block
TOFF (*1) Fall trigger block
GT (*1) Greater than operator block
GE (*1) Greater than or equal to operator block
EQ (*1) Equal operator block
BAND (*1) Bitwise AND block
BOR (*1) Bitwise OR block
BNOT (*1) Bitwise NOT block
CALCU General-purpose calculation block
CALCU-C General-purpose calculation block with string I/O
D020316E.EPS
: Valid
-: Invalid
*1: Logic Operation blocks are only available for CS 3000.
10th Edition : Dec.18,2003-00
<D2.3 Types of Calculation Blocks> D2-21
IM 33S01B30-01E
Table Valid Basic Block Modes for Calculation Blocks (3/3)
Type Name of function block
Valid basic block modes
O
/
S
I
M
A
N
T
R
K
M
A
N
A
U
T
C
A
S
P
R
D
R
C
A
S
R
O
U
T
SW-33 Three-pole three-position selector switch block
- - - - - - - - -
SW-91 One-pole nine-position selector switch block
DSW-16 Selector switch block for 16 data
- - - - - - -
DSW-16C Selector switch block for 16 string data
DSET Data set block
DSET-PVI Data set block with input indicator
BDSET-1L One-batch data set block
BDSET-1C One-batch string data set block
BDSET-2L Two-batch data set block
BDSET-2C Two-batch string data set block
BDA-L Batch data acquisition block
BDA-C Batch string data acquisition block
D020317E.EPS
: Valid
-: Invalid
10th Edition : Dec.18,2003-00
D2-22 <D2.4 Addition Block (ADD)>
IM 33S01B30-01E
D2.4 Addition Block (ADD)
The Addition Block (ADD) is used when performing addition processing or subtrac-
tion processing.
Addition Block (ADD)
Connection
The Addition Block (ADD) is a function block that executes addition or subtraction of input
data.
Here is the diagram of the Addition Block (ADD).
Q01
IN
OUT CPV
Gain
(GAIN),
bias
(BIAS)
Input
processing
RV1
RV
Addition
(CPV, CPV) SUB
RV1 gain
(GN1),
RV1 bias
(BS1)
D020401E.EPS
Figure Function Block Diagram of Addition Block (ADD)
The following table shows the connection types and connection destinations of the I/O
terminals of the Addition Block (ADD).
Table Connection Types and Connection Destinations of the I/O Terminals of Addition Block
(ADD)
I/O terminal
Connection type Connection destination
Data
reference
Data setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN Main input
Q01 Sub input
OUT
Calculation
output
SUB
Auxiliary
output
D020402E.EPS
: 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).
10th Edition : Dec.18,2003-00
<D2.4 Addition Block (ADD)> D2-23
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Function of Addition Block (ADD)
The ADD block performs input processing, calculation processing, output processing, and
alarm processing.
The processing timings available for the ADD block 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the ADD block,
see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Input Processing of Addition Block (ADD) When a Calculation Input Value
Error is Detected
The ADD block performs special input processing when an abnormal calculation input
value is detected.
SEE ALSO
For the input processing when an abnormal calculation input value is detected, see the following:
Input Processing at Calculated Input Value Error Detection in the Arithmetic Calculation in Input
Processing at Calculated Input Value Error Detection in chapter C3.6.2, Input Processing of the Cal-
culation Block in Unsteady State
Calculation Processing of Addition Block (ADD)
The ADD block performs addition and subtraction using its calculation algorithm and setup
parameters.
D2-24 <D2.4 Addition Block (ADD)>
IM 33S01B30-01E
Calculation Algorithm
The Addition Block (ADD) executes the following calculation processing for addition or
subtraction of the input data.
CPV=GAIN (RV+ ( (GN1 RV1) +BS1) +BIAS
To perform addition processing of input data, set a positive numeric value for the RV1 gain.
To perform subtraction processing of input data, set a negative numeric value for the RV1
gain.
Set Parameters
The set parameters of the Addition Block (ADD) are shown as follows.
Gain (GAIN):
A numeric value of 7 digits or less including the sign and decimal point.
The default is 1.00
Bias (BIAS):
An engineering unit data value of 7 digits or less including the sign and decimal point.
The default is 0.00
RV1 gain (GN1):
A numeric value of 7 digits or less including the sign and decimal point.
The default is 1.00
RV1 bias (BS1):
An engineering unit data of 7 digits or less including the sign and decimal point.
The default is 0.00
10th Edition : Dec.18,2003-00
<D2.4 Addition Block (ADD)> D2-25
IM 33S01B30-01E
Data Items ADD
Table Data Items of Addition Block (ADD)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
RV Calculated input value ----- 0
RAW Raw input data Value in the unit at the connection destination -----
RV1 Calculated input value ----- 0
RAW1 Raw input data Value in the unit at the connection destination -----
CPV Calculated output value (*1) CPV engineering unit value SL
GAIN Gain 7 - digit real number including sign and decimal point 1.00
BIAS Bias 7 - digit real number including sign and decimal point 0.00
GN1 RV1 gain 7 - digit real number including sign and decimal point 1.00
BS1 RV1 bias 7 - digit real number including sign and decimal point 0.00
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
SH CPV scale high limit Value in the same engineering unit as CPV -----
SL CPV scale low limit Value in the same engineering unit as CPV -----
D020403E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
SEE ALSO
For the information about valid block mode for ADD block, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
D2-26 <D2.5 Multiplication Block (MUL)>
IM 33S01B30-01E
D2.5 Multiplication Block (MUL)
The Multiplication Block (MUL) is used when performing multiplication processing.
Multiplication Block (MUL)
Connection
The Multiplication Block (MUL) is a function block that performs multiplication of input data.
Here is a function block diagram of the Multiplication Block (MUL).
Q01
IN
OUT CPV
Gain
(GAIN),
bias
(BIAS)
Input
processing
RV1
RV
Multiplication
(CPV, CPV) SUB
RV1 gain
(GN1),
RV1 bias
(BS1)
D020501E.EPS
Figure Function Block Diagram of Multiplication Block (MUL)
The following table shows the connection types and connection destinations of the I/O
terminals of the Multiplication Block (MUL).
Table Connection Types and Connection Destinations of the I/O Terminals of Multiplication Block
(MUL)
I/O terminal
Connection type Connection destination
Data
reference
Data setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN Main input
Q01 Sub input
OUT
Calculation
output
SUB
Auxiliary
output
D020502E.EPS
: 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).
10th Edition : Dec.18,2003-00
<D2.5 Multiplication Block (MUL)> D2-27
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Function of Multiplication Block (MUL)
The MUL block performs input processing, calculation processing, output processing, and
alarm processing.
The processing timings available for the MUL block 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the MUL block,
see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Input Processing of Multiplication Block (MUL) When a Calculation Input
Value Error is Detected
The MUL block performs special input processing when an abnormal calculation input
value is detected.
SEE ALSO
For the input processing when an abnormal calculation input value is detected, see the following:
Input Processing at Calculated Input Value Error Detection in the Arithmetic Calculation in Input
Processing at Calculated Input Value Error Detection in chapter C3.6.2, Input Processing of the Cal-
culation Block in Unsteady State
Calculation Processing of Multiplication Block (MUL)
The MUL block performs multiplication using its calculation algorithm and setup param-
eters.
D2-28 <D2.5 Multiplication Block (MUL)>
IM 33S01B30-01E
Calculation Algorithm
The Multiplication Block (MUL) executes the following calculation processing to perform
multiplication of input data.
CPV=GAIN (RV ( (GN1 RV1) + BS1) ) +BIAS
Set Parameters
The set parameters of the Multiplication Block (MUL) are shown as follows.
Gain (GAIN):
A numeric value of 7 digits or less including the sign and decimal point.
The default is 1.00
Bias (BIAS):
An engineering unit data value of 7 digits or less including the sign and decimal point.
The default is 0.00
RV1 gain (GN1):
A numeric value of 7 digits or less including the sign and decimal point.
The default is 1.00
RV1 bias (BS1):
An engineering unit data value of 7 digits or less including the sign and decimal point.
The default is 0.00
10th Edition : Dec.18,2003-00
<D2.5 Multiplication Block (MUL)> D2-29
IM 33S01B30-01E
Data Items MUL
Table Data Items of Multiplication Block (MUL)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status -----
-----
AF Alarm detection specification -----
-----
AOFS Alarm masking specification ----- -----
RV Calculated input value ----- 0
RAW Raw input data Value in the unit at the connection destination -----
RV1 Calculated input value ----- 0
RAW1 Raw input data Value in the unit at the connection destination -----
CPV Calculated output value (*1) CPV engineering unit value SL
GAIN Gain 7 - digit real number including sign and decimal point 1.00
BIAS Bias 7 - digit real number including sign and decimal point 0.00
GN1 RV1 gain 7 - digit real number including sign and decimal point 1.00
BS1 RV1 bias 7 - digit real number including sign and decimal point 0.00
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
SH CPV scale high limit Value in the same engineering unit as CPV -----
SL CPV scale low limit Value in the same engineering unit as CPV -----
D020503E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
SEE ALSO
For a list of valid block modes for MUL block, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
D2-30 <D2.6 Division Block (DIV)>
IM 33S01B30-01E
D2.6 Division Block (DIV)
The Division Block (DIV) is used when performing division processing.
Division Block (DIV)
Connection
The Division Block (DIV) is a function block that performs division of input data.
Here is a function block diagram of the Division Block (DIV).
Q01
IN
OUT CPV
Gain
(GAIN),
bias
(BIAS)
Input
processing
RV1
RV
Division
(CPV, CPV) SUB
RV1 gain
(GN1),
RV1 bias
(BS1)
D020601E.EPS
Figure Function Block Diagram of Division Block (DIV)
The following table shows the connection types and connection destinations of the I/O
terminals of the Division Block (DIV).
Table Connection Types and Connection Destinations of the I/O Terminals of Division Block (DIV)
I/O terminal
Connection type Connection destination
Data
reference
Data setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN Main input
Q01 Sub input
OUT
Calculation
output
SUB
Auxiliary
output
D020602E.EPS
: 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).
10th Edition : Dec.18,2003-00
<D2.6 Division Block (DIV)> D2-31
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Function of Division Block (DIV)
The DIV block performs input processing, calculation processing, output processing, and
alarm processing.
The processing timings available for the DIV block 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the DIV block,
see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Input Processing of Division Block (DIV) When a Calculation Input Value
Error is Detected
The DIV block performs special input processing when an abnormal calculation input value
is detected.
SEE ALSO
For the input processing when an abnormal calculation input value is detected, see the following:
Input Processing at Calculated Input Value Error Detection in the Arithmetic Calculation in Input
Processing at Calculated Input Value Error Detection in chapter C3.6.2, Input Processing of the Cal-
culation Block in Unsteady State
Calculation Processing of Division Block (DIV)
The DIV block performs division using its calculation algorithm and setup parameters.
D2-32 <D2.6 Division Block (DIV)>
IM 33S01B30-01E
Calculation Algorithm
The Division Block (DIV) executes the following calculation processing for performing
division of input data.
CPV=GAIN (RV/ ( (GN1 RV1) +BS1) ) +BIAS
Set Parameters
The set parameters of the Division Block (DIV) are shown as follows.
Gain (GAIN):
A numeric value of 7 digits or less including the sign and decimal point.
The default is 1.00
Bias (BIAS):
An engineering unit data value of 7 digits or less including the sign and decimal point.
The default is 0.00
RV1 gain (GN1):
A numeric value of 7 digits or less including the sign and decimal point.
The default is 1.00
RV1 bias (BS1):
An engineering unit data value of 7 digits or less including the sign and decimal point.
The default is 0.00
10th Edition : Dec.18,2003-00
<D2.6 Division Block (DIV)> D2-33
IM 33S01B30-01E
Data Items DIV
Table Data Items of Division Block (DIV)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
RV Calculated input value ----- 0
RAW Raw input data Value in the unit at the connection destination -----
RV1 Calculated input value ----- 0
RAW1 Raw input data Value in the unit at the connection destination -----
CPV Calculated output value (*1) CPV engineering unit value SL
GAIN Gain 7 - digit real number including sign and decimal point 1.00
BIAS Bias 7 - digit real number including sign and decimal point 0.00
GN1 RV1 gain 7 - digit real number including sign and decimal point 1.00
BS1 RV1 bias 7 - digit real number including sign and decimal point 0.00
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
SH CPV scale high limit Value in the same engineering unit as CPV -----
SL CPV scale low limit Value in the same engineering unit as CPV -----
D020603E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
SEE ALSO
For a list of valid block modes for DIV block, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
D2-34 <D2.7 Averaging Block (AVE)>
IM 33S01B30-01E
D2.7 Averaging Block (AVE)
The Averaging Block (AVE) is used when calculate the average value of input data.
Averaging Block (AVE)
Connection
The Averaging Block (AVE) is a function block that obtains the average value of input data.
Here is a function block diagram of the Averaging Block (AVE).
RV8
CPV
RV7
RV6
RV5
RV4
RV3
RV2 Q02
Q03
Q04
Q05
Q06
Q07
Q08
RV1 Q01
OUT
(CPV, CPV)
SUB
Averaging
processing
D020701E.EPS
Figure Function Block Diagram of Averaging Block (AVE)
10th Edition : Dec.18,2003-00
<D2.7 Averaging Block (AVE)> D2-35
IM 33S01B30-01E
The following table shows the connection types and connection destinations of the I/O
terminals of the Averaging Block (AVE).
Table Connection Types and Connection Destinations of the I/O Terminals of Averaging Block
(AVE)
I/O terminal
Connection type Connection destination
Data
reference
Data setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
Q01
First
calculation
input
Q02
Second
calculation
input
Q03
Third
calculation
input
Q04
Fourth
calculation
input
Q05
Fifth
calculation
input
Q06
Sixth
calculation
input
Q07
Seventh
calculation
input
Q08
Eighth
calculation
input
OUT
Calculation
output
SUB
Auxiliary
output
D020702E.EPS
: 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).
10th Edition : Dec.18,2003-00
D2-36 <D2.7 Averaging Block (AVE)>
IM 33S01B30-01E
Function of Average Block (AVE)
The AVE block performs input processing, calculation processing, output processing, and
alarm processing.
The processing timings available for the AVE block 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the AVE block,
see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Input Processing of Average Block (AVE) When a Calculation Input Value
Error is Detected
The AVE block performs special input processing when an abnormal calculation input value
is detected.
Calculation Processing of Average Block (AVE)
The AVE block returns the average value of input data using its calculation algorithm and
setup parameters.
10th Edition : Dec.18,2003-00
<D2.7 Averaging Block (AVE)> D2-37
IM 33S01B30-01E
Input Processing at Calculated Input Value Error Detection
Calculated Input Value Error Detected
In the Average block (AVE), the detection of calculated input value error is executed for
every input terminal. For each input terminal, when the data status of the connection
destination is invalid (BAD), that of corresponding calculated input value (RVn) becomes
invalid (BAD), and the previous calculated input value is held.
The data status of the calculated output value (CPV) becomes invalid (BAD) or question-
able (QST) at calculated input value error detection.
The settings of the detection conditions for calculated input value error detection in the
Average block (AVE) and the data status of the calculated output value (CPV) at calculated
input value error detection are executed with Calculated input value error detected on the
Function Block Detail Builder.
The method to transfer the data status (IOP, IOP-, OOp, NRDY) of the process I/O rela-
tions, which is generated with the calculated input value (RVn) in connection with the above
settings, to the calculated output value (CPV) is specified.
The table below lists the ranges of the calculated input value error detection. The default
value is 1.
Table Processing at Calculated Input Value Error Detection in the Average Block (AVE)
Calculated input value
error detection
specification
Error detection conditions
(Data status of the
calculated input value)
CPV data status
Data status
transmission
origin input value
0 - NR (*1)
No transmission
1
RV1 to RVn (n is an average number)
are all NR (*1).
NR (*1)
At least one of RV1 to RVn
(n is an average number) is BAD.
QST
RV1 to RVn (n is an average number)
are all BAD.
BAD RV1 to RVn (*2)
2
RV1 to RVn (n is an average number)
are all NR (*1).
NR (*1) No transmission
At least one of RV1 to RVn
(n is an average number) is BAD.
BAD RV1 to RVn (*2)
D020703E.EPS
*1: NR in the table indicates the state in which the data status is neither BAD nor QST.
*2: The priority of input values is in the order of RV1 to RVn. IOP and IOP- precede in the transfer status. IOP is trans-
ferred when NRDY is generated in the input values of higher priority and IOP is generated in the input values of lower
priority.
When the calculated input value error which causes the invalid (BAD) data status of calcu-
lated output value (CPV) occurs, the calculation processing is halted, and the previous
calculated output value (CPV) is held.
When the calculated input value error which causes the questionable (QST) data status of
calculated output value (CPV) occurs, the previous calculated input value is held due to the
current calculated input value error. The calculation processing is continued using the
previous value (RV) held and the calculated output value (CPV) is updated.
10th Edition : Dec.18,2003-00
D2-38 <D2.7 Averaging Block (AVE)>
IM 33S01B30-01E
Calculation Algorithm
Number of Averaged, Sampling Candidate Specification
The Averaging Block (AVE) performs the following calculation processing for obtaining the
average value of input data.
CPV=GAIN
RV1+RV2+RV3+
...
+RVN
N
D020704E.EPS
Number of averaged and sampling candidate specification is set using the Function
Block Detail Builder.
Number of Averaged (N):
Any integer between 1 and 8.
The default is 1.
Set the number of data to be averaged.
Sampling Candidate Specification:
Select from Regardless of data status, other than BAD or other than BAD or QST.
If the data status of the calculated input value (RVn) changes to the status indicating the
data is not good, this data can be excluded from the averaging calculation. The conditions
to include or exclude the data for the averaging calculation can be defined on the builder
under the following conditions.
Regardless of data status
All input data (RVn) regardless of data status
Other than BAD
All input data (RVn) except for BAD data
Other than BAD and QST
All input data (RVn) except for BAD and QST data
The calculation blocks behavior is restricted by the input error detection function. When the
calculation input error detection is specified to 2, only Regardless of data status is valid
as averaging calculation condition. Or else, any input detected BAD makes the calculated
output value (CPV) become BAD (invalid) and the averaging calculation stops.
While, when the condition is specified as other than BAD or other than BAD or QST, the
above described phenomena occur, i.e. the BAD input data stops the averaging calcula-
tion.
10th Edition : Dec.18,2003-00
<D2.7 Averaging Block (AVE)> D2-39
IM 33S01B30-01E
Set Parameter
The parameters of the Averaging Block(AVE) are shown as follows.
Gain (GAIN):
A numeric value of 7 digits or less including the sign and decimal point.
The default is 1.00
Data Items AVE
Table Data Items of Averaging Block (AVE)
Data Item Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
RV1 to RV8 Calculated input value 1to 8 ----- 0
RAW1 to RAW8 Raw input data 1to 8 Value in the unit at the connection destination -----
CPV Calculated output value
(*1)
CPV engineering unit value SL
GAIN Gain
7 - digit real number including sign and
decimal point
1.00
OPMK Operation mark
0 to 255
0
UAID User application ID
----- 0
SH CPV scale high limit Value in the same engineering unit as CPV -----
SL CPV scale low limit Value in the same engineering unit as CPV -----
D020705E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
SEE ALSO
For a list of valid block modes for AVE block, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
D2-40 <D2.8 Square Root Block (SQRT)>
IM 33S01B30-01E
D2.8 Square Root Block (SQRT)
The Square Root Block (SQRT) is used when obtaining the square root of input data.
Square Root Block (SQRT)
Connection
The Square Root Block (SQRT) is a function block that obtains the square root of input
data.
Here is a function block diagram of the Square Root Block (SQRT).
RV CPV IN OUT
(CPV, CPV)
SUB
Input
processing
GAIN RV
D020801E.EPS
Figure Function Block Diagram of Square Root Block (SQRT)
The following table shows the connection types and connection destinations of the I/O
terminals of the Square Root Block (SQRT).
Table Connection Types and Connection Destinations of the I/O Terminals of Square Root Block
(SQRT)
I/O terminal
Connection type Connection destination
Data
reference
Data setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN
Calculation
input
OUT
Calculation
output
SUB
Auxiliary
output
D020802E.EPS
: 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).
10th Edition : Dec.18,2003-00
<D2.8 Square Root Block (SQRT)> D2-41
IM 33S01B30-01E
Function of Square Root Block (SQRT)
The SQRT block performs input processing, calculation processing, output processing, and
alarm processing.
The only processing timing available for the SQRT block is a periodic 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the SQRT block,
see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Calculation Processing of Square Root Block (SQRT)
The SQRT block calculates the square root of input data using its calculation algorithm and
setup parameters.
Output Processing Specific to Square Root Block (SQRT)
In the output processing of the SQRT block, it is possible to perform CPV pushback.
Calculation Algorithm
The Square Root Block (SQRT) exec es the f ollowing calculation processing to obtain the
square root of input data.
CPV=GAIN RV
D020803E.EPS
Set Parameter
The parameters of the Square Root Block (SQRT) are shown as follows.
Gain (GAIN):
A numeric value of 7 digits or less including the sign and decimal point.
The default is 1.00
10th Edition : Dec.18,2003-00
D2-42 <D2.8 Square Root Block (SQRT)>
IM 33S01B30-01E
CPV Pushback
The CPV pushback is a function used to prevent a sudden change in an output value to the
process control output when the status of a cascade connection is changed from open to
close.
If the SQRT block is connected by means of cascade connection and the cascade connec-
tion is opened, the calculation input value (RV) is calculated back based on a calculation
output value (CPV) obtained from a downstream function block via tracking, thereby mak-
ing the upstream function block track the value.
The CPV pushback operates only when the output value tracking is set to enabled.
The following calculation formula is used in the CPV pushback of the SQRT block.
D020804E.EPS
RV=
CPV
GAIN
2
If GAIN is 0, the CPV pushback calculation is bypassed and the calculation input value
(RV) retains the previous value.
SEE ALSO
For details on the CPV pushback, see the following:
C4.11, CPV Pushback
10th Edition : Dec.18,2003-00
<D2.8 Square Root Block (SQRT)> D2-43
IM 33S01B30-01E
Data Items SQRT
Table Data Items of Square Root Block (SQRT)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
RV Calculated input value ----- 0
RAW Raw input data Value in the unit at the connection destination -----
CPV Calculated output value (*1) CPV engineering unit value SL
GAIN Gain 7 - digit real number including sign and decimal point 1.00
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
SH CPV scale high limit Value in the same engineering unit as CPV -----
SL CPV scale low limit Value in the same engineering unit as CPV -----
D020805E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
SEE ALSO
For a list of valid block modes for SQRT block, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
D2-44 <D2.9 Exponential Block (EXP)>
IM 33S01B30-01E
D2.9 Exponential Block (EXP)
The Exponential Block (EXP) is used when obtaining the result of exponential value
of the base of natural logarithms with the input data.
Exponential Block (EXP)
Connection
The Exponential Block (EXP) is a function block that obtains the result of exponential value
of the base of natural logarithms with the input data.
Here is a function block diagram of the Exponential Block (EXP).
RV CPV
(CPV, CPV)
IN
SUB
OUT
Input
processing
GAIN e
RV
D020901E.EPS
Figure Function Block Diagram of Exponential Block (EXP)
The following table shows the connection types and connection destinations of the I/O
terminals of the Exponential Block (EXP).
Table Connection Types and Connection Destinations of the I/O Terminals of Exponential Block
(EXP)
I/O terminal
Connection type Connection destination
Data
reference
Data setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN
Calculation
input
OUT
Calculation
output
SUB
Auxiliary
output
D020902E.EPS
: 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).
10th Edition : Dec.18,2003-00
<D2.9 Exponential Block (EXP)> D2-45
IM 33S01B30-01E
Function of Exponential Block (EXP)
The EXP block performs input processing, calculation processing, output processing, and
alarm processing.
The only processing timing available for the EXP block is a periodic 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the EXP block,
see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Calculation Processing of Exponential Block (EXP)
The EXP block calculates the value where the base of the natural logarithm is raised to a
power given by the input data using its calculation algorithm and setup parameters.
Output Processing Specific to Exponential Block (EXP)
In the output processing of the EXP block, it is possible to perform "CPV pushback."
Calculation Algorithm
The Exponential Block (EXP) executes the following calculation processing to the input
data.
CPV=GAIN e
RV
e: Base of a natural logarithm
Set Parameter
The parameters of the Exponential Block (EXP) are shown as follows.
Gain (GAIN):
A numeric value of 7 digits or less including the sign and decimal point.
The default is 1.00.
10th Edition : Dec.18,2003-00
D2-46 <D2.9 Exponential Block (EXP)>
IM 33S01B30-01E
CPV Pushback
The CPV pushback is a function used to prevent a sudden change in an output value to the
process control output when the status of a cascade connection is changed from open to
close.
If the EXP block is connected by means of cascade connection and the cascade connec-
tion is opened, the calculation input value (RV) is calculated back based on a calculation
output value (CPV) obtained from a downstream function block via tracking, thereby mak-
ing the upstream function block track the value.
The CPV pushback operates only when the output value tracking is set to [Yes].
The following calculation formula is used in the CPV pushback of the EXP block.
D020903E.EPS
RV=ln
CPV
GAIN
If (CPV/GAIN) 0, the calculation input value (RV) retains the previous value.
SEE ALSO
For details on the CPV pushback, see the following:
C4.11, CPV Pushback
Data Items EXP
Table Data Items of Exponential Block (EXP)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
RV Calculated input value ----- 0
RAW Raw input data Value in the unit at the connection destination -----
CPV Calculated output value
(*1)
CPV engineering unit value SL
GAIN Gain
7 - digit real number including sign and decimal point 1.00
OPMK Operation mark
0 to 255 0
UAID User application ID
----- 0
SH CPV scale high limit Value in the same engineering unit as CPV -----
SL CPV scale low limit Value in the same engineering unit as CPV -----
D020904E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
SEE ALSO
For a list of valid block modes for EXP block, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
<D2.10 First-Order Lag Block (LAG)> D2-47
IM 33S01B30-01E
D2.10 First-Order Lag Block (LAG)
The First-Order Lag Block (LAG) is used when performing filtering processing to the
input signals or simulating process characteristics.
First-Order Lag Block (LAG)
Connection
The First-Order Lag Block (LAG) is a function block that outputs the first-order lag of input
signals.
The First-Order Lag Block (LAG) enables filtering processing of input signals as well as
simulation of process characteristics.
Here is a function block diagram of the First-Order Lag Block (LAG).
RV CPV IN OUT
(CPV, CPV)
SUB
Input
processing
GAIN
1+Tis
D021001E.EPS
Figure Function Block Diagram of First-Order Lag Block (LAG)
The following table shows the connection types and connection destinations of the I/O
terminals of the First-Order Lag Block (LAG).
Table Connection Types and Connection Destinations of the I/O Terminals of First-Order Lag
Block (LAG)
I/O terminal
Connection type Connection destination
Data
reference
Data setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN
Calculation
input
OUT
Calculation
output
SUB
Auxiliary
output
D021002E.EPS
: 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).
10th Edition : Dec.18,2003-00
D2-48 <D2.10 First-Order Lag Block (LAG)>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Function of First-Order Lag Block (LAG)
The LAG block performs input processing, calculation processing, output processing, and
alarm processing.
The only processing timing available for the LAG block is a periodic 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the LAG block,
see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Calculation Processing of First-Order Lag Block (LAG)
The LAG block performs a first-order lag calculation using its calculation algorithm and
setup parameters.
Output Processing Specific to First-Order Lag Block (LAG)
In the output processing of the LAG block, it is possible to perform "CPV pushback."
<D2.10 First-Order Lag Block (LAG)> D2-49
IM 33S01B30-01E
Calculation Algorithm
The First-Order Lag Block (LAG) executes the following calculation processing to the input
data.
CPV= RV
GAIN
1+Tis
D021003E.EPS
Ti: First-order lag time (Ti = I - Scan period)
I: First-order lag time setpoint
s: Laplace transform operator
When the block mode is switched from O/S (out of service) to AUT (automatic), or when the
data status of the calculated output value (CPV) has returned to normal from CAL (calibration)
or BAD (invalid), first-order lag calculation is initialized with the calculated input value (RV).
Set Parameters
The parameters of the First-Order Lag Block (LAG) are shown as follows.
Gain (GAIN):
A numeric value of 7 digits or less including the sign and decimal point.
The default is 1.00.
First-order lag time setpoint (I):
A numeric value between 0.1 and 1000.0. Unit: sec.
The default is 1.
If a time shorter than the scan period is set as the first-order lag time (I), calculation pro-
cessing is performed assuming that the first-order lag time setpoint (I) is the same as the
scan period.
Action Example
The following figure shows an example of step response action of the First-Order Lag Block
(LAG).
Ti
Time t
D021004E.EPS
Input signal
Output signal (When GAIN = 1.000)
Ti: First-order lag time (Ti = I - Scan period)
Figure Example of the Step Response Action of First-Order Lag Block (LAG)
10th Edition : Dec.18,2003-00
D2-50 <D2.10 First-Order Lag Block (LAG)>
IM 33S01B30-01E
CPV Pushback
The CPV pushback is a function used to prevent a sudden change in an output value to the
process control output when the status of a cascade connection is changed from open to
close.
If the LAG block is connected by means of cascade connection and the cascade connec-
tion is opened, the calculation input value (RV) is calculated back based on a calculation
output value (CPV) obtained from a downstream function block via tracking, thereby mak-
ing the upstream function block track the value.
The CPV pushback operates only when the output value tracking is set to [Yes].
The following calculation formula is used in the CPV pushback of the LAG block.
D021005E.EPS
RV=
CPV
GAIN
If GAIN is 0, the CPV pushback calculation is bypassed and the calculation input value
(RV) retains the previous value.
SEE ALSO
For details on the CPV pushback, see the following:
C4.11, CPV Pushback
10th Edition : Dec.18,2003-00
<D2.10 First-Order Lag Block (LAG)> D2-51
IM 33S01B30-01E
Data Items LAG
Table Data Items of First-Order Lag Block (LAG)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
RV Calculated input value ----- 0
RAW Raw input data Value in the unit at the connection destination -----
CPV Calculated output value (*1) CPV engineering unit value SL
GAIN Gain 7 - digit real number including sign and decimal point 1.00
I First - order lag time 0.1 to 10,000.0 seconds 1
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
SH CPV scale high limit Value in the same engineering unit as CPV -----
SL CPV scale low limit Value in the same engineering unit as CPV -----
D021006E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
SEE ALSO
For a list of valid block modes for LAG block, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
D2-52 <D2.11 Integration Block (INTEG)>
IM 33S01B30-01E
D2.11 Integration Block (INTEG)
The Integration Block (INTEG) is used when obtaining the integral value of input
data.
Integration Block (INTEG)
Connection
The Integration Block (INTEG) is a function block that integrates input data.
Here is a function block diagram of the Integration Block (INTEG).
Tis
RV CPV IN OUT
(CPV, CPV)
SUB
Input
processing
GAIN
D021101E.EPS
Figure Function Block Diagram of Integration Block (INTEG)
The following table shows the connection types and connection destinations of the I/O
terminals of the Integration Block (INTEG).
Table Connection Types and Connection Destinations of the I/O Terminals of Integration Block
(INTEG)
I/O terminal
Connection type Connection destination
Data
reference
Data setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN
Calculation
input
OUT
Calculation
output
SUB
Auxiliary
output
D021102E.EPS
: 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).
10th Edition : Dec.18,2003-00
<D2.11 Integration Block (INTEG)> D2-53
IM 33S01B30-01E
Function of Integration Block (INTEG)
The INTEG block performs input processing, calculation processing, output processing,
and alarm processing.
The only processing timing available for the INTEG block is a periodic 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the INTEG block,
see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Calculation Processing of Integration Block (INTEG)
The INTEG block calculates the integrated value of input data using its calculation algo-
rithm and setup parameters.
Output Processing Specific to Integration Block (INTEG)
In the output processing of the INTEG block, it is possible to perform CPV pushback.
10th Edition : Dec.18,2003-00
D2-54 <D2.11 Integration Block (INTEG)>
IM 33S01B30-01E
Calculation Algorithm
The Integration Block (INTEG) executes the following calculation processing for integrating
input data.
CPV= RV
GAIN
Tis
D021103E.EPS
Ti: Integral time (Ti = I)
s: Laplace transform operator
The Integration Block (INTEG) starts calculation actions in accordance with the values of
the manipulation switch (SW).
If the integral value overflows, the previous maximum value used as the calculation result.
When the integral value overflows, BAD (invalid) is set as the data status of the calculated
output value (CPV).
The following figure shows the manipulation switch values and the corresponding calcula-
tion actions as well as block status transitions.
When Manipulation switch (SW) is 0
Starts to initialize calculation block status, then the manipulation switch (SW) changes
to 1 when initialization is completed. Block status is RUN.
When Manipulation switch (SW) is 1
Starts the integration calculation. The calculated output value (CPV) is updated by
each scan period. Block status is RUN.
When Manipulation switch (SW) is 2
Holds the current calculated output value (CPV), the calculation stops. Block status is
STOP.
Set Parameters
The parameters of the Integration Block (INTEG) are shown as follows.
Gain (GAIN):
A numeric value of 7 digits or less including the sign and decimal point.
The default is 1.00.
Integral time setpoint (I):
A numeric number between 0.1 and 10000.0. Unit: sec.
10th Edition : Dec.18,2003-00
<D2.11 Integration Block (INTEG)> D2-55
IM 33S01B30-01E
Action Example
The following figure shows an action example of the Integration Block (INTEG).
Scan period (Ts)
Input signal
Output signal
Integration calculation Hold Hold
Time t
Initialize Calculation stop
1 2 2
SW(201) SW(12)
SW
GAIN RV
I
Ts
D021104E.EPS
Figure Action Example of Integration Block (INTEG)
10th Edition : Dec.18,2003-00
D2-56 <D2.11 Integration Block (INTEG)>
IM 33S01B30-01E
CPV Pushback
The CPV pushback is a function used to prevent a sudden change in an output value to the
process control output when the status of a cascade connection is changed from open to
close.
If the INTEG block is connected by means of cascade connection and the cascade connec-
tion is opened, the calculation input value (RV) is calculated back based on a calculation
output value (CPV) obtained from a downstream function block via tracking, thereby
making the upstream function block track the value.
The CPV pushback operates only when the output value tracking is set to [Yes].
The following calculation formula is used in the CPV pushback of the INTEG block.
D021105E.EPS
RV=
CPV
GAIN
If GAIN is 0, the CPV pushback calculation is bypassed and the calculation input value
(RV) retains the previous value.
SEE ALSO
For details on the CPV pushback, see the following:
C4.11, CPV Pushback
10th Edition : Dec.18,2003-00
<D2.11 Integration Block (INTEG)> D2-57
IM 33S01B30-01E
Data Items INTEG
Table Data Items of Integration Block (INTEG)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
RV Calculated input value ----- 0
BSTS Block status ----- RUN
RAW Raw input data Value in the unit at the connection destination -----
CPV Calculated output value (*1) CPV engineering unit value SL
SW Manipulation switch 0, 1, 2 -----
GAIN Gain 7 - digit real number including sign and decimal point 1.00
I Integral time 0.1 to 10,000.0 seconds 1
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
SH CPV scale high limit Value in the same engineering unit as CPV -----
SL CPV scale low limit Value in the same engineering unit as CPV -----
D021106E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
SEE ALSO
For a list of valid block modes for INTEG block, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
Block Status of Integration Block (INTEG)
Table Block Status of Integration Block (INTEG)
Level
Block Status
Description
Symbol Name
1
RUN
STOP
Integration Starts
Integration Stops
Initialization or integration starts.
Integration stopped, the output is held.
D021107E.EPS
10th Edition : Dec.18,2003-00
D2-58 <D2.12 Derivative Block (LD)>
IM 33S01B30-01E
D2.12 Derivative Block (LD)
The Derivative Block (LD) is used when obtaining the derivative value of input data.
Derivative Block (LD)
Connection
The Derivative Block (LD) is a function block that differentiates input data.
Here is a function block diagram of the Derivative Block (LD).
RV CPV IN OUT
(CPV, CPV)
SUB
Input
processing
GAIN Tds
1+Tds
D021201E.EPS
Figure Function Block Diagram of Derivative Block (LD)
The following table shows the connection types and connection destinations of the I/O
terminals of the Derivative Block (LD).
Table Connection Types and Connection Destinations of the I/O Terminals of Derivative Block
(LD)
I/O terminal
Connection type Connection destination
Data
reference
Data setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN
Calculation
input
OUT
Calculation
output
SUB
D021202E.EPS
Auxiliary
output
: 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).
10th Edition : Dec.18,2003-00
<D2.12 Derivative Block (LD)> D2-59
IM 33S01B30-01E
Function of Derivative Block (LD)
The LD block performs input processing, calculation processing, output processing, and
alarm processing.
The only processing timing available for the LD block is a periodic 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the LD block, see
the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Calculation Processing of Derivative Block (LD)
The LD block calculates the derivative value of input data using its calculation algorithm
and setup parameters.
Output Processing Specific to Derivative Block (LD)
In the output processing of the LD block, it is possible to perform CPV pushback.
10th Edition : Dec.18,2003-00
D2-60 <D2.12 Derivative Block (LD)>
IM 33S01B30-01E
Calculation Algorithm
The Derivative Block (LD) executes the following calculation processing to differentiate
input data.
CPV=GAIN RV
Tds
1+Tds
D021203E.EPS
Td: Derivative time (Td = D)
s: Laplace transform operator
When the block mode is switched from O/S (out of service) to AUT (automatic), or when the
data status of the calculated input value (CPV) returns to normal from CAL (calibration) or
BAD (invalid), derivation calculation is initialized with the calculated input value (RV).
Set Parameters
The parameters of the Derivative Block (LD) are shown as follows.
Gain (GAIN):
A numeric value of 7 digits or less including the sign and decimal point.
The default is 1.00.
Derivative time setpoint (D):
A numeric value between 0.1 and 1000.0. Unit: sec.
If a time shorter than the scan period is set as the derivative time setpoint (D), calculation
processing is performed assuming that the derivative time setpoint (D) is same as the scan
period.
Action Example
The following figure shows an action example of the Derivative Block (LD).
Td
Time t
D021204E.EPS
Input signal
Output signal (When GAIN = 1.000)
Td: Derivative time (D) 0.0 to 10000.0 seconds
Figure Step Response of Derivative Block (LD)
10th Edition : Dec.18,2003-00
<D2.12 Derivative Block (LD)> D2-61
IM 33S01B30-01E
CPV Pushback
The CPV pushback is a function used to prevent a sudden change in an output value to the
process control output when the status of a cascade connection is changed from open to
close.
If the LD block is connected by means of cascade connection and the cascade connection
is opened, the calculation input value (RV) is calculated back based on a calculation output
value (CPV) obtained from a downstream function block via tracking, thereby making the
upstream function block track the value.
The CPV pushback operates only when the output value tracking is set to [Yes].
The following calculation formula is used in the CPV pushback of the LD block.
D021205E.EPS
RV=
CPV
GAIN
If GAIN is 0, the CPV pushback calculation is bypassed and the calculation input value
(RV) retains the previous value.
SEE ALSO
For details on the CPV pushback, see the following:
C4.11, CPV Pushback
10th Edition : Dec.18,2003-00
D2-62 <D2.12 Derivative Block (LD)>
IM 33S01B30-01E
Data Items LD
Table Data Items of Derivative Block (LD)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
RV Calculated input value ----- 0
RAW Raw input data Value in the unit at the connection destination -----
CPV Calculated output value (*1) CPV engineering unit value SL
GAIN Gain
7 - digit real number including sign and decimal point 1.00
D Derivative time
0.0 to 10,000.0 seconds 0
OPMK Operation mark
0 to 255 0
UAID User application ID
----- 0
SH CPV scale high limit Value in the same engineering unit as CPV -----
SL CPV scale low limit Value in the same engineering unit as CPV -----
D021206E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
SEE ALSO
For a list of valid block modes for LD block, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
<D2.13 Ramp Block (RAMP)> D2-63
IM 33S01B30-01E
D2.13 Ramp Block (RAMP)
The Ramp Block (RAMP) is used to generate an output data to follow the step
changes of the input data with the ramp characteristic (constant velocity).
Ramp Block (RAMP)
Connection
The Ramp Block (RAMP) is a function block that generates an output data to follow the
step changes of the input data with the ramp characteristic (constant velocity).
Here is a function block diagram of the Ramp Block (RAMP).
RV CPV
(CPV, CPV)
IN
SUB
OUT
Input
processing
GAIN (Ramp characteristic)
D021301E.EPS
Figure Function Block Diagram of Ramp Block (RAMP)
The following table shows the connection types and connection destinations of the I/O
terminals of the Ramp Block (RAMP).
Table Connection Types and Connection Destinations of the I/O Terminals of Ramp Block
(RAMP)
I/O terminal
Connection type Connection destination
Data
reference
Data setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN
Calculation
input
OUT
Calculation
output
SUB
Auxiliary
output
D021302E.EPS
: 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).
10th Edition : Dec.18,2003-00
D2-64 <D2.13 Ramp Block (RAMP)>
IM 33S01B30-01E
Function of Ramp Block (RAMP)
The RAMP block performs input processing, calculation processing, output processing,
and alarm processing.
The only processing timing available for the RAMP block is a periodic 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the RAMP block,
see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Calculation Processing of Ramp Block (RAMP)
The RAMP block performs computation using its calculation algorithm and setup param-
eters.
10th Edition : Dec.18,2003-00
<D2.13 Ramp Block (RAMP)> D2-65
IM 33S01B30-01E
Calculation Algorithm
The Ramp Block (RAMP) executes the calculation processing that generates an output
data to follow the step changes of the input data with the ramp characteristic (constant
velocity).
The calculated output value (CPV) is the Ramp characteristic output signal multiplied by
the gain (GAIN).
CPV = GAIN (Ramp characteristic)
The ramp characteristic is shown below.
Scan period
Input signal
Output signal (When GAIN = 1.00)
Scan period (sec.)
STEP
(CPV span)
D021303E.EPS
Figure Ramp Characteristic
The rate of the output data change is determined by the value of the step (STEP) param-
eter, scan period and span of the calculated output value (CPV).
Output data change per second =
CPV span
STEP
D021304E.EPS
Output data change per scan = Scan period (seconds)
CPV span
STEP
D021305E.EPS
Set Parameters
The parameters of the Ramp Block (RAMP) are shown as follows.
Gain (GAIN):
A numeric value of 7 digits or less including the sign and decimal point.
The default is 1.00.
Step (STEP):
A numeric number between 0.1 and 10000.0.
The step (STEP) defines in how many scans that the calculated output value (CPV) follows
up the full-span of the input change, in one second scan period. When the scan period is
not one second, the number of scans needed for the full-span input change can be calcu-
lated by dividing the step (STEP) by the scan period (second).
10th Edition : Dec.18,2003-00
D2-66 <D2.13 Ramp Block (RAMP)>
IM 33S01B30-01E
Data Items RAMP
Table Data Items of Ramp Block (RAMP)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specificaton ----- -----
AOFS Alarm masking specification ----- -----
RV Calculated input value ----- 0
RAW Raw input data Value in the unit at the connection destination -----
CPV Calculated output value (*1) CPV engineering unit value SL
GAIN Gain 7 - digit real number including sign and decimal point 1.00
STEP Step 0.1 to 10,000.0 seconds 1
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
SH CPV scale high limit Value in the same engineering unit as CPV -----
SL CPV scale low limit Value in the same engineering unit as CPV -----
D021306E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
SEE ALSO
For a list of valid block modes for RAMP block, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
<D2.14 Lead/Lag Block (LDLAG)> D2-67
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
D2.14 Lead/Lag Block (LDLAG)
The Lead/Lag Block (LDLAG) is used for dynamic compensation in feedforward
control.
Lead/Lag Block (LDLAG)
Connection
The Lead/Lag Block (LDLAG) is a function block that performs dynamic compensation in
feedforward control. Normally, this block is used in combination with the controller block or
Feedforward Signal Summing Block (FFSUM).
Here is a function block diagram of the Lead/Lag Block (LDLAG).
RV CPV IN OUT
(CPV, CPV)
SUB
Input
processing
GAIN (1+Tds)
1+Tis
D021401E.EPS
Figure Function Block Diagram of Lead/Lag Block (LDLAG)
The following table shows the connection types and connection destinations of the I/O
terminals of the Lead/Lag Block (LDLAG).
Table Connection Types and Connection Destinations of I/O Terminals of Lead/Lag Block
(LDLAG)
I/O terminal
Connection type Connection destination
Data
reference
Data setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN
Calculation
input
OUT
Calculation
output
SUB
Auxiliary
output
D021402E.EPS
: 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).
D2-68 <D2.14 Lead/Lag Block (LDLAG)>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Function of Lead/Lag Block (LDLAG)
The LDLAG block performs input processing, calculation processing, output processing,
and alarm processing.
The only processing timing available for the LDLAG block is a periodic 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the LDLAG block,
see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Calculation Processing of Lead/Lag Block (LDLAG)
The LDLAG block performs computation using its calculation algorithm and setup param-
eters.
Output Processing Specific to Lead/Lag Block (LDLAG)
In the output processing of the LDLAG block, it is possible to perform CPV pushback.
<D2.14 Lead/Lag Block (LDLAG)> D2-69
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Calculation Algorithm
The Lead/Lag Block (LDLAG) executes the following calculation processing to perform
dynamic compensation of the lead/lag element.
CPV= RV
GAIN (1+Tds)
1+Tis
D021403E.EPS
Td: Lead time (Td = D)
Ti: Lag time (Ti = I - Scan period)
s: Laplace transform operator
Set Parameters
The parameters of the Lead/Lag Block (LDLAG) are shown as follows.
Gain (GAIN):
A numeric value of 7 digits or less including the sign and decimal point.
The default is 1.00.
Lead time setpoint (D):
A numeric value between 0.0 and 10000.0. Unit: sec.
Lag time setpoint (I):
A numeric value between 0.0 and 10000.0. Unit: sec.
If a time shorter than the scan period is set as the lag time setpoint (I), calculation process-
ing is performed assuming that the lag time (I) is same as the scan period.
Action Example
The following figure shows the action of the Lead/Lag Block (LDLAG).
Time t
D/I<1
D/I>1
D021404E.EPS
Input signal
Output signal (GAIN = 1.000)
Figure Action of Lead/Lag Block (LDLAG)
D2-70 <D2.14 Lead/Lag Block (LDLAG)>
IM 33S01B30-01E
CPV Pushback
The CPV pushback is a function used to prevent a sudden change in an output value to the
process control output when the status of a cascade connection is changed from open to
close.
If the LDLAG block is connected by means of cascade connection and the cascade con-
nection is opened, the calculation input value (RV) is calculated back based on a calcula-
tion output value (CPV) obtained from a downstream function block via tracking, thereby
making the upstream function block track the value.
The CPV pushback operates only when the output value tracking is set to [Yes].
The following calculation formula is used in the CPV pushback of the LDLAG block.
D021405E.EPS
RV=
CPV
GAIN
If GAIN is 0, the CPV pushback calculation is bypassed and the calculation input value
(RV) retains the previous value.
SEE ALSO
For details on the CPV pushback, see the following:
C4.11, CPV Pushback
10th Edition : Dec.18,2003-00
<D2.14 Lead/Lag Block (LDLAG)> D2-71
IM 33S01B30-01E
Data Items LDLAG
Table Data Items of Lead/Lag Block (LDLAG)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
RV Calculated input value ----- 0
RAW Raw input data Value in the unit at the connection destination -----
CPV Calculated output value (*1) CPV engineering unit value SL
GAIN Gain 7 - digit real number including sign and decimal point 1.00
D Lead time 0.0 to 10,000.0 seconds 0
I Lag time 0.1 to 10,000.0 seconds 1
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
SH CPV scale high limit Value in the same engineering unit as CPV -----
SL CPV scale low limit Value in the same engineering unit as CPV -----
D021406E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
SEE ALSO
For a list of valid block modes for LDLAG block, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
D2-72 <D2.15 Dead-Time Block (DLAY)>
IM 33S01B30-01E
D2.15 Dead-Time Block (DLAY)
The Dead-Time Block (DLAY) is used when simulating the dynamic process charac-
teristics.
Dead-Time Block (DLAY)
Connection
The Dead-Time Block (DLAY) is a function block that simulates the dynamic process
characteristics using dead time and first-order lag.
Here is a function block diagram of the Dead-Time Block (DLAY).
RV CPV IN OUT
(CPV, CPV)
SUB
Input
processing
GAIN
1+Tis
e
-LS
D021501E.EPS
Figure Function Block Diagram of Dead Block (DLAY)
The following table shows the connection types and connection destinations of the I/O
terminals of the Dead-Time Block (DLAY).
Table Connection Types and Connection Destinations of the I/O Terminals of Dead-Time Block
(DLAY)
I/O terminal
Connection type Connection destination
Data
reference
Data setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN Main input
OUT
Calculation
output
SUB
Auxiliary
output
D021502E.EPS
: 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).
10th Edition : Dec.18,2003-00
<D2.15 Dead-Time Block (DLAY)> D2-73
IM 33S01B30-01E
Function of Dead-Time Block (DLAY)
The DLAY block performs input processing, calculation processing, output processing, and
alarm processing. The only processing timing available for the DLAY block is a periodic
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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the DLAY block,
see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Calculation Processing of Dead-Time Block (DLAY)
The DLAY block performs computation using its calculation algorithm and setup param-
eters.
Output Processing Specific to Dead-Time Block (DLAY)
In the output processing of the DLAY block, it is possible to perform CPV pushback.
10th Edition : Dec.18,2003-00
D2-74 <D2.15 Dead-Time Block (DLAY)>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Calculation Algorithm
Number of Sample Points
The Dead-Time Block (DLAY) realizes the dead time characteristic through sampling. For
this reason, the following calculation processing that uses dead time and first-order lag is
performed to simulate the dynamic process characteristics.
CPV= e
-LS
RV
GAIN
1+Tis
D021503E.EPS
L: Dead time L = Sampling interval (SMPL) (m - I)
m: Number of sample points
Ti: First-order lag time (Ti = I - scan period)
e: Base number of natural logarithm
s: Laplace transform operator
In order to smoothen the calculated output value (CPV), the Dead-Time Block (DLAY)
performs complementary calculation to values between sampled values when obtaining
the calculated output value (CPV).
Initialization of all sampled data (dead time buffer) is done by the reset switch (RST). When
the reset switch (RST) is set to 1, the dead time buffer is initialized with the calculated
input value (RV). When the initialization is complete, the reset switch (RST) returns to 0
(normal state). When the data status of the calculated output value (CPV) returns to normal
from IOP+ (input open high) or CAL (calibration), the reset switch (RST) changes to 1
automatically and the dead time buffer is initialized.
The number of sample points is set on the Function Block Detail Builder.
Number of Sample Points: A numeric value between 1 and 60
Set Parameters
The parameters of the Dead-Time Block (DLAY) are shown as follows.
Gain (GAIN):
A numeric value of 7 digits or less including the sign and decimal point.
Sampling interval (SMPL):
A numeric value between 0.1 and 10000.0. Unit: sec.
Set a value which is a multiple of the scan period.
First-order lag time (I):
A numeric value between 0.1 and 10000.0. Unit: sec.
If a time shorter than the scan period is set as the first-order lag time (I), calculation pro-
cessing is performed assuming that the first-order lag time (I) is same as the scan period.
<D2.15 Dead-Time Block (DLAY)> D2-75
IM 33S01B30-01E
Action Example
The following figure shows an action example of the Dead-Time Block (DLAY).
L Ti
Time t
D021504E.EPS
L Dead time
Ti First-order lag time (Ti = I - Scan period)
Input signal
Output signal (When GAIN = 1.000)
Figure Action Example of Dead Time Block (DLAY)
CPV Pushback
The CPV pushback is a function used to prevent a sudden change in an output value to the
process control output when the status of a cascade connection is changed from open to
close.
If the DLAY block is connected by means of cascade connection and the cascade connec-
tion is opened, the calculation input value (RV) is calculated back based on a calculation
output value (CPV) obtained from a downstream function block via tracking, thereby
making the upstream function block track the value.
The CPV pushback operates only when the output value tracking is set to [Yes].
The following calculation formula is used in the CPV pushback of the DLAY block.
D021505E.EPS
RV=
CPV
GAIN
If GAIN is 0, the CPV pushback calculation is bypassed and the calculation input value
(RV) retains the previous value.
SEE ALSO
For details on the CPV pushback, see the following:
C4.11, CPV Pushback
10th Edition : Dec.18,2003-00
D2-76 <D2.15 Dead-Time Block (DLAY)>
IM 33S01B30-01E
Data Items DLAY
Table Data Items of Dead-Time Block (DLAY)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
RV Calculated input value ----- 0
RAW Raw input data Value in the unit at the connection destination -----
CPV Calculated output value (*1) CPV engineering unit value SL
RST Reset switch 0, 1 0
GAIN Gain 7 - digit real number including sign and decimal point 1.00
SMPL Sampling interval 0.1 to 10,000.0 seconds 1
I First - order lag time 0.1 to 10,000.0 seconds 1
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
SH CPV scale high limit Value in the same engineering unit as CPV -----
SL CPV scale low limit Value in the same engineering unit as CPV -----
D021506E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
SEE ALSO
For a list of valid block modes for DLAY block, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
<D2.16 Dead-Time Compensation Block (DLAY-C)> D2-77
IM 33S01B30-01E
D2.16 Dead-Time Compensation Block (DLAY-C)
The Dead-Time Compensation Block (DLAY-C) is used for dead time compensation
control.
Dead-Time Compensation Block (DLAY-C)
Connection
The Dead-Time Compensation Block (DLAY-C) is a function block that is used in combina-
tion with the controller block when performing dead time compensation control.
Here is a function block diagram of the Dead-Time Compensation Block (DLAY-C).
RV CPV IN OUT
(CPV, CPV)
SUB
Input
processing
GAIN
1+Tis
(e
-LS
-1)
D021601E.EPS
Figure Function Block Diagram of Dead-Time Compensation Block (DLAY-C)
The following figure shows an example of dead time compensation control using the Dead-
Time Compensation Block (DLAY-C).
Dead-Time
Compensation
Block
(DLAY-C)
PID
calculation
Process
-
+
Input compensated value (VN)
Output Input
Measured value
Set point value
PID controller block (PID)
D021602E.EPS
Figure Example of Dead Time Compensation Control Using Dead-Time Compensation Block
(DLAY-C)
The following table shows the connection types and connection destinations of the I/O
terminals of the Dead-Time Compensation Block (DLAY-C).
Table Connection Types and Connection Destinations of the I/O Terminals of Dead Time
Compensation Block (DLAY-C)
I/O terminal
Connection type Connection destination
Data
reference
Data setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN
Calculation
input
OUT
Calculation
output
SUB
Auxiliary
output
D021603E.EPS
: 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).
10th Edition : Dec.18,2003-00
D2-78 <D2.16 Dead-Time Compensation Block (DLAY-C)>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Function of Dead-Time Compensation Block (DLAY-C)
The DLAY-C block performs input processing, calculation processing, output processing,
and alarm processing.
The only processing timing available for the DLAY-C block is a periodic 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the DLAY-C block,
see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Calculation Processing of Dead-Time Compensation Block (DLAY-C)
The DLAY-C block performs computation using its calculation algorithm and setup param-
eters.
Calculation Algorithm
Number of Sample Points
The Dead-Time Compensation Block (DLAY-C) performs the following calculation process-
ing. The dead time characteristic is realized through sampling.
CPV= (e
-LS
-1) RV
GAIN
1+Tis
D021604E.EPS
L: Dead time L = Sampling interval (SMPL) (m - I)
m: Number of sample points
Ti: First-order lag time (Ti = I - Scan period)
e: Base number of natural logarithm
s: Laplace transform operator
In order to smoothen the calculated output value (CPV), the Dead-Time Compensation
Block (DLAY-C) performs complementary calculation to the values between the sampled
values.
Initialization of all sampled data (dead time buffer) is done by the reset switch (RST). When
the reset switch (RST) is turned to 1, the dead time buffer is initialized by the calculated
input value (RV). When the initialization is complete, the reset switch (RST) returns to 0
(normal state). When the data status of the calculated output value (CPV) returns to normal
from IOP+ (input open high) or CAL (calibration), the reset switch (RST) changes to 1
automatically and the dead time buffer is initialized.
The number of sample points is set on the Function Block Detail Builder.
Number of Sample Points: A numeric value between 1 and 60
<D2.16 Dead-Time Compensation Block (DLAY-C)> D2-79
IM 33S01B30-01E
Set Parameters
The parameters of the Dead-Time Compensation Block (DLAY-C) are shown as follows.
Gain (GAIN):
A numeric value of 7 digits or less including the sign and decimal point.
Sampling interval (SMPL):
A numeric value between 0.1 and 10000.0. Unit: sec.
Set a multiple of the scan period as the value.
First-order lag time (I):
A numeric value between 0.1 and 10000.0. Unit: sec.
If a time shorter than the scan period is set as the first-order lag time (I), calculation pro-
cessing is performed assuming that the first-order lag time (I) is same as the scan period.
Action Example
The following figure shows an action example of the Dead-Time Compensation Block
(DLAY-C).
L
Ti
Time t
D021605E.EPS
Input signal
Output signal (When GAIN = 1.000)
L Dead time
Ti First-order lag time (Ti = I - Scan period)
Figure Action Example of Dead-Time Compensation Block (DLAY-C)
10th Edition : Dec.18,2003-00
D2-80 <D2.16 Dead-Time Compensation Block (DLAY-C)>
IM 33S01B30-01E
Data Items DLAY-C
Table Data Items of Dead-Time Compensation Block (DLAY-C)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specificaton ----- -----
AOFS Alarm masking specification ----- -----
RV Calculated input value ----- 0
RAW Raw input data Value in the unit at the connection destination -----
CPV Calculated output value (*1) CPV engineering unit value SL
RST Reset switch 0, 1 0
GAIN Gain 7 - digit real number including sign and decimal point 1.00
SMPL Sampling interval 0.1 to 10,000.0 seconds 1
I First - order lag time 0.1 to 10,000.0 seconds 1
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
SH CPV scale high limit Value in the same engineering unit as CPV -----
SL CPV scale low limit Value in the same engineering unit as CPV -----
D021606E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
SEE ALSO
For a list of valid block modes for DLAY-C block, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
<D2.17 Moving-Average Block (AVE-M)> D2-81
IM 33S01B30-01E
D2.17 Moving-Average Block (AVE-M)
The Moving-Average Block (AVE-M) is used when obtaining the moving average of
the input signals that have been received between the present and a certain time in
the past.
Moving-Average Block (AVE-M)
Connection
The Moving-Average Block (AVE-M) is a function block that obtains the moving average of
the input signals that have been received between the present and a certain time in the
past.
Here is a function block diagram of the Moving-Average Block (AVE-M).
RV CPV IN OUT
(CPV, CPV)
SUB
Xr+Xr-1+
...
+Xr-m+1
m
GAIN
Input
processing
D021701E.EPS
Figure Function Block Diagram of Moving-Average Block (AVE-M)
The following table shows the connection types and connection destinations of the I/O
terminals of the Moving-Average Block (AVE-M).
Table Connection Types and Connection Destinations of the I/O Terminals of Moving-Average
Block (AVE-M)
I/O terminal
Connection type Connection destination
Data
reference
Data setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN
Calculation
input
OUT
Calculation
output
SUB
Auxiliary
output
D021702E.EPS
: 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).
10th Edition : Dec.18,2003-00
D2-82 <D2.17 Moving-Average Block (AVE-M)>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Function of Moving Average Block (AVE-M)
The AVE-M block performs input processing, calculation processing, output processing,
and alarm processing.
The only processing timing available for the AVE-M block is a periodic 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the AVE-M block,
see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Calculation Processing of Moving Average Block (AVE-M)
The AVE-M block calculates the moving average of an input signal using its calculation
algorithm and setup parameters.
<D2.17 Moving-Average Block (AVE-M)> D2-83
IM 33S01B30-01E
Calculation Algorithm
The Moving-Average Block (AVE-M) performs the following calculation processing to
obtain the moving average of input data.
CPV=GAIN
Xr+Xr-1+
...
+Xr-m+1
m
D021703E.EPS
The Moving-Average Block (AVE-M) calculates the average value of past data that have
been sampled at a specified interval. The target input signals of this calculation are the
specified number of latest sampled data.
The following shows an action example of the Moving-Average Block (AVE-M) when the
specified number of samples is 6.
GAIN
PREV
Moving average buffer
CPV
RV
Xr+Xr-1+
...
+Xr-m+1
m Number of sample points: 1 to 60
SMPL Sampling interval: 0.1 to 10000.0 seconds
PREV Earliest sampled data:
(Calculation input value of m SMPL seconds before) GAIN
Moving average measuring time = SMPL m (second)
r-8 r-7 r-6 r-5 r-4 r-3 r-2 r-1 r
Number of moving average samples at time r (6 points)
Number of moving average samples at time r-1 (6 points)
Number of moving average samples at time r-2 (6 points)
Xr-1
Xr-m+1
Xr
Specified time interval (SMPL)
m
X
D021704E.EPS
Figure Action of Moving-Average Block (AVE-M)
Initialization of the moving average is done by the reset switch (RST). When the reset
switch (RST) is turned to 1, the buffer is initialized with the calculated input value (RV).
When the initialization is complete, the reset switch (RST) returns to 0 (normal state).
When the data status of the calculated output value (CPV) returns to normal from IOP+
(input open high) or CAL (calibration), the reset switch (RST) changes to 1 automatically
and the moving average is initialized.
The earliest sampled data is stored in the earliest calculation input value (PREV) and is
available for reference.
10th Edition : Dec.18,2003-00
D2-84 <D2.17 Moving-Average Block (AVE-M)>
IM 33S01B30-01E
Set Parameters
The parameters of the Moving-Average Block (AVE-M) are shown as follows.
Gain (GAIN):
A numeric value of 7 digits or less including the sign and decimal point.
Number of Sample Point (NUM):
A numeric value between 1 and 60.
Sampling interval (SMPL):
A numeric value between 0.1 and 10000.0. Unit: sec.
For the sampling interval (SMPL), set a multiple of the scan period. If any other value is set,
sampling is performed at an interval rounded up to the next larger multiple of the scan
period.
How the sampling interval (SMPL) value is rounded up is shown as follows:
Scan period = 1 second SMPL = 0.5 Action occurs assuming SMPL = 1
Scan period = 1 second SMPL = 1.1 Action occurs assuming SMPL = 2
Scan period = 1 second SMPL = 2 Action at SMPL = 2
Scan period = 0.1 second SMPL = 0.5 Action at SMPL = 0.5
10th Edition : Dec.18,2003-00
<D2.17 Moving-Average Block (AVE-M)> D2-85
IM 33S01B30-01E
Data Items AVE-M
Table Data Items of Moving-Average Block (AVE-M)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
RV Calculated input value ----- 0
RAW Raw input data Value in the unit at the connection destination -----
CPV Calculated output value (*1) CPV engineering unit value SL
RST Reset switch 0, 1 0
PREV Earliest calculation input value Value in the same engineering unit as CPV 0
GAIN Gain 7 - digit real number including sign and decimal point 1.00
SMPL Sampling interval 0.1 to 10,000.0 seconds 1
NUM Number of samples 0 to 60 1
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
SH CPV scale high limit Value in the same engineering unit as CPV -----
SL CPV scale low limit Value in the same engineering unit as CPV -----
D021705E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
SEE ALSO
For a list of valid block modes for AVE-M block, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
D2-86 <D2.18 Cumulative-Average Block (AVE-C)>
IM 33S01B30-01E
D2.18 Cumulative-Average Block (AVE-C)
The Cumulative-Average Block (AVE-C) is used when obtaining the average value
(integrated average value) of the input data received after a specified point in time.
Cumulative-Average Block (AVE-C)
Connection
The Cumulative-Average Block (AVE-C) is a function block that calculates the average
value (integrated average value) of the input data received after a specified point in time.
Here is a function block diagram of the Cumulative-Average Block (AVE-C).
RV
SW
CPV
Manipulation
switch
IN OUT
(CPV, CPV)
SUB
Input
processing
GAIN
Average
value
D021801E.EPS
Figure Function Block Diagram of Cumulative-Average Block (AVE-C)
The following table shows the connection types and connection destinations of the I/O
terminals of the Cumulative-Average Block (AVE-C).
Table Connection Types and Connection Destinations of the I/O Terminals of Cumulative-
Average Block (AVE-C)
I/O terminal
Connection type Connection destination
Data
reference
Data setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN
Calculation
input
OUT
Calculation
output
SUB
Auxiliary
output
D021802E.EPS
: 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).
10th Edition : Dec.18,2003-00
<D2.18 Cumulative-Average Block (AVE-C)> D2-87
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Function of Cumulative Average Block (AVE-C)
The AVE-C block performs input processing, calculation processing, output processing,
and alarm processing.
The only processing timing available for the AVE-C block is a periodic 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the AVE-C block,
see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Calculation Processing of Cumulative Average Block (AVE-C)
The AVE-C block calculates the cumulative average (integral average value) of input data
using its calculation algorithm and setup parameters.
D2-88 <D2.18 Cumulative-Average Block (AVE-C)>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Calculation Algorithm
The Cumulative-Average Block (AVE-C) performs the processing that calculates the
average value (integrated average value) of input data.
The Cumulative-Average Block (AVE-C) starts calculation actions in accordance with the
values of the manipulation switch (SW).
When the manipulation switch is turned to 0, the current calculated output value (CPV) is
saved as the previous average value (PREV), then average calculation is started again.
This is called initialization of integration calculation.
After that point, the integrated average value of input data for each scan period to the
current time cumulates until the manipulation switch (SW) turns to 0 again.
The calculated output value(CPV) is the cumulated integrated average value multiplied by
gain (GAIN).
CPV=GAIN Cumulated Integrated average value
The status of calculation action is indicated by the block status.
The following figure shows the manipulation switch values (SW), corresponding actions
and block status transitions.
When Manipulation switch (SW) is 0
Starts to initialize calculation block status, then the manipulation switch (SW) changes
to 1 when initialization is completed. Block status is RUN.
When Manipulation switch (SW) is 1
Starts the average calculation. The calculated output value (CPV) is updated by each
scan period. Block status is RUN.
When Manipulation switch (SW) is 2
Holds the current calculated output value (CPV), the calculation stops. Block status is
STOP.
Start and end of integrated average calculation are set by the manipulation switch (SW).
The manipulation switch can be operated from operation and monitoring functions or other
function blocks.
Even when the block mode or alarm status has changed, the Cumulative-Average Block
(AVE-C) will not initialize the average value calculation automatically.
There is an integration number counter inside the Cumulative-Average Block (AVE-C).
When the manipulation switch (SW) is set to 1, the value of this counter increases by one
for each scan period. When the counter value becomes 2,147,483,647, calculation will
stops and set the manipulation switch (SW) to 0, then the calculation restarts.
<D2.18 Cumulative-Average Block (AVE-C)> D2-89
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Set Parameters
The parameters of the Cumulative-Average Block (AVE-C) are shown as follows.
Manipulation switch:
Specify a numeric value from 0, 1 and 2.
Gain (GAIN):
A numeric value of 7 digits or less including the sign and decimal point.
The default is 1.00.
Action Example
The following figure shows an action example of the Cumulative-Average Block (AVE-C).
Average value
calculation
Average value
calculation Hold Hold
Initialize Initialize
1 1 2 2
(21) (21) (12)
SW
Calculated
input value
(RV)
Calculated
output value
(CPV)
D021803E.EPS
Figure Action Example of Cumulative-Average Block (AVE-C)
D2-90 <D2.18 Cumulative-Average Block (AVE-C)>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Data Items AVE-C
Table Data Items of Cumulative-Average Block (AVE-C)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (AUT)
BSTS Block status ----- RUN
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
RV Calculated input value ----- 0
RAW Raw input data Value in the unit at the connection destination -----
CPV Calculated output value (*1) CPV engineering unit value SL
SW Manipulation switch 0, 1, 2 0
PREV Previous average value Value in the same engineering unit as CPV SL
GAIN Gain 7 - digit real number including sign and decimal point 1.00
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
SH CPV scale high limit Value in the same engineering unit as CPV -----
SL CPV scale low limit Value in the same engineering unit as CPV -----
D021804E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
SEE ALSO
For a list of valid block modes for AVE-C block, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
Block Status of Cumulative-Average Block (AVE-C)
Table Block Status of Block Status of Cumulative-Average Block (AVE-C)
Level
Block Status
Description
Symbol Name
1
RUN
STOP
Averaging Starts
Averaging Stops
Initialization or averaging starts.
Averaging stopped, the output is held.
D021805E.EPS
<D2.19 Variable Line-Segment Function Block (FUNC-VAR)> D2-91
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
D2.19 Variable Line-Segment Function Block
(FUNC-VAR)
The Variable Line-Segment Function Block (FUNC-VAR) converts the input signal
into a function by using arbitrary unequal line segments.
The line segment characteristics can be changed from the Variable Line-Segment
Function Block (FUNC-VAR) on operation and monitoring functions.
Variable Line-Segment Function Block (FUNC-VAR)
Connection
The Variable Line-Segment Function Block (FUNC-VAR) is a function block that converts
input signals in accordance with an arbitrary line-segment function.
Here is a function block diagram of the Variable Line-Segment Function Block (FUNC-
VAR).
D021901E.EPS
RV CPV IN OUT
(CPV, CPV)
SUB
Variable
line-segment function
GAIN
Input
processing
Figure Function Block Diagram of Variable Line-Segment Function Block (FUNC-VAR)
The following table shows the connection types and connection destinations of the I/O
terminals of the Variable Line-Segment Function Block (FUNC-VAR).
Table Connection Types and Connection Destinations of the I/O Terminals of Variable Line-
Segment Function Block (FUNC-VAR)
I/O terminal
Connection type Connection destination
Data
reference
Data setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN
Calculation
input
OUT
Calculation
output
SUB
Auxiliary
output
D021902E.EPS
: 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).
D2-92 <D2.19 Variable Line-Segment Function Block (FUNC-VAR)>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Function of Variable Line-Segment Function Block (FUNC-VAR)
The FUNC-VAR block performs input processing, calculation processing, output process-
ing, and alarm processing.
The only processing timing available for the FUNC-VAR block is a periodic startup. Selec-
tions 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the FUNC-VAR
block, see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Calculation Processing of Variable Line-Segment Function Block
(FUNC-VAR)
The FUNC-VAR block converts the value of an input signal using its calculation algorithm
(line-segment function) and setup parameters.
Output Processing Specific to Variable Line-Segment Function Block
(FUNC-VAR)
In the output processing of the FUNC-VAR block, it is possible to perform CPV pushback.
<D2.19 Variable Line-Segment Function Block (FUNC-VAR)> D2-93
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Calculation Algorithm
The Variable Line-Segment Function Block (FUNC-VAR) performs the calculation process-
ing that converts the input signal corresponding to the X coordinate of the set line segment,
to the Y coordinate value of the line segment.
The calculated output value (CPV) is the converted value multiplied by the gain (GAIN).
CPV=GAIN Variable line-segment function output
Set Parameters
The parameters of the Variable Line-Segment Function Block (FUNC-VAR) are shown as
follows.
Number of segments (SECT):
A numeric value between 1 and 14.
X_axis coordinate (input):
Set the engineering unit input signal after input signal conversion.
X01 to X15 (1 to Number of line-segment divisions + 1)
Y_axis coordinate (output):
Set the engineering unit calculated output value (CPV).
Y01 to Y15 (1 to Number of line-segment divisions + 1)
Line-segment coordinates can be set from operation and monitoring functions or other
function blocks.
Set the X_axis coordinate line-segment function in the continues increasing direction.
When the setting does not allow the X coordinate to increase strictly, the function assumes
that the function is represented by the solid line shown in the figure below.
Y
X
Action line segment
Set line segment
(error)
D021903E.EPS
Figure Action When Line-Segment Function Setting Error Occurs
D2-94 <D2.19 Variable Line-Segment Function Block (FUNC-VAR)>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Action Example
The following figure shows an example of the variable line-segment function with six
segments.
D021904E.EPS
Y (Output value: Engineering unit data of CPV)
1
2
3
4
5
7
6
X (Input value: Engineering unit data)
Figure Example of a Variable Line-Segment Function with Six segments
CPV Pushback
The CPV pushback is a function used to prevent a sudden change in an output value to the
process control output when the status of a cascade connection is changed from open to
close.
If the FUNC-VAR block is connected by means of cascade connection and the cascade
connection is opened, the calculation input value (RV) is calculated back based on a
calculation output value (CPV) obtained from a downstream function block via tracking,
thereby making the upstream function block track the value.
The CPV pushback operates only when the output value tracking is set to [Yes].
In the CPV pushback of the FUNC-VAR block, the value RV is obtained by calculating the
x-axis coordinate while using the value obtained by dividing CPV by GAIN as the input on
the y-axis.
If GAIN is 0, the CPV pushback calculation is bypassed and the calculation input value
(RV) retains the previous value.
SEE ALSO
For details on the CPV pushback, see the following:
C4.11, CPV Pushback
<D2.19 Variable Line-Segment Function Block (FUNC-VAR)> D2-95
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Data Items FUNC-VAR
Table Data Items of Variable Line-Segment Function Block (FUNK-VAR)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
RV Calculated input value ----- 0
RAW Raw input data Value in the unit at the connection destination -----
CPV Calculated output value (*1) CPV engineering unit value SL
GAIN Gain
7 - digit real number including sign and decimal
point
1.00
SECT Number of segments 1 to 14 1
X01 to X15 X-axis line-segment breakpont ----- -----
Y01 to Y15 Y-axis line-segment breakpont ----- -----
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
SH CPV scale high limit Value in the same engineering unit as CPV -----
SL CPV scale low limit Value in the same engineering unit as CPV -----
D021905E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
SEE ALSO
For a list of valid block modes for FUNC-VAR block, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
D2-96 <D2.20 Temperature and Pressure Correction Block (TPCFL)>
IM 33S01B30-01E
D2.20 Temperature and Pressure Correction Block
(TPCFL)
The Temperature and Pressure Correction Block (TPCFL) are used to correct the
flowrate measured by a differential pressure flowmeter on the basis of temperature
and pressure.
Temperature and Pressure Correction Block (TPCFL)
Connection
The Temperature and Pressure Correction Block (TPCFL) are used to correct the flowrate,
that measured by a differential pressure flowmeter, of a gas relative to the ideal gas on the
basis of temperature and pressure.
Here is a function block diagram of the Temperature and Pressure Correction Block
(TPCFL).
PRS Q02
TMP Q01
IN
OUT
RV
CPV
Correction
computation
(CPV, CPV)
SUB
Input
processing
D022001E.EPS
Figure Function Block Diagram of Temperature and Pressure Correction Block (TPCFL)
The following table shows the connection types and connection destinations of the I/O
terminals of the Temperature and Pressure Correction Block (TPCFL).
Table Connection Types and Connection Destinations of the I/O Terminals of Temperature and
Pressure Correction Block (TPCFL).
I/O terminal
Connection type Connection destination
Data
reference
Data setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN
Measured
flowrate
Q01
Measured
temperature
Q02
Measured
pressure
OUT
Calculation
output
SUB
Auxiliary
output
D022002E.EPS
: 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).
10th Edition : Dec.18,2003-00
<D2.20 Temperature and Pressure Correction Block (TPCFL)> D2-97
IM 33S01B30-01E
Function of Temperature and Pressure Correction Block (TPCFL)
The TPCFL block performs input processing, calculation processing, output processing,
and alarm processing.
The only processing timing available for the TPCFL block is a periodic 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the TPCFL block,
see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Calculation Processing of Temperature and Pressure Correction Block
(TPCFL)
The TPCFL block performs computation using its calculation algorithm and setup param-
eters.
10th Edition : Dec.18,2003-00
D2-98 <D2.20 Temperature and Pressure Correction Block (TPCFL)>
IM 33S01B30-01E
Calculation Algorithm
Corrective Computation
The Temperature and Pressure Correction Block (TPCFL) correct the flowrate of a gas
relative to an ideal gas on the basis of temperature and pressure.
The following three types of correction computation algorithms are available:
Temperature and pressure correction computations
Temperature correction computation
Pressure correction computation
Both the input and the output of the correction computation are floating-point data.
The calculated output value (CPV) is the corrected flowrate (F0) multiplied by the gain
(GAIN).
CPV = GAIN F0
Temperature and Pressure Computation
In a temperature and pressure computation, correction computations of both temperature
and pressure are performed. The following is a correction computation expression with the
measured flowrate of Fi, reference pressure of Pb, reference temperature of Tb, measured
pressure of P, and when the pressure unit of the measured temperature T is [kPa].
F0=
P+1.01325 10
2
Pb+1.01325 10
2
Fi
Tb+273.15
T+273.15
Pressure: kPa
Temperature: C
D022003E.EPS
Fi: Measured flowrate
F0: Corrected flowrate
P: Measured pressure [kPa]
Pb: Reference pressure [kPa]
T: Measured temperature (C)
Tb: Reference temperature (C)
With the pressure unit of kgf/cm
2
and the temperature unit of F, the expression is given
below.
F0=
P+1.0332
Pb+1.0332
Fi
T'b+273.15
T'+273.15
Pressure: kgf/cm
2
Temperature: F
D022004E.EPS
T'b= (Tb-32)
5
9
T'= (T -32)
5
9
Fi: Measured flowrate
P: Measured pressure [kgf/cm
2
]
T: Measured temperature (F)
F0: Corrected flowrate
Pb: Reference pressure [kgf/cm
2
]
Tb: Reference temperature (F)
10th Edition : Dec.18,2003-00
<D2.20 Temperature and Pressure Correction Block (TPCFL)> D2-99
IM 33S01B30-01E
Temperature Correction Computation
In temperature correction computation, only a correction computation of temperature is
performed with the measured flowrate of Fi, reference temperature of Tb, and measured
temperature of T. A correction computation expression is shown below.
F0=
Tb+273.15
T+273.15
Fi
[Temperature: C]
D022005E.EPS
Fi: Measured flowrate
F0: Corrected flowrate
T: Measured temperature (C)
Tb: Reference temperature (C)
The formula for corrective calculation at the temperature unit F is given below.
F0=
T'b+273.15
T'+273.15
Fi
D022006E.EPS
Pressure Correction Computation
In pressure correction computation, only a correction computation of pressure is performed
with the measured flowrate of Fi, reference pressure of Pb, and measured pressure of P.
The correction computation expression is as follows when the pressure unit is [kPa].
F0=
P+1.01325 10
2
Pb+1.01325 10
2
Fi
[Pressure: kPa]
D022007E.EPS
Fi: Measured flowrate
F0: Corrected flowrate
P: Measured pressure [kPa]
Pb: Reference pressure [kPa]
The expression for corrective calculation at the pressure unit kgf/cm
2
is given below.
F0=
P+1.0332
Pb+1.0332
Fi
D022008E.EPS
10th Edition : Dec.18,2003-00
D2-100 <D2.20 Temperature and Pressure Correction Block (TPCFL)>
IM 33S01B30-01E
Set Parameters
Pressure Unit, Temperature Unit
The parameters of the Temperature and Pressure Correction Block (TPCFL) are shown as
follows.
Reference temperature (TB):
Depends on the temperature unit specified in the builder. Degree C or F.
Reference pressure (PB): Depends on the unit specified in the builder.
Gain (GAIN):
A numeric value of 7 digits or less including the sign and decimal point.
The default is 1.00.
Correction computation, temperature unit and pressure unit are set in the
Function Block Detail Builder.
Corrective Computation:
Select from Temperature and Pressure Correction, Pressure Correction, and
Temperature Correction.
The default is Temperature Correction.
Temperature Units:
Only Deg. C may be selected from the list. If use Fahrenheit degree, F may be manu-
ally entered in the entry box.
Pressure Units: Select from Pa, kPa, and MPa.
The default is kPa.
If use kgf/cm
2
, KGF/CM2 may be manually entered in the entrybox.
TIP
Only F can be manually entered in the temperatures entry box, and only KGF/CM2 can be entered in the
pressure entry box. Entering other unit or strings may generated entry error.
3: kPa
2: Pa
4: MPa
Pressure
Unit
D022009E.EPS
Control Calculation
Pressure Unit
Temperature Unit
KGF/CM2
Pjt:MYPJT Stn:FCS0101 Drow:DR0001 File:TPCFL1.edf-...
Alarm
F
Output
Figure Example of Manually Entry of F and KGF/CM2
10th Edition : Dec.18,2003-00
<D2.20 Temperature and Pressure Correction Block (TPCFL)> D2-101
IM 33S01B30-01E
Data Items TPCFL
Table Data Items of Temperature and Pressure Correction Block (TPCFL)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
RV Measured flowrate ----- 0
RAW Raw input data Value in the unit at the connection destination -----
TMP Measured temperature ----- 0
RAW1 Raw input data Value in the unit at the connection destination -----
PRS Measured pressure ----- 0
RAW2 Raw input data Value in the unit at the connection destination -----
CPV Calculated output value (*1) CPV engineering unit value SL
TB Reference temperature ----- 0
PB Reference pressure ----- 0
GAIN Gain 7 - digit real number including sign and decimal point 1.00
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
SH CPV scale high limit Value in the same engineering unit as CPV -----
SL CPV scale low limit Value in the same engineering unit as CPV -----
D022010E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
SEE ALSO
For a list of valid block modes for TPCFL block, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
D2-102 <D2.21 ASTM Correction Block : Old JIS (ASTM1)>
IM 33S01B30-01E
D2.21 ASTM Correction Block : Old JIS (ASTM1)
The ASTM Correction Block: Old JIS (ASTM1) is used when performing correction
computation based on the ASTM correction (old JIS).
ASTM Correction Block : Old JIS (ASTM1)
Connection
The ASTM Correction Block: Old JIS (ASTM1) performs correction computation on the
flowrate of crude oil and petroleum products based on the ASTM correction (Old JIS) based
on the measured temperature and specific gravity.
Here is a function block diagram of the ASTM Correction Block: Old JIS (ASTM1).
TMP Q01
IN
OUT
RV
CPV
Correction
computation
(CPV, CPV)
SUB
Input
processing
D022101E.EPS
Figure Function Block Diagram of ASTM Correction Block : Old JIS (ASTM1)
The following table shows the connection types and connection destinations of the I/O
terminals of the ASTM Correction Block: Old JIS (ASTM1).
Table Connection Types and Connection Destinations of the I/O Terminals of ASTM Correction
Block : Old JIS (ASTM1)
I/O terminal
Connection type Connection destination
Data
reference
Data setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN
Measured
flowrate
Q01
Measured
temperature
OUT
Calculation
output
SUB
Auxiliary
output
D022102E.EPS
: 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).
10th Edition : Dec.18,2003-00
<D2.21 ASTM Correction Block : Old JIS (ASTM1)> D2-103
IM 33S01B30-01E
Function of ASTM Correction Block : Old JIS (ASTM1)
The ASTM1 block performs input processing, calculation processing, output processing,
and alarm processing.
The only processing timing available for the ASTM1 block is a periodic 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the ASTM1 block,
see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Calculation Processing of ASTM Correction Block : Old JIS (ASTM1)
The ASTM1 block performs computation using its calculation algorithm and setup param-
eters.
10th Edition : Dec.18,2003-00
D2-104 <D2.21 ASTM Correction Block : Old JIS (ASTM1)>
IM 33S01B30-01E
Calculation Algorithm
Temperature Unit
The ASTM Correction Block: Old JIS (ASTM1) performs temperature correction computa-
tion of flowrates at the measured temperature of t and specific gravity of c, based on the
ASTM correction computation (Old JIS).
In a specific gravity range not shown in the ASTM table for the ASTM correction computa-
tion (Old JIS), the same computation can be performed by extending the applicability to
Table II of JIS K2249.
The specific gravity ranges and temperature range of the ASTM and Table II of JIS K2249
are shown below.
0.5
-50 0 50
0.510
0.840
0.870
0.960
1.100 -25 C
60 C
75 C
100 C
125 C
Temperature (C)
Specific gravity
at 15/4 C (C1)
100 150 200
0.6
0.7
0.8
0.9
1
1.1
Old JIS & ASTM
0.600
Old JIS
Old JIS
-46 C
55 C
D022103E.EPS
Figure Specific Gravity Ranges and Temperature Ranges of the ASTM Correction Computation
(Old JIS) and Table II of JIS K2249 (Old JIS)
ASTM correction computation under the old JIS is shown below.
F0 = Cf Fi
Cf = 1 + (TMP-15) + (TMP-15)
2
=
-P2 (TMP)
C1
+ P2 (TMP)
,
=
-P3 (TMP)
C1
+ P4 (TMP)
D022104E.EPS
Fi: Measured flowrate
F0: Corrected flowrate
TMP: Measured temperature (C)
C1: Specific gravity (15/4 C)
P1 (TPM) to P4 (TPM): Parameters determined by temperature
The calculated output value (CPV) is the corrected flowrate (F0) multiplied by the gain
(GAIN).
CPV = GAIN F0
The temperature unit is specified in the Function Block Detail Builder.
Temperature Units: Deg. C
Only Deg. C may be selected from the list. If use Fahrenheit degree, F may be manu-
ally entered in the entry box.
10th Edition : Dec.18,2003-00
<D2.21 ASTM Correction Block : Old JIS (ASTM1)> D2-105
IM 33S01B30-01E
Set Parameters
The parameters of the ASTM Correction Block: Old JIS (ASTM1) are shown as follows.
Specific gravity at 15/4 C (DEN):
Set within the specific gravity range shown in Table II of JIS K2249.
Gain (GAIN):
A numeric value of 7 digits or less including the sign and decimal point.
The default is 1.00.
Data Items ASTM1
Table Data Items of ASTM Correction Block : Old JIS (ASTM1)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
RV Measured flowrate ----- 0
RAW Raw input data Value in the unit at the connection destination -----
TMP Measured temperature ----- 0
RAW1 Raw input data Value in the unit at the connection destination -----
CPV Calculated output value
(*1)
CPV engineering unit value SL
DEN Specific gravity
----- 0
GAIN Gain
7 - digit real number including sign and decimal point 1.00
OPMK Operation mark
0 to 255 0
UAID User application ID
----- 0
SH CPV scale high limit Value in the same engineering unit as CPV -----
SL CPV scale low limit Value in the same engineering unit as CPV -----
D022105E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
SEE ALSO
For a list of valid block modes for ASTM1 block, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
D2-106 <D2.22 ASTM Correction Block : New JIS (ASTM2)>
IM 33S01B30-01E
D2.22 ASTM Correction Block : New JIS (ASTM2)
The ASTM Correction Block: New JIS (ASTM2) is used when performing correction
computation based on the ASTM correction (new JIS).
ASTM Correction Block : New JIS (ASTM2)
Connection
The ASTM Correction Block: New JIS (ASTM2) performs correction computation on the
flowrate of crude oil and petroleum products based on the ASTM correction (New JIS)
based on the measured temperature and specific gravity.
Here is a function block diagram of the ASTM Correction Block: New JIS (ASTM2).
TMP Q01
IN
OUT
RV
CPV
Correction
computation
(CPV, CPV)
SUB
Input
processing
D022201E.EPS
Figure Function Block Diagram of ASTM Correction Block: New JIS (ASTM2)
The following table shows the connection types and connection destinations of the I/O
terminals of the ASTM Correction Block: New JIS (ASTM2).
Table Connection Types and Connection Destinations of the I/O Terminals of ASTM Correction
Block: NEW JIS (ASTM2)
I/O terminal
Connection type Connection destination
Data
reference
Data setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN
Measured
flowrate
Q01
Measured
temperature
OUT
Calculation
output
SUB
Auxiliary
output
D022202E.EPS
: 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).
10th Edition : Dec.18,2003-00
<D2.22 ASTM Correction Block : New JIS (ASTM2)> D2-107
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Function of ASTM Correction Block : New JIS (ASTM2)
The ASTM2 block performs input processing, calculation processing, output processing,
and alarm processing.
The only processing timing available for the ASTM2 block is a periodic 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the ASTM2 block,
see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Calculation Processing of ASTM Correction Block : New JIS (ASTM2)
The ASTM2 block performs computation using its calculation algorithm and setup param-
eters.
D2-108 <D2.22 ASTM Correction Block : New JIS (ASTM2)>
IM 33S01B30-01E
Calculation Algorithm
Type of Oil, Temperature Unit
The ASTM Correction Block: New JIS (ASTM2) calculates the corrected flowrate of the
flowrate F at the measured temperature of t and density of p, based on the ASTM correc-
tion computation (Old JIS).
ASTM correction computation based on the new JIS is shown below.
F0 = Cf Fi
Cf = exp {- (TMP - 15) - 0.8
2
(TMP - 15)
2
}
= A +
B
2
= +
K0
2
K1
D022203E.EPS
or
F0: Corrected flowrate
TMP: Measured temperature (C)
: Density at 15 C (kg/m
3
)
Fi: Measured flowrate
K0, K1, A, B: Oil dependent constants
The specific correction computation under the ASTM correction (New JIS) varies depend-
ing upon the type of oil used. Select appropriate constants from the table below.
Table Types of Oil and Oil Dependent Constants
Type of oil
Density range at 15kg/m
3
Constants
K0 K1 A B
Crude oil 610.5 1075.0 613.9723 0.0
Fuel oil
653.0 < 770.25 346.4228 0.4388
770.25 < 787.75 -0.00336312 2680.3206
787.75 < 838.75 594.5418 0.0
838.75 1075.0 186.9696 0.4862
Lubricating oil 800.0 1164.0 0.0 0.6278
D022204E.EPS
The calculated output value (CPV) is the corrected flowrate (F0) multiplied by the gain
(GAIN).
CPV = GAIN F0
The type of oil and temperature unit are set on the Function Block Detail Builder.
Type of Oil: Select from Crude, Fuel Oil and Lubricant.
Temperature Units: Deg. C
Only Deg. C may be selected from the list. If use Fahrenheit degree, F may be manu-
ally entered in the entry box.
10th Edition : Dec.18,2003-00
<D2.22 ASTM Correction Block : New JIS (ASTM2)> D2-109
IM 33S01B30-01E
Set Parameters
The parameters of the ASTM Correction Block: New JIS (ASTM2) are shown as follows.
Density at 15 C (DEN):
Data with the unit of kg/m
3
.
Gain (GAIN):
An actual quantity value of 7 digits or less including the sign and decimal point.
Data Items ASTM2
Table Data Items of ASTM Correction Block : New JIS (ASTM2)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
RV Measured flowrate ----- 0
RAW Raw input data Value in the unit at the connection destination -----
TMP Measured temperature ----- 0
RAW1 Raw input data Value in the unit at the connection destination -----
CPV Calculated output value (*1) CPV engineering unit value SL
DEN Density ----- 0
GAIN Gain 7 - digit real number including sign and decimal point 1.00
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
SH CPV scale high limit Value in the same engineering unit as CPV -----
SL CPV scale low limit Value in the same engineering unit as CPV -----
D022205E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
SEE ALSO
For a list of valid block modes for ASTM2 block, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
D2-110 <D2.23 Logical AND Block (AND), Logical OR Block (OR)>
IM 33S01B30-01E
D2.23 Logical AND Block (AND), Logical OR Block
(OR)
AND block is used to calculated the product of RV1 and RV2. OR block is used to
calculate the sum of RV1 and RV2.
Logical AND Block (AND), Logical OR Block (OR)
Connection
AND is the function block to be used to calculate the product of RV1 and RV2 and OR is
the function block to be used to calculate the sum of RV1 and RV2.
Here is a function block diagram of Logical AND Block (AND) and Logical OR Block (OR).
CPV
RV1
RV2
Q01
Q02
OUT
Input
Processing
Calculation
Processing
Output
Processing
Input
Processing
D022301E.EPS
Figure Function Block Diagram of Logical AND Block (AND) and Logical OR Block (OR)
The following table shows the connection types and connection destinations of the I/O
terminals of Logical AND Block (AND) and Logical OR Block (OR).
Table Connection Types and Connection Destinations of I/O Terminals of Logical AND Block
(AND) and Logical OR Block (OR)
I/O terminal
Connection type Connection destination
Data
reference
Data setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
Calculation
input 1
Q02
Q01
Calculation
input 2
OUT
Calculation
output
D022302E.EPS
: 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).
10th Edition : Dec.18,2003-00
<D2.23 Logical AND Block (AND), Logical OR Block (OR)> D2-111
IM 33S01B30-01E
Functions of Logical AND Block (AND) and Logical OR Block (OR)
The AND and OR blocks perform input processing, calculation processing, output process-
ing, and alarm processing.
The processing timings available for the AND and OR 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the AND and OR
blocks, see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Calculation Processing of Logical AND Block (AND) and Logical OR Block
(OR)
The AND block calculates the logic product of the calculation input values (RV1, RV2)
using its calculation algorithm. The OR block calculates the logic sum of the calculation
input values (RV1, RV2) using its calculation algorithm.
Calculation Algorithm
The calculated output value (CPV) and the calculated input value (RV1, RV2) have the
following relationship.
Table Relationship of Input and Output of Logical AND Block (AND)
RV1 0 0 0 0
RV2 0 0 0 0
CPV 0 0 0 1
D022303E.EPS
Table Relationship of Input and Output of Logical OR Block (OR)
RV1 0 0 0 0
RV2 0 0 0 0
CPV 0 1 1 1
D022304E.EPS
0
10th Edition : Dec.18,2003-00
D2-112 <D2.23 Logical AND Block (AND), Logical OR Block (OR)>
IM 33S01B30-01E
Data Items AND and OR
Table Data Items of Logical AND Block (AND), Logical OR Block (OR)
Data Data Name
Entry
Permission
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
RV1 Calculation input value 1 0
RV2 Calculation input value 2 0
CPV Calculated output value (*1) 0, 1 0
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
D022305E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
SEE ALSO
For a list of valid block modes for AND and OR blocks, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
<D2.24 Logical NOT Block (NOT)> D2-113
IM 33S01B30-01E
D2.24 Logical NOT Block (NOT)
NOT block is used to perform the negation calculation.
Logical NOT Block (NOT)
Connection
NOT is the function block to be used to calculate the negation of the calculated input value
(RV).
Here is a function block diagram of Logical NOT Block (NOT).
RV CPV IN OUT
Input
Processing
Calculation
Processing
Output
Processing
D022401E.EPS
Figure Function Block Diagram of Logical NOT Block (NOT)
The following table shows the connection types and connection destinations of the I/O
terminals of Logical NOT Block (NOT).
Table Connection Types and Connection Destinations of I/O Terminals of Logical NOT Block
(NOT)
I/O terminal
Connection type Connection destination
Data
reference
Data setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
Calculation
input
IN
OUT
Calculation
output
D022402E.EPS
: 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).
10th Edition : Dec.18,2003-00
D2-114 <D2.24 Logical NOT Block (NOT)>
IM 33S01B30-01E
Function of Logical NOT Block (NOT)
The NOT block performs input processing, calculation processing, output processing, and
alarm processing.
The processing timings available for the NOT block 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the NOT block,
see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Calculation Processing of Negative Block (NOT)
The NOT block performs a negative operation on the calculation input value (RV) using its
calculation algorithm.
Calculation Algorithm
The calculated output value (CPV) and the calculated input value (RV) have the following
relationship.
Table Relationship of Input and Output of Logical NOT Block (NOT)
RV 0 0
CPV 0 1
D022403E.EPS
10th Edition : Dec.18,2003-01
<D2.24 Logical NOT Block (NOT)> D2-115
IM 33S01B30-01E
Data Items NOT
Table Data Items of Logical NOT Block (NOT)
Data Data Name
Entry
Permission
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
RV Calculation input value 0
CPV Calculated output value (*1) 0, 1 SL
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
D022404E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
SEE ALSO
For a list of valid block modes for NOT block, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
D2-116 <D2.25 Flip-Flop Blocks (SRS1-S, SRS1-R, SRS2-S, SRS2-R)>
IM 33S01B30-01E
D2.25 Flip-Flop Blocks (SRS1-S, SRS1-R, SRS2-S,
SRS2-R)
SRS1-S, SRS1-R, SRS2-S and SRS2-R blocks are the function blocks used for flip-
flop operations.
Flip-Flop Blocks (SRS1-S, SRS1-R, SRS2-S, SRS2-R)
Connection
SRS1-S, SRS1-R, SRS2-S and SRS2-R blocks are the function blocks give the flip-flop
operation output CPV according the calculated input value of RV1 and RV2. SRS1-S,
SRS1-R, SRS2-S and SRS2-R blocks are classified as follows.
Set-Dominant Flip-Flop Block with 1 Output (SRS1-S)
Reset-Dominant Flip-Flop Block with 1 Output (SRS1-R)
Set-Dominant Flip-Flop Block with 2 Outputs (SRS2-S)
Reset-Dominant Flip-Flop Block with 2 Outputs (SRS2-R)
CPV1 RV1
RV2
Calculation
Processing
Q01
Q02
J01
Input
Processing
Output
Processing
Input
Processing
D022501E.EPS
CPV1 RV1
RV2
Calculation
Processing
Output
Processing
Q01
Q02
J01
J02 CPV2
Input
Processing
Input
Processing
SRS1-S and SRS1-R
SRS2-S and SRS2-R
Figure Function Block Diagram of SRS1-S, SRS1-R, SRS2-S and SRS2-R Blocks
10th Edition : Dec.18,2003-00
<D2.25 Flip-Flop Blocks (SRS1-S, SRS1-R, SRS2-S, SRS2-R)> D2-117
IM 33S01B30-01E
The following table shows the connection types and connection destinations of the I/O
terminals of SRS1-S, SRS1-R, SRS2-S and SRS2-R blocks.
Table Connection Types and Connection Destinations of the I/O Terminals of SRS1-S, SRS1-R,
SRS2-S and SRS2-R Blocks
I/O terminal
Connection type Connection destination
Data
reference
Data setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
Calculation
input 1
Q02
Q01
Calculation
input 2
D022502E.EPS
Calculation
input 1
Q02
Q01
Calculation
input 2
Calculation
output 1
J02
J01
Calculation
output 2
: 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 Flip-Flop Blocks (SRS1-S, SRS1-R, SRS2-S, SRS2-R)
The SRS1-S, SRS1-R, SRS2-S, and SRS2-R blocks perform input processing, calculation
processing, output processing, and alarm processing.
The processing timings available for the SRS1-S, SRS1-R, SRS2-S, and SRS2-R 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the SRS1-S,
SRS1-R, SRS2-S, and SRS2-R blocks, see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Calculation Processing of Flip-Flop Blocks (SRS1-S, SRS1-R, SRS2-S,
SRS2-R)
The SRS1-S, SRS1-R, SRS2-S, and SRS2-R blocks perform a flip-flop operation using
their calculation algorithms.
10th Edition : Dec.18,2003-00
D2-118 <D2.25 Flip-Flop Blocks (SRS1-S, SRS1-R, SRS2-S, SRS2-R)>
IM 33S01B30-01E
Calculation Algorithm
The calculated output value (CPV) and the calculated input value (RV1, RV2) have the
following relationship.
Table Relationship of Input and Output of Set-Dominant Flip-Flop Block with 1 Output (SRS1-S)
Input
RV1 0 0 0 0
RV2 0 0 0 0
Output
CPV1 Hold 1 0 1
- - - - -
D022503E.EPS
Table Relationship of Input and Output of Reset-Dominant Flip-Flop Block with 1 Output (SRS1-
R)
Input
RV1 0 0 0 0
RV2 0 0 0 0
Output
CPV1 Hold 1 0 0
- - - - -
D022504E.EPS
Table Relationship of Input and Output of Set-Dominant Flip-Flop Block with 2 Outputs (SRS2-S)
Input
RV1 0 0 0 0
RV2 0 0 0 0
Output
CPV1 Hold 1 0 1
CPV2 Hold 1 0 0
D022505E.EPS
Table Relationship of Input and Output of Reset-Dominant Flip-Flop Block with 2 Outputs
(SRS2-R)
Input
RV1 0 0 0 0
RV2 0 0 0 0
Output
CPV1 Hold 1 0
1 CPV2 Hold 1
0
0
D022506E.EPS
10th Edition : Dec.18,2003-00
<D2.25 Flip-Flop Blocks (SRS1-S, SRS1-R, SRS2-S, SRS2-R)> D2-119
IM 33S01B30-01E
Data Items SRS1-S, SRS1-R, SRS2-S, SRS2-R
Table Data Items of SRS1-S, SRS1-R, SRS2-S, SRS2-R flip-flop blocks
Data Data Name
Entry
Permission
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
RV2 Calculation input value2
RV1 Calculation input value1
0
0
CPV2 Calculated output value2 0, 1
CPV1 Calculated output value1 (*1) 0, 1
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
0
0
D022507E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
SEE ALSO
For a list of valid block modes for SRS1-S, SRS1-R, SRS2-S and SRS2-R blocks, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
D2-120 <D2.26 Wipeout Block (WOUT)>
IM 33S01B30-01E
D2.26 Wipeout Block (WOUT)
The WOUT block is used for the logical operation to output the AND of the calcula-
tion input value1 (RV1) and the NOT of the calculation input value2 (RV2).
Wipeout Block (WOUT)
Connection
The WOUT block is the function block to be used for the logical operation to output the AND
of the calculation input value1 (RV1) and the NOT of the calculation input value2 (RV2).
Here is a function block diagram of Wipeout Block (WOUT).
CPV
RV1
RV2
Q01
Q02
OUT
Input
Processing
Output
Processing
Input
Processing
Calculation
Processing
D022601E.EPS
Figure Function Block Diagram of Wipeout Block (WOUT)
The following table shows the connection types and connection destinations of the I/O
terminals of Wipeout Block (WOUT).
Table Connection Types and Connection Destinations of the I/O Terminals of Wipeout Block
(WOUT)
I/O terminal
Connection type Connection destination
Data
reference
Data setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
Calculation
input 1
Q02
Q01
Calculation
input 2
OUT
Calculation
output
D022602E.EPS
: 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).
10th Edition : Dec.18,2003-00
<D2.26 Wipeout Block (WOUT)> D2-121
IM 33S01B30-01E
Function of Wipeout Block (WOUT)
The WOUT block performs input processing, calculation processing, output processing,
and alarm processing.
The processing timings available for the WOUT block 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the WOUT block,
see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Calculation Processing of Wipeout Block (WOUT)
The WOUT block performs computation using its calculation algorithm.
Calculation Algorithm
The calculated output value (CPV) and the calculation input value (RV1, RV2) have the
following relationship.
Table Relationship of Input and Output of Wipeout Block (WOUT)
Input
RV1 0 0 0 0
RV2 0
0
0 0 0
Output CPV 1 0 0
D022603E.EPS
10th Edition : Dec.18,2003-00
D2-122 <D2.26 Wipeout Block (WOUT)>
IM 33S01B30-01E
Data Items WOUT
Table Data Items of Wipeout Block (WOUT)
Data Data Name
Entry
Permission
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
RV2 Calculation input value2
RV1 Calculation input value1
0
0
CPV Calculated output value (*1) 0, 1
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
0
D022604E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
SEE ALSO
For a list of valid block modes for WOUT block, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
<D2.27 ON-Delay Timer Block (OND)> D2-123
IM 33S01B30-01E
D2.27 ON-Delay Timer Block (OND)
OND block is used for the operation to output the logic value 1 as calculated output
value (CPV) when the pre-defined time elapsed after the calculation input value (RV)
is changed to a value other than 0.
ON-Delay Timer Block (OND)
Connection
OND block is used for the operation to output the logic value 1 when the pre-defined time
elapsed after the calculation input RV is changed to a value other than 0.
The calculated output value (CPV) is 0 when the calculation input value (RV) is 0.
Here is a function block diagram of ON-Delay Timer Block (OND).
RV CPV IN OUT
Input
Processing
Calculation
Processing
Output
Processing
D022701E.EPS
Figure Function Block Diagram of ON-Delay Timer Block (OND)
The following table shows the connection types and connection destinations of the I/O
terminals of ON-Delay Timer Block (OND).
Table Connection Types and Connection Destinations of the I/O Terminals of ON-Delay Timer
Block (OND)
I/O terminal
Connection type Connection destination
Data
reference
Data setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
Calculation
input
IN
OUT
Calculation
output
D022702E.EPS
: 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).
10th Edition : Dec.18,2003-00
D2-124 <D2.27 ON-Delay Timer Block (OND)>
IM 33S01B30-01E
Function of ON-Delay Timer Block (OND)
The OND block performs input processing, calculation processing, output processing, and
alarm processing.
The only processing timing available for the OND block is a periodic 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the OND block,
see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Calculation Processing of ON-Delay Timer Block (OND)
The OND block sets the calculation output value (CPV) to 1 after the pre-defined time
(STM) has elapsed using its calculation algorithm and setup parameters.
10th Edition : Dec.18,2003-00
<D2.27 ON-Delay Timer Block (OND)> D2-125
IM 33S01B30-01E
Calculation Algorithm
Time Unit
The calculation algorithm of ON-Delay Timer Block may be illustrated as follows.
The timer is initiated when the calculation input value (RV) is changed to a value other
than 0.
When timer is running, the current elapsed time (PTM) displays.
When pre-defined time (STM) elapsed, the calculated output value (CPV) changes
from 0 to 1.
When the calculation input value (RV) changes to 0, the calculated output value (CPV)
is reset to 0.
0
0
RV
0
1
CPV
STM
t
t<STM
Timer reset Timer start
D022703E.EPS
Figure ON-Delay Timer Block (OND) Calculation Algorithm
The time unit of the timer block may be set on the Function Block Detail Builder.
Time Unit: Select between Second and Minute.
The default is Second.
Setting Parameter
OND block has the following setting parameters.
Set Time (STM): 1 to 10000
10th Edition : Dec.18,2003-00
D2-126 <D2.27 ON-Delay Timer Block (OND)>
IM 33S01B30-01E
Data Items OND
Table Data Items of ON-Delay Timer Block (OND)
Data Data Name
Entry
Permission
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
RV Calculation input value 0
PTM Elapsed time 0 to 10000
STM Pre-defined time 1 to 10000
OPMK Operation mark
0 to 255 0
UAID User application ID ----- 0
1
CPV Calculated output value (*1) 0, 1 0
0
D022704E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
SEE ALSO
For a list of valid block modes for OND block, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
<D2.28 OFF-Delay Timer Block (OFFD)> D2-127
IM 33S01B30-01E
D2.28 OFF-Delay Timer Block (OFFD)
OFFD block is used for the operation to output the logic value 0 as calculated output
value (CPV) when the pre-defined time elapsed after the calculation input value (RV)
is changed to 0.
OFF-Delay Timer Block (OFFD)
Connection
OFFD block is used for the operation to output the logic value 0 when the pre-defined time
(STM) elapsed after the calculation input RV is changed from 1 to 0.
Here is a function block diagram of OFF-Delay Timer Block (OFFD).
RV CPV IN OUT
Input
Processing
Calculation
Processing
Output
Processing
D022801E.EPS
Figure Function Block Diagram of OFF-Delay Timer Block (OFFD)
The following table shows the connection types and connection destinations of the I/O
terminals of OFF-Delay Timer Block (OFFD).
Table Connection Types and Connection Destinations of the I/O Terminals of OFF-Delay Timer
Block (OFFD)
I/O terminal
Connection type Connection destination
Data
reference
Data setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
Calculation
input
IN
OUT
Calculation
output
D022802E.EPS
: 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).
10th Edition : Dec.18,2003-00
D2-128 <D2.28 OFF-Delay Timer Block (OFFD)>
IM 33S01B30-01E
Function of Off-Delay Timer Block (OFFD)
The OFFD block performs input processing, calculation processing, output processing, and
alarm processing.
The only processing timing available for the OFFD block is a periodic 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the OFFD block,
see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Calculation Processing of Off-Delay Timer Block (OFFD)
The OFFD block sets the calculation output value (CPV) to 0 after the pre-defined time
(STM) has elapsed using its calculation algorithm and setup parameters.
10th Edition : Dec.18,2003-00
<D2.28 OFF-Delay Timer Block (OFFD)> D2-129
IM 33S01B30-01E
Calculation Algorithm
Time Unit
The calculation algorithm of OFF-Delay Timer Block may be illustrated as follows.
The timer is initiated when the calculation input value (RV) is changed to 0.
When timer is running, the current elapsed time (PTM) displays.
When pre-defined time (STM) elapsed, the calculated output value (CPV) changes
from 1 to 0.
When the calculation input value (RV) changes to a value other than 0, the calculated
output value (CPV) is reset to 1.
0
0
RV
0
1
CPV
STM
t
t<STM
Timer reset Timer start
D022803E.EPS
Figure OFF-Delay Timer Block (OFFD) Calculation Algorithm
The time unit of the timer block may be set on the Function Block Detail Builder.
Time Unit: Select between Second and Minute.
The default is Second.
Setting Parameter
OFFD timer block has the following setting parameters.
Set Time (STM): 1 to 10000
10th Edition : Dec.18,2003-00
D2-130 <D2.28 OFF-Delay Timer Block (OFFD)>
IM 33S01B30-01E
Data Items OFFD
Table Data Items of OFF-Delay Timer Block (OFFD)
Data Data Name
Entry
Permission
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
RV Calculation input value 0
PTM Elapsed time 0 to 10000
STM Pre-defined time 1 to 10000
OPMK Operation mark
0 to 255 0
UAID User application ID ----- 0
1
CPV Calculated output value (*1) 0, 1 0
0
D022804E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
SEE ALSO
For a list of valid block modes for OFFD block, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
<D2.29 One-Shot Blocks Rise Trigger (TON), Fall Trigger (TOFF)> D2-131
IM 33S01B30-01E
D2.29 One-Shot Blocks Rise Trigger (TON), Fall
Trigger (TOFF)
TON block is used for the operation to output the logic value 1 as calculated output
value (CPV) for one scan period when the calculation input value (RV) is changed to
a value other than 0.
TOFF block is used for the operation to output the logic value 1 for one scan period
when the calculation input value (RV) is changed to 0.
One-Shot Blocks Rise Trigger (TON), Fall Trigger (TOFF)
Connection
TON block and TOFF block are used for the operation to output the logic value 1 as calcu-
lated output value (CPV) for one scan period when the calculation input value (RV) of TON
block is changed to a value other than 0, or the calculation input value (RV) of TOFF is
changed to 0. Otherwise, the calculated output value (CPV) is kept as 0.
Here is a function block diagram of One-shot blocks TON and TOFF.
RV CPV IN OUT
Input
Processing
Calculation
Processing
Output
Processing
D022901E.EPS
Figure Function Block Diagram of One-shot Blocks TON and TOFF
The following table shows the connection types and connection destinations of the I/O
terminals of One-shot blocks TON and TOFF.
Table Connection Types and Connection Destinations of the I/O Terminals of One-shot Blocks
TON and TOFF
I/O terminal
Connection type Connection destination
Data
reference
Data setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
Calculation
input
IN
OUT
Calculation
output
D022902E.EPS
: Connection available
Blank: Connection not available
: Connection is available only when connecting to a switch block (SW-33, SW-91) or an inter-station data link block
(ADL).
10th Edition : Dec.18,2003-00
D2-132 <D2.29 One-Shot Blocks Rise Trigger (TON), Fall Trigger (TOFF)>
IM 33S01B30-01E
Functions of One-Shot Block Rising-Edge Trigger (TON) and Falling-
Edge Trigger (TOFF)
The TON and TOFF blocks perform input processing, calculation processing, output
processing, and alarm processing.
The only processing timing available for the TON and TOFF blocks is a periodic 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the TON and
TOFF blocks, see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Calculation Processing of One-Shot Block Rising-Edge Trigger (TON) and
Falling-Edge Trigger (TOFF)
The TON and TOFF blocks set the calculation output value (CPV) to 1 for the duration of
one scan using their calculation algorithms.
Calculation Algorithm
The calculation algorithm of One-shot blocks TON and TOFF may be illustrated as follows.
One-Shot Block (Rising-Edge Trigger) (TON)
When the calculation input value (RV) is changed to a value other than 0, the logic value 1
is output as calculated output value (CPV) for one scan period.
1 Scan
0
0
IN
0
1
OUT
One-shot
Rise trigger
D022903E.EPS
Figure One-Shot Block (Rising-Edge Trigger) (TON)
10th Edition : Dec.18,2003-00
<D2.29 One-Shot Blocks Rise Trigger (TON), Fall Trigger (TOFF)> D2-133
IM 33S01B30-01E
One-Shot Block (Falling-Edge Trigger) (TOFF)
When the calculation input RV is changed from 1 to 0, the logic value 1 is output for one
scan period.
0
0
IN
0
1
OUT
1 Scan
One-shot
Fall trigger
D022904E.EPS
Figure One-Shot Block (Falling-Edge Trigger) (TOFF)
Data Items TON and TOFF
Table Data Items of One-shot Blocks Rise Trigger (TON), Fall Trigger( TOFF)
Data Data Name
Entry
Permission
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
RV Calculation input value 0
CPV Calculated output value (*1) 0, 1 0
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
D022905E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
SEE ALSO
For a list of valid block modes for TON and TOFF blocks, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
D2-134 <D2.30 Relational Operation Blocks (GT, GE, EQ)>
IM 33S01B30-01E
D2.30 Relational Operation Blocks (GT, GE, EQ)
GT, GE and EQ blocks are used to compare the two calculation input values RV1 and
RV2.
Relational Operation Blocks (GT, GE, EQ)
Connection
GT, GE and EQ blocks are used to compare the two inputs (RV1, RV2). When the compari-
son result is True, the calculated output value (CPV) becomes 1, otherwise the output
value (CPV) is 0.
Here is a function block diagram of GT, GE and EQ.
CPV
RV1
RV2
Q01
Q02
OUT
Input
Processing
Calculation
Processing
Output
Processing
Input
Processing
D023001E.EPS
Figure Function Block Diagram of Relational Operation Blocks (GT, GE, EQ)
The following table shows the connection types and connection destinations of the I/O
terminals of Relational Operation Blocks (GT, GE, EQ).
Table Connection Types and Connection Destinations of the I/O Terminals of Relational
Operation Blocks (GT, GE, EQ)
I/O terminal
Connection type Connection destination
Data
reference
Data setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
Calculation
input 1
Q02
Q01
Calculation
input 2
OUT
Calculation
output
D023002E.EPS
: 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).
10th Edition : Dec.18,2003-00
<D2.30 Relational Operation Blocks (GT, GE, EQ)> D2-135
IM 33S01B30-01E
Functions of Relational Operation Blocks (GT, GE, EQ)
The GT, GE, and EQ blocks perform input processing, calculation processing, output
processing, and alarm processing.
The processing timings available for the GT, GE, and EQ 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the GT, GE, and
EQ blocks, see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS.
Calculation Processing of Relational Operation Blocks (GT, GE, EQ)
The GT, GE, and EQ blocks compare the calculation input values (RV1, RV2) using their
calculation algorithms.
Calculation Algorithm
The calculation algorithm of GT, GE, EQ may be described as follows.
Comparator Block (Greater Than) (GT)
The calculation input values (RV1, RV2) are the floating-point numeric data, while the
calculated output value (CPV) is integer.
When RV1 > RV2, the calculated output value (CPV) becomes 1, otherwise, it is 0.
Comparator Block (Greater Than or Equal) (GE)
The calculation input values (RV1, RV2) are the floating-point numeric data, while the
calculated output value (CPV) is integer.
When RV1 RV2, the calculated output value (CPV) becomes 1, otherwise, it is 0.
Equal Operator Block (EQ)
The calculation input values (RV1, RV2) are the floating-point numeric data, while the
calculated output value (CPV) is integer.
When RV1 = RV2, the calculated output value (CPV) becomes 1, otherwise, it is 0.
When the connection destination is engineering unit data, the comparison is carried out by
floating-point numeric values.
10th Edition : Dec.18,2003-00
D2-136 <D2.30 Relational Operation Blocks (GT, GE, EQ)>
IM 33S01B30-01E
Data Items GT, GE, EQ
Table Data Items of Relational Operation Blocks (GT, GE, EQ)
Data Data Name
Entry
Permission
Range Default
MODE Block mode
----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
RV1 Calculation input value 1 0
RV2 Calculation input value 2 0
CPV Calculated output value (*1) 0, 1 0
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
D023003E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
SEE ALSO
For a list of valid block modes for GT, GE and EQ blocks, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
<D2.31 Bitwise AND Block (BAND), Bitwise OR Block (BOR)> D2-137
IM 33S01B30-01E
D2.31 Bitwise AND Block (BAND), Bitwise OR Block
(BOR)
BAND block is used when the product of the calculation input values (RV1, RV2) is
calculated in bitwise.
BOR block is used when the sum of the calculation input values (RV1, RV2) is calcu-
lated in bitwise.
Bitwise AND Block (BAND), Bitwise OR Block (BOR)
Connection
Based on the calculation input values (RV1, RV2), BAND Block calculates the bitwise
product of the two inputs while BOR block the bitwise sum of the two inputs.
Here is a function block diagram of Bitwise AND Block (BAND) and Bitwise OR Block
(BOR).
CPV
RV1
RV2
Q01
Q02
OUT
Input
Processing
Calculation
Processing
Output
Processing
Input
Processing
D023101E.EPS
Figure Function Block Diagram of Bitwise AND Block (BAND) and Bitwise OR Block (BOR)
The following table shows the connection types and connection destinations of the I/O
terminals of Bitwise AND Block (BAND) and Bitwise OR Block (BOR).
Table Connection Types and Connection Destinations of the I/O Terminals of Bitwise AND Block
(BAND) and Bitwise OR Block (BOR)
I/O terminal
Connection type Connection destination
Data
reference
Data setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
Calculation
input 1
Q02
Q01
Calculation
input 2
OUT
Calculation
output
D023102E.EPS
: 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).
10th Edition : Dec.18,2003-00
D2-138 <D2.31 Bitwise AND Block (BAND), Bitwise OR Block (BOR)>
IM 33S01B30-01E
Functions of Bitwise AND Block (BAND) and Bitwise OR Block (BOR)
The BAND and BOR blocks perform input processing, calculation processing, output
processing, and alarm processing.
The processing timings available for the BAND and BOR 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the BAND and
BOR blocks, see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Calculation Processing of Bitwise AND Block (BAND) and Bitwise OR
Block (BOR)
The BAND and BOR blocks perform computation using their calculation algorithms.
Calculation Algorithm
The I/O data of BAND and BOR blocks are integer type.
The calculation algorithm of BAND and BOR may be described as follows.
Bitwise AND Block (BAND)
The bitwise product of calculation input values (RV1, RV2) is calculated.
Example
RV1 = 0xFFFF FF00, RV2 = 0x0000 0FFF
CPV = 0x0000 0F00
Bitwise OR Block (BOR)
The bitwise sum of calculation input values (RV1, RV2) is calculated.
Example
RV1 = 0xFFFF FF00, RV2 = 0x0000 000F
CPV = 0xFFFF FF0F
10th Edition : Dec.18,2003-00
<D2.31 Bitwise AND Block (BAND), Bitwise OR Block (BOR)> D2-139
IM 33S01B30-01E
Data Items BAND, BOR
Table Data Items of Bitwise AND Block (BAND) and Bitwise OR Block (BOR)
Data Data Name
Entry
Permission
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
RV1 Calculation input value 1 0
RV2 Calculation input value 2 0
CPV Calculated output value (*1) 8 digits, hex 0
OPMK Operation mark 0 to 255
8 digits, hex
8 digits, hex
0
UAID User application ID ----- 0
D023103E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
SEE ALSO
For a list of valid block modes for BAND and BOR blocks, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
D2-140 <D2.32 Bitwise NOT Block (BNOT)>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
D2.32 Bitwise NOT Block (BNOT)
BNOT block is used when the negation of the calculation input values (RV1, RV2) is
calculated in bitwise.
Bitwise NOT Block (BNOT)
Connection
Based on the calculation inputs (RV), BNOT block calculates the bitwise negation of the
inputs.
Here is a function block diagram of Bitwise NOT Block (BNOT).
RV CPV IN OUT
Input
Processing
Calculation
Processing
Output
Processing
D023201E.EPS
Figure Function Block Diagram of Bitwise NOT Block (BNOT)
The following table shows the connection types and connection destinations of the I/O
terminals of Bitwise NOT Block (BNOT).
Table Connection Types and Connection Destinations of the I/O Terminals of Bitwise NOT Block
(BNOT)
I/O terminal
Connection type Connection destination
Data
reference
Data setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
Calculation
input
IN
OUT
Calculation
output
D023202E.EPS
: 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).
<D2.32 Bitwise NOT Block (BNOT)> D2-141
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Function of Bitwise NOT Block (BNOT)
The BNOT block performs input processing, calculation processing, output processing, and
alarm processing.
The processing timings available for the BNOT block 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the BNOT block,
see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Calculation Processing of Bitwise NOT Block (BNOT)
The BNOT block performs computation using its calculation algorithm.
Calculation Algorithm
The calculation input values (RV, CPV) of BNOT blocks is integer type.
The BNOT calculates its CPV according to the bitwise value of calculation input value (RV).
Example
RV = 0xFFFF FF00
CPV = 0x0000 00FF
D2-142 <D2.32 Bitwise NOT Block (BNOT)>
IM 33S01B30-01E
Data Items BNOT
Table Data Items of Bitwise NOT Block (BNOT)
Data Data Name
Entry
Permission
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
RV Calculation input value 0
CPV Calculated output value (*1) 8 digits, hex 0
OPMK Operation mark 0 to 255
8 digits, hex
0
UAID User application ID ----- 0
D023203E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
SEE ALSO
For a list of valid block modes for BNOT block, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
<D2.33 General-Purpose Calculation Blocks (CALCU, CALCU-C)> D2-143
IM 33S01B30-01E
D2.33 General-Purpose Calculation Blocks (CALCU,
CALCU-C)
The General-Purpose Calculation Blocks (CALCU, CALCU-C) are used when defin-
ing 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).
RV7
(CPV, CPV)
SUB
CPV3
RV1 CPV1
RV CPV
P01 P08
User-defined
arithmetic/logic
calculation
processing
Input
processing
Output
processing
Q01
Q07
IN
J01
J03
OUT
D023301E.EPS
Figure Function Block Diagram of General-Purpose Calculation Blocks (CALCU, CALCU-C)
10th Edition : Dec.18,2003-00
D2-144 <D2.33 General-Purpose Calculation Blocks (CALCU, CALCU-C)>
IM 33S01B30-01E
The following tables show the connection types and connection destinations of the I/O
terminals of General-Purpose Calculation Blocks (CALCU, CALCU-C).
Table Connection Types and Connection Destinations of the I/O Terminals of
General-Purpose Calculation Block (CALCU)
I/O terminal
Connection type Connection destination
Data
reference
Data setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN
Calculation
input
Q01
to
Q07
nth
calculation
input
OUT
Calculation
output
J01
to
J03
nth
calculation
output
SUB
Auxiliary
output
D023302E.EPS
: 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 Connection Types and Connection Destinations of the I/O Terminals of
General-Purpose Calculation Block with String I/O (CALCU-C)
I/O terminal
Connection type Connection destination
Data
reference
Data setting
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN
Calculation
input
Q01
to
Q03
nth
calculation
input
Q04
to
Q07
nth
calculation
input
OUT
Calculation
output
J01
nth
calculation
output
J02
to
J03
nth
calculation
output
SUB
Auxiliary
output
D023303E.EPS
Condition
testing
: 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).
10th Edition : Dec.18,2003-00
<D2.33 General-Purpose Calculation Blocks (CALCU, CALCU-C)> D2-145
IM 33S01B30-01E
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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the CALCU and
CALCU-C blocks, see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
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.
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.
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.
10th Edition : Dec.18,2003-00
D2-146 <D2.33 General-Purpose Calculation Blocks (CALCU, CALCU-C)>
IM 33S01B30-01E
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
Calculation input value error detection 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 [Calculation Input Value Error Detection] item.
Table Specification of Calculation Input Value Error Detection of General-Purpose Calculation
Blocks (CALCU, CALCU-C)
Specification
Error detection condition
Input value of data status
communication source
RV
RV1 to RV7
(*2)
CPV data
status
Correction
calculation type
Non-detection type
D023304E.EPS
Detect all type
Calculation
processing
BAD BAD RV
NR (*1) BAD Normal QST
Do not communicate.
NR (*1) NR (*1) Normal NR (*1)
BAD BAD
The priority order is from
RV to RVn (*3).
BAD BAD
NR (*1) NR (*1) Normal NR (*1) Do not communicate.
NR (*1) Do not communicate. Normal
-: Ignore (dont care)
*1: An NR entry in the table indicates a condition where the data status is neither BAD nor QST.
*2: RV1 to RV7 means the logic sum of the data statuses from RV1 to RV7.
*3: 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.
10th Edition : Dec.18,2003-00
<D2.33 General-Purpose Calculation Blocks (CALCU, CALCU-C)> D2-147
IM 33S01B30-01E
Calculation Algorithm
The General-Purpose Calculation Blocks (CALCU, CALCU-C) execute algorithms that are
defined using the general-purpose calculation expression description language.
SEE ALSO
For the general-purpose calculation expression description language, see the following:
D2.47, General-Purpose Arithmetic Expressions
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 descrip-
tion 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.
The input signals that are directly specified in the calculation expression description be-
come the target of calculation input error detection.
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.
Data of other FCS cannot be used in an arithmetic/logic calculation expression.
10th Edition : Dec.18,2003-00
D2-148 <D2.33 General-Purpose Calculation Blocks (CALCU, CALCU-C)>
IM 33S01B30-01E
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 user-defined 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.
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 computa-
tion error alarm (CERR) returns to normal. The value at the error occurrence is held in
ERRL.
SEE ALSO
For details on the description of calculation errors and the calculation error handling, see the following:
D2.47.7, Error Handling
10th Edition : Dec.18,2003-00
<D2.33 General-Purpose Calculation Blocks (CALCU, CALCU-C)> D2-149
IM 33S01B30-01E
Data Items CALCU, CALCU-C
The table below shows the data items of the General-Purpose Calculation Block (CALCU):
Table Data Items of General-Purpose Calculation Block (CALCU)
Data Item Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S(AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
RV Calculated input value ----- 0
RAW Raw input data Value in the unit at the connection destination -----
RV1 to RV7 Calculated input value 1 to 7 ----- 0
RAW1 to RAW7 Raw input data 1 to 7 Value in the unit at the connection destination -----
CPV Calculated output value (*1) CPV engineering unit value SL
SUM Totalizer value Value in the same engineering unit as CPV 0
CPV1 to CPV3 Calculated output value 1 to 3 ----- 0
P01 to P08 Calculation parameters 1 to 8 ----- 0
EERL Error statement number ----- 0
ERRC (* 2) Error code ----- 0
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
D023305E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
*2: ERRC denotes a detailed error code and a class error code
SEE ALSO
For a list of valid block modes for CALCU block, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
D2-150 <D2.33 General-Purpose Calculation Blocks (CALCU, CALCU-C)>
IM 33S01B30-01E
The table below shows the data items of the General-Purpose Calculation Block with String
I/O (CALCU-C):
Table Data Items of General-Purpose Calculation Block with String I/O (CALCU-C)
Data Item Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S(AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
RV Calculated input value ----- 0
RAW Raw input data Value in the unit at the connection destination -----
RV1 to RV3 Calculated input value 1 to 3 ----- 0
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 16B NULL
CPV Calculated output value (*1) CPV engineering unit value SL
SUM Totalizer value Value in the same engineering unit as CPV 0
CPV1 Calculated output value 1 16B NULL
CPV2 to CPV3 Calculated output value 2 and 3 ----- 0
P01 to P04 Calculation parameters 1 to 4 ----- 0
P05 to P08 Calculation parameters 5 to 8 16B NULL
EERL Error statement number ----- 0
ERRC (* 2) Error code ----- 0
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
D023306E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
*2: ERRC denotes a detailed error code and a class error code
SEE ALSO
For a list of valid block modes for CALCU-C block, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
<D2.34 Three-Pole Three-Position Selector Switch Block (SW-33)> D2-151
IM 33S01B30-01E
D2.34 Three-Pole Three-Position Selector Switch
Block (SW-33)
The Three-Pole Three-Position Selector Switch Block (SW-33) is used when chang-
ing three-position signal paths.
Three-Pole Three-Position Selector Switch Block (SW-33)
Connection
The Three-Pole Three-Position Selector Switch Block (SW-33) is a function block that
changes signal paths in accordance with the switch command sent from the operation and
monitoring functions or other function blocks. Up to three three-position switches can be
handled simultaneously by one Three-Pole Three-Position Selector Switch Block (SW-33).
Here is a function block diagram of the Three-Pole Three-Position Selector Switch Block
(SW-33).
S23
S22
S21
S32
S31
S30
S20
S10
S13
S12
S11
S33
2
0
1
1
1
3
0
0
2
3
2
3
SW
OFF
OFF
OFF
Switch position
D023501E.EPS
Figure Function Block Diagram of Three-Pole Three-Position Selector Switch Block (SW-33)
10th Edition : Dec.18,2003-00
D2-152 <D2.34 Three-Pole Three-Position Selector Switch Block (SW-33)>
IM 33S01B30-01E
The following table shows the connection types and connection destinations of the I/O
terminals of the Three-Pole Three-Position Selector Switch Block (SW-33).
Table Connection Types and Connection Destinations of the I/O Terminals of Three-Pole Three-
Position Selector Switch Block (SW-33)
I/O terminal
Connection type Connection destination
Data
reference
Data setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
S10 I/O terminal
S11 I/O terminal
S12 I/O terminal
S13 I/O terminal
S20 I/O terminal
S21 I/O terminal
S22 I/O terminal
S23 I/O terminal
S30 I/O terminal
S31 I/O terminal
S32 I/O terminal
S33 I/O terminal
D023502E.EPS
: Connection available
Blank: Connection not available
Note: Condition check and status manipulation signals of sequence connection cannot be handled by the Three-Pole Three-
Position Selector Switch Block (SW-33). Inter-station data link cannot be performed via the block, either.
Function of 3-Pole 3-Position Selector Switch Block (SW-33)
The SW-33 block performs input processing and calculation processing.
The SW-33 block does not have its own processing timing. The SW-33 block is never
subject to scans. The signal path of the SW-33 block is used at the timing when a function
block at the connection destination is executed.
SEE ALSO
For the types of input processing possible for the SW-33 block, see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the input processing, see the following:
C3, Input Processing
Calculation Processing of 3-Pole 3-Position Selector Switch Block (SW-33)
The SW-33 block changes the 3-pole signal path via the operation and monitoring function
or other function blocks.
10th Edition : Dec.18,2003-00
<D2.34 Three-Pole Three-Position Selector Switch Block (SW-33)> D2-153
IM 33S01B30-01E
Calculation Algorithm
The Three-Pole Three-Position Selector Switch Block (SW-33) changes signal paths in
accordance with the switch command sent from the operation and monitoring functions or
other function blocks.
There is no restriction on the I/O direction of signals. S10, S20 and S30 terminals as well as
the remaining terminals can be used for input. However, as the three three-position
switches are linked with one another, each three-position switch is always connected to a
terminal at the same switch position.
Set Parameters
The parameters of the Three-Pole Three-Position Selector Switch Block (SW-33) are
shown as follows.
Selector switch (SW): A numeric value between 0 and 3
Switch high limit (SWH): A numeric value between 0 and 3
Switch low limit (SWL): A numeric value between 0 and 3
When setting the selector switch (SW) from the operation and monitoring functions, if the
set selector switch (SW) exceeds the switch high limit (SWH) or the switch low limit (SWL),
a confirmation message appears. When the operator performs confirmation operation, the
content of the setting becomes effective.
Data Items SW-33
Table Data Items of Three-Pole Three-Position Selector Switch Block (SW-33)
Data Item Data Name
Entry Permitted
or Not
Range Default
SW Selector switch 0 to 3 0
SWH Switch high limit 0 to 3 3
SWL Switch low limit 0 to 3 0
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
D023503E.EPS
: Entry is permitted unconditionally
10th Edition : Dec.18,2003-00
D2-154 <D2.35 One-Pole Nine-Position Selector Switch Block (SW-91)>
IM 33S01B30-01E
D2.35 One-Pole Nine-Position Selector Switch
Block (SW-91)
The 1-Pole 9-Position Selector Switch Block (SW-91) is used when changing nine-
position signal paths.
One-Pole Nine-Position Selector Switch Block (SW-91)
Connection
The One-Pole Nine-Position Selector Switch Block (SW-91) is a function block that
changes signal paths in accordance with the switch command sent from the operation and
monitoring functions or other function blocks. Only one nine-position switch can be handled
by the One-Pole Nine-Position Selector Switch Block (SW-91).
Here is a function block diagram of the One-Pole Nine-Position Selector Switch Block (SW-
91).
S13
S12
S11
S10
S16
S15
S14
S19
S18
S17
OFF 0
1
2
3
5
6
7
8
9
SW
4
D023601E.EPS
Figure Function Block Diagram of One-Pole Nine-Position Selector Switch Block (SW-91)
10th Edition : Dec.18,2003-00
<D2.35 One-Pole Nine-Position Selector Switch Block (SW-91)> D2-155
IM 33S01B30-01E
The following table shows the connection types and connection destinations of the I/O
terminals of the One-Pole Nine-Position Selector Switch Block (SW-91).
Table Connection Types and Connection Destinations of the I/O Terminals of One-Pole Nine-
Position Selector Switch Block (SW-91)
I/O terminal
Connection type Connection destination
Data
reference
Data setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
S10 I/O terminal
S11 I/O terminal
S12 I/O terminal
S13 I/O terminal
S14 I/O terminal
S16 I/O terminal
S17 I/O terminal
S18 I/O terminal
S19 I/O terminal
D023602E.EPS
: Connection available
Blank: Connection not available
Note: Condition check and status manipulation signals of sequence connection cannot be handled. Inter-station data link
cannot be performed, either.
Function of 1-Pole 9-Position Selector Switch Block (SW-91)
The SW-91 block performs input processing and calculation processing.
The SW-91 block does not have its own processing timing. The SW-91 block is never
subject to scans. The signal path of the SW-91 block is used at the timing when a function
block at the connection destination is executed.
SEE ALSO
For the types of input processing possible for the SW-91 block, see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the input processing, see the following:
C3, Input Processing
Calculation Processing of 1-Pole 9-Position Selector Switch Block (SW-91)
The SW-91 block changes the 9-pole signal path via the operation and monitoring function
or other function blocks.
10th Edition : Dec.18,2003-00
D2-156 <D2.35 One-Pole Nine-Position Selector Switch Block (SW-91)>
IM 33S01B30-01E
Calculation Algorithm
The One-Pole Nine-Position Selector Switch Block (SW-91) changes signal paths in
accordance with the switch command sent from the operation and monitoring functions or
other function block.
There is no restriction on the I/O direction of signals for the One-Pole Nine-Position Selec-
tor Switch Block (SW-91). Terminals S10 through S19 can be used for input.
Set Parameters
The parameters of the One-Pole Nine-Position Selector Switch Block (SW-91) are shown
as follows.
Selector switch (SW): A numeric value between 0 and 9
Switch high limit (SWH): A numeric value between 0 and 9
Switch low limit (SWL): A numeric value between 0 and 9
When setting the selector switch (SW) from the operation and monitoring functions, if the
set selector switch (SW) exceeds the switch high limit (SWH) or the switch low limit (SWL),
a confirmation message appears. When the operator performs confirmation operation, the
content of the setting becomes effective.
Data Items SW-91
Table Data Items of One-Pole Nine-Position Selector Switch Block (SW-91)
Data Item Data Name
Entry Permitted
or Not
Range Default
SW Selector switch 0 to 9 0
SWH Switch high limit 0 to 9 9
SWL Switch low limit 0 to 9 0
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
D023603E.EPS
: Entry is permitted unconditionally
10th Edition : Dec.18,2003-00
<D2.36 Selector Switch Block for 16 Data (DSW-16)> D2-157
IM 33S01B30-01E
D2.36 Selector Switch Block for 16 Data (DSW-16)
The Selector Switch Block for 16 Data (DSW-16) is used when switching output
constants (numeric data) from one to the other is required.
Selector Switch Block for 16 Data (DSW-16)
Connection
The Selector Switch Block for 16 Data (DSW-16) is a function block that outputs a constant
(numeric value data) in accordance with the switch command sent from the operation and
monitoring functions or other function blocks.
Here is a function block diagram of the Selector Switch Block for 16 Data (DSW-16).
Constant 2
Constant 1
Constant 16
CPV
SW
OUT
Switch position
OFF 0
1
16
2
OUT
D023701E.EPS
Figure Function Block Diagram of Selector Switch Block for 16 Data (DSW-16)
The following table shows the connection types and connection destinations of the I/O
terminals of the Selector Switch Block for 16 Data (DSW-16).
Table Connection Types and Connection Destinations of the I/O Terminals of Selector Switch
Block for 16 Data (DSW-16)
I/O terminal
Connection type Connection destination
Data
reference
Data setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
OUT
Calculation
output
D023702E.EPS
: Connection available
Blank: Connection not available
10th Edition : Dec.18,2003-00
D2-158 <D2.36 Selector Switch Block for 16 Data (DSW-16)>
IM 33S01B30-01E
Functions of Selector Switch Block for 16 Data (DSW-16)
The DSW-16 block performs input processing, calculation processing, output processing,
and alarm processing.
The only processing timing available for the DSW-16 block is a periodic 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the DSW-16
block, see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Calculation Processing of Selector Switch Block for 16 Data (DSW-16)
The DSW-16 block performs computation using its calculation algorithm and setup param-
eters.
Calculation Algorithm
Output Velocity Limiter
The Selector Switch Block for 16 Data (DSW-16) outputs one of the values of the constants
1 through 16 in accordance with the switch command sent from the operation and monitor-
ing functions or other function blocks. The value of the constant to be output can be limited
by the output velocity limiter function.
When the selector switch (SW) is turned OFF (0), the previous value is held as the calcu-
lated output value (CPV).
The output velocity limiter value can be defined in the Function Block Detail Builder.
Output Velocity Limiter:
An allowed change per scan in the calculated output value (CPV).
The default is the scale span value.
Set Parameters
The parameters of the Selector Switch Block for 16 Data (DSW-16) are shown as follows.
Selector switch (SW): A numeric value between 0 and 16
Constants 1 to 16 (SD01 to SD16): Engineering unit data values
10th Edition : Dec.18,2003-00
<D2.36 Selector Switch Block for 16 Data (DSW-16)> D2-159
IM 33S01B30-01E
Data Items DSW-16
Table Data Items of Selector Switch Block for 16 Data (DSW-16)
Data Item Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
CPV Calculated output value (*1) CPV engineering unit value SL
SW Selector switch 0 to 16 0
SD01 to SD16 Constants 1 to 16 Value in the same engineering unit as CPV 0
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
SH CPV scale high limit Value in the same engineering unit as CPV -----
SL CPV scale low limit Value in the same engineering unit as CPV -----
D023703E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
SEE ALSO
For a list of valid block modes for DSW-16 block, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
D2-160 <D2.37 Selector Switch Block for 16 String Data (DSW-16)>
IM 33S01B30-01E
D2.37 Selector Switch Block for 16 String Data
(DSW-16C)
Selector Switch Block for 16 String Data (DSW-16C) is used when switching output-
ting constants (text string data) from one to the other.
Selector Switch Block for 16 String Data (DSW-16C)
Connection
The Selector Switch Block for 16 String Data (DSW-16C) is a function block that outputs a
constant (string data) in accordance with the switch command sent from the operation and
monitoring functions or other function blocks.
Here is a function block diagram of the Selector Switch Block for 16 String Data (DSW-
16C).
Constant 2
Constant 1
Constant 16
CPV
SW
OUT
Switch position
OFF 0
1
16
2
OUT
D023801E.EPS
Figure Function Block Diagram of Selector Switch Block for 16 String Data (DSW-16C)
The following table shows the connection types and connection destinations of the I/O
terminals of the Selector Switch Block for 16 String Data (DSW-16C).
Table Connection Types and Connection Destinations of the I/O Terminals of Selector Switch
Block for 16 String Data (DSW-16C)
I/O terminal
Connection type Connection destination
Data
reference
Data setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
OUT
Calculation
output
D023802E.EPS
: Connection available
Blank: Connection not available
10th Edition : Dec.18,2003-00
<D2.37 Selector Switch Block for 16 String Data (DSW-16)> D2-161
IM 33S01B30-01E
Functions of Selector Switch Block for 16 String Data (DSW-16C)
The DSW-16C block performs input processing, calculation processing, and alarm pro-
cessing.
The only processing timing available for the DSW-16C block is a periodic startup. Selec-
tions 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing and alarm processing possible for the DSW-16C block, see the follow-
ing:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the input processing, see the following:
C3, Input Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Calculation Processing of Selector Switch Block for 16 String Data
(DSW-16C)
The DSW-16C block performs computation using its calculation algorithm and setup
parameters.
Calculation Algorithm
The Selector Switch Block for 16 String Data (DSW-16C) executes the processing that
outputs one of the constants from data 1 to data 16 in accordance with the switch com-
mand sent from the operation and monitoring functions or other function blocks.
When the selector switch (SW) is turned OFF (0), the previous value is held in the calcu-
lated output value (CPV).
Set Parameters
The parameters of the Selector Switch Block for 16 String Data (DSW-16C) are shown as
follows.
Selector switch (SW): A numeric value between 0 and 16
Constants 1 to 16 (SD01 to SD16):
Set string data of up to 16 standard-width characters or 8 double-width characters.
10th Edition : Dec.18,2003-00
D2-162 <D2.37 Selector Switch Block for 16 String Data (DSW-16)>
IM 33S01B30-01E
Data Items DSW-16C
Table Data Items of Selector Switch Block for 16 String Data (DSW-16C)
Data Item Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
CPV Calculated output value (*1) 16B NULL
SW Selector switch 0 to 16 0
SD01 to SD16 Constants 1 to 16 16B NULL
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
D023803E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
SEE ALSO
For a list of valid block modes for DSW-16C block, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
<D2.38 Data Set Block (DSET)> D2-163
IM 33S01B30-01E
D2.38 Data Set Block (DSET)
The Data Set Block (DSET) is used as buffers for engineering unit data entered from
the operation and monitoring functions.
Data Set Block (DSET)
Connection
The Data Set Block (DSET) is a function block that outputs the engineering unit data
entered from the operation and monitoring functions.
Here is a function block diagram of Data Set Block (DSET).
SV OUT Velocity limiter
D023901E.EPS
Figure Function Block Diagram of Data Set Block (DSET)
The following table shows the connection types and connection destinations of the I/O
terminals of Data Set Block (DSET).
Table Connection Types and Connection Destinations of the I/O Terminals of Data Set Block
(DSET)
I/O terminal
Connection type Connection destination
Data
reference
Data setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
OUT
Setting
output
D023902E.EPS
: 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).
10th Edition : Dec.18,2003-00
D2-164 <D2.38 Data Set Block (DSET)>
IM 33S01B30-01E
Functions of Data Set Block (DSET)
The DSET block performs input processing, calculation processing, output processing, and
alarm processing.
The only processing timing available for the DSET block is a periodic 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the DSET block, see
the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Calculation Processing of Data Set Block (DSET)
The DSET block outputs arbitrary engineering unit data that is input via the operation and
monitoring function using its calculation algorithm and setup parameters.
Calculation Algorithm
Output Velocity Limiter
The Data Set Block (DSET) outputs the data setpoint (SV) entered via key operation from
the operation and monitoring functions. The output is restricted by velocity limiting process-
ing.
The output velocity limiter value is set on the Function Block Detail Builder.
Output Velocity Limiter:
The allowed change per scan in the calculated output value (CPV).
The default is the scale span value.
Set Parameters
The parameters of Data Set Block (DSET) are shown as follows.
Data setpoint (SV): An engineering unit data value
Data setpoint high limit (SVH): An engineering unit data value
Data setpoint low limit (SVL): An engineering unit data value
When setting the data setpoint (SV) from the operation and monitoring functions, if the set
data setpoint (SV) exceeds the data setpoint high or low limit (SVH, SVL), a confirmation
message appears, the content of the setting becomes effective when the operator performs
confirmation operation.
10th Edition : Dec.18,2003-00
<D2.38 Data Set Block (DSET)> D2-165
IM 33S01B30-01E
Data Items DSET
Table Data Items of Data Set Block (DSET)
Data Item Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
SV Data setpoint SV engineering unit value SL
SVH Data high - limit setpoint Value in the same engineering unit as SV SH
SVL Data high - low setpoint Value in the same engineering unit as SV SL
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
SH CPV scale high limit Value in the same engineering unit as SV -----
SL CPV scale low limit Value in the same engineering unit as SV -----
D023903E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
SEE ALSO
For a list of valid block modes for DSET block, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
D2-166 <D2.39 Data Set Block with Input Indicator (DSET-PVI)>
IM 33S01B30-01E
D2.39 Data Set Block with Input Indicator
(DSET-PVI)
Data Set Block with Input Indicator (DSET-PVI) is used when the function of the data
set block (DSET) and Input Indicator Block (PVI) applied to regulatory control are
required simultaneously.
Data Set Block with Input Indicator (DSET-PVI)
Connection
The Data Set Block with Input Indicator (DSET-PVI) is a function block that has the function
of the Data Set Block (DSET) as well as that of the Input Indicator Block (PVI) used for
regulatory control.
This block performs the following two different processing simultaneously:
Outputs arbitrary engineering unit data entered from the operation and monitoring
functions.
Indicate input signals sent from Process I/O and other function blocks.
Here is a function block diagram of the Data Set Block with Input Indicator (DSET-PVI).
CPV SV
(CPV, CPV, SV, SV)
IN
SUB
OUT
Input
processing
Velocity
limiter
D024001E.EPS
Figure Function Block Diagram of Data Set Block with Input Indicator (DSET-PVI)
The following table shows the connection types and connection destinations of the I/O
terminals of Data Set Block with Input Indicator (DSET-PVI).
Table Connection Types and Connection Destinations of the I/O Terminals of Data Set Block with
Input Indicator (DSET-PVI)
I/O terminal
Connection type Connection destination
Data
reference
Data setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN
Calculation
input
OUT
Calculation
output
SUB
Auxiliary
output
D024002E.EPS
: 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).
10th Edition : Dec.18,2003-00
<D2.39 Data Set Block with Input Indicator (DSET-PVI)> D2-167
IM 33S01B30-01E
Functions of Data Set Block with Input Indicator (DSET-PVI)
The DSET-PVI block performs input processing, calculation processing, output processing,
and alarm processing.
The only processing timing available for the DSET-PVI block is a periodic startup. Selec-
tions 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of input processing, output processing, and alarm processing possible for the DSET-PVI
block, see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the input processing, see the following:
C3, Input Processing
For details on the output processing, see the following:
C4, Output Processing
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Calculation Processing of Data Set Block with Input Indicator (DSET-PVI)
The DSET-PVI block performs computation using its calculation algorithm and setup
parameters.
Calculation Algorithm
Output Velocity Limiter
The data setpoint (SV) set by the operation and monitoring functions is output under the
restriction of velocity limiting processing.
The value input from the IN terminal is converted to the calculated output value (CPV) and
displayed.
The output velocity limiter value is defined in the Function Block Detail Builder.
Output Velocity Limiter:
The allowed change per scan in the calculated output value (CPV).
The default is the scale span value
10th Edition : Dec.18,2003-00
D2-168 <D2.39 Data Set Block with Input Indicator (DSET-PVI)>
IM 33S01B30-01E
Set Parameters
The parameters of the Data Set Block with Input Indicator (DSET-PVI) are shown as follows.
High-high limit alarm setpoint (HH):An engineering unit data value.
Low-low limit alarm setpoint (LL): An engineering unit data value.
High-limit alarm setpoint (PH): An engineering unit data value.
Low-limit alarm setpoint (PL): An engineering unit data value.
Velocity limit alarm setpoint (VL):
An engineering unit data value within the span of 0 to CPV.
Data setpoint (SV): An engineering unit data value.
Data setpoint high limit (SVH): An engineering unit data value.
Data setpoint low limit (SVL): An engineering unit data value.
10th Edition : Dec.18,2003-00
<D2.39 Data Set Block with Input Indicator (DSET-PVI)> D2-169
IM 33S01B30-01E
When setting the data setpoint (SV) from the operation and monitoring functions, if the set
data setpoint (SV) exceeds the data setpoint high or low limit (SVH, SVL), a confirmation
message appears, the content of the setting becomes effective when the operator performs
confirmation operation.
Data Items DSET-PVI
Table Data Items of Data Set Block with Input Indicator (DSET-PVI)
Data Item Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (MAN)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- 0
AF Alarm detection specification ----- 0
AOFS Alarm masking specification ----- 0
CPV Calculated input value (*1) Value in the same engineering unit as CPV SL
SUM Totalizer value Value in the same engineering unit as CPV 0
SV Data setpoint Real quantity SL
SVH Data high - limit setpoint Real quantity SH
SVL Data low - limit setpoint Real quantity SL
HH High - high limit alarm setpoint Value in the same engineering unit as CPV SH
LL Low - low limit alarm setpoint Value in the same engineering unit as CPV SL
PH High - limit alarm setpoint Value in the same engineering unit as CPV SH
PL Low - limit alarm setpoint Value in the same engineering unit as CPV SL
VL Velocity limit alarm setpoint 0 to CPV span (SH - SL)
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
SH CPV scale high limit Value in the same engineering unit as CPV -----
SL CPV scale low limit Value in the same engineering unit as CPV -----
D024003E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
SEE ALSO
For a list of valid block modes for DSET-PVI block, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
D2-170 <D2.40 One-Batch Data Set Block (BDSET-1L)>
IM 33S01B30-01E
D2.40 One-Batch Data Set Block (BDSET-1L)
The One-Batch Data Set Block (BDSET-1L) is used to set numeric batch set data for
a single batch in a group or by selecting items.
One-Batch Data Set Block (BDSET-1L)
Connection
The One-Batch Data Set Block (BDSET-1L) is a function block that selects and outputs
arbitrary numeric batch set data using a command switch (SW).
By using the command switch (SW), various setpoint values and control parameters for the
feedback control loop in the batch control loop, as well as setpoint values of the timer and
counter used for sequence control can be set.
In the One-Batch Data Set Block (BDSET-1L), the batch data including numeric data only
can be stored up to 16 batch data.
Here is a function block diagram of the One-Batch Data Set Block (BDSET-1L).
Command switch
Batch data 16 J16
J03
J02
J01
Batch data 3
Batch data 2
Batch data 1
SW
D024101E.EPS
Figure Function Block Diagram of One-Batch Data Set Block (BDSET-1L)
The following table shows the connection types and connection destinations of the One-
Batch Data Set Block (BDSET-1L).
Table Connection Types and Connection Destinations of the I/O Terminals of One-Batch Data Set
Block (BDSET-1L)
I/O terminal
Connection type Connection destination
Data
reference
Data
setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
J01 to J16
Calculation
output
D024102E.EPS
: 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).
10th Edition : Dec.18,2003-00
<D2.40 One-Batch Data Set Block (BDSET-1L)> D2-171
IM 33S01B30-01E
Functions of 1-Batch Data Set Block (BDSET-1L)
The BDSET-1L block performs calculation processing and alarm processing.
The processing timings available for the BDSET-1L block 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of alarm processing possible for the BDSET-1L block, see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Calculation Processing of 1-Batch Data Set Block (BDSET-1L)
The BDSET-1L block performs calculation processing based on the action of the command
switch (SW). In addition, it has the "setpoint value limiter function," which is related to the
calculation processing.
Action of the Command Switch (SW)
The One-Batch Data Set Block (BDSET-1L) performs the following processing in accor-
dance with the value of the command switch (SW).
Table Processing Contents of One-Batch Data Set Block (BDSET-1L)
SW Status
Operation example
Processing content Operation source
0 Setting up data
(1) Sets batch data.
(2) Switches the SW from 0 to 1.
Operation and monitoring
functions
1 Waiting for the batch sequence
(1) Waits for the completion of setup.
(2) Switches the SW from 1 to 2.
Sequence control block
2 Distributing data to the output destinations
(1) Distributes data to the output destinations.
(2) Switches the SW from 2 to 3. (*1)
BDSET-1L block
3 Operating the batch sequence
(1) Waits for the completion of batch operation.
(2) Switches the SW from 3 to 0.
Sequence control block
D024103E.EPS
*1: Switching of the switch position from 2 to 3 is performed automatically by the BDSET-1L block.
10th Edition : Dec.18,2003-00
D2-172 <D2.40 One-Batch Data Set Block (BDSET-1L)>
IM 33S01B30-01E
Action during Status Manipulation via Sequence Connection
When a status manipulation signal is received from other function block connected via
sequence connection, data setting is performed. However, the value of the manipulation
switch (SW) will not change.
The formats of the status manipulation command sent from other function block and the
content of the corresponding processing performed by the One-Batch Data Set Block
(BDSET-1L) are shown below.
Element symbol.ACT.n
n = 0: All batch data (DT01 to DT16) are changed to 0.
n = 1 to 16: The specified data (DTnn) is set to the output destination.
n = 17: All batch data (DT01 to DT16) are set to all output destinations.
Set Limit Function
The set limit function is a function that limits the value of the batch data (DTnn) set from
outside to values within a specified range (between high/low limits).
If the set value is outside the high/low limit range, a setting error occurs.
The high limit value (DHnn) and low limit value (DLnn) represent the high limit and low limit of
Set data, respectively. The high limit value (DHnn) and low limit value (DLnn) must be consis-
tent with the range of the output destination.
The set limit function only checks the data set via the operation and monitoring functions.
Data set from other function blocks are not checked.
Setting to the output destination is performed even when batch data (DTnn) exceed the
specified limits.
Set Parameters
The parameters of the One-Batch Data Set Block (BDSET-1L) are shown as follows.
Batch data (DT01 to DT16):
Engineering unit data values at output destinations
Command switch (SW):
A value between 0 and 3
Set limit high limit (DH01 to DH16):
Engineering unit data values at output destinations
Set limit low limit (DL01 to DL16):
Engineering unit data values at output destinations
10th Edition : Dec.18,2003-00
<D2.40 One-Batch Data Set Block (BDSET-1L)> D2-173
IM 33S01B30-01E
Data Items BDSET-1L
Table Data Items of One-Batch Data Set Block (BDSET-1L)
Data Item Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
SW Command switch 0 to 3 0
DT01 to DT16 Batch data DLnn to DHnn 0
DH01 to DH16 Set limit high limit Value in the unit at the connection destination 10000
DL01 to DL16 Set limit low limit Value in the unit at the connection destination 0
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
D024104E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
SEE ALSO
For a list of valid block modes for BDSET-1L block, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
D2-174 <D2.41 One-Batch String Data Set Block (BDSET-1C)>
IM 33S01B30-01E
D2.41 One-Batch String Data Set Block (BDSET-1C)
The One-Batch String Data Set Block (BDSET-1C) is used to set string-type batch set
data for a single batch are set in a group or by selecting items.
One-Batch String Data Set Block (BDSET-1C)
Connection
The One-Batch String Data Set Block (BDSET-1C) is a function block that selects and
outputs arbitrary string-type batch set data using a command switch (SW).
The One-Batch String Data Set Block (BDSET-1C) can store up to 16 batch data, each
containing only string data.
Here is a function block diagram of One-Batch String Data Set Block (BDSET-1C).
Command switch
Batch data 16 J16
J03
J02
J01
Batch data 3
Batch data 2
Batch data 1
SW
D024201E.EPS
Figure Function Block Diagram of One-Batch String Data Set Block (BDSET-1C)
The following table shows the connection types and connection destinations of the One-
Batch String Data Set Block (BDSET-1C).
Table Connection Types and Connection Destinations of the I/O Terminals of One-Batch String
Data Set Block (BDSET-1C)
I/O terminal
Connection type Connection destination
Data
reference
Data
setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
J01 to J16
Calculation
output
D024202E.EPS
: 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).
10th Edition : Dec.18,2003-00
<D2.41 One-Batch String Data Set Block (BDSET-1C)> D2-175
IM 33S01B30-01E
Functions of One-Batch String Data Set Block (BDSET-1C)
The BDSET-1C block performs calculation processing and alarm processing.
The processing timings available for the BDSET-1C block 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of alarm processing possible for the BDSET-1C block, see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Calculation Processing of One-Batch String Data Set Block (BDSET-1C)
The BDSET-1C block performs calculation processing based on the action of the command
switch (SW).
Action of the Command Switch (SW)
The One-Batch String Data Set Block (BDSET-1C) performs the following processing in
accordance with the value of the command switch (SW).
Table Processing Contents of One-Batch String Data Set Block (BDSET-1C)
SW Status
Operation example
Processing content Operation source
0 Setting up data
(1) Sets batch data.
(2) Switches the SW from 0 to 1.
Operation and monitoring
functions
1 Waiting for the batch sequence
(1) Waits for the completion of setup.
(2) Switches the SW from 1 to 2.
Sequence control block
2 Distributing data to the output destinations
(1) Distributes data to the output destinations.
(2) Switches the SW from 2 to 3. (*1)
BDSET-1C
3 Operating the batch sequence
(1) Waits for the completion of batch.
(2) Switches the SW from 3 to 0.
Sequence control block
D024203E.EPS
*1: Switching of the switch position from 2 to 3 is performed automatically by the One-Batch String Data Set Block
(BDSET-1C).
10th Edition : Dec.18,2003-00
D2-176 <D2.41 One-Batch String Data Set Block (BDSET-1C)>
IM 33S01B30-01E
Action during Status Manipulation via Sequence Connection
Data setting is performed when a status manipulation signal is received from other function
block connected via sequence connection. However, the value of the command switch
(SW) will not change.
The format of the status manipulation command sent from other function block and the
content of the processing performed by the One-Batch String Data Set Block (BDSET-1C)
are shown below.
Element symbol.ACT.n
n = 0: All batch data (DT01 to DT16) are replaced with null.
n = 1 to 16: The specified data (DTnn) is set to the output destination.
n = 17: All batch data (DT01 to DT16) are set to all output destinations.
Set Parameters
The parameters of the One-Batch String Data Set Block (BDSET-1C) are shown as follows.
Batch data (DT01 to DT16):
Set string data of up to 16 standard-width characters or 8 double-width characters.
Command switch (SW): A numeric value between 0 and 3.
Data Items BDSET-1C
Table Data Items of One-Batch String Data Set Block (BDSET-1C)
Data Item Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
SW Command switch 0 to 3 0
DT01 to DT16 Batch data 16B -----
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
D024204E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
SEE ALSO
For a list of valid block modes for BDSET-1C block, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
<D2.42 Two-Batch Data Set Block (BDSET-2L)> D2-177
IM 33S01B30-01E
D2.42 Two-Batch Data Set Block (BDSET-2L)
The Two-Batch Data Set Block (BDSET-2L) is used to set numeric-type batch data for
two batches in a group or by selecting specific items.
Two-Batch Data Set Block (BDSET-2L)
Connection
The Two-Batch Data Set Block (BDSET-2L) is a function block that selects and outputs
arbitrary batch set data using a command switch (SW).
Various setpoint values and control parameters of the feedback control loop, as well as
setpoint values of the time and counter used for sequence control can be set.
Up to 16 current batch data and up to 16 next batch data can be stored. By switching the
value of the command switch (SW), the stored next batch data can be moved to the current
batch data, or the current batch data can be set to the output destination. The Two-Batch
Data Set Block (BDSET-2L) can only set numeric data.
Here is a function block diagram of the Two-Batch Data Set Block (BDSET-2L).
Command switch
Current batch data 16
Current batch data 3
Current batch data 2
Current batch data 1
Next batch data 16
Next batch data 3
Next batch data 2
Next batch data 1
J16
J03
J02
J01
SW
D024301E.EPS
Figure Function Block Diagram of Two-Batch Data Set Block (BDSET-2L)
The following table shows the connection types and connection destinations of the Two-
Batch Data Set Block (BDSET-2L).
Table Connection Types and Connection Destinations of I/O Terminals of Two-Batch Data Set
Block (BDSET-2L)
I/O terminal
Connection type Connection destination
Data
reference
Data
setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
J01 to J16
Calculation
output
D024302E.EPS
: 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).
10th Edition : Dec.18,2003-00
D2-178 <D2.42 Two-Batch Data Set Block (BDSET-2L)>
IM 33S01B30-01E
Functions of Two-Batch Data Set Block (BDSET-2L)
The BDSET-2L block performs calculation processing and alarm processing.
The processing timings available for the BDSET-2L block 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of alarm processing possible for the BDSET-2L block, see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Calculation Processing of Two-Batch Data Set Block (BDSET-2L)
The BDSET-2L block performs calculation processing based on the action of the command
switch (SW) and batch status (NXBS). In addition, it has the setpoint value limiter func-
tion, which is related to the calculation processing.
10th Edition : Dec.18,2003-00
<D2.42 Two-Batch Data Set Block (BDSET-2L)> D2-179
IM 33S01B30-01E
Action of the Command Switch (SW) and Batch Status (NXBS)
The Two-Batch Data Set Block (BDSET-2L) performs the processing shown in the table
below, in accordance with the value of the command switch (SW).
The batch status (NXBS) indicates the status of the next batch data. When the value of the
batch status (NXBS) is other than 0, it indicates that the setting of the next batch data
(NX01 to NX16) has been completed and the current batch data is ready for transfer. If the
value of the batch status (NXBS) is 0, it indicates that the next batch data is not yet ready
to be transferred to the current batch data.
If the batch status (NXBS) is left at 0, the Two-Batch Data Set Block (BDSET-2L) ignores
the next batch data. While the batch status (NXBS) remains 0, the Two-Batch Data Set
Block (BDSET-2L) can be used temporarily as the One-Batch Data Set Block (BDSET-1L).
Table Processing Contents of Two-Batch Data Set Block (BDSET-2L)
SW Status
Operation example
Operation from HIS
Processing content Operation source
0
Transferring the
next data to the
current data
(1) Moves the next data to the current data.
(2) Switches the SW from 0 to 1.
(3) Sets NXBS to 0.
BDSET-2L (*1)
1
Waiting for the
batch sequence
(1) Waits for the setup to be completed.
(2) Switches the SW from 1 to 2.
Sequence control
block
(1) Set the next batch data from
an operation and monitoring
functions, when SW is 1, 2,
or 3.
(2) Set a value other than 0 to
NXBS.
2
Distributing the
current data
(1) Distributes the current data to the output
destinations.
(2) Switches SW from 2 to 3.
BDSET-2C
3
Operating the batch
sequence
(1) Waits for the completion of batch.
(2) Switches SW from 3 to 0.
Sequence control
block
D024303E.EPS
*1: The Two-Batch Data Set Block (BDSET-2L) transfers the next data to the current data when the command switch (SW)
becomes 0 and the value of the batch status (NXBS) becomes other than 0. If the command switch (SW) changes
to 0 when the next batch data is yet to be set at the operation and monitoring functions, the Two-Batch Data Set Block
(BDSET-2L) waits for the value of the batch status (NXBS) to become other than 0. When a value other than 0 is set
to the batch status (NXBS) after the next data has been set at the operation and monitoring functions, the Two-Batch
Data Set Block (BDSET-2L) moves the next data to the current data, then sets the value of the command switch (SW)
to 1 to wait for the batch sequence.
Action during Status Manipulation via Sequence Connection
Data setting is performed when a status manipulation signal is received from other function
block connected via sequence connection. However, the value of the command switch
(SW) will not change.
The format of the status manipulation command outputted from other function block and
the content of the processing performed by the Two-Batch Data Set Block (BDSET-2L) are
shown below.
Element symbol.ACT.n
n = 0: All current set data are changed to 0.
n = 1 to 16: Only the specified current data (DTnn) is set.
n = 17: All current set data are set.
10th Edition : Dec.18,2003-00
D2-180 <D2.42 Two-Batch Data Set Block (BDSET-2L)>
IM 33S01B30-01E
Set Limit Function
The set limit function is a function that limits the value of the current batch data (DTnn) and
next batch data (NXnn), both of which are set from outside, within a specified range (be-
tween high/low limits).
If the set value is outside the high/low limit range, a setting error occurs.
The high and low limit values (DHnn, DLnn) represent the high limit and low limit of set data,
respectively. The high and low limit values (DHnn, DLnn) must be consistent with the range of
the output destination.
The set limit function only checks the data set via the operation and monitoring functions.
Data set from other function blocks are not checked.
Setting to the output destination is even allowed with the batch data (DTnn) exceeding the
specified limits.
Set Parameters
The parameters of the Two-Batch Data Set Block (BDSET-2L) are shown as follows.
Current batch data (DT01 to DT16): Engineering unit data values of output destina-
tions.
Arbitrary values can be selected and set as long as they can be indicated in the
double-precision floating format. Whether the value is within the range of the output
destination is not checked during setting.
Next batch data (NX01 to NX16): Engineering unit data values of output destinations.
Arbitrary values can be selected and set as long as they can be indicated in the
double-precision floating format. Whether the value is within the range of the output
destination is not checked during setting.
Command switch (SW): A numeric value between 0 and 3.
Batch status (NXBS):
An integer value other than 0 set from the operation and monitoring functions.
Automatically changes to 0 when batch data setting action is performed.
Set limit high (DH01 to DH16): Engineering unit data values of output destinations.
Set limit low (DL01 to DL16): Engineering unit data values of output destinations.
10th Edition : Dec.18,2003-00
<D2.42 Two-Batch Data Set Block (BDSET-2L)> D2-181
IM 33S01B30-01E
Data Items BDSET-2L
Table Data Items of Two-Batch Data Set Block (BDSET-2L)
Data Item Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
SW Command switch 0 to 3 0
NXBS Batch status Integer of 0 or higher 0
DT01 to DT16 Current batch data DLnn to DHnn 0
NX01 to NX16 Next batch data DLnn to DHnn 0
DH01 to DH16 Set limit high limit Value in the unit at the connection destination 10000
DL01 to DL16 Set limit low limit Value in the unit at the connection destination 0
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
D024304E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
SEE ALSO
For a list of valid block modes for BDSET-2L block, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
D2-182 <D2.43 Two-Batch String Data Set Block (BDSET-2C)>
IM 33S01B30-01E
D2.43 Two-Batch String Data Set Block (BDSET-2C)
The Two-Batch String Data Set Block (BDSET-2C) is used to set string batch data for
two batches in a group or by selecting items.
Two-Batch String Data Set Block (BDSET-2C)
Connection
The Two-Batch String Data Set Block (BDSET-2C) is a function block that selects and
outputs arbitrary batch set data using a command switch (SW).
Up to 16 batch data can be stored for current output and for next output, respectively.
By changing the value of the command switch (SW), the stored next batch data can be
moved to the current batch data, or the current batch data can be set to the output destina-
tion. The Two-Batch String Data Set Block (BDSET-2C) can only set string data.
Here is a function block diagram of the Two-Batch String Data Set Block (BDSET-2C).
Command switch
Current batch data 16
Current batch data 3
Current batch data 2
Current batch data 1
Next batch data 16
Next batch data 3
Next batch data 2
Next batch data 1
J16
J03
J02
J01
SW
D024401E.EPS
Figure Function Block Diagram of Two-Batch String Data Set Block (BDSET-2C)
The following table shows the connection types and connection destinations of the Two-
Batch String Data Set Block (BDSET-2C).
Table Connection Types and Connection Destinations of I/O Terminals of Two-Batch String Data
Set Block (BDSET-2C)
I/O terminal
Connection type Connection destination
Data
reference
Data
setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
J01 to J16
Calculation
output
D024402E.EPS
: 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).
10th Edition : Dec.18,2003-00
<D2.43 Two-Batch String Data Set Block (BDSET-2C)> D2-183
IM 33S01B30-01E
Functions of Two-Batch Data Set Block: Strings (BDSET-2C)
The BDSET-2C block performs calculation processing and alarm processing.
The processing timings available for the BDSET-2C block 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of alarm processing possible for the BDSET-2C block, see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Calculation Processing of Two-Batch Data Set Block: Strings (BDSET-2C)
The BDSET-2C block performs calculation processing based on the action of the command
switch (SW) and batch status (NXBS).
10th Edition : Dec.18,2003-00
D2-184 <D2.43 Two-Batch String Data Set Block (BDSET-2C)>
IM 33S01B30-01E
Action of the Command Switch (SW) and Batch Status (NXBS)
The Two-Batch String Data Set Block (BDSET-2C) performs the processing shown in the
table below, in accordance with the value of the command switch (SW).
The batch status (NXBS) indicates the status of the next batch data. When the value of the
batch status (NXBS) is other than 0, it indicates that the setting of the next batch data
(NX01 to NX16) has been completed and the current batch data is ready for transfer. If the
value of the batch status (NXBS) is 0, it indicates that the next batch data is not yet ready
to be transferred to the current batch data.
If the batch status (NXBS) is left at 0, the Two-Batch String Data Set Block (BDSET-2C)
ignores the next batch data. While the batch status (NXBS) remains 0, the Two-Batch
String Data Set Block (BDSET-2C) can be used temporarily as the One-Batch String Data
Set Block (BDSET-1C).
Table Processing Contents of Two-Batch String Data Set Block (BDSET-2C)
SW Status
Operation example
Operation from HIS
Processing content Operation source
0
Transferring the
next data to the
current data
(1) Moves the next data to the current data.
(2) Switches the SW from 0 to 1.
(3) Sets NXBS to 0.
BDSET-2L
block
(*1)
1
Waiting for the
batch sequence
(1) Waits for the setup to be completed.
(2) Switches the SW from 1 to 2.
Sequence control
block
(1) Set the next batch data from
an operation and monitoring
functions, when SW is 1, 2,
or 3.
(2) Set a value other than 0 to
NXBS.
2
Distributing the
current data
(1) Distributes the current data to the output
destinations.
(2) Switches SW from 2 to 3.
BDSET-2C
block
3
Operating the batch
sequence
(1) Waits for the completion of batch.
(2) Switches SW from 3 to 0.
Sequence control
block
D034403E.EPS
*1: The Two-Batch String Data Set Block (BDSET-2C) transfers the next data to the current data when the command
switch (SW) becomes 0 and the value of the batch status (NXBS) becomes other than 0. If the command switch
(SW) changes to 0 when the next batch data has yet to be set at the operation and monitoring functions, the Two-
Batch String Data Set Block (BDSET-2C) waits for the value of the batch status (NXBS) to become anything other than
0. When a value other than 0 is set to the batch status (NXBS) after the next data has been set at the operation and
monitoring functions, the Two-Batch String Data Set Block (BDSET-2C) moves the next data to the current data, then
sets the value of the command switch (SW) to 1 to resume the batch sequence.
10th Edition : Dec.18,2003-00
<D2.43 Two-Batch String Data Set Block (BDSET-2C)> D2-185
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Action during Status Manipulation via Sequence Connection
Data setting is performed when a status manipulation signal is received from other function
block connected via sequence connection. However, the value of the manipulation switch
(SW) will not change.
The format of the status manipulation command outputted from other function blocks and
the content of the processing performed by the Two-Batch String Data Set Block (BDSET-
2C) are shown below.
Element symbol.ACT.n
n = 0: All current set data are replaced with a null.
n = 1 to 16: Only the specified current data (DTnn) is set.
n = 17: All current set data are set.
Set Parameters
The parameters of the Two-Batch String Data Set Block (BDSET-2C) are shown as follows.
Current batch data (DT01 to DT16):
Set string data of up to 16 standard-width characters or 8 double-width characters.
Next batch data (NX01 to NX16):
Set string data of up to 16 standard-width characters or 8 double-width characters.
Command switch (SW):
A numeric value between 0 and 3.
Batch status (NXBS):
An integer value other than 0 set from the operation and monitoring functions.
Automatically changes to 0 when batch data setting action has been performed.
D2-186 <D2.43 Two-Batch String Data Set Block (BDSET-2C)>
IM 33S01B30-01E
Data Items BDSET-2C
Table Data Items of Two-Batch String Data Set Block (BDSET-2C)
Data Item Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
SW Command switch 0 to 3 0
NXBS Batch status Integer of 0 or higher 0
DT01 to DT16 Current batch data 16B -----
NX01 to NX16 Next batch data 16B -----
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
D024404E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
SEE ALSO
For a list of valid block modes for BDSET-2C block, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
<D2.44 Batch Data Acquisition Block (BDA-L)> D2-187
IM 33S01B30-01E
D2.44 Batch Data Acquisition Block (BDA-L)
The Batch Data Acquisition Block (BDA-L) is used to acquire numeric batch data.
Batch Data Acquisition Block (BDA-L)
Connection
The Batch Data Acquisition Block (BDA-L) is a function block that acquires various control
parameters of the feedback control loop as well as data of the timer and counter used for
sequence control, as batch data. The Batch Data Acquisition Block (BDA-L) only acquires
numeric batch data.
Here is a function block diagram of the Batch Data Acquisition Block (BDA-L).
Acquired data 16
Acquired data 3
Acquired data 2
Acquired data 1
J16
J03
J02
J01
Command switch SW
D024501E.EPS
Figure Function Block Diagram of Batch Data Acquisition Block (BDA-L)
The following table shows the connection types and connection destinations of the Batch
Data Acquisition Block (BDA-L).
Table Connection Types and Connection Destinations of I/O Terminals of Batch Data Acquisition
Block (BDA-L)
I/O terminal
Connection type Connection destination
Data
reference
Data
setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
J01 to J16
Calculation
output
D024502E.EPS
: 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).
10th Edition : Dec.18,2003-00
D2-188 <D2.44 Batch Data Acquisition Block (BDA-L)>
IM 33S01B30-01E
Functions of Batch Data Acquisition Block (BDA-L)
The BDA-L block performs calculation processing and alarm processing.
The processing timings available for the BDA-L block 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of alarm processing possible for the BDA-L block, see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Calculation Processing of Batch Data Acquisition Block (BDA-L)
The BDA-L block performs calculation processing based on the action of the command
switch (SW). In addition, it has the setpoint value limiter function, which is related to the
calculation processing.
Action of the Command Switch (SW)
The Batch Data Acquisition Block (BDA-L) acquires engineering unit data from the connec-
tion destinations of I/O terminals, when a value is set to the command switch (SW).
Data acquisition processing actions are shown below:
When a value between 1 and 16 is set to the command switch (SW)
Acquire data from the I/O terminal (J01 to J16) which corresponds to the value of the
manipulation switch (SW), and changes the value of the command switch (SW) to 0.
When 17 is set to the command switch (SW)
Acquire data from all input terminals, and changes the value of the command switch
(SW) to 0.
When 0 is set to the command switch (SW)
Data acquisition is not performed.
Set Parameter
The parameters of the Batch Data Acquisition Block (BDA-L) are shown as follows.
Command switch (SW): An integer value between 0 and 17
10th Edition : Dec.18,2003-00
<D2.44 Batch Data Acquisition Block (BDA-L)> D2-189
IM 33S01B30-01E
Action during Status Manipulation via Sequence Connection
Data acquisition is performed when a status manipulation signal is received from other
function block connected via sequence connection. However, the value of the command
switch (SW) will not change.
The format of the status manipulation command output from other function block and the
content of the processing performed by the Batch Data Acquisition Block (BDA-L) are
shown below.
Element symbol.ACT.n
n = 0: All acquired data are changed to 0.
n = 1 to 16: Only the specified data (DTnn) is acquired.
n = 17: All data are acquired.
Set Limit Function
The set limit function is a function that limits the value of the batch data (DTnn), which is set
from outside of the Batch Data Acquisition Block (BDA-L), within a specified range between
high and low limits.
If the set data value is outside the high/low limit range, a setting error occurs.
The high limit value (DHnn) and low limit value (DLnn) represent the high limit and low limit of
set data, respectively.
The set limit function only checks the data set via the operation and monitoring functions.
Data set from other function blocks are not checked.
Therefore, as long as the data acquired by the Batch Data Acquisition Block (BDA-L) has
been received from the input source through normal batch data acquisition, each value is
stored in the batch data (DTnn) as is even if the limits are exceeded.
10th Edition : Dec.18,2003-00
D2-190 <D2.44 Batch Data Acquisition Block (BDA-L)>
IM 33S01B30-01E
Data Items BDA-L
Table Data Items of Batch Data Acquisition Block (BDA-L)
Data Item Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
SW Command switch 0 to 17 0
DT01 to DT16 Acquired data DLnn to DHnn 0
DH01 to DH16 Set limit high limit Value in the unit at the connection destination 10000
DL01 to DL16 Set limit low limit Value in the unit at the connection destination 0
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
D024503E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
SEE ALSO
For a list of valid block modes for BDA-L block, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
<D2.45 Batch String Data Acquisition Block (BDA-C)> D2-191
IM 33S01B30-01E
D2.45 Batch String Data Acquisition Block
(BDA-C)
The Batch String Data Acquisition Block (BDA-C) is to acquire string-type batch
data.
Batch String Data Acquisition Block (BDA-C)
Connection
The Batch String Data Acquisition Block (BDA-C) is a function block that acquires string-
type batch data. The Batch String Data Acquisition Block (BDA-C) only acquires string-type
batch data.
Here is a function block diagram of the Batch String Data Acquisition Block (BDA-C).
Acquired data 16
Acquired data 3
Acquired data 2
Acquired data 1
J16
J03
J02
J01
Command switch SW
D024601E.EPS
Figure Function Block Diagram of Batch String Data Acquisition Block (BDA-C)
The following table shows the connection types and connection destinations of the Batch
String Data Acquisition Block (BDA-C).
Table Connection Types and Connection Destinations of I/O Terminals of Batch String Data
Acquisition Block (BDA-C)
I/O terminal
Connection type Connection destination
Data
reference
Data
setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
J01 to J16
Calculation
output
D024602E.EPS
: 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).
10th Edition : Dec.18,2003-00
D2-192 <D2.45 Batch String Data Acquisition Block (BDA-C)>
IM 33S01B30-01E
Functions of Batch String Data Acquisition Block (BDA-C)
The BDA-C block performs calculation processing and alarm processing.
The processing timings available for the BDA-C block 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: The medium-speed scan period can only be used for the KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For the types of alarm processing possible for the BDA-C block, see the following:
D2.3.1, Input Processing, Output Processing, and Alarm Processing Possible for Each Calculation Block
For details on the alarm processing, see the following:
C5, Alarm Processing-FCS
Calculation Processing of Batch String Data Acquisition Block (BDA-C)
The BDA-C block performs calculation processing based on the action of the command
switch (SW).
Action of the Command Switch (SW)
The Batch String Data Acquisition Block (BDA-C) acquires string data from the connection
destinations of I/O terminals, when a value is set to the command switch (SW).
Data acquisition processing actions are shown below:
When a value between 1 and 16 is set to the command switch (SW)
Acquire data from the I/O terminal (J01 to J16) which corresponds to the value of the
manipulation switch (SW), and changes the value of the command switch (SW) to 0.
When 17 is set to the command switch (SW)
Acquire data from all input terminals, and changes the value of the command switch
(SW) to 0.
When 0 is set to the command switch (SW)
Data acquisition is not performed.
Action by Other Function Block Connected via Sequence Connection
Data acquisition is performed when a status manipulation signal is received from other
function block connected by sequence connection. However, the value of the command
switch (SW) will not change.
The format of the status manipulation command outputted from other function blocks and
the content of the processing performed by the Batch String Data Acquisition Block (BDA-
C) are shown below.
Element symbol.ACT.n
n = 0: All acquired data are replaced with null.
n = 1 to 16: Only the specified data (DTnn) is acquired.
n = 17: All data are acquired.
10th Edition : Dec.18,2003-00
<D2.45 Batch String Data Acquisition Block (BDA-C)> D2-193
IM 33S01B30-01E
Set Parameter
The set parameters of the Batch String Data Acquisition Block (BDA-C) are shown as
follows.
Command switch (SW): An integer value between 0 and 17.
Data Items Batch String Data Acquisition Block (BDA-C)
Table Data Items of Batch String Data Acquisition Block (BDA-C)
Data Item Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (AUT)
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- -----
AF Alarm detection specification ----- -----
AOFS Alarm masking specification ----- -----
SW Command switch 0 to 17 0
DT01 to DT16 Acquired data 16B -----
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
D024603E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
SEE ALSO
For a list of valid block modes for BDA-C block, see the following:
D2.3.2, Valid Block Modes for Each Calculation Block
10th Edition : Dec.18,2003-00
D2-194 <D2.46 Inter-Station Data Link Block (ADL)>
IM 33S01B30-01E
D2.46 Inter-Station Data Link Block (ADL)
The Inter-Station Data Link Block (ADL) is used for referencing data or relaying set
data between function blocks that belong to different FCS. This function block is
automatically created when inter-station data link is specified.
Inter-Station Data Link Block (ADL)
The Inter-Station Data Link (ADL) is a function block that relays reference data or set data
between function blocks that belong to different FCS.
In addition to simple data reference and data setting, this block can be used for cascade
connection between controller function blocks.
Here is a function block diagram of the Inter-Station Data Link Block (ADL).
SET1
SET2
SET8
Reference data 1
Set data 1
Reference data 2
Set data 2
Reference data 8
Set data 8
Function block
of other control station
D024701E.EPS
Figure Function Block Diagram of Inter-Station Data Link Block (ADL)
10th Edition : Dec.18,2003-00
<D2.46 Inter-Station Data Link Block (ADL)> D2-195
IM 33S01B30-01E
Even in the case of connection between function blocks that belong to different FCS, if a
connection is specified using the same method for connecting function blocks belonging to
the same FCS, the Inter-Station Data Link Block (ADL) is automatically created and in-
serted between the function blocks specified for the connection. The Inter-Station Data Link
Block (ADL) is created on the FCS with the function block that is the source of reference or
setting.
However, the Inter-Station Data Link Block (ADL) will not be created if any of the following
connection methods is used:
Sequence connection (condition testing, status manipulation)
Referencing from or setting to a process I/O and word data of a communication I/O
other than contact I/Os
Terminal connection to a switch block (SW-33, SW-91)
Data link from the connection terminal which corresponds to the block mode or status
of a faceplate block
Connection to an alarm input terminal of a Representative Alarm Block (ALM-R)
Setting character string data (Character string data may be referenced.)
Connecting with OUT terminal of FOUNDATION fieldbus Faceplate Block.
TIP
After downloading the engineering data in which portions not relating to the Inter-Station Data Link Block
(ADL) have been modified by a builder, a difference may be detected, indicating that some changes have
occurred to the Inter-Station Data Link Block (ADL). This difference is generated because the inter-station
data link is recreated dynamically.
Function blocks in the control stations belonging to different projects can be connected in
the same way as for inter-station connection in the same project by using a multiple-project
tag name for the tag name of that function block. However, the HIS must be installed with
the Multiple-Project connection packages.
Multiple-project tag names are specified in the following format:
tag name@project ID
Project ID can be defined on the Multiple-Project Connection builder for the upper level
project. The project ID can not be more than two alphanumeric characters. The maximum
number of characters that can be used for the entire multiple-project tag name is 16,
including the @ mark and the project ID.
An example of inter-station connection using Multiple-Project tags is illustrated as follows.
Project ID = P1
OUT
IN
SET
FIC001@P2.SET
FIC001
PID
TIC101
PID
TI102
PVI
TI002
PVI
TIC101@P1.OUT
TI102@P1.PV
Project ID = P2
D024702E.EPS
Figure Example of Inter-Station Connection Using Multiple-Project Tag Names
10th Edition : Dec.18,2003-00
D2-196 <D2.46 Inter-Station Data Link Block (ADL)>
IM 33S01B30-01E
Control Action
Three types of processing are available with the Inter-Station Data Link Block (ADL): data
reference only, data setting only and data reference and setting.
Which processing is performed is determined automatically in accordance with the data
that has been linked when I/O connection was specified in the Function Block Detail
Builder. The processing types and corresponding I/O connections are shown below.
Processing type: I/O connection
Data reference: Data reference connection
Data reference and setting: Data setting connection, cascade connection
Data setting: Data setting connection from a specific function block
The cycle of periodic communication processing (processing timing) performed by the
Inter-Station Data Link Block (ADL) is specified by the FCS Constants Builder for each FCS
to which the Inter-Station Data Link Block (ADL) belongs.
When the communication error occurs, NCOM (communication failure) is transmitted as
the data status to the function blocks or the data buffers connect to it.
Communication failure alarm is initiated only when the communication error occurred for a
specified number of times. So far, this specified number is fixed as 1, i.e., the alarm occurs
whenever the error is detected.
Data Reference
When processing type is reference or reference and setting, data is referred from the
specified reference destination. An example of data reference action is shown below.
Referencing function block
PV
ADL Referenced function block
DATA Reference data n SETn IN
Other
control station
D024703E.EPS
Figure Data Reference Action of Inter-Station Data Link Block (ADL)
10th Edition : Dec.18,2003-00
<D2.46 Inter-Station Data Link Block (ADL)> D2-197
IM 33S01B30-01E
Data Setting
When processing type is setting or reference and setting, data is set to the specified
setting destination. When data with data status is set, its data status is transmitted just like
the connection between function blocks that both belong to the same FCS.
Before setting data, function blocks read back the set data. This readback action is also
performed when data is set between different FCS. Therefore, data reference (readback) is
performed to every data specified for reference and setting prior to setting. The refer-
enced value in this readback action is returned when a readback request is received from
the setting source function block.
The data set examples in the case of data setting connection are shown as follows.
Data setting source
function block
MV
ADL Data setting destination
function block
DATA
Reference data n
SETn OUT
Set data n
Other
control station
D024704E.EPS
Figure Data Setting Action
Upstream block
in cascade
MV
ADL Downstream block
in cascade
CSV
Reference data n
SETn SET OUT
Set data n
Other
control station
D024705E.EPS
Figure Cascade Connection
IMPORTANT
When the cascade connection between controller function blocks involves different FCS,
use the Inter-Station Data Link Block (ADL) in accordance with the following conditions.
Set the control output action type of the upstream function block in cascade to posi-
tional.
The control period of the upstream function block in cascade should be set longer
than the inter-station communication period.
10th Edition : Dec.18,2003-00
D2-198 <D2.46 Inter-Station Data Link Block (ADL)>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Inter-Station Communication Period
Inter-Station Data Link Communication Period
The inter-station communication period is a time required to complete all inter-station data
link processing within a FCS. It is specified in the FCS Constants Builder as a FCS-specific
constant. The default is one second.
During inter-station data link processing, inter-station data link processing at all points is
completed within the time in seconds corresponding to the inter-station communication
period. The number of inter-station communications points executed in one second is
shown below.
Points obtained by rounding up the result of the following equation to the nearest multiple of
8.
(Effective inter-station data link points)
(Inter-station communication period)
(round up by every 8 points)
D024706E.EPS
The effective inter-station data link points are the points of the inter-station data link actually
wired in Control Drawing Builder or in Function Block Detail Builder or in Function Block
Overview Builder within each FCS. When the definition (wire connection) of the inter-
station data link is changed, the inter-station data link points to be processed in one second
will be set again based on the set inter-station data link points.
TIP
When the inter-station communication period is changed, offline downloading will be required.
Re-Transmission Skip when Communication Error Detected
Re-Transmission Skip when Inter-Station Data Link Error
When a communication error is detected during inter-station data link processing, inter-
station communication transmission skips for a period of time then retry the transmission in
the interval of this skip period. This re-transmission skip period is expressed as follows:
Re-transmission skip period =
(Inter-station communication period) (re-transmission skip times)
The re-transmission skip times can be defined in the FCS Constants Builder as a FCS
constant. The default is 60.
If the inter-station communication period extends, the re-transmission skip period extends
accordingly.
<D2.47 General-Purpose Arithmetic Expressions> D2-199
IM 33S01B30-01E
D2.47 General-Purpose Arithmetic Expressions
The general-purpose arithmetic expression description language is a programming
language to describe the arithmetic algorithm of the general-purpose calculation
blocks (CALCU, CALCU-C).
General-Purpose Arithmetic Expressions
The general-purpose arithmetic expressions are used in order to define the calculation
algorithm of the general-purpose calculation blocks (CALCU, CALCU-C).
The following section describes the features of the general-purpose arithmetic expressions.
Data items of an arbitrary function block can be referred to or set through the I/O
terminal of the general-purpose calculation blocks (CALCU, CALCU-C).
Arithmetic expressions which handle character strings such as messages and block
mode can be described.
Processing such as conditional jumps can be described by using control statements.
Built-in functions which execute calculations for the temperature correction or pres-
sure correction, etc., can be used.
10th Edition : Dec.18,2003-00
D2-200 <D2.47 General-Purpose Arithmetic Expressions>
IM 33S01B30-01E
D2.47.1 Basic Items of the General-Purpose Arithmetic
Expressions
This section explains the basic items of the general-purpose arithmetic expressions.
Identifiers in the General-Purpose Arithmetic Expressions
Basic of Arithmetic Calculation Description
The identifiers in the general-purpose arithmetic expressions are the character strings that
represent the arithmetic expressions and variables and labels used by arithmetic expres-
sions.
Various variables used by the labels of the arithmetic expressions or in the arithmetic
expressions require identifiers. They cannot become the object of calculation without
identifiers.
The names of the identifiers have the following restrictions:
Only the following characters are allowed to use; alphabet (A to Z and a to z), num-
bers (0 to 9), _ (underscore), $, and %.
Use an alphabet or % for the first character of the identifier name.
Even though there is no limit to the length of the identifier, only the first eight charac-
ters are valid for identification. Identifiers that have the same first eight-characters are
treated as the same identifier.
Upper case and lower case of the alphabets are not distinguished.
The identifiers which are defined as reserved words for the numerical calculation
expressions cannot be used other than the reserved purposes.
SEE ALSO
For the reserved words of the general-purpose arithmetic expression, see the following:
D2.47.9, Reserved Words for Numerical and Logical Arithmetic Expressions
10th Edition : Dec.18,2003-00
<D2.47 General-Purpose Arithmetic Expressions> D2-201
IM 33S01B30-01E
Configuration of the General-Purpose Arithmetic Expression
The general-purpose arithmetic expression consists of a program statement, which indi-
cates the start of an arithmetic expression; declaration statement, which declares variables;
executable statements, which execute calculations; and an end statement, which indicates
the end of an arithmetic expression.
The program statement and end statement can be omitted.
The following lines give the example of the order that each statement in the arithmetic
expression:
program
declaration statement
executable statement
end
Express in Multiple Lines
When one statement is too long and does not fit in one line, use \ or // in the end of the
line. One statement can be written in multiple lines if \ or // is followed by a line break.
The following example shows a statement in multiple lines:
program
{PIC100.MODE.MAN)=//
{TIC100.ALRM.HI}
{SW100.SV.3}=\
{TIC100.MODE.AUT}
end
Comment
When a line is headed by a * mark, the contents of the entire line are treated as a com-
ment.
When ! mark appears in the middle of a line, the texts from the right-hand side of ! mark
till the end of the line are treated as a comment.
The following examples show a comment and a comment statement:
program !This portion is comment.
*This line is for comment.
if ({SW100.SW.3})then
10th Edition : Dec.18,2003-00
D2-202 <D2.47 General-Purpose Arithmetic Expressions>
IM 33S01B30-01E
Label
A label can be attached to a statement as a mark. A label can be used as a branch destina-
tion of a goto statement.
The labels are written in the following format:
<identifier>:<statement>
An example of label is shown below:
program
label: if({SW100.SW.3})then
If there is no statement to the right-hand side of a label, it means that the label is for the
next statement. An example when no statement is written to the right-hand side of the label
is shown below:
program
label:
if({SW100.SW.3})then
Maximum Number of Lines for an Arithmetic Expression
A maximum number of lines for an arithmetic expression are 250 including comment and
empty lines. Among them, only 20 lines can be used for the statement descriptions. The
lines listed below, however, are excluded from the statement description lines:
Program, end, else, end if, case, otherwise, end switch, labels, comments, and lines
that consist of declaration statements only.
The second line and thereafter of a statements where ended with \ or // mark.
Empty lines
When a case statement and another statement are written in the same line, such as case
1:i=1, the line is treated as a statement line.
Engineering Index
Even if the statement is written in 20 lines or less, a capacity overflow error may occur
during the compilation. This phenomenon occurs due to the limitation on the used vari-
ables, constants and the number of operators.
The possibility of a capacity overflow error is lowered if approximately 20 lines of assign-
ment statements with four terms, as shown below, are written:
A = A1 + A2 + A3 + A4
10th Edition : Dec.18,2003-00
<D2.47 General-Purpose Arithmetic Expressions> D2-203
IM 33S01B30-01E
Data Types of the General-Purpose Arithmetic Expression
The variables used in the general-purpose arithmetic expression have the same data types
as other programming languages.
The data types of variables are as follows:
D024801E.EPS
Data type
Numerical value type
Character string type (char*n)
Double-precision floating point (double)
Integer type
Real type
Integer (integer)
Single-precision floating point (float)
Long integer (long)
Figure Data Types
Range of values for each data type is shown below.
Table Data Type
Data type Bits Minimum value Maximum value
Character string (*1) 8 n Not applicable Not Applicable
Integer 16 -32768 32767
Long integer 32 -2147483648 2147483647
Single-precision floating point (*2) 32
-3.402823 10
38
3.402823 10
6
Double-precision Floating point (*3) 64
-1.79769313486231 10
308
1.79769313486231 10
6
D024802E.EPS
*1: 16 bytes maximum for a character string
*2: The number of digits may be displayed for a single-precision floating point is seven.
*3: The number of digits may be displayed for a double-precision floating point is fifteen.
10th Edition : Dec.18,2003-00
D2-204 <D2.47 General-Purpose Arithmetic Expressions>
IM 33S01B30-01E
The bit format of data for each data type is shown below. Integers and the mantissa part of
real numbers are twos complement representation.
char*n
integer
long
float
double
1st byte
Exponent field
(E) 8 bits
Mantissa field
(M) 23 bits
nth byte
Exponent field
(E) 11 bits
Mantissa field
(M) 52 bits
Integer 15 bits
Integer 31 bits
Continuation of the mantissa field (M)
Sign bit (1 bit) 0: Positive 1: Negative
Sign bit (S) 1 bit
The value is given by the following formula:
(-1)
S
2
e-127
1.M
Sign bit (S) 1 bit
The value is given by the following formula:
(-1)
S
2
e-1023
1.M
Sign bit (1 bit) 0: Positive 1: Negative
D024803E.EPS
Figure Data Format of Each Data Type
10th Edition : Dec.18,2003-00
<D2.47 General-Purpose Arithmetic Expressions> D2-205
IM 33S01B30-01E
D2.47.2 Constants in General-Purpose Arithmetic Expressions
Constants in general-purpose arithmetic expressions are character strings which
represent values themselves. Three kinds of constants can be used, as follows:
Integer constant (10, 20, etc.)
Floating-point constant (1.5, 100.0, 1.5E10, etc.)
Character string constant (ABC, character string, etc.)
Integer Constants in General-Purpose Arithmetic Expressions
Constant
The integer constants are the constants represented by integers.
The data type of integer constant is the long type. An integer constant can be represented
by a decimal number or a hex number. It is normally represented by a decimal number.
When the hex notation is used, add $ at the beginning of a constant.
A decimal integer constant is represented by characters 0 through 9. In addition to the
numbers, alphabets between A and F as well as between a and f are used for the
hex notation.
Examples of constants are as follows:
Decimal integer constants: 5 10 65535
Hex integer constants: $5 $A $FFFF
Floating-Point Constants in the General-Purpose Arithmetic
Expressions
The floating-point constants are the constants represented by the mantissa field and
exponent field.
The data type of floating-point constants is the double type. Only the decimal notation is
allowed for the floating point.
The following shows the expression methods of the floating point:
Describe a decimal number with a decimal point.
Describe in the <mantissa field>E<exponent field> format or <mantissa
field>e<exponent field> format.
<Mantissa field>: A decimal number with or without decimal point.
<Exponent field>: A decimal number without or with a sign.
When the <mantissa field> is x and the <exponent field> is y, the value of the constant
is x 10
y
.
The following shows examples of floating-point constants:
Description of a decimal number with decimal point:
1.0, 15.8, 0.05
Description in the <mantissa field>E<exponent field> format or <mantissafield>
e<exponent field> format.
1.0E5, 1.0e-5, 123E3
10th Edition : Dec.18,2003-00
D2-206 <D2.47 General-Purpose Arithmetic Expressions>
IM 33S01B30-01E
Character String Constants in General-Purpose Arithmetic Expressions
The character string constant is a constant that can represent a character string. A charac-
ter string constant can use both single-byte characters and double-byte characters.
A character string constant is represented by a character string enclosed by double quotes
(). The double quotations, line break, horizontal tab and back slash have to be replaced
by the following character strings:
Table Notations of Special Characters
Special character Symbol Notation
Line break NL \n
Horizontal tab HT \t
Back slash \ \\
Double quote \
D024804E.EPS
Examples of the character string constants are as follows:
abc, This is a character string
character string, 1-st line\n2-nd line\n3-rd line
10th Edition : Dec.18,2003-00
<D2.47 General-Purpose Arithmetic Expressions> D2-207
IM 33S01B30-01E
D2.47.3 Variables
A variable is a data which has a name and data type. A value can be referred to and
set by a variable.
There are two kinds of variables: I/O variables and local variables.
I/O Variables of the General-Purpose Arithmetic Expressions
Variables
The I/O variables are data items of the General-Purpose Calculation Block (CALCU,
CALCU-C), such as the calculated input value (RVn), calculation output value (CPVn),
parameter (Pn), etc.
The data type of the calculated input value (RVn) and calculation output value (CPVn) is
automatically determined by the data item of the connection destination. In addition, the
data type of the parameter (Pn) is automatically determined by the type of the general-
purpose calculation block and the data item. It is not necessary to declare the parameter
(Pn), which is used as the I/O variable, in the arithmetic expression.
TIP
The block mode and alarm status are integer data.
The size of the character string I/O variable is 16 bytes.
Usage of I/O Variables
The I/O variables are used for referring to or setting data of the connection destination of
the I/O terminal.
10th Edition : Dec.18,2003-00
D2-208 <D2.47 General-Purpose Arithmetic Expressions>
IM 33S01B30-01E
When Referencing by Wiring the I/O Terminals
If the I/O terminals are connected to other function blocks using the Function Block Detail
Builder, the data of other function blocks can be referred or set by way of I/O variables.
In order to refer or to set an I/O variable, use the data item name that corresponds to the
connected I/O terminal.
A maximum of eight input variables and four output variables can be declared by wiring the
I/O terminal.
PV RV1
RV
IN
PV
RV2
IN
PVI
PVI
CALCU
CPV=RV+RV1+RV2 CPV
OUT
IN
01
02
Data setting Data reference
D024805E.EPS
Figure Example of I/O Variables and Arithmetic Expression when Wired by the Builder
TIP
When the same data is connected to the input connection terminal and output connection terminal,
separate input variable and output variable are allocated.
The I/O variables can be used in an expression. However, input variables (RV, RV1, RV2, ...) cannot
be used on the left-hand side of the assignment statement.
10th Edition : Dec.18,2003-00
<D2.47 General-Purpose Arithmetic Expressions> D2-209
IM 33S01B30-01E
When the Data of Other Function Block is Specified by an Element Symbol
Data of other function block can be specified by an element symbol and data item name.
A maximum of 24 input variables and 12 output variables can be declared as element
symbol and data item name.
There are three kinds of formats for handling the data of other function block (connection
information) in arithmetic expressions, as follows:
Data connection (Data reference and setting)
<element symbol>.<data item name>
Sequence connection (Data value reference and data value modification)
{<element symbol>.<data item name>.<condition specification|operation specifica-
tion>}
Sequence connection (Data status reference)
{<element symbol>.<data item name>=<condition specification>}
When a tag name is used as the element symbol, if a tag name starts with a number or -
sign, the computation may not be correct. Define an alias to use the tag.
The element symbols and data item names represent the data from other blocks can be
assigned to variables by compiler. The data items assigned to variables according to the
following conditions:
If the data of other function block is written on the left-hand side of an assignment
statement, it is assigned to an output variable.
If the data of other function block is written both on the left-hand side of an assignment
statement, it is assigned to an input variable.
If the same data as other function block is written both on the left-hand side of an
assignment statement and another place in the data connection format, it is assigned
to an output variable.
If the same data as other function block is written both on the left-hand side of an
assignment statement and another place in the sequence connection format, it is
assigned to a separate input variable and output variable.
If the data of another function block is written at a place other than the left-hand side of
an assignment statement in the sequence connection format, the condition testing of
the sequence connection is always executed even if the statement is not executed.
10th Edition : Dec.18,2003-00
D2-210 <D2.47 General-Purpose Arithmetic Expressions>
IM 33S01B30-01E
Data Connection Using the Element Symbol (Data Reference and Setting)
The following example shows an arithmetic expression by which the data reference and
setting of other function block are executed, using the element symbol.
program
TIC100.VN=FIC100.CPV*0.1
end
The second line is a statement which sets the calculation output value (CPV) of FIC100
multiplied by 0.1 to the I/O compensation value (VN).
When data reference and setting of other function block are executed by using the element
symbol instead of terminal connected by the Function Block Detail Builder, the following
restrictions apply:
Connection between terminals and connection between stations cannot be specified
because the connection is not established by the builder.
The I/O variable that the element symbol is assigned to is unknown, because the
compiler automatically assigns the element symbol to the I/O variable other than RV,
RV1 through RV7, CPV, CPV1 through CPV3.
Sequence Connection Using the Element Symbol (Data Value Reference
and Data Value Modification)
The following example shows an arithmetic expression which executes the sequence
connection with other function block using the element symbol.
program
{PIC100.MODE.MAN}={TIC100.ALM.HI}
{SW100.SV.3}={TIC100.MODE.AUT}
end
The second line is a statement which changes the block mode of PIC100 to MAN when the
alarm status of TIC100 is HI.
The third line is a statement which modifies the signal path by changing SV of the selector
switch to 3 when the block mode of TIC100 is in the automatic (AUT) mode.
10th Edition : Dec.18,2003-00
<D2.47 General-Purpose Arithmetic Expressions> D2-211
IM 33S01B30-01E
Sequence Connection by Using the Element Symbol
(Data Status Reference)
The following example shows an arithmetic expression for a sequence connection by using
the element symbol.
program
if({SW100.SW.3})then
{PIC100.MODE.AUT}={CAL100.ACT.ON}
end if
end
The second line is an if statement which tests whether SV of the selector switch is 3 or
not. The third line is a statement executed when the if statement in the second line is true.
In this statement, the block mode of PIC100 is switched to the automatic (AUT) mode when
the CAL100 block is started by a one-shot command.
The one-shot command to start the CAL100 might be triggered by any other blocks or
occurs at the time even before this block starts. It is irrelevant to this calculation block. In
the other word, the CAL100 started by the one-shot command have no relation with state-
ment in the second line in this calculation block.
On the contrary, the statement on the left-hand side which changes PIC100 to AUT is not
executed unless the result of the if statement in the second line is true and the third line
condition written at right-hand side is true at the same time.
10th Edition : Dec.18,2003-00
D2-212 <D2.47 General-Purpose Arithmetic Expressions>
IM 33S01B30-01E
Local Variables in General-Purpose Arithmetic Expressions
The local variables in a general-purpose arithmetic expression are the variables declared in
the function block. They can be used only in the general-purpose calculation block where
they were declared. In order to use local variables, use them as intermediate variables after
declaring the type. The local variables do not retain values from the previous execution of
the arithmetic expression. In addition, the initial value is undefined. A maximum of ten local
variables can be used in one general-purpose arithmetic expression.
Declaration of Local Variables
The local variables are declared as follows:
<type specifier><variable name>[,<variable name> .. ]
<type specifier>: Specify the variable type.
The type specifiers include char *n, integer, long, float, and double. Use char *n as the
type specifier to declare a character string. By using this description, it is possible to
use a character string variable which is capable of expressing a character string of a
maximum of n bytes.
<variable name>: Specify a variable name as the identifier.
When multiple variable names are listed and separated by commas, more than one
variable of the same data type can be declared at once.
TIP
Specify the number of bytes, n, of the character string when a character string variable is declared.
When a character string variable where characters which require two bytes per character, such as
the Japanese character code, are stored, specify a value n by taking characters that require two
bytes into account.
The maximum size of local variable of the character string type is sixteen bytes.
10th Edition : Dec.18,2003-00
<D2.47 General-Purpose Arithmetic Expressions> D2-213
IM 33S01B30-01E
Implicit Declaration of Local Variables
When an undeclared variable is encountered, the data type of the variable is automatically
decided based on the first character of the variable name, and the variable is treated as a
local variable. This is called implicit declaration.
The relationship between the first character of the local variable name and the data type is
as follows:
I: Integer
L: Long integer
F: Single-precision floating point
C: Character string
Others: Double-precision floating point
If the compiler control command, #implicit none is given, the implicit declaration of the local
variable is disabled. Then a compiler error occurs if a variable not declared is used.
Use the #implicit none instruction between the program statement and the end statement.
Tag Name of the General-Purpose Arithmetic Expressions
When an undeclared variable name is followed by . (period), the variable is treated as a
tag name.
When an arithmetic expression is compiled, whether or not the tag name has been defined
by the builder before is checked. A compiler error occurs if the tag name has not been
defined.
In addition, the arithmetic expression cannot be compiled correctly if a tag name that starts
with a number or includes - (hyphen) even if the tag name has been registered. To define
an alias or replace the tag name with the one does not start with a number and does not
include -.
10th Edition : Dec.18,2003-00
D2-214 <D2.47 General-Purpose Arithmetic Expressions>
IM 33S01B30-01E
Alias Definition of the General-purpose Arithmetic Expressions
Alias definition is to substitute the name of an I/O variable with another character string.
When an alias of input variable is defined, I/O variables and data of other function block
can be handled by different name in the arithmetic expression. Write alias definitions at the
beginning of arithmetic expression.
The format of the alias definition is as follows:
alias <alias><word list>
How to write the word list is shown below.
Table Word List of Alias Definition
Type of word list Format of word list Description example
Input variable RV, RV1 to RV7 alias FLOW RV1
Output variable CPV, CPV1 to CPV3 alias HOSEI CPV
Data connection <element symbol>.<data item> alias PRESS FIC001.PV
Sequence connection
<element symbol>.<data
item>.<condition specification>
<element symbol>.<data
item>.<operation specification>
alias SEQ2 TAG002.MODE.AUT
<element symbol>.<data item>
=<condition specification>
alias SEQ3 TAG003.PV=BAD
<element symbol>.<data item>
=<operation specification>
alias SEQ4 TAG004.PV=CAL
D024806E.EPS
alias SEQ1 TAG001.MODE.AUT
An example of arithmetic expression which includes alias definitions is shown below:
program
alias FLOW RV1
alias HOSEI CPV1
HOSEI=FLOW*0.1
end
An example of arithmetic expression which uses aliases for data reference and data setting
of other function block is shown blow:
program
alias FLOW FIC100.CPV
alias HOSEI TIC100.VN
HOSEI=FLOW*0.1
end
10th Edition : Dec.18,2003-00
<D2.47 General-Purpose Arithmetic Expressions> D2-215
IM 33S01B30-01E
Character String Substitution
The character string substitution is to assign a specific character string to an identifier.
Character string substitution is executed by using the compiler control instruction, #de-
fine.
The format of the character string substitution is shown below:
#define<identifier><character string>
Conditions of a range which is recognized as a <character string> is as follows:
Character string up to a line break. Continuous spaces immediately before the line
break and comment part are excluded.
When \ or // is used, the contents in the following line are recognized as a substitut-
ing character string as well.
When the arithmetic expression is compiled, the identifier defined by the compiler control
instruction #define is replaced by assigned character string prior to compilation. Even if
the identifier appears in the character string, however, substitution is not performed.
An example of character string substitution is shown below:
program
#define OPEN 2
......
SI0100.MV=OPEN
SI0200.MV=OPEN
end
The OPEN identifier in this arithmetic expression is the substitution of 2.
10th Edition : Dec.18,2003-00
D2-216 <D2.47 General-Purpose Arithmetic Expressions>
IM 33S01B30-01E
In order to define a character string which includes an arithmetic expression using the
#define compiler control instruction, enclose the arithmetic expression by ( ). It might be
necessary to enclose the corresponding arithmetic expression by ( ) to obtain the desired
arithmetic expression, because the #define compiler control instruction is a substitution of
the character string. The following example shows an improper substitution of arithmetic
expression:
program
#define MAXLEN 256
#define GOOD (MAXLEN-1)! Good example
#define BAD MAXLEN-1! Bad example
......
i1=GOOD*5!(MAXLEN-1)*5Calculated like this
i2=BAD*5!Calculated as MAXLEN-1*5, i.e., calculated as MAXLEN-(1*5)
......
end
In this example, (256-1) 5=1275 is expected as the result of the calculation.
But, i2 is resulted in 251 incorrectly while i1 is resulted in 1275 correctly because of differ-
ent calculation priorities.
10th Edition : Dec.18,2003-00
<D2.47 General-Purpose Arithmetic Expressions> D2-217
IM 33S01B30-01E
D2.47.4 Operators
The following operators can be used in the general-purpose arithmetic expressions:
Binomial operator
Unary arithmetic operator
Relational operator
Equality operator
Binary logical operator
Unary logical operator
Bitwise logical operator
Bitwise shift operator
Binomial Arithmetic Operator
Operators
Calculation with a binomial arithmetic operator can be executed to any numerical data.
Usable binomial arithmetic operators are as follows:
+: Addition
-: Subtraction
*: Multiplication
/: Division
mod: Remainder
When an integer is divided by another integer, the digits to the right of the decimal point are
truncated for the quotient.
If the operand of a mod calculation is a real number, the fractional part of the operand is
rounded off and the operand is converted to a long integer (long) type prior to the calcula-
tion.
Insert a space before and after mod.
Unary Arithmetic Operator
Calculation with an unary arithmetic operator can be executed to any numerical data.
Usable unary arithmetic operators are as follows:
+: Positive
-: Negative
+ retain the sign of the operand.
- switch the sign of the operand from positive to negative or negative to positive.
10th Edition : Dec.18,2003-00
D2-218 <D2.47 General-Purpose Arithmetic Expressions>
IM 33S01B30-01E
Relational Operators
Calculation with a relational operator can be executed to any numerical data and any
character string data.
Usable unary relational operators are as follows:
<: Smaller than
>: Greater than
<=: Equal to or smaller than
>=: Equal to or larger than
The result of the calculation by a relational operator is the integer type. The value of the
calculation result becomes true (1) if the relationship between the two sides connected by
the relational operator is satisfied, or becomes false (0) if it is not satisfied.
Equality Operators
Calculation with an equality operator can be executed to any numerical data and any
character string data.
Usable equality operators are as follows:
==: Equals
<>: Not equals
The result of the calculation with the equality operator is the integer data. The value of the
calculation result becomes 1 if the relationship between the two sides connected by the
equality operator is satisfied, or becomes 0 if it is not satisfied. When both the equality
operator and relational operator are used in the same arithmetic expression, the relational
operator is evaluated first.
When a comparison of real numbers is executed by the equality operator, it is determined
to be different even if the values of both sides differ slightly. Use relational operators (>=,
<=, >, <) to compare real numbers.
Binary Logical Operators
Calculation with a binary logical operator can be executed to any numerical data.
Usable binary logical operators are as follows:
and: AND
or: OR
eor: Exclusive OR
The logical values of both sides become true if any value other than 0, and false if 0. The
value of the calculation result becomes 1 if the logical calculation result is true and 0 if false.
The calculation result is the integer type.
Insert a space before and after a binary logical operator.
10th Edition : Dec.18,2003-00
<D2.47 General-Purpose Arithmetic Expressions> D2-219
IM 33S01B30-01E
Unary Logical Operator
Calculation with the unary logical operator can be executed to any numerical data.
Usable unary logical operator is as follows:
not: Negation
The logical value of the operand becomes true if the value is anything other than 0, and
false if 0. The value of the calculation result becomes 1 if the result of the logical calculation
is true, and 0 if false.
The calculation result is the integer type.
Insert a space before and after the unary logical operator.
Bitwise Logical Operators
Calculation with a bitwise logical operator can be executed to any numerical data.
Usable bitwise logical operators are as follows:
&: Bitwise AND
|: Bitwise OR
^: Bitwise exclusive OR
2
K1
D024823E.EPS
F0: Corrected flowrate
t: Measured temperature
: Density at 15 C (kg/m
3
)
Fi: Measured flowrate
K0, K1: Oil type specific constants
10th Edition : Dec.18,2003-00
D2-240 <D2.47 General-Purpose Arithmetic Expressions>
IM 33S01B30-01E
High and Low Limit llimit, dlimit
This function is used to limit the input data value within the limit value range.
The details of the high and low limit function are shown below.
High and Low Limit
llimit(arg1,arg2,arg3) and dlimit(arg1,arg2,arg3) are used to limit data within the specified
high limit and low limit range. Specify data to arg1, high limit to arg2, and low limit to arg3.
When data, min, and max are used as the arguments, the return value of the
llimit(data,min,max) or dlimit(data,min,max) is shown as follows:
Return value of the function =
min (when data < min)
data (when min data max)
max (when data > max)
D024821E.EPS
Because the arguments of llmit are converted to the long type, the result will be the long
type.
Because the arguments of dlmit are converted to the double type, the result will be the
double type.
An error occurs when arg2 (low limit value) is larger than arg3 (high limit value). In this
case, the return value of the function will be the data value.
10th Edition : Dec.18,2003-00
<D2.47 General-Purpose Arithmetic Expressions> D2-241
IM 33S01B30-01E
Step Name Calculation stpvcalc(arg1,arg2)
stpvcalc(arg1,arg2) is a function that calculates the step name of the sequence table.
arg1 is converted to a numerical value and the increment of arg2 is added, then the value
is returned after converting to a character string (00 to 99).
arg1: Current step name (char*2 type)
Specify a 2-digit decimal number between 00 and 99 by a character string constant
or a character string variable. If the value is between 0 and 9, add a 0 to make it a two-
digit number.
arg2: increment (integer type)
Specify the increment by a numeric variable or constant.
The result of stpvcalc is always 2-digit decimal number between 00 and 99 (char*2
type). If the value is between 0 and 9, 0 is added. An error occurs if the result of the addition
becomes negative or exceeds 99.
An example of changing PV (step name) of the sequence table SEQ001 is shown below:
program
.....
Assume !SEQ001.PV as 03.
SEQ001.PV=stpvcalc(SEQ001.PV,1)
* SEQ001.PV becomes 04 after applying +1 to 03.
......
SEQ001.PV=stpvcalc(SEQ001.PV,2)
* SEQ001.PV becomes 06 after applying +2 to 04.
......
SEQ001.PV=stpvcalc(SEQ001.PV,-4)
* SEQ001.PV becomes 02 after applying -4 to 06.
......
end
If 00 is specified to arg1, a character string value converted from the arg2 number can be
obtained.
An example of setting a step name to PV of the sequence table SE002 is shown below:
program
......
SEQ002.PV=stpvcalc(00,8)
* SEQ002.PV becomes 08.
......
SEQ002.PV=stpvcalc(00,12)
* SEQ002.PV becomes 12.
......
end
10th Edition : Dec.18,2003-00
D2-242 <D2.47 General-Purpose Arithmetic Expressions>
IM 33S01B30-01E
D2.47.9 Reserved Words for Numerical and Logical Arithmetic
Expressions
The reserved words for the numerical and logical arithmetic expression are the
identifiers that are used as reserved words by the numerical and logical arithmetic
expression compliers.
Reserved Words for Numerical and Logical Arithmetic Expressions
Reserved Words
The following table shows the list of reserved words for numerical and logical arithmetic expression:
Table Reserved Word List
ALIAS (D) DMAX (B) P04 (V) RV02 (V)
AND (O) DMIN (B) P05 (V) RV03 (V)
ASTM1 (B) DOUBLE (D) P05C (R) RV04 (V)
ASTM2 (B) ELSE (S) P06 (V) RV05 (V)
ASTM3 (B) ELSE IF (S) P06C (R) RV06 (V)
ASTM4 (B) END (S) P07 (V) RV07 (V)
ATAN (B) ENDIF (S) P07C (R) RV1 (V)
BITPSTN (B) END SWITCH (S) P08 (V) RV2 (V)
BITSRCH (B) EOR (O) P08C (R) RV3 (V)
CASE (S) EXIT (S) P1 (V) RV4 (V)
CHAR (D) EXP (B) P2 (V) RV5 (V)
COS (B) FLOAT (D) P3 (V) RV6 (V)
CPV (V) GOTO (S) P4 (V) RV7 (V)
CPV01 (V) IF (S) P5 (V) SIN (B)
CPV02 (V) INT (B) P5C (R) SQRT (B)
CPV03 (V) INTEGER (D) P6 (V) STPVCALC (B)
CPV04 (V) LABS (B) P6C (R) SWITCH (S)
CPV05 (V) LLIMIT (B) P7 (V) TAN (B)
CPV06 (V) LMAX (B) P7C (R) TC (B)
CPV07 (V) LMIN (B) P8 (V) TCF (B)
CPV1 (V) LOG (B) P8C (R) THEN (S)
CPV2 (V) LONG (D) PC (B) TPC (B)
CPV3 (V) MOD (O) PCKP (B) TPCF (B)
CPV4 (V) NOT (O) PCMP (B) TPCFP (B)
CPV5 (V) OR (O) PCP (B) TPCKP (B)
CPV6 (V) OTHERWISE (S) POWER (B) TPCMP (B)
CPV7 (V) P01 (V) PROGRAM (S) TPCP (B)
DABS (B) P02 (V) RV (V)
DLIMIT (B) P03 (V) RV01 (V)
D024822E.EPS
Note: The letter in parentheses ( ) indicates in which part of the program the reserved word is used.
(D): Declaration statement (S): Statement (B): Built-in function
(O): Operator (V): Variable name (R): Reserved
Even though the data item name such as PV and MV are not included in reserved words by
the compiler, it takes greater program resource to find out when a data item name is used
in the place beyond data item names. It is advised not to use the same character string of
data item names in the program scripts.
10th Edition : Dec.18,2003-00
<D3. Sequence Control> D3-1
IM 33S01B30-01E
D3. Sequence Control
Sequence Control Blocks which execute the sequence control include Sequence
Table Blocks, Logic Chart Blocks, SFC Blocks, Switch Instrument Blocks, Sequence
Element Blocks, and Valve Monitoring Block.
This chapter explains details of each type of sequence control block except SFC
Blocks.
SEE ALSO
For details of SFC functions, see the following:
D5, Sequencial Function Chart
Sequence Control
The sequence control follows each control step in sequence according to predefined
conditions and order. The function block that executes sequence control function is referred
to as the sequence control block.
The figure below describes the positioning of the sequence control in the basic control.
FCS
Software I/O
Faceplate blocks
Regulatory control blocks
Calculation blocks
Sequence control blocks
Basic control
Valve pattern monitoring (*1)
Off-site blocks (*1)
Options
Common switch
Annunciator message
Sequence control message
D030001E.EPS
Fieldbus I/O Process I/O
FCS I/O Interfaces
Communication I/O
Unit instruments
*1: This option is available in CS 3000.
Figure Positioning of Sequence Control in Basic Control
10th Edition : Dec.18,2003-00
D3-2 <D3. Sequence Control>
IM 33S01B30-01E
With sequence control function blocks, the following types of sequence control can be
applied.
Condition control (monitoring)
Monitors process status and controls it according to pre-defined conditions.
Program control (phase steps)
Controls according to pre-defined programs (phases).
Sequence Control Description Method
The description of the sequence control may be applied to the following function blocks.
Sequence Table Block
The conditions and operations are arranged in the table format and specifies which opera-
tion is performed by the combination of conditions. This is suitable for the description of all
sequences such as the parallel operation, interlock operation and sequence operation.
Logic Chart Block
In a logic chart block, the conditions and operations are listed, and the combination of
conditions with the logic operators corresponding to the logic requirement may manipulate
the operation signals. This block can be used as the description of an interlock sequence
control or a logic chart.
SFC Block
SFC (Sequential Function Chart) block is a function block using SFC for sequence control.
The SFC (Sequential Function Chart) block is a graphical flow diagram suitable for describ-
ing a process control sequence. It is standardized by the international standard, IEC
SC65A/WG6.
The SFC block is used for relatively large-scaled sequence controls and for controlling
devices. The flow of the entire sequence is defined by the SFC block. Each step in the SFC
is described by the sequence table and SEBOL (SEquence and Batch Orientated Lan-
guage).
10th Edition : Dec.18,2003-00
<D3.1 Types of Sequence Control Blocks> D3-3
IM 33S01B30-01E
D3.1 Types of Sequence Control Blocks
Sequence Control Blocks include Sequence Table Blocks, Logic Chart Blocks, SFC
Blocks, Switch Instrument Blocks, Sequence Element Blocks and Valve Monitoring
Block.
Types of Sequence Control Blocks
The table below lists various sequence control blocks.
Sequence Table Block
This function block realizes sequence control by operating other function blocks and/or
process I/O or software I/O.
The following two models of blocks are categorized as Sequence Table Block.
Sequence Table Block (ST16)
Rule Extension Block (ST16E)
Sequence Table Block
This function block realizes sequence control by operating other function blocks and/or
process I/O or software I/O.
The following two models of blocks are categorized as Sequence Table Block.
Sequence Table Block (ST16)
Rule Extension Block (ST16E)
TIP
In KFCS2, KFCS, LFCS2, LFCS, RFCS5 and RFCS2, the following types of sequence table blocks are
also available other than the above mentioned sequence table blocks.
Sequence Table Block (M_ST16)
Capacity: Condition Signals: 32 to 64 / Action Signals: 32 to 64 / Total: 96
Rule- Extension Sequence Table Block (M_ST16E)
Sequence Table Block (L_ST16)
Capacity: Condition Signals: 64 / Action Signals: 64 / Total: 128
Rule-Extension Sequence Table Block (L_ST16E)
Logic Chart Block
This function block performs interlock sequence control programmed in the expression of a
logic chart diagram.
The following model of block is categorized as Logic Chart Block.
Logic chart with 32 inputs, 32 outputs and 64 logic elements (LC64)
10th Edition : Dec.18,2003-00
D3-4 <D3.1 Types of Sequence Control Blocks>
IM 33S01B30-01E
SFC Block
This function block realizes sequence control by the program described in sequential
function chart.
The following three models of blocks are categorized as SFC Block.
Three-Position Switch SFC Block (_SFCSW)
Pushbutton SFC Block (_SFCPB)
Analog SFC Block (_SFCAS)
Switch Instrument Block and Enhanced Switch Instrument Block
The switch instrument block monitors and operates devices such as opening/closing valves,
start/stop motors or pumps, and final control elements for contacts. 10 types of blocks are
available with various I/O points and output methods, usually used in combination with a
sequence table.
The following ten models of blocks are categorized as Switch Instrument Block.
Switch Instrument Block with 1 Input (SI-1)
Switch Instrument Block with 2 Inputs (SI-2)
Switch Instrument Block with 1 Output (SO-1)
Switch Instrument Block with 2 Outputs (SO-2)
Switch Instrument Block with 1 Input, 1 Output (SIO-11)
Switch Instrument Block with 1 Input , 2 Outputs (SIO-12)
Switch Instrument Block with 2 Inputs, 1 Output (SIO-21)
Switch Instrument Block with 2 Inputs , 2 Outputs (SIO-22)
Switch Instrument Block with 1 Input , 2 One-Shot Outputs (SIO-12P)
Switch Instrument Block with 2 Inputs , 2 One-Shot Outputs (SIO-22P)
Enhanced switch instrument block (*1) is a switch instrument block with enhanced capabili-
ties for connecting to FF faceplate blocks and fieldbus function blocks and for connecting to
the I/O terminals not next to each other.
*1: Enhanced switch instrument block can be applied to all Field control stations except standard PFCS (CS
1000). When using enhanced switch instrument block, it is necessary to add the option [DIOENH] on the [Constant] tab
of the FCS properties sheet.
The following ten models of blocks are categorized as Enhanced Switch Instrument Block.
Enhanced Switch Instrument Block with 1 Input (SI-1E)
Enhanced Switch Instrument Block with 2 Inputs (SI-2E)
Enhanced Switch Instrument Block with 1 Output (SO-1E)
Enhanced Switch Instrument Block with 2 Outputs (SO-2E)
Enhanced Switch Instrument Block with 1 Input, 1 Output (SIO-11E)
Enhanced Switch Instrument Block with 1 Input, 2 Outputs (SIO-12E)
Enhanced Switch Instrument Block with 2 Inputs, 1 Output (SIO-21E)
Enhanced Switch Instrument Block with 2 Inputs, 2 Outputs (SIO-22E)
Enhanced Switch Instrument Block with 1 Input, 2 One-Shot Outputs (SIO-12PE)
Enhanced Switch Instrument Block with 2 Inputs, 2 One-Shot Outputs (SIO-22PE)
10th Edition : Dec.18,2003-00
<D3.1 Types of Sequence Control Blocks> D3-5
IM 33S01B30-01E
Sequence Element Blocks
This function block assists with sequence control. It is activated by the sequence table.
The following seven models of blocks are categorized as Sequence Element Block.
Timer Block (TM)
Software Counter Block (CTS)
Pulse Train Input Counter Block (CTP)
Code Input Block (CI)
Code Output Clock (CO)
Relational Expression Block (RL)
Resource Scheduler Block (RS)
Valve Monitoring Block (VLVM)
This function block monitors valve opening and closing, and starts an alarm when abnor-
mal conditions are detected.
10th Edition : Dec.18,2003-00
D3-6 <D3.1 Types of Sequence Control Blocks>
IM 33S01B30-01E
D3.1.1 Alarm Processing of Sequence Control Blocks
Various alarm processing type of sequence control blocks are listed in the following
table.
Alarm Processing of Sequence Control Blocks
Table Alarm Processing of Sequence Control Blocks
Model
Process alarms
Other
alarms
N
R
O
O
P
I
O
P
I
O
P
H
H
L
L
H
I
L
O
D
V
+
D
V
V
E
L
+
V
E
L
M
H
I
M
L
O
C
N
F
ST16
ST16E
LC64
SI-1
SI-2
SO-1
SO-2
SIO-11
PERR
ANS+
ANS-
PERR
ANS+
ANS-
SIO-12
SIO-21
SIO-22
SIO-12P
SIO-22P
TM
CTS
CTP
CI
CO
RL
RS
VLVM
D030002E.EPS
SI-1E
SI-2E
SO-1E
SO-2E
SIO-11E
SIO-12E
SIO-21E
SIO-22E
SIO-12PE
SIO-22PE
: available
Blank: Not available
The alarm status of ST16, LC64, TM and VLVM blocks are always indicated as NR (stands
for Normal status).
10th Edition : Dec.18,2003-00
<D3.1 Types of Sequence Control Blocks> D3-7
IM 33S01B30-01E
D3.1.2 Block Mode of Sequence Control Blocks
Various modes of sequence control blocks are listed in the following table.
Block Mode of Sequence Control Blocks
Table Block Mode of Sequence Control Blocks
Model Name of function block
Valid basic block modes
ST16 Sequence table (basic section) block
ST16E Rule extension block
SI-1 Switch instrument block with 1 input
SI-2 Switch instrument block with 2 inputs
SO-1 Switch instrument block with 1 output
SO-2 Switch instrument block with 2 outputs
SIO-11 Switch instrument block with 1 input and 1 output
SIO-12 Switch instrument block with 1 input and 2 outputs
SIO-21 Switch instrument block with 2 inputs and 1 output
SIO-22 Switch instrument block with 2 inputs and 2 outputs
SIO-12P Pulse type switch instrument block with 1 input and 2 outputs
SIO-22P Pulse type switch instrument block with 2 inputs and 2 outputs
TM Timer block
CTS Software counter block
CTP Pulse train input counter block
CI Code input block
CO Code output block
RL Relational expression block
RS Resource scheduler block
VLVM 16-valve monitor block
D030003E.EPS
LC64 Logic chart block
SI-1E Enhanced switch instrument block with 1 input
SI-2E Enhanced switch instrument block with 2 inputs
SO-1E Enhanced switch instrument block with 1 output
SO-2E Enhanced switch instrument block with 2 outputs
SIO-11E Enhanced switch instrument block with 1 input and 1 output
SIO-12E Enhanced switch instrument block with 1 input and 2 outputs
SIO-21E Enhanced switch instrument block with 2 inputs and 1 output
SIO-22E Enhanced switch instrument block with 2 inputs and 2 outputs
SIO-12PE Enhanced pulse type switch instrument block with 1 input and 2 outputs
SIO-22PE Enhanced pulse type switch instrument block with 2 inputs and 2 outputs
O
/
S
I
M
A
N
T
R
K
M
A
N
A
U
T
C
A
S
P
R
D
R
C
A
S
R
O
U
T
: valid
Blank: Invalid
10th Edition : Dec.18,2003-00
D3-8 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
D3.2 Sequence Table Block (ST16, ST16E)
Sequence Table Blocks (ST16, ST16E) controls the monitoring of processing and the
phase step sequences by connecting with other function blocks, process I/O, and
software I/O.
Sequence Table Block (ST16, ST16E)
Sequence Table Block (ST16, ST16E) is a decision table type function block that describes
the relationship between input signal and output signal in a Y/N (yes/no) fashion. By mak-
ing sequence connection with other function blocks, they control the monitoring of process-
ing and phase step sequences. Sequence Table Blocks include the basic ST16, and
ST16E that is only used for rule extension.
The figure below shows the function block diagram of Sequence Table Blocks (ST16,
ST16E).
D030201E.EPS
Input
processing
Output
processing
Logic operation
Q01
Q02
Q03
Q64
J01
J02
J03
J64
Rule 1 32
Y N
YN
Y
NY
......
Figure Function Block Diagram of Sequence Table Block (ST16, ST16E)
The table below lists connection methods and destinations for Sequence Table Blocks
(ST16, ST16E) I/O terminals.
Table Connection Methods and Destinations for Sequence Table Block (ST16, ST16E) I/O
Terminals
I/O
terminal
Connection type Connection destination
Data
reference
Data
setting
Condition
testing
Status
manipula-
tion
Terminal
connecti-
on
Process
I/O
Software
I/O
Function
block
Q01 to Q56
J01 to J56
D030202E.EPS
: Connection available
Blank: Connection not available
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-9
IM 33S01B30-01E
I/O connection is set by describing connection information and data in the input connection
information setting area, condition specification setting area, output connection information
setting area, and operation specification setting area of the sequence table displayed in the
sequence table edit window of the Function Block Detail Builder.
Comment
Step label
Rule number 01 02 03 04 05 06 07 08 32
D030203E.EPS
Condition rule setting area
Action rule setting area
No.
Tag name
Data item
Data
Output
connection
information
setting area
Operation
specification
setting area
Input
connection
information
setting area
Condition
specification
setting area
Figure Conceptual Diagram of Sequence Table
Two types of blocks are available in the Sequence Table Block (ST16, ST16E).
ST16: Sequence Table Block
ST16E: Rule Extension Block
Sequence Table Block (ST16)
The Sequence Table Block (ST16) has a sequence control function that handles a total of
64 I/O signals, 32 rules. It can also change distribution of the 64 I/O signals and output
signals in the 8-signal unit. The total number of I/O signals is fixed to 64. Thus, a sequence
table with only eight inputs and eight outputs cannot be created.
Rule Extension Block (ST16E)
This function block is used for rule extensions of the Sequence Table Block (ST16). It
connects to an extending Sequence Table Block (ST16) as an extended sequence table to
form a sequence table group.
Because the Rule Extension Block (ST16E) is managed by the Sequence Table Block
(ST16) that is an extending sequence table, it cannot be activated independently.
The Rule Extension Block (ST16E) only allows connection to a step-type extending Se-
quence Table Block (ST16) on which step labels is described. Nonstep-type Sequence
Table Blocks (ST16) cannot be connected.
10th Edition : Dec.18,2003-00
D3-10 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
Rule Expansion
When the phase step sequence table is used, the number of processes (number of steps)
may be insufficient depending on the process that is being performed. At this time, use the
rule expansion format Sequence Table Block (ST16E) which enables the number of rules
to be expanded.
The following figure shows when the rule expansion of sequence tables.
ST16
Symbol Step
Rule
ELSE
THEN
C01
C32
A01
A32
E1
H1
G2
J2
ST16E
Expansion source sequence table Expansion destination sequence table
Expansion destination sequence table name NEXT
Symbol Step
Rule
ELSE
THEN
C01
C32
A01
A32
E1
H1
G1
J1
D030204E.EPS
01 32
... ... ... ... ... ...
01 15
01 3132
16 35
... ... ... ... ... ...
... ... ... ... ...
... ... ... ... ... ...
Figure Example of Sequence Table Expansion
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-11
IM 33S01B30-01E
D3.2.1 Sequence Table Configuration
Sequence tables consist of condition signals, action signals, rule numbers, condi-
tion rules, action rules and step labels.
Complete Sequence Table Configuration
Sequence Table Configuration
The figure below shows the complete sequence table.
01
TM14.BSTS C01
02 03 04 05 06 07 08 32
FC001.ALRM C02
%SW0201.PV C03
C03
C04
ST90.MODE
A01
%AN0010.PV
RUN
HI
ON
AUT
H A02
A03
A04
A05
THEN label
Extension rule tag name
NEXT
ELSE label
Processing timing Scan period
D030205E.EPS
Condition rule
Action rule
Data
Tag name
Data item
Rule number
Step label
Comment
No.
Action signal
Condition signal
Next step label
Figure Conceptual Diagram of Complete Sequence Table
10th Edition : Dec.18,2003-00
D3-12 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
Outline of Sequence Table Elements
The following describes various sequence table elements.
Condition Signal
Enter the element symbol and data item into the Tag name. Data item column as the input
connection information, then enter the condition specification to Data column.
Action Signal
Enter the element symbol and data item into the Tag name. Data item column as the input
connection information then enter the action specification to Data column.
Rule Number
Up to 32 rules per block may be used. The output is based on each rule condition and
condition testing result.
Condition Rule
Describe the Y/N (Y: true, N: false) pattern (combination) to condition rule. If the testing
result of condition signal corresponds with the Y/N pattern, the condition of the rule is
satisfied.
Action Rule
Describe the Y/N ( Y: Positive action; N: Negative action) pattern (combinations) to action
rule. Perform manipulated output according to the Y/N pattern of the action rule for the rule
number whose condition is satisfied.
Step Label
Step
These labels are attached for phase identification purposes when performing step se-
quence control using a sequence table. Step labels are character strings that combine two
or less alphanumeric characters (A to Z, 0 to 9).
If two characters are combined while one is not alphanumeric and the other is alphanu-
meric, the label is managed as the same step name, even if the order of characters is
reversed (e.g., _A and A_).
Up to 100 steps can be described in one sequence table group. However, same step labels
cannot be described at multiple locations inside the sequence table group.
The step labeled 00 is activated every scan cycle.
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-13
IM 33S01B30-01E
Next Step Label
THEN, ELSE
Describe the step label that is to be executed in the next scan.
Next step labels include THEN and ELSE labels according to case conditions being true or
false. If both labels are blank, the step does not transfer.
THEN label
Describe the next step label when the corresponding rule condition status is true.
Transition to the step described in the THEN label is executed after the manipulated
output is completed.
ELSE labels
Describe the next step label when the corresponding rule status is false.
The described step labels must exist in the same sequence table group. To execute a step
from another sequence table group at the next scan, it must be described as an action
signal.
Tag Name.Data Item
Describe the input connection information of the condition signal or the output connection
information of the action signal.
Data
Describe the condition specification of the condition signal or the operation specification of
the action signal.
Comment
Comments are defined by users for the condition and action signals. The meaning of
symbols and the contents of status manipulation may be put in these texts, by using up to
24 single-byte alphanumeric characters, or 12 double-byte characters.
By clicking the task [Referencing Signal Comment] from the [Tool] menu, the user-defined
comment text may be displayed at the right area of signals. By this Referencing Signal
Comment operation, the comment texts defined by users for the condition signals and
action signals and the tag comments are all displayed. The comment text for the refer-
enced signals can not be edited on the sequence table editing window.
IMPORTANT
Specify an element number with the number of digits specified for each element to a
condition or action signal. If the number without the highest digits 0 is specified to a
condition or action signal, a reference signal comment is not displayed.
TIP
A referenced signal comment is not stored in a builder file. To reference a comment, select [Referencing
Signal Comment] from the [Tool] menu.
10th Edition : Dec.18,2003-00
D3-14 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
Processing Timing
The processing timing of a sequence table consists of start timing and output timing.
Start timing refers to the timing at which control algorithms of the sequence table are
executed upon receipt of input signals. Output timing indicates the conditions under which
action signals are output at the time a periodic start type or one-shot start type sequence
table is executed.
Start Timing and Output Timing are set for each sequence table.
Start Timing:
Select either Periodic Execution Type (T), One-shot Processing Type (O), Startup
at Initial Cold Start/Restart (I) or Restricted Initial Execution Type (B).
Output Timing:
Select either Output Only When Conditions Change (C) or Output Each Time
Conditions are Satisfied (E).
Scan Period
Periodic start sequence tables are activated at defined scan period. Among the periodic
started sequence tables, the sequence tables activated in the basic period have the items
Control Period and Control Phase to be defined in addition to scan period.
Scan Period, Control Period, and Control phase can be defined for each sequence
table.
Scan Period: Select from Basic Scan or High-speed Scan.
Control Period: 1 to 16 seconds.
Control Phase: 0 to 15 seconds.
Scan Period
Periodic start sequence tables are activated at defined scan period. Among the periodic
started sequence tables, the sequence tables activated in the basic period have the items
Control Period and Control Phase to be defined in addition to scan period.
Scan Period, Control Period, and Control phase can be defined for each sequence
table.
Scan Period:
Select from Basic Scan, Medium-speed Scan (*1) or High-speed Scan.
Control Period: 1 to 16 seconds.
Control Phase: 0 to 15 seconds.
*1: Medium-speed Scan is only supported by KFCS2, KFCS, LFCS2 and LFCS.
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-15
IM 33S01B30-01E
Extension Rule Tag Name
NEXT
Described by 16 or less alphanumeric characters.
SEE ALSO
For sequence block processing timing, see the following:
C7.3, Process Timing for Sequence Control Block
For details on scan period, see the following:
C7.1.1, Scan Period
For details on control period and control phase, see the following:
C7.3.5, Control Period and Control Phase for Sequence Table Blocks (ST16, ST16E)
Sequence Description Example
The basic logical circuit figure for the AND and OR commands is described in the sequence
table as shown in the following figure.
D030206E.EPS
%SW0200
ON
%SW0201
ON
AND
01 02 03
%SW0200.PV
%SW0201.PV
Tag Name and Data Item
C01
C02
C03
No
A01
A02
A03
%Z011101.PV
ON
ON
Data
H
Y
Y
Y N
Condition
Action
N
N
N
%Z011101
ON
Figure AND Circuit Example
In the example in this figure, for AND operator, only when two condition signals are satis-
fied, the operation may be performed.
D030207E.EPS
%SW0200
ON
%SW0201
ON
OR
01 02 03
%SW0200.PV
%SW0201.PV
Tag Name and Data Item
C01
C02
C03
No
A01
A02
A03
ON
ON
Data
H
Y
Y
Y Y
Condition
Action
%Z011101.PV
%Z011101
ON
NN
N
N
Figure OR Circuit Example
In the example in this figure, for OR operator, any one of the two conditions is established,
the operation may be performed.
10th Edition : Dec.18,2003-00
D3-16 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
D3.2.2 Creating a Sequence Table
To create a sequence table, enter the input information for sequence control in each
setting area of the sequence table edit window of the Function Block Detail Builder.
Configuration of Sequence Table Edit Window
The figure below shows the configuration of the sequence table edit window.
Rule number display area Signal setting column heading
Condition signal setting area
Action signal setting area
Condition rule setting area
Action rule setting area
Step label setting area
Extension table setting area
Next step label setting area
Next step label setting area
Process timing setting area
STEP
THEN
ELSE
NEXT
D030208E.EPS
Condition signal
number
display area
Action signal
number
display area
Figure Configuration of Sequence Table Edit Window
To create a sequence table, the information (condition signals, action signals, condition rule
and action rules) for sequence connection and the information (condition rule and action
rules) for logic calculation should be entered to each setting area of the sequence table edit
window.
The setting area are listed below.
Processing timing setting area
Step label setting area
Condition signal setting and action signal setting area
Condition rule setting and action rule setting area
Extension table setting area
Next step label setting area (THEN, ELSE)
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-17
IM 33S01B30-01E
Processing Timing Setting Area
Processing timing and scan period are displayed in the processing timing setting area.
Processing timing and scan period may be defined on the processing timing setting dialog
box.
A display example of processing timing setting dialog is shown below.
Processing timing
Cancel OK
Periodic execution Execution timing
Output only at condition change Output timing
D030209E.EPS
Processing timing
Basic scan Scan period
Scan period
Control period
Control phase
Figure Processing Timing Setting Dialog
SEE ALSO
For details of processing timing, see the following:
C7.3, Process Timing for Sequence Control Block
10th Edition : Dec.18,2003-00
D3-18 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
Step Label Setting Area
Enter the step label in the step label setting area using 2 or less alphanumeric characters.
Condition Signal Setting Area and Action Signal Setting Area
Enter the condition signal and action signal into each line that displays the signal number in
the condition signal setting area and action signal setting area.
Condition Rule Setting Area and Action Rule Setting Area
Enter Y/N pattern condition rule and action rule respectively, in the condition rule setting
area and the action rule setting area.
To enter the condition rule and action rule, click on the input location. The display alternates
between Y, N and . as it is clicked. When a . is displayed, it means that no Y/N pattern
has been entered yet.
SEE ALSO
For details of condition rules, see the following:
D3.2.5, Condition Rule Processing of Sequence Table
For details of action rules, see the following:
D3.2.6, Action Rule Processing of Sequence Table
Extension Table Setting Area
Enter the tag name of the extended sequence table in the extended sequence table setting
area.
The rules of the extending and extended sequence tables are connected and the rule
numbers that can be used in the sequence table are then extended, if the tag name of the
extended sequence table is entered.
SEE ALSO
For details of rule extension, see the following:
D3.2.9, Rule Extension
Next Step Label Setting Area (THEN, ELSE)
Enter a 2 digits alphanumeric number directly to the next step label setting area.
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-19
IM 33S01B30-01E
D3.2.3 Sequence Table Processing Flow
In the sequence table, condition rule processing and action rule processing are
performed based on the results of input processing. Output processing is then
performed for the action target.
Sequence Table Processing Flow
Sequence Table Processing Flow
The figure below shows the sequence table processing flow.
D030210E.EPS
Input processing
(condition testing)
Output processing
(status manipulation)
Condition rule processing
Action rule processing
.......
Y
.......
Y
.......
N
.......
Y
Figure Sequence Table Processing Flow
Input Processing
The true/false status of the condition signal is determined by performing condition testing
based on the input signal.
Condition Rule Processing
The true/false status of the rule condition is determined by comparing the true/false status
of the condition signal with the Y/N pattern of the condition rule described in the sequence
table.
Action Rule Processing
The action signal output is determined by the Y/N pattern of the action rule when the status
of condition is true.
Output Processing
Status manipulation of the action target is performed based on the description of the action
signal. The status manipulation, start command transmission, data setting, and status
change can be performed to the contact outputs and other function blocks.
There are two types of sequence tables: step and nonstep. Rule processing differs by the
type of sequence table.
10th Edition : Dec.18,2003-00
D3-20 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
Operations of Non-Step Sequence
In a non-step sequence table, all 32 rules are subject to condition testing, and the operation
is performed according to the conditions. The following shows the operation of a non-step
sequence table.
Step
Rule
ELSE
THEN
C01
D030211E.EPS
Condition signal
Operation signal
01 32
C32
.
.
.
A01
A32
.
.
.
All rule numbers are
subject to condition testing.
Only the rules whose conditions
are satisfied are executed.
Figure Operation of NonStep Sequence Table
As for condition testing, a condition is satisfied when all conditions (Y or N) for the
same rule number are true. A sequence table whose rule columns are all blank is
considered true unconditionally.
Operations are executed according to the operation contents of Y or N described for
the rule number whose conditions are satisfied.
When the output timing is specified as Output Only When Conditions Change, the
operation is executed only once when the condition is switched from false to true.
However, if non-latched output is specified for the operation signal, the operation
changes when the condition is switched from true to false.
When the output timing is specified as Output Each Time Conditions are Satisfied,
the operation is executed during each period as long as the condition remains true.
When the conditions of multiple rules are satisfied simultaneously with respect to the
same operation signal, if requests for both Y and N are detected as the resultant
operations, the request for Y takes precedence, and the operation for N will not be
executed.
D030212E.EPS
01 02 03
C01
C02
C03
%SW0100.PV
%SW0101.PV
ON
ON
No Tag Name.Data Item Data
A01
A02
A03
%SW0200.PV H
Y
Y
Y N
Conditions
Operations
When %SW0100 and %SW0101 turn on simultaneously,
%SW0200 turns on.
The Y operation takes precedence.
Figure Example of Operation for Simultaneous Requests
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-21
IM 33S01B30-01E
Example of the Non-Step Format Sequence Using the Sequence Table
An example of the sequence that normally monitors operations to prevent the buffer tank in
the processing piping system from overflow is shown in the following figure. In this se-
quence, LI100 (indication block) alarm status is used.
LI
100
VALVE-A open command
VALVE-B open command
Inflow valve
VALVE-A
Outflow valve
VALVE-B
Limit switch (LS-A, Open)
Limit switch (LS-B, open)
Differential Pressure
transmitter
LT100
FCS
PVI
HH
H
L
LL
Next process
D030213E.EPS
Figure Example of Process Flow Figure
Flow inflow valve - Open
Level High - High limit alarm
Outflow valve - Open
Inflow valve - Closed
%AN0001
Outflow valve - Open
Level Low - Low limit alarm Outflow valve - Open
Inflow valve - Closed
%AN0004
Level - High limit alarm %AN0002
Level - Low limit alarm %AN0003
D030214E.EPS
AND
AND
Figure Example of Condition Logic Diagram
10th Edition : Dec.18,2003-01
D3-22 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
The condition logic diagram of the previous page is described as below used the sequence
table.
01
C01
02 03 04
C02
C03
C04
C05
C06
LS-A.PV
LS-B.PV
LI100.ALRM
LI100.ALRM
LI100.ALRM
LI100.ALRM
VALVE-A.PV
VALVE-B.PV
%AN0001
%AN0002
%AN0003
%AN0004
A01
A02
A03
A04
A05
A06
Processing Timing Scan Period
No Tag Name - Data Item Data
ON
ON
HH
HI
LO
LL
H
H
L
L
L
L
Comment
TC Basic Scan ....
Inflow valve limit switch
Outflow valve limit switch
Inflow valve open command
Outflow valve open command
Upper level, high-limit alarm
Level, high-limit alarm
Level, low-limit alarm
Lower level, low-limit alarm
Rule Number
D030215E.EPS
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
N
N
Figure Non-step Sequence Table Example
The sequence table in the figure shown above monitors the conditions in rule numbers 01
to 04 simultaneously. Any condition in one of the 4 rules becomes true, the operation in the
same rule will be executed again. The monitoring continues after the execution.
10th Edition : Dec.18,2003-01
<D3.2 Sequence Table Block (ST16, ST16E)> D3-23
IM 33S01B30-01E
Action of Step Sequence
In a step sequence table, the process control sequence of a phase-step process is divided
into the smallest phase units (steps) of the condition monitoring and operation, then these
steps are executed one by one.
In a step sequence table, only step label 00 and the rule corresponding to the current step
number are subject to condition testing and operation. The following shows the action of a
step sequence table.
Step
Rule
ELSE
THEN
01 02 03 04
D030216E.EPS
Condition signal
Operation signal
01 32
C01
C32
.
.
.
A01
A32
.
.
.
Only the step currently being executed is
subject to condition testing.
Only the operations for the rules whose conditions are
satisfied in the step currently being executed, are executed.
Figure Action of Step Sequence Table
Step label 00 is executed during each period. Step 00 may only be described at the
head of a sequence table group. Step 00 cannot be described as a next step label.
For step sequences, the next execution step label must be described in THEN/ELSE
in order to advance the steps. The step will not be advanced if both next step labels in
THEN/ELSE are blank. If there is no description for the next step label, the same step
is executed each time, the sequence does not move step.
The next step specified in THEN is the step to advance when the condition test result
in positive. When all operations for the corresponding rules are completed, the step
proceeds to the next step.
The next step specified in ELSE is the step to advance when the condition test result
in negative. When conditions for the corresponding rules are established, the step
proceeds to the next step without executing the operation rules.
If there are multiple requests for step transition in the same step, the step advances to
the next step label that is described for the smallest rule number.
When a step is advanced, the conditions for the rules are initialized once. In other
words, all the conditions become false with respect to the previous execution.
The timing in which the next step is actually executed after a step is advanced, is the
next scan period.
10th Edition : Dec.18,2003-00
D3-24 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
The same step label can be assigned to multiple rules. In this case, branched opera-
tions can be performed according to the condition.
D030217E.EPS
01 02 03 04 05
A A A
1 2 3
C01
C02
C03
%SW0100.PV ON
No Tag Name.Data Item Data
A01
A02
A03
%SW0200.PV H
Y N
Y N
THEN
ELSE
A A
2 3
Condition
Operation
If %SW0100 is on at step label A1,
it turns on %SW0200 and advances the step.
If %SW0100 is off,
it turns off %SW0200 and advances the step.
Figure Example of Conditional Branch
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-25
IM 33S01B30-01E
Example of a Step Sequence that Uses the Sequence Table
This figure shows an example of the phase step sequence that combines the water injec-
tion processing and drain processing.
Valve A
(VLVA)
Valve B
(VLVB)
To the next process
D030218E.EPS
Switch A
(SWA)
Switch B
(SWB)
Start button
(PB001)
FCS
Push the start button, valve A opens to fill water to the tank. When the tank is full, switch A
becomes ON, the valve is closed.
Push the start button again when the tank is full, then the valve B opens.
When the drain process ends, switch B becomes ON, the valve B closes.
Sequence Specifications
Figure Example of Process Flow
10th Edition : Dec.18,2003-00
D3-26 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
Sequence start
Switch B level Lo
(SWB)
Switch A level Hi
(SWA)
Start button
(PB001)
Valve A: Open (VLVA)
No
Yes
Valve A: Close (VLVA)
No
Yes
Start button
PB001
No
Yes
Valve B: Close (VLVS)
Valve B: Open (VLVS)
No
Yes
D030219E.EPS
Water injection processing (Step label A1)
Water drain processing (Step label A2)
Figure Example of Sequence Flow Chart
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-27
IM 33S01B30-01E
The sequence flow chart of the previous page is described as below used the sequence
table.
01
C01
02 03 04 05 06
C02
C03
C04
C05
C06
PB001.PV
SWA.PV
SWB.PV
VLVA.PV
VLVB.PV
A01
A02
A03
A04
A05
A06
Process Timing Scan Period
No Tag Name.Data Item Data
ON
ON
ON
H
H
Comment
TC Basic Scan ....
STEP
THEN
ELSE
D030220E.EPS
Start Button
Switch A (Level HI)
Switch A (Level LO)
Valve A
Valve B
Rule Number
A A
A A
2
1 2
1
Destination Step Label
Y
Y Y
Y
N
N
Y
N
Y N
Figure Example of Step Sequence Table
In the above sequence table, rule numbers 01 and 02 are step A1. Rule numbers 03 and
up are step A2. Rule numbers 05 and beyond do not have any description for the condition
rule, operation rule or move-destination step label, so they are not subject to condition
testing nor operation.
Step A1 monitors the conditions for rule numbers 01 and 02 simultaneously. Of rule num-
bers 01 and 02, whichever the condition is satisfied will be executed. Executing the opera-
tion of rule 01 does not advance the step, since there is no designation in the move-desti-
nation step label. After executing the operation, A1 resumes monitoring rule numbers 01
and 02 again. On the other hand, if the condition for rule number 02 becomes true, the
operation of rule 02 will be executed, and the step advances to A2 because the move-
destination step label has a designation.
10th Edition : Dec.18,2003-00
D3-28 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
D3.2.4 Input Processing of Sequence Table
In input processing, the true/false status of a condition signal is determined by
performing condition testing on each of the multiple input terminals.
Input Processing of Sequence Table
In input processing, condition testing is performed on the condition signal of the rules
subject to execution, in order to retain the true/false status of the condition signal in the
form of a logical value. The label of a step that is to be executed is described on the rule
subject to execution. When the step label is not described in the step column of the se-
quence table, all rules are subject to the execution rule.
For all rule conditions except those subject to execution, the status of the condition signal is
considered false regardless of the status of the connection destination.
The table below lists the results of condition testing when error occurs during input pro-
cessing.
Table Descriptions of Input Processing Errors and Condition Testing Results
Error Descriptions
Input processing results and
effect on condition signal processing
When the condition signal is not described
When there is an error in the testing condition
of the condition signal
The status of the condition signal is set true
The result of the condition signal processing is set
unconditionally true regardless of the Y/N pattern
When the necessary input signal for condition
testing was unavailable (*1)
When one-shot execution was not available
Maintain the state of previous input processing
Condition signal processing is performed based on the
previous test result
D030221E.EPS
*1: The following describes factors that do not allow input signals.
When the database of the connection destination or element is abnormal.
When the connection destination or process I/O is undergoing online maintenance.
A system alarm occurs when referencing the result of one-shot execution at the connection
destination fails due to the following:
When the nest referring from a referenced sequence table to other sequence
table exceeds seven levels including the referencing sequence table;
When the connection destination block mode is out of service (O/S); or
When the connection destination is undergoing maintenance.
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-29
IM 33S01B30-01E
IMPORTANT
When a function block of the connection destination and/or a process I/O is undergoing
maintenance, input signals cannot be obtained. When performing maintenance, and before
performing online loading, be sure to set related function blocks to manual (MAN) mode or
perform any processing that stops executions in order to execute an online load.
The true/false status of the condition signal is maintained as the previous input value within
the sequence table. However, when the necessary input signal for condition testing is
unavailable, or when one-shot execution of the connection destination function block is
unavailable, the previous input value used in condition testing as in the case shown below
will not be the expected value.
When the sequence table itself is a one-shot execution type, or when the function
block of the connection destination is a one-shot execution type while the block mode
is out of service (O/S), it might have been long since the previous input value was
obtained. If so, the value obtained from the previous one-shot execution remains to be
the previous input value.
When the sequence table itself is a one-shot execution type, or when the function
block of the connection destination is a one-shot execution type while the block mode
is out of service (O/S), if no one-shot execution was performed, the previous input
value is 0.
Immediately after a step is changed in the step-type sequence table, always set the
previous input value to 0 (false) before performing the condition testing.
10th Edition : Dec.18,2003-00
D3-30 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
D3.2.5 Condition Rule Processing of Sequence Table
In the condition rule processing, the true/false status of each rule condition is deter-
mined by comparing for each rule the true/false status of condition signals and the
condition rules.
Condition Rule Processing of Sequence Table
An example of condition rule processing is shown below.
True/false status
of condition signal
Rule number
01 02 03 04
Condition signal 1 1 Y Y
Condition signal 2 0 Y Y
Condition signal 3 1 Y N
True/false condition status 0 0 1 0
Action signal 1
Y N
Action signal 2 Y
Action signal 3 N
D030222E.EPS
True/false status of condition signal...condition testing result:
true (1). false (0)
True/false status of condition.....True/false status of conditionsignal
in one rule corresponds with the Y/N
pattern in the same rule.
As shown in the figure left, the true/false status of the condition
signal corresponds with the Y/N pattern in Rule 03 only.
The Y operation in action signal 2 is, therefore, performed.
Figure Example of Condition Rule Processing
Comparing the True/False Status of Condition Signals and Condition
Rules
The comparison content differs by the Y/N pattern of the condition signal described in the
condition rule.
When Y is described in the condition signal.
If the status of the condition signal obtained by input processing is true (1), the condi-
tion is satisfied.
When N is described in the condition signal.
If the status of the condition signal obtained by input processing is false (0), the
condition is satisfied.
Determining the True/False Status of Conditions
Only rules with satisfied conditions are subject to action rule processing. When all Y/Ns of a
condition described in the rule of the same number are satisfied, the status of the rule
condition is true (1). If even one of them is not satisfied, the status is false (0).
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-31
IM 33S01B30-01E
D3.2.6 Action Rule Processing of Sequence Table
For each rule number for which the condition part is true (satisfied), the correspond-
ing output signals are decided by the Y/N pattern in the action part of the rule.
Action Rule Processing of Sequence Table - ST16, ST16E
The output action signal based on the Y/N pattern is determined in the action rule process-
ing.
True/false status
of condition signal
Rule number
01 02 03 04
Condition signal 1 1 Y Y
Condition signal 2 0 Y Y
Condition signal 3 1 Y N
True/false condition status 0 0 1 0
Action signal 1
Y N
Action signal 2 Y
Action signal 3 N
D030223E.EPS
True/false status of condition signal...condition testing result:
true (1). false (0)
True/false status of condition.....True/false status of conditionsignal
in one rule corresponds with the Y/N
pattern in the same rule.
As shown in the figure left, the true/false status of the condition
signal corresponds with the Y/N pattern in Rule 03 only.
The Y operation in action signal 2 is, therefore, performed.
Figure Example of Condition Rule Processing
Of the rules with true status of condition, only action signals described with Y or N in action
rules will be output targets.
When Output Only when Conditions Change is specified for output timing, rules whose
true/false status of condition is changed can be action targets.
The content of status manipulation in the sequence table is decided by the Y/N pattern,
while those of status manipulation in other sequence control blocks differ by the true/false
logical calculation result.
10th Edition : Dec.18,2003-00
D3-32 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
D3.2.7 Output Processing of Sequence Table
In output processing, the action target is manipulated by outputting the action
signal obtained by action rule processing.
Output Processing of Sequence Table
In output processing, by outputting action signals, the action target is manipulated based
on the action target and action specifications described in the action signal column. The
manipulation for the action target is called status manipulation.
When errors occur in output processing while performing operations such as changing the
block mode of a function block for which a block mode change interlock is specified, status
manipulations to the target blocks are not performed.
If one action signal is tested by multiple rules, and both Y and N actions are requested, Y
has higher priority. In this case, Y is executed but N is ignored.
Also, a system alarm occurs when one-shot execution fails due to the reasons indicated
below:
When the nest executing from an executed sequence table to other sequence table
exceeds seven levels including the executing sequence table;
When the connection destination block mode is out of service (O/S); or
When the connection destination is undergoing maintenance.
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-33
IM 33S01B30-01E
D3.2.8 Number of Condition Signals and Action Signals
Up to 32 condition signals and 32 action signals for a total of 64 signals can be
described in one Sequence Table Block (ST16).
When more than 32 condition signals or 32 action signals must be described, the
allocation of the number of condition signals and action signals totaling 64 can be
changed in units of eight signals.
Number of Condition Signals and Action Signals
Number of Signals
There are 32 action signals and 32 condition signals in each Sequence Table Block (ST16).
However, allocation of the number of signals can be changed in the 8-signal unit using the
signal selection dialog which is called from the Function Block Detail Builder.
Select Number of Signals: Sets allocation of the number of I/O signals in the 8-signal
unit.
Table Combination of Condition Signal and Action Signal Counts
Condition signal count Action signal count
8 56
16 48
24 40
32 (default) 32 (default)
40 24
48 16
56 8
D030224E.EPS
The signal count selection dialog box is displayed by selecting [Change Number of Signal
Lines] from the [View] menu in the Function Block Detail Builder.
A display example of the signal line selection dialog box is shown below.
Select Number of Signal Lines
Cancel OK
Condition signal = 32, Operation signal = 32
D030225E.EPS
Figure Example of Signal Line Selection Dialog Box
IMPORTANT
Condition signal and action signal information may be lost if the signal count is decreased
by changing signal count allocation.
The message shown below is displayed when information may be lost.
Type: warning
Description:
Some of the existing definition information will be lost by changing this setting. Is it
OK to change?
10th Edition : Dec.18,2003-00
D3-34 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
D3.2.9 Rule Extension
In the sequence table, up to 32 rules can be set to test condition signals and action
signals.
When describing information in the sequence table, if more than 32 rules are re-
quired in one phase of a sequence control that is being described in the sequence
table, the number of rules can be extended.
Rule Extension
The number of rules in one sequence table is fixed at 32 and cannot be modified. However,
if the number of rules in a sequence table is not enough to describe one phase unit, it can
be extended in the 32-rule unit by connecting to another sequence table. The number of
rules can be extended for a step-type sequence table.
Method of Rule Extension
To extend the number of rules, specify a tag name for the rule extension block (ST16E) in
the sequence table setting area of the extending sequence table (ST16). It does not matter
if the number of signals and signal contents are different between the extending sequence
table (ST16) and extended sequence table (ST16E).
The number of rules can be extended in the 32-rule unit per block.
An example of the number of rules extended to 64 is shown below.
Extending table Extending table
ST16
condition side
ST16
operation side
ST16
condition side
ST16
operation side
Extended table
ST16E
condition side
ST16E
operation side
D030226E.EPS
Figure Examples of Rule Extension
Sequence Table Group
Multiple sequence tables connected for rule extension are referred to as a sequence table
group.
Up to 100 steps can be described in one sequence table group. The number of rules
cannot be extended over 100 steps. A step name cannot be described more than once in a
sequence table group (not in both extending table and extended table).
Editing an Extended Sequence Table
An extended sequence table (ST16E) can be opened by selecting [Open the next exten-
sion table] from the [display] menu in the Function Block Detail Builder. To enter information
for sequence connection, the method used in an extended sequence table (ST16E) can
also be used in the extending sequence table (ST16).
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-35
IM 33S01B30-01E
Restrictions on Rule Extension
This section explains the restrictions on rule extension.
Restrictions on the Number of Steps
Rule extension is required in the step-type sequence tables. Up to 100 steps can be de-
scribed in the step-type sequence table. Even when the step-type sequence table is ex-
tended for rule extension, the maximum number of describable steps is limited to 100
within a sequence table group.
If it is necessary to describe over 100 steps in a step-type sequence table, create another
step-type sequence table to allow execution of the second table continued from the first
table.
There are no restrictions on the number of tables. However, in consideration of the perfor-
mance of sequence table execution, the number of connected tables in the sequence table
group should be as small as possible.
Restrictions on Step Label
The same step label cannot be described in more than one step label setting area within a
sequence table group. The step executed over two sequence tables or more cannot be
described, either.
If a step cannot be described within one sequence table, decrease processing to be ex-
ecuted in a step and describe a step label indicating that the next step starts from a newly
extended sequence table.
Restrictions on Rule Extension Table
The rule extension sequence table block should be created in the same control drawing
with the original sequence table block. If the rule extension sequence block is created in a
drawing different from the original sequence block, on HIS, the status display of the original
sequence block can not be extended to the rule extension sequence block.
SEE ALSO
For more information about control drawings, see the following:
F3. Control Drawing Builder
10th Edition : Dec.18,2003-00
D3-36 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
D3.2.10 Condition Signal Description: Referencing Other
Function Blocks and I/O Data
In the condition testing in which other function blocks are referenced, various data,
block mode and status can be referenced. I/O data such as process I/O, software I/O,
communication I/O can also be referenced.
Function Blocks and I/O Data that can be Referenced from a Sequence
Table
Conditional Signal Description
Function blocks that can be referenced from a sequence table are shown below.
Switch Instrument Blocks
Timer Block (TM)
Software Counter Block (CTS)
Pulse Train Input Counter Block (CTP)
Code Input Block (CI)
Code Output Block (CO)
Relational Expression Block (RL)
Resource Scheduler Block (RS)
Valve Monitoring Block (VLVM)
Regulatory Control Blocks
Calculation Blocks
Faceplate Blocks
SFC Blocks
Unit Instrument Blocks
Sequence Table Blocks
Logic Chart Blocks
In addition, the following I/O data can be referenced from the sequence table.
Processing I/O (contact I/O)
Software I/O (internal switch, annunciator message)
Communication I/O
The following should be taken into account when referencing a sequence table block
mode.
When O/S is specified in the condition specification for block mode reference, the test
result will be unsatisfied in the compound block mode in which O/S and another basic
block mode are satisfied simultaneously.
When MAN or AUT is specified in the condition specification for block mode reference,
the test result is satisfied even in the compound block mode as long as the specified
basic block mode is established.
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-37
IM 33S01B30-01E
Switch Instrument Block and Enhanced Switch Instrument Block Refer-
ence
The table below lists the condition signal symbolic convention for referencing various data
and status of switch instrument block and enhanced switch instrument block as well as the
conditions for true Y/N described in the condition rule.
Table Condition Signal Symbolic Convention and Conditions for True Y/N Described in Condition
Rule (1/2)
Condition signal description column
Condition
rule
column
Conditions for true status
Input signal
Condition
specification
Element symbol.PV 0, 1, 2
Y Answerback value coincides with specification.
N Answerback value does not coincide with specification.
Element symbol.PV =Data status
Y Data status coincides with specification.
N Data status does not coincide with specification.
Element symbol.MV 0, 1, 2
Y Output value coincides with specification.
N Output value does not coincide with specification.
Element symbol.MV =Data status
Y Data status coincides with specification.
N Data status does not coincide with specification.
Element symbol.TSW 0, 1
Y Tracking switch is in specified state.
N Tracking switch is not in specified state.
Element symbol.TSW =Data status
Y Data status coincides with specification.
N Data status does not coincide with specification.
Element symbol.BSW 0, 1
Y Backup switch is in specified state.
N Backup switch is not in specified state.
Element symbol.MODE
AUT, MAN, CAS,
ROUT, TRK, O/S
Y Block mode coincides with specification.
N Block mode does not coincide with specification.
Element symbol.BSTS NR, SIM, ANCK
Y Block status coincides with specification.
N Block status does not coincide with specification.
D030227E.EPS
Element symbol.XMODE
BUM
Y Block is in ROUT (MAN) mode.
N Block is not in ROUT (MAN) mode.
BUA
Y Block is in ROUT (AUT) mode.
N Block is not in ROUT (AUT) mode.
BUC
Y Block is in ROUT (CAS) mode.
N Block is not in ROUT (CAS) mode.
10th Edition : Dec.18,2003-00
D3-38 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
Table Condition Signal Symbolic Convention and Conditions for True Y/N Described in Condition
Rule (2/2)
NR, IOP, OOP, ANS+,
CNF, ANS-, PERR,
AOF (*2)
Condition signal description column
Condition
rule
Condition
Conditions for true status
Input signal
Condition
specification
Element symbol.ALRM
NR, IOP, OOP, ANS+,
ANS-, PERR, CNF
Y Specified alarm is activated.
N Specified alarm is not activated.
Element symbol.AFLS
PERR, AFL (*1), NR,
IOP, OOP, ANS+,
ANS-, CNF
Y Specified alarm is flashing.
N Specified alarm is not flashing.
Element symbol.AF
NR, IOP, OOP, ANS+,
ANS-, PERR, CNF
Y Specified alarm detection is off.
N Specified alarm detection is on.
Element symbol.AOFS
Y Specified alarm is masked.
N Specified alarm is unmasked.
Element symbol.CSV 0, 1, 2
Y Sequence setting value coincides with specification.
N Sequence setting value does not coincides with specification.
Element symbol.CSV =Data status
Y Data status coincides with specification.
N Data status does not coincides with specification.
Element symbol.RMV 0, 1, 2
Y Remote manipulated output value coincides with specification.
N
Remote manipulated output value does not coincides with
specification.
Element symbol.RMV =Data status
Y Data status coincides with specification.
N Data status does not coincides with specification.
Element symbol.BPSW 0, 1
Y Bypass switch is in specified state.
N Bypass switch is not in specified state.
Element symbol.BPSW =Data status
Y Data status coincides with specification.
N Data status does not coincides with specification.
D030228E.EPS
Element symbol.XALRM IOP
Y Alarm is in IOP or IOP- status.
N Alarm is in neither IOP nor IOP- status.
Element symbol.XAF IOP
Y IOP or IOP- detection is disabled.
N IOP or IOP- detection is enabled.
*1: Condition Specification AFL references the group flashing status.
*2: Condition Specification AOF references the alarm group mask status.
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-39
IM 33S01B30-01E
Timer Block Reference (TM)
The table below lists the condition signal symbolic convention for referencing various data
and status of the Timer Block (TM) and the conditions for true Y/N described in the condi-
tion rule.
Table Condition Signal Symbolic Convention and Conditions for True Y/N Described in Condition
Rule
Condition signal description column Condition
rule
column
Conditions for true status
Input signal Condition specification
Element symbol.MODE AUT, O/S
Y Block mode coincides with specification.
N Block mode does not coincide with specification.
Element symbol.BSTS
STOP, RUN, PAUS,
NR, PALM, CTUP
Y Block status is in specified state.
N Block status is not in specified state.
Element symbol.ALRM NR
Y Alarm status is in specified state.
N Alarm status is not in specified state.
Element symbol.AFLS AFL (*1), NR
Y Specified alarm is flashing.
N Specified alarm is not flashing.
Element symbol.AF NR
Y Specified alarm detection is off.
N Specified alarm detection is on.
Element symbol.AOFS NR,AOF (*2)
Y Specified alarm is masked.
N Specified alarm is unmasked.
D030229E.EPS
*1: Condition Specification AFL references the group flashing status.
*2: Condition Specification AOF references the alarm group mask status.
Software Counter Block Reference (CTS)
The table below lists the condition signal symbolic convention for referencing various data
and status of the Software Counter Block (CTS) as well as the conditions for true Y/N
described in the condition rule is shown below.
Table Condition Signal Symbolic Convention and Conditions for True Y/N Described in Condition
Rule
Condition signal description column Condition
rule
column
Conditions for true status
Input signal Condition specification
Element symbol.MODE AUT, O/S
Y Block mode coincides with specification.
N Block mode does not coincide with specification.
Element symbol.BSTS
STOP, RUN, NR,
PALM, CTUP
Y Block status is in specified state.
N Block status is not in specified state.
D030230E.EPS
10th Edition : Dec.18,2003-00
D3-40 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
Pulse Train Input Counter Block Reference (CTP)
The table below lists the condition signal symbolic convention for referencing various data
and status of the Pulse Train Input Counter Block (CTP) as well as the conditions for true Y/
N described in the condition rule.
Table Condition Signal Symbolic Convention and Conditions for True Y/N Described in Condition
Rule
Condition signal description column
Conditions for true status
Input signal Condition specification
Element symbol.MODE AUT, O/S
Y Block mode coincides with specification.
N Block mode does not coincide with specification.
Element symbol.BSTS
STOP, RUN, PAUS,
NR, PALM, CTUP
Y Block status is in specified state.
N Block status is not in specified state.
Element symbol.ALRM CNF, NR, IOP
Y Alarm status is in specified state.
N Alarm status is not in specified state.
Element symbol.AFLS
AFL (*1), CNF, NR,
IOP
Y Specified alarm is flashing.
N Specified alarm is not flashing.
Element symbol.AF CNF, NR, IOP
Y Specified alarm detection is off.
N Specified alarm detection is on.
Element symbol.AOFS
CNF, NR, IOP,
AOF (*2)
Y Specified alarm is masked.
N Specified alarm is unmasked.
Element symbol.PV =Data status
Y Data status coincides with specification.
N Data status does not coincide with specification.
D030231E.EPS
Element symbol.XALRM IOP
Y Alarm is in IOP or IOP- status.
N Alarm is in neither IOP nor IOP- status.
Element symbol.XAF IOP
Y IOP or IOP- detection is disabled.
N IOP and IOP- detection is enabled.
Condition
rule
column
*1: Condition Specification AFL references the group flashing status.
*2: Condition Specification AOF references the alarm group mask status.
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-41
IM 33S01B30-01E
Code Input Block Reference (CI)
The table below lists the condition signal symbolic convention for referencing various data
and status of the Code Input Block (CI) as well as the conditions for true Y/N described in
the condition rule.
Table Condition Signal Symbolic Convention and Conditions for True Y/N Described in Condition
Rule
Condition signal description column
Conditions for true status
Input signal
Condition specification
Element symbol.MODE AUT, O/S
Y Block mode coincides with specification.
N Block mode does not coincide with specification.
Element symbol.BSTS NR, LO, HI, ERR
Y Block status coincides with specification.
N Block status does not coincide with specification.
Element symbol.PV =Data status
Y Data status coincides with specification.
N Data status does not coincide with specification.
D030232E.EPS
Condition
rule
column
Code Output Block Reference (CO)
The table below lists the condition signal symbolic convention for referencing various data
and status of the Code Output Block (CO) as well as the conditions for true Y/N described
in the condition rule.
Table Condition Signal Symbolic Convention and Conditions for True Y/N Described in Condition
Rule
Condition signal description column
Conditions for true status
Input signal Condition specification
Element symbol.MODE AUT, O/S
Y Block mode coincides with specification.
N Block mode does not coincide with specification.
Element symbol.BSTS NR, LO, HI
Y Block status coincides with specification.
N Block status does not coincide with specification.
Element symbol.PV =Data status
Y Data status coincides with specification.
N Data status does not coincide with specification.
D030233E.EPS
Condition
rule
column
10th Edition : Dec.18,2003-00
D3-42 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
Relational Expression Block Reference (RL)
The table below lists the condition signal symbolic convention for referencing various data
and status of the Relational Expression Block (RL) as well as the conditions for true Y/N
described in the condition rule.
Table Condition Signal Symbolic Convention and Conditions for True Y/N Described in Condition
Rule
Condition signal description column
Conditions for true status
Input signal Condition specification
Element symbol.X01 to 16
EQ, GT, GE, LT, LE,
AND
Y Relationship between two data is in specified state.
N Relationship between two data is not in specified state.
D030234E.EPS
Condition
rule
column
The table below lists the description of condition specifications.
Table Description of Condition Specifications
Symbol Name Description
EQ equal data 1=data 2
GT greater than data 1>data 2
GE great than or equal to data 1data 2
LT less than data 1<data 2
LE less than or equal to data 1data 2
AND logical product bitwise logical product of data 1 and 2
D030235E.EPS
Resource Scheduler Block Reference (RS)
The table below lists the condition signal symbolic convention for referencing various data
and status of the Resource Scheduler Block (RS) as well as the conditions for true Y/N
described in the condition rule.
Table Condition Signal Symbolic Convention and Conditions for True Y/N Described in Condition
Rule
Condition signal description column
Conditions for true status
Input signal Condition specification
Element symbol.MODE AUT, O/S
Y Block mode coincides with specification.
N Block mode does not coincide with specification.
Element symbol.RQ01 to 32 0, 1
Y
Usage request status coincides with specification.
(0: Not requested, 1: Requesting)
N Usage request status does not coincide with specification.
Element symbol.PM01 to 32 0, 1
Y
Permission status coincides with specification.
(0: Not permitted, 1: Permitted)
N Permission status does not coincide with specification.
Element symbol.RMH 0 to 32
Y
Maximum permissible number coincides with
specification.
N
Maximum permissible number does not coincide with
specification.
D030236E.EPS
Condition
rule
column
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-43
IM 33S01B30-01E
Valve Monitoring Block Reference (VLVM)
The table below lists the condition signal symbolic convention for referencing various data
and status of the Valve Monitoring Block (VLVM) as well as the conditions for true Y/N
described in the condition rule.
Table Condition Signal Symbolic Convention and Conditions for True Y/N Described in Condition
Rule
Condition signal description column
Conditions for true status
Input signal Condition specification
Element symbol.MODE AUT, O/S
Y Block mode coincides with specification.
N Block mode does not coincide with specification.
Element symbol.ALRM NR
Y Specified alarm is activated.
N Specified alarm is not activated.
Element symbol.AFLS NR, AFL (*1)
Y Alarm is flashing.
N Alarm is not flashing.
Element symbol.AF NR
Y Specified alarm detection is off.
N Specified alarm detection is on.
Element symbol.AOFS NR, AOF (*2)
Y Specified alarm is masked.
N Specified alarm is unmasked.
Element symbol.PV01 to 16 0, 1
Y
Valve normal/abnormal state coincides with specification.
(0: Normal, 1: Abnormal)
N
Valve normal/abnormal state does not coincide with
specification.
Element symbol.PVR 0, 1
Y
Representative valve normal/abnormal state coincides
with specification.
(0: All valves are normal, 1: At least one of the alarms is
abnormal)
N
Representative valve normal/abnormal state does not
coincide with specification.
Element symbol.MCSW 0, 1
Y
Message suppression coincides with specification.
(0: Not suppressed, 1:Suppressed)
N Message suppression does not coincide with specification.
D030237E.EPS
Condition
rule
column
*1: Condition Specification AFL references the group flashing status.
*2: Condition Specification AOF references the alarm group mask status.
10th Edition : Dec.18,2003-00
D3-44 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
Regulatory Control Block Reference
The table below lists the condition signal symbolic convention for referencing the block
mode, block status, alarm status, and data status of the regulatory control block as well as
the conditions for true Y/N described in the condition rule.
Table Condition Signal Symbolic Convention and Conditions for True Y/N Described in Condition
Rule
Condition signal description column
Conditions for true status
Input signal Condition specification
Element symbol.MODE Block mode
Y Block mode is in specified state.
N Block mode is not in specified state.
Element symbol.BSTS Block status
Y Block status is in specified state.
N Block status is not in specified state.
Element symbol.ALRM Alarm status
Y Specified alarm is activated.
N Specified alarm is not activated.
Element symbol.AFLS
Alarm status, AFL (*1)
Y Specified alarm is flashing.
N Specified alarm is not flashing.
Element symbol.AF Alarm status
Y Specified alarm detection is off.
N Specified alarm detection is on.
Element symbol.AOFS Alarm status, AOF (*2)
Y Specified alarm is masked.
N Specified alarm is unmasked.
Element symbol.Data item Data value
Y Data value coincides with specification.
N Data value does not coincide with specification.
Element symbol.Data item =Data status
Y Data status coincides with specification.
N Data status does not coincide with specification.
D030238E.EPS
BUC
Y Block is in ROUT (CAS) or RCAS (CAS) mode
N Block is not in ROUT (CAS) or RCAS (CAS) mode
BUA
Y Block is in ROUT (AUT) or RCAS (AUT) mode
N Block is not in ROUT (AUT) or RCAS (AUT) mode
Element symbol.XMODE
BUM
Y Block is in ROUT (MAN) or RCAS (MAN) mode
N Block is not in ROUT (MAN) or RCAS (MAN) mode
Element symbol.XALRM
IOP
Y Alarm is in IOP or IOP- status.
N Alarm is in neither IOP nor IOP- status.
VEL
Y Alarm is in VEL or VEL- status.
N Alarm is in neither VEL nor VEL- status.
Element symbol.XAF IOP
Y IOP or IOP- detection is disabled.
N IOP and IOP- detection is enabled.
Condition
rule
column
*1: Condition Specification AFL references the group flashing status.
*2: Condition Specification AOF references the alarm group mask status.
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-45
IM 33S01B30-01E
Regulatory Control Block that can Describe Data Values in Condition
Specifications
The table below lists the regulatory control blocks that can describe data values in condi-
tion specifications and the setting ranges of data items.
Table Regulatory Control Blocks that can Describe Data Values in Condition Specifications and
the Setting Ranges of Data Items (1/3)
Block code Name Data item Setting range
PID PID Controller Block
TSW 0, 1
CSW 0, 1
PSW 0 to 3
RSW 0, 1
BSW 0, 1
PID-HLD Sampling PI Controller Block
TSW 0, 1
CSW 0, 1
PSW 0 to 3
RSW 0, 1
BSW 0, 1
PID-BSW PID Controller Block with Batch Switch
TSW 0, 1
CSW 0, 1
PSW 0 to 3
RSW 0, 1
BSW 0, 1
PID-TP Time-Proportioning ON/OFF Controller Block
CSW 0, 1
PSW 0 to 3
BSW 0, 1
ONOFF 2-Position ON/OFF Controller Block
PSW 0 to 3
BSW 0, 1
ONOFF-G 3-Position ON/OFF Controller Block
PSW 0 to 3
BSW 0, 1
PD-MR PD Controller Block with Manual Reset
TSW 0, 1
PSW 0 to 3
RSW 0, 1
BSW 0, 1
PI-BLEND Blending PI Controller Block
TSW 0, 1
PSW 0 to 3
RSW 0, 1
BSW 0, 1
RST 0, 1
Block code Name Data item Setting range
D030239E.EPS
ONOFF-E Enhanced 2-Position ON/OFF Controller Block
PSW 0 to 3
BSW 0, 1
ONOFF-GE Enhanced 3-Position ON/OFF Controller Block
PSW 0 to 3
BSW 0, 1
10th Edition : Dec.18,2003-00
D3-46 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
Table Regulatory Control Blocks that can Describe Data Values in Condition Specifications and
the Setting Ranges of Data Items (2/3)
Block code Name Data item Setting range
MLD Manual Loader Block
TSW 0, 1
RSW 0, 1
MLD-PVI Manual Loader Block with Input Indicator
TSW 0, 1
RSW 0, 1
MLD-SW Manual Loader Block with Auto/Man SW
TSW 0, 1
PSW 0 to 3
RSW 0, 1
MC-2 2-Position Motor Control Block
TSW 0, 1
BSW 0, 1
BPSW 0 to 4
SIMM 0 to 1
CSV 0 to 2
PV 0 to 2
MV 0 to 2
MC-3 3-Position Motor Control Block
TSW 0, 1
BSW 0, 1
BPSW 0 to 4
SIMM 0 to 1
CSV 0 to 2
PV 0 to 2
MV 0 to 2
Block code Name Data item Setting range
D030240E.EPS
MC-2E Enhanced 2-Position Motor Control Block
TSW 0, 1
BSW 0, 1
BPSW 0 to 4
SIMM 0 to 1
CSV 0 to 2
PV 0 to 2
MV 0 to 2
MC-3E Enhanced 3-Position Motor Control Block
TSW 0, 1
BSW 0, 1
BPSW 0 to 4
SIMM 0 to 1
CSV 0 to 2
PV 0 to 2
MV 0 to 2
PID-STC Self-Tuning PID Controller Block
TSW 0, 1
CSW 0, 1
PSW 0 to 3
RSW 0, 1
BSW 0, 1
STC -1 to 3
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-47
IM 33S01B30-01E
Table Regulatory Control Blocks that can Describe Data Values in Condition Specifications and
the Setting Ranges of Data Items (3/3)
Block code Name Data item Setting range
BSETU-2 Flow-Totalizing Batch Set Block
SW 0 to 4
EMSW 0, 1
ZONE 0 to 11
BSETU-3 Weight-Totalizing Batch Set Block
SW 0 to 4
EMSW 0, 1
ZONE 0 to 11
VELLIM Velocity Limiter Block
PSW 0 to 3
BSW 0, 1
BPSW 0, 1
SS-H/M/L Signal Selectors
SW 0 to 4
SEL 0 to 3
AS-H/M/L Auto Selectors
PSW 0 to 3
SW 0 to 4
SEL 0 to 3
SS-DUAL Dual-Redundant Signal Selector Block
SW 1 to 3
SEL 1 to 2
FFSUM Feedforward Signal Summing Block
TSW 0, 1
PSW 0 to 3
FSW 0, 1
RSW 0, 1
XCPL Non-Interference Control Output Block
TSW 0, 1
PSW 0 to 3
RSW 0, 1
SPLIT Control Signal Splitter Block
BSW 0, 1
SW 0 to 3
ALM-R Representative Alarm Block
SW 0 to 5
SV 0 to 15
SBSD Ys Instrument Batch Set Station Block SV 0 to 8
SLBC Ys Instrument Batch Set Controller Block SV 0 to 8
Block code Name Data item Setting range
D030241E.EPS
RATIO Ratio Set Block
TSW 0, 1
PSW 0 to 3
RSW 0, 1
BSW 0, 1
PG-L13 13-Zone Program Set Block
ZONE 1 to 13
ZSTR 1 to 13
ZEND 1 to 13
10th Edition : Dec.18,2003-00
D3-48 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
Calculation Block Reference
The table below lists the condition signal symbolic convention for referencing the block
mode of calculation block, block status, alarm status, and data status, as well as the condi-
tions for true Y/N described in the condition rule is shown below.
Table Condition Signal Symbolic Convention and Conditions for True Y/N Described in Condition
Rule
Condition signal description column
Conditions for true status
Input signal Condition specification
Element symbol.MODE AUT, O/S
Y Block mode coincides with specification.
N Block mode does not coincide with specification.
Element symbol.BSTS RUN, STOP
Y Block status coincides with specification.
N Block status does not coincide with specification.
Element symbol.ALRM Alarm status
Y Alarm status is in specified state.
N Alarm status is not in specified state.
Element symbol.AFLS Alarm status, AFL (*1)
Y Specified alarm is flashing.
N Specified alarm is not flashing.
Element symbol.AF Alarm status
Y Specified alarm detection is off.
N Specified alarm detection is on.
Element symbol.AOFS Alarm status, AOFS (*2)
Y Specified alarm is masked.
N Specified alarm is unmasked.
Element symbol.ACT ON
Y Calculation result is not 0.
N Calculation result is 0.
Element symbol.data item Data value (*3)
Y Data value coincides with specification.
N Data value does not coincide with specification.
Element symbol.data item =Data status
Y Data status coincides with the status of specified data.
N
Data status does not coincide with the status of specified
data.
D030242E.EPS
Element symbol.XALRM
IOP
Y Alarm is in IOP or IOP- status.
N Alarm is in neither IOP nor IOP- status.
VEL
Y Alarm is in VEL or VEL- status.
N Alarm is in neither VEL nor VEL- status.
Element symbol.XAF IOP
Y IOP or IOP- detection is disabled.
N IOP and IOP- detection is enabled.
Condition
rule
column
*1: Condition Specification AFL references the group flashing status.
*2: Condition Specification AOF references the alarm group mask status.
*3: Only integers can be a data value. If the data item is a floating decimal point, the value is rounded off for comparison.
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-49
IM 33S01B30-01E
Calculation Blocks that can Describe Data Values in Condition
Specifications
The table below lists the data items of Calculation Blocks that can describe data values in
condition specifications and their setting ranges.
Table Calculation Blocks that can Describe Data Values in Condition Specifications and Setting
Range of Data Items (1/2)
Block code Name Data item Setting range
DLAY Dead-Time Block
RST 0, 1 DLAY-C Dead-Time Compensation Block
AVE-M Moving-Average Block
INTEG Integration Block
SW 0, 1, 2
AVE-C Cumulative-Average Block
SW-33 Three-Pole Three-Position Selector Switch Block SW 0 to 3
BDSET-1L One-Batch Data Set Block
SW 0 to 3
BDSET-1C One-Batch String Data Set Block
BDSET-2L Two-Batch Data Set Block
BDSET-2C Two-Batch String Data Set Block
SW-91 One-Pole Nine-Position Selector Switch Block SW 0 to 9
DSW-16 Selector Switch Block for 16 Data
SW 0 to 16
DSW-16C Selector Switch Block for 16 String Data
BDA-L Batch Data Acquisition Block
SW 0 to 17
BDA-C Batch String Data Acquisition Block
D030243E.EPS
10th Edition : Dec.18,2003-00
D3-50 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
Table Calculation Blocks that can Describe Data Values in Condition Specifications and Setting
Range of Data Items (2/2)
Block code Name Data item Setting range
Name Data item Setting range
AND (*1) Logical AND Block
RV2
0, 1
0, 1
0, 1
0, 1
0, 1
0, 1
0, 1
0, 1
0, 1
0, 1
0, 1
0, 1
0, 1
0, 1
0, 1
0, 1
0, 1
0, 1
0, 1
0, 1
0, 1
0, 1
0, 1
0, 1
0, 1
0, 1
0, 1
0, 1
0, 1
0, 1
0, 1
0, 1
0, 1
0, 1
0, 1
0, 1
OR (*1) Logical OR Block
NOT (*1) Logical NOT Block
SRS1-S (*1) Set-Dominant Flip-Flop Block with 1 Output
SRS1-R (*1) Reset-Dominant Flip-Flop Block with 1 Output
SRS2-S (*1) Set-Dominant Flip-Flop Block with 2 Outputs
SRS2-R (*1) Reset-Dominant Flip-Flop Block with 2 Outputs
WOUT (*1) Wipeout Block
OND (*1) ON-Delay Timer Block
OFFD (*1) OFF-Delay Timer Block
TON (*1) One-Shot Block (Rising-Edge Trigger )
TOFF (*1) One-Shot Block (Falling-Edge Trigger )
GT (*1) Comparator Block (Greater Than)
GE (*1) Comparator Block (Greater Than or Equal)
EQ (*1) Equal Operator Block
Block code
D030244E.EPS
RV1
RV
CPV
RV2
RV1
CPV1
RV2
RV1
CPV1
RV2
RV1
CPV
CPV
RV2
RV1
CPV1
CPV2
RV2
RV1
CPV1
CPV2
RV2
RV1
CPV
CPV
RV
CPV
RV
CPV
RV
CPV
CPV
CPV
CPV
RV
*1: The Logic Operation Blocks are only applicable to CS 3000.
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-51
IM 33S01B30-01E
Calculation Blocks that can Reference Calculation Results by One-Shot
Execution
The table below lists Calculation Blocks that can reference calculation results by one-shot
execution of the condition signal, element symbol. ACT.ON.
Table One-Shot Executable Blocks for Condition Testing
Block type Code Name
Arithmetic calculation
ADD Addition Block
MUL Multiplication Block
DIV Division Block
AVE Averaging Block
AND Logical AND Block
OR Logical OR Block
NOT Logical NOT Block
SRS1-S Set-Dominant Flip-Flop with 1 Output
SRS1-R Reset-Dominant Flip-Flop 1 Output
SRS2-S Set-Dominant Flip-Flop with 2 Outputs
SRS2-R Reset-Dominant Flip-Flop 2 Outputs
WOUT Wipeout Block
GT Comparator Block (Greater Than)
GE Comparator Block (Greater Than or Equal)
EQ Equal Operator Block
BAND Bitwise AND Block
BOR Bitwise OR Block
BNOT Bitwise NOT Block
General-Purpose
Calculations
CALCU General-Purpose Calculation Block
CALCU-C General-Purpose Calculation Block with String I/O
D030245E.EPS
Logic Calculation (*1)
*1: The Logic Operation Blocks are only applicable to CS 3000.
10th Edition : Dec.18,2003-00
D3-52 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
Faceplate Block Reference
The table below lists the condition signal symbolic convention for referencing various data
and status of the faceplate block, as well as the conditions for true Y/N described in the
condition rule.
Table Condition Signal Symbolic Convention and Conditions for True Y/N Described in Condition
Rule
Condition signal description column
Conditions for true status
Input signal Condition specification
Element symbol.MODE Block mode
Y Block mode coincides with specification.
N Block mode does not coincide with specification.
Element symbol.BSTS Block status
Y Block status coincides with specification.
N Block status does not coincide with specification.
Element symbol.ALRM Alarm status
Y Specified alarm is on.
N Specified alarm is not on.
Element symbol.AFLS Alarm status, AFL (*1)
Y Specified alarm is flashing.
N Specified alarm is not flashing.
Element symbol.AF Alarm status
Y Specified alarm detection is off.
N Specified alarm detection is on.
Element symbol.AOFS Alarm status, AOF (*2)
Y
Specified alarm is masked.
N
Specified alarm is unmasked.
Element symbol.SV
1 to 99
(Only BSI block is valid)
Y Phase step number coincides with specification.
N Phase step number does not coincide with specification.
Element symbol.PV01 to 10 0, 1
Y Operation command coincides with specification.
N Operation command does not coincide with specification.
Element symbol.Data item =Data status
Y Data status coincides with specification.
N Data status does not coincide with specification.
Element symbol.
SWCR[n] (*3)
0 to 15
Y Switch display color coincides with specification.
N Switch display color does not coincide with specification.
Element symbol.
SWST[n] (*3)
0, 1
Y Switch flashing status coincides with specification.
N Switch flashing status does not coincide with specification.
Element symbol.
SWOP[n] (*3)
-15 to 15
Y Switch operation disabled status coincides with specification.
N
Switch operation disabled status does not coincide with
specification.
D030246E.EPS
BUC
Y Block is in ROUT (CAS) or RCAS (CAS) mode.
N Block is not in ROUT (CAS) or RCAS (CAS) mode.
BUA
Y Block is in ROUT (AUT) or RCAS (AUT) mode.
N Block is not in ROUT (AUT) or RCAS (AUT) mode.
Element symbol.XMODE
BUM
Y Block is in ROUT (MAN) or RCAS (MAN) mode.
N Block is not in ROUT (MAN) or RCAS (MAN) mode.
Element symbol.XALRM
IOP
Y Alarm is in IOP or IOP- status.
N Alarm is in neither IOP nor IOP- status.
VEL
Y Alarm is in VEL or VEL- status.
N Alarm is in neither VEL nor VEL- status.
Condition
rule
column
*1: Condition Specification AFL references the group flashing status.
*2: Condition Specification AOF references the alarm group mask status.
*3: n is the subscript of the 1 dimensional array. This subscript is the number of the push button switches on a faceplate
block. This number varies with the type of faceplate block.
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-53
IM 33S01B30-01E
SFC Block Reference
The table below lists the condition signal symbolic convention for referencing various data
and status of the SFC block as well as the conditions for true Y/N described in the condition
rule.
Table Condition Signal Symbolic Convention and Conditions for True Y/N Described in Condition
Rule
Condition signal description column
Conditions for true status
Input signal Condition specification
Element symbol.MODE
MAN, SEMI, AUT, O/S
Y Block mode is in specified state.
N Block mode is not in specified state.
Element symbol.BSTS
RUN, PAUS, STOP,
ABRT
Y Block status is in specified state.
N Block status is not in specified state.
Element symbol.ALRM Alarm status
Y Specified alarm is activated.
N Specified alarm is not activated.
Element symbol.AFLS Alarm status, AFL (*1)
Y Specified alarm is flashing.
N Specified alarm is not flashing.
Element symbol.AF Alarm status
Y Specified alarm detection is off.
N Specified alarm detection is on.
Element symbol.AOFS Alarm status, AOF (*2)
Y Specified alarm is masked.
N Specified alarm is unmasked.
Element symbol.Data item Data value
Y Data value coincides with specification.
N Data value does not coincide with specification.
Element symbol.Data item =Data status
Y Data status coincides with specification.
N Data status does not coincide with specification.
D030247E.EPS
Condition
rule
column
*1: Condition Specification AFL references the group flashing status.
*2: Condition Specification AOF references the alarm group mask status.
Setting Range of Data Item When Describing Data Value in Condition
Specification
The table below lists the data items of SFC block that can describe data values in condition
specifications and their setting ranges.
STEPNO: 1 to 99
SWCR[5]: 0 to 15
SWST[5]: 0, 1
SWOP[5]: -15 to 15
10th Edition : Dec.18,2003-00
D3-54 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
Unit Supervision Reference
The table below lists the condition signal symbolic convention for referencing various data
and status of the unit instrument block as well as the conditions for true Y/N described in
the condition rule.
Table Condition Signal Symbolic Convention and Conditions for True Y/N Described in Condition
Rule
Condition signal description column
Conditions for true status
Input signal Condition specification
Element symbol.MODE MAN, SEMI, AUT, O/S
Y Unit mode is in specified state.
N Unit mode is not in specified state.
Element symbol.BSTS Unit status
Y Unit status is in specified state.
N Unit status is not in specified state.
Element symbol.ALRM Alarm status
Y Specified alarm is activated.
N Specified alarm is not activated.
Element symbol.AFLS Alarm status, AFL (*1)
Y Specified alarm is flashing.
N Specified alarm is not flashing.
Element symbol.AF Alarm status
Y Specified alarm detection is off.
N Specified alarm detection is on.
Element symbol.AOFS Alarm status, AOFS (*2)
Y Specified alarm is masked.
N Specified alarm is unmasked.
Element symbol.STEPNO 1 to 99
Y SFC step number coincides with specification.
N SFC step number does not coincide with specification.
D030248E.EPS
Condition
rule
column
*1: Condition Specification AFL references the group flashing status.
*2: Condition Specification AOF references the alarm group mask status.
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-55
IM 33S01B30-01E
Processing I/O Reference
The table below lists the condition signal symbolic convention for referencing various data
and status of the processing I/O block as well as the conditions for true Y/N described in the
condition rule.
Table Condition Signal Symbolic Convention and Conditions for True Y/N Described in Condition
Rule
Condition signal description column
Conditions for true status
Input signal Condition specification
Element symbol.PV ON, OFF
Y
ON/OFF status of contact I/O coincides with
specification.
N
ON/OFF status of contact I/O does not coincide with
specification.
Element symbol.PV =Data status
Y
Data status of contact I/O coincides with specification.
N
Data status of contact I/O does not coincide with
specification.
D030249E.EPS
Condition
rule
column
Global Switch Reference
The syntax for applying the various types of data and data status of a global switch as
condition test reference signal in a sequence table and the True/False representation of Y/
N in the condition rule columns of the sequence table are shown as follows.
Table Syntax for condition signal description and True/False representation of Y/N in condition
rule columns
Condition signal description column
Conditions for true status
Input signal Condition specification
Element symbol.PV ON, OFF
Y Specified global switch status is True.
N Specified global switch status is False.
Element symbol.PV =BAD
Y Data status of global switch is BAD.
N Data status of global switch is not BAD.
D030250E.EPS
Condition
rule
column
Common Switch Reference
The table below lists the condition signal symbolic convention for referencing various data
and status of the common switch as well as the conditions for true Y/N described in the
condition rule.
Table Condition Signal Symbolic Convention and Conditions for True Y/N Described in Condition
Rule
Condition signal description column
Conditions for true status
Input signal Condition specification
Element symbol.PV ON, OFF
Y
ON/OFF status of common switch coincides with
specification.
N
ON/OFF status of common switch does not coincide with
specification.
D030251E.EPS
Condition
rule
column
10th Edition : Dec.18,2003-00
D3-56 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
Annunciator Message Reference
The table below lists the condition signal symbolic convention for referencing various data
and status of the annunciator message as well as the conditions for true Y/N described in
the condition rule.
Table Condition Signal Symbolic Convention and Conditions for True Y/N Described in Condition
Rule
Condition signal description column
Conditions for true status
Input signal Condition specification
Element symbol.PV ON, OFF
Y
Annunciator occurrence status coincides with
specification.
(ON: Occurred, OFF: Not occurred)
N
Annunciator occurrence status does not coincide with
specification.
element symbol.AFLS AFL
Y Flashing status
N Normal status (not flashing)
element symbol.AOFS AOF
Y Alarm masking status
N Normal status (no alarm masking status)
element symbol.RP ON, OFF
Y
Repeated warning status coincides with specification.
(ON: Waiting for repeated warning, OFF: NR)
N
Repeated warning status does not coincide with
specification.
D030252E.EPS
Condition
rule
column
Communication I/O Reference
The table below lists the condition signal symbolic convention for referencing various data
and status of communication I/O as well as the conditions for true Y/N described in the
condition rule.
Table Condition Signal Symbolic Convention and Conditions for True Y/N Described in Condition
Rule
Condition signal description column
Conditions for true status
Input signal Condition specification
Element symbol.PV (*1) ON, OFF
Y All relevant bits are in the same ON/OFF status.
N Relevant bits are not in the same ON/OFF status.
Element symbol.PV =Data status
Y All relevant bits are in the same data status.
N Relevant bits are not in the same data status.
D030253E.EPS
Condition
rule
column
*1: Only discrete type element may be referred.
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-57
IM 33S01B30-01E
D3.2.11 Control Signal Description: Referencing Sequence Table
In a condition testing referencing a sequence table, in addition to the sequence table
block mode and status, the true/false status of condition can also be referenced by
performing one-shot execution of the referenced sequence table.
To reference a sequence table whose number of rules is extended over multiple
sequence tables, specify a tag name for the extending sequence table.
Referencing an Entire Sequence Table
Conditional Signal Description - Sequence Table
The true/false status of condition for the entire sequence table specified is referenced.
The table below lists the condition signal symbolic convention for referencing the entire
sequence table and the conditions for true Y/N described in the condition rule.
Table Condition Signal Symbolic Convention and Conditions for True Y/N Described in Condition
Rule
Condition signal description column Condition
rule
column
Conditions for true status
Input signal Condition specification
Element symbol. SD R
Y At least one target condition rule is satisfied.
N None of the target condition rules is satisfied.
D030254E.EPS
The condition rule subject to referencing varies by the type of sequence tables at reference
source and destination (step type/nonstep type) as shown below.
Table Reference Target Rules by Sequence Table Type
Reference source Reference destination Reference target rule
Nonstep type
Nonstep type All rules
Step type Rule of Step 00
Step type
Nonstep type All rules
Step type
Rule of Step 00 and that of the same step
name as reference source
D030255E.EPS
10th Edition : Dec.18,2003-00
D3-58 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
The following should be taken into account when referencing the entire sequence table.
When referencing the entire sequence table, only condition signal descriptions of the
referenced sequence table are valid. Ignore any action signal description.
If no Y/N pattern exists in the condition rule of referenced sequence table, the status of
rule condition is false. If the Y/N pattern of such condition rule is unspecified, the
status becomes unconditionally true in the periodic processing of the above sequence
table.
When there exist no steps to be executed in the referenced sequence table, the
previous true/false status of condition is maintained as a current reference result.
When Step 00 exists in the reference destination, rules that belong to Step 00 will also
be executed. However, when no steps exist as an execution target, the reference
result of Step 00 is ignored.
Other sequence tables can be referenced in the referenced sequence table condition
column. In this case, up to seven levels of nests (including the first sequence table)
are possible.
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-59
IM 33S01B30-01E
When the Referenced Sequence Table is a Nonstep Type
A description example of the nonstep-type referenced sequence table is shown below.
................................
................................
................................
................................
................................
................................
Comment
Tag name
Data item
Data
Step label
Rule number
ST 003
01 02 03 04 05
DI0010.PV ON Y Y Y N
DI0015.PV ON Y N
ST010.SD R Y N
DI0018.PV ON N Y Y
DO0001.PV Y N
DO0011.PV H
H
Y N
Comment
Tag name
Data item
Data
Step label
Rule number
ST 010
01 02 03 04 05
DI0030.PV ON
.............................
Y Y N
DI0031.PV ON
.............................
Y Y N
DI0036.PV ON
.............................
Y N N Y
%SW0201.PV ON
.............................
Y N Y
D030256E.EPS
Figure Description Example of Referencing the Entire Nonstep-Type Sequence Table
The following describes the condition testing processing for the above example.
When Y is described in the condition rule of the condition signal ST010.SD.R.
In the description of the condition signal of the referenced sequence table, if there
exists at least one rule with a true status, the status of condition signal is true. If no
such rules exist, the condition of the referencing sequence table is false.
As for Rule 01 in Table ST003 listed above, the output signal of DO0001 is ON if the
condition signal DI0010.PV.ON is true, DI0015.PV.ON is true, DI0018.PV.ON is false,
and one of the conditions at rules 01 to 32 of Table ST010 is true.
When N is described in the condition rule of the condition signal ST010.SD.R.
In the description of the condition signal of the referenced sequence table, if there
exists no rule with a true status, the status of condition signal is true. If there exists at
least one rule with a true status, the condition of the referencing sequence table is
false.
As for Rule 03 in Table ST003 listed above, the output signal of DO0001 is OFF if the
condition signal DI0010.PV.ON is true, DI0015.PV.ON is false, and none of the condi-
tions at rules 01 to 32 of Table ST010 is true.
The condition of rules that has no Y/N patterns in Table ST010 is false.
10th Edition : Dec.18,2003-00
D3-60 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
When the Referenced Sequence Table is a Step Type
A description example of the step-type referenced sequence table is shown below.
When both sequence tables at reference source and destination are a step type, the true/false
status of Step 00 rule condition and that of the rule with the same step name as the refer-
ence source is referenced.
Comment
ST 003
01
1 2
02
3
03
4 2
04 05
................................
Y Y Y N
................................
Y N
................................
Y N
................................
N Y Y
................................
Y N
................................
Y N
Comment
Tag name
Data item
Data
ST 010
01 02 03 04 05
DI0030.PV ON
ON
ON
ON
.............................
Y Y N
DI0031.PV
.............................
Y Y N
DI0036.PV
.............................
Y N N Y
%SW0201.PV
.............................
Y N Y
1 3 1
D030257E.EPS
Rule number Rule number
Step label Step label
Tag name
Data item
Data
DI0010.PV ON
DI0015.PV ON
ST010.SD R
DI0018.PV ON
DO0001.PV
DO0011.PV H
H
Figure Description Example of Referencing the Entire Nonstep-Type Sequence Table
The following describes the condition testing processing for the above example.
As for Rule 01 in Table ST003, the output signal of DO0001 is ON if the condition
signal DI0010.PV.ON is true, DI0015.PV.ON is true, DI0018.PV.ON is false, and one
of the conditions at Rule 01 or 02 of Table ST010 is true.
As for Rule 03 in Table ST003, the output signal of DO0001 is OFF if the condition
signal DI0010.PV.ON is true, DI0015.PV.ON is false, and the condition at Rule 04,
Step 3 of Table ST010 is false.
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-61
IM 33S01B30-01E
When Step 00 and Step n Exist in a Referenced Sequence Table
A description example of when Step 00 and Step n exist in a referenced sequence table is
shown below.
ST 003
01
1 2
02
3
03
4 1
04 05
DI0010.PV ON
................................
Y Y Y N
DI0015.PV ON
................................
Y N
ST010.SD R
................................
Y N
DI0018.PV ON
................................
N Y Y
DO0001.PV
................................
Y N
DO0011.PV H
H
................................
Y N
ST 010
01 02 03 04 05
DI0030.PV.ON
.............................
Y Y N N
DI0031.PV.ON
.............................
Y Y N N
DI0036.PV.ON
.............................
Y N N Y N
%SW0201.PV ON
ON
ON
ON
.............................
Y N Y N
0
0
0
0
2 3
D030258E.EPS
Comment
Tag name
Data item
Data
Comment
Tag name
Data item
Data
Rule number Rule number
Step label Step label
Figure Description Example of Referencing the Entire Step-Type Sequence Table
The following describes the condition testing processing for the above example.
The reference range of the referenced table at Rule 01, Table ST003 is steps 00 and 1
of Table ST010.
As for Rule 01 in Table ST003 listed above, the output signal of DO0001 is ON if the
condition signal DI0010.PV.ON is true, DI0015.PV.ON is true, DI0018.PV.ON is false,
and one of the conditions at Step 00 Rule 01/02 or Step 1 Rule 03 of Table ST010 are
true.
The reference range of the referenced table at Rule 03 of Table ST003 are steps 00
and 3 of Table ST010.
As for Rule 03 in Table ST003 listed above, the output signal of DO0001 is OFF if the
condition signal DI0010.PV.ON is true, DI0015.PV.ON is false, and the condition at
Step 00 Rule 01/02 or Step 3 Rule 05 of Table ST010 are false.
10th Edition : Dec.18,2003-00
D3-62 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
Referencing Sequence Table Corresponding Rule Number
The true/false status of condition for the same rule number as the current rule number in
the referencing sequence table is referenced. Use this to extend the number of condition
signals beyond 64 in a nonstep-type sequence table.
The table below lists the condition signal symbolic convention for referencing the true/false
status of the conditions for the corresponding rule number and the conditions for true Y/N
status described in the condition rule.
Table Condition Signal Symbolic Convention and Conditions for True Y/N Described in Condition
Rule
Condition signal description column Condition
rule
column
Conditions for true status
Input signal Condition specification
Element symbol. SD C
Y Condition for the same rule number is satisfied.
N Condition for the same rule number is not satisfied.
D030259E.EPS
When the referenced sequence table is a nonstep type and the referencing sequence
table is a step type.
Although referencing a corresponding rule number is meaningless, condition refer-
ence to the corresponding rule is executed.
When the referenced sequence table is a step type.
Referencing the same rule is meaningless and therefore causes an error. However,
the status of condition signal is true.
The following should be taken into account when referencing a corresponding rule number.
When referencing the entire sequence table, only condition signal descriptions of the
referenced sequence table are valid. Ignore any action signal description.
If no Y/N pattern exists in the condition rule of referenced sequence table, the status of
rule condition is false. If the Y/N pattern of such a condition rule is unspecified, the
status becomes unconditionally true in the periodic processing of the above sequence
table.
Other sequence tables can be referenced in the referenced sequence table condition
column. In this case, up to seven levels of nests (including the first sequence table)
are possible.
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-63
IM 33S01B30-01E
A description example of when referencing the true/false status of conditions for a corre-
sponding rule number is shown below.
.............................
.............................
.............................
Step label
Rule number
ST 003
01
1 2
02
3
03
4
04 05
DI0010.PV ON
ON
ON
................................
Y Y Y N
DI0015.PV
................................
Y N
ST010.SD C
................................
Y N
DI0018.PV
................................
N Y Y
DO0001.PV H
H
................................
Y N
DO0011.PV
................................
Y N
Step label
Rule number
ST 010
01 02 03 04 05
DI0030.PV ON
ON
ON
ON
.............................
Y Y N
DI0031.PV Y Y N
DI0036.PV Y N N Y
%SW0201.PV Y N Y
D030260E.EPS
Comment
Tag name
Data item
Data
Comment
Tag name
Data item
Data
Figure Description Example of Referencing the Corresponding Rule Number
The following describes the condition testing processing for the above example.
As for Rule 01 in Table ST003, the output signal of DO0001 is ON if the condition
signal DI0010.PV.ON is true, DI0015.PV.ON is true, DI0018.PV.ON is false, and the
conditions at Rule 01 of Table ST010 are true.
As for Rule 03 in Table ST003, the output signal of DO0001 is OFF if the condition
signal DI0010.PV.ON is true, DI0015.PV.ON is false, and the conditions at Rule 03 of
Table ST010 are false.
IMPORTANT
When referencing a corresponding rule number, do not describe the step number on the
step label of the referenced sequence table.
When referencing a corresponding rule number, referencing cannot be properly performed
if the step number is described on the step label of the referenced sequence table.
10th Edition : Dec.18,2003-00
D3-64 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
Referencing a Particular Step in a Sequence Table
The true/false status of conditions for a particular step of a specified sequence table is
referenced.
The table below lists the condition signal symbolic convention for referencing the true/false
status of conditions for a particular step, and the conditions for true Y/N described in the
condition rule. The step label is specified in the condition specification.
Table Condition Signal Symbolic Convention and Conditions for True Y/N Described in Condition
Rule
Condition signal description column Condition
rule
column
Conditions for true status
Input signal Condition specification
Element symbol. SA XX
Y
At least one of the conditions for steps 00 and xx is
satisfied.
N None of the conditions for steps 00 and xx is satisfied.
D030261E.EPS
xx: Specify a step label using 2 or less alphanumeric characters.
The condition rule subject to referencing varies by the type of sequence table at reference
source and destination (step-type/nonstep type) as shown below.
Table Reference Target Rules by Sequence Table Type
Reference source Reference destination Reference target condition rule
Nonstep type
Nonstep type All rules
Step type Rules of a specified step
Step type
Nonstep type All rules
Step type Rules of a specified step
D030262E.EPS
When the specified step does not exist in the referenced sequence table, the refer-
ence result will be the previous true/false condition status that has been latched.
When Step 00 exists in the reference destination, the rules belonging to Step 00 will
also be executed. However, when the specified step does not exist in the referenced
sequence table, the reference result of Step 00 is ignored.
The following should be taken into account when referencing a particular step.
When referencing a particular step in the sequence table, only condition signal de-
scriptions of the referenced sequence table are valid. Ignore any action signal descrip-
tion.
If no Y/N pattern exists in the condition rule of referenced sequence table, the status of
rule condition is false. If the Y/N pattern of such a condition rule is unspecified, the
status becomes unconditionally true in the periodic processing of the above sequence
table.
Other sequence tables can be referenced in the referenced sequence table condition
column. In this case, up to seven levels of nests (including the first sequence table)
are possible.
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-65
IM 33S01B30-01E
A description example of referencing the true/false status of conditions for a particular step
number is shown below.
Comment
Step label Step label
Rule number
ST 003
01
1 2
02
3
03
4 2
04 05
DI0010.PV ON
................................
Y Y Y N
DI0015.PV
................................
Y N
ST010.SA
................................
Y N
DI0018.PV
................................
N Y Y
DO0001.PV H
................................
Y N
DO0011.PV
................................
Y N
Comment
Tag name
Data item
Data
Tag name
Data item
Data
Rule number
ST 010
01 02 03 04 05
DI0030.PV ON
ON
ON
ON
..............................
Y Y N
DI0031.PV
..............................
Y Y N
DI0036.PV
..............................
Y N N Y
%SW0201.PV
..............................
Y N N Y
1 3 1
D030263E.EPS
ON
2
ON
H
Figure Description Example of Referencing a Particular Step Number
The following describes the condition testing processing for the above example.
As for Rule 01 in Table ST003, the output signal of DO0001 is ON if the condition
signal DI0010.PV.ON is true, DI0015.PV.ON is true, DI0018.PV.ON is false, and the
conditions for Step 2, or Rule 03 of Table ST010 are true.
As for Rule 03 in Table ST003, the output signal of DO0001 is OFF if the condition
signal DI0010.PV.ON is true, DI0015.PV.ON is false, and the conditions for Step 2, or
Rule 03 of Table ST010 are false.
10th Edition : Dec.18,2003-00
D3-66 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
When Steps 00 and n Exist in the Referenced Sequence Table
A description example of the sequence table when steps 00 and n exist in the referenced
sequence table are shown below.
ST 003
01
1 2
02
3
03
4 1
04 05
DI0010.PV ON
ON
ON
................................
Y Y Y N
DI0015.PV
................................
Y N
ST010.SA
................................
Y N
DI0018.PV
................................
N Y Y
DO0001.PV H
H
................................
Y N
DO0011.PV
................................
Y N
ST 010
01 02 03 04 05
DI0030.PV ON
ON
ON
ON
...............................
Y Y N N
DI0031.PV
...............................
Y Y N N
DI0036.PV
...............................
Y N N Y N
%SW0201.PV
...............................
Y N Y N
0
0
0
0
2 3
D030264E.EPS
Comment
Tag name
Data item
Data
Step label
Rule number
Comment
Tag name
Data item
Data
Step label
Rule number
2
Figure Description Example of Referencing a Particular Step Number
The table reference range for the rule number 01 of Table ST003 are steps 00 and 2 of
Table ST010 in the above example.
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-67
IM 33S01B30-01E
Sequence Table Step Label Reference
The progress status of a sequence phase can be confirmed by referencing the sequence
table step label. However, such confirmation does not involve the true/false status of step
conditions since it only determines whether or not a specified step processing is being
performed in the referenced sequence table.
The table below lists the condition signal symbolic convention for referencing the step label
and the conditions for true Y/N described in the condition rule.
Table Condition Signal Symbolic Convention and Conditions for True Y/N Described in Condition
Rule
Condition signal description column Condition
rule
column
Conditions for true status
Input signal Condition specification
Element symbol.PV xx
Y Current execution step label is xx.
N Current execution step label is other than xx.
D030265E.EPS
xx: Specify a step label using 2 or less alphanumeric characters.
A description example of referencing the execution status of Step 1 processing in Table
ST010 is shown below.
Comment
Tag name
Data item
Data
Step label
Rule number 01 02 03 04 05 06 07
ST 003
SW0110.PV ON
1
1
H
Y Y
ST010.PV Y N
ST010.SA Y
SW0110
................................
................................
................................
................................
N
D030266E.EPS
Condition
Operation
Figure Description Example of Step Label Reference
10th Edition : Dec.18,2003-00
D3-68 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
Sequence Table Block Mode Reference
The table below lists the condition signal symbolic convention for referencing the sequence
table block mode, and the conditions for true Y/N described in the condition rule.
Table Condition Signal Symbolic Convention and Conditions for True Y/N Described in Condition
Rule
Condition signal description column Condition
rule
column
Conditions for true status
Input signal Condition specification
Element symbol.MODE O/S, MAN, AUT
Y Block mode is in the specified state.
N Block mode is not in the specified state.
D030267E.EPS
A description example of restarting Table ST005 from the stop status is shown below.
Comment
Tag name
Data item
Data
Step label
Rule number 01 02 03 04 05 06 07
ST005.MODE MAN
ON
AUT
Y
%SW0201.PV Y
ST005.MODE
..............................
..............................
..............................
Y
D030268E.EPS
Condition
Operation
Figure Description Example of Block Mode Reference
The following should be taken into account when referencing a sequence table block mode.
When O/S is specified in the condition specification for block mode reference, the test
result will be unsatisfied in the compound block mode in which O/S and another basic
block mode are satisfied simultaneously.
When MAN or AUT is specified in the condition specification for block mode reference,
the test result is satisfied even in the compound block mode as long as the specified
basic block mode is satisfied.
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-69
IM 33S01B30-01E
Sequence Table Alarm Status Reference
The table below lists the condition signal symbolic convention for referencing the sequence
table alarm status and the conditions for true Y/N described in the condition rule.
Table Condition Signal Symbolic Convention and Conditions for True Y/N Described in Condition
Rule
Condition signal description column Condition
rule
column
Conditions for true status
Input signal Condition specification
Element symbol.ALRM NR
Y Alarm status is in the specified state.
N Alarm status is not in the specified state.
Element symbol.AFLS AFL (*1), NR
Y Specified alarm is flashing.
N Specified alarm is not flashing.
Element symbol.AF NR
Y Specified alarm detection is canceled.
N Specified alarm is being detected.
Element symbol.AOFS NR, AOF (*2)
Y Specified alarm is masked.
N Specified alarm is unmasked.
D030269E.EPS
*1: Condition Specification AFL references the group flashing status.
*2: Condition Specification AOF references the alarm group mask status.
10th Edition : Dec.18,2003-00
D3-70 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
D3.2.12 Syntax for Condition Signal Description: Logic Chart
Reference in Sequence Table
When using logic chart for condition test, a block mode of a logic chart and an alarm
status of a logic chart can be used as a reference signal in a sequence table.
Logic Chart Block Mode Reference
Conditional Signal Description - Logic Chart
The specified logic chart block mode can be used as reference signal in a sequence table.
The syntax for applying the logic chart block mode as condition test reference signal in a
sequence table and the True/False representation of Y/N in the condition rule columns of
the sequence table are shown as follows.
Table Syntax for Condition Signal Description and True/False Representation of Y/N in Condition
Rule Columns
Condition signal description column Condition
rule
column
Conditions for true status
Input signal Condition specification
Element symbol.MODE O/S, MAN, AUT
Y Specified Block mode is True.
N Specified Block mode is False.
D030270E.EPS
The following points should be taken into consideration when referencing a logic chart
block mode.
When O/S is specified as the condition specification for block mode reference, the test
result will be False when the block is in the compound block mode, i.e., O/S and
another basic block mode exist simultaneously.
When MAN or AUT is specified as the condition specification for block mode refer-
ence, the test result will be True even in the compound block mode as long as the
specified basic block mode exists.
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-71
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Logic Chart Alarm Status Reference
The specified alarm status of logic chart can be used as reference signal in a sequence
table.
The syntax for applying the alarm status of logic chart as condition test reference signal in a
sequence table and the True/False representation of Y/N in the condition rule columns of
the sequence table are shown as follows.
Table Syntax for Condition Signal Description and True/False Representation of Y/N in Condition
Rule Columns
Condition signal description column Condition
rule
column
Conditions for true status
Input signal Condition specification
Element symbol.ALM NR
Y Specified Alarm Status is True.
N Specified Alarm Status is False.
D030271E.EPS
Element symbol.AFLS AFL (*1), NR
Y Specified Alarm symbol is flashing.
N Specified Alarm symbol is not flashing.
Element symbol.AF NR
Y Alarm Detection Disabled is True.
N Alarm Detection Disabled is False.
Element symbol.AOFS NR, AOF (*2)
Y Alarm Inhibition is True.
N Alarm Inhibition is False.
*1: The condition test for Alarm Symbol Flashing can only test the flashing status of each block or symbol, can not test the
flashing status of each alarming item.
*2: The condition test for Alarm Inhibition can only test the inhibition status of each block or symbol, can not test the
inhibition status of each alarming item.
D3-72 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
D3.2.13 Description of Action Signal: Status Manipulation for
Other Function Blocks and I/O Data
Sequence Table Block may manipulate the mode or status change of other function
blocks. In addition, it can also manipulate the status change of process I/O, software
I/O and communication I/O.
Function Blocks and I/O Data for Which Status Manipulation can be
Performed from Sequence Table
Action Signal Description
Function blocks for which status manipulation can be performed from the sequence table
are:
Switch Instrument Blocks
Timer Block (TM)
Software Counter Block (CTS)
Pulse Train Input Counter Block (CTP)
Code Input Block (CI)
Code Output Block (CO)
Valve Monitoring Block (VLVM)
Regulatory Control Blocks
Calculation Blocks
Faceplate Blocks
SFC Blocks
Unit Instrument Blocks
Sequence Table Blocks
Logic Chart Blocks
I/O data for which status manipulation can be performed from the sequence table are:
Process I/O
Software I/O (internal switch, annunciator message, sequence message output)
Communication I/O
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-73
IM 33S01B30-01E
Status Manipulation of Switch Instrument Block and Enhanced Switch
Instrument Block
The table below lists the symbolic convention of action signal and action description for
executing status manipulation on various functions of switch instrument block and
enhanced switch instrument block.
Table Symbolic Convention of Action Signal and Action Description
Action signal description column
Action description
Output signal Action specification
Element symbol.MODE
MAN, AUT, CAS,
ROUT, O/S
Y Block mode change command
N
Element symbol.A.F
ANS+, ANS-, IOP,
PERR, OOP, CNF
Y Cancel specified alarm detection
N Execute specified alarm detection
Element symbol.AOFS
ANS+, ANS-, PERR,
CNF, IOP, AOF (*1),
OOP
Y Mask specified alarm
N Unmask specified alarm
Element symbol.AFLS AFL
Y Perform alarm group confirmation
N
Element symbol.CSV
0, 1, 2
Y Set the sequence setpoint (CSV) (*2)
N
P0
Y Set CSV to 0
N Set CSV to 2
P1
Y Set CSV to 1
N
P2
Y Set CSV to 2
N Set CSV to 0
Element symbol.TSW 0, 1
Y Tracking switch (0: OFF, 1: ON)
N
Element symbol.BPSW 0, 1
Y Bypass switch (0: OFF, 1: ON)
N
Element symbol.BSW 0, 1
Y Backup switch (0: OFF, 1: ON)
N
D030272E.EPS
Element symbol.XAF IOP
Y Disables IOP and IOP- detection
N Enables IOP and IOP- detection
Element symbol.PV =XCAL (*3)
Y Switch to CAL or release CAL
N
Action rule
column
(Y/N)
*1: AOF specification is only effective for changing the alarm masking specification. This action performs alarm masking on
all alarms except NR.
*2: To set a manipulated output value for the switch instrument from other function block, write data to the sequence
setpoint (CSV). If the switch instrument block or enhanced switch instrument block is either in AUT or CAS state, the
output will be performed after the value of CSV is written to the manipulated output value (MV).
*3: The Output Timing of the sequence table that =XCAL is applied should be set to [Output Only When Condition
Changes (C)].
10th Edition : Dec.18,2003-00
D3-74 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
Status Manipulation of Timer Block
The table below lists the symbolic convention and action description of the action signal to
manipulate the status of various functions of the Timer Block (TM).
Table Symbolic Convention of Action Signal and Action Description
Action signal description column
Action description
Output signal Action specification
Element symbol.OP
STOP
Y Timer stop command
N
START
Y Timer start command
N Timer stop command
RSTR
Y Restart command
N
WAIT
Y Pause command
N Restart command
D030273E.EPS
Action rule
column
(Y/N)
Status Manipulation of Software Counter Block (CTS)
The table below lists the symbolic convention and action description of the action signal to
manipulate the status of various functions of the Software Counter Block (CTS).
Table Symbolic Convention of Action Signal and Action Description
Action signal description column
Action description
Output signal Action specification
Element symbol.ACT
ON
Y Software counter operation command
N
OFF
Y Software counter stop command
N
D030274E.EPS
Element symbol.XACT ON
Y Trigger software counter (One Count)
N Stop software counter
Action rule
column
(Y/N)
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-75
IM 33S01B30-01E
Status Manipulation of Pulse Train Input Counter Block (CTP)
The table below lists the symbolic convention and action description of the action signal to
manipulate the status of various functions of the Pulse Train Input Counter Block (CTP).
Table Symbolic Convention of Action Signal and Action Description
Action signal description column
Action description
Output signal Action specification
Element symbol.OP
STOP
Y Pulse input counter stop command
N
START
Y Pulse input counter start command
N Pulse input counter stop command
RSTR
Y Restart command
N
WAIT
Y Pause command
N Restart command
Element symbol.AF IOP, CNF
Y Cancel specified alarm detection
N Execute specified alarm detection
Element symbol.AOFS IP, CNF, AOF (*1)
Y Mask specified alarm
N Unmask specified alarm
Element symbol.AFLS AFL
Y Perform alarm group confirmation
N
D030275E.EPS
Element symbol.XAF IOP
Y Disables IOP and IOP- detection
N Enables IOP and IOP- detection
Action rule
column
(Y/N)
*1: AOF specification is only effective for changing the alarm masking specification. This action operates alarm masking on
all alarms except NR.
Status Manipulation of Code Input Block (CI)
The table below lists the symbolic convention and action description of the action signal to
manipulate the status of various functions of the Code Input Block (CI).
Table Symbolic Convention of Action Signal and Action Description
Action signal description column
Action description
Output signal Action specification
Element symbol.ACT ON
Y Code input read command
N
D030276E.EPS
Action rule
column
(Y/N)
10th Edition : Dec.18,2003-00
D3-76 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
Status Manipulation of Code Output Block (CO)
The table below lists the symbolic convention and action description of the action signal to
manipulate the status of various functions of the Code Output Block (CO).
Table Symbolic Convention of Action Signal and Action Description
Action signal description column
Action description
Output signal Action specification
Element symbol.ACT ON
Y
Code output command to contact output signal or internal
status switch
N Disable
D030277E.EPS
Action rule
column
(Y/N)
Status Manipulation of Resource Scheduler Block (RS)
The table below lists the symbolic convention and action description of the action signal to
manipulate the status of various functions of the Resource Scheduler Block (RS).
Table Symbolic Convention of Action Signal and Action Description
Action signal description column
Action description
Output signal Action specification
Element symbol.RQ01 to 32 0, 1
Y
Specified number usage cancel/request command
(1: Request, 0: Cancel)
N Disable
Element symbol.PMH 0 to 32
Y Set the maximum allowable number (m32)
N Disable
Element symbol.ACT ON, OFF
Y
Entire resource group request/cancel
(ON: Request, OFF: Cancel)
N Disable
D030278E.EPS
Action rule
column
(Y/N)
Status Manipulation of Valve Monitoring Block (VLVM)
The table below lists the symbolic convention and action description of the action signal to
manipulate the status of various functions of the Valve Monitoring Block (VLVM).
Table Symbolic Convention of Action Signal and Action Description
Action signal description column
Action description
Output signal Action specification
Element symbol.MCSW 0, 1
Y Message suppression (1: Suppress, 0: Cancel)
N Disable
D030279E.EPS
Action rule
column
(Y/N)
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-77
IM 33S01B30-01E
Status Manipulation of Regulatory Control Block
The table below lists the symbolic convention and action description of the action signal to
manipulate the status of various functions of the regulatory control block.
Table Symbolic Convention of Action Signal and Action Description
Action signal description column
Action description
Output signal Action specification
Element symbol.MODE
MAN, AUT, CAS,
RCAS, ROUT, PRD,
O/S
Y Block mode change command
N Disable
Element symbol.AF Alarm status except NR
Y Cancel specified alarm detection
N Execute specified alarm detection
Element symbol.AOFS
Alarm status except NR,
AOF (*1)
Y Mask specified alarm
N Unmask specified alarm
Element symbol.AFLS AFL
Y Perform alarm group confirmation
N Disable
Element symbol.data item Data value
Y Set data
N Disable
Element symbol.PV =CAL
Y Switch PV to CAL status
N Release PV from CAL status
D030280E.EPS
Element symbol.XAF IOP
Y Disables IOP and IOP- detection
N Enables IOP and IOP- detection
Element symbol.PV =XCAL (*2)
Y Switch to CAL or release CAL
N
Element symbol.SUM0 =XCAL (*2)
Y Switch to CAL or release CAL
N
Action rule
column
(Y/N)
*1: AOF specification is only effective for changing the alarm masking specification. This action performs alarm masking on
all alarms except NR.
*2: The Output Timing of the sequence table that =XCAL is applied should be set to [Output Only When Condition
Changes (C)].
10th Edition : Dec.18,2003-00
D3-78 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
Regulatory Control Block that can Describe Data Values in Action
Specifications
The table below lists the regulatory control blocks that can describe data values in action
specifications and the setting ranges of data items.
Table Regulatory Control Blocks that can Describe Data Values in Action Specifications and the
Setting Ranges of Data Items (1/3)
Block code Name Data item Setting range
PID PID Controller Block
TSW 0, 1
CSW 0, 1
PSW 0 to 3
BSW 0, 1
RSW 0, 1
PI-HLD Sampling PI Controller Block
TSW 0, 1
CSW 0, 1
PSW 0 to 3
BSW 0, 1
RSW 0, 1
PID-BSW PID Controller Block with Batch Switch
TSW 0, 1
CSW 0, 1
PSW 0 to 3
BSW 0, 1
RSW 0, 1
PID-TP Time-Proportioning ON/OFF Controller Block
CSW 0, 1
PSW 0 to 3
BSW 0, 1
ONOFF 2-Position ON/OFF Controller Block
PSW 0 to 3
BSW 0, 1
ONOFF-G 3-Position ON/OFF Controller Block
PSW 0 to 3
BSW 0, 1
PD-MR PD Controller Block with Manual Reset
TSW 0, 1
PSW 0 to 3
BSW 0, 1
RSW 0, 1
PI-BLEND Blending PI Controller Block
TSW 0, 1
PSW 0 to 3
BSW 0, 1
RSW 0, 1
RST 0, 1
Block code Name Data item Setting range
D030281E.EPS
ONOFF-E Enhanced 2-Position ON/OFF Controller Block
PSW 0 to 3
BSW 0, 1
ONOFF-GE Enhanced 3-Position ON/OFF Controller Block
PSW 0 to 3
BSW 0, 1
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-79
IM 33S01B30-01E
Table Regulatory Control Blocks that can Describe Data Values in Action Specifications and the
Setting Ranges of Data Items (2/3)
Block code Name Data item Setting range
MLD Manual Loader Block
TSW 0, 1
RSW 0, 1
MLD-PVI Manual Loader Block with Input Indicator
TSW 0, 1
RSW 0, 1
MLD-SW Manual Loader Block with Auto/Man SW
TSW 0, 1
PSW 0 to 3
RSW 0, 1
MC-2 2-Position Motor Control Block
TSW 0, 1
BSW 0, 1
BPSW 0 to 4
SIMM 0 to 1
CSV
0, 1, 2, P0, P1,
P2 (*1)
MC- 3 3-Position Motor Control Block
TSW 0, 1
BSW 0, 1
BPSW 0 to 4
SIMM 0 to 1
CSV
0, 1, 2, P0, P1,
P2 (*1)
Block code Name Data item Setting range
D030282E.EPS
MC-2E Enhanced 2-Position Motor Control Block
TSW 0, 1
BSW 0, 1
BPSW 0 to 4
SIMM 0 to 1
CSV
0, 1, 2, P0, P1,
P2 (*1)
MC- 3E Enhanced 3-Position Motor Control Block
TSW 0, 1
BSW 0, 1
BPSW 0 to 4
SIMM 0 to 1
CSV
0, 1, 2, P0, P1,
P2 (*1)
PID-STC Self-Tuning PID Controller Block
TSW 0, 1
CSW 0, 1
PSW 0 to 3
BSW 0, 1
RSW 0, 1
STC -1 to 3
*1: The value set for the CSV varies depending on the values of action rules and setting range.
0: CSV = 0 when the action rule is [Y], Disable when [N]
1: CSV = 1 when the action rule is [Y], Disable when [N]
2: CSV = 2 when the action rule is [Y], Disable when [N]
P0: CSV = 0 when the action rule is [Y], CSV = 2 when [N]
P1: CSV = 1 when the action rule is [Y], Disable when [N]
P2: CSV = 2 when the action rule is [Y], CSV = 0 when [N]
10th Edition : Dec.18,2003-00
D3-80 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
Table Regulatory Control Blocks that can Describe Data Values in Action Specifications and the
Setting Ranges of Data Items (3/3)
Block code Name Data item Setting range
BSETU-2 Flow-Totalizing Batch Set Block
SW 0 to 4
EMSW 0, 1
ZONE 0 to 11
BSETU-2 Weight-Totalizing Batch Set Block
SW 0 to 4
EMSW 0, 1
ZONE 0 to 11
VELLIM Velocity Limiter Block
PSW 0 to 3
BSW 0, 1
BPSW 0, 1
SS-H/M/L Signal Selectors SW 0 to 4
AS-H/M/L Auto Selectors
PSW 0 to 3
SW 0 to 4
SS-DUAL Dual-Redundant Signal Selector Block SW 1 to 3
FFSUM Feedforward Signal Summing Block
TSW 0, 1
PSW 0 to 3
FSW 0, 1
RSW 0, 1
XCPL Non-Interference Control Output Block
TSW 0, 1
PSW 0 to 3
RSW 0, 1
SPLIT Control Signal Splitter Block
BSW 0, 1
SW 0 to 3
PTC Pulse Count Input Block
RST 0, 1
HSW 0, 1
ALM-R Representative Alarm Block
SW 0 to 5
SV 0 to 15
D030283E.EPS
SBSD YS Instrument Batch Set Station Block
SLBC YS Instrument Batch Controller Block
SV 0 to 8
SV 0 to 8
PG-L13 13-Zone Program Set Block
ZONE 0 to 13
ZSTR 0 to 13
ZEND 0 to 13
RATIO Ratio Set Block
TSW 0, 1
PSW 0 to 3
BSW 0, 1
RSW 0, 1
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-81
IM 33S01B30-01E
Status Manipulation of Calculation Block
The table below lists the symbolic convention and action description of the action signal to
manipulate the status of various functions of the calculation block.
Table Symbolic Convention of Action Signal and Action Description
Action signal description column
Action description
Output signal Action specification
Element symbol.ACT
mm (*1)
Y One-shot execution (with parameter)
N Disable
ON
Y One-shot execution (without parameter)
N Disable
Element symbol.AF Alarm status except NR
Y Cancel specified alarm detection
N Execute specified alarm detection
Element symbol.AOFS
Alarm status except NR,
AOF (*2)
Y Mask specified alarm
N Unmask specified alarm
Element symbol.AFLS AFL
Y Perform alarm group confirmation
N Disable
Element symbol.
DATA ITEM
Data value
Y Set data
N Disable
Element symbol.CPV =CAL
Y Change CPV's data status to CAL
N Cancel CPV's CAL data status
D030284E.EPS
Element symbol.XAF IOP
Y Disables IOP and IOP- detection
N Enables IOP and IOP- detection
Element symbol.CPV =XCAL (*3)
Y Switch to CAL or release CAL
N
Element symbol.CPV1 =XCAL (*3)
Y Switch to CAL or release CAL
N
Element symbol.CPV2 =XCAL (*3)
Y Switch to CAL or release CAL
N
Action rule
column
(Y/N)
*1: mm is a parameter required for one-shot execution of the batch data setting block and the batch data acquisition block.
The data set at the one-shot execution varies depending on the mm value.
mm=0: Set 0 to all data.
mm=1 to 16: Set specified data only (DTn).
mm=17: Set all data.
*2: AOF specification is only effective for changing the alarm masking specification. This operation performs alarm
masking on all alarms except NR.
*3: The Output Timing of the sequence table that =XCAL is applied should be set to [Output Only When Condition
Changes (C)].
10th Edition : Dec.18,2003-00
D3-82 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
Calculation Blocks That Can Describe Data Values In Condition
Specifications
The table below lists the data items of regulatory control blocks that can describe data
values in condition specifications and their setting ranges.
Table Calculation Blocks that can Describe Data Values in Action Specifications and Setting
Range of Data Items
Block code Name Data item Setting range
DLAY Dead-Time Block
RST
0, 1 DLAY-C Dead-Time Compensation Block
AVE-M Moving-Average Block
INTEG Integration Block
SW 0, 1, 2
SW-33 Three-Pole Three-Position Selector Switch SW 0 to 3
BDSET-1L One Batch Data Set Block
SW 0 to 3
BDSET-1C One-Batch String Data Set Block
BDSET-2L Two Batch Data Set Block
BDSET-2C Two-Batch String Data Set Block
ADL Inter-Station Data Link Block SIMM 0, 1
SW-91 One-Pole Nine-Position Selector Switch SW 0 to 9
DSW-16 Selector Switch Block for 16 Data
SW 0 to 16
DSW-16C Selector Switch Block for 16 String Data
BDA-L Batch Data Acquisition Block
SW 0 to 17
BDA-C Batch String Data Acquisition Block
D030285E.EPS
AVE-C Cumulative average block
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-83
IM 33S01B30-01E
Executable Calculation Block for One-Shot Execution
The table below lists the calculation blocks that can specify one-shot execution as an
action specification.
Table One-Shot Executable Calculation Block
Block type Code Name
Arithmetic Calculation
ADD Addition Block
MUL
Multiplication Block
DIV
Division Block
AVE
Averaging Block
General-Purpose
Calculations
CALCU
General-Purpose Calculation Block
CALCU-C
General-Purpose Calculation Block with String I/O
Calculation auxiliary
BDSET-1L
One-Batch Data Set Block
BDSET-1C
One-Batch String Data Set Block
BDSET-2L
Two-Batch Data Set Block
BDSET-2C
Two-Batch String Data Set Block
BDA-L
Batch Data Acquisition Block
BDA-C Batch String Data Acquisition Block
D030286E.EPS
AND Logical AND Block
OR Logical OR Block
NOT Logical NOT Block
SRS1-S Set-Dominant Flip-Flop Block with 1 Output
SRS1-R Reset-Dominant Flip-Flop Block with 1 Output
SRS2-S Set-Dominant Flip-Flop Block with 2 Outputs
SRS2-R Reset-Dominant Flip-Flop Block with 2 Outputs
WOUT Wipeout Block
GT Comparator Block (Greater Than)
GE Comparator Block (Greater Than or Equal)
EQ Equal Operator Block
BOR Bitwise OR Block
BNOT Bitwise NOT Block
BAND Bitwise AND Block
Logic Calculation (*1)
*1: The Logic Operation Blocks are only applicable to CS 3000.
10th Edition : Dec.18,2003-00
D3-84 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
Calculation Block that Requires mm Parameter for One-Shot Execution
The table below lists the calculation blocks that are required to specify one-shot execution
parameter mm as an action specification.
Table Calculation Blocks That is Required to Specify Parameter mm in the Action Specification
Block code Name
Parameter setting
range (mm)
Remarks
BDSET-1L One-Batch Data Set Block
0 to 17
Set individual
data
BDSET-1C One-Batch String Data Set Block
BDSET-2L Two-Batch Data Set Block
BDSET-2C Two-Batch String Data Set Block
BDA-L Batch Data Acquisition Block
0 to 17
Acquire
individual data
BDA-C Batch String Data Acquisition Block
D030287E.EPS
Note: Parameter mm is defined as follows.
mm=0: Set 0 to all data.
mm=1 to 16: Set specified data only (DTn).
mm=17: Set all data.
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-85
IM 33S01B30-01E
Status Manipulation of Faceplate Block
The table below lists the symbolic convention and action description of the action signal to
manipulate the status of various functions of the faceplate block.
Table Symbolic Convention of Action Signal and Action Description
Action signal description column
Action description
Output signal Action specification
Element symbol.MODE Block mode
Y Change block mode
N Disable
Element symbol.BSTS Block status
Y Change block status
N Cancel block status
Element symbol.ALRM Alarm status except NR
Y Change alarm status
N Cancel alarm status
Element symbol.AF Alarm status except NR
Y Cancel the specified alarm detection.
N Execute the specified alarm detection.
Element symbol.AOFS
Alarm status except NR,
AOF (*1)
Y Mask the specified alarm.
N Unmask the specified alarm.
Element symbol.AFLS AFL
Y Perform alarm group confirmation.
N Disable
Element symbol.SV 1 to 99
Y Set batch step number (Effective only for BSI block)
N Disable
Element symbol.
PV01 to 10
0, 1
Y Set action command
N Disable
Element symbol.SWCR[n] (*2) 0 to 15
Y Change switch display color
N Disable
Element symbol.SWST[n] (*2) 0, 1
Y Switch flashing status ON/OFF
N Disable
Element symbol.SWOP[n] (*2) -15 to 15
Y Change the switch operation disable status
N Disable
D030288E.EPS
Action rule
column
(Y/N)
*1: AOF specification is only effective for changing the alarm masking specification. This operation performs alarm
masking on all alarms except NR.
*2: n is the subscript of the 1 dimensional array. This subscript is the number of the push button switches on a faceplate
block. This number varies with the type of faceplate block.
10th Edition : Dec.18,2003-00
D3-86 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
Status Manipulation of Sequential Function Chart (SFC) Block
The table below lists the symbolic convention and action description of the action signal to
manipulate the status of various functions of the sequential function chart (SFC) block.
Table Symbolic Convention of Action Signal and Action Description
Action signal description column
Action description
Output signal Action specification
Element symbol.MODE MAN, AUT
Y Block mode change command
N Disable
Element symbol.BSTS
RUN, PAUS, STOP,
ABRT
Y Block status change command
N Disable
Element symbol.AF Alarm status except NR
Y Cancel the specified alarm detection
N Execute the specified alarm detection
Element symbol.AOFS
Alarm status except NR,
AOF (*1)
Y Mask the specified alarm
N Unmask specified alarm
Element symbol.AFLS AFL
Y Perform alarm group confirmation
N Disable
Element symbol.data item Data value
Y Set data
N Disable
Element symbol.PV =CAL
Y Change PV's data status to CAL
N Cancel PV's CAL data status
D030289E.EPS
Element symbol.PV =XCAL (*2)
Y Switch to CAL or release CAL
N
Action rule
column
(Y/N)
*1: AOF specification is only effective for changing the alarm masking specification. This operation performs alarm
masking on all alarms except NR.
*2: The Output Timing of the sequence table that =XCAL is applied should be set to [Output Only When Condition
Changes (C)].
Sequential Function Chart Block Data Item that can be Described as a Data
Value in the Action Specification
The following table lists the sequential function chart block data item which can be de-
scribed as a data value in the action specification, and their setting ranges.
STEPNO: 1 to 99
SWCR[5]: 0 to 15
SWST[5]: 0, 1
SWOP[5]: -15 to 15
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-87
IM 33S01B30-01E
Status Manipulation of Unit Instrument
The table below lists the symbolic convention and action description of the action signal to
manipulate the status of various functions of the unit instrument.
Table Symbolic Convention of Action Signal and Action Description
Action signal description column
Action description
Output signal Action specification
Element symbol.MODE MAN, SEMI, AUT
Y Unit mode change command
N Disable
Element symbol.UBSC
Unit status change
command name
Y Unit status change command
N Disable
Element symbol.AF Alarm status except NR
Y Cancel the specified alarm detection.
N Execute the specified alarm detection.
Element symbol.AOFS
Alarm status except NR,
AOF (*1)
Y Mask the specified alarm.
N Unmask specified alarm.
Element symbol.AFLS AFL
Y Perform alarm group confirmation.
N Disable
Element symbol.STEPNO 1 to 99
Y Change SFC step number.
N Disable
D030290E.EPS
Action rule
column
(Y/N)
*1: AOF specification is only effective for changing the alarm masking specification. This operation performs alarm
masking on all alarms except NR.
10th Edition : Dec.18,2003-00
D3-88 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
Status Manipulation of Process I/O
The table below lists the symbolic convention and action description of the action signal to
manipulate the status of various functions of the process I/O.
Table Symbolic Convention of Action Signal and Action Description
Action signal description column
Action description
Output signal Action specification
Element symbol.PV
H
Y Contact output ON (Latched output)
N Contact output OFF (Latched output)
L
Y Contact output ON (Unlatched output)
N Disable
F
Y Cause flashing state.
N Stop the flashing state (*1)
P
Y Output one-second pulse to the relevant bit (*2)
N Disable
D030291E.EPS
Action rule
column
(Y/N)
*1: Even though the flashing state stops, the contact output itself remains ON. Turn off the contact output using a different
action signal with a latched contact output.
*2: Not available in LFCS2 or LFCS. For LFCS2 or LFCS to give a pulse output, first to set the point mode of the
output terminal on IOM into Pulse Output (PO), then put a latched type symbol (H) or none latched type symbol (L) in
the action columns of sequence table.
SEE ALSO
For more information about pulse output, see the followings:
Pulse Contact Output : PFCS/KFCS2/KFCS/SFCS in section Manipulating Status Output of I/O
Module of chapter A3.2.2, Contact Output.
Pulse Contact Output : LFCS2/LFCS in section Manipulating Status Output of I/O Module of
chapter A3.2.2, Contact Output.
Status Manipulation of Global Switch
The syntax in action signal description for manipulating the global switch to perform its
various functions and the output actions corresponding to Y/N in the action rule columns of
the sequence table are shown as follows.
Table Syntax in Action Signal Description and Output Actions Corresponding to Y/N in Action
Rule Columns
Action signal description column
Action description
Output signal Action specification
Element symbol.PV
H
Y Turn the global switch ON (Latched).
N Turn the global switch OFF (Latched).
L
Y Turn the global switch ON (Nonlatched).
N Disable
D030292E.EPS
Action rule
column
(Y/N)
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-89
IM 33S01B30-01E
Status Manipulation of Common Switch
The table below lists the symbolic convention and action description of the action signal to
manipulate the status of various functions of the common switch.
Table Symbolic Convention of Action Signal and Action Description
Action signal description column
Action description
Output signal Action specification
Element symbol.PV
H
Y Common switch output ON (Latched output)
N Common switch output OFF (Latched output)
L
Y Internal status switch output ON (Unlatched output)
N Disable
D030293E.EPS
Action rule
column
(Y/N)
Status Manipulation of Annunciator Message
The table below lists the symbolic convention and action description of the action signal to
manipulate the status of various functions of the annunciator message.
Table Symbolic Convention of Action Signal and Action Description
Action signal description column
Action description
Output signal Action specification
Element symbol.PV
H
Y Annunciator output (Latched output)
N Cancel the annunciator output (Latched output)
L
Y Annunciator output (Unlatched output)
N Disable
Element symbol.RP ON, OFF
Y
Repeated warning specification
(ON: Repeated warning, OFF: Cancel)
N Disable
Element symbol.AOFS AOF
Y Mask the specified alarm.
N Unmask the specified alarm.
Element symbol.AFLS AFL
Y Perform alarm group confirmation.
N Disable
D030294E.EPS
Action rule
column
(Y/N)
10th Edition : Dec.18,2003-00
D3-90 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Status Manipulation of Sequence Message Output
The manipulation contents and description symbolic convention of the action signals when
performing status manipulation for the various message functions for sequence control are
indicated below.
The messages used in sequence controls include the messages attached with parameters
(constants) and the messages without parameters. Usage of the sequence control mes-
sages for manipulating sequence signals varies with the messages with or without param-
eters.
The sequence control messages without parameters consist of the following types of
messages:
Print message output (%PR)
Operator guide message output (%OG)
Multimedia function message outputV (%VM)
Sequence message request (%RQ)
Event message output for supervisory computer (%CP)
PICOT supervisory computer event message output (%M3)
The sequence control messages attached with parameters consist of the following types of
messages:
Print message attached with parameters (%PR)
Signal event message output (%EV)
SFC/SEBOL return event message output (%RE)
Table Symbolic Convention of Action Signal and Action Description
Action signal description column
Action description
Output signal Action specification
Element symbol.PV
NON
Y Sequence message output without parameter
N Disable
mm (*1)
Y Sequence message output with parameter
N Disabl
D030295E.EPS
Action rule
column
(Y/N)
*1 Integer type data (2-byte unsigned integer type data) can be specified for mm.
Range: Integer from 0 to 65535
Status Manipulation of Communication I/O
The table below lists the symbolic convention and action description of the action signal to
manipulate the status of various functions of the communication I/O.
Table Symbolic Convention of Action Signal and Action Description
Action signal description column
Action description
Output signal Action specification
Element symbol.PV
H
Y Relevant bit ON (Latched output)
N Relevant bit OFF (Latched output)
L
Y Relevant bit ON (Unlatched output)
N Disable
D030296E.EPS
Action rule
column
(Y/N)
<D3.2 Sequence Table Block (ST16, ST16E)> D3-91
IM 33S01B30-01E
D3.2.14 Action Signal Description: Status Manipulation for
Sequence Table
In the status manipulation for sequence table, in addition to data setting and status
change, a series of processing from condition testing to status manipulation can be
performed by one-shot execution of the sequence table.
For status manipulation of a sequence table with rules extended to multiple se-
quence tables, a tag name for the extending sequence table must be specified.
There exist several types of status manipulations for sequence table as shown
below.
Execution of the entire sequence table
Execution of the corresponding rule number in sequence table
Execution of a particular step(s)
Setting of a sequence table execution step label
Change of the sequence table block mode
Execution of the Entire Sequence Table
Action Signal Description - Sequence Table
The sequence table indicated by an element symbol of the action signal from the referenc-
ing sequence table (branched sequence table) is activated to perform one-shot execution.
If the branched sequence table is a nonstep type, the entire table is subject to execution.
If the branched sequence table is a step type, the relevant steps according to the step
processing in the branched sequence table are subject to execution.
It is possible to further branch from a branched sequence table to other sequence table to
perform condition testing and actions for the first branched sequence table. Nesting is
available up to seven levels including the first sequence table.
When the Branched Sequence Table is a Nonstep Type
The entire branched sequence table is executed.
The table below lists the symbolic convention and action description for the action signal
used to execute the entire branched sequence table.
Table Symbolic Convention and Action Description for Action Signal
Action signal description
Action rule Action description
Output signal Action specification
Element symbol.ACT ON
Y Execute the specified table
N Disable
D030297E.EPS
When the conditions described in the condition rule are satisfied, the sequence table
number listed in the action signal symbol column will be one-shot executed to branch to the
activated sequence table. After executing all condition testing and actions, it returns to the
action rule processing in the branching sequence table.
10th Edition : Dec.18,2003-00
D3-92 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
When the Branched Sequence Table is a Nonstep Type
Description examples for the nonstep-type branched sequence tables are shown below.
Assume that Output Only when Conditions Change is specified for the output timing.
ST 005
01 02 03 04 05
DI0010.PV
................................
Y Y N
DI0015.PV
................................
Y N N
DI0016.PV
................................
Y Y Y Y
DI0018.PV
................................
N N Y
DI0020.PV
................................
Y Y
DI0021.PV
................................
DO0001.PV Y Y N
DO0011.PV
................................
Y
ST015.ACT
................................
Y Y
DO0014.PV
................................
Y Y
DO0035.PV H
H
H
ON
ON
ON
ON
ON
ON
H
ON
................................
Y Y
ST 015
01 02 03 04 05
DI0030.PV
................................
Y Y N
DI0031.PV
................................
Y Y N
DI0036.PV
................................
Y N N
DI0038.PV
................................
Y N Y
DI0125.PV Y Y Y Y
DO0050.PV
................................
Y N Y
DO0052.PV
................................
Y N
DO0053.PV
................................
Y N Y
DO0054.PV
................................
N Y Y
DO0066.PV H
H
H
H
H
ON
ON
ON
ON
ON
................................
N Y Y
D030298E.EPS
Comment
Tag name
Data item
Data
Step label
Rule number
Comment
Tag name
Data item
Data
Step label
Rule number
Figure Description Examples of Nonstep-Type Sequence Table Execution
The following explains the details of action rule processing in the description examples
shown above.
If the conditions in Rule 01 of Table ST005 are satisfied, the DO001.PV.H=Y operation
will be executed and all the conditions from rules 01 to 32 will then be tested after
branching to Table ST015. If conditions are satisfied at Table ST015, operations will be
executed for the rules whose conditions have been satisfied. It will then return to Table
ST005 action rule processing to execute the DO0014.PV.H=Y operation.
Neither Rule 02 nor 03 on table ST005 is associated with the action rule processing
because no action descriptions for Table ST015 are listed in either rule.
If the conditions in Rule 04 of Table ST005 are satisfied, the DO001.PV.H=N operation
will be executed and all the conditions from rules 01 to 32 will then be tested after
branching to Table ST015. If conditions are satisfied at Table ST015, operations will be
executed for the rules whose conditions have been satisfied. It will then return to Table
ST005 action rule processing to execute the DO0014.PV.H=Y and DO0035.PV.H=Y
operations.
If the periodic execution is specified for the processing timing of Table ST015, in
addition to one-shot execution caused by status manipulation, periodic execution will
also be performed at Table ST015.
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-93
IM 33S01B30-01E
When the Branched Sequence Table is a Step Type
Description examples for the step-type branched sequence table is shown below. Assume
that Output Only when Conditions Change is specified for the output timing.
If the branched sequence table is a step type, steps will be executed under the step man-
agement of the branched sequence table.
ST 005
01 02
1 2 3
03
4
04 05
1 3
DI0010.PV
................................
Y Y N
DI0015.PV
................................
Y N N
DI0016.PV
................................
Y Y Y Y
DI0018.PV
................................
N N Y
DI0020.PV
................................
Y Y
DI0021.PV
................................
DO0001.PV Y Y N
DO0011.PV
................................
Y N
ST015.ACT
................................
Y Y
DO0014.PV
................................
Y Y
DO0035.PV H
H
H
H
ON
ON
ON
ON
ON
ON
ON
................................
Y Y
ST 015
01 02 03 04 05
DI0030.PV
................................
Y Y N
DI0031.PV
................................
Y Y N
DI0036.PV
................................
Y N N
DI0038.PV
................................
Y N Y
DI0125.PV Y Y Y Y
DO0050.PV
................................
Y N
DO0052.PV
................................
Y N
DO0053.PV
................................
Y N Y
DO0054.PV
................................
N Y Y
DO0061.PV H
H
H
H
H
ON
ON
ON
ON
ON
................................
N Y
THEN 2 3 1
ELSE
2 2
D030299E.EPS
Comment
Tag name
Data item
Data
Step label
Rule number
Comment
Tag name
Data item
Data
Step label
Rule number
Figure Description Examples of Step-Type Sequence Table Execution
The following explains the details of action rule processing in the description examples
shown above.
If the conditions in Rule 01 of Table ST005 are satisfied, the DO001.PV.H=Y operation
will be executed to branch to Table ST015. If the execution step label (PV) is Step 2,
the condition testing for rules 02 and 03 of Step 2 will be performed. If conditions are
satisfied, operations for the rules whose conditions have been satisfied will be ex-
ecuted. It will then return to Table ST005 to execute the DO0014.PV.H=Y operation.
If the step label is described on the branched sequence table, a processing will be
executed according to the step management of the branched sequence table, regard-
less of the step label on the branching sequence table.
10th Edition : Dec.18,2003-00
D3-94 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
When There Exist Steps 00 and n in the Branched Sequence Table
Description examples of the branched sequence table with steps 00 and n are shown
below. Assume that Output Only when Conditions Change is specified for the output
timing.
ST 005
01 02
1 2 3
03
4
04 05
DI0010.PV
................................
Y Y N
DI0015.PV
................................
Y N N
DI0016.PV
................................
Y Y Y Y
DI0018.PV
................................
N N Y
DI0020.PV
................................
Y Y
DI0021.PV
................................
DO0001.PV Y Y N
DO0011.PV
................................
Y N
ST015.ACT
................................
Y Y
DO0014.PV
................................
Y Y
DO0035.PV H
H
H
H
ON
ON
ON
ON
ON
ON
ON
................................
Y Y
ST 015
01 02 03 04 05
DI0030.PV
................................
Y Y N
DI0031.PV
................................
Y Y N
DI0036.PV
................................
Y N N
DI0038.PV
................................
Y N Y
DI0125.PV Y Y Y Y
DO0050.PV
................................
Y N
DO0052.PV
................................
Y
DO0053.PV
................................
Y N Y
DO0054.PV
................................
N Y Y
DO0061.PV H
H
H
H
H
ON
ON
ON
ON
ON
................................
N Y Y
THEN 2 1
ELSE
1 1 0 2
D0302A0E.EPS
Comment
Tag name
Data item
Data
Step label
Rule number
Comment
Tag name
Data item
Data
Step label
Rule number
Figure Description Examples of Step-Type Sequence Table Execution
The following explains the details of the action rule processing in the description examples
shown above.
If the conditions in Rule 01 of Table ST005 are satisfied, the D000001.PV.H=Y operation
will be executed to branch to Table ST015. If the execution step label (PV) at Table ST015
is Step 2 at the time, the condition testing for Rule 01 of Step 00 and Rule 04 of Step 2 will
be performed. If conditions are satisfied at Table ST015, operations for the rules whose
conditions are satisfied, will be executed. It will then return to Table ST005 to execute the
DO0014.PV.H=Y operation.
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-95
IM 33S01B30-01E
Execution of the Corresponding Rule Number in the Sequence Table
One-shot execution of the sequence table is performed, with the same rule number as the
current rule at the branch source as an execution target. This is used to expand the condi-
tion signal and action signal over 64 signals in the nonstep type sequence table.
The table below lists the symbolic convention and description of action signal to execute
the corresponding rule numbers.
Table Symbolic Convention of Action Signal and Action Description
Action signal description column Action
rule
column
Action description
Output signal Action specification
Element symbol.SD C
Y Execute the same table
N Disable
D0302A1E.EPS
When the branch source is a step type and the branch destination is a nonstep type:
Although execution of the corresponding rule number is meaningless, the correspond-
ing rules will be executed.
When the branched table is a step type:
Because execution of the same rules will be meaningless, the system will halt without
executing any actions.
It is possible to branch further from the branched sequence table to other sequence table,
and perform condition testing and operation for the first branched sequence table. Nesting
is available up to seven levels, including the first sequence table.
10th Edition : Dec.18,2003-00
D3-96 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
Description examples of the status manipulation of corresponding rule numbers are shown
below. Assume that Output Only when Conditions Change is specified for the output
timing.
ST 005
01 02 03 04 05
DI0010.PV
................................
Y Y N
DI0015.PV
................................
Y N N
DI0016.PV
................................
Y Y Y Y
DI0018.PV
................................
N N Y
DI0020.PV
................................
Y Y
DI0021.PV
................................
DO0001.PV
................................
Y Y N
DO0011.PV
................................
Y N
ST015.SD
................................
Y Y
DO0014.PV
................................
Y Y
DO0035.PV H
H
H
H
ON
ON
ON
ON
ON
ON
C
................................
Y Y
ST 015
01 02 03 04 05
DI0030.PV
................................
Y Y N
DI0031.PV
................................
Y Y N
DI0036.PV
................................
Y N N
DI0038.PV
................................
Y N Y
DI0125.PV Y Y N Y
DO0050.PV
................................
Y N Y
DO0052.PV
................................
Y N
DO0053.PV
................................
Y N Y
DO0054.PV
................................
N Y Y
DO0061.PV H
H
H
H
H
ON
ON
ON
ON
ON
................................
N Y
D0302A2E.EPS
Comment
Tag name
Data item
Data
Step label
Rule number
Comment
Tag name
Data item
Data
Step label
Rule number
Figure Description Examples of Corresponding Rule Number Execution
The following explains the details of the action rule processing in the description examples
shown above.
If the conditions in Rule 01 of Table ST005 are satisfied, the DO001.PV.H=Y operation
will be executed, and the condition testing of Rule 01 will be conducted after branch-
ing to Table ST015. If conditions are satisfied, DO0050.PV.H=Y, DO0052.PV.H=Y, and
DO0054.PV.H=N operations will be executed. It will then return to Table ST005 to
execute the DO0014.PV.H=Y operation.
Neither rule 02 nor 03 of Table ST005 is associated with Table ST015.
If the conditions in Rule 04 of Table ST005 are satisfied, the DO0001.PV.H=N and
DO0011.PV.H=N operations will be executed to branch to Table ST015. Condition
testing will then be performed for Rule 04. If conditions are satisfied, operations for the
rules whose conditions have been satisfied will be executed. DO0053.PV.H=Y,
DO0054.PV.H=Y, and DO0061.PV.H=Y operations will be executed. It will then return
to Table ST005 to execute the DO0014.PV.H=Y and DO0035.PV.H=Y operations.
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-97
IM 33S01B30-01E
Executing a Particular Step in the Sequence Table
The following describes the action signals symbolic convention and the action description
for executing a particular step in the specified sequence table.
Table Symbolic Convention of Action Signal and Action Description
Action signal description column Action rule
column
(Y/N)
Action description
Output signal Action specification
Element symbol.SA xx
Y Execute steps xx and 00
N Disable
D0302A3E.EPS
xx: Specify the step label using 2 or less alphanumeric characters.
It is possible to further branch from the branched sequence table to other sequence table,
and perform condition testing and operation for that branched sequence table. Up to seven
levels of nesting are possible including the first sequence table.
The action rule subject to execution varies by the type of sequence table (nonstep, step) at
the execution source and execution destination.
Table Execution Target Rules by Sequence Table Type
Branch source Branch destination Action rule subject to execution
Nonstep type
Nonstep type All rules
Step type Rules in specified step and step 00
Step type
Nonstep type All rules
Step type Rules in specified step and step 00
D0302A4E.EPS
When the conditions described in the condition rule are satisfied, the sequence table
number listed in the action signal symbol column will be one-shot executed to branch to the
destination sequence table. After executing condition testing and actions for rules in Step
00 and steps specified by the branched sequence table, it returns to the action rule pro-
cessing in the branching sequence table.
If the specified step does not exist in the branched sequence table, an error will occur and
the step will not be executed. However, in spite of the error, if Step 00 exists in the
branched sequence table, only that step will be executed.
If execution of a particular step is performed for the nonstep-type sequence table, all rules
will be subject to execution.
10th Edition : Dec.18,2003-00
D3-98 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
A description example of executing a particular step is shown below.
Assume that Output Only when Conditions Change is specified for the output timing.
ST 005
01 02
A1 A2 A3
03
A4
04 05
A1 A3
DI0010.PV Y Y N
DI0015.PV
................................
Y N N
DI0016.PV
................................
Y Y Y Y
DI0018.PV
................................
N N Y
DI0020.PV
................................
Y Y
DI0021.PV
................................
DO0001.PV Y Y N
DO0011.PV
................................
Y N
ST015.SA.
................................
Y Y
DO0014.PV
................................
Y Y
DO0035.PV H
H
H
H
ON
ON
ON
ON
ON
ON
A2
................................
Y Y
ST 015
01 02 03 04 05
DI0030.PV Y Y N
DI0031.PV
................................
Y Y N
DI0036.PV
................................
Y N N
DI0038.PV
................................
Y N Y
DI0125.PV Y Y Y Y
DO0050.PV
................................
Y N Y
DO0052.PV
................................
Y N
DO0053.PV
................................
Y N Y
DO0054.PV
................................
N Y Y
DO0061.PV H
H
H
H
H
ON
ON
ON
ON
ON
................................
N Y Y
A2 A2
D0302A5E.EPS
THEN
ELSE
................................
Comment
Tag name
Data item
Data
Step label
Rule number
................................
Comment
Tag name
Data item
Data
Step label
Rule number
Description is
not required.
Figure Description Example of Executing Action Rule Processing
The following describes the action rule processing for the above example.
If the conditions in Rule 01 of Table ST005 are newly satisfied, the DO001.PV.H=Y
operation will be performed to branch to Table ST015. Following the condition testing
conducted for rules 02 and 03 of Step A2 in the branched sequence table, if the
conditions are newly satisfied, relevant operations will be performed. It will then return
to Table ST005 to execute the DO0014.PV.H=Y operation.
Neither Rule 02 nor 03 in Table ST005 is associated with Table ST015.
If the conditions in Rule 04 of Table ST005 are satisfied, the DO0001.PV.H=N and
DO0011.PV.H=N operations will be performed to branch to Table ST015. Following
the condition testing for rules 02 and 03 of Step A2 in the branched sequence table, if
the conditions are newly satisfied, relevant operations will be performed. It will then
return to table ST005 to execute the DO0014.PV.H=Y and DO0035.PV.H=Y opera-
tions.
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-99
IM 33S01B30-01E
Setting Execution Step Label in the Sequence Table
Execution step label (PV) of the sequence table is set. Unlike executing a particular step,
this operation merely sets a step label for the execution step label (PV) of a specified
sequence table. This setup operation alone will not execute the step. It is not until the
execution step label (PV) is activated after the setup that the step is executed.
The table below lists the symbolic convention and action description of the action signal for
setting the execution step label.
Table Symbolic Convention and Action Description of the Action Signal
Action signal description column Action rule
column
(Y/N)
Action description
Output signal Action specification
Element symbol.PV xx
Y Set the step name xx
N Disable
D0302A6E.EPS
xx: Specify the step label using 2 or less alphanumeric characters.
A description example of specifying the execution step label of a specified sequence table
is shown below.
Assume that Output Only when Conditions Change is specified for the output timing.
Comment
Tag name
Data item
Data
Step label
Rule number 01 02 03 04 05 06 07
ST 005
DI0013.PV Auto/manual N Y
ST010.PV Y
ST011.PV Y
ST012.PV Y
ST013.PV A1
A1
A1
A1
ON
Y
D0302A7E.EPS
Condition
Operation
Figure Description Example of Setting Execution Step Label
The following describes the action rule processing for the above description example.
When DI0013 becomes OFF, A1 will be set on the execution step label in sequence
tables ST010, ST011 and ST012.
When DI0013 becomes ON, A1 will be set on the execution step label in the ST013
sequence table.
10th Edition : Dec.18,2003-00
D3-100 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
Block Mode Change in Sequence Table
By describing the block mode change of the other sequence table in the sequence table
action signal, halt (change to MAN mode)/restart (change to AUT mode) of the other
specified sequence table is manipulated.
The sequence table changed to the manual (MAN) mode will retain the status at the time of
block mode change. When changed output is specified for the output timing, the states of
halt and restart are compared upon restarting the processing to execute the status manipu-
lation for the changed condition rules.
The table below lists the symbolic convention of the action signal and action description for
changing the block mode.
Table Symbolic Convention of Action Signal and Action Description
Action signal description column
Action description
Output signal Action specification
Element symbol.MODE AUT, MAN, O/S
Y Table mode change command
N Disable
D0302A8E.EPS
Action rule
column
(Y/N)
Pause and Restart a Sequence Table
Some sequence tables are running in a fixed scan cycle while some others are staring,
pausing or restarting in accordance with process procedures. To pause a running se-
quence table, and to restart a paused sequence table is possible. The scripts may be
described in a sequence table for a sequence tables Pause and Restart are shown as
follows.
Table Syntax for Output Signal Scripts and Action Description
Action signal description column
Action description
Output signal Action specification
Element symbol.XS ON
Y Starts or restarts sequence table
N Pause Sequence table
D0302B2E.EPS
Action rule
column
(Y/N)
When Y is scripted in an action rule, if the condition of that rule establishes, the sequence
table scripted in the Element symbol column will be started or restarted. When the restarted
sequence table is running in the [Output Only When Condition Changes (C)] timing, the
restarted will compare the current conditions with the conditions before it was paused, only
the rules that the conditions have been changed will perform the output actions. If the
sequence table is a [Periodic Execution Type], the sequence table will continue to run until
it receives another pause command.
When N is scripted in an action rule, if the condition of that rule establishes, the sequence
table scripted in the Element symbol column will be paused.
10th Edition : Dec.18,2003-00
<D3.2 Sequence Table Block (ST16, ST16E)> D3-101
IM 33S01B30-01E
D3.2.15 Action Signal Description: Status Manipulation for a
Logic Chart from a Sequence Table
In the status manipulation for a logic chart, a logic chart block mode can be
changed. In addition, the specified logic chart can be one-shot executed.
One-Shot Execution of a Logic Chart from a Sequence Table
Action Signal Description - Logic Chart
The syntax in action signal description for one-shot executing a logic chart and the output
actions corresponding to Y/N in the action rule columns of the sequence table are shown
as follows.
Table Syntax in Action Signal Description and Output Actions Corresponding to Y/N in Action
Rule Columns
Action signal description
Action rule Action description
Output signal Action specification
Element symbol.ACT ON
Y Execute a logic chart
N Disable
D0302A9E.EPS
The output of an executed logic chart can execute another logic chart. The output
signal can be nested up to seven times, including the branching sequence table.
If one-shot execution of a logic chart fails for one of the following reasons, a system
alarm will be triggered.
The output of an executed logic chart to execute another logic chart is nested over
seven times, including the branching sequence table.
The function block connected to the input terminal is in O/S mode.
The function block connected to the input terminal is udder online maintenance.
Changing the Block Mode of a Logic Chart from a Sequence Table
The block mode of the specified logic chart may be changed. Changing the block mode
allows the logic chart to be paused (with the MAN mode specified) or resumed (with the
AUT mode specified).
The syntax in action signal description for changing a block mode and the output actions
corresponding to Y/N in the action rule columns of the sequence table are shown as fol-
lows.
Table Syntax in Action Signal Description and Output Actions Corresponding to Y/N in Action
Rule Columns
Action signal description
Action rule Action description
Output signal Action specification
Element symbol.MODE AUT, MAN, O/S
Y Change a block mode
N Disable
D0302B0E.EPS
10th Edition : Dec.18,2003-00
D3-102 <D3.2 Sequence Table Block (ST16, ST16E)>
IM 33S01B30-01E
D3.2.16 Data Items of the Sequence Table Block (ST16)
The data items of the ST16 block is shown below.
Data Item
Table Data Items of the Sequence Table Block (ST16)
Symbol Data Name
Entry Permitted
or Not
Default Range
PV
MODE
ALRM
AFLS
AF
AOFS
OPMK
UAID
Executing step name
Mode
Alarm status
Alarm flashing status
Alarm detection
Alarm in hibition
Operation mark
User application ID
100 steps
----
----
----
----
----
0 to 255
----
Start step name
O/S (MAN)
NR
0
0
0
0
0
D0302B1E.EPS
: Entry is permitted unconditionally.
Blank: Entry is not permitted.
SEE ALSO
For a list of valid block mode of the ST16, see the following:
D3.1.2, Block Mode of Sequence Control Blocks
10th Edition : Dec.18,2003-00
<D3.3 Logic Chart Block (LC64)> D3-103
IM 33S01B30-01E
D3.3 Logic Chart Block (LC64)
Logic Chart Block (LC64) may combine or arrange the signals of other function
blocks, process I/O and software I/O into an application for interlock sequence
control.
Logic Chart Block (LC64)
Logic Chart
Logic Chart Block is the function block that describes the relations of the input signals, the
output signals and the logic calculation operators in the interlock diagram form, so that it
can perform its main function, the interlock sequence control using the same expressions
as those used on the logic chart blue prints.
An architecture of LC64 Logic Chart Block is shown as follows.
D030301E.EPS
Input
processing
Output
processing
Logic operation
Q01
Q02
Q03
Q56
J01
J02
J03
J56
Figure Function Block Diagram of Logic Chart Block (LC64)
The connection methods and destinations for I/O terminals of Logic Chart Block (LC64) are
shown below.
Table Connection Methods and Destinations for I/O Terminals of Logic Chart Block (LC64)
I/O
terminal
Connection type Connection destination
Data
reference
Data
setting
Condition
testing
Status
manipula-
tion
Terminal
connecti-
on
Process
I/O
Software
I/O
Function
block
Q01 to Q56
J01 to J56
D030302E.EPS
: Connection available
Blank: Connection not available
10th Edition : Dec.18,2003-00
D3-104 <D3.3 Logic Chart Block (LC64)>
IM 33S01B30-01E
The input and output connections can be set by entering the connection information and
data description on the client area of the logic chart editing window.
%SW0500.PV.ON StopCool
Mooving into
cooling phase
%SW0201.PV.L Cool command
Cooling printout
%SW0100.PV.ON Level 1
%SW0150.PV.ON Level 2
%SW0120.PV.ON CoolStop
%SW0101.PV.ON Auto
TV100.PV.2 Open shutoff valve 1
TV101.PV.2 Open shutoff valve 2
RL001.X01.LT
No.1 temperature
<- 70 C
No.2 temperature
<- 70 C
RL002.X02.LT
WO
TM100
TM100
Condition signal Comment
Comment
Open shutoff valve
Logic element Action signal Comment
D030303E.EPS
%SW0200.PV.L
Cooling and
voice message
DO0100.PV.L
Shutoff valve 1
open output
TV100.CSV.2
Shutoff valve 2
open output
TV101.CSV.2
TCV full
close command
%SW0160.PV.L
%SW0140.ON
Figure Outline of the Logic Chart
A logic chart with 32 inputs, 32 outputs and 64 logic elements (LC64) is provided.
Logic Chart with 32 Inputs, 32 Outputs and 64 Logic Elements (LC64)
LC64 block is a sequence control function block with 32 input and 32 output signal chan-
nels and it can handle 64 logic operators. Since the input and output signal channels are
fixed, the small logic chart with only 8 input and 8 output signal channels can not be cre-
ated.
10th Edition : Dec.18,2003-00
<D3.3 Logic Chart Block (LC64)> D3-105
IM 33S01B30-01E
D3.3.1 Configuration of a Logic Chart
A logic chart consists of condition signals, action signals and logic operators.
General Outlook of a Logic Chart
A general outlook of a logic chart is shown as follows.
Client area
Process timing Order of execution
1
B C D E F G H I J K L M N O P Q R S T U V W A
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
D030304E.EPS
Scan period
Logic chart area Condition
signals
Comment Action
signals
Comment
Figure Configuration of the Entire Logic Chart
10th Edition : Dec.18,2003-00
D3-106 <D3.3 Logic Chart Block (LC64)>
IM 33S01B30-01E
Outline of Logic Chart Elements
The logic chart elements are shown as follows.
Processing Timing
The processing timing of a logic chart consists of start timing and output timing.
Start timing refers to the timing at which control algorithm of the logic chart is executed
upon receipt of input signal. Output timing indicates the conditions under which action
signals are output at the time a periodic start type or one-shot start type logic chart is
executed.
The output timing of logic charts is fixed to output each time. If the logical value acquired
by logic operation is true, output signals are output whenever started.
Start timing can be set on each logic chart block.
Start timing:
Select from Periodic Execution Type (T), One-shot Processing Type (O), Startup
at Initial Cold Start/Restart (I) or Restricted Initial Execution Type (B).
Output timing:
Output Each Time Conditions are Satisfied
Scan Period
Periodic start logic charts are activated at each defined scan period. Among the periodic
started logic charts, the logic charts activated in the basic period have the items Control
Period and Control Phase to be defined in addition to scan period.
Scan period, control period, and control phase can be defined for each logic chart.
Scan period: Select from Basic Scan or High-speed Scan.
Control period: 1 to 16 seconds.
Control phase: 0 to 15 seconds.
10th Edition : Dec.18,2003-00
<D3.3 Logic Chart Block (LC64)> D3-107
IM 33S01B30-01E
Scan Period
Periodic start logic charts are activated in each scan period as defined here. Among the
periodic started logic charts, the logic charts activated in the basic period have the items
Control Period and Control Phase to be defined in addition to scan period.
Scan period, control period, and control phase can be defined for each logic chart.
Scan period:
Select from Basic Scan, Medium-speed Scan (*1) or High-speed Scan.
Control period: 1 to 16 seconds.
Control phase: 0 to 15 seconds.
*1: Medium-speed Scan is only supported by KFCS2, KFCS, LFCS2 and LFCS.
SEE ALSO
For details on processing timing, see the following:
C7.3, Process Timing for Sequence Control Block
For details on scan period, see the following:
C7.1.1, Scan Period
For details on control period and control phase, see the following:
C7.3.6, Control Period and Control Phase for Logic Chart Block (LC64)
Order of Logic Calculation
For the execution order of logic calculation, the matrix expansion or manual expansion can
be selected.
Condition Signals
The input information such as tag names and data items or other specific condition scripts
should be entered for condition signals.
Comment
For the input signals or output signals, their service comments can be described using up
to 24 alphanumeric characters or 12 double-byte characters. A comment corresponding to
a condition or action signal can be automatically entered.
SEE ALSO
For the details of comment entry, see the following:
Input Element Symbol in F4.5, Element Symbol Type and Element Resource Count
Logic Chart Area
The logic calculation process can be expressed in logic chart diagram form.
Action Signals
The output information such as tag names and data items or other specific manipulation
scripts should be entered for action signals.
10th Edition : Dec.18,2003-00
D3-108 <D3.3 Logic Chart Block (LC64)>
IM 33S01B30-01E
D3.3.2 Creating a Logic Chart Block
To create a logic chart block, the settings related to the sequence control informa-
tion should be entered in each setting area of the logic chart edit window.
Configuration of Logic Chart Edit Window
The figure below shows the configuration of the logic chart edit window.
Client area
Execution order of logic calculation setting area Processing timing setting area
D030305E.EPS
Figure Configuration of Logic Chart Edit Window
To create a logic chart, the information for sequence connection (condition signals, action
signals, logic operators, parameters of the applied logic operators) needs to be entered in
each setting area of the logic chart edit window.
The setting areas are listed below.
Processing timing setting area
Execution order of logic calculation setting area
Client area
10th Edition : Dec.18,2003-00
<D3.3 Logic Chart Block (LC64)> D3-109
IM 33S01B30-01E
Processing Timing Setting Area
In processing timing area, the existing settings for the processing timing and scan period
are displayed. Data can be specified and changed at the Processing Timing and Scan
Period on the Processing Timing setup area. The processing timing, scan/control periods
and control phase can also be specified at the Set Start Timing dialog box.
An example of processing timing setting dialog box is shown as below.
Processing timing
Cancel OK
Periodic execution Execution timing
Output only at condition change Output timing
D030306E.EPS
Processing timing
Basic scan Scan period
Scan period
Control period
Control phase
Figure Processing Timing Setting Dialog Box
SEE ALSO
For details of processing timing, see the following:
C7.3, Process Timing for Sequence Control Block
10th Edition : Dec.18,2003-00
D3-110 <D3.3 Logic Chart Block (LC64)>
IM 33S01B30-01E
Execution Order of Logic Calculation Setting Area
For the execution order, either matrix expansion or manual expansion can be selected in
this setting area.
TIP
Clicking [Execution Order] on [View] menu may display execution order of the logic elements on the client
area of the logic chart edit window.
Moreover, this setting is also valid for the status display window and for the self-documentation of the
window.
Client Area
The client area is used to put the logic operators symbols on the matrix for describing the
logic calculation processing in logic chart format.
SEE ALSO
For details on logic calculation processing, see the following:
D3.3.5, Logic Calculation Processing of Logic Chart
10th Edition : Dec.18,2003-00
<D3.3 Logic Chart Block (LC64)> D3-111
IM 33S01B30-01E
D3.3.3 Logic Chart Processing Flow
In the logic chart, the logic calculation is performed based on the result of input
processing. Output processing is then performed for the output action to the opera-
tion target.
Logic Chart Processing Flow
The figure below shows the logic chart processing flow.
Input processing
(condition test)
Output processing
(status manipulation)
D030307E.EPS
Logic calculation processing
Figure Logic Chart Processing Flow
Input Processing
The true or false status of a condition signal is determined by the condition test performed
on the input signal.
Logic Calculation Processing
The logic calculation is based on the result of condition test of the input signal (true = 1,
false = 0). The logic calculation algorithm is expressed by combinations of logic operators.
Output Processing
Status manipulation output is determined based on the result of logic calculation process-
ing.
The status manipulation will be output as the output signals to the operation target. The
status manipulation can send commands such as starting, data setting, and status change
to the contact output terminals or to other function blocks.
10th Edition : Dec.18,2003-00
D3-112 <D3.3 Logic Chart Block (LC64)>
IM 33S01B30-01E
D3.3.4 Input Processing of Logic Chart
The input processing gives a true or false status signal based on the result of condi-
tion test performed on each of the multiple input signals.
Input Processing of Logic Chart
Logic chart function block samples input signals via its input terminals from the connected
destinations. Then the condition test is performed based on these signals.
The result of the condition test is referred to as condition signal status. The condition signal
status True or False will be passed to the logic calculation function in the block.
If the function block connected to the input terminal is a one-shot started block, the result of
the calculation performed in the one-shot started function block can also be used as the
signal for condition test.
When referencing the signal from the one-shot started function block fails, and the failure is
caused by one of the following reasons, a system alarm will be triggered.
In the condition column of the referenced sequence table, the reference target is
another sequence table, the sub-reference is nested more than 7 times.
The function block connected to the input terminal is in O/S mode.
The function block connected to the input terminal is under online maintenance.
If an input terminal is not connected or a condition element is not defined, the condition test
result will give a True status unconditionally.
When the condition test can not access the current signal status, or can not trigger the one-
shot started block to start, it will use the previously used signal status for the condition test.
This result will be further used in the logic calculation processing.
A block or an element database connected is abnormal, the connected function block,
process I/O or global switch (*1) is under online maintenance are the main obstacles for
accessing the input signal.
*1: The global switch is only supported in CS 3000 system.
IMPORTANT
Online maintenance is one of the main obstacles for accessing the input signal and starting
the one-shot started block. The duration of an online maintenance varies with the size and
type of the modified contents for the online maintenance. When the modified contents are
in large size, the online maintenance may last for tens of seconds.
When the condition test can not access the current signal status, or can not trigger the one-
shot started block to start, the condition test uses the previously used signal status. Since
this status is kept in the logic chart, cautions should be taken in the following case.
When the logic chart block itself is one-shot execution type or the connected function
block is one-shot start type, and the access failure is caused by O/S mode, the previ-
ous signal status might be a signal kept for a long time. If the one-shot has not been
started for at least one time, the status signal kept might be a 0 (False).
With consideration of the online maintenance in above mentioned case, when designing a
sequence control, especially the sequence control loop related to the hazardous process
controls, it is required to add an error process subroutine, or to set the related blocks into
MAN mode on the builder for online downloading.
10th Edition : Dec.18,2003-00
<D3.3 Logic Chart Block (LC64)> D3-113
IM 33S01B30-01E
D3.3.5 Logic Calculation Processing of Logic Chart
The logic calculation processing performs the logic calculation described in logic
chart. The logic calculation is based on the input signal status and the calculated
result is output as an action signal.
Logic Calculation Processing
The logic calculation based on the signal status (True = 1, False = 0) is performed at each
scan cycle when the block is periodic type or at each time the block starts when the block is
one-shot started type. The result of the calculation will be output to other logic elements in
the logic chart or sent out as an action signal. In most of cases, a logic element gives an
action signal only when the calculation result is True.
Logic Operation Elements
The logic chart is described with combinations of logic elements in the logic chart block.
The detailed specifications of the logic operation elements will be explained in the following
sections. The logic operation element shares the same specification with corresponding
logic operation block.
TIP
When an input is directly wired to an output, it is still counted as one logic operation element.
SRS, WOUT or CMP is counted as 2 logic operation elements.
AND: Logic Product
It gives one output based on multiple inputs. When all the inputs are True, the output
becomes True. The maximum number of inputs is 21.
, , ,
D030308E.EPS
Figure AND symbols
OR: Logic Sum
It gives one output based on multiple inputs. When any of inputs is True, the output be-
comes True. The maximum number of inputs is 21.
D030309E.EPS
, , ,
Figure OR symbols
NOT: Negation
It gives the inverse of the input as an output.
D030310E.EPS
Figure NOT symbol
10th Edition : Dec.18,2003-00
D3-114 <D3.3 Logic Chart Block (LC64)>
IM 33S01B30-01E
SRS1-R (1 output), SRS2-R (2 outputs): Flip-Flop (Reset-Dominant)
It gives one output or two outputs shown in the following truth table based on the set and
reset input signals.
One flip-flop operation is counted as two logic operation elements.
S
R
OUT1 S
R
OUT1
OUT2
S S
R R
Without reset output With reset output
D030311E.EPS
Figure SRS1-R and SRS2-R symbols
Table Reset-Dominant Truth Table
S
Input
Output
0 1 0 1
R 0 0 1 1
OUT1 1 0 0
OUT2
Latched
Latched 0 1 1
D030312E.EPS
Latched: The previous state is maintained.
SRS1-S (1 output), SRS2-S (2 outputs): Flip-Flop (Set-Dominant)
It gives one output or two outputs shown in the following truth table based on the set and
reset input signals.
One flip-flop operation is counted as two logic operation elements.
S
R
S
R
OUT1 S
R
S
R
OUT1
OUT2
D030313E.EPS
Without reset output With reset output
Figure SRS1-S and SRS2-S symbols
Table Set-Dominant Truth Table
S 0 1 0 1
R 0 0 1 1
OUT1 1 0 1
OUT2 0 1 0
Input
Output
Latched
Latched
D030314E.EPS
Latched: The previous state is maintained.
10th Edition : Dec.18,2003-00
<D3.3 Logic Chart Block (LC64)> D3-115
IM 33S01B30-01E
WOUT: Wipeout
It gives an output which is an inverse of reset signal when reset signal is true, otherwise, it
gives the set signal as output, shown in the following truth table based on the set and reset
input signals.
One wipeout operation is counted as two logic operation elements.
Its symbol is shown below.
(W. O)
Table WOUT Truth Table
S 0 1 0 1
R 0 0 1 1
OUT 0 1 0 0
D030315E.EPS
Input
Output
10th Edition : Dec.18,2003-00
D3-116 <D3.3 Logic Chart Block (LC64)>
IM 33S01B30-01E
OND: On-Delay Timer
When the input status changes from 0 to 1, the internal timer starts. When the set time t
elapsed, its output changes from 0 to 1. When the input status changes to 0, the output will
be reset to 0 immediately.
D030316E.EPS
Figure On-Delay Timer symbol
0
1
IN
0
1
OUT
t
D030317E.EPS
Figure Behavior of On-Delay Timer
OFFD: Off-Delay Timer
When the input status changes from 1 to 0, the internal timer starts. When the set time t
elapsed, its output changes from 1 to 0. When the input status changes to 1, the output will
be reset to 1 immediately.
D030318E.EPS
Figure Off-Delay Timer symbol
0
1
IN
0
1
OUT
t
D030319E.EPS
Figure Behavior of Off-Delay Timer
10th Edition : Dec.18,2003-00
<D3.3 Logic Chart Block (LC64)> D3-117
IM 33S01B30-01E
TON: One-Shot (Rise Trigger)
When the input status changes from 0 to 1, it gives an output 1 for a one scan cycle. The
output is always 0 except for that 1 scan cycle.
D030320E.EPS
Figure One-Shot (Rise Trigger) symbol
0
1
IN
0
1
OUT
One scan cycle
D030321E.EPS
Figure Behavior of One-Shot (Rise Trigger)
TOFF: One-Shot (Fall Trigger)
When the input status changes from 1 to 0, it gives an output 1 for a one scan cycle. The
output is always 0 except for that 1 scan cycle.
D030322E.EPS
Figure One-Shot (Fall Trigger) symbol
0
1
IN
0
1
OUT
One scan cycle
D030323E.EPS
Figure Behavior of One-Shot (Fall Trigger)
10th Edition : Dec.18,2003-00
D3-118 <D3.3 Logic Chart Block (LC64)>
IM 33S01B30-01E
CMP-GE: Comparator
It compares the logic values of input 1 and input 2. It gives an output 1 when input 1 is
greater than or equal to input 2, otherwise it gives an output 0.
One Comparator operation is counted as two logic operation elements.
D030324E.EPS
Figure CMP-GE symbol
Table CMP-GE Truth Table
Input
IN1 0 0 1 1
IN2 0 1 0 1
Output OUT 1 0 1 1
D030325E.EPS
CMP-GT: Comparator
It compares the logic values of input 1 and input 2. It gives an output 1 when input 1 is
greater than input 2, otherwise it gives an output 0.
One Comparator operation is counted as two logic operation elements.
D030326E.EPS
Figure CMP-GT symbol
Table CMP-GT Truth Table
Input
IN1 0 0 1 1
IN2 0 1 0 1
Output OUT 0 0 1 0
D030327E.EPS
CMP-EQ: Comparator
It compares the logic values of input 1 and input 2. It gives an output 1 when input 1 is equal
to input 2, otherwise it gives an output 0.
One Comparator operation is counted as two logic operation elements.
D030328E.EPS
Figure CMP-GT symbol
Table CMP-EQ Truth Table
Input
IN1 0 0 1 1
IN2 0 1 0 1
Output OUT 1 0 0 1
D030329E.EPS
10th Edition : Dec.18,2003-00
<D3.3 Logic Chart Block (LC64)> D3-119
IM 33S01B30-01E
Execution Order of Logic Calculation
The Execution Order indicates in which order logic elements in logic charts are executed,
which includes Matrix Expansion and Manual Expansion.
Matrix expansion
Logic operators in logic charts are executed from the left column to the right, and from
the upper element to the lower in the same column.
Manual expansion
The execution order automatically assigned to the logic operation elements according
to their position can be manually changed.
The execution order of logic operation elements can be specified on the logic chart edit
window. The default setting for the execution order is matrix expansion.
10th Edition : Dec.18,2003-00
D3-120 <D3.3 Logic Chart Block (LC64)>
IM 33S01B30-01E
D3.3.6 Output Processing of Logic Chart
The output processing of the logic chart gives an action signal to the operation
target. The action signal is the result availed from the logic calculation processing.
Output Processing of Logic Chart
The output processing of the logic chart performs status manipulation to the specified
output terminal in accordance with the action signal. The action signal is availed from the
True or False result of the logic calculation in the logic chart function block.
When the action signal is specified to a function block to be one-shot started, the block will
be one-shot started when the action signal is output to it.
When output to the one-shot function block fails, and the failure is caused by one of the
following reasons, a system alarm will be triggered.
In the action column of the destination sequence table, the output signal is output to
another logic chart. Moreover, the output is redirected to another logic chart. The
output is nested more than 7 times.
The function block connected to the output terminal is in O/S mode.
The function block connected to the output terminal is udder online maintenance.
When the output action is to set a datum or to change status, if the connected destination, a
block or an element, is under online maintenance, the output will be skipped then the
processing continues.
When the output action is to change the block mode of the connected destination block, if
the output processing has an error, the status change of the connected destination block
will not be performed.
For the logic chart that has multiple output terminals, each terminal outputs the action
signal in accordance with logic calculation True or False result related to the terminal.
10th Edition : Dec.18,2003-00
<D3.3 Logic Chart Block (LC64)> D3-121
IM 33S01B30-01E
D3.3.7 Condition Signal Description: Referencing Other Function
Blocks and I/O Data
Various types of data, block mode and status can be referenced for condition test
performed in logic chart. I/O data including the process I/O, software I/O, and com-
munication I/O can also be referenced.
Function Blocks and I/O Data that can be Referenced from Logic Chart
Function blocks that can be referenced from logic chart are shown below.
Switch instrument blocks
Timer Block (TM)
Software Counter Block (CTS)
Pulse Train Input Counter Block (CTP)
Code Input Block (CI)
Code Output Block (CO)
Relational Expression Block (RL)
Resource Scheduler Block (RS)
Valve Monitoring Block (VLVM)
Regulatory Control Blocks
Calculation Blocks
Faceplate Blocks
SFC Blocks
Unit Instrument Blocks
Sequence Table Blocks
Logic Chart Blocks
The following I/O data can also be referenced from logic chart.
Processing I/O (contact I/O)
Software I/O (internal switch, annunciator message)
Communication I/O
The following points should be taken into consideration when referencing a logic chart
block mode.
When O/S is specified as the condition specification for block mode reference, the test
result will be False when the block is in the compound block mode, i.e., O/S and
another basic block mode exist simultaneously.
When MAN or AUT is specified as the condition specification for block mode refer-
ence, the test result is True even in the compound block mode as long as the specified
basic block mode exists.
10th Edition : Dec.18,2003-00
D3-122 <D3.3 Logic Chart Block (LC64)>
IM 33S01B30-01E
Referencing Switch Instrument Block and Enhanced Switch Instrument
Block
The syntax for applying the various types of data and data status of a switch instrument
block and enhanced switch instrument block as condition test reference signal in a logic
chart and the True/False representation in the logic chart are shown as follows.
Table Syntax for Condition Signal Description and True/False Representation (1/2)
Condition signal description column
True/false Satisfiable condition
Input signal Condition specification
Element symbol.PV. 0, 1, 2
True Answerback value matches specification
False Answerback value does not match specification
Element symbol.PV= Data status
True Data status matches specification
False Data status does not match specification
Element symbol.MV. 0, 1, 2
True Output value matches specification
False Output value does not match specification
Element symbol.MV= Data status
True Data status matches specification
False Data status does not match specification
Element symbol.TSW. 0,1
True Tracking switch in specified state
False Tracking switch not in specified state
Element symbol.TSW= Data status
True Tracking switch in specified state
False Tracking switch not in specified state
Element symbol.BSW. 0, 1
True Backup switch in specified state
False Backup switch not in specified state
Element symbol.MODE.
AUT, MAN, CAS,
ROUT, TRK, O/S
True Block mode matches specification
False Block mode does not match specification
Element symbol.BSTS. NR, SIM, ANCK
True Block status matches specification
False Block status does not match specification
D030330E.EPS
Element symbol.XMODE.
BUM
True Block is in ROUT (MAN) mode
False Block is not in ROUT (MAN) mode
BUA
True Block is in ROUT (AUT) mode
False Block is not in ROUT (AUT) mode
BUC
True Block is in ROUT (CAS) mode
False Block is not in ROUT (CAS) mode
10th Edition : Dec.18,2003-00
<D3.3 Logic Chart Block (LC64)> D3-123
IM 33S01B30-01E
Table Syntax for Condition Signal Description and True/False Representation (2/2)
Condition signal description column
True/
false
Satisfiable condition
Input signal Condition specification
Element symbol.ALRM.
NR, IOP, OOP, ANS+
ANS-, PERR, CNF
True Specified alarm occurring
False No occurrence of specified alarm
Element symbol.AFLS.
PERR, AFL (*1), NR,
IOP, OOP, ANS+, ANS-,
CNF
True Specified alarm in flashing state
False Specified alarm in non-flashing state
Element symbol.AF.
NR, IOP, OOP, ANS+
ANS-, PERR, CNF
True Canceling the specified alarm detection
False Detecting the specified alarm
Element symbol.AOFS.
NR, IOP, OOP, ANS+
CNF, ANS-, PERR,
AOF (*2)
True Suppressing the specified alarm
False Canceling the specified alarm in suppression
Element symbol.CSV 0, 1, 2
True Sequence setpoint value matches specification
False Sequence setpoint value does not match specification
Element symbol.CSV= Data status
True Data status matches specification
False Data status does not match specification
Element symbol.RMV 0, 1, 2
True Remote manipulated output value matches specification
False Remote manipulated output value does not match specification
Element symbol.RMV= Data status
True Data status matches specification
False Data status does not match specification
Element symbol.BPSW. 0, 1
True Bypass switch in specified state
False Bypass switch not in specified state
Element symbol.BPSW= Data status
True Data status matches specification
False Data status does not match specification
D030331E.EPS
Element symbol.XALRM. IOP
True Alarm is in IOP or IOP- status.
False Alarm is in neither IOP nor IOP- status.
Element symbol.XAF. IOP
True IOP or IOP- detection is disabled
False IOP and IOP- detection is enabled
*1: The condition specification of the AFL is the reference in all flashing state.
*2: The condition specification of the AOF is the reference in all suppressing alarm state.
10th Edition : Dec.18,2003-00
D3-124 <D3.3 Logic Chart Block (LC64)>
IM 33S01B30-01E
Referencing Timer Block (TM)
The syntax for applying the various types of data and data status of a timer (TM) block as
condition test reference signal in a logic chart and the True/False representation in the logic
chart are shown as follows.
Table Syntax for Condition Signal Description and True/False Representation
Condition signal description column
True/false Satisfiable condition
Input signal Condition specification
Element symbol.MODE. AUT, O/S
True Block mode matches specification
False Block mode does not match specification
Element symbol.BSTS.
STOP, RUN, PAUS,
NR, PALM, CTUP
True Block status in specified state
False Block status not in specified state
Element symbol.ALRM. NR
True Alarm status in specified state
False Alarm status not in specified state
Element symbol.AFLS. AFL (*1), NR
True Specified alarm in flashing state
False Specified alarm in non-flashing state
Element symbol.AF. NR
True Canceling the specified alarm detection
False Detecting the specified alarm
Element symbol.AOFS. NR, AOF (*2)
True Suppressing the specified alarm
False Canceling the specified alarm in suppression
D030332E.EPS
*1: The condition specification of the AFL is the reference in all flashing state.
*2: The condition specification of the AOF is the reference in all suppressing alarm state.
Referencing Software Counter Block (CTS)
The syntax for applying the various types of data and data status of a software counter
(CTS) block as condition test reference signal in a logic chart and the True/False represen-
tation in the logic chart are shown as follows.
Table Syntax for Condition Signal Description and True/False Representation
Condition signal description column
True/false Satisfiable condition
Input signal Condition specification
Element symbol.MODE. AUT, O/S
True Block mode matches specification
False Block mode does not match specification
Element symbol.BSTS.
STOP, RUN, NR,
PALM, CTUP
True Block status in specified state
False Block status not in specified state
D030333E.EPS
10th Edition : Dec.18,2003-00
<D3.3 Logic Chart Block (LC64)> D3-125
IM 33S01B30-01E
Referencing Pulse Train Input Counter Block (CTP)
The syntax for applying the various types of data and data status of a pulse train input
counter (CTP) block as condition test reference signal in a logic chart and the True/False
representation in the logic chart are shown as follows.
Table Syntax for Condition Signal Description and True/False Representation
Condition signal description column
True/false Satisfiable condition
Input signal
Condition
specification
Element symbol.MODE. AUT, O/S
True Block mode matches specification
False Block mode does not match specification
Element symbol.BSTS.
STOP, RUN, PAUS,
NR, PALM, CTUP
True Block status in specified state
False Block status not in specified state
Element symbol.ALRM. CNF, NR, IOP
True Alarm status in specified state
False Alarm status not in specified state
Element symbol.AFLS.
True Specified alarm in flashing state
False Specified alarm in non-flashing state
Element symbol.AF. CNF, NR, IOP
True Canceling the specified alarm detection
False Detecting the specified alarm
Element symbol.AOFS.
True Suppressing the specified alarm
False Canceling the specified alarm in suppression
Element symbol.PV= Data status
True Data status matches specification
False Data status does not match specification
D030334E.EPS
Element symbol.XALRM. IOP
True Alarm is in IOP or IOP- status.
False Alarm is in neither IOP nor IOP- status.
Element symbol.XAF. IOP
True IOP or IOP- detection is disabled.
False IOP and IOP- detection is enabled.
AFL (*1), CNF, NR,
IOP
CNF, NR, IOP,
AOF (*2)
*1: The condition specification of the AFL is the reference in all flashing state.
*2: The condition specification of the AOF is the reference in all suppressing alarm state.
10th Edition : Dec.18,2003-00
D3-126 <D3.3 Logic Chart Block (LC64)>
IM 33S01B30-01E
Referencing Code Input Block (CI)
The syntax for applying the various types of data and data status of a code input (CI) block
as condition test reference signal in a logic chart and the True/False representation in the
logic chart are shown as follows.
Table Syntax for Condition Signal Description and True/False Representation
Condition signal description column
True/false Satisfiable condition
Input signal Condition specification
Element symbol.MODE. AUT, O/S
True Block mode matches specification
False Block mode does not match specification
Element symbol.BSTS. NR, LO, HI, ERR
True Block status matches specification
False Block status does not match specification
Element symbol.PV= Data status
True Data status matches specification
False Data status does not match specification
D030335E.EPS
Referencing Code Output Block (CO)
The syntax for applying the various types of data and data status of a code output (CO)
block as condition test reference signal in a logic chart and the True/False representation in
the logic chart are shown as follows.
Table Syntax for Condition Signal Description and True/False Representation
Condition signal description column
True/false Satisfiable condition
Input signal Condition specification
Element symbol.MODE. AUT, O/S
True Block mode matches specification
False Block mode does not match specification
Element symbol.BSTS. NR, LO, HL
True Block status matches specification
False Block status does not match specification
Element symbol.PV= Data status
True Data status matches specification
False Data status does not match specification
D030336E.EPS
10th Edition : Dec.18,2003-00
<D3.3 Logic Chart Block (LC64)> D3-127
IM 33S01B30-01E
Referencing Relational Expression Block (RL)
The syntax for applying the various types of data and data status of a relational expression
(RL) block as condition test reference signal in a logic chart and the True/False representa-
tion in the logic chart are shown as follows.
Table Syntax for Condition Signal Description and True/False Representation
Condition signal description column
True/false Satisfiable condition
Input signal
Condition
specification
Element symbol.X01 to 16.
EQ, GT, GE,
LT, LE, AND
True Relationship of two data in specified state
False Relationship of two data not in specified state
D030337E.EPS
The Meanings of the condition specifications are as follows:
Table Meanings of the Condition Specifications
Symbol
EQ
GT
LT
AND
D030338E.EPS
Meanings Name
Data 1 = data 2
Data 1 > data 2
Data 1 data 2
Data 1 < data 2
Data 1 data 2
The logic product of each pair of bits in data 1 and data 2 Logical product
Less than or equal to
Less than
Great than or equal to
Greater than
Equal to
GE
LE
Referencing Resource Scheduler Block (RS)
The syntax for applying the various types of data and data status of a resource scheduler
(RS) block as condition test reference signal in a logic chart and the True/False representa-
tion in the logic chart are shown as follows.
Table Syntax for Condition Signal Description and True/False Representation
Condition signal description column
True/false Satisfiable condition
Input signal
Condition
specification
Element symbol.MODE. AUT, O/S
True Block mode matches specification
False Block mode does not match specification
Element symbol.RQ01 to 32. 0, 1
True
Usage request state matches specification
(0: No request 1: Requesting)
False Usage state does not match specification
Element symbol.PM01 to 32 0, 1
True
Permission state matches specification
(0: No permission 1: Permitted)
False
Permission state does not match
specification
Element symbol.PMH. 0 to 32
True
Maximum allowable number matches
specification
False
Maximum allowable number does not match
specification
D030339E.EPS
10th Edition : Dec.18,2003-00
D3-128 <D3.3 Logic Chart Block (LC64)>
IM 33S01B30-01E
Referencing Valve Monitoring Block (VLVM)
The syntax for applying the various types of data and data status of a Valve Monitoring
(VLVM) Block as condition test reference signal in a logic chart and the True/False repre-
sentation in the logic chart are shown as follows.
Table Syntax for Condition Signal Description and True/False Representation
Condition signal description column
True/false Satisfiable condition
Input signal
Condition
specification
Element symbol.MODE.
AUT,
O/S
True Block mode matches specification
False Block mode does not match specification
Element symbol.ALRM. NR
True Specified alarm occurring
False No occurrence of specified alarm
Element symbol.AFLS.
NR,
AFL (*1)
True Specified alarm in flashing state
False Specified alarm in non-flashing state
Element symbol.AF. NR
True Canceling the specified alarm detection
False Detecting the specified alarm
Element symbol.AOFS.
NR,
AOF (*2)
True Suppressing the specified alarm
False Canceling the specified alarm in suppression
Element symbol.PV01 to 16. 0, 1
True
Valve abnormal matches specification
(0: Normal 1: Error)
False Valve abnormal does not match specification
Element symbol.PVR. 0, 1
True
Representative valve abnormal matches
specification
(0: All valves normal 1: At least one error
occurred)
False
Representative valve abnormal does not match
specification
Element symbol.MCSW. 0, 1
True
Message suppression matches specification
(0: Not suppressed 1: Suppressed)
False Message suppression does not match specification
D030340E.EPS
*1: The condition specification of the AFL is the reference in all flashing state.
*2: The condition specification of the AOF is the reference in all suppressing alarm state.
10th Edition : Dec.18,2003-00
<D3.3 Logic Chart Block (LC64)> D3-129
IM 33S01B30-01E
Referencing Regulatory Control Block
The syntax for applying the block mode, block status, alarm status and data status of a
regulatory control block as condition test reference signal in a logic chart and the True/
False representation in the logic chart are shown as follows.
Table Syntax for Condition Signal Description and True/False Representation
Condition signal description column
True/false Satisfiable condition
Input signal Condition specification
Element symbol.MODE. Block mode
True Block mode in specified state
False Block mode not in specified state
Element symbol.BSTS. Block status
True Block status in specified state
False Block status not in specified state
Element symbol.ALRM. Alarm status
True Specified alarm occurring
False No occurrence of specified alarm
Element symbol.AFLS.
Alarm status,
AFL (*1)
True Specified alarm in flashing state
False Specified alarm in non-flashing state
Element symbol.AF. Alarm status
True Canceling the specified alarm detection
False Detecting the specified alarm
Element symbol.AOFS.
Alarm status,
AOF (*2)
True Suppressing the specified alarm
False Canceling the specified alarm in suppression
Element symbol, Data item. Data value
True Data value matches specification
False Data value does not match specification
Element symbol, Data item= Data status
True Data status matches specification
False Data status does not match specification
D030341E.EPS
BUC
True Block is in ROUT (CAS) or RCAS (CAS) mode.
False Block is not in ROUT (CAS) or RCAS (CAS) mode.
BUA
True Block is in ROUT (AUT) or RCAS (AUT) mode.
False Block is not in ROUT (AUT) or RCAS (AUT) mode.
Element symbol.XMODE.
BUM
True Block is in ROUT (MAN) or RCAS (MAN) mode.
False Block is not in ROUT (MAN) or RCAS (MAN) mode.
Element symbol.XALRM.
IOP
True Alarm is in IOP or IOP- status.
False Alarm is in neither IOP nor IOP- status.
VEL
True Alarm is in VEL or VEL- status.
False Alarm is in neither VEL nor VEL- status.
Element symbol.XAF. IOP
True IOP or IOP- detection is disabled.
False IOP and IOP- detection is enabled.
*1: The condition specification of the AFL is the reference in all flashing state.
*2: The condition specification of the AOF is the reference in all suppressing alarm state.
10th Edition : Dec.18,2003-00
D3-130 <D3.3 Logic Chart Block (LC64)>
IM 33S01B30-01E
Data Items of Regulatory Control Blocks for Condition Test
The data items of the regulatory control blocks and the range of the data values that can be
put in the condition column for condition test are listed as follows.
Table Data Items of Regulatory Control Blocks and Range of Data Values for Condition Test (1/3)
Block code Name Data item Setting range
PID PID Controller Block
TSW 0, 1
CSW 0, 1
PSW 0 to 3
RSW 0, 1
BSW 0, 1
PI-HLD Sampling PI Controller Block
TSW 0, 1
CSW 0, 1
PSW 0 to 3
RSW 0, 1
BSW 0, 1
PID-BSW PID Controller Block with Batch Switch
TSW 0, 1
CSW 0, 1
PSW 0 to 3
RSW 0, 1
BSW 0, 1
PID-TP Time-Proportioning ON/OFF Controller Block
CSW 0, 1
PSW 0 to 3
BSW 0, 1
ONOFF 2-Position ON/OFF Controller Block
PSW 0 to 3
BSW 0, 1
ONOFF-G 3-Position ON/OFF Controller Block
PSW 0 to 3
BSW 0, 1
PD-MR PD Controller Block with Manual Reset
TSW 0, 1
PSW 0 to 3
RSW 0, 1
BSW 0, 1
PI-BLEND Blending PI Controller Block
TSW 0, 1
PSW 0 to 3
RSW 0, 1
BSW 0, 1
RST 0, 1
Block code Name Data item Setting range
D030342E.EPS
ONOFF-E Enhanced 2-Position ON/OFF Controller Block
PSW 0 to 3
BSW 0, 1
ONOFF-GE Enhanced 3-Position ON/OFF Controller Block
PSW 0 to 3
BSW 0, 1
10th Edition : Dec.18,2003-00
<D3.3 Logic Chart Block (LC64)> D3-131
IM 33S01B30-01E
Table Data Items of Regulatory Control Blocks and Range of Data Values for Condition Test (2/3)
Block code Name Data item Setting range
MLD Manual Loader Block
TSW 0, 1
RSW 0, 1
MLD-PVI Manual Loader Block with Input Indicator
TSW 0, 1
RSW 0, 1
MLD-SW Manual Loader Block with Auto/Man SW
TSW 0, 1
PSW 0 to 3
RSW 0, 1
MC-2 2-Position Motor Control Block
TSW 0, 1
BSW 0, 1
BPSW 0 to 4
SIMM 0 to 1
CSV 0 to 2
PV 0 to 2
MV 0 to 2
MC-3 3-Position Motor Control Block
TSW 0, 1
BSW 0, 1
BPSW 0 to 4
SIMM 0 to 1
CSV 0 to 2
PV 0 to 2
MV 0 to 2
Block code Name Data item Setting range
D030343E.EPS
MC-2E Enhanced 2-Position Motor Control Block
TSW 0, 1
BSW 0, 1
BPSW 0 to 4
SIMM 0 to 1
CSV 0 to 2
PV 0 to 2
MV 0 to 2
MC-3E Enhanced 3-Position Motor Control Block
TSW 0, 1
BSW 0, 1
BPSW 0 to 4
SIMM 0 to 1
CSV 0 to 2
PV 0 to 2
MV 0 to 2
PID-STC Self-Tuning PID Controller Block
TSW 0, 1
CSW 0, 1
PSW 0 to 3
RSW 0, 1
BSW 0, 1
STC -1 to 3
10th Edition : Dec.18,2003-00
D3-132 <D3.3 Logic Chart Block (LC64)>
IM 33S01B30-01E
Table Data Items of Regulatory Control Blocks and Range of Data Values for Condition Test (3/3)
Block code Name Data item Setting range
Block code Name Data item Setting range
BSETU-2 Flow-Totalizing Batch Set Block
SW 0 to 4
EMSW 0, 1
ZONE 0 to 11
BSETU-3 Weight-Totalizing Batch Set Block
SW 0 to 4
EMSW 0, 1
ZONE 0 to 11
VELLIM Velocity Limiter Block
PSW 0 to 3
BSW 0, 1
BPSW 0, 1
SS-H/M/L Signal Selector Block
SW 0 to 4
SEL 0 to 3
AS-H/M/L Autoselector Block
PSW 0 to 3
SW 0 to 4
SEL 0 to 3
SS-DUAL Dual-Redundant Signal Selector Block
SW 1 to 3
SEL 1 to 2
FFSUM Feedforward Signal Summing Block
TSW 0, 1
PSW 0 to 3
FSW 0, 1
RSW 0, 1
XCPL Non-Interference Control Output Block
TSW 0, 1
PSW 0 to 3
RSW 0, 1
SPLIT Control Signal Splitter Block
BSW 0, 1
SW 0 to 2
ALM-R Representative Alarm Block
SW 0 to 5
SV 0 to 15
D030344E.EPS
SBSD YS Instrument Batch Set Station Block
SLBC YS Instrument Batch Controller Block
SV 0 to 8
SV 0 to 8
RATIO Ratio Set Block
TSW 0, 1
PSW 0 to 3
RSW 0, 1
BSW 0, 1
PG-L13 13-Zone Program Set Block
ZONE 1 to 13
ZSTR 1 to 13
ZEND 1 to 13
10th Edition : Dec.18,2003-00
<D3.3 Logic Chart Block (LC64)> D3-133
IM 33S01B30-01E
Referencing Calculation Block
The syntax for applying the block mode, block status, alarm status and data status of a
calculation block as condition test reference signal in a logic chart and the True/False
representation in the logic chart are shown as follows.
Table Syntax for Condition Signal Description and True/False Representation
Condition signal description column
True/false Satisfiable condition
Input signal
Condition
specification
Element symbol.MODE. AUT, O/S
True Block mode matches specification
False Block mode does not match specification
Element symbol.BSTS. Block status
True Block status matches specification
False Block status does not match specification
Element symbol.ALRM. CNF, NR
True Alarm status in specified state
False Alarm status not in specified state
Element symbol.AFLS.
Alarm status,
AFL (*1)
True Specified alarm in flashing state
False Specified alarm in non-flashing state
Element symbol.AF. CNF, NR
True Canceling the specified alarm detection
False Detecting the specified alarm
Element symbol.AOFS.
CNF, NR,
AOF (*2)
True Suppressing the specified alarm
False Canceling the specified alarm in suppression
Element symbol.ACT. ON
True Calculation execution result is not 0
False Calculation execution result is 0
Element symbol.Data item. Data value (*3)
True Data value matches specification
False Data value does not match specification
Element symbol.Data item= Data status
True Data status of specified data matches
False Data status of specified data does not match
D030345E.EPS
Element symbol.XALRM.
IOP
True Alarm is in IOP or IOP- status.
False Alarm is in neither IOP nor IOP- status.
VEL
True Alarm is in VEL or VEL- status.
False Alarm is in neither VEL nor VEL- status.
Element symbol.XAF. IOP
True IOP or IOP- detection is disabled.
False IOP and IOP- detection is enabled.
*1: The condition specification of the AFL is the reference in all flashing state.
*2: The condition specification of the AOF is the reference in all suppressing alarm state.
*3: Only integers can be handled as data values, When the data type of the data item is a floating-point type, the compari-
son is made by rounding off the value.
10th Edition : Dec.18,2003-00
D3-134 <D3.3 Logic Chart Block (LC64)>
IM 33S01B30-01E
Data Items of Calculation Blocks for Condition Test
The data items of the calculation blocks and the range of the data values that can be put in
the condition column for condition test are listed as follows.
Table Data Items of Calculation Blocks and Range of Data Values for Condition Test (1/2)
Block code Name Data item Setting range
DLAY Dead-Time Block
RST 0, 1 DLAY-C Dead-Time Compensation Block
AVE-M Moving-Average Block
INTEG Integration Block
SW 0, 1, 2
AVE-C Cumulative-Average Block
SW-33
Three-Pole Three-Position Selector
Switch Block
SW 0 to 3
BDSET-1L One-Batch Data Set Block
SW 0 to 3
BDSET-1C One-Batch String Data Set Block
BDSET-2L Two-Batch Data Set Block
BDSET-2C Two-Batch String Data Set Block
SW-91 One-Pole Nine-Position Selector Switch Block SW 0 to 9
SW 0 to 16
DSW-16C Selector Switch Block for 16 String Data
BDA-L Batch Data Acquisition Block
SW 0 to 17
BDA-C Batch String Data Acquisition Block
D030346E.EPS
DSW-16 Selector Switch Block for 16 Data
10th Edition : Dec.18,2003-00
<D3.3 Logic Chart Block (LC64)> D3-135
IM 33S01B30-01E
Table Data Items of Calculation Blocks and Range of Data Values for Condition Test (2/2)
Block code Name Data item Setting range
Block code Name Data item Setting range
AND Logical AND Block
RV1 0, 1
RV1 0, 1
RV2 0, 1
CPV 0, 1
OR Logical OR Block
NOT Logical NOT Block
SRS1-S Set-Dominant Flip-Flop Block with 1 Output
RV1 0, 1
SRS1-R Reset-Dominant Flip-Flop Block with 1 Output
SRS2-S Set-Dominant Flip-Flop Block with 2 Outputs
RV1 0, 1
D030347E.EPS
RV2 0, 1
CPV 0, 1
RV 0, 1
CPV 0, 1
RV2 0, 1
CPV 0, 1
RV2 0, 1
CPV1 0, 1
CPV2 0, 1
RV2 0, 1
CPV 0, 1
RV1 0, 1
SRS2-R Reset-Dominant Flip-Flop Block with 2 Outputs
RV2 0, 1
CPV1 0, 1
CPV2 0, 1
RV1 0, 1
WOUT Wipeout Block
RV2 0, 1
CPV 0, 1
RV1 0, 1
OND ON-Delay Timer Block
CPV 0, 1
RV 0, 1
OFFD OFF-Delay Timer Block
CPV 0, 1
RV 0, 1
TON One-Shot Block (Rising-Edge Trigger)
CPV 0, 1
RV 0, 1
TOFF One-Shot Block (Falling-Edge Trigger)
0, 1
0, 1
GT Comparator Block (Greater Than) 0, 1
GE Comparator Block (Greater Than or Equal) 0, 1
EQ Equal Operator Block 0, 1
CPV
CPV
CPV
CPV
RV
*1: Only applicable to CS 3000.
10th Edition : Dec.18,2003-00
D3-136 <D3.3 Logic Chart Block (LC64)>
IM 33S01B30-01E
Calculation Blocks whose Results can be Referenced by One-Shot
Execution
The one-shot executable calculation blocks whose calculation results can be referenced for
condition test with element symbol. ACT.ON script are shown as follows.
Table One-Shot Executable Blocks for Condition Test
Block type Block code Name
Arithmetic Calculation
ADD Addition Block
MUL Multiplication Block
DIV Division Block
CALCU General-Purpose Calculation Block
General-Purpose Calculation Block with String I/O
D030348E.EPS
Logic Operation
Blocks (*1)
AND Logical AND Block
Averaging Block AVE
OR Logical OR Block
NOT Logical NOT Block
SRS1-R Reset-Dominant Flip-Flop Block with 1 Output
Set-Dominant Flip-Flop Block with 1 Output SRS1-S
SRS2-S Set-Dominant Flip-Flop Block with 2 Outputs
WOUT Wipeout Block
Reset-Dominant Flip-Flop Block with 2 Outputs SRS2-R
GT Comparator Block (Greater Than)
EQ Equal Operator Block
Comparator Block (Greater Than or Equal) GE
BAND Bitwise AND Block
BNOT Bitwise NOT Block
Bitwise OR Block BOR
General-Purpose
Calculation
CALCU-C
*1: Only applicable to CS 3000.
10th Edition : Dec.18,2003-00
<D3.3 Logic Chart Block (LC64)> D3-137
IM 33S01B30-01E
Referencing Faceplate Block
The syntax for applying the various types of data and data status of a faceplate block as
condition test reference signal in a logic chart and the True/False representation in the logic
chart are shown as follows.
Table Syntax for Condition Signal Description and True/False Representation (1/2)
Condition signal description column
True/
false
Satisfiable condition
Input signal Condition specification
Element symbol.MODE. Block mode
True Block mode in specified state
False Block mode not in specified state
Element symbol.BSTS. Block status
True Block status in specified state
False Block status not in specified state
Element symbol.ALRM. Alarm status
True Specified alarm occurring
False No occurrence of specified alarm
Element symbol.AFLS.
Alarm status,
AFL (*1)
True Specified alarm in flashing state
False Specified alarm in non-flashing state
Element symbol.AF. Alarm status
True Canceling the specified alarm detection
False Detecting the specified alarm
Element symbol.AOFS.
Alarm status,
AOF (*2)
True Suppressing the specified alarm
False Canceling the specified alarm in suppression
Element symbol.SV.
1 to 99
(Valid only for
BSI blocks)
True Batch step number matches specification
False Batch step number does not match specification
Element symbol.PV01 to 10. 0, 1
True Operation command matches specification
False Operation command does not match specification
Element symbol.Data item= Data status
True Data status matches specification
False Data status does not match specification
D030349E.EPS
BUC
True Block is in ROUT (CAS) or RCAS (CAS) mode.
False Block is not in ROUT (CAS) or RCAS (CAS) mode.
BUA
True Block is in ROUT (AUT) or RCAS (AUT) mode.
False Block is not in ROUT (AUT) or RCAS (AUT) mode.
Element symbol.XMODE.
BUM
True Block is in ROUT (MAN) or RCAS (MAN) mode.
False Block is not in ROUT (MAN) or RCAS (MAN) mode.
IOP
True Alarm is in IOP or IOP- status.
False Alarm is in neither IOP nor IOP- status.
Element symbol.XALRM.
VEL
True Alarm is in VEL or VEL- status.
False Alarm is in neither VEL nor VEL- status.
Element symbol.XAF. IOP
True IOP or IOP- detection is disabled.
False IOP and IOP- detection is enabled.
*1: The condition specification of the AFL is the reference in all flashing state.
*2: The condition specification of the AOF is the reference in all suppressing alarm state.
10th Edition : Dec.18,2003-00
D3-138 <D3.3 Logic Chart Block (LC64)>
IM 33S01B30-01E
Table Syntax for Condition Signal Description and True/False Representation (2/2)
Condition signal description column
True/
false
Satisfiable condition
Input signal (*1) Condition specification
Element symbol.SWCR[1 to n]. 0 to 15
True Switch display color matches specification
False Switch display color does not match specification
Element symbol.SWST[1 to n]. 0, 1
True Switch flashing status matches specification
False Switch flashing status does not match specification
Element symbol.SWOP[1 to n]. -15 to 15
True Switch operation prohibited status matches specification
False Switch operation prohibited status does not match specification
D0303A0E.EPS
*1: n indicates the number of elements in a one-dimensional array. This is the number of push-button switches in a
faceplate block, and varies with the type of each faceplate block.
Referencing SFC Block
The syntax for applying the various types of data and data status of a SFC block as condi-
tion test reference signal in a logic chart and the True/False representation in the logic chart
are shown as follows.
Table Syntax for Condition Signal Description and True/False Representation
Condition signal description column
True/false Satisfiable condition
Input signal
Condition
specification
Element symbol.MODE.
MAN, SWMI,
AUT, O/S
True Block mode in specified state
False Block mode not in specified state
Element symbol.BSTS.
RUN, PAUS,
STOP, ABRT
True Block status in specified state
False Block status not in specified state
Element symbol.ALRM. Alarm status
True Specified alarm occurring
False No occurrence of specified alarm
Element symbol.AFLS.
Alarm status,
AFL (*1)
True Specified alarm in flashing state
False Specified alarm in non-flashing state
Element symbol.AF. Alarm status
True Canceling the specified alarm detection
False Detecting the specified alarm
Element symbol.AOFS.
Alarm status,
AOF (*2)
True Suppressing the specified alarm
False Canceling the specified alarm in suppression
Element symbol.Dataitem. Data value
True Data value matches specification
False Data value does not match specification
Element symbol.Dataitem= Data status
True Data status matches specification
False Data status does not match specification
D030350E.EPS
*1: The condition specification of the AFL is the reference in all flashing state.
*2: The condition specification of the AOF is the reference in all suppressing alarm state.
Range of Data Value When Referencing the Data Items for Condition Test
The ranges of data values when referencing SFC data items in a logic chart for condition
test are shown as follows.
STEPNO: 1 to 99
SWCR[5]: 0 to 15
SWST[5]: 0, 1
SWOP[5]: -15 to 15
10th Edition : Dec.18,2003-00
<D3.3 Logic Chart Block (LC64)> D3-139
IM 33S01B30-01E
Referencing Unit Instrument
The syntax for applying the various types of data and data status of a unit instrument block
as condition test reference signal in a logic chart and the True/False representation in the
logic chart are shown as follows.
Table Syntax for Condition Signal Description and True/False Representation
Condition signal description column
True/false Satisfiable condition
Input signal
Condition
specification
Element symbol.MODE.
MAN,SEMI,
AUT,O/S
True Unit mode in specified state
False Unit mode not in specified state
Element symbol.BSTS. Unit status
True Unit status in specified state
False Unit status not in specified state
Element symbol.ALRM. Alarm status
True Specified alarm occurring
False No occurrence of specified alarm
Element symbol.AFLS.
Alarm status,
AFL (*1)
True Specified alarm in flashing state
False Specified alarm in non-flashing state
Element symbol.AF. Alarm status
True Canceling the specified alarm detection
False Detecting the specified alarm
Element symbol.AOFS.
Alarm status,
AOF (*2)
True Suppressing the specified alarm
False Canceling the specified alarm in suppression
Element symbol.STEPNO. 1 to 99
True SFC step number matches specification
False
SFC step number does not match
specification
D030351E.EPS
*1: The condition specification of the AFL is the reference in all flashing state.
*2: The condition specification of the AOF is the reference in all suppressing alarm state.
Referencing Process I/O
The syntax for applying the various types of data and data status of a process I/O as
condition test reference signal in a logic chart and the True/False representation in the logic
chart are shown as follows.
Table Syntax for Condition Signal Description and True/False Representation
Condition signal description column
True/false Satisfiable condition
Input signal
Condition
specification
Element symbol.PV. ON, OFF
True
Contact I/O ON/OFF state matches
specification
False
Contact I/O ON/OFF state does not match
specification
Element symbol.PV= Data status
True Contact I/O data status matches specification
False
Contact I/O data status does not match
specification
D030352E.EPS
10th Edition : Dec.18,2003-00
D3-140 <D3.3 Logic Chart Block (LC64)>
IM 33S01B30-01E
Referencing Global Switch
The syntax for applying the various types of data and data status of a global switch as
condition test reference signal in a logic chart and the True/False representation in the logic
chart are shown as follows.
Table Syntax for Condition Signal Description and True/False Representation
Condition signal description column
True/false Satisfiable condition
Input signal
Condition
specification
Element symbol.PV. ON, OFF
True Specified global switch status is True.
False Specified global switch status is False.
Element symbol.PV= BAD
True Data status of global switch is BAD.
False Data status of global switch is not BAD.
D030353E.EPS
Referencing Common Switch
The syntax for applying the data of a common switch as condition test reference signal in a
logic chart and the True/False representation in the logic chart are shown as follows.
Table Syntax for Condition Signal Description and True/False Representation
Condition signal description column
True/false Satisfiable condition
Input signal
Condition
specification
Element symbol.PV. ON, OFF
True
Specified internal status switch ON/OFF state
matches specification
False
Specified internal status switch ON/OFF state
does not match specification
D030354E.EPS
10th Edition : Dec.18,2003-00
<D3.3 Logic Chart Block (LC64)> D3-141
IM 33S01B30-01E
Referencing Annunciator Message
The syntax for applying the various types of data and data status of an annunciator mes-
sage as condition test reference signal in a logic chart and the True/False representation in
the logic chart are shown as follows.
Table Syntax for Condition Signal Description and True/False Representation
Condition signal description column
True/false Satisfiable condition
Input signal
Condition
specification
Element symbol.PV. ON, OFF
True
Annunciator occurrence state matches
specification
(On: Occurred OFF: No occurrence)
False
Annunciator occurrence state does not match
specification
Element symbol.AFLS. AFL
True Flashing state
False Steady state (non-flashing state)
Element symbol.AOFS. AOF
True Alarm suppressing state
False Steady state (non-alarm suppressing state)
Element symbol.RP ON, OFF
True
Repeated warning status is consistent with
specification
(ON: Wait for repeated warning OFF: NR)
False
Repeated warning state is not consistent with
specification
D030355E.EPS
Referencing Communication I/O
The syntax for applying the various types of data and data status of a Communication I/O
as condition test reference signal in a logic chart and the True/False representation in the
logic chart are shown as follows.
Table Syntax for Condition Signal Description and True/False Representation
Condition signal description column
True/false Satisfiable condition
Input signal
Condition
specification
Element symbol.PV. ON, OFF
True
Specified bit ON/OFF state matches
specification
False
Specified bit ON/OFF state does not match
specification
Element symbol.PV= Data status
True
Specified bit data status matches
specification
False
Specified bit data status does not match
specification
D030356E.EPS
10th Edition : Dec.18,2003-00
D3-142 <D3.3 Logic Chart Block (LC64)>
IM 33S01B30-01E
D3.3.8 Syntax for Condition Signal Description: Referencing
Logic Chart
When referencing a logic chart for condition test, a block mode and an alarm status
of a logic chart can be used as a reference signal in other logic charts.
Referencing Logic Chart Block Mode
The specified logic chart block mode can be used as reference signal in logic charts. The
syntax for applying the logic chart block mode as condition test reference signal and the
True/False representation are shown as follows.
Table Syntax for Condition Signal Description and True/False Representation
Condition signal description column
True/false Satisfiable condition
Input signal
Condition
specification
Element symbol.MODE O/S, MAN, AUT
True Specified Block mode is True.
False Specified Block mode is False.
D030357E.EPS
The following points should be taken into consideration when referencing a logic chart
block mode.
When O/S is specified as the condition specification for block mode reference, the test
result will be False when the block is in the compound block mode, i.e., O/S and
another basic block mode exist simultaneously.
When MAN or AUT is specified as the condition specification for block mode refer-
ence, the test result will be True even in the compound block mode as long as the
specified basic block mode exists.
Referencing Logic Chart Alarm Status
The specified alarm status of a logic chart can be used as reference signal in logic charts.
The syntax for applying the alarm status of logic chart as condition test reference signal
and the True/False representation are shown as follows.
Table Syntax for Condition Signal Description and True/False Representation
Condition signal description column
True/false Satisfiable condition
Input signal
Condition
specification
Element symbol.ALM NR
True Specified Alarm Status is True.
False Specified Alarm Status is False.
Element symbol.AFLS AFL (*1), NR
True Specified Alarm symbol is flashing.
Specified Alarm symbol is not flashing. False
D030358E.EPS
Element symbol.AF NR
True Alarm Detection Disabled is True.
Alarm Detection Disabled is False. False
Element symbol.AOFS NR, AOF (*2)
True Alarm Inhibition is True.
Alarm Inhibition is False. False
*1: The condition test for Alarm Symbol Flashing can only test the flashing status of each block or symbol, can not test the
flashing status of each alarming item.
*2: The condition test for Alarm Inhibition can only test the inhibition status of each block or symbol, can not test the
inhibition status of each alarming item.
10th Edition : Dec.18,2003-00
<D3.3 Logic Chart Block (LC64)> D3-143
IM 33S01B30-01E
D3.3.9 Syntax for Condition Signal Description: Referencing
Sequence Table in a Logic Chart
When referencing a sequence table for condition test, the true or false status of the
condition for one-shot execution of the referenced sequence table as well as the
block mode and status of the sequence table can be applied.
To reference a sequence table whose number of rules is extended over multiple
sequence tables, the tag name of the base sequence table needs to be specified.
Referencing the Entire Sequence Table
A specified sequence table can be one-shot started and the True/False status of the entire
sequence tables condition can be referenced by a logic chart.
The syntax for referencing an entire sequence table condition as the condition test signal in
a logic chart and the True/False representation are shown as follows.
Table Syntax for Condition Signal Description and True/False Representation
Condition signal description column
Condition
rule
column
Conditions for true status
Input signal
Condition
specification
Element symbol.SD R
Y At least one target condition rule is satisfied.
N None of the target condition rules is satisfied.
D030359E.EPS
The following should be taken into account when referencing the entire sequence table.
When referencing the entire sequence table, only condition signal descriptions of the
referenced sequence table are valid. Ignore any signal description.
If no Y/N pattern exists in the condition rule of referenced sequence table, the status of
rule condition is false. If the Y/N pattern of such condition rule is unspecified, the
status becomes unconditionally true in the periodic processing of the above sequence
table.
When there exist no steps to be executed in the referenced sequence table, the
previous true/false status of condition is maintained as a current reference result.
When Step 00 exists in the reference destination, rules that belong to Step 00 will also
be executed. However, when no steps exist as an execution target, the reference
result of Step 00 is ignored.
Other sequence tables can be referenced in the referenced sequence table condition
column. In this case, up to seven levels of nests (including the first sequence table)
are possible.
10th Edition : Dec.18,2003-00
D3-144 <D3.3 Logic Chart Block (LC64)>
IM 33S01B30-01E
Referencing a Particular Step in a Sequence Table
A specified sequence table can be one-shot started and a particular step of the sequence
table can be referenced by a logic chart.
The syntax for a particular sequence table step reference as the condition test signal in a
logic chart and the True/False representation are shown as follows.
Table Syntax for Condition Signal Description and True/False Representation
Condition signal description column
Condition
rule
column
Conditions for true status
Input signal
Condition
specification
Element symbol.SA xx
Y
At least one of the conditions for steps 00
and xx is satisfied.
N
None of the conditions for steps 00 and xx is
satisfied.
D030360E.EPS
xx: Specify a step label using 2 or less alphanumeric characters.
The following should be taken into account when referencing a corresponding rule number.
When referencing a particular step in a sequence table, only condition signal descrip-
tions of the referenced sequence table are valid. Ignore any action signal description.
If no Y/N pattern exists in the condition rule of referenced sequence table, the status of
rule condition is false. If the Y/N pattern of such a condition rule is unspecified, the
status becomes unconditionally true in the periodic processing of the above sequence
table.
Other sequence tables can be referenced in the referenced sequence table condition
column. In this case, up to seven levels of nests (including the first sequence table)
are possible.
10th Edition : Dec.18,2003-00
<D3.3 Logic Chart Block (LC64)> D3-145
IM 33S01B30-01E
Referencing Sequence Table Step Label
A sequence progress state can be confirmed by referencing the related sequence table
step labels. However, it only check if the sequence step corresponding to the specified
sequence step label is being processed or not, it does not involve the conditions test of the
steps True/False status.
The syntax for a Sequence Table Step Label Reference as the condition test signal in a
logic chart and the True/False representation are shown as follows.
Table Syntax for Condition Signal Description and True/False Representation
Condition signal description column
Condition
rule
column
Conditions for true status
Input signal
Condition
specification
Element symbol.SA xx
Y Current execution step label is xx.
N Current execution step label is other than xx.
D030361E.EPS
xx: Specify a step label using 2 or less alphanumeric characters.
Referencing Sequence Table Block Mode
The specified sequence table block mode can be used as reference signal in a logic chart.
The syntax for applying the sequence table block mode as condition test reference signal in
a logic chart and the True/False representation are shown as follows.
Table Syntax for Condition Signal Description and True/False Representation
Condition signal description column
True/false Satisfiable condition
Input signal
Condition
specification
Element symbol.MODE O/S, MAN, AUT
True Specified Block mode is True.
False Specified Block mode is False.
D030362E.EPS
The following points should be taken into consideration when referencing a sequence table
block mode.
When O/S is specified as the condition specification for block mode reference, the test
result will be False when the block is in the compound block mode, i.e., O/S and
another basic block mode exist simultaneously.
When MAN or AUT is specified as the condition specification for block mode refer-
ence, the test result will be True even in the compound block mode as long as the
specified basic block mode exists.
10th Edition : Dec.18,2003-00
D3-146 <D3.3 Logic Chart Block (LC64)>
IM 33S01B30-01E
Referencing Sequence Table Alarm Status
The specified alarm status of a sequence table can be used as reference signal in a logic
chart.
The syntax for applying the alarm status of sequence table as condition test reference
signal in a logic chart and the True/False representation are shown as follows.
Table Syntax for Condition Signal Description and True/False Representation of Y/N in Condition
Rule Columns
Condition signal description column
True/false Satisfiable condition
Input signal
Condition
specification
Element symbol.ALRM NR
True Specified Alarm Status is True.
False Specified Alarm Status is False.
Element symbol.AFLS AFL (*1), NR
True Specified Alarm symbol is flashing.
Specified Alarm symbol is not flashing. False
D030363E.EPS
Element symbol.AF NR
True Alarm Detection Disabled is True.
Alarm Detection Disabled is False. False
Element symbol.AOFS NR, AOF (*2)
True Alarm Inhibition is True.
Alarm Inhibition is False. False
*1: The condition test for Alarm Symbol Flashing can only test the flashing status of each block or symbol; it can not test
the flashing status of each alarming item.
*2: The condition test for Alarm Inhibition can only test the inhibition status of each block or symbol; it can not test the
inhibition status of each alarming item.
10th Edition : Dec.18,2003-00
<D3.3 Logic Chart Block (LC64)> D3-147
IM 33S01B30-01E
D3.3.10 Action Signal Description: Status Manipulation for Other
Function Blocks and I/O Data
Logic chart block can be used to manipulate the execution, the mode or status
change of other function blocks as well as the status change of process I/O, soft-
ware I/O and communication I/O.
Function Blocks and I/O Data that can be Manipulated from Logic Chart
Function blocks for which status manipulation that can be performed from the sequence
table
are:
Switch instrument blocks
Timer Block (TM)
Software Counter Block (CTS)
Pulse Train Input Counter Block (CTP)
Code Input Block (CI)
Code Output Block (CO)
Resource Scheduler Block (RS)
Valve Monitoring Block (VLVM)
Regulatory Control Blocks
Calculation Blocks
Faceplate Blocks
SFC Blocks
Unit instrument Blocks
Sequence Table Blocks
Logic Chart Blocks
In addition, the following I/O data can be manipulated from logic chart:
Process I/O
Software I/O (internal switch, annunciator message, message output for sequence
control)
Communication I/O
10th Edition : Dec.18,2003-00
D3-148 <D3.3 Logic Chart Block (LC64)>
IM 33S01B30-01E
Status Manipulation of Switch Instrument Block and Enhanced Switch
Instrument Block
The syntax for applying the various functions of a switch instrument block and an enhanced
switch instrument block as status manipulation signal in a logic chart and the actions
corresponding to True/False are shown as follows.
Table Syntax for Action Signal Description and Actions Corresponding to True/False
Manipulation signal description
True/False Manipulation description
Output signal Action Specifications
Element symbol.MODE.
MAN, AUT, CAS,
ROUT, O/S
True Block mode change command
False Disable
Element symbol.AF.
ANS+, ANS-, IOP,
PERR, OOP, CNF
True Release detection of specified alarm
False Perform detection of specified alarm
Element symbol.AOFS.
ANS+, ANS-, PERR,
CNF, IOP, AOF (*1), OOP
True Perform suppression of specified alarm
False Release suppression of specified alarm
Element symbol.AFLS. AFL
True Perform group verification of alarms
False Disable
Element symbol.CSV.
0, 1, 2
True Setting of sequence setpoint value (CSV) (*2)
False Disable
P0
True Set CSV to 0
False Set CSV to 2
P1
True Set CSV to 1
False Disable
P2
True Set CSV to 2
False Set CSV to 0
Element symbol.TSW. 0, 1
True Tracking switch (0; OFF, 1; ON)
False Disable
Element symbol.BPSW. 0, 1
True Bypass switch (0; OFF, 1; ON)
False Disable
Element symbol.BSW. 0, 1
True Backup switch (0; OFF, 1; ON)
False Disable
D030364E.EPS
Element symbol.XAF. IOP
True Disables IOP and IOP- detection
False Enables IOP and IOP- detection
Element symbol.PV. =XCAL (*3)
True Switch to CAL or release CAL
False
*1: The AOF specification is valid only with respect to the change in the alarm suppression specification. This operation
performs alarm suppression for all alarms with the exception of the NR alarm.
*2: Sequence setpoint value (CSV) data is written when the switch instrument manipulated output value (MV) is set from
another function block. If the switch instrument block or the enhanced switch instrument block is in AUT or CAS state,
output is executed after the sequence setpoint value (CSV) is written in the manipulated output value (MV).
*3: The type of logic chart that =XCAL is applied should be set to [One-Shot Processing Type (O)].
10th Edition : Dec.18,2003-00
<D3.3 Logic Chart Block (LC64)> D3-149
IM 33S01B30-01E
Status Manipulation of Timer Block (TM)
The syntax for applying the various functions of a Timer Block (TM) as status manipulation
signal in a logic chart and the actions corresponding to True/False are shown as follows.
Table Syntax for Action Signal Description and Actions Corresponding to True/False
Manipulation signal description
True/False Manipulation description
Output signal Action Specifications
Element symbol.OP.
STOP
True Timer stop command
False Disable
START
True Timer startup command
False Timer stop command (*1)
RSTR
True Restart command
False Disable
WAIT
True Pause command
False Restart command (*1)
D030365E.EPS
*1: When connected to the function blocks other than logic chart and sequence table blocks via sequence connection, the
true actions are valid while the false actions are invalid.
Status Manipulation of Software Counter Block (CTS)
The syntax for applying the various functions of a software counter (CTS) block as status
manipulation signal in a logic chart and the actions corresponding to True/False are shown
as follows.
Table Syntax for Action Signal Description and Actions Corresponding to True/False
Manipulation signal description
True/False Manipulation description
Output signal Action Specifications
Element symbol.ACT.
ON
True Operation manipulation of software counter
False Disable
OFF
True Software counter stop command
False Disable
D030366E.EPS
10th Edition : Dec.18,2003-00
D3-150 <D3.3 Logic Chart Block (LC64)>
IM 33S01B30-01E
Status Manipulation of Pulse Train Input Counter Block (CTP)
The syntax for applying the various functions of a Pulse Train Input Counter (CTP) block as
status manipulation signal in a logic chart and the actions corresponding to True/False are
shown as follows.
Table Syntax for Action Signal Description and Actions Corresponding to True/False
Manipulation signal description
True/False Manipulation description
Output signal Action Specifications
Element symbol.OP.
STOP
True Pulse-input counter stop command
False Disable
START
True Pulse-input counter start command
False Disable
RSTR
True Restart command
False Disable
WAIT
True Pause command
False Disable
Element symbol.AF. IOP, CNF
True Release detection of specified alarm
False Perform detection of specified alarm
Element symbol.AOFS. IOP, CNF, AOF (*1)
True Perform suppression of specified alarm
False Release suppression of specified alarm
Element symbol.AFLS. AFL
True Perform group verification of alarms
False Disable
D030367E.EPS
Element symbol.XAF. IOP
True Disables IOP and IOP- detection
False Enables IOP and IOP- detection
*1: The AOF specification is valid only with respect to the change in the alarm suppression specification. This operation
performs alarm suppression for all alarms with the exception of the NR alarm.
Status Manipulation of Code Input Block (CI)
The syntax for applying the various functions of a Code Input (CI) block as status manipula-
tion signal in a logic chart and the actions corresponding to True/False are shown as
follows.
Table Syntax for Action Signal Description and Actions Corresponding to True/False
Manipulation signal description
True/False Manipulation description
Output signal Action Specifications
Element symbol.ACT. ON
True Code-input read command
False Disable
D030368E.EPS
10th Edition : Dec.18,2003-00
<D3.3 Logic Chart Block (LC64)> D3-151
IM 33S01B30-01E
Status Manipulation of Code Output Block (CO)
The syntax for applying the various functions of a Code Output (CO) Block as status ma-
nipulation signal in a logic chart and the actions corresponding to True/False are shown as
follows.
Table Syntax for Action Signal Description and Actions Corresponding to True/False
Manipulation signal description
True/False Manipulation description
Output signal Action Specifications
Element symbol.ACT. ON
True Code output command
False Disable
D030369E.EPS
Status Manipulation of Resource Scheduler Block (RS)
The syntax for applying the various functions of a Resource Scheduler (RS) Block as status
manipulation signal in a logic chart and the actions corresponding to True/False are shown
as follows.
Table Syntax for Action Signal Description and Actions Corresponding to True/False
Manipulation signal description
True/False Manipulation description
Output signal Action Specifications
Element symbol.RQ01 to 32. 0, 1
True
Usage cancel/request command for specified number
(1; request, 0; cancel)
False Disable
Element symbol.PMH. 0 to 32
True Setting of maximum allowed number (m32)
False Disable
Element symbol.ACT. ON, OFF
True
Group resources all request/cancel
(ON; request, OFF; cancel)
False Disable
D030370E.EPS
Status Manipulation of Valve Monitoring Block (VLVM)
The syntax for applying the various functions of a Valve Monitoring (VLVM) Block as status
manipulation signal in a logic chart and the actions corresponding to True/False are shown
as follows.
Table Syntax for Action Signal Description and Actions Corresponding to True/False
Manipulation signal description
True/False Manipulation description
Output signal Action Specifications
Element symbol.MCSW. 0, 1
True Message suppression (1; suppress 0; do not suppress)
False Disable
D030371E.EPS
10th Edition : Dec.18,2003-00
D3-152 <D3.3 Logic Chart Block (LC64)>
IM 33S01B30-01E
Status Manipulation of Regulatory Control Block
The syntax for applying the various functions of a regulatory control block as status ma-
nipulation signal in a logic chart and the actions corresponding to True/False are shown as
follows.
Table Syntax for Action Signal Description and Actions Corresponding to True/False
Manipulation signal description
True/False Manipulation description
Output signal Action Specifications
Element symbol.MODE.
MAN, CAS, RCAS,
AUT, ROUT, PRD, O/S
True Block mode change command
False Disable
Element symbol.AF.
Alarm status excluding
NR
True Release detection of specified alarm
False Perform detection of specified alarm
Element symbol.AOFS.
Alarm status excluding
NR, AOF (*1)
True Perform suppression of specified alarm
False Release suppression of specified alarm
Element symbol.AFLS. AFL
True Perform group verification of alarms
False Disable
Element symbol.Data Item Data value
True Data setting
False Disable
Element symbol.PV= CAL
True Switch PV to CAL status
False Release PV from CAL status
D030372E.EPS
Element symbol.XAF. IOP
True Disables IOP and IOP- detection
False Enables IOP and IOP- detection
Element symbol.PV. =XCAL (*2)
True Switch to CAL or release CAL
False
Element symbol.SUM0. =XCAL (*2)
True Switch to CAL or release CAL
False
*1: The AOF specification is valid only with respect to the change in the alarm suppression specification. This operation
performs alarm suppression for all alarms with the exception of the NR alarm.
*2: The type of logic chart that =XCAL is applied should be set to [One-Shot Processing Type (O)].
10th Edition : Dec.18,2003-00
<D3.3 Logic Chart Block (LC64)> D3-153
IM 33S01B30-01E
Data Items of Regulatory Control Blocks for Status Manipulation
The data items of the regulatory control blocks and the range of the data values that can be
applied for status manipulation are listed as follows.
Table Data Items of Regulatory Control Blocks and Range of Data Values for Status Manipulation
(1/3)
Block code Name Data item Setting range
PID PID Controller Block
TSW 0, 1
CSW 0, 1
PSW 0 to 3
BSW 0, 1
RSW 0, 1
PI-HLD Sampling PI Controller Block
TSW 0, 1
CSW 0, 1
PSW 0 to 3
BSW 0, 1
RSW 0, 1
PID-BSW PID Controller Block with Batch Switch
TSW 0, 1
CSW 0, 1
PSW 0 to 3
BSW 0, 1
RSW 0, 1
PID-TP Time-Proportioning ON/OFF Controller Block
CSW 0, 1
PSW 0 to 3
BSW 0, 1
ONOFF 2-Position ON/OFF Controller Block
PSW 0 to 3
BSW 0, 1
ONOFF-G 3-Position ON/OFF Controller Block
PSW 0 to 3
BSW 0, 1
PD-MR PD Controller Block with Manual Reset
TSW 0, 1
PSW 0 to 3
BSW 0, 1
RSW 0, 1
PI-BLEND Blending PI Controller Block
TSW 0, 1
PSW 0 to 3
BSW 0, 1
RSW 0, 1
RST 0, 1
Block code Name Data item Setting range
D030373E.EPS
ONOFF-E Enhanced 2-Position ON/OFF Controller Block
PSW 0 to 3
BSW 0, 1
ONOFF-GE Enhanced 3-Position ON/OFF Controller Block
PSW 0 to 3
BSW 0, 1
10th Edition : Dec.18,2003-00
D3-154 <D3.3 Logic Chart Block (LC64)>
IM 33S01B30-01E
Table Data Items of Regulatory Control Blocks and Range of Data Values for Status Manipulation
(2/3)
Block code Name Data item Setting range
MLD Manual Loader Block
TSW 0, 1
RSW 0, 1
MLD-PVI Manual Loader Block with Input Indicator
TSW 0, 1
RSW 0, 1
MLD-SW Manual Loader Block with Auto/Man SW
TSW 0, 1
PSW 0 to 3
RSW 0, 1
MC-2 2-Position Motor Control Block
TSW 0, 1
BSW 0, 1
BPSW 0 to 4
SIMM 0 to 1
CSV
0, 1, 2, P0, P1,
P2 (*1)
MC-3 3-Position Motor Control Block
TSW 0, 1
BSW 0, 1
BPSW 0 to 4
SIMM 0 to 1
CSV
0, 1, 2, P0, P1,
P2 (*1)
Block code Name Data item Setting range
D030374E.EPS
MC-2E Enhanced 2-Position Motor Control Block
TSW 0, 1
BSW 0, 1
BPSW 0 to 4
SIMM 0 to 1
CSV
0, 1, 2, P0, P1,
P2 (*1)
MC-3E Enhanced 3-Position Motor Control Block
TSW 0, 1
BSW 0, 1
BPSW 0 to 4
SIMM 0 to 1
CSV
0, 1, 2, P0, P1,
P2 (*1)
PID-STC Self-Tuning PID Controller Block
TSW 0, 1
CSW 0, 1
PSW 0 to 3
BSW 0, 1
RSW 0, 1
STC -1 to 3
*1: The values set to the CSV varied according to the data in the manipulation rule column and setting range as shown
below.
0: CSV=0 when the manipulation rule column is TRUE, disabled when FALSE.
1: CSV=1 when the manipulation rule column is TRUE, disabled when FALSE.
2: CSV=2 when the manipulation rule column is TRUE, disabled when FALSE.
P0: CSV=0 when manipulation rule column is TRUE, CSV=2 when FALSE.
P1: CSV=1 when manipulation rule column is TRUE, disabled when FALSE.
P2: CSV=2 when manipulation rule column is TRUE, CSV=0 when FALSE.
10th Edition : Dec.18,2003-00
<D3.3 Logic Chart Block (LC64)> D3-155
IM 33S01B30-01E
Table Data Items of Regulatory Control Blocks and Range of Data Values for Status Manipulation
(3/3)
Block code Name Data item Setting range
Block code Name Data item Setting range
BSETU-2 Flow-Totalizing Batch Set Block
SW 0 to 4
EMSW 0, 1
ZONE 0 to 11
BSETU-3 Weight-Totalizing Batch Set Block
SW 0 to 4
EMSW 0, 1
ZONE 0 to 11
VELLIM Velocity Limiter Block
PSW 0 to 3
BSW 0, 1
BPSW 0, 1
SS-H/M/L Signal Selector Block SW 0 to 4
AS-H/M/L Auto-Selector Block
PSW 0 to 3
SW 0 to 4
SS-DUAL Dual-Redundant Signal Selector Block SW 1 to 3
FFSUM Feedforward Signal Summing Block
TSW 0, 1
PSW 0 to 3
FSW 0, 1
RSW 0, 1
XCPL Non-Interference Control Output Block
TSW 0, 1
PSW 0 to 3
RSW 0, 1
SPLIT Control Signal Splitter Block
BSW 0, 1
SW 0 to 2
PTC Pulse Count Input Block
RST 0, 1
HSW 0, 1
ALM-R Representative Alarm Block
SW 0 to 5
SV 0 to 15
D030375E.EPS
SBSD YS Instrument Batch Set Station Block
SLBC YS Instrument Batch Controller Block
SV 0 to 8
SV 0 to 8
RATIO Ratio Set Block
TSW 0, 1
PSW 0 to 3
BSW 0, 1
RSW 0, 1
PG-L13 13-Zone Program Set Block
ZONE 1 to 13
ZSTR 1 to 13
ZEND 1 to 13
10th Edition : Dec.18,2003-00
D3-156 <D3.3 Logic Chart Block (LC64)>
IM 33S01B30-01E
Status Manipulation of Calculation Block
The syntax for applying the various functions of a calculation block as status manipulation
signal in a logic chart and the actions corresponding to True/False are shown as follows.
Table Syntax for Action Signal Description and Actions Corresponding to True/False
Manipulation signal description
True/False Manipulation description
Output signal Action Specifications
Element symbol.ACT.
mm (*1)
True One-shot startup (with parameter)
False Disable
ON
True One-shot startup (without parameter)
False Disable
Element symbol.AF.
Alarm status excluding
NR
True Release detection of specified alarm
False Perform detection of specified alarm
Element symbol.AOFS.
Alarm status excluding
NR, AOF (*2)
True Perform suppression of specified alarm
False Release suppression of specified alarm
Element symbol.AFLS. AFL
True Perform group verification of alarms
False Disable
Element symbol.data item. Data value
True Data setting
False Disable
Element symbol.CPV= CAL
True Set PV data status to CAL
False Release the CAL data status of CPV
D030376E.EPS
Element symbol.XAF. IOP
True Disables IOP and IOP- detection
False Enables IOP and IOP- detection
Element symbol.CPV. =XCAL (*3)
True Switch to CAL or release CAL
False
Element symbol.CPV1. =XCAL (*3)
True Switch to CAL or release CAL
False
Element symbol.CPV2. =XCAL (*3)
True Switch to CAL or release CAL
False
*1: mm is required parameter for one-shot execution of the batch data setting block and batch data collection block. Data
that will be set during a one-shot execution according to the mm value.
mm=0: All setting data are set to 0.
mm=1 to 16: Only the specified data (DTn) is set.
mm=17: All data will be set.
*2: The AOF specification is valid only with respect to the change in the alarm suppression specification. This operation
performs alarm suppression for all alarms with the exception of the NR alarm.
*3: The type of logic chart that =XCAL is applied should be set to [One-Shot Processing Type (O)].
10th Edition : Dec.18,2003-00
<D3.3 Logic Chart Block (LC64)> D3-157
IM 33S01B30-01E
Data Items of Calculation Blocks for Status Manipulation
The data items of the calculation blocks and the range of the data values that can be
applied for status manipulation are listed as follows.
Table Data Items of Calculation Blocks and Range of Data Values for Status Manipulation
Block code Name Data item Setting range
DLAY Dead-Time Block
RST 0, 1 DLAY-C Dead-Time Compensation Block
AVE-M Moving-Average Block
INTEG Integration Block
SW 0, 1, 2
AVE-C Cumulative-Average Block
SW-33 Three-Pole Three-Position Selector Switch Block SW 0 to 3
BDSET-1L One-Batch Data Set Block
SW 0 to 3
BDSET-1C One-Batch String Data Set Block
BDSET-2L Two-Batch Data Set Block
BDSET-2C Two-Batch String Data Set Block
ADL Interstation Connection Block SIMM 0, 1
SW-91 One-Pole Nine-Position Selector Switch Block SW 0 to 9
DSW-16 Selector Switch Block for 16 Data
SW 0 to 16
DSW-16C Selector Switch Block for 16 String Data
BDA-L Batch Data Acquisition Block
SW 0 to 17
BDA-C Batch String Data Acquisition Block
D030377E.EPS
10th Edition : Dec.18,2003-00
D3-158 <D3.3 Logic Chart Block (LC64)>
IM 33S01B30-01E
One-Shot Executable Calculation Blocks
The one-shot executable calculation blocks can be applied for status manipulation are
shown as follows.
Table One-Shot Executable Calculation Blocks for Status Manipulation
Block Type Model Name Description
Arithmetic
Calculation
ADD Addition Block
MUL Multiplication Block
DIV Division Block
AVE Averaging Block
Logic Operation (*1)
AND Logical AND Block
OR Logical OR Block
NOT Logical NOT Block
SRS1-S Set-Dominant Flip-Flop Block with 1 Output
SRS1-R Reset-Dominant Flip-Flop Block with 1 Output
SRS2-S Set-Dominant Flip-Flop Block with 2 Outputs
SRS2-R Reset-Dominant Flip-Flop Block with 2 Outputs
WOUT Wipeout Block
GT Comparator Block (Greater Than)
GE Comparator Block (Greater Than or Equal)
EQ Equal Operator Block
BAND Bitwise AND Block
BOR Bitwise OR Block
BNOT Bitwise NOT Block
General-purpose
Calculation
CALCU General-Purpose Calculation Block
CALCU-C General-Purpose Calculation Block with String I/O
Calculation
Auxiliary-2
BDSET-1L One-Batch Data Set Block
BDSET-1C One-Batch String Data Set Block
BDSET-2L Two-Batch Data Set Block
BDSET-2C Two-Batch String Data Set Block
BDA-L Batch Data Acquisition Block
BDA-C Batch String Data Acquisition Block
D030378E.EPS
*1: Logic operation blocks are only available for CS 3000.
10th Edition : Dec.18,2003-00
<D3.3 Logic Chart Block (LC64)> D3-159
IM 33S01B30-01E
Calculation Blocks Requiring One-Shot Parameter mm
The calculation blocks that require mm parameter for one-shot execution when applied for
status manipulation are shown as follows.
Table One-Shot Parameter Required Calculation Blocks for Status Manipulation
Block code Name
Parameter setting
Range (mm)
Comments
BDSET-1L One-Batch Data Set Block
0 to 17
Individual data
setting
BDSET-1C One-Batch String Data Set Block
BDSET-2L Two-Batch Data Set Block
BDSET-2C Two-Batch String Data Set Block
BDA-L Batch Data Acquisition Block
0 to 17
Individual data
acquisition
BDA-C Batch String Data Acquisition Block
D030379E.EPS
Note: Data that will be set during a one-shot execution according to the mm value.
mm=0: All setting data are set to 0.
mm=1 to 16: Only the specified data (DTn) is set.
mm=17: All data will be set.
10th Edition : Dec.18,2003-00
D3-160 <D3.3 Logic Chart Block (LC64)>
IM 33S01B30-01E
Status Manipulation of Faceplate Block
The syntax for applying the various functions of a faceplate block as status manipulation
signal in a logic chart and the actions corresponding to True/False are shown as follows.
Table Syntax for Action Signal Description and Actions Corresponding to True/False
Manipulation signal description
True/False Manipulation description
Output signal Action Specifications
Element symbol.MODE. Block mode
True Change block mode
False Disable
Element symbol.BSTS. Block Status
True Change block status
False Release block status
Element symbol.ALRM.
Alarm Status excluding
NR
True Change alarm status
False Release alarm status
Element symbol.AF.
Alarm Status excluding
NR
Element symbol.AOFS.
Alarm Status excluding
NR, AOF (*1)
Element symbol.AFLS. AFL
Element symbol.SV. 1 to 99
Element symbol.PV01 to 10. 0,1
Element symbol.SWCR [1 to n].
(*2)
0 to 15
Element symbol.SWST [1 to n].
(*2)
0,1
Element symbol.SWOP [1 to n].
(*2)
-15 to 15
True Release detection of specified alarm
False Perform detection of specified alarm
True Perform suppression of specified alarm
False Release suppression of specified alarm
True Perform group verification of alarms
False Disable
True
Process number setting
(Only Valid with BSI Block)
False Disable
True Control command setting
False Disable
True Change color of switch display
False Disable
True ON/OFF of switch flashing status
False Disable
True Changing of switch control disable status
False Disable
D030380E.EPS
*1: The AOF specification is valid only with respect to the change in the alarm suppression specification. This operation
performs alarm suppression for all alarms with the exception of the NR alarm.
*2: n indicates the number of elements in a one-dimensional array. This is the number of push-button switches in a
faceplate block, and varies with the type of each faceplate block.
10th Edition : Dec.18,2003-00
<D3.3 Logic Chart Block (LC64)> D3-161
IM 33S01B30-01E
Status Manipulation of SFC Block
The syntax for applying the various functions of an SFC block as status manipulation signal
in a logic chart and the actions corresponding to True/False are shown as follows.
Table Syntax for Action Signal Description and Actions Corresponding to True/False
Manipulation signal description
True/False Manipulation description
Output signal Action Specifications
Element symbol.MODE. MAN, AUT
True Block mode change command
False Disable
Element symbol.BSTS.
RUN, PAUS
ATOP, ABRT
True Block status change command
False Disable
Element symbol.AF.
Alarm Status excluding
NR
True Release detection of specified alarm
False Perform detection of specified alarm
Element symbol.AOFS.
Alarm Status excluding
NR, AOF (*1)
True Perform suppression of specified alarm
False Release suppression of specified alarm
Element symbol.AFLS. AFL
True Perform group verification of alarms
False Disable
Element symbol.Data Item Data Value
True Data setting
False Disable
Element symbol.PV= CAL
True Set PV data status to CAL
False release the CAL data status of PV
D030381E.EPS
Element symbol.PV. =XCAL (*2)
True Switch to CAL or release CAL
False
*1: The AOF specification is valid only with respect to the change in the alarm suppression specification. This operation
performs alarm suppression for all alarms with the exception of the NR alarm.
*2: The type of logic chart that =XCAL is applied should be set to [One-Shot Processing Type (O)].
Range of Data Value When Manipulating the Data Items
The ranges of data values when manipulating the SFC data items in a logic chart for status
manipulation are shown as follows.
STEPNO: 1 to 99
SWCR[5]: 0 to 15
SWST[5]: 0, 1
SWOP[5]: -15 to 15
10th Edition : Dec.18,2003-00
D3-162 <D3.3 Logic Chart Block (LC64)>
IM 33S01B30-01E
Status Manipulation of Unit Instrument
The syntax for applying the various functions of a unit instrument block as status manipula-
tion signal in a logic chart and the actions corresponding to True/False are shown as
follows.
Table Syntax for Action Signal Description and Actions Corresponding to True/False
Manipulation signal description
True/False Manipulation description
Output signal Action Specifications
Element symbol.MODE. MAN, SEMI, AUT
True Unit mode change command
False Disable
Element symbol.UBSC.
Unit status change
command name
True Unit status change command
False Disable
Element symbol.AF.
Alarm status excluding
NR
True Release detection of specified alarm
False Perform detection of specified alarm
Element symbol.AOFS.
Alarm status excluding
NR, AOF (*1)
True Perform suppression of specified alarm
False Release suppression of specified alarm
Element symbol.AFLS. AFL
True Perform group verification of alarms
False Disable
Element symbol.STEPNO. 1 to 99
True Change SFC step number
False Disable
D030382E.EPS
*1: The AOF specification is valid only with respect to the change in the alarm suppression specification. This operation
performs alarm suppression for all alarms with the exception of the NR alarm.
Status Manipulation of Process I/O
The syntax for applying the various functions of a process I/O as status manipulation signal
in a logic chart and the actions corresponding to True/False are shown as follows.
Table Syntax for Action Signal Description and Actions Corresponding to True/False
Manipulation signal description
True/False Manipulation description
Output signal Action Specifications
Element symbol.PV.
L
True Contact output ON (nonlatched)
False Contact output OFF
F
True Begin flashing output
False End flashing output (*1)
D030383E.EPS
*1: When the flashing stops, the contact output itself is in the ON state.
10th Edition : Dec.18,2003-00
<D3.3 Logic Chart Block (LC64)> D3-163
IM 33S01B30-01E
Status Manipulation of Global Switch
The syntax for applying the various functions of a global switch as status manipulation
signal in a logic chart and the actions corresponding to True/False are shown as follows.
The status manipulation can be only applied to the global switches assigned in the same
control station of the logic chart.
Table Syntax for Action Signal Description and Actions Corresponding to True/False
Manipulation signal description
True/False Manipulation description
Output signal Action Specifications
Element symbol.PV. L
True Turn ON specified global switch. (Nonlatched)
False Turn OFF specified global switch.
D030384E.EPS
Status Manipulation of Common Switch
The syntax for applying the various functions of a common switch as status manipulation
signal in a logic chart and the actions corresponding to True/False are shown as follows.
Table Syntax for Action Signal Description and Actions Corresponding to True/False
Manipulation signal description
True/False Manipulation description
Output signal Action Specifications
Element symbol.PV. L
True Common switch output ON (nonlatched)
False Common switch output OFF
D030385E.EPS
Status Manipulation of Annunciator Message
The syntax for applying the various functions of an annunciator message as status manipu-
lation signal in a logic chart and the actions corresponding to True/False are shown as
follows.
Table Syntax for Action Signal Description and Actions Corresponding to True/False
Manipulation signal description
True/False Manipulation description
Output signal Action Specifications
Element symbol.PV. L
True Annunciator output ON (nonlatched)
False Annunciator output OFF
Element symbol.RP. ON, OFF
True
Repeated warning specification
(ON: Repeated warning, OFF: Release)
False Disable
Element symbol.AOFS. AOF
True Perform suppression of specified alarm
False Release suppression of specified alarm
Element symbol.AFLS. AFL
True Perform group verification of alarms
False Disable
D030386E.EPS
10th Edition : Dec.18,2003-00
D3-164 <D3.3 Logic Chart Block (LC64)>
IM 33S01B30-01E
Status Manipulation of Sequence Message Output
The syntax for applying the various functions of a Sequence Message Output as status
manipulation signal in a logic chart and the actions corresponding to True/False are shown
as follows.
The following types of sequence message output are supported:
Print message output
Operator guide message output
Multimedia function message output
Sequence message request
PICOT supervisory computer event message output
Event message output for supervisory computer
Signal event message output
SFC/SEBOL return event message output
Table Syntax for Action Signal Description and Actions Corresponding to True/False
Manipulation signal description
True/False Manipulation description
Output signal Action Specifications
Element symbol.PV.
NON
True Message output without parameter
False Disable
mm (*1)
True Message output with parameter
False Disable
D030387E.EPS
*1: mm can specify integer data (2-byte long integer data).
Range: -32768 to 32767
Status Manipulation of Communication I/O
The syntax for applying the various functions of a communication I/O as status manipula-
tion signal in a logic chart and the actions corresponding to True/False are shown as
follows.
Table Syntax for Action Signal Description and Actions Corresponding to True/False
Manipulation signal description
True/False Manipulation description
Output signal Action specification
Element symbol.PV. L
True The bit turns ON (nonlatched)
False The bit turns OFF
D030388E.EPS
10th Edition : Dec.18,2003-00
<D3.3 Logic Chart Block (LC64)> D3-165
IM 33S01B30-01E
D3.3.11 Syntax for Action Signal Description: Status
Manipulation of Logic Chart
Logic chart status manipulation can change the block mode of a logic chart, it can
also start a logic chart for one-shot execution.
Logic Chart One-Shot Execution
The following scripts can be used to define an output signal element to start a logic chart
one-shot execution.
Table Syntax for Action Signal Description and Actions Corresponding to True/False
Manipulation signal description
True/False Action
Output signal Action Specifications
Element symbol.ACT. ON
True Execute logic chart
False Disable
D030389E.EPS
When action signal specified to start an one-shot execution of a function block, the
target block can start another block for one-shot execution. The chain start can be
nested seven times.
When output to the one-shot function block fails, and the failure is caused by one of
the following reasons, a system alarm will be triggered.
The destination logic chart is used to start another logic chart, and the chain start is
nested more than seven times.
The function block connected to the output terminal is in O/S mode.
The function block connected to the output terminal is udder online maintenance.
Logic Chart Block Mode Change
The block mode of a logic chart can be changed. Changing the block mode of the logic
chart can manipulate the logic block to pause the execution (MAN mode) or to restart the
execution (AUT mode).
The following scripts can be used to define an output signal element to change block mode
of a logic chart block.
Table Syntax for Action Signal Description and Actions Corresponding to True/False
Manipulation signal description
True/False Manipulation description
Output signal Action Specifications
Element symbol.MODE AUT, MAN, O/S
True Change the blocks mode
False Disable
D030390E.EPS
10th Edition : Dec.18,2003-00
D3-166 <D3.3 Logic Chart Block (LC64)>
IM 33S01B30-01E
D3.3.12 Syntax for Action Signal Description: Status
Manipulation of Sequence Table from Logic Chart
The status manipulation to sequence table blocks can not only change the data or
data status in the sequence table, but also can start a sequence table and control the
whole processing of the sequence table from the condition test to status manipula-
tion output.
When manipulating or referencing a sequence table whose number of rules is ex-
tended over multiple sequence tables, the tag name of the base sequence table
needs to be specified.
The following types of status manipulation may be applied to sequence tables.
Referencing an entire sequence table
Executing a particular sequence table step
Setting a execution label to a sequence table step
Changing a sequence table block mode
Executing an Entire Sequence Table
A sequence table defined to an output operation element in a logic chart (transition destina-
tion sequence table) can be started for a one-shot execution.
When the transition destination sequence table is not a step type sequence table, the entire
sequence table will be executed.
When the transition destination sequence table is a step type sequence table, the step
corresponding to the transition process in the sequence table will be executed.
From the transition sequence table, another sequence table can be started as a transition
table for condition test or status manipulation. The chain start can be nested for 7 times
including the first sequence table.
Table Syntax for Action Signal Description and Actions Corresponding to True/False
Manipulation signal description
True/False Manipulation description
Output signal Action Specifications
Element symbol.ACT. ON
True Execute the specified table
False Disable
D030391E.EPS
10th Edition : Dec.18,2003-00
<D3.3 Logic Chart Block (LC64)> D3-167
IM 33S01B30-01E
Executing a Particular Step in a Sequence Table
The syntax for executing a particular sequence table step in a logic chart and the actions
corresponding to True/False are shown as follows.
Table Syntax for Action Signal Description and Actions Corresponding to True/False
Manipulation signal description column
True/False Manipulation description
Output signal
Action
specification
Element symbol.SA. xx
True
Branch to step xx in the specified table and
execute steps xx and 00.
False Disable
D030392E.EPS
xx: Specify a step label with up to two alphanumeric characters.
From the transition sequence table, another sequence table can be started as a transition
table for condition test or status manipulation. The chain start can be nested for 7 times
including the first sequence table.
The action rule of the sequence table behaves as follows according to the types (step type
or nonstep type) of the execution origin and the execution destination sequence tables.
Table Execution Target Action Rule in Accordance with Types of Sequence Table
Branching source Branching destination Execution target action rule
Step type
Nonstep type
Nonstep type
Step type
Rules for a specified step and step 00
All rules
Rules for a specified step and step 00
All rules
Nonstep type
Step type
D030393E.EPS
When a logic chart starts a sequence table specified in the output operation element, the
started sequence table run its transition to start the transition destination sequence table.
The transition destination sequence table will run its step 00 and the transition specified
step for condition test and the status manipulation.
If the specified transition step of the transition sequence table can not be found, an error
will be generated, the step can not be executed. However, if the transition sequence table
has step 00, the step 00 will be executed.
When execute an entire sequence table to a non step type sequence table, all rules will be
executed.
10th Edition : Dec.18,2003-00
D3-168 <D3.3 Logic Chart Block (LC64)>
IM 33S01B30-01E
Setting an Execution Label to a Step in a Sequence Table
An execution label can be set to a sequence table step, this action is different from the
executing a particular sequence table step, it only set the execution label to a specified
sequence table step but does not execute the step. The set step will be executed first when
the sequence table is started the next time.
The syntax for setting an execution label to a sequence table step as the action signal in a
logic chart and the actions corresponding to True/False are shown as follows.
Table Syntax for Action Signal Description and Actions Corresponding to True/False
Action signal description column
True/False Manipulation description
Output signal
Action
specification
Element symbol.PV. xx
True Set execution label to step xx
False Disable
D030394E.EPS
xx: Specify a step label with up to two alphanumeric characters.
Changing Sequence Table Block Mode
The block mode of a sequence can be changed from a logic chart. Changing the block
mode of a sequence table block can manipulate the sequence table to pause the execution
(MAN mode) or to restart the execution (AUT mode).
When a sequence table is paused by changing to MAN mode, the state of the sequence
table will be kept.
The syntax for changing a sequence table block mode as an action signal in a logic chart
and the actions corresponding to True/False are shown as follows.
Table Syntax for Action Signal Description and Actions Corresponding to True/False
Manipulation signal description column
True/False Manipulation description
Output signal
Action
specification
Element symbol.MODE. AUT, MAN, O/S
True Change the blocks mode
False Disable
D030395E.EPS
Pause and Restart a Sequence Table
Some sequence tables are running in a fixed scan cycle while some others are staring,
pausing or restarting in accordance with process procedures. To pause a running se-
quence table, and to restart a paused sequence table is possible. The scripts may be
described in a sequence table for a sequence tables Pause and Restart are shown as
follows.
Table Syntax for Output Signal Scripts and Action Description
Manipulation signal description column
True/False Manipulation description
Output signal
Action
specification
Element symbol.XS. ON
True Starts or restarts sequence table
False Pause Sequence table
D030399E.EPS
10th Edition : Dec.18,2003-00
<D3.3 Logic Chart Block (LC64)> D3-169
IM 33S01B30-01E
D3.3.13 Behavior of Logic Chart Internal Timer
Logic chart block has an internal timer to control the processes of itself.
Behavior of Internal Timer
The process timer of a logic chart is used to execute the on-delay timer and the off-delay
timer. The timer starts when the logic chart itself changes to AUT mode.
Setting range: 0 - 10,000 (sec.)
Table Timer Specification
Number of timers
Mode and status
Pause
Start condition
Start action
Stop condition
Stop Action
Timer set value (ST)
Total number of logic operators (64)
Not supported
When PT = 0 or the input signal changes
(on-delay timer 0->1; off-delay timer 1 ->0)
0 start
1. The input signal inverses from the start status
2. Block changes to MAN mode
3. Timer count up (PT _ ST)
Stopped by stop condition 1, the elapsed time reset.
Stopped by stop condition 2 or 3, the elapsed time is kept.
Set on HIS ( 0 - 10,000 sec.)
The timer itself has neither a mode nor status.
D030396E.EPS
On-delay timer behaves as illustrated below.
MAN MODE AUT
ST
AUT
IN 1 0 1 1 0 0
OUT 0 0 1
PT
D030397E.EPS
PT: Elapsed time of internal timer ( 0 to 10,000 sec.)
ST: Set time of internal timer ( 0 to 10,000 sec.)
Figure Behavior of on-delay timer
10th Edition : Dec.18,2003-00
D3-170 <D3.3 Logic Chart Block (LC64)>
IM 33S01B30-01E
D3.3.14 Data Items of Logic Chart Block - LC64
The table below shows the data items of the Logic Chart Block (LC64):
Data Items
Table Data Items of the logic Chart Block (ST-16)
Data Item Data Name
Entry parnitted
or Not
Range Default
MODE Block mode O/S (AUT)
ALRM Alarm status NR
AFLS
Alarm flashing status
0
AF Alarm detection 0
AOFS Alarm inhibition 0
OPMK Operation mark 0 to 255 0
PT01 - 64 Elapsed time of internal timer 0 to10000 (sec.) 0 (sec.)
D030398E.EPS
ST01 - 64 Set time of internal timer 0 to10000 (sec.) 0 (sec.)
UAID User application ID 0
: Entry is permitted unconditionally
Blank: Entry is not permitted
SEE ALSO
For a list of valid block mode of the LC64, see the following:
D3.1.2, Block Mode of Sequence Control Blocks
10th Edition : Dec.18,2003-00
<D3.4 Switch Instrument Block and Enhanced Switch Instrument Block> D3-171
IM 33S01B30-01E
D3.4 Switch Instrument Block and Enhanced Switch
Instrument Block
The switch instrument blocks are used to start, stop, monitor and manipulate the
status of various types of instruments.
Switch Instrument Block and Enhanced Switch Instrument Block
The switch instrument block is a function block which is often used to start/stop motors and
pumps and monitor or manipulate open-close state of the motor-operated valves. In most
cases, this type of blocks is used in combination with the sequence table block (ST16,
ST16E) and the Logic Chart Block (LC64).
Enhanced switch instrument block (*1) is a switch instrument block with enhanced capabili-
ties for connecting to FF faceplate blocks and fieldbus function blocks and for connecting to
the I/O terminals not next to each other.
*1: Enhanced switch instrument block can be applied to all Field control stations except standard PFCS (CS
1000). When using enhanced switch instrument block, it is necessary to add the option [DIOENH] on the [Constant] tab
of the FCS properties sheet.
Switch Instrument Block
Connection
A function block chart of the switch instrument block is shown below.
CSV
SWI
IN TSI OUT
INT
Answerback
input
Answerback
check
Remote/local
input
Sequence
setpoint
RMV
RAW
PV
Remote
output value
Output signal
conversion
MAN
ROUT CAS, AUT
BPSW=1
BPSW=0
CAL
BPSW=0 BPSW=1
D030401E.EPS
MV
Answerback
bypass
Figure Function Block Chart of the Switch Instrument Block
10th Edition : Dec.18,2003-00
D3-172 <D3.4 Switch Instrument Block and Enhanced Switch Instrument Block>
IM 33S01B30-01E
There exist 10 different types of switch instrument blocks according to the difference
between the answerback input points and output points.
A list of switch instrument blocks is shown as follows.
SI-1: Switch instrument block with 1 Input
SI-2: Switch Instrument Block with 2 Inputs
SO-1: Switch Instrument Block with 1 Output
SO-2: Switch instrument block with 2 Outputs
SIO-11: Switch Instrument Block with 1 Input, 1 Output
SIO-12: Switch Instrument Block with 1 Input, 2 Outputs
SIO-21: Switch Instrument Block with 2 Inputs, 1 Output
SIO-22: Switch Instrument Block with 2 Inputs, 2 Outputs
SIO-12P: Switch Instrument Block with 1 Input, 2 One-Shot Outputs
SIO-22P: Switch Instrument Block with 2 Inputs, 2 One-Shot Outputs
The table below shows the connection methods and connection destinations of the switch
instrument block I/O terminals.
Table Connection Method and Connection Destination of Switch Instrument Block I/O Terminals
Remote/local
I/O terminal
Software
I/O
Terminal
connecti-
on
Status
manipul-
ation
Condition
testing
Code I/O terminal
Connection type Connection destination
Data
reference
Data
setting
Function
block
SI-1
SI-2
IN
Answerback
I/O terminal
SO-1
SO-2
TSI
OUT
Output
terminal
INT
Interlock
switch input
terminal
SIO-11
SIO-12
SIO-21
SIO-22
SIO-12P
SIO-22P
IN
Answerback
input terminal
TSI
Remote/local
I/O terminal
SWI
Answerback
bypass input
terminal
OUT
Output
terminal
INT
Interlock
switch input
terminal
D030402E.EPS
Process
I/O
: Connection available
Blank: Connection not available
: Connection is available only when connecting to a switch block (SW-33, SW-91).
10th Edition : Dec.18,2003-00
<D3.4 Switch Instrument Block and Enhanced Switch Instrument Block> D3-173
IM 33S01B30-01E
Enhanced Switch Instrument Block
Connection
A function block chart of the enhanced switch instrument block (*1) is shown below.
*1: Enhanced switch instrument block can be applied to all Field control stations except standard PFCS (CS
1000). When using enhanced switch instrument block, it is necessary to add the option [DIOENH] on the [Constant] tab
of the FCS properties sheet.
CSV
SWI
IN2 TSI OUT/
OUT1
IN/
IN1
OUT2
INT
Answerback
input
Answerback
check
Remote/local
input
Sequence
setpoint
RMV
RAW
PV
Remote
output value
Output signal
conversion
MAN
ROUT CAS, AUT
BPSW=1
BPSW=0
CAL
BPSW=0 BPSW=1
D030420E.EPS
MV
Answerback
bypass
Figure Function Block Chart of the Enhanced Switch Instrument Block
A list of enhanced switch instrument blocks is shown as follows.
SI-1E: Enhanced Switch instrument block with 1 Input
SI-2E: Enhanced Switch Instrument Block with 2 Inputs
SO-1E: Enhanced Switch Instrument Block with 1 Output
SO-2E: Enhanced Switch instrument block with 2 Outputs
SIO-11E: Enhanced Switch Instrument Block with 1 Input, 1 Output
SIO-12E: Enhanced Switch Instrument Block with 1 Input, 2 Outputs
SIO-21E: Enhanced Switch Instrument Block with 2 Inputs, 1 Output
SIO-22E: Enhanced Switch Instrument Block with 2 Inputs, 2 Outputs
SIO-12PE: Enhanced Switch Instrument Block with 1 Input, 2 One-Shot Outputs
SIO-22PE: Enhanced Switch Instrument Block with 2 Inputs, 2 One-Shot Outputs
10th Edition : Dec.18,2003-00
D3-174 <D3.4 Switch Instrument Block and Enhanced Switch Instrument Block>
IM 33S01B30-01E
The table below shows the connection methods and connection destinations of the en-
hanced switch instrument block I/O terminals.
Table Connection Method and Connection Destination of Enhanced Switch Instrument Block I/O Terminls
Remote/local
I/O terminal
Software
I/O
Terminal
connecti-
on
Status
manipul-
ation
Condition
testing
Code I/O terminal
Connection type Connection destination
Data
reference
Data
setting
Function
block
SI-1E
SI-2E
IN/IN1
(*1)
Answerback
I/O terminal 1
IN2
(*2)
Answerback
I/O terminal 2
SO-1E
SO-2E
TSI
OUT/
OUT1(*3)
Output
terminal 1
OUT2
(*4)
Output
terminal 2
INT
Interlock
switch input
terminal
SIO-11E
SIO-12E
SIO-21E
SIO-22E
SIO-
12PE
SIO-
22PE
IN/IN1
(*5)
Answerback
input terminal 1
IN2
(*6)
Answerback
input terminal 2
TSI
Remote/local
I/O terminal
SWI
Answerback
bypass input
terminal
OUT/
OUT1(*7)
Output
terminal 1
INT
Interlock
switch input
terminal
D030421E.EPS
OUT2
(*8)
Output
terminal 2
Process
I/O
: Connection available
Blank: Connection not available
: Connection is available only when connecting to a switch block (SW-33, SW-91).
*1: IN terminal of SI-1E. IN1 terminal of SI-2E.
*2: IN2 terminal of SI-2E.
*3: OUT terminal of SO-1E. OUT1 terminal of SO-2E.
*4: OUT2 terminal of SO-2E.
*5: IN terminal of the blocks with only one input. IN1 terminal of the blocks with two inputs.
*6: IN2 terminal of the blocks with two inputs.
*7: OUT terminal of the blocks with only one output. OUT1 terminal of the blocks with two outputs.
*8: OUT1 terminal of the blocks with two outputs.
IMPORTANT
If the OUT1 terminal and the OUT2 terminal are connected to different output modules or if
OUT1 terminal and the OUT2 terminal are connected to FF faceplate blocks or fieldbus
function blocks, the simultaneity of the two outputs are not guaranteed. The same
phenomenon happens to IN1 and IN2 terminals under the same circumstances.
10th Edition : Dec.18,2003-00
<D3.4 Switch Instrument Block and Enhanced Switch Instrument Block> D3-175
IM 33S01B30-01E
Example of Using Switch Instrument Block
An outline of the function manipulating the motor-operated valve is explained in the switch
instrument block (SIO-22P) faceplate shown below.
TAG NO.
AUT
OPEN
SEQTYPE1
*VALVE*
CLOSE
Push
Push
Open-
output
OPEN
1 to 2 sec
Close-output
CLOSE
1 to 2 sec
Output
Valve
limit
switch
Motor-operated valve
D030403E.EPS
Figure Functional Schematic Diagram of Switch Instrument Block (SIO-22P)
10th Edition : Dec.18,2003-00
D3-176 <D3.4 Switch Instrument Block and Enhanced Switch Instrument Block>
IM 33S01B30-01E
Process Timing
The process timing of switch instrument block and enhanced switch instrument block is
only based on periodical start period. The periodic start period is based on basic scan
period.
List of Switch Instrument Block Functions
The switch instrument block function varies by the type of the block. The table below lists
major functions of switch instrument blocks.
Table List of Switch Instrument Block Functions by Block Type (1/2)
Code
SI-1 SI-2 SO-1 SO-2 SIO-11
Function
Number of answerback points 1 2 1
Number of output points 1 2 1
Block mode
Block status
Alarm status
Answerback input
Answerback inconsistency alarm check
Remote/local input
Answerback check
Output signal conversion
Answerback bypass
Answerback tracking
Calibration
Mode change interlock
Initialization manual mode
Manual mode fallback
Simulation
D030422E.EPS
: Yes
Blank: No
10th Edition : Dec.18,2003-00
<D3.4 Switch Instrument Block and Enhanced Switch Instrument Block> D3-177
IM 33S01B30-01E
Table List of Switch Instrument Block Functions by Block Type (2/2)
Code
SIO-12 SIO-21 SIO-22 SIO-12P SIO-22P
Function
Number of answerback points 1 2 2 1 2
Number of output points 2 1 2 2 2
Block mode
Block status
Alarm status
Answerback input
Remote/local input
Answerback check
Output signal conversion
Answerback bypass
Answerback tracking
Calibration
Mode change interlock
Initialization manual mode
Manual mode fallback
Simulation
D030405E.EPS
Answerback inconsistency alarm check
: Yes
Blank: No
SEE ALSO
For the types of alarm processing possible for the switch instrument blocks, see the following:
D3.1.1, Alarm Processing of Sequence Control Blocks
For more information about alarm processing, see the following:
C5, Alarm Processing FCS
10th Edition : Dec.18,2003-00
D3-178 <D3.4 Switch Instrument Block and Enhanced Switch Instrument Block>
IM 33S01B30-01E
List of Enhanced Switch Instrument Block Functions
The enhanced switch instrument block function varies by the type of the block. The table
below lists major functions of enhanced switch instrument blocks.
Table List of Enhanced Switch Instrument Block Functions by Block Type (1/2)
Code
SI-1E SI-2E SO-1E SO-2E SIO-11E
Function
Number of answerback points 1 2 1
Number of output points 1 2 1
Block mode
Block status
Alarm status
Answerback input
Answerback inconsistency alarm check
Answerback inconsistency alarm mask
Remote/local input
Answerback check
Output signal conversion
Output tracking
Answerback bypass
Answerback tracking
Calibration
Mode change interlock
Initialization manual mode
Manual mode fallback
Simulation
D030404E.EPS
: Yes
Blank: No
10th Edition : Dec.18,2003-00
<D3.4 Switch Instrument Block and Enhanced Switch Instrument Block> D3-179
IM 33S01B30-01E
Table List of Enhanced Switch Instrument Block Functions by Block Type (2/2)
Code
SIO-12E SIO-21E SIO-22E SIO-12PE SIO-22PE
Function
Number of answerback points 1 2 2 1 2
Number of output points 2 1 2 2 2
Block mode
Block status
Alarm status
Answerback input
Remote/local input
Answerback check
Output signal conversion
Answerback bypass
Answerback tracking
Calibration
Mode change interlock
Initialization manual mode
Manual mode fallback
Simulation
D030423E.EPS
Answerback inconsistency alarm check
Answerback inconsistency alarm mask
Output Tracking
: Yes
Blank: No
SEE ALSO
For the types of alarm processing possible for the enhanced switch instrument blocks, see the follow-
ing:
D3.1.1, Alarm Processing of Sequence Control Blocks
For more information about alarm processing, see the following:
C5, Alarm Processing FCS
10th Edition : Dec.18,2003-00
D3-180 <D3.4 Switch Instrument Block and Enhanced Switch Instrument Block>
IM 33S01B30-01E
Answerback Input
Direction of Answerback
In answerback input function, the limit switch signal indicating the valves open/close status
is entered from the answerback input terminal to generate the answerback input value (PV).
Contact input and internal status switch can be specified as the answerback signal input for
the switch instrument blocks. For enhanced switch instrument blocks, the contact input,
internal switch, FF faceplate block and fieldbus function block can be specified as the
answerback signal input. The answerback input signal is converted into the answerback
input value (PV) inside the switch instrument. This answerback input value varies
depending upon the answerback input direction and the input status of the valve limit
switch. The table below lists the answerback input values.
Table List of Answerback Input Value
Number of
answerback
point
Action of
answerback
Valve limit (*1)
switch status
Answerback input value (PV)
n n+1
1
Direct
ON - 2
OFF - 0
Reverse
ON - 0
OFF - 2
Inverted connection
direct action
(*3)
OFF ON 2
OFF OFF 1
ON OFF 0
ON ON Hold previous value (*2)
Inverted connection
reversed action
(*3)
OFF ON 0
OFF OFF Hold previous value (*2)
ON OFF 2
ON ON 1
OFF
ON
2
Direct
ON OFF 2
OFF OFF 1
OFF ON 0
ON ON Hold previous PV value (*2)
Reverse
ON OFF 0
OFF OFF Hold previous PV value (*2)
OFF ON 2
ON ON 1
D030406E.EPS
*1: n in the table indicates the element number specified to connect to IN terminal of switch instrument blocks and
enhanced switch instrument blocks, or the IN1 terminal of enhanced switch instrument blocks. The answerback input
signal read from the element n represents the status of open; vise versa, when the connection is inverted, the
answerback input signal read from the element n represents the status of close.
n+1 in the table indicates the element number succeeding the element number n that is specified to connect to IN
terminal of switch instrument blocks, or the element number specified to connect to IN2 terminal of enhanced switch
instrument blocks. The answerback input signal read from the element n+1 represents the status of close; vise versa,
when the connection is inverted, the answerback input signal read from the element n+1 represents the status of
open.
*2: This is an abnormal event in which input from full-open signal and full-close signal occurs simultaneously. The
answerback inconsistency alarm (PERR) occurs.
*3: Inverted connection cannot be defined for enhanced switch instrument block.
10th Edition : Dec.18,2003-00
<D3.4 Switch Instrument Block and Enhanced Switch Instrument Block> D3-181
IM 33S01B30-01E
The answerback input direction is specified in the Function Block Detail Builder.
Direction of Answerback:
Switch Instrument Block:
Select from [Direct], [Reverse], [Inverted connect direct action], or [Inverted connect
reversed action].
Enhanced switch instrument block:
Select from [Direct] or [Reverse].
Default is [Direct].
Data Status Accompanied by Alarms
If a full-open signal and a full-close signal are input simultaneously, or at least one of the
input destinations of the input target element is abnormal, the data status of the
answerback input value (PV) becomes invalid (BAD).
If the data status of the answerback input value becomes invalid (BAD), the input open
alarm (IOP) will occur.
If the invalid data value is caused by the simultaneous input of full-open and full-close
signals, the answerback inconsistency alarm (PERR) will occur.
The status of answerback signal will be stored in the answerback raw signal (RAW), be-
sides the answerback input value (PV). Even if the answerback input function fails, the
answerback raw data (RAW) will follow the actual answerback signal.
Conditions under Which Answerback Input Function Fails
The answerback input function fails under the following conditions:
Simulation state (SIMM=1)
Calibrating (PV.CAL=1)
During answerback bypass (BPSW=1)
10th Edition : Dec.18,2003-00
D3-182 <D3.4 Switch Instrument Block and Enhanced Switch Instrument Block>
IM 33S01B30-01E
Actions of Answer-Back Inconsistency Alarm Check
The answerback inconsistency alarm check is a function that determines whether two
answerback input signals indicate full-open and full-close simultaneously in the switch
instrument blocks (SI-2, SIO-21, SIO-22, or SIO-22P) and the enhanced switch instrument
block (SI-2E, SIO-21E, SIO-22E or SIO-22PE).
If it is determined that two answerback input signals indicated full-open and full-close
simultaneously, an answerback inconsistency alarm (PERR) occurs.
If the two answer-back input signals stop indicating full-open and full-close simultaneously
while the alarm is being generated, the alarm is returned to normal state.
Answer-Back Inconsistency Alarm Mask
Inhibit Answerback Error Alarm
When IN1 terminal and the IN2 terminal of an enhanced switch block are connected to FF
faceplate blocks or fieldbus function blocks, the simultaneity of the two inputs is not
guaranteed. If the both the ON and OFF answerbacks exist at the same time even for a
very short time, the Answer-Back Inconsistency Alarm (PERR) may occur. To prevent the
alarm occurring under this circumstance, the alarm can be masked by stop the alarm check
for a certain time period (Mask Time) after the manipulated output (MV) changes. The data
item MTM can be used for setting this answer-back inconsistency alarm mask time.
For enhanced switch instrument block, the answer-back inconsistency alarm mask can be
set on the function block detail builder.
Inhibit Answerback Error Alarm:
Choose between [No] and [Yes].
The default setting is [Yes].
TIP
SI-2E block has the Answer-Back Inconsistency Alarm check capability but cannot be masked. If the
alarm need to be masked, it is necessary to use an application program such as a sequence table block
to enable or disable the alarm check after the MV changes.
10th Edition : Dec.18,2003-00
<D3.4 Switch Instrument Block and Enhanced Switch Instrument Block> D3-183
IM 33S01B30-01E
Remote/Local Input
The remote/local input function switches the block mode depending on the status of the on-
site operation push-button (remote/local input signal) input from the remote/local input
terminal (TSI). For remote/local signals, the contact input and common switch can be
specified. The state of remote/local input signal is stored in the tracking switch (TSW). The
block mode will be changed depending on the state of tracking switch (TSW).
Table Remote/Local Input of the Switch Instrument Block and the Enhanced Switch Instrument
Block
On-site operation remote/
local switching
Input signal to TSI
input terminal
Tracking switch
(TSW)
Block mode
Remote OFF 0 Cancel TRK
Local ON 1 TRK
D030407E.EPS
If there exists no connection for the remote/local input terminal (TSI), the block mode
external to the block function can set the tracking switch (TSW) directly.
The following is an example of description to the sequence table action signal column for
setting the switch instrument (Tag name=SU0100) tracking switch (TSW) to 1.
Action rule
Y
Data
1
Tag name/Data item
SU0100.TSW D030408E.EPS
The cprresponding logic chart is shown below:
DI010.PV.ON
DI011.PV.ON
DI010
DI011
OR
Switch instrument
(Tag No.=SU0100)
D030418E.EPS
Data connection
SU0100.TSW.1
TSW
SIO-21
SU0100.TSW.1 OUT
Q01
Q02
Figure Example of a Logic Chart
10th Edition : Dec.18,2003-00
D3-184 <D3.4 Switch Instrument Block and Enhanced Switch Instrument Block>
IM 33S01B30-01E
Answerback Check
Answerback Check, Answerback Abnormal Alarm
The answerback check function checks if final control elements such as a valve is working
as specified by the output from the switch instrument block or the enhanced switch
instrument block.
If there exists answerback check specification, operations are checked by comparing the
answerback input value (PV) and manipulated output value (MV) regularly, except for a
certain period after a change in the output. If there is any inconsistency between the
answerback input value (PV) and the manipulated output value (MV), the answerback error
alarm (ANS+ or ANS-) will occur.
Conditions for Answerback Error Alarm Occurrence
Answerback error alarm occurs under the following conditions:
Open-side answerback error alarm (ANS+): MV=2 and PV2
Close-side answerback error alarm (ANS-): MV=0 and PV0
Presence/absence of the answerback error alarm can be specified in the Function Block
Detail Builder.
Answerback Abnormal Alarm
Select from Close, OFF Direction, Both or No.
The default is Both.
Conditions for Recovery from Answerback Error Alarm
Recovery from the answerback error alarm is possible under the following conditions.
Open-side answerback error alarm (ANS+)
When PV changes to PV=2, or MV changes to MV2
Close-side answerback error alarm (ANS-)
When PV changes to PV=0, or MV changes to MV0
10th Edition : Dec.18,2003-00
<D3.4 Switch Instrument Block and Enhanced Switch Instrument Block> D3-185
IM 33S01B30-01E
Answerback Check Suppression Timer
It takes a certain length of time from changing the manipulated output value (MV) to com-
pleting the final control element operation. Consequently, when there is a change in ma-
nipulated output value, even if there is any inconsistency between the answerback input
value (PV) and the manipulated output value (MV), the alarm will not be activated for a
certain length of time (answerback check suppression time: MTM) after the change. If the
manipulated output value (MV) is changed, the block status will become answerback check
status (ANCK), starting the answerback check suppression timer.
If there is any inconsistency between the answerback input value (PV) and the manipulated
output value during the period between the time-up of answerback check suppression timer
and the next change in the manipulated output value (MV), the answerback error alarm
(ANS) will be activated.
The answerback check status (ANCK) will be canceled when there is an inconsistency
between the answerback input value (PV) and the manipulated output value (MV), or when
the answerback check suppression timer expires.
Elapsed time of the answerback check suppression timer (PTM) indicates the time elapsed
after activating the answerback check suppression timer. When there is an inconsistency
between the answerback input value (PV) and the manipulated output value (MV) or when
the answerback check suppression timer expires, the answerback check suppression timer
will stop counting, retaining the count value.
The operation range of the answerback check suppression time (MTM) is from 0 to 10,000
seconds.
Answerback Check Monitoring
The answerback check monitoring is specified in the Function Block Detail Builder.
Answerback Check
Select from Both sides, Open, Close, or No.
The default is Both sides.
When either Open or Close is specified, answerback check will not be performed even if
there is any inconsistency on the side not specified. On the other hand, if monitoring both
sides is specified, the alarm will be activated when an inconsistency is detected on either
side. The alarm will be canceled when both sides satisfy their recovery conditions.
10th Edition : Dec.18,2003-00
D3-186 <D3.4 Switch Instrument Block and Enhanced Switch Instrument Block>
IM 33S01B30-01E
Monitoring Both Sides
The answerback check time will be activated upon rising and falling of the output. If there
exists any inconsistency between the answerback input value (PV) and the manipulated
output value during the period between the time-up of answerback check suppression timer
and the next change in the manipulated output value (MV), the answerback error alarm
(ANS+) or close-side answerback error alarm (ANS-) will be activated.
ANCK ANCK NR NR NR NR
AN
CK
AN
CK
NR
ANS- ANS+ NR NR NR
MV=2
MV=0
PV=2
PV=0
MTM
0
D030409E.EPS
Alarm status
Block status
Manipulated output
Answerback input
Answerback check
suppression timer
Figure Operation Diagram of Both-Side Monitoring
Monitoring Open-Side
The answerback check time will be activated upon rising (OFFON) (MV=02) of the
manipulated output. If there exists any inconsistency between the answerback input value
(PV) and the manipulated output value during the period between the time-up of
answerback check suppression timer and the next change of the manipulated output value
(MV) to 0, the open-side answerback error alarm (ANS+) will be activated.
NR ANS+ NR
ANCK NR NR ANCK NR
MV=2
MV=0
PV=2
PV=0
MTM
0
D030410E.EPS
Alarm status
Block status
Manipulated output
Answerback input
Answerback check
suppression timer
Figure Operation Diagram of Open-Side Monitoring
10th Edition : Dec.18,2003-00
<D3.4 Switch Instrument Block and Enhanced Switch Instrument Block> D3-187
IM 33S01B30-01E
Monitoring Close-Side
The answerback check time will be activated upon falling (ONOFF) (MV=20) of the
manipulated output. If there exists any inconsistency between the answerback input value
(PV) and the manipulated output value during the period between the time-up of
answerback check suppression timer and the next change of the manipulated output value
(MV) to 2, the close-side answerback error alarm (ANS-) will be activated.
ANCK ANCK NR NR NR
ANS- NR NR
MV=2
MV=0
PV=2
PV=0
MTM
0
D030411E.EPS
Alarm status
Block status
Manipulated output
Answerback input
Answerback check
suppression timer
Figure Operation Diagram of Close-Side Monitoring
Conditions under Which Answerback Check Function Fails
Answerback check function fails under the following conditions:
Simulation state (SIMM): SIMM=1
On-site manual operation mode (TRK): TSW=1
During answerback bypass: BPSW=1
MV=1
Calibrating (PV.CAL=1)
Input data error
Initialization manual mode (IMAN)
10th Edition : Dec.18,2003-00
D3-188 <D3.4 Switch Instrument Block and Enhanced Switch Instrument Block>
IM 33S01B30-01E
Answerback Bypass
The answerback bypass function stops the answerback input function and answerback
check function, forcing the answerback input value (PV) and the manipulated output value
(MV) to match. The status of the answerback bypass switch will be input via the
answerback bypass input terminal (SWI). The contact input and internal status switch can
be specified to the input terminal. If there is no connection to the SWI input terminal, the
answerback bypass switch (BPSW) can be specified directly from outside the function
block.
The answerback bypass function is available only when the answerback bypass switch
(BPSW) is set to 1.
The table below shows the relationship between the answerback bypass input terminal and
the answerback bypass switch.
Table Relationship between Answerback Bypass Input Terminal and Answerback Bypass Switch
Item SWI input terminal ON SWI input terminal OFF
Answerback bypass switch (BPSW) 1 0
Answerback bypass function Execute Stop
D030412E.EPS
10th Edition : Dec.18,2003-00
<D3.4 Switch Instrument Block and Enhanced Switch Instrument Block> D3-189
IM 33S01B30-01E
Output Signal Conversion
Output Action Direction
The output signal conversion function outputs a contact signal to the output destination
specified by the output terminal depending on the manipulated output value (MV). The
manipulated output value (MV) from the switch instrument block or the enhanced switch
instrument block varies by the block mode.
When in CRT manual (MAN) mode
The output value is the values set on HIS.
When in Sequence automatic 1 (AUT) or Sequence automatic 2 (CAS) mode
The output value is the value set by other blocks such as sequence control block
(CSV).
When in Computer remote (ROUT) mode
The output value is the value remotely set from a supervisory computer (RMV).
When in On-site manual (Local tracking) (TRK) mode
The output value is the value of the answerback input value (PV) if it is not in simula-
tion status and answerback tracking is specified.
The output contact signal varies with the direction of output action. Output action direction
can be set on the Function Block Detail Builder.
Output action direction:
Switch instrument block:
Select from [Direct], [Reverse], [Inverted connect Direct action] or [Inverted connect
Reversed action].
Enhanced switch instrument block:
Select from [Direct] or [Reverse].
The default is [Direct].
10th Edition : Dec.18,2003-00
D3-190 <D3.4 Switch Instrument Block and Enhanced Switch Instrument Block>
IM 33S01B30-01E
Table Manipulated Output Value (MV) and Output Status
Number of output point Output action direction MV
Output status (*1)
n n+1
1
(Two-position type)
Direct action
2 ON -
0 OFF -
Reverse action
0 ON -
2 OFF -
2
(Three-position type)
Direct action
2 ON OFF
1 OFF OFF
0
OFF ON
Reverse action
Inverted connection
Direct action (*2)
Inverted connection
Reversed action
(*2)
2 OFF ON
1 ON ON
0 ON OFF
2 OFF ON
1 OFF OFF
0
ON OFF
2 ON OFF
1 ON ON
0 OFF ON
2
(Pulse type)
Direct action
2 ON OFF
0 OFF ON
D030413E.EPS
*1: n in the table indicates the element number specified to connect to OUT terminal of switch instrument blocks and
enhanced switch instrument blocks, or the OUT1 terminal of enhanced switch instrument blocks.
n+1 in the table indicates the element number succeeding the element number n that is specified to connect to OUT
terminal of switch instrument blocks, or the element number specified to connect to OUT2 terminal of enhanced switch
instrument blocks.
*2: Inverted connection cannot be defined for enhanced switch instrument block.
Number of output points 1
(two-position type)
Number of output points 2
(three-position type)
Number of output points 2
(Pulse type)
n
n
ON
OFF
ON
OFF
ON
OFF
ON
OFF
MV=2 MV=0 MV=0
n+1
MV=2 MV=1 MV=0 MV=1 MV=1
n
n+1
MV=2
1 to 2 sec
1 to 2 sec
MV=0
ON
OFF
D030414E.EPS
Figure Output Action (Action Direction = Direct Action)
10th Edition : Dec.18,2003-00
<D3.4 Switch Instrument Block and Enhanced Switch Instrument Block> D3-191
IM 33S01B30-01E
Output Tracking : Enhanced Switch Instrument Block
Output tracking is an output processing of enhanced switch instrument block. The output
tracking forces the manipulated output value (MV) to match value of the connected destina-
tion.
If an enhanced switch instrument block is connected in a cascade loop with FF faceplate
block or fieldbus function block, the enhanced switch block starts output tracking when the
cascade loop is disconnected and its block changes to IMAN mode.
Output tracking starts under the following circumstances:
When the block becomes IMAN mode.
When the block changes from service off (O/S) mode to MAN, AUT or CAS mode.
When the I/O module connected to the output terminals recovered from failure.
When the cascade loop is disconnected.
TIP
The output tracking of switch instrument block starts under the following circumstances:
When the block becomes IMAN mode.
When the block changes from service off (O/S) mode to MAN, AUT or CAS mode.
When the I/O module connected to the output terminals recovered from failure.
Answerback Tracking
Answerback Tracking
The answerback tracking function forces the manipulated output value (MV) to coincide
with the answerback input value (PV) (MV=PV) during the on-site manual operation mode
(TRK). The presence/absence of the answerback tracking function can be specified in the
Function Block Detail Builder.
Answerback Tracking: Select from Yes or No.
The default is Yes.
Calibration
The calibration function allows manual setting of the input signal. The calibration function is
activated when the data status of the answerback input value (PV) becomes calibration
(CAL). This state is called the calibration status. Change to the calibration status can be
executed from the human-machine interface station (operation and monitoring functions).
The following describes the switch instrument block and enhanced switch instrument block
actions during the calibration status.
Answerback input value (PV) can be set manually.
The manual fall back condition is satisfied and the block mode becomes manual
(MAN). The output function is performed.
Bypass the alarm process for the answerback input value (PV).
Bypass the answerback input and answerback check function.
10th Edition : Dec.18,2003-00
D3-192 <D3.4 Switch Instrument Block and Enhanced Switch Instrument Block>
IM 33S01B30-01E
Simulation
The simulation function simulates only the internal processing of the switch instrument
block/the enhanced switch instrument block in order to test the operation of devices using
the switch instrument block/the enhanced switch instrument block. There exists two main
status in the switch instrument block/the enhanced switch instrument block: normal status
and simulation status.
The status shifts to simulation when the switch instrument block/the enhanced switch
instrument block simulation switch (SIMM) is set to ON (=1).
Setting the Simulation Status
Upon setting the switch instrument block simulation switch (SIMM) to ON (=1), the status
shifts to simulation (Block status: SM). The status can be set in the tuning widow of opera-
tion and monitoring functions.
Canceling the Simulation Status
Upon setting the switch instrument block simulation switch (SIMM) to ON (=0), the simula-
tion status will be canceled (block status: NR). The status can be canceled in the tuning
widow of operation and monitoring functions.
Actions under Simulation Status
The table below lists the actions of the switch instrument block/the enhanced switch
instrument block functions during simulation status.
Block mode: Same as the normal state except IMAN
Block status: SIM
Alarm status: Always NR (Normal)
Answerback input: No action except for including raw input data value.
Answerback check:
Checking and alarming action is stopped. After the answerback check suppression
time is elapsed, MV value is set to PV value. When the answerback check is absent,
MV value is immediately set to PV value.
Answerback bypass: No action except for including data from SWI.
Output signal conversion: Output action is stopped.
Answerback tracking: No action
Alarm function: No action
Calibration function: Same as the normal state.
The following describes the switch instrument block/the enhanced switch instrument block
action in the first scan period after canceling the simulation status.
For a status-output type, the contact state of the output destination (element con-
nected to output terminal) is read back as the manipulated output value (MV).
For a pulse-output type (SIO-12P, SIO-22P, SIO-12PE, SIO-22PE), if the answerback
tracking function is Yes, the manipulated output value (MV) is matched to the
answerback input value (PV).
10th Edition : Dec.18,2003-00
<D3.4 Switch Instrument Block and Enhanced Switch Instrument Block> D3-193
IM 33S01B30-01E
Mode Change Interlock
This function prevents the automatic operation of the switch instrument block/the enhanced
switch instrument block. When the internal status switch of the interlock switch input termi-
nal connection destination is turned ON, the block mode change command to the auto-
matic operation status (AUT, CAS, ROUT) is disabled. At the same time, the manual fall
back condition becomes satisfied, and the block mode is changed to manual mode (MAN).
Any data containing a logical value such as the connection I/O and the internal switch can
be specified to the connection destination of the interlock switch input terminal regardless
of the element type.
Initialization Manual
The initialization manual function is an error processing functions. It suspends the control
action by changing the block mode to the initialization manual mode (IMAN). The initializa-
tion manual][ function will be activated when a temporary abnormal state occurred at the
output destination of manipulated output value can be restarted automatically upon recov-
ery from the abnormal state, for instance, during on-line maintenance.
When the initialization manual function is activated, the control action is stopped when
the block mode is in the status that allows automatic controls as in the automatic mode
(AUT). The previous manipulated output value (MV) is retained. However, the manual
operation will not be available if the initialization manual mode is enabled, even if the
mode is changed from IMAN (AUT) to IMAN (MAN). Upon returning from the
initialization manual (IMAN) mode, the manipulated output value (MV) will track the PV
value of the output destination.
The initialization manual mode (IMAN) is reset upon recovery of the occurrence
conditions, returning to the previous block mode. If the block mode change is executed
during the initialization manual mode (IMAN), the block mode will be the mode
specified upon recovery of IMAN conditions.
SEE ALSO
For initialization manual conditions, see the following:
The Initialization Manual Condition in C6.1.5, Block Mode Transition Condition
Manual Mode Fallback
The manual fallback function is one of the error processing functions. It forces the control to
stop by changing the block mode to the manual mode (MAN) regardless of the current
operation status. If the manual mode is activated (MAN) by the manual fallback function, the
block mode of the switch instrument block/the enhanced switch instrument block remains
manual (MAN) even after the recovery of an error.
The following describes manual fallback conditions for the switch instrument block/the
enhanced switch instrument block.
When the switch connected to INT terminal is turned ON (i.e., the interlock condition is
established for changing the block into interlock mode).
When the data status of the answerback input value (PV) changes to calibration (CAL)
When the data status of the manipulated output value becomes output failure (PTPF)
When the FCS is undergoing a restart process, and the manipulated output is used for
a process control via a process control I/O module.
10th Edition : Dec.18,2003-00
D3-194 <D3.4 Switch Instrument Block and Enhanced Switch Instrument Block>
IM 33S01B30-01E
Data Items Switch Instrument Block and Enhanced Switch Instrument
Block
SEE ALSO
For a list of valid block modes for the switch instrument blocks and the enhanced switch instrument block,
see the following:
D3.1.2, Block Mode of Sequence Control Blocks
Table Data Items of the Switch Instrument Blocks (SI-1, SI-2) and the Enhanced Switch
Instrument Block (SI-1E, SI-2E)
Data Item Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (AUT)
BSTS Block status ----- NR
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- 0
AF Alarm detection ----- 0
AOFS Alarm inhibition ----- 0
PV Answerback input value (*1) 0 to 2 0
RAW Raw input data 0 to 3 -----
SIMM Simulation switch 0, 1 0
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
D030415E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
10th Edition : Dec.18,2003-00
<D3.4 Switch Instrument Block and Enhanced Switch Instrument Block> D3-195
IM 33S01B30-01E
Table Data Items of the Switch Instrument Blocks (SO-1, SO-2) and the Enhanced Switch
Instrument Block (SO-1E, SO-2E)
(*2)
(*1)
(*3)
Data Item Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (MAN)
BSTS Block status ----- NR
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- 0
AF Alarm detection ----- 0
AOFS Alarm inhibition ----- 0
MV Manipulated output value 0 to 2 0
RMV Remote manipulated output value 0 to 2 0
CSV Sequence setpoint value 0 to 2 0
SIMM Simulation switch
0, 1 0
TSW Tracking switch 0, 1 0
BSW Backup switch 0, 1 0
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
D030416E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the block mode is MAN
*2: Entry is permitted when no data is specified to the input connection terminal
*3: Entry is permitted when the block mode is ROUT
10th Edition : Dec.18,2003-00
D3-196 <D3.4 Switch Instrument Block and Enhanced Switch Instrument Block>
IM 33S01B30-01E
Table Data Items of the Switch Instrument Blocks (SIO-11, SIO-12, SIO-21, SIO-22, SIO-12P,
SIO-22P) and the Enhanced Switch Instrument Block (SIO-11E, SIO-12E, SIO-21E, SIO-22E,
SIO-12PE, SIO-22PE)
(*3)
(*3)
(*2)
(*4)
(*1)
Data Item Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (MAN)
BSTS Block status ----- NR
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- 0
AF Alarm detection ----- 0
AOFS Alarm inhibition ----- 0
PV Answerback input value 0 to 2 0
RAW Answerback raw signal 0 to 3 -----
MV Manipulated output value 0 to 2 0
RMV Remote manipulated output value 0 to 2 0
CSV Sequence setpoint value 0 to 2 0
MTM
Answerback check masking time
(seconds)
0 to 10000 4
PTM Elapsed time (seconds) 0 to 10000 0
SIMM Simulation switch
0, 1 0
BPSW Answerback bypass switch 0, 1 0
TSW Tracking switch 0, 1 0
BSW Backup switch 0, 1 0
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
D030417E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
*1: Entry is permitted when the data status is CAL
*2: Entry is permitted when the block mode is MAN
*3: Entry is permitted when no data is specified to the input connection terminal
*4: Entry is permitted when the block mode is ROUT
Block Status of Switch Instrument Block and the Enhanced Switch In-
strument Block
Table Block Status of Switch Instrument Block and Enhanced Switch Instrument Block
Level
Symbol Name
Block Status
Description
3 ANCK (*1) Answerback Check Inhibition Answerback check is inhibited
1
SIM Simulation state, output is invalidated Simulation
NR Normal Normal state
D030419E.EPS
*1: ANCK status is not available in SI-1, SI-2, SO-1 and SO-2.
10th Edition : Dec.18,2003-00
D3-197
IM 33S01B30-01E
<D3.5 Timer Block (TM)>
D3.5 Timer Block (TM)
The Timer Block (TM) is used to measure time in the unit of seconds or minutes.
Timer Block (TM)
Connection
The Timer Block (TM) is a function block which measures time in the unit of seconds or
minutes. In addition to the basic elapsed time measuring function, the block includes the
preset timer function which notifies the time-up after a specified amount of time has
elapsed, the function which performs the periodic action, and the function which manipu-
lates the status based on the action signals specified in the output terminals.
The figure below is a function block diagram of the Timer Block (TM).
(CTUP)
PV01 OUT
Counting
process
D030501E.EPS
CTUP: Time-up
Figure Function Block Diagram of the Timer Block (TM)
The table below lists the connection methods and connection destinations of the I/O termi-
nals of the Timer Block (TM).
Table Connection Methods and Connection Destinations of the I/O Terminals of the Timer Block
(TM)
Output
terminal
Terminal
connecti-
on
Function
block
Software
I/O
Process
I/O
Status
manipula-
tion
Data
reference
Data
setting
Condition
testing
I/O terminal
Connection type Connection destination
OUT
D030502E.EPS
: Connection available
Blank: Connection not available
Operations such as the timer start or stop can be performed from the sequence control
block, calculation block, and operation and monitoring functions. The block status which
indicates an operating status can also be referenced from other function blocks.
Status manipulation is the only connection method from the OUT terminal of the Timer
Block (TM). Thus, the Timer Block (TM) manipulates the status according to the action
signals specified in the OUT terminals. The logical value of the Timer Block (TM) becomes
true when the preset timer function is in time-up status (block status: CTUP).
10th Edition : Dec.18,2003-00
D3-198
<D3.5 Timer Block (TM)>
IM 33S01B30-01E
The figure below shows an example of connection between the Timer Block (TM) and other
sequence control block.
OUT
TM
(TM001)
CTS
(COUNT01)
Sequence connection
D030503E.EPS
Specify COUNT01.ACT.ON
Figure Connection Example of Timer Block (TM) and Other Sequence Control Block
Every time the Timer Block (TM) with the tag name TM001 expires, the Software Counter
Block (CTS) with the tag name COUNT01 is increased by one count.
Process Timing
The process timing of Timer block is only based on periodical start period. The periodic
start period is based on high-speed scan period, medium-speed scan period (*1) and basic
scan period.
*1: Medium-speed scan period is supported in KFCS2, KFCS, LFCS2 and LFCS only.
Set Parameter
Timer Property
The following describes the set parameters of the Timer Block (TM).
Preset time setpoint value (PH): 0 to 100000 (second or minute)
Pre-alarm setpoint value (DL): PL to PH
The PL is the low-limit value (fixed at 0) of the timer elapsed time (PV).
Use the Function Block Detail Builder to set the unit for the preset time setpoint.
Timer Property: Select from Second timer or Minute timer.
Default is Second timer.
10th Edition : Dec.18,2003-00
D3-199
IM 33S01B30-01E
<D3.5 Timer Block (TM)>
Action Commands for the Timer Block (TM)
Action commands can be given to the Timer Block (TM) from the operation and monitoring
functions, other sequence control blocks, or calculation block.
Action Commands from the Operation and Monitoring Functions
Action commands can be given to the Timer Block (TM) by pressing the softkeys listed
below.
STOP: Timer stop command
START: Timer start command
CONTINUE: Restart command
PAUS: Pause command
Action Commands from Sequence Control Blocks and Calculation Blocks
(CALCU, CALCU-C)
The table below describes the specified format of action signals and action description
when giving action commands to the Timer Block (TM) from sequence control blocks and
the calculation block.
Table Specified Format of Action Signals and Action Description
Action signal description column
Y/N
True/False
Action description
Output signal Action specification
Element symbol.OP
STOP
Y/True Timer stop command
N/False Disable
START
Y/True Timer start command
N/False Timer stop command (*1)
RSTR
Y/True Restart command
N/False Disable
WAIT
Y/True Pause command
N/False Restart command (*1)
D030504E.EPS
*1: An action for N is enabled only with the sequence table.
An action for False is enabled only with the logic chart.
10th Edition : Dec.18,2003-00
D3-200
<D3.5 Timer Block (TM)>
IM 33S01B30-01E
Action of the Timer Block
When the Timer Block receives an action command from the operation and monitoring
functions or other function blocks, the block status changes according to the given com-
mand. There exist four types of basic actions for the Timer Block: Start, Stop, Pause, and
Restart.
The figure below shows the relationship between the timer elapsed time (PV) and the block
status, and each basic action.
NR NR CTUP PALM NR NR
RUN STOP STOP
Block
Status
PH
DV
DL
Action
Command
Start
Command
Stop
Command
Start
Command
Stop
Command
RUN
Time
PV Value
D030505E.EPS
PV
Figure Basic Actions of the Timer Block (TM)
Timer Start Action
When the Timer Block (TM) receives the timer start command, it starts the counting action
upon resetting (PV=0) the timer elapsed time (PV). The block status of the Timer Block
(TM) changes to counting (RUN-NR). The DV indicates the timers remaining time (DV=PH-
PV).
The figure below shows the changes in the timer elapsed time (PV) by the timer start
command.
Block status
PV=0
PV value
Scan period
Start command
D030506E.EPS
Time
RUN
Figure Timer Elapsed Time (PV) by Timer Start Command
The following describes an example of the timer start specified in the action signal column
of the sequence table.
Action rule
Y
Data
START
Tag name/Data item
TM0002.OP D030507E.EPS
10th Edition : Dec.18,2003-00
D3-201
IM 33S01B30-01E
<D3.5 Timer Block (TM)>
Timer Stop Action
When the Timer Block (TM) receives the timer stop command, it stops the counting action
while holding the timer elapsed time (PV). The block status of the Timer Block (TM)
changes to stop status (STOP).
The figure below shows the changes in the timer elapsed time (PV) by the timer stop
command.
PV=0
PV
Scan period
Stop command
Time
Block
Status
D030508E.EPS
RUN STOP
Figure Timer Elapsed Time (PV) by Timer Stop Command
The following describes an example of specifying the timer stop in the action signal column
of the sequence table.
Action rule
Y
Data
STOP
Tag name/Data item
TM0002.OP D030509E.EPS
Timer Pause Action
When the Timer Block (TM) receives the pause command, the counting action is halted.
During the pause, the Timer Block (TM) holds the timer elapsed time (PV) or other data. As
for the block status, the pause status (PAUS) is newly added while the statuses such as
counting (RUN), pre-alarm status (PALM), time-up status (CTUP), or stop status (STOP)
are held. However, the status will be changed if the preset time setpoint value (PH), pre-
alarm setpoint value (DL), or the timer elapsed time (PV) is changed during the pause.
The following describes an example of specifying the timer pause in the action signal
column of the sequence table.
Action rule
Y
Data
WAIT
Tag name/Data item
TM0002.OP D030510E.EPS
10th Edition : Dec.18,2003-00
D3-202
<D3.5 Timer Block (TM)>
IM 33S01B30-01E
Timer Restart Action
When the Timer Block (TM) in pause status receives the restart command, the counting
action is restarted. The Timer Block (TM) is released from the pause status (PAUS), and
returns to the previous block status that has been held.
The pause status (PAUS) is released when it receives the restart command. However, the
elapsed time (PV) is updated every scan period of the Timer Block (TM) itself.
NR PALM CTUP
STOP
Block
Status
PH
DV
DL
PAUS PAUS
Action
Command
Stop
Command
Pause
Command
Restart
Command
Pause
Command
Start
Command
Restart
Command
RUN
D030511E.EPS
PV
Figure Pause/Restart Action of Timer
The following describes an example of specifying the timer restart in the action signal
column of the sequence table.
Action rule
Y
Data
RSTR
Tag name/Data item
TM0002.OP D030512E.EPS
10th Edition : Dec.18,2003-00
D3-203
IM 33S01B30-01E
<D3.5 Timer Block (TM)>
Preset Timer
Periodic Action
The preset timer function notifies that the specified amount of time has elapsed. The
content of the notification includes the time-up status (TUP) based on the preset time
setpoint (PH) and the pre-alarm status (PALM) which gives prior notices before reaching
the preset time.
If one of the following conditions is satisfied for the timers remaining time (DV=PH-PV)
when the block status is counting (RUN), the pre-alarm status (PALM) or time-up status
becomes true.
0<DVDL: Pre-alarm status (PALM)
DV=0: Time-up status (CTUP)
Use the Function Block Detail Builder to set the presence/absence of the periodic action.
Periodic Action: Select from Yes or No.
The default is No.
The action of the preset timer function differs depending on the presence/absence of the
periodic action specification and the value of timers remaining time (DV).
10th Edition : Dec.18,2003-00
D3-204
<D3.5 Timer Block (TM)>
IM 33S01B30-01E
When Periodic Action Specification is No
Since the pre-alarm status (PALM) and the time-up status (CTUP) can not be true simulta-
neously, if DV0, the pre-alarm status (PALM) is canceled, shifting to the time-up status
(CTUP). When the time-up status becomes true, the elapsed time update is stopped. The
PV=PH and DV=0 status is therefore retained.
When the time-up status (CTUP) is true, the block status and the timer elapsed time (PV)
will be held even if the preset time setpoint (PH) is changed. A stop command or start
command must be given remotely in order to cancel the time-up status.
When Periodic Action Specification is Yes
The time-up status (CTUP) becomes true if PVPH and DV0. However, when the timing
increment is in seconds, the timer elapsed time (PV) is set to 1 second (when the scan
period is 1 second) at the next scanning to restart the counting action. The block status will
be the status caused when PV=1. The figure below shows the changes in the timer
elapsed time (PV) when the periodic action specification is Yes.
NR NR CTUP
RUN
Block
status
0
2
4
6
PH 8
PV
PV
PV=1
D030513E.EPS
Time
Scan period
Figure Change in Timer Elapsed Time (PV) When Preset Time Setpoint (PH) is 8 Seconds
When the Pre-Alarm Setpoint Value (DL) is Set to 0
The pre-alarm status (PALM) will not occur.
Status Manipulation from the Timer Block (TM)
When the action signal by sequence connection is specified to the OUT terminal of the time
block, the Timer Block (TM) executes the status manipulation corresponding to the existing
block status.
CTUP and NOT PAUS:
Executes status manipulation for the logical value True.
NR and NOT PAUS, or PALM and NOT PAUS:
Executes status manipulation for the logical value False.
STOP or PAUS: Disable
10th Edition : Dec.18,2003-00
D3-205
IM 33S01B30-01E
<D3.5 Timer Block (TM)>
Data Items TM
The table below shows the data items of the Timer Block (TM):
Table Data Items of the Timer Block (TM)
Data Item Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (AUT)
BSTS Block status ----- STOP
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- 0
AF Alarm detection ----- 0
AOFS Alarm inhibition ----- 0
PV Elapsed time PL to PH 0
PH Preset time setpoint value 0 to 100000 100000
DV Remaining time -PL to PH PH
DL Pre-alarm setpoint value PL to PH PL
PL PV scale low limit Fixed at 0. 0
OPMK Operation mark 0 to 255 0
UAID
User application ID
----- 0
D030514E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
SEE ALSO
For a list of valid block modes of the timer block, see the following:
D3.1.2, Block Mode of Sequence Control Blocks
Block Status of Timer Block (TM)
Table Block Status of Timer Block (TM)
Level
Symbol Name
Block Status
Description
3 PAUS Pause Timer is paused
2
1
PALM Timer is running and 0<DV<=DL Pre-Alarm
CTUP Time Up Timer is running and DV = 0
NR Normal Timer is running and DV > DL
RUN Run Timer is running after a Start command
STOP Normal Timer is stopped after a Stop command
D030515E.EPS
10th Edition : Dec.18,2003-00
D3-206 <D3.6 Software Counter Block (CTS)>
IM 33S01B30-01E
D3.6 Software Counter Block (CTS)
The Software Counter Block (CTS) is used to calculate the number of events oc-
curred.
Software Counter Block (CTS)
Connection
In addition to the basic calculating function, the CTS block includes the preset counter
function which notifies of the count-up upon calculating the specified numeric value, and
the function which manipulates the status based on the action signal specified to the output
terminal.
The figure below is a function block diagram for the Software Counter Clock (CTS).
PV OUT
Count
process
D030601E.EPS
Figure Function Block Diagram for the Software Counter Block (CTS)
The table below lists the connection methods and connection destinations of the I/O termi-
nal of the Software Counter Block (CTS).
Table Connection Methods and Connection Destinations of the I/O Terminals of the Software
Counter Block (CTS)
Output
terminal
Function
block
Software
I/O
Process
I/O
Terminal
connecti-
on
Status
manipula-
tion
Condition
testing
Data
setting
Data
reference
I/O terminal
Connection type Connection destination
OUT
D030602E.EPS
: Connection available
Blank: Connection not available
10th Edition : Dec.18,2003-00
<D3.6 Software Counter Block (CTS)> D3-207
IM 33S01B30-01E
The calculating operation of the software counter can be performed from other function
blocks such as the sequence control block or the calculation block.
The figure below shows a connection example of Software Counter Block (CTS). In this
example, the CALCU block sends a one-shot start command to CTS for counting.
DI010
DI011
CALCU OUT
OUT
Q01
Q02
CTS
(CTS001)
General-purpose
calculation block
Software counter block
Process input
D030603E.EPS
Sequence connection
CTS001.ACT.ON
Figure Example of Using General-Purpose Calculation Block (CALCU)
Process Timing
The process timing of CTS block is only based on one-shot start.
Set Parameter
The set parameters of the Software Counter Block (CTS) are:
Preset setpoint (PH): 0 to 100000
Pre-alarm setpoint (DL): PL to PH
PL: The scale low limit (fixed at 0) of the count value (PV).
10th Edition : Dec.18,2003-00
D3-208 <D3.6 Software Counter Block (CTS)>
IM 33S01B30-01E
Operation of the Software Counter Block (CTS)
The Software Counter Block (CTS) updates the count value (PV) upon receiving the
counter operation command. It also changes the block status.
The figure below shows the basic operation of the Software Counter Block (CTS).
STOP
NR
RUN
PALM CTUP
STOP
Block
status
Counter operation
command
PH
(=6)
6
7 Hold PV value
2
PV=1
5
3
4
DV=4
DL=2
Operation
command
Stop
command
D030604E.EPS
Time
PV
Figure Basic Operation of the Software Counter Block (CTS)
Software Counter Update Action
Every time the Software Counter Block (CTS) receives the counter operation command,
the count value (PV) is added by 1. If the block status is in stop status (STOP) when the
counter operation command is received, the block status of the Software Counter Block
(CTS) changes to counting (RUN-NR). The count value (PV) is also reset (PV=1).
The following describes an example of specifying the operation of the software counter in
the action signal column of the sequence table.
Action rule
Y
Data
ON
Tag name/Data item
CTS001.ACT D030605E.EPS
Software Counter Stop Action
When the Software Counter Block (CTS) receives the counter stop command, it stops its
calculating action while holding the count value (PV). The block status of the Software
Counter Block (CTS) changes to the stop status (STOP).
The following describes an example of specifying the software counter stop in the action
signal column of the sequence table.
Action rule
Y
Data
OFF
Tag name/Data item
CTS001.ACT D030606E.EPS
10th Edition : Dec.18,2003-00
<D3.6 Software Counter Block (CTS)> D3-209
IM 33S01B30-01E
Preset Counter Function
The preset counter function notifies that the count value (PV) has reached the specified
count number. The content of notification includes the count-up status (CTUP) based on
the preset setpoint (PH), and the pre-alarm status (PALM) which gives prior notices before
reaching the preset setpoint (PH).
When the remaining count value (DV=PH-PV) satisfies one of the following conditions
while the block status is in counting (RUN), the pre-alarm status (PALM) or the count-up
status (CTUP) becomes true.
When 0<DVDL: Pre-alarm status (PALM)
When DV0: Count-up status (CTUP)
Since the pre-alarm status (PALM) and the count-up status (CTUP) can not become true
simultaneously, the pre-alarm status (PALM) is canceled when DV=0, shifting to the count-
up status (CTUP). Although the count value (PV) continues to be updated even after the
status shifts to the count-up, the count value (PV) is reset when it reaches 100000. How-
ever, the block status at count-up is held as count-up status (CTUP).
In order to cancel the count-up status (CTUP), the count value (PV) must be set remotely
or a stop command must be given. Also, when the pre-alarm setpoint (DL) is set to 0, the
pre-alarm status (PALM) will not occur.
Status Manipulation from the Software Counter Block (CTS)
When the action signal by sequence connection is specified to the output terminal of the
Software Counter Block (CTS), the status manipulation is performed based on the block
status.
CTUP: Executes status manipulation for the logical value True.
NR or PALM: Executes status manipulation for the logical value False.
STOP: Disable
10th Edition : Dec.18,2003-00
D3-210 <D3.6 Software Counter Block (CTS)>
IM 33S01B30-01E
Data Items CTS
Table Data Items of the Software Counter Block (CTS)
Data Item Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (AUT)
BSTS Block status ----- STOP
PV Count value 0 to 100000 0
PH Preset setpoint 0 to 100000 100000
DV Remaining count value -PL to PH PH
DL Pre-alarm setpoint PL to PH PL
PL PV scale low limit Fixed at 0. 0
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
D030607E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
SEE ALSO
For a list of valid block modes of the CTS block, see the following:
D3.1.2, Block Mode of Sequence Control Blocks
Block Status of Software Counter Block (CTS)
Table Block Status of Software Counter Block (CTS)
Level
Symbol Name
Block Status
Description
2
1
PALM Counter is running and DV > DL Normal
CTUP Pre-Alarm Counter is running and 0<DV<=DL
NR Count Up Counter is running and DV <= 0
RUN Run Counter is running after a Start command
STOP Normal Counter is stopped after a Stop command
D030608E.EPS
10th Edition : Dec.18,2003-00
<D3.7 Pulse Train Input Counter Block (CTP)> D3-211
IM 33S01B30-01E
D3.7 Pulse Train Input Counter Block (CTP)
The Pulse Train Input Counter Block (CTP) is used to count the number of pro-
cesses, which are expressed in the form of pulse signals.
Pulse Train Input Counter Block (CTP)
Connection
The Pulse Train Input Counter Block (CTP) is a function block that counts the number of
processes, which are expressed in the form of pulse signals. In addition to the basic count-
ing function, it also includes the preset counter function, which indicates the count-up state
when the specified number has been counted, and a function that manipulates the status
based on the action signal specified at the output terminal.
The following is a function block diagram of the Pulse Train Input Counter Block (CTP).
PV IN OUT
Count
Process
D030701E.EPS
Figure Function Block Diagram of the Pulse Train Input Counter Block (CTP)
SEE ALSO
For the types of alarm processing possible for the CTP block, see the following:
D3.1.1, Alarm Processing of Sequence Control Blocks
For more information about alarm processing, see the following:
C5, Alarm Processing-FCS
The table below lists connection methods and destinations for the Pulse Train Input
Counter Block (CTP).
Table Connection Methods and Destinations for the Pulse Train Input Counter Block (CTP) I/O
Terminals
Input
terminal
Data
reference
Condition
testing
Data
setting
Status
manipula-
tion
Terminal
connecti-
on
Process
I/O
Software
I/O
Function
block
I/O terminal
Connection type Connection destination
IN
OUT
D030702E.EPS
Output
terminal
: Connection available
Blank: Connection not available
Operations such as start or stop of the pulse counter can be performed from other function
blocks such as the sequence control block or the calculation block, as well as from the
operation and monitoring functions. The block status that indicates the operating status can
be referenced from other function blocks.
10th Edition : Dec.18,2003-00
D3-212 <D3.7 Pulse Train Input Counter Block (CTP)>
IM 33S01B30-01E
The figure below shows a signal connection example from the pulse input module.
IN
CTP
(CTP001)
%Znnusmm
D030703E.EPS
Figure Example of the Signal Connection from the Pulse Input Module
Process Timing
The process timing of Timer block is only based on periodical start period. The periodic
start period is based on high-speed scan period, medium-speed scan period (*1) and basic
scan period.
*1: Medium-speed scan period is supported in KFCS2, KFCS, LFCS2 and LFCS only.
Set Parameters - CTP
The following are the set parameters of the Pulse Train Input Counter Block (CTS).
Preset setpoint (PH): 0 to 100000
Pre-alarm setpoint (DL): PL to PH
PL: The scale low limit (PV) of the count value (fixed to 0).
10th Edition : Dec.18,2003-00
<D3.7 Pulse Train Input Counter Block (CTP)> D3-213
IM 33S01B30-01E
Action Command of the Pulse Train Input Counter Block (CTP) CTP
The action command can be issued to the Pulse Train Input Counter Block (CTP) from the
operation and monitoring functions, other sequence control block or calculation block.
Action Command from the Operation and Monitoring Functions
Pressing a button listed below can issue an action command to the Pulse Train Input
Counter Block (CTP).
STOP: Counter stop command
START: Counter start command
CONTINUE: Restart command
PAUS: Pause command
Action Command from Other Sequence Control Block or Calculation
Block
The table below lists the description format and action description of the action signals
when issuing the action command to the Pulse Train Input Counter Block (CTP) from other
sequence control block or calculation block.
Table Description Format and Action Description of Action Signals
Y/N
True/False
Action signal description column
Action description
Action/Output signal Action specification
Element symbol.OP
STOP
Y/True Pulse input counter stop command
N/False Invalid
START
Y/True Pulse input counter start command
N/False Pulse input counter stop command (*1)
RSTR
Y/True Restart command
N/False Invalid
WAIT
Y/True Pause command
N/False Restart command (*1)
D030704E.EPS
*1: Actions for N are valid only for the sequence table.
Actions for False are valid only for the logic chart.
10th Edition : Dec.18,2003-00
D3-214 <D3.7 Pulse Train Input Counter Block (CTP)>
IM 33S01B30-01E
Action of the Pulse Train Input Counter Block (CTP)
The Pulse Train Input Counter Block (CTP) is provided with an action command from the
operation and monitoring functions or other function block, and holds block status corre-
sponding to the command. The basic actions of the Pulse Train Input Counter Block (CTP)
include four actions: the update action, stop action, pause action and restart action.
The following describes the relationship between the count value (PV) and the block status
along with the basic action.
Pulse Train Counter Update Action
When the Pulse Train Input Counter Block (CTP) receives the counter start command, it
begins counting after resetting the count value (PV=0). When the counter start command is
received, the block status becomes the during counting status (RUN-NR). While counting,
it reads the pulse input from the input terminal during each scan period, and updates the
count value (PV) by adding the pulse count that is increased from the previous period.
When the data status of input signals is invalid (BAD) or I/O not ready (NRDY), the
status is recognized as faulty and the count value (PV) is not updated.
The following shows an example of specifying the start of the Pulse Train Input Counter
Block (CTP) in the action signal column of the sequence table.
Action rule
Y
Data
START
Tag name/Data item
CTP001.OP D030705E.EPS
10th Edition : Dec.18,2003-00
<D3.7 Pulse Train Input Counter Block (CTP)> D3-215
IM 33S01B30-01E
Pulse Train Counter Stop Action
When the Pulse Train Input Counter Block (CTP) receives the stop command for the
counter, it stops the counting operation while holding the count value (PV). The block status
becomes the stop status (STOP).
The following shows an example of specifying the stop of the Pulse Train Input Counter
Block (CTP) in the action signal column of the sequence table.
Action rule
Y
Data
STOP
Tag name/Data item
CTP001.OP D030706E.EPS
CTUP PALM NR NR
RUN STOP
Block
status
PH
PV
DV
DL
Start
command
Start command Stop
command
STOP
4
4
2
5
1 scan
4 4 2 5
Time
Action
commands
D030707E.EPS
Time
Scan Scan Scan Scan Scan
PALM
Figure Basic Actions of the Pulse Train Counter
Pulse Train Counter Pause Action
When the Pulse Train Input Counter Block (CTP) receives the pause command, it pauses
the counting operation. At this time, the data when the pause was issued is held as the
count value (PV). The pause status (PAUS) is added in addition to the currently held block
status, which is one of the counting (RUN), pre-alarm (PALM), normal (NR), time-up
(CTUP) and stop (STOP) statuses.
The following shows an example of specifying the pause of the Pulse Train Input Counter
Block (CTP) in the action signal column of the sequence table.
Action rule
Y
Data
WAIT
Tag name/Data item
CTP001.OP D030708E.EPS
10th Edition : Dec.18,2003-00
D3-216 <D3.7 Pulse Train Input Counter Block (CTP)>
IM 33S01B30-01E
Pulse Train Counter Restart Action
When the pausing Pulse Train Input Counter Block (CTP) receives the restart command, it
resumes the counter operation. The Pulse Train Input Counter Block (CTP) is released
from the pause status (PAUS) and returns to the block status that was originally held. If the
original block status was the counting status (RUN), count updating resumes from the
counter value that was held then.
The pause status (PAUS) is released at the timing when it accepts a restart command.
However, the count value (PV) update timing differs, depending on the scan period of the
Pulse Train Input Counter Block (CTP) itself.
The following shows an example of specifying the restart of the Pulse Train Input Counter
Block (CTP) in the action signal column of the sequence table.
Action rule
Y
Data
RSTR
Tag name/Data item
CTP001.OP D030709E.EPS
NR PALM CTUP
STOP
Block
status
PH
DV
DL
PAUS PAUS
Action
commands
Stop
command
Pause
command
Restart
command
Pause
command
Start
command
Restart
command
RUN
D030710E.EPS
Time
PV
Figure Pause and Restart Actions
10th Edition : Dec.18,2003-00
<D3.7 Pulse Train Input Counter Block (CTP)> D3-217
IM 33S01B30-01E
Preset Counter Function of Pulse Counter
The preset counter function indicates that the count value (PV) has reached the specified
count. The content of the notification could be the count-up status (CTUP) based on the
preset setpoint (PH) or the pre-alarm status (PALM), which indicates prior to reaching the
preset setpoint (PH).
When the remaining count value (DV=PH-PV) satisfies one of the following conditions
while the block status is the counting status (RUN), the pre-alarm status (PALM) or the
count-up status (CTUP) becomes true.
0<DVDL: Pre-alarm status (PALM)
DV0: Count-up status (CTUP)
Since the pre-alarm status (PALM) and count-up status (CTUP) can not become true
simultaneously, the pre-alarm status (PALM) is canceled when DV=0, and the status shifts
to the count-up (CTUP) status. Although updating of the count value (PV) continue even
after the status shifts to count-up status, the count value (PV) is reset when it reaches
100,000 and counting continues. However, the block status is held at the count-up status
(CTUP) when it is counted.
In order to cancel the count-up status, it is necessary to set the count value (PV) externally
or to issue a stop command. Also, when the pre-alarm setpoint (DL) is set to 0, the pre-
alarm status (PALM) will not occur.
Status Manipulation from the Pulse Train Input Counter Block (CTP)
When the action signal is specified via sequence connection to the OUT terminal of the
Pulse Train Input Counter Block (CTP), the status is manipulated based on the block
status.
CTUP and NOT PAUS:
Execute status manipulation for true logical value.
NR and NOT PAUS, or PALM and NOT PAUS:
Execute status manipulation for false logical value.
STOP or PAUS: Invalid
If an error occurs during status manipulation, the alarm status of the Pulse Train Input
Counter Block (CTP) becomes the connection failure status (CNF). This is recovered when
either the cause of alarm is removed during the status manipulation, or the pulse counter is
stopped or paused.
10th Edition : Dec.18,2003-00
D3-218 <D3.7 Pulse Train Input Counter Block (CTP)>
IM 33S01B30-01E
Data Items CTP
Table Data Items of the Pulse Counter Block (CTP)
Fixed at 0.
Entry Permitted
or Not
Data Item Data Name Range Default
MODE Block mode ----- O/S (AUT)
BSTS Block status
-----
NR
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- 0
AF Alarm detection ----- 0
AOFS Alarm inhibition ----- 0
PV Count value 0 to 100000 0
PH Preset setpoint 0 to 100000 100000
DV Remaining count value -PL to PH PH
DL Pre-alarm setpoint PL to PH PL
PL PV scale low limit 0
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
D030711E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
SEE ALSO
For a list of valid block modes of the CTP block, see the following:
D3.1.2, Block Mode of Sequence Control Blocks
Block Status of Pulse train Input Counter Block (CTP)
Table Block Status of Pulse train Input Counter Block (CTP)
Level
Symbol Name
Block Status
Description
3
2
1
PAUS Counter is paused Pause
CTUP Count Up Counter is running and DV <= 0
PALM Pre-Alarm Counter is running and 0<DV<=DL
RUN Run Counter is running after a Start command
STOP Normal Counter is stopped after a Stop command
D030712E.EPS
10th Edition : Dec.18,2003-00
<D3.8 Code Input Block (CI)> D3-219
IM 33S01B30-01E
D3.8 Code Input Block (CI)
The CI block is used to read the contact input or internal switch as a binary code or
binary coded decimal and display the integer value indicated by the code as the
input code value.
Code Input Block (CI)
Connection
The CI block is a function block that convert the digital input signal into code value (PV).
The conversion of digital input signals to input code values (PV) includes No-conversion
in which the signal pattern is interpreted as is as a binary number, and BCD conversion in
which it is interpreted as a BCD (binary coded decimal) code.
The following is a function block diagram of the Code Input Block (CI).
PV IN
Bit
Inversion
Encoding
D030801E.EPS
Figure Function Block Diagram of Code Input Block (CI)
The table below lists connection methods and destinations for the Code Input Block (CI).
Table Connection Methods and Destinations for Code Input Block (CI) I/O terminals
Input
terminal
Condition
testing
Terminal
connecti-
on
I/O terminal
Connection type Connection destination
Data
reference
Data
setting
Process
I/O
Software
I/O
Function
block
IN
D030802E.EPS
Status
manipula-
tion
: Connection available
Blank: Connection not available
The CI block input processing and code conversion are performed as one-shot execution
from other function blocks such as a sequence control block.
The following describes an example of specifying the code input block one-shot execution
in the action signal column of the sequence table.
Action rule
Y
Data
ON
Tag name/Data item
CI001.ACT D030803E.EPS
10th Edition : Dec.18,2003-00
D3-220 <D3.8 Code Input Block (CI)>
IM 33S01B30-01E
Process Timing
The process timing of CI block is only based on one-shot start.
Number of Input Signals
Number of Bits Input
The Code Input Block (CI) inputs the contact signals that continue for the number of input
signal points from the element of the input destination specified in the IN terminal. The first
element corresponds to the most significant digit. If there is a data error even at one point in
the input signal, the input code value (PV) is handled as faulty data. When an input error
occurs, the previous value is held for the input code value (PV).
The input signal points are set by the Function Block Detail Builder.
Number of Bits Input: 0 to 18 points
Up to 16 points in the case of no conversion
Default is 0.
Bit Inversion
Bit Inversion
The bit inversion of the Code Input Block (CI) inverses the ON/OFF status of the input
digital signals. If the bit inversion is specified as Non-reversed, the ON/OFF status will not
be inversed.
The bit inversion is set by the Function Block Detail Builder.
Bit Inversion: Select from No or Yes.
Default is No.
Encoding
Code Conversion
The encoding of the Code Input Block (CI) interprets the input digital signal as a code and
converts it into an integer value. The converted integer value becomes the input code value
(PV). The input code value (PV) is held until the Code Input Block (CI) starts for the next
time via the code input read command.
There exist two methods for encoding the digital signals:
No conversion, which interprets the contact signal patterns as binary numbers.
BCD conversion, which interprets the contact digital patterns as binary coded deci-
mal (BCD) codes.
10th Edition : Dec.18,2003-00
<D3.8 Code Input Block (CI)> D3-221
IM 33S01B30-01E
The figure below shows examples of encoding when no conversion and BCD conver-
sion are specified.
%Z011101
%Z011102
%Z011103
%Z011104
%Z011105
%Z011106
O
F
F
O
N
O
F
F
O
N
O
F
F
O
N
21
1 0 1 0 1 0
Code input data
(binary input)
1 0 1 0 1 0
Encoding
(no conversion)
(no inversion)
Convert binary
to decimal
Conversion at
operation and
monitoring functions
(for display)
Display (PV)
%Z011101
%Z011102
%Z011103
%Z011104
%Z011105
%Z011106
O
F
F
O
N
O
F
F
O
N
O
F
F
O
N
15
1 0 1 0 1 0
Code input data
(BCD input)
0 1 1 1 1 0
Encoding
(BCD to binary)
(no inversion)
Convert binary
to decimal
Conversion at
operation and
monitoring functions
(for display)
Display (PV)
(15)
10
1
10
0
D030804E.EPS
No conversion BCD conversion
Figure Encoding When No Conversion and BCD Conversion are Specified
When 6 points from %Z011101 are specified for CI001, %Z011101 to%Z011106 become
the code input data and %Z011101 is always the most significant bit.
Assuming that current ON/OFF statuses of %Z011101 to %Z011106 are as shown in the
figure above, PV (CI001) =15 when the BCD conversion is specified, and PV (CI001) =21
when the non conversion is specified. In the above examples, when the BCD conversion is
specified, the upper 2 bits (%Z011101, 011102) represent the ones places of 10, and the
lower 4 bits (%Z011103 to 6) does the zeros places of 10.
10th Edition : Dec.18,2003-00
D3-222 <D3.8 Code Input Block (CI)>
IM 33S01B30-01E
For the BCD conversion, when the input signal patterns are meaningless as BCD code, the
block status is set to the input code error (ERR). This meaningless pattern as BCD code
refers to the input signal pattern indicating a value other than 0 to 9.
The figure below shows examples of when the block status is in the normal status (NR),
and when it is meaningless.
Upper digit
0101
5
52
Lower digit
0010
2
Upper digit
0101
5
Meaningless
Lower digit
1011
B
D030805E.EPS
BCD handles
values
0 to 9 only
Block status = NR Block status = ERR
Figure BCD Code Examples
The encoding function is set by the Function Block Detail Builder.
Code conversion: Select from No and BCD.
No is binary input, BCD is binary coded decimal input.
Default is No.
10th Edition : Dec.18,2003-00
<D3.8 Code Input Block (CI)> D3-223
IM 33S01B30-01E
Input Data Status Testing Function
The input data status testing function investigates the conditions listed below for the en-
coded input code value (PV), and determines the block status.
The following lists the conditions for the input code value (PV) for determining the block
status.
0PV<PH-DL: Normal status (NR)
PH-DLPV<PH: Low limit alarm status (LO)
PVPH: High limit alarm status (HI)
PH: Input high limit setpoint
DL: Low limit alarm status setting range
The figure below shows the graphed conditions of the input code value (PV).
0
PV
PH
DL
NR LO HI
D030806E.EPS
Figure Relationship Between Input Code Value (PV) and Block Status
The input data status testing is not performed if an input code error has occurred.
10th Edition : Dec.18,2003-00
D3-224 <D3.8 Code Input Block (CI)>
IM 33S01B30-01E
Data Items CI
Table Data Items of Code Input Block (CI)
Data Item Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (AUT)
BSTS Block status ----- NR
PV Input code value 0 to 65535 PL
RAW Raw input data ----- -----
PH High - limit alarm setpoint 0 to 65535 65535
DV PH PV -PL to PH PH
DL LO width 0 to 65535 0
PL PV scale low limit Fixed at 0. 0
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
D030807E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
SEE ALSO
For a list of valid block modes of the CI block, see the following:
D3.1.2, Block Mode of Sequence Control Blocks
Block Status of Code Input Block (CI)
Table Block Status of Code Input Block (CI)
Level
Symbol Name
Block Status
Description
3
2
ERR Invalid BCD code pattern Code Error
NR Normal 0 < PV < PH-DL
LO Low PH-DL =< PV < PH
HI High PV >= PH
D030808E.EPS
10th Edition : Dec.18,2003-00
<D3.9 Code Output Block (CO)> D3-225
IM 33S01B30-01E
D3.9 Code Output Block (CO)
The Code Output Block (CO) is used to convert the integer value which is set as the
setting code value (PV) from the operation and monitoring functions or other func-
tion block into the code pattern for output to the contact output or internal switch,
etc.
Code Output Block (CO)
Connection
The Code Output Block (CO) is a function block that converts the integer value which is set
as the setting code value (PV). Converting of the setting code value (PV) has no conver-
sion, which outputs the integer value in binary, and BCD conversion, which outputs after
converting into binary coded decimal (BCD) options.
The following is a function block diagram of the Code Output Block (CO).
PV OUT
Bit
Inversion
Encoding
D030901E.EPS
Figure Function Block Diagram of the Code Output Block (CO)
The table below lists connection methods and destinations for the Code Output Block (CO)
I/O terminals.
Table Connection Methods and Destinations for the Code Output Block (CO) I/O Terminals
Data
setting
Process
I/O
I/O terminal
Connection type Connection destination
Data
reference
Condition
testing
Status
manipula-
tion
Terminal
connecti-
on
Software
I/O
Function
block
OUT
Output
terminal
D030902E.EPS
: Connection available
Blank: Connection not available
: Connection available only when connecting to switch blocks (SW-33, SW-91)
The conversion of a CO block setting code value (PV) to a code are performed as one-shot
execution from other function blocks such as the sequence control block.
The following describes an example of specifying the code output block one-shot execution
in the action signal column of the sequence table.
Action rule
Y
Data
ON
Tag name/Data item
CO001.ACT D030903E.EPS
10th Edition : Dec.18,2003-00
D3-226 <D3.9 Code Output Block (CO)>
IM 33S01B30-01E
Number of Output Signal
Number of Bits Output
The output signal points of the Code Output Block (CO) are set by the Function Block
Detail Builder.
Number of Bits Output: 0 to 18 points
Up to 16 points in the case of no conversion.
Default is 0.
Encoding
Code Conversion
The encoding function of the Code Output Block (CO) converts the integer value set as the
setting code value (PV) into bit patterns.
There exist two methods for converting an integer value into bit patterns:
No conversion, converts to binary patterns.
BCD conversion, converts the value into binary coded decimal (BCD) patterns.
The figure below shows examples of encoding when no conversion and BCD conver-
sion are specified.
%SW0100
%SW0101
%SW0102
%SW0103
%SW0104
%SW0105
O
F
F
O
N
O
F
F
O
N
O
F
F
O
N
%SW0100
%SW0101
%SW0102
%SW0103
%SW0104
%SW0105
O
N
O
F
F
O
F
F
O
F
F
O
F
F
O
N
D030904E.EPS
No conversion BCD conversion
Figure Encoding When Non Conversion and BCD Conversion are Specified
When six points from %SW0100 are specified for CI001, %SW0100 to %SW0105 will be
subject to the code output. If the bit inversion is specified as Non-reversed and code
output is performed with the settings of CO0001 and PV=21, the ON/OFF statuses of the
%SW0100 to %SW0105 are as shown in the figure above.
The encoding function is set by the Function Block Detail Builder.
Code Conversion:
Select from No and BCD.
No yields binary output, BCD yields binary coded decimal output.
Default is No.
10th Edition : Dec.18,2003-00
<D3.9 Code Output Block (CO)> D3-227
IM 33S01B30-01E
Bit Inversion
Bit Inversion
The bit inversion of the Code Output Block (CO) inverses the ON/OFF status of the signals
to be output. If the bit inversion is specified as No, the ON/OFF status will not be inversed.
The bit inversion is set by the Function Block Detail Builder.
Bit Inversion: Select from No or Yes.
Default is No.
Set Data Status Testing Function
The set data status testing function investigates the conditions listed below for the set code
value (PV), and determines the block status.
The following lists the conditions for the set code value (PV) for determining the block
status.
0PV<PH-DL: Normal status (NR)
PH-DLPV<PH: Low limit alarm status (LO)
PVPH: High limit alarm status (HI)
PH: Alarm high limit value
DL: Low limit alarm status (LO) setting range
The figure below shows the graphed conditions of the set code value (PV).
0
PH
DL
NR LO HI
PV
D030905E.EPS
Figure Relationship between Set Code Value (PV) and Block Status
10th Edition : Dec.18,2003-00
D3-228 <D3.9 Code Output Block (CO)>
IM 33S01B30-01E
Signal Output Function
The signal output function outputs bit patterns to the continuous elements of the output
destination for the number of output signal points, starting with the element specified in the
OUT terminal.
When the output destination is the contact output, if there exists even one output with a
hardware failure, the entire signal will not be output. When the hardware failure occurs, the
data status of the set code value (PV) becomes the output fail status (PTPF), and the
previous set code value is held as the set code value (PV).
When a value that is too large to express with the specified output signal points is set for
the set code value (PV), only the code patterns of the available output signal points are
output. This is not handled specifically as an error.
The figures below show an example of insufficient output signal points.
1 1 1 1
1 0 1 0 1 1 1 1
Reverse code conversion
(Decimal to binary)
PV=175 Input data
Significant digits
Four output signal points
Output
Non conversion, no inversion
D030906E.EPS
Figure Encoding Example for Four Output Signal Points
10th Edition : Dec.18,2003-00
<D3.9 Code Output Block (CO)> D3-229
IM 33S01B30-01E
Data Items CO
Table Data Items of Code Output Block (CO)
Data Item Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- AUT
BSTS Block status ----- NR
PV Setting code value 0 to 65535 0
PH High - limit alarm setpoint 0 to 65535 65535
DV PH PV -PL to PH PH
DL LO width 0 to 65535 0
PL PV scale low limit Fixed at 0. 0
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
D030907E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
SEE ALSO
For a list of valid block modes of the CO block, see the following:
D3.1.2, Block Mode of Sequence Control Blocks
Block Status of Code Output Block (CO)
Table Block Status of Code Output Block (CO)
Level
Symbol Name
Block Status
Description
2
NR 0 =< PV < PH-DL Normal
LO Low PH-DL =< PV < PH
HI High PV >= PH
D030908E.EPS
10th Edition : Dec.18,2003-00
D3-230 <D3.10 Relational Expression Block (RL)>
IM 33S01B30-01E
D3.10 Relational Expression Block (RL)
The Relational Expression Block (RL) is used to judge the numerical relationship or the
logical product of two data.
Relational Expression Block (RL)
Relational Expression
The Relational Expression Block (RL) is executed during the condition testing process for a
sequence control block such as a sequence table, or during the condition testing process
for the calculation block. It tests for the numerical relationship or the logical product of two
data, according to the relational expression within the Relational Expression Block (RL),
and returns the result of whether or not it matches the conditions to the calling function
block.
The following is a function block diagram of the Relational Expression Block (RL).
Q01
Q02
(X01)
RV31 Q31
RV32
RV01
RV02
Q32
(X16)
D031001E.EPS
Figure Function Block Diagram of Relational Expression Block (RL)
The table below lists connection methods and destinations for the Relational Expression
Block (RL) I/O terminals.
Table Connection Methods and Destinations for Relational Expression Block (RL) I/O Terminals
I/O terminal
Connection type Connection destination
Data
reference
Data
setting
Condition
testing
Status
manipula-
tion
Terminal
connecti-
on
Process
I/O
Software
I/O
Function
block
Q01 to Q32
Data input
terminal
D031002E.EPS
: Connection available
Blank: Connection not available
: Connection available only when connecting to switch blocks (SW-33, SW-91)
10th Edition : Dec.18,2003-00
<D3.10 Relational Expression Block (RL)> D3-231
IM 33S01B30-01E
The test objects are either two process data, or one process data and one constant data.
One Relational Expression Block (RL) can handle 16 sets of relational expressions, thus it
can handle 32 individual data.
The figure below shows a connection example to another function block.
Calculation
block
CALCU1
Q01
%Znnusmm RV01=%Znnusmm
%SW0100
J01
Q01
RV02=CALCU1.CPV1 Q02
OUT
(X01)
RV31 Q31
RV32 Q32
(X16)
Software I/O
Process I/O
Relational Expression Block
D031003E.EPS
Figure Connection with Another Function Block
Process Timing
The process timing of RL block is only based on one-shot start.
10th Edition : Dec.18,2003-00
D3-232 <D3.10 Relational Expression Block (RL)>
IM 33S01B30-01E
Relational Expression Data
With a single set of relational expressions, either two process data or one process data
and one constant data can be judged. Other referable data such as process I/O, software
I/O and function block data can be specified as the process data. Always specify the
process data on the left-hand side of the relational expression. For the right-hand side of
the relational expression, process data or constant data can be specified. Special data
such as character strings, connection data and pulse input cannot be used for the calcula-
tion.
Constants for the constant data are set by the Function Block Detail Builder.
The following shows the relationship expression between process data and process data.
FIC101.PV: FIC102.PV
FIC101. PV (RV01)
FIC102. PV (RV02)
X01
D031004E.EPS
Figure Relationship Expression between Process Data and Process Data
The following shows the relationship expression between process data and constant data.
FIC101.PV: 123.4
FIC101. PV (RV03)
123.4 (RV04)
X02
D031005E.EPS
Figure Relationship Expression of Process Data and Constant Data
The following shows an entry example to the condition signal column in the sequence
table when testing for RV01 > RV02 shown in the first example above.
%BL0100.X01.GT -------- Y
The function block indicated by %BL0100 represents the Relational Expression Block
(RL).
Use the Function Block Detail Builder to pre-define the data expressed by relational
expression data RV01 and RV02 as X (the first data) and Y (the second data).
X, Y: Character string of up to 34 standard width characters.
Describe the process data or a real number.
Default is blank.
10th Edition : Dec.18,2003-00
<D3.10 Relational Expression Block (RL)> D3-233
IM 33S01B30-01E
Relational Expression Type
Accept BAD data
When the Relational Expression Block (RL) is referenced from other function blocks for
condition testing, relational operation for the relational expression specified in X01 through
X16 is performed as a one-shot operation. There exist two types of relational expressions:
the numerical comparison operation between two data, and the logical product operation of
two data. For the relational expression type, delimit the two data with an operator and
preset by each relational expression using the Function Block Detail Builder.
Operator: Select from CMP and AND
The table below lists the operators and description of each operation.
CMP
Numerical comparison:
Performs the numerical comparison of two data. It tests if the relationship matches the
relational expression and returns a logical value.
AND
Logical product:
Computes logical products of two data by bit. It returns true if at least one bit satisfies
the relational expression.
The following describes an example of performing the logical product operation against two
data.
%CI0100.PV & %CI0101.PV.
CI0100 and CI0101 represent the Code Input Block (CI). The above example computes the
logical product of each corresponding bit of the two input code values (PV). If both corre-
sponding bits include 1, it returns true (1) to the calling function block.
The two data types are converted into floating point, if the relation operation type is numeri-
cal comparison, or are converted to the unsigned integer type if the relational operation
type is the logical product.
Up to 24 alphanumeric character can be added to the 16 sets of relational expressions as
comments so that the operation is being performed by each relational expression can be
indicated in text.
When the data status of the data received for the connected destination is bad (BAD),
whether to use the data for the relational expression or use the previous good data can be
set on the function block detail builder.
Accept BAD data:
Choose [No] or [Yes].
The default setting is [No].
If [No] is selected, the relational expression will abandon the bad data and use the previ-
ously used good data. However, since the relational expression is not running all the time,
the previously used data may be obsolete.
If [Yes] is selected, the data is used by the relational expression even the data status is
bad.
10th Edition : Dec.18,2003-00
D3-234 <D3.10 Relational Expression Block (RL)>
IM 33S01B30-01E
Range of Operation
The Relational Expression Block (RL) performs the operation only for the specified rela-
tional expression during each one-shot execution from other function blocks. When it is not
called as one-shot, the previous values remain for the relational expressions that have not
been performed.
Data Items RL
Table Data Items of Relational Expression Block (RL)
Data Item Data Name
Entry Permitted
or Not
Range Default
RV01 to RV32 Relational expression data ----- 0
AV01 to AV32 AND data ----- 0
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
D031006E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
10th Edition : Dec.18,2003-00
<D3.11 Resource Scheduler Block (RS)> D3-235
IM 33S01B30-01E
D3.11 Resource Scheduler Block (RS)
The Resource Scheduler Block (RS) is used to manage the utilization of limited plant
resources.
Resource Scheduler Block (RS)
When the resource usage requests exceed the number of usage limit for the Resource
Scheduler Block (RS), the usage requests are added to the queue and placed in usage
request waiting status. After that, it issues permission in sequence as the resource be-
comes available.
Although there are no I/O terminals for the Resource Scheduler Block (RS), data inside the
block may be referenced and set.
The following is a function block diagram of the Resource Scheduler Block (RS).
PMH
.........
.........
1 32
Permission (PM)
1 32
Usage request (RQ)
Maximum
permissible
number
(0 to 32)
D031101E.EPS
Figure Function Block Diagram of Resource Scheduler Block (RS)
Issuing the usage request command and the usage request cancel command, referencing
and setting the maximum permissible number and referencing the permission status of the
Resource Scheduler Block (RS) may be performed from the sequence control blocks or
calculation block.
10th Edition : Dec.18,2003-00
D3-236 <D3.11 Resource Scheduler Block (RS)>
IM 33S01B30-01E
The figure below shows an example of the lorry shipping system with a built-in pump count
control.
P
P
Spot
(Lorry shipping alarm)
Pump count
control
Resource
scheduler
Spot control
Maximum
permissible number
Request
Permission
P
D031102E.EPS
setting
Figure Example of Lorry Shipping
In the above system example, the number of spots that can be used simultaneously for
product shipment is restricted by the total flow rate of the products that flow into the spots.
In such cases, the Resource Scheduler Block (RS) is used to control the usage status of
each spot for shipping control. By receiving a shipping request (usage request) from each
spot, the Resource Scheduler Block (RS) issues a sequential shipping permission (usage
permission) to the first entry in the FIFO (First In First Out) queue.
In the above system example, the product total flow rate that restricts the number of spots
(the maximum permissible number) that can be used simultaneously is determined by the
number of operating pumps. Therefore, the maximum permissible number (PMH) for the
Resource Scheduler Block (RS) is set via the function block that controls the pump count.
Process Timing
The process timing of RS block is only based on one-shot start.
10th Edition : Dec.18,2003-00
<D3.11 Resource Scheduler Block (RS)> D3-237
IM 33S01B30-01E
Usage Request Control Function
The usage request control function controls the request queue, usage request status
(RQ01 to RQ32) and permission (PM01 to PM32) upon receiving the usage request com-
mand or the usage request cancel command. In order to use the Resource Scheduler
Block (RS) from the sequence control block or the general-purpose calculation block, it is
necessary to predefine the identification number for each of the requesters for the re-
sources. The requesters are identified by this number when referencing the usage request
command, usage request cancel command, usage request (RQnn) and permission
(PMnn). The numeric portion (noted as nn in this document) of the data item name for the
usage request (RQnn) and permission (PMnn) is used as the identification number.
Usage Request Command
The usage requester sends a usage request command to the Resource Scheduler Block
(RS). Only a single request at a time can be accepted from the same requester. The re-
quester which has already been given permission or is waiting in the usage request queue
cannot send additional requests. Two or more simultaneous requests are ignored.
When the entire resource group usage request command is received, the Resource
Scheduler Block (RS) processes the usage requests in the ascending order of request
numbers. Since the permission is restricted by the maximum permissible number (PMH),
the remaining usage requests are placed in the queue for permission.
The following describes operations when the number of usage requests is equal to or
greater than the maximum permissible number (PMH), or when less than the maximum
permissible number (PMH).
When usage request number Maximum permissible number
It gives permission for the request by setting 1 to the corresponding usage request
(RQnn) and permission (PMnn).
When usage request number > Maximum permissible number
Although the corresponding usage request (RQnn) is set to 1, it cannot give permis-
sion because there are not enough resources for requests. It adds the identification
number of the requester to the queue, while the corresponding permission (PMnn) is
kept at 0.
10th Edition : Dec.18,2003-00
D3-238 <D3.11 Resource Scheduler Block (RS)>
IM 33S01B30-01E
Usage Request Cancel Command
It is necessary for the requester to issue the usage request cancel command when it has
used all the resources, or when canceling the usage request. The Resource Scheduler
Block (RS) resets the corresponding usage request (RQnn) and permission (PMnn) to 0
upon receiving a usage request cancel command. If there is an entry for the corresponding
usage request in the queue, it is deleted from the queue.
For a cancel command for a permitted usage request, if there is a request for permission in
the queue, the request is deleted after setting the permission (PMnn) of the usage request
that is stored at the head of the queue. If the requester sends an entire resource group
usage request cancel command, the current usage requests are all reset to 0.
Monitoring of the Resource Usage Request Status
The requester of the resource usage monitors the resource usage availability by referenc-
ing the permission (PMnn) of the Resource Scheduler Block (RS). By referencing the
usage requests of the Resource Scheduler Block (RS), the status of resource usage
requests can be grasped.
Maximum Permissible Number Control Function
The number of resources that can be used simultaneously is set to the maximum permis-
sible number (PMH) from other function blocks. When the maximum permissible number
setting is changed, the maximum permissible number control function manipulates the
permission status of the resources by responding to an increase/decrease in the maximum
permissible number (PMH), as described below.
When the Maximum Permissible Number is Increased.
It increases the number of permissions that can be provided simultaneously for the in-
creased maximum permissible number.
When the Maximum Permissible Number is Decreased.
It will not give out new permissions until the number of current resource usage becomes
less than the maximum permissible number. For usage requests currently permitted, it
holds the permission status until the usage request cancel command is received.
10th Edition : Dec.18,2003-00
<D3.11 Resource Scheduler Block (RS)> D3-239
IM 33S01B30-01E
Control Example with the Resource Scheduler Block (RS)
The figure below shows a tank level control example using the Resource Scheduler Block
(RS) RS001 and Sequence Table Block (ST16).
LO
Tank 1
Valve 1
LO
Tank 10
Valve 10
LO
2
2
LO
3
3
LO
4
4
LO
5
5
Source tank
D031103E.EPS
Figure Tank Level Control Example
This control includes ten processes that open and close the valves. These processes
open valve nn if level LO of the tank n becomes ON, and then close valve nn if the level
LO is released after waiting for the level being recovered. However, no more than three
valves can be opened at a time. Also, the valves are opened in the order in which the
level LO is reached.
The identification numbers of these processes are defined as in the table below.
Table Detecting Input and Identification Number
Contact input to detect the tank level LO
Identification
number
DI0001 1
DI0002 2
DI0003 3
: :
DI00010 10
D031104E.EPS
Call the usage requester, usage request and permission by the corresponding number (1
to 10) of each process identification number.
Usage Requester 1 (DI001 : Tank 1s level is LO)
Usage Request 1
(Usage request 1 that has been submitted by usage requester 1 : Wants to open
valve 1.)
Permission 1 (Permission for usage request 1 : OK to open valve 1.)
10th Edition : Dec.18,2003-00
D3-240 <D3.11 Resource Scheduler Block (RS)>
IM 33S01B30-01E
Assume that DI003, DI005, DI002 and DI006 become ON, in this respective order, when
the maximum permissible number is 3. The rules 4, 6, 3 and 7 of sequence table block 1
are satisfied, and usage requests 3, 5, 2 and 6 are entered into the resource schedule
block (RS) RS001 in this order. Because the maximum permissible number is 3, the re-
source schedule block (RS) RS001 issues permissions to usage requests 3, 5 and 2 only,
within the same scan.
Tag name.
Data item Name.
Data
Rule number
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Comment
DI0001.PV.ON Usage requester 1
Usage requester 2
Usage requester 3
Usage requester 6
Usage requester 7
Usage requester 4
Usage requester 5
Usage requester 8
Usage requester 9
Usage requester 10
Y Y N
DI0002.PV.ON Y Y N
DI0003.PV.ON Y Y N
DI0004.PV.ON Y Y
N
DI0005.PV.ON Y Y
N
DI0006.PV.ON Y Y N
DI0007.PV.ON Y Y N
DI0008.PV.ON Y Y N
DI0009.PV.ON Y Y N
DI0010.PV.ON Y Y N
RS0001.ACT.OFF Entire resource group usage
request cancel command
Y
RS0001.ACT.ON Entire resource group
usage request command
Y
RS0001.RQ01.1 Usage request command 1
Usage request command 2
Usage request command 3
Usage request command 4
Usage request command 5
Usage request command 6
Usage request command 7
Usage request command 8
Usage request command 9
Usage request command 10
Y
RS0001.RQ02.1 Y
RS0001.RQ03.1 Y
RS0001.RQ04.1 Y
RS0001.RQ05.1 Y
RS0001.RQ06.1 Y
RS0001.RQ07.1 Y
RS0001.RQ08.1 Y
RS0001.RQ09.1 Y
RS0001.RQ10.1 Y
RS0001.RQ01.0 Usage request cancel command 1
Usage request cancel command 2
Usage request cancel command 3
Usage request cancel command 4
Usage request cancel command 5
Usage request cancel command 6
Usage request cancel command 7
Usage request cancel command 8
Usage request cancel command 9
Usage request cancel command 10
Y
RS0001.RQ02.0 Y
RS0001.RQ03.0 Y
RS0001.RQ04.0 Y
RS0001.RQ05.0 Y
RS0001.RQ06.0 Y
RS0001.RQ07.0 Y
RS0001.RQ08.0 Y
RS0001.RQ09.0 Y
RS0001.RQ10.0 Y
D031105E.EPS
Figure Sequence Table Block (ST16) used for Tank Level Control (1/2)
10th Edition : Dec.18,2003-00
<D3.11 Resource Scheduler Block (RS)> D3-241
IM 33S01B30-01E
Tag name.
Data item name.
Data
Rule number
1 2 3 4 5 6 7 8 9 10
Comment
RS0001.PM01.1 Usage request permission 1 permitted Y
RS0001.PM02.1 Usage request permission 2 permitted Y
RS0001.PM03.1 Usage request permission 3 permitted Y
RS0001.PM04.1 Usage request permission 4 permitted Y
RS0001.PM05.1 Usage request permission 5 permitted Y
RS0001.PM06.1 Usage request permission 6 permitted Y
RS0001.PM07.1 Usage request permission 7 permitted Y
RS0001.PM08.1 Usage request permission 8 permitted Y
RS0001.PM09.1 Usage request permission 9 permitted Y
RS0001.PM10.1 Usage request permission 10 permitted Y
DO0001.PV.L Valve 1 open command Y
DO0002.PV.L Valve 2 open command Y
DO0003.PV.L Valve 3 open command Y
DO0004.PV.L Valve 4 open command Y
DO0005.PV.L Valve 5 open command Y
DO0006.PV.L Valve 6 open command Y
DO0007.PV.L Valve 7 open command Y
DO0008.PV.L Valve 8 open command Y
DO0009.PV.L Valve 9 open command Y
DO0010.PV.L Valve 10 open command Y
D031106E.EPS
Figure Sequence Table Block (ST16) used for Tank Level Control (2/2)
Usage request 6
Usage request 5
Usage request 4
Usage request 3
Usage request
Waiting for Permission
Maximum permissible number: 3
Permission 2
Permission 5
Permission 3
D031107E.EPS
Figure Resource Scheduler Block (RS) Process
The sequence table block 2 indicates which usage request a permission is issued to.
The following describes an example of specifying the reference of permission status for
usage request 3 into the condition symbol column of the sequence table.
Action rule
Y
Data
1
Tag name/Data item
RS0001.PM03 D031108E.EPS
10th Edition : Dec.18,2003-00
D3-242 <D3.11 Resource Scheduler Block (RS)>
IM 33S01B30-01E
During condition signal (PM03) corresponds to the usage request (RQ03). In this ex-
ample, since permissions 3, 5 and 2 received permissions, the rules 3, 5 and 2 of Table 2
are satisfied and the contact outputs are outputted (valve open) according to the descrip-
tions in the action signal column.
In order to issue permission for usage request 6 that is waiting in the queue, it is necessary
for the condition signal status of any one of the usage requests 3, 5 and 2 to be unsatisfied,
and the usage request of the same identification number that became false must be reset.
IMPORTANT
It is always necessary to issue the usage request cancel command, because the usage
request is not reset automatically, even after permission is given for the usage request.
When the usage request signal is an internal switch, turn off the internal switch (when the
ON status means the usage request state) for the next request after permission is sent,
then issue the usage request cancel command.
If the usage request that has been permitted is reset, there will be one vacancy for permis-
sion, and permission is given to usage request 6. The following describes an example of
setting permission 2 to be reset in the condition signal column of the sequence table.
Action rule
Y
Data
0
Tag name/Data item
RS0001.RQ02 D031109E.EPS
10th Edition : Dec.18,2003-00
<D3.11 Resource Scheduler Block (RS)> D3-243
IM 33S01B30-01E
When Issuing the Entire Resource Group Usage Request Command after
Issuing the Entire Resource Group Usage Request Cancel Command
When the entire resource group usage request cancel command and the entire resource
group usage request command are sent, based on rule 1 of sequence table block 1, the
currently issued permissions are all reset, then all the usage requests are sent. Usage
requests 1 to 10 are stored in ascending order in the resource scheduler. At this time,
usage requests 1, 2 and 3 will be given permission within the same scan, and usage
requests 4, 5, 6, 7, 8, 9 and 10 will be placed in the queue for permission.
The figure below shows the status of usage request storage.
Waiting for permission
Maximum permissible number: 3
Permission 3
Permission 2
Permission 1
Usage request
Usage request 10
Usage request 9
Usage request 4
Usage request 3
Usage request 2
Usage request 1
D031110E.EPS
Figure Storage Status of Usage Request
When Issuing the Entire Resource Group Usage Request Command
Without the Entire Usage Request Cancel Command
When the entire resource group usage request command is issued without the entire
resource group usage request cancel command, the current usage requests that have
been permitted remain as they are, and the other usage requests are stored in the ascend-
ing order.
The figure below shows the storage status of the usage requests.
Usage request 10
Usage request 9
Usage request 4
Usage request 1
Usage request 6
Usage request 2
Usage request 5
Usage request 3
Waiting for permission
Maximum permissible number: 3
Permission 2
Permission 5
Permission 3
Ascending order
Usage request
D031111E.EPS
No change
Figure Storage Status of Usage Request
10th Edition : Dec.18,2003-00
D3-244 <D3.11 Resource Scheduler Block (RS)>
IM 33S01B30-01E
Canceling the Usage Request
The following shows an example of specifying the cancellation of usage request 2. This is
the same specification as that for resetting the usage request.
Action rule
Y
Data
0
Tag name/Data item
RS0001.RQ02 D031112E.EPS
Changing the Maximum Permissible Number
The following are the methods to change the maximum permissible number to 4.
When changing on the operation and monitoring functions
Input 4 for the data type PMH in the tuning window.
When changing from the Sequence Table Block (ST16, ST16E)
Enter as below in the action signal column of the sequence table block.
Action rule
Y
Data
4
Tag name/Data item
RS0001.PMH. D031113E.EPS
Data Items RS
Table Data Items of Resource Scheduler Block (RS)
Data Item Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (AUT)
RQ01 to RQ32 Usage request 0/1 0
PM01 to PM32 Usage permission 0/1 0
PMH Maximum permission number 0 to 32 32
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
D031114E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
SEE ALSO
For a list of valid block modes of the RS block, see the following:
D3.1.2, Block Mode of Sequence Control Blocks
10th Edition : Dec.18,2003-00
<D3.12 Valve Monitoring Block (VLVM)> D3-245
IM 33S01B30-01E
D3.12 Valve Monitoring Block (VLVM)
The Valve Monitoring Block (VLVM) is used to monitor whether the final control
element (valve) is operating properly.
Valve Monitoring Block (VLVM)
Valve Monitor
The Valve Monitoring Block (VLVM) handles 16 sets of input signals independently, per-
forming valve operation monitoring and message output for each input signal. A set of input
signals is comprised of a combination of one point of valve contact output and one point (or
two points) of limit switch. Also, when an error occurs in any set of the 16 sets, the mes-
sage output can be extracted from the representative message output terminal (J17).
The figure below shows the function block of the Valve Monitoring Block (VLVM).
Q02
Q01
Q31
Q32
J02
J01
J16
J17
Action
verification timer
Action
verification timer
Valve output monitoring
PV16
PV01
PVR
D031201E.EPS
Representative message
output terminal
Figure Function Block Diagram of the Valve Monitoring Block (VLVM)
10th Edition : Dec.18,2003-00
D3-246 <D3.12 Valve Monitoring Block (VLVM)>
IM 33S01B30-01E
The table below lists connection methods and destinations for the Valve Monitoring Block
(VLVM) I/O terminals.
Table Connection Methods and Destinations for Valve Monitoring Block (VLVM) I/O Terminals
I/O terminal
Connection type Connection destination
Data
reference
Data
setting
Condition
testing
Status
manipula-
tion
Terminal
connecti-
on
Process
I/O
Software
I/O
Function
block
Q01,
Q03, ...,
Q31
Input terminal for
valve contact
output
Q02,
Q04, ...,
Q32
Limit switch input
terminal
J01
to J16
Individual message
output terminal
J17
Representative
message output
terminal
D031202E.EPS
: Connection available
Blank: Connection not available
: Connection available only when connecting to switch blocks (SW-33, SW-91)
Connect input terminals (Q01, Q03, ..., Q31) with the contact output leading to the valve.
Connect input terminals (Q02, Q04, ..., Q32) with the contact input (signals from the limit
switch) that indicates the open/close status of the valve. These two types of inputs (for
example, Q01 and Q02) are compared and any mismatch present is detected. If a mis-
match is detected as a result of comparison, the valve abnormal state (PVnn) is set to 1,
and messages specified in the output terminal such as the annunciator message (%AN)
and print message with data (%PR) are output.
The figure below shows an example of monitoring the valve that has one point of contact
output (open signal) and one point of limit switch input (open answer-back) using the Valve
Monitoring Block (VLVM).
PV01
Action
monitoring
timer
DO 0001
DI 0001
Q01
J01
Q02
PV02
Action
monitoring
timer
Q03
J02
Q04
%AN,
%PR etc.
Limit switch input
(open answerback)
Contact output monitor
On/off valve
(with a limit switch)
Valve monitor block
D031203E.EPS
Figure Connection of Valve Monitoring Block (VLVM)
Process Timing
The process timing of VLVM block is only based on periodical start period. The periodic
start period is based on basic scan period only.
10th Edition : Dec.18,2003-00
<D3.12 Valve Monitoring Block (VLVM)> D3-247
IM 33S01B30-01E
Valve Monitor Limit Switch Action
There are three types of limit switch actions, which are the input signals of the Valve Moni-
toring Block (VLVM). The type needs to be selected from the three types for each valve
using the Function Block Detail Builder.
Triggers: Select from Direct, Reverse, and Both.
The default is Both.
The following lists the three types of actions:
Direct Direction
The polarities of the valve contact output and limit switch status are matched.
Reverse Direction
The polarities of the valve contact output and limit switch status are reversed.
Both Direction
Two points of limit switches correspond to the valve contact output. One limit switch is
for direct direction and the other is for reverse direction.
ON
OFF
Valve action
OPEN
CLOSE
Valve manipulated output
Limit switch 1
Limit switch 2
ON
OFF
ON
OFF
Positive
action(P)
Negative
action(N)
Bidirectional
action(B)
D031204E.EPS
Figure Limit Switch Actions
To set the limit switch to correspond at two points for the both direction specification, assign
limit switch 1 (direct direction) to the input point specified at the input terminal, and limit
switch 2 (reverse direction) to the subsequent point of the specified point.
10th Edition : Dec.18,2003-00
D3-248 <D3.12 Valve Monitoring Block (VLVM)>
IM 33S01B30-01E
Valve Output Monitor Function
This function inputs the values of contact output (valve contact output) to the contact
operation type final control element and the contact input (limit switch) that represents the
open/close status, then compares the values to detect a mismatch.
The following describes the order of operations for the valve output monitoring.
1. When a change in the valve contact output is detected, the action verification timer
inside the Valve Monitoring Block (VLVM) is started (PT = action confirmation elapsed
time).
2. While the action confirmation timer is being started, the ON/OFF statuses of the valve
contact output and limit switch are compared. If the statuses match, the action confir-
mation timer expires and the system proceeds to step 4.
3. If the statuses do not match after a certain period of time (action confirmation setting
time = MT) has elapsed, data value 1 indicating an error status is stored in the valve
abnormal state (PV01 to PV16).
4. After that, monitoring continues until a change occurs in the valve contact output for
the next time (i.e. until the next valve operation), and the valve abnormal state (PV01
to PV16) is updated.
The monitor action can be specified according to the timing of comparison between the
limit switch and valve contact output. The monitor action is set using the Function Block
Detail Builder.
Monitor action
Select from Monitoring the ON side only, Monitoring the OFF side only and
Monitoring both-side.
The default is Monitoring both-side.
10th Edition : Dec.18,2003-00
<D3.12 Valve Monitoring Block (VLVM)> D3-249
IM 33S01B30-01E
The following describes each monitor action.
Monitoring the ON Side only
This starts the action verification timer at the rise of valve contact output (OFFON),
and compares the statuses only while the valve contact output is ON.
Monitoring the OFF Side only
This starts the action verification timer at the fall of the valve contact output
(ONOFF), and compares the statuses only while the valve contact output is OFF.
Monitoring Both Sides
This starts the action verification timer at both the rise and fall of valve contact output,
and compares the statuses while the valve contact output is either ON or OFF.
ON
OFF
Valve action
OPEN
CLOSE
Output to valve
Limit switch
Difference between valve output
and limit switch
ON
OFF
1
0
Valve status
(PV01 to PV16)
ON
OFF
Action confirmation
setting time
(MT)
Action confirmation
setting time
Normal operation Abnormal operation
Action confirmation
setting time
D031205E.EPS
Abnormality detected message Abnormality recovered
message
Figure Valve Output Monitoring (Monitoring Both Sides)
10th Edition : Dec.18,2003-00
D3-250 <D3.12 Valve Monitoring Block (VLVM)>
IM 33S01B30-01E
The table below shows the limit switch action specifications and corresponding valve
output monitor actions.
Table List of Valve Output Monitor Action
Limit switch
action
Positive
action
(P)
Negative
action
(N)
BIdirectional
action
(B)
Contact
Both-side monitoring
Single-side
monitoring
ON-side
Single-side
monitoring
OFF-side
Valve
manipulated
output
Valve
manipulated
output
Limit switch
Valve abnormal
state
Valve abnormal
state
Valve abnormal
state
Valve
manipulated
output
Limit switch
Valve output monitoring
Limit 1
Limit 2
D031206E.EPS
Action verification time
When the action specification for the limit switch is Operate in Both Direction, set the
valve abnormal state (PVnn) to 1 if either of the two points of limit switches is a mis-
match to the valve contact output.
Also, the valve abnormal state (PVnn) becomes 0 when both of the two points match
the valve contact output.
If the valve operation output is changed while the valve status is abnormal (PVnn=1),
the valve abnormal state (PVnn) to reset to 0.
Upon comparing the valve output contact with the limit switch, if either of the input
destinations has a device error or the data status of input data is faulty (BAD), the
valve abnormal states (PV01 to PV16) hold the current value.
10th Edition : Dec.18,2003-00
<D3.12 Valve Monitoring Block (VLVM)> D3-251
IM 33S01B30-01E
Representative Valve Abnormal State Detection Function
The representative abnormal state (PVR) is an information item that represents the abnor-
mal statuses for a maximum of 16 points of valves monitored by the Valve Monitoring Block
(VLVM). The representative abnormal state (PVR) is determined by the logical OR of
individual valve abnormal statuses (PV01 to PV16).
PVR=1
PV01
PV02
PV16
OR
D031207E.EPS
Figure Logical OR of Valve Abnormal States
When there is no connection to the limit switch input terminal, the limit switch input terminal
is recognized as unused, so the valve abnormal state (PVnn) is always 0.
Message Output
VLVM block may generate an alarm message when an error occurs or recovers to notify
the operator. The message output may be specified.
Message Output to the Individual Message Output Terminal
At the Valve Monitoring Block (VLVM), the operator can be notified of error occurrences
and recoveries of individual valves by specifying the message output to the output terminal
via the Function Block Detail Builder.
Individual message output terminal
Specify connection with the annunciator message, print message with data, op-
erator guide message or internal switch. Set one point or two points for each valve.
The following describes the output timing of messages.
Abnormality detected message
Sends the message at the timing in which the valve abnormal state (PVnn) changes
from normal to abnormal (01).
Abnormality recovered message
Sends the message at the timing in which the valve abnormal state (PVnn) changes
from abnormal to normal (10).
10th Edition : Dec.18,2003-00
D3-252 <D3.12 Valve Monitoring Block (VLVM)>
IM 33S01B30-01E
Message Output to the Representative Message Output Terminal
Representative Message Output
At the Valve Monitoring Block (VLVM), the operator can be notified of error occurrence and
recovery of one of the 16 valves by specifying the message output to the output terminal
via the Function Block Detail Builder.
Representative message output terminal
Specify connection with the annunciator message, print message with data, op-
erator guide message or internal switch. Set one point or two points for each valve.
Be careful that the abnormality recovered message is not output until all the valves return
to their normal state.
Abnormality detected message
Sends the message at the timing in which the representative valve abnormal state
(PVR) changes from normal to abnormal (01).
Abnormality recovered message
Sends the message at the timing in which the representative valve abnormal state
(PVR) changes from abnormal to normal (10).
Specifying the Message Output
For the message output as a connection destination of the output terminal, the abnormality
recovered message may not be output, depending on the types of messages. The table
below shows the presence/absence status of the abnormality recovered message output.
Table Presence/Absence of Abnormality Recovered Message Output
Message type
Abnormality
detected
Abnormality
recovered
Annunciator message (%AN)
Print message with data (%PR)
Operator guide message (%OG)
D031208E.EPS
: Present
Blank: Absent
: Depends on the builder specification
10th Edition : Dec.18,2003-00
<D3.12 Valve Monitoring Block (VLVM)> D3-253
IM 33S01B30-01E
Annunciator Message Output
When the annunciator message is specified as the connection destination of the message
output, the abnormality detected message and the abnormality recovered message is sent
with the same number. The abnormality recovered message sent as an annunciator mes-
sage is suffixed with at the end.
Output of the Print Message with Data
Printout Message at Representative Recovery
When the print message with data is specified as the connection destination of the mes-
sage output, the abnormality detected message is sent with the specified message num-
ber. Furthermore, only when Yes is specified for the print message at representative
recovery or print message at recovery using the Function Block Detail Builder, it will send
the abnormality recovered message with the subsequent number of the specified message
number.
Printout Message at Recovery: Select from Yes and No.
The default is No.
Printout Message at Representative Recovery: Select from Yes and No.
The default is No.
Specify No for the Printout Message at Representative Recovery or the Printout Mes-
sage at Recovery when the connection destination of the message output is other than a
print message with data.
Message Output to the Internal Switch
The internal switch (%SW) can be specified as the connection destination of the message
output. In this case, the valve abnormal state is set as the ON/OFF status of the internal
switch.
Message Suppressing
When the message suppression control switch (MCSW) is set to ON (=1), sending of all
messages specified in the output terminal is suppressed. When the message suppression
status is on, setting of the ON/OFF status for the internal switch at the output destination is
not performed. The status of the message suppressing switch (MCSW) can be changed by
the operation and monitoring functions or other function block.
10th Edition : Dec.18,2003-00
D3-254 <D3.12 Valve Monitoring Block (VLVM)>
IM 33S01B30-01E
Data Items VLVM
Table Data Items of Valve Monitoring Block (VLVM)
Data Item Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- AUT
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- 0
AF Alarm detection ----- 0
AOFS Alarm inhibition ----- 0
PV01 to PV16 Valve abnormal state 0, 1 0
PVR Representative abnormal state 0, 1 0
MCSW Message suppression control switch 0, 1 0
MT01 to
MT16
Action confirmation setting time (seconds) 0 to 10000 4
PT01 to PT16 Action confirmation elapsed time (seconds) 0 to 10000 0
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
D031209E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
SEE ALSO
For a list of valid block modes of the RS block, see the following:
D3.1.2, Block Mode of Sequence Control Blocks
10th Edition : Dec.18,2003-00
<D4. Faceplate Blocks> D4-1
IM 33S01B30-01E
D4. Faceplate Blocks
This chapter explains the faceplate blocks and their basic control functions.
The faceplate blocks consist of analog faceplate blocks, sequence faceplate blocks
and hybrid faceplate blocks.
This chapter explains the function details of each type of faceplate blocks.
Faceplate Blocks
A faceplate block enables multiple function blocks to be recognized as one function block.
The function blocks that execute the faceplate function are called faceplate blocks. The
following diagram shows positioning of the faceplate function in basic control functions.
Valve pattern monitoring (*1)
Off-site blocks (*1)
Options
Fieldbus I/O Process I/O
FCS I/O Interfaces
Communication I/O
FCS
Software I/O
Faceplate blocks
Unit instrument blocks
SFC blocks
Regulatory control blocks
Arithmetic calculation blocks
Sequence control blocks
Basic control
Common switch
Annunciator message
Sequence control message
D040001E.EPS
*1: This option is available in CS 3000 system.
Figure Faceplate Blocks in Basic Control Architecture
Faceplate blocks are capable of indicating and manipulating the data of multiple function
blocks that comprise a control loop. These indications and operation functions are per-
formed on the instrument faceplate of the operation and monitoring window. Faceplate
blocks are classified into analog faceplate blocks, sequence faceplate blocks and hybrid
faceplate blocks.
10th Edition : Dec.18,2003-00
D4-2 <D4.1 Types of Faceplate Blocks>
IM 33S01B30-01E
D4.1 Types of Faceplate Blocks
Depending upon the content of indication and manipulation, faceplate blocks are
classified into three types; analog faceplate blocks, sequence faceplate blocks and
hybrid faceplate blocks.
Analog Faceplate Blocks
Analog faceplate blocks include the following function blocks that indicate and manipulate
analog data on the instrument faceplate of the monitoring and operation window.
Dual-Pointer Indicating Station Block (INDST2)
Used for the indication of measured values and the setting of setpoint values.
Dual-Pointer Manual Station Block (INDST2S)
Used for the setting of setpoint values and manipulated output values.
Triple-Pointer Manual Station Block (INDST3)
Used for the indication of measured values and the setting of setpoint values as well
as manipulated output.
Sequence Faceplate Blocks
Sequence faceplate blocks include the following function blocks that indicate sequence
phases and manipulate switch statuses on the instrument faceplate of the operation and
monitoring window. These faceplate blocks can be used as man-machine interfaces of the
sequence control function.
Batch Status Indicator Block (BSI)
Used for the indication of sequence phases.
Extended 5-Push-Button Switch Block (PBS5C)
Used for the lamp indication and operation of five push buttons.
Extended 10-Push-Button Switch Block (PBS10C) (*1)
Used for the lamp indication and operation of ten push buttons.
*1: Extended 10-push-button switch block (PBS10C) is only available in CS 3000 system.
Hybrid Faceplate Blocks
A hybrid faceplate block has the functions of an analog faceplate block and those of a
sequence faceplate block.
The function blocks that are classified as hybrid faceplate blocks include the Extended
Hybrid Manual Station Block (HAS3C). The Extended Hybrid Manual Station Block
(HAS3C) has the functions of Triple-Pointer Manual Station Block (INDST3) and those of
the Extended 5-Push-Button Switch Block (PBS5C).
10th Edition : Dec.18,2003-00
<D4.1 Types of Faceplate Blocks> D4-3
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Example of Using the Faceplate Block
The following example shows how to use an analog faceplate block.
ST16
INDST3
CALCU PID
CALCU
PID
T2 IN
T1 IN
F1 IN
TC 100
100.0
V OUT P2 IN
F2 IN
0.0
NR
AUT
V OUT
T1 IN
PV
IN1
PV
IN2
IN1
SV
MV
IN2 IN3
TC100
TIC102
X103
FIA100 FIC101
D040101E.EPS
Figure Example of Using the Faceplate Block
In the above example, the data items of TC100 (INDST3 block), TIC102 (PID controller
block) and FIC101 (PID controller block) are connected. The connected data items are
shown below.
PV of TC100 and PV of TIC102
SV of TC100 and SV of TIC102
MV of TC100 and MV of FIC101
MODE of TC100 and MODE of FIC101.
D4-4 <D4.1 Types of Faceplate Blocks>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
By connecting these data items, the following functions can be realized.
Indication of Data Items
The values of TC100 data items are changed to the values of the connected data items.
The value of the data item PV of TC100 is changed to that of TIC102s PV.
The value of SV is changed to that of TIC102' SV, and the value of MV is changed to
that of FIC101s MV.
The block mode of MODE is changed to that of FIC101s MODE. However, the mode
will not change to O/S.
Setting Operation
When a value is set to any data item of TC100 from the instrument faceplate or other
setting source, the value of the connected data item will be changed.
When SV of TC100 is changed, SV of TIC102 will change to the same value.
When MV of TC100 is changed, MV of FIC101 will change to the same value.
When the block mode of TC100 is changed, MODE of FC101will change to the same
block mode. However, the mode will not change to O/S.
<D4.2 Push Button Operation of Faceplate Blocks> D4-5
IM 33S01B30-01E
D4.2 Push Button Operation of Faceplate Blocks
There are three types of push buttons common to Sequence faceplate blocks and
Hybrid faceplate blocks: momentary button, alternate button and radio button.
Momentary Button Action
When button operation is performed by the operator, the manipulated command value
(MVnn) changes to 1 (ON) for a period specified as the output time span in the unit of scan
cycle. When the specified period is elapsed, the value returns to 0 (OFF) automatically.
The following figure shows the relationship between the manipulated command value
(MVnn) and the output value when button operation is performed.
ON
OFF
ON
OFF
Output time span
Time
MVnn
Output
Block processing
timing
Button operation
t 2t 3t 4t 5t
t = Scan period
D040201E.EPS
Figure Action When the Momentary Button is Specified
The manipulated command value (MVnn) remains ON for a period of time equivalent to a
multiple of the scan period.
If button operation is performed while the manipulated command value (MVnn) is ON, the
value will remain ON through the specified scan periods from the time when the last button
operation was performed.
The following figure shows the action of the momentary button when button operation is
performed while the manipulated command status is ON.
ON
OFF
ON
OFF
Output time span
Time
MVnn
Output
Block processing
timing
Button operation
t
Button operation
2t 3t 4t 5t
t = Scan period
D040202E.EPS
Figure When Button Operation is Performed While the Manipulated Command Status is ON
10th Edition : Dec.18,2003-00
D4-6 <D4.2 Push Button Operation of Faceplate Blocks>
IM 33S01B30-01E
Alternate Button Action
When button operation is performed by the operator, the manipulated command value
(MVnn) changes to OFF if it was ON, and to ON if it was OFF. The following figure shows the
relationship between the manipulated command value (MVnn) and the output value when
button operation is performed.
ON
OFF
ON
OFF
Time
MVnn
Output
Block processing
timing
Button operation
t
Button operation
2t 3t 4t 5t
t = Scan period
D040203E.EPS
Figure Action When the Alternate Button is Specified
When multiple button operations are performed in a single scan period, the manipulated
command value (MVnn) changes with each button operation. The change in the manipu-
lated command value (MVnn) will be executed immediately after the operation, while the
output of the manipulated command value (MVnn) will be executed during block processing.
It must be noted that the change in manipulated command value (MVnn) will not be trans-
mitted to the storage destination, even when multiple button operations are performed in a
single scan period.
The following figure shows the relationship between the manipulated command value
(MVnn) and the output value when multiple button operations are performed in one scan
period.
ON
OFF
ON
OFF
Time
MVnn
Output
Block processing
timing
Button operation
t
Button operation
2t 3t 4t 5t
t = Scan period
D040204E.EPS
Figure When Multiple Button Operations are Performed in One Scan Period
10th Edition : Dec.18,2003-00
<D4.2 Push Button Operation of Faceplate Blocks> D4-7
IM 33S01B30-01E
Radio Button Action
When the operator pushes one button (MVnn) ON, all other manipulated command values
(MVnn) will be turned OFF forcibly.
Switches that are turned OFF forcibly while the radio button is in use are limited to those
that support the button operation function.
When the radio button is in use, even a switch whose operation disable status is ON will
be turned OFF forcibly once other switches are turned ON.
Depending upon the operation timing, multiple switch statuses may turn ON simulta-
neously. In this case, only the switch with the smallest number of manipulated command
values (MVnn) that are ON will remain so. All other switch statuses will be turned OFF
forcibly.
10th Edition : Dec.18,2003-00
D4-8 <D4.3 Block Mode and Status of Faceplate Blocks>
IM 33S01B30-01E
D4.3 Block Mode and Status of Faceplate Blocks
The block mode and status of the faceplate block are different from the block mode
and status of other function blocks. In this section, the block mode and status that
are specific to the faceplate block are explained.
SEE ALSO
For more information about block mode and status, see the following:
C6 Block Mode and Status
The Block Mode of the Faceplate Block
The block mode of a faceplate block agrees with the connected destination function block,
except for the out of service (O/S) mode.
The faceplate block periodically refers to the connected destination function block to keep
the mode agree with each other. On the other hand, if the block mode of the faceplate block
changes, the connected destination function block changes too.
The Block Status of the Faceplate Block
The block status of a faceplate block agrees with the connected destination function block.
The faceplate block periodically refers to the connected destination function block to keep
the status agree with each other.
The Alarm Status of the Faceplate Block
The alarm status of a faceplate block agrees with the connected destination function block,
except for the connection failure alarm (CNF) or normal (NR) status.
The faceplate block periodically refers to the connected destination function block to keep
the alarm status agree with each other.
10th Edition : Dec.18,2003-00
<D4.3 Block Mode and Status of Faceplate Blocks> D4-9
IM 33S01B30-01E
The Data Status of the Faceplate Block
In the faceplate block, the three types of analog data, namely, the process variable (PV),
setpoint value (SV), and manipulated output value (MV), are treated as data with data
status. The data status of the faceplate block agrees with the data status of the connected
destination function block. If there is no block connected, the data status is determined by
the status of its own data.
The Status Change Message
In the faceplate block, a status change message is sent when a change has occurred to
the block mode or block status.
Also, the status change message bypass function is provided to suppress the status
change message. The status change message bypass action is determined by the value
which is specified in the builder of the block itself, regardless of the existence or absence of
a block mode connection or block status connection.
However, in the absence of a block status connection, a status change message is sent
even when the block status does not change if the same status as the current one has
been specified as the block status.
10th Edition : Dec.18,2003-00
D4-10 <D4.3 Block Mode and Status of Faceplate Blocks>
IM 33S01B30-01E
D4.3.1 Block Mode of Faceplate Blocks
The block mode of a faceplate block agrees with the block mode of connected
destination function block, except for the off-service (O/S) mode.
Depending on the existence of the block mode connection, the faceplate block takes
different action when the block mode is changed.
Behavior of Faceplate with Block Mode Connection
The faceplate block periodically refers to the connected destination function block to keep
the block mode agree with each other. The faceplate block periodically refers to the con-
nected destination function block to keep the block mode agree with each other. On the
other hand, if the block mode of the faceplate block is changed, the block mode of the
connected destination function block changes too.
When connect with other blocks, the data item MODE is specified of the destination tag to
the terminal (JMOD). If a data item other than MODE is specified, it may not work properly.
A faceplate block cannot be connected to another faceplate block.
The Block Mode that can be Established
The types of the block mode (AUT, MAN, etc.) that can be established for the faceplate
block depend on the types of the block mode that can be connected as destination block.
Whether or not a mode change is possible also depends on whether the mode change is
enabled or not of the connected destination block.
Off-Service (O/S) Mode Related Actions when Block Mode Change
When link the block mode change of the faceplate block to the out of service (O/S) mode of
connected destination block, the faceplate takes different action. The out of service (O/S)
mode related actions are specified as follows:
Table Block Mode Change Action Specifications Regarding O/S (1/2)
Change operation
at the faceplate block
Action of the connection
destination block
O/SMAN O/SMAN
AUTMAN
O/S(MAN)MAN O/SMAN
O/S(MAN)O/S No change
MANO/S No change
D040301E.EPS
O/SMAN
Note: MAN indicates a mode other than O/S. Actions are the same for all mode other than O/S.
10th Edition : Dec.18,2003-00
<D4.3 Block Mode and Status of Faceplate Blocks> D4-11
IM 33S01B30-01E
Table Block Mode Change Action Specifications Regarding O/S (2/2)
Change operation at the
connection destination block
Action of the faceplate block
O/SMAN
MANO/S O/SO/S
D040302E.EPS
O/SMAN O/S(MAN)MAN
MANO/S MANO/S(MAN)
O/SO/S
Note: MAN indicates a mode other than O/S. Actions are the same for all mode other than O/S.
When the block mode of the faceplate block changes to out of service (O/S), only the
mode of the faceplate block becomes out of service (O/S), the mode of the connected
destination function block does not change.
When the block mode of the connected destination block is changed to out of service
(O/S), the block mode of the faceplate block does not become out of service (O/S) but
becomes O/S (MODE) which is a compound block mode. MODE of O/S (MODE)
indicates either the MAN, AUT or CAS mode. If the block mode of the faceplate block
is displayed as MAN O/S on the operation and monitoring function or described as
O/S (MAN) in this chapter, it means that the connected destination is in the out of
service (O/S) mode and the faceplate block is in the manual (MAN) mode.
Actions that take place when a mode change is performed against the faceplate block
while the faceplate block is in the out of service (O/S) mode or O/S (MAN):
When a block mode change is performed directly against the faceplate block, the
same block mode change command is sent simultaneously to the connected destina-
tion function block of the faceplate block.
When a mode change is performed to the connected destination function block while
the faceplate block is in the out of service (O/S) mode:
The faceplate block remains in the out of service (O/S) mode.
10th Edition : Dec.18,2003-00
D4-12 <D4.3 Block Mode and Status of Faceplate Blocks>
IM 33S01B30-01E
Behavior of Faceplate without Block Mode Connection
When there is no block mode connection, the block modes that are unique to the faceplate
block are used, as shown in the table below. Block mode can be changed only by external
operations outside the faceplate block, unless the block is returning from an O/S over
transition state.
Table Behavior of Faceplate Mode without Block Mode Connection
Block mode
Description
Symbol Name
O/S Out of service Indicates a state in which all functions are stopped.
MAN Manual
Specific meanings of each mode can be defined freely using the
application.
SEMI Semi-automatic
AUT Automatic
CAS Cascade
RCAS Remote cascade
ROUT Remote output
D040303E.EPS
Note: SEMI (semi-automatic) has the same priority as AUT and MAN, and is mutually exclusive with the two.
Interlock Condition for Faceplate Block Mode Change
Like other function blocks, the faceplate block has an interlock switch input terminal (INT)
which activates the block mode change interlock function. The block mode change inter-
lock function takes effect according to the status of the switch connected to the terminal
(INT) of the faceplate block itself. Whether the faceplate block is connected to other func-
tion block or not is irrelevant.
However, if the connected destination block and the faceplate block use the different signal
for block mode change interlock, the faceplate block will follow the block mode change of
the connected destination function block.
Thus, when the block mode is restricted under the faceplate blocks interlock condition , the
connected destination block can not change block mode again.
10th Edition : Dec.18,2003-00
<D4.3 Block Mode and Status of Faceplate Blocks> D4-13
IM 33S01B30-01E
D4.3.2 Block Status of Faceplate Blocks
The block status of the faceplate block agrees with the block status of the connected
destination function block. If there is no destination connection, a unique block
status is used.
Behavior of Faceplate with Block Status Connection
The faceplate block periodically refers to the connected destination block status to keep
their block status agree with each other.
To establish block status connection, connect the data item BSTS (block status) of the
destination tag to the terminal (JBST) of faceplate block. When a data item other than
BSTS is specified, the faceplate block does not operate properly. A faceplate block cannot
be connected to another faceplate block.
When block status connection establishes, the connected destination function blocks is
read via JBST terminal, status change can be performed only from the faceplate block.
The types of the block status (STOP, RUN, etc.) for the faceplate block depend on the
types of the block status available for the connected destination block.
10th Edition : Dec.18,2003-00
D4-14 <D4.3 Block Mode and Status of Faceplate Blocks>
IM 33S01B30-01E
Behavior of Faceplate without Block Status Connection
USER1(Faceplate Block)
When there is no block status connection, the block status strings defined on the user-
defined Status Character String Builder unique to the faceplate block can be used. The
default status strings for faceplate blocks are shown in the table below.
Table Behavior of Faceplate Status without Block Status Connection
Priority Position (Bit Column)
Symbol Name
3
FAIL Fail
ABRT Abort
IDLE Idle
SIML Simulation
1
RUN Run
STOP Stop
STUP Startup
HOLD Hold
WAIT Wait
END End
0
SDWN Shutdown
ESD Emergency shutdown
RSTR Restart
2
3
4
5
17
18
19
20
21
23
25
26
28
D040304E.EPS
Block status
The character strings for faceplate block status are the user-defined status character string
defined in column USER1 on the Status Character String Builder.
In the table, the position 33 (Bit Column) is system reserved, can not be used.
A block status string can be defined with up to 8 alphanumeric characters including under-
score (_).
The block status character string of the faceplate block can be changed by application
programs are the strings in the table positions 2, 3, 4, 5, 17, 18, 19, 20, 21, 23, 25, 26 and
28. The strings are defined to other positions (Bit) cannot be used by the application pro-
grams.
10th Edition : Dec.18,2003-00
<D4.3 Block Mode and Status of Faceplate Blocks> D4-15
IM 33S01B30-01E
D4.3.3 Alarm Status of Faceplate Blocks
The alarm status of a faceplate block agrees with the connected destination function
blocks alarm status, except for the connection failure (CNF) or normal (NR) status. If
there is no connection destination, a unique alarm status is used.
The alarm-related functions such as alarm acknowledgment, alarm detection specifi-
cation and alarm inhibition functions are available.
Behavior of Faceplate with Alarm Status Connection
The faceplate block periodically refers to the connected destination blocks alarm status to
keep their alarm status agree with each other.
To establish the alarm status connection, connect the data item ALRM of the destination
tag to the terminal (JALM) of the faceplate block. If a data item other than ALRM is used, it
does not work properly. A faceplate block cannot be connected to another faceplate block.
If alarm status connection establishes, any alarm status change operation on the faceplate
block becomes invalid.
The types of the alarm status (IOP, HI, etc.) for the faceplate block depend on the types of
alarm status available for the connected destination block.
When the connected destination block changes to connection failure (CNF) alarm status,
the faceplate block does not change to connection failure (CNF).
10th Edition : Dec.18,2003-00
D4-16 <D4.3 Block Mode and Status of Faceplate Blocks>
IM 33S01B30-01E
Behavior of Faceplate without Alarm Status Connection
When there is no alarm status connection, the alarm strings defined on the user-defined
Status Character String Builder unique to the faceplate block can be used. The default
alarm strings for faceplate blocks are shown in the table below.
Table Behavior of Faceplate Alarm Status without Alarm Status Connection
Alarm status
Position (Bit)
Symbol Name
Normal status
Output open alarm
High input open alarm
Low input open alarm
Emergency stop alarm
High alarm
Low alarm
Trip alarm
Scramble alarm
Interlock alarm
Error alarm
Connection failure alarm
D040305E.EPS
High-High alarm
Low-Low alarm
Positive deviation alarm
Negative deviation alarm
Discrete alarm
NR
OOP
IOP
IOP-
ESTP
HI
LO
TRP
SCBL
INT
ERR
CNF
HIHI
LOLO
DV+
DV-
DISC
BLCK Block alarm
9
10
11
12
13
17
18
25
26
27
28
32
15
16
21
22
29
30
The alarm status of faceplate block is indicated with the character string set of USER9 in
the table on the user-defined alarm status character string builder. The block alarm status
character string of the faceplate block can be changed by application programs are the
strings in the table positions 10, 11, 12, 13, 17, 18, 25, 26, 27 and 28.
The character strings defined to the positions 15, 16, 21, 22, 29 and 30 are used when the
ALARM_SUM of fieldbus block is linked through fieldbus module (ACF11).
SEE ALSO
Faceplate alarm status characters strings are defined in column USER9 on user-defined character string
builder. For more information, see the following:
User-Defined Alarm Status Character String in E12.4, Alarm Status Character String and Alarm
Processing
Alarm-Related Functions
The alarm-related functions such as alarm acknowledgment, alarm detection specification
and alarm inhibition functions are available for a faceplate block. They can be set on the
data items named alarm flashing status (AFLS), alarm detection specification (AF), and
alarm inhibition specification (AOFS), respectively.
The settings on the faceplate block itself determines the alarm-related functions. Whether
the faceplate is connected with other function block is irrelevant.
10th Edition : Dec.18,2003-00
<D4.3 Block Mode and Status of Faceplate Blocks> D4-17
IM 33S01B30-01E
D4.3.4 Data Status of Faceplate Blocks
A faceplate block has three types of analog data, the process variable (PV), setpoint
value (SV), and manipulated output value (MV). They are referred as data with data
status. The data status of the process variable (PV), setpoint value (SV), and ma-
nipulated output value (MV) agree with the data status of the connected destination
block. If there is no block connected, the data status is determined by the status of
the data setting block.
Faceplate with Data Connection
The data status agrees with the data status of the connected destination function block.
When data from the terminal connected function block have bad value (BAD) status, the
data set to the faceplate as it is anyway.
The faceplate blocks, except for batch status block (BSI), only read process variable (PV)
from the connected destination blocks. The PV can not be changed from the faceplate.
Therefore, to set the process variable (PV) of the faceplate block to CAL will result in a
setting error. If you really want to change the PV to calibration state you can do it directly on
the connected destination block.
Faceplate without Data Connection
When there is no data connection, the data status depends on the data status of its own
data.
For the faceplate blocks that have no connection with other blocks, data can be set exter-
nally such as from the operation and monitoring function. In this case, the bad value (BAD)
data status is reset.
10th Edition : Dec.18,2003-00
D4-18 <D4.4 Dual-Pointer Indicating Station Block (INDST2)>
IM 33S01B30-01E
D4.4 Dual-Pointer Indicating Station Block (INDST2)
The Dual-Pointer Indicating Station Block (INDST2) is a faceplate block used for
indication.
Dual-Pointer Indicating Station Block (INDST2)
Connection Information
The Dual-Pointer Indicating Station Block (INDST2) is a faceplate block used for indication.
Here is a function block diagram of the Dual-Pointer Indicating Station Block (INDST2).
JMOD
PV
ALRM
BSTS
MODE
SV
SVH
JBST
JALM
JPV
JSV
J01
J02 SVL
D040401E.EPS
INT
Figure Function Block Diagram of Dual-Pointer Indicating Station Block (INDST2)
INDST2 block process timing is periodic type. The scan period can be set to Basic Scan,
Medium-speed Scan (*1) or High-speed Scan.
*1: Medium-speed scan period is available for KFCS2, KFCS, LFCS2 and LFCS only.
10th Edition : Dec.18,2003-00
<D4.4 Dual-Pointer Indicating Station Block (INDST2)> D4-19
IM 33S01B30-01E
The figure below shows an example of the instrument faceplate of the Dual-Pointer Indicat-
ing Station Block (INDST2) displayed in the operation and monitoring window.
AIC100
System A
Concentration
AUT
NR
0.0
20.0
40.0
60.0
80.0
100.0
D040402E.EPS
Figure Display Example of Dual-Pointer Indicating Station Block (INDST2)
The table below shows the connection types and connection destinations of the I/O termi-
nals of the Dual-Pointer Indicating Station Block (INDST2).
Table Connection Types and Connection Destinations of the I/O Terminals of Dual-Pointer
Indicating Station Block (INDST2)
I/O terminal
Connection type Connection destination
Data
reference
Data
setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
JMOD
Block mode
connection
JBST
Block status
connection
JALM
Alarm status
connection
JPV
PV
connection
JSV
SV
connection
J01
SVH
connection
J02
SVL
connection
INT
Interlock
switch input
D040403E.EPS
: Connection available
Blank: Connection not available
: Connection is available only when connecting to a selector switch block (SW-33, SW-91).
10th Edition : Dec.18,2003-00
D4-20 <D4.4 Dual-Pointer Indicating Station Block (INDST2)>
IM 33S01B30-01E
Analog Data Display Function
The Dual-Pointer Indicating Station Block (INDST2) references the analog data at the
connection destination of the I/O terminals shown below during each scan period, and
stores data values and data statuses as data items.
If no I/O connection terminal is connected, the values currently stored in the data items are
held.
Table Target I/O Terminals of the Analog Data Display and Corresponding Data Items
I/O terminal Data item
JPV Process variable (PV)
JSV Setpoint value (SV)
J01 Setpoint high limit (SVH)
J02 Setpoint low limit (SVL)
D040404E.EPS
Analog Data Operation Function
When setting operation is performed to any data items of the Dual-Pointer Indicating
Station Block (INDST2), the set data item values will be set to the connection destination of
the corresponding I/O terminals shown below:
Table Target I/O Terminals of the Analog Data Operation Function and Corresponding Data Items
I/O terminal Data item
JSV Setpoint value (SV)
J01 Setpoint high limit (SVH)
J02 Setpoint low limit (SVL)
D040405E.EPS
The setting of analog data to the connection destination is performed during the periodic
scan that immediately follows the setting operation to the data item of the Dual-Pointer
Indicating Station Block (INDST2).
10th Edition : Dec.18,2003-00
<D4.4 Dual-Pointer Indicating Station Block (INDST2)> D4-21
IM 33S01B30-01E
Data Items - INDST2
Table Data Items of Dual-Pointer Indicating Station Block (INDST2)
Data Item Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (MAN)
BSTS Block status ----- 0
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- 0
AF Alarm detection specification ----- 0
AOFS Alarm masking specification ----- 0
PV Process variable PV engineering unit value SL
SV Setpoint value Value in the same engineering unit as PV SL
SVH Setpoint high limit SL to SH SH
SVL Setpoint low limit SL to SH SL
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
SH Scale high limit Value in the same engineering unit as PV -----
SL Scale low limit Value in the same engineering unit as PV -----
D040406E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
10th Edition : Dec.18,2003-00
D4-22 <D4.5 Dual-Pointer Manual Station Block (INDST2S)>
IM 33S01B30-01E
D4.5 Dual-Pointer Manual Station Block (INDST2S)
The Dual-Pointer Manual Station Block (INDST2S) is a faceplate block used for
operation.
Dual-Pointer Manual Station Block (INDST2S)
Connection Information
Here is a function block diagram of the Dual-Pointer Manual Station Block (INDST2S).
JMOD
INT
SV
ALRM
BSTS
MODE
MV
SVH
JBST
JALM
JSV
JMV
J01
J02 SVL
MH J03
J04 ML
D040501E.EPS
Figure Function Block Diagram of Dual-Pointer Manual Station Block (INDST2S)
INDST2S block process timing is periodic type. The scan period can be set to Basic Scan,
Medium-speed Scan (*1) or High-speed Scan.
*1: Medium-speed scan period is available for KFCS2, KFCS, LFCS2 and LFCS only.
10th Edition : Dec.18,2003-00
<D4.5 Dual-Pointer Manual Station Block (INDST2S)> D4-23
IM 33S01B30-01E
The figure below shows an example of the instrument faceplate of the Dual-Pointer Manual
Station Block (INDST2S) displayed in the operation and monitoring window.
AIC200
System B
Concentration
AUT
NR
0.0
20.0
40.0
60.0
80.0
100.0
D040502E.EPS
Figure Display Example of Dual-Pointer Manual Station Block (INDST2S)
The table below shows the connection types and connection destinations of the I/O termi-
nals of the Dual-Pointer Manual Station Block (INDST2S).
Table Connection Types and Connection Destinations of the I/O Terminals of Dual-Pointer
Manual Station Block (INDST2S)
JMOD
Block mode
connection
JBST
Block status
connection
JALM
Alarm status
connection
JSV
SV
connection
JMV
MV
connection
J01
SVH
connection
J02
SVL
connection
J03
MH
connection
J04
ML
connection
INT
Interlock
switch input
D040503E.EPS
I/O terminal
Connection type Connection destination
Data
reference
Data
setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
: Connection available
Blank: Connection not available
: Connection is available only when connecting to a selector switch block (SW-33, SW-91).
10th Edition : Dec.18,2003-00
D4-24 <D4.5 Dual-Pointer Manual Station Block (INDST2S)>
IM 33S01B30-01E
Analog Data Display Function
The Dual-Pointer Manual Station Block (INDST2S) references the analog data at the
connection destination of the I/O terminals shown below during each scan period, and
stores data values and data statuses as data items.
If no I/O connection terminal is connected, the values currently stored in the data items are
held.
Table Target I/O Terminals of Analog Data Display and Corresponding Data Items
I/O terminal Data item
JSV Setpoint value (SV)
JMV Manipulated output value (MV)
J01 Setpoint high limit (SVH)
J02 Setpoint low limit (SVL)
J03 Manipulated variable high-limit setpoint (MH)
J04 Manipulated variable low-limit setpoint (ML)
D040504E.EPS
The display form of the manipulated output value (MV) is set in the Function Block Detail
Builder.
MV Display Style: Select from Auto determination or User Define.
The default setting is Auto determination.
When User Define is selected, set the engineering unit and scale range of the manipu-
lated output value (MV). The engineering unit and scale range of the manipulated output
value (MV) are set in the Function Block Detail Builder.
MV Engineering Unit Symbol: MV engineering unit.
The default setting is %.
MV Range:
The high limit and low limit values of the maximum range of the manipulated output
value.
The default setting is 100.0 for the high limit value and 0.0 for the low limit value.
10th Edition : Dec.18,2003-00
<D4.5 Dual-Pointer Manual Station Block (INDST2S)> D4-25
IM 33S01B30-01E
Analog Data Operation Function
When setting operation is performed to any data items of the Dual-Pointer Manual Station
Block (INDST2S), the set data item values will be set to the connection destination of the
corresponding I/O terminals shown below:
Table Target I/O Terminals of Analog Data Operation and Corresponding Data Items
I/O terminal Data item
JSV Setpoint value (SV)
JMV Manipulated output value (MV)
J01 Setpoint high limit (SVH)
J02 Setpoint low limit (SVL)
J03 Manipulated variable high-limit setpoint (MH)
J04 Manipulated variable low-limit setpoint (ML)
D040505E.EPS
The setting of analog data to the connection destination is performed during the periodic
scan that immediately follows the setting operation to the data item of the Dual-Pointer
Manual Station Block (INDST2S).
10th Edition : Dec.18,2003-00
D4-26 <D4.5 Dual-Pointer Manual Station Block (INDST2S)>
IM 33S01B30-01E
Data Items - INDST2S
Table Data Items of Dual-Pointer Manual Station Block (INDST2S)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (MAN)
BSTS Block status ----- 0
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- 0
AF Alarm detection specification ----- 0
AOFS Alarm masking specification ----- 0
PV Process variable PV engineering unit value SL
SV Setpoint value Value in the same engineering unit as PV SL
MV Manipulated output value MV engineering unit value MSL
MH Manipulated variable high-limit setpoint MSL to MSH MSH
ML Manipulated variable low-limit setpoint MSL to MSH MSL
SVH Setpoint high limit SL to SH SH
SVL Setpoint low limit SL to SH SL
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
SH Scale high limit Value in the same engineering unit as PV -----
SL Scale low limit Value in the same engineering unit as PV -----
MSH MV scale high limit Value in the same engineering unit as MV -----
MSL MV scale low limit Value in the same engineering unit as MV -----
D040506E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
10th Edition : Dec.18,2003-00
<D4.6 Triple-Pointer Manual Station Block (INDST3)> D4-27
IM 33S01B30-01E
D4.6 Triple-Pointer Manual Station Block (INDST3)
The Triple-Pointer Manual Station Block (INDST3) is a faceplate block used for
indication operation.
Triple-Pointer Manual Station Block (INDST3)
Connection Information
Here is a function block diagram of the Triple-Pointer Manual Station Block (INDST3).
JMOD
INT
PV
ALRM
BSTS
MODE
SV
SVH
JBST
JALM
JPV
JSV
J01
J02 SVL
MV JMV
MH J03
J04 ML
D040601E.EPS
Figure Function Block Diagram of Triple-Pointer Manual Station Block (INDST3)
INDST3 block process timing is periodic type. The scan period can be set to Basic Scan,
Medium-speed Scan (*1) or High-speed Scan.
*1: Medium-speed scan period is available for KFCS2, KFCS, LFCS2 and LFCS only.
10th Edition : Dec.18,2003-00
D4-28 <D4.6 Triple-Pointer Manual Station Block (INDST3)>
IM 33S01B30-01E
The figure below shows an example of the instrument faceplate of the Triple-Pointer
Manual Station Block (INDST3) displayed in the operation and monitoring window.
AIC300
System C
Concentration
AUT
NR
0.0
20.0
40.0
60.0
80.0
100.0
D040602E.EPS
Figure Display Example of Triple-Pointer Manual Station Block (INDST3)
The table below shows the connection types and connection destinations of the I/O termi-
nals of the Triple-Pointer Manual Station Block (INDST3).
Table Connection Types and Connection Destinations of I/O Terminals of Triple-Pointer Manual
Station Block (INDST3)
I/O terminal
Connection type Connection destination
Data
reference
Data
setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
JMOD
Block mode
connection
JBST
Block status
connection
JALM
Alarm status
connection
JPV PV connection
JSV SV connection
JMV MV connection
J01 SVH connection
J02 SVL connection
J03 MH connection
J04 ML connection
INT
Interlock
switch input
D040603E.EPS
: Connection available
Blank: Connection not available
: Connection is available only when connecting to a selector switch block (SW-33, SW-91).
10th Edition : Dec.18,2003-00
<D4.6 Triple-Pointer Manual Station Block (INDST3)> D4-29
IM 33S01B30-01E
Analog Data Display Function
The Triple-Pointer Manual Station Block (INDST3) references the analog data at the
connection destination of the I/O terminals shown below during each scan period, and
stores data values and data statuses as data items.
If no I/O connection terminal is connected, the values currently stored in the data items are
held.
Table Target I/O Terminals of Analog Data Display and Corresponding Data Items
I/O terminal Data item
JSV Setpoint value (SV)
JPV Process variable (PV)
JMV Manipulated output value (MV)
J01 Setpoint high limit (SVH)
J02 Setpoint low limit (SVL)
J03 Manipulated variable high-limit setpoint (MH)
J04 Manipulated variable low-limit setpoint (ML)
D040604E.EPS
The display form of the manipulated output value (MV) is set in the Function Block Detail
Builder.
MV Display Style: Select from Auto determination or User Define.
The default setting is Auto determination.
When User Define is selected, set the engineering unit and scale range of the manipu-
lated output value (MV). The engineering unit and scale range of the manipulated output
value (MV) are set in the Function Block Detail Builder.
MV Engineering Unit Symbol: MV engineering unit.
The default setting is %.
MV Range:
The high limit and low limit values of the maximum range of the manipulated output
value.
The default setting is 100.0 for the high limit value and 0.0 for the low limit value.
10th Edition : Dec.18,2003-00
D4-30 <D4.6 Triple-Pointer Manual Station Block (INDST3)>
IM 33S01B30-01E
Analog Data Operation Function
When setting operation is performed to any data items of the Triple-Pointer Manual Station
Block (INDST3), the set data item values will be set to the connection destination of the
corresponding I/O terminals shown below:
Table Target I/O Terminals of Analog Data Operation and Corresponding Data Items
I/O terminal Data item
JSV Setpoint value (SV)
JPV Process variable (PV)
JMV Manipulated output value (MV)
J01 Setpoint high limit (SVH)
J02 Setpoint low limit (SVL)
J03 Manipulated variable high-limit setpoint (MH)
J04 Manipulated variable low-limit setpoint (ML)
D040605E.EPS
The setting of analog data to the connection destination is performed during the periodic
scan that immediately follows the setting operation to the data item of the Triple-Pointer
Manual Station Block (INDST3).
10th Edition : Dec.18,2003-00
<D4.6 Triple-Pointer Manual Station Block (INDST3)> D4-31
IM 33S01B30-01E
Data Items - INDST3
Table Data Items of Triple-Pointer Manual Station Block (INDST3)
Data
Item
Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (MAN)
BSTS Block status ----- 0
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- 0
AF Alarm detection specification ----- 0
AOFS Alarm masking specification ----- 0
PV Process variable PV engineering unit value SL
SV Setpoint value Value in the same engineering unit as PV SL
MV Manipulated output value MV engineering unit value MSL
MH Manipulated variable high -limit setpoint MSL to MSH MSH
ML Manipulated variable low -limit setpoint MSL to MSH MSL
SVH Setpoint high limit SL to SH SH
SVL Setpoint low limit SL to SH SL
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
SH Scale high limit Value in the same engineering unit as PV -----
SL Scale low limit Value in the same engineering unit as PV -----
MSH MV scale high limit Value in the same engineering unit as MV -----
MSL MV scale low limit Value in the same engineering unit as MV -----
D040606E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
10th Edition : Dec.18,2003-00
D4-32 <D4.7 Batch Status Indicator Block (BSI)>
IM 33S01B30-01E
D4.7 Batch Status Indicator Block (BSI)
The Batch Status Indicator Block (BSI) is a sequence faceplate block that has inter-
nal functions to display sequence phase signals and to operate three push button
switches.
Batch Status Indicator Block (BSI)
Connection Information
Here is a function block diagram of the Batch Status Indicator Block (BSI).
SWOP[1]
MH
SWST[1]
SVL
MH
SWCR[1]
SVL
MH
JMOD
SV PV
ALRM
BSTS
MODE
PV01
JBST
JALM
SET
INT
Q01
Q02 PV02
PV03
SWLB[1]
SWLB[2]
SWLB[3] Q03
D040701E.EPS
Figure Function Block Diagram of Batch Status Indicator Block (BSI)
BSI block process timing is periodic type. The scan period can be set to Basic Scan,
Medium-speed Scan (*1) or High-speed Scan.
*1: Medium-speed scan period is available for KFCS2, KFCS, LFCS2 and LFCS only.
10th Edition : Dec.18,2003-00
<D4.7 Batch Status Indicator Block (BSI)> D4-33
IM 33S01B30-01E
The figure below shows an example of the instrument faceplate of the Batch Status Indica-
tor Block (BSI) displayed in the operation and monitoring window.
BS100
Phase in
System A
Cooling
MAN
NR
1
16
D040702E.EPS
HALT
START
STOP
Figure Display Example of Batch Status Indicator Block (BSI)
The table below shows the connection types and connection destinations of the I/O termi-
nals of the Batch Status Indicator Block (BSI).
Table Connection Types and Connection Destinations of I/O Terminals of Batch Status Indicator
Block (BSI)
JMOD
Block mode
connection
JBST
Block status
connection
JALM
Alarm status
connection
SET
SV
connection
Q01
PV01
connection
Q02
PV02
connection
Q03
PV03
connection
INT
Interlock
switch input
D040703E.EPS
I/O terminal
Connection type Connection destination
Data
reference
Data
setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
: Connection available
Blank: Connection not available
: Connection is available only when connecting to a selector switch block (SW-33, SW-91).
10th Edition : Dec.18,2003-00
D4-34 <D4.7 Batch Status Indicator Block (BSI)>
IM 33S01B30-01E
Phase Signal Display Function
Process Name 1 to 16
The phase signal display function is a function that displays the name of the phase being
executed at the plant, on the instrument faceplate of the operation and monitoring window.
The Batch Status Indicator Block (BSI) performs processing in the following order.
References the data at the connection destination of the SV connection terminal
(SET), and stores the referenced value as the current phase step number (SV).
Select the current phase signal (PHAS[SV]) from process signals (PHAS[n]) based on
the value stored as the current phase step number (SV), and sets it as the current
phase signal (PV).
If no data is linked to the SET terminal, PHAS[SV] is selected by using the value held
as SV.
If the value of the current phase step number (SV) is 17 or larger, the value of the
current phase signal (PV) is held as is.
If the value of the current phase step number (SV) is 17 or larger, the current phase
signal (PV) will be changed when character string data is set to the signal.
Up to 16 phase signals can be defined in the Function Block Detail Builder. Phase signals
are defined as one-dimensional array data (PHAS[n]) whose elements are character
strings containing 16 alphanumeric characters.
10th Edition : Dec.18,2003-00
<D4.7 Batch Status Indicator Block (BSI)> D4-35
IM 33S01B30-01E
Switch Status Input Function
The switch status input function of the Batch Status Indicator Block (BSI) determines
whether the switch statuses (PV01 to PV03) are ON or OFF in accordance with the status
data value of the connection destination.
Action of the Switch Status Input Function
The Batch Status Indicator Block (BSI) references the status information at the connection
destination of input connection terminals (Q01 to Q03) during each scan period. If the value
of the referenced status information is 0, then the switch status becomes OFF. If the value
is other than 0, then the switch status becomes ON.
When the switch status is OFF, the values of PV01 to PV03 are 0. When the switch status
is ON, the values of PV01 to PV03 are 1.
Operating Conditions of the Switch Status Input Function
Depending upon the connection status of the I/O terminal and the switch type setting, data
reference and the switch status (PVnn) determination may or may not be performed.
Table Operating Conditions of the Switch Status Input Function
I/O connection Switch type Data reference Switch status determination
No connection ------
Connection
Not used
Lamp
Button
Button with lamp
D040704E.EPS
: Performed
Blank: Not performed
10th Edition : Dec.18,2003-00
D4-36 <D4.7 Batch Status Indicator Block (BSI)>
IM 33S01B30-01E
Lamp Indication Function
Label for OFF, Label for ON, Display Color for OFF, Display Color for ON
The lamp indication function of the Batch Status Indicator Block (BSI) changes the indica-
tion color of the push button switch and the indication content of its switch label when the
value of each switch status (PV01 to PV03) is changed.
Action of the Lamp Indication Function
When the ON/OFF status of each switch (PV01 to PV03) changes, the values of the
corresponding switch indication color (SWCR1 to SWCR3) and switch label (SWLB1 to
SWLB3), which are data items, will change. Accordingly, the indication color and switch
label of the push button switch, which is located on the instrument faceplate of the Batch
Status Indicator Block (BSI), will change.
The setting of the indication color and switch label of the push button switch can be
changed by using the Function Block Detail Builder.
The following are the default set values of each switch indication color and label.
Display color at ON: Red
Display color at OFF: White
Label at ON: ON
Label at OFF: OFF
Operating Conditions of the Lamp Indication Function
Depending upon the connection status of the I/O terminal and the switch type setting,
indication color determination and switch label determination may or may not be per-
formed.
Table Operating Conditions of the Lamp Indication Function
I/O connection Switch type
Indication color
determination
Switch label determination
No connection ------
Connection
Not used
Lamp
Button
Button with lamp
D040705E.EPS
: Performed
Blank: Not performed
10th Edition : Dec.18,2003-00
<D4.7 Batch Status Indicator Block (BSI)> D4-37
IM 33S01B30-01E
Button Operation Function
The button operation function of the Batch Status Indicator Block (BSI) sets the value of
each switch status (PV01 to PV03) to the connection destination when button operation is
performed by the operator.
Action of the Button Operation Function
When button operation is performed by the operator on the instrument faceplate, or when
data is set to PV01 to PV03 from outside the block, the corresponding switch status (PV01
to PV03) will change. How the switch status changes depends on the setting of the button
action.
When the value of PV01, PV02, or PV03 has been changed, that value (PV01 to PV03) is
set to the connection destination of the corresponding I/O terminal (Q01 to Q03). This
setting is executed during the first periodic scan following the setting operation to the data
item of the Batch Status Indicator Block (BSI).
Operating Conditions of the Button Operation Function
Depending upon the connection status of the I/O terminal and the switch type setting,
switch status (PVnn) determination and data output may or may not be performed.
Table Operating Statuses of the Button Operation Function
I/O connection Switch type
Switch status
determination
Data output
No connection ------
Connection
Not used
Lamp
Button
Button with lamp
D040706E.EPS
: Performed
Blank: Not performed
10th Edition : Dec.18,2003-00
D4-38 <D4.7 Batch Status Indicator Block (BSI)>
IM 33S01B30-01E
Button Action
Button Action
The button action references the ways in which the switch status changes when button
operation is performed by the operator.
The button action of the Batch Status Indicator Block (BSI) is defined in the Function Block
Detail Builder. Two types of button actions are available for selection: check button and
radio button.
Check button action
When button operation is performed by the operator, the switch status changes. The
status changes to OFF (0) if it was ON (1), and to ON (1) if it was OFF (0). Multiple
switches can be turned ON simultaneously.
Radio button action
When button operation is performed by the operator, all switches other than the one
that has been turned ON (1) by the operation will be turned OFF (0) forcibly.
Switches that are turned OFF forcibly while the radio button is in use are limited to
those that support the button operation function.
When the radio button is in use, even a switch whose operation disable status is ON
will be turned OFF forcibly once other switches have been turned ON.
In some circumstances, such as when switch statuses are referenced by the lamp
indication function, multiple switch statuses may become ON simultaneously. In this
case, only the switch with the smallest number among the switches that are ON will
remain so. All other switch statuses will be turned OFF forcibly. When any switch
status is turned OFF forcibly, its PVnn value will be set to the connection destination of
the corresponding I/O terminal, as is the case with the button operation function.
10th Edition : Dec.18,2003-00
<D4.7 Batch Status Indicator Block (BSI)> D4-39
IM 33S01B30-01E
Switch Flashing Function
The switch flashing function flashes the lamp of each switch on the instrument faceplate.
When the switch flashing status (SWST[n]) is set to 1 through data setting, the lamp
indication on the instrument faceplate starts flashing. When the switch flashing status
(SWST[n]) is set to 0, the lamp indication returns to a normal state.
Switch Operation Disable Function
The switch operation disable function is a function that disables switch operation from the
instrument faceplate. This function can enable or disable operation of the status (PVnn) and
flashing status (SWST[n]) of each switch.
When a numeric value of 0 or less is set as the switch operation disable status (SWOP[n]),
operation is enabled.
When a numeric value of 1 or more is set as the switch operation disable status
(SWOP[n]), operation is disabled.
Note that this function disables only the operations performed on the instrument faceplate.
Even when switch operation is disabled by this setting, other switch operations, such as the
setting of data between function blocks and data entry operation from the tuning window of
the specified tag and data item names, can be performed freely.
10th Edition : Dec.18,2003-00
D4-40 <D4.7 Batch Status Indicator Block (BSI)>
IM 33S01B30-01E
Data Items - Batch Status Indicator Block (BSI)
Table Data Items of Batch Status Indicator Block (BSI)
Data Item Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (MAN)
BSTS Block status ----- 0
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- 0
AF Alarm detection specification ----- 0
AOFS Alarm masking specification ----- 0
PV Current phase step name
Equivalent to a string of 16 alphanumeric
characters
-----
SV Current phase step number 1 to 99 1
PV01 to PV03 Switch status 1 to 3 0/1 0
SWCR[1] to [3] Switch indication color 0 to 15 7
SWLB[1] to [3] Switch label
Equivalent to a string of 8 alphanumeric
characters
-----
SWST[1] to [3] Switch flashing status 0/1 0
SWOP[1] to [3] Switch operation disable status -15 to 15 0
PHAS[1] to [16] Phase step name
Equivalent to a string of 16 alphanumeric
characters
-----
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
D040707E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
10th Edition : Dec.18,2003-00
<D4.8 Extended 5-Push-Button Switch Block (PBS5C)> D4-41
IM 33S01B30-01E
D4.8 Extended 5-Push-Button Switch Block (PBS5C)
The Extended 5-Push-Button Switch Block (PBS5C) is a sequence faceplate block
that holds status data of five push button switches.
Extended 5-Push-Button Switch Block (PBS5C)
Connection Information
The Extended 5-Push-Button Switch Block (PBS5C) is a sequence faceplate block that
holds status data of five push button switches, and changes the indication on the instru-
ment faceplate in accordance with the status of each push button switch.
Here is a function block diagram of the Extended 5-Push-Button Switch Block (PBS5C).
AKLB[1]
SWOP[1]
MV
SVH
SVL
MH
SWST[1]
MV
SVH
SVL
MH
SWCR[1]
MV
SVH
SVL
MH
JMOD
INT
PV01
ALRM
BSTS
MODE
PV02
PV03
JBST
JALM
Q01
Q02
Q03
Q04 PV04
PV05
SWLB[1]
SWLB[2]
SWLB[3]
SWLB[4]
SWLB[5] Q05
B01
B02
B03
MV01
MV02
MV03
MV04 B04
B05 MV05
D040801E.EPS
Figure Function Block Diagram of Extended 5-Push-Button Switch Block (PBS5C)
PBS5C block process timing is periodic type. The scan period can be set to Basic Scan,
Medium-speed Scan (*1) or High-speed Scan.
*1: Medium-speed scan period is available for KFCS2, KFCS, LFCS2 and LFCS only.
10th Edition : Dec.18,2003-00
D4-42 <D4.8 Extended 5-Push-Button Switch Block (PBS5C)>
IM 33S01B30-01E
The figure below shows an example of the instrument faceplate of the Extended 5-push-
button switch block (PBS5C) displayed in the operation and monitoring window.
SC100
System A
MAN
NR
NR
D040802E.EPS
SW1 OFF
SW2 OFF
V1
CLOSE
P1 STOP
V2
CLOSE
Figure Display Example of Extended 5-Push-Button Switch Block (PBS5C)
10th Edition : Dec.18,2003-00
<D4.8 Extended 5-Push-Button Switch Block (PBS5C)> D4-43
IM 33S01B30-01E
The table below shows the connection types and connection destinations of the I/O termi-
nals of the Extended 5-Push-Button Switch Block (PBS5C).
Table Connection Types and Connection Destinations of I/O Terminals of Extended 5-Push-
Button Switch Block (PBS5C)
JMOD
Block mode
connection
JBST
Block status
connection
JALM
Alarm status
connection
Q01
PV01
connection
Q02
PV02
connection
Q03
PV03
connection
Q04
PV04
connection
Q05
PV05
connection
B01
MV01
connection
B02
MV02
connection
B03
MV03
connection
B04
MV04
connection
B05
MV05
connection
INT
Interlock
switch input
D040803E.EPS
I/O terminal
Connection type Connection destination
Data
reference
Data
setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
: Connection available
Blank: Connection not available
: Connection is available only when connecting to a selector switch block (SW-33, SW-91).
10th Edition : Dec.18,2003-00
D4-44 <D4.8 Extended 5-Push-Button Switch Block (PBS5C)>
IM 33S01B30-01E
Switch Status Input Function
The switch status input function of the Extended 5-Push-Button Switch Block (PBS5C)
determines whether the switch statuses (PV01 to PV05) are ON or OFF in accordance with
the status data value of the connection destination.
Action of the Switch Status Input Function
The PBS5C Block references status of terminals connected to input terminals Q01 to Q05
at established scan periods. When the referenced status is 0, a switch turns OFF and the
values of PV01 and PV05 are 0. When it is other than 0, a switch turns ON and the values
are 1.
Operating Conditions of the Switch Status Input Function
Depending upon the connection status of the I/O terminal and the switch type, data refer-
ence and the switch status (PVnn) determination may or may not be performed.
Table Operating Conditions of the Switch Status Input Function
I/O connection Switch type Data reference Switch status determination
No connection ------
Connection
Not used
Lamp
Button
Button with lamp
D040804E.EPS
: Performed
Blank: Not performed
10th Edition : Dec.18,2003-00
<D4.8 Extended 5-Push-Button Switch Block (PBS5C)> D4-45
IM 33S01B30-01E
Lamp Indication Function
Label for OFF, Label for ON, Display Color for OFF, Display Color for ON
The lamp indication function of the Extended 5-Push-Button Switch Block (PBS5C)
changes the indication color of the push button switch and the indication content of its
switch label when the value of each switch status (PV01 to PV05) is changed.
Action of the Lamp Indication Function
When the ON/OFF status of each switch (PV01 to PV05) changes, the values of the
corresponding switch indication color (SWCR1 to SWCR5) and switch label (SWLB1 to
SWLB5), which are data items, will change. Accordingly, the indication color and switch
label of the push button switch, which is located on the instrument faceplate of the Ex-
tended 5-Push-Button Switch Block (PBS5C), will change.
The setting of the indication color and switch label of the push button switch can be
changed by using the Function Block Detail Builder.
The following shows the default set values of each switch indication color and label.
Display color at ON: Red
Display color at OFF: White
Label at ON: ON
Label at OFF: OFF
Operating Conditions of the Lamp Indication Function
Depending upon the connection status of the I/O terminal and the switch type setting,
indication color determination and switch label determination may or may not be per-
formed.
Table Operating Conditions of the Lamp Indication Function
I/O connection Switch type
Indication color
determination
Switch label determination
No connection ------
Connection
Not used
Lamp
Button
Button with lamp
D040805E.EPS
: Performed
Blank: Not performed
10th Edition : Dec.18,2003-00
D4-46 <D4.8 Extended 5-Push-Button Switch Block (PBS5C)>
IM 33S01B30-01E
Button Operation Function
The button operation function of the Extended 5-Push-Button Switch Block (PBS5C)
changes manipulated command values (MV01 to MV05) when button operation is per-
formed by the operator.
Action of the Button Operation Function
When button operation is performed by the operator on the instrument faceplate, or when
data is set to manipulated command values (MV01 to MV05) from outside the block, the
manipulated command values (MV01 to MV05) will change. How each value changes
varies depending upon the button operation setting.
When the value of any manipulated command value (MV01 to MV05) is changed, that
manipulated command value (MV01 to MV05) will be set to the connection destination of
the corresponding output connection terminal (B01 to B05). This setting of data to the
connection destination is executed during the first periodic scan following the setting
operation to the data item of the Extended 5-Push-Button Switch Block (PBS5C).
Operating Conditions of the Button Operation Function
Depending upon the connection status of the I/O terminal and the switch type setting,
manipulated command value (MVnn) determination and data output may or may not be
performed.
Table Operating Conditions of the Button Operation Function
I/O connection Switch type
Manipulated command
value determination
Data output
No connection ------
Connection
Not used
Lamp
Button
Button with lamp
D040806E.EPS
: Performed
Blank: Not performed
Button Action
Button Action
The button action references the ways in which the switch status changes when button
operation is performed by the operator.
The button action of the Extended 5-Push-Button Switch Block (PBS5C) is set in the
Function Block Detail Builder. Three types of button action are available for selection;
momentary button, alternate button, and radio button. The default is momentary
button.
When the momentary button is selected, output time span must be set. The output time
span is set in the Function Block Detail Builder.
10th Edition : Dec.18,2003-00
<D4.8 Extended 5-Push-Button Switch Block (PBS5C)> D4-47
IM 33S01B30-01E
Switch Flashing Function
The switch flashing function flashes the lamp of each switch on the instrument faceplate.
When the switch flashing status (SWST[n]) is set to 1 through data setting, the lamp
indication on the instrument faceplate starts flashing. When the switch flashing status
(SWST[n]) is set to 0, the lamp indication returns to a normal state.
Switch Operation Disable Function
The switch operation disable function is a function that disables switch operation from the
instrument faceplate. This function can enable or disable operation of the status (PVnn) and
flashing status (SWST[n]) of each switch.
When a numeric value of 0 or smaller is set as the switch operation disable status
(SWOP[n]), operation is enabled.
When a numeric value of 1 or greater is set as the switch operation disable status
(SWOP[n]), operation is disabled.
Note that this function disables only the operations performed on the instrument faceplate.
Even when switch operation is disabled by this setting, other switch operations, such as the
setting of data between function blocks and data entry operation from the tuning window of
the specified tag and data item names, can be performed freely.
Reconfirmation Operation
A dialog box for reconfirming the switch operation is displayed.
In the dialog, an OFF switch label is displayed when the current switch status (PVnn) is ON
and an ON switch label is displayed when the switch status is OFF.
10th Edition : Dec.18,2003-00
D4-48 <D4.8 Extended 5-Push-Button Switch Block (PBS5C)>
IM 33S01B30-01E
Data Items - PBS5C
Table Data Items of Extended 5-Push-Button Switch Block (PBS5C)
Data Item Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (MAN)
BSTS Block status ----- 0
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- 0
AF Alarm detection specification ----- 0
AOFS Alarm masking specification ----- 0
PV01 to PV05 Switch status 1 to 5 0/1 0
SWCR[1] to [5] Switch indication color 0 to 15 7
SWLB[1] to [5] Switch label
Equivalent to a string of 8 alphanumeric
characters
-----
SWST[1] to [5] Switch flashing status 0/1 0
SWOP[1] to [5] Switch operation disable status -15 to 15 0
AKLB[1] to [5] Reconfirmation label
Equivalent to a string of 8 alphanumeric
characters
-----
MV01 to MV05 Manipulated command 1 to 5 0/1 0
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
D040807E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
10th Edition : Dec.18,2003-00
<D4.9 Extended 10-Push-Button Switch Block (PBS10C)> D4-49
IM 33S01B30-01E
D4.9 Extended 10-Push-Button Switch Block
(PBS10C)
The Extended 10-Push-Button Switch Block (PBS10C) is a sequence faceplate block
that holds status data of ten push button switches.
Extended 10-Push-Button Switch Block (PBS10C)
Connection Information
Here is a function block diagram of the Extended 10-Push-Button Switch Block (PBS10C).
AKLB[1]
SWOP[1]
MV
SVH
SVL
MH
SWST[1]
MV
SVH
SVL
MH
SWCR[1]
MV
SVH
SVL
MH
JMOD
PV01
ALRM
BSTS
MODE
PV02
JBST
JALM
Q01
Q02
PV10
SWLB[1]
SWLB[2]
SWLB[10] Q10
INT
B01
B02
MV01
MV02
B10 MV10
D040901E.EPS
Figure Function Block Diagram of Extended 10-Push-Button Switch Block (PBS10C)
PBS10C block process timing is periodic type. The scan period can be set to Basic Scan,
Medium-speed Scan (*1) or High-speed Scan.
*1: Medium-speed scan period is available for KFCS2, KFCS, LFCS2 and LFCS only.
10th Edition : Dec.18,2003-00
D4-50 <D4.9 Extended 10-Push-Button Switch Block (PBS10C)>
IM 33S01B30-01E
The figure below shows an example of the instrument faceplate of the Extended 10-Push-
Button Switch Block (PBS10C) displayed in the operation and monitoring window.
SC200
System B
MAN
NR
NR
D040902E.EPS
SW1 OFF P2 STOP
V1 CLOSE SW3 OFF
P1 STOP V3 CLOSE
SW2 OFF P3 STOP
V2 CLOSE SW4 OFF
Figure Display Example of Extended 10-Push-Button Switch Block (PBS10C)
10th Edition : Dec.18,2003-00
<D4.9 Extended 10-Push-Button Switch Block (PBS10C)> D4-51
IM 33S01B30-01E
The table below shows the connection types and connection destinations of the I/O termi-
nals of the Extended 10-Push-Button Switch Block (PBS10C).
Table Connection Types and Connection Destinations of I/O Terminals of Extended 10-Push-
Button Switch Block (PBS10C) (1/2)
I/O terminal
Connection type Connection destination
Data
reference
Data
setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
JMOD
Block mode
connection
JBST
Block status
connection
JALM
Alarm status
connection
Q01
PV01
connection
Q02
PV02
connection
Q03
PV03
connection
Q04
PV04
connection
Q05
PV05
connection
D040903E.EPS
Q06
PV06
connection
Q07
PV07
connection
Q08
PV08
connection
Q09
PV09
connection
Q10
PV10
connection
INT
Interlock
SW input
: Connection available
Blank: Connection not available
: Connection is available only when connecting to a selector switch block (SW-33, SW-91).
10th Edition : Dec.18,2003-00
D4-52 <D4.9 Extended 10-Push-Button Switch Block (PBS10C)>
IM 33S01B30-01E
Table Connection Types and Connection Destinations of I/O Terminals of Extended 10-Push-
Button Switch Block (PBS10C) (2/2)
I/O terminal
Connection type Connection destination
Data
reference
Data
setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
B01
MV01
connection
B02
MV02
connection
B03
MV03
connection
B04
MV04
connection
B05
MV05
connection
B06
MV06
connection
B07
MV07
connection
B08
MV08
connection
B09
MV09
connection
B10
MV10
connection
D040904E.EPS
: Connection available
Blank: Connection not available
Switch Status Input Function
The switch status input function of the Extended 10-Push-Button Switch Block (PBS10C)
determines whether the switch statuses (PV01 to PV10) are ON or OFF in accordance with
the status data value of the connection destination.
Action of the Switch Status Input Function
The PBS10C Block references status of terminals connected to input terminals Q01 to Q10
at established scan periods. When the referenced status is 0, a switch turns OFF and the
values of PV01 and PV10 are 0. When it is other than 0, a switch turns ON and the values
are 1.
10th Edition : Dec.18,2003-00
<D4.9 Extended 10-Push-Button Switch Block (PBS10C)> D4-53
IM 33S01B30-01E
Operating Conditions of the Switch Status Input Function
Depending upon the connection status of the I/O terminal and the switch type, data refer-
ence and the switch status (PVnn) determination may or may not be performed.
Table Operating Conditions of Switch Status Input Function
I/O connection Switch type Data reference
Switch status
determination
No connection
Connection
Not used
Lamp
Button
Button with lamp
D040905E.EPS
: Performed
Blank: Not performed
Lamp Indication Function
Label for OFF, Label for ON, Display Color for OFF, Display Color for ON
The lamp indication function of the the Extended 10-Push-Button Switch Block (PBS10C)
changes the indication color of the push button switch and the indication content of its
switch label when the value of each switch status (PV01 to PV10) is changed.
Action of Lamp Indication Function
When the ON/OFF status of each switch (PV01 to PV10) changes, the values of the corre-
sponding switch indication color (SWCR1 to SWCR10) and switch label (SWLB1 to
SWLB10), which are data items, will change. Accordingly, the indication color and switch
label of the push button switch, which is located on the instrument faceplate of the Ex-
tended 10-Push-Button Switch Block (PBS10C), will change.
The setting of the indication color and switch label of the push button switch can be
changed by using the Function Block Detail Builder.
The following shows the default set values of each switch indication color and label.
Display color at ON: Red
Display color at OFF: White
Label at ON: ON
Label at OFF: OFF
10th Edition : Dec.18,2003-00
D4-54 <D4.9 Extended 10-Push-Button Switch Block (PBS10C)>
IM 33S01B30-01E
Operating Conditions of Lamp Indication Function
Depending upon the connection status of the I/O terminal and the switch type setting,
indication color determination and switch label determination may or may not be per-
formed.
Table Operating Conditions of Lamp Indication Function
I/O connection Switch type
Indication color
determination
Switch label
determination
No connection
Connection
Not used
Lamp
Button
Button with lamp
D040906E.EPS
: Performed
Blank: Not performed
Button Operation Function
The button operation function of the Extended 10-Push-Button Switch Block (PBS10C)
changes manipulated command values (MV01 to MV10) when button operation is per-
formed by the operator.
Action of the Button Operation Function
When button operation is performed by the operator on the instrument faceplate, or when
data is set to manipulated command values (MV01 to MV10) from outside the block, the
manipulated command values (MV01 to MV10) will change. How each value changes
varies depending upon the button operation setting.
When the value of any manipulated command value (MV01 to MV10) is changed, that
manipulate command value (MV01 to MV10) will be set to the connection destination of the
corresponding output connection terminal (B01 to B10). This setting of data to the connec-
tion destination is executed during the first periodic scan following the setting operation to
the data item of the Extended 10-Push-Button Switch Block (PBS10C).
Operating Conditions of the Button Operation Function
Depending upon the connection status of the I/O terminal and the switch type setting,
manipulated command value (MVnn) determination and data output may or may not be
performed.
Table Operating Conditions of the Button Operation Function
I/O connection Switch type
Manipulated
command value
determination
Data output
No connection
Connection
Not used
Lamp
Button
Button with lamp
D040907E.EPS
: Performed
Blank: Not performed
10th Edition : Dec.18,2003-00
<D4.9 Extended 10-Push-Button Switch Block (PBS10C)> D4-55
IM 33S01B30-01E
Button Action
Button Action
The button action references the ways in which the switch status changes when button
operation is performed by the operator.
The button action of the Extended 10-Push-Button Switch Block (PBS10C) is set in the
Function Block Detail Builder. Three types of button action are available for selection;
momentary button, alternate button, and radio button. The default is momentary
button.
When the momentary button is selected, output time span must be set. The output time
span is set in the Function Block Detail Builder.
Switch Flashing Function
The switch flashing function flashes the lamp of each switch on the instrument faceplate.
When the switch flashing status (SWST[n]) is set to 1 through data setting, the lamp
indication on the instrument faceplate starts flashing. When the switch flashing status
(SWST[n]) is set to 0, the lamp indication returns to a normal state.
Switch Operation Disable Function
The switch operation disable function is a function that disables switch operation from the
instrument faceplate. This function can enable or disable operation of the status (PVnn) and
flashing status (SWST[n]) of each switch.
When a numeric value 0 or smaller is set as the switch operation disable status (SWOP[n]),
operation is enabled.
When a numeric value 1 or greater is set as the switch operation disable status (SWOP[n]),
operation is disabled.
Note that this function disables only the operations performed on the instrument faceplate.
Even when switch operation is disabled by this setting, other switch operations, such as the
setting of data between function blocks and data entry operation from the tuning window of
the specified tag and data item names, can be performed freely.
Reconfirmation Operation
A dialog box for reconfirming the switch operation is displayed.
In the dialog, an OFF switch label is displayed when the current switch status (PVnn) is ON
and an ON switch label is displayed when the switch status is OFF.
10th Edition : Dec.18,2003-00
D4-56 <D4.9 Extended 10-Push-Button Switch Block (PBS10C)>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Data Items - PBS10C
Table Data Items of Extended 10-Push-Button Switch Block (PBS10C)
Data Data Name
Entry Permitted
or Not
Range Default
MODE Block mode O/S (MAN)
BSTS Block status 0
ALRM Alarm status NR
AFLS Alarm flashing status 0
AF
Alarm detection
specification
0
AOFS
Alarm masking
specification
0
PV01 to PV10 Switch status 1 to 10 0/1 0
SWCR[10] Switch indication color 0 to 15 7
SWLB[10] Switch label
Equivalent to a string of 8
alphanumeric characters
SWST[10] Switch flashing status 0/1 0
SWOP[10]
Switch operation disable
status
-15 to 15 0
AKLB[10] Reconfirmation label
Equivalent to a string of 8
alphanumeric characters
MV01 to MV10
Manipulated command
1 to 10
0/1 0
OPMK Operation mark 0 to 255 0
UAID User application ID 0
D040908E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
<D4.10 Extended Hybrid Manual Station Block (HAS3C)> D4-57
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
D4.10 Extended Hybrid Manual Station Block
(HAS3C)
The Extended Hybrid Manual Station Block (HAS3C) is a faceplate block that has a
faceplate block for indication operation and status data for five push button
switches.
Extended Hybrid Manual Station Block (HAS3C)
Connection Information
Here is a function block diagram of the Extended Hybrid Manual Station Block (HAS3C).
JMOD
INT
PV01
ALRM
BSTS
MODE
PV02
PV03
JBST
JALM
Q01
Q02
Q03
Q04 PV04
PV05 Q05
PV
SV
MV
JPV
JSV
JMV
J01 SVH
SVL J02
J03 MH
ML J04
B01
B02
B03
MV01
MV02
MV03
MV04 B04
B05 MV05
AKLB[1]
SWOP[1]
MV
SVH
SVL
MH
SWST[1]
MV
SVH
SVL
MH
SWCR[1]
MV
SVH
SVL
MH
SWLB[1]
SWLB[2]
SWLB[3]
SWLB[4]
SWLB[5]
D041001E.EPS
Figure Function Block Diagram of Extended Hybrid Manual Station Block (HAS3C)
HAS3C block process timing is periodic type. The scan period can be set to Basic Scan,
Medium-speed Scan (*1) or High-speed Scan.
*1: Medium-speed scan period is available for KFCS2, KFCS, LFCS2 and LFCS only.
D4-58 <D4.10 Extended Hybrid Manual Station Block (HAS3C)>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
The figure below shows an example of the instrument faceplate of the Extended Hybrid
Manual Station Block (HAS3C) displayed in the operation and monitoring window.
HA100
System 1
AUT
NR
0.0
20.0
40.0
60.0
80.0
100.0
D041002E.EPS
SW1A
OFF
SW1B
OFF
V1A
CLOSE
V1B
CLOSE
P1A
STOP
Figure Display Example of Extended Hybrid Manual Station Block (HAS3C)
<D4.10 Extended Hybrid Manual Station Block (HAS3C)> D4-59
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
The table below shows the connection types and connection destinations of the I/O termi-
nals of Extended Hybrid Manual Station Block (HAS3C).
Table Connection Types and Connection Destinations of I/O Terminals of Extended Hybrid
Manual Station Block (HAS3C)
JMOD
Block mode
connection
JBST
Block status
connection
JALM
Alarm status
connection
Q01
PV01
connection
Q02
PV02
connection
Q03
PV03
connection
Q04
PV04
connection
Q05
PV05
connection
B01
MV01
connection
B02
MV02
connection
B03
MV03
connection
B04
MV04
connection
B05
MV05
connection
JPV
PV
connection
JSV
SV
connection
JMV
MV
connection
J01
SVH
connection
J02
SVL
connection
J03
MH
connection
J04
ML
connection
INT
Interlock
switch input
D041003E.EPS
I/O terminal
Connection type Connection destination
Data
reference
Data
setting
Condition
testing
Status
manipulation
Terminal
connection
Process
I/O
Software
I/O
Function
block
: Connection available
Blank: Connection not available
: Connection is available only when connecting to a selector switch block (SW-33, SW-91).
D4-60 <D4.10 Extended Hybrid Manual Station Block (HAS3C)>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Analog Data Display Function
The Extended Hybrid Manual Station Block (HAS3C) references the analog data at the
connection destination of the I/O terminals shown below during each scan period, and
stores data values and data statuses as data items.
If no I/O connection terminal is connected, the values currently stored in the data items are
held.
Table Target I/O Terminals of Analog Data Display and Corresponding Data Items
I/O terminal Data item
JPV Process variable (PV)
JSV Setpoint value (SV)
JMV Manipulated output value (MV)
J01 Setpoint high limit (SVH)
J02 Setpoint low limit (SVL)
J03 Manipulated variable high-limit setpoint (MH)
J04 Manipulated variable low-limit setpoint (ML)
D041004E.EPS
The display form of the manipulated output value (MV) is set in the Function Block Detail
Builder.
MV Display Style: Select from Automatic determination or User Define.
The default setting is Automatic determination.
When User Define is selected, set the engineering unit and scale range of the manipu-
lated output value (MV). The engineering unit and scale range of the manipulated output
value (MV) are set in the Function Block Detail Builder.
MV Engineering Unit Symbol: MV engineering unit.
The default setting is %.
MV Range:
The high limit and low limit values of the maximum range of the manipulated output
value.
The default setting is 100.0 for the high limit value and 0.0 for the low limit value.
<D4.10 Extended Hybrid Manual Station Block (HAS3C)> D4-61
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Analog Data Operation Function
When setting operation is performed to any data items of the Extended Hybrid Manual
Station Block (HAS3C), the set data item values will be set to the connection destination of
the corresponding I/O terminals shown below:
Table Target I/O Terminals of Analog Data Operation and Corresponding Data Items
I/O terminal Data item
JSV Setpoint value (SV)
JMV Manipulated output value (MV)
J01 Setpoint high limit (SVH)
J02 Setpoint low limit (SVL)
J03 Manipulated variable high-limit setpoint (ML)
J04 Manipulated variable low-limit setpoint (ML)
D041005E.EPS
The setting of analog data to the connection destination is performed during the periodic
scan that immediately follows the setting operation to the data item of the Extended Hybrid
Manual Station Block (HAS3C).
D4-62 <D4.10 Extended Hybrid Manual Station Block (HAS3C)>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Switch Status Input Function
The switch status input function of the Extended Hybrid Manual Station Block (HAS3C)
determines whether the switch statuses (PV01 to PV05) are ON or OFF in accordance with
the status data value of the connection destination.
Action of Switch Status Input
The HAS3C Block references status of terminals connected to input terminals Q01 to Q05
at established scan periods. When the referenced status is 0, a switch turns OFF and the
values of PV01 and PV05 are 0. When it is other than 0, a switch turns ON and the values
are 1.
Operating Conditions of Switch Status Input
Depending upon the connection status of the I/O terminal and the switch type setting, data
reference and the switch status (PVnn) determination may or may not be performed.
Table Operating Conditions of the Switch Status Input
I/O connection Switch type Data reference Switch status determination
No connection ------
Connection
Not used
Lamp
Button
Button with lamp
D041006E.EPS
: Performed
Blank: Not performed
<D4.10 Extended Hybrid Manual Station Block (HAS3C)> D4-63
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Lamp Indication Function
Label for OFF, Label for ON, Display Color for OFF, Display Color for ON
The lamp indication function of the Extended Hybrid Manual Station Block (HAS3C)
changes the indication color of the push button switch and the indication content of its
switch label when the value of each switch status (PV01 to PV05) is changed.
Action of Lamp Indication
When the ON/OFF status of each switch (PV01 to PV05) changes, the values of the corre-
sponding switch indication color (SWCR1 to SWCR5) and switch label (SWLB1 to
SWLB5), which are data items, will change. Accordingly, the indication color and switch
label of the push button switch, which is located on the instrument faceplate of the Ex-
tended Hybrid Manual Station Block (HAS3C), will change.
The setting of the indication color and switch label of the push button switch can be
changed by using the Function Block Detail Builder.
The default set values of each switch indication color and label are shown as follows.
Display color at ON: Red
Display color at OFF: White
Label at ON: ON
Label at OFF: OFF
Operating Conditions of Lamp Indication
Depending upon the connection status of the I/O terminal and the switch type setting,
indication color determination and switch label determination may or may not be per-
formed.
Table Operating Conditions of Switch Indication
I/O connection Switch type
Indication color
determination
Switch label determination
No connection ------
Connection
Not used
Lamp
Button
Button with lamp
D041007E.EPS
: Performed
Blank: Not performed
D4-64 <D4.10 Extended Hybrid Manual Station Block (HAS3C)>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Button Operation Function
The button operation function of the Extended Hybrid Manual Station Block (HAS3C)
changes manipulated command values (MV01 to MV05) when button operation is per-
formed by the operator.
Action of Button Operation
When button operation is performed by the operator on the instrument faceplate, or when
data is set to manipulated command values (MV01 to MV05) from outside the block, the
manipulated command values (MV01 to MV05) will change. The value to be set varies
depending upon the button operation setting.
When a value is set to any manipulated command value (MV01 to MV05), the manipulated
command value (MV01 to MV05) is set to the connection destination of the output terminal
(B01 to B05). This setting is executed during the first periodic scan after the switch status
setting.
Operating Conditions of Button Operation
Depending upon the connection status of the I/O terminal and the switch type setting,
manipulated command value (MVnn) determination and data output may or may not be
performed.
Table Operating Conditions of Button Operation
I/O connection Switch type
Manipulated command
value determination
Data output
No connection ------
Connection
Not used
Lamp
Button
Button with lamp
D041008E.EPS
: Performed
Blank: Not performed
Button Action
Button Action
The button action references the ways in which the switch status changes when button
operation is performed by the operator.
The button action of the Extended Hybrid Manual Station Block (HAS3C) is set in the
Function Block Detail Builder. Three types of button action are available for selection;
momentary button, alternate button, and radio button. The default is momentary
button.
When the momentary button is selected, output time span must be set. The output time
span is set in the Function Block Detail Builder.
<D4.10 Extended Hybrid Manual Station Block (HAS3C)> D4-65
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Switch Flashing Function
The switch flashing function flashes each switch on the instrument faceplate.
When 1 is set to the switch flashing state (SWST[n]), the lamp of the faceplate flashes;
When 0 is set, the lamp turns to the normal state.
Switch Operation Disable Function
The switch operation disable function is a function that disables switch operation from the
instrument faceplate. This function can enable or disable operation of the status (PVnn) and
flashing status (SWST[n]) of each switch.
When a numeric value of 0 or less is set as the switch operation disable status (SWOP[n]),
operation is enabled.
When a numeric value of 1 or more is set as the switch operation disable status
(SWOP[n]), operation is disabled.
Note that this function disables only the operations performed on the instrument faceplate.
Even when switch operation is disabled by this setting, other switch operations, such as the
setting of data between function blocks and data entry operation from the tuning window of
the specified tag and data item names, can be performed freely.
Reconfirmation Operation
A dialog box for reconfirming the switch is displayed.
In the dialog, an OFF switch label is displayed when the current switch status (PVnn) is ON
and an ON switch label is displayed when the switch status is OFF.
D4-66 <D4.10 Extended Hybrid Manual Station Block (HAS3C)>
IM 33S01B30-01E
Data Items - HAS3C
Table Data Items of Extended Hybrid Manual Station Block (HAS3C)
Data Item Data Name
Entry Permitted
or Not
Range Default
MODE Block mode ----- O/S (MAN)
BSTS Block status ----- 0
ALRM Alarm status ----- NR
AFLS Alarm flashing status ----- 0
AF Alarm detection specification ----- 0
AOFS Alarm masking specification ----- 0
PV01 to PV05 Switch status 1 to 5 0/1 0
PV Process variable PV engineering unit value SL
SV Setpoint value Value in the same engineering unit as PV SL
MV Manipulated output value MV engineering unit value MSL
MH
Manipulated variable high-limit
setpoint
MSL to MSH MSH
ML
Manipulated variable low-limit
setpoint
MSL to MSH MSL
SVH Setpoint high limit SL to SH SH
SVL Setpoint low limit SL to SH SL
SWCR[1] to [5] Switch indication color 0 to 15 7
SWLB[1] to [5] Switch label
Equivalent to a string of 8 alphanumeric
characters
-----
SWST[1] to [5] Switch flashing status 0/1 0
SWOP[1] to [5] Switch operation disable status -15 to 15 0
AKLB[1] to [5] Reconfirmation label
Equivalent to a string of 8 alphanumeric
characters
-----
MV01 to MV05 Manipulated command 1 to 5 0/1 0
OPMK Operation mark 0 to 255 0
UAID User application ID ----- 0
SH Scale high limit Value in the same engineering unit as PV -----
SL Scale low limit Value in the same engineering unit as PV -----
MSH MV scale high limit Value in the same engineering unit as MV -----
MSL MV scale low limit Value in the same engineering unit as MV -----
D041009E.EPS
: Entry is permitted unconditionally
Blank: Entry is not permitted
: Entry is permitted conditionally
10th Edition : Dec.18,2003-00
<D5. Sequential Function Chart> D5-1
IM 33S01B30-01E
D5. Sequential Function Chart
The sequential function chart (SFC) is a graphical programming language used to
define control sequences.
SFC can be written using the SFC block, which is a function block included in the
sequence control function.
SFC
SFC Block
The SFC language describes a program defining sequential control steps for every group
of processes.
An example of SFC involving three steps, which are initialization, water feed, and heating,
is shown below:
D050001E.EPS
Initialization
Water feed
Heating
01
02
03
Transition
Link
Step
Figure Example of SFC
TIP
SFC is also used in functions other than the SFC block as indicated below, but the SFC specifications for
each of these will vary somewhat.
Unit instrument
Operation
SEE ALSO
For more information about unit instruments and operations, see the following:
D6, Unit Supervision
10th Edition : Dec.18,2003-00
D5-2 <D5. Sequential Function Chart>
IM 33S01B30-01E
Elements
SFC uses the following three elements to define a sequence:
Step: Defines the action of a step.
Transition: Defines the condition of transition to next step.
Link: Defines connections from step to transition and transition to step.
The flow of SFC processing is in accordance with a step sequence in which the action
defined for each step is sequentially executed from the top. Upon completion of one step,
further processing is determined by the defined transition condition.
SFC can define a selective sequence as well, in which steps are defined in parallel to have
them branched for execution. Interrupt steps, which interrupt a normal process for their
execution, can also be described.
Architecture of SFC Block
SFC block may be applied to execute the program written in SFC which is one of the FCS
functions.
SFC blocks are usually applied for the comparatively large scale sequence control or
device control system. With the application of SFC, the process management (status
display) becomes convenient.
The following figure gives a draft image of the SFC architecture.
D050002E.EPS
Mode
Status
Function block data
System fixed data item
User defined data item
SFC
SEBOL or
Sequence table
Figure Image of SFC Block Architecture
10th Edition : Dec.18,2003-00
<D5. Sequential Function Chart> D5-3
IM 33S01B30-01E
Describing Step Actions
SEBOL, a sequence table or a logic chart can be used to describe step actions.
An example of SEBOL-written step actions is shown below:
global integer i1, i2, i3
......
V001.MV = CLOSE
......
......
V001.MV = OPEN
wait until (L001.PV >= 10)
V001.MV = CLOSE
......
......
H001.MV = ON
wait until (T001.PV >= 20)
H001.MV = OFF
......
Initialization
Water feed
Heating
01
02
03
D050003E.EPS
Figure SFC Block Control Algorithm
Although all step actions are written in SEBOL in the above example, a different manner of
description can be used for each step action according to the disposition of the involved
process.
SEE ALSO
For the details of SEBOL, see the following:
H1, SEBOL Details
For the details of the sequence table and the logic chart, see the following:
D3, Sequence Control
10th Edition : Dec.18,2003-00
D5-4 <D5. Sequential Function Chart>
IM 33S01B30-01E
SFC Block
SFC-written programs are classified according to their processing types as follows:
Queue-signal processing:
Processing executed according to the contents of a queue signal in an SFC main
program designed for normal processing.
Status-change processing:
Interrupt processing executed due to a status change of the SFC block. Different
processing may be executed before and after the status change.
Interrupt-signal processing:
Interrupt processing executed according the contents of an interrupt signal in an SFC
main program designed for normal processing.
Error processing:
Interrupt processing executed when error is caused during the execution of the SFC
block.
With the SFC block, a process step which is being executed can be stopped temporarily,
referenced for its step number, or changed.
Data Items
The SFC block has data items to identify SFC status.
These items are either system-specific predetermined data or user-defined data.
Block Modes and Status
The SFC block uses the block mode to identify its control status and the block status to
identify the state of operation as follows:
Block modes: AUT (automatic), SEMI (semi-automatic), O/S (out-of-service).
Block status: STOP (stopped), RUN (running), PAUS (paused), ABRT (aborted).
10th Edition : Dec.18,2003-00
<D5.1 SFC Elements> D5-5
IM 33S01B30-01E
D5.1 SFC Elements
SFC uses step, transition, and link elements in combinations to define a
sequence.
Description of SFC Elements
The step and link elements use varied symbols according to their actions. Their details are
shown below:
Table SFC Block Elements
Element Name Symbol
Step
Initial step
Step
Double-Width Step
Initial Double-Width
Step
Interrupt step
Transition Transition
Link
Selective Sequence
Split
Selective Sequence
Join
Loop-Branch
Loop-Join
Jump Down
Jump Up
Jump To
Link
D050101E.EPS
Jnn
Jnn
Jnn
SFC defines processes to be executed using these three basic elements in combinations.
Both step and selective sequences can be defined according to the flow of SFC process-
ing. Interrupt steps can also be described to interrupt the normal flow of process.
10th Edition : Dec.18,2003-00
D5-6 <D5.1 SFC Elements>
IM 33S01B30-01E
D5.1.1 Step
There are five elements as step elements. Each step needs to be defined with at-
tributes and action.
Step
Step is the most basic element for defining SFC processings.
The following five step elements are used:
Step
Initial step
Step with expanded comment
Initial step with expanded comment
Interrupt step
Up to 99 steps can be described in one SFC, with attributes and action defined for each
step.
Step
This is an ordinary step. In an example shown below, the step number is indicated in the
square on the left and a comment identifying the action defined for the step is shown in the
rectangle on the right:
D050102E.EPS
02 Water feed
Figure Example of Step
Initial Step
This is the step to be executed first. The step number is indicated in the square on the left
and a comment identifying the action defined for the step is shown in the rectangle on the
right. The use of the square and rectangle is the same as the ordinary step described
above except that a double square is used instead:
D050103E.EPS
Initialization 01
Figure Example of Initial Step
10th Edition : Dec.18,2003-00
<D5.1 SFC Elements> D5-7
IM 33S01B30-01E
Double-Height Step
This element is also for an ordinary step except that a larger rectangle permits to enter
three-times the normal volume of action comment:
D050104E.EPS
02
Figure Example of Double-Height Step
Initial Double-Height Step
This element is also for an initial step except that a larger rectangle permits to enter three-
times the normal volume of action comment:
D050105E.EPS
01
Figure Example of Initial Double-Height Step
Interrupt Step
An interrupt step is used to interrupt the execution of the main program and execute an
interrupt program. The interrupt step in the main program specified the destination for the
expansion to an interrupt program.
An example of interrupt steps is shown below:
01
02
03
04 PAUS
Interrupt step
RUN
STOP
D050106E.EPS
Figure Example of Interrupt Step
10th Edition : Dec.18,2003-00
D5-8 <D5.1 SFC Elements>
IM 33S01B30-01E
Step Attributes
Attributes such as step type and step number need to be defined for each step.
Each step needs to be defined with attributes such as step type and step number.
The table below lists the step attributes.
Table Step Attributes
Attribute Description
Action-describing
methods
Select one of the following:
SEBOL step
SEBOL one-shot execution step (SEBOL one-shot)
Sequence table step (sequence table step)
Sequence table one-shot execution step
(sequence table one-shot)
Logic chart step (logic chart)
Logic chart one-shot execution step (logic chart one-shot)
Step number Integer 1 through 99 (*1)
Step comment Character string of up to 16 bytes.
Phase name Character string of up to 16 bytes.
D050107E.EPS
*1: Duplicate numbers must not be assigned.
Step Action
Each step is described as an action to execute a processing.
The types of action and the description of each step are shown below:
Initial step
in SEBOL
SEBOL step
in SEBOL
SEBOL one-shot
in SEBOL
Sequence table one-shot execution step (sequence table step)
in Sequence table
Sequence table one-shot execution step (sequence table one-shot step)
in Sequence table
Logic chart step (logic chart) in Logic chart
Logic chart one-shot execution step (logic chart one-shot) in Logic chart
SEE ALSO
For the details of action description, see the followings:
D5.2, Action Description Using SEBOL
D5.3, Action Description Using Sequence Table
D5.4, Action Description Using Logic Chart
10th Edition : Dec.18,2003-00
<D5.1 SFC Elements> D5-9
IM 33S01B30-01E
Some steps require the use of parameters to define action as described below:
Table Action Parameters
Step Parameter Action when unspecified
Initial step None -
SEBOL step &
SEBOL oneshot
None -
Sequence table
one-shot
execution step
Parameter-storing variable in action column. Ignored (*1)
Name of step executed. -
Sequence table
one-shot
execution
Condition testing result-storing variable. Ignored (*2)
Name of step executed. -
D050108E.EPS
Logic chart step Parameter-storing variable in action column Ignored (*1)
Logic chart
one-shot
None -
*1: The operation & monitoring parameter is ignored.
*2: The condition testing result is ignored.
SEE ALSO
For the details of the action signal parameter and condition testing result for sequence table and sequence
table one-shot steps, see the following:
D5.3.1, Step Common Item Description Using the Sequence Table
For the details of the action signal parameter for logic chart steps, see the following:
D5.4.1, Step Common Item Description Using Logic Chart
Step Status
A step is active when it is being executed or inactive when it is not yet executed or its
execution is completed.
When step status changes to active, the step action is executed.
Ending of the step action, step status changes to inactive and the step advances to the
next precessing.
10th Edition : Dec.18,2003-00
D5-10 <D5.1 SFC Elements>
IM 33S01B30-01E
D5.1.2 Transition
The transition is an element to evaluate the transition condition to the next step.
Transition
The transition is an element used for evaluating the transition condition between steps. The
transition condition must defined with a single logical expression.
The condition is evaluated when the current step is completed and the next step is acti-
vated if the condition is determined to be true.
The transition is denoted by a short horizontal line crossing the vertical link line between
steps.
SFC can describe step sequence transition and selective sequence transition.
Step Sequence Transition
In step sequence, steps are executed in the programmed order from top to bottom.
When the transition condition of the current step is satisfied, the next step is activated and
the action is executed. If no condition is defined for the transition, the next step is activated
and the step action is executed.
Step sequence is SFC basic action.
06
07
D050109E.EPS
Transition
Figure Example of Step Sequence Transition
SEE ALSO
For details on transition conditions, see the following:
D5.5, Transition Conditions
10th Edition : Dec.18,2003-00
<D5.1 SFC Elements> D5-11
IM 33S01B30-01E
Selective Sequence Transition
In case of a selective sequence with a number of steps defined in parallel, the transition
condition is evaluated for every step from left to right. When the transition condition of the
current step is satisfied, the next step is activated. If no transition condition is defined for
the transition, the next step is activated and the action is executed.
At the moment the action is executed, the selective sequence transition is already com-
pleted.
No other transition conditions are evaluated within the selective sequence during execution
of one step.
06 07
Transition
05
08
D050110E.EPS
Figure Example of Selective Sequence Transition
The transition condition is evaluated once every basic cycle, or once in a few cycles unless
time is allocated to the SFC block specifically for once-per-cycle evaluation.
SEE ALSO
For more information, see the following:
D5.1.4, Step & Selective Sequences
10th Edition : Dec.18,2003-00
D5-12 <D5.1 SFC Elements>
IM 33S01B30-01E
D5.1.3 Links
The Links define the order of step execution. The following eight links are available:
Selective Sequence Split
Selective Sequence Join
Loop-Branch
Loop-Join
Jump Down
Jump Up
Jump To
Link
These links, except for ordinary Link, must be used in the following combinations:
Selective Sequence Split and Selective Sequence Join
Loop-Branch and Loop-Join
Jump Down and Jump To
Jump Up and Jump To
Selective Sequence Split and Selective Sequence Join
These links are used in a selective sequence as shown below:
D050111E.EPS
Selective Sequence Split
Selective Sequence Join
Figure Selective Sequence Split and Selective Sequence Join
Up to a maximum of eight horizontal rows of steps can be defined within a selective se-
quence. The transition of steps in a selective sequence is determined as the steps are
evaluated from left to right. The step located under the transition element is activated if the
transition condition is true.
SEE ALSO
For more information, see the following:
Selective Sequence in D5.1.4, Step & Selective Sequences
10th Edition : Dec.18,2003-00
<D5.1 SFC Elements> D5-13
IM 33S01B30-01E
Loop-Branch and Loop-Join
These links are used to define a loop as shown below.
The step or steps located between Loop-Branch and Loop-Join are repeatedly executed as
long as the transition condition for the loop is true.
D050112E.EPS
Loop-Join
Loop-Branch
Figure Example of Loop-Branch and Loop-Join
Jump Down, Jump Up and Jump To
These links are used when the process sequence must forcibly be skipped.
The Jump Down element defines downward skipping and the Jump Up element defines
upward skipping. The Jump To element, which must be used in combination with either one
of the skipping elements, defines the destination of skipping.
The Jump To is executed when the transition condition defined proceeding the Jump Down
or succeeding the Jump Up is true.
Examples of skipping are shown below:
J1
J1
Example of Jump Down
D050113E.EPS
J2
J2
Example of Jump Up
Jump To
Jump Down
Jump To
Jump Up
Figure Examples of Jumping
When a new skip label is created, it is automatically numbered adding 1 to the number of
the most recent skip label.
10th Edition : Dec.18,2003-00
D5-14 <D5.1 SFC Elements>
IM 33S01B30-01E
Link
The link used to connect steps as shown below.
The vertical links for a step with a step, a transition with a step are shown in the following
example.
Links
D050114E.EPS
02
03
Figure Example of Link
10th Edition : Dec.18,2003-00
<D5.1 SFC Elements> D5-15
IM 33S01B30-01E
D5.1.4 Step & Selective Sequences
SFC can describe step-sequence and selective-sequence as well as interrupt pro-
grams which thrust into those processing steps.
Step Sequence
In a step sequence, steps are executed in the programmed order from the top and only one
transition is defined between steps.
An example is shown below:
06
07
Transition
Step
Step
D050115E.EPS
Figure Example of Step Sequence
The defined action is executed when the step is activated. As soon as the action is com-
pleted, the transition condition is evaluated and the successive step is activated when the
condition is true. The successive step will be activated immediately upon completion of the
current step if no transition condition is defined.
10th Edition : Dec.18,2003-00
D5-16 <D5.1 SFC Elements>
IM 33S01B30-01E
Selective Sequence
In a selective sequence, one of two to eight steps defined in parallel is executed selectively.
An example is shown below:
06 07
Transition
05
08
D050116E.EPS
Figure Example of Selective Sequence
The transition condition is evaluated from left to right for every step; and the step for which
the condition is true will be activated, which is defined preceding the step. If no transition
condition is defined, the step will be activated unconditionally.
No other transition conditions are evaluated within the selective sequence during execution
of one step.
10th Edition : Dec.18,2003-00
<D5.1 SFC Elements> D5-17
IM 33S01B30-01E
Interrupt Program
The interrupt program is an SFC program designed to interrupt the main SFC program for
the execution of a non-sequential event. The interrupt program needs to be written for each
non-sequential event and is developed from an interrupt step defined for the event in the
main program.
An example of the interrupt program for pausing (PAUS) developed from an SFC block
containing three interrupt steps is shown below:
01
01
02
03
04 PAUS
Interrupt steps
Main program
02
PAUS interrupt program
RUN
STOP
Developed
D050117E.EPS
Figure Example of Interrupt Program Developed from Interrupt Step
10th Edition : Dec.18,2003-00
D5-18 <D5.2 Action Description Using SEBOL>
IM 33S01B30-01E
D5.2 Action Description Using SEBOL
The following methods of describing step actions using SEBOL are explained in this
section:
Step common items
Initial steps
SEBOL steps
SEBOL one-shot steps
Using SEBOL
Global and local variables can be used to define steps in the SFC block using SEBOL.
Enabling access to a function block from a SEBOL-written step requires global or local
function-block declaration.
TIP
Parameters cannot be specified when describing action using SEBOL. They can be specified when
describing action using a sequence table, however.
10th Edition : Dec.18,2003-00
<D5.2 Action Description Using SEBOL> D5-19
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
D5.2.1 Step Common Items
Items common to all steps for which SEBOL is used to write actions are as follows:
SEBOL variables
Function-block declaration
Branching range
quit statement
#define
SEBOL Variables
Global and local SEBOL variables can be used in the SFC block when a step is described
using SEBOL. The global variable can be accessed from all the SEBOL-written steps in the
SFC block, while the local variable can be accessed from only one step.
Areas are allocated to both variables and they are initialized to zero when the SFC block is
started.
The areas are released when the SFC block has been executed.
TIP
In the case of a character-string variable, the global or local variable is initialized to a null-length character
string when the SFC block is started.
Global Variables
Global variables can be accessed from any SEBOL-written step in the SFC block. To use
global variables, they should be specified in the initial step as shown below:
global integer <variable name>[, <variable name>
...
]
global long <variable name>[, <variable name>
...
]
global float <variable name>[, <variable name>
...
]
global double <variable name>[, <variable name>
...
]
global char*n <variable name>[, <variable name>
...
]
n in char*n: 1 through 255.
D050201E.EPS
TIP
Global variables cannot be accessed from any sequence table or logic chart described step.
D5-20 <D5.2 Action Description Using SEBOL>
IM 33S01B30-01E
Local Variables
Local variables can be accessed only from the steps for which the use of local variables is
declared. To use local variables, they should be specified in the initial step as shown below:
integer <variable name> [, <variable name>
...
]
long <variable name> [, <variable name>
...
]
float <variable name> [, <variable name>
...
]
double <variable name> [, <variable name>
...
]
char*n <variable name> [, <variable name>
...
]
n in char*n: 1 through 255.
D050202E.EPS
The same local variable can be used in different steps under the same variable name, in
which case area is allocated independently for each variable.
If a step is repeatedly executed in a loop, the local variable remains unchanged throughout
the repeated execution.
Note Points
The same name cannot be assigned to global and local variables. An error is caused if the
two has the same name.
Function Block Declaration
The use of a function block can be declared globally or locally. The global declaration
permits access from all SEBOL-written steps, while the local declaration permits access
only from the declared step.
Global Declaration
A function block can be accessed from any SEBOL-written step when the use of that
function block is globally declared in the initial step as shown below:
Tag name declaration
global block <block code> <tag name>[, <tag name>
...
]
Global generic name
global genname <block code> <global generic name>[, <global generic name>
...
]
D050203E.EPS
10th Edition : Dec.18,2003-00
<D5.2 Action Description Using SEBOL> D5-21
IM 33S01B30-01E
Local Declaration
A function block can be accessed from just one step when the use of the function block is
locally declared in that step as shown below:
Tag name declaration
block <block code> <tag name>[, <tag name>
...
]
Local generic name
genname <block code> <local generic name>[, <local generic name>
...
]
D050204E.EPS
Note Points
No error occurs when the tag name specified in global declaration is used also in local
declaration; however, an error will occur if different block codes are specified. An error
also occurs if specified global and local generic names are identical.
Using multiple-project-tag name, the function block data of other projects can be
accessed. Since a multiple-project-tag has an @ mark in its name, it is necessary to
declare an alias for the multiple-project-tag.
Multiple-project-tag is named in the following format
TagName@ProjectID
Up to 16 alphanumeric characters can be used for naming a Multiple-project-tag
including @ mark.
An example of declaring an alias for function block with a multiple-project-tag.
block PID FIC100
block PID TAG001 alias TIC100@P1
FIC100.CSV = TAG001.MV
SEE ALSO
For the details about calling up multiple-project tag name, see the following:
Ideatical Tag Names in M9.2.1, Operation and Motoring Multiple Projects
10th Edition : Dec.18,2003-00
D5-22 <D5.2 Action Description Using SEBOL>
IM 33S01B30-01E
Branching Range
The destination for branching is restricted to be within the step in which branching is speci-
fied using a goto statement, for example. Processing cannot be branched to other steps
using error and errorsub specifications, goto statements, etc.
SEE ALSO
For the details about error and errorsub specifications, see the following:
H1.13, Error Handling
For the details about goto statement, see the following:
H1.8.7, goto
quit Statement
The quit statement terminates the action being executed.
When this statement is executed as a step action, the transition condition defined succeed-
ing the step will then be evaluated.
#define
A name can be defined using #define only in the initial step. The defined name can then
be used in all SEBOL-written steps.
SEE ALSO
For the details about #define, see the following:
#define statement in H1.1.8,Substifution of Character String
10th Edition : Dec.18,2003-00
<D5.2 Action Description Using SEBOL> D5-23
IM 33S01B30-01E
D5.2.2 Initial Step
The following methods of describing the initial step are described in this section:
Order of description
Example of description
Use of #define
Use of #include
Use of #IMPLICIT
Order of Description
The initial step action should be described in order of global variables, local variables, and
execution statements as shown below; an error will be caused otherwise.
The initial step action can be described using up to 2000 lines. No parameters are used in
describing the action.
The initial step is completed when the last described execution statement or a quit state-
ment has been executed.
Example of Description
The following is an example of initial-step description:
!global variable declaration
global block TM TM301, TM302
global block SIO-11 VL301, VL302
global integer loop
global char*16 name
!local variable declaration
integer i, j, k
!action execution statement
[ VL301.MODE.MV = "MAN", 0]
[ VL302.MODE.MV = "MAN", 0]
.......
quit
10th Edition : Dec.18,2003-00
D5-24 <D5.2 Action Description Using SEBOL>
IM 33S01B30-01E
Use of #define
Names can be defined using #define anywhere within the initial step.
The defined names can then be used in any SEBOL-written step and transition condition.
SEE ALSO
For the details of #define, see the following:
#define statement in H1.1.8, Substitution of Character String
Use of #include
#include can be specified for file-inclusion anywhere within the initial step.
The order of all statements in the included file, however, must be in conformity with that of
the initial step. Otherwise, an error is caused for the statements in the included file.
SEE ALSO
For the details of #include, see the following:
#include in H1.1.9, Include File
Use of #IMPLICIT
A #IMPLICIT command can be used in the initial step. The command is then valid within
the entire SFC block.
(This command cannot be entered in any other steps.)
SEE ALSO
For the details of #IMPLICIT, see the following:
#IMPLICIT Instruction in H1.1.7, Implicit Declarations of Variables
10th Edition : Dec.18,2003-00
<D5.2 Action Description Using SEBOL> D5-25
IM 33S01B30-01E
D5.2.3 SEBOL Steps
The following items as to describing SEBOL steps are explained in this section:
Order of description
Example of description
Restrictions
Order of Description
The SEBOL step action should be described in order of variables and execution state-
ments as shown below; an error will be caused otherwise.
The SEBOL step action can be described using up to 2000 lines. No parameters are used
in describing the action.
The step is completed when the last described execution statement or a quit statement
has been executed.
Example of Description
The following is an example of SEBOL-step description:
!local variable declaration
block PVI LI303
integer ierr
!action execution statement
wait until (LI303.PV >= 10.0) ; ierr
.......
Note Points
#define, #include, and #IMPLICIT command cannot be used with SEBOL steps. These
commands can be used only by the initial step. However, the name defined by means of
#define in the initial step can be used.
10th Edition : Dec.18,2003-00
D5-26 <D5.2 Action Description Using SEBOL>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
D5.2.4 SEBOL One-Shot Steps
The following items as to describing SEBOL oneshot steps are explained in this
section:
Order of description
Example of description
Execution
Restrictions
Order of Description
The SEBOL oneshot-step action should be described in order of variables and execution
statements as shown below; an error will be caused otherwise.
No parameters are used in describing the action. The step is completed when the last
described execution statement or a quit statement has been executed.
Example of Description
The following is an example of SEBOL oneshot-step description:
!local variable declaration
block %SW SW301, SW302
!action execution statement
SW301.PV = 1
SW302.PV = 1
quit
Execution
The SEBOL oneshot-step action will be executed without any break once it is activated. Its
processing time will not be shared by any other SFC program. No interrupt signals nor
status change instructions are allowed to interrupt the execution until it is completed.
<D5.2 Action Description Using SEBOL> D5-27
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Note Points
The SEBOL oneshot-step action can be continuously executed up to 20 lines. If a for
statement is used, for example, and one line is repeatedly executed, each repetition is
counted as one line. If execution is attempted exceeding 20 lines, an execution error is
caused and the successive action will be executed not as oneshot but normal step action.
The following statements should not be used in order to avoid any execution error:
Statement for accessing function-block data at another control station.
signal statement for sending signals to another control station.
qsigcancel and qsigmove statements for manipulating an SFC block at another
control station.
Also the following statements should not be used in order to avoid any error:
drive statement, seqstable and logicchart statements with drivewait specifica-
tion.
wend, until, and next statements without @.
wait until, delay, and delaycycle statements.
dialogue statement.
nopreempt begin and nopreempt end statements.
semlock wait statement.
wait for qsignal statement.
ssdtwrite and ssdtwritebit statements.
#define, #include, and #IMPLICIT command cannot be used with SEBOL oneshot steps.
These commands can be used only by the initial step. However, the name defined by
means of #define in the initial step can be used.
D5-28 <D5.3 Action Description Using Sequence Table>
IM 33S01B30-01E
D5.3 Action Description Using Sequence Table
The following items as to describing step actions using a sequence table are ex-
plained in this section.
Step common items using the sequence table
Sequence table (ST) steps
Sequence table (ST) one-shot steps
Using the Sequence Table
When using a sequence table to describe a step, the sequence table block needs to be
assigned with a tag name.
The sequence table needs a step name as the action parameter and the name of a vari-
able to store the action-signal column parameter.
The sequence table one-shot step needs a step name as the action parameter and the
name of a variable to store condition testing result.
10th Edition : Dec.18,2003-00
<D5.3 Action Description Using Sequence Table> D5-29
IM 33S01B30-01E
D5.3.1 Step Common Item Description Using the Sequence Table
Items common to all sequence table steps are as follows:
Tag name
Step name
Variable to store action-signal column parameter or sequence table-condition
testing result
Tag Name
The sequence table needs to be tagged so that its tangle can be used as the step name.
The specified sequence table can be shared by different steps.
The tag names that can be specified for the step execution name are only the sequence
tables in the same control station.
Step Name
The step name can be specified for the sequence table step as described below:
Table Step Name Specification
Specification Action
No specification (default) The first step is executed.
An execution step name
specified using up to 2 characters.
The specified step is executed.
Continuation is specified. The current step is executed (*1)
D050301E.EPS
*1: The current step is retained in sequence table data item PV.
In the case of sequence table one-shot steps, the specified step and step 00 are oneshot-
executed.
In the case of sequence table steps, the sequence table is periodically executed at its own
timing after the specified step and step 00 have been oneshot-executed. Step 00 is ex-
ecuted in every scan period. Specifying a step name for a non-step sequence table is
ignored.
SEE ALSO
For the details of sequence tables, see the following:
D3.2, Sequence Table Block (ST16, ST16E)
10th Edition : Dec.18,2003-00
D5-30 <D5.3 Action Description Using Sequence Table>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Specified Variable to Store Action-signal Column Parameter or
Condition Testing Result
In the case of sequence table step or sequence table one-shot step, a variable to store the
parameter for the action signal of SFC/SEBOL return event message (%RE) or condition
testing result may be specified in the action signal column. When sequence table step or
sequence table one-shot step is executed, the parameter in action signal column and the
condition testing result will be stored in the specified variable. Both parameter in action
signal column and the condition testing result are Long type data.
Which one will be stored in the variable depends on the step types, shown as below.
Table Representation of the Variable
Step Parameter in Action-signal column Condition testing result
Sequence table step
Sequence table
one-shot step
D050302E.EPS
: Stored.
Blank: Not stored.
These variables will be ignored if their names are not specified in step action.
Action-Signal Column Parameter
This parameter for the SFC/SEBOL return even message (%RE), which is an output of
software I/O messages, is stored in the specified variable using 0 through 65535 defined in
the action-signal column of the sequence table.
Sequence Table Condition Testing Result
This is a result of condition testing the sequence table, which is either true (1) or false (0).
In the case of a non-step sequence table, the result is true if at least one of 32 rules is
satisfied and false if none is satisfied.
In the case of a step sequence table, all the rules for the specified step and step 00
are evaluated. Then the result is true if at least one rule is satisfied and false if none is
satisfied.
<D5.3 Action Description Using Sequence Table> D5-31
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Variable Name
The names of both variables can be specified in one of the following four different manners:
Present SFC-block data item
When storing data as a data item in the present SFC block, specify the variable name
as follows:
%.<data item>
Global variable
When storing data in a global variable, specify the name of the simple variable de-
clared using global long in the initial step.
Tag name-specified function-block data item
When storing data as a data item in the tag name-specified function block, specify the
variable name as follows:
<tag name>.<data item>
In this case, the tag name should have been declared using global long in the initial
step. When storing the condition testing result for an ST oneshot step, the tag name
must be present within the same control station as the SFC block; specifying a tag
name from another control station causes error when the SFC block is executed.
Global generic name-specified function-block data item
When storing data as a data item in the global generic name-specified function block,
specify the variable name as follows:
<global variable>.<data item>
The global generic name, which must be a simple variable, should be declared using
global block in the initial step. When storing the condition testing result for an se-
quence table oneshot step, the tag name present within the same control station as
the SFC block must be assigned to the global generic name using the assign state-
ment.
SEE ALSO
For the details of sequence tables, see the following:
D3.2, Sequence Table Block (ST16, ST16E)
D5-32 <D5.3 Action Description Using Sequence Table>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
D5.3.2 Sequence Table Steps
The following items as to describing sequence table steps are explained in this
section.
Step action description
Step execution
Step Action Description
The sequence table step action is described using a periodic start sequence table (TE or
TC).
Step Execution
The sequence table step is oneshot-executed when its action is activated, and the se-
quence table block mode changes to AUT at the same time. The sequence table will then
be periodically executed according to its own action timing.
The sequence table step action is terminated when an SFC/SEBOL return event message
(%RE) is received from the sequence table. The sequence table block mode then changes
from AUT to MAN.
<D5.3 Action Description Using Sequence Table> D5-33
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
D5.3.3 Sequence Table One-Shot Steps
The following methods of describing sequence table one-shot steps is explained in
this section.
Step action description
Step execution
Step Action Description
The sequence table one-shot step is described using a non-step sequence table (OE or
OC).
Step Execution
The sequence table one-shot step is oneshot-executed when its action is activated. The
sequence table block mode remains unchanged.
D5-34 <D5.4 Action Description Using Logic Chart>
IM 33S01B30-01E
D5.4 Action Description Using Logic Chart
The following methods of describing step actions using logic chart are explained in
this section.
Step common items using logic chart
Logic chart steps
Logic chart one-shot execution steps
Using Logic Chart
To describe steps using logic charts, tag names of logic chart blocks must be specified. At
logic chart steps, variable names to store action signal column parameters can be specified
as parameters for action.
10th Edition : Dec.18,2003-00
<D5.4 Action Description Using Logic Chart> D5-35
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
D5.4.1 Step Common Item Description Using Logic Chart
Items common to all logic chart steps are as follows:
Tag name
Variable to store action signal column parameters
Tag Name
The logic chart needs to be tagged so that its tangle can be used as the step name.
The specified logic chart can be shared by different steps.
The tag names that can be specified for the step execution name are only the logic chart in
the same control station.
D5-36 <D5.4 Action Description Using Logic Chart>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Specified Variable to Store Action-Signal Column
In the case of logic chart step, a variable to store the parameter for the action signal of
SFC/SEBOL return event message (%RE) may be specified in the action signal column.
When logic chart step is executed, the parameter in action signal column will be stored in
the specified variable. Parameter in action signal column is Long type data.
The variable will be ignored if the name is not specified in step action.
Action-Signal Column Parameter
This parameter for the SFC/SEBOL return even message (%RE), which is an output of
software I/O messages, is stored in the specified variable using 0 through 65535 defined in
the action-signal column of the sequence table.
<D5.4 Action Description Using Logic Chart> D5-37
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Variable Name
The names of both variables can be specified in one of the following four different manners:
Present SFC-block data item
When storing data as a data item in the present SFC block, specify the variable name
as follows:
%.<data item>
Global variable
When storing data in a global variable, specify the name of the simple variable de-
clared using global long in the initial step.
<global variable>
Tag name-specified function-block data item
When storing data as a data item in the tag name-specified function block, specify the
variable name as follows:
<tag name>.<data item>
In this case, the tag name should have been declared using global long in the initial
step.
Global generic name-specified function-block data item
When storing data as a data item in the global generic name-specified function block,
specify the variable name as follows:
<global variable>.<data item>
The global generic name, which must be a simple variable, should be declared using
global block in the initial step.
SEE ALSO
For the details of logic chart, see the following:
D3.3, Logic Chart Block (LC64)
D5-38 <D5.4 Action Description Using Logic Chart>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
D5.4.2 Logic Chart Steps
The following items as to describing logic chart steps are explained in this section.
Step action description
Step execution
Step Action Description
The logic chart step action is described using a periodic start logic chart (TE or TC).
Step Execution
The logic chart step is one-shot-executed when its step is activated, and the logic chart
block mode changes to AUT at the same time. The sequence table will then be periodically
executed according to its own action timing.
The logic chart step action is terminated when an SFC/SEBOL return event message is
received from the logic chart. The logic chart block mode then changes from AUT to MAN.
<D5.4 Action Description Using Logic Chart> D5-39
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
D5.4.3 Logic Chart One-Shot Steps
The following method of describing logic chart one-shot steps is explained in this
section.
Step execution
Step Execution
The logic chart one-shot step is one-shot-executed when the step is activated. The logic
chart block mode remains unchanged.
D5-40 <D5.5 Transition Conditions>
IM 33S01B30-01E
D5.5 Transition Conditions
The following methods as to describing transition conditions are explained in this
section:
Description of transition conditions
Variables applicable to transition conditions
Description
Conditional expressions is SEBOL statement are used to define conditions for the transi-
tion of steps.
The same manner of describing the transition condition applies to all types of steps.
The condition is satisfied when the result of the conditional expression is not zero and not
satisfied when it is zero. When equivalence operators (==, <>) or relational operators (>=,
<=, >, <) are used, the condition is satisfied when the relation is true (1) and not satisfied
when it is false (0).
For a selective sequence, up to eight transition conditions can be defined. It is not neces-
sary to describe transition condition if step transition is unconditional.
10th Edition : Dec.18,2003-00
<D5.5 Transition Conditions> D5-41
IM 33S01B30-01E
Variables
The following variables can be used in the conditional expressions for transition:
Table Variables Applicable to Conditional Expressions
Variable Remarks
Constant
-
Global variable -
Local variable Declared in step action.
Global tag name Tag name declared using global block.
Tag name
Tag name declared using block in SEBOL-step action.
Sequence table tag name in sequence table step action.
Logic chart tag name in logic chart step action.
Global generic name Generic name declared using global genname.
Local generic name Declared using genname in step action.
Unit generic name
Declared using global unit genname, or declared using
unit genname in step action.
%$
Replaced by tag name of action-written sequence
table/logic chart.
D050501E.EPS
Global variables, step local variables, and constants can be used in array subscript
expressions for array-element variables.
SEBOL built-in functions can be used in conditional expressions.
%$ entered in transition condition is replaced by the tag name of the sequence table/
logic chart which defines action. The conditional expression %$.MODE=AUT will be
changed to ST0101.MODE=AUT if the sequence table tag name is ST0101, for
example.
If the sequence table/logic chart is specified using a unit generic name, %$ cannot
be replaced by the generic name. The generic name must be written in the conditional
expression in this case.
10th Edition : Dec.18,2003-00
D5-42 <D5.6 SFC Block Action>
IM 33S01B30-01E
D5.6 SFC Block Action
The SFC block is designed to execute SFC-written programs.
SFC Programs
An SFC program that executes normal processing is the main program and an SFC pro-
gram that interrupts the main program for execution is the interrupt program.
SFC-written programs are classified according to their function and behavior.
Main Programs
Queue signal processing
This process is executed according to the queue signal contents in the SFC main
program, which executes normal processing.
Exit of the SFC block
Pause of the SFC block
Reference of the current step.
Change of the step to be executed
Alarm processing of the SFC block
Interrupt Programs
Status change
This program is run together with SFC block status change. Separated programs
before/after status changes may be implemented.
Interrupt signal
Interrupt signal interrupts the SFC main program to run the programs requested by
the interrupt signal.
Error processing
Error occurrence when SFC block is running may trigger an interrupt program for error
processing.
10th Edition : Dec.18,2003-00
<D5.6 SFC Block Action> D5-43
IM 33S01B30-01E
SFC Block Online Maintenance
When part of system is added or modified while the system is running, online maintenance
is required so as to update the database.
SFC Block Execution Timing
When all the basic control functions are executed, the SFC block is executed using the idle
time left.
SFC Block Data Items
SFC blocks have fixed data items as well as user-definable data items.
SFC Block Status
SFC block running state can be indicated by block mode and block status.
10th Edition : Dec.18,2003-00
D5-44 <D5.6 SFC Block Action>
IM 33S01B30-01E
Interrupt Programs
Interrupt programs must be described separately for every different purpose.
When the block status has been changed and if it is necessary to pause or terminate the
process, an interrupt program or programs can be executed as required. For example, the
heater needs to be stopped if the process is to be terminated during heating, or the valve
needs to be closed if the process is to be paused during tank charging.
An example of executing an interrupt program for pausing from the main program, which
contains SIGNAL 1, RUN, STOP, and PAUS interrupt steps is shown below:
Main program
PAUS interrupt program
Developed
SIGNAL 1 01
01
02
03
04 PAUS
Interrupt steps
02
RUN
STOP
D050601E.EPS
Figure Example of Interrupt Program Execution
Although the first step of the interrupt program is shown in a double square in the above
example, it does not mean that the step is the initial step.
Global variables cannot be declared using global integer nor global block for the first
step of an interrupt program. They can be read or written, however.
10th Edition : Dec.18,2003-00
<D5.6 SFC Block Action> D5-45
IM 33S01B30-01E
Interrupt Program Types of Processing
Interrupt programs can be used for the following processing:
Status change pre-processing
Status change post-processing
Interrupt signal processing
Error processing
The following steps can be used in these interrupt programs as well as the main program:
Table Steps Applicable to SFC Programs
Step
Program
Main
program
Status change
pre-processing
Status change
post-processing
Interrupt signal
processing
Error
processing
Initial step
SEBOL step
SEBOL one-shot step
Sequence table step
Sequence table
one-shot step
Logic chart step
Interrupt step
D050602E.EPS
Logic chart
one-shot step
Note: Transition can be defined for programs other than the status change pre-processing program.
: Applicable
Blank: Not applicable
10th Edition : Dec.18,2003-00
D5-46 <D5.6 SFC Block Action>
IM 33S01B30-01E
Interrupt Program Parameters
Parameters must be specified according to the type of interrupt processing.
For Status Change Pre-processing & Post-processing
One of the following parameters needs to be specified according to which status change
instruction is to be executed:
RUN
Starts the SFC block or restarts the paused SFC block.
STOP
Terminates the SFC block being executed.
PAUS
Pauses the SFC block being executed.
SEE ALSO
For more information, see the following:
D5.6.2, Status Change Processing
For Interrupt Signal Processing
The name of the signal needs to be specified to execute the interrupt program.
SEE ALSO
For more information, see the following:
D5.6.3, Interrupt Signal Processing
For Error Processing
No parameter can be specified for error processing.
SEE ALSO
For more information, see the following:
D5.6.4, Error Processing
10th Edition : Dec.18,2003-00
<D5.6 SFC Block Action> D5-47
IM 33S01B30-01E
D5.6.1 Queue Signal Processing
Queue signals are processed in the SFC main program.
Signal Declaration
Queue signals to be sent to the SFC block must be so declared in the initial step using the
queue signal statement.
queue signal<signal name>[,<signal name>
]
<signal name> a character string constant using up to 8 bytes.
D050603E.EPS
The signal is ignored and error is returned to the source if an undeclared signal or any
non-defined interrupt signal is received.
The queue signal statement can be used wherever declaration is allowed in the
initial step (global and local variable declarations).
The queue signal statement cannot be used in steps other than the initial step.
An error is caused if the same signal name is declared in duplication.
An error is also caused if the same signal name as an interrupt signal name is de-
clared.
The following is an example of queue signal declaration:
queue signal "SG1,""SG2"
10th Edition : Dec.18,2003-00
D5-48 <D5.6 SFC Block Action>
IM 33S01B30-01E
Signal Processing
The SFC block fetches the first signal in the queue to process the signal in the main pro-
gram.
When the SFC block in the RUN or PAUS status receives a queue signal, it is stored in the
signal queue. If the block is in a status other than RUN and PAUS, the received signal is
ignored and error is returned to the signal source.
The SFC block signal queue may be cancelled as required.
Queue signals are transmitted using the signal statement and pending signals can be
manipulated using qsigcancel and qsigmove statements.
SEE ALSO
For the details about queue signal transmission, see the following:
H1.12.1, Signal Transmission Processing
For the details about pending signal manipulation, see the following:
H1.12.2, Processing of Queue Signal
10th Edition : Dec.18,2003-00
<D5.6 SFC Block Action> D5-49
IM 33S01B30-01E
Fetching Queue Signals
Maximum Number of Queue Signal Parameters, Maximum Number of Acceptable Queue Signal
Parameters
The first signal in the queue is fetched for processing when the wait for qsignal statement
(see below) is executed in the SFC block.
Format used to wait for signal-receiving only:
wait for qsignal<signal name-storing variable>
Format used to wait for signal-receiving or until the expressed condition is satisfied:
wait for qsignal<signal name-storing variable>(<expression>)
[;<error variable>][; error <label>[,<error identifier>]]
errorsub
<signal name-storing variable>: Character-string local variable to store received
signal names.
<error variable>: Local variable for code-setting when error is caused
(0 when no error is caused).
<label>: Branching destination when error is caused.
<error identifier>: Local variable or constant to identify error-caused
location in the error handling phase.
D050604E.EPS
The maximum number of received signal parameters can be specified in a range of 2 to 8
(2 at default) for the parameter attached to a queue signal on the Function Block Detail
Builder. Any signal received exceeding the specified number will be ignored, causing an
error.
The maximum number of signals received in the queue can be specified in a range of 0 to
99 (5 at default) on the Function Block Detail Builder. No additional signals can be received
exceeding the specified number. Any signal transmitted when the queue is full, an error will
be returned to the signal source.
The signal fetched used wait for qsignal statement from the queue and being processed
is included in the count of the specified maximum number of signals. The processed signal
will be dequeued when the next signal is fetched used wait for qsignal statement.
10th Edition : Dec.18,2003-00
D5-50 <D5.6 SFC Block Action>
IM 33S01B30-01E
Format-1 wait for qsignal Statement
This format is used to wait until a queue signal is received. If no signal is in the queue when
the wait for qsignal statement in this format is executed, the SFC block waits until a signal
is received while the queue is checked for any received signal once every scan period of
the block at most.
As soon as a signal is received and fetched from the queue for processing, the name of the
signal is stored in the specified variable.
TIP
Status change pre-processing or post-processing, or interrupt signal processing will be executed
while the waiting for the receiving of queue signals.
If time cannot be shared sufficiently for the once-every-scan-period check for received signals, the
check will be made no more than once every few scan periods.
Format-2 wait for qsignal Statement
This format is used to wait until a queue signal is received or the condition specified by the
expression is satisfied.
The expression is first calculated when the wait for qsignal statement in this format is
executed. If the result is true (other than 0), the condition is satisfied and the statement is
closed. If the result is false (0), the presence of signals in the queue is checked.
When the statement is closed with the condition satisfied, a null-length character string ()
is stored in the signal name-storing variable. When a signal has been fetched from the
queue, the name of the signal is stored in the variable. When the result of the expression is
false and no signal is in the queue, both the expression and the queue will be checked
once every scan period of the block at most.
<label> can be used to specify the destination for branching when error is caused. If error
or errorsub is not used, execution is resumed from the next statement when error is
detected.
Specifying <error identifier> permits to identify the error-caused location in the error han-
dling phase, which provides the identifier value using a built-in function.
TIP
It is recommended to use just one wait for qsignal statement, in either one of the two formats, in the SFC
block, and program so that execution returns to the statement for successive signal processing upon
completion of the current signal processing.
SEE ALSO
For the details of error processing, see the following:
H1.13, Error Handling
10th Edition : Dec.18,2003-00
<D5.6 SFC Block Action> D5-51
IM 33S01B30-01E
Fetching Signal Parameters
Upon completion of the wait for qsignal statement with a signal fetched from the queue,
the parameter and name of that signal can be read.
Built-in function creadpara, lreadpara, or dreadpara is used to read the signal param-
eter; and built-in function creadpara is used to read the signal name.
creadpara(<parameter number>)
lreadpara(<parameter number>)
dreadpara(<parameter number>)
<parameter number> : 1 to 8(integer constant or variable),
0 for dreadpara reads the signal name.
D050605E.EPS
creadpara is a character-string function, lreadpara is a long integer function, and
dreadpara is a long double-precision floating-point real-number function, and they are
used to read character-string, integer, and real-number signal parameters respectively.
Using any of these built-in functions after the expressed condition is the format-2 wait for
qsignal statement has been satisfied will cause error when executed.
10th Edition : Dec.18,2003-00
D5-52 <D5.6 SFC Block Action>
IM 33S01B30-01E
Examples of Queue Signal Processing
Examples of queue signal processing using the two formats of the wait for qsignal state-
ment are shown below.
Waiting for Signal-Receiving Only
An example of executing the format-1 wait for qsignal statement:
01 Initial step
02 Waiting for signal
03 "SG1" process 1
04 "SG1" process 2
......
queue signal "SG1" "SG2"
......
char*16 signame
wait for qsignal signame
! Signal name set at signame.
......
signame == "SG1"
J01
J01 J01
signame == "SG2"
05 "SG2" process 1
06 "SG2" process 1
D050606E.EPS
Figure Example of Queue Signal Processing Using Format-1 Statement
The wait for qsignal statement is executed in step 2 and a signal is fetched from the
queue. The signal name is then evaluated according to the transition condition defined
following step 2, selecting either SG1 or SG2 for processing.
10th Edition : Dec.18,2003-00
<D5.6 SFC Block Action> D5-53
IM 33S01B30-01E
Waiting for Signal-Receiving or Satisfied Condition
An example of executing the format-2 wait for qsignal statement:
01 Initial step
02 Waiting for signal
04 03 "SG1" process 1
05 "SG1" process 2
signame == "SG1" signame == "SG2"
06 "SG2" process 1
07 "SG2" process 2
D050607E.EPS
......
queue signal "SG1" "SG2"
......
char*16 signame
wait for qsignal signame (<expression>)
! Signal name set at signame.
......
signame == ""
J01
J01 J01 J01
Process when
<expression> is
satisfied
Figure Example of Queue Signal Processing Using Format-2 Statement
The wait for qsignal statement is executed in step 2, determining to wait for a signal or to
calculate the expression. The result of the expression is checked for the first transition
condition defined following Step 2. Either SG1 or SG2 is selected for processing according
to the other two transition conditions.
10th Edition : Dec.18,2003-00
D5-54 <D5.6 SFC Block Action>
IM 33S01B30-01E
Referencing
Reference Signal Parameter Numbers
User-defined data item QUEUE is used to reference the queue of signals. QUEUE is
defined as a one-dimensional CHR16 character-string array and each of its elements can
be accessed as a char*16 character string in SEBOL. The name of the signal stored in the
queue or one of signal parameters is set at a QUEUE element. The data of signals pending
to be processed are set in the QUEUE array but the data of the signal being processed is
not.
QUEUE Definition
Data item QUEUE can be defined for the purpose of referencing the queue of signals as
follows:
Define a CHR16 one-dimensional array named QUEUE. No data type other than
character strings nor simple variables cannot be used.
Specify 1 to 32 array elements. Any elements specified exceeding 32 are ignored.
Do not define QUEUE if there is no need for referencing the queue of signals.
Use the Function Block Detail Builder to specify the use of signal names and parameter
numbers for QUEUE array elements. The parameter numbers specified are then used as
reference signal parameter numbers. The signal name is set if the reference signal param-
eter number is 0; if the number is 1 to 8, the signal parameter of that number is set at the
QUEUE element. When numeric signal parameters are used, they are converted to char-
acter strings and set at QUEUE elements starting from the first element.
10th Edition : Dec.18,2003-00
<D5.6 SFC Block Action> D5-55
IM 33S01B30-01E
Example of Referencing
When the queue has four signals, for example, referencing can be made as described
below:
SG2
AUTUMN
SG1
SUMMER
SG2
WINTER
SG1
SPRING
D050608E.EPS
*1
*1: The first parameter
*1 *1 *1
Figure Queue Holding Four Signals
If the reference signal parameter number is 1, the contents of QUEUE array elements are
as follows:
Queue[1] = "SUMMER"
Queue[2] = "AUTUMN"
Queue[3] = "WINTER"
Queue[4] = "SPRING"
Queue[5] = " "
.....
Queue[10] = " "
QUEUE[5] to QUEUE[10] are null-length character strings since there are no signals.
10th Edition : Dec.18,2003-00
D5-56 <D5.6 SFC Block Action>
IM 33S01B30-01E
D5.6.2 Status Change Processing
There are following two types of the interrupt processes executed with a block
status change command:
Status-change pre-processing
Status-change post-processing
Processing Flow - SFC
The flow of processing when the SFC block receives a status change command is shown
below:
Is the command viable?
Status-change pre-process
Is the change feasible?
Status change executed
Status-change post-process
End
Yes
Yes
No
No
Executed as the
command is received.
D050609E.EPS
Status change command received
Figure Flow of Status Change Process
As the SFC block receives a status change command, the feasibility of the commanded
change and the interrupt processes are checked in relation to the current status. The
conditions for block status changes are shown below:
Table Feasibility of Block Status Change
Current status
Status commanded for change
STOP RUN PAUS RSET ABRT
STOP (*1)
RUN (*1)
PAUS (*1)
ABRT (*1)
D050610E.EPS
: Status change feasible. Both pre- & post-processes executable.
: Status change feasible, but pre- & post-processes not executable.
Blank: Status change not feasible.
*1: Command ignored.
10th Edition : Dec.18,2003-00
<D5.6 SFC Block Action> D5-57
IM 33S01B30-01E
Feasibility Checking
The command to change the current block status of STOP to RUN or PAUS is executed,
interrupting the main program to start the pre-process; a change to RSET, ABRT, or STOP
causes error. A change to RSET is accepted only when the current status is ABRT.
A change to ABRT is accepted when the current status is RUN or PAUS. When the com-
mand to change the current status to ABRT is received, the SFC block is forcibly termi-
nated and the status is changed to ABRT; the pre-process is executed when feasible.
IMPORTANT
The command to change the status to ABRT is a command to forcibly terminate the SFC
block and should not be used during normal operation. It may be used if the SFC block is
locked due to application error causing infinite looping during status-change post-process-
ing, and so forth.
The change-to-ABRT command is different from other status change commands as fol-
lows:
Pre- and post-processing cannot be defined for the command.
The command can be received even while another status change command is being
post-processed.
Pre-Processing
The feasibility of status change is determined in the pre-process. If the change is denied,
the source of the command is notified of the error. The status is changed as commanded if
the pre-process is not defined.
Status Changing
The status of the SFC block is changed as commanded when the change is justified both in
the initial check in relation to the current status and the check performed in pre-processing.
Post-Processing
Status-change post-processing is executed in accordance with the execution of the SFC
block itself, not with the receiving of the status change command.
Any additional status change command is prohibited until the current post-process is
completed; the command will be ignored if received, causing error.
10th Edition : Dec.18,2003-00
D5-58 <D5.6 SFC Block Action>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Status-Change Pre-Process - SFC
The status-change pre-process is one-shot-executed upon receipt of the status change
command before changing the block status. There are three steps to describe status-
change pre-process.
SEBOL one-shot execution step (SEBOL one-shot)
Sequence table one-shot execution step (Sequence table one-shot)
Logic chart one-shot execution step (Logic chart one-shot)
Since the status-change pre-process is one-shot-executed, it must be completed as quickly
as possible. Do not access data of another control station and delay the process. Only one
step can be executed as pre-process, where no transition condition can be defined.
Pre-process 01
STOP
D050611E.EPS
Figure Status-Change Pre-Process
At the SEBOL and sequence table one-shot steps, the feasibility of status change can be
determined. With the logic chart one-shot step, the status can be changed. If the pre-
process is not defined, the status can also be changed. At the pre-process, the status and
mode of the pre-process-described SFC block or other SFC blocks cannot be changed.
<D5.6 SFC Block Action> D5-59
IM 33S01B30-01E
Pre-Processing Using SEBOL Oneshot Step
The SEBOL oneshot step is completed when the last line, or return or quit statement
has been executed.
If the last line or quit statement has been executed, the feasibility of status change is
justified. If the return statement has been executed, the feasibility of status change is
determined according to the returned value as follows:
return[<status change feasibility>]
<status change feasibility>: Integer constant or numerical expression.
==0: Change denied.
<>0: Change justified.
Omitted: Change justified.
D050612E.EPS
The SEBOL oneshot step in which the pre-process is defined has the following additional
restrictions over the normal steps:
exit statement cannot be used. Error is caused if used.
signal statement cannot be used. Error is caused if used.
qsigcancel and qsigmove statements cannot be used. Error is caused if used.
isigmask and isigunmask statements cannot be used. Error is caused if used.
semlock: and semunlock statements cannot be used. Error is caused if used.
In the case of fatal error, only a SEBOL error message is output and the SFC block is
not terminated. Any status change will be denied.
When an execution error is detected, no branching is made to common error process-
ing and a SEBOL error message is output. Any status change will be denied.
The block status and mode of the present SFC block or any other SFC block cannot
be changed.
10th Edition : Dec.18,2003-00
D5-60 <D5.6 SFC Block Action>
IM 33S01B30-01E
Pre-Processing Using Sequence Table One-Shot Step
In the sequence table one-shot step, the feasibility of status change is determined accord-
ing to the result of sequence-table evaluation. The status change is justified when the result
is true (1) and denied if false (0).
Non-step sequence table:
The condition testing result is true (1) when at least one of 32 rules is satisfied and
false (0) if none of them is satisfied.
Step sequence table:
All rules of the oneshot-executed step and step 00 are evaluated and the result is true
(1) when at least one of the rules is satisfied and false (0) if none of them is satisfied.
In the pre-process, no variable can be specified to receive the condition testing result, any
specified variable is ignored. The block status and mode cannot be changed in pre-pro-
cessing for the SFC block in which the pre-process is defined or for any other SFC block.
Pre-Processing Using Logic Chart One-Shot Step
With the logic chart one-shot step, the status can be changed. At the pre-processing, the
status of the pre-process-described SFC block or other SFC blocks cannot be changed.
10th Edition : Dec.18,2003-00
<D5.6 SFC Block Action> D5-61
IM 33S01B30-01E
Status-Change Post-Process - SFC
The status-change post-process is executed after the status has been changed. The
process is executed as an interrupt signal processing, interrupting the main program in
accordance with the basic scan period of the SFC block.
Both step and selective sequences can be used in the post-process. Any additional status
change command is prohibited until the current post-process is completed; the command
will be ignored if received, causing error.
IMPORTANT
The post-process should not be kept suspended by means of a selective sequence transi-
tion condition, or a wait until, compare, or dialogue statement. If the process is sus-
pended, the block status cannot then be changed unless the program is forcibly terminated
using a command to change to ABRT.
The execution of the post-process defined in a SEBOL step can be controlled using quit
and return statements:
Using quit statement
Executing this statement in a step sequence terminates the current action and ex-
ecutes the next step. Executing it in a selective sequence starts evaluation of transi-
tion conditions. Executing the statement in the last post-process step terminates the
process.
Using return statement
Executing this statement terminates the post-process without executing the remaining
steps. Any operand specified in this statement will be ignored.
10th Edition : Dec.18,2003-00
D5-62 <D5.6 SFC Block Action>
IM 33S01B30-01E
Referencing Block Status - SFC
Data item PREBSTS (previous block status) is used in the post-process to permit referenc-
ing the block status before the change. When the status is changed, data item BSTS (block
status) which contains information on the status before the change is copied to PREBSTS.
These two data items are operated as follows:
1. The BSTS data is copied to PREBSTS.
2. BSTS is changed to the new block status.
The BSTS data is referenced to justify the change of block status for the pre-process. The
PREBSTS data is referenced to justify the status change for the post-process. Two cases
of referencing BSTS and PREBSTS are shown below:
In the first case, the current status of RUN is changed to STOP as commanded.
In the second case, the current status of PAUS is changed to STOP as commanded.
Table BSTS & PREBSTS
Process being executed
RUN STOP PAUS STOP
BSTS PREBSTS BSTS PREBSTS
Status-change pre-process RUN (*1) PAUS (*1)
Status-change
post-process
STOP RUN STOP PAUS
D050613E.EPS
*1: Status before changing to the commanded status.
10th Edition : Dec.18,2003-00
<D5.6 SFC Block Action> D5-63
IM 33S01B30-01E
Block Status Referencing in Pre-Process
An example of referencing the block status in the pre-process using the two cases de-
scribed above:
switch (%.BSTS)
case "RUN":
!Process changing from RUN to STOP.
case "PAUS"
!Process changing from PAUS to STOP.
end switch
Block Status Referencing in Post-Process
An example of referencing the block status in the post-process using the two cases de-
scribed above:
switch (%.PREBSTS)
case "RUN"
!Process when changed from RUN to STOP.
case "PAUS"
!Process when changed from PAUS to STOP.
end switch
10th Edition : Dec.18,2003-00
D5-64 <D5.6 SFC Block Action>
IM 33S01B30-01E
D5.6.3 Interrupt Signal Processing
Interrupt signal processing is executed interrupting the main program when an
interrupt signal is received.
Interrupt Signals - SFC
Interrupt signals are sent from the SFC block, sequence table and logic chart. Every inter-
rupt signal can be named using a character string of up to 8 bytes and attached with up to 8
parameters.
Whether a signal is taken as a queue signal or an interrupt signal depends on the definition
in the SFC block which receives the signal and cannot be specified at the signal source.
Queue and interrupt signals are distinguished as follows:
Signals defined in the initial step using the queue signal statement are handled as
queue signals.
Signals having their names written at the entrance of interrupt signal processing are
handled as interrupt signals.
If the same name is used both in the initial-step definition and at the interrupt-signal en-
trance, an error is caused.
Interrupt signals can be received only when the SFC block is in the RUN or PAUS status,
any signal transmitted is ignored otherwise and an error is returned to the source.
Interrupt signals received during the course of the PAUS status are stored in a queue and
will be processed when the status is changed to RUN restarting the block.
10th Edition : Dec.18,2003-00
<D5.6 SFC Block Action> D5-65
IM 33S01B30-01E
Interrupt Signal Processing - SFC
Maximum Number of Receive Interrupt Signals
Interrupt signals are processed interrupting the main program, which resumes execution as
soon as the signal has been processed.
Main program Interrupt signal processing
Interrupt signal received
D050616E.EPS
Figure Interrupt Signal Processing
Interrupt signals can be processed only when the SFC block is in the RUN status. The
signal processing is canceled if the status is changed to PAUS during the processing and
will not be resumed when the status is returned to RUN.
If another interrupt signal is received while one is being processed, the received signal is
queued and will be processed as soon as the current processing is completed. The maxi-
mum number of interrupt signals which can be queued can be defined for each SFC block
using the Function Block Detail Builder. The number is 5 at default and can be defined up to
99. The defined capacity includes the signal currently being processed. If a signal is re-
ceived when the queue is full, the signal is ignored causing an error.
The execution of the interrupt signal process defined in a SEBOL step can be controlled
using quit and return statements:
Using quit statement
Executing this statement terminates the current step action and executes the next
step. Executing it in a selective sequence starts evaluation of transition conditions.
Executing the statement in the last step of interrupt signal processing terminates the
process.
Using return statement
Executing this statement terminates the process without executing the remaining
steps. Any operand specified in this statement will be ignored.
10th Edition : Dec.18,2003-00
D5-66 <D5.6 SFC Block Action>
IM 33S01B30-01E
Fetching Interrupt Signal Parameters
Maximum Number of Interrupt Signal Parameters
Queue signal parameters can be fetched using built-in functions during interrupt signal
processing.
creadpara(<parameter number>)
lreadpara(<parameter number>)
dreadpara(<parameter number>)
<parameter number> : 1 to 8(integer constant or variable),
0 for dreadpara reads the signal name.
D050617E.EPS
creadpara is a character-string function, lreadpara is a long integer function, and
dreadpara is a long double-precision floating-point real-number function, and they are
used to fetch character-string, integer, and real-number signal parameters respectively.
The maximum number of signals can be defined in a range of 2 to 8 (2 at default) for the
parameter attached to an interrupt signal. If the SFC block receives an interrupt signal
exceeding its parameter setting, the signal is ignored causing an error.
10th Edition : Dec.18,2003-00
<D5.6 SFC Block Action> D5-67
IM 33S01B30-01E
D5.6.4 Error Processing
Error processing needs to be defined in an SFC block separately from the SFC block
of the main program. Only one set of processing can be described in one SFC block.
Error Processing Description
Similar to other interrupt processes, error processing needs to be defined in an SFC block
separately from the SFC block of the main program. Only one set of processing can be
described in one SFC block.
Both step and selective sequences can be used in error processing. It is necessary for a
selective sequence, however, that the transition conditions are so defined that they can be
easily satisfied; the process being executed when error is caused will not be resumed
otherwise.
SEE ALSO
For the details of common error processing, see the following:
H1.13, Error Handling
The execution of the error processing defined in a SEBOL step can be controlled using
quit and return statements:
Using quit statement
Executing this statement in a step sequence terminates the current step action and
executes the next step. Executing it in a selective sequence starts evaluation of
transition conditions. Executing the statement in the last error processing step termi-
nates the process.
Using return statement
Executing this statement terminates error processing without executing the remaining
steps. Any operand specified in this statement will be ignored.
10th Edition : Dec.18,2003-00
D5-68 <D5.6 SFC Block Action>
IM 33S01B30-01E
D5.6.5 Terminating SFC Block Execution
The execution of the SFC block can be terminated as described below:
Programs Permitted of Terminating Execution
The execution of the SFC block can be terminated in one of the following manners:
Executing an exit statement.
Changing block data item BSTS to STOP.
The programs which permit terminating the block execution are as follows:
Table Programs Permitted of Terminating Block Execution
Program exit statement BSTS change
Main program
Status-change pre-process - -
Status-change post-process -
Interrupt signal processing
Common error processing (*1)
D050618E.EPS
: Definable.
: Not definable.
*1: The feasibility of block status change during error processing is determined by the location where the error involved
has been caused. If the error is in the main program, the status can be changed. If the error is in the status-change
post-process, the status cannot be changed.
Termination Using exit Statement
Use the exit statement to terminate the block execution unconditionally, which can be
written as follows:
exit[<expression>]
D050619E.EPS
The block is terminated when the statement is executed and the block status changes to
STOP. The status change pre-/post-processes are not executed.
10th Edition : Dec.18,2003-00
<D5.6 SFC Block Action> D5-69
IM 33S01B30-01E
Termination by Changing Block Status
Set the command to change the status to STOP in data item BSTS as in the example
shown below:
EXAMPLE:
.......
.......
%.BSTS = "STOP"
.......
Status-change pre- and post-processes can be executed when changing the block status
to STOP.
10th Edition : Dec.18,2003-00
D5-70 <D5.6 SFC Block Action>
IM 33S01B30-01E
D5.6.6 Pausing SFC Block Execution
The execution of the SFC block is paused in one of the following conditions, which
are further described below:
When the block mode is SEMI.
When the block being executed receives the command to change the status to
PAUS.
When the block standing-by for execution receives the command to change the
status to PAUS.
When the block standing-by for execution in the SEMI mode receives the com-
mand to change the status to RUN.
When the block is paused while a program line is being executed, how the inter-
rupted action is affected varies according to the contents of that line.
The restarting of the paused block is determined by the built-in function ckstep
and action when the block is restarted varies according to the condition of the block
at the time of pause.
Pausing
The four conditions in which the SFC block is paused are described below, the paused
block can be restarted by commanding a status change to RUN in any of these conditions:
Block in SEMI Mode
When the block is in the SEMI mode and executed to the start of a main program step, the
block status changes from RUN to PAUS and the block pauses at the start of action.
No status-change processing takes place at this time.
Execution is not paused at the start of an interrupt processing step.
PAUS Command to Block in Execution
When the block being executed receives a PAUS command, the block status is changed
from RUN to PAUS and the block is paused.
Status-change processing takes place.
If the block is paused during a SEBOL-described action, the builder-defined PAUS
position will be applied to the restarting of the block.
If the block is paused during a sequence table or logic chart described action, the
sequence table or logic chart block mode changes from AUT to MAN. The block will
be restarted from the start of the step at all times even if the PAUS position is defined
as the current line.
10th Edition : Dec.18,2003-00
<D5.6 SFC Block Action> D5-71
IM 33S01B30-01E
PAUS Command to Block at Stand-by for Execution
When the block standing-by for execution receives a PAUS command, the block status
changes from STOP to PAUS and the block is paused at the start of the initial step.
Status-change processing takes place.
RUN Command to Block at Stand-by in SEMI Mode
When the block standing-by for execution in the SEMI mode receives a RUN command,
the block status changes from STOP to RUN and then to PAUS and the block is paused at
the start of the initial step.
Status-change processing takes place for the STOP-RUN status change but does not
for the RUN-PAUS change.
If post-processing is executed for the STOP-to-RUN change, the RUN-to-PAUS
changes takes place after the post-processing is completed.
If an interrupt signal is received during the post-processing for the STOP-to-RUN
change, the signal is processed first when the post-processing is completed and then
the RUN-to-PAUS change takes place upon completion of the signal processing.
10th Edition : Dec.18,2003-00
D5-72 <D5.6 SFC Block Action>
IM 33S01B30-01E
Pause-Interrupted Actions
Actions when the SFC block, for which the PAUS position is defined as the current line, is
paused during execution of a SEBOL step are described.
dialogue Statement Used
When the block has been paused while waiting for input from the operation and monitoring
function after executing a dialogue statement, the block is restarted from the line following
the dialogue statement unless the operator has not input anything. Since the time
specified wait time advanced even while the block is paused, a time-out error is caused if
the wait time has been counted up during the pause.
delaycycle and delay Statements Used
The time specified to delaycycle and delay statements advances even while the block is
paused.
wait until and compare Statements Used
The time specified to wait until and compare statements advances even while the block
is paused. Comparison or condition evaluation is executed at lease once after the block is
restarted, however, even if the specified time has elapsed.
semlock wait Statement Used
When the block has been paused while waiting for the unlocking of semaphore, the block is
restarted from the line following the semlock wait statement if the semaphore has been
unlocked by another SFC block during the pause. If the semaphore has not been unlocked
and is secured, the state of waiting for the unlocking will be maintained.
seqtable drivewait Statement Used
When the block has been paused while waiting for the output of an SFC/SEBOL return
event message (%RE) from the sequence table after starting the sequence table using a
seqtable drivewait statement, the sequence table block mode remains AUT. The block is
restarted from the line following the seqtable drivewait statement if %RE is output from
the sequence table during the pause. If not, the state of waiting for the output will be main-
tained.
logicchart drivewait Statement Used
When the block has been paused while waiting for the output of an SFC/SEBOL return
event message (%RE) from the logic chart after starting the logic chart using a logicchart
drivewait statement, the logic chart block mode remains AUT. The block is restarted from
the line following the logicchart drivewait statement if %RE is output from the logic chart
during the pause. If not, the state of waiting for the output will be maintained.
10th Edition : Dec.18,2003-00
<D5.6 SFC Block Action> D5-73
IM 33S01B30-01E
Identification of Restart Condition
The data returned when the built-in function ckstep is executed identifies the condition in
which the SFC block has been restarted.
ckstep return values are as follows:
Data returned 1:
When SFC block is restarted after changing STEPNO in the PAUS mode.
Data returned 2:
When SFC block is restarted without changing STEPNO in the PAUS mode.
Data returned 0:
In cases other than listed above.
ckstep Returns 2
ckstep returns 2 when the SFC block, for which the PAUS position defined as the start of
the step, was paused by a PAUS command and restarted without changing STEPNO.
TIP
For the SFC block with the PAUS position defined as the current line, ckstep returns the same data
when the block was paused by a PAUS command and restarted without changing STEPNO. Even after
the block has been restarted, ckstep returns the same data as that returned before the pause.
ckstep Returns 1
ckstep returns 1 when the SFC block was paused, STEPNO has been changed,
and then restarted.
10th Edition : Dec.18,2003-00
D5-74 <D5.6 SFC Block Action>
IM 33S01B30-01E
Cases of 0 Returned by ckstep
When the block is being executed without being paused.
When the block was paused at the start of a step in the SEMI mode and has been
restarted without changing STEPNO.
For interrupt signal processing, 0 is returned at all times.
For status-change pre-processing, 0 is returned at all times.
For status-change post-processing, 0 is returned at all times.
For error processing, 0 is returned at all times.
When the built-in function ckstepcl is executed to clear the status following a pause.
When the action of the restarted step has been completed.
SEE ALSO
For the changing of data item STEPNO, see the following.
D5.6.8, Changing Current Step
10th Edition : Dec.18,2003-00
<D5.6 SFC Block Action> D5-75
IM 33S01B30-01E
Restarting Actions
Actions when the SFC block is restarted with its status changed to RUN are described:
Restarting after Paused during SEBOL-Defined Action
The block restarts execution from the PAUS position defined on Function Block Detail
Builder. Execution is restarted from the start of the action when the start of the step is
builder-defined, or resumed from where the action was interrupted when the current line is
builder-defined.
Restarting after Paused during Sequence Table or Logic Chart-Defined
Action
The block restarts execution from the start of the step regardless of the PAUS position
defined on Function Block Detail Builder.
Restarting after Paused during Transition Evaluation
Evaluation is restarted from the leftmost transition condition.
Restarting after Paused during Interrupt Signal Processing
The interrupt signal process is canceled and not resumed when the block is restarted.
Handling of Queued Signals when Restarted
Any signals already queued when the block was paused remain in the queue when the
block is restarted.
Handling of Signal Received during Pause
Any signals received during the pause are queued and available when the block is re-
started.
Restarting After Paused during Error Processing
Restarting action varies depending on whether post-processing is executed or not when
PAUS was commanded.
When post-processing is not executed:
The block is restarted first resuming the interrupted error processing and then resum-
ing the main program from the builder-defined PAUS position.
When post-processing is executed:
The ongoing error processing is completed first and then the block status is changed
and post-processed when PAUS is commanded. The block resumes execution of the
main program from the builder-defined PAUS position when restarted.
10th Edition : Dec.18,2003-00
D5-76 <D5.6 SFC Block Action>
IM 33S01B30-01E
D5.6.7 Referencing Current Step
The step number of the step being executed in the SFC block main program can be
referenced.
Procedure
Data item STEPNO is used to reference the step number of the step being executed. As
the execution of the main program advances, the step number of the current step is sent to
STEPNO.
TIP
Data item PHASE is used to hold the name of the current process, which can also be referenced to check
the progress of the block execution. When using PHASE, however, every phase in program steps should
be uniquely named.
10th Edition : Dec.18,2003-00
<D5.6 SFC Block Action> D5-77
IM 33S01B30-01E
D5.6.8 Changing Current Step
The following items as to changing the current step are explained in this section.
Procedure
Restrictions
Actions after STEPNO change
Procedure
The number of the current step can be changed by changing the step number set in main
program data item STEPNO when the block is the PAUS status. The use of STEPNO,
however, is only applicable to main program steps but not to interrupt program steps.
Note Points
The number of the current step cannot be changed in the following cases:
When status-change pre- or post-processing is being executed, even if the block is in
the PAUS status.
Step numbers in the present SFC block cannot be changed, doing so causes error
when executed.
Actions after STEPNO Change
Actions following a step number change are as follows:
No user-defined application program can be executed following a step number
change.
When the block with the PAUS position defined as the current line is paused, the
restarting position may be changed to the start of step action by setting the current
step number in STEPNO.
When the block is paused during transition condition evaluation, the restarting position
may be changed to the start of step action by setting the current step number in
STEPNO.
The current STEPNO data is retained when the block status is changed to STOP.
The block is restarted from the start of step action when a change to the RUN status is
commanded after STEPNO has been changed.
The condition in which the block has been restarted can be identified using built-in
function ckstep.
10th Edition : Dec.18,2003-00
D5-78 <D5.6 SFC Block Action>
IM 33S01B30-01E
D5.6.9 SFC Block Alarm Processing
The SFC block alarm processing and alarm status indication can be scripted using
SEBOL when required.
SFC Block Alarm Processing Scripts
Unlike regulatory control function blocks, SFC blocks do not have built-in alarm processing
functions. Thus alarm processing and alarm status indication must be programmed using
SEBOL, if required.
There are four process alarm related data items of the SFC block shown as follows:
ALRM (Alarm Status)
AF (Alarm Detection)
AOFS (Alarm Inhibition)
AFLS (Alarm Flashing Status)
ALRM (Alarm Status)
The alarm status strings for indicating SFC alarm status contains 23 user-defined strings
and a NR string (string for normal status), which can be specified for all SFC blocks.
If there is no alarm status is in active state, the data item ALRM will be in NR status.
When using a prcsalarm statement in a SEBOL step, an alarm status string and a process
alarm can be output together. Using prcsalarm recover statement can recover from the
alarm status.
SEE ALSO
For more information about AF, AOFS and AFLS, see the followings:
C5.13, Deactive Alarm Detection
C5.14, Alarm Inhibition (Alarm OFF)
C5.15.1, Alarm Display Flashing Actions
For more information about changing and referencing alarm data items, see the followings:
H1.5.10, Referencing Alarm Status
H1. 5.12, Referencing Alarm Status Individually
For more information about alarm status character strings, see the following:
User-Defined Alarm Status Character String in Chapter E12.4, Alarm Status Character String and
Alarm Processing
10th Edition : Dec.18,2003-00
<D5.6 SFC Block Action> D5-79
IM 33S01B30-01E
Changing Alarm Status for Present SFC Block
Data items AF, AOFS, and AFLS of the present SFC block can be changed so that the
blocks alarm status can all be group-controlled. The following alarm status-change com-
mands are used:
Table Alarm Status Change Commands
Data item
Status-change command
AOF AON ACK
AF Alarm detection group-bypassing. Alarm group-suppression. -
AOFS Undo group-bypassing. Undo group-suppression. -
AFLS - - Alarm group-acknowledging.
D050620E.EPS
Changing Alarms of Other SFC Blocks
Process alarms of other SFC blocks can be controlled changing data items AF and AOFS.
The SFC block with its data item AF externally specified for the group-bypassing of alarm
detection, for example, will not output any process alarm and the alarm status will not be
changed even when the prcsalarm statement is executed by the present block. Also,
changing data item AFLS permits alarm acknowledging while disabling flashing.
10th Edition : Dec.18,2003-00
D5-80 <D5.6 SFC Block Action>
IM 33S01B30-01E
Alarm Data Items
The alarm data items are initialized as follows:
Table Data Item Initialization
Data item Name
When initialization
started
When SFC block
executed
Builder default
ALRM Alarm status
Previous status
maintained
NR NR
AF Alarm detection specification
Previous status
maintained
Despecified
status
AOFS Alarm suppression specification
AFLS Alarm flashing status
D050621E.EPS
The alarm status is initialized to the normal status (NR) when the SFC block is executed.
When the execution of the block is terminated with any process alarm caused, the normal
state is recovered when the block is executed again. This is the same when the block mode
is changed from O/S to AUT.
Alarm Repeating - SFC Block
If an alarm state is not normalized for a predetermined period of time, repeating alarm
defined on FCS Constants Builder will be caused as long as the SFC block is being ex-
ecuted or paused. The repeating alarm is not caused for the SFC block not being executed
or paused, nor if the execution of the block has been terminated with a process alarm
caused.
Actions related to repeating alarms are otherwise the same as other function blocks.
SEE ALSO
For more information, see the following:
C5.15.2, Repeated Warning Alarm
10th Edition : Dec.18,2003-00
<D5.6 SFC Block Action> D5-81
IM 33S01B30-01E
D5.6.10 SFC Online Maintenance
In online maintenance operation, SFC block databases can be manipulated for
system retrofitting, modification, and so forth.
Characteristic of SFC Block Online Maintenance
Only the SFC block requiring maintenance is stopped and only the part to be manipulated
is downloaded to FCS for online maintenance so that other control functions will remain
unaffected.
The online SFC block maintenance is different as described below from the normal mainte-
nance of regulatory control block, sequence control block, calculation block, and faceplate
block functions:
Online maintenance operation cannot be performed on the SFC block if it is in the
RUN or PAUS status but can be performed only in the STOP or ABRT status.
The SFC block mode changes to O/S during online maintenance operation. The block
status changes to STOP and the mode returns to the previous mode.
After the downloading for online maintenance, the execution of the SFC block is
resumed when the status is changed to RUN from the operation and monitoring
function or user-defined application program.
10th Edition : Dec.18,2003-00
D5-82 <D5.6 SFC Block Action>
IM 33S01B30-01E
Block Code Definition
SFC block codes cannot be changed, deleted, nor added. The blocks user-defined data
items can be changed, deleted, or added, however.
Block Manipulation
SFC blocks can be changed, deleted, or added in the following cases:
SFC blocks can be changed or deleted when they are stopped.
SFC blocks can be added as long as additions are within the maximum number of
function blocks defined for each control station.
10th Edition : Dec.18,2003-00
<D5.6 SFC Block Action> D5-83
IM 33S01B30-01E
D5.6.11 SFC Block Execution
SFC blocks are executed in the idle time of one control period after the execution of
all other basic control functions.
Order of Execution
SFC blocks are repeatedly executed in the basic scan period according to the following
rules:
SFC blocks are executed in the idle time available after the execution of all other basic
control functions has been completed, which include regulatory control, sequence
control, calculation, and faceplate blocks. The rule also applies when both basic
control functions and SFC blocks reside in the same control drawing.
SFC blocks are infinitely executed within one scan period during the time available
after the execution of other basic control functions. In the next scan period, execution
is resumed from where it was interrupted last.
SFC blocks are not executed and terminated if sufficient time is not available after the
execution of other basic control functions. In the next scan period, execution is re-
sumed from where it was interrupted last.
An example of two control drawings each defined with three SFC blocks is shown below.
SFC blocks are assigned with time for execution in the numbered order:
SFC block
4
SFC block
5
SFC block
6
Control drawing 2
SFC block
1
Control drawing 1
SFC block
2
SFC block
3
D050622E.EPS
Figure The Order of Execution Time Allocation
After the last SFC block 6 in control drawing 2 was allocated with execution time, the order
returns to the top SFC block 1 in control drawing 1 and execution time is reallocated.
Execution time is not allocated to any SFC blocks which are not being executed.
10th Edition : Dec.18,2003-00
D5-84 <D5.6 SFC Block Action>
IM 33S01B30-01E
D5.6.12 Data Items - SFC
SFC blocks use system-specific and user-defined data items.
Every different SFC block using a different group of data items needs to be differ-
ently coded. If a group of same data items is used by a number of blocks, the blocks
can be identically coded and they can share the same group of data items.
SFC Block Models
It is necessary to define SFC block model as follows:
1. Select one of the three available models of system-specific data sets (see below).
2. Specify the name and data type for the user-defined data item to be used. Different
SFC block codes are needed for different models as well as different user-defined
data items.
The following three SFC block models are available:
_SFCSW: 3-position switch
_SFCPB: Pushbutton
_SFCAS: Analog
The following are their details:
Table Details of Models
Model
_SFCSW _SFCPB _SFCAS
Item
User-defined data
item high limit
No. of items 32 32 32
Max. area size 8180 bytes 8180 bytes 8180 bytes
Data item comment Availability Not available Available Available
Instrument faceplate
3-position-switch type - -
5-pushbutton type
-
-
Basic type - -
Trend
None
-
PV, SV, MV
- -
D050623E.EPS
10th Edition : Dec.18,2003-00
<D5.6 SFC Block Action> D5-85
IM 33S01B30-01E
The instrument faceplates of the three block models are shown below:
RUN
PAUSE
STOP
AUT STOP
NR
RUN
PAUSE
STOP
AUT STOP
NR
RUN
PAUSE
STOP
AUT STOP
NR
0.0
20.0
40.0
60.0
80.0
100.0
_SFCSW _SFCPB _SFCAS
D050624E.EPS
Figure SFC Block Instrument Faceplates
10th Edition : Dec.18,2003-00
D5-86 <D5.6 SFC Block Action>
IM 33S01B30-01E
System-Specific Data Items
System Definition Data Items
SFC block system-specific data items and their availability in block models are listed below:
Table System-Specific Data Items & Block Models (1/2)
Data item Data name
SFC block model
_SFCSW _SFCPB _SFCAS
MODE Block mode
OMOD Block mode (lowest priority)
CMOD Block mode (highest priority)
BSTS Block status
PREBSTS Previous block status
ALRM Alarm
AFLS Alarm flashing
AF Alarm detection
AOFS Alarm suppression
ERRC Classified error code
ERRE Detailed error code
ERRP Error-caused plane number
ERRS Error-caused step number
ERRL Error-caused line number
ERRF Error-caused program unit
STEPNO Current-step number
PHASE Phase name
IPHASE Interrupt-phase name
D050625E.EPS
: Available
10th Edition : Dec.18,2003-00
<D5.6 SFC Block Action> D5-87
IM 33S01B30-01E
Table System-Specific Data Items & Block Models (2/2)
Data item Data name
SFC block model
_SFCSW _SFCPB _SFCAS
OPMK Operation mark
SAID System user ID
UAID User application ID
DILG Dialog acknowledgement
SEMA Semaphore name
SWLB[5] Switch label -
SWCR[5] Switch display color -
SWST[5] Switch flashing status -
SWOP[5] Switch operation disable status -
PV Process variable - -
SV Setpoint value - -
MV Manipulated output value - -
SH Scale high-limit value - -
SL Scale low-limit value - -
SVH Setpoint high limit - -
SVL Setpoint low limit - -
MH Manipulated variable high-limit setpoint - -
ML Manipulated variable low-limit setpoint - -
MSH MV scale high limit - -
MSL MV scale low limit - -
D050626E.EPS
: Available
: Not available
10th Edition : Dec.18,2003-00
D5-88 <D5.6 SFC Block Action>
IM 33S01B30-01E
The accessibility of the system-specific data items is shown below:
Table System-Specific Data Item Accessibility (1/2)
Data item
SEBOL
General-purpose
calculation block
Sequence table
Read Write Read Write Condition Manipulation
MODE (*1) (*1)
OMOD - - - - -
CMOD - - - - -
BSTS (*1) (*1)
PREBSTS - - - -
ALRM - (*1) - -
AFLS (*1) (*1)
AF (*1) (*1)
AOFS (*1) (*1)
ERRC
-
- -
-
ERRE
-
- -
-
ERRP
-
- -
-
ERRS
-
- -
-
ERRL
-
- -
-
ERRF
-
- -
-
STEPNO (*2)
PHASE -
- - -
IPHASE - - -
-
D050627E.EPS
: Accessible
: Not available
*1: Accessible by connecting sequences.
*2: See D5.6.8, Changing Current Step, for restrictions.
SEE ALSO
For details on setting step numbers, see the following:
D5.6.8, Changing Current Step
10th Edition : Dec.18,2003-00
<D5.6 SFC Block Action> D5-89
IM 33S01B30-01E
Table System-Specific Data Item Accessibility (2/2)
Data item
SEBOL
General-purpose
calculation block
Sequence table
Read Write Read Write Condition Manipulation
OPMK - -
UAID - -
DILG - -
SEMA - - - -
SWLB[5] - -
SWCR[5]
SWST[5]
SWOP[5]
PV - -
SV - -
MV - -
SH - - - -
SL - - - -
SVH - -
SVL - -
MH - -
ML - -
MSH - - - -
MSL - - - -
D050628E.EPS
: Accessible
: Not available
10th Edition : Dec.18,2003-00
D5-90 <D5.6 SFC Block Action>
IM 33S01B30-01E
Step-Number & Phase-Name Data Items
Step numbers and phase names are set in the following data items:
Main program
Step No.: STEPNO
Phase name: PHASE
Interrupt programs
Step No.: None
Phase name: IPHASE
The main program current step number is set at STEPNO and current phase name at
PHASE. The interrupt program current phase name is set at IPHASE. During the execution
of an interrupt program, the step number and the phase name of the main program when
the interrupt program was invoked are retained at STEPNO and PHASE respectively.
TIP
One exception with interrupt programs is that the phase name of status-change pre-processing is not set
at IPHASE.
When interrupt programs of different levels are being executed simultaneously, only the
phase name of the highest-level interrupt program is set at IPHASE. A null-length character
string () is set at IPHASE for a regular-level interrupt program.
Default STEPNO, PHASE, and IPHASE are as follows:
Table Default STEPNO, PHASE, & IPHASE
Data item Name Builder default At initialization At SFC block start
STEPNO Current step number 0
Previous state
retained
Step number of initial step
PHASE Phase name (*1) Phase name of initial step
IPHASE Interrupt program phase name (*1) (*1)
D050629E.EPS
*1: Null-length character string.
10th Edition : Dec.18,2003-00
<D5.6 SFC Block Action> D5-91
IM 33S01B30-01E
Alarm Data Items
ALRM, AFLS, AF, and AOFS are process alarm data items.
SEE ALSO
For details, see the following:
D5.6.9, SFC Block Alarm Processing
Error Data Items
When an error is caused, the classified error code is set at ERRC and the detailed error
code at ERRE. The error-caused plane number is set at ERRP and the error-caused step
number at ERRS, making it easy to identify the location of the error caused.
When an error is detected in a SEBOL-described action, ERRL identifies the error-
caused line number and ERRF identifies the error-caused function name. A null-length
character string is set at ERRF if the detected error is in the main program.
When an error is detected in a sequence table-described action, 0 is set at ERRL and
a null-length character string at ERRF.
When an error is detected in a transitional condition, the negative transition condition
number (-1 through -8) is set at ERRL and a null-length character string at ERRF.
10th Edition : Dec.18,2003-00
D5-92 <D5.6 SFC Block Action>
IM 33S01B30-01E
User-Defined Data Items
User Definition Data Items
Up to 32 data items can be optionally user-defined, using up to 8180 bytes in total.
Date Types Available
The following data types can be used for user-defined data items:
Table Data Types of User-Defined Data Items
Data type Symbol No. of bits Min. data Max. data
Character string CHRn 8*n bits n=2 n=16
Integer I16 16 bits -32768 32767
Long integer I32 32 bits -2147483648 2147483647
Single-precision floating point F32 32 bits -3.402823*10
38
3.402823*10
38
Double-precision floating point F64 64 bits -1.79769313486231*10
308
1.79769313486231*10
308
D050630E.EPS
Simple variables and one- and two-dimensional arrays can be used with every type. Up to
999 array elements can be used and up to 10000 elements can be used for arrays 1 and 2
in total. The data status-attached data type is not available.
Mainly, the following settings may be defined for a user defined data item of SFC block.
Data item name
Data type
Array element 1
Array element 2
Data item comment
10th Edition : Dec.18,2003-00
<D5.6 SFC Block Action> D5-93
IM 33S01B30-01E
Accessing User-Defined Data Items
Accessing user-defined data items from function blocks and some restrictions are as
follows:
Data as well as sequences can be connected for user-defined data items.
User-defined data items cannot be described in the condition and action signal col-
umns of a sequence table.
In the case of general-purpose calculation blocks (CALCU, CALCU-C), user-defined
data items cannot be accessed even if <tag name>.<data item name> is directly
specified in the block.
User-defined data items can be accessed from SEBOL programs in SFC blocks.
SFC block queue signals can be referenced when a CHR16 one-dimensional array
named QUEUE is defined as a user-defined data item.
SEBOL data-type specifiers for data-type symbols are listed below:
CHR2 to CHR16: char *2 to char*16
I16: integer
I32: long
F32: float
F64: double
SEE ALSO
For the details of queue signals, see the following:
D5.6.1, Queue Signal Processing
10th Edition : Dec.18,2003-00
D5-94 <D5.6 SFC Block Action>
IM 33S01B30-01E
D5.6.13 SFC Block Mode & Status
The modes, status, and status transition of SFC blocks are described.
Block Modes - SFC
SEMI Mode Operation
The SFC block has three control modes.
Description of Modes - SFC
The control status in each block mode is described below:
O/S: Out-of-service
SEMI: Semi automatic
AUT: Automatic
The actions of SFC block in each block mode are shown below:
AUT (automatic) mode:
Every step is successively executed.
SEMI (semi-automatic) mode:
The block stops at the start of each step, and the step is executed at a command from
the operation and monitoring function, etc. The mode can be enabled or disabled for
each block.
O/S (out-of-service) mode:
The block cannot be executed. Online maintenance operation is performed in this
mode.
10th Edition : Dec.18,2003-00
<D5.6 SFC Block Action> D5-95
IM 33S01B30-01E
Rules for Changing Block Modes - SFC
The following rules are applied to the changing of block modes:
The mode cannot be changed to O/S when the block status is RUN or PAUS.
The block status remains unchanged when the block mode is changed to O/S.
The block status changes to STOP when the block mode is changed from AUT to O/S,
or from O/S to SEMI.
The block status cannot be changed when the block mode is O/S.
The block mode can be changed from AUT to SEMI or vice versa without any restric-
tion, except that the mode cannot be change to SEMI if its use is prohibited by the
builder.
No user applications can be executed following a block mode change.
An example of changing the mode of the SFC block tag-named SFC001 using a SEBOL
program is shown below:
......
SFC001.MODE = "SEMI"
......
SFC001.MODE = "AUT"
......
10th Edition : Dec.18,2003-00
D5-96 <D5.6 SFC Block Action>
IM 33S01B30-01E
SFC Block Status
The SFC block status shows the SFC block operation status as executing, paused,
stopped, and aborted.
The SFC block has four status as described below:
Table SFC Block Status
Name Status Description
STOP Stopped The block is stopped and standing-by for a start command.
RUN Executing Step actions are being executed or transition conditions are being evaluated.
PAUS Paused Execution is suspended.
ABRT Aborted Execution has been aborted due to fatal or internal error or insufficient memory.
D050631E.EPS
The following commands are used to change the block status:
RUN:
Changes status to RUN, starting execution of the block or restarting the paused block.
STOP:
Changes status to STOP, stopping execution of the block.
PAUS:
Changes status to PAUS, suspending execution of the block.
RSET:
Resets status of the aborted block to STOP.
ABRT:
Changes status to ABRT, forcibly terminating execution of the block.
10th Edition : Dec.18,2003-00
<D5.6 SFC Block Action> D5-97
IM 33S01B30-01E
Transition of SFC Block Status
PAUS Stop Position
The transition of block status when the SFC block is in the AUT or SEMI mode is described.
RUN
PAUS
ABRT STOP
D050632E.EPS
STOP
PAUS
RUN
STOP
(*2)
RSET
PAUS
(*3)
RUN
ABRT
(*1)
ABRT
(*1)
*1: Status changes also in case of fatal or internal error, or insufficient memory.
*2: Status changes also when execution is terminated by the exit or end statement.
*3: Status changes at the start of a step when the block mode is SEMI.
Figure Transition of Block Status
The RUN command starts execution of the SFC block in the STOP status, which then
changes to RUN when started.
The PAUS command suspends execution of the SFC block in the STOP status at the
start of the initial step, the status then changes to PAUS.
The stopping position when the status is changed to PAUS during execution of a
SEBOL step action can be specified either at the start of the step or the current pro-
gram line.
In the SEMI mode, the block status changes from RUN to PAUS at the start of every
step. The step can then be executed upon receiving the RUN command from the
operation and monitoring function, etc.
An example of changing the status of the SFC block tag-named SFC001 using a SEBOL
program is shown below, in which a status change command character string is entered on
the right-hand side of each assignment statement :
.....
SFC001.BSTS = "RUN"
......
SFC001.BSTS = "PAUS"
......
SFC001.BSTS = "STOP"
......
10th Edition : Dec.18,2003-00
D5-98 <D5.7 Manipulating Unit Instrument from SFC Block>
IM 33S01B30-01E
D5.7 Manipulating Unit Instrument from SFC Block
Accessing unit data and transmitting signal to units from the SFC block are de-
scribed.
Accessing Unit Data
Unit data can be accessed from the SFC block as described below.
Use one of the following manners to access unit data:
Declare the unit tag name using the block or global block statement. Or assign the
unit tag name using the assign statement to the local generic name in the genname
statement or the global generic name in the global genname statement.
Define the unit data name in place of the function block data item name.
An example of accessing unit data from a SEBOL step is shown below:
!_UTSW is the unit model name.
block _UTSW UNIT001
char*8 umode, ustat
!Acquire the mode.
umode = UNIT001.MODE
!Acquire the status.
ustat = UNIT001.BSTS
.....
The <block model> referred by block statement, or etc., are the model name of unit
function blocks displayed in the Function Block Detail Builder.
The following three models of unit are supported.
_UTSW: Non-Resident Unit Instrument with Three-Position Switch
_UTPB: Non-Resident Unit Instrument with Five-Pushbutton Switch
_UTAS: Analog Non-Resident Unit Instrument
SEE ALSO
For the details of unit instruments, see the following:
D6.2, Unit Instrument
10th Edition : Dec.18,2003-00
<D5.7 Manipulating Unit Instrument from SFC Block> D5-99
IM 33S01B30-01E
Transmitting Signals to Units
Signals can be transmitted to units from the SFC block using the signal statement. Upon
receiving a signal, the unit sends the same signal to every unit operation being executed.
signal<signal name>[,<signal parameter>]to<tagname>
[;<error variable>>][; error <label>[,<error identifier>]]
errorsub
<signal name>:
<signal parameter>: An integer, long, float, or double-type numeric expression, or a
character string (effective up to the leading 16 bytes). Up to 8
parameters can be specified.
A character string constant or variable using up to 8 bytes.
<tag name>:
<label>:
<error identifier>:
The tag name of the destination unit for signal transmission. The
block statement-declared tag name, gene statement-declared local
generic name, or argblock statement-declared formal-argument
function block can be used. Specify %% for the present unit.
A branching destination for error processing.
A constant or local variable to identify the error-caused location in
error processing.
D050633E.EPS
10th Edition : Dec.18,2003-00
D5-100 <D5.7 Manipulating Unit Instrument from SFC Block>
IM 33S01B30-01E
It is required to designate a <tag name> when unit instrument transmitting a signal. If the
unit tag name is not specified, the signal is transmitted to the present unit.
The signal statement is normally terminated when the signal has been received by opera-
tions of the destination unit. Error is caused if none of unit operations receive the signal.
TIP
The signal statement is used for transmitting both queue and interrupt signals.
SEE ALSO
For the details of operations, see the following:
D6.8, Operations
10th Edition : Dec.18,2003-00
D6-1
IM 33S01B30-01E
<D6. Unit Supervision>
D6. Unit Supervision
Unit Supervision is an operating and monitoring activity for controlling the devices
grouped as a unit, of batch process or continuous process. Unit Supervision may
define a group of processing devices as a unit, each unit may be assigned with
a unit instrument, so that the operation on the grouped devices may be carried out
as a unit.
Usually, the devices of a process are operated and monitored individually, when
applying Unit Supervision, a plant may be operated in a much-simplified manner.
10th Edition : Dec.18,2003-00
D6-2 <D6.1 Outline of Unit Supervision>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
D6.1 Outline of Unit Supervision
In this section, Unit Supervision of CS 1000/CS 3000 is explained.
D6-3
IM 33S01B30-01E
<D6.1 Outline of Unit Supervision>
10th Edition : Dec.18,2003-00
D6.1.1 What is a Unit?
A unit is a group of device modules for controlling main process procedures in a
plant, such as the modules, assigned with tag names, for distillation columns or
reactors. So that the operation may be carried out by groups instead of individual
devices. Control and management for devices can be performed cooperatively as a
grouped unit.
A Continuous Process Unit
When a complicated application for process control and management is applied to a
continuous process, many sequence tables may be used. Using the Unit Supervision, the
process management may be controlled by a single unit instrument, and the detailed
process steps may be controlled by the operations related to the unit instrument.
D060101E.EPS
Raw material
Steam
Fuel
Cracked gas
Figure A Continuous Process (Cracking Furnace) Unit
System disconnection
Raw material stop
Steam introduction
Cooling
Heating
Raw material feed
D060102E.EPS
Figure Decaulking Work Flow
D6-4 <D6.1 Outline of Unit Supervision>
IM 33S01B30-01E
A Batch Process Unit
In batch processing for a chemical plant, devices used for control operations are grouped
into several equipment entities for different processes, such as reaction process and
crystallization process. By assigning a unit instrument to each group, operation can be
performed by equipment entities.
Material A
Material B
Unit A
STM
Discharge
TIC
TIC
Discharge
STM
TIC
TIC
Unit C
Unit B
Discharge
TIC
TIC
Intermediate
product C
Material D
M
M
M
D060103E.EPS
STM
Figure A Batch Process Unit
10th Edition : Dec.18,2003-00
D6-5
IM 33S01B30-01E
<D6.1 Outline of Unit Supervision>
D6.1.2 ISA S88.01 and Unit Supervision
ISA-SP88 is a specification worked out by a group of users and vendors gathered
together for setting a standard for American ISA (Instrument Society of America)
standardization. Part of it, Batch Control Part1: Models and Terminology has com-
pleted and was published as IEC 61512-1 in 1997.
In this section, the ISA S88.01 and Unit Supervision will be explained.
Physical Model
ISA S88.01 stipulates a seven-level Physical Model (physical assets based model). Unit
Supervision applies the Unit Instruments, Operations and Regulatory Control Blocks (PID
etc.) to represent the Units (devices), Equipment Modules and Control Modules. Thus, the
control modules, in a hierarchy, for whole plant may be constructed except for the field
devices in the physical layer.
Enterprise
Site
Area
Process Cell
Unit
Equipment Module
Control Module
ISA S88.01 Physical Model Unit Supervision
Unit Instrument
Operation (SFC)
Regulatory Control Block
SEBOL
Sequence Table
Logic Chart
D060201E.EPS
Figure ISA S88.01 Physical Model and CS 1000/CS 3000 Unit Supervision
10th Edition : Dec.18,2003-00
D6-6 <D6.1 Outline of Unit Supervision>
IM 33S01B30-01E
Control Activity Model
In ISA S88.01, the Control Activity Model consists of seven control activities for batch
manufacturing control is defined as follows. Unit Supervision is positioned at the supervi-
sory level of process control (Function Block) activity.
Furthermore, Unit Supervision is not only limited for batch process but can also be applied
to continuous process. Thus, Unit Supervision may be configured to execute independently
without applying the Process Management.
D060202E.EPS
Production Planning
and Scheduling
Production Information
Management
Recipe Management
Process Management
Unit Supervision
Process Control
(Function Block)
Scope of Unit Supervision
Personnel and
Environmental Protection
Figure ISA S88.01 Control Activity Model and CS 1000/CS 3000 Unit Supervision
10th Edition : Dec.18,2003-00
D6-7
IM 33S01B30-01E
<D6.1 Outline of Unit Supervision>
Procedural Control Model
For a batch process, the products produced in the process requires proper procedural
control for operation and manufacture. This procedural control is in a hierarchical manner
and is stipulated in S88.01 as Procedural Control Model. Unit Supervision conforms to the
ISA S88.01 model and controls the Sequence Table, Logic Chart assigned under the
hierarchy of Phase when running the operations in SFC. The operations executed in unit
instruments are under the supervisory control of the unit procedure.
D060203E.EPS
Procedure
Operation
Phase
Procedure
Unit Procedure
Sequence
table
SEBOL
Unit procedure
Phase
ISA S88.01
Procedural Control Model
01 Charging A
01 Blending
02 Reaction
03 Charging B
Operation
01 Initialization
02 Catalyst charging
03 Curing
Logic
chart
02 Heating
04 Reaction
Unit instrument
Scope of Unit Supervision
Figure ISA S88.01 Procedural Control Model and CS 1000/CS 3000 Unit Supervision
10th Edition : Dec.18,2003-00
D6-8 <D6.1 Outline of Unit Supervision>
IM 33S01B30-01E
Procedure
The procedure defines the processing strategy in a unit for product manufacture.
Unit Procedure
A unit procedure is a procedure running in a unit instrument. The unit instrument is defined
with the procedure for the corresponding control entity and physical equipment, and it
displays each manufacturing stage when the production carried out in that physical equip-
ment. A unit procedure consists of one or more operations and is configured in one unit
instrument.
Operation
An operation is a sub-procedure of the unit procedure; it consists of a set of phases.
Normally, one operation is running in one unit instrument as the operating sequence for
controlling a continuous processing unit. For a batch processing unit, multiple operations
are normally running in one unit instrument as the operating sequence.
The operations for batch process may not only be assigned to a specific product, but may
also be applied as a common operations shared by others.
However, the operations, the unit instrument for calling the operations must be placed in
the same FCS.
Phase
Phase is the smallest element of procedural control for the corresponding process actions.
For the production process divided in many parallel production lines with many stages, a
phase may also represent each process stage.
According to CS 1000/CS 3000 Unit Supervision, the SEBOL program, the sequence table
and the logic chart called out by the operations are conforming to the phases.
10th Edition : Dec.18,2003-00
D6-9
IM 33S01B30-01E
<D6.1 Outline of Unit Supervision>
D6.1.3 Batch Management and Unit Supervision
This chapter explains how to apply Unit Supervision together with Batch Manage-
ment.
Unit Supervision
When Batch Management is applied at the upper level of Unit Supervision, the nonresident
type unit instruments should be used.
For a nonresident unit instrument, the unit procedure can not be defined on the function
block. A unit recipe procedure created by Batch Management may be assigned as a unit
procedure to the unit instrument when running the recipe. Thus, if there is no unit recipe is
running, the unit instrument does not have any unit procedure.
The followings will describe the behavior of Unit Supervision built-in Process Management.
Nonresident Unit
Nonresident Unit is a unit instrument may be applied to execute a unit recipe procedure
assigned to it. When the unit recipe is not running, the unit procedure does not reside.
Common Block Data Access
When a common block applied in a recipe, its data may be accessed by operations.
Data Items for Process Management
On the unit instrument system fixed data items, the data for process management are set.
SEE ALSO
For details on recipe management and process management, see the following:
Part G, Batch Management
10th Edition : Dec.18,2003-00
D6-10 <D6.1 Outline of Unit Supervision>
IM 33S01B30-01E
D6.1.4 Application Capacity of Unit Supervision
Application capacity for Unit Supervision is described below.
Application Capacity of Unit Supervision
Table Application Capacity For PFCS
Item Max. capacity
D060401E.EPS
No. of units 2 per FCS, 10 per FCS, 15 per FCS(*1)
No. of operation 30 per FCS, 100 per FCS, 120 per FCS(*1)
No. of generic tag names (arrays) 256 per unit
No. of generic tag names (array elements) 512 per unit
No. of unit procedure steps 99 steps
No. of SFC operation steps 99 steps
No. of Transitional Matrixes 16 per project
No. of operation generic names
64 per unit
99 per unit
32768 byte per unit User-defined data memory size
256 per unit
Resident unit
Nonresident unit
No. of user-defined data items
*1: The maximum number varies with the FCS database types.
SEE ALSO
For details on FCS database type of PFCS, see the followings:
FCS Database Types Selectable in the Standard Type PFCS in Define Database Type
in F1.4.1, Creating a New FCS
FCS Database Types Selectable in the Enhanced Type PFCS in Define Database Type
in F1.4.1, Creating a New FCS
10th Edition : Dec.18,2003-00
D6-11
IM 33S01B30-01E
<D6.1 Outline of Unit Supervision>
Application Capacity of Unit Supervision
Table Application Capacity SFCS
Item Max. capacity
No. of unit instruments 20 per FCS (*1)
No. of operations 150 per FCS (*1)
No. of generic tag names (arrays) 256 per unit
No. of generic tag names (array elements) 512 per unit
99 per unit
No. of unit procedure steps 99 steps
No. of SFC operation steps 99 steps
D060402E.EPS
No. of Transitional Matrixes 16 per project
No. of generic operation names
8192 byte per unit User-defined data memory size
256 per unit No. of user-defined data items
*1: The maximum number varies with the FCS database types.
SEE ALSO
For details on FCS database type of SFCS, see the following:
FCS Database Types Selectable in the SFCS : SFCS in Define Database Type in
F1.4.1, Creating a New FCS
Table Application Capacity LFCS
Item Max. capacity
No. of unit instruments 5 per FCS, 35 per FCS, 30 per FCS (*1)
No. of operation 20 per FCS, 250 per FCS, 200 per FCS (*1)
No. of generic tag names (arrays) 256 per unit
No. of generic tag names (array elements) 512 per unit
99 per unit
No. of unit procedure steps 99 steps
No. of SFC operation steps 99 steps
D060403E.EPS
No. of Transitional Matrixes 16 per project
No. of generic operation names
8192 byte per unit User-defined data memory size
256 per unit No. of user-defined data items
*1: The maximum number varies with the FCS database types.
SEE ALSO
For details on FCS database type of LFCS, see the following:
FCS Database Types Selectable in the LFCS : LFCS in Define Database Type in
F1.4.1, Creating a New FCS
10th Edition : Dec.18,2003-00
D6-12 <D6.1 Outline of Unit Supervision>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Table Application Capacity LFCS2
Item Max. capacity
No. of unit instruments 60 per FCS (*1)
No. of operation 400 per FCS (*1)
No. of generic tag names (arrays) 256 per unit
No. of generic tag names (array elements) 512 per unit
99 per unit
No. of unit procedure steps 99 steps
No. of SFC operation steps 99 steps
D060405E.EPS
No. of Transitional Matrixes 16 per project
No. of generic operation names
8192 byte per unit User-defined data memory size
256 per unit No. of user-defined data items
*1: The maximum number varies with the FCS database types.
SEE ALSO
For details on FCS database type of LFCS2, see the following:
FCS Database Types Selectable in the LFCS2 : LFCS2 in Define Database Type in
F1.4.1, Creating a New FCS
Table Application Capacity KFCS
Item
No. of unit instruments 5 per FCS, 30 per FCS (*1)
No. of operation 20 per FCS, 250 per FCS, 200 per FCS (*1)
No. of generic tag names (arrays) 256 per unit
No. of generic tag names (array elements) 512 per unit
99 per unit
No. of unit procedure steps 99 steps
No. of SFC operation steps 99 steps
D060404E.EPS
No. of Transitional Matrixes 16 per project
No. of generic operation names
8192 byte per unit User-defined data memory size
256 per unit No. of user-defined data items
Max. capacity
*1: The maximum number varies with the FCS database types.
SEE ALSO
For details on FCS database type of KFCS, see the following:
FCS Database Types Selectable in the KFCS : KFCS in Define Database Type in
F1.4.1, Creating a New FCS
D6-13
IM 33S01B30-01E
<D6.1 Outline of Unit Supervision>
10th Edition : Dec.18,2003-00
Table Application Capacity KFCS2
Item
No. of unit instruments 60 per FCS (*1)
No. of operation 400 per FCS (*1)
No. of generic tag names (arrays) 256 per unit
No. of generic tag names (array elements) 512 per unit
99 per unit
No. of unit procedure steps 99 steps
No. of SFC operation steps 99 steps
D060406E.EPS
No. of Transitional Matrixes 16 per project
No. of generic operation names
8192 byte per unit User-defined data memory size
256 per unit No. of user-defined data items
Max. capacity
*1: The maximum number varies with the FCS database types.
SEE ALSO
For details on FCS database type of KFCS2, see the following:
FCS Database Types Selectable in the KFCS2 : KFCS2 in Define Database Type in
F1.4.1, Creating a New FCS
D6-14 <D6.2 Unit Instrument>
IM 33S01B30-01E
D6.2 Unit Instrument
Unit Instrument is a part of Unit Supervision application. Unit Instruments can be
applied for controlling and operating a series of processes, such as heating, agita-
tion, reaction and distillation.
The process control can be carried out with the operations called from unit proce-
dures, while the unit procedures are called from the unit instrument.
10th Edition : Dec.18,2003-00
D6-15
IM 33S01B30-01E
<D6.2 Unit Instrument>
Type of Unit Instruments
A unit instrument consists of unit instrument data items and unit procedures.
A unit procedure is an ordered set of operations for controlling the process of product
manufacture.
An operation is an ordered set of the control sequences, the operations consist of the
following types.
The operation may be started by a unit procedure
The operation for real-time monitoring
The operation for process initialization to the unit instrument execution.
The operation for interrupt processing which interrupts to the sequentially started
control sequences.
The data items of a unit instrument are mainly for tuning parameters and monitoring the
process. Some data items on the unit instrument are user definable.
There are two types of unit instruments, resident type and non-resident type.
Resident Unit
A resident unit means that a unit instrument is assigned with fixed unit procedure (SFC).
When the manufacturing procedure for production is always the same, the resident unit
may be applied.
Unit Instrument
Unit procedure (Fixed)
System-fixed data items
User-definable data items
D060201E.EPS
Initialization
Charging 1
Charging 2
Agitation
Unit instrument data items
Figure Resident Unit Instrument
10th Edition : Dec.18,2003-00
D6-16 <D6.2 Unit Instrument>
IM 33S01B30-01E
Non-Resident Unit
A non-resident unit means that a unit instrument is not assigned with fixed unit procedure.
So that a non-resident unit may use the unit recipe procedure created by Batch Manage-
ment for application. The unit recipe procedure may be downloaded to the specified non-
resident unit when setting up the recipe.
The non-resident unit may be applied together with Batch Management.
Unit Instrument (Nonresident)
Unit procedure (editable)
System-fixed data items
User-definable data items
D060202E.EPS
Initialization
Charging 1
Charging 2
Agitation
Unit instrument data items
Batch Management
Unit recipe procedure
Download
Figure Non-Resident Unit Instrument
Unit Instrument Block Models
They are categorized into two types, resident type and nonresident type. Each type con-
sists of three models.
Resident Unit Models
Resident unit instruments consist of the following three block models.
_UTAS Analog Unit Instrument
_UTPB Unit Instrument with Five-Pushbutton Switch
_UTSW Unit Instrument with Three-Position Switch
Nonresident Unit Models
Nonresident unit instruments consist of the following three block models.
_UTAS-N Analog Non-Resident Unit Instrument
_UTPB-N Non-Resident Unit Instrument with Five-Pushbutton Switch
_UTSW-N Non-Resident Unit Instrument with Three-Position Switch
10th Edition : Dec.18,2003-00
D6-17
IM 33S01B30-01E
<D6.2 Unit Instrument>
Unit Instrument Elements
A unit instrument is constructed with the following elements.
Unit Instrument Data Items
The process data, the data controlled by the unit instrument such as the internal tempera-
ture and pressure of a reactor can be assigned to the unit instrument data items for control
and monitoring.
The information related to the process flow such as the load factor and the operating rate,
or the quality, the name and the information related to the products being manufactured
may be displayed via instrument data items.
There are 4 types of data items for unit instrument, shown as follows.
System fixed data items
User definable data items
Data items for faceplate (Fixed by each model of unit instrument)
Data items for process management (Fixed by each model of unit instrument)
Unit Procedure
A unit procedure controls an ordered set of operations. An operation is a set of control
sequences corresponds to the physical equipment.
The unit procedure may be formed in an SFC (Sequential Function Chart), by registering
the names of operations to the step action columns of SFC.
A unit instrument may not only execute the operations started by the unit procedure but
may also execute the operation for initialization and the operation for monitoring.
Furthermore, the unit recipe procedure created by Batch Management can be used for a
nonresident unit procedure.
Operation
There are two types of operations are available, the operations programmed in SEBOL and
operations programmed in SFC. The data items of operations are not user definable.
In the operations programmed in SEBOL, the main process, status change process and
signal conditioning process are all written in SEBOL.
While in the operations programmed in SFC, the main process and status change process
are described by SFC, but the sequences in each step are described in SEBOL, sequence
table, or logic chart. There are 6 models of operations programmed in SFC are available,
they are classified according to their available data items.
OPSFC SFC Operation
OPSFCP1 SFC operation with floating-data parameters
OPSFCP2 SFC operation with character-data parameters
OPSFCP3 SFC operation with floating/character-data parameters
OPSFCP4 SFC operation with integer/character-data parameters
OPSFCP5 SFC operation with floating/integer-data parameters
10th Edition : Dec.18,2003-00
D6-18 <D6.2 Unit Instrument>
IM 33S01B30-01E
Unit Mode and Unit Status
A unit instrument likes other function blocks also has mode and status.
The mode and status of a unit instrument are referred to as unit mode and unit status
respectively.
The unit mode includes AUT, SEMI etc. may indicate the control mode of the unit instrument.
The unit status includes END, ABORTED etc. may indicate the operation state of the unit
instrument.
State Transition Matrix
State transition matrix determines the states to transit corresponding to a unit mode change
or a unit status change.
When a unit mode change or a unit status change command is given, the unit instrument
may change its unit mode or unit status according to the state transition matrix to control
the programs and operations in the unit instrument.
Interrupt Processing
The interrupt processing is available when an operation started from a unit procedure is
interrupted. The interrupt processing to an operation may have the following activities.
Processing prior to status change
An interrupt processing triggered by an one-shot command for unit mode or unit
status change.
This processing allows SEBOL or other programs to check and give the permission for
the block status change.
Processing after status change
An interrupt processing after a unit mode or a unit status change.
Processing upon an interruption signal
Upon a designated signal, the specified interrupt processing may be executed.
Alarm Status
A unit instrument may display its alarm status just like other function blocks. With a SEBOL
statement (unit prcsalarm) scripted in an operation, the unit instrument may generate
messages for occurrence and recovery of an alarming status. The alarm messages gener-
ated by a unit instrument, just like other function blocks, may be displayed on the process
alarm window. Moreover, the alarm priority, alarm detection, alarm inhibition and so on may
be defined for the unit instrument alarms.
Message
There are following types of messages related to the unit instrument. Just like other func-
tion blocks, the unit instrument related messages are also stored in the historical message
save file in HIS.
Unit process alarm occurrence/recovery message
Unit mode/status change message
Sequence message
System alarm message
Operation record message
10th Edition : Dec.18,2003-00
D6-19
IM 33S01B30-01E
<D6.3 Unit Instrument Data Items>
D6.3 Unit Instrument Data Items
Unit instrument data items are used to indicate the process data of unit-controlled
equipment modules. And the temperature and pressure of reactors and other pro-
cess data such as material feed quantities can be set on the data items.
Data Types of Unit Instrument
The data can be used on the unit instrument data items are shown below. Different from the
data of function blocks, the data of unit instruments are not attached with data status
information.
Table Unit Instrument Data Types
Type Description Remarks
I16 16-bit signed integer -32768 to 32767
I32 32-bit signed integer -2147483648 to 2147483647
0 to 4294967295 U32 32-bit unsigned integer
F32 Single-precision floating-point (32 bits) -3.402823 10
38
to 3.402823 10
38
F64 Double-precision floating-point (64 bits) -1.79769313486231 10
308
to 1.79769313486231 10
308
CHR*n Character-string (2n16)
D060301E.EPS
Data Items of Unit Instrument
A unit instrument has the following groups of data items:
System-fixed data items
Faceplate data items
User-defined data items
Data items for process management (nonresident unit instrument)
10th Edition : Dec.18,2003-00
D6-20 <D6.3 Unit Instrument Data Items>
IM 33S01B30-01E
D6.3.1 System-Specific Data Items
System-fixed data items are a group of preset unit data items, such as data item
names, data names and data types. These system-fixed data items cannot be
changed by the user.
10th Edition : Dec.18,2003-00
D6-21
IM 33S01B30-01E
<D6.3 Unit Instrument Data Items>
System-Fixed Unit Instrument Data Items
System Definition Data Items
The specifications of system-fixed data item names, data names and data types are shown
below:
Table System-Fixed Data Items
Data item name Data name Data type Entry
MODE Unit mode CHAR*8
BSTS Unit status CHAR*8
SUBS Unit substatus CHAR*8
RUNS Unit control status CHAR*8
ALRM Alarm CHAR*8
AFLS Alarm flashing U32
AOFS Alarm suppression specification U32
AF Alarm detection specification U32
ERRC Classified error code U32
ERRE Detailed error code U32
ERRL Error-caused step number U32
STEPNO SFC step number I16
OPMK Operation mark I16
SAID System APID I16
UAID User APID I16
SUAID Self-user reserve I16
OMOD Unit mode (lowest priority) CHAR*4
CMOD Unit mode (highest priority) CHAR*4
DILG Dialog acknowledgement U32
PREMODE Previous unit mode U32
PREBSTS Previous unit status U32
STARTIME Execution start date & time U32
ENDTIME Execution end date & time U32
BATCHID Batch ID CHAR*16
USER1 User code 1 CHAR*16
USER2 User cord 2 CHAR*16
USER3 User code 3 CHAR*16
USER4 User code 4 CHAR*16
RECIPEGR Recipe group number I16
RECIPE Recipe name CHAR*16
PARTNO Unit recipe number I16
Data item name Data name Data type Entry
Remark
For Process Management
For Process Management
For Process Management
For Process Management
For Process Management
For Process Management
For Process Management
For Process Management
Remark
D060302E.EPS
0
0x0000
0
0
0
0
0
0
0
Default
AUT
END
NR
AUT
END
Default
: Entry allowed at all times.
Blank: Entry not allowed.
10th Edition : Dec.18,2003-00
D6-22 <D6.3 Unit Instrument Data Items>
IM 33S01B30-01E
D6.3.2 Faceplate Data Items
These data items are used for displaying data of unit faceplates. Different sets of
data items are applied to different faceplates.
Data Items for Analog Unit Instrument Faceplate
The specifications of faceplate data items for analog unit instrument faceplates, which are
in accordance with the _UTAS or _UTA-N unit model, are shown below:
Table Analog Type Faceplate Data Items
Data item name Data name Data type Entry Range Default
PV Process variable F32 PV engineering-unit data SL
SV Setpoint value F32 PV engineering- unit data SL
MV Manipulated output value F32 MV engineering-unit data MSL
SH Scale high limit F32 PV engineering-unit data 100.0
SL Scale low limit F32 PV engineering-unit data 0.0
MH MV high-limit setpoint F32 MSL to MSH MSH
ML MV low-limit setpoint F32 MSL to MSH MSL
SVH Setpoint high limit F32 SL to SH SH
SVL Setpoint low limit F32 SL to SH SL
MSH MV-scale high limit F32 MV engineering-unit data 100.0
MSL MV-scale low limit F32 MV engineering-unit data 0.0
SWCR[5] Switch display color I16 0 to 15 7 (*1)
SWLB[5] Switch label CHAR*8 None null (*2)
SWST[5] Switch flashing status I16 0,1 0 (*1)
SWOP[5] Switch disabled status I16 -15 to 15 0 (*1)
D060303E.EPS
: Entry allowed at all times.
Blank: Entry not allowed.
*1: Array [1] to array [5] are the same.
*2: The default settings for SWLB[1] to SWLB[5] are as follows.
SWLB[1]: START, SWLB[2]: PAUSE, SWLB[3]: RESTART, SWLB[4]: SUSPEND, SWLB[5]: END
TIP
For the data display on [PV], [SV], [MV], it is required to define them in the monitoring operations or etc..
10th Edition : Dec.18,2003-00
D6-23
IM 33S01B30-01E
<D6.3 Unit Instrument Data Items>
Data Items for 5-Pushbutton Switch Faceplate
The specifications of faceplate data items for 5-pushbutton switch faceplates, which are in
accordance with the _UTPB or _UTPB-N unit model, are shown below:
Table 5-Pushbutton Faceplate Data Items
Data item name Data name Range Default
SWCR[5] Switch display color 0 to 15 7: White (*1)
SWLB[5] Switch label None (*2)
SWST[5] Switch flashing status 0,1 0: Stop (*1)
SWOP[5] Switch disabled status
Data type
I16
CHAR*8
I16
I16
Entry
]
<signal name> a character string constant using up to 8 bytes.
D061406E.EPS
The signal is ignored and error is returned to the source if an undeclared signal or any
non-defined interrupt signal is received.
The queue signal statement can be used wherever declaration is allowed in the
initial step (global and local variable declarations).
The queue signal statement cannot be used in steps other than the initial step.
An error is caused if the same signal name is declared in duplication.
An error is also caused if the same signal name as an interrupt signal name is de-
clared.
The following is an example of queue signal declaration:
queue signal "SG1,""SG2"
Signal Processing
The operation block fetches the first signal in the queue to process the signal in the main
program.
When the operation block in the RUN or PAUS status receives a queue signal, it is stored in
the signal queue. If the block is in a status other than RUN or PAUS, the received signal will
be ignored and an error will be returned to the signal source.
The operation block signal queue may be cancelled as required.
Queue signals are transmitted using the signal statement and pending signals can be
manipulated using qsigcancel and qsigmove statements.
SEE ALSO
For the details of queue signal transmission and pending signal manipulation, see the following:
H1.12, Signal Processing
10th Edition : Dec.18,2003-00
D6-153
IM 33S01B30-01E
<D6.14 Interrupt Processing of Operation>
Fetching Queue Signals
Maximum Number of Queue Signal Parameters, Maximum Number of Acceptable Queue Signal
Parameters
The first signal in the queue is fetched for processing when the wait for qsignal statement
(see below) is executed in an operation block.
Syntax for waiting for signal-receiving only:
wait for qsignal<signal name-storing variable>
Syntax for waiting for signal-receiving or the expressed condition is satisfied:
wait for qsignal<signal name-storing variable>(<expression>)
[;<error variable>][; error <label>[,<error identifier>]]
errorsub
<signal name-storing variable>: Character-string local variable to store received
signal names.
<error variable>: Local variable for code-setting when error is caused
(0 when no error is caused).
<label>: Branching destination when error is caused.
<error identifier>: Local variable or constant to identify error-caused
locationin the error handling phase.
D061407E.EPS
The maximum number of received signal parameters can be specified in a range of 2 to 8
(2 at default) for the parameter attached to a queue signal on the Function Block Detail
Builder. Any signal received exceeding the specified number will be ignored, and initiate an
error.
The maximum number of signals received in the queue can be specified in a range of 0 to
99 (5 at default) on the Function Block Detail Builder. No additional signals can be received
exceeding the specified number. Any signal transmitted when the queue is full, an error will
be returned to the signal source.
The signal fetched used wait for qsignal statement from the queue and being processed
is included in the count of the specified maximum number of signals. The processed signal
will be dequeued when the next signal is fetched used wait for qsignal statement.
10th Edition : Dec.18,2003-00
D6-154 <D6.14 Interrupt Processing of Operation>
IM 33S01B30-01E
Syntax of wait for qsignal Statement - Waiting only
This syntax is used to wait until a queue signal is received. If no signal is in the queue when
the wait for qsignal statement in this format is executed, the operation waits until a signal
is received while the queue is checked for any received signal once every scan period of
the block at most.
As soon as a signal is received and fetched from the queue for processing, the name of the
signal is stored in the specified variable.
TIP
Status change pre-processing or post-processing, or interrupt signal processing will be executed
while the waiting for the receiving of queue signals.
If time cannot be shared sufficiently for the once-every-scan-period check for received signals, the
check will be made no more than once every few scan periods.
Syntax of wait for qsignal Statement - Waiting and Testing Conditions
This syntax is used to wait until a queue signal is received or the condition specified by the
expression is satisfied.
The expression is first calculated when the wait for qsignal statement in this format is
executed. If the result is true (other than 0), the condition is satisfied and the statement is
closed. If the result is false (0), the presence of signals in the queue is checked.
When the statement is closed with the condition satisfied, a null-length character string ()
is stored in the signal name-storing variable. When a signal has been fetched from the
queue, the name of the signal is stored in the variable. When the result of the expression is
false and no signal is in the queue, both the expression and the queue will be checked
once every scan period of the block at most.
<label> can be used to specify the destination for branching when error is caused. If error
or errorsub is not used, execution is resumed from the next statement when error is
detected.
Specifying <error identifier> permits to identify the error-caused location in the error han-
dling phase, which provides the identifier value using a built-in function.
TIP
It is recommended to use just one wait for qsignal statement, in either one of the two formats, in the SFC
block, and program so that execution returns to the statement for successive signal processing upon
completion of the current signal processing.
SEE ALSO
For the details of error processing, see the following:
H1.13, Error Handling
10th Edition : Dec.18,2003-00
D6-155
IM 33S01B30-01E
<D6.14 Interrupt Processing of Operation>
Fetching Signal Parameters
Upon completion of the wait for qsignal statement with a signal fetched from the queue,
the parameter and name of that signal can be read.
Built-in function creadpara, lreadpara, or dreadpara can be used to read the signal
parameter; and built-in function creadpara can be used to read the signal name.
creadpara(<parameter number>)
lreadpara(<parameter number>)
dreadpara(<parameter number>)
<parameter number> : 1 to 8(integer constant or variable),
0 for dreadpara reads the signal name.
D061408E.EPS
creadpara is a character-string function, lreadpara is a long integer function, and
dreadpara is a long double-precision floating-point real-number function, and they can be
used to read character-string, integer, and real-number signal parameters respectively.
Running any of these built-in functions after the expressed condition in the wait for qsignal
statement with waiting and testing condition options has been established will cause error
when executed.
10th Edition : Dec.18,2003-00
D6-156 <D6.14 Interrupt Processing of Operation>
IM 33S01B30-01E
Examples of Queue Signal Processing
Examples of queue signal processing using the syntax of the wait for qsignal statement
are shown below.
Waiting for Signal
An example of executing the wait for qsignal statement with Waiting for Signal Syntax.
01 Initial step
02 Waiting for signal
03 "SG1" process 1
04 "SG1" process 2
......
queue signal "SG1" "SG2"
......
char*16 signame
wait for qsignal signame
! Signal name set at signame.
......
signame == "SG1"
J01
J01 J01
signame == "SG2"
05 "SG2" process 1
06 "SG2" process 1
D061409E.EPS
Figure Example of Queue Signal Processing Using Waiting for Signal Syntax
The wait for qsignal statement is executed in step 2 and a signal is fetched from the
queue. The signal name is then evaluated according to the transition condition defined
following step 2, selecting either SG1 or SG2 for processing.
10th Edition : Dec.18,2003-00
D6-157
IM 33S01B30-01E
<D6.14 Interrupt Processing of Operation>
Waiting for Signal or Testing Condition
An example of executing the wait for qsignal statement with Waiting for Signal and Testing
Condition Syntax.
01 Initial step
02 Waiting for signal
04 03 "SG1" process 1
05 "SG1" process 2
signame == "SG1" signame == "SG2"
06 "SG2" process 1
07 "SG2" process 2
D061410E.EPS
......
queue signal "SG1" "SG2"
......
char*16 signame
wait for qsignal signame (<expression>)
! Signal name set at signame.
......
signame == ""
J01
J01 J01 J01
Process when
<expression> is
satisfied
Figure Example of Queue Signal Processing Using Waiting for Signal and Testing Condition
Syntax
The wait for qsignal statement is executed in step 2, determining to wait for a signal or to
calculate the expression. The result of the expression is checked for the first transition
condition defined following Step 2. Either SG1 or SG2 is selected for processing according
to the other two transition conditions.
10th Edition : Dec.18,2003-00
D6-158 <D6.14 Interrupt Processing of Operation>
IM 33S01B30-01E
Referencing
Reference Signal Parameter Numbers
Either the signal name or the signal parameter of the queued signal can be set to
operations data item QUEUE[] as one element. All queued elements can be accessed by
SEBOL as CHR16 character-strings.
The data of the signal being processed can not be put into QUEUE[], only the data waiting
for processing can be put into QUEUE[] data item.
Example of Referencing
When the queue has four signals, for example, referencing can be made as described
below:
SG2
AUTUMN
SG1
SUMMER
SG2
WINTER
SG1
SPRING
D061411E.EPS
*1
*1: The first parameter
*1 *1 *1
Figure Queue Holding Four Signals
If the reference signal parameter number is 1, the contents of QUEUE elements are as
follows:
Queue[1] = "SUMMER"
Queue[2] = "AUTUMN"
Queue[3] = "WINTER"
Queue[4] = "SPRING"
Queue[5] = " "
.....
Queue[10] = " "
QUEUE[5] to QUEUE[10] are zero-length character strings since there is no data.
10th Edition : Dec.18,2003-00
D6-159
IM 33S01B30-01E
<D6.14 Interrupt Processing of Operation>
D6.14.2 Status Change Processing
There are following two types of the interrupt processes executed with a block
status change command:
Status-change pre-processing
Status-change post-processing
Processing Flow Operation
The flow of processing when an operation block receives a status change command is
shown below:
Is the command viable?
Status-change pre-process
Is the change feasible?
Status change executed
Status-change post-process
End
Yes
Yes
No
No
Executed as the
command is received.
D061412E.EPS
Status change command received
Figure Flow of Status Change Process
As the operation block receives a status change command, the feasibility of the com-
manded change and the interrupt processes are checked in relation to the current status.
The conditions for block status changes are shown below:
Table Feasibility of Block Status Change
Current status
Status commanded for change
STOP RUN PAUS RSET ABRT
STOP (*1)
RUN (*1)
PAUS (*1)
ABRT (*1)
D061413E.EPS
: Status change feasible. Both pre- & post-processes executable.
: Status change feasible, but pre- & post-processes not executable.
Blank: Status change not feasible.
*1: Command ignored.
10th Edition : Dec.18,2003-00
D6-160 <D6.14 Interrupt Processing of Operation>
IM 33S01B30-01E
Feasibility Checking
When an operation block current status is STOP and receives a command to change to
RUN or PAUS status, it will start a pre-process to interrupt the main program. If the block
receives a command to change to RSET, ABRT, or STOP status when current status is
STOP, an error will occur. A change command RSET is accepted only when the current
status is ABRT.
A change command ABRT can be accepted when the current status is RUN or PAUS.
When the operation block receives ABRT command, the operation block will be forcibly
terminated and the status will change to ABRT.
IMPORTANT
The command to change the status to ABRT is a command to forcibly terminate the opera-
tion block and should not be used during normal operation.
The ABRT command is different from other status change commands, the differences are
as follows.
Pre- and post-processing cannot be defined for the command.
The command can be received even when another status change command post-
processing is running.
Pre-Processing
The feasibility of status change is determined in the pre-process. If the change is denied,
the source of the command is notified of the error. The status is changed as commanded if
the pre-process is not defined.
Status Changing
The status of an operation block is changed as commanded when the change is justified
both in the initial check in relation to the current status and the check performed in pre-
processing.
Post-Processing
Status-change post-processing is executed in accordance with the execution of the opera-
tion block itself, not with the receiving of the status change command.
The status change is prohibited when the current post-process is running; the received
status change command will be treated as an error and ignored.
10th Edition : Dec.18,2003-00
D6-161
IM 33S01B30-01E
<D6.14 Interrupt Processing of Operation>
Status Change Pre-Process - Operation
The status-change pre-process is one-shot-executed upon receipt of the status change
command before changing the block status. There are three types of scripts for status-
change pre-process.
SEBOL one-shot execution step (SEBOL one-shot)
Sequence table one-shot execution step (Sequence table one-shot)
Logic chart one-shot execution step (Logic chart one-shot)
Since the status-change pre-process is one-shot-executed, it must be completed as quickly
as possible. Do not access data of another control station and delay the process. Only one
step can be executed as pre-process, where no transition condition can be defined.
Pre-process 01
STOP
D061414E.EPS
Figure Status-Change Pre-Process
At the SEBOL and sequence table one-shot steps, the feasibility of status change can be
determined. With the logic chart one-shot step, the status can be changed. If the pre-
process is not defined, the status can also be changed. At the pre-process, the status and
mode of the pre-process-described operation block or other operation blocks cannot be
changed.
10th Edition : Dec.18,2003-00
D6-162 <D6.14 Interrupt Processing of Operation>
IM 33S01B30-01E
Pre-Processing Using SEBOL Oneshot Step
The SEBOL oneshot step will be completed when the last line, or return or quit state-
ment is executed.
If the last line or quit statement is executed, the feasibility of status change will be tested.
If the return statement is executed, the feasibility of status change will be determined
according to the returned value as follows:
return[<status change feasibility>]
<status change feasibility>: Integer constant or numerical expression.
==0: Change denied.
<>0: Change justified.
Omitted: Change justified.
D061415E.EPS
The SEBOL oneshot step in which the pre-process is defined has the following additional
restrictions over the normal steps:
exit statement cannot be used. Error occurs if used.
signal statement cannot be used. Error occurs if used.
qsigcancel and qsigmove statements cannot be used. Error occurs if used.
isigmask and isigunmask statements cannot be used. Error occurs if used.
semlock: and semunlock statements cannot be used. Error occurs if used.
In the case of fatal error, only a SEBOL error message is output and the operation
block is not terminated. Any status change will be denied.
When an execution error is detected, no branching is made to common error process-
ing and a SEBOL error message is output. Any status change will be denied.
The block status and mode of the present operation block or any other operation block
cannot be changed.
10th Edition : Dec.18,2003-00
D6-163
IM 33S01B30-01E
<D6.14 Interrupt Processing of Operation>
Pre-Processing Using Sequence Table One-Shot Step
In the sequence table one-shot step, the feasibility of status change is determined accord-
ing to the result of sequence-table evaluation. The status change is justified when the result
is true (1) and denied if false (0).
Non-step sequence table:
The condition testing result is true (1) when at least one of 32 rules is satisfied and
false (0) if none of them is satisfied.
Step sequence table:
All rules of the oneshot-executed step and step 00 are evaluated and the result is true
(1) when at least one of the rules is satisfied and false (0) if none of them is satisfied.
In the pre-process, no variable can be specified to receive the condition testing result, any
specified variable is ignored. The block status and mode cannot be changed in pre-pro-
cessing for the operation block in which the pre-process is defined or for any other opera-
tion block.
Pre-Processing Using Logic Chart One-Shot Step
With the logic chart one-shot step, the status can be changed. At the pre-processing, the
status of the pre-process-described operation block or other operation blocks cannot be
changed.
10th Edition : Dec.18,2003-00
D6-164 <D6.14 Interrupt Processing of Operation>
IM 33S01B30-01E
Status Change Post-Process - Operation
The status-change post-process will be executed after the status is changed. The process
is executed as an interrupt signal processing, interrupting the main program in accordance
with the basic scan period of the operation block.
Both step and selective sequences can be used in the post-process. A status change
command is prohibited when the current post-process is not completed; the command will
be ignored if received, causing error.
IMPORTANT
The post-process should not be kept suspended by means of a selective sequence transi-
tion condition, or a wait until, compare, or dialogue statement. If the process is sus-
pended, the block status cannot then be changed unless the program is forcibly terminated
using a command to change to ABRT.
The execution of the post-process defined in a SEBOL step can be controlled using quit
and return statements:
Using quit statement
Executing this statement in a step sequence terminates the current action and ex-
ecutes the next step. Executing it in a selective sequence starts evaluation of transi-
tion conditions. Executing the statement in the last post-process step terminates the
process.
Using return statement
Executing this statement terminates the post-process without executing the remaining
steps. Any operand specified in this statement will be ignored.
10th Edition : Dec.18,2003-00
D6-165
IM 33S01B30-01E
<D6.14 Interrupt Processing of Operation>
Referencing Block Status - Operation
Data item PREBSTS (previous block status) is used in the post-process to permit referenc-
ing the block status before the change. When the status is changed, data item BSTS (block
status) which contains information on the status before the change is copied to PREBSTS.
These two data items are operated as follows:
1. The BSTS data is copied to PREBSTS.
2. BSTS is changed to the new block status.
The BSTS data is referenced for testing the feasibility of block status change in the pre-
process. The PREBSTS data is also referenced in the post-process. Referencing BSTS
and PREBSTS take place in the following timings:
When the current status of RUN is changed to STOP by a commanded.
When the current status of PAUS is changed to STOP by a commanded.
Table BSTS & PREBSTS
Process being executed
RUN STOP PAUS STOP
BSTS PREBSTS BSTS PREBSTS
Status-change pre-process RUN (*1) PAUS (*1)
Status-change
post-process
STOP RUN STOP PAUS
D061416E.EPS
*1: Previous status.
10th Edition : Dec.18,2003-00
D6-166 <D6.14 Interrupt Processing of Operation>
IM 33S01B30-01E
Operation Block Status Referencing in Pre-Process
An example of referencing the block status in the pre-process. The two different scripts are
based on the current status of the operation block.
switch (%.BSTS)
case "RUN":
!Process changing from RUN to STOP.
case "PAUS"
!Process changing from PAUS to STOP.
end switch
Operation Block Status Referencing in Post-Process
An example of referencing the block status in the post-process. The two different scripts
are based on the current status of the operation block.
switch (%.PREBSTS)
case "RUN"
!Process when changed from RUN to STOP.
case "PAUS"
!Process when changed from PAUS to STOP.
end switch
10th Edition : Dec.18,2003-00
D6-167
IM 33S01B30-01E
<D6.14 Interrupt Processing of Operation>
Changing Status of the Unit Instrument
When the status (data item BSTS) of the unit instrument is changed, the operation can
perform status-change pre- and post- processing. The status-change pre- and post- pro-
cessing is created as an interrupt program.
SEE ALSO
For more information on the execution timing of the operation status-change pre- and post- processing
and the rules for changing block status of an operation when the status of the unit instrument changes,
see the following:
D6.6, State Transition Matrix
independent Statement
The monitoring operation is a special operation for monitoring the unit instrument. Use the
independent statement to make the monitoring operation continue to execute even when
the unit instrument stops or pauses.
The independent statement can be scripted anywhere so long as it is a place where a
declare statement for the initial step can be written in the operation. The action of an opera-
tion using the independent statement is as follows:
An operation that uses independent statement executes status-change pre- and
post- processing.
The block status of an operation that uses independent statement does not change.
For example, actions that occur when PAUS is specified in the action instruction for the unit
instrument are shown in the table below.
Table Difference of Operation (PAUS) by Presence/Absence of independent Specification
independent Pre-processing for status change Post-processing for status change BETS
Execution
status
Used Executes PAUS pre-processing Executes PAUS post-processing No change No change
Not used Executes PAUS pre-processing Executes PAUS post-processing
Changed to
PAUS
PAUS
D061417E.EPS
For example, actions that occur when RSM is specified in the operation instruction for the
unit instrument are shown in the table below.
Table Difference of Operation (RSM) by Presence/Absence of independent Specification
independent Pre-processing for status change Post-processing for status change BETS
Execution
status
Used Executes RUN pre-processing Executes RUN post-processing No change No change
Not used Executes RUN pre-processing Executes RUN post-processing
Changed to
RUN
Restarts
execution
D061418E.EPS
10th Edition : Dec.18,2003-00
D6-168 <D6.14 Interrupt Processing of Operation>
IM 33S01B30-01E
Even if a STOP change command is output to an operation (via the unit instrument) with
the independent specification, the operation does not stop and the block status remains
unchanged. Only the STOP status-change pre-process and post-process are executed.
Similarly, even if a PAUS change command is output to an operation (via the unit instru-
ment) with the independent specification, the operation does not pause and the block
status remains unchanged. Only the PAUS status-change pre-process and post-process
are executed.
Unless the status change command of an operation including the monitoring operation
goes through the unit instrument, the change command will not be output.
To force the termination of an operation with the independent specification, output an
ABRT change command to the operation. If the MSTART change command is output to the
unit instrument, the monitoring operation that was forcibly terminated can be restarted.
The following precautions are necessary when using an independent statement in other
than the monitoring operation:
The unit instrument can be stopped even when an operation with the independent
specification is being executed.
When the execution of the independent operation is completed, the unit instrument
stops.
To stop the unit instrument immediately, terminate the execution by using an exit
statement in the status-change post-process of the independent operation.
TIP
The unit instrument can be stopped even when the monitoring operation has an independent specifica-
tion and is being executed.
10th Edition : Dec.18,2003-00
D6-169
IM 33S01B30-01E
<D6.14 Interrupt Processing of Operation>
ckstep Statement
The built-in function ckstep may be applied to check if the operation block is restarted after
the block is paused.
SEE ALSO
For more information on the return value of the built-in function ckstep() when the operation block is
executed, see the following:
Identification of Restart Condition, in D6.13.2, Pause an Operation
creadpara Statement
In an operation, when creadpara is executed by specifying 0 in the argument of the
status-change pre-process or post-process for RUN, PAUS or STOP, the mode/status
change command for the unit instrument can be acquired.
!Step scripted in SEBOL for operation block
char*8 stscmd
stscmd = "creadpara" (0) !Acquire a status change command for the unit instrument
.....
When manually change an operation block status, if creadpara is executed by specifying
0 in the argument for the status-change pre-process or post-process, it returns a (a
character string of length 0).
10th Edition : Dec.18,2003-00
D6-170 <D6.14 Interrupt Processing of Operation>
IM 33S01B30-01E
D6.14.3 Interrupt Signal Processing
Interrupt signal processing is executed interrupting the main program when an
interrupt signal is received.
Interrupt Signals
Interrupt signals are sent from the operation block, sequence table and logic chart. Every
interrupt signal can be named using a character string of up to 8 bytes and attached with up
to 8 parameters.
Whether a signal is taken as a queue signal or an interrupt signal depends on the definition
in the operation block which receives the signal and cannot be specified at the signal
source.
Queue and interrupt signals are distinguished as follows:
Signals defined in the initial step using the queue signal statement are handled as
queue signals.
Signals having their names written at the entrance of interrupt signal processing are
handled as interrupt signals.
If the same name is used both in the initial-step definition and at the interrupt-signal en-
trance, an error will occur.
Interrupt signals can be received only when the operation block is in the RUN or PAUS
status, any signal transmitted is ignored otherwise and an error is returned to the source.
Interrupt signals received during the course of the PAUS status are stored in a queue and
will be processed when the status is changed to RUN for restarting the block.
10th Edition : Dec.18,2003-00
D6-171
IM 33S01B30-01E
<D6.14 Interrupt Processing of Operation>
Interrupt Signal Processing
Maximum Number of Receive Interrupt Signals
Interrupt signals are processed interrupting the main program, which resumes execution as
soon as the signal has been processed.
Main program Interrupt signal processing
Interrupt signal received
D061419E.EPS
Figure Interrupt Signal Processing
Interrupt signals can be processed only when the operation block is in the RUN status. The
signal processing is canceled if the status is changed to PAUS during the processing and
will not be resumed when the status is returned to RUN.
If another interrupt signal is received while one is being processed, the received signal is
queued and will be processed as soon as the current processing is completed. The maxi-
mum number of interrupt signals which can be queued can be defined for each operation
block using the Function Block Detail Builder. The number is 5 at default and can be de-
fined up to 99. The defined capacity includes the signal currently being processed. If a
signal is received when the queue is full, the signal is ignored causing an error.
The execution of the interrupt signal process defined in a SEBOL step can be controlled
using quit and return statements:
Using quit statement
Executing this statement terminates the current step action and executes the next
step. Executing it in a selective sequence starts evaluation of transition conditions.
Executing the statement in the last step of interrupt signal processing terminates the
process.
Using return statement
Executing this statement terminates the process without executing the remaining
steps. Any operand specified in this statement will be ignored.
10th Edition : Dec.18,2003-00
D6-172 <D6.14 Interrupt Processing of Operation>
IM 33S01B30-01E
Fetching Interrupt Signal Parameters
Maximum Number of Interrupt Signal Parameters
Queue signal parameters can be fetched using built-in functions during interrupt signal
processing.
creadpara(<parameter number>)
lreadpara(<parameter number>)
dreadpara(<parameter number>)
<parameter number> : 1 to 8(integer constant or variable),
0 for dreadpara reads the signal name.
D061420E.EPS
creadpara is a character-string function, lreadpara is a long integer function, and
dreadpara is a long double-precision floating-point real-number function, and they are
used to fetch character-string, integer, and real-number signal parameters respectively.
The maximum number of signals can be defined in a range of 2 to 8 (2 at default) for the
parameter attached to an interrupt signal. If the operation block receives an interrupt signal
exceeding its parameter setting, the signal is ignored causing an error.
10th Edition : Dec.18,2003-00
D6-173
IM 33S01B30-01E
<D6.14 Interrupt Processing of Operation>
D6.14.4 Error Processing
Error processing needs to be defined in an SFC other than the main program. Only
one set of processing can be scripted in one operation.
Error Processing Description
Similar to other interrupt processes, error processing needs to be defined in an SFC sepa-
rately from the operation of the main program. Only one set of processing can be described
in one operation.
Both step and selective sequences can be used in error processing. It is necessary for a
selective sequence, however, that the transition conditions are so defined that they can be
easily satisfied; the process being executed when error is caused will not be resumed
otherwise.
SEE ALSO
For the details of common error processing, see the following:
H1.13, Error Handling
The execution of the error processing defined in a SEBOL step can be controlled using
quit and return statements:
Using quit statement
Executing this statement in a step sequence terminates the current step action and
executes the next step. Executing it in a selective sequence starts evaluation of
transition conditions. Executing the statement in the last error processing step termi-
nates the process.
Using return statement
Executing this statement can terminate error processing without executing the remain-
ing steps. Any operand specified in this statement will be ignored.
10th Edition : Dec.18,2003-00
D6-174 <D6.15 Initialization Operation and Monitoring Operation>
IM 33S01B30-01E
D6.15 Initialization Operation and Monitoring
Operation
Initialization and monitoring operations can be executed in a unit instrument in
addition to other operations started from the unit procedure.
Initialization
operation executed.
Monitoring
operation starts.
Wait for unit start.
N
Y
starts.
FCS starts.
Unit procedure
executed.
First time
after system start?
D061501E.EPS
Figure Initialization Operation and Monitoring Operation
10th Edition : Dec.18,2003-00
D6-175
IM 33S01B30-01E
<D6.15 Initialization Operation and Monitoring Operation>
Initialization Operation
Initialize Operation
The initialization operation is applied to carry out the process initialization for a unit instru-
ment to run its procedure. The operation designated as the initialization operation will be
definitely started at the beginning of the system start or right after the unit instrument
complete its unit procedure.
When a unit instrument is running the initialization operation, it does not accept mode
change or status change command until the initialization is completed.
There is one exception, the command for changing to O/S mode will be accepted even
when the initialization operation is running. When the O/S command is received, the
initialization operation will be immediately terminated.
When the O/S mode is canceled, the block mode returns to its previous mode first then
changes to END status, thus the initialization operation will then be started again.
The interrupt processing for mode and status changes can not interrupt the initialization
operation.
The initialization operations name may be defined on the Function Block Detail Builder for
the unit instrument. It is required to put the initialization operation in the same drawing with
the unit instrument.
10th Edition : Dec.18,2003-00
D6-176 <D6.15 Initialization Operation and Monitoring Operation>
IM 33S01B30-01E
Monitoring Operation
Monitoring Operation
A monitoring operation is the operation applied for monitoring the unit instrument especially
when the equipment entity is required to be monitored even when the unit procedure is not
running.
The monitoring operation is started when the system starts. It is different from the initializa-
tion operation, a unit instrument can only start the monitoring operation but does not care
for its stop. When the monitoring operation is stopped for some reason, it may be restarted
by sending a MSTART status-change command from the unit instrument.
When a block mode or status change command is sent to the unit instrument, the monitor-
ing operation will be notified to advance to the state in accordance with the state transition
matrix. The interrupt processing for mode and status change will interrupt the monitoring
operation.
The monitoring operations name may be defined on the function block detail builder for the
unit instrument. Each unit instrument may have two monitoring operations. It is required to
put the monitoring operations in the same drawing with the unit instrument.
Continuous Execution of Monitoring Operation with independent
Statement
When a unit block mode or status change command is given to the monitoring operation,
the monitoring operation may be paused or stopped in accordance with the state transition
matrix same as other operations.
To avoid this and keep the monitoring operation continuously executed, describe the
independent statement, which is a SEBOL declaration statement, in the first step of the
monitoring operation.
An operation with "independent" statement may only be aborted when the unit instrument
send a command (ABRT) for changing to O/S state. When recovered from O/S state, the
monitoring operation will be restarted.
To terminate the independent-specified monitoring operation, declare termination of the
program using the exit statement. To specify the termination of the operation when it is
notified of the ABRT command, describe the exit statement at the end of the interrupt
processing for the command.
10th Edition : Dec.18,2003-00
<D7. Valve Pattern Monitors> D7-1
IM 33S01B30-01E
D7. Valve Pattern Monitors
The valve pattern monitor is a function block which runs in an FCS (Field Control
Station). One valve pattern monitor can simultaneously monitor a maximum of 512
valves in a transfer-system plant.
This valve pattern monitor is controlled by a user created application program as the
operation of a unit.
Position of Valve Pattern Monitor
The valve pattern monitor is one of the functions runs in FCS.
This valve pattern monitor is controlled by the user application represents a operation
scripted in SEBOL statements (i.e. an SFC block initiated from a Unit in the unit supervi-
sion function).
Placement of Valve Pattern Monitor is shown as follows.
Valve pattern monitoring (*1)
Off-site blocks (*1)
Options
Fieldbus I/O Process I/O
FCS I/O Interfaces
Communication I/O
FCS
Software I/O
Faceplate blocks
Unit instrument blocks
SFC blocks
Regulatory control blocks
Arithmetic calculation blocks
Sequence control blocks
Basic control
Internal switch
Annunciator message
Sequence control message
D070001E.EPS
*1: This option is available in CS 3000 system.
Figure Position of Valve Pattern Monitor
SEE ALSO
For information about the unit supervision function, see the following:
D6, Unit Supervision
10th Edition : Dec.18,2003-00
D7-2 <D7. Valve Pattern Monitors>
IM 33S01B30-01E
Function of Valve Pattern Monitor
Simultaneous Monitoring of Multiple Valves
The valve pattern monitor is a function block for monitoring the valve opening/closing state
in a transfer-system plant. One valve pattern monitor can simultaneously monitor a maxi-
mum of 512 valves in a transfer-system plant.
The valves to be monitored are registered in the valve pattern monitor under operation of a
unit. SEBOL statements specific to the valve pattern monitor are used to register the valves
to be monitored.
Abnormality Signal
The valve pattern monitor returns an alarm signal to the unit upon detection of a valve
abnormality. If such a signal is received, the unit performs alarm processing.
Prior to using the valve pattern monitor, create the alarm process program for abnormality
detection, and incorporate it in the operation of the unit.
The following figure shows the configuration of a valve monitoring system which uses the
valve pattern monitor.
PV
Valve
Data is acquired once
per monitoring cycle.
Function
block
Answer-back
check result
SIO302.PV
SIO302.MV
Valve Pattern Monitor
The acquired data is compared
with the reference values. If they
are not identical, the valve pattern
monitor transmits a signal.
MV
Unit
User Application
Monitoring operation
Operation
vpmstart
Create an application program in which the operation executes PAUS Modification Post-
processing if the value of the unit data item BSTS is modified to PAUS.
In the Pause program, the value of the valve pattern monitors data item BSTS is modified
from RUN to PAUS, using an assignment statement. If the value of data item BSTS
changes to PAUS, the valve pattern monitor pauses data acquisition and inspection. At
this time, valve registration is retained.
The following shows an example of the Pause program.
<valve pattern monitor>.BSTS = PAUS
If the group assignment statement is used in place of the assignment statement, assign-
ment with error check can be performed.
unit genname VPM128 VPM03
unit ierr
......
[VPM03.BSTS = PAUS] ierr
if (ierr <> 0) then ! Processing if an error is detected.
end if
......
To restart monitoring, modify the value of the valve pattern monitors data item BSTS from
PAUS to RUN.
<valve pattern monitor>.BSTS = RUN
Relationship between Pause and Alarm Status
If the paused valve pattern monitor is restarted, recovery from all alarms in the valve
pattern monitor will be made and the value of ALRM will be NR. The alarm recovery
timing of the valve pattern monitor will synchronize to its processing timing on the basic
cycle immediately after the value of data item BSTS is changed from PAUS to RUN.
To re-execute monitoring, modify the value of the valve pattern monitors data item
BSTS from PAUS to RUN.
The values of SGNLTAG, SGNLITEM, VPTNTAG, VPTNITEM, DATATAG,
DATAITEM, TYPETAG, and TYPEITEM in the valve pattern monitor are not changed.
The values of SGNLERRE, VPTNERRE, DATAERRE, TYPEERRE, and ERRE in the
valve pattern monitor are not changed.
10th Edition : Dec.18,2003-00
D7-50 <D7.12 Specifying Processing Timing>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
D7.12 Specifying Processing Timing
The valve pattern monitor processing timing can be specified by placing the names
of control drawings to which the valve pattern monitor belongs in alphabetical order.
Specifying the Processing Timing
The processing timing of the valve pattern monitor corresponds to that of a function block
for which the normal basic cycle is specified. If the processing timing of the valve pattern
monitor within the basic cycle needs to be delayed beyond that of the function block to be
monitored, observe the following procedure.
Bring the valve pattern monitor into the specific control drawing.
The control drawings are executed in alphabetical order. Specify by name the control
drawing to which the valve pattern monitor belongs so that it appears last in the
alphabetical order. For example, apply Z to the beginning of the name.
SEE ALSO
For information about the function block processing timing, see the following:
C7, Process Timing
The following example shows the execution order of ten control drawings.
DRW0001 DRW0002 DRW0009 ZTAIL SEBOL
One basic cycle
The control drawing, ZTAIL is executed in last.
Time
......
D071201E.EPS
Figure Execution Order of Control Drawings
In this example, there in only one control area. There are ten control drawings named
DRW0001 to DRW0009, and ZTAIL. The control drawings are executed in alphabeti-
cal order: DRW0001, DRW0002, ... , DRW0009, and ZTAIL.
The user should collect the valve pattern monitor into the control drawing ZTAIL. Locate
the function blocks which control valves in the control drawings DRW001 to DRW009,
then the processing timing of the valve pattern monitor comes after the valve controlling
function blocks.
<D7.13 Using Simulation Programs> D7-51
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
D7.13 Using Simulation Programs
Simulation function executes the simulated operation to test a valve without collecting the
valves data. This function may only be applied for testing valve pattern monitor.
Setting or cancelling of the simulation mode can be transferred by the setpoint value of the
data item SIMM of the simulation switch.
Using the Simulation Programs
The valve pattern monitor is provided with a simulation function. This simulation function
may only be applied for testing the valve pattern monitors. To use this simulation function,
set the value of data item SIMM so the valve pattern monitor is put in the simulation mode.
Setting the Simulation Mode
To put the valve pattern monitor in the simulation mode on tuning window, set the data item
SIMM of the simulation switch to 1.
Canceling the Simulation Mode
To cancel the simulation mode of the valve pattern monitor on tuning window, set the data
item SIMM of the simulation switch to 0.
If the valve pattern monitor is put in the simulation mode during execution, it stops data
acquisition and inspection (valve monitoring).
Alarm Status in the Simulation Mode
Even if you put the valve pattern monitor in the simulation mode, the alarm status will not
change.
However, if the value of the valve pattern monitors data item BSTS is changed from
PAUS to RUN, recovery from all generated alarms will be made and the value of data
item ALRM will change to NR, even if the valve pattern monitor is in the simulation mode.
Blank Page
<D8. Offsite Block> D8-1
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
D8. Offsite Block
The offsite block is a function block used for batch blending and shipment control
performed offsite at oil refineries and other plant facilities.
Offsite blocks include the Batch Set Control Block (FSBSET) and the Blending
Master Control Block (BLEND).
This chapter explains the detail of functions available with each offsite block.
Offsite Block
The offsite function block performs blending control and shipment control offsite by control-
ling flow rate and batch quantity.
This block is used to implement batch shipment control and blending shipment control of
products offsite in combination with motor control blocks (MC-2, MC-2E, MC-3, and MC-
3E) and switch instrument blocks (SIOs) and enhanced switch instrument block.
Product
storage tank
Valve Pump Flowmeter Control valve
FSBSET MC-2 SIO
Switch
instrument block
Motor control
block
Batch set
control block
TANK
TANK
FSBSET
BLEND
MC-2 SIO
Blending master
control block
Flow rate setpoint
Flow rate
totalizer value
D080001E.EPS
Switch
instrument block
Motor control
block
Batch set
control block
Figure Example of Application with Offsite Blocks
D8-2 <D8. Offsite Block>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Relationship between Offsite Blocks and JOB Controllers
Blending, shipment and other work (jobs) performed offsite are controlled with offsite
blocks, motor control blocks (MC-2, MC-2E, MC-3, and MC-3E), switch instrument blocks
and enhanced switch instrument blocks in the FCS. These function blocks operate via
commands and operation from JOB controllers being set under the supervisory computer.
They can also be operated and monitored from an HIS that serves as a backup supervisory
computer.
Switch
instrument
block
Motor control
block
Offsite
block
JOB
controller
Switch
instrument
block
Motor control
block
Offsite
block
JOB
controller
FCS
Supervisory computer
D080002E.EPS
Figure Relationship between Offsite Blocks and JOB Controllers
<D8. Offsite Block> D8-3
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Overview of Offsite Block Control
The offsite block is used mainly for batch loader control, tank blending control and direct
blending shipment control.
Batch Loader Control
Batch loader control is implemented with the FSBSET control block.
The FSBSET is operated by commands from an operator or supervisory computer, and
controls flow rate and batch quantity according to the flow rate signals received from
positive displacement flowmeters.
The figure below shows an example of FSBSET application for batch loader control:
Product
tank
Pump
Positive
displacement
flowmeter
Control
valve
Loading arm
(at port)
FSBSET
D080003E.EPS
Batch quantity and
flow rate setting
Command from operator or
supervisory computer
Figure Example of Batch Loader Control
D8-4 <D8. Offsite Block>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Tank Blending Control
FSBSET and BLEND control blocks are used for tank blending.
The FSBSET receives commands from the BLEND, and controls flow rate according to the
flow rate signals from positive displacement flowmeters.
The BLEND receives the ratio of each component from the supervisory computer, and
multiplies it by its own flow rate setpoint (SV) at the tank entry point. It then sets the result
as an SV for the FSBSET of the corresponding component. The BLEND also accumulates
the instantaneous flows (PVs) obtained from each of the component FSBSET blocks, and
performs batch control based on the result.
The figure below shows an example of tank blending application using FSBSET and
BLEND control blocks:
Tank of
semi-
finished
product
Product tank
Pump
Positive
displacement
flowmeter
Control
valve
FSBSET
FSBSET
FSBSET
BLEND
D080004E.EPS
Batch quantity
and flow rate
setting
Component configuration
Component ratios
PV collection
Setting of setpoint or
operation command
Blend header
Figure Example of Tank Blending Control
<D8. Offsite Block> D8-5
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Direct Blending Shipment Control
For direct blending shipment control performed offsite, batch quantity is controlled by the
FSBSET blocks or BLENDs located at the port.
The FSBSET control block at the port receives commands from an operator or supervisory
computer, and controls flow rate and batch quantity according to the flow rate signals from
positive displacement flowmeters at the port.
The BLEND control block at the port receives the port blending ratio for each component
from the supervisory computer, and multiplies it by its own port flow rate setpoint (SV). It
then sets the result as a port blending SV for the corresponding component FSBSET. The
BLEND also accumulates the instantaneous flows (PVs) obtained from each of the compo-
nent FSBSET blocks used for port blending, and performs batch control based on the
result.
The BLEND used for blend header shown in Figure, Example of Direct Blending Shipment
Control totalizes the flow rate setpoints (SVs) of the FSBSET blocks or BLENDs located
downstream of the blend header at the port, and sets the sum as its own SV. (The BLEND
can also be set by the builder to obtain a totalized instantaneous flow (PV) for the FSBSET
blocks or BLENDs at the port and set the sum as its own SV.) It then multiplies the SV by
the ratio for each component specified by the supervisory computer, and sets the result as
an SV for the corresponding component FSBSET.
D8-6 <D8. Offsite Block>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Tank of
semi-
finished
product
Pump
Positive
displacement
flowmeter
Control
valve
FSBSET
FSBSET
FSBSET
BLEND
D080005E.EPS
PV collection
Setting of setpoint or
operation command
Blend header
FSBSET
FSBSET
FSBSET
BLEND
Component configuration
Component ratios
Port configuration
Batch quantity
and flow rate
setting
Figure Example of Direct Blending Shipment Control
<D8.1 Batch Set Control Block (FSBSET)> D8-7
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
D8.1 Batch Set Control Block (FSBSET)
The FSBSET control block provides functions necessary for batch loader control,
blending control, and X% preset MV control.
Batch Loader Functions - FSBSET
The FSBSET provides all the functions required for controlling flow rate and batch quantity
at a port or the like.
For flow rate control, the block can calculate corrections such as ASTM on pulse flow-rate
signals from positive displacement flowmeters or turbine flowmeters; it also performs PI
control calculations to maintain the flow as specified by the setpoint.
Batch program control provides gradual flow ramp-up and ramp-down functions. The block
also provides automatic early-point detection and emergency-stop processing functions
necessary for batch control.
Batch Blending Control Functions - FSBSET
The FSBSET is used for in-line blending to control flow rate for each component. When
performing PI flow rate blending control, according to a setpoint demand signal and com-
mands from the Blend master controller (BLEND) block, one batch set control block is used
for each component whose flow rate is to be controlled.
In this case, the FSBSET can calculate corrections, such as ASTM, on the pulse flow-rate
signals from positive displacement flowmeters or turbine flowmeters; it also performs PI
control calculations to keep accumulated deviations at or near zero (termed PI blending
calculations).
The FSBSET can also be set on the builder to perform instantaneous deviation control
instead of accumulated deviation control.
X% Preset MV Control Functions - FSBSET
The FSBSET can be used not only to perform flow or batch control, but it can also be used
to provide a fixed output. On receiving a start or restart command, it outputs the fixed
output. The fixed output (MV) may be entered in the tuning parameter NCVV. If an emer-
gency stop or abort command is received, the block clamps the output (MV) at zero (valve
closed).
D8-8 <D8.1 Batch Set Control Block (FSBSET)>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
D8.1.1 Operation for Batch Loader Control - FSBSET
During batch loader control, the FSBSET performs CV-kick, release of initial flow
rate control, early-point detection processing and pre-batch processing.
The operation of the FSBSET is indicated by a sequence of control steps.
Operation for Batch Loader Control - FSBSET
The figure below shows the flow of FSBSET operation during batch loader control:
CVK
(extent of
CV-kick)
SVPR
(Pre-batch
flow rate
setpoint)
SVL
(Initial
flow rate
setpoint)
SVH
(Final flow rate
setpoint)
t3 t4
t0
t2 t2
t1
Control status
SET
UP
MAN Block mode
Control step
(zone)
1
SET
UP
1
AUT or CAS MAN
2
Steady
3
EMST
8
EMST
end
9
Steady
3
P.B.
Ctrl
5
Wait
6 4 0 (10) (11) 1
Re-
start
D080101E.EPS
NON-
Ctrl
SET
UP
Start
Early End
7
NON-
Ctrl
0
Flow rate setpoint (SV)
t0: SET-UP waiting time
t1: Waiting time after completion of SET-UP to initial flow rate
t2: Waiting time after completion of SET-UP to final flow rate
t3: Batch end waiting time
t4: Waiting time for completion of end processing
t
Initial flow rate
control
Figure Operation Overview of Batch Loader Control
The basic operation of the FSBSET during batch loader control is explained below. The
explanations are based on the above figure.
At the start of batch loader control, the block mode of the FSBSET is changed to AUT
or CAS via a JOB controller or by an operator. A start command is then sent to the
FSBSET.
When the FSBSET Block receives the start command with CV-kick (CMND=1), the
control step proceeds to ZONE10, initializing an alarm, integral and others of the
FSBSET block and opening a control valve (CV) by a preset degree. This is called CV-
kick. After CV-kick, the control step proceeds to ZONE1.
<D8.1 Batch Set Control Block (FSBSET)> D8-9
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
When the SET-UP waiting time (t0) elapses following the transition to ZONE 1, SET-
UP is started. In SET-UP, the current flow rate setpoint (SV) is ramped at a preset rate
until it reaches the initial flow rate setpoint (SVL) or final flow rate setpoint (SVH), while
PI control is carried out based on the SV.
When the waiting time for the end of SET-UP to initial flow rate (T1) elapses after the
current flow rate setpoint (SV) reached the initial flow rate setpoint (SVL), the control
step proceeds to ZONE 2.
When the totalized flow (SUM) reaches the initial (totalized) flow setpoint (ILST), or
when an operator directs the release, the control step returns to ZONE 1, and SET-UP
is performed to ramp the current flow rate setpoint (SV) at a preset rate until it reaches
the final flow rate setpoint (SVH).
When the waiting time for the end of SET-UP to final flow rate (T2) elapses after the
current flow rate setpoint (SV) reached the final flow rate setpoint (SVH), the control
step proceeds to ZONE 3.
When the totalized flow (SUM) reaches the batch setpoint (BSET) less the pre-batch
quantity and predicted leakage value (VL), the control step proceeds to ZONE 4. The
block status changes to measure tracking, in which the current flow rate setpoint (SV)
is caused to follow the momentary flow (PV), and the control valve is throttled gradu-
ally at a preset rate.
When the flow rate setpoint (SV) drops to the flow rate setpoint for pre-batch (SVPR)
during measure tracking, the control step proceeds to ZONE 5. At this point, the
measure tracking status is released and the control mode returns to normal PI control.
When the totalized flow (SUM) reaches the batch setpoint (BSET) less the predicted
leakage value (VL), the control step proceeds to ZONE 6 and the control valve is shut
tightly. Calculation for the totalized flow (SUM) will continue after the valve is tightly
shut.
When the waiting time for batch end (t3) elapses following the transition to ZONE 6,
the totalized flow (SUM) at the end of t3 is stored as the previous totalized flow. Batch-
end processing is performed, and the control step proceeds to ZONE 7.
When the waiting time for completion of end processing (t4) elapses following the
transition to ZONE 7, the block mode changes to MAN and the control step returns to
ZONE 0. This completes a batch loader control cycle.
If an emergency stop command (CMND=4) is issued or a critical alarm is detected
during the batch cycle, the control step proceeds to ZONE 8 and the control valve
shuts off in steps. When the manipulated output value (MV) drops to 0 during the step
shut-off process, the control step proceeds to ZONE 9. This changes the block status
to EMST END (emergency stop end).
If a command for restart with CV-kick (CMND=2) is received in the EMST END state,
the control step proceeds to ZONE 11 and the CV opens by a preset amount. Then,
the control step returns to ZONE 1 and batch loader control is restarted.
D8-10 <D8.1 Batch Set Control Block (FSBSET)>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
The following operations are not shown in the above figure:
When a command for start without CV-kick (CMND=11) is received, the control step
proceeds to ZONE 12. Initialization processing for the FSBSET is performed and the
control step returns to ZONE 1.
When a command for restart without CV-kick (CMND=12) is received, the control step
proceeds to ZONE 13 then returns to ZONE 1 without implementing CV-kick.
During SET-UP in ZONE 1, if initial flow rate control is not specified or when the
totalized flow (SUM) reaches or exceeds the initial totalized flow setpoint, SET-UP is
performed based on the final flow rate setpoint (SV).
If an abort command (CMND=3) is received in the EMST END state, the control step
returns to ZONE 6 and batch end processing is performed, starting from the operation
in ZONE 6 explained above.
<D8.1 Batch Set Control Block (FSBSET)> D8-11
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
D8.1.2 Operation for Batch Blending Control - FSBSET
During batch blending control, the FSBSET performs CV-kick and PI blending control.
The operation of the FSBSET is indicated by a sequence of control steps.
Operation for Batch Blending Control
The figure below shows the flow of FSBSET operation during batch blending control.
CVK
Control status
CV
Kick
MAN Block mode
Control step
(zone)
20
CAS MAN
0
D080102E.EPS
NON-
Ctrl
Flow rate
setpoint
(SV)
t
PI blending
control
22
EMST
24
CV
Kick
21 22
Waiting
for END
23
End
26 0
NON-
Ctrl
PI blending
control
Figure Operation Overview of Batch Blending Control
The basic operation of the FSBSET during batch blending control is explained below. The
explanations are based on the above figure.
When a component start command (CMND=21) is received from a supervisory loop
(normally a BLEND block), the control step proceeds to ZONE 20 and the control
valve opens by a preset amount (CV-kick). Initialization processing for the FSBSET,
such as alarm, totalization and accumulated deviation processing, will also be per-
formed.
When the initialization processing is completed, the control step proceeds to ZONE 22
and PI blending calculation is performed according to the flow rate setpoint (SV)
specified by the supervisory loop.
When the status of the supervisory loop changes to batch end, a command to wait for
component END (CMND=26) is sent from the supervisory loop. When this command
is received, the control step proceeds to ZONE 23 and the control valve shuts tightly.
When a component release command (CMND=23) is received from the supervisory
loop, the control step proceeds to ZONE 26 and the control valve shuts tightly. Then,
the block mode changes to MAN and the control step returns to ZONE 0. This com-
pletes a batch blending control cycle.
When subjected to an emergency stop, the supervisory loop sends a component
EMST command (CMND=24). When this command is received, the control step
proceeds to ZONE 24 and the control valve shuts tightly.
D8-12 <D8.1 Batch Set Control Block (FSBSET)>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
If a component cut-off command (CMND=25) is received from the supervisory loop
while control is in ZONE 22, the control step proceeds to ZONE 25 and the control
valve is throttled at a preset rate. When the manipulated output value (MV) drops to 0
or below, the control step proceeds to ZONE 26 and the control valve shuts tightly.
Then, the block mode changes to MAN and the control step returns to ZONE 0. This
completes a batch blending control cycle.
The figure below shows the flow of component release (cut-off):
Control status
Block mode
Control step
(zone)
CAS MAN
D080103E.EPS
Flow rate
setpoint
(SV)
t
22 25
End
26 0
NON-Ctrl
Component cut-off
PI blending
control
Figure Component Cut-off (Batch Blending Control)
<D8.1 Batch Set Control Block (FSBSET)> D8-13
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
D8.1.3 Operation for X% Preset MV Control - FSBSET
During X% preset MV control, the FSBSET controls the opening of control valve
(fixed at X% or fully closed) according to the command received from outside the
block.
Operation for X% Preset MV Control - FSBSET
The figure below shows the operation of the FSBSET during X% preset MV control:
Control status Start
MAN Block mode
Control step
(zone) 40
AUT or CAS MAN
0
D080104E.EPS
NON-
Ctrl
MV
(%)
t
Steady
42
EMST
44
Re-
Start
41
Steady
42
End
43 0
NON-
Ctrl
CMND
Operation
Block mode
41
Start
AUT or CAS
44
EMST
Start mode
42
Restart
AUT or CAS
43
End
Start mode
X
0
Figure Operation Overview of X% Preset MV Control
D8-14 <D8.1 Batch Set Control Block (FSBSET)>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
The basic operation of the FSBSET during X% preset MV control is explained below. The
explanations are based on the above figure.
When performing X% preset MV control, the block mode of the FSBSET is set to AUT
or CAS via a JOB controller or by an operator. Then, a command to start X% preset
MV control is issued.
When the FSBSET receives a command to start X% preset MV control (CMND=41),
the control step proceeds to ZONE 40 and the manipulated output value (MV)
changes from zero to the value set by the NCCV data item. Then, the control step
proceeds to ZONE 42.
When the FSBSET receives a command to stop X% preset MV control in an emer-
gency (CMND=44), the control step proceeds to ZONE 44 and the manipulated output
value (MV) drops to zero.
When the FSBSET receives a command to restart X% preset MV control (CMND=42),
the control step proceeds to ZONE 41 and the manipulated output value (MV)
changes from 0 to the value set by the NCCV data item. Then, the control step pro-
ceeds to ZONE 42.
When the FSBSET receives a command to end X% preset MV control (CMND=43),
the control step proceeds to ZONE 43 and the manipulated output value (MV) drops
to zero. Then, the block mode changes to MAN and the control step returns to ZONE
0. This completes an X% preset MV control cycle.
<D8.1 Batch Set Control Block (FSBSET)> D8-15
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
D8.1.4 Configuration of Batch Set Control Block (FSBSET)
This section explains the function block diagram of the FSBSET control block and
connection destinations for the I/O connection terminals.
Function Block Diagram of the Batch Set Control Block (FSBSET)
Connection
CCX DENS VCF CCY
SIMM
SV
IN
OUT
TMI
MV PV
SUM1
DSM
SUM
SUM2
ZONE COMD BSET
D080105E.EPS
Pulse
Analog
Actual pulse
quantity
conversion
Output
process
-ing
Control calculations
Accumulated-deviation PI control algorithm
Instantaneous-deviation PI control algorithm
Compensation before
temperature compensation
Temperature
compensation
Compensation after
temperature compensation
PV value
conversion
digital
filtering
Simulation
Batch control
function
C-MODE
V-MODE
B-MODE
Simulation
Analog input
Pulse train input
BLEND
Input
processing
Figure Function Block Diagram of Batch Set Control Block (FSBSET)
SEE ALSO
For input processing, see the following:
D8.1.5, Input Processing of Batch Set Control Block (FSBSET)
For output processing, see the following:
D8.1.6, Output Processing of Batch Set Control Block (FSBSET)
D8-16 <D8.1 Batch Set Control Block (FSBSET)>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
I/O terminals of the Batch Set Control Block (FSBSET)
The input and output terminals of FSBSET block and the connection methods of the termi-
nals are shown in the following table.
Table Types of Connection and Connection Destinations of I/O Terminals for Batch Set Control
Block (FSBSET)
Terminal Name
Type of Connection Connection Destination
Data
reference
Data
setting
Terminal
connection
Process
I/O
Software
I/O
Function
block
IN Measuring input N/A N/A N/A
OUT Control output N/A N/A
TMI
Compensating
temperature input
N/A Cond. N/A
D080106E.EPS
: available
N/A: not available
Cond.: available only from the switch block
<D8.1 Batch Set Control Block (FSBSET)> D8-17
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
D8.1.5 Input Processing of Batch Set Control Block (FSBSET)
The input processing items of the FSBSET include input reading, pulse weight
normalization, correction before temperature compensation, temperature compen-
sation, correction after temperature compensation, instantaneous flow computation,
totalization and simulation.
D8-18 <D8.1 Batch Set Control Block (FSBSET)>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Input Processing of the Batch Set Control Block (FSBSET)
Table Table of Input Processing Items for Batch Set Control Block (FSBSET)
Input Processing
No. Processing Item Provided Remarks
1 Pulse train input reading
2
3 Analog input reading
4 Pulse normalization (not normalized)
5 Puss normalization (normalized) According to pulse weight normalization factor
6
Correction before temperature
compensation -0 (no correction)
7
Correction before temperature
compensation -1 (with correction)
Flow rate correction before temperature
compensation
8
9
10
Correction after temperature
compensation -0 (no correction)
11
Correction after temperature
compensation -1 (with correction)
Flow rate correction after temperature
compensation
12
13
14
Temperature compensation -0
(no compensation)
15
Temperature compensation -1
(new ASTM) for crude oil
16
Temperature compensation -2
(new ASTM) for fuel oil
17
Temperature compensation -3
(new ASTM) for lubrication oil
18 Temperature compensation -4 (old ASTM)
19 Temperature compensation -5 (VCF entry)
20
21
22
23
24
25
26
27
28
29
30 Totalized value (uncorrected, non-reset) SUM1
31
Totalized value (corrected, reset) SUM
32
Totalized value (corrected, non-reset) SUM2
33 Input filter
34
Simulation
(specified for each flow controller block)
D080107E.EPS
No. Processing Item Provided Remarks
: available
<D8.1 Batch Set Control Block (FSBSET)> D8-19
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Input Reading - FSBSET
Input Connection Specification, Totalizer Shutdown during Non-Control
Normal Input Reading
When the Input Signal Type on the Function Block Detail Builder is Pulse, the FSBSET
block reads pulse train inputs from process I/O.
The volumetric flow pulse (QR1) between T seconds of control cycle is calculated from
the difference in the number of pulses to be read this time and previously.
When the Input Signal Type is Analog, 0 to 100 % of input signals is converted to the PV
scale low limit (SL) to PV scale high limit (SH).
The Input Signal Type parameter of the builder is set as follows:
Input Signal Type: Select Pulse or Analog.
The default is Pulse.
Whether or not pulse train input will be added to non-reset totalized values (SUM1, SUM2)
and batch-type totalized value (SUM) while the FSBSET is in the non-control status (control
step: ZONE 0) can also be specified in the Function Block Detail Builder.
The Totalizer Shutdown during Non-control parameter of the builder is set as follows:
Totalizer Shutdown during Non-control: Select Yes or No.
The default is No.
The figure below shows the processing flow of input data:
Pulse weight
normalizing
processing QR1
Correction before
temperature
compensation QR2
Temperature
compensation
QR3
Correction after
temperature
compensation QR4 QR5
D080108E.EPS
Figure Processing Flow of Input Data
Input Reading During Simulation
When simulation is specified for the FSBSET, the flow rate for the closed-loop test is
deduced from the opening (MV) of the current control valve (CV).
Maximum
flow rate
(KI/h)
Instantaneous
flow rate
Control valve opening (MV)
0 % 100 %
D080109E.EPS
(Linear)
Figure Calculation of Flow Rate During Simulation
D8-20 <D8.1 Batch Set Control Block (FSBSET)>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Pulse Weight Normalization - FSBSET
Pulse Weight Normalization Coefficient
Pulse weight correction is performed on the flow before temperature compensation (QR1).
Input pulses can be corrected using the following expression to calculate flow reading:
QR2=QR1 pulse weight normalization factor
Pulse weight normalization factor: setting data (L/P, i.e., liters per pulse, or CC/P)
QR2: flow after pulse weight normalization (L, i. e., liters, or CC, i. e. cm
3
).
The Pulse Weight Normalization Coefficient parameter of the Function Block Detail
Builder is set as follows:
Pulse Weight Normalization Coefficient: 0.000000 to 1.0000.00
The default is 1.000000.
Correction Before Temperature Compensation - FSBSET
Flow Rate Conversion Code Before Correction
Input pulses can be corrected as follows before temperature compensation.
QR3=CCX QR2
QR3: measured input pulse count
CCX: flow rate correction factor before temperature compensation
The Flow Rate Conversion Code Before Correction parameter of the Function Block
Detail Builder is set as follows:
Flow Rate Conversion Code Before Correction:
Select 0 (No) or 1 (Yes).
The default is 0.
Temperature Compensation - FSBSET
Temperature Correction Code
Given a measured input pulse count of QR3, and a temperature T (C) measured by
another function block, the QR4 compensated pulse count is determined as follows:
QR4=QR3 VCF
QR4: measured input pulse after temperature compensation
VCF: volume conversion factor
Temperature compensation code number
0: No compensation
(ICC) 1: New ASTM (Crude oil) <New ASTM: ASTM D1250-80>
2: New ASTM (Fuel oil)
3: New ASTM (Lubrication oil)
4: Old ASTM
5: VCF input QR3
The Temperature Correction Code parameter of the Function Block Detail Builder is set
as follows:
Temperature Correction Code: Select 0, 1, 2, 3, 4 or 5.
The default is 0.
<D8.1 Batch Set Control Block (FSBSET)> D8-21
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
The compensation calculations are as follows:
New ASTM Compensation
VCF= = exp [-tt (1.0+0.8tt) ]
V15
Vt
D080110E.EPS
t
15
t = = +
K0+K115
(15)
2
K0
(15)
2
K1
15
t =A+
B
(15)
2
where
VCF: the volume conversion factor (at 15 C)
V15: the volume (m
3
) at 15 C
Vt: the volume (m
3
) at an arbitrary temperature t C
t: the density (kg/m
3
) at t C
15: the density (kg/m
3
) at 15 C
t: the coefficient of thermal expansion (C
-1
) at 15 C
t: the temperature difference of t=t-15 (C)
K0, K1, A and B: Parameters (see the table below)
Table Parameter for ASTM (New JIS Standards) Compensation
Oil Types
Range of Density (at 15 C)
kg/m
3
Parameter
K0 K1 A B
Crude 610.51075.0 613.9723 0.0 ... ...
Fuel
653.0<770.25 346.4228 0.4388 ... ...
770.25<787.75 ... ... -0.00336312 2680.3206
787.75838.75 594.5418 0.0 ... ...
838.751075.0 186.9696 0.4862 ... ...
Lubrication 800.01164.0 0.0 0.6278 ... ...
D080111E.EPS
D8-22 <D8.1 Batch Set Control Block (FSBSET)>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Old ASTM Compensation
VCF=1+Q1 (T-15 )+Q2 (T-15)
2
D080112E.EPS
VCF: density conversion factor
Q1= -P1/D
15
4
+P2
Q2= -P3/D
15
4 +P2
D
15
4 : The density ratio between 15 C and 4 C
T: measurement temperature (C)
P1-P4: Parameters.
Table Parameters for ASTM (Old JIS Standards) Compensation
Specific Gravity Range P1 10
6
P2 10
6
P3 10
6
P4 10
6
0.5000D
15
4
<0.5050 4517.7 5919.2 30.466 51.948
0.5050D
15
4
<0.5100 4522.6 5934.8 23.957 39.098
0.5100D
15
4
<0.5150 4076.3 5059.8 27.668 46.373
0.5150D
15
4
<0.5200 4140.2 5183.8 16.175 24.058
0.5200D
15
4
<0.5250 4499.0 5873.9 31.553 53.631
0.5250D
15
4
<0.5300 4574.4 6017.5 25.376 41.886
0.5300D
15
4
<0.5400 4058.3 5043.7 21.064 33.730
0.5400D
15
4
<0.5500 3911.5 4771.8 22.551 36.483
0.5500D
15
4
<0.5600 4154.9 5214.4 19.946 31.747
0.5600D
15
4
<0.5700 3718.6 4435.4 13.942 21.026
0.5700D
15
4
<0.5800 3494.4 4042.0 14.192 21.464
0.5800D
15
4
<0.5900 3945.5 4819.9 27.444 44.313
0.5900D
15
4
<0.6000 4893.6 6426.7 47.623 78.514
0.6000D
15
4
<0.6200 2448.9 2340.9 1.589 1.947
0.6200D
15
4
<0.6399 2225.1 1980.0 1.588 1.946
0.6399D
15
4
<0.6599 1936.6 1529.1 1.588 1.946
0.6599D
15
4
<0.6798 1817.7 1348.9 1.588 1.945
0.6798D
15
4
<0.6998 1756.4 1258.7 1.588 1.945
0.6998D
15
4
<0.7497 1806.8 1330.8 1.588 1.945
0.7497D
15
4
<0.7697 2226.8 1889.8 1.588 1.946
0.7697D
15
4
<0.7897 1949.2 1529.1 1.588 1.946
0.7897D
15
4
<0.8096 1734.8 1258.7 1.588 1.945
0.8096D
15
4
<0.8296 1515.9 988.4 1.588 1.945
0.8296D
15
4
<0.8496 1291.7 718.1 1.587 1.945
0.8496D
15
4
<0.8745 1108.1 502.0 1.587 1.945
0.8745D
15
4
<0.8995 919.1 285.9 1.586 1.944
0.8995D
15
4
<0.9994 708.2 51.8 1.587 1.944
0.9994D
15
4
<1.0993 984.2 328.0 -7.481 -7.129
1.0993D
15
4
<1.2000 890.0 242.3 -7.830 -7.453
D080113E.EPS
Other Temperature Compensation Methods
When temperature compensation code 5 (VCF*F0) is selected in the Function Block
Detail Builder, the VCF can be set by an external calculation.
<D8.1 Batch Set Control Block (FSBSET)> D8-23
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Correction after Temperature Compensation - FSBSET
Flow Rate Conversion Code After Correction
The measured input pulse after temperature compensation (QR4) can be corrected as
follows by setting the correction calculation in the builder:
QR5 = CCY QR4 (L or CC)
QR5: Corrected flow rate/input pulse after temperature compensation
CCY: flow rate correction factor after temperature compensation
The Flow Rate Conversion Code After Correction parameter of the Function Block Detail
Builder is set as follows:
Flow Rate Conversion Code After Correction:
Select 0 (No) or 1 (Yes).
The default is 0.
Instantaneous Flow Computation - FSBSET
Based on the measured flow after compensation, the instantaneous flow (PV) is calculated
as follows. Note that the PV value is not stored if the data status is CAL:
In=QR5 3600/1000
PVn= (1 - ) In+ PVn-1
QR5: flow value (in L or CC) after temperature compensation
PVn-1: the previous PV value
In: the instantaneous flow rate, in KL/H or L/H, calculated from the pulse count
: The filter constant (When Pulse is selected, the default is 0.5).
The PV value determined after filtering/compensation is used with the current SV value to
calculate instantaneous deviation PV-SV; this deviation is totalized during accumulated
deviation control.
SEE ALSO
For the filter constant, see the following:
C3.2, Digital Filter
Totalizing Processing - FSBSET
The FSBSET totalizes the corrected flow rate/input pulse after temperature compensation
(QR5) in liters or ccs into the totalizer SUM, as follows:
SUM =QR5 (From batch start to end)
The FSBSET also provides the following totalizers:
SUM1: Non-reset counter of uncompensated value
SUM1=QR3 (Always totalized)
QR3: measured input flow after pulse weight normalization
SUM2: Non-reset counter of compensated value
SUM =QR5 (Always totalized)
D8-24 <D8.1 Batch Set Control Block (FSBSET)>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Number of SUM Digits - FSBSET
Number of Digits for Indicating SUM
The number of SUM digits for each FSBSET block can be selected between 8 and 9.
This is set on Function Block Detail Builder.
Number of digits for indicating SUM: Choose [8] or [9].
The default setting is 8.
The following data items are subject to this setting.
SUM: Value of compensated summation
SUM1: Non-reset total value of uncompensated summation
SUM2: Non-reset total value of compensated summation
BSET: Batch Quantity Set Value
DLX1: The first alarm point of accumulated deviation.
DLX1: The second alarm point of accumulated deviation.
DSM: Instantaneous compensated flow rate
DVX: Accumulated deviation
ILST: End point of primary flow
VL: Predicted leak quantity
Simulation - FSBSET
Non-Reset Totalizer Shutdown at SIM
A simulation can be specified for each FSBSET.
Set the tuning parameter as follows to change the mode to simulation:
SIMM0 (Set a value other than 0.)
The MV is not output to outside the block (i. e., it is not updated).
A simulated pulse equal to the input range multiplied by the output ratio is applied to the
input.
The totalizing processing of non-reset counters (SUM1, SUM2) can be stopped or contin-
ued during simulation via specification in the Function Block Detail Builder.
The Non-reset Totalizer Shutdown at SIM parameter of the Function Block Detail Builder
is set as follows:
Non-reset Totalizer Shutdown at SIM: Select Yes or No.
The default is No.
When the Non-reset Totalizer Shutdown at SIM parameter of the builder is set to Yes,
the non-reset counters (SUM1, SUM2) will not count in the simulation mode. However, the
reset counter SUM still counts irrespective of the setting of the parameter.
<D8.1 Batch Set Control Block (FSBSET)> D8-25
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
D8.1.6 Output Processing of Batch Set Control Block (FSBSET)
The output processing items of the FSBSET include analog output, connection to
the SET terminal of another instrument block, output tracking and output velocity
limiter.
Output Processing of the Batch Set Control Block
The table below shows the output processing items of the FSBSET block.
Table Table of Output Processing Items for Batch Set Control Block (FSBSET)
Output Processing
No. Processing Item Provided Remarks
1 Analog output (4 to 20 m) Control valve: used
2
Connection to the SET terminal of another
function block
Control valve: used
3
4
5 Output tracking
6 Output velocity limiter
D080114E.EPS
: available
Analog Output - FSBSET
The FSBSET can output to analog output modules. During output, the tight-shut function
and full-open function are automatically added to the manipulated output value (MV). The
direction of analog output can also be set.
Outputs to analog output modules are used to set data.
An MV in the range of 0 to 100 % is output from the OUT terminal.
Upon receiving an MV between 0 and 100 %, the analog output module outputs the corre-
sponding current between 4 and 20 mA to drive the control valve or other final control
element.
Connection to the SET Terminal of Another Function Block - FSBSET
The FSBSET sets an MV for the cascade setpoint (CSV) of the function block being con-
nected, via connection between its OUT terminal and the SET terminal of the function
block.
Output Tracking - FSBSET
When the cascade loop connecting the FSBSETs OUT terminal and the SET terminal of
another function block is open, then the block mode changes to initialization manual
(IMAN). This activates output tracking and causes the MV to agree with the value at the
connection destination of the OUT terminal.
D8-26 <D8.1 Batch Set Control Block (FSBSET)>
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
Output Velocity Limiter - FSBSET
The output velocity limiter restricts the amount of change in output value acquired last time
and this time according to its setting value, in order to prevent abrupt change in output
value. The output velocity limiter is an allowable amount of change in output value per scan
period. When it becomes active during manual operation, a non-restricted value is dis-
played, though the amount of change in MV is restricted. Setting the Output Velocity
Limiter Bypass in MAN to No prevents the output velocity limiter from operating during
manual operation. When the FSBSET block mode is in the Tracking (TRK) mode, the
Limiter does not work.
The Output Velocity Limiter and Output Velocity Limiter Bypass in MAN settings are speci-
fied as follows in the Function Block Detail Builder:
Output velocity limiter:
A percentage value or a data item value in industrial scale unit within the range be-
tween 0 and the MV scale span limit
The set value must be positive (effective digits: 6 digits).
The default is 100.0 %.
Output velocity limiter Bypass in MAN: Select Yes or No.
The default is No.
<D8.1 Batch Set Control Block (FSBSET)> D8-27
IM 33S01B30-01E
D8.1.7 Alarm and Notification Processing of Batch Set Control
Block (FSBSET)
The alarm and notification processing items of the FSBSET include leakage alarm,
input failure, deviation error, output failure and processing in response to an exter-
nal EMST command.
Alarm and Notification Processing of the Batch Set Control Block
(FSBSET)
The table below shows the alarm processing items of the FSBSET block.
Table Table of Alarm and Notification Processing Items for Batch Set Control Block (FSBSET)
Alarm Processing
No. Processing Item Provided Remarks
1 Leakage alarm (LEAK)
2 Input failure (IOP)
3 Output failure (OOP)
4 First-stage deviation error (DV1)
5 Second-stage deviation error (DV2)
6
7 Loss-of-pulse (NPLS)
8
9 Alarm off (AOFS)
10
11
12 External EMST command (EMST)
13
14 Output stoppage (OUTS)
15 Connection failure (CFN)
16
17
18
19
20
D080115E.EPS
: available
10th Edition : Dec.18,2003-00
D8-28 <D8.1 Batch Set Control Block (FSBSET)>
IM 33S01B30-01E
Leakage Alarm (LEAK) - FSBSET
Leak Check, Detection Set Value
During the interval from the end of the current batch to the start of the next, flow rate calcu-
lation and totalization continue to be performed. The FSBSET compares this totalized
value and that at the previous batch end (stored upon batch end). This is called leak
check. If their difference exceeds the setpoint for leakage alarm detection, the alarm status
changes to LEAK. Leakage alarm detection is performed only when the block mode is
MAN and the control step is in ZONE 0.
To reset the leakage alarm and restart leakage checking, set Leak Reset tuning parameter
(LRSW) to 1.
Leakage alarm detection can be enabled or disabled in the Function Block Detail Builder.
The Leak Check parameter of the builder is set as follows:
Leak Check: Select Yes or No.
The default is Yes.
The setpoint for leakage alarm detection is set in the Function Block Detail Builder.
The Detection Set Value parameter of the builder is set as follows:
Detection Set Value: 0.00 to 10000.00
The default is 10.00.
Input Failure (IOP) - FSBSET
Input Open Alarm
If an input card fails, the IOP alarm of the FSBSET Block appears as input failure. If ASTM
temperature compensation is specified and the IOP alarm of temperature loops appears, or
if data is referenced by input connection and the IOP alarm of the connected function block
appears, the IOP alarm of the FSBSET block also appears as input failure.
Output Failure (OOP) - FSBSET
Output Open Alarm
If the output card fails or the output becomes otherwise abnormal, the alarm status
changes to OOP.
Deviation Errors (DV1, DV2) - FSBSET
Level-One Deviation Alarm, Level-Two Deviation Alarm
If a first-stage deviation error occurs in the instantaneous deviation or accumulated deviation,
the alarm status changes to DV1. If a second-stage deviation error occurs in the instantaneous
deviation or accumulated deviation, the alarm status changes to DV2.
If instantaneous deviation control is set as the deviation control type for FSBSET in the Func-
tion Block Detail Builder, the DV1 and DV2 indicate instantaneous deviation errors.
If accumulated deviation control is set as the deviation control type for FSBSET in the Function
Block Detail Builder, the DV1 and DV2 indicate accumulated deviation errors.
The first-stage deviation alarm and second-stage deviation alarm can be enabled or
disabled in the builder.
The Level-one Deviation Alarm and Level-two Deviation Alarm parameters of the Func-
tion Block Detail Builder are set as follows:
Level-One Deviation Alarm: Select Yes or No.
The default is Yes.
Level-Two Deviation Alarm: Select Yes or No.
The default is Yes.
10th Edition : Dec.18,2003-00
<D8.1 Batch Set Control Block (FSBSET)> D8-29
IM 33S01B30-01E
Instantaneous Deviation Error
Momentary Deviation Alarm Hysteresis
When the FSBSET is in the steps in which constant-flow control is performed (ZONE 2,
ZONE 3 or ZONE 5; also Zone 22 if specified in the builder), and if the instantaneous
deviation exceeds the corresponding alarm setpoint, the following processing is performed:
First-step deviation: When DL1 < En, the alarm status is changed to DV1.
Second-step deviation: When DL2 < En, the alarm status is changed to DV2.
Where
En: the instantaneous deviation
DL1: the first-stage deviation alarm point
DL2: the second-stage deviation alarm point
The instantaneous deviation alarm hysteresis can be specified for each function block in
the builder.
The Momentary Deviation Alarm Hysteresis parameter of the Function Block Detail
Builder is set as follows:
Momentary Deviation Alarm Hysteresis: 0 to (SH-SL).
The default is a value equivalent to 1 %.
SH: Scale high limit
SL: Scale low limit
Accumulated Deviation Error
Accumulated Deviation Alarm Hysteresis
When the current control step is ZONE 22, ZONE 23 or ZONE 24, and if the accumulated
deviation exceeds an alarm setpoint, the following processing is performed:
First-step deviation: When DL1X < En, the alarm status is changed to DV1.
Second-step deviation: When DL2X < En, the alarm status is changed to DV2.
Where
En: the accumulated deviation
DL1X: the first-stage deviation alarm point
DL2X: the second-stage deviation alarm point
The accumulated deviation alarm hysteresis can be specified for each function block in the
builder.
The Accumulated Deviation Alarm Hysteresis parameter of the Function Block Detail
Builder is set as follows:
Accumulated Deviation Alarm Hysteresis: 0.00 to 10000.00.
The default is 10.00.
External EMST Command - FSBSET
When an emergency stop command (EMSW=1) is received, the FSBSET outputs an alarm
(EMST) and performs emergency stop processing (EMST processing).
10th Edition : Dec.18,2003-00
D8-30 <D8.1 Batch Set Control Block (FSBSET)>
IM 33S01B30-01E
Loss-of-Pulse Error - FSBSET
Non-Incoming Pulse Alarm, Detection Mask Time, Detection Interval Time
If no pulses are received during loss-of-pulse detection processing within a preset period of
time, the data status changes to NPLS.
Loss-of-pulse detection processing is performed only during SET-UP (ZONE 1), flow rate
control (ZONE 2), STEADY (ZONE 3), EARLY (ZONE 4), PB control (ZONE 5) and PI
blending control (ZONE 22).
No loss-of-pulse detection is executed if MV=0 or SV=0.
The figure below shows the processing flow of loss-of-pulse detection:
CVK
(Extent of
CV kick)
SVL
(Initial flow
rate setpoint)
SVH
(Final flow
rate setpoint)
Control status SET UP
Timer
Control step
(zone)
1 2
Steady
3
EMST
8
EMST
end
9 0 10 11
Restart
D080116E.EPS
NON-
Ctrl
Start
Flow rate
setpoint
(SV)
t
SET UP
1
SET UP
1
t6
Monitor Monitor
t7 t7 t7 t7 t6 t7 t7
.......... ..........
t6: Check mask time (set in builder)
t7: Check time (set in builder)
Initial flow rate
control
Figure Loss-of-Pulse Detection Processing
SEE ALSO
For the details of each control step, see the following:
D8.1.8, Control Processing of Batch Set Control Block (FSBSET)
10th Edition : Dec.18,2003-00
<D8.1 Batch Set Control Block (FSBSET)> D8-31
IM 33S01B30-01E
The loss-of-pulse alarm can be enabled or disabled in the builder.
The Non-incoming Pulse Alarm parameter of the Function Block Detail Builder is set as
follows:
Non-incoming Pulse Alarm: Select Yes or No.
The default is Yes.
The check mask time (t6) shown in Figure Loss-of-Pulse Detection Processing indicates
the time immediately after start or restart during which loss-of-pulse detection is stopped.
The check mask time is specified in the builder.
The Detection Mask Time parameter of the Function Block Detail Builder is set as follows:
Detection Mask Time: 0 to 10000 (unit: basic scan period).
The default is 30.
The check time (t7) shown in Figure Loss-of-Pulse Detection Processing indicates the
period during which loss-of-pulse detection is performed. The check period is specified in
the builder.
The Detection Interval Time parameter of the Function Block Detail Builder is set as
follows:
Detection Interval Time: 0 to 10000 (unit: basic scan period).
The default is 10.
IMPORTANT
If the ER bus interface modules (EB401) of KFCS2/KFCS, or RIO bus interface modules
(RB301) of FCS2/FCS are dual-redundantly configured, when switching from one module
to another, the pulse input may halt for a few seconds. The detection interval time for the
loss-of-pulse error should be set with the following consideration.
For RB301 (halt time: 1 or 2 seconds):
Detection interval time setting should be greater than 2.
For EB401 (halt time: 2 or 3 seconds):
Detection interval time setting should be greater than 4.
Output Stoppage Alarm - FSBSET
Output Shutdown Alarm
When the block mode of a function block downstream in a cascade connection changes
from CAS to non-CAS, or when the cascade path is disconnected by a switch or the like,
the alarm status changes to OUTS.
The output stoppage alarm can be enabled or disabled in the builder.
The Output Shutdown Alarm parameter of the Function Block Detail Builder is set as
follows:
Output Shutdown Alarm: Select Yes or No.
The default is Yes.
10th Edition : Dec.18,2003-00
D8-32 <D8.1 Batch Set Control Block (FSBSET)>
IM 33S01B30-01E
Alarm Statuses (Alarm and Notification Processing) of the Batch Set
Control Block (FSBSET)
The table below shows alarm statuses related to alarm and notification processing of the
FSBSET block.
Table Table of Alarm Statuses for Batch Set Control Block (FSBSET)
Abbreviation Service Description
NR Normal No alarm has occurred.
OOP Output open alarm
The status of the output is output failure (PTPF), caused by a malfunction of or
break in the control element or process I/O device, or by a data error in the output
destination. Normally, the output function stops.
IOP High input-open alarm
The status of the input is BAD, caused by a malfunction of or break in the control
element or process I/O device, or by a data error in the input destination.
Normally, all processing which uses input data stops. If the cause is input
overshooting by some factor such as a break, the input overshoots upwards.
IOP- Low input-open alarm
The input overshoots downwards by some factor such as a break. The status of the
input turns to BAD. Normally, all processing which uses input data stops.
DV1 First-stage deviation alarm
The absolute value of an instantaneous deviation between the measured value and
setpoint exceeds the DL1 alarm setpoint, or the absolute value of an accumulated
deviation exceeds the DL1X alarm setpoint.
DV2 Second-stage deviation alarm
The absolute value of an instantaneous deviation between the measured value and
setpoint exceeds the DL2 alarm setpoint or the absolute value of an accumulated
deviation exceeds the DL2X alarm setpoint.
LEAK Leakage alarm
The totalization is still being executed while waiting for the next batch after the
end of a batch. If the current totalized value minus the totalized value at the end of
the previous batch exceeds the leakage detection setpoint, the leakage alarm is
activated.
EMST Emergency stop alarm
When an emergency stop is commanded (EMSW=1), this alarm is activated. The
alarm is on until the completion of the emergency stop procedure (EMST end).
NPLS Loss-of-pulse alarm
If no pulse is detected during the specified interval, the loss-of-pulse alarm is
activated.
OUTS Output stoppage alarm
Warns that the cascade connection is open. The OUTS alarm occurs when the
secondary block turns to the modes other than CAS or when the cascade
connection has been disconnected by a switch or the like.
CNF Connection failure alarm
The status of the I/O destination block is O/S (out of service). This alarm enables
the user to identify the block still operating in the group of control blocks which
were put out of service for maintenance. Normally, IOP and OOP are activated at
the same time.
D080117E.EPS
Action Upon Activation of Alarms in the Batch Set Control Block
(FSBSET)
Emergency Stop by OOP/IOP/IOP-/NPLS/DV1/DV2/OUTS Alarms
The control action of the FSBSET (emergency stop or continuation of action) upon activa-
tion of an alarm can be specified in the Function Block Detail Builder for each alarm type.
The Emergency Stop parameters can be enabled or disabled for each of the alarm types
shown below:
IOP-, IOP, DV1, DV2, NPLS, OOP, OUTS
The default is Yes.
10th Edition : Dec.18,2003-00
<D8.1 Batch Set Control Block (FSBSET)> D8-33
IM 33S01B30-01E
Bypassing Alarms or Notifications - FSBSET
For each of the following alarms, the detection function can be bypassed individually via
specification in the Function Block Detail Builder:
IOP-, IOP, DV1, DV2, NPLS, LEAK, OOP, OUTS
For all of the following alarms and notifications, the notification functions can be bypassed
collectively by specifying AOFS (alarm off):
IOP-, IOP, DV1, DV2, NPLS, LEAK, OOP, OUTS, EMST
Control Steps of the Batch Set Control Block (FSBSET) and
Applicable Alarm Processing
The table below shows whether alarms are detected at each control step of the FSBSET
block.
Table Table of Control Steps for Batch Set Control Block (FSBSET) and Applicable Alarm
Processing
Control
Step
Status
Deviation
Alarm
Processing
Loss-of-Pulse
Leakage
Check
IOP OOP
External
EMST
Command
0 NON-CONTROL
1 SET-UP
2 I. F. CONTROL
3 STEADY
4 EARLY
5 P. B. CONTROL
6 WAIT
7 END
8 EMST
9 EMST END
10 START
11 RESTART
12 START
13 RESTART
20 START
21 RESTART
22
PI BLENDING
CONTROL
23 END WAIT
24 EMST
25
COMPONENT
CUT-OFF
26 END
D080118E.EPS
: available
10th Edition : Dec.18,2003-00
D8-34 <D8.1 Batch Set Control Block (FSBSET)>
IM 33S01B30-01E
D8.1.8 Control Processing of Batch Set Control Block (FSBSET)
Some of the processing performed in each of the FSBSETs control steps are re-
peated over multiple steps (common processing), while others are performed only in
a specific control step.
Control Processing of Batch Set Control Block (FSBSET)
The table below shows the control processing items performed by FSBSET block.
Table Table of Control Processing Items Performed by Batch Set Control Block (FSBSET)
Alarm Processing
Purpose
Item
Provided Remarks
Step
No.
Contents
Common 0 Non-Control
Batch Loader
(at Port)
1 Set-Up
2 Initial Flow Rate Control
3 Steady
4 Early
5 Pre-Batch Control
6 Wait
7 End
8 During EMST Processing
9 EMST End
10 Start (CV-Kick)
11 Restart (CV-Kick)
12 Start
13 Restart
Blending
Control
20 CV-Kick (Start)
21 CV-Kick (Restart)
22 Blend PI Control
23 Waiting END
24 EMST
25 Component Being Released
26 End
D080119E.EPS
: available
10th Edition : Dec.18,2003-00
<D8.1 Batch Set Control Block (FSBSET)> D8-35
IM 33S01B30-01E
Common Processing - FSBSET
This section describes the common processing items of the FSBSET: PI control, emer-
gency stop processing, batch-end detection processing, early-point detection processing,
manual operation and operation commands. The batch end processing and early-point
detection processing are not performed if an endless shipment is specified.
PI Control
Gain-Up Value
Flow rate control based on PI action (proportional action+integral action) is called PI con-
trol. The computation expression used for PI control is shown below:
MVn=KS KP (En+ En)
T
I
100
P
MSH-MSL
SH-SL
D080120E.EPS
Where
MVn: the manipulated variable increment
En: the deviation increment
En: the deviation (En=PVn-SVn)
T: the control period (1 second)
I: the integral time (in seconds)
Kp: gain (set gain) (= )
Ks: the scaling factor (= )
However, when P=0, the following I control computation is executed. The computational
expression used for I control is shown below:
MVn=KS En
I
I D080121E.EPS
The PI control algorithm is shown below:
For ZONE 1 only, (Kp=set gain+gain increment)
(Where the gain increment is a parameter set in the Function Block Detail Builder.)
Gap (dead band) PI control is also possible, that is:
MVn=0 when | En | BS (gap width)
The Gain-up Value parameter of the Function Block Detail Builder is set as follows:
Gain-up Value: 0.00 to 100.00
The default is 0.00.
Emergency Stop Processing
When an emergency stop alarm occurs or an emergency stop command is received
(EMSW0 or CMND=4), the FSBSET resets this command (EMSW=0 or CMND=0) and
proceeds to emergency stop processing (Zone 8).
Batch-End Detection Processing
When the totalized value reaches or exceeds (batch setpoint - predicted leakage value),
the control valve shuts tightly and processing proceeds to WAIT (ZONE 6). The conditional
expression for batch end detection is shown below:
SUMBSET-VL
However, when designation is no batch processing (NONB0), the batch does not end
even when the totalizer reading reaches the batch quantity (does not proceed to ZONE 6).
10th Edition : Dec.18,2003-00
D8-36 <D8.1 Batch Set Control Block (FSBSET)>
IM 33S01B30-01E
Early-Point Detection Processing
Early Detection Bias Time
When batch processing is about to end (batch end), the flow rate gradually slow. Early-
point detection processing detects the point at which the flow rate starts to slow down.
When the SUM is equal to or exceeds the batch setpoint value from which pre-batch
quantity and expected leakage have been subtracted, the control step proceeds to ZONE4
Early Processing. The computational expression is shown below.
SUMBSET-QE-VL
The pre-batch quantity (QE) is automatically calculated from the current setpoint (SV). The
computational expression used varies depending on whether or not a control valve is used.
Calculating QE when a control valve is used:
During early detection, the control valve is throttled back in increments of M. Thus,
the throttling time T can be calculated. The bias time (a) is added to T, and the pre-
batch quantity (QE) is calculated from the current setpoint (SV) as follows:
QE (liters)=SV(%) Max. flow (kl/h) T (sec)
1000
3600
1
2
MV
M
the first-stage throttle setting
M
D080122E.EPS
When the current MV > the first-stage throttle setting, then
T= T (sec) + a (sec),
and when current MV the first-stage throttle setting, then
T = T (sec) + a (sec)
where
QE: the pre-batch quantity (liters)
MV: the current control valve opening (%)
M: the control valve throttling decrement when the EARLY status occurs (%) (set in the builder)
a: the bias time (sec)
T: the control period (1 second)
The bias time for early-point detection (a) is specified in the builder.
The Early Detection Bias Time parameter of the Function Block Detail Builder is set
as follows:
- Early Detection Bias Time: 0 to 10000 (unit: basic scan period).
The default is 10.
10th Edition : Dec.18,2003-00
<D8.1 Batch Set Control Block (FSBSET)> D8-37
IM 33S01B30-01E
The figure below shows how each variable changes during early detection:
D080123E.EPS
QE
MV
MV
a
T
M
EARLY point
Current SV
First-stage
throttle setting
Current MV
QE
First-stage throttle setting
MV
a
T
Time (sec)
T
Time (sec)
T
M
EARLY point
Current SV
Current MV
First-stage
throttle
setting
t t
Figure Change in Variables During Early Detection (When Control Valve Is Used)
TIP
When the designation is no batch processing (NONB0), early detection is bypassed.
10th Edition : Dec.18,2003-00
D8-38 <D8.1 Batch Set Control Block (FSBSET)>
IM 33S01B30-01E
Calculating QE when a control valve is not used:
Although the calculation uses a similar expression, T is calculated from the current
flow rate setpoint (SV) since there is no value for control valve opening (MV).
QE (liters)=SV (%) Max. flow (kl/h) T (sec)
1000
3600
1
2 D080124E.EPS
If the current SV > the first-stage throttle setting
the first-stage throttle setting
M
D080125E.EPS
T= T (sec) + a (sec)
If the current SV % the first-stage throttle setting
SV
M D080126E.EPS
T = T (sec) + a (sec)
where
QE: the pre-batch quantity (liters)
SV: the current flow rate setpoint (kiloliters per hour)
M: the control valve throttling decrement when the EARLY status occurs (kiloliters per hour)
a: the bias time (seconds)
T: the control period (1 second)
The figure below shows how each variable changes during early detection:
D080127E.EPS
QE
a
T
Time (sec)
T
M
EARLY point
SV
Flow rate
setpoint
(%)
t
Figure Change in Variables During Early Detection (When Control Valve Is Not Used)
The control valve throttling decrement (M) during early detection is specified in the
builder. Since M is defined as a percentage value regardless of whether or not the
OUT terminal of the FSBSET is connected, M is converted to a value in industrial
scale unit to calculate the pre-batch quantity (QE). In the same manner, the first-stage
throttle setting is also converted to the SV industrial scale unit.
10th Edition : Dec.18,2003-00
<D8.1 Batch Set Control Block (FSBSET)> D8-39
IM 33S01B30-01E
Manual Operation
MAN Intervention Processing
Changing the block mode to MAN allows manual operation of the FSBSET block (Auto-
matic control is interrupted). However, by setting the MAN Intervention Processing to
Yes on the Function Block Detail Builder, you can automatic control by changing the
control step during manual operation when the EMST command is received or a batch end
is detected. In this case, the block mode is automatically set to AUT or CAS.
The MAN Intervention Processing parameter of the Function Block Detail Builder is set as
follows:
MAN Intervention Processing: Select Yes or No.
The default is No.
Operation Commands
Transition of control steps occurs via commands from a JOB controller, supervisory loop or
operator. Or, it may occur via commands issued by the FSBSET itself. Transition com-
mands that are sent from a JOB controller, supervisory loop or operator, are called opera-
tion commands.
The figure below shows the action of a batch loader FSBSET in response to operation
commands (CMNDs). The operation commands (1) through (4) in the figure indicate when
the start, emergency stop, restart and reset (abort) commands are issued.
CVK
(extent of
CV-kick setpoint)
SVL
(Initial flow
rate setpoint)
SVH
(Final flow
rate setpoint)
Control status
SET
UP
MAN Block mode
Control step
(zone)
1
SET
UP
1
AUT or CAS MAN
Initial flow rate
control
2
Steady
3
EMST
8
EMST
end
9
Steady
3
Wait
6 0 (10) (11) 1
Re-
start
D080128E.EPS
NON-
Ctrl
SET
UP
Start
End
7
NON-
Ctrl
0
Flow rate
setpoint
(SV)
t
CMND
Operation
Block mode
1 (*1)
Start
AUT or CAS
(1) (2) (3) (4)
4
EMST
Start mode
2 (*2)
Restart
AUT or CAS
3
Forced reset
Start mode
*1: Start action is for CMND=1 (with CV-kick).
*2: Restart action is for CMND=2 (with CV-kick).
Figure Action of FSBSET by Operation Commands (Batch Loader)
10th Edition : Dec.18,2003-00
D8-40 <D8.1 Batch Set Control Block (FSBSET)>
IM 33S01B30-01E
Start
Change the block mode to AUT or CAS and set as CMND=1 to enable CV-kick, or as
CMND=11 to disable CV-kick. This executes the startup process appropriate for the
specified action of CV-kick.
This process does not run unless the block mode is either AUT or CAS.
Emergency Stop
Setting EMSW=1 or CMND=4 starts emergency stop processing.
Restart
Set as CMND=2 to enable CV-kick, or as CMND=12 to disable CV-kick. This executes
the restart process appropriate for the specified action of CV-kick.
The process does not run unless the block mode is either AUT or CAS.
Reset (abort)
Setting CMND=3 performs batch end processing and resets the instrument to the
block mode specified when starting the batch.
If the FSBSET is used as a component FSBSET, operation commands for the block are
automatically issued by the BLEND control block. The operator cannot issue operation
commands to the FSBSET directly.
The figure below shows the action of a component FSBSET (for blending control).
The operation commands (5) through (9) in the figure indicate when the start, emergency
stop, restart, waiting END and END commands are issued.
CVK
Control status
CV
Kick
MAN Block mode
Control step
(zone)
20
CAS MAN
0
D080129E.EPS
NON-Ctrl
Flow rate
setpoint
(SV)
t
22
EMST
24
CV
Kick
21 22 23
End
26 0
NON-Ctrl
CMND Command
Operation
Block mode
21
Start
CAS
(5) (6) (7) (8) (9)
24
EMST
CAS
22
Restart
CAS
26
Waiting END
CAS
23
END
CAS
PI blending
control
PI blending
control
Waiting
for END
Figure Action of Batch Set Control Block (FSBSET) by Operation Commands (Components in
Blending)
10th Edition : Dec.18,2003-00
<D8.1 Batch Set Control Block (FSBSET)> D8-41
IM 33S01B30-01E
The figure below shows the component cut-off action of a component FSBSET (for blend-
ing control).
In the figure, (10) indicates when the component cut-off command is issued.
Control
status
Block mode
Control step
(zone)
CAS MAN
D080130E.EPS
Flow rate
setpoint
(SV)
t
PI blending control
22 25
End
26 0
Non Control
CMND Command
Operation
Block mode
25
Component cut-off
CAS
(10)
Component cut-off
Figure Component Cut-Off Action of Batch Set Control Block (FSBSET) by Operation Command
(Components in Blending)
10th Edition : Dec.18,2003-00
D8-42 <D8.1 Batch Set Control Block (FSBSET)>
IM 33S01B30-01E
The figure below shows the control functions available in each control step of the FSBSET:
Table Table of Functions Available in Each Control Step of Batch Set Control Block (FSBSET)
(1/2)
Control
Step
Status Function
Block
Mode
Initialization
Emergency
Stop
PI
Control
Batch End
Detection
Early
Detection
0 NON-CONTROL Leakage check MAN
1 SET-UP SV increase in steps
CAS
(AUT)
2 I. F. CONTROL Initial flow rate control
CAS
(AUT)
3 STEADY Steady flow rate control
CAS
(AUT)
4 EARLY
First-stage control valve (CV)
throttling
CAS
(AUT)
5 P. B. CONTROL
Flow rate control at pre-batch
setting flow rate
CAS
(AUT)
6 WAIT Tightly shut control valve
CAS
(AUT)
7 END
After waiting a certain
predetermined time, the block
mode changes to MAN and
proceeds to step 0.
CAS
(AUT)
8 EMST
Multi-stage closing of control
valve
CAS
(AUT)
9 EMST END Tightly shut control valve
CAS
(AUT)
10 START
Initialization processing
CV-kick
CAS
(AUT)
11 RESTART
CV-kick
Alarm status initialization
CAS
(AUT)
12 START Initialization processing
CAS
(AUT)
13 RESTART Alarm status initialization
CAS
(AUT)
D080131E.EPS
10th Edition : Dec.18,2003-00
<D8.1 Batch Set Control Block (FSBSET)> D8-43
IM 33S01B30-01E
Table Table of Functions Available in Each Control Step of Batch Set Control Block (FSBSET)
(2/2)
Control
Step
Status Function
Block
Mode
Initialization
Emergency
Stop
PI Blend or
Instantaneous
Dev PI
Control
Batch
End
Detection
Early-
Point
Detection
Deviation
Alarm
Processing
20 START
Valve control with a
specified opening kick
quantity (CVK)
CAS
21 RESTART
Valve control with a
specified opening kick
quantity (CVK) (Initializing
information other than
batch totalized value)
CAS
22
PI BLENDING
CONTROL
PI blending control or
instantaneous deviation
control
CAS
23 END WAIT
Tightly shut control valve
(CV)
Retain totalized value as
the previous totalized value
CAS
24 EMST CV tightly shut CAS
25
COMPONENT
CUT-OFF
CV throttling CAS
26 END
CV tightly shut
Retain totalized value as
the previous totalized value
Change the block mode
to MAN and proceed to
step 0.
MAN
D080132E.EPS
10th Edition : Dec.18,2003-00
D8-44 <D8.1 Batch Set Control Block (FSBSET)>
IM 33S01B30-01E
Processing in Each Control Step - FSBSET
This section describes the processing performed in each control step.
ZONE 0 (Control status: NON-CONTROL)
When the mode is MAN, only the leakage check is performed.
SEE ALSO
For the leakage check, see the following:
Leakage Alarm (LEAK) - FSBSET in D8.1.7, Alarm and Notification Processing of Batch Set Con-
trol Block (FSBSET)
ZONE 1 (Control status: SET-UP)
SETUP Interval Time, Initial Flow Speed SET UP End Waiting Time, Normal Flow Speed SET UP
End Waiting Time
When a batch cycle is started, or the flow rate setpoint (final flow rate setpoint: SVH; or
initial flow rate setpoint: SVL) is updated, the current flow rate setpoint (SV) is changed in
steps during each control period until it agrees with the target value (SVL or SVH), after the
SET-UP waiting time (1 second, fixed) has elapsed. This flow rate setpoint (SV) is used to
perform PI control. When the SV reaches or overshoots the target value, it is held at the
current value (where SV=target value) for a certain predefined WAIT time, before process-
ing proceeds to the next control step.
The intervals in which the SV is changed in steps is specified in the Function Block Detail
Builder.
The SETUP Interval Time parameter of the builder is set as follows:
SETUP Interval Time: 0 to 10000 (unit: basic scan period)
The default is 1.
The increments in which the SV is changed in steps are specified as the STUP data item
(SV SET-UP increment), while the decrements are specified as the STDN data item (SV
SET-DOWN decrement).
The waiting time when the target value is reached is specified in the Function Block Detail
Builder.
The Initial Flow Speed SET UP End Waiting Time and Normal Flow Speed SET UP End
Waiting Time parameters of the builder are set as follows:
Initial Flow Speed SET UP End Waiting Time:
0 to 10000 (unit: basic scan period)
The default is 10.
Normal Flow Speed SET UP End Waiting Time:
0 to 10000 (unit: basic scan period)
The default is 10.
In this step, PI control, emergency stop processing, batch-end detection processing and
early-point detection processing are performed as common processing.
10th Edition : Dec.18,2003-00
<D8.1 Batch Set Control Block (FSBSET)> D8-45
IM 33S01B30-01E
D080133E.EPS
Set Down
decrement
SV
(%)
t
t0
SVH
or
SVL
Set Up
increment
SV
(%)
t
t0
SVH
or
SVL
Start
t0: SET-UP interval time
Figure SET-UP Processing and SET-DOWN Processing
In ZONE 1, initial flow rate control is needed when the following conditions are met. There-
fore, the initial flow rate setpoint (SVL) is adopted as the target value during SET-UP
processing.
ILSW=1 (initial flow rate control command)
ILST > SUM (the totalized flow is less than the initial totalized flow setpoint)
If the above conditions are not met while setting up toward SVL, SET-UP toward SVH is
started immediately.
After SET-UP is completed, if the above conditions are met, then the step proceeds to initial
flow rate control (ZONE 2); if they are not, it proceeds to STEADY (ZONE 3).
ZONE 2: Initial flow rate control
PI control is carried out by using the initial flow rate setpoint (SVL) as the flow rate setpoint
(SV).
If the SVL is updated, control proceeds to ZONE 1. When initial flow rate control is released
or when the totalized flow reaches the initial totalized flow setpoint, the final flow rate
setpoint (SVH) is used as the target value and the control proceeds to ZONE 1.
In this step, PI control, emergency stop processing, batch-end detection processing and
early-point detection processing are performed as common processing.
ZONE 3 (Control status: STEADY)
PI control is carried out based on the final flow rate setpoint (SVH) as the flow rate setpoint
(SV).
If the SVH is updated, control proceeds to ZONE 1.
In this step, PI control, emergency stop processing, batch-end detection processing and
early-point detection processing are performed as common processing.
10th Edition : Dec.18,2003-00
D8-46 <D8.1 Batch Set Control Block (FSBSET)>
IM 33S01B30-01E
ZONE 4 (Control status: EARLY)
Valve Throttling Quantity in Early Status, Previous-Batch Transition Decision Coefficient, First
Stage Valve Throttle Level in Early Status
The control valve is throttled back a fixed amount during each control period, and measure-
ment tracking is performed. Then, control proceeds to ZONE 5 (pre-batch control).
The computational expression used varies depending on whether or not a control valve is used.
In this step, emergency stop processing and batch-end detection processing are performed
as common processing.
SEE ALSO
For the details of early-point detection processing, see the following in this section:
Early-Point Detection Processing in Common Processing - FSBSET
Early-point detection processing when a control valve is used:
The manipulated output value (MV) is decreased in steps by M. M is the throttling
decrement during early-point detection processing specified in the Function Block
Detail Builder. The computational expression for this throttling is shown below:
MVn=MVn-1 - M
SVn=PVn (SV value tracks PV value.)
When MV0 or SVn aSVPR (data item SVPR is the flow rate setpoint for pre-
batch; a is the pre-batch transition coefficient set in the Function Block Detail Builder)
is reached via throttling, the SV is set as SVPR and control proceeds to ZONE 5.
The figure below shows the throttling process until MV0 or SVn aSVPR is
reached:
D080134E.EPS
T
M
MV
Flow rate
setpoint
(%)
SVPR
P.B.Ctrl Steady Early
SV(=PV) a
SV
PV
t
T
M
MV
Flow rate
setpoint
(%)
SVPR
P.B.Ctrl Steady Early
SV(=PV) a
SV
PV
t
(b) Transition to step 5 by [SV aSVPR] (a) Transition to step 5 by [MV0]
T: Control period T: Control period
Figure Early-point Detection Processing (When Control Valve Is Used)
10th Edition : Dec.18,2003-00
<D8.1 Batch Set Control Block (FSBSET)> D8-47
IM 33S01B30-01E
The Valve Throttling Quantity in Early Status and Previous-batch Transition Deci-
sion Coefficient parameters of the builder are set as follows:
- Valve Throttling Quantity in Early Status: 0.001 to 100.000 %.
The default is 1.000.
- Previous-batch Transition Decision Coefficient: 0.000 to 100.000 %.
The default is 90.000 %.
TIP
When a control valve is used, control proceeds to ZONE 8 (EMST processing) if the status is IOP or OOP
alarm. If EMST is not specified, the block mode changes to IMAN and control remains at ZONE 4.
When the early point is detected, throttling back of the control valve starts from the
specified value (MP: the first-stage throttle setting at early detection, specified in the
Function Block Detail Builder).
D080135E.EPS
T
M
MV
(%)
MP
t
(a) MPMV
Early point detection
T: Control period
Figure Throttling from Specified Value (MP) at Early Point Detection
If the MP is larger than the current value, throttling back starts from the current value.
D080136E.EPS
T
M
T: Control period
MV
(%)
MP
t
(b)MPMV
Early point detection
Figure Throttling from Current Value (MV) at Early Point Detection
The First Stage Valve Throttling Level in Early Status parameter of the builder is set
as follows:
- First Stage Valve Throttling Level in Early Status: 0.000 to 100.000 %.
The default is 50.000 %.
10th Edition : Dec.18,2003-00
D8-48 <D8.1 Batch Set Control Block (FSBSET)>
IM 33S01B30-01E
Early-point detection processing when a control valve is not used:
The SV is decreased in steps by M. The computational expression for this throttling
is shown below:
SVn=SVn-1 - M
MVn=SVn
When SVnSVPR (flow rate setpoint for pre-batch) is reached, control proceeds to
ZONE 5 with the setting of SV=SVPR.
The figure below shows the throttling process until SVnSVPR is reached:
D080137E.EPS
T
M
MV
Flow rate
setpoint
(%)
SVPR
P.B.Ctrl Steady Early
SV
t
T: Control period
Figure Early-point Detection Processing (When Control Valve Is Not Used)
ZONE 5 (Control status: PRE-BATCH-CONTROL)
PI control continues with the flow rate setpoint for pre-batch (SVPR) used as the flow rate
setpoint (SV) until the totalized flow reaches the batch setting, and then control proceeds to
ZONE 6.
In this step, PI control, emergency stop processing and batch-end detection processing are
performed as common processing.
ZONE 6 (Control status: WAIT)
Waiting Time during Batch End
The control valve is tightly shut, and control WAITs for a certain predetermined time to
totalize the flow rate while the valve is being shut.
Then, batch end processing is performed before control proceeds to ZONE 7.
The totalizer value is stored as the previous totalizer value for the next batch.
The time of WAIT processing is set in the builder.
The Waiting Time during Batch End parameter of the Function Block Detail Builder is set
as follows:
Waiting Time during Batch End: 0 to 10000 (unit: basic scan period).
The default is 10.
10th Edition : Dec.18,2003-00
<D8.1 Batch Set Control Block (FSBSET)> D8-49
IM 33S01B30-01E
ZONE 7 (Control status: END)
Waiting Time during End Process Completion
The control valve is tightly shut, and again WAITs for a preset time.
Control then returns to ZONE 0 after the mode changes to MAN.
The time of WAIT processing is set in the builder.
The Waiting Time during End Process Completion parameter of the Function Block Detail
Builder is set as follows:
Waiting Time during End Process Completion: 0 to 10000 (unit: basic scan period).
The default is 10.
ZONE 8 (Control status: EMERGENCY STOP)
Valve Throttling Quantity in Emergency Shutdown Status, First Stage Valve Throttle Level in
Emergency Shutdown Status
This step closes the control valve in steps, with control proceeding to ZONE 8 when an
emergency stop alarm is generated or an emergency stop command is detected.
The processing details of multi-step closing vary depending on whether or not a control
valve is used.
In this step, batch-end detection processing is performed as common processing.
Multi-step closing when a control valve is used:
The MV is decreased in steps by ME during each control period, and control pro
ceeds to ZONE 9 when MV0 is reached. Measurement tracking is performed during
valve throttling.
The computational expressions for this throttling are shown below:
MVn=MVn-1 - ME
SVn=PVn
where
ME is the control valve throttling decrement in the EMST status (%) (specified in the
Function Block Detail Builder).
If the status is IOP or OOP alarm, then the following computational expression for
throttling is used instead:
MVn=MVn-1 - ME
SVn=MVn
The Valve Throttling Quantity in Emergency Shutdown Status parameter of the
Function Block Detail Builder is set as follows:
- Valve Throttling Quantity in Emergency Shutdown Status:
0.001 to 100.00 %.
The default is 2.000 %.
The figure below shows the throttling process until MV0 is reached:
ME
MV
(%)
t
T
D080138E.EPS
(a) When control valve is used
T: Control period
Figure Emergency Stop Processing (When Control Valve Is Used)
10th Edition : Dec.18,2003-00
D8-50 <D8.1 Batch Set Control Block (FSBSET)>
IM 33S01B30-01E
Multi-step closing when a control valve is not used:
The SV is decreased in steps by ME until SV0 is reached, and then control pro-
ceeds to ZONE 9.
The computational expression for this throttling is shown below:
SVn=SVn-1 - ME
MVn=SVn
where
ME is the control valve throttling decrement in the EMST status (%) (specified in the
Function Block Detail Builder).
The figure below shows the throttling process until SV0 is reached:
ME
SV
(%)
t
D080139E.EPS
T
T: Control period
Figure Emergency Stop Processing (When Control Valve Is Not Used)
First-stage throttling specified in the builder:
When a control valve is used, it is throttled to the specified first-stage throttle level. At
that point, start normal throttling at the start of emergency stop processing at the
specified value (MPE). However, if the MPE value is larger than the current value,
throttling starts at the current value.
MPE is the valve first-stage throttle setting at the EMST status (%)
(specified in the Function Block Detail Builder).
The figure below shows the first-stage throttle setting for control valve specified in the
builder:
(a) MPEMV
T
ME
MV
(%)
MPE
t
EMST detection
D080140E.EPS
(b) MPEMV
T
ME
MV
(%)
MPE
t
EMST detection
T: Control period T: Control period
Figure Control Valve First Stage Throttle Setting Specified in Builder
The Valve of First Stage Valve Throttle Level in Emergency Shutdown Status param-
eter of the Function Block Detail Builder is set as follows:
- Valve of First Stage Valve Throttle Level in Emergency Shutdown Status:
0.000 to 100.00 %.
The default is 50.000 %.
10th Edition : Dec.18,2003-00
<D8.1 Batch Set Control Block (FSBSET)> D8-51
IM 33S01B30-01E
ZONE 9 (Control status: EMST END)
Batch End Detection during Emergency Shutdown
This step completes the emergency stop. The details of processing vary depending on
whether or not a control valve is used.
In this step, batch-end detection processing is performed as common processing, even in
the EMST END status (specified in the Function Block Detail Builder).
When a control valve is used:
Sets MV=0 to tightly shut the control valve.
Performs measurement tracking.
SVn=PVn
Or, SVn=MVn (if the status is IOP or OOP alarm)
When a control valve is not used:
Sets SV=0 and MV=0.
The Batch End Detection during Emergency Shutdown parameter of the Function Block
Detail Builder are set as follows:
Batch End Detection during Emergency Shutdown: Select Yes or No.
Default is Yes.
ZONE 10 (RESET START)
SV Kick Width
After the initialization processing, control proceeds to ZONE 1 and starts batch processing.
The following are initialization processing items performed in this step:
Initializes totalizer value: Clears SUM to 0.
Initializes alarm status: Alarm status=NR
Clears the accumulated deviation to 0.
Resets emergency stop command:EMSW=0.
CV (control valve) kick: Sets the kick value (CVK) to the MV.
SV kick:
Same as the value set for SV kick width on the Function Block Detail Builder.
Definition item SV Kick Width may be defined as follows
- SV Kick Width: 0.000 - 100.000 %
Default setting is 0.000 %.
ZONE 11 (Control status: RESTART FROM EMST)
After the initialization processing, control returns to ZONE 1 and batch processing is restarted.
The following are initialization processing items performed in this step:
CV kick:
Sets the kick value (CVK) to the MV, and outputs this value as position data.
SV kick:
Same as the value set for SV kick width on the Function Block Detail Builder.
Initializes alarm status:
Alarm status=NR.
10th Edition : Dec.18,2003-00
D8-52 <D8.1 Batch Set Control Block (FSBSET)>
IM 33S01B30-01E
ZONE 20 (Control status: RESET START)
For blending control, the batch starts with this step.
When the mode is CAS, control first performs the initial processing, then starts batch
processing.
The following are initialization processing items performed in this step:
Initializes totalizer value: Clears SUM to 0.
Initializes alarms status: Alarm status=NR.
Clears the accumulated deviation (DV1, DV2) to 0.
Proceeds to ZONE 22.
CV kick: Sets the kick value (CVK) to the MV.
SV kick:
Same as the value set for SV kick width on the Function Block Detail Builder.
ZONE 21 (Control status: RESTART FROM EMST)
Similar to ZONE 20.
However, does not clear SUM or accumulated deviation.
ZONE 22 (Control status: BLEND PI CONTROL)
COMP Control Specification
Performs PI blending control or instantaneous deviation control (whichever is set in the
Function Block Detail Builder) based on the SV set from the supervisory loop. A deviation
alarm is applied to the totalizer value or instantaneous deviation, respectively.
PI blending control
The computational expression for PI blending control is as follows:
MVn=KS KP (En+ En )
T
Ix
3600
1000
100
Px
MSH-MSL
SH-SL
D080141E.EPS
Where
MVn: the manipulated variable increment (decrement)
En: the accumulated deviation
En: the deviation (Kl/h)
T: the control period (seconds)
Ix: the integral time (seconds)
KP: the gain(= )
KS: the scale conversion factor ( = )
TIP
The data item names of proportional band and integral time differ between blend PI control and instanta-
neous deviation control P and I are used in instantaneous deviation control, and Px and Ix in blend
PI control.
10th Edition : Dec.18,2003-00
<D8.1 Batch Set Control Block (FSBSET)> D8-53
IM 33S01B30-01E
Instantaneous deviation control
The computational expression for instantaneous deviation control is as follows:
MVn=KS KP (En+ En)
T
I
100
P
MSH-MSL
SH-SL
D080142E.EPS
Where
MVn: the manipulated variable increment (decrement)
En: the deviation (PVn-SVn)
T: the control period (seconds)
I: he integral time (seconds)
KP: the gain (= )
KS: the scale conversion factor ( = )
The Control Computation Type parameter of the Function Block Detail Builder is set
as follows:
- Control Computation Type:
Select Accumulated deviation or Instantaneous deviation.
The default is Accumulated deviation.
ZONE 23 (Control status: WAIT FOR END)
When the FSBSET reaches this step, the flow rate setpoint (SV) has already been set to 0
via specification from the supervisory loop.
The system confirms that the SV is 0, and performs the following end processing:
Tightly shuts the control valve (MV=0).
ZONE 24 (Control status: EMST)
The supervisory loop is in the emergency stop status. The control valve is tightly shut. The
block mode may fallback to MAN/IMAN.
ZONE 25 (Control status: COMPONENT CUT-OFF)
Valve Throttling Quantity in COMP Cut-Off Status
Component cut-off h as been ordered b y the supervisory loop, and the following end
processing is being performed. The details of processing vary depending on whether or not
a control valve is used.
When a control valve is used:
Throttle the MV by MR during each control period. When MV0 is reached, proceed
to ZONE 26. The computational expression for this throttling is shown below:
MVn=MVn-1 - MR
SVn=PVn
where MR is the valve throttling decrement (set in the Function Block Detail
Builder).
When a control valve is used, the valve is throttled based on the following expression
if the status is IOP or OOP alarm:
MVn=MVn-1 - MR
SVn=MVn
10th Edition : Dec.18,2003-00
D8-54 <D8.1 Batch Set Control Block (FSBSET)>
IM 33S01B30-01E
The figure below shows the throttling process until MV0 is reached:
MR
MV
(%)
t
D080143E.EPS
T
T: Control period
Figure Emergency Stop Processing (When Control Valve Is Used)
The Valve Throttling Quantity in COMP Cut-off Status parameter of the Function
Block Detail Builder is set as follows:
- Valve Throttling Quantity in COMP Cut-off Status:
0.001 to 100.000 %
The default is 2.000 %.
When a control valve is not used:
The SV is set as 0, and MVn as SVn. Then, control proceeds to ZONE 26.
The figure below shows the throttling process:
SV
(%)
t
D080144E.EPS
T
T: Control period
Figure Emergency Stop Processing (When Control Valve Is Not Used)
ZONE 26 (END)
The following end processing is performed.
Tightly shuts the control valve (MV=0).
Changes the block mode to MAN and returns to ZONE 0.
10th Edition : Dec.18,2003-00
<D8.1 Batch Set Control Block (FSBSET)> D8-55
IM 33S01B30-01E
Control Step Transition Diagram - FSBSET
The figure below shows the control step transition diagram:
1
SET UP
8
0
NON-
Ctrl
9
EMST
end
Emergency Stop
10
Start
11
Restart
(b)
2
Initial flow rate control
(c)
3
Steady
4
Early
(e)
5
P.B.
Ctrl
(g)
(i)
(l)
(j) (n) (k)
(o)
(d)
(h) (m) (a)
6
Wait
7
End
ZONE
Control
status
(f)
D080145E.EPS
(a) Batch start completed
(b) SET-UP ready (initial flow rate control)
(c) SET-UP end
(d) Initial flow rate control end (the operator directs the release, or the totalized value reaches the initial flow rate control
release quantity)
(e) Early-point detection (SUM > BSET-QE-VL)
(f) Batch-end detection (SUM > BSET-VL)
(g) WAIT end (batch-end processing completed)
(h) Batch end
(i) Emergency stop command (EMSW=1 or CMND=4)
(j) Emergency stop end
(k) RESTART end
(l) Batch end detection during emergency stop
(m) START command (CMND=1)
(n) RESTART command (CMND=2)
(o) Batch end detected, or Abort command (CMND=3)
Figure Control Step Transition Diagram of Batch Set Control Block (FSBSET) for Batch Loader
Receive buffer
MOD1 (=0, 1, 2)
Supervisory computer
(JOB controller)
D080204E.EPS
Figure Conceptual Diagram of Component Management
10th Edition : Dec.18,2003-00
<D8.2 Blending Master Control Block (BLEND)> D8-69
IM 33S01B30-01E
Structure of TAG Name and Release DT Data - BLEND
The figure below shows the structure of tag name and release DT data set by the supervi-
sory computer (JOB controller) in the BLEND control block receive buffer:
Release DT
. . .
1 1
Tag name Characters
D080205E.EPS
Releasing (cut-off) bit
Release end bit
Figure Structure of Tag Name and Release DT Data
Releasing (cut-off) bit means that release processing (processing to cut off component) is
being performed for the specified component FSBSET; release end bit means that re-
lease processing is completed.
MOD1 Change Commands - BLEND
The following change commands are issued by the supervisory computer (JOB controller)
to the MOD1 of the BLEND control block.
MOD1=0
(Disabled)
MOD1=1
(Copies new tag name and blending ratio data to the control buffer, and changes them.)
MOD1=2
(Sets to zero (or clears) the tag name and blending ratio data in the BLEND.)
When MOD1=1 or MOD1=2 is set, the MOD1 automatically returns to zero and
the processing for MOD1=1 or MOD1=2 is performed.
10th Edition : Dec.18,2003-00
D8-70 <D8.2 Blending Master Control Block (BLEND)>
IM 33S01B30-01E
Component Release Processing (Delete Processing) - BLEND
When a component is to be cut off during blending, first the flow rate of that component
must be set to zero. The processing for this is called Release Processing.
In release processing, the supervisory computer (JOB controller) sets the releasing (cut-
off) bit for the specified function block in the BLEND control block release buffer, then
issues a notification to set MOD1=1 in the BLEND, thereby executing the release.
The following processing is performed for the release-requested function block:
1. A component cut-off command (CMND=25) is issued to the specified component
FSBSET. The release request sets the FSBSET to ZONE 25. This component
FSBSET begins end processing, throttling back the MV by MR during each control
period. (If a control valve is not used, the SV is reduced step by step.) During release
processing, the BLEND still totalizes the SUM and PV of the releasing FSBSET.
Valve throttling MR may be specified on the Function Block Detail Builder.
Item to be defined.
- Valve Throttling Quantity in COMP cut-off status:
0.001 to 100.00
The default setting is 2.000.
2. For the specified component FSBSET, when MV=0 or SV=0, first ZONE=26 is set,
then ZONE=0 is set; when the BLEND detects ZONE=0 then releasing is complete,
and it subsequently ignores that tag (no further processing will be performed).
If, before release processing for the component FSBSET is complete, a component
configuration change command is received from the supervisory computer, the com-
ponent being released will be included in the targets of change processing.
The figure below shows how each variable changes during release processing:
MR
T: Control period
SV
Releasing command
Releasing end
PV
Each
variable
(%)
t
D080206E.EPS
T
Figure Change in Each Variable During Release Processing
10th Edition : Dec.18,2003-00
<D8.2 Blending Master Control Block (BLEND)> D8-71
IM 33S01B30-01E
D8.2.5 Port Management
The BLEND master can be configured to manage up to six FSBSET or BLEND con-
trol blocks at ports in secondary loops. The functions required to manage these
blocks are called port management functions.
Information regarding the blocks managed by the BLEND master (shipment port
configuration) is updated by the supervisory computer (JOB controller). It cannot be
changed by the user directly.
Port Management Functions - BLEND
When adding or deleting port FSBSET blocks or BLENDs managed by the BLEND master,
the supervisory computer sets the tag names in the BLEND control block receive buffer,
and then issues a change command to MOD2. The BLEND control buffer cannot be
changed by the user directly.
The figure below describes the concept of port management functions:
Control buffer
Tag name (1)
Tag name (6)
Tag name (2)
Control Function
Purpose
Item
Provided Remarks
Step
No.
Contents
Common 0 Non-Control
Tank
blending
(batch
loader
mode)
1 Set-up
2 Initial flow rate control
3 Steady
4 Early
5 Pre-batch control
6 Wait
7 End
8 During EMST processing
9 EMST end
10 Start
11 Restart
Direct
blending
shipment
(relay mode)
31 PI blending control
32 EMST
30 Waiting start
Others
1-9, 31,
32
Component release
By command from
supervisory system
3, 31 Pacing -0 (none)
3, 31 Pacing -1 (first-stage deviation)
3, 31 Pacing -2 (pressure)
3, 31 Pacing -3
D080214E.EPS
10th Edition : Dec.18,2003-00
<D8.2 Blending Master Control Block (BLEND)> D8-81
IM 33S01B30-01E
Common Processing - BLEND
This section describes the common processing items of the BLEND master: emergency
stop processing, batch-end detection processing, SV distribution processing, early-point
detection processing, pacing and operation commands. The batch-end processing and
early-point detection processing are not performed if an endless shipment is specified.
Emergency Stop Processing
Emergency Shutdown Specification of All Shipping Outlets
In a tank blending application, if an emergency stop alarm occurs or if the emergency stop
command is received (EMSW0 or CMND=4), then the emergency stop status is reset
(EMSW=0 or CMND=0) and the sequence proceeds to emergency stop processing (ZONE
8).
After the completion of its own emergency stop processing, it initiates an emergency stop
command to all component FSBSET blocks.
In the case of direct blending shipment, the emergency stop for all FSBSET blocks of all
ports move the blocks into emergency stop processing (ZONE 32) step. While in the case
that the emergency stop command is triggered by the event other than CMND, the BLEND
block may send an emergency stop to all FSBSET blocks of all ports if the item on the
Function Block Detail Builder is specified so. Thus, all the FSBSET blocks move to emer-
gency stop processing.
Item to be defined.
Emergency Shutdown Specification of All Shipping Outlets:
YES or NO
The default setting is YES.
Batch-End Detection Processing
When the totalized value reaches (batch setpoint - predicted leakage value), the SVs of
component FSBSET blocks are set to zero to issue a batch-end command, and the se-
quence proceeds to WAIT processing (ZONE 6). The conditional expression for batch-end
detection is shown below:
SUMBSET - VL
10th Edition : Dec.18,2003-00
D8-82 <D8.2 Blending Master Control Block (BLEND)>
IM 33S01B30-01E
SV Distribution Processing
Ratio Control Specification
The BLEND multiplies its SV by each components blend ratio and distributes the SV
values to each component FSBSET that is neither in the status release processing nor
release processing end. In this case, however, no component SV value must exceed the
corresponding SVs range.
For component FSBSET blocks added during the batch action (this must be at the initial
step (ZONE 0)), a start command is sent. If PPM is designated for a component FSBSET
in a builder, the blending ratio is set in PPM (parts per million) and the units of the compo-
nent FSBSET are regarded as L/H (the flow rate in liters per hour) or L (the totalized flow in
liters).
The Ratio Control Specification parameter of the builder is set as follows:
Ratio Control Specification: Select % or PPM.
The default is %.
Running port FSBSET with its control valve fully open during direct blending shipment
For a direct blending shipment, one FSBSET at the port can be run with its control
valve fully open; if the sum of the component flow setpoints is set to slightly less than
the flow rate setpoint of the port FSBSET, the output from this FSBSET is gradually
opened to fully open. This coefficient (sum of component flow rate setpoints: sum of
port flow rate setpoints) can be tuned.
Total of component flow settings=Total of flow setting at port CPLO
where
CPLO is throttling prevention coefficient (the default is 100 % to 0 %).
Early-Point Detection Processing
Early Detection Bias Time, Width of SV Drop in Early Status
When the end of batch processing (bath end) becomes close, the flow rate starts to de-
crease gradually. The early-point detection processing is performed to detect the point at
which the flow rate starts to decrease.
When the totalized value reaches or exceeds (batch setpoint - pre-batch quantity - pre-
dicted leakage value), the control step proceeds to ZONE 4 (early-point detection process-
ing). The computational expression is shown below:
SUMBSET-QE-VL
The pre-batch quantity (QE) is calculated as shown below.
During early-point detection processing, the control valve is throttled in preset decrements
S. Thus, the throttling time T can be calculated. T includes the bias time b, and the QE
can be calculated using the flow rate setpoint (SV). The calculation method to obtain QE is
shown below:
QE (liters)=SV (kl/h) T (set)
1000
3600
1
2
D080215E.EPS
SV(kl/h)
SV(kl/h)
T= T (sec) + b (sec)
where
QE: the pre-batch quantity (L)
SV: the current flow rate setpoint (kl/h)
S: the early-point status setpoint decrement (kl/h)
b: the bias time (seconds)
T: the control period
10th Edition : Dec.18,2003-00
<D8.2 Blending Master Control Block (BLEND)> D8-83
IM 33S01B30-01E
The figure below shows how the flow rate setpoint (SV) changes during early-point detec-
tion processing:
D080216E.EPS
QE
b
T
T
S
Early point
SV
Flow rate
setpoint
(%)
t
Figure Change in Flow Rate Setpoint (SV) During Early-point Detection Processing
Early-point detection is bypassed when an endless batch (NONB=1) is specified for the
BLEND.
Specifying decrement for early-point detection processing
The setpoint decrement (S) during early-point detection processing is set in the
builder.
The Width of SV Drop in Early Status parameter of the Function Block Detail Builder
is set as follows:
Width of SV Drop in Early Status: 0.001 to 100.000 %.
The default is 1.000 %.
Specifying bias time for early-point detection
The bias time for early-point detection (b) is set in the builder.
The Early Detection Bias Time parameter of the Function Block Detail Builder is set
as follows:
Early Detection Bias Time: 0 to 10000 (unit: basic scan period).
The default is 10.
Master Pacing
Execution of master pacing is determined not by a control block but rather by functions
outside the control block; start of pacing is then notified to the block. This judgment is
based on the detected alarm status of the function block.
Examples of alarm detection are listed below:
when a HI alarm occurs in a specified pressure tag; or
when DV1 (level-one deviation alarm) occurs in any of the component FSBSET
blocks.
10th Edition : Dec.18,2003-00
D8-84 <D8.2 Blending Master Control Block (BLEND)>
IM 33S01B30-01E
The figure below shows the flow of master pacing action:
MPSV
BLEND
MPDN
(Step-down
increment)
MPUP
(Step-up increment)
T
Hold SV value
MPSPSV
Master pacing release command
MPSP=100 %
Master pacing start command
MPSP=***
D080217E.EPS
Figure Flow of Master Pacing Action
When the BLEND master is in the steps where constant-flow control is performed (ZONE
31 or 3) and if the master pacing setpoint (MPSP) is set, the BLEND maintains its current
SV while distributing the master pacing SV (MPSV) to the components. The MPSV is
initially same as the SV at the start of master pacing, and is changed in steps in set incre-
ments/decrements during each control period until it agrees with the target value (MPSP
SV). The degree of this increment/decrement is set separately from the SV set-up incre-
ment (STUP) or set-down decrement (STDN) in normal operation, but by master pacing
set-up increment (MPUP) and set-down decrement (MPDN).
Master Pacing applies to ZONE3 or ZONE31 only. It does not apply to other zones where
the MPSP is always set to 100%. If the zone moves to zone other than ZONE3 or ZONE31
during Master Pacing, the MPSP immediately returns to 100%, but step-up or step-down
processing to return the MPSV to an SV continues. The figure below shows how the EMST
step-down processing occurs during Master Pacing.
MPSV
SV
EMST detection
MPDN
Step down
on EMST
SV (=MPSV)
D080218E.EPS
SV
MPSP reverts
to 100 %
Release from master pacing
Figure Example of Change in MPSV During Pacing
Manual Operation
MAN Intervention Processing
The automatic control of BLEND block may be intervened by changing the block mode into
MAN. However, if MAN intervention processing is specified on the Function Block Detail
Builder, the BLEND block may behave the same as it is in AUT mode to transit its status
when receiving EMST command or when batch end detected. At this time, the block mode
changes to AUT or CAS.
Item to be defined.
MAN Intervention Processing: YES or NO
The default setting is NO.
10th Edition : Dec.18,2003-00
<D8.2 Blending Master Control Block (BLEND)> D8-85
IM 33S01B30-01E
Operation Commands
During tank blending control, the BLEND master can be operated via operation commands
(CMNDs).
During direct blending shipment control, the BLEND master itself monitors the FSBSET
blocks at the port and performs automatic operation. Therefore, an operator cannot operate
the BLEND master directly.
The figure below shows the action of BLEND by operation commands during tank blending
control.
The figure below shows the action of a batch loader FSBSET in response to operation
commands (CMNDs). The operation commands (1) through (4) in the figure indicate when
the start, emergency stop, restart and reset (abort) commands are issued.
SVL
SVH
Control
status
Control
status
SET
UP
MAN
Block
mode
Block
mode
Control
step
(zone)
1
SET
UP
1
AUT or CAS MAN
Initial flow
rate control
2
Steady
3
EMST
8
EMST
end
9
Steady
3
Wait
6 0 10 11 1
Re-
start
D080219E.EPS
NON-
Ctrl
MAN
NON-
Ctrl
SET
UP
Start
End
7
Supervisory
block flow
rate setpoint
(SV)
t
(BLEND)
0 20
Start
PI blending control
PI blending
control
EMST
Re-
start
End
22 24
CAS CAS
21 22 23 26
NON-
Ctrl
0
MAN
Control
step
(zone)
Supervisory
controller
(BLEND)
Component
(FSBSET)
CMND Command
Operation
Block mode
1
(1) (4) (3) (2)
Start
AUT or CAS
4
EMST
2
Restart
AUT or CAS
3
Forced reset
Start mode Start mode
Figure Action of BLEND by Operation Commands
10th Edition : Dec.18,2003-00
D8-86 <D8.2 Blending Master Control Block (BLEND)>
IM 33S01B30-01E
Start
Start processing is executed by changing the block mode to CAS or AUT and setting
(CMND=1).
Emergency stop
Emergency stop processing is executed by setting (EMSW=1) or (CMND=4).
Restart
Restart processing is executed by setting (CMND=2) only when the block mode is
AUT or CAS.
Forced reset (abort)
Setting (CMND=3) will automatically change the block mode to the mode at the start,
and batch-end processing is executed.
10th Edition : Dec.18,2003-00
<D8.2 Blending Master Control Block (BLEND)> D8-87
IM 33S01B30-01E
Processing in Each Control Step - BLEND
Table Table of Processing Items Performed in Each Control Step of BLEND
Control
Step
Status Step Functions
Block
Mode
Initialization
Emergency
Stop
Sum of
SVs at
Port
Flow Rate
Distribu-
tion (SV
distribu-
tion)
Batch
End
Detection
Early
Detection
Pacing
Function
0
NON
CONTROL
If any FSBSETs at the
port are in the start status,
the BLEND changes its
own block mode to CAS
and moves to step 30.
MAN
1 SET-UP SV increase in steps
CAS
(AUT)
2 I. F. CONTROL Initial flow rate control
CAS
(AUT)
3 STEADY Steady flow rate control
CAS
(AUT)
4 EARLY
Alarm status is set as
BPRE.
SV decrements by S.
CAS
(AUT)
5 P. B. CONTROL
Flow rate control in pre-
batch flow rate setpoint
CAS
(AUT)
6 WAIT Batch end processing
CAS
(AUT)
7 END
Moves the control of
component FSBSETs to
step 26.
Changes BLEND's own
block mode to MAN and
proceeds to step 0.
CAS
(AUT)
8 EMST Multistage decrease of SV
CAS
(AUT)
9 EMST END
Moves the control of
component FSBSETs to
step 24.
CAS
(AUT)
10 START
Changes the mode of
component FSBSETs to
CAS.
CAS
(AUT)
11 RESTART
Changes the mode of
component FSBSETs to
CAS.
CAS
(AUT)
31
BLEND
CONTROL
Performs blending control.
CAS
(AUT)
32
EMST
RESTART
Moves the control of
component FSBSETs to
step 24.
CAS
(AUT)
30 START
Sets start delay timer and
moves its own control to
step 31.
CAS
(AUT)
D080220E.EPS
10th Edition : Dec.18,2003-00
D8-88 <D8.2 Blending Master Control Block (BLEND)>
IM 33S01B30-01E
The following describes the processing performed in a specific control step:
ZONE 0 (Control Status: NON-CONTROL)
When the port FSBSET/BLEND block is in operation (in zone other than ZONE0 or
ZONE7) in the MAN block mode, the block mode of the BLEND block turns to CAS, pro-
ceeding to ZONE30.
ZONE 1 (Control Status: SET-UP)
SET UP Interval Time, Initial Flow Speed SET UP End Waiting Time, Normal Flow Speed SET UP
End Waiting Time
When a batch cycle is started, or the flow rate setpoint (final flow rate setpoint: SVH; or
initial flow rate setpoint: SVL) is updated, the current flow rate setpoint (SV) is changed in
steps during each control period until it agrees with the target value (SVL or SVH), after the
SET-UP waiting time (t0: 1 second, fixed) has elapsed. When the SV reaches or over-
shoots the target value, it is held at the current value (where SV=target value) for a certain
predefined WAIT time, before processing proceeds to the next control step.
The intervals in which the SV is changed in steps is specified in the builder.
The SET-UP Interval Time parameter of the Function Block Detail Builder is set as fol-
lows:
SET-UP Interval Time: 0 to 10000 (unit: basic scan period).
The default is 1.
The increments in which the SV is changed in steps are specified as the STUP data item
(SV SET-UP increment), while the decrements are specified as the STDN data item (SV
SET-DOWN decrement).
The waiting time when the target value is reached is specified in the builder.
The Initial Flow Speed SET UP End Waiting Time and Normal Flow Speed SET UP End
Waiting Time parameters of the Function Block Detail Builder are set as follows:
Initial Flow Speed SET UP End Waiting Time:
0 to 10000 (unit: basic period).
The default is 10.
Normal Flow Speed SET UP End Waiting Time:
0 to 10000 (unit: basic period).
The default is 10.
In this step, emergency stop processing, batch-end detection processing, early-point
detection processing and SV distribution processing are performed as common process-
ing.
D080221E.EPS
SV
(%)
t
SVH
or
SVL
SV
(%)
t
t0
t0
SVH
or
SVL
Start
t0: SET-UP waiting time
Set Up Set Down
SET-UP
increment
SET-DOWN
decrement
Figure SET-UP and SET-DOWN Processing
10th Edition : Dec.18,2003-00
<D8.2 Blending Master Control Block (BLEND)> D8-89
IM 33S01B30-01E
In ZONE 1, initial flow rate control is needed when the following conditions are met. There-
fore, the initial flow rate setpoint (SVL) is adopted as the target value during SET-UP
processing.
ILSW=1 (initial flow rate control command)
ILST > SUM (the totalized flow is less than the initial totalized flow setpoint)
If the above conditions are not met while setting up toward SVL, SET-UP toward SVH is
started immediately.
After SET-UP is completed, if the above conditions are met, then the step proceeds to initial
flow rate control (ZONE 2); if they are not, it proceeds to STEADY (ZONE 3).
ZONE 2: Initial Flow Rate Control
Initial flow rate control is carried out.
If the initial flow rate setpoint (SVL) is updated, control proceeds to ZONE 1, making the
SVL the target value. When initial flow rate control is released or when the totalized flow
reaches the initial totalized flow setpoint, the final flow rate setpoint (SVH) is used as the
target value and the control proceeds to ZONE 1.
In this step, emergency stop processing, batch-end detection processing, early-point
detection processing and SV distribution processing are performed as common process-
ing.
ZONE 3 (Control Status: STEADY)
In this step, the setpoint value (SV) is held at the final flow rate setpoint (SVH).
If the SVH is updated, control proceeds to ZONE 1.
In this step, emergency stop processing, batch-end detection processing, early-point
detection processing and SV distribution processing are performed as common process-
ing.
ZONE 4 (Control Status: EARLY)
The flow rate setpoint (SV) is decreased in steps by S. The throttling calculation is shown
below:
SVn=SVn-1 - S
When SVnSVPR is reached, control proceeds to ZONE 5 with the setting of SV=SVPR.
The figure below shows the throttling process until SVnSVPR is reached:
D080222E.EPS
Flow rate
setpoint
(%)
SVPR
P.B.Ctrl Steady Early
t
T
S
SV
Figure Early-Point Detection Processing
In this step, emergency stop processing, batch-end detection processing and SV distribu-
tion processing are performed as common processing.
10th Edition : Dec.18,2003-00
D8-90 <D8.2 Blending Master Control Block (BLEND)>
IM 33S01B30-01E
ZONE 5 (Control Status: PRE-BATCH-CONTROL)
The SV is held at SVPR (flow rate setpoint for pre-batch) until the totalized value reaches
the pre-batch totalized setting, then control proceeds to ZONE 6.
In this step, emergency stop processing, batch-end detection processing and SV distribu-
tion processing are performed as common processing.
ZONE 6 (Control Status: WAIT)
Waiting Time during Batch End
During the waiting time for batch end, the BLEND master sets 0 for the SVs of component
FSBSET blocks that are neither being released nor in the release end status and sends
them an Wait for END command. Also, component FSBSET blocks operating in the MAN
mode are forced to change to the CAS mode.
Then, the BLEND master WAITs a certain predetermined time to allow for leakage.
The totalized value is stored as the previous totalized value, and control proceeds to ZONE
7 after batch end processing.
The time of WAIT processing is set in the builder.
The Waiting Time during Batch End parameter of the Function Block Detail Builder is set
as follows:
Waiting Time during Batch End: 0 to 10000 (unit: basic period).
The default is 10.
ZONE 7 (Control Status: END)
Waiting Time during End Process Completion, Configuring Devices Clear at Batch End
After again WAITing a certain predetermined time, the BLEND master performs the follow-
ing processing:
It sends an END command to component FSBSET blocks that are neither being
released nor in the release end status. Component FSBSET blocks operating in the
MAN mode are forced to change to the CAS mode.
If the BLEND master is set in the builder to clear configuration data at batch end, this
sequence clears the port and component tag names from the control buffer.
The block mode then changes to MAN and control returns to ZONE 0.
The time of WAIT processing is set in the Function Block Detail Builder.
The Waiting Time during End Process Completion parameter of the builder is set as
follows:
Waiting Time during End Process Completion: 0 to 10000 (unit: basic scan period).
The default is 10.
The Configuring Devices Clear at Batch End parameter of the Function Block Detail
Builder is set as follows:
Configuring Devices Clear at Batch End: Select Yes or No.
The default is No.
10th Edition : Dec.18,2003-00
<D8.2 Blending Master Control Block (BLEND)> D8-91
IM 33S01B30-01E
ZONE 8 (Control Status: EMERGENCY STOP)
Width of SV Drop in Emergency Shutdown Status
This step closes the control valve in steps, with control proceeding to ZONE 8 when an
emergency stop alarm is generated or an emergency stop command is detected.
The SV is decreased by SE in steps until it reaches 0.
SVn = SVn-1 - SE
where
SE : the decrement of SV in the EMST status
When SV0 is reached (note that PV0 is not monitored), the BLEND master performs
the following processing:
It sends an EMST command to component FSBSET blocks that are neither being cut
off nor in the release end status. Component FSBSET blocks operating in the MAN
mode are forced to change to the CAS mode.
The BLEND master itself proceeds to ZONE 9.
The figure below shows the throttling of SV during emergency stop processing:
SE
SV
(%)
t
D080223E.EPS
T
T
Figure Throttling of SV During Emergency Stop Processing
The decrement of SV in the EMST status is specified in the builder.
The Width of SV Drop in Emergency Shutdown Status parameter of the Function
Block Detail Builder is set as follows:
- Width of SV Drop in Emergency Shutdown Status: 0.001 to 100.000 %.
The default is 1.000 %
10th Edition : Dec.18,2003-00
D8-92 <D8.2 Blending Master Control Block (BLEND)>
IM 33S01B30-01E
ZONE 9 (Control Status: EMST END)
Batch End Detection during Emergency Shutdown
After the BLEND master sends an EMST command to component FSBSET blocks that are
neither being cut-off nor in release end status, the BLEND block may continue to detect the
batch end status if it is defined on the Function Block Detail Builder.
Item to be defined.
Batch End Detection during Emergency Shutdown:
YES or NO
The default setting is YES.
ZONE 10 (RESET START)
The BLEND master sends a start command to component FSBSET blocks.
The BLEND master proceeds to ZONE 1, changing its alarm status to NR.
ZONE 11 (Control Status: RESTART FROM EMST)
The BLEND master sends a restart command to component FSBSET blocks that are
neither being cut off nor in the release end status. For the component FSBSET blocks that
have not been started, it sends a start command.
The BLEND master proceeds to ZONE 1, changing its alarm status to NR.
ZONE 31 (Control Status: BLEND CONTROL)
Blending control is carried out.
End processing
When all the FSBSET/BLEND blocks at the port are in the end status (ZONE 7) or
initial status (ZONE 0), the BLEND master issues an END command to component
FSBSET blocks that are neither being cut off nor in the release status.
The BLEND master returns to the initial status (ZONE 0) after changing its block mode
to MAN.
Emergency stop processing
When all the FSBSET blocks/BLENDs at the port are in the emergency stop status
(ZONE 9), the BLEND master issues an EMST command to component FSBSET
blocks that are neither being cut off nor in the release status.
The BLEND master changes its status to emergency stop processing (ZONE 32).
SV distribution processing
If the conditions for end processing or emergency stop processing are not met, the
total of the defined flow rate (kl/h) or instantaneous flow rate (specified on the Function
Block Detail Builder) of the port FSBSET/BLEND blocks is calculated as an SV of the
BLEND block. And after multiplying its SV by each blending ratio, the value is set to
the SV of component FSBSET block that is neither released nor completed to release.
However, this setpoint for each component must not exceed the range of the
components SV.
A start command is sent to all component FSBSET blocks that are in the initial status
(ZONE 0).
10th Edition : Dec.18,2003-00
<D8.2 Blending Master Control Block (BLEND)> D8-93
IM 33S01B30-01E
ZONE 32 (Control Status: EMST)
The BLEND master is in the emergency stop status.
The BLEND master sends an EMST command to all component FSBSET blocks that are
neither being cur off nor in the release end status. However, if even one of the FSBSET
blocks/BLENDs at the port is not in the emergency stop status, the BLEND master returns
to ZONE 31 and performs SV distribution processing.
If all the FSBSET/BLEND blocks at the port are in the end status (ZONE 7) or initial status
(ZONE 0), the BLEND master issues an END command to component FSBSET blocks that
are neither being cut off nor in the release status.
The BLEND master returns to the initial status (ZONE 0) after changing its block mode to
MAN.
ZONE 30 (Control Status: START)
COMP Start Delay Time
The BLEND master sets the start delay timer, then performs the following processing after
WAITing for a preset period of time (set by the start delay timer):
The BLEND master sends a start command to component FSBSET blocks and
proceeds to ZONE 31.
It uses a start delay timer to adjust the times between when port FSBSET blocks are
started and when component FSBSET blocks are started, and reduces or eliminates
pressure-related interference between components.
The figure below shows the start delay processing by the BLEND master:
D080224E.EPS
t6
SV
(%)
t
SV
(%)
t
Port FSBSET
BLEND component
FSBSET
t6: Start delay timer (set in the builder; normally, 1 sec)
Figure Start Delay for Port FSBSET Blocks and Component FSBSET Blocks
The start delay timer setting is specified in the builder.
The COMP Start Delay Time parameter of the Function Block Detail Builder is set as
follows:
- COMP Start Delay Time: 0 to 10000 (unit: basic scan period).
The default is 1.
10th Edition : Dec.18,2003-00
D8-94 <D8.2 Blending Master Control Block (BLEND)>
IM 33S01B30-01E
Control Step Transition Diagram - BLEND
The figure below shows the control step transition diagram:
1
SET UP
8
0
NON-
Ctrl
9
EMST
end
Emergency Stop
10
Start
11
Restart
(b)
2
Initial flow rate control
(c)
3
Steady
4
Early
(e)
5
P.B.
Ctrl
(g)
(i)
(l)
(j) (n) (k)
(o)
(d)
(h) (m) (a)
6
Wait
7
End
Step
Control
status
(f)
(o)
D080225E.EPS
(a) Batch start completed
(b) SET-UP ready (in initial flow rate control)
(c) SET-UP end
(d) Initial flow rate control end (command released, or setting to release reached)
(e) Early-point detection (SUM > BSET-QE-VL)
(f) Batch end detection (SUM > BSET-VL)
(g) WAIT end (batch end processing completed)
(h) Batch end
(i) Emergency stop command (EMSW=1 or CMND=4)
(j) Emergency stop end
(k) RESTART end
(l) Batch end detection during emergency stop
(m) START command (CMND=1)
(n) RESTART command (CMND=2)
(o) ABORT command (CMND=3)
Figure Control Step Transition Diagram of Blending Master Control Block (BLEND)
10th Edition : Dec.18,2003-00
<D8.2 Blending Master Control Block (BLEND)> D8-95
IM 33S01B30-01E
Commands - BLEND
Table Table of Commands Available with BLEND
CMND Zone (Step) Status Description of Command
0
1 10 Supervisory setting Batch controller - start
2 11 Supervisory setting Batch controller - restart
3 6 Start mode Batch controller - abort
4 8 Start mode Batch controller - EMST
D080226E.EPS
10th Edition : Dec.18,2003-00
D8-96 <D8.2 Blending Master Control Block (BLEND)>
IM 33S01B30-01E
D8.2.10 Block Modes of Blending Master Control Block (BLEND)
The block modes of the BLEND include out of service, initialization manual, manual,
automatic and cascade.
Block Modes of Blending Master Control Block (BLEND)
Table Table of Block Modes for Blending Master Control Block (BLEND)
Abbreviation Service Description
O/S Out of Service All functions are stopped.
MAN MANual Control calculation is stopped.
AUT AUTomatic Control calculation is performed and the results are output.
CAS CAScade
When used in direct blending shipment, a control computation is performed using
the setpoint input from the supervisory block and the results are output. When used
in tank blending, the action is the same as AUT above.
D080227E.EPS
10th Edition : Dec.18,2003-00
<D8.2 Blending Master Control Block (BLEND)> D8-97
IM 33S01B30-01E
D8.2.11 Data Items of Blending Master Control Block (BLEND)
There are 147 data items that can be set with the BLEND. Multiple settings are
available for port tags, component tags, blending ratios, totalized values of compo-
nents and component status flags.
10th Edition : Dec.18,2003-00
D8-98 <D8.2 Blending Master Control Block (BLEND)>
IM 33S01B30-01E
Data Items of the Blending Master Control Block (BLEND)
Table Table of Data Items Set with Blending Master Control Block (BLEND) (1/4)
Abbreviation Service Entry Range/Unit Default
MODE Block mode ----- O/S (MAN)
BSTS Block status
N/A
----- -----
ALRM Alarm status
N/A
----- NR
AFLS Alarm flashing status
N/A
----- -----
AF Alarm detection specification
N/A
----- -----
AOFS Alarm masking specification
N/A
----- -----
PV Instantaneous flow rate
Cond.
Industrial scale unit used for PV -----
SV Setpoint of flow rate
Industrial scale unit used for PV SL
SVPR Flow rate setpoint for pre-batch
SL to SH SL
SVH Final flow rate setpoint
SL to SH SL
SVL Initial flow rate setpoint
SL to SH SL
ILST Setting to release initial flow rate control
Industrial unit used for SUM 0
VL Predicted leakage value
Industrial unit used for SUM 0
SUM Totalized corrected value
Industrial unit used for SUM 0
BSET Batch setpoint
Industrial unit used for SUM 0
CMND Command switch
0-63 0
ZONE Control step
N/A
0-63 0
EMSW Emergency-stop command switch 0 or 1 0
NONB Endless-batch command switch 0 or 1 0
ILSW
Command switch for initial flow rate
control
0 or 1 0
EMCD EMST factor code N/A 0-32, 767 0
EMCP[16] EMST factor tag
N/A
----- NULL
STUP SV set-up increment 0.00-100.00 % 1.00
STDN SV set-down decrement 0.00-100.00 % 2.00
MS01[16] Port tag 1 (for execution)
N/A
16 alphanumeric characters NULL
MS02[16] Port tag 2 (for execution)
N/A
16 alphanumeric characters NULL
MS03[16] Port tag 3 (for execution)
N/A
16 alphanumeric characters NULL
MS04[16] Port tag 4 (for execution)
N/A
16 alphanumeric characters NULL
MS05[16] Port tag 5 (for execution)
N/A
16 alphanumeric characters NULL
MS06[16] Port tag 6 (for execution)
N/A
16 alphanumeric characters NULL
CP01[16] Component tag 01 (for execution)
N/A
16 alphanumeric characters NULL
CP02[16] Component tag 02 (for execution)
N/A
16 alphanumeric characters NULL
CP03[16] Component tag 03 (for execution)
N/A
16 alphanumeric characters NULL
CP04[16] Component tag 04 (for execution)
N/A
16 alphanumeric characters NULL
CP05[16] Component tag 05 (for execution)
N/A
16 alphanumeric characters NULL
CP06[16] Component tag 06 (for execution)
N/A
16 alphanumeric characters NULL
CP07[16] Component tag 07 (for execution)
N/A
16 alphanumeric characters NULL
CP08[16] Component tag 08 (for execution) N/A 16 alphanumeric characters NULL
D080228E.EPS
Abbreviation Service Entry Range/Unit Default
: entry possible
Cond.: entry possible under certain conditions
N/A: entry not possible
10th Edition : Dec.18,2003-00
<D8.2 Blending Master Control Block (BLEND)> D8-99
IM 33S01B30-01E
Table Table of Data Items Set with Blending Master Control Block (BLEND) (2/4)
Abbreviation Service Entry Range/Unit Default
CP09[16] Component tag 09 (for execution) N/A 16 alphanumeric characters NULL
CP10[16] Component tag 10 (for execution) N/A 16 alphanumeric characters NULL
CP11[16] Component tag 11 (for execution) N/A 16 alphanumeric characters NULL
CP12[16] Component tag 12 (for execution) N/A 16 alphanumeric characters NULL
CP13[16] Component tag 13 (for execution) N/A 16 alphanumeric characters NULL
CP14[16] Component tag 14 (for execution) N/A 16 alphanumeric characters NULL
CR01 Blending ratio 01 (for execution) N/A 0.000-10,000.000 0.000
CR02 Blending ratio 02 (for execution) N/A 0.000-10,000.000 0.000
CR03 Blending ratio 03 (for execution) N/A 0.000-10,000.000 0.000
CR04 Blending ratio 04 (for execution) N/A 0.000-10,000.000 0.000
CR05 Blending ratio 05 (for execution) N/A 0.000-10,000.000 0.000
CR06 Blending ratio 06 (for execution) N/A 0.000-10,000.000 0.000
CR07 Blending ratio 07 (for execution) N/A 0.000-10,000.000 0.000
CR08 Blending ratio 08 (for execution) N/A 0.000-10,000.000 0.000
CR09 Blending ratio 09 (for execution) N/A 0.000-10,000.000 0.000
CR10 Blending ratio 10 (for execution) N/A 0.000-10,000.000 0.000
CR11 Blending ratio 11 (for execution) N/A 0.000-10,000.000 0.000
CR12 Blending ratio 12 (for execution) N/A 0.000-10,000.000 0.000
CR13 Blending ratio 13 (for execution) N/A 0.000-10,000.000 0.000
CR14 Blending ratio 14 (for execution) N/A 0.000-10,000.000 0.000
SM01 Totalized value of component 01 Industrial unit used for SUM 0
SM02 Totalized value of component 02 Industrial unit used for SUM 0
SM03 Totalized value of component 03 Industrial unit used for SUM 0
SM04 Totalized value of component 04 Industrial unit used for SUM 0
SM05 Totalized value of component 05 Industrial unit used for SUM 0
SM06 Totalized value of component 06 Industrial unit used for SUM 0
SM07 Totalized value of component 07 Industrial unit used for SUM 0
SM08 Totalized value of component 08 Industrial unit used for SUM 0
SM09 Totalized value of component 09 Industrial unit used for SUM 0
SM10 Totalized value of component 10 Industrial unit used for SUM 0
SM11 Totalized value of component 11 Industrial unit used for SUM 0
SM12 Totalized value of component 12 Industrial unit used for SUM 0
SM13 Totalized value of component 13 Industrial unit used for SUM 0
SM14 Totalized value of component 14 Industrial unit used for SUM 0
LC01 Component 01 status flag (for execution) N/A 0-3 0
LC02 Component 02 status flag (for execution) N/A 0-3 0
LC03 Component 03 status flag (for execution) N/A 0-3 0
LC04 Component 04 status flag (for execution) N/A 0-3 0
D080229E.EPS
Abbreviation Service Entry Range/Unit Default
: entry possible
Cond.: entry possible under certain conditions
N/A: entry not possible
10th Edition : Dec.18,2003-00
D8-100 <D8.2 Blending Master Control Block (BLEND)>
IM 33S01B30-01E
Table Table of Data Items Set with Blending Master Control Block (BLEND) (3/4)
Abbreviation Service Entry Range/Unit Default
LC05 Component 05 status flag (for execution) N/A 0-3 0
LC06 Component 06 status flag (for execution) N/A 0-3 0
LC07 Component 07 status flag (for execution) N/A 0-3 0
LC08 Component 08 status flag (for execution) N/A 0-3 0
LC09 Component 09 status flag (for execution) N/A 0-3 0
LC10 Component 10 status flag (for execution) N/A 0-3 0
LC11 Component 11 status flag (for execution) N/A 0-3 0
LC12 Component 12 status flag (for execution) N/A 0-3 0
LC13 Component 13 status flag (for execution) N/A 0-3 0
LC14 Component 14 status flag (for execution) N/A 0-3 0
WP01[16] Component tag 01 (for setting) 16 alphanumeric characters NULL
WP02[16] Component tag 02 (for setting) 16 alphanumeric characters NULL
WP03[16] Component tag 03 (for setting) 16 alphanumeric characters NULL
WP04[16] Component tag 04 (for setting) 16 alphanumeric characters NULL
WP05[16] Component tag 05 (for setting) 16 alphanumeric characters NULL
WP06[16] Component tag 06 (for setting) 16 alphanumeric characters NULL
WP07[16] Component tag 07 (for setting) 16 alphanumeric characters NULL
WP08[16] Component tag 08 (for setting) 16 alphanumeric characters NULL
WP09[16] Component tag 09 (for setting) 16 alphanumeric characters NULL
WP10[16] Component tag 10 (for setting) 16 alphanumeric characters NULL
WP11[16] Component tag 11 (for setting) 16 alphanumeric characters NULL
WP12[16] Component tag 12 (for setting) 16 alphanumeric characters NULL
WP13[16] Component tag 13 (for setting) 16 alphanumeric characters NULL
WP14[16] Component tag 14 (for setting) 16 alphanumeric characters NULL
WR01 Blending ratio 01 (for setting) 0.000-10,000.000 0.000
WR02 Blending ratio 02 (for setting) 0.000-10,000.000 0.000
WR03 Blending ratio 03 (for setting) 0.000-10,000.000 0.000
WR04 Blending ratio 04 (for setting) 0.000-10,000.000 0.000
WR05 Blending ratio 05 (for setting) 0.000-10,000.000 0.000
WR06 Blending ratio 06 (for setting) 0.000-10,000.000 0.000
WR07 Blending ratio 07 (for setting) 0.000-10,000.000 0.000
WR08 Blending ratio 08 (for setting) 0.000-10,000.000 0.000
WR09 Blending ratio 09 (for setting) 0.000-10,000.000 0.000
WR10 Blending ratio 10 (for setting) 0.000-10,000.000 0.000
WR11 Blending ratio 11 (for setting) 0.000-10,000.000 0.000
WR12 Blending ratio 12 (for setting) 0.000-10,000.000 0.000
WR13 Blending ratio 13 (for setting) 0.000-10,000.000 0.000
WR14 Blending ratio 14 (for setting) 0.000-10,000.000 0.000
D080230E.EPS
Abbreviation Service Entry Range/Unit Default
: entry possible
Cond.: entry possible under certain conditions
N/A: entry not possible
10th Edition : Dec.18,2003-00
<D8.2 Blending Master Control Block (BLEND)> D8-101
IM 33S01B30-01E
Table Table of Data Items Set with Blending Master Control Block (BLEND) (4/4)
Abbreviation Service Entry Range/Unit Default
WL01 Component 01 status flag (for setting) 0-3 0
WL02 Component 02 status flag (for setting) 0-3 0
WL03 Component 03 status flag (for setting) 0-3 0
WL04 Component 04 status flag (for setting) 0-3 0
WL05 Component 05 status flag (for setting) 0-3 0
WL06 Component 06 status flag (for setting) 0-3 0
WL07 Component 07 status flag (for setting) 0-3 0
WL08 Component 08 status flag (for setting) 0-3 0
WL09 Component 09 status flag (for setting) 0-3 0
WL10 Component 10 status flag (for setting) 0-3 0
WL11 Component 11 status flag (for setting) 0-3 0
WL12 Component 12 status flag (for setting) 0-3 0
WL13 Component 13 status flag (for setting) 0-3 0
WL14 Component 14 status flag (for setting) 0-3 0
MOD1
Component configuration change
command
- 0
MOD2 Port change switch - 0
MSMD[16] Port tag to be changed - NULL
CPLO Throttling prevention coefficient 0.00-100.00 % 100.00
MPSV Master pacing SV Industrial scale unit used for PV SL
MPSP Master pacing factor 0.00-100.00 % 100.00
MPUP Master pacing set-up increment 0.00-100.00 % 1.00
MPDN Master pacing set-down decrement 0.00-100.00 % 2.00
DSM Instantaneous flow after corrections N/A Industrial unit used for SUM 0
Y01-Y04 Optional buffer 1-4 -100.00000-100.00000 0
Y05-Y09 Optional buffer 5-9 -32,768-32,767 0
OT01[16] Option tag 1 16 alphanumeric characters NULL
OT02[16] Option tag 2 16 alphanumeric characters NULL
OT03[16] Option tag 3 16 alphanumeric characters NULL
OPMK Operation mark 0-255 0
SH Scale high limit N/A Industrial scale unit used for PV 0
SL Scale low limit N/A Industrial scale unit used for PV 0
CRD Ratio control designation N/A 0 or 1 0
D080231E.EPS
Abbreviation Service Entry Range/Unit Default
: entry possible
Cond.: entry possible under certain conditions
N/A: entry not possible
10th Edition : Dec.18,2003-00
Blank Page