Control loop configuration. Schneider Electric PL7 Junior/Pro - Premium PLC Applications - Process control
Oglas
Oglas
Control loop configuration
6
At a Glance
Aim of this
Chapter
What's in this
Chapter?
This Chapter describes the methods for installing and configuring a control loop in an automation application with a Premium TSX.
This Chapter contains the following Sections:
Section
6.1
6.2
Topic
Configuring the loop and the inputs/outputs
Configuring MMI ( Man-Machine Interface)
Page
TLX DS 57 PL7 xxE
171
Configuration
6.1
Configuring the loop and the inputs/outputs
At a Glance
Aim of this section
What's in this
Section?
This section describes the methodology which should be applied to create a process control application with PL7 and the configuration method, and how to use the inputs/outputs associated with the loop controllers.
This Section contains the following Maps:
Topic
How to configure a process control loop
Configuring the inputs and outputs associated with the process control loops
Page
172
TLX DS 57 PL7 xxE
Configuration
How to configure a process control loop
At a Glance
Procedure
A process control loop is configured according to a precise methodology which ensures nothing is overlooked.
5
6
3
4
7
8
For each process control loop that is to be implemented, you must follow these steps:
Step
1
2
Action
Give an exact definition of the process control structure to be used (single loop, process loop, cascade loop, self-selective loop).
Define the algorithm of the various processing branches (process value, setpoint, loop controller, etc.).
Select the various functions and parameters for each processing branch.
Enter the input and output interfaces.
Fix the initial values of the adjustment parameters.
If necessary, symbolize the associated language objects.
If necessary, configure the exchanges for level 2 (supervision for example).
Confirm the global configuration.
TLX DS 57 PL7 xxE
173
Configuration
Configuring the inputs and outputs associated with the process control loops
At a Glance A process control loop must have inputs and outputs in order to operate. The inputs are used to obtain the process values of the procedure and the outputs are used to act on the procedure to be regulated. The inputs are generally analog inputs and the outputs are either analog outputs or discrete outputs (SERVO or PWM function).
The inputs and outputs always belong to modules configured in the PLC.
Note: it is also possible to use words and internal bits which will then be copied in words and output bits, and internal words in which there will already be a copied input value.
How to assign inputs and outputs to a process control loop
The following steps describe the procedure for assigning inputs and outputs to a process control loop.
Step
1
2
Action
Configure the necessary Input/Output modules.
From the configuration screen, enter the addresses of the inputs and outputs in the diagram of the process control loop.
Result : the following figure gives an example of assignment.
PV
%IW4.0
SP1
%MF2
R
L
0.0
I
P
D
0.0
OUT 1
%QW5.0
174
TLX DS 57 PL7 xxE
Checks
Interface types
Configuration
On assignment of the inputs and outputs, the following checks are perfomed: l In order to be able to confirm the assignment of a module input or output in a block diagram, the corresponding module configuration must have been confirmed.
l l
No coherence check is performed at the level of input and output assignment to a particular task (MAST or FAST). It is advisable to assign all the inputs and outputs of one same loop to the same task.
If an I/O module is moved, the address is not automatically modified in the l process control loop screens.
If a language object used by a process control loop no longer exists (for example owing to suppression of the module), an error message appears on global confirmation.
This table gives the permitted language objects according to the type of interface.
Interface types Object type
Standard input process value
External input process value
Setpoint input Remote 1
Setpoint input Remote 2
Feed forward input
Analog output
Servo, PWM output
Permitted language objects
%IW, %MW
%MF
%MF
%MF
%IW, %MW
%QW, %MW
%Q, %M
Word
Floating point
Floating point
Floating point
Word
Word
Bit with edge management
TLX DS 57 PL7 xxE
175
Configuration
6.2
Configuring MMI ( Man-Machine Interface)
At a Glance
Aim of this section
What's in this
Section?
This section describes the functions which must be implemented to configure the
MMI (Man-Machine Interface) associated with the process control loops.
This Section contains the following Maps:
Topic
How to associate the process control loops to the MMI (Man-Machine
Interface)
Description of exchange zone
Using the Man-Machine Interface
Configuration in multi-station operation
Page
176
TLX DS 57 PL7 xxE
Configuration
How to associate the process control loops to the MMI (Man-Machine Interface)
At a Glance It is possible to associate the process control loops to an MMI (Man-Machine
Interface) terminal such as the magelis XBT-F. This association is made transparently; simply indicate which loop controllerlers are concerned and assign them an order number.
Note: the maximum number of loops used by the XBT-F terminal is 16.
Procedure The steps described in this table enable the user to associate certain process control loops to an MMI (Man-Machine Interface) terminal.
Step
1
Action
Open the configuration window of the process control function from the PLC hardware configuration.
Result : the following window appears.
PMX 57102 [RACK 0 POSITION 0 ]
Configuration
Designation : PROCESSEUR PMX P 57102
Configure MMI
Symbol :
Loop controller :
Loop controller 4-LOOP0
Function :
Boucle process
2
3
Click on DOP configuration .
Result : a window appears so that the process control loops concerned can be determined by the MMI (Man-Machine Interface) as well as their order of appearance in the XBT-F operating terminal pages.
Configuration Man-Machine Interface
Loop controller to be used
Loop name
Loop controller 4 - LOOP0 1
Loop controller 5 - LOOP1_1
3 Loop controller 5 - LOOP1_2
4
5
Loop controller 6 - LOOP2_S
Loop controller 7 - SPP_3
Loop controller 8 - SPP_4
Order Order prog.
1
2
OK
Cancel
Reset List
Details
Table multiplexée
Select the loops to be linked to the MMI (Man-Machine Interface); the order is fixed automatically according to the order of selection of the loops.
TLX DS 57 PL7 xxE
177
Configuration
Description of exchange zone
At a Glance
Illustration
All the variables associated with a control loop have different exchange needs with the operating terminal. l Exchanges can be contextual according to the screen to be displayed, for example Kp, Ti and Td for the adjustment screen.
l Some variables must be permanently exchanged, regardless of which screen is l being displayed, such as the archive and alarm management screens.
Other variables do not need to be displayed on the operating terminal, such as the time constant of the filtering function.
In order to structure the communication, whilst at the same time avoiding any programming, exchange tables associated with process control channels are implicitly reserved and structured in the PLC’s internal memory (%MW).
These tables have been created to optimize exchange between the PLC and the
MMI terminal.
The following figure describes the exchange zones.
Process control channels
%MFxy.i
Loop 1
Loop 2
Loop 3
Periodic zone
%MW
PV.SP...
Loop 1
PV.SP...
Loop 2
PV.SP...
Loop 3
Exchanges continuous
XBT
API
Kp
Ti
Td
...
...
Exchanges contextual
178
TLX DS 57 PL7 xxE
Description
Configuration
Description of the illustration representing the exchange zone.
Memory zone
Periodic table
Description
It is a word table of 6%MF for each operational loop, grouping the process value (PV), the setpoint (SP),the commands (OUTi),the alarms and the status information for all control loops.
Parameter setting zone
XBT table
Alarm table
This zone, which is permanently visible, is used to establish the archives, the outlines, the alarm management and the status of each loop.
If more than 16 loops are selected, the first 16 will be processed in a periodic exchange table. To process more than 16 loops, you must define the zone Loops (17 and +) (See Using the Man-Machine
) of the details screen.
There are two parameter setting zones: l The loop adjustment zone is a table of 52 %MF (which is 104
%MW). It groups all the adjustment parameters associated with the control loop during display. This table is unique to each loop. Its settings management is used to limit the number of memory words used. However, it is simple for the user to operate. l The setpoint programmer parameter setting zone is a 125
%MW table. It is unique and brings together all existing setpoint programmers.
This table groups the label, the unit, the scales and the status of each control loop, including the setpoint programmers. This table is read in a unique or a cyclic manner according to choice.
This is a 1 %MB loop table for each loop grouping all the alarms of all the loops. With the XBT, the management of the alarms occurs through the dialog table. This zone should therefore agree with the
XBT dialog table.
TLX DS 57 PL7 xxE
179
Configuration
Using the Man-Machine Interface
At a Glance
Standard use l l
MMI, which is associated with process control, can be used in two ways: standard use, customized use.
When default configuration is used, the process control applications provided with the XBT-F terminal immediately operate with the preset table addresses. A maximum of sixteen loops is used. It is sufficient to select process control loops to be linked to the MMI. On connection of the XBT-F terminal to the PLC, exchanges are automatically carried out via the preset tables.
Default table addresses.
Table
Alarm table
SPP parameter setting zone
Loop periodic table
Loop adjustment zone
XBT tables
Start address
%MW3228
%MW3350
%MW3500
%MW3700
%MW3810
End address
%MW3242
%MW3474
%MW3691
%MW3803
%MW4090
Maximum size
15
125
192
104
281
180
TLX DS 57 PL7 xxE
Configuration
Customized use If the default memory partition must be altered, the runtime applications for the XBT-
F man-machine interface must also be completely altered.
To operate more than 16 loops, the XBT application must be altered in order to create operating pages dedicated to additional loops. It is also necessary to fill in the address of the new periodic exchanges table, the Loops (17 and +) field of the following screen.
MMI configuration
Loop controllers to be used
Loop name
Loop Controller 4 – LOOP0
Loop controller 5 - LOOP1_1
Loop controller 5 - LOOP1_2
Loop controller 5 - LOOP1_3
Loop controller 6 - LOOP2_M
Loop controller 6 - LOOP2_S
Loop controller 7 - SPP_3
Loop controller 8 - SPP_4
Loop order
1
2
3
4
5
6
Prog. order
1
2
Parameter setting zone
Loops:
SPPs:
Periodic exchange zone
Loops (16 max):
Loops (17 and +):
XBT zone
Loops and
SPPs:
Alarm zone
Loops:
104 %MW from 3700
125 %MW from 3350
(6°6) MF from 3500
281 %MW from 3810
(6°1/2) MF from 3228 to 3803 to 3474 to 3570 to 4090 to 3230
OK
Cancel
Reset List
Details
Open
TLX DS 57 PL7 xxE
181
Configuration
Configuration in multi-station operation
At a Glance For non-multiplexed use, several operation terminals manage the process control loops. The parameter adjustment tables are also duplicated and dedicated to each loop. One table per process control loop or per setpoint programmer.
How to configure multi-station operation
This table describes the steps required for configuring multi-station process control.
Steps
1
2
Action
Click in the DOP configuration box.
Result : the MMI configuration screen appears.
Click on the Details button to access the details screen.
Result : this type of screen appears.
Configure HMI
Loop controller to be used
Loop name
Loop control. 4 - LOOP0
Loop control. 5 - LOOP1_1
Loop control. 5 - LOOP1_2
Loop control. 7 - SPP_3
Loop control. 8 - SPP_4
Loops Order
1
Loop control. 5 - LOOP1_3
Loop control. 6 - LOOP2_M
4
Loop control. 6 - LOOP2_S
2
3
5
6
SPP order
1
2
OK
Cancel
Reset List
Details
Parameter setting zone
Loops : 104 %MW from
SPPs : 125 %MW from
Periodic exchange zone
Loops (16 max): (6°6) MF from
Loops (17 and +):
XBT zone
Loops and
SPPs :
Alarm zone
Loops :
281 %MW from
(6°1/2) MF from
3700
3350
3500
3810
3228 to 3803 to 3474 to 3570 to 4090 to3230
Open
182
TLX DS 57 PL7 xxE
TLX DS 57 PL7 xxE
Configuration
Steps
3
Action
Click on the Open button.
Result: the tables configuration screen appears.
Opening : Exchange Zone per Loop
Selected and ordered loops and SPPs
Loop name
Loop controller 4 - LOOP0
Loop controller 5 - LOOP1_1
Loop controller 5 - LOOP1_2
Loop controller 5 - LOOP1_3
Loop controller 6 - LOOP2_M
Loop controller 6 - LOOP2_S
Loop controller 7 - SPP_3
Loop controller 8 - SPP_4
1000
1150
1300
1450
1560
1670
1780
1910 from %MW to %MW
1103
1253
1403
1553
1663
1773
1904
2034
OK
Cancel
These tables have exactly the same structure as those used in multiplexed addressing (See
Description of exchange zone, p. 178
).
183
Configuration
184
TLX DS 57 PL7 xxE
Prenesi
Oglas