Sei sulla pagina 1di 7

11/7/2018 Function block ST16

MaxPlant
Step by step tutorial CENTUM VP
Articles about the project

news Contacts

Peter

Posted on 1/26/2018

Tutorial content

Lesson 3
Solution matrix
(ST16 function block)

The task

Program the following algorithm for controlling the process of filling the tank:

When the START button is pressed, valve A opens and the tank is filled with water. When the tank is full, the
level A sensor is activated, and valve A closes.
If you press the START button with a full tank, valve B opens. When the tank is emptied, the level sensor B
is activated and valve B closes.

http://www.maxplant.ru/article/centum_tutorial_03.php 1/7
11/7/2018 Function block ST16

Decision
Connect the inputs:

the START button - to the input with the address% Z013101 (PB001)
Level A sensor - to the input with address% Z013102 (SWA)
level sensor B - to the input with address% Z013103 (SWB)

Connect the outputs:

valve A - to the outlet with address% Z014101 (VLVA)


valve B - to the outlet with address% Z014102 (VLVB)

To solve this problem, we apply the functional block ST16 in the step mode (Step Sequence Table).

1 Open the editor of the discrete input module IOM Builder:


FCS0101> IOM> NODE1> 3ADV157-S

2 Set tag names for digital inputs:


% Z013101 - PB001
% Z013102 - SWA
% Z013103 - SWB

3 Open the editor of the discrete output module IOM Builder:


FCS0101> IOM> NODE1> 4ADV557-S

4 Set tag names for discrete outputs:


% Z014101 - VLVA
% Z014102 - VLVB

http://www.maxplant.ru/article/centum_tutorial_03.php 2/7
11/7/2018 Function block ST16

5 Open the control plan editor DR0001:


FCS0101> FUNCTION_BLOCK> DR0001

6 Add an input link block:


Insert> Function Block> Link Block> PIO
Set the tag name: PB001

7 Add a text element:


Insert> Text
Set the text: “START button”

8 Add two blocks of communication with inputs, set tag names:


SWA, SWB

9 Add two text elements:


“Level A Sensor” and “Level B Sensor”

10 Add two communication blocks with outputs, set tag names:


VLVA, VLVB

11 Add two text elements:


“Valve A” and “Valve B”

12 Add a ST16 block:


Insert> Function Block ...> Sequence> Sequence Tables> ST16 Set the
tag name - MATRIX:

http://www.maxplant.ru/article/centum_tutorial_03.php 3/7
11/7/2018 Function block ST16

13 We right-click on the block ST16 and click Edit Detail - the matrix editor is opened - Function Block Detail
Builder

14 Fill the matrix with data (green letters):

15 Save the Matrix, close the editor details of the functional unit.

16 We carry out points 13-18 from the previous lesson and call the window of visualization of the status of
the control scheme:

http://www.maxplant.ru/article/centum_tutorial_03.php 4/7
11/7/2018 Function block ST16

17 We right-click on the ST16 block and open the front matrix control panel:

18 The MAN indicator means that the matrix is in manual mode (Manual). It is necessary to translate it into
AUT mode.
Click on the blue rhombus at the bottom of the panel - a window opens:

PV = A1 - means that the matrix is in step A1.


http://www.maxplant.ru/article/centum_tutorial_03.php 5/7
11/7/2018 Function block ST16

19 Click the [ITEM] button.


Select the MODE cursor:

Press the [OK] button.

20 In the window that opens, in the DATA field, set the AUT:

21 Press the [ENTER] key on the keyboard - a window appears:

22 Set in the Reason field the reason for switching the matrix to automatic mode and press the button on the
right — the matrix switches to automatic mode.

23 If you double-click on the ST16 block in the Control Drawing View window, the matrix status visualization
window will open:

http://www.maxplant.ru/article/centum_tutorial_03.php 6/7
11/7/2018 Function block ST16

24 We carry out paragraphs 19-22 from the previous lesson and simulate the operation of the START button
and level sensors A and B, calling the corresponding front panels, and using the matrix state visualization
window, we control the process flow.

How easy is it to learn English?


mk.eng-learn.ru
Free Master Class in spoken English ! Accelerated language learning !
Yandex.Direct

Step-by-step tutorial CENTUM VP: Lesson 4

Step-by-step tutorial CENTUM VP: lesson 2

Yandex.Direct

How easy i
English?
To learn more

© Tumanov AV, 2016-2018

http://www.maxplant.ru/article/centum_tutorial_03.php 7/7

Potrebbero piacerti anche