You are on page 1of 6

Course T300, Engineering an 800xA System

Exercise 10.1 Control Modules and CMD Editor

TABLE OF CONTENTS
Exercise 10.1 Control Modules and CMD Editor .................................................................................................................... 10.1-1
10.1.1 General Information............................................................................................................................................... 10.1-3
10.1.1.1 Objectives........................................................................................................................................................ 10.1-3
10.1.2 Exercise Steps ........................................................................................................................................................ 10.1-3
10.1.2.1 Create Control Modules for heating circuit with CMD Editor...................................................................... 10.1-3
10.1.2.2 Connect Control Modules graphically ........................................................................................................... 10.1-4
10.1.2.3 Assign name and description parameter......................................................................................................... 10.1-4
10.1.2.4 Create variables on application level.............................................................................................................. 10.1-4
10.1.2.5 Connect variables to Control Modules........................................................................................................... 10.1-4
10.1.2.6 Assign variables to IOs ................................................................................................................................... 10.1-5
10.1.2.7 Download and test the application ................................................................................................................. 10.1-5

10.1-1

Course T300, Engineering an 800xA System

10.1-2

Engineering an 800xA System

10.1.1 General Information


In this exercise you will program the Temperature Control Loop for the vessel using
Control Modules.

V1

TT1

LH

TIC1

TCV1

LL

LT1

Exercise 10.1

V2

10.1.1.1 Objectives
In this exercise you will:
Learn how to open and use the graphical environment of the Control Module
Diagram Editor
Learn how to connect Control Modules graphically
Learn how to make textual connections for control modules
Learn the scope of variables declared at application level
Interact with and test the control loop in on-line mode

10.1.2 Exercise Steps


10.1.2.1 Create Control Modules for heating circuit with CMD Editor
Create the Control Modules for the heating circuit. The Control Modules are located in
the control library ControlStandardLib.

10.1-3

Engineering an 800xA System


Exercise 10.1 Control Modules and CMD Editor

1. Assign the library ControlStandardLib 1.0/0 to the project and the


application Tank1
2. Open the CMD Editor for the application Tank1
3. Create the Control Modules. Please place them like a chain (123) in
the CMD Editor:
Name
Type
Description
TT1
AnalogInCC
Temperature transmitter
TIC1
PidCC
Temperature controller
TCV1
AnalogOutCC
Temperature control valve

10.1.2.2 Connect Control Modules graphically


Among one another we want to connect the Control Modules graphically (Graphical
Connection) in the CMD Editor. Please connect the modules like described in the list
below.
From
TT1.Out
TIC1.Out

to
TIC1.Pv
TCV1.In

10.1.2.3 Assign name and description parameter


Each Control Module has a Name and Description parameter per default. You have to
setup these parameters with the real names of the Control Modules and the
descriptions for them as well. Especially the TIC1 Control Modules needs this
information because this Control Module could generate an alarm if necessary and this
alarm needs a name for the alarm list.
Please open the Connections Editor for each Control Module and assign the Name and
Description parameter to
Control Module
TT1
TCV1
TIC1

Name Parameter
TT1
TCV1
TIC1

Description Parameter
Temperature transmitter
Temperature control valve
Temperature controller

10.1.2.4 Create variables on application level


Next step is to connect the loop with some variables for the IOs later on. This
variables has to be declared on application level.
Create the in and out variable for the heating circuit on application level. Use the
Variables tab card.
Name
Type
TT1_In
RealIO
TCV1_Out
RealIO

10.1.2.5 Connect variables to Control Modules


Please open the Connections Editor for the fitting Control Module and connect
1. The TT1_In variable to the TT1 Control Module
2. The TCV1_Out variable to the TCV1 Control Module

10.1-4

Engineering an 800xA System

10.1.2.6 Assign variables to IOs


Now it is time to assign the in and out variables for the loop to the channels of the
boards.
Please assign:
1. The TT1_In variable to the analog input board (AI810) to channel 2
2. The TCV1_Out variable to the analog output board (AO810) to channel 1

10.1.2.7 Download and test the application


1. Download the application Tank1 to the controller Controller_1
2. Force the input channel of the TT1_In variable (AI810, channel 2) to the value
of 20.0
3. Open the Interaction Window for the TT1, TIC1 and TCV1 Control Modules.
4. Check the forced value in the Interaction Window of the analog in TT1.
5. In the Interaction Window of the pid TIC1 set the setpoint (SP) to the value of
30.0 and switch to automatic mode then (The A button).
6. In the Interaction Window of the analog output TCV1 check, that the PID
TIC1 increases its output value.
7. Force the input channel of the TT1_In variable to 30.0. Check that the PID
TIC1 stops increasing.

10.1-5

Engineering an 800xA System


Exercise 10.1 Control Modules and CMD Editor

10.1-6

You might also like