Sie sind auf Seite 1von 160

Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course

Yokogawa (Thailand) Ltd.

PART A PROJECT DEFINITION


1. Project creation
Create a new project using System View

Exercise
Create the user-defined project ENGPJT
Define 1 KFCS (Field Control Station), station number FCS0101
Define 1 HIS (Human Interface Station), station number HIS0164

PROCEDURE

1. Select ‘System view’ from [Start] [Programs] [YOKOGAWA CENTUM]


[System View] or by selecting [Active System View] in the [Tool Button Tool Box]

IAEC January 2009 Rev.01 Page 1


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

2. The below window appear if there is not any projects in the System View

Select [Yes] to create a new project

3. If there are some projects in the System View, we can create ENGPJT using the
System View as below

Move cursor to
Select [File] → [Create New] → [Project]

IAEC January 2009 Rev.01 Page 2


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

4. The [Outline] window as shown below appears.


In the exercise, enter appropriate data in the columns User, Organization, and
Project Information.
(Data entry in the Project Information column is a MUST.)

On completion of data entry, click on

5. [Create New Project] dialog window appears with the [Name and Position] tab,
enter the following data.
Project Name : ENGPJT
Position : Default (C:\CENTUM VP\eng\BKProject\)
Project Comment : Exercise for Engineering Course

IAEC January 2009 Rev.01 Page 3


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

6. With the [Constant] tab, define


Domain Number : 1
Make Control bus Dual-Redundant : No (blank)

Click on button

IAEC January 2009 Rev.01 Page 4


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

Leave each item on other tabs [Outline] and [Detailed Setting], as default
Now, ENGPJT project is created. Next step, FCS and HIS will be created.

7. Create FCS folder


[Create New FCS] dialog window appears, select [Type] tab, and define
Station Type : AFV10D Field Control Station Standard Type
Database Type : General-Purpose
Station Address / Station Number : 1 / 1
Component / Number : Leave in Blank
Station Comment and others : Leave in Blank

For other tabs, leave each item in default and click on

IAEC January 2009 Rev.01 Page 5


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

8. Create HIS folder


[Create New HIS] dialog window appears, select [Type] tab, and define
Station Type : PC with Operation and monitoring functions
Station Address / Station Number : 1 / 64
Others : Leave in Blank

For other tabs, leaving each item as default and click on

IAEC January 2009 Rev.01 Page 6


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

9. Confirm ENGPJT with the System View


Open [ENGPJT] to verify the creation of FCS0101 folder and HIS0164 folder.

IAEC January 2009 Rev.01 Page 7


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

2. PROCESS I/O DEFINITION


1. ANALOG DEFINITION
Define the process I/O for the control station FCS0101

Exercise
Define control I/O units on the slot 1 and slot 2, Node 1

PROCEDURE
1. Activate the System View, select [ENGPJT] [FCS0101] [IOM]
[Create New] [Node]

IAEC January 2009 Rev.01 Page 8


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

2. The [New FIO Node] window appears. Define as follows:

IAEC January 2009 Rev.01 Page 9


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

3. To create New IOM, select from the pull down menu, [File] [Create New]
[IOM] or Right click on [Node] [Create New] [IOM] position in System view and
select it, as shown below.

IAEC January 2009 Rev.01 Page 10


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

4. The [Create New IOM] window appears. Define as follows:


IOM Type / Category : Analog Input/Output
IOM Type / Type : AAI841-S (8-Channel Current Input 8-Channel
Current Output)
Installation Position / Node : 1
Installation Position / Slot : 1

IAEC January 2009 Rev.01 Page 11


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

5. Below shows <1AAI841-S> file has been created in the [NODE 1] folder

IAEC January 2009 Rev.01 Page 12


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

Activate [IOM Definition Builder] by double clicking on the <1AAI841-S > file. [IOM
Builder] window appears as shown below:

6. Assign an I/O Module for each terminal in the columns for ‘Signal Details’ and
Signal Conversion’ as shown below:

IAEC January 2009 Rev.01 Page 13


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

7. Save the defined contents from the Toolbar, Select [File] [Save]

8. If no error occurs in the [Message] area, exit from the IOM definition builder. From
the Toolbar, select [File] [Exit IOM Builder]

IAEC January 2009 Rev.01 Page 14


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

9. Create <2AAI141-S> (16-Channel Current Input) on the slot 2, Node 1 as shown


below

IAEC January 2009 Rev.01 Page 15


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

2. Digital I/O Definition

Exercise
Define 32-point Terminal-type Contact Status Input on the slot 1, Node 2 and 32-
point Terminal-type Contact Status Output on the slot 2, Node 2.

PROCEDURE
1. Activate the System View, select [ENGPJT] [FCS0101] [IOM]
[Create New] [Node] , create Node 2 in the [IOM] folder
IOM Type / Category : Status Input
IOM Type / Type : ADV157-S (32-point Terminal-type Contact Status
Input)
Installation Position / Node : 2
Installation Position / Slot : 1

Click on button

IAEC January 2009 Rev.01 Page 16


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

Click on button

IAEC January 2009 Rev.01 Page 17


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

2. The <1ADV157-S> file has been created in the [Node] folder.

Activate [IOM Definition Builder] by double-clicking on the <1ADV157-S > file.

IAEC January 2009 Rev.01 Page 18


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

3. The [IOM Definition Builder] window appears. The input modules can be assigned
for each terminal.
In the exercise, confirming the settings, leave them as default, and exit.

IAEC January 2009 Rev.01 Page 19


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

4. Create <2ADV557-S> (32-Channel Status Output, Single support only) on the


slot 2, Node 2 as shown below

IAEC January 2009 Rev.01 Page 20


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

Station Type: AFV10D Duplexed Field Control Unit (for VnetIP, for FIO,
19” Rack Mountable)

I/O Module Definition for AFV10D Model.


AAI841-S (8-Channel Current Input 8-Channel Current Output)

Terminal Signal Tag name Laboratory Exercise


%Z011101 Input TIC100_IN Cascade Loop
%Z011102 Input FIC100_IN Cascade Loop
%Z011103 Input
%Z011104 Input
%Z011105 Input
%Z011106 Input
%Z011107 Input
%Z011108 Input
%Z011109 Output FIC100_OUT Cascade Loop
%Z011110 Output
%Z011111 Output
%Z011112 Output
%Z011113 Output
%Z011114 Output
%Z011115 Output
%Z011116 Output

IAEC January 2009 Rev.01 Page 21


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

PART B Regulatory Control Function Exercise 1


EXERCISE 1 CASCADE CONTROL

Cascade Loop creation


In the exercise, the procedure to create a regulatory control system is
discussed by making a simple cascade loop.

IAEC January 2009 Rev.01 Page 22


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

1. Function Block Creation


Procedure

1. Activate the system view and then select [ENGPJT] [FCS0101]


[FUNCTION BLOCK] folders. The [FUNCTION BLOCK] folder has 200 Control
Drawing definition files from DR0001 to DR0200.
In the exercise, create a cascade loop on [DR0021]. Right click on [DR0021] and
select [Properties]. Type [Cascade Loop] in the Drawing Comment. Click on the [OK]
button. As shown below:

IAEC January 2009 Rev.01 Page 23


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

IAEC January 2009 Rev.01 Page 24


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

2. Double-click on DR0021 to start the Control Drawing Builder. The following builder
appears.

NOTE: In order to mask the message display area, select [View] from the Toolbar and
then click on [Message Display Area].
However, [Save] operation will automatically display the message display area.

IAEC January 2009 Rev.01 Page 25


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

2. Drawing and Editing the Control Drawing Window


PROCEDURE
1. Define the size of window
2. Define a grid pattern
3. Function block creation
4. I/O Link block creation
5. Wiring creation
6. Assign Function block detail specifications

1. Define the size of a window


1) Select the [Properties] from the [File] menu of the Control Drawing Builder

IAEC January 2009 Rev.01 Page 26


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

2) The following File Properties dialog window appears. Select [Attribute] tab. Confirm
that the window size is [1024 x 686]. Click on [OK] button.

IAEC January 2009 Rev.01 Page 27


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

2. Define a grid pattern


1) To make it easy to draw a figure, Display a grid on the Drawing panel. Select the
[Grid Option] from the [Draw] menu on a tool bar to display ‘Grid Option Dialog’

2) Tick [Display grid] and set [Grid Color] to Dark Green and [Grid Size] to 12. Click on
[OK] button

IAEC January 2009 Rev.01 Page 28


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

To display the grids on the drawing panel as shown below:

IAEC January 2009 Rev.01 Page 29


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

3. Function block creation


Create block symbols of function blocks on the drawing panel.
Primary temperature controller (PID) : TIC100
Secondary flow controller (PID) : FIC100
Create above controllers using the procedures below:

1) From the Toolbar, select [Insert] [Function Block] or click on

2) The [Select Function Block] dialog appears. Select [Regulatory Control Block]
[Controllers] [PID]. Click on [OK] button.

IAEC January 2009 Rev.01 Page 30


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

3) Click a desired position on the sheet of the Drawing Panel to display the PID block
symbol. Enter the tag name [TIC100] and press the [Enter] key.

4) Do the same procedures as item 2) and 3) to create another PID tag name
[FIC100]

IAEC January 2009 Rev.01 Page 31


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

NOTE: A block symbol can be moved by selecting the block symbol and then dragging
with the left button of the mouse.

5) Click on the select mode button and Double-click the symbol of the function
block [TIC100] to display its property sheet. On the [Function Block] tab sheet,
define
Tag Comment : Primary Temp. Control
High limit value : 100.0
Engineering unit symbol : DEGC

Click on [OK] button.

6) Define the basic definitions of the function block [FIC100] according to the above
item 1) to 5)
Tag Comment : Secondary Flow Control
High limit value : 50.0
Engineering unit symbol : L/M

IAEC January 2009 Rev.01 Page 32


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

4. I/O Link block creation


1) Select the [Function Block] tool button from the [Insert] on a tool bar to display
[Select Function Block] dialog.
Select the [PIO] from the [Link Block] at the Model List on [Select Function Block]
dialog and click on

2) Left click on the drawing panel as shown below. The symbol of I/O connection
block is displayed. Enter the element name [%Z011101] is TIC100_IN

IAEC January 2009 Rev.01 Page 33


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

3) Define the element names of I/O connection blocks according to the above steps 1)
and 2)
[%Z011102] : Input connection data of secondary flow controller(FIC100_IN)
[%Z011109] : Output connection data of secondary flow controller(FIC100_OUT)

NOTE : A block symbol can be moved by selecting the block symbol and then dragging
with the left button of the mouse.
Note: Please follow the appropriate I/O Mode Definition on pages 21

IAEC January 2009 Rev.01 Page 34


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

5. Wiring Creation
1) From the Toolbar, select [Insert] [Wiring] button OR

2) To connect [%Z011101] to [IN] terminal of [TIC100], click the positions 1 and 2


and double-click the position 3 as shown below

3) From picture above, Click the positions 4 and 5 and double-click the position 6 to
connect [OUT] terminal of the [TIC100] to [SET] terminal of the [FIC100]
4) To change the terminal name of [FIC100] from [IN] to [SET], right-click on [IN],
select the following menu

IAEC January 2009 Rev.01 Page 35


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

5) Same as before, connect the [%Z011102] to [IN] terminal of [FIC100] and [OUT]
terminal of [FIC100] to [%Z011109]

NOTE: The wiring method performed in the exercise is automatic wiring.

IAEC January 2009 Rev.01 Page 36


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

6. Assign Function block detail specifications


1) Click on [FIC100] block symbol and select the [Edit Function Block Detail] from the
[Window] on a tool bar or click on

2) The following Function Block Detail Definition Builder is displayed. Define


Open / Close mark : 1:OC
Measurement Tracking / MAN mode : 1:Yes

IAEC January 2009 Rev.01 Page 37


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

3) For Advanced setting, select the [Detailed Setting Item] from the [View] on a tool
bar or click on

IAEC January 2009 Rev.01 Page 38


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

Tabs for each setting group are displayed:

4) completion of detailed setting of items, update the defined items by selecting from
the Toolbar. [File] [Update] or click on

After updating data, select the [Exit Function Block Detail Builder] from the [File] on
tool bar to close the window.

IAEC January 2009 Rev.01 Page 39


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

5) After the setting has completed, select the [Save] from the [File] on a tool bar to
save the definitions. If the definition has an error, an error message is displayed at
the [Message] Display Area. Correct the error according to the message and select
the [Save] again.

After the error is corrected, select the [Exit Function Block List Definition Builder]
from the [File] on a tool bar to close the [Function block List Definition Builder] or
DR0021

IAEC January 2009 Rev.01 Page 40


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

3. User-defined Window Creation


Create a control window and a trend window to operate and monitor the cascade
control loop.
1. Control Window Creation
PROCEDURE
1. From the System View and then select [ENGPJT] [HIS0164] [Window]
folder.
The folder has default window files.

In the exercises, create the cascade loop on the CG0001.

Activate [Graphic Definition Builder] by double-clicking on CG0001. The builder panel


as shown below.

IAEC January 2009 Rev.01 Page 41


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

2. As 8-instrument-diagram has been created by default. Use two instruments on


the left. Right Click on the left most instrument to select [Properties] menu.

IAEC January 2009 Rev.01 Page 42


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

3. [Faceplate] window appears and then select tab [Winforms Control] and right
click on [Property Page] button. The [Instrument Diagram] window appears. Define
Tag Name : TIC100
Leave other items as default. Click on [OK]

IAEC January 2009 Rev.01 Page 43


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

IAEC January 2009 Rev.01 Page 44


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

In the same way, define the instrument diagram of FIC100 next to TIC100.
4. After completion of the setting, save the defined file. Select in the tool menu [File]
[Save]

5. If no error exists, exit from the [Graphic Definition Builder]

IAEC January 2009 Rev.01 Page 45


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

2. Trend Window Creation


PROCEDURE
1. From the System View and then select [ENGPJT] [HIS0164]
[CONFIGURATION] folder.
The [CONFIGURATION] folder has the builder files as shown below.

2. Setting [Trend Record Definition Builder]


Right-click on <TR0001> trend record file in the [CONFIGURATION] folder to

activate the [Properties] window.

IAEC January 2009 Rev.01 Page 46


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

The [Properties] window appears. Specify the [Trend Format], [Sampling


Period] and [Trend Block Comment] for the trend blocks [TR0001] as follows:

Trend Format : Continuous and Rotary Type


Sampling Period : 1 Second

Click on leave other items in default

Before setting, confirm that [Trend Window Assignment] is closed.

IAEC January 2009 Rev.01 Page 47


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

3. Assignment of trend gathering pens


Activate the [Trend Acquisition Pen Assignment Builder] by double clicking on
[TR0001] trend block file from the [CONFIGURATION] folder. The builder panel
appears as shown below:

Assign ‘Acquisition data’ for each pen for [Group01] as following. Leave other items as
default.

Acquisition Data
1 : TIC100.PV
2 : TIC100.SV
3 : TIC100.MV
4 : FIC100.PV
5 : FIC100.SV
6 : FIC100.MV

IAEC January 2009 Rev.01 Page 48


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

4. After completion of the setting, save the defined file.


Select in the tool menu [File] [Save] in order.

If no error exists, exit from the [Trend Gathering Pen Assignment Definition Builder].

IAEC January 2009 Rev.01 Page 49


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

3. Confirmation of Operation with Test Function


1. Start-up of Test Function
PROCEDURE
1. From the System View and then select [ENGPJT] [FCS0101] folder.
Select [Test Function] in the tool menu [FCS].

2. The [Dialog] window appears. Click on [OK] button.

IAEC January 2009 Rev.01 Page 50


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

3. The start processing of test function begins.


The processing operation includes;
• Switching the monitoring and operation function to a virtual test mode.
• Start of FCS simulator.
• Automatic wiring data creation and down loading.

Wait a while until the message “Completed FCS test function start processing” and
“Completed Downloading Wiring” appears.

IAEC January 2009 Rev.01 Page 51


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

2. Wiring Data Change


Change the wiring data created by the automatic wiring data creation function to
the data appropriate to the process characteristics.
In the exercise, define as follows.
Wiring data of TIC100 : Lag (1st order lag time constant) = 10 S
Wiring data of FIC100 : Lag (1st order lag time constant) = 3 S
PROCEDURE
1. Select [Wiring editor] from [Tools] in the tool menu of the [Test Function]
window.

2. The [Wiring Editor] window appears.


Open the wiring data file for the cascade loop by selecting [File] [Open] from
the Toolbar

IAEC January 2009 Rev.01 Page 52


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

3. The below window appears. Select [DR0021.wrs] and then click on [Open]

IAEC January 2009 Rev.01 Page 53


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

4. Enter data in the [Lag] column for each instrument as follows:

5. After the setting above, load the wiring editor file to the FCS simulator to refresh the
data. Select from the Toolbar, [File] [Download]

6. The below window appears. Tick the file to be downloaded and then click [OK].

IAEC January 2009 Rev.01 Page 54


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

3. Wiring Operation Function


Confirm the wiring function is working with the refreshed wiring data.

PROCEDURE

1. Select [Wiring Operation] from [Tools] in the tool menu of the [Test Function]
window

2. The [Wiring Operation – DR0021] window appears. Confirm the data in the
[Lag] column. Also, confirm that the data in each [Status] column is ON. If ON is
displayed, it shows that the wiring operation is functioning.

IAEC January 2009 Rev.01 Page 55


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

4. Confirmation of Operation by Operation and Monitoring Function


Operate the created cascade loop by calling the control window.

PROCEDURE

1. Call the control window [CG0001]

Click on Name Input Tool Box, the below window appears. Key in CG0001

and [Enter] to call up the window.

The control window CG0001 appears.

Click to call up Mode


change dialog

Click to call up
data entry window

IAEC January 2009 Rev.01 Page 56


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

2. Enter 50% in the MV of FIC100

Click on at FIC100 instrument faceplate and Enter 50% for MV

(Wiring Function)
By using the wiring function, when the MV value of FIC100 is manipulated, the PV
value of FIC100 and TIC100 follow the value of MV. (They are the outputs from the
first order lag functions.)

(Measurement Tracking)
In MAN mode, the SV value of FIC100 tracks its PV by means of the measurement
tracking function.

(Output Tracking)
As the cascade loop is open (secondary controller FIC100 is either in MAN or
AUT), the block mode of TIC100 is MAN and IMAN (initialized manual). Even in the
open state, the MV of TIC100 equals to the SV of FIC100 (output tracking function).

IAEC January 2009 Rev.01 Page 57


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

3. Transfer the block mode of FIC100 to AUT.


Transfer the block mode to AUT by clicking on Mode status on faceplate and select
AUT mode symbol in dialog below. Change the SV value of FIC100 = 30

AUT mode

CAS mode

4. Transfer the block mode of TIC100 to AUT and then enter 80 in the SV.
Transfer the block mode of FIC100 to CAS.
TIC100 transfers to AUT without bump in MV. Confirm by displaying the trend
window [TG0101].

IAEC January 2009 Rev.01 Page 58


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

5. Function Block Modification


Modification of Function Block
Confirm the operation of the cascade loop by changing the detailed specification
items of the PID controllers involved in the loop.
The exercise is to be carried out while the virtual test is functioning by the test
function

Exercise 1 Change of Range

Change the measurement range of the secondary flow controller FIC100 as shown
below. Change from 0.0 - 50.0 to 0.0 – 80.0.

PROCEDURE
1. Display the drawing list by clicking on [ENGPJT] [FCS0101]
[FUNCTION_BLOCK]. Then activate [Function Block List Definition Builder] by
double-clicking on DR0021.
2. Click on [FIC001] block symbol and select the [Edit Function Block Detail] from
the [Window] on a tool bar. For Advanced setting, select the [Detailed Setting
Item] from the [View] on a tool bar. (See PART B, item 2, Procedure 6, Assign
Function block detail specifications.
3. On [Input] tab, change the ‘High Limit Value’ from 50.0 to 80.0, update, and
download.

4. After downloading, call the control window CG0001 to confirm that the measuring
range can be changed.
5. The range of the MV of primary temperature controller TIC100 has also been
changed (output tracking function)

IAEC January 2009 Rev.01 Page 59


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

Exercise 2 Change Alarm processing specification

Change the PV High-Low limit alarm from ‘BOTH’ to ‘H: High’

PROCEDURE
1. On [Alarm] tab, change the ‘PV High/Low Limit Alarm’ from ‘HL: BOTH’ to
‘H: High’, update and download.
2. After downloading, call the tuning window of FIC100 to confirm that the alarm
processing can be changed. Try to generate alarm by setting parameter PH and
PL on Tuning Panel. Only alarm HI will be generated, while alarm LO is
surpassed.

IAEC January 2009 Rev.01 Page 60


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

Exit from Test Function


Exercise
Exit from Test function when the exercise finishes.

PROCEDURE
1. Select in the tool menu, [File] [Exit Test Function] of the [Test Function]
window.

2. The below dialog box appears.

Click on

3. Confirmation dialog box [BKETestFunc] is displayed. Exit processing from the test
function begins. After a while, the operation and monitoring function of the target
station starts up.

IAEC January 2009 Rev.01 Page 61


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

PART B Regulatory Control Exercise 2


EXERCISE 2 CASCADE CONTROL WITH SELECTOR FUNCTION
In the exercise, more function blocks and Window assignment will be
presented.
Loop is closed loop, using two calculation blocks for the scale range changing.

IAEC January 2009 Rev.01 Page 62


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

1. Function Block Creation


PROCEDURE
1. Activate the System View and then select [ENGPJT] [FCS0101]
[FUNCTION BLOCK] folders.
Create a complex control function in DR0022; double-click on DR0022 to start the
Control Drawing Builder.
2. Create a function block (See Exercise 1, Procedure 3, Create a function block)
Primary level controller (PID) : LIC200
Program Setting (PG-L13) : PGS200
Secondary flow controller (PID) : FIC200
Signal selector switch (SW-33) : SEL200
Scale range adjustment (CALCU) : CAL200, CAL201
Process Simulator : LAG200 (LAG), PVI200 (PVI)

IAEC January 2009 Rev.01 Page 63


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

3. Create a wiring connection (See Exercise 1, Procedure 5, Create wiring)

4. Edit wiring connection by 2 methods


4.1 Right click at terminal point and select the desired one.

Right Click

IAEC January 2009 Rev.01 Page 64


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

4.2 Click on icon, Double click on Terminal name and type in to edit

Assign wiring connection as figure below

IAEC January 2009 Rev.01 Page 65


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

5. Edit Function block detail specifications (See Exercise 1, Procedure 6, Assign


Function block detail specifications)

PVI200 : Tag Comment : Indicator

LAG200 : Tag Comment : Process Simulator

SEL200 : Tag Comment : Selector

IAEC January 2009 Rev.01 Page 66


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

CAL200 : Calculation Script : As shown below

Move to edit Function block detail definition by select from pull down menu

: Tag Comment : Scale Range Convert1


: High limit value : 50.0
: Engineering Unit : M3/H
Click here to show all tab for advanced settings

IAEC January 2009 Rev.01 Page 67


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

CAL201 : Calculation Script : As shown below

Move to edit Function block detail definition and assign


: Tag Comment : Scale Range Convert2

LIC200 : Tag Comment : Level Control


: Measurement Tracking/MAN mode : Yes
(Output Tab) : MV Display Style/MV Display Style : SELF
: MV Display Style/MV Range High Limit : 50.0
: MV Display Style/MV Engineering Unit Symbol : M3/H

IAEC January 2009 Rev.01 Page 68


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

PGS200 : Tag Comment : Program Control


: Total elapsed time : 100
(Control Calculation tab): Bumpless Start : No
When program exits : Quick Return
(Output Tab) :MV Display Style/MV Display Style : SELF
:MV Display Style/MV Range High Limit : 50.0
:MV Display Style/MV Engineering Unit Symbol : M3/H

FIC200 : Tag Comment : Secondary Flow Control


: Totalizer/Totalizer Time Unit : Minute
: Totalizer/Low-Input Cut Value : 0.5%
: Measurement Tracking/MAN mode: Yes
(Input tab) : Scale High limit : 50.0
: Engineering Unit : M3/H

6. After the error is corrected, select the [Exit Function Block List Definition Builder] from
the [File] on a tool bar to close the [Function block List Definition Builder] or DR0022.

IAEC January 2009 Rev.01 Page 69


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

2. User-defined Window Creation


Create a control window and a trend window to operate and monitor the cascade
control loop.
Operation Mark Creation
PROCEDURE
1. From the System View, select [ENGPJT] [COMMON] folder. Click on
<OpeMarkDef> file.

2. Specify the Operation Mark as per the following figure.

3. Click on [File] – [Save]. Make sure that no errors are detected and correct them if any.
4. Click on [File] – [Exit Operation Mark Builder].

IAEC January 2009 Rev.01 Page 70


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

3. Control Window Creation


PROCEDURE
1. From the System View, select [ENGPJT] [HIS0164] [Window] folder.
The folder has default control window file, CG0001 was used for
CASCADE CONTROL exercise. CG0002 must be created for this exercise.
To create new window, right click on and select [Create New]
[Window]

In the exercises, create the complex loop in the CG0002.

IAEC January 2009 Rev.01 Page 71


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

2. [Create New Window] dialog appears. Specify as shown in figure.

Check whether new window has been created in System view.

3. Double click on [CG0002] file in [ENGPJT] [HIS0164] [Window] folder.


Define:1
Position 1: SEL200 Position 2: LIC200 Position 3: FIC200
Position 4: PGS200 Position 5: PVI200 Position 6: LAG200
Position 7: CAL200 Position 8: CAL201

4. After completion of the setting, save the defined file. Select in the tool menu [File]
[Save] in order.

IAEC January 2009 Rev.01 Page 72


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

4. Trend Window Creation


PROCEDURE
1. Assignment of trend gathering pens
Activate the builder by double-clicking on the <TR0001 Trend Acquisition Pen
Assignment> file in the [CONFIGURATION] folder. The builder panel appears.
Assign ‘Acquisition data’ for each pen referring to the following figure on [Group02] tab.
Leave other items as default.
Acquisition Data
1 : FIC200.PV
2 : FIC200.SV
3 : FIC200.MV
4 : LIC200.PV
5 : LIC200.SV
6 : LIC200.MV
7 : PGS200.MV
8 : SEL200.SW

2. After completion of the setting, save the defined file.


Select in the tool menu [File] [Save].
If no error exists, exit from the [Trend Gathering Pen Assignment Definition Builder].

IAEC January 2009 Rev.01 Page 73


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

5. Confirmation of Operation with Test Function


1. Start-up of Test Function
If you have not exit from Test function used for Exercise 1, skip this step

PROCEDURE
1. Select in the system view [ENGPJT] [FCS0101] folder.
Select [Test Function] in the tool menu [FCS].

2. The dialog box to select HIS station appears. Click on


3. The start processing of test function begins.
Wait a while until the message “Completed FCS test function start processing” and
“Completed Downloading Wiring” appears.

IAEC January 2009 Rev.01 Page 74


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

2. Confirmation of Operation by Operation and Monitoring Function


Operate the created cascade loop by calling the control window.

PROCEDURE
1. Call the control window [CG0002]

IAEC January 2009 Rev.01 Page 75


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

2. Specify the following parameter of particular tag


LAG200: I = 5 (Set up appropriate process simulator)
SEL200: SW = 1 (Setpoint of FIC200 from output of LIC200)
FIC200: MV = 50 (Start process by simulate output)

IAEC January 2009 Rev.01 Page 76


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

3. Transfer the block mode of FIC200 to AUT and change SV of FIC200 to 30.
Monitor the response. (referred to Exercise 1, CASCADE CONTROL)

4. Transfer the block mode of FIC200 to CAS.


Transfer the block mode to AUT. Enter 80 in the SV of LIC100 primary controller
Monitor the response

5. Create the profile of PGS200 program for Setpoint changing of FIC200 by specifying
the parameter as per figure shown below

6. Change selector position, SW, from 1 to 2 (Set point from output of PGS200)
7. Transfer the block mode of PGS200 to AUT, MAN, and CAS.
Monitor the response

MAN: PGS200 stop sending the program


AUT: PGS200 start sending the program and stop when the program end.
CAS: PGS200 start sending the program and repeat sending the program
cyclically.

Exit from Test Function

IAEC January 2009 Rev.01 Page 77


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

PART B Regulatory Control Exercise 3


CASCADE CONTROL SIGNAL DISTRIBUTION BLOCK
Create the cascade control loop in which two secondary control blocks [TIC302]
and [TIC303] are connected in parallel to the primary control block [TIC301] through a
cascade control signal distribution block [FOUT].

Control Action of Cascade Signal Distribution Block (FOUT)

The cascade control signal distribution block (FOUT) distributes a cascade set signal
from the function block with a control function. The cascade control signal distribution
block is used where multiple controller blocks are connected in parallel on the
downstream side of a cascade control loop.

Cascade Control Signal Distribution Block

The FOUT block can distribute a cascade signal to up to 8 blocks. The FOUT block
configures a cascade control loop where multiple controller blocks are connected in
parallel on the downstream side. It is impossible, however, to chain the multiple
controller blocks with terminal connection.
The FOUT block transfers the cascade open status and cramp status of the control
blocks on the downstream side to the control block on the upstream side.
The figure below shows the function block diagram of the Cascade Signal Distributor
Block (FOUT):

IAEC January 2009 Rev.01 Page 78


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

The setpoint value (SV) of the Cascade Signal Distributor Block (FOUT) can be used for
data reference but not for data setting.

An application example of the Cascade Signal Distributor Block (FOUT):

The cascade set signal is adjusted to the range of each destination to which it is
distributed.

In the example, assume that FOUT block has an SV range of 0 to 100% and the
downstream controller blocks have PV ranges of 0 to 8000 NM3/H and 0 to 10.00
KG/H. When the upstream controller block’s control output is 50%, the outputs of
FOUT block are 4000M3/H and 5.00 KG/H. The upstream function blocks, which can
be connected to the FOUT block, are to satisfy the following conditions:
Regulatory control blocks that enable cascade connection and provide a control
output (MV). Analog computation blocks that enable cascade connection.

If the FOUT blocks are connected in cascade, up to 6 FOUT blocks can be


connected in series between the most upstream block and the most downstream block.

IAEC January 2009 Rev.01 Page 79


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

The selector switch blocks (SW-33, SW-91) provided between the blocks is excluded.
If more than 6 FOUT blocks are connected, the control out (MV) status of the most
upstream block turns to output fail (PTPF).

Operation Procedure
Procedure:
1. Create function block on [DR0023] as follows:

2. Create control window on [CG0003] by right-clicking on [HIS0164] [WINDOW]


[Create New Window]. Select [Control (8-loop)] for window type and name the window
name to be [CG0003]. Assign the PID and FOUT function blocks in the control window
just like in Exercise 1
Note: The HIS number is subjected to the settings in the VF701 card installed.
3. Operation confirmation by test function.
4. Confirmation procedure.
4.1 Set the block mode of the control blocks [TIC302] and [TIC303] to CAS.

4.2 Set MV of TIC301 to 50%.

4.3 Confirm that the SV of [TIC302] becomes 100.0 DEGC and the SV of
[TIC303] becomes 200.0 DEGC.

IAEC January 2009 Rev.01 Page 80


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

PART B Regulatory Control Exercise 4


EXERCISE 4 RATIO CONTROL LOOP

Create a Flow Ratio Control Loop as shown below. The flow ration F2 to F1 is
kept constant r by setting SV of the control block [FIC202] to the value of r • F1,
multiplying the ration r to the flow rate F1. The ratio r can be changed in the range from
0.00 to 0.50.

Ratio Set Block (RATIO) and Control Operation

The ratio set block outputs the control output (MV), which equals the input signal (PV)
multiplied by a ratio setpoint. Ratio control uses the block to keep the ratio of two control
variables constant.

IAEC January 2009 Rev.01 Page 81


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

Ratio Set Block (RATIO)

The function block diagram of the RATIO block is shown below:

The figure below shows an example of using the Ratio Set Block (RATIO):

Ratio Calculation

In the ratio calculation, the process variable (PV) is multiplies by the effective
ration setpoint (Sve) to determine the calculated value (CALC). The
computational expression is as follows:

IAEC January 2009 Rev.01 Page 82


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

The effective ratio setpoint (SVe) is the result of the ramp processing for the ratio
setpoint (SV) to achieve the bumpless transfer of the block mode.
While the ratio set block is in an auto operation mode (AUT,CAS or RCAS), the
control output (MV) is the signal after output processing on the computed
output(CALC).

• Ratio Setpoint (SV) Range


The ratio setpoint (SV) range is defined with the [Function Block Detail Builder].

• High limit of SV range : Up to 7 digits or less including the sign and


decimal point.
The default is 4.0.
• Low limit of SV range : Up to 7 digits or less including the sign and
decimal point.
The default is 0.0.

• Ratio Gain (KR)


The ratio gain is defined with the [Function Block Detail Builder].

• Ratio Gain: Up to 7 digits or less including the sign and decimal point.
The default is 1.0.

• Bias Value (BIAS)


Set the bias value.
Set a data value in the same engineering unit as the manipulated output value
(MV). The setting range is from - (MSH - MSL) to (MSH - MSL). The bias value
can be set or changed during the operation with the operation and monitoring
function. The default is the low limit of MV scale (MSL).

• MSH: MV scale high limit


• MSL: MV scale low limit

The expressions to obtain the ratio gain are shown below:

• Example 1
In a flow rate ratio control system with the flow rate F1 ranging from 0 to 100m³/h and
the flow rate F2 ranging from 0 to 30 m³/h, the example shows the plant running with the
ratio between 0.0 and 0.3.

IAEC January 2009 Rev.01 Page 83


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

If these conditions are factored into Equation (1), the flow rate F1 is the process variable
(PV), the desired value of F2 is the calculated value (CALC) and the ratio r is the ratio
set point (SV).

Since the desired value of the flow rate F2 is 0 when the flow rate F1 is 0, the bias
(BIAS) in the expression is 0. Then the computational expression is :

If the ratio r is 0.1, the desired value of the flow rate F2 is equal to 100 multipied by 0.1,
or 10 m³/h, when the flow rate F1 is 100m³/h.
By factoring these values into Equation (3):

IAEC January 2009 Rev.01 Page 84


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

As the values of a process variable (PV), a computed variable (CALCn) and an effective
ratio setpoint (SVe) are the engineering unit values, if the PV and CALCn have the same
unit and the unit of SVe is 1, the ratio gain (KR) equals to 1.0.

RATIO CONTROL LOOP CREATION

Procedure :
1.Create function block on [DR0024] as follows:

In this exercise, it is necessary to calculate and set the ratio gain (KR) as the
engineering unit of flow rate F1(M³/M) and flow rate F2 (M³/H) are different.

For [FIR201], enter the calculated Ratio Gain (KR) in the [Control Calculation] tab.

If the ratio r is 0.1, the desired value of the flow rate F2 is equal to 10.0 multipied by 0.1,
or 1M³/M, when the flow rate F1 is 10.0M³/M.

CALCn = 60 , PV = 10, SVe = 0.1 (SVe = SV) CALCn = 1M³/M * 60 mins

= 60M³/H
60
KR = = 60
0.1 x 10

IAEC January 2009 Rev.01 Page 85


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

2. Create control window on [CG0001]. Assign [FIR201] and [FIC202] on the control
window as the third and fourth instruments.

3. Operation confirmation by test function.


Test the created loop with virtual test.
 Wiring data is automatically created when the test function runs. But the
wiring data for FIR201 is not appropriate for the exercise. Delete the FR201
wiring data.
 Set Lag of [FIC202] to 5 second.

4. Confirmation procedure.
 Set PV of [FIR201] to 5.0 M³/M. (Enter 50% in the data item RAW, as the
data entry in PV is not allowed.)
 Transfer the block mode of [FIC202] to CAS and the block mode of [FIR201]
to AUT.
 Set SV of [FIR201] to 0.2.
 Confirm that the SV of [FIC202] has changed to 60.0 M³/H.
(5.0 M3/M x 0.2 = 1.0 M3/M = 60.0 M3/h)

IAEC January 2009 Rev.01 Page 86


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

Part C Sequential Control Function Exercise 1

Exercise 1 Sequence Table Creation 1

When the start switch SW445-11 turns ON, The timer TM222-11 starts and the
start switch SW445-11 turns OFF.
After 5 seconds, the timer TM222-11 times up and the switch SW446-11 turns ON.
After 5 seconds, the switch SW446-11 turns OFF and the switch SW447-11 turns ON.
After 5 seconds, the switch SW447-11 turns OFF

ON
Start Switch
OFF OFF
SW445-11

ON
Switch
SW446-11 OFF OFF
5s

Timer TM222-11 Start time up

5s

Timer Reset start time up

ON

Switch OFF OFF


SW447-11
5s

Timer Reset start time up

Operation of Sequence Exercise

IAEC January 2009 Rev.01 Page 87


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

1. Common Switch Definition


Procedure
1. Select the [SWTCH] folder in the [FCS0101] folder. Then double-click on the
[SwitchDef] (common switch) shown in the <opened Folder> data list.

The [Common Switch Definition Builder] appears as shown below.

%SW0001 to %SW0400 System reserved that you can’t used.

IAEC January 2009 Rev.01 Page 88


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

2. Scroll the display until %SW0445 appears.


Enter tag names for %SW0445, %SW0446 and %SW0447 as shown below:
Element Number Tag Name
%SW0445 : SW445-11
%SW0446 : SW446-11
%SW0447 : SW447-11

3. Enter common data in other items as shown below:


Tag Comment : Enter arbitrarily
Switch Position Label : ON,OFF,ON
Display Format : Direct Position
Button Color 1 : Red
Button Color 2 : Green
Tag Priority Level : 4

4. Select [Save] from the [File] menu to save the common switch
definition file.
5. Then select [Exit Common Switch Definition Builder] in the [File] menu.

IAEC January 2009 Rev.01 Page 89


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

2. Creating a Control Drawing


Starting the Control Drawing Builder
Procedure
Select the folder [FUNCTION_BLOCK] under the folder [FCS0101] to display a
data list. Select and double-click the [DR0031] on the data list.

The [Control Drawing] builder starts from the following System View:

Note: To display messages only, select the [View] on a tool bar and click the [Message
Display Area] from the pop-up menu not to display other items.

IAEC January 2009 Rev.01 Page 90


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

3. Draw a function block.


Draw the block symbols of the following function blocks with a drawing pen:
ST16 Sequence block : ST222-11
TM Timer block : TM222-11
Select the [Function Block] from a tool bar to display the Select Function Block.

Click the [ST16] from the [Sequence Table] in the [Sequence] on the Select Function
Dialog, and the [OK] button.
Click an arbitrary position on a sheet of the Drawing Pane.

Enter the tag name ST222-11

IAEC January 2009 Rev.01 Page 91


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

Select the [TM] from the [Sequence Element-1] and enter the tag number
TM222-11.

1. Defining the Timer


Procedure
1. Click the timer block [TM222-11].
2. Click the [Properties] from the [Format] or click the right button of mouse
select [Properties].

IAEC January 2009 Rev.01 Page 92


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

3. Enter the word as shown below.


Tag comment : Sequence Exercise Timer
For other items, keep defaults. You do not need to define them. Click the
[OK] button.

2. Defining a Sequence Table


Procedure
1. Click the Sequence Table block [ST222-11].
2. Click the [Properties] from the [Format] or click right button of mouse select
[Properties].

3. Enter the word as shown below.


Tag comment : Sequence table 1
For other items, keep defaults. You do not need to define them. Click the [OK]
button.
4. Select the [Save] from the [File] menu to save the Control Drawing Definition
File [DR0031].

3. Detailed Definition of Timer


Procedure
1. Click on TM222-11 Block in the Control Drawing Window. Select [Edit
Function Block Detail] from [Window] or click on button.
The [Function Block Detail Definition Builder] window as shown below is
activated.

IAEC January 2009 Rev.01 Page 93


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

2. In the exercise, leave all data in default. Select [Exit Function Block Detail
Definition Builder] in the [File] menu.
4. Detailed Definition of Sequence Table
Procedure
1. Click on ST222-11 Block in the Control drawing Window. Select [Edit Function
Block Detail] from [Window] or click at button.
The [Edit sequence table] window as shown below is activated.

IAEC January 2009 Rev.01 Page 94


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

<Supplement>
The [Edit Sequence table] window can also be opened by double-click on the number
column of ST222-11 in the [Function Block List Definition Builder] window.
2. Select [Change Processing Timing] from the [Edit] menu or click
on button. The [Set Start Timing] dialog window appears.

3. In the exercise, leave all items in default and click on <OK> button.
The processing timing is defined and the dialog closes.

IAEC January 2009 Rev.01 Page 95


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

4. Click on the field of C01 in the [Tag Name. Data Item] column in the condition
signal setting area. Enter the data as follows:
(C01) SW445-11.PV (%SW0445.PV will do)
Shift to the next entry field a line below with a return key.
(C02) TM222-11.BSTS
5. Click on the field of A01 in the [Tag Name. Data Item] column in the action
signal setting area. Enter the data as follows:
(A01) TM222-11.OP
(A02) SW446-11.PV (%SW0446.PV will do)
(A03) SW447-11.PV (%SW0447.PV will do)
(A04) SW445-11.PV (%SW0445.PV will do)
6. Click on the field of C01 in the [Data] column in the condition signal setting
area. Enter the data as follows:
(C01) ON
Move the cursor to the lower field by pressing the <Down> key on the
keyboard.
(C02) CTUP
7. Click on the field of A01 in the <Data> column in the action setting area and
enter the data as follows.
(A01) START
(A02) H
(A03) H
(A04) H
8. Click on the field of C01 in the [Comment] column in the condition signal
setting area. Enter the data as follows:
(C01) Start Switch
(C02) Timer
9. Click on the field of A01 in the [Comment] column in the action signal setting
area. Enter the data as follows:
(A01) Timer
(A02) Switch 1
(A03) Switch 2
(A04) Start Switch

IAEC January 2009 Rev.01 Page 96


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

10. Rule column are defined with the combination of Y (Yes) and N (No).Move the
mouse cursor to the position to define and then click mouse button to specify
the position.
On the specified position;
One click of the mouse button : Y
Two clicks of the mouse button : N
Three clicks of the mouse button : Deletion of Y or N
11. Move the cursor to the step label setting area of the rule 01 and click. Enter
A1. Then enter A2, A3 and A4 in order.
12. Move the cursor to the next step label setting area of the rule 01 and click.
Enter A2.
Then enter A3, A4 and A1 in order.

13. Select [Update] in the [File] menu or click at button.


14. Then Select [Exit Function Block Detail Definition Builder] in the
[File] menu.
15. Select [Save] in the [File] menu of Control Drawing Builder to save the
sequence table. Then select [File] [Exit Control Drawing Builder]

IAEC January 2009 Rev.01 Page 97


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

5. Control Window Definition


Graphic Builder Definition Builder Activation
Procedure
1. Select [WINDOW] folder in the [HIS0164] folder.

2. Select [File] [Create New] [Window]

IAEC January 2009 Rev.01 Page 98


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

3. Define the type of window as follows:


Window Type : Control (8-loop)
Window Name : CG0011

4. Click on <OK> button to close the dialog box.


5. Double-click on CG0011 displayed in the [Opened Folder] data list.

IAEC January 2009 Rev.01 Page 99


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

6. Click on the left most instrument diagram to select. Then click the right button
of the mouse and select [Properties].

7. The [Instrument Diagram] dialog box appears.


Enter the following tag name SW445-11 in the tag name column.

8. Click on <OK> button to close the dialog box.

IAEC January 2009 Rev.01 Page 100


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

9. Assign the following tag names from the second instrument diagram onwards.
Number Tag Name
2nd : TM222-11
3rd : SW446-11
4th : SW447-11
6th : ST222 -11

10. completion of the assignment of all tag names, select [Save] in the [File]
menu.
11. Then select [Exit Graphic Definition Builder] in the [File] menu.

IAEC January 2009 Rev.01 Page 101


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

6. Confirming Operation with Test Function


Activating Test Function
Procedure
1. Select [FCS0101] folder.
2. Press [FCS] button in the tool menu to select [Test Function].
As shown below, the dialog box [Confirm to Switch] appears.

3. Click on <OK> button.


The [Test Function] window shown below appears soon.
Wait until the message “Completed FCS test function start processing” is shown.

IAEC January 2009 Rev.01 Page 102


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

7. Confirming Operation with Operation and Monitoring Function


Procedure
1. Call the graphic window [CG0011]

2. Set the Mode of the sequence table ST222-11 to AUT, and confirm that PV is
A1. If not, set to A1.
3. Enter 5 in PH of the timer TM222-11.
4. Setting the switch SW445-11 to ON activates the sequence table.
5. Confirm that the switches SW446-11 and SW447-11 change.
The rule condition display column is provided between the condition rule column and the
action rule column in the sequence table window.
Confirm that when a rule is satisfied, the color of the satisfied rule in the rule condition
column changes from;

IAEC January 2009 Rev.01 Page 103


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

Green (not satisfied) to Red (Satisfied)

8. Exit from Test Function


Procedure
1. Select [Exit Test Function] in the [File] menu in the [Test Function] window.
The dialog box [Test Function] appears as shown below.

2. Click <OK> button. The sequence table exercise 1. Has finished

IAEC January 2009 Rev.01 Page 104


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

Part C Sequential Control Function Exercise 2


Exercise 2 Sequence Table Creation 2

Build a sequence table to do the following using the cascade control loop. This will complete a
temperature control system of a batch reactor.
The sequence table you build should do the following:
1. Heat the reactor to the temperature required.
2. Maintain a constant reactor temperature for a specific period of time (reactor period).
3. Cool the reactor immediately following completion of the reactor period.

ON
ON Start Switch
OFF
Temp.

SV

Heatin Reacting Coolin Finished


g g
Time
BDS0011

M
TIC0011

Raw Materials TIC0012

LAG01 Water

DLAY01

Steam

Products
Reactor Batch Control System

IAEC January 2009 Rev.01 Page 105


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

Data Setting in BDS0011 Tuning Panel

Data Type DTnn


1 SV(TIC0011) 80°C Reacting Temp.
2 SV(TIC0011) 20°C Cooling Temp.
3 P(TIC0011) 60 %
4 I(TIC0011) 10 sec “Heating”
5 D(TIC0011) 2 sec
6 P(TIC0011) 25%
7 I(TIC0011) 15 sec “Reacting”
8 D(TIC0011) 0 sec
9 P(TIC0011) 50 %
10 I(TIC0011) 10 sec “Cooling”
11 D(TIC0011) 0 sec
12
13
14
15
16

1. Element Used for This Sequence


Prior to generating a sequence table, elements must be registered.
1. The instruments (BDSET-1) stores the SV of each step and PID parameters.
2. The Batch status indicator (BSI) starts control and displays the process.
3. A timer will determine reaction time.
4. Sequence relational expressions check minimum and maximum temperatures,
causing the reactor temperature to rise or fall.
5. Sequence computational expressions output parameters when conditions are
satisfied.
6. Operation guide messages output messages at each step.
7. Common Switch (START01) starts Batch switch.

IAEC January 2009 Rev.01 Page 106


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

2. Creating a Control Drawing


1. Draw a function block
Select the folder [FUNCTION_BLOCK] under the folder [FCS0101] to display a
data list. Select and double-click the [DR0032] on the data list.
Draw the block symbols of the following function blocks with a drawing pen:

PID Controller Block : TIC0011, TIC0012


DLAY, LAG Simulation Block : DLAY01, LAG01
BDSET-1L Batch Data Set : BDS0011
TM Timer Block : TM222-22
BSI Batch status indicator : BSI0011
RL Relational Expression : RL0011
CALCU Calculation : CALCU01, CALCU02, CALCU03,
CALCU04, CALCU05
ST16 Sequence Table : ST222-22
SWnnnn Common switch : START01

IAEC January 2009 Rev.01 Page 107


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

2. Defining The Controller


1.Click the Controller block [TIC0011], [TIC0012]
2. Click the [Properties] from the [Format] or click the right button of mouse select
[Properties] enter the word as shown below.

IAEC January 2009 Rev.01 Page 108


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

For other items If you do not need to define, keep defaults. Click the [OK] button.
3. Detail Definition of Controller Block.
1. Click on [TIC0011], [TIC0012] block in the Control Drawing Window. Select
[Edit Function Block Detail] from [Window] or click at button.
2. The [Function Block Detail Definition Builder] Window as shown below is
activated.

For TIC0012 Detail Spec. Item Connection [Measurement Input (IN)] input
LAG01.CPV
In this exercise, leave all data in default. Select [Exit Function Block Detail
Definition Builder] in the [File] menu.

IAEC January 2009 Rev.01 Page 109


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

4. Defining Jacket Temp. Simulator Block [LAG].


1. Click LAG block [LAG01]
2. Click the [Properties] from the [Format] or click the right button of mouse
select [Properties] enter the word as shown below.

For other items If you do not need to define, keep defaults. Click the [OK] button.

5. Detail Definition of LAG Block.


1. Click on [LAG01] block in the Control Drawing Window.
Select [Edit Function Block Detail] from [Window] or click at button.
2. The [Function Block Detail Definition Builder] Window as shown below is
activated.

IAEC January 2009 Rev.01 Page 110


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

In this exercise, leave all data in default. Select [Exit Function Block Detail
Definition Builder] in the [File] menu.

6. Defining Reactor Temp. Simulator Block [DLAY].


1. Click DLAY block [DLAY01]
2. Click the [Properties] from the [Format] or click the right button of mouse
select [Properties] enter the word as shown below.

For other items If you do not need to define, keep defaults. Click the [OK] button.

7. Detail Definition of DLAY Block.


1. Click on [DLAY01] block in the Control Drawing Window.
Select [Edit Function Block Detail] from [Window] or click at button.
2. The [Function Block Detail Definition Builder] Window as shown below is
activated.

IAEC January 2009 Rev.01 Page 111


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

In this exercise, leave all data in default. Select [Exit Function Block Detail
Definition Builder] in the [File] menu.

8. Defining The Batch data set.


1. Click The Batch data set block [BDS0011]
3. Click the [Properties] from the [Format] or click the right button of mouse
select [Properties] enter the word as shown below.

For other items If you do not need to define, keep defaults. Click the [OK] button.

IAEC January 2009 Rev.01 Page 112


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

9. Detail Definition of Batch Data set Block.


1.Click on [BDS0011] block in the Control Drawing Window. Select [Edit Function
Block Detail] from [Window] or click at button.
2.The [Function Block Detail Definition Builder] Window as shown below is
activated.

In this exercise, leave all data in default. Select [Exit Function Block Detail
Definition Builder] in the [File] menu.
10. Defining Timer Block.
1. Click Timer Block. [TM222-22]
2. Click the [Properties] from the [Format] or click the right button of mouse
select [Properties] enter the word as shown below.

For other items If you do not need to define, keep defaults. Click the [OK] button.

IAEC January 2009 Rev.01 Page 113


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

11. Detail Definition of Timer Block.


1.Click on [TM222-22] block in the Control Drawing Window. Select [Edit
Function Block Detail] from [Window] or click at button.
2.The [Function Block Detail Definition Builder] Window as shown below is
activated.

In this exercise, leave all data in default. Select [Exit Function Block Detail
Definition Builder] in the [File] menu.
12. Defining The Batch Status Indicator.
1. Click The Batch Status Indicator block [BSI0011]
2. Click the [Properties] from the [Format] or click the right button of mouse
select [Properties] enter the word as shown below.

For other items If you do not need to define, keep defaults. Click the [OK] button.

IAEC January 2009 Rev.01 Page 114


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

13. Detail Definition of The Batch Status Indicator Block.


1. Click on [BSI0011] block in the Control Drawing Window. Select [Edit
Function Block Detail] from [Window] or click at button.
2. The [Function Block Detail Definition Builder] Window as shown below is
activated.

In this exercise, leave all data in default. Select [Exit Function Block Detail
Definition Builder] in the [File] menu.
14. Defining Relational Block.
1. Click Relational Block. [RL0011]
2. Click the [Properties] from the [Format] or click the right button of mouse
select [Properties] enter the word as shown below.

IAEC January 2009 Rev.01 Page 115


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

For other items If you do not need to define, keep defaults. Click the [OK] button.
15. Detail Definition of Relational Block.
1.Click on [RL0011] block in the Control Drawing Window. Select [Edit Function
Block Detail] from [Window] or click at button.
2.The [Function Block Detail Definition Builder] Window as shown below is
activated.

In this exercise, leave all data in default. Select [Exit Function Block Detail
Definition Builder] in the [File] menu.
16. Defining Calculation Block.
1. Click Calculation Block. [CALCU01], [CALCU02], [CALCU03]
2. Click the [Properties] from the [Format] or click the right button of mouse select
[Properties] enter the word as shown below.

IAEC January 2009 Rev.01 Page 116


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

For other items If you do not need to define, keep defaults. Click the [OK] button.
17. Detail Definition of Calculation Block..
1.Click on [CALCU01] block in the Control Drawing Window. Select
[Edit Function Block Detail] from [Window] or click at button.
2.The [Function Block Detail Definition Builder] Window as shown
below is activated.
3. Click on Start timing change to One shot Processing for CALCU01,
CALCU02,CALCU03,CALCU04 and CALCU05

4. At Edit Window Bar select [Edit


Calculation Script]
Window as shown below.

IAEC January 2009 Rev.01 Page 117


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

5. Select the [Update] from [File] menu or click at button. And


select [Exit Function Block Detail Builder] from [File] menu
6. For [CALCU02] [CALCU03] [CALCU04] and [CALCU05] do the
same procedure [CALCU01] block. Windows as shown below:
CALCU02

CALCU03

CALCU04

IAEC January 2009 Rev.01 Page 118


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

CALCU05

7. Select the [Save] from the [File] menu to save the Control Drawing Definition File
[DR0032]

3. Defining Operator Guide Messages


1. Start the System View Window Open [MESSAGE] folder from [FCS0101] folder
and double-click at [OG0101]

IAEC January 2009 Rev.01 Page 119


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

2. When double-click at [OG0101] enter the words of messages as shown below:

3. Select the [Save] from the [File] menu to save the Operator Guide Messages
File [OG0101]
4. Defining Common Switch (START01).
1. At System View Window click at [SWITCH] from [FCS0101] of [ENGPJT]
project.

2. Double-click at [SwitchDef] Common Switch. Common Switch Builder as


shown below appears.

IAEC January 2009 Rev.01 Page 120


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

3. Enter “START01” in Tag Name item and “Start Batch switch” in Tag Comment
item.
4. Select [Save] in the [File] menu to save Common Switch.

5. Defining a Sequence Table


1. Defining a Sequence Table
Procedure
1. Start at Control Drawing Builder [DR0032] Click the Sequence Table block
[ST222-22]
2. Click the [Properties] from the [Format] or click the right button of mouse
select [Properties].
3. Enter the word as shown below.

4. Select the [Save] from the [File] menu to save the Control Drawing
Definition File [DR0032].

IAEC January 2009 Rev.01 Page 121


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

2. Detailed Definition of Sequence Table


Procedure
1. Click on ST222-22 Block in the Control Drawing Window. Select [Edit
Function Block Detail] from [Window] or click at button.
The [Edit Sequence Table] window as shown below is activated.

2. Select [Change Processing Timing] from the [Edit] menu or click at button.
The [Set Start Timing] dialog as shown below appears.

IAEC January 2009 Rev.01 Page 122


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

In the exercise, leave all items in default and click on <OK> button.
The processing timing is defined and the dialog closed.
3. Change Number of signal lines
At Function Block Detail Builder of ST222-22 Window. Select [Change
Number of Signal lines] from [View] menu

Note – Must be complete this table as page 124-125


The [Change Number of Signal lines] dialog as shown below appears.

Select [Condition Signal = 16 Operation Signal = 48] and click [OK]

4. Define Detail Definition of Sequence Table.

IAEC January 2009 Rev.01 Page 123


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

1. Defined Detail Definition of Sequence Table as shown below:

IAEC January 2009 Rev.01 Page 124


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

2. Select [Update] in the [File] menu or click at button.


3. Then Select [Exit Function Block Detail Definition Builder] in the
[File] menu.
4. Select [Save] in the [File] menu to save the sequence table.

IAEC January 2009 Rev.01 Page 125


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

3. Start the batch Reactor System Operation.


1. Define Control Group Window [CG0012] as shown below.

2. Run Test Function


3. Define Mode Status of ST222-22 to AUT Mode
4. Define Data in BDSET-1 [BDS0011] that stores the SV of each step
and PID parameters. Procedure
4.1 Click at input Window Name icon. Enter words
“BDS0011” and click “Enter” will appears as below.

And you will see the instrument Faceplate of BDS0011

4.2 Click at Tool Box icon will appears.

4.3 Click at Tuning icon will display tuning panel of BDS0011 and

Enter data in DT01 to DT10 as shown below:

IAEC January 2009 Rev.01 Page 126


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

5. Define Batch Status Indicator [BSI0011] Parameter


5.1 At Tuning Panel of BSI0011

IAEC January 2009 Rev.01 Page 127


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

5.2 Define Switch Color click at [SWCR] and enter data as below:

5.3 Define Switch label click at [SWLB] and enter data as below:

5.4 Define Switch Guard Color click at [SWOP] and enter data as below:

IAEC January 2009 Rev.01 Page 128


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

5.5 Define Phase (Step) click at [PHAS] and enter data as below:

5. Set timer TM222-22 to 120 seconds. [PH=120]


6. Make certain I of process simulator [DLAY01] is 4.
7. Make certain I of process simulator [LAG01] is 25.
8. Display the Control Group panel again.
9. Start batch by ON [START01] Switch
10. Observation Operator Guide Message, SV, PID, Step Display and Execute
Switch Button at Faceplate of BSI0011.

The sequence table exercise 2. Has finished.

IAEC January 2009 Rev.01 Page 129


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

Part D Creation Of General Purpose Cal Calculation Block

CREATION OF GENERAL PURPOSE CALCULATION BLOCK

Creation of a general calculation function block through making a simple


calculation program.

Create calculation program indicating the specified reactor temperature according to the
liquid level of the reactor.
[Detailed specification]
According to the liquid level of the reactor, [PV] of [LI002], display the following
temperature.
Range of level Display temperature
LI002.PV < 40% Measured temperature at low level
40% =< LI002.PV < 70% Mean temperature at low and medium level
70% =< LI002.PV Mean temperature at low, medium and high level

The temperature to be displayed is set to the data item CPV of the calculation block
TI002.Also, the character string showing the condition of the displayed temperature is
set to the data Item CPV2 of TI002.

IAEC January 2009 Rev.01 Page 130


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

Calculation Block with String I/O (CALCU-C)

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.

Control Drawing Builder Creation


Control Drawing Builder Activation
Procedure:
1. From the System View, select [ENGPJT] [FCS0101] [FUNCTION BLOCK]
folder and then double-click on [DR0033] to open the [Control Drawing Builder].

IAEC January 2009 Rev.01 Page 131


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

Function Block Creation


Procedure :
1. Create the block symbols for the function blocks on the drawing panel. From the
Toolbar,
select [Insert] [Function Block]. The [Select Function Block] dialog appears

2. Select [PVI] and then click on [OK] button. Next, click on any point on the sheet
of the drawing panel. Enter tag name as [LI002]. Repeat the procedure to create the
other PVI blocks. Select [CALCU-C] for [TI002].
The following function blocks should be created:

Tag Name Model Name Function Block Type

LI002 PVI Regulatory Control Blocks/Calculation Blocks


/Input Indicators

TI002L PVI Regulatory Control Blocks/Calculation Blocks


/Input Indicators
TI002M PVI Regulatory Control Blocks/Calculation Blocks
/Input Indicators
TI002H PVI Regulatory Control Blocks/Calculation Blocks
/Input Indicators
TI002 CALCU-C General-Purpose Calculations

IAEC January 2009 Rev.01 Page 132


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

Click on [LI002] block to select. From [Format] menu, click on [Property]. Enter the
following parameters:
Tag Name Tag Comment Scale Low Limit Scale High Limit Engineering Unit
LI002 Level indicator 0 100 %

Click on [OK] button.

IAEC January 2009 Rev.01 Page 133


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

Enter parameters for other function blocks as follows:


Tag Name Tag Comment Scale Low Limit Scale High Limit Engineering Unit
TI002L Temp. Indicator (low) 0 100 DEGC
TI002M Temp. Indicator (medium) 0 100 DEGC
TI002H Temp. Indicator (high) 0 100 DEGC
TI002 Temp. Indicator 0 100 DEGC

4. Wiring connects inputs and outputs of the function blocks.


Wiring can be executed either automatically or manually with a wiring tool.
Select [Insert] - [Wiring] from the Toolbar.
Click once on the output side terminal of [LI002] regulatory block and then
double-click on the input side terminal of [TI002] calculation block.
A thick Green line appears (selected line).
Another click on the panel defines the wiring and the colors changes to Magenta.
Perform the wiring operation for other function blocks as well. Refer to the following for
the wiring connections:

Click on the [Select Mode] button after completing the wiring operations.

5. Alteration of Terminal Name (data item)


Terminal names automatically assigned on wiring. If the assigned terminal name is not
appropriate, alter the terminal name.

IAEC January 2009 Rev.01 Page 134


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

Change the terminal name [OUT] for [LI002] to [PV].


Click on terminal name [OUT] and the colors changes to Green to indicate the selected
State. Right click on [OUT] terminal and select from the pop-up menu [Terminal Name]
- [DATA2] - [PV].

Alter the other terminal names as follows:

Tag Name (from) Terminal Name Tag Name (to) Terminal Name
LI002 PV TI002 IN
TI002L PV TI002 Q01
TI002M PV TI002 Q02
TI002H PV TI002 Q03

Next, save the defined drawing by selecting [File] [Save]. Confirm that no error exists in
the [Message] display.

NOTE: The colors of automatic wiring is Magenta and the colors of manual wiring
is Cyan. The colors of selected wiring is Green.

6. Confirmation of the [Function Block Detail Builder] detailed definition of [Basic]


for [TI002].Click on [TI002] function block in the [Control Drawing Builder] to select it. Its
colors changes to Green.

IAEC January 2009 Rev.01 Page 135


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

From the Toolbar, click on [Window] [Edit Function Block Detail]. The [Function
Block Detail Builder] opens. Change to [Function Block Detail Definition] at the Edit
Window as shown below:

With the [Basic] tab, confirm that the start timing has been set to periodic execution.

7. Definition of I/O Connection. From the Toolbar, select [View] [Detailed Setting
Items]. Select the [Connection] tab to confirm the I/O connections.

IAEC January 2009 Rev.01 Page 136


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

8. Creation of calculation formula:


From the [Edit Window], select [Edit Calculation Script]. Key in the
calculation formula as shown below:

IAEC January 2009 Rev.01 Page 137


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

On completion, from the Toolbar, select [File] [Update]. Next, from the Toolbar in
the [Control Drawing Builder], select [File] [Save] to save the defined program.
Confirm that no error exists in the [Message] display.

Operation Test
Procedure:
1. Assign the function blocks to control window [CG0013] (8-loop) for test
operation. Refer to the earlier exercises for the creation of control window.
2. Activate the test function.
3. Test data entry.
Transfer [LI002], [TI002L], [TI002M] and [TI002H] mode to calibration [CAL]
(tuning window) and enter data as follows:
TI002L.PV = 10 DEGC
TI002M.PV = 20 DEGC
TI002H.PV = 40 DEGC
4. Enter the data as follows for [LI002].
LI002.PV TI002.CPV TI002.CPV2
75% (10+20+40)/3 = 23.3% H/M/L mean temp
5. Confirmation of operation.
Confirm that [CPV] and [CPV2] are displayed in the tuning window of
[TI002] as shown:

IAEC January 2009 Rev.01 Page 138


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

6. Enter the data as follows for [LI002] to test the other conditions in the [TI002]
tuning window.
LI002.PV TI002.CPV TI002.CPV2
45% (10+20+)/2 = 15.0% M/L mean temp
35% 10 = 10.0% Low level temp

CREATION OF GENERAL PURPOSE CALCULATION BLOCK 2

Aim: In the cascade loop created in Lab3 Creation of Regulatory Control Function,
create the sequence when the block mode of the Primary Controller TIC100 turns
to AUT, the block mode of the Secondary Controller FIC100 automatically
transfers to CAS.

Use only a single function block CALCU.


Procedure:
1. Create the function block by adding 1 general-purpose calculation block to the
control drawing [DR0021].
Tag Name Model Name Tag Comment Other items
CAL100 CALCU Cascade Control Default

2. Create the calculation formula (sequence connection).Under the [Edit


Calculation Script] window, create the program below.

IAEC January 2009 Rev.01 Page 139


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

3. Confirm that is works, by using test function. Put the block mode of TIC100
into AUT mode. The block mode of FIC100 should change to CAS mode
automatically. [CG0001] may be called out for the testing.

IAEC January 2009 Rev.01 Page 140


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

PART E Logic Charts Exercise


Exercise Sequence Logic Charts

1. Common Switch Definition


Select the [SWITCH] folder in the [FCS0101] folder. Then double-click on the
[SwitchDef] (common switch) show in the <opened Folder> data list.

IAEC January 2009 Rev.01 Page 141


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

2. Creation Control Drawing.


Draw the function Block
Select the folder [FUNCTION_BLOCK] under the folder [FCS0101] to display a data list.
Select and double-click the [DR0015] on the data list.
Draw the block symbols of the following.
Logic Chart Block [LC64] : LG01

1. Defining Properties of Logic Chart Block.


1. Click the Logic Chart Block [LG01]
2. Click the [Properties] from the [Format] or click the right button of mouse
select [Properties] enter the word as shown below.

IAEC January 2009 Rev.01 Page 142


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

For other items If you do not need to define, keep defaults. Click the [OK] button.

2. Detail Definition of Logic Chart Block.


1. Click on [LG01] block in the Control Drawing Window. Select [Edit Function
Block Detail] from [Window] or click at button.
2. The [Function Block Detail Definition Builder] Window as shown below is
activated.

3. Creation Logic Chart.

1. Select [Edit Logic Chart] from Edit Window bar

IAEC January 2009 Rev.01 Page 143


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

Edit Logic Chart Window as shown below is activated.

2. Define start Timing.


Click at button of Edit Logic Chart Window

IAEC January 2009 Rev.01 Page 144


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

3. Define Logic Chart Elements.


Click at button of Edit Logic Chart Window

Select input1 <OK> define follow as below:

IAEC January 2009 Rev.01 Page 145


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

4. Define Logic Operation Element

IAEC January 2009 Rev.01 Page 146


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

5. Define wiring
Click at button of Edit Logic Chart Window then click at end point of switch
AAAA and double click at [OR] operation element. Creation BBBB Element as
below

6. Define full Logic Chart Window follow as below:

IAEC January 2009 Rev.01 Page 147


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

7. Select [Update] in the [File] menu or click at button.


8. Then Select [Exit Function Block Detail Definition Builder] in the [File] menu.
9. Select [Save] in the [File] menu to save Control Drawing DR0034

3. Start Operation.
1. Define Control Group Window [CG0015] and [CG0016] as shown below.

IAEC January 2009 Rev.01 Page 148


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

2. Run Test Function.

3. Define Tuning parameter of Logic Chart

4. Chang Mode of LG01 to AUT Mode

5. Observe Step Operation of Logic Chart

Click at button as shown below :

IAEC January 2009 Rev.01 Page 149


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

If you want to operate switch AAAA double click at Input element AAAA Faceplate
will appear you can ON or OFF switch and notice result action of this Logic Chart.

Note. Color of wiring line will display involve switch status.

Red Color Wiring Line is showed involve switch status ON.


Green Color Wiring Line is showed involve switch status OFF.

IAEC January 2009 Rev.01 Page 150


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

PART F Creation of SFC Blocks


1. Creating Control Drawing
Procedure
1. Select the folder [FUNCTION_BLOCK] in the folder [FCS0101] to display a
data list. Select and double-click the [DR0035] from the data list.

The [Control Drawing] builder starts from the following System View :

(Note) To display messages only, select the [View] on a tool bar and click the
[Message Display Area] from a pop-up menu.

2. Drawing and Edit the Control Drawing Window


Procedure
1. Draw a function block
Draw the block symbols of function blocks with a drawing pen. Select the
[Function Block] tool button on a tool bar and enter the following tag
names.
Tag Name Model Type
SFC001 _SFCPB SFC Block
TM001 TM Sequence Element-1
LI001 PVI Regulatory Control
P001 SIO-11 Switch Instruments
V001 SIO-11 Switch Instruments
%Z011110 PIO Link Blocks
%Z021101 PIO Link Blocks
%Z021102 PIO Link Blocks
%Z022101 PIO Link Blocks
%Z022102 PIO Link Blocks

IAEC January 2009 Rev.01 Page 151


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

2. Define Specifications
(1) Select one block from the Drawing Pane and click it. The block turns to
green.
(2) Select the [properties] from the [Format].
(3) Enter necessary items.
(4) Click the [OK] button.
Enter data for the following tags, For other items, keep defaults:

Tag Name Tag Comment Low Limit High Limit Engineering Unit
SFC001 SFC Block for Seq.
TM001 Timer1
LI001 Lever Indicator 0 100 %
P001 Pump1
V001 Valve1

IAEC January 2009 Rev.01 Page 152


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

2. Draw wiring
Use a wiring tool to draw automatic or manual wiring. Select the [Wiring] tool
button on a tool bar to connect as follows:

On completion of wiring, select the [Save] from the [File] on a tool bar to save definitions.
Check that no error appears at the [Message Display] area.
3. Define the SFC Block
(1) Define the SFC Block data
Select the SFC001 on the [Drawing Pane] (sheet). The block turns to
green.
Select the [Edit Function Block Detail] on the [Window] to display the
following figure:

IAEC January 2009 Rev.01 Page 153


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

Select the [Data Item Definition] from the [Edit Window] to open the next
display.
Define the following items on the [User Definition] tab:
No 1. No 2.
Data item : TMSET LEVELSET
Data type : I16 F32
Comment : Timer set value Level set value
Engineering Unit : s %
Function restriction level: 1 1
Display format : 7 7.1

After the definition, in the tool menu of the [Function Block Detail Definition Builder]
window, click on [File]- Update]. Then in the tool menu of the [Function Block List
Definition Builder] window, click on [File]-Save] to save the defined data.
Confirm that any error other than “initial step not found” does not appear in the
[Message] area.
(It is recommended to save defined data every time a file has been defined.)
(2) Creation of SFC
Select [Edit SFC] [Edit Window] [Function Block Detail Definition
Builder]. Select [Transitional Step] with [Step] button. Then click on a
suitable position on the editing area.

IAEC January 2009 Rev.01 Page 154


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

Click on the [Selection Mode ] button then click on the <01> step to
select.
Display [Step Attribute] window by clicking on the [Attribute Definition]
button.
Define the following items in the window.

Comment : Start check


Process Name : Start check
Other items : Leave in default

Then click on <OK>

In the same way, define the <02> step using [Step Attribute] window.

Comment : Delivery
Process Name : Delivery
Other items : Leave in default

(3) Creation of SEBOL


Click on the [Selection Mode] button to select <01> step.
Click on the [Edit Step Action] button ) to display [Edit SEBOL] window.
Carry out the program coding for the start condition check process.
An example of coding is shown below.

IAEC January 2009 Rev.01 Page 155


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

In the same way, carry out the program coding for the <02> step.

After the coding, activate the [Edit SFC] window again.


In the tool menu of the [Function Block Detail Builder] window, click on
[File] – Update]. Then exit from the [Function Block Detail Definition Builder].
In the tool menu of the [Function Block List Definition Builder] window, click on
[File] – Save] to save the defined data.
After confirming no error appearing the [Message] area, exit from the [Function
Block Detail Definition Builder].
(4) Define the control window CG0019 used for test function.
(5) Test function start-up.

IAEC January 2009 Rev.01 Page 156


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

Start-up the test function.


(6) Tuning parameter setting.
Enter the following data by displaying the tuning window of SFC001.
Timer Setting = 60 S
Level Setting = 5.0 %
(7) Operation confirmation
1. Click on <RUN> button of SFC instrument diagram once, leaving the
PV of LI001 0.0%
Confirm that the operation guide message “Start condition is not
satisfied” as been issued.
2. Set the PV of LI001 to more than 5%. (Set LI001 to CAL mode and
enter the PV value manually)
3. Click on <RUN> button of SFC001 instrument diagram.
4. The dialog message “Start condition OK. Proceed to delivery?”
Appears. The sequence on progress until confirmed. Confirm the
message. Confirmation can be carried out in the [Operation Guide
Acknowledgement] window. The window is called by clicking on
<Dialog> button in the [Operation Guide Message] window.

IAEC January 2009 Rev.01 Page 157


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

5. After confirmation, the next delivery process is carried out.


6. The valve V001 opens and the pump P001 runs to start delivery.

7. Check the SFC condition display window.


Call the SFC001 tuning window then click on the <SFC>
button in the tool menu.

The process under execution is displayed in cyan color.

IAEC January 2009 Rev.01 Page 158


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

8. Check the SEBOL condition display window.


Double-click on the step number box of the delivery process.

IAEC January 2009 Rev.01 Page 159


Instrumentation & Automation Education Center (IAEC): CENTUM VP Engineering Course
Yokogawa (Thailand) Ltd.

The SEBOL condition display window appears. The current executing


line is indicated with a triangle mark. It shows that the sequence is
waiting for the level lower under the set value.
By clicking on <Detail Display> button, the corresponding data are
displayed.
9. Set PV of LI001 to less than 5.0%.
10. The pump P001 turns OFF. The timer starts setting its PH to 60
seconds.
11. After 60 seconds, the timer counts up. The valve V001 closes. The
operation guide message ”Delivery Finished” is issued to show the end
of the sequence.

IAEC January 2009 Rev.01 Page 160

Das könnte Ihnen auch gefallen