Centum VP 5 Eng Control Pgmsglobal
Centum VP 5 Eng Control Pgmsglobal
PROCESS SEQUENCE
HIS Start process
Select grade
Set flows
Add milk
Add chocolate
Tank at 30%
Mixer ON
Heat ON
Tank at 80%
Milk & Choc flows OFF
Mix timer ON
Timer timeout
Open drain
Heat OFF
Tank at 30%
Mixer OFF
Vnet/IP
Tank empty
Start CIP
CHOCOLAT
E MIXER
LI
TEMP
STEAM
DRAIN
SEQUENCE ELEMENTS
Sequence elements are the items that combine to make sequence control of the process possible. Some
of these elements are:
Process Input/Output: This refers to the contact I/O points associated with the system. These can be
limit switches, start buttons, or pump/motor starters.
Timers: Timers are used for time related sequence. The output of a timer (count up) can be connected
to a counter (%CT), internal switch (%SW or %GS) or process output (%Z).
Counters: These can be either software counters (counting how many times a program has run) or pulse
input counters (counting the physical input from the field).
Regulatory Control Functions: The status of a control instrument can be read or switched.
Relational Expressions: Relational expressions are used to compare pairs of data items such a process
data and set parameters.
Message Outputs: Messages can be generated as actions of a sequence table. These messages can be
sent to printers, operator guide message panel, or process alarm panel.
Sequence
(32 conditions and 32 actions)
table
Sequence Tables
• ST16: Sequence table with 32 conditions and 32 actions (size is adjustable).
• ST16E: Rule extension table for going beyond the 32 rules in a table.
• M_ST16: CS3000 “Migration” sequence table with 48 conditions and 48 actions (size is adjustable).
• M_ST16E: Rule extension table for going beyond the 32 rules in a “M_ST16” table.
• L_ST16: CS3000 “Migration” sequence table with 64 conditions and 64 actions (size is NOT adjustable).
• L_ST16E: Rule extension table for going beyond the 32 rules in a “L_ST16” table.
• LC64 Logic chart with 64 logic elements (AND, OR, NOT, etc.)
SFC Blocks
• _SFCSW: Three position switch type SFC block.
• _SFCPB: Push-button type SFC block.
• _SFCAS: Analog type SFC block.
Switch Instrument
Sequence instruments are used to control ON/OFF devices such as valves.
• SI-x: Switch instrument block with 1 or 2 inputs.
• SO-x: Switch instrument block with 1 or 2 outputs.
• SIO-xx: Switch instrument block with 1 or 2 inputs and 1 or 2 outputs.
MIXER-
IN MIXER-1 OUT
TANK 1 MIXER SIO-11
•1 Input SIO-11
•1 output
%Z021104 %Z021119
OUT
ANSWERBACK
(PV=2)
(MV=2) RU
%Z021104
STO
MIXER
SIO-21
%Z021219 “OPEN” •2 inputs
ANSWERBACK •1 output
(PV=2)
DRAIN-
TANK 1 DRAIN
(MV=2)
DRAIN
IN DRAIN-1 OUT
SIO-21
%Z021102 %Z021218
SWITCH INSTRUMENTS
Switch instruments are used to control ON/OFF devices such as valves, motors or pumps.
• If the SIO has 2 inputs (and/or 2 outputs) only the first point has to be specified. The software
assumes that the next physical digital point (can be I/O or internal switch) is to be used by the function
block.
S If BPSW=1
W Ans. Bk.
1 Bypass CS
AUT/
MA CAS
o
Ans. Bk.
P MV
Check
IN TSI OUT
Counters:
There are two types of counter blocks; software (CTS) and pulse train (CTP).
• CTS counters are used to count the occurrences of an event.
• CTP counters are connected to digital pulse inputs.
The highest count-up is 100,000.
TABLE TIMING
STEPS
RULES
CONDITION
COMMENT
ACTION
THEN
ELSE
Timing: The execution timing for sequence tables can be modified. The example on the previous page
shows TC and a “Basic Scan” rate. This means the table will execute: Once per second, outputs only on
status change. Clicking on this area will display a list of the other table executions available. Refer to the
FCS Function manual for specifics.
Execution:
T = Periodic at the scan rate
O = One shot, normally started by another Sequence Table
I = “START” or “RESTART” (“START” = initial cold start)
B = “START” only (“START” = initial cold start)
Output:
C = Output on initial change. Condition must go “False” then “True” again for the table output to occur
again.
E = Outputs each time conditions are satisfied.
Rules: Each table has 32 columns that are referred to as “Rules”. If a sequence table is made of rules
only, then all of the Conditions are tested each timing cycle. When all of the conditions in any rule are
found to be true, then the Actions under that set of conditions are taken.
Steps: If the process must have sequentially defined steps in order to function correctly then steps are
used. Using Steps, only the conditions in the step the sequence table is in are tested. When all of the
conditions are true the Then row at the bottom of the sequence table tells the table which step will be
tested next. Steps can be several Rules wide so that different sets of conditions can be tested and the
first one becoming true will have its actions set.
Then: As stated in the paragraph above, when a sequence table is made with Steps the table must be
told which is the next step to go to when the current step’s conditions are met. If no Then is specified the
table will not advance beyond that step.
Else: The Else row allows the table to go to another step when the conditions in the current step are not
true.
Condition: These are the inputs into the sequence table. (What is the table looking to see happen.)
Action: These are the outputs from the sequence table that turn on pumps, open valves, or change
modes.
CONDITIONS
ACTIONS
A logic chart block is a function block prepared in the form of an interlock block diagram. The input
(condition) signals go through logic elements before becoming outputs (actions). Timing of the Logic
Charts is the same as on Sequence Tables, although the logic’s execution occurs every scan cycle (TE).
Logic elements such as AND gates, OR gates, and delays are available.
Initial step
1 INITIALIZATION
Transition
2 ADD PRODUCT
Step
Initial Step: The initial step of a program is expressed using a double square.
Transition: The transition condition (of one line only) is evaluated when the action of a step immediately
before the transition has been completed. Then if the condition is true, the program proceeds to the next
step.
Step: A step is active only when it is being executed. It will contain a SEBOL program, sequence table,
or logic chart. When the step completes, it proceeds to the next step as defined by a link. Each program
can have up to 99 steps.
1 INITIALIZATION Operation
SEBOL
2 ADD PRODUCT genname PID TEMP1
genname PID FLOW1
genname PID FLOW2
*
*
3 HEATING TEMP1.MODE=“AUT”
FLOW1.MODE=“CAS”
FLOW2.MODE=“CAS”
*
4 ADD CATALYST *
end
5 COOK CYCLE
ON
Guide
Message
0 0 0 0 0
1 2 3 4 5
C01 SEQ-START.PV ON Y . . . .
C02 TM301-11.BSTS CTUP . Y Y Y Y
C03 COUNT-1.PV ON . Y . . .
C04 COUNT-2.PV ON . . Y . .
C05 COUNT-3.PV ON . . . Y .
C06 COUNT-4.PV ON . . . . Y
A01 SEQ-START.PV H N . . . .
A02 TM301-11.OP START Y Y Y Y Y
A03 COUNT-1.PV H Y N . . .
A04 COUNT-2.PV H . Y N . .
A05 COUNT-3.PV H . . Y N .
A06 COUNT-4.PV H . . . Y N
A07 %OG0001.PV NON . . . . Y
0 0 0 0 0
2 3 4 5 1
8. Under FCS0101 you’ll find a folder named “MESSAGE”. Open it and then open “OG0101” to create
an operator guide message. Maximize this window.
9. For “%OG0001”, create the message “TIMER SEQUENCE COMPLETE”, then scroll across to
“Related Window Name” and enter “SEQUENCE”. Save and close this builder.
NOTE: The “Related Window” allows the user to click on the operator guide message and go to a
specific graphic.
10. Now, create a new “Control (8 loop)” graphic window called “SEQUENCE” using these tags:
• TM301-11
• SEQ-START
• COUNT-1
• COUNT-2
• COUNT-3
• COUNT-4
• SEQ-CTL
Note: New function blocks in this exercise should be built using a level 3 access level.
11. Save and exit from the graphic builder and then minimize “System View”.
12. Display the graphic window “SEQUENCE” and go to the tuning window for “TM301-11”. Make PH=10.
13. On the control window “SEQUENCE” put “SEQ-CTL” into “AUT”, and bring up its tuning panel. Click
on the “Sequence Table – Y/N” icon at the top middle to open the table.
• If the tuning window was brought up as the smaller size then drag the lower right corner of the
table’s window to show all of the conditions and actions. You may have to move the bar between the
“Conditions” and “Actions” to see all of each.
14. What does a “CYAN” condition indicate?
15. What does the GREEN BOX above step #1 indicate?
16. Double-click on condition #1 to display the “SEQ-START” faceplate. Now, double-click on “ON” to
start the table.
• Watch the table’s operation, does it do what was described at the beginning of the exercise?
17. When the “Operation Guide” icon starts flashing, click on the icon in the “Tool Box” to display the
“Operator Guide Message” window. (Will be different for CAMS). Double-click on the message, what
appears?
• Why?
18. Now, click on the “Clear All” icon in the message area.
Exercise 2
Description:
1. When the start switch (SEQ-START) turns on, then internal switches (COUNT-1 through 4) will
sequentially cycle on and off every 5 seconds. This cycle will be repeated 10 times by using software
counter CT301-11 and then output an operator guide message saying the operation has ended.
2. As the table is running, it will also be monitoring the PV of LC301-11 and force the following
operations:
• If the PV of LC301-11 goes above 80 or less than 20 an “Emergency stop” operator guide
message will be generated. The operation will stop and the timer will be halted.
• Change the PV between 20 and 80 and turn SEQ-START “ON” again to restart the operation.
Loop Connections MV IN
LC301-11 LG301-11
IN CPV
PID LAG
CT301-11
OUT
%OG0003.PV.NON
CTS
(LINK BLOCK)
SELECT A “RULE”,
THEN CLICK ON “EDIT”
TO “INSERT” OR “DELETE”
A “RECORD”.
4. After the table information has been entered, update and exit from the builder. “Save” the drawing,
and if there are no errors, exit the drawing.
1. Go to “Windows” under “HIS0164”, create a new control window called “LAB-2” and assign the
following tags to it.
No. Tag name
• 1 LG301-11
• 2 LC301-11
• 3 RL301-11
• 4 SEQ-START
• 5 TM301-11
• 6 CT301-11
• 7 SEQ-CTL
2. Save and exit from this builder, then minimize “System View”.
1. Go back to “System View” and then display “DR0003” in FCS0101. Create a BSETU-2 (which is
found under “Regulatory Control Blocks”, “Signal Setters”) and define it as follows:
• Name: FILL-1
• Comment: FILL PRODUCT
• Range: 0-1000
• Eng. Unit: GAL
• Totalizer: MIN
• Fully open/tightly shut: NO
• Input: %Z011108
• Output: %Z011116
• Lvl: 3
• QUESTION: What two things must done to a BSETU, after the BSET register is set, to start the
BSETU? 1. 2.
(Refer back to the “Regulatory Control” chapter, or use the on-line manual.)
2. Now, create a CALCU function block and define it as follows:
• Name: LEVEL-1 CPV
LEVEL-1
• Comment: VESSEL
CALCU
• Input: LEVEL-1.CPV (As shown) IN
REWIRING, this makes the changes since the last drawing load active!
1. Click on the “Test Function” icon at the bottom of the page, followed by “Tools”, and “Wiring Editor”.
Select “Tools” again, then “Auto wiring”.
2. Select all of the drawings (incase you have forgotten which drawing you were working on) and “OK”.
3. Click on “File” then “Download”. Select all drawings on the menu that appears then confirm to
complete the Save. Now minimize the “Test Function”.
NOTE: When you did the download not all of the drawings that were in “Auto wiring” appeared. Only
drawings that have blocks attached to PIO (simulating field wiring) will appear in the wiring download.
Sequence logic element and internal switches to be used in this exercise: (Remember to give the
switches these tag names!)
Block Name Block Type Element Name Tag Name
Sequence logic block LC64 -------------- SQ111-11
Common switch %SW %SW0401 SW401-11
Common switch %SW %SW0402 SW402-11
Common switch %SW %SW0403 SW403-11
Common switch %SW %SW0404 SW404-11
Common switch %SW %SW0405 SW405-11
4. To open up the builder elements, select the "Element" icon, "Input Element" and “Input1”. Place this
in the position of the first input and enter “%SW0401.PV.ON”.
5. Use “Copy and Paste” (under "Edit") to duplicate the first input element. Place the copy underneath
the first element as shown on the figure above. Repeat the copy to complete the inputs.
6. Click on the text on the second input element. Change the element number to “%SW0402.PV.ON”.
Repeat this action for the other three input elements making them “%SW0403.PV.ON”,
“%SW0404.PV.ON”, and “%SW0405.PV.ON” respectively.
7. Display the “Element” window. Select “Output”, “Output1” element and place this in the position of
the first output and enter “%SW0405.PV.L”.
8. Click on the position of the second output and enter “%SW0404.PV.L”.
CENTUM VP Engineering 31 TE 33M80N10-10EN-A
CENTUM VP CONTROL PROGRAMS LESSON 5
1. Go back to “System View” and “DR0001” for “FCS0101” under “STUDENTV”. Create the following
function blocks.
• Model Name = _SFCSW Name = SEBOL
• Model Name = TM Name = TIMER1
• Model Name = SIO-11 Name = VALVE1 Input = %Z012102 Output = %Z013102
2. Click on the name “SEBOL” again, and then click on the “Edit Function Block Detail” icon to display
the “Edit SFC” window. Move the pointer down to the second row of icons and select the second icon
(Step) from the left. Now, move the pointer into the white area below the icons and click again. A
double box will appear with a “01” in the left most box.
3. Click on the “Transition” icon (third from the left) and click beneath the “01” of the first step.
4. Select the “Step” icon again, and click beneath the transition. Step 2 appears.
5. Now, select the icon with the arrow in it (Selection Mode), then click on the “01” in the SFC block. A
gray box appears.
6. Click on the “ATTR” icon. When the step attribute window appears, enter “START” in the comment
box, followed by “OK”.
7. Double-click on the transition and enter the following:
• Comment = WAIT
• Transition = TIMER1.BSTS==”CTUP”
8. Display the attribute for step 2, and make its comment “STOP”.
9. Select the first step again. Click on the right most icon (“Edit Step Action”) and the “Edit SEBOL”
window appears. Enter this SEBOL program:
1. On the “Task Bar”, click on “Start” and then go to “Programs”, “YOKOGAWA CENTUM”, and then
“Project’s Attribution Utility”.
2. Select “STUDENTV” and then select “Change”.
3. Click on “Current Project” and “Apply”. Notice that the symbol changes on “STUDENTV” to show
that it is now downloadable.
4. Click on “Exit” to close the attribute window.
NOTE: Once a project is made “current” you will be downloading to the running FCS and HIS!