Process control:Software tools. Schneider Electric PL7 Junior/Pro - Premium PLC Applications - Process control
Mainos
Mainos
2.2
Hardware and software introduction
Introduction to the process control software tools
At a Glance
Subject of this
Section
What's in this
Section?
This section introduces the PL7, XBT and run-time screens editor software used to install the process control application.
This section contains the following topics:
Topic
How to select and configure the processor
How to access process control application parametering
Description of loop controller parametering screens
Runtime screens adjustment tools
Operating control loops with XBT terminals
Autotuning the control loops
Setpoint programmer
Page
TLX DS 57 PL7 xx
19
Hardware and software introduction
How to select and configure the processor
At a Glance Software installation generic to the applications is described in the manual Common functions . However the specifics, such as the selection of the processor and its configuration, are described here.
Note: using process control in an application imposes a MAST task of the periodic type.
How to select the processor
This table describes the procedure for selecting the processor.
Step
1
Action
Select the command File
→
New…
Result : the following screen appears.
New
TSX Micro
TSX Premium
Processors :
PCX 571012V3.0...
PCX 573512V3.0...
PMX 57102 V3.0.
..
TSX 5710 V1.5...
TSX 57102 V3.0...
TSX 5720 V1.5...
TSX 57202 V3.0...
TSX 57252 V3.0...
TSX 57302 V3.0...
Memory cards :
None
32 Kmots
64 Kmots
2
3
OK
Cancel
Select TSX Premium plus the desired processor type and version which has the process control application built-in (See Features of Processors with built-
Confirm your selection by clicking on OK .
Result : the PL7 software creates a new application with the selected processor.
20
TLX DS 57 PL7 xx
Hardware and software introduction
How to configure the processor
This table describes how to configure a periodic MAST task.
Step
1
Action
Open the hardware configuration editor from the application browser .
Result : the following screen appears.
Configuration
PMX 57102 V3.0 XMWI
XTI..
2 3 4
0
0
0
2
6
P
S
Y
0
P
M
X
1
0
5
7
2
1
1
2 Double click on the processor module (avoid the Loops, Fipio or Comm zones).
Result : the following screen appears.
PMX 57102 [RACK 0 POSITION 0]
Configuration
Designation: PROCESSEUR PMX 57102
Operating mode
Run/Stop input
Automatic start inRun
%MWi reset on cold start
Memory card
None
Tasks
MAST
Cyclic
Periodic
Watchdog
FAST
Période :
Watchdog
250
20 ms ms
Fipio mode
Network cycle time (calculated)
Controlled
Free ms
100
5 ms ms
Fipio mode
Network cycle time (calculated)
Controlled
Free ms
3
4
In the MAST tasks zone, select the Periodic button and indicate the period value in ms.
Confirm the modification by clicking on the enable icon in the toolbar:
TLX DS 57 PL7 xx
21
Hardware and software introduction
How to access process control application parametering
At a Glance The method of software installation for process control channels is the same as that used for PL7 application specific functions. l l
An application specific function has: l l l dedicated screens, specific instructions, language objects (See
Process control language objects, p. 283).
Installation of a process control starts with accessing the parametering screens, consisting of: configuration screens (in offline and online mode), debug screens (in online mode).
22
TLX DS 57 PL7 xx
Hardware and software introduction
How to access the configuration screen
What to do to access the configuration screen
Step
1
Action
Open the hardware configuration editor from the application browser .
Result : the following screen appears.
Configuration
PMX 57102 V3.0 XMWI
XTI..
2 3 4
0
2
6
0
0
P
S
Y
0
P
M
X
5
7
1
0
2
1
1
2 Double click on the Loops zone in the processor module.
Result : the following screen appears, the zone not displayed here is empty.
PMX 57102 [RACK 0 POSITION 0 ]
Configuration
Désignation : PROCESSEUR PMX P 57102
Configuration du DOP
Symbole :
Régulateur :
Régulateur4
Fonction :
Aucune
3 Select a loop controller and an associated function.
Result : a description of the control loop and its features (See Description of
loop controller parametering screens, p. 24
) appears.
TLX DS 57 PL7 xx
23
Hardware and software introduction
Description of loop controller parametering screens
At a Glance l l
There are two types of loop control parametering screens: configuration screens, debug screens.
Illustration of the configuration screen
The configuration screen is as follows.
1
PMX 57102 [RACK 0 POSITION 0]
Configuration
Designation: PROCESSOR PMX P 57102
DOP configuration
2
Symbol:
Loop Controller:
Loop controller4 - LOOP0
Function:
Process loop
3
LOOP 0
Loop
Loop parameters
Process value
Setpoint
Loop controller
Feed Forward
Output 1
Standard
Single
PID
No
Analog
Functions
Instrumentation
Execution
Parameters
Loop name
Unit
Low scale (phy.)
High scale (phy.)
LOOP0
0.0
100.0
PV
SP1
R
L
0.0
P
I
D
0.0
OUT 1
Description of the configuration screen
The configuration screen is made up of three zones.
Zone
1
2
Description
Module zone: this zone indicates the module concerned,
Here the processor module as well as the type of screen: Configuration .
Channel zone: this zone has a menu for selecting a loop controller, as well as a menu for selecting the function to be associated with the loop controller: l l l l l a process loop, a cascade loop, an auto selector loop, three single loops, a setpoint programmer.
24
TLX DS 57 PL7 xx
Zone
3
Hardware and software introduction
Description
Parametering zone: this zone is used to select the calculation functions of each processing branch. It consists of: l l a function selection zone, a display and parametering zone for the loop controller block diagram.
Illustration of the debug screen.
The following is the debug screen.
PMX 57102 [RACK 0 POSITION 0]
Debug
Designation: PROCESSOR PMX P 57102
DOP configuration
Symbol:
Loop Controller: Function:
Loop controller4 - LOOP0 Process loop
Alarms
DL DH LL L H HH
LOOP 0
Loop
Loop parameters
Process value
Setpoint
Loop controller
Feed Forward
Output 1
Loop Scale
Low: 0.0
PV
5000
SP1
63.0
Standard
Single
Heat / Cool
Yes
Analog
High: 100.0
R
L
45.0
44.845
FF
3547 LL 35.47
Functions
Format
Filter
Fct generator
Alarms
Simulation
I
P
D
Parameters
Time constant (s)
Gain
Output
10.0
1.0
4484.536
28.585
0.0
DIAG...
DIAG...
WARNING
OUT 1
2858
0
OUT 2
Utilities which can be accessed via the debug screen:
The following are the utilities that can be accessed via the debug screen: l l l l l simulation of input values (process value, Feed forward, etc ), animation of the block diagram, modification of the adjustment parameters of calculation functions, modification and saving of all parameters, sending of autotuning and manual commands, etc.
TLX DS 57 PL7 xx
25
Hardware and software introduction
Runtime screens adjustment tools
At a Glance The runtime screens editor allows the use of bar charts and specific library objects for the operation of control loops. Animation is automatic and is a simple process.
To find out which objects are available and how to use them, please refer to the
Runtime screens editor user manual.
Example of the adjustment tools
Example of the process control interfaces offered by the runtime screens editor.
ON OFF 3 S/R Cascade
R
Text
R
L
R L
C O
A M
PV
A
SP OV1 OV2
Text
PV 0.000
SP 0.000
SP Internal
Unit
OUT *xxxxx
1 0.00
2 0.00
M
THRESHOLD HIGH
THRESHOLD LOW
HYST
0.000
0.000
0.000
PV
SP
OUT
0.000
Unit
0.000
0 0 1 OUT 0 0 1
Auto Selective C P I D
Kp
Ti (s )
Td (s.)
0.000
0.000
0.000
Te (s )
OUTBIAS
DBAND
0.000
0.000
0.000
PV
SP
OUT
0.000
0.000
#xxxx.x
Unit
R L
F
AS C
A M
26
TLX DS 57 PL7 xx
Hardware and software introduction
Operating control loops with XBT terminals
At a Glance
Control page
Some Magelis XBT-F terminals are able to manage control loops.
Note: when these tools are used, to make the XBT/PLC dialog transparent, exchanges are made by default in the word zones %MW3228 to %MW3242 and
%MW3350 to %MW4090 (See
Using the Man-Machine Interface, p. 180).
l l l l l
In addition to the services offered by the XBT-L1000 software and the Magelis terminals, the XBT-F terminal offers specialized pages to manage each control loop: control page, operating page, adjustment page, monitoring page, alarm page.
Control pages are used to control each control loop, manual mode, automatic mode, autotuning, etc.
TC_0001
AUTO
10000-
H DH LOCAL
AT
PV
SP
OV
:
:
:
96.00
65.00
31.00
AM
0-
2
OV1 :
Alarm page 1
31.00
IR
ON
TLX DS 57 PL7 xx
27
Hardware and software introduction
Operating page Operating pages are used to display the evolution of the setpoint and measurement.
TC_0001
AUTO H DH LOCAL
PV
SP :
: 96.00
65.00
2
AM
OV
OV1 :
: 31.00
31.00
Alarm page 1
LK
ON
Adjustment page Adjustment pages are used to adjust the parameters of each loop: process control coefficients, limits, etc.
AT
TC_0001
AUTO
KP
TI (s)
TD (s)
O_BIAS
DBAND
KD
ORATE1
:
:
:
:
:
:
:
H DH
1.0
0.0
0.0
0.0
0.0
10.0
0.0
SP_SUP
SP_INF
TS (s)
PV_H
PV_L
INTBND :
:
:
:
:
:
:
LOCAL
100.0
0.0
0.30
95.0
5.0
0.0
Sa
2 Alarm page 1 ON
28
TLX DS 57 PL7 xx
Hardware and software introduction
Monitoring page The monitoring page groups together the main information about the control loop process. It is the process control operating input screen. It is used to access each loop’s operating pages.
AUTO TC_0003 LOCAL
100.0
AT
Alarm page
1/8
Pr
Ack
9/16
Sa
26mn
KP
TI (s)
TD (s)
O_BIAS
DBAND
INTBND
KD
2
2
:
:
:
:
:
:
:
20mn
1.0
0.0
0.0
0.0
0.0
0.0
10.0
Loop 1 Alarm (s)
KP Pr
TI Pr
TD Pr
ATSTEP
ATTMAX
ATPERF
:
:
:
:
:
:
10mn
1.0
0.0
0.0
10.00.
100.0.
0.50
SP_SUP
SP_INF
TS (s)
PV_H
PV_L
ORATE1
:
:
:
:
:
:
100.0
0.0
0.0
PV
SP
0.30
95.0
OV
5.0
0.0
OV1
06/05/98
:
:
:
:
: 60.0
20.0
40.0
40.0
DH
15:01:29
06/051998
ON
AM
LR
15:41
The alarm pages are linked to each loop (HH, H, L, LL). They are integrated into XBT alarm management.
N°1
AT
4
5
6
7
8
1
2
3
TC_0001
TC_0002
TC_0003
2 Alarm page 1
D
L
L
H
SPP
ON
TLX DS 57 PL7 xx
29
Hardware and software introduction
Autotuning the control loops
At a Glance Autotuning is applied to most of the processes, such as temperature regulation, flow regulation, pressure regulation, etc.
The loop controllers built into these control loops are used to calculate a set of adjustment parameters (Kp, Ti, Td) on autotune request.
l l l
These parameters can be accessed via:
PL7 debug screens, an animation table, an adjustment screen specific to an XBT-F terminal.
XBT-F autotuning page
This page is used to autotune a control loop.
TC_0001
AUTO
KP
TI
TD
:
:
:
H DH
ACTUAL
1.0
0.0
0.0
Step
Tmax (s)
Perf
:
:
:
LOCAL
PREV
1.0
0.0
0.0
10.0
100.0
0.50
AT
Sa
Pr
2 Alarm page 1 ON
30
TLX DS 57 PL7 xx
Hardware and software introduction
Setpoint programmer
At a Glance All process control channels can be configured using the setpoint programmer.
l l l
The features of a setpoint programmer are as follows:
1 to 6 profiles, a maximum of 48 segments distributed over the configured profiles,
Profiles can be assigned to several control loops.
Note: when the setpoint programmer is interfaced to a single loop, the PV measurement tracking function can be used.
Note: the XBT-F terminal offers an adjustment page and an operating page specifically for the setpoint programmer. These pages are used to modify the desired setpoint profiles.
Configuration screen for a setpoint programmer
Profiles are assigned to a control loop via a configuration screen.
PMX 57352 [RACK 0 POSITION 0]
Configuration
Designation: PROCESSOR PMX P 57352
DOP configuration
Symbol:
Loop Controller:
Loop controller 5 - SPP_1
Name: SPP_1
Function:
Setpoint programmer
Task:
MAST
Segmentation:
8-8-8-8-8-8
PROFIL_1 PROFIL_2 PROFIL_3
1
2
3
4
Segments Execution
Guaranteed Dwell Time at threshold 5.0
SP x Segment x
Ramp
Stage
Ramp
Stage
50.0
50.0
80.0
80.0
40.0
VAL x
20.0
40.0
40.0
PROFIL_4 PROFIL_5 PROFIL_6
Unit
Second
Second
Second
Second
Number of segments: on Deviation on input
8 on 8
Pq S0 S1 S2 S3 S4 S5 S6 S7
PV %MF24
80.0
TLX DS 57 PL7 xx
31
Lataa
Mainos