IP252 COMREG e OCR5
IP252 COMREG e OCR5
Section 3
Section 5
Manual
Section 6
i
Section 7
for 6ES5252-5AB21
ISection 8
Section 9
/P 252 Supplement to the lP252 Manual,
1 I I
4-7 Howeverthe fotlowing retentive data only can be entered in the STOP state
of the IP: I
SIMATIC S5
IP 252 General-Purpose Closed-Loop Control Module
The IP 252 module is a general-purpose closed-loop control Local area network le. a. SINEC H I )
module which can be configured for dedicated applications
by inserting a memory submodule. The 252 intelligent I/O mo-
dule can be inserted into the subracks of the U range of pro-
grammable controllers (S5-ll5U. S5-135U with R processor
and S5-150U). It can be used with these programmable con-
trollers as a part of the SlMATlC S5 system.
Used in this wav. it can be networked via a CP communica-
liorslrocessor to a central operato.comnJnlcatron an0 mo
nltorlng system (e 6 CP 526. DIMOS) or vta anorner CP to 3
hiqher level bus.
~&f;gdration, paramerer ass.gnrnent an0 a so stan-LPcan
be carriec 021 dscg tne PG 61516351675,685 an- 695 pro-
crammers in con -nc! on wltn rne CCM 252 or C0h.l ?€Gc.3-
ied-loop controi oriented operating systems. The program-
mers provide easy-to-use menus for these tasks.
structuring
/
Parameter
assignment l
Start up
l~rognrn I Function
'blosk(PB) 1 block (FE)
Fig. 1.3
1. Overview
/ / /Rampfunction ,
structures consist of individual functions such as speed con-
troller, ramp-functio~generator, etc., which are connected up
/ / ,' generatop'
calculation ,
two memory subrnodules available with the following control- /
/
/H-
ler configuration: C - / -
1. Drive controller structure and standard controller structure friction compensation
[DR/SR]
MLFB No.: 6ES5 374-QAA11
2. Expanded drive controller structure with self-setting and
- --- - -- Outer loop controller
C B13
\
\
\
Fig. 1.4
2. Instructions for the IP 252
2.1 Description
2.1.1 Application
Digital closed-loop control systems are growing in significance alongside programmable controllers in the field of automation. For
this reason, the IP 252 general purpose closed-loop control module wasdevelopedfor use in fast closed-loop control applications.
It can be used with the U range of programmable controllers (S5-115U. S5-135U/R processor and S5-150U). The 1P 252 is one of a
range of independent processor modules, which are modules that carry out their functions autonomously without using main CPU
resources to any appreciable extent.
The closed-loop control module is available in compact design, so that it can be inserted in the S5-f35U and S5-150U programm-
abte controllers. For use in the 55-115U programmable controller, the IP 252 must be inserted into an adapter casing.
2.1.2.1 General
The IP 252 interface processor module is used for solving fast closed-loop control tasks in the SlMATlC S5 automation system. It
can execute up to.eight control loops in parallel without using any CPU resources. With this module, muchfaster control loopscan
be processed by the SIMATIC system. The IP 252 cuts the shortest sampling time for other products from the previous figure of 100
rns down to 4 ms, which makes fast closed-loop controls such as in drive controls possible.
If more control loops have to be processed than can b e executed by one module-the number of executablecontrollers per module
depends on the requirements which are placed on the sampling time and the range of functions of the control system -then several
1P 252 modules can be operated in one central controlter.The number of closed-loop control modules which can be used in the var-
ious programmable controllers differs. Four IP 252 modules can be inserted in either the S5-135U or 55-15011programmable con-
troller. In the S5-315U PC, the maximum number depends on various factors. If the S5-115U is operated without fans, then two IP
252 modules can be used, with fans four are possible.
The IP 252 module has eight analog inputs and eight analog outputs as well as an input for an incremental speed sensor. If additional
analog inputs and outputs are required, analog modules can be used.The \P 240 module provides further digital pulse inputs. U p
to two digital tachogenerators, whose puke trains can be conditioned by the 1P 240 to produce an actual speed value, can be con-
n'ected.
As a special case when used in the S5-115U, the IP 252 can access the analog inputloutput modules in the same subrack directty
without going via the CPU. If one wants to make use of this special case, then the number of 1P 252 modules which can be used in
the central controller even with fans is limited to three.
The IP 252 isa general purpose closed-loop control module which is configured for certain tasks by inserting a memory subrnoduie.
Special solutions for any dedicated tasks are referred t o below as structures.
2.1 Description
2*1 Description
21.3 Construction
Dtgitaltaeho-generator N4)
Measuring socket 1
Measurtng socket 2
Ground for measuring socMs
Analog inpurs/wtputs X6
Programmer interface X5
2.1 Description
d b z
-----h- ------L -------
21+5,2VI M I +5V 3
I-------I-------I------- I
41 UEATT I I I
I-------I-------I------- I
61 ADB12 I ADBO I RESET I
I-------I-------I-------
12IADE15I ABE3I
-
RDY
I
K
I-------f-------I------- I
7
141 IRA I AD84 I DHO I
I-------I-------I------- I.
161 I ADE5 I DP1 I
I-------I-------I------- I
191 I ADB6 f DP2 I
I-------I-------T------- I
20 1 I ADF7 1 D33 I
I-------I-------l------- I
22 I I ADEa f DB4 I
I-------f-------I------- I
24 1 I ADF? I DB5 I
I-------I-------I------- I
261 I'ADBIO I D B ~f
I-------f-------I------- 1
281 I ADFll I BE7 I
I-------I-------I------- I
30 5 I BASP I I
I-------I-------I------- I
321 I M I 1
-----------------W-----
2.1 Description
C b a
-------I-----------
11 A13 f M I +5V I
I-------f-------I------- I
21 A 1
1 ------- I
I A 1
-------II --A---3 -- II
31 A 4 I A 5 I A 6 I
l-------I-------l------- I
41 A 7 I A B I A 9 I
f-------1-------I------- I
51 A 1 0 I All I A12 I
I-------I-------I------- I
61 A 1 4 I A15
X-------I-------I-------
I m I
1
71 AWR f D 8 I D 9 1
l-------I-------I------- X
61 DlCI f D11 I D12 L
I-------I-------I------- I
91 D13 1 014 1 D15 I
1 ---v--- 1 ------- ------- I
f
101 D O I D 1 I D 2 L
I-------I-------I------- I
111 D 3 I D 4 3 5 I
I-------I-------I------- I
121 D 6 I D 7 I K 1 1
131 CS1
-
I-------I-------I-------
1 I K 2
I
I
f-------I-------I------- I
C
= I C= I K 3 I
-
141
Fig. 2.5 Memory submodule
I-------I-------l-------
I:
151 IPSWbusyX K 4 I
I-------f-------I------- 1
161 +5V I M I K 5 I
_--------I--------
2.1 Description
Sensors providing two putse trains displaced by 90°,a reference track and the relevant inverse signals can be connected
! 3 /B TracklB
!
4 R Reference track !
1 9 /A Track /A i
10 B Track B
l l2
/R Reference track /R
l
i l5 /W Warning track
2.1 Description
2.1.3.1.4 PG interface X5
The 15-pin socket assignment shown in detail in Fig. 2.8 is the interface between the IP 252 and the programmer.
1 M W Externalground 1
2 TTYIN- Current input
3 +5.2V
l l
5 Ground Internalground I
l 6 TlYOUT+ Current output l
7 MOUT- Current output
8 MEXT Externalground 1
1 9 MIN+ Current input 1
l
10 M24V Earth ior24V 1
l
--
11 ZOmA Curren~sourcefortransmitter 1
12 Ground Internalground
i 14 +5.2V
1 15 Ground Internalground 1
Fig. 2.8 Programmer interface
The input impedance and therefore the smoothing time constant of the actual speed value detection circuit is there-
fore dependent on the jumper configuration. The standard configuration is with jumpers A and F inserted.
2. Instructionsfor the IP 252
2.1 Description
The actual armature current detection should be carried out via terminals K1.3 and K1.4, since it is possible toeffectively smooth out
the harmonic components a t these terminals. Jumper G removed and jumper H inserted produces a smoothing time constantTGL
= 10 ms.
All the other analog inputs have a smoothing t h e constant of 3 0 0 ~ s .
KI. INO+
~f r tun.
-
...... I
K1.41N 1 4 KVINSI ! 10
R7
H i
1 R6
I
L
t
l
22K
C1
L 22K
l
I
K1.d IN 1 - KVlNMl ! 11
K1.5 IN2 - 1 9
K1.6 IN 2 + 8
L-------J
2.1 Description
2.1.5.2 Mechanicalspecifications
Printed circuit board format Double Eurocard format 160x233 mm
Front panel width 40.4 mm
Adapter capsule (42.5~l77X 201) mm
Weight
Backplane bus connectors
(£S 902, series 2,48-pin)
Front panel connector
(socket, D-Sub, 15-pin)
Front panel connector
(socket, D-Sub, 25-pin)
Operating modeswitch RUN/STOP
LED display elements
R N (RUN)
ST (STOP)
F (FAULT)
2-9
2. Instructions for the lP 252
2.1 Description
These brief programming instructions describe the generation and start-up of control ioops with the IP 252 closed-loop control
module. Familiaritywith the operation of the programmers used is assumed. The various input options (off-iinelon-line) are not de-
scribed further.
The PG 615, equipped with the special operating system for the I? 252:
COM 252 automatically displays the menu after switching on the power suppiy: "Default: bus access Y/N" [see Section 6.2.1).
After answering this question and pressing the execute key, the basic menu is displayed where, for example, the operating modes
"input", "Output", and "Controller test" can be selected.
If the PG 615 is connected to the IP via a PG cable, then the PG is supplied with +5.2V when the IP is operatedfrom an S5-115U PC.
If an S5-135 U PC or an S5-150 U PC is used, an external power supply (+5.2 V) is required.
The programming and observation of a control-loop is carried out in 8 steps using the programmer:
1) Selection of the controller structure and assignment of a control loop number
The following structures are avai!able
- DR (drive controliersee, Fig. 9.1)
- SR (standard controlier see, Fig. 9.2)
- DRS (expanded drive controller structure with seif-setting, see Figure 9.3)
The control loop to be generated with the selected controller structure is assigned a number from 1 . . .8. This means that up
to 8 drive and/or standard controllers can be operated in parallel on an IP 252.
2) Selection of all required functions
The functions of a control loop (e. g. ramp-function generator, PID controller etc.) are selected by closing configuring
switches. This occurs in the "configuration run". A configuring switch can only be modified in the "Input" and "Output" mo-
des using the programmer.
3) Selection of the sampling time
The selection of the sampling time is always a compromise between a quasi-continuous assumption for the control loop on
the one hand and the processor loading on the other.
Longer sampling times reduce the processing load on the processor of the IP 252 and allow the parallel operation of more
controt loops with one IP 252. Howeverthis also causes a slight degradation of the control system in terms of dynamic re-
sponse and re-tuning of,the controlling parameters t o a specified performance criterion (e. g. max. 5% overshoot forset-
point changes) may be required.
Recommendation for the selection of the sampling time:
In order to use the weil known analog assumptions for digital control loops (e. g. for seiecting the controller parameters
according to the symmetrical optimum principle), the sampling time cannot be too long.
Experience shows that a sampling time of approximately 1/10 of the time constantTRKdom, which determines the step re-
sponse of the closed control-loop, produces a controller response comparable with an analog control loop:
The following sampling times can be specified: TA = 4/8/16/32/64/128/256/512 msec, 1/2/4/8/16/32 sec.
3. Brief Programming Instructions
5) Specification of dimensions for dimensioned variables (only for the standard controller structure)
Limiting values, setpoint upper firnits etc. of the standard controiler configuration can be assigned any desired dimension. This
dimension consists of max. 6 ASCll characters.
The range limits must then be entered in dimensioned absolute values e. g.:
0% = 10.50 (dimension)
100.00% = 68.42 (dimension)
Note: The number of digits after the decimal point must be the same for both values.
The values entered for0% and 100% determine the coordinates of a straight [ine. In this way the range of valuesfor -100% . , .
0.. . +loo%of the dimensioned variable is specified.
(For detailed description see lnstruction Manual, Sections 4.4.3 and 6.2.2.7).
AH parameters, except for input/output channels, can be modified not only in the "Input" and "Output" operating modes but
also in "Controlter test". Therefore one can intervene in a running control toop, which maskes for example the tuning of the
control loop or the entry of a new manipulatedvariabfe limit possible.
The assignment of analog channel numbers to the A/D or D/A converters shown in the controller structure diagrams (Fig. 9.1 to
Fig. 9.3) is carried out as follows:
For instance, in Fig. 9.1 (drive controller structure), DAC 2 of branch 1 is assigned to channel no. 3 corresponding to the wiring
of the terminal block.
This determines in this example that thecontroller output (manipulatedvariable) is available via terminals 21 (+)and 25 (ground)
in the terminal block (seeTable f .l).
I
Term~nals
Term 2
Term. 1
Term. 4
1:
Analog inputs (ADC)
Term. 23
Analog outputs (DAC)
+-
Output channel no 0
1I
Term 3 Term. 25
,
Term. 6
Term. 5 1 Input channel no. 2
1 Term.22
Term. 25 1l +
Output channel no. 2
I
I Terrn 8
l Term 21 I-
-
Term. 10
Term. 9
+ Input channel no. 4
- Term. 20
Term 25
+- Output channel no. 4
: Term. 12 -4-
- Input channel no. 5
I 1 Term 19 t
- Output channel no.5
I Term 11 Term. 25
Table 31
- Inputchannel no.7
+
1 Term 17
Term. 25
l
Reiatsonship between the~nputloutputchannel nos for wh~chparameters have to be ass~gnedand the terrntnals In the term~nalblock
If more than 8 AOCs or more than 8 DACs are required per IP 252, then it is possible to access externa[ DACs and ADCs via
direct bus access in the S5-215U.
(For detailed description see Instruction Manual, Sections 23.3.1.5 and 4.9).
7) Enablingof control-loops
Before a control loop can be started up, it must be enabled in the PG operating mode "Special functions" in the sub-menu
"Operating mode".
Note regarding control loop enabte:
Basically two different meanings are attached to 'Controller enable'.
- 'Controllerenable' within a control loop:
In the drivecontroller in each of the branches 5 and 9 there isa control algorithm which can only be executed if the correspon-
ding controller enable bit is active-This bit can be made active in the PG mode "Controllertest", where the branch (5 or9) is
selected and the RF bit is set to 1 via the PG.
- 'Control-loop enable' or enabling of a programmed control loop.
'Control loop' in this context means the controller structure selected by the user with all configuring data and parameter as-
signments.
Before a control loop, which has been assigned a control loop no. between 1 . . .8, can start control operation in the PG operating
mode "Controller test", it must first be enabled for execution.
3. Brief Programming Instructions
The enabling is carried out in the PG operating mode "Special functions" in the submenu "Operating mode"
Example:
Operating mode on the PG 675:
1 ENABLE
R2
7
R3
N
R4
1
R5
-
R6
-
R7
-
R8
- l
1
I
This example illustrates the foliowing:
1. Of the 8 possible control loops, those with numbers 1,2,3 and 4 are aiready configured. Which structure (drive or standard con-
troller) is selected cannot be seen from this menu.
2. The control loops 2 and 4 are enabled, i. e. they are executed if the IP 252 is in the "RUN" state. Control loops 1 and 3 are dis-
abled, i. e. they are not executed.
The enabling of the control loop can also be carried out via the PC.
- Closing the main contactor and bypassing the controller enable (current controller).
- Switch the IP 252 to "RUN" mode.
- Press <F6> "SPECIAL FUNCTIONS" and the t F 7 > "CONTROLLER PROCESSING". Then enable controller l for processing
with <F1> "YESV.The "ENTER" key brings you back to the main menu.
- Press <F8> "TEST" and enter controller number l; cCR> takes you to the branch menu.
- Branch 5 is selected and terminated with <CR>.
- Now press <F2> ,,FORCEu. Set the "Controller enable" parameter from 0 to 1 and confirm with <CR>. Important note: the
drive may already have started to rotate slowly.
- Now press the "ENTER" key three times. The following parameters must be changed in branch 8:
"Setpoint enable" l
"ADC1Key"in 1
A constant setpoint of 30% must also be entered. <F2> "FORCE" must be pressed before every change to a parameter and
every entry must be confirmed with <CR>.
- The drive should now run with 30%. of its nominal speed. The speed is adjusted with the spindle potentiometer on the terminal
block of the IP 252.
- The speed controller can now be optimized by disabling and enabling the set-up speed setpoint. For connecting a recorder, the
current setpoint is available at measuring socket 1 and the actual speed at measuring socket 2.
- Branch 6 is called up using <F%>. Now set the "Set-up speed enabie" parameter to 1 and then reset it to 0 again.
To change the controller parameters between step changes in the setpoint, branch 5 must be selected with <F8>.The proportio-
nal coefficient can be changed here and the integral action time can be entered.
- The speed of the motorwith the setpoint of 100%. and the operating mode "Setting-up reverse" (creep speed branch 7) should
now be checked.
- At the end of the test, set the controller enable in branch 5, the two parameters in branch 8 and all setpoints to 0. Remove the
jumpers for the main contactor and the controller enable of the current controller.
- Inputs
[ 8.0 "0" corresponds to STOP (fail-safe)
18.1 Faster
18.2 Slower
18.3 Setting-up forward
18.4 Setting-up reverse
18.5 Acknowledgement overload
18.6 Warning
18.7 Acknowledgement "Main contactor on"
- Outputs
Q4.0 Main contactor on
Q4.1 Controller enable
Q 4.2 Field and fan on
(24.3 Enable lamp
Q4.4 Overload display
04.5 Warning horn
(24.6 Limit monitor 6% of max, speed
04.7 Limit monitor 10% of max. speed
- Timers
T10toT17
- Flags
0.0, 0.1, 31.1, 31.2,
FB 30, 112,124,
FW 100 to 110,114 to 118 and 200 to 213
"CEFU diskette"
The central functions (CEFU) are located in several files.
Find the CEFU diskette which contains the following files:
3. Brief Programming Instructions
In addition to the blocks printed out below, FBI00 (FB:STEU) and the data handling blocks for the S5 115U (excepting FB 246 and
FB 248) are used.These data handling blockare integrated in the operating system of the CPU.The data blocks used are not listed. -
DB10, length 20 words
DB11, length 20 words.
OB 1 LEN= 2 3 SEC
PAGE l
SEGMENT 1
0000 :A F 0.0 GENERATION OF RLO FLAG " D "
0001 :R F 0.0
0002 :AN F 0.1 GENERATION OF R E 0 FLAG "1"
0003 :S F 0.1
0004
0005 :A F30.0 COLD RESTART AT F 30.0 = 1
0006 :JC FB98 => IP 2 5 2 MUST BE STARTED
0007 NAME :STP=>RUN
0008
0009 :A F 30.1 POWER FAILURE AT F30.1 = 1
OOOA :JC FB96 => SET IP 252 TO I N I T I A L STATUS
OOOB NAME :GRUNDST.
oooc .
OOOD :JU P31 RESTART CONTROL,FLAGS FOR F3 100
OOOE :JU P32 CALL FB 100
OOOF :JU PB3 ASSIGNMENT OF FLAGS -> OUTPUTS
0010 :***
SEGMENT 2
0011 :BE
......................................................................
SEC
PAGE 1
SEGMENT 1 COLD RESTART
0000 GENERATE RLO FLAG " O n
0001
0002 GENERATE RLO FLAG " 1"
0003
0004
0005 CODE: NO POWER FAILURE
0006 (F 30.0 = 1) FOR F399
0007
0008 IP 252 SYNCHRONISATION
0009 NAME
OOOA
OOOB RLO = 1
oooc F 30.6 = 1 => JOBS FOR XP
OOOD INHIBIT 252 (FB98 EXECUTES
OOOE BEFORE THE fP JOBS)
OOOF CODE: NO POWER FAILURE
0010 (F 30.1 = 0) FOR OB 1
3. Brief Programming Instructions
LEN= 29 SEC
PAGE 1
SEGMENT 1 AUTOM. WARM RESTART AFTER POWER FAILURE
0000 :A F 0.0 GENERATE RLO FLAG " 0 "
0001 :R F 0.0
0002 :AN F 0.1 GENERATE RLO FLAG " I "
0003
0004
:S F 0.1 -
0005 :A F30.0 CODE: POWER FAILURE
0006 :R F 30-0 (F 30.0 = 0) FOR FB 9 9
0007
0008 :JU FB99 IP 252 SYNCHRONISATION
0009 NAME :SYNC :IPS
OOOA
OOOB :A F 0.1 RLO = 1
OOOC :S F 30.6 F 30.6 = 1 => JOBS FOR THE IP
OOOD INHIBIT 2 5 2 (FB 96 EXECUTES
OOOE BEFORE THE IP J O B S )
OOOF :S F 30.1 CODE: POWER FAILURE
0010 (F 30.1 = 1 ) FOR OB1
0011 :R F 30.2 RESET AUXILIARY FLAG
0012 "MAIN CONTACTOR ON"
0013 :R T14 RESET DROP-OUT DELAY
0014 MAIN CONTACTOR
0015 :R F 30.3 RESET "RESTART CNTL. RUNNING"
0016 :***
SEGMENT 2
0017
3. Brief Programming Instructions
LEN=116 SEC
PAGE 2
0036 :S F 30.2 F30.2 WILL BE SET
0037
0038 :AN F 107.3 F30.2 IS RESET WITH STOP AND
0039 :AN F 30.4 WITH CONTROLLER ENABLE INACTIVE
003A :R F 30.2
003B :t * *
SEGMENT 9 MAIN CONTACTOR ON/OFF
003C :A F 30.2 AUXILIARY FLAG "MAIN CONTACTOR
003D :L KT050.0 ON" 0.5 SEC. DROP-OUT DELAY OF
OO3F :SQ T 14 THE MAIN CONTACTOR AFTER CON-
0040 :A T 14 TROLLER ENABLE OFF
0041 := Q 4.0
0042 :***
SEGMENT 10 CONTROLLER ENABLE
0043 :A P30.2 THE CONTROLLER ENABLE IS TRANS-
0044 :A I 8.7 MITTED TO THE IP 252 IF THE MAIN
0045 :A F30.4 SWITCH IS ON, W E ACKNOWLEDGE-
0046 ,:S F 107.3 MENT SIGNAL IS PRESENT AND THERE
0047 IS NO STOP
0048 :AN F 30.4 THE CONTROLLER ENABLE IS
0049 : F 109.2 SWITCHED OFF WITH STOP AND N ACT
004A :0 F 110.0 1% N MAX. OR ON MOTOR OVERLOAD
004B :R F107.3
004C
004D :A F 107.3 Q 4.1 CONTROLLER ENABLE FOR
004E .
• - F 4.1 CUFtRENT CONTROL
004F :***
SEGMENT 11 BREAKE ENABLE
0050 :AN F 30.4 THE BREAKE SETPOINT IS ENABLED
0051 :AN A 4.4 WITH STOP AND IF W E R E IS NO
0052 := F106.6 0vERI;oAD
0053 :***
SEGMENT 12 SETTING-UP FORWARD
0054 :A 1 8-3 "SETTING-UP FORWARD" IS INTER-
0055 :A F30.2 LOCKED WITH THE MAIN CONTACTOR
0056 :AN F 106.4 AND "SETTING-UP REVERSE"
0057 :S F 106.5
0058 :
0059 :R F30.4 TEE SETPOINT IS SWITCHED OFF
005A :R F 106.5 AGAIN WITH STOP
005B :+**
SEGMENT 13 "SETTING-UP BACK" IS INTERLOCKED
005C :A I 8.4 WITH THE MAIN CONTACTOR AND
005D :A F30.2 WITH "SETTING-UP FORWARD"
OOSE :AN F 106.5
005F :S F 106.4
0060
0061 :AN F 30.4 THE SETPOINT IS SWITCHED OFF
0062 :R F 106.4 AGAIN WITH STOP
0063 .***
SEGMENT 14 FASTER
0064 :A 1 8.1 IF "SETTING-UP FORWARD" IS
0065 :A F 106.5 ACTIVE AND IF N SETPOINT OF
0066 :AN F 111.0 BRANCH 8 IS NOT YET GREATER THAN
0067 := F 107.2 96% OF N MAX. (4% FROM BRANCH 6)
0068 .*** "FASTER" IS ENABLED
0069 :A 1 8.2 IF "SETTING-UP FORWARD" IS ACTIV
006A :A F106.5 AND IF N SETPOINT OF B W C H 8 >
3, Brief Programming lnstructions
LEN=2 6 SEC
PAGE 1
SEGMENT 1 CALL FBlOO
0000 :A F 30.6 F30.6 = 1, JOBS TO IP 252
0001 :BEC INIfIBITED
0002 :L RI31 1 - DATA TRAFFIC PC <-> IP,
0003 :T m112 CONTROLLER NUMBER 1
0004 :JU F3100 DRIVE CONTROLLER COMMUNICATION
0005 NAME :STEU:ANT
0006 DBNR : DB11 DB FOR INTERNAL USE, 1 2 DW,
0007 SSNR : KF+5 PAGE NR. 5
0008 RENR : MB112 JOB AND CONTROLLER NUMBER
0009 VAR8 : MW100 SPEED SETPOINT (VAR 8.1)
OOOA VAR9 : MW102 SETPOINT (VAR 9 .l )
000B VAR3 r MW104 INITIAL DIAMETER (VAR 3.1)
OOOC DEO : m106 RELAYS UND BITS (V- 3.1)
OOOD DE1 : MB107 RELAYS UND BITS (VAR 3.1)
OOOE DE2 : M3108 RELAYS UND BITS (VAR 3.1)
OOOF DAO : m109 MESSAGE BITS OF THE IP
0010 DA1 : MBll0 MESSAGE BITS OF THE IP
0011 DA2 : MB111 MESSAGE BITS OF THE IP
0012 PAFE : F 31.2 P W E T E R ASSIGlWENT ERROR, 1
0013 :t+* => ERROR
SEGMENT 2
0014 z %E
3, Brief Programming instructions
LEN=18 SEC
PAGE 1
SEGMENT 1 OVERLOAD FLAG
0000 SET FLAG
0001
0002 ACKNOWLEDGEMENT CAN BE W E IF
0003 THE OVERLOAD NO LONGER EXISTS
0004 AND IF THE MOTOR IS AT STANDSTIL
0005
0006
SEGMENT 2 LIMIT VALUES TO INPUT/OUTPUT MODULES
0007 LIMIT VALUE 6 % N MAX.
0008
0009 LIMIT VALUE 6 % N MAX.
00 OA
OOOB
SEGMENT 3
OOOC
LEN=4 7 SEC
PAGE 1
SEGHENT l CNTL. NO. 1 THE IP IN INITIAL STATUS
NAME :GRUNDS!T.
0005 :L KB21 21 DATA TRAFFIC CPU -> IP,
0006 :T m112 CONTROLLER NUMBER I
0007
0008 :L KM00000000 00000000 ALL RELAYS AND BITS HAVE
0 0OA :T W100 "0" DEFAULT
OOOB tT W102
OOOC :T FW104
OOOD :T FW106
OOOE :T W108
OOOF :T m110
0010 :JU FBlOO DRIVE CONTROLLER COMMUNICATION
0011 NAME :STEU :ANT
0012 DBNR DBlO DB FOR INTERNAL USE, 12 DW
0013 SSNR KF+5 PAGE NR. 5
0014 RENR FBI12 JOB AND CONTROLLER NUMBER
0015 VAR8 m100 SPEED SETPOINT (VAR 8.1)
0016 VAR9 m102 SETPOINT (VAR 9.1)
0017 VAR3 m104 INITIAL DIAMETER (VAR 3.1)
0018 DEO FBI 06 RELAYS UND B f T S
0019 DE1 FBI07 RELAYS WND BITS
OOlA DE2 FBI08 RELAYS UND B f T S
OOlB DAO FBI09 MESSAGE B I T S OF THE I P
OOlC BA1 FBI10 MESSAGE BITS OF THE IP
OOlD DA2 FBl ll MESSAGE BITS OF THE IP
OOlE PAFE F 31.1 PARAM. ASSIGNM. ERRORS, 1=> ERR0
OOlF :A F 212.0 BIT 0 OF THE PAFE BYTE OF THE
0020 FB: CNTL.-INTERNAL "SEND" IS
0021 USED HERE. 1 => JOB HAS NOT YET
0022 RUN (E.G. DUE TO IP OVERLOAD),
0023 0 => NO ERROR.
0024 :JC =M001 IF THE JOB HAS BEEN PROCESSED,
0025 :R F 30.1 FB96 IS KO LONGER PROCESSED ANI3
0026 :R F30.6 THE IP IS READY TO PROCESS OTHE
0027 MOO1 :BE JOBS.
3. Brief Programming Instructions
LEN= 3 3 SEC
PAGE L
SEGMENT 1 I P 2 5 2 FROM STOP TO rZUN
NAME :STP=>RtM
LEN= 2 9
SEC
PAGE 1
SEGMENT 1 SYNCHRONISATION OF THE IP 252 INTERFACE
NAME :SYNC:IPS
0005 THERE WAS A POWER FAILURE AT
0006 F 30.0 = 0
0007 => 2 SEC. WAITING TIME BEFORE
0008 SPNCHRONISATION OF THE IP 252
OOOA T 15 IS PROCESSED ONCE BEFORE
0 0 OB STARTING WITH RLO = 0
OOOC
OOOD STARTING T 1 5
OOOE F002 2 SEC. TIME LOOP, SCAN TIME
OOOF MONITOR IS INOPERATIVE I N OB2 2.
0010 SYNCHRONISE INTERFACE WITH PAGE
0011 F001 m. 5
0012 NAME
0013 SSNR 0 DIRECT PARAMETER ASSIGNMENT,
0014 BLGR 5 PAGE NR.0,6 BLOCK S I Z E 5 1 2
0015 PME BYTES ERROR FLAG
0016
SEGMENT 2
0017
3, Brief Programming Instructions
The FB 100 (FB:STEU) and the data handling blocks for the S5 135U, R processor (without FB 122 and FB 124), are used as we[l as
the blocks printed out. These data handling blocks are integrated in the operating system of the CPU, but they can only be called
up if their headers have previously been loaded into the CPU from the FB:STEU diskette.The foliowing data blocks are used but not
listed
DB 10, length 20 words
DB 11, length 20 words.
LEH=23 SEC
PAGE 1
-
S 1
0000 :A F 0.0 GENERATE FX;AG " 0 "
0001 :R F 0.0
0002 :AN F 0.1 GEHERATE RU) FLAG " 1"
0003 :S F 0.1
0004 'JWXRE WAS A COLD RESTART OR A
0005 :A F30.0 HAMJAL WARM RESTART AT F 30.0=1
0006 :JC FB98 => IP 252 MUST BE STARTED
0007 NAME :STP=>RBN
0008
0009 :A F30.1 THERE WAS A POWER FAILURE AT
OOOA rJC FB96 F 30.1 =l
OOOB NAME :GRTJNDST. => SET IP 252 TO INITIAL STATE
OOOC
OOOD :JQ PB1 RESTART CONTROL, ELAG F. FB 100
OOOE :JlJ PB2 CALL FB 100
OOOF :JQ PB3 ASSIGN FLAGS => OUTPUTS
0010 :***
SEGMENT 2
0011 :BE
LAe=2 0 SEC
PAGE 1
SEGBENT 1 MANUAL COLD RESTAIZT
0000 U N F 0.1. GENERATE RI;O FLAG "l"
0001 :S F 0-1
0002
0003 :UN F 30.0 ID: NO POWER fAU;URE
0004 :S F30.0 (F 30.0 = 1) FOR FB 99
0005
0006 m F399
0007 IilAMI3 :SYNC: IPS
0008
0009 :A P 0.1 m = 1
OOOA :S F 30.6 P 30.6 = 1 => INBIBIT JOBS TO
OOOB IP 252 (FB 98 IS EXECTE'KD BEFURE
OOOC TaE IP JOBS)
OOOD :*++
S W 2
OOOE
3. Brief Programming Instructions
LEN=35 SEC
PAGE 1
SExa!mm I B!mmmL 'CfARH RESTART
0000 :A M 0.0 G-TE RLO FLAG *OR
0001 :R M 0.0
0002 :AN M 0.1 GENERATE RLO FLAG "1"
0003 :S H 0.1
0004
0005 :AN H 30.0 ID: NO POWER FAIL=
0006 :S 1 30.0 (F 30.0 = 1) FOR FE3 99
0007
0008 :JU H399 IP 252 SYNCHRONISATION
0009 NAME :SYNC: IPS
OOOA :
OOOB :A F 0.1 RU)=l
OOOC :S F 30.6 F 30.6 = 1 => INHIBIT JOBS TO
OOOD IP 252 (PB 98 EXECWTES BEFORE
OOOE TRE IP 303s)
OOOF :R F 30.1 ID: NO POWER FAILURE
0010 ( F 30.1 = 0 ) FOR 03 I
0011 :R F 30.2 RESET ATJxILUlRY FLAG "MAIN
0012
0013 :R
-. T 14
CONTACTOR" ON"
RESET DROP-OUT DELAY HAIN
0014 COIFPACTOR
0015 :R P30.3 =SET "RESTART CNTL. RUNNING"
0016 :R P107.3 RESET CONTROLLER ENABLE
0017
0018 :A F 0.0 T 17 IS PROCESSED ONCE WITH
0019 :L KTOIO.l RLO = 0 BEPORE STARTING I N TEIE
OOlB :SD T 17 PB 98
OOlC :BE
LEN=116 SEC
PAGE 1
-S 1 GENERATION OF "STORED STOP"
0000 :A I 8.0 TLfE STOP IS ONLY CANCEIU3D
0001 :AN I 8.7 (F 30.4=1), IF THE MAIN
0002 :AN Q 4.4 CONTACrOR HAS DROPPED OUT AFTER
0003 :S P 30.4 BRAKING AND I F TBXRl3 IS NO MOTOR
0004
0005 :O
. F1lO.O
OVERU3AD
STOP TRIGGERED (F 30.4 = 0 ) -!'CH
0006 :ON I 8 . 0 WrrOR OVElUOAD AND WITH I 8.0
0007 :R F30.4 = 0 (FAILSAFE)
0008 :***
SEGMENT 2 GENERATE 30.3 "RESTART CNTL. RUNNING"
0009 :A I 8.6 TRE RESTART CNTL. IS STARTED H I T
OOOA :S F 30.3 A WARNING
OOOB
000C :ON F 30.4 THE RESTART IS T~~ WITH
OOOD :0 I 8.7 STOP, MAIN COrnACTOR ON OR
OOOE :O T 13 ENABLE TIME W S E D
OOOF :R F30.3
0010 -
***
SEG?ENT 3 WITCH ON FIELD CIRCUIT AND FAN
0011 :O F 30.3 THE FIELD CIRCUIT AND FAN ARE
0012 :O 1 8.7 SWITCRED ON WITH A m I N G
0013 :L RT200.1
0015 :SF T 10 FIELD CIRCUIT AND FAN REHAIN
0016 :A T 10 SUTTCEIED ON FOR 20 SEC. AFTER
0017 := Q 4.2 THE MAIN CONTACTOR fIAS DROPPED
0018 :*** OUT
SExamNT 4 WARNING TIME AND H O m
0019 :A F 30.3 START 3 SEC. WARNING TIME
OOlA :L KT030.1
OOlC :S1 T 11
OOlD
OOlE :A F 30.3 SUITCfI ON HORN
OOlF :S Q 4.5
0020
0021 :O T 11 THE HORN IS SWITCHED OFF AGAIN
0022 :ON P 30.4 AFTER 30 SEC. OR UKTH STOP
0023 :R 94.5
0024 :+**
SEGMENT 5 PAUSE TIME
0025 :A T 11 TEZE PAUSE TIWE (2 SEC.) IS
0026 :L KT020.1 STARTED UXEN THE WARNING TIME
0028 :S1 T 12 HAS ELaPSED
0029 :+*t
SEGMEBW 6 ENABLE T m E
002A :A T 12 THE ENABlWe TIHE (10 SEC.) IS
002B :L KT100.1 STARTED UHEN THFI PAUSE TIME
002D :SI T 13 HAS E3irAPsm
OOZE :***
SEGMENT 7 ENABLE LAHPPE
002F :A T 12 m ENABLE LAXP LIGHTS UP, IF
0030 :AN T 13 T12 HAS RUN DOWN AND IF T 13
0031 := Q 4.3 IS STILL RUNNING
0032 :*++
S E 8 ~ ~ AUXILIARY FLAG "MAIN CONTACTOR OH"
0033 :O I 8.3 IF T H E "SETTIWG-UP FORWARD"
0034 :O X 8.4 PUSRBUTTON OR m "SETTING-UP
0035 :A Q 4.3 REVERSE" PUSHBU!ITON IS PRESSED
3. Brief Programming Instructions
-=l16 SEC
PAGE 2
F 30.2 IS SET
F 30.2 IS RESET W f T a STOP AND
CONTROLLIB ENABLE I N A C T m
C o m o ENABLE
~
IF THE HAIN SWITCH fS ON, THE
A ( S K N 0 W Z l E D G ~IS PRESENT AND
THWE IS NO STOP, THE CONTROLLER
ENABLE IS TRANSMITTED TO THE IP
BRAKE ENABLE
THE BRAKE SETPOINT IS ENABLED
WITE STOP AND NO oll'ERu3AD
SETTING-UP FORWARD
" S m I N G - I T P FORTJA1RD" IS INTER-
LOCKED W I T 3 THE &LAIN CQNTACTOR
AND WITH " SE'ICTIWG-UP REVERSE"
LEN=26 SEC
PAGE 1
SEGMENT 1 FB 100
0000 :A H30.6 P30.6 = 1, W K S TO IP 252
0001 :BEC D 1 SABLED
0002 :L KB1 1 - DA!TA TRAFPIC PC c-> IP,
0003 :T FBI12 C O ~ O L L E Rm m 1
0004 :JU FBlOO DRIVE CONTROILER COHHTJNICATION
0005 NAME :STED:ANT
0006 DBElR : DB11 DB FOR IEITERNA3t USE, 12 DW,
0007 SS?JFt : W+5 PAGE NR. 5
0008 RENlR : m112 JOB Am) CONTROUJCR NUMBER
0009 VAR8 : FWlO0 SPEED SETPOINT (VAR 8.1)
OOOA VAR9 : m102 SETPOINT (VAR 9.1)
OOOB VA1R3 : m 0 4 INITIAL -D (VAR 3.1)
OOOC DEO : FBI06 RELAYS A N D BITS
OOOD DE1 : FBI07 RELAYS AND BITS
OOOE DE2 : m108 RELAYS AND BITS
OOOF DAO : F3109 MESSAGE BITS OF THE IP
0010 DA1 : F3110 MESSAGE BITS OF THE IF
0011 DA2 : FB111 HBSSAGE BITS OF TBE IP
0012 PAFE : F 31.2 PARAMETER ASSIGNMENT =OR,
0013 :*t+ 1 => ERROR
SEG!mN!P 2
0014 :BE
3. Brief Programming Instructions
LEN=18 SEC
PAGE 1
SEQIENT 1 OVERLOAD DISPLAY
0000 :A F 110.0 SET DISPLAY
0001 :S Q 4.4
0002 :AN F 110.0 IF THE OVERLOAD NO LONGER EXISTS
0003 :AN F 109.2 AND TEE HOTOR IS AT STANDSTILL,
0004 :A I 8.5 AQRNOWLEDGE24ENT CAN BE MADE
0005 :R Q 4.4
0006 :***
SEGmwl! 2 LIMIT VALUES TO THE I/O VALUES
0007 :A F109.0 LIMIT VALUE 6 % N HAX.
0008 := Q 4.6
0009 :A F 109.1 LIHIT VALUE 10% B U .
OOOA := Q 4.7
0003 :BE
LEW=47 SEC
PAGE 1
C M Z . No.1 OF TEE IP 252 TB INITIAL STATE
LEN=33 SEC
PAGE 1
IP 252 FROM STOP M RUN
0005 :A P 0.1
0006 :J17 FB120
0007 NAWE :SEND
0008 SSHR : KY0.5 0 D I R . P ~ . A S S I G ~ . , 5PAGE NR.
0009 A-NR : KYO, 20 0.20 - JOB NR. FOR SRND 20
OOOA ZLNZW : MU114 JOB s m s WORD
OOOB QTPP : KCNN EIN - NO DATA
0 OOC DBNR : KPO.0 -1
OOOD QANF : m+O -1
OOOE QLAE : Wi-0 -1
OOOF PAFE : m121 ERROR FLAG
a010 .
0011 :A F 0.1 = = l
0012 :L KTO10.1 1 SEC. WAITING TYIE AFTER STOP
0014 :SE T 17 => RUN
0015 .
*
0016 :AN T 17 IF TEE DELAY TIME BAS ELAPSED,
0017 :JC =H002 THE m 9 8 IS NO LONGER PROCESSED
0018 :R F30.0 AND TEE IP IS READY TO PROCESS
0019 :R F 30.6 JOBS
00lA H002 :***
SEGMENT 2
OOlB :BE
SEC
LEN=29
PAGE 1
SYNCBROMISATLON OF THE IP INTERFACE
In addition to the blocks below, FBI00 (FB:STEU) and the data handling blocksforthe S5-150U (excepting FB182, FBI83 and FB186)
are used. These data handling blocks must be ordered separately on diskette, if required. The following data blocks used are atso
not listed:
DB10, length 20 words
DB11, length 20 words.
LW=20 SEC
PAGE 1
SEGMENT 1 MANUAL COLD RESTART
0000 :m P 0 - 1 G-TE RLO FLAG "1"
0001 :S F 0,l
0002 * t
0009 :A
.
0007 NAME :SPNC:IPS
0008
P 0-1 RIXJ=1
OOOA :S P 30.6 F 30.6 = 1 => INHABIT JOBS TO
OOOB
OOOC
OOOD :***
. IP 252 ( m 9 8 IS RUN BEFORE
IP JOBS)
SEGHmT 2
OOOE :BE
3.Brief Programming Instructions
LEN=35 SEC
PAGE 1
SEGMENT 1 MANUAL COLD RESTART
0000 GENWATE RLO FLAG "On
0001
0002 GENERATE RLO ]P= "l"
0003
0004
000s IDENT: NO PO- FAILURE
0006 (P 30.0 = 1) FOR FB99
0007
0008
0009 NAME
OOOA
OOOB - = l
OOOC F 30.6 = 1 => JOBS FOR IP
OOOD 252 INHIBIT (IPB 98 EXECUTES
OOOE BE- TEE IP JOBS)
0OOP IDENT: POWER FAILURE
0010 (P 30.1 = 0 ) FOR OB1
0011 RESET AUXILIARY FILAG
0012 "MAIN CONTACTOR ON"
0013 RESET DROP-OUT DELAY
0014 MAIN CONTACTOR
0015 RESET "RESTART CNTI;. RUNNINGn
0016 RESET CONTROKLKR ENABLE
0017
0018 T 17 IS PROCESSED BWE
0019 ONCE WfTR RU3 = 0 BEFORE
OOlB STARTING IN FB 98
OOlC
---------- .------------------h----------------------------
lXN=ll6 SEC
PAGE 2
P30.2 WILL BE SET
F30.2 IS RESET WITH STOP AND
mm CONTROLLFa EEIABLE
INACTIVE
MAIN C O ~ A C T O ROW/OFF
AKTXILUPRY FLAG 'MAIN CONTACTOR
ON' 0 - 5 SEC. DROP-OUT DELAY UP
!PBE MAIN CO#TACTOR AFTER
c0moY;ER Ew4Ea.E OE'F
C O N T R O ~ENAaLE
THE CONICROLLER ENABLE IS TRANS-
klIT!CED TO THE IP 252 IF THE MAIN
SWITCH IS ON, TIfE ACKN-E-
MEElT SIGNAL IS PRESENT AND TfIERE
IS NO STOP
THE c o m o m ENABLE IS
SWITCHED OFF WIT3 STOP AND N ACT
> 1% N HAx* OR ON m m R OWRLOAD
LEX= 26 SEC
PAGE 1
SE- 1 mm100
0000 :A 130.6 F30.6 = 1, JOBS TO IP 252 IN-
0001 :BEC HIBITED
0002 :LKB1 1 - DATA TRAFFIC PC c-> IP, CON-
0003 :Tm3112 TROIJZR FiWF3ER 1
0004 :m FBlOO DRIVE CONTROLLERR COMMUNICATION
0005 NAHE :SW:-
0006 DBNR : DBI l DB FOR INTERNAL USE, 12 DW,
0007 SSNR : KF+5 PAGE NR- 5
0008 IZENR : FBI12 JOB A m C O N T R O ~m m
0009 VAR8 : FmOO SPEED SETPOINT (VAR 8.1)
OOOA VAR9 : W102 SETPOINT (VAR 9.1)
OOOB VAR3 : FW104 INITIAL DI.AI!ETER (VAR 3 . l)
OOOC DEO : W106 RELAYS AND BITS
OOOD DE1 : P13107 RELAYS AND BITS
OOOE DE2 : FBI08 RELAYS AND BITS
OOOF DAO : m109 MESSAGE BITS OF THE I P
0010 D A ~ : wrio MESSAGE BITS OF !THE IF
0011 DA2 : FBlll MESSAGE BITS OF THE IP
0012 PAFE : F 31.2 , PARAMETER ASSIGNHENT =OR,
0013 :t*t 1 => ERROR
SEGMENT 2
0014 :BE
3. Brief Programming Instructions
LEN=18 SEC
PAGE 1
SEGMENT OVERLOAD DISPLAY
0000 SET D I S P L a Y
0001
0002 ~0~~ CAN BE MADE IF
0003 THE OVERLOAD NO LONGER EXISTS
0004 AND I F THE MOTOR IS AT STAND-
0005 STILL
0006
-S LIMIT VALUES TO 1NPUT/OTEl?UT MODULES
0007 LIKlX"J?TJE 6 % N MAX.
0008
0009
OOOA
0003
IJm=47
SEC
PAGE 1
SEGMENT f CNTL, NO. 1 THE IP IN INITIAL STATUS
NAME :GRUNDST.
0005 :L KB21 21 DATA TRAFFIC CPU -> IP,
0006 :T B112 CONTROUW NUMBER 1
0007
0008
-.:L KM00000000 00000000 ALL RELAYS AND BITS HAVE " 0 "
OOOA rT m100 DEFAULT
OOOB :T FW102
OOOC :T m104
OOOD :T m106
OOOE :T m108
OOOF :T m110
0010 :m FE100
0011 NAME :STEU:ANT.
0012 DBNR : DBlO DB FOR INTERNAL USE, 12 DW
0013 S= : KF+5 PAGE NR- 5
0014 RENR : m112 JOB AND CONTFiOLLER NOHBER
0015 WUt8 : PW100 SPEED SETPOINT (VAR 8.1)
0016 -9 : m102 SETPOINT (VAR 9.1)
0017 VAR3 : m104 I N I T L A L DIAMETER (VAII 3-11
0018 DEO : m106 RELAYS AND BITS
0019 DE1 : m107 REWLYS BITS
OQlA DE2 : F B l 08 REWIYS AND BITS
OOlB DAO : m109 l@SSAGE BITS OF TBE IP
OOlC DA1 : FBllO MESSAGE BITS OF m IP
OOlD DA2 : FBlll MESSLLGE BITS OF T E E IP
OOlE PAPE : F 31.1 PAFammR A S S I ERRORS, ~
OOIF
0020
.
0
:A F 253.0
1 => ERROR
BIT 0 OF THE PIWE BYTE OF THE
0021
0022
.-
" FB: CNTL.-1- "SEND" IS
USED HERE. 1 => JOB HAS HOT TtET
0023
0024
0
LEN=33 SEC
PAGE l
IP 252 FROM S M P M RUN
0005 :A F 0.1
0006 :JU FBI80
0007 NAME :SEND
0008 SSNR : KP0.5 0 DIRECT INITIAIrISEX), 5 PAGE
0009 A-WR : KJT0,20 NR. 0.2 rPASK NO. FOR SEND 20
OOOA ANZW : m 1 4 DISPLAY UORD
OOOB QTYP : KSNN NN - H0 DATA
OOOC DBWR : KY0,O I n m m
OOOD QANF : W+O IRRELEVANT
OOOE QLAE : KF+O 1RR-
OOOF P M E : FB121 WROR DISPLAY
0010
0011 :A P 0.1 IUX)=l
0012 :L mo10.1 1 SEC. WAITING TIME AFTER STOP
0014 :S1 T 17 => RUN
0015
0016 :AN T 17 IF THE PULSE TIMER HAS RUN
0017 :JC =H002 DOWN, m 9 8 IS NO LONGER PRO-
0018 :R F30.0 CESSED AND Rne IF IS RFZADY TQ
0019 :R F 30.6 PROCESS JOBS.
OOUl H002 :***
SEGMENT 2
OOlB :BE
LEN=29 SEC
PAGE 1
SYNCHRONISATION OF THE IP 252 INTERFACE
The IP 252 is a closed-loop control module which can be adjusted to specialised applications by plugging in a memory submodule.
The task-specific solutionssuggested are referred to in the following as controller structures.These structures consist of: individual
functions, e. g. speed controller, ramp function generator etc., which can be connected together to form task-specific controllers.
The currently availabre controller structure spectrum is contained in two different memory submodules:
In addition to the self-setting feature, the DRS structure has been expanded by the following functions:
- lnterlink capability of the control loops, also with the SR structure.
- Free assignment of measuring sockets
- Function expansions of the DRS controller structure
In the ramp function generator
In the diameter calculator
In the primary controller
In field current measurement
Arithmetic operations
Two of these functions, which apply to both structures of the "DRS/SR submodule, are briefly dealt with in the following:
. The operating system of the l? can supervise a maximum of 8 control loops. Each control loop is assigned a sampling time by the
user.fhe minimum sampling time i s 4 ms,the maximum 32 s.
Each control loop uses up a certain percentage of the CPU resources of the IP 252.The totat sum of resources used by the control-
lers should not exceed 100% of the CPU capacity.
How many percentage points a control loop uses up depends on the following influencing factors:
Overloading causes timing conflicts in the control loops of the [P.This means that the control loops cannot be processed at the
sampling times specified by the user via the PG. In this casethe operating system of the IP automatically lengthens the sampling
time by 4 ms. This lengthening continues until the time conflict has ended. After this the control loops operate with the sampling
times specified by the user.
The operating system can cope with any overload situation.The IP can be operated via the PG or PC under all circumstances.
In the case of a permanent as opposed to a temporary overloading, the operating system permanently lengthens the sampling
times of all control loops. This indicates that the user has selected sampling times which are too small and thus overloaded the IF!
Note:
The selected control loop sampling time is not valid for a l branches of the structure
Branches such as the speed controller (branch 5, AR) are processed with the set sampling time TA,whereas the limit signal monitor
is only processed during every eighth sampling interval (8.Tn).
This relationship is represented in Sections 8 and 9 in the upper half of the diagram with "Tn, 2 .TAand 8.TA".
4. Programming Instructions
- Time values
- Percentage values
- Dimensioned variables
- Dimensionless variables
The values entered far 0% and 100% define a straight line. This specifies the value range for the dimensionedvariable.
The example in Fig. 4.2 illustrates this. A temperature 9alue is to be controlled. The user knows that the occurring temperaturevalue
varies in the range + 3,O "C to - 2,0°C.The setpoint and the actual values are to be input and output in 'C. The following must be
entered on the PG:
Input at PG
- 0% = 0.5
- 100% = 3.0
- ASCtl = DEG C (maximum 6 characters)
The 0% value corresponds t o the middle of the possible temperature range, the 100% value to the maximum value.
After these specifications the dimension of temperature can be specified directly (e. g. 2.01 *C).
Measuring point displays are then also converted t o the temperature range (e. g. - 3.00 "C). The output range in this example lies
-
between + 5.50 "Cand 4.50 "C.
4. Programming Instructions
Dimensionedvariable
1 of measuring points
100% 4
ASCll
0% a
F] DEG C
-
Notes on the correct selection of theO% and 100% specification:
The checking of the accuracy is carried out according to the following procedure:
- Determination of the position of the decimal point for 0% and 100% values: Kt K2
- Multiplication of the 0% and the 100% values by to*, wherexis the larger of the two numbers K%KZ.
- ff the magnitudeaf both results ofthe multiplications S 10000thenthe (0% / 100%)pair of values is sensible and permissible.
4. Programming Instructions
Example 1:
0.1 - l o l = 1
2. Multiplication with 1 OX
-
12345 10' = 123450
Example 2:
0% =0.01 K1 = 2
1. Determine position of decimal point
100% = 10 K2 = 0
- Variables with decimal points always contain two digits afterthe decimai point and have a range of + 00.01 to 2 99.99.
4. Programming Instructions
Combinations: Meaning:
The storage of controller parameters in the memory submodule is carried out fully automatically by the IP 252, without the user
having to worry about it. The principle is explained briefly in Section 4.5.2.
Table4.1: Retentive data of a control loop (see also Sections 4.10.7,4.11.7 and 4.12.8 data words 0 to 167)
Table4.2 NON-retentive data of a control loop (see also Sections 4.10.7,411.7 and 4.12.8 data words 168 t o 255)
- Structure type
- Sampling time
- Dimensions
- Structure switches
- Addresses for analog inputs/outputs
The remainderof the retentive data of Table 4.1 can also be modified in the RUN state of the IP.
Each input via the CPU/CP or PG is stored initially in the RAM of the IP.The operating system of the IP continuousry compares the
controller data of the module (RAM) with the controller data inthe memory submodule (EEPROM). If a value differs then it is automa-
tically updated in the memory submodule (Fig. 4.2,3).
Note:
If random data are transferred cyclicalty from the S5 CPU t o the IP 252 (8. g. KON1O.l,KON5.KP etc.), it may not be desirable to
dump these data on EEPROM. If this is the case, use of a special job no. during data transferwill prevent these data being dumped
in the EEPROM of the user submodule. The reason for using this method far data transfer is that the EEPROM can survive only a
limited number of write cycles (updating).
This mode (Section 5.2.3.2) is only possible with the submodule "Expanded drive controller structure with self-setting and standard
controller structure (DRSISR)" (MLFB 6ES5 374-0AB11).
After a user input via the CPU/CP or PG, there is a certain interval of time during which the retentive data in the memory submodule
is updated. Ifa power failure does not occur during this (short) interval of time, then the description given under "Case 1" applies.
If a power failure occurs during this interval of time, then the description under "Case 2" applies.
4. Programming Instructions
Comment to case 2:
If the memory submodule is pulled out with the IP supply voltage switched "off", then it is not important whether RAM is backed up
or not. The contents of the EEPROM are as follows:
The data for all control loops except for the one during which the powerfaiture occurred, are the most recent.
The data of the controi loop during which the power failure occured, has the same state as before the last modification.
4. Programming Instruciions
If a valid memory subrnodule is plugged in, then the following two cases must be considered:
Case l:
Assumption: The IP is powered up and the power fails. The submodule remains plugged in and the power is again restored.
Consequence: The controller data in the RAM of the IP and the memory submodule are identical. How current the data are, as
compared to the tast modification by the user, is described in Section 4.6.2.
Case 2:
Assumption: The IP is powered up and the power fails. The submodule is removed when the power is "off" and another sub-
module with valid data is plugged in. Then the power is restored.
Consequence: In the following cases the controller data is copied from the memory submodule into the RAM of the IP:
- No battery is present
OR
- The 1P was in the STOP mode before "power off"
0R
- The stop switch of the IP was switched to stop in the unpowered state.
Note to case 2:
If the user wants to load new controller data into the IP, then the IP must be switched "off", the new memory submodule plugged
in, the STOP switch moved to the STOP position and the power switched "on" again.
4.62 Start-up behaviour of the control loops after "power on" (Fig. 4.3)
After powering up, the IP goes into the RUN mode (green RUN LED lights up) or into the STOP mode (red STOP LED lights up).
- No battery is available OR
- The switch on the [P is in the STOP position OR
- The IP was in the STOP mode before power failure OR
- The power failure indication is not set
Before reaching the STOP mode, the controller data from the EEPROM of the memory submodule is copied to the RAM on the
module. Also all the previous values, bits, relays and variables of the control loops are erased.
There are various ways of influencing the start-up response of a control loop from the PG. The foliowing statements assume that
the 1P automatically goes to the RUN mode after "power onm.ThePG can be used for setting in each control loop whether warm
restatt is desired and in that case whether the warm restart criterion should be used.
4. Programming Instructions
POWER ON
I
- Battery connected AN D
- Switch in RUN position AND
- No STOP before power failure AND
- Power failure bit set?
YES
fl
Load contents of EEPRO
into RAM
For inactive BASPfrom CPU, the IP goes into the RUN mode The lP goes intothe STOP
(green LED illuminates) mode {red LED illuminates)
I
Q 0
RUN mode of the IP is reached with disabled or enabled STOPmodeof the IP
control loops 1 is reached with
I disabled control loops
I
l
The actual values before and after power failure should not differ in magnitude by more than 25% of the actual vaIue before the
power failure.
-
I actual value e t t e r N A ~ actual value beforemuI
r 1 0.25 x actual value NAU l
If no warm restart is required, the operating system disables all control loops and resets the previous values in the corresponding
controller data blocks, i.e. the IP goes into the RUN mode with disabled control loops. These control loops can be enabled from
the S5-CPU via a command, which is transmitted by data handling blocks. The enabling is carried out individualty for each control
loop ("Controller cold restart").
Nowthe case is considered where the user has selected warm restart behaviour via the PG. If the warm restart criterion is then not
used, then all previous values of the control loops are reset. The IP goes into the RUN mode and the control loops which were
enabled before "pawer off" remain enabled and begin to operate from the start up mode ("Controller cold restart").
When the warm restart criterion is used, the operating system of the IP checks whether the criterion is fulfilled. If it is not fulfilled,
then all the previousvalues of thecontrol loops are reset. The IPgoes into the RUN mode and the control loops which were enabled
before "power off" remain enabled and begin to operate from the start up ("Controller cold restart").
If the warm restart criterion is fulfilled, no previous values are erased. The IP goes into the RUN mode and the control loops which
were enabled before "power off" remain enabled and begin to operate again from the point at which they were interrupted by
"power off" ("Controller warm restart").
Summary:
Controller cold restart means that the control loops begin to operate from the restart after switching the power on. This means
that afl the previous values of these control loops are reset.
Controller warm restart means that the control loops continue to operate with the old values after switching the power on. These
values correspond to the state at the instant of the power failure. Several conditions must be fulfilled before any of the (maximum
8) control ioops can carry out a warm restart.
Individual control loops can be enabled or disabled via the PG from the "Operating mode" menu. This is possible in the RUN and
in the STOP mode of the 1P.
The command acts immediately in the RUN mode of the IP.If the command is given in the STOP mode of the IP, then it operates only
when the IP goes to the RUN mode.
Example:
R1 R2 R3 R4 R5 R6 R7 R8
ENABLE N Y N Y - - - -
When the IP subsequently goes into the RUN mode, the following happens:
Control loops 2,4 are enabled, i. e. they are processed
Control loops 1,3 are disabled, i. e. they are not processed
Note:
If, during configuration of the control loops, the programmer query "Warm restart after power failure" is answered with 'No', the
relevant control loops R1 to R8 will be disabled at power recover. Re-enabling must then be effected from the programmer or the
S5-CPU.
Option 1: the analog outputs remain in the state they had at disabling.
Option 2: the analog outputs are reset, i.e. DV is output.
If the user selects option 2, then in addition all measuring points and previous values of the cantroi loop are reset.
The control loop was enabled during RUN of the IP and then disabled. When the control loop is again enabled, then
Pm-history l:
two cases must be differentiated:
Case 1: The analog outputs of the control loop have retained the last value while the control loop is disabled. In this case, a check
is made as to whether a warm restart of the controller is possible. If the warm restart criterion is fulfilled, then the control
loop continues with the last values, which it had when it was disabled.The warm restart criterion is (as in Section 4.6):
The actual value before disabling and the actual value after enabling should not differ iri magnitude by more than 25%
of the actual value before disabling.
If the warm restart criterion is not fulfilled, then a cold restart of the controller is carried out, .i e. all previous values of the
control loop are reset.
Case 2: The analog outputs of the control loop were reset while the control loop is disabled (outputs at OV).
This always requiresa cold restart of the control loop as a consequence.This meansthat the previous values of the control
loop are reset.
Pre-history 2: The control loop was never enabled in the RUN mode of the IP.In this case enabling always leads to a cold restart of
the control loop.
4. Programming Instructions
Both modes STOP and RUN of the IP can be selected via the switch on the module, via the PG or via the SS-CPU.The switch has
the top priority. If for instance the RUN mode was selected via the PG and the switch was set to the STOP position, then the IP al-
ways goes to the STOP mode.
Atransition from the STOP mode to the RUN mode caused by the PG, CPU or switch always triggers a cold start (Section4.7-2).
This means that all previous values, bits, variables and relays are reset. The control loop enabling however remains uninftuenced!
If the IP is in the STOP mode, then thereare various ways of going to RUN. It is assumed that a memory submodulewith a valid iden-
tifier is inserted, and the S5-CPU is in the RUN mode. These ways are:
- Alf analog outputs of the module are connected to module earth via relays.
- lndividual control loops can be enabled and disabled. Enabled controllers are not executed.
- Communication with the PG is possible.
- Communication with the S5-CPU is passible.
- Controller parameters are automatically saved on the EEPROM of the memory submodule.
- Constants, variables and measuring point assignments can be modified: this does not apply to bits and relays.
- The structuring of a control loop is not altowed.
The STOP mode of the IP is reached by various ways.
After "power on'' the IP goes into STOP, if the conditions described in Section 4.6.2 are fulfilled.
The IP goes from the RUN mode into the STOP mode, due to the following:
The basis of the description of the controkler structures are the configuring sheets (Section 8) forthese controller structures. The
symbols and abbreviations used are described below.
Relay 2 in branch 8:
The term relay (REL 8.2) is used to identify switches which can be modified in the RUN state of the control
loop, i. e. during the time the 1P is processing control loops, the signals in a control loop can be interrupted,
switched through or switched over.
The relays are influenced by the control program of the CPU and from the PG.
The following input is also possible in the case of user submodules with the structures "DRS/SRm,wherever
an ADCn is indicated in Sections 8.2 and 8.3 of the configuration documentation:
RNo. MPNo. R No. is the controtler number 1 t o 8 and
M No. is the number of a measuring point of this controller structure.
This makes it possible to assign, for exampfe, the processed actual value of controller No. 2 to controller No.
3 as a setpoint. The following value is entered by the programmer in the entry field of ADC 6 (of branch 8 in
controller No. 3): ADC 6 2.12.
4. Programming Instructions
The structure contains all functions required for controlling a drive, except for the current controller and the power stage. This
means that depending on the requirements of the user, a speed control system (e. g. far mills, turbines) or a velocity control
system (e. g. for paper machines, winders and foil machines) can be implemented.
The drive controller structure (Fig. 9.1) consists basically of two cascaded closed-loop controllers. Parameters can be as-
signed t o each of the controllers of P, PI, PD or PID response.Theouter loop controller (9) is used e. g. for position control, tension
control or pressure control. One should mention at this stage that the numbers in brackets correspond to the branch number ((5)
branch 5). Avelocity control loop or a speed control loop can be implemented using the inner loop controller (5).
Upon a request by the CPU of the programmable controller, the closed-toop controller structure can be switched over t o "direct
tension control". The output of the inner loop controller (5)is then switched to limit the outer loop controtler (9).The output of the
outer loop controller (9) generates the manipulated variable (current setpoint).
The actual value (10) (actual speed value) can be input either as a tacho voltage via the AID converter or via a counter input. A
smoothing module is used for suppressing any resonances. In addition, the high frequency disturbances to which the controller
cannot respond are kept away from the PID module (10).
The display function (10) providesa steady disptay of the actual speed valuevia a measuring instrument connected tothe D/Acon-
verter.
In the case of the speed control loop, the actual speed value (10) is used directly in the inner loop (speed) controller (5). If a velocity
control is required, the current velocity is calculated from the actual speed value (3 a) and transmitted to the inner loop (velocity
controHer) as an actual velocity value.
The controller output, optionally evaluated with a factor (4). forms the main component of the current setpoint.This evaluation of
the controller output produces a loop gain, as required e. g. during the field weakening operation of motors.
4, Programming Instructions
Before the current setpoint is output as the manipulated variable, it can be converted and limited (1 b)
The three overview pages of Section 8 show all the branches of the drive contro[ler structure. The shading in branches 1,5, and 10
of the drive controller structure means that these branches cannot be switched off.These branches are always active! The precise
representation of the structure can be found in Section 9 (Fig. 9.7) of the Appendix.
Relay REL 1.1 isavailable for braking action. If the relay is active, then DAC2 outputs the current setpoint, which is linearly dependent
on the instantaneous actual speed value. MP12 is multiplied by (-100) and by the constant CON1.l, with REL1.1 active.This means
that 0% is output as the current setpoint when 0 speed is reached.
Input variables:
- Current setpoint component from branch 2
- Currentsetpoint component from branch3
- Main current setpoint from branch 5
Braking compensation:
- CON1.l The constant influences the magnitude of the braking current
- MP12 Actual speed from branch 10
- REL1.l When active, the motor is braked to standstill.
Output variables:
- DAC2 Current setpoint (manipulated variable) after limiting.
- MP6 Magnitude of the Faking current.
The actual speed value, multiplied by the constant CON1.l and (-100) is the braking current.
- MP9 Current setpoint before limiting
Input variables:
- CON2.1 The constant specifies the magnitude of the current setpoint component.
- REL2.1 When active, the current setpoint component is enabled.
- MP14 Speed setpoint from branch 8
Output variables:
- The output from branch 2 is connected t o the summation point of branch 1.
4. Programming Instructions
Input variables:
P ID controller module:
- CONSXP Proportionalvalue influence the behaviour
- CON5.TN Integrating time of the PID controller
- CON5.W Differentiating time
- CON5.B+ The constant determines the upper limit for the limiting in branch 1.
- CON5.B- The constant determines the lower limit for the limiting in branch 1.
- BIT5.RF The bit disables or enables the PIDcontroller.The controlter is enabled, when the bit is active. When disabled, the
controller produces 0% of its output and resets its internal memory.
Setpoint limit monitor:
- CON5.SOG Upper limit
- CON5.SlfG Lower limit
4. Programming Instructions
Miscellaneous:
- CON5.1 When relay RELS.1 is active, the constant works on the input of the PID controller. (Start-up value).
- REL5.1 When the relay is active, it switches the constant CON53 to the PID controller input.
- REF5/9 With this relay, one can switch over to ,,Direct tension control" (see Section 4.10.5.16).
Output variabtes:
Miscellaneous:
- MP10 Main current setpoint (input of the summation stage in branch 1)
- MP11 Input of the PI0 controller (control deviation)
Note:
-
The bits BIT5.SOG to BIT5.SUG are- evaluated by the standard function block FB:FORCE (Section 5.1).
lnput variables:
- CON6.1 Constant used as the setting-up speed setpoint
- REL6.1 Relay used to switch the constant CON6.f to the speed controller, branch 5 (control deviation).
Output variabies:
- The result of branch 6 isconnected to the summation stage in branch 5.
Input uariables:
- CON7.1 Constant used as the inching speed setpoint.
- REL7.1 Relay used to switch the constant CON7.1 to the speed controller, branch 5 (control deviation).
Output variables:
- The result of branch 7 is connected to the input of the summation stage in branch 5.
4. Programming Instructions
Further processing of the setpoint is only carried out if relay REL8.2 is active.The setpoint can be enabled or disabledwith the relay.
The setpoint input via ADC or VAR8.l/CON8.1 can be transmitted via a ramp-function generator or a smoothing block or via both
simultaneously. The structure switches S8.1 and S8.2 determine which block is selected.
The processed setpoint (MP17) is multiplied by the constant CON8.2 and then transmitted to branch 5.
If structure switch S8.3 is active, then the processed setpoint (MP17) is output via an anaiog output channel (DACS).
The ramp-function generator block and the smoothing block are described in detail in Section 430.6.
Input variables:
Setpoint input:
- ADC6 For analog setpoint input, the signal is input via ADC6.
- RELB.1 The source for the digital setpoint is selected by the relay. If the relay is inactive, the value comes from the PG
(CON8.1).
The relay determines whether the setpoint input is analog (relay REL8.3 inactive) or digital (relay REL8.3 active).
When active, the relay allows the setpoint to be processed further.
For digital setpoint input (REL8.3 active) and with relay REL8.1 inactive, the PG is the source of the setpoint
(C 0 ~.l8 ).
For digital setpoint input (REL8.3 active) and with relay REL8.1 active, the logic control program of the S5-CPU
is the source of the setpoint.
Multiplication of the processed setpoint by a constant.
. Ramp-function generator:
- CON8.TR Ramp-downtime
- CON8.TH Ramp-up time
- CON8.ZVW Increment
see Section 4.10.6.3
- BIT8HOE Increase bit .
- BIT8.flE Decease bit
- 31T8.LOE Reset
Smoothing biock:
- CON8.W Delaytime see Section 4.10.6.2
Output variables:
- MP14 Magnitude of the setpoint after optional processing by the ramp-function generator block andlorthe smoothing
module. This value is transmitted t o the summation stage in branch 5.
- MP17 Magnitude of the setpoint directly after being input.
- DAC5 For active structure switch S8.3, the processed setpoint is output to an analog output.
4. Programming Instructions
Function:
The control deviation is determined in the summation stage. The actual value is input via ADCI. The setpoint can be input either as
an analog variable (59.2 inactive) or digital variabte (59.2 active). For digital setpoint input, the state of relay REL9.1 determines
whether this value comes from the SS-CPU (VAR9.1) or from the programmer (CON9.1).
The setpoint and the actual value are each monitored by a preassigned and non-optionai limit monitor (see page 2 on branch 9 in
Section 8.1). The operation of both these iimit monitors is described in Section 4.10.6.1.
The control deviation (output of the summation stage) is used as the input by the PID controller.
The PID controller can be assigned, P, PD, PID or P1 control action by setting various parameters to zero:
TN=O I component not active
TV=O D component not active
The controller output is limited by CON 9.Bt and CON 9.8- and then multiplied before it reaches the summation stage of branch
5. The type of this evaluation can vary:
multiplication by a constant is possible via the PG value CON 9.2. However, it is also possible to make the operation proportional
to theinstantaneous speed value (MP 12 from branch 10).
If the signal reaches the limit, the relevant bit, BITS.U+ or Blf9.U-, will be set.The PID controller then disables the integrator. In this
way "wind up" of the integrator is prevented.
fnput variables:
Setpoint input:
- ADC2 Setpoint input if analog setpoint input mode was selected (59.2 inactive) during structuring.
- REL9.1 The source for the digital setpoint is selected by the relay, If the relay is inactive, the value comes from the PG.
- CON9.1 For digital setpoint input and with relay REL9.1 inactive, the PG is the source of the setpoint (CON9.1).
- VAR9.1 For digital setpoint input and with relay REL9.1 active, the SS-CPU is the source of the setpoint (VAR9.1).
PID controller:
- CON9.KP Proportional gain ,
- COM9.TN Integral-action time
- CON9.TV Derivative-action time
- CON9.B+ The constant determines the upper limit for the limiting.
- CON9.B- The constant determines the lower limit for the limiting.
- BIT9.RF The bit enables or disables the PID cantro1ler.f he controtlerisenabled ifthe bit is active. In the disabled state, the
controller outputs 0% and resets its internal memory.
Miscellaneous:
- REL5/9 This relay can be used forswitching over to "Direct tension control"
4. Programming Instructions
Output variables:
PID controller:
- BIT9.UE-I- The bit is set when the output of the PID controller crosses the upper limit CONS.B+.The integrator in the P1D
controller is then frozen.
- BIT9.UE- The bit is activewhen the output of the PID controller crosses the tower limit CON9.B-.The integrator in the PID
controller is then frozen.
Miscellaneous:
- MP1 Actual value of the outer loop controller
- MP2 Setpoint of the outer loop controller
- MP3 Control deviation of the outer loop controller
- MP4 Input of the summation stage in branch 5
Note:
The bits BIT9.SOG to BIT9.SUG arenot evaluated by the standard function block FB:FORCE (Section 5).
Input variables:
The constant is used for normalizingthe actual speed value.
This value can be input for commissioning purposes via relay 10.1.
The constant is used for calibrating the display via DAC1.
Rated speed in revolutions per second.
The number of index lines divided by 100. Both constants CON10.4 and CON10.5 are used for calibrating the
digital actual speed value input. At rated speed the block outputs 100%. (Example: CON10.5;5 B 500 index
lines).
- CONlO.nrZ lnput variable of the smoothing black, see Section 4.10.6.2.
- ADC3 Address of the analog input channel used for sensing the tacho vottage
- DACl Address of the analog output channel used for displaying the actual speed value.
- REL70.1 When active, this relay activates constant CON10.2.
Output variables:
- MP12 This is the processed actual speed value.
It is effective at the input of either branch 3 or branch 5. In addition the value can be output via an analog output
channel.
4. Programming Instructions
Input variables:
Thermal monitoring:
- CONI1.l The constant gives the value fromwhich the thermal monitor sets bit 17.1.
- CON11.2 The constant is a characteristic of the motor. It is a criterion for how quickly the motorwarms up.
Miscellaneous:
- CON11.3 The constant is multiplied by the armature current when 511.1 is active.
- ADC4 Address of the analog input channel used for the actual armature current.
Output variables:
- BITll.1 This bit is set, when the thermal monitor has reached the limit CON1l.l. When the bit is set, the maximum per-
mitted heating of the armature has been reached.
- MP5 The actual armature current value after multiplication by constant CON11.3. Thisvalue is used as the input of the
summation stage in branch 5.
- MP13 Actual armature current value input via ADC4.
Input variables:
- MPNO. No. of the measuring point to be monitored (1 ... 17)
- CON12.1
- CON12.2
- C0N12-3 Maximum of 6 limit values
- CON12.4
- CON12.5
- CON12.6
- CON12.7 Number of limiting values
Output variables:
- BlT12.1
- BIT12.2
- BIT12.3 Maximum of 6 output bits
- BIT12.4
- BlT12.5
- BITt2.6
4. Programming instructions
lnput variables:
- MPNO No. of the measuring point to be monitored (1 ... 17)
- CON13.1
- CON13.2
- CON13,3 Maximum of 6 limit values
- CON13.4
- CON13.5
- CON13.6
- CON13.7 Number of limiting vatues
Output variables:
- Bif13.1
- BiT13.2
- BIT13.3 Maximum of 6 output bits
- BIT13.4
- BIT13.5
- BIT13.6
Input variables:
- MPNO No. of the measuring point, which is t o b e recorded (1 ... 17)
- DAC3 Address of the analog output channel at which the value of the measuring point is to be output
Measuring socket 1 is permanently connected t o the DAC channel 5.
lnput variables:
- MPNO No. of the measuring point, which is to b e recorded (l ... 17)
- DAC4 Address of the analog output channel atwhich the value of the measuring point is to be output.
Measuring socket 2 is permanently connected t o the DAC channel 6.
4. Programming Instructions
- Measuring point MP10 of thevelocity controller in branch 5 is used by the outer loop controller in branch 9 either as the upper or
lower limit. The state of the structure switch S9.1 determines whether the lower or upper limit is specified by MP10.
- Measuring point MP4 of the outer loop controller in branch 9 becomes the input of branch 1. MP4 is therefore the main compo-
nent of the current setpoint.
This is illustrated by Fig. 4.4. This shows the case where the lower limit of the controller from branch 9 is determined by the con-
troller in branch 5 (S9.1 inactive). The upper limit is then the constant CONQ.B+, which was specified via the PG.
When structure switch S9.1 is active, then the upper limit of the control!erfrcm branch 9 is determined by the controller in branch
5. The lower limit is then CON9.B-, which was specified via the PG.
BRANCH 9 BRANCH 5 BRANCH 1
r -------
upper limit
Fig. 4.4 Directtension control (relay 5/9 active) Example: $9.1 inactive
4. Programming Instructions
Each of these limits is assigned a bit. If a signal crosses the upperwarning/danger limit, then the "Upperwarning/danger limit cros-
sed" bits are set. In all other cases they are reset. When the signal crosses the lower warning/danger limit, then the "Lower
warning/danger limit crossed" bits are set. In all other cases they are reset.
Both limits are assigned two bits. When the upper limit is crossed the "Upper limit crossed" bit is set, otherwise it remains reset.
When the lower limit is crossed, the "Lower limit crossed" bit is set, otherwise it is reset (Fig. 4.5).
4. Programming Instructions
Setpoint
0
"Upper limit crossed"
"Lower limit crossed"
< Lower limit
Setpoint
..
0
crossed"
"Lower limit crossed"
I< Lower limit < Lower limit "
Setpoint
Time
lnput signal
Output signal
X,---- ---
- The d o p e of the positive ramps is determined by the constants (ZUW, TH) and of the negative ramps by the constants (ZUW,
TR).
positive ramps are where the output value y(t) changes towards increasing speed (?100%). Negative ramps are where y(t)
changes towards decreasing speed (to%).
The constant ZUW(increment) specifies the percentage value which is reached after expiry of the negative (TR) or positive (TH)
ramp times, when a 100% step is connected to the input of the ramp-function generator.
In Fig. 4.7 (diagrams 1 to 4) several examples are included. They iltustrate the influence of the constants ZUW, TR andTH.
- The ramp-function generator takes into account the actual value (MPx). This guarantees the fastest possible tracking of the
setpoint y(t) by the actuaIvalue i(t). When tamping down, the actual value is taken into account, if it is less than the momentary
ramp value calculated by the ramp-function generator. When ramping up, the actual value is taken into account if it is greater
than the momentaryramp value calculated by the ramp-function generator.This procedure is explained in Fig. 4.8 (diagrams 1 to
5).
- Fig. 4.9 shows how the ramp-function generator behaves ifthe input signal is changed before the output signal has reached its
final value.
The actual value is also taken into account here.
Negative ramp
Positive ramp
IRY% t
Negativeramp
and
Positiveramp
L - - - -- - - - --
-
--L
@ -100%
Negative ramp
and
Positive ramp
The actual value sinks below the ramp value at t z and be-
gins to increase again at h-
==> No actual value referencing
0
\
1
-- +
. ,I
-loo%--
HOE
TIE
1
1
.m
1
LOEO
1
+loo%--,
i(t)
-- -- -- - - - -
x(t1
Y (1)
'. t
I
0
t2 h h t5 f6 t7 t8
-loo%-- P
1
HOE /
///////7A
1
TIEO
LOE A
Actual
A value
I referencing
4.10.6.4 Display
Function:
The display function provides a non-flickering display of the actual speed value.
The input signal to the dispiay is output as a rounded signal.
Function:
The characteristic curve stage transforms an analog input variable X (field current) into an analog output variable y.
The function y = f(x) used has the following characteristics:
- Linear range
yLO for OSxI100%
y=O for -100% S x S 0%
100
y=3/2x for OdxS-%
3
- Parabolic region
y= - -100)2 + 100 for 'a%
3
S X = S 100%
Value table:
Y
AFlux
100% - -
0%
10%
20%
30%
40%
O%
15%
30%
45%
59,5%
l Linearapproximation
Y'?X3
-C-
I
-
l
50% 72%
I
60% 82% l
I
80% 95,5% !
90% 99% i
100% 100%
l
I
1
l
I
50%
l
I
1
I
I
l
l
1
-
0
' linear parabolic
I
0 331h% 100%
Field current (ADC5)
4.10.6.6Thermal monitoring
When current flows through an electric machine, the temperature rise can be described approximately using the e function. This
"thermal image" is used to regulate the temperature rise in the machine in a calculation involving the armature current and the con-
stant CON 71.2 (thermal time constant) according t o the following equation
-t
Temperaturerise = i2 ,, . (1 - e T).
If the permissible temperature limit (temperature rise) is exceeded, bit 11.1 is set. The temperature limit is given with the constant
CON 11.1.A temperature limit i s seiected such that under operation with nominal current the tempe~aturelimit is never quite reached
- e -T
(ortheoretically would be only after an infinite period). Cooling isexpressed by the equation i2
Example:
Nominalthyristorcurrent = 5 0 0 A 4 10V IlSTe 100%
--
Norninai motor current = 400 A a 8 V I, B 80%
Thermal time constant: 30 min (CON11.2)
- CON 11.2 1
i Armature current
X Thermal time constant
t Time
Armature current
The data block contains all thedata of the DRcontroller structure. If the contents of these data words have to be read or overwritten
by the CPU, access to these internal IP 252 data can be effectedwith the help of data handling blocks (Section 5.2).
Data
Word
address
1 5 1 4 1 3 1 2 1 1 1 0 9 8 7 6 5 4 3 2 i D I
+ + + + + t - - - + - + + + + t t t + + + y
1 Verslon number I DW 1
-*--*---+--.--+-----+-----+----+-----+-----t-----h---*+**---+-----+**-*-+--***+-~---t-----+-----+-----+--""-t
I I Status word I DW 2
I +-----+-----+.----+-----+-----+----+------*-+--.--+
I I Error form word I W
D 3
BESY- t-----t-----+-----+-.---+-----+---.-+----t-----+-----+-.---+----.+-----+--~--+-----+----*+----.+
I I MII wrd I DU 7
-*-*--**+*----t-----+----I--+-----+-----+-----b----+--~~-+-*---+*--**+---*-+-----t-----+-----+-----+----*+
I TIme format I DW 11
-------+-----t-----+-----+-----+---.-+-r-.-t-----4--*--+-----+-----+----r+-----+,--"-+-----+---*-+-----+
I Tlme f o m t I DU 13
.................................................................................................
I I DW 17
+-----+-----+-----*-----+----*-----*--+-----+*--*-+----+-***-+-----+-----+---"-+-----+-----+-*---+
I I W18
+--.-.+----.+.----+----.+.-.-.+.r-r-+-.r--+-----+--*--t--*--k----+-----t---.-+-----+-----+-----+
I I OU 19
...............................................................................
I l OU 20
h---*+-**-*+-----+-----+-----+----d+-----+-----+---*-+--*--+--*--+*---*+-----+~----t-----+-----t
I I DW 21
................................................................................................
I I DW 22
t-----+--r--+-r*--+-----+-----+-----+-*---+~----+-----+-----t-----t-----+-----+-"*--t-----+--*--t
4. Programming Instruction
Data
word
address
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 I
t - - - - - t ~ ~ ~ ~ ~ + * ~ ~ ~ ~ + * ~ - * - t ~ * ~ * ~ + . - ~ - - + - - - - - t - ~ ~ ~ ~ + ~ ~ * ~ ~ + * V~ ~ ~ ~ t ~ ~ ~ ~ ~ + ~ ~ ~ ~ ~ + ~ - - - - + ~ ~ * * ~ +
I I DW 23
+----~+L----+.---~+*--*-t.*--*t-----t-----t--*-*+*~*~~+*~~~~+-~~~~+~-~--+----~+~~~*~~~~*~+*~~
1 I W24
.................................................................................................
I I DW 25
+-----+---."+-----t.i*-*-+-----+-----+-----+---~~+--*--t-----+*----+-----+-----+~-~~-+~*"-"+-**--+
1 I DW 26
+--**-*-----+-----+-----+-----*-----+-"---+--*--+----~+~~~**+-*---+-~~.~+~*-**+-*--*+*---*+~~-~*+
I 1 DU 27
.................................................................................................
I i DW 28
*~----+-*---+.----+~---+-----+--+-----+---~*+*~~~-+-*---+-----+-----+-----+-----+-"~*~*~~*-*+-----+
I I DW 29
......................................................................................................
I I DW 30
.................................................................................................
i I DU 31
................................................................................................
I I DY 32
.................................................................................................
I I DW 33
.................................................................................................
I I DW 34
--------+---r-+---*-+-----+----*+-----+-*---+-----+-----+---"-+-----+-----+-----t-----t-----+-----+-*---+
I I DU 38
+-----+-----+-----+-----+-----+r-r--+*-*--+-----+---r-+-----+-----+-"*-.-+--*--+--"--+-----+-----+
1 1 W39
.........................................................................................................
I 1 Controller gain CON 5.KP I DW 40
I ...................................................................................................
I I I OM 41
I +--*--+-----+-*---+-----+-----+-- -c,,,,+.*-,-+-----+-----+-----+-----+-"---+----*+-----+-----t
I I D1M 5.TW I OW 43
1 +---*-+-----+-r---+r-----+-----t-----t-----+-----+-----+*---"t-----+--~--+-----+*-**-+-----+----~+
I I orn 5.n I ow 45
1 +-r-*-+-----+-*---+-----+---**t-*---+-----+-----+--*--+---*-+-----t-----+-----+----**----+-----+
Data
word
Address
1 5 1 4 L 3 1 2 1 1 1 0 9 8 7 6 5 4 3 2 1 0 I
+ - - - - - + - - - . - + - - - - - + - - - - + - - - - - + - - - - - + - - - - - + - - " + + + + + + + + + + y
I I I DW 48
I .................................................................................................
I I i DW 49
I ......................................................................................................
I I OIM9.TV I DW 61
f .................................................................................................
I I Upperllmlt CON 9 - 0 1 I DW 62
1 .................................................................................................
1 1 L W C ~1trnjt CON 9.8- I DW 63
1 ....................................................................................................
I I 3: DW 64
I +-----t.----+-----+r-----,+.-----*---*-+*----+-*---+-.-**+*.--*+-----+-----+----*+--*--+-----+-----+
I I 1 W65
1 ................................................................................................
I I Scaler constant C M I 9.2 I DW 66
--*-r---+-----*-----C---------t-----+-----+----+-----+--*--*-----t--.--+-----+---r-+-----+---.,+**---+
Data
word
Address
15 14 13 12 5 412 3 10 9 B 7 6 2 1 0 I
...................................................... y
I 1 Acceleratton tiote CON 8.TH I DV 74
I .................................................................................................
I I Din ~ . T H I DV 75
Branch 8+-----+.----+-----+-----+-----+-----+---h-+-----+----*+-----+----.+-----+----d+-----+----.+4--.-+
I I Deceleration time CON 8.TR I M76
I +--*--+-----+-----+---*-+----+----*-*+*----+-----+-----+--*--+----"+--*--+---*-+*---*+---..+"*---+
I I DIH 8.TR I DU 77
I .................................................................................................
I I Ordtnates a f t e r t i m e has elapsed COH 8 . ZUW I DW 78
I + - - - - - + - - - - - + - - - - ~ + ~ - - - - + ~ * ~ * * + * I * I * + - ~ - ~ ~ + ~ ~ ~ ~ ~ + * ~ * ~ ~ t ~ ~ ~ ~ ~ + ~ ~ ~ ~ ~ + - ~ ~ ~ ~ +
Data
word
Address
1 5 1 6 1 3 1 2 l 1 1 0 9 8 7 6 5 4 3 2 1 0 I
I 1 DM 114
...................................................................................................
I I DW 115
--------t-----+-.--"+-***-+-----+-----+-----t-----+-----+---*+-----+--*.-+-.---t.----+-----+*--*-+-----+
4.10 ~escri~tioh
of the Drive Controller Structure (DR)
Data
word
address
1 5 1 4 1 3 1 2 1 1 I O 9 8 7 6 5 4 3 2 1 0 I
+.*..+-----+,--,.+.----*+*-*--+-.+ - - + + + + + - - - - - + + + v
I I I DW 126
] .................................................................................................
I I Address of d i g i t a l counter Actual speed I DW 131
r-------+----,+,,---+-----+~~~~+----*+-*---+-----+-----+-----+-----+-*-+-+-----+----*+-*---+-----+-----+
I I 5AC 1 address Actus1 speed display I OW 144
I +-r---+-----+-----C----C~---+**---+-----+-----+-----+*--+-+-----+-----+-----+-----+-----+----*+
Data
word
address
1 5 1 4 1 3 1 2 1 1 1 0 9 8 7 6 5 4 3 2 I 0 I
1 .................................................................................................
I I DAC 3 address Neasurlng socket 1 I D
W 154
1 .................................................................................................
I I DAC 4 address Measuring socket 2 I D
W 155
----r-*r+---r-+-----+-----+-----+-----+-----+-----+-----t-----+--"--+-----+-----+-----+-----+-----+-----+
I I I DW 176
I +-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
I I l DW 177
1 .................................................................................................
4. Programming Instructions
Data
vord
address
1 5 1 4 1 3 ~ 2 1 1 1 0 9 8 7 6 5 4 3 2 1 0 I
+---..+....-+-.---+-----+.---*+- "-d-+-----+-----+---*-+-----+-*-*-+-d---+-----+-----+"-**-+*+ v
I I I DU 178
1 ..................................................................................................
visusll-I Area name: 3rd Byte I Area name: 4th Bytt I MJ 197
zatjon +-----+-----+-----+-----+-----+----+-------+
I I Area name: 5 t h Byte I Area naae: 6 t h Byte I DW 198
I +-----+-----+---*-+----*+----*-----+---**---+-----+-----+-----+
1 I Area name: 7th Byre 1 Areanam: 8th Byte I DW 199
............................................................................................................
I I DW 200
+-----+--*--+-----+-----+----*+--*.-+-----+-----+----*+-----+-*-*-+--***+-----+---*-+----*+-----+
I I DW 201
+-----+-----+-----+---*-+----.+---*-+-----+-----+*----+-----+----*+-----*----*+*---.+-----+--.--+
I I OW 202
+-----t-----+-----+-----t----*+-----+-----+7----+--*--*-----+--d--+-----+-----+-*-*-+--**-+-----+
I I DV 203
+-----+-----+-"-*-+"----+---**t-----+-----+-----+----"*-----+---"-+"---*+-----+-----+*----+-----+
4. Programming Instructions
Data
word
address
IS 14 13 12 11 10 9 8 7 6 5 4 3 2 i 0 I
+..--.+----.+...-- t - - - - - t * ~ + - - + ~ ~ ~ ~ - ~ . . + . + . t t . + + + vt * " " +
I I DW 2D4
+-----+-----+----- t-----+r-.---+-...-t-----+-----+-----+-----t-*-.-+-----+-----+-----+-*---+
I I OU 205
+-----+-----+-----+-----+-----+-----t**-.-t-----+----"+-----*-----t.----+-----+*-*--t-----+--*--+
I 1 DW 206
+-----+-----+----*+-----+--*-+-----*--+-----+-"*--+-----+-----+----*+-----+-----+
1 I. DCT 207
~*~-*--*+~----+.----+----*t----+-----+------+
1 1 1 DW 211
I +-----+-----+-,.,,+-".-+----*+--+--"--tiiiii*--~~~+~~**-+-~.-~+~.---+-----+~~~*~t~~~~~+----~+-----t
I I I 011 212
1 .................................................................................................
1 I I DW 213
1 t-----+*----t--*--t-----+---*-t-----+---~-*-*--*+-----+-----t-----+-~*~~+--*--t-*---+-----+---~-+
1 I I OU 214
1 +-----+----r+*----t-----+-r--"*+----*+*"---+-----+-----+-----+*-*-*+**-"-+-----+-----+---*-+--**-t
1 f I DW 215
----r---+-,.-.+---r-+r-----+--+---+--*--t-----t-----+-----+---**+-**--+-----t-----+-----+-**--+---*-+.----+ v
Contents1 I DW 216
of t h e +--.*-+--*--+-----+--*--+~~~--+"*---t-----t--"-*+---*-t---*-+-----t-----*--"~-*---**t*~---t-----+
out- I I DU 217
put* +-----+-----t-----t-----t-----+---+--+-----t**"-*+~~~--+*---*+---*-+*--*-+---~~+*~~~~+**--.+-----+
I I I DU 222
1 +*----+-----+.---*+.----+-----+-----+-----+----"+-*---+-----+-----+-----+-----t----*+----*+-----+--"--+
I I I DV 223
1 t
r.
..
.+
-- r--+.-...+-----+-----+-r----t-----+---"*+-----+-----t-----t-----+-----t-----t*--*-+-----+
I I I MJ 224
I ..................................................................................................
I I I DW 225
I .................................................................................................
I I 1 DW 226
I: C--**+-----+-r.--+-----+*----+-----+-----t*--*-b----+-----+-----+***--+----*+-----+-----+-"---+
I I 1 DM 227
I C----+-----+-----+-----+--*--t**--*+-----+-----+*----*----*+.*~*-+-----*rr-*r+---*-+*-*-*+.----+
I I 1 Dw228
1 +---- "+.-.".+.*...+-----+*----t-----+-----+-----t-*---t-----+-----t---~-+*----+"----+"----t-----+
I I I DW 229
1 t*-*--+--*-*+-**-*t--"--+-----t-----+-----+--*-*+*-"-*+-----+-----t---*-+*-*.-+-+---+-----+--*--+
4. Programming Instructions
Data
word
address
1 5 1 4 1 3 1 2 1 1 1 0 9 8 7 6 5 4 3 2 1 0 I
+---.-+--*-*+-----+-----+----+--.++ v
I ! I DW 230
1 ..................................................................................................
I I 1 DY 231
--------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+*----+-----+---*-+-----+*----+-----+
I I Measuring point l Actual value of the priwry controller I W 232
I .................................................................................................
I I DY 251
--------+-----+-----+-----+-*--*+*---+-*--+*----+-----+-----+-----+---~*+-~---~----&----+-----+
l I Acknowledgement word f o r speed controller I OY 252
1 +-----+-----+--.--C---"C------+-----+-----+-----+-----&----b----+-----+---*-+-----+-----+-----
Controller Mangement
15 14 l3 12 11 1D 9 8 7 b 5 C 3 2 f 0
7 - 7 - 7 - - - 7 - 7
Configuring Switches
Injection
Setpoint sequence
Filter
Zoom display
Thermal monitoring
Limit monitor l
Limit monitor2
Measuring socket 1
Measuringsocket 2
4. Programming Instructions
1 5 1 4 1 3 1 2 1 1 1 0 9 8 7 b 5 4 3 2 1 D
+---t-4--+---+ +- : t
Range I BIT RE; REF EL REF F- EL REL EL REL BIT BIT BIT BIT BIT I DU 1M
S (12) I 3.1 !.l 6.1 7.1 3.1 a.2 8.1 9.1 2.1 5,1 519 9.F 5.RF HOE TIE tM 1
+ ..--- ----
$ +---+-*-+--+---__+___+_+ : --+-----+
Range i REL Et I DU i%1
5(!3) I 10,I 8.3 I
+-.4---3---+---~--~~---+--t-+---+-~~+
1 5 1 4 1 3 1 2 1 1 1 0 9 8 7 b 5 4 3 2 1 0
+ - - - + - - 4 - - - f - - - - C - 4 - ~ - 4 - - - + - - - + ~ - ~
a n l e ~ ~ a b u Je p
~ M O6u!paaoxa
~ a9nI
paads l e n s v c = = = L = :
anlenlabuep~addnGu!paaaxa paads l e n p v <=== L = : 0901
anlen B u ! u l e ~ ~ aBu!paasxa
~o[ paads IenJsv c = = = L = : QMnl
anlen Gu!ule~~ a d d n Gu!paasxa paads lenlsv c = = = 1 = : OM01
The controller structure referred to as the "Standard controller" is designed for simple tasks with single-loop controls. It can be
used, for example, in temperature, pressure, position, flow, and other "standard" control systems.
The result calculated by the controller algorithm can be output in various forms:
-
Continuous signal
- "Onn-"Off" signal
- Pulse signal
. .-.-.-.-.-.-.---.
r l
M.V.
I processing
I fb
2
I PI D
F controller
I
I "On"-
Setpoint +
# "Off" -7 r
output Plant
processing r z r
- ( 5 Actuator)
i Pulse
controller output
I
I
I
I Actual value
processing *
i j
As can be seen from the block diagram in Fig. 4.14, the standard controller basically offers an option between two different types
of controllers:
- a continuous PID controller
- a step controller
Both types are based on a PI0 algorithm. The parameters of the controlIer make it possible to assign P, P[, PD or PID control action
toeach controller. The output response is also determined by the parameters assigned.
- Plausibility checking
- Averaging function
- Function generator for signal lineariaation.
All branches of this structure are shown on the cover page of the configuring sheets of the standard controller structure.
In contrast to the drive controller structure, all controller functions and outputs here are included in branch 1.
A detailed block diagram of the standard controtler structure is included in Section 9 (Fig 9.2).
Function:
The input variable of this branch is the controi difference which is generated in branch 3. This control difference is converted into a
controller result using a PID algorithm. The result is then converted into a manipulated variable in branch 1.3 or 1.4.
The PID controller can be assigned P, PD, PID or P!control action by setting various parameters t o zero:
By switching relay REL1.1.1 on, the controller can be switched over to manual operation. This relay can be switched either from the
PG or from the SS-CPU. Whether the manual value comes from the PG (CON HA) or from another A/D converter is determined by
switch S1.l.l.
If the controller is switched over from automatic to manual operation (RELl.1.1 active), then the manipulated variable is changed ex-
ponentially from the instantaneousvalue to the specified value, which leads to a bumptess switch-over.
The manipulated variable (MP4) calculated by the algorithm is compared with the control limits B+ and B-. If these limits are
crossed, then an overflow bit is set (bit U€+ or UE-). If the manipuiatedvariable returns to within the specified limits, then the pre-
viously set bit is reset.
These bits can be read by the CPU, as can all bit yaariables.
The setting of the overflow bits also ieads to the freezing of the integral component, so that a "wind up" of the integrator is
Input variables:
- CON KP Proportionatvalue
- CONTN Integral-actiontime influence the behaviour of the PID controller
- CONTV Derivative-actiontime
- CON B+ The constant determines the upper limit of the limiting in branch 1.1.
- CON B- The constant determines the lower limit of the limiting in branch 1.1.
- BITRF This bit disables or enables the controller. The controller is enabled if the bit is active. In the disabled state the
controller outputs 0% and deletes the internal memory.
- CON HA Constant input value for manual input
Output variables:
- BITUE+ The bit becomes active when the controller:output signal (MP4) crosses the upper limit (CON Uf +).
The integrator is frozen as long as the bit is active.
- BITUE- The bit is active when the controller output signat (MP4) crosses the lower limit (CON UE-).
The integrator is frozen as long as the bit is active.
- MP3 Input signal of the controller algorithm
- MP4 Output signal of the controller algorithm
- MP10 Input signal of the manual input
- ADC5 Analog manual input
4. Programming lnsfructions
Function:
Theenhanced version of the continuous controller offers several advantages described below in addition to the features described
in Section 4.71.5.1.
- Separate D input
Aseparate D component can be connected to the PID controller via structure switch S1.2.3.This Dcomponent is input via an AID
converter and can be observed at measuring point MP11.
This additional D component allows the userto utilize an auxiliary variable for differentiating changes in the control variable. This
isvery useful for example where long sampling times do not allow satisfactory differentiation of the actual control variable.
lnput variables:
- CON KP Proportional value
- CONTN Integral-actiontime influence the behaviour of the PtD controller
- CONTV Derivative-action time
- CON B+ The constant determines the upper limit of the limiting in branch 1.2.
- CONB- The constant determines the fower limit of the limiting in branch 1.2.
- CONHA Constant input value for manual input.
- BlTRF This bit disables or enables the controller.
The controlter is enabled if the bit is active. In the disabled state the controller outputs0% and deletesthe internal
memory.
- CONAi The constant determines the upper limit of the change in the manipulated variable.
- CONA- The constant determines the lower limit of the change in manipulated variable.
- CONR With this variable the user can specify an amplification which only influences the P component of the controller.
- BITIF! This bit allows the userto choose between a real and an ideal PID controller.
- BlTST Bit for disabling manipulated variable changes.
If the bit is active, then the manipulated variable increment is set t o 0 and the manipulatedvariable therefore held
constant.
lnput for separate D component
lnput for the disturbancevariable
lnput for the manual control variable
4. Programming Instructions
Output variables:
- BITUE+ The bit becomes active, when the controller output signal (MP4) crosses the upper limit (CON U€+).
The integrator is frozen as long as the bit is active.
- BITUE- The bit is active, when the controller output signal (MP4) crosses the lower limit (CON UE-).
The integrator is frozen as long as the bit is active.
- MP4 Controller output signal
- MP3 tnput signal to the control algorithm
- MP10 Input signal to the manual input
- MP11 Input signal to the separate D input
- MP12 Input signal to the disturbance variable input
where
a is the slope (CONVER)
b is the offset (CON OFF)
X is the controller output signal
Y is the manipulated variable.
Whether the actuator matching is carried out or not is determined by switch 51.3.1. If this switch is in the 1 position, then the match-
ing is carried out.
The control (manipulated variable) signal can be observed at measuring point MP5 and is output via D/A converter DAC1.
lnput variables:
- Controller output signals from branch 1.1 or 1.2
- CONVER The slope of the actuator matching can be set with this signal
- CON OFF This constant is used for selecting the offset
Output variables:
- MP5 Continuous control (manipulated) signal
- DAC1 Output for the control (manipulated) signal
Input variables:
Controller output signal from branch 1.1 or 1.2
CONTMIN -
Minimum pulse duration of the "on" "off" output, adjustable between 4 ms and 32 sec.
CONASW -
Threshold value of the "on" "off" function, adjustable in the range between 0% to 5O%.This value determines
the hysteresis range of the stage.
- CON APF Matching factor for weighting the control interventions in positive and negative control ranges, where the value
1 corresponds to intervention without weighting.
This factor is adjustable in the range between 0 to 99.99.
Output variables:
- BITPP This bit is always set during the time a positive pulse is output.
- BITNP This bit is always set during the time a negative pulse is output.
- MP6 Output signal of the "on" -"off" function.
- MP7 Output signal of the "on" -"off" function, only active in case this output is selected for the three-step controller.
- DAC? Output of this function for both the two and three-step controller
- DAC2 Output of this function used forthe three-step controller, if this was structured with switch 51.4.1
It is also possible to structure a manual input for this controller branch using switch S1.5.1. The manual branch can be activated via
relay RELI.S.1 if required.The manualvalue can be specified in two ways, eithervia anA/D converter or by entering thisvaluevia the
programmer. In this step controller, the manual value has a different meaning t o the normal case due to the way it is processed. Here
the manual value does not operate as a manipulated variable change but instead as a rate of change.
Note: A further method of operating the step controller in manual mode (two switches'actuatoropen/closed') is demonstrated in
Sections4.11.6.12 and 5.2.3.1.
Input variables:
- MP3 Control difference from branch 3
- CON KP Proportional value
- CONTN
- CONTV
- CONTMIN
- CONTM
Integral-action time
Derivative-action time 1 influence the behaviour of the PtD controller
Minimum pulse duration, must be specified in order to limit the switching frequency
Actuator travel time; it can be adjusted in the range between 0.1 ms to 59.59 h. min.
- CON AN Triggering threshold for the input hysteresis
- CONAB Release threshold forthe input hysteresis
- CON HA Constant input value for manual input
- BrrRF This disables or enables the controller.
The controller isenabled if the bit isactive. In the disabled state thecontroller outputs 0% and deletesthe internal
memory.
- BITHAI This "manual input inactive" bit, when inactive (bit = 0).causes the manipulated variable to becomezero.
- BIT TOT "BITTOT" determines whetherthe dead band is active for the integral component or not. When the bit is active
(BITTOT = I ) the dead band is inactive.
- BITBA Both these bits provide information t o the pulse generator as to whether the actuator is in one of its end
- BlTBZ positions. If "BIT BA" = 1, then the actuator has reached its final OPEN position, whereas "BIT BZ" = 1 signals
that the actuator has reached its final CLOSED position. This information can be communicated to the pulse ge-
nerator stage either from the PG or from the CPU.
- MP10 Input signal of the manual input
- ADC5 Input for manual control variable
4. Programming Instructions
Output variables:
- MP6 Output signal of the pulse generator
- MP7 Output signal of the pulse generator
- DACI Pulse generator output for "positive" pulses
- DAC2 Pulse generator output for "negative" pulses
- BITAUF These bits signal the direction of motion of the actuator. If "BITAUF" is set, this indicates for instance that the
- BITZU valve is just opening, whereas if "BITZU" is set it is just closing. If both these bits are not set, then the actuator is
in a steady state.
Apart from the functions described above it is possible in theactual value branch to Iinearize the actual value usingan optional func-
tion generator. This linearizationfunction is enabled via switch 52.4. When specifying the curve for the function generator up to ten
equi-distant extrapolation nodes car; be specified.
The values t o be specified are
Number of extrapolation nodes
The first abscissa value X (l)
Distance to the next extrapolation nodes (DX)
N ordinate values
At the output of the actual value branch, switchover to a start up actual value is possible via relay REL2.3. This value can be input
via the programmer.
The actual value output from this actual value branch, which is used for calculating the control difference, can be observed at
measuring point MP9.
Input variables:
- ADC2 The actual value to be controlled, which can also be input as an incremental input (S2.1 = 1). In the case of incre-
mental actual value sensors, standardization is carried out to 100% for rated signal in the following steps:
- configure and initialize SR structure with polygon in the actual value branch. The polygon first implements the
function y = X.
- After manual acceleration of the actual value to, for example, 10% of the nominal value, the actual value
measured by the IP 252 can be read in the controller test at MP 8. If this is, for example, 4%, the polygon must
implement a straight-lineequation according t o y = % . X = 2.5 X.
- CON ZUL Permissible deviation ofthe actual value from the calculated expected value
- CONN Number of extrapolation nodes in the function generator
- C O N STA Starting value of the extrapolation nodes (abscissa value)
- CON SCH Interval between neighbouring extrapolation nodes
- CON 01..10 Ordinate values of the extrapolation nodes 1...10
- CON IN3 Commissioning actual value
Output variables:
- MP9 Processed actual value used for catculating the control deviation
- MP8 Actual value as input
4. Programming Instructions
Function:
This setpoint branch provides various options for specifying the setpoint and processing the setpoint after being input.
The usercan use switch S3.1 to decide whether the setpoint is entered as an analog value via theA/D converter ADC 1 or digitally.
The digital value can be input from the CPU or from the PG! For input from the PG it is possible to specify a setpoint sequence of
up to ten points, where the number ofextrapolation nodes (N),a maximum of ten setpoints (SW(i)) and the interval time (7)must
be specified. Bit 3.1 determine whetherthe extrapolation nodes describe a staircase or linear curve.
The selected setpoint which can be observed at measuring pointMP1, can now be processed using a ramp-function generator and/
or a smoothing stage. Switch S3.2 shorts out the ramp-function generator when it is inactive (O), and switch 53.3 shorts out the
smoothing stage when it is inactive.
The ramp-function generator transforms step setpoint changes into ramping signals, which then can be smoothed by the smoath-
ing stage. Apart from the already known ramp-functions parameters such as positive and negative ramping times, an additional
constant must be specified for the ramp-function generator.This constant is known as the increment and corresponds to the ampli-
tude which the ramp-function generator generates at its output after the positive or negative ramping time has expired when a step
signal of 100% is connected t o its input.
In addition the higher, lower and reset bits are provided as is already known in analog ramp-function generator pushbuttons.
The smoothing time is the only parameter of the smoothing stage.
Via relay REL3.2 it is possible to disable the complete setpoint branch.
The control difference is generated at the output of the setpoint branch, which subtracts the actual value processed in branch 2
from the setpoint processed in branch 3 and outputs this to the controller. The processed setpoint is available at measuring point
MP2, and the calculated control difference at measuring point MP3.
Input variables:
- ADC1 lnput for the analog setpoint
- VAR3.l Setpoint from the CPU
- CONN Number of extrapolation nodes for the setpoint sequence
- CON71 Distance between neighbouring extrapolation nodes
- CONSOF(i) Setpoints 1...10
- CONTH Ramp-up time of the ramp-function generator
- CONTR Ramp-down time of the ramp-function generator
- CONZUW tncrement constant: measure of the amplitude, which the ramp-function generator output reaches for a 100%
step at the input within the ramp-up or ramp-down times.
- CONTVZ Delay time constant of the smoothing stage
- BIT3.1 This bit determines whether the extrapolation nodes are treated as a staircase function of interpolated linearly.
Bit 3.1 = 1: linear; = 0:staircase function
- BITHOE With this bit the setpoint can be shifted to the +100% limit, regardless of the current setpoint.
- BITTIE With this bit the setpoint can be shifted to the -100% limit, regardless of the current setpoint.
- BITLOE When this bit is set, automatic mode is resumed. The HOE and TIE bits have priority over the LOE bit.
Output variables:
- MP1 Input signal of the setpoint branch
- MP2 Output signal of the setpoint branch
- MP3 Calculated control difference
4. Programming Instructions
- BlT4.1
- BIT 4.2
- BIT4.3 maximum 6 output bits for signalling
"limit value reached"
- BIT4.5
- 31T4.6
I
- CON 5.1
- CON 5.2
- CON 5.3 max. 6 limiting values
- CON 5.4 (see Section 4.11.6.6)
- CON 5.5
- CON 5.6
- CON 5.7 Number of limiting values
Output variables:
I
- BtT5.1
- BlT5.2
- BIT5.3 maximum 6 output bits for signalling
- BIT5.4 "Emit value reached"
- B1T5.5
- BIT5.6
Input variables:
- MPNo. No. of the measuring point which is connected to measuring socket 1 (1. . X ) .
Output variables:
- DAC3 Address of the analog output channel to which the measuring point value is output.
Measuring socket 1 is wired to output channel 5. Measuring socket 1 is used for the output of a random measur-
ing point to analog output channels 0 to 7.
4. Programming Instructions
Input variables:
- MPNo. No.of the measuring point which is connected to measuring socket 1 (1...12).
Output variables:
- DAC4 Address of the analog output channel to which the measuring point value is output.
Measuring socket 2 is wired to output channel 6 in the case of the DRlSR submodule. Measuring socket 2 (and
also measuring socket 1) of the DRSlSR subrnodute are used to outputa random measuring point to analog out-
put channels 0 to 7, since global assignment of the measuring sockets takes place in the case of this submodule,
(see Section 4.1).
4. Programming Instructions
Both the limits are assigned two bits. When the upper limit is crossed the "upper limit crossed" bit is set, otherwise it remains reset.
When the tower limit is crossed, the "lower limit crossed" bit is set, otherwise it is reset (Fig. 4.t5).
4. Programming lnstructions
t Setpoint
Lower limit
loo%--
1 Setpoint
Time
i 2 Setpoint sequence
:liondescription:
mpling time (TA) driven setpoint sequence Xa(t) is generated from i = 1,...,l0 setpoint interpolation nodes CON SOL (1) ,...,
4SOt (i).
options are available:
aircase waveform:
t 3.1= 0 is set, the output variable Xa is equal to the last setpoint CON SOL (I) until the period between 2 successive setpoints
N Ti (>TA) has expired.Then, for the duration CON TI of the next period, Xa = CON SOL (I+1) is output (Fig. 4.16).
near interpolatedwaveform:
it 3.1 = 2, then linear interpolation i s carried out between successive setpoints (Fig. 4.77).
etpoint generated in this way is continued cyclically after the expiry of the period TPER = N - CON.
:onstant setpoint Xa = CON SOL (l) is output in case N = 1, regardless of the values of CON TI and bit 3.1
:strictions:
7it 3.1 = 1 (case "linear interpolation") the following additional assumptions are made:
stween the setpoints CON SOL (I) and CON SOL (I+ l], a linear approximation given by the straight lineequation isalways used:
Xa {M.TA) = [CON SOL (l+2) - CON SOL (l)]- MIP + CON SOL (l), M <= P,
{here MaeTA is the time since the last setpoint CON SOL (I).
;ONSOL3
>ONSOL2
=Xa
--- - -
I
I -..
I
1
1
1
CONSOLl . I
1 I
I
1
I L I l l
0 TA KON T1 TPER T
Fig. 416 Staircasewaveform setpoint sequence (barnpie N=3)
4. Programming Instructions
xa j,
CONSOL3..
CONSOL2
I l l
0 TA Tl TPER I T
1 =2.TA 1 I
l l i
M=O M=O M=O
Fig. 4.17 Linearly interpolated waveform setpoint sequence (Example N=3)
Symbol:
CON
CON TI TA SOL N Bit 3.1
T ------m--
>I SETPOINT SEQUENCE I ---------> Xa
1 l
4.11.6.3 Functiongenerator
Function description:
Afunction described in a table is used to generate a function valueXa = F(Xe) from a given abscissa valueXe within the interval X(l)
5 Xe 5 X (N)using iinear interpolation.
The function can be defined by N = 1, ...,l0 pairs of values [(X)], F(I)], where the N abscissa valuesX(I), ....,X(N) define a strictly rno-
notonous curve starting with the abscissa value of the first interpolation node CON STA and with a period of CON SCH between
the interpolation nodes, i. e.:
The corresponding ordinate values should be specified in the sequence CON (l), CON (2),..., CON (N).
v
Definition period of the function
Fig. 4.19 Linear interpolation
Procedure:
A given value Xe is compared successively with the selected abscissa values, until the abscissa values X(L) and X(R) of the
neighbouring table interpolation nodes are found. Then the function value is calculated according to the straight line equation:
-
Fee) = F(R) F(L) O(e -X (L) ) + F(L)
X(R) X(L)-
Note:
Due to its use as a setpoint, the function value outside the defined interval is defined as fotlows:
* Xa = F(1) for Xe t X(1),
* Xa=F(N) for Xe>X(N).
4. Programming lnstructions
Symbol:
N CON STA CON SCH CON(l), ...,CON(N)
I I I I
I l 1 I
I l I l
+---+----+----+----+---+
I I
I 1
I I
Xe ----m---- >I FUNCTION GENERATOR 1- --------> Xa
I I
l I
l I
+----------------------+
Fig. 4.20 Symbol of the function generator
".
Typeof variable Symbol Description Number format Numerical range
Parameter N Number of equi-distant nodes no unit 1 ... 10
CON STA Abscissa valueof thefirst nodes variable- -100% ... +loo%
dependent
CON SCH Distance between neighbouring nodes variable- -100% ... +loo%
dependent
CON(1) Ordinatevalue of the first node ' variable- -100% ...+loo%
dependent
CON (10) ordinate value of the tenth corner point variabie- -100% ... +loo.%
dependent
411.6.4 Averaging
Function description:
The new averaged output value Xa is generated from the input value Xe (i.e, actual value), which may be falsified (due to
"ripple"), using the old (averaged) output value X,, as follows:
t
1
_.
(k-1) - TA k . TA
Block symbol:
l i
I
I I
XP ---------> I AVERAGING I--------- > Xa
1 1
I 1
I I
+----------c-------- +
fig. 4.22 Symbol of the averaging function
In addition the previous value Xv is stored in the block. However this value is not accessible to the user.
4.11.6.5 Plausibil*kycheck
Function description:
Any interference which causes a difference between two consecutive sampled values Xekl, Xek to be greater than a specified
(physically meaningful) value CON ZUL is suppressed.
The current output vafue Xak is calculated as follows:
(1) Xak = Xek for [ Xek-Xakl l 5 CON ZUL,
(Xakl-Xa k2) + (Xa k2-Xa k3) -
(2) X a k = X a k l + 2
3 l
-
-- Xakl --Xak3 for IXek-Xakll > CONZUL.
2 2
4. Programming Instructions
Xek notsensible;
1s d~scarded
If the difference is > CON ZUL for longer than 2 sampling periods, then the input value is interpreted as being permissible and the
output value is changed to the input value according to an expotential function.
--;z Permissiblevalues are not falsified by the plausibility checking (different t o averaging action)!
Symbol:
KON ZUL
l
I
1
+---------+--------- i-
l l
1 1
l
PLAUSIBILITY I--------- > Xak
CHECK
l
Note:
The minimum pulse durationT,i, can only be changed in the "Input" and "Output" modes, but not In the,controllertest.
4. Programming instructions
Xe
CON 4.6
CON 4.5
CON 4.4
CON 4.3
0"'
CON 4.2
CON 4.1
Fig. 4.25 Method of operation of the limit monitor for the maximum case N = 6 (with ascending sequenceof limit values)
CON 4.7
Symbol: (or 5 7 ) CON 4 ' CON 4.6 (or CON 5.1... CON 5.6)
1
I
I---------
I
' Bit 4.1
(or 5.1)
l I
MP NR ---------3 1 LIMIT MONtTOR I
+----------------h-- +
fig 4.26 Symbolof the lim~tmonitor
4. Programming Instructions
Parameter CON 4.7 (or 5.7) Number of specified limit values no unit 1 ...6
CON 4.1 (or5.1) Limit l variable- -100% ... +loo%
dependent
(or %)
Function description:
The ramp-function generator produces an output signal Xa which ramps up to the required setpoint W after a setpoint jump at its
input.
* The ramp begins e. g. at the current actua! value XS of the controller (see "Actuai value referencing") and ramps with the speci-
fied slope to the upper or lower setpoint W.
o If the setpoint is changed after it has been reached (ramp value is equal to setpoint), then the ramp is continued with the current
valid slope from the current rampvalue, exceptwhen the actual value is between the ramp value and the setpoint. In this case the
ramp starts from the actual value.
a If the setpoint changes before it is reached, then the ramp is started again from the current actual value or from the last ramp
value.
* In addition it is possibte by pressing the "higher" pushbutton, i.e. by setting input bit BIT HOE = 1, to ramp past the setpoint W
up to the maximum 100% setpoint, or correspondingly by pressing the "lower" pushbutton," i,e.by setting input bit BITTIE =
1, to ramp t o the minimum -100% setpoint.
As long as the "higher" or "lower" pushbutton is pressed, then the ramp-function generator ramps with the specified slope.
When the pushbutton is no longer pressed then the current momentary ramp value is frozen till a pushbutton is pressed again.
* The "higher" pushbutton always causes the ramp to go to more positive values, that is in the positive range with the "higher"
slope and in the negative range with the "lower" slope.
Similarly the "lower" pushbutton always causes the ramp t o go to more negative values, that is in the positiverange with the "lo-
wer" slope and in the negative range with the "higher" slope.
When both pushbuttons are pressed at the same time the ramp value remains constant.
n When the reset switch is activated (input bit BITLOE)thefollowing occurs: When the LOE bit isset, the ramp-function generator
is switched from setpoint manual mode toautomatic (i. e., the setpoint is approached via the preset parametersTn,TR andZUW),
provided the HOE and TIE bits are set.
* If the setpoint W changes when the "higher" or "lower" pushbutton is pressed, then the new setpoint is targeted only after the
pushbutton has been released and the reset switch has been pressed.
4. Programming Instructions
The main function of the ramp-function generator is to smoothen setpoint jumps and to travel to setpoint at a predefined rate of
change.
With the aim of reaching the setpoint as quickly as possible, the actual value can only be used sensibly in certain cases as a
ramp starting point after any switch-aver ("reset", setpoint change):
Otherwise starting the ramp at the current actual value leads to an unnecessary jump in the ramp value which is the effective set-
point and causes the ramp value to target the setpoint after a delay, see Fig. 4.27.
Fig. 4.27 Actual value referencing in the ramp-function generator during "switch-over"
In practice another operating state can occur, which makes actual value referencing necessary: i. e. power failure. If, for example,
during a very slow heating process which must be ramped up during one hour, the power supply fails after half an hour for a long
period of time, then the actual vaiue sinks far below the last ramp value.
On power restoration, the ramp should be continued at the current actual value and not at the last ramp value. Otherwise the sud-
den large control deviation causes excessive heating ("overshoot").
For this purpose the ramp-function generator must be able to detect a power failure, since none of the "switch-overs" mentioned
occurs. A central power fault bit does not solve the problem, as in this case a controller with a sampling time of '10minutes may only
be executed 70 minutes after power restoration, i. e. it could only then determine that a power failure has occurred. For other con-
trollers with shorter sampling times, however, this bit must be reset much sooner, otherwise they would always react t o that bit.
For this purpose the actual value referencingis implemented in the following way: After power return the previous values of the set-
point and the ramp-function generator are reset. Since W 0Wow= 0, actual value referencing takes place compulsorily for the
next execution of the iunction. Therefore, after a power failure, the ramp starts at zero or, if valid, at the current actual value.
4. Programming Instructions
1 I
Power failure Power restoration
- Ramp start at actual value
Fig. 4.28 Actual value referencing in the ramp-function generator after power failure
Symbol:
xs ----------> I I . 1
1
Binary BIT HOE "Higher" bit, BH = 1 causes positive ramp Bit 0/1
input BITTIE "Lower" bit, BT= 1 causes negative ramp Bit 0/1
signals BITLOE Reset bit, BL = 1 causes matching of the ramp value Bit 0/1
to the setpoint ifthe HOEand TIE bitsare set.
4. Programming Instructions
Fig. 4.30 Relationship between the ramp-function generator user parameters TH,TR. ZUW and theeffect of thed'higher" and "lower" pushbuttons.
4.11.7.8 Filter
Function description:
For filtering an analog variable Xe, a first-order delay stage (V21 stage) is available with the transfer function:
Procedure:
tn order to implement a discrete filter, the time domain representation is transferred into integral notation
Xa (t) + TVZ . Xa (t) = Xe (t)
If the trapezoidal approximation is used for both integrals t = k-TAandt = (k-I)TA and the resulting two equations are subtracted
from one another, then the solution for output variable Xak gives the following equation a t the sampling time t = L-TA:
2-TVZ-TA TA
Xak= Xak 1 + (Xek + Xek 1).
2-TVZ+ TA 2 - N Z + TA
One arrives at the same result, when S = (2flA) (z-1)/(~+1) is substituted into the complex transfer function and the inverse
z-transformation is carried out.
If one uses the less accurate rectangle approximation for integrating Xe, then one obtains the same basic iterative equation used
in FB 97 in Catalog ST 56.
2-TVZ - TA
Xak= (Xakl - Xekl) + Xekl.
2 . W + TA
This form which only requires one block parameter is also used here in order to prevent the dead time in the Xe sampling, with the
following modification:
Symbol:
Tvz
1
l
i
l
+---------+---------+
I f
I I
1 I
xSk >! FILTER , I -------m- > Xak
I I
1 I
L I
in addition the following variables are present in the block, which however cannot be accessed by the user:
Function description:
The equation for the relationship between the control deviation x, (t)and the manipulated variable y(t) of the continuous PID con-
troller in the time domain is given by:
This equation is emulated by a quasi-continuous PID controller where a manipulated variable increment dYk is calculated from the
control deviation XWk using the PID velocity algorithm. The manipulated variable Yk is output as the sum of the previously gener-
ated increments.
-
The switch-over between various operating modes is carried out via binary signals B1 87.
Procedure:
A parallel structure is implemented (see Fig. 4.32)where the factor R, the integral-action timeTN and the derivative-action timeTV
can be adjusted separately. In addition the proportional factor of Kp can be entered as a parameter which influences all 3 parallel
branches.
PID v e l o c * algorithm
~ (with traperoidal integration):
where
Dk=0.5-[TVnA. (XWk-XWk1)-(XWk1-XWk2) +Dk7].
Here Kp, TN, TV are the actual PID controller parameters. The trapezoidal integration was selected since it gives a more exact re-
presentation of the continuous integration when used in a PI controller.
To switch off one of the controller branches the corresponding parameter (R, TN, TV) is set to zero. Setting TN =O causesthe Icorn-
ponent t o be switched off which is not explicit in the quotient T N N .
4. Programming Instructions
B7
V_/ 1
C)-
n 0
XWK
- Yak
>
i -B-
PID controller
(HA) B1 : 1 = Automatic, 0 = manual operation
(S 1.2.3) B2 : 7 = Separate D input. 0 = XWk as D input
(BIT IR) B3 : 1 = Ideal, 0 = real PID controller
(BITST) B4 : 1 = Hold m. v. constant, 0 = not constant
(S 1.2.2) B5 : 1 = Disturbancevariable modulation, 0 = none
(ST2) B6 :1 = Standard version, 0 = extendedversion (not markedhere)
(BITRF) B7 : 1 = Controllerdisabled, 0 = enabled
B8 : 1 = Switch for prevention of integral wind up (only used by program)
Fig. 4.32 shows the structure of the PID controller with the switch-over options for the operating modes which are described in de-
tail below.
Basically one can choose between a standard version (ST2 = 1) and an extendedversion (ST2 = 0)of the controller.The simpler
standard version has the following differences over the more general extended version:
* One can switch over to manual operation (signal HA). The manipulatedvariable is then matched to the adjusted manual value
YHk according to an exponential function.
+ The input for the D component can be selected from eitherthe control deviation XWk or a separate input variable XZk (signal
51.2.3).
+ The D component can be calculated with or without delay (signal BIT IR) corresponding t o a reat or ideal PID controller.
* The m. v. increment can be set to zeroindependently of the control difference so that themanipulated variable is held constant.
This is used e. g. forthe opening up of a cascaded control loop (signal BIT ST).
* In order t o compensate for a measurable interference signal Zk as early as possible, the interference signal can be added as an
increment df K to the calcuiated manipulated variable increment for disturbance variable compensation (signal S1.2.2). The
measured interference signal musl be inverted before being input to the controller, otherwise, without inversion, it would be
added to the manipulated variable.
* During operating mode switch-overs no unpredictable manipulated variable jumps can occur due to the precautions which
have been taken in the program and the internal velocity algorithm used, especially in the case of manual/automatic switch-
overs. A control difference set during manual operation will only be controlled to zero by the I component after switching overto
automatic.
In a controller without an I component, however, a control deviation set during manual operation is retained after switching over
to automatic operation.
* The rate of change of the manipulated variable, i. e. the manipulatedvariable increment, can be limited with A+ and A- which is
useful f o r a slow actuator. The portion cut off by the limiting is stored and to prevent any information from being lost is added t o
the value at the nextsampling period.The resulting increment is then again subject to limiting.
The manipulated variable can aiso be limited using the parameters B+ and B-.
* When the manipulated variable limit is reached, the t component is switched off to prevent integrator wind up.
* If the manipulated variable crosses the limit, the overflow b i t UE+ or UE- is set.
t BIT RF represents a controller enable signal. If this signal is 0,then the manipulated variable is output as zero, regardless of the
state of the controller inputs. If the signal becomes 1, then the controller reacts with a manipulated variable jump at the output
(caused mainly by the D and P components) corresponding t o the instantaneous control difference, as if a setpoint jump had oc-
curred at the input.
This allows the controller t o be enabled and disabled on-line.
Symbol:
Procedure:
The function input variable is the value calculated by the PID algorithm and limited t o 2 100% i. e. the maniputated variableyk.
-
During the first call of the "on" "off" output function when the manipulated variableyk is calculated, it is first compared with the
threshold value ASW = 0%, ..., 50%:
If lYkl < ASW, no pulse is generated.
If lYkl> 100% -ASW, a pulse of the maximum length TA is generated, i. e. the number of individual pulses isTA/Tmin.
+ If the range ASW 5 lYkt 5 -
100% ASW, a total pulse duration (proportional to the m. v. Yk) or number of individual pulses of
minimum pulse durationTmin is given by:
ANZ = Yk-TAKmin
as in the "Step controller" (TA instead of TM) function.
A negative value of ANZ always means negative pulses, which however can only be output with a three-step output stage.
If only a two-step output is configured this means that only one analog output (DAC) is used, which is assigned to the positive
pulse. In this case the heating can only be switched on (DACI = 10V) or off (DAC1 = OVJ.
With a three-step output however, again in the case of ternperature control, 3 control states cat1 be implemented:
- D A C l = OV, DAC2 = OV==>OFF
-DACl=?OV, DAC2= OV==>HEAT
- D A C l = OV, DAC2= 10V==>COOL
In order to prevent possible stronger control interventions on the cooling side as compared to the heating, a heat/cool factor or
general matching factor APF = 0, ..., 99.99 can be used in the three-step controller.
Consideranexample where 10 seconds of heating increasesthe ternperature by 2 degrees whereas 10 seconds of cooling reduces
the temperature by 4 degrees. Therefore the heating effect is only half as powerful as the cooling. Due to the matching factor APF
= 0.5, theanalog output assigned to the cooling is only set to 1 for a period half as long as originally determined by the value ANZ.
Please note the threshold value forthe cooling output must be reduced by the same factor!
4. Programming Instructions
Generalization:
By definition, the matching factor refers to the analog output DAC2. If the value range of APF is extended to values >l, in order to
include the possibility of larger control interventions for heating as compared to cooling for example, then the effect of the
matching factor APF > 0 is defined as follows:
a APF < 1: The total pulse duration determined by ANZ a t the output DAC2 is shortened by the factor APF.
* APF > 1: The total pulse duration determined by ANZ at the binary output DAC1 is shortened by the factor l/APF.
ANZ
TA/Trnin
t
l
4
-100%
m
-ASW I -
Yk
I 100%
1
1
1
I
t
l
I
I -fA/Tmin
Fig. 4.36 Method of operation of the matching factor APF > 1
4. Programming Instructions
After the value ANZ is calculated during the first execution of the block, it is then only evaluated and, if required, updated during
subsequent executions of the block till the nextexecution of the controller. The analog outputs DACI and DAC2 are set according
to the current value of ANZ.
Notes:
- Avalue (e. g. remainder after updating) I ANZ I < 1 is lost.
- In contrast to the step controller, a controller with "on"- "off" output generates pulses during the steady state of the manipu-
lated variable Yk.
Symbol:
l I
1 I
I I--------- > DAC f
'fk ---------> I "ON" - "OFF"OUTPUT l
I 1-----___- > DAC 2
! I
I I
+------------------- +
In addition, the following variable is present in the function, but not accessible t o the user:
AN2 At function start: the number of pulses to be output with duration Tmin is calculated during the first execution. Atthe end
of the function: number of pulses not yet output.
Note:
The minimum pulse duration T,, can only be changed in the "Input" and "Output'' operating modes, not i n the controllertest.
4. Programming Instructions
Procedure:
The control difference XWek goes first through a dead band stage with hysteresis, in order to filter out small control deviations
and to protect the actuator.A positive or negative analog value XWek can be suppressed in a symmetrica[ predefined range around
the zero point.
/h Dead band
The limits at which the output valueXWk isset to O or equal t o the input valueXWek (hysteresis) can beselected with the parameters
AN and AB.
AmanipulatedvalueincrementdYk is calculated from the output variable XWk of the dead band stage using the PID velocity algo-
rithm:
G- K p k I)
+O(VVk + XWk l) -W(2 T N ) + Dk] 1
where
4. Programming instructions
Manual input
dYH
L Xold
TA X Pulse
DB generator
i A
I
j --
S-N 1 D \
TA 7 + s.TA 1
L I J
iTEP CONTROLLER
P; = Propohonal constant, TN integrai-actiontime, TV = derivative time
rA = Controller sampling time, Tmin = minimum pulse duration
FM = Actuator positioning time
Nk = Setpoint, Xk = actual value
Wk
X
S 1.5.1
-
= Control deviation after dead band, XWek: before dead band
Numberof single pulses of dui-ationTmin to be output
= Automatic operation (= O), manual operation (= 1)
BITRF = Controller enabled (= l), disabled (= 0)
B[TTOT = Dead band active for I cornp. (= 0), inactive (= 1)
BIT HA1 = Manuaf input active (= l), inactive (= 0)
Fig. 4.39 Structure oithe step wMroller
Here Kp, TN,TV are thecontrol parameters of the PID algorithm. Normally TV = 0 is selected as a parameter, i. e. only a PI algorithm
is selected, since a step controEler is normally only used in slow plants with slow acting actuators.
In the pulse generator, the pulse duration proportional to the size ofthe manipulated variable increment dYk is calculated and
transformed into a correspondingnumber of binary control signals + 1 (clockwise rotation), - 1 (anticlockwiserotation) or 0 (stand-
still) for controlling the actuator drive.
The relationshipbetween the pulse duration Tk and the manipulatedvariable increment dYk is given in Fig. 4.40:
M. V. increment
t
Since there is a possibility that all X pulses cannot be cutput during the time TA (sampling time of the PID algorithm), the value X
calculated at the time k-TA must be added to the remaining value X.
The new value X is then transmitted to the pulse generator stage.
For 1x1c 1 the minimum pulse duration Tmin is not reached, therefore no pulses are output.
For IXI 2 1 the pulse generator stage outputs a pulse of length Tmin each time it is calied and decrementsthe magnitude of X by 1
until IXI < 1.
After switching over from automatic to manual (switch 51.5.11, a manualvalue dYH can be entered via a manual input A number of
control pulses corresponding to this manual value is calculated per sampling period, which is then processed further during auto-
matic operation of the pulse generator.The manual valueis actually only operational if HA1is set (manual input active). With the help
ofthis bit however it is possible to bring an actuator under rnanuaI operation to a predefined position (without the bit HA1the actua-
torwould travel into the limits without stopping for a fixed manual value o 0).
Precautions have been taken which prevent longer pulses being generated when switching over to automatic operation. A control
deviation set under manual operation is therefore only controlled to zero via the I component.
In automatic operation it is also possibie to make the dead-band inactive for the l component using the software switch TOT, i.e. to
calculate the I component with the actual control deviation XWek.
Bit RF represents the controller enable signal. If this signal is 0,then no pulses are output regardless of the state of the controller
input. If the signal is set t o 1 then the controller reacts with a number of pulses which corresponds to the current control deviation.
In this way the controller can be enabled and disabeld on-line.
Symboi:
ihV AB
I I X(old) l I I 1 1 ! I l . .
..... .I,. ,l.. . . . . . . . . . . . I . . ... . l . l. 1. I . I *I. I . I . . ..
1 1 I I I l t l l l l
1
1
: t
I
1
->l
+ : : : : : : : E +
I
.
.
l I M I I .
XUek )I DEADBAND 1 >i STEP CONTROLLER I ) X
l I ! 1 .
I I >- 1 1 .
+ b I + + I
1
....................+.I.....................*
I
Fig.4.41 Symbol ofthe step comrolber YHk
Note:
The minimum pulse durationT,i, can onty be changed in the "Input" and "Output" modes, not in the tontrollertest.
4. Programming Instructions
When these signals are output the analog outputs remain set forthe time specified by the total pulse duration IXI ~Tmin.
One should consider the following:
- The minimum pulse duration Tmin should be smallerthan the sampling period TA of the control loop in order to achieve
maximum control accuracy, where
TA = n .Trnin, n = 1,2,3, ... and thus alsofmin <TA < TM.
Within the sampling period TA, up ton pulses with the minimum duration Tmin can be output consecutively.This means that the
pulse generator program is processed within the timeTA exactly n times.
- For IXI C 1 the minimum pulse durationTrnin is not yet reached, therefore no pulsesare output.Thevalue X however is not lost, it
is added in the next sampling period to the new value X.
-'For 1x12 1the pulse generator produces a pulse of duration Tmin at the corresponding output each time it is called and decre-
'
1
I Tmin I
I I 1
1 -. I
I 1
I I I
X = 3.7
I X = 2.7 l X = 1.7 X = 0.7
II X: = 0.7+ X
I
I I 1 t
0-J
k.TA (k+ l )=TA
Fig. 4.42 Example of puise geneation
Symbol:
+-------------------a
I 1
I 1
t I----- > DAC 1
X --------- >l PULSE GENERATOR I
I I----- > DAC 2
BA --------- >I I
BZ -------W-
>1 I
Note: The following, additional method of operating the step controller manually is not illustrated in Figure 4.43:
The puts generator has two additional binary inputs, the "Actuator open" and "Actuator closed" keys.The functionsof both
keys are transferredvia the SS CPU t o the 1P252. Neither of these keys i s accessible in the COM REG programmersoftware
or in the standard function block FB:STEU:STD in Section 5.1.2.
In contrast to manual mode with constant manuai value (CON HA), the output of the step controller is controlled direct
here:
BIT 1.5.HA.Z = 1 -->Manual mode "Actuator closed"
BIT 1.5.HAA = 1 -->Manual mode "Actuator open"
For this type of manual mode, the following bits must be set:
BIT 1.5.RF = 1 (to controller enable)
BIT 1.5.1 = l (to manual mode)
B[TI.S.HAI = 0 (to manual value "CON HA" non-active).
In section 5.2.3.1 there is a description of the transfer of both "HAZ" and "HAA" keys from the STEP 5 program in the CPU
to the lP 252.
4. Programming Instructions
4.11 Description of the Standard Controller Structure (SR)
1 Verslon number I W 1
..............................................................................................
I I ( s t 5 l l free ) I m 5
\ C.r---+r----f-----C----C----2--+----d-----+----&----+-----L---*-----.-----+-----+-*---+**--
I 1 ( ~ $ 1 f1r e e ) I
I +---*-+-*--*+-----+----C-----+-----+---*-+-----+----+---*-+----.+-----+-----+-----+*-*--++----+-----+
I ( 32 btts f l e d - p o l n t ) cur) 1 W 9
+-----++----h----+-----+-----+-----*----+"+-----+r-r--+--,,,+.----+-----+-----C.---+-----+
1 T l u f o r v t code for TA i DH 11
C"-rC*---C----C--rrC--------C-----------*+
E ! of t h e ftdnQard colltrollcr I Du 19
V I k l ~ potnt
1 CO& (- number of d e c l e a ~places) I OU 22
-------+----"+-----+----~+-~---+-----+-----+-----*-----*-~~~-*-----+~~~~~+~~~~~+~~~*~+-~~-~+-----+~~--~+~~~~~*~*~
4. Programming Instructions
Data
mrd
address
I
l
15 14 13 12 11 10 9 B 7 6 5 4 3 2 1 0 Y
.......................................................................................................
c0nfig-l I l l I 1 1 I I I l I I t l I ! W 2 3
# r i n g +-----+-----+-----+.-----+--.---+-----+-----L--.-+----+-----+-----+-----&-.--+-----+-----+-----+
switchesl I I I t I I I I I O u 2 4
...............................................................................................................
1 I I n t m a l tlse TINT [ DU 39
I +*--*-+---*C--*-+-*---+-----+-----+-----b----+-----*----+-----C-**-+--*--+---.+--~--+--~--+
I 1 1. SctpO(rlt W1 (W. u n l t ) I W QI
[ +-*---c.-.-c----+-----c-----*----CC~C-C~~-C"C~~~~*-~*-~*-+-+-+-+-~+~+
P I U. Sttpofnt SW (U. u n f t ) l w @
0 +-----+----"c--*-+*--*-c-*--+--*--+-----+-----+-----+-----c--.,+~~~~~C~~.-c--,*c,,.,
I 1 5. Setpolnt S6 (W. u n t t ) ] DU h5
Y +-----+~----+-----c----+--~~~+.~,--+*--~----C--*~*~~+-----+-r--C----*-----c-C-C+-~*-*C*---+
Data
word
address
1
l5 14 13 12 l1 10 9 8 7 6 5 4 3 2 1 0 V
1 +-----C----+-----+-----+-r---+-----~-----+-----hhh--**+++*-+----*+----*+--r--+
1 1 T i w f o m t code for tR 1 DW 54
- - - - - + - - - [- - +
V l CON ZW ( ~ r d l n a t e safter rampup tire +s out. with unit) I i
w 55
-------+-----h----+*----+-----+-----+----r+-----C---*C----+-----+-----+-----+-----+--*"*+-----hhhhh+-------*
Data
ward
address
I
15 1 4 1 3 1 2 1 1 1 0 9 B 7 6 5 4 3 2 1 0 V
] +-----+-----*--r--+--***+*----+--*--+-----*---*+-----+---*+**---+-----+-----+-----*--.-+*.---+
I I Separate selectable galn R of the P component (for extended version) (without unlt) I DV 74
L 1 T h e f o m t code f o r TH I W 89
L c--*-~----c----+-----+--**-+-----+-----+-----+---.-c--~-+.-~-.+--.-~*--~--*~---+.--.~+
E 1 Upper nspoasc tivreshol8 AN of the step controller dtad zone (U. unlt) ~w~
R +-----+,,---c----+-*---h------+-----+----+-----+--*-&----+--~--~--*-+--~--+-----c-~
Data
word
address
I
1 5 1 4 1 3 1 2 1 1 1 0 9 8 7 6 5 4 3 2 1 0 V
I I O
W 106
+-r--+---+---+---+--.---+---+---+---+--"+*--+
I I W 107
+*----+----.+-----+-----*--.-.+-----+-----+-*---+-----+--"*-~-*--L----+-----*-*---+----~+-~---+
I i ov loa
...............................................................................................
1 I DU 109
+-----+-----C---*+*---+-----+--+--+-+
I I Du l10
+r----+-----C----+-----+-----+-----+-----h----C----+-----+-rr--+-----C----+----r+------+.**-*+
I I W l11
+*---*+*--*&+-----+-----*---r-+-----C---r+l----~----+-*---+--*-+-----+"-+-*--+
I j OUl12
( +-----C----C---r+*----+--*-.h-h----------*---"+
1 ! 1 W 113
I h~---C----Lr---*.----+-----+-----+----+-----C~~~~+~-~~~+~-~--CCCC&~--~-+--
I I 1 U4 l l b
I +--r--+rr---C----+----r*r-r.-+-.---+----rC----+-----+--+--+-----*-----+--*--+~---~+-~-*-+
V I ! DV l l S
-----.-C---*C----+---*-~--*~CI---~+-----t-----+-----+-----+---~*+--*~+~---~+*----+-----C----C----C--C~CC~C~C
Data
nore
+-----+----r*-----+-----+-----+-~--C-~.C-.k~~-+-----+--~~r+rr+r.r+rr+rC~~~CC-*-C+--~~~+~~~~~~-~~~-t
1 I W143
-------+....-..-...L ~-~~*~~~*~..~.~..~..~~--.+-~.-C-C..~~~~.~-C-~~C~.C.CCC...-C~~
I I 1 W146
+-----h---*----+-----*,----C----~--h*---+-----+----+-----+-**-+----*-----k----*----+-*---+
Ad- I I DW 147
qnsgesc*---+* --A- ----- *.---&---*---+
c*---+ +----c---c---k----+----+---C----k*---*----h
o f the I I W148
PIP C - - - - + - - - - - + - - - . r C - - - - b - - * - c - - - - - C -
of t h e I I W 149
4. Programming Instructions
Data
mrd
address
i
1 5 1 4 1 3 1 2 1 1 1 0 9 B 7 6 5 4 3 2 1 0 V
..............................................................................................
I I 1 DU I52
I +---r-+--*--+-----C---~+~.---+----r+.----+-----+**---+-----+----*-----C---r+-----+-**~~+-----+
I I I OW 153
I +-----+--r--+--.*-*-----+--*--+****-+----.+-----+-----*-----+--*--+-----+--**-+*----+-----+-----+
I I A d d r e S S of the PIP of the 1st wasuring socket (OK 3) I DU 154
1 .................................................................................................
V I A d 3 r e s s of the PIP of the 2nd wasurlng sacker ( O K 4) 1 OM 155
-.-----+.---~+rr---+--~11-1-+-----+-----+--~-.+----~+~~~~.+~-~~~m-.-.+--.-l+l--.--+-----+-----+-m--.+-m~.-+.-_-----
+---*-+-----+-----+-----+-----+-----+-----+-----+-**--+-*---+-----+-----+-----+---.-*+-----+-----+
1 1 nw 159
--l-*-r-+-----+-----+-----+r-r"*+***--+---*-+-----+-----+~-*-+-----C----+r*-*r**-~--+-----+*-r--+.*r-.+
and 1 Range ME: 1st byte ] Range mm: 2nd byte I DM 164
visual+ +-----+-----+-----+---.-+----.+,,,.,+-----+--,,,+-----+-----+--*--hhhhh+-*---+-----+---.+-----+
satqon I Range oar: 3rd byte I Range name: 4th byte I DM 165
for m + - - - - - + - - - - - + - - - - - c - - - - + - - - - - + - - - - + + - - - - - + - - - - - + - - - - ~ . + - - - - - + - , , - - c - - ~ - + - - - - - + ~ ~ - - - ~ +
MLIP 1 - Range me: - - 5th byte I Range name: 6th byte 1 W 166
sub- + - - - - - + - - - - - h - - - - + - - . - - - c ~ * - - P - + - - - - - + - - - - - b - - - - + - - - - - +
I 1 W 173
*r---+-----C----+-----C--*--h----+---c---4---*4*--d-----+--*--C-*--+-----+-----C---r+
1 I W 174
+ - - - - - C - - - - C - - - - + - - - * - c - - - - - + - - - - - C -
f I W l75
4. Programming Instructions
Oata
word
I +--*~~+~~*~~+*****+*--**+**~.~+~-*~~+~~~~~+--~--+-----+-----b----+~-r-~+-r
1 I I OW l78
I +-----+-*---C----+**---+-----+--*--+-----+-----+-----t-----+-----+-----+-----+---*-L----+----+
1 P I 1 of t h e input b.lt variable word (relays and b t t s ) se below for meaning I OW l80
mdule I Rangc name: 7th byte I Range nsr: 8th byte I W19Q
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
t I WMO
*-----+-r.--+----rC----+-----+-----------+-----*----b----*----+
I 1 W201
..............................................................................................
I 1 W 202
4. Programming Instructions
Data
word
aDdresS
i
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 V
................................................................................................
I 1 DW 206
.................................................................................................
I 1 DU 207
-
*
C
I
.
-
+
.
C
.
+I
.
-
+
.
~
*
L
+
I
.
-
C
~
-+
.
~
.
C
~
+
.
U
I I [ DU 210
I + ~ - r - - + - - - - - C - - - - + - - - - + - - - - - + - - - - - + ~ ~ ~ * ~ + ~ ~ ~ ~ - + - - - * * + ~ * - - ~ * - c - ~ - + - ~ ~ ~ ~ + * . - ~ + ~ ~ ~ ~ ~ + ~ ~ + - ~ ~ + - - - - - + - - - ~ ~ +
.I I I m211
I *-----+--r*-+-----+-----C--.-+---*+*-+*-*--*-----+-----+*-*-~+-----+,"~~-+---~-+--~--+-----+
PIQ 1 1 OW 212
of the c----+-----+-----c----+-----+-----+-----+---.-+-----+-----+-----b----+-----+----&----+-----++----+
ourputs 1 I ow 213
] +-----+-***-+-----+-----+-----+-----&----+--*--+----*+**---+~~~~&**--+--~~~+.~---+-*--*~.*~.+
I I I DW 214
+-e-t-h----+-----+---r-+--+---r-h--+---*-C----C----+----*+---4----*----&---.+-----+-----b----+
! 1 OU 215
+-r---+-----+----rh----C--+--+**---+-----+--*-*+*---A--*--+--*--+----+.*~*-+-~*~+-----**-*-**
I GU 216
+-----,-----C----h----+----d-----+----+-----+-----+-----+-----+-----+-----+-----+-----+-*---+
1 1 DW217
+-r---+----b---C----+-**--C----+--+-----+-----+-***-+----r+~~*r+r+C~CC~+-----C--C~CCC~+~~---+
Data
ward
address
I
1 5 1 4 1 3 1 2 1 1 1 0 9 8 7 6 5 4 3 2 1 0 V
................................................................................................
1 I DY 2%
+*----+--*.*+-----+---r-+-----+-----h----+-*--~+-----+-----+----*+----r+-r.*-+-r*-r+l--*-+-----+
I [ DW 231
-------+m ...r+..r..+....-+m...+....+.--..+-.---*----+..---+.----+----+....*..*~..--~.---w-**-~--------
Oata
WD?Q
1 I I 1 1 I I i I I I 1 I I l IRBVIDW7
.............................................................................................
I I 1 I
I j +---D S1-3.1 1 I +---S SP.2
I l l lSl.1.1 1 1 1
I I I +--->-51.2.1 I [ ] +---,S2-1
I I I I is1.s.r 1 1 1 1
1 5 1 4 1 3 1 2 l i 1 0 9 8 7 6 5 4 3 2 1 0
+-----+-----C----+----.+.---+-*-*-C---*+--r---*-+*----+-----+r----+---,-+
I I I I I I I I I I I I I S ~ ~ ~ S T ~ I S T I I ~ Z ~
+----"+--~--+-----*-----+-----+*"-~-CCCC-+-----+-+-+-+-+-+.~~~~*---~~+*~~--+--
I I I I
I I +---a 53.1
I l l
I i +--->u.z
I I
1 +---a 51.2.3
l
51.2.2
c-->
I
+---> B l t 3.1
4. Programming f nstructians
Data
B
i
t variables of the PII: word
address
'Pulse amp-up
converter' gencrrror '
+.-.-~+-----t----~+-*---+----*+--*--+-----+-----+-----+----**--~~~+-----+.~*--+-----+-----+--*--+
S t a t u s word of t h e controller
Bit or binary variables in the PIQ area indicate specific signal statuses of the controller.They can only be changed from the struc-
ture program.
TOT1 : Switch for selecting the input variable for the I component of the "Step controller":
0 = Dead zone forthe 1 component effective.
1 = Dead zone for the 1 component ineffective.
AH (RL4) : Automatic/manual transfer in the ease of the "PID controller" or "Step controller":
0 = Automatic mode
1 = Manual mode.
IN0
-
: Bit for setting the control increment t o zero in the case of the
0 No effect
1
"PID controller":
The structure contains ail functions required for controlling a drive, except for the current controller and the power stage. This
means that depending on the requirements of the user, a speed contmi system (e. g. for mills, turbines) or a velocity control
system (e. g. for paper machines, foil machines) can be implemented.
The drive controller structure (Fig. 9.1) consists basically of two cascaded closed-loop controllers. Parameters can be as-
signed to each ofthe controllers of P, PI, PD or PID response.fheouter loop controller (9) is used e. g. for position control, tension
control or pressure control. One shoutd mention at this stage that the numbers in brackets correspond to the branch no. ((5) P
branch 5). A velocity control loop or a speed control loop can be implemented using the inner loop controller (5).
The "DRS"structure on memory submodule 6ES5 374-0A311 is a further development of the drive controller structure ("DR")des-
cribed in Section 4.10. The Self-setting of drive controllers function (16) and the facitity far performing mathematical operations
(17) are both new developments. In addition, the eight possible control loops of the IP 252 are user-configurabie(Section 4.12.2).
The actual value (10) (actual speed value) can be input either as a tacho voltage via the AID converter or via a counter input. A
smoothing module is used for suppressing any resonances. in addition, the high frequency disturbances to which the controller
cannot respond are kept away from the PID module (10).
The display function (10) permits amplification and display of the akernating component of the actual speed value via a measuring
instrument connected to the D/A converter.
In the case of the speed control loop, the actual speed value (10) is used directly in the inner loop (speed) controller (5). If a velocity
control is required, the current velocity is calculatedfrom the actual speed value (3) and transmitted to the inner loop (velocity) con-
troller as an actual velocity value.
The controller output, optionatly evaluated with a factor (4). forms the main component of the current setpoint.This evaluation of
the controller output produces a loop gain, as required e. g. during the field weakening operation of motors.
4. Programming Instructions
4.12.4Additional functions
- Two user connected limit monitors (12), (13):
Each of the limit monitors can be assigned to any desired signal (measuring point) of the controller structure.The limit monitors
contain 6 stages, which are specified via the programmers. The results of the limit monitors (overshoot or undershoot) are evalu-
ated by the logic control program of the S5 central controller.
- Four pre-assigned Iimit monitors:
These limit monitors support the operator communication and control concept of the compact controller structures.fhe results
of the monitors areusedforinstance by the CP 526comrnunicationsprocessorsas inputsforthestandard displays on theVDus.
The limit monitors monitor setpaints and actual values of the outer loop (9) and the inner loop (5) controllers.
The danger and the warning limits are specified via the programmerin the planning stage.
- Thermal monitoring of the motor (11):
Using the actual armature current a thermal monitoring of the motor is possible. If one of the switching limits specified by the pro-
grammer is reached this is communicated to the logic control program.
- Free assignment of the measuring sockets']
- User configurability of the control l o o p 8
- Internal branch function expansions in the branches
-- 3: Peripheralvelocity
4: Loop gain (field current monitoring)
- 8: Setpoint branch (ramp-function generator and actual value referencing)
- 9: Primary controller (actual value processing and controller output)
- 10: Actual value branch (digital actualvalue capture with IP 240)
- 11:Actual armature current (temperature display)
- 12: Acceleration compensation (decoupled from branch 3)
- New branches in the " DRS" structure
- Branch 15: Analog measuring point output
- Branch 16: Arithmetic
- Branch 17: Self-optimization of the speed controller
. The functions listed under "1)" and "2)" apply to both structures of the "DRS/SRU block and, therefore, also to the standard eon-
' trdler structure:
1) Free assignment of the measuring sockets
Both measuring sockets on the frontplate of the IP 252 module are used for disptaying two measured vatues. Which measuredvalues
(e. g. control deviation, manipulatedvariable, etc.) are t o be displayedwithin which control loops (1 to 8) is to be defined at the confi-
guration stage in the memorysubrnodule with the DWSI?structures.
Later changes can only be undertaken with the module in the STOP mode.
Wrth the DRS/SR memory submodule, on the other hand, the measuring sockets must be assigned t o the desired measuring points
during controller test, i. e. while the process is nmning:
For this purpose, the operator interface of the COM REG packagesoffers the "Measuring sockets" function as well asthe "Controller
test" function. With the "Measuring sockets" function you can assign MBf (DAC channel No. 5) and MB2 (DAC channel No. 6) menu-
driven t o any measuring point of the controller structure from controller Nos. 1 to 8. These assignments can be changed at any time.
The measuring sockets may only be activated if analog output channels Nos. 5 and 6 are not otherwise assigned!
2) Configurability of the control ioops
The memory submodule with the "DRS/SRUstructures supports the configuring of control loops 1 t o 8 t o master and slave control-
lers. Wherever an ADCn is indicated in Sections 8.2 and 8.3 of the configuration documentation, the following parameters can be
entered:
e.g.ADC6= Oto 7 IP 252- internal ADC channels
128to 254 Backplane bus addresses of the S5 analog I/O modules: only possible with the S5 115U.
R No. MP No. The R No. is the controller No. 1 to 8, and the MP No. is the No. of the measuring point oi this
controller structure.
4. Programming Instructions
it is thus possible to transfer, for example, the processed actual value of controller no. 2 to controller no. 3 as the setpoint. If both
controllers have the "DRS" structure, the following inputs are required:
The following value is entered, using the programmer, in the entryfield of ADC 6 (of branch 8 in controller no. 3):
ADC 6 2.12
If controller no. 2 is a drive controller (DRS)and controller no. 3 is a standard controller (SR),
the following value is entered, using the programmer, in the entv field of ADC 1 (of branch 3 in controller no. 3):
ADC l 2.12
The overview pages of Section 8 show all the branches of the drive controller structure.The shading in branches ?,S,and 10 of the
drive controller structure means that these branches cannot be switched off. These branches are always active! Exact represen-
tation of the structures can be found in the Appendix in Section 9 {Fig. 9.3).
Relay REL 1.1 is availablefor braking action. If the relay isactive,then DACZoutputs the current setpoint, which is linearly dependent
on the instantaneousactual speed value.This means that 0% is output as the current setpoint when 0 speed is reached.
Inputvariables:
- Current setpoint component from braneh 2
- Current setpoint component from branch 3
- Main current setpoint from branch5
Baking compensation:
- CON11 The constant influences the magnitude of the braking current
- MP12 Actual speed from branch 10
- RELI.1 When active, the motor is braked to standstill.
Output variables:
- DAC2 Current setpoint (manipulated variable) after limiting
- MP6 Magnitude of the braking current :
The actual speed value, multiplied by the constant C0Nl.l and (-100) is the braking current.
- MP9 Current setpoint before limiting
This branch can be activated with retay RE12.1 for compensatingfriction (stiction) forces. In order that the correct polarity of these
current setpoint components is maintainedeven when the direction of rotation changes, the constant 23 is multiplied with the sign
of the speed setpoint (MP14from branch 8).
Input variables:
- CON2.1 The constant specifies the magnitude of the current setpoint component
- REt2.1 When active, the current setpoint component is enabled
- MP20 Summated setpoint from branch 5
Output variables:
- The output from branch 2 is connected to the summation point of branch 1.
4. Programming Instructions
- CON3.l Constant for setting a threshold value for the difference between velocity setpoint and actual velocity
- CON3.TID Integration time constant of the diameter calculator
- CON3.DUG Lower limit of rolt diameter
- VAR3.1 The variable gives the diameter of a newly inserted reel. The 1P uses this diameter to calculate the current actual
diameter during upcoiling and downcoiling.
- REL3.2 This relay influences the output of the integrator. When the relay is inactive, the current diameter is always available
at the integrator output. When the relay is active, the integrator is set t o the value of variable 3.1.The diameter can
be reset at any time.
- Bm.1 If this bit is "O", the integrator is disabled.The output retains the last calculated diameter. If the bit is set t o " 1 ",the
integrator starts to work again from the last calculated diameter.
Output variables:
- MP15 Actual diameter of the reel.
- MP16 Velocity (to summator in branch S).
4.125.4 Branch 4: Loop gain
Function:
The output of the inner control loop in branch 5 is evaluated and gives the main component of the current setpoint. Depending on
the position of structure switch S4.1 various arithmetic operations can be carried out:
54.1 inactive: (division in branch 5)
The signal (field current) input through an analog input channel is multiplied with the constant CON 4.1 for standardization and dis-
played with limit indicators at measuring point MP18 for possible further processing. tf S4.2 is inactive, the signal is transmitted via
a characteristic. The characterisitic cannot be changed and is described in Section 4.12.6.5. This characteristic gives the approx-
imate relationship between the field current and the magnetic flux of the d. c. motor.The shape of the characteristic is selected to
fit a majority of the most commonly used motors (see Section 4.12.6.5)
54.1 active: (multiplicationin branch 5)
tn the case of velocity control, the actual diameter calculated in branch 3 (MP15) is entered. In both cases (S4.1 active/inactive),
the signal entered can be matched t o offset and gain via a straight-line equation (S4.3 active). Only if relay 4.1 is inactive will the
value calculated in this way reach branch 5. If REL4.1 is active, a constant loop gain can be given for start-up purposes using
CON4.2 (format: -100% to + 100%). Depending on the position of the structure switch S4.1, either an increase (S4.1 inactive) or a
decrease (S4.1 active] in loop gain is produced.
Input variables:
- ADC5 Field current
- CON4.1 The constant is used for standardizing the field current (format -99.99 t o +99.99)
- CON4.2 The constant determines the influence of the evaluation
- CON4.VER Gain factor of the interface (format: -99.99 to 99.99)
- CON4.0FFOffset of the interface (straight-lineequation y = X* CON9.VER i- CON9.OFF)
- MP15 Actual diameter from branch 3
Output variables:
- MP8 Operation on the controller output in branch 5
- MP18 Measured and standardizedfield current
lnput variables:
Miscellaneous:
- CON5.1 When retay REL5.1 is active, the constant CON5.1 works on the input of the PID controller as an additional set-
point component (start-up value).
- REL5.1 When the relay is active, it switches the constant CON5.1 to the summator.
- REL5/9 With this relay, one can switch over to ,,Direct tension control" (see Section 4.10.5.16).
Output variables:
Miscellaneous:
- MP10 Main current setpoint (input of the summation stage in branch 1)
- MP11 Input of the PID controller (control deviation)
- MP16/12 Actual velocity or actual speed summated setpoint
- MP20 Surnrnated setpoint
Note: The bits BlT5.SOG to 0tTS.SUG a r e s evaluated by the standard function blocks FB:STEU (Section 5).
Input variables:
- CON6.1 Constant used as the setting-up speed setpoint
- REL6.1 Relay used to switch the constant CON6.1to the speed controller, branch 5 (control deviation).
Output variables:
- The result of branch 6 is connected to the summation stage in branch 5.
4. Programming Instructions
Function:
The control deviation is determined in the summator. The actual value is input viaADC1. If required, the a c t r r a l ~ l u e
can be matched
to offset and gain via a straightdine equation (S9.1 active) and/ortransmitted via a filter function (S9.4 active). The setpoint can be
input either as an analog variable (59.2 inactive) or digital variable (S9.2 active). For digital setpoint input, the state of relay REL9.2
determines whether this value comes from the SS-CPU fVAR9.1) or from the programmer (COM9.1).
The setpoint and the actual value are each monitored by a preassigned and non-optionaflimit monitor (see page 2 ofbranch 9 in
Section 8.3). The operation of both these limit monitors is described in Section 4.12.6.1.
The control deviation (output of the summation stage) is used as the input by the PID controller.
The PID controller can be assigned, P, PD, PID or PI control action by setting various parameters tozero:
TN = 0 1 component not active
7V=O D component not active
The controller output is limited by CONS.B+ and CON9.B- a"d then multiplied before it arrives at the summation stage of branch
5. Various types of multiplication are available:
Multiplication by a constant is possible via the PG value CON9.2.However it is also possible to make the operation proportional
to the instantaneousactual speed value (MP 12 from branch 10) multiplied by CON9.2.
In case the signal crossesthe limit, the corresponding bit BfT9.Ui or BIT9.U- is set.The PID controlterthen disables the integrator.
In this way "wind up" of the integrator is prevented,
Input variables:
Setpoint input:
- ADC2 Setpoint input if analog setpoint input mode was selected (S9.2 inactive) during structuring.
- REL9.1 The source for the digital setpoint is selected by the relay. If the relay is inactive, the value comes from the PG.
- CON9.1 For digital setpoint input and with relay REL9.l inactive, the PG is the source of the setpoint (CON9.1).
- VAR9.1 For digital setpoint input and with relay REL9.1 active, the SS-CPU is the source of the setpoint WARS.1).
PID eontroller:
- CON9.KP Proportional gain
- CON9.TN Integral-action time
- CON9.TV Derivative-action time
- CONS.B+ The constant determines the upper limit for the limiting.
- CON9.5- The constant determines the lower Iimit forthe limiting.
- BIT9.RF The bit enables or disables the PID controller.f he controller is enabled if the bit is active. In the disabled state, the
controller outputs 0% and resets its internal memory.
Output variables:
PID controller:
- BITS.UE+ The bit is set when the output of the PID controkler crosses the upper limit CONS.B+. The integrator in the PID
controller is then frozen.
- BlT9.UE- The bit is active when the output of the PID controller crosses the lower limit CON9.B-. The integrator in the PID
controller is then frozen.
Setpoint Iimit monitors:
- BIT9.SOG The bit is active when the setpoint crosses the upper limit.
- BIT9.SUG The bit is active when the setpoint crosses the lower limit.
Actual value limit monitors:
- Blf9.OW The bit is active when the actual value crosses the upper warning limit.
- BIT9.UW The bit is active when the actual value crosses the lower warning limit.
- BIT9.0G The bit is active when the actual value crosses the upper danger limit.
- BlT9.UG The bit is active when the actual value crosses lower danger limit.
Miscellaneous:
- MP1 Actual value o i the outer loop controller
- MW Setpoint of the outer loop controller
- MP3 Control deviation of the outer loop controller
- MP4 tnput of the summator in branch 5
Note: The bits BIT9.SOG to BIT9.SUG a r e a evaluated by the standard function block (Section 4.13).
Function:
The actual value of the armature current is input via ADC4. It should be routed via input terminals 3 and 4 (channel 1) since actual
value filtering is possible here in the terminal block.
Using the armature current, a thermal monitoring of the motor is possible (511.2 active). For this purpose the armature current is
substituted in an equation. This equation generates the approximate temperature response of the armature winding. When the
limiting value is reached (CONllJ), bit 11.1 becomes active.
Amore detailed description of theequation is given in section 4.15.6.
Input variables:
1hermal monitoring:
- CON1l.l The constant givesthe value from which the thermal monitor sets bit 11.1.
- CON11.2 The constant is a characteristic of the motor. It is a criterion for how quickly the motor warms up.
Miscellaneous:
- CON11.3 The constant is multiplied by the armature currentwhen S11.1 is active.
- ADC4 Address oithe analog input channel used for the actual armature current.
Output variables:
- BiTII.1 This bit is set, when the thermal monitor has reached the limit CON11.1. When the bit isset, the maximum permit-
ted heating of the armature has been reached.
- MP5 The actual armature current value after multiplication by constant CON11.3.This value is used as the input of the
summation stage in branch 5.
- MP13 Actual armature current value input via ADC4.
- MP19 Instantaneoustemperature
Input variables
- CON3.1 The constant determines the infhence on the current setpoint
- MP20 Velocity setpoint from branch 5
Output variables
- MP7 Size of the current setpointcomponents
!
- CON13.2 maximum of 6 output bits
- CON13-3 maximum af 6 limit values - BIT13.4
- CON13.4 - BITl3.5
- CON13.5 - BIT13.6
- CONl3.6
- CON13.7 Number of limiting values
4. Programming Instructions
Input variables:
- MPNo. No. of the measuring point to be monitored (1 ... 29)
- CON14.1
- CON14.2
- C'N14.3
1
]I
maximum of 6 limit values
- CON14.4
- ~0~14.5
- CONt4.6
- CON14.7 Number of limiting values
Output variables:
-
-
BlT14.1
BlT14.2
- BIT14.3
1maximum of 6 output bits
- Blf't4.4
- BlT14.5
- BIT14.6 l
4.12.515 Branch 15: Measuring socket
function:
The value of any desired measuring point can be output via an analog output channel. The no.of the measuring point can be modi-
fied any time during the RUN mode of the IP.
Input variables
- MPNR No. of the measuring point to be output (l to 29)
- RELl5.1 When activated, the relay releases the selected measuring point for further processing
- CON15.1 Multiplication of the MP value with -99.99 to l-99.99
- CON15.TVZ ' Filter time constant (see Section 4.12.6.2)
- DAC3 Analog output channel at which thevalue of the measuring point is to be output.
Output variables
- MP22 Valueoutput at DAC 3
4. Programming Instructions
If branch 16 ( S f 16 = 1) is configured, each of the eight functions of addition, subtraction, multiplication, division, absolutevalue
generation, reciprocal value generation, conversion and comparison can be seiected exactly once per controller 1 to 8 of the
"DRS" structure. The operations can be nested. This means, for example, that two signals can first be multiplied and the result can
be subtracted from a third signal etc. in order t o avoid unnecessary dead times here, please note that the operations are processed
by the IP 252 in the order detailed above. If the resufts of branch 16of other controller nos. are used, the following also applies here:
controllers 1 t o 8 are executed chronologically fi. e. controller l first).
The precision of the arithmeticoperations is determinedby the format of theinput signal and the result. The format is 16-bitfixed
point two's complement with a value range of -16384 to + 16383 (correspondig to -100% to + 100%).
The results of the operationsare displayed at one measuring point each for f urther processing. This measuring point can be read in
by other branches of controllers 1 to 8 wherever an ADC channef has been initialized with "Controller no. and measuring point
no.".
input variables
- ADC 8 Channel 1 of the addition
- ADC 9 Channel 2 of the addition
- ADC70 Channel 1 of the subtraction
- ADC11 Channel 2 of the subtraction
- ADC12 Channel 1 of the multiplication
- ADC13 Channel 2 of the multiplication
- ADC14 Channel 1 of the division
- ADC15 Channel 2 of the division
- ADC16 Input channel of the absolute value generation
- ADC17 Input channel for generating the reciprocalvalue
- ADC18 Input channel for conversion (multiplication with 1-11)
- ADC19 Input channel of the comparator
- CON AN Upper response threshold of the Schmitt trigger
- CONAB Lower response threshold of the Schmitt trigger
- REL16.1 comparator enable
- f.B Branch and bit no. of affected by thecomparison result
Output variables
Result of the addition
Result of the subtraction
Result of the multiplication
Result of the division
Absolute value of the input variable
Reciprocal value of the input variable
lnput variable multiplied by 1-11
Result
A procedure based on the guidelines of the symmetrical optimum is available here for the self-setting of speed c~ntrollers.Thispro-
cedure first determines the parametersof a PI controller Kp and TNand of a setpoint filter-The parametersfound are post-optimized
to the desired target response by simulation in the IP 252 and subjected t o thorough final testing.
'The desired target response (transient response or overshoot) can be varied with the help of a presettable parameter.
Each of these limits is assigned a bit. Ifa signal crosses the upperwarning/danger limits, then the "upper warning/danger limits
crossed" bits are set. In all other cases they are reset.When the signal crosses the lower warning/danger limits, then the "iower
warningldanger limits crossed" bits are set. In all other cases they are reset.
Both limits are assigned two bits. When the upper limit is crossed the "upper limit crossed" bit is set, otherwise it remains reset.
When the lower limit is crossed, the "iower limit crossed" bit is set, otherwise it is reset (Fig. 4.44).
4. Programming Instructions
l Setpoint
.-- - - - -
100%.- Upper limit
---.-
limit crossed"
limit crossed"
loo%.-
t Setpoint
- " .U J
X(t),
lnput signal
X,.
Fig.4.7 Filterfunction
4, Programming Instructions
The slope of the positive ramps is determined by the constants (ZUW, W) and of the negative ramps by the constants (tow,
TRI .
~ o i i t i v eramps are where the output value y(t) changes towards increasing speed ( i l O O % ) . Negative ramps are where y(t)
changes towards decreasing speed (20%).
The constant ZUW (increment) specifies the percentage value which is reached aher expiry of the negative OR) or positive VH)
ramp times, when a 100% step is connected to the input of the ramp-functiongenerator.
In Fig. 4.46 (diagrams 1 t o 4) several examples are included. They illustrate the influence 05 the constants fUW, TR andTH.
- The ramp-function generator takes into accountthe actual value when S8.3 is active.This guarantees the fastest possible trak-
king of the setpoint y(t) by the actual value i(t). When ramping down, the actual value is taken into account, i f it is less than the
rnomantaw ramp value calculated by the ramp-function generator. When ramping up, the actual vaiue is taken into account if it
is greater than the momentary ramp value calculated by the ramp-function generator. This procedure is explained in Fig. 4.47
(diagrams 1 to 5).
- Fig. 4.48 shows how the rampfunction generator behaves if the input signal is changed before theoutput signal has reached its
final value.
The actuat value is also taken into account here.
Negative ramp
Positive ramp
Negative ramp
and
positive ramp
Negativeramp
and
positive ramp
!ii[=!,;- - ---- L
The actual value is larger than the ramp y(t).
--
--> No actual value referencing
0
%
- The ramp-function generator has four binary input signalswith which the output y(t) can be influenced (independentlyof the in-
- put x(t1).
If the HOE bit is active, then the output y(t) ramps to the +loo% limit. The actual value is not taken into account (MPx).
- If theTIE bit is active, then the outp"t ramps to the - 100%limit. The actual value is not taken into account.
- If the HOE and TIE bits are both active simultaneously, then the output remains at the last value;
i.e. no a m p is generated
- If the AUT bit is active, a change is made from manual to automatic mode (i. e. the setpoint is approached via the preset para-
rnetersTH,TRand ZUW) provided the HOE andTIE bits are inactive.
Here,the actual value is taken into account if S8.3 is active.
- The HOE and TIE bits have priority over the LOE bit.
- The NU1 bit has the highest priority. If it is active, the 0% setpoint is immediately approached at the preset ramp rate of rise.
The actual value is not taken into account.
4. Programming Instructions
t Actual
value
referencing
Fig. 4.49 Ramp-fundongeneator
Function of HOE, TIE and AUT bits
4. Programming Instructions
4.12.6.4 Display
Function:
When active, this function diplays only t h e lower eight bits of the actual speed value.
The characteristic curvestage transformsan analog input variable X (field current) into an analog output variable y.
The function y = $ ( X ) used has the following characteristics:
- Linear range
yLO for 02~5100%
y=O for -100%Sx50%
100
y=3/2x for OSxl-%
3
- Parabolic region
y=-
9
-(x-100)~ +- 100for 700
-% S x = S 100%
800 3
The curve is shown in Fig. 4.50.
The curve is also called the normalizedexcitation curve. It represents the relationship between the field current and the flux of a
d. c. motor. The curve is an approximationwhich is valid for most d. c. motor types.
4, Programming Instructions
Value table:
Linear approximation
3
y=zx
4.12.6.6krmal monitoring
When current flows through an electrical machine, the temperature rise can be described approximately by the e function. This
"thermal image" is used to reguiate the temperature rise in the machine in a calculation involving the armature current and the con-
stant KON11.2 (thermal time constant) according t o the following equation
- e --T).
t
, , , ,=
Temperature-rise ,2i (l
If the permissible temperature limit (temperature : MP191 is exceeded, bit 11.1 is set. The temperature limit is specified with the con-
stant CONlt.7. A temperature limit is selected such, that under operating with nominal current, the tempe~aturelimit is never quite
reached (ortheoretically would be only after an infinite period). Cooling is expressed by theequation i2- e - 7 .
Example:
Nominal thyristorcurrent = 500 A 2 10V llsT
g 100%
Nominal motor current = 400 A O 8 V l,,, P 80%
Thermal time cmstant: 30 min (CON 17.2)
It can be seen from Fig. 4.51 that, when operating with 1.2 X IN, bit 11.1 is set after approximately 36 minutes. The temperature rise
value is only reset when the module is in STOP mode. If the IP RAM has battery backup, the d d value will be retained on restafl after
power failure.
4. Programming Instructions
- I
c--
/--
Temperature rise at 1.2 IN
HH
/
/
Switching point
64% -- KON 11.1 /
Temperature rise at IN
50% -
t
0 lmin]
- 10
KON 112
20 30 396 40
-4
50 60 70 80 90 100
i Armature current
X Thermal time constant CON 11.2
t fime
Armature-c
i(t1
P,,--a-:) I
Fig. 4.51 Thermal monitoring
4. Programming Instructions
Na-l
Motor, mechanics
Setpoint filter Speed controlter I
Fig. 4.62 Simplified block diagram d thespeed control loop wirh secondary current c0Mroller and filter element (rigid mechanics)
4. Programming Instructions
The gain and integral action time for the speed controller are to be found in the preconditions outlined below, as well as (if configu-
red) the time constant for a PT, element, through which the setpoint of branch 8 is supplied.
4 ms or 8 ms can be selected as the sampling time of the speed controller. For greater sampling times, Section 4.12.7.5 contains
appropriate conversionformulas.
Thevalues of the constants and the position of the configuring switch set by the user are taken into account, insofar as these have
an influence on the system.
Parameter range
The acceleration time of the motorwith the driven machine connected must be under4 secondsfor numerical reasons. Mechanical
transients must have decayed at the latest after 400 ms a t a sampling time of 4 ms or 800 ms at a sampling time of 8 ms.
Fig.4.63 Step responseofthe IT1 element and fele".ant control parametersfor a P1 contrdlersei to double ntios (dwMe ratio factor = CONV.DV12)
c) Calculation of the parameters for the speed controller and setpoint fitter
The response of the closed control loop is then tuned to a target function, correspondingto the double ratio specification, by
means of an optimization procedure using thevalues determinedfrom the controlled system parameters (Fig. 4.63). The target
behaviour can be varied by a parameter, to be set by the user, between the limit case of the "Symmetrical optimum" (double
ratio factor = 0.5 or CON17.DV = 100%)and a setting which is infinitely insensitive to parameter variations and mechanical
inadequacies of the controlled system at the cost of dynamic response (doubie ratio factor less than 0.5). A robust controller
setting providesthe default forthis parameter. Dependingon the result obtained, this ~ I u can e be changedempiricallytowards
a slower or more dynamic controller setting (prior to a subsequent optimization run, if necessary). Any dead time due t o the
discrete processing can be taken into account in the course of the optimization process. The time constant for a configured
setpoint filter is obtained direct from the integral action time. Shouldthe target function prove to beinsufficientlyapproachable
during simulation in the IP252, especially if the parameters in Fig.4.63 are used, the preconditionsare obviously not met and the
procedure will be aborted with the relevant error message.
The relationshipbetween setting time and the CON17.DVparameter can be seen from Fig. 4.64.
4. Programming Instructions
Slow, robust
setting
DVCONST = 30%
-. t
DVCONST = 50%
Fast setting
("Symmetrical optimum")
DVCONST = 100%
Fi5.4.64 Target behaviour of the self-setting feature iordifierent values of CONl7.DV anc! lhe influence of serpoint filtering
4. Programming instructions
Setpaintentry
Afilter element can be configured in setpoint branch 8 of the DRS drive structure. By using this block, the overshoot in response to
sudden changes in the setpoint can be reduced from 50% to less than 5% without affecting the controller response. However, this
increasesthe rise time (Fig. 4.64). Natural oscillations in this system are less markedlyexcited by step changes in the setpoint.
Operator interfacefor speed controler self-optimization of the DRS structure with COM REG
The operator interface of the branch for self-optimizationon startup is described i n this Section. Section 4.12.7.4 contains an appli-
cation example.
Explanation:
The permissible speed as a function of the current can be obtained from the commutation characteristic representedhere by
the input of up to three value pairs -speed Nx, armature current Ix -(approximation in the IP 252 by linear interpolationcorre-
sponding to Fig. 4.65).
Dimension
MQ&C&I of positionIbn'i? o/ 1
S~~changesinpos~directbn
: ? 011
Sudden setpoht &an- in neg. d i i a n ? : 0/1
Doubleratio f a c t ~ K O N
l7.DV +5to+100
S&-&kkhg enable O/l
Controllergain KP -99.99 to 99.99
Integralactiontime TN 0 to 99h 59 min
FittertimeoMtstant TV;! 0 to 99h 59 min
Accept detemhedv a h ? 0/1
permissible annature current h a 1: -loot0 +l00
at speed N I: -100to+100
Maximum permperm&ie
armature current Imax2: -100to+100
at slseed W: -100to + 100
M--mum permissiblearmature w e n t lmax3: -100to +100
at speed N3: -100to +l00
4. Programming Instructions
Explanation:
- Monitoring of position limits during the identification phase:
If the switch is on, the permissibletraversing range must be defined by entering a positive upper limit and a negative lower limit:
in branch 9 (primary controller) these are represented by the parameters "CON9.tOWL (upper warning limit, actual position)" or
"CON9.IUWL (lower warning limit, actual position)".
- Setting the direction of acceleration:
Depending on the switch position, the machine is accelerated using positive, negative or alternating armature current. For the
sake of precision, both current directions should be enabled where possible.
--------
1 Speed
I
I
1
1
k set - - - l
I
Ll Armature current
1
I
Max. braking - 1
current
I
Acceleration Deceleration
Fig. 4.66 Variati~nin speed and armature current during the idenfmcationprocedure of the speed controller system. The operation is repeated 16 or 32 times.
- The parameter CON17.DV influencesthe dynamic response of the controllersetting found. It can be set at 5% or 100%. in which
case the default is 50%. Values of "CON17.DVU< 100% lead t o an insensitivecontroller setting, to the detriment of the dynamic
response. In this way, the controller setting can be adapted to, for example, mechanical backlash, tacho ripple or changing
system parameters.
- Start of self-optimization on startup
Switch (4) is reset by the operating system after completion of the optimization run or after power failure.
Resetting of this bit aborts the optimization run.
- When the optimization has been successfully completed, the controller parametersfound are dispfayed.
- By setting thisswitch or bit, the speed controller (branch 5) accepts the displayed parameters KP andTN.1he filter time constant
TV2 found is accepted by branch 8,provided branch 8 has been configured with a filter element. If there is no filter element in
branch 8 of the controller structure generated, CON17.W is displayed with "0". This pushbutton is then reset automatically.
4. Programming Instructions
Application example
It is assumed that speed controllers no. 1 and no. 2 have been configured on the IF 252.The speed loop of controller no. 1 is t o be
optimized far a drive with fixed system parameters (Fig. 4.61).fhe following sequence then applies:
- Move controller 2 to stop; lock the shaft mechanically, if necessary, since this controller wilt not be processed by controller no.
1 during the startup run.
- If the motor is under constant load during the identificationprocedure, the speed controller (branch 5) must be set with "conser-
vative" start parameters (e. g. KP = 7, TN = 500ms) and enabied with setpoint 0,so that the shah can be kept still when the me-
chanical lock is cancelled. Ail other branches of controller 1 are disabled (i. e. the relevant relays are set to "0").If no external
load torque is acting on the motor during the identification process, pre-initialization can be dispensed with.
- Call branch 17 (speed controller setting) in the "Controller test" function for controller No. 1 and - if this has not already been
done -enter suitable value pairs for the commutation characteristic, according to the manufacturer's recommendations.
- Preselect one or both acceleration directions, depending on the operating conditions of the driven machine.
- Select the desired controller dynamic response with "CON17.DV", retain this in the case of unknown mechanical conditions
e. g. defautt (CON17.DV = 50%) and, depending on the success of the optimization run, repeat with changed "CON17.DV".
- If necessary, release mechanical brake (the shaft is now held by the controller).
- Enable self-optimitation.The speed controller system is now identified by making step changes in the armature current setpoint;
field current and load must remain constant. See Section4.12.7.3.for procedure in thecase of variable field or moment of inertia).
- Read the self-optimization message in the COM RfG "Info", "Errors" function on cornptetion of the optimization run.
In the case of successful completion of optimization, the parameters found will be displayed and can be transferred to the con-
troller.
- Accelerate controiler 2 again
- The basicoptimization of the speed ioop has now beenfound for controller l, and this will be used as a reference point for further
startup procedures.
Self-optimization
The influenceof the control parameters K, and T, on the response of the controller loop is illustrated in Fig. 4.67:
-
Kg. 4.67 Maladjustmentto h symmetn-ealoptimum
and Tnrepresentthe controller parameters set to according to the symmetrical optimum (see centre of diagram). Any change to
these parameters by the factor "1/2" or "2" leads to the response illustrated. It is a precondition in these cases thatthesampling
time of the digital control loop must be small compared with the dominating time constant of the closed control loop.
4. Programming Instructions
Data
W70
adurtss
1 5 1 4 1 3 1 2 1 1 1 0 9 8 7 6 5 4 3 2 1 0 I
+-----C---4-----+r-*--+*----+-----+-----+-----C----C---**-----+-----+----+-----+--- v
I Con7lguratlon (DRIVE wtth self-optimization: 105.) 1 DW 0
+-----+-*--r*r--*-+-----+-----+-----L----L----+----+-----L----+-----+-----
I Version number I O U 1
--------h----+-----C------+----4-----+-----+-----+-----+-----+---*hh---+~---~**---+--*--+-----+-~---+
I I Status word I N 2
I ..........................................................................................
I I Error wrd 1 DW 3
BESy +-----c.---+-----+-----+-----+-----~--+-----+-----+-----+-----+-----+-----+-----+-----+-----+
CODE I Erto? word I DY 4
I ...........................................................................................
I I I OW 5
1 +-----+-----+-----+-----+-----+-----+-----+-----+-----+.----+-----+---.r-C----+--r--+r----Cr---"+
I I I OU 6
1 ...............................................................................................
I I OM status wrd I N 7
--------+-----C----+-----+-----C------+---++-----+----r+----r+-r---+-----+-----+-----+-----*----+-----+
I I M 1 9
1 1 Speed fl I DW 17
I C---C---r+r----+-----+------C---+---*--+
I 1 s p a 13 1 m21
I +,,,,,c--,-c,---c----b--~---h----+-----+-----+-----h----+----+-----+-----+-----+
Data
mrd
address
1 5 1 4 1 3 1 2 1 1 1 D 9 8 7 6 S 4 3 2 I 0 I
------r-+-----+-----+-----+-r---+-----+-----+-----+-----+-----C--*-C------+-----C----+----sC-*--+----+
--------+----A--.-+-----+----*----b----+-----C----+-----b----+-----+-*---+----4--"-4---
Daten-
mart -
Adresse
L5 14 13 12 11 10 9 8 7 6 5 4 3 2 L 0 I
----r---C----+-----+-----+-----+-----+-----hhhhh+---*-*.----+---*-*-----+-----+-----+-----+-----+"*---+
I I DIM 9.TN I DY 59
1 +-----+*---*+-*---+--*--c------+-----+**-~-*t----+-----+-.---+-----+-----+.-----+-----+
I f D e ~ i v a t l v eactlon time CDH 9 . W I OH60
1 C----+-----+-----+----*+-----+-----c----+t----+---.+-----+-----+-I----+*----+-----+~--*-+
I I oIn 9.n I W61
1 *-----+----+-----c----+-----+----.+------+---c--h---"---+--*--*-----*-----+.,--,+----,
I I Upper Iimlt CON 9.B+ I W 6 2
I ................................................................................................
I I QIM9,TVZ 1 DW 63
I c ~ ~ ~ ~ * ~ ~ ~ ~ c ~ ~ ~ ~ . ~ * ~ ~ - + - - ~ ~ ~ ~ C ~ ~ C ~ +
Data
word
address
l415
13 12 11 10 9 8 7 6 5 4 3 2 1 0 I
+-----+-----+.----+-----+r-r-----.+----++-+*+----+-----+ v
I I Ranpup t l m e W 8.TH
M I W74
I h----C----+-----+-----+-**----C----*----*-----+----4-----+----+----&----+-----+-----*----
I. I DM11.2 I OHS4
--------C----+--r--+-----b----c---+-----b----b---4----+---+----k----+-----+-*--&----b
Oaten-
Uort-
AdrtSse
X 5 1 4 1 3 1 2 1 1 1 0 9 8 7 6 5 4 3 2 1 0 I
+ - - - - r C - - - - + - - - - - + - - - - C - - r - * - - r - - + - - - - - + * * + * + + * * + C + + V
I I Posftion s e t p i n t 1- llmlc COM 9.SU6 I W100
1 +-----c--.-+-----c----+----+-------+-----+-----+-----b----k----+-----+-----b----+--
Data
word
address
1 5 1 4 I J l 2 1 1 1 0 69 5 8 4 3 7 2 1 0 I
I + - - - - - + - - - - - + - - - - - + - - - - - + - - - - - + - - - - * - - - + * * + + + + + + + v
I 1 MC 7-address Setpoint for coil cowuter in branch 3 I OU 126
1 +-----+-----*-----+-----+-----+----*----*---+----**-----+***--+-----+
I I M C 8-address lddltion I DU 127
I +-.---C----+-----h.---+-r----+-----+-----+---"-+-----+-----+-----+-"---+---*-+.----+-----+-----+
1 +-----+--*--+-----+-----+-----*-----*-----+-----+-----b----+-----+-----+-----+-----
--------+-----+-----+-----+-----+-----+-----+-r---C----C----+-----+---r-+-----+---+--+-----+-----+-----+
Data
wrd
address
15 1b 13 12 11 10 9 8 7 6 5 4 3 2 1 0 I
+-.--.+--.,,+*.-1-+----+-------+-*--*+-----+.-*.-+-----++.++++.*++ v
I I I DY 152
1 c.*--+-----*,.---+-----+-----+----r+----.c----c.----c----+*--.-+-----+-.--.+-----+--,-,*.~---+
I I I MJ 153
1 .................................................................................................
I I I DU I54
1 +-----+*-.--*---*-+-----+.----+-----+--+--+***~*+-~~--+-....+~.---+-+---+-~~~~+~~*--+*----+-----+
I I T DW 155
I .................................................................................................
I 1 I DU 156
1 +-----+*----*-----*-----+----*+**--+-----+-----+-----*-----+-----+----*+--*--+-----+-----+-----+
I I I LW 157
1 +----.+.----+-----+--,---+-----+-----+-"-*++--*--+-----+-.-.**-----+-----+.--*-+-----+-----*-----+
I I I ow 1%
1 +-*--**.----+-----+--"--+-----+-----c.-.*+---.-+--,*.+,----+-----*-,,,,+-
I I I DW 159
--------+-*---+-----L----+-----+-----+-----C-*--+-----+-----+-*---*----+.--~.+---*-+.----+----*+*.---+
L I Wt 5-Contents I W I72
f +~~~~~+~~~~~~----L-,--c-l--c----~-c----+~~~~-+--~--+----*+
I I ADC 6-Cantents I Du l73
f C----*--,h----+----C----*-----+-----*-----+----+-------*--h----C--C----C----+--
Qata
rord
addnu
15 14 L3 12 11 10 9 B 7 6 5 4 3 2 l 0 I
1 ~----+-----*--.--+-----~---.~----CC-~-C--~C+"~~*-+----*-~~~-*-+----~C----C-- v
I I ADtll-Contents 1 W 176
I +-----+-----C----C----C----+--+-----+-----+*----+-----+----A--4-----+----&---+-----+----*
.---m . . . .- - - ~
area 1 1 1 DUI%
1 . C---C----*--"-*-----C-----c----+--t--CI--C---+
I I +1 DU 197
1 C.----C----C---cC----&---+---r+-----C
I 1 x 1 m196
1 C--r-L---+----*---rJ------m----C----C-.---C---&----+-----*
I I 1 1 061199
4. Programming Instructions
Data
word
address
I S 1 4 1 3 I Z 1 1 1 0 9 B 7 6 5 4 3 2 I 0 I
L , ~ ~ . + ~ . , ~ , + . - , ~ , + - - - - + - - - - + - - - - - - - + + C + + +y * * + * +
I - - I I W204
--------+-----b----+-----+-----+-----+-----*-----+-----+-*---+--*--+----+--*--C----+-----+-----+-----t
WrtlaQ c---.c----c----c----+-----+-----+----+-----k----+-----~----&----+----+-----
area I II DWZ~S
I IC I' W 218
-
1 +-----*-----c--.-+--~--c---C--~-C----+**---+--*-~+----+-----*-+--*-**--*-+-*--*-**-~+
I: 1 1 1 W1219
--------C--*-h*---C----+**-*---C---*+--*-C---*+----A---*+--*--+-----+-----+----+----
Data
rord
address
15 14 l3 12 11 10 9 B 7 6 5 4 3 2 1 0 I
I C----+-----+.----*-----+-----*-----+-----+-----+-----C---dk----+-----+----+-----&
V
1 3 Ikasurlng polnt 9 Current s e t p ~ l n t I OU 231
I +-----h----+-----+-----+-----+----,+------+-----C----+-----+-----+-----+-----+----
I I h s u r i n g point 25 M e t I W 247
1 C-r--C----C----+----C-rr-C----+--r---------+----*----*----+-----+
I I A c k a a r l e d ~ n word
t lor speed controller I W252
1 +---C----*---rC---+----~-----C---&---&-&-*~-A---~---C---*~--~-~
Data
amxol~er word
address
f 5 1 4 1 3 1 2 l i 1 0 9 8 7 6 5 4 3 2 1 0 I
...................................................... y
I REV I DW 7
+-----*-----+-----+.r---+-----*-+"-*---
Data
UOf 0
address
I
V
OW 34
Diameter compensation
Field cuxrent monitoring
Conditionning
Actual value correction
Filter
Filter
"Expanded scale"
External pulse input
Thermal monitoring
Acceleration output
Limit value monitor 1
Limit value monitor 2
Measuring point output
Filterng
Speed controller self-optimization
4. Programming Instructions
Input b i t variables
Data
wrd
address
1 5 1 4 1 3 1 2 1 1 1 0 9 6 7 6 5 4 3 2 T O I
+ - - - . - + - , * . . c - - - - + * * - - . + - - * - - + - . - - - + - - - U+ + - + + * + + + +
IBIT REL REL RE1 REL REL REL REL REL REL RE1 BIT BIT BIT BIT BIT I D Y l a O
13.1 1.1 6.1 7.1 3.2 8.2 8.1 9.1 2.1 5.2 4.1 9.1 5.1 8.5 8.6 8-71
C----+-.--*+-----+-----+*----+-----C--.*+-*---+---**+--*--+----rC----*-----+-----+-----+-----+
I REL BIT REL REL REL REL BIT BIT BIT BIT BIT I. W 181
1 8.4 8.8 15.1 16.1 10.1 8.3 17.1 17.2 17.3 17.4 17.5 I
-"- 5
-"- 6
-=-
-"-
BIT 13.6 m
-"-
'
3
-"- 4
1
-"-
-"-
BIT 14.4 "
BIT 14 - 5 -- 11 -- 1'
5 -"-
BIT 14.6 -m- -=- 6 -- I)
4. Programming Instructions
Wt-
Adresse
I
1
y
~-~--**-*-+---*-c--*-+~-~~-"~~+-~--4----+-----+--*--+-----c---c-
I Y06L %L SOSL SU6L IOUL IVUL X E L I&LI Dw g5
The IF 252 intelligent inputfoutput moduie is capable of exchanging data with the control CPU via the backplane bus.
For this purpose, the CPU <->IF' 252 connection must beestablished on both sides of the interface.
- On the IP 252 this is done by assigning a page no. 0to 254. Using the "COM REG" or "COM 252" operating system (Sections
6 and 7), the page no.can be entered in the "Info" functionin the "SYSID" submenu.This page no. isalso referredto as theinter-
face no. "SSNR".
- The connection to the IP 252 on the CPU side is establishedby the data handling blocks, which are called in the STEP 5 user pro-
gram and initialized with the relevant SSNR.
The standard function block FB:STEU, which calls the data handling blocks internally, is described in Section 5.1. This FB:STEU is
used for high-speed data exchange of defined data. Knowledge of the data handling blocks is not required for their use.
Expanded means of communication (exchange of random parameters betweenthe CPU and IP 252) are described in Section 5.2.
In these cases, the data handling blocks are used direct. In Section 5.2.7 there are relevant examples to accompany all the possi-
bilities described.
Note:
1) The data handlinq blocks (standard FBs) must be ordered separately for the S5 135U (R processor) and S5 150U programmable
controllers. Inthe case of the S5 115U, they are part of the operating system.
2) Section 5 describes the methods of communication between the IP 252 and the S5 CPU. Here also, a distinction is made at cer-
tain points between the
DWSI user submodule (MLFB:6ES5374-OAAll or OAA13)
or DRSlSR usersubmodute(MLFB: 6ES5 374-0AB11)
The text and examples are marked accordingly.
The function blocks F0 100 and F5 101 implement the following functions:
-Transfer of setpoints to the IP 252 closed-loop control module
-Enabling or disabling of the controller branches and the structure branches
- Setting of overflow identifiers
-Recognition of limits
- Recognition of parameter assignmenterrors
5. S5-CPU c-> IP 252 Communications
I I
I PC I
------------------- I
I
I
1
1 Flag bytes I
I
I
--------------------A---
Functiondescription:
As shown in thc overview, communicatian between the PC and the 1P 252 in drive control systems is carried out by function block
"STEU:ANT". This function block is used for exchanging the most imporfant parameters.
Flag bytes are used as the transfer area for the data to be transmitted or received.
During the actual data transmission/reception, the data handling blocks which consist of standard function blocks are called up
specifically in the "STEU:AIUTU function block and carry out the data transmission via a dual-port RAM interface (*).These data
handling blocks need not be initialized by the user.
Functions:
Communication interfaceof the IP 252 for the CPU (1 K-address range wirh 8-bit dara width).
(S)
5. SS-CPU c-> IP 252 Communications
DEO :
DEl :
DE2 :
DAO :
DAI :
--- l VAR3 f DA2 :
1 t PAFE :
--- I DE U D A I] l ---
I I
--- l DE 1 DA l I ---
I I
--- ---
1
----
DE 2
---------I--------
DA 2 1 ---
Description of the parameters
Parameterassignment
DBNR - DB3-D0255
SSNR - KF = 0- 254
RENR - BY
-
KF = 1 8 Datatransferlreception PC c-> IP
-
KF = 11 8 Data transfer 1P ==> PC
KF = 2l-28 Datatransfer PC ==> IP
VAR8 - W (FW, DW etc.) KF = +- 10000
VARS - W " I)
KF = +- 10000
VAR.3 - W " * KF= +-l0000
NOTE: During the "transmit* job (data transfer) the assignment of the outputs DAO, DA1, DA2 is irrelevant-
During the "receive" job (data reception) the assignment of the inputsVAR8, VARS, VAR3, DEO, DEI,DE2 is irrelevant.
5. S5-CPU c-> IP 252 Communications
Bit 12.1 t o bit 12.6 on the AR and bits 13.1 to 13.6on the DRS are the limit monitor bits of limit monitor 1 (GWM 1)
When the bit is set, the corresponding limit value from branch 12 of the structure has triggered.
Bit S.UE+ Upper limit position controller Bit 9.UE- Lower limit position controller
-
0 no overflow 0- no overflow
1-overflow -
1 overflow
Bit 11.1 When the bit is set, the thermal annunciator in branch 11 of the structure has triggered.
Bit 16.1 flagsthe result of the comparison function in branch 16.
Bit 13.1 to bit 13.6 are the limit monitor bits of limit monitor 2 (GWM 2)
When the bit is set, the correspondinglimit value from branch l3 of the structure has triggered.
Bit 5.UE+ Upper limit speed controller Bit 5.UE- Lower limit speed controller
0- no overflow -
0 no overflow
'1 -overflow -
1 overftow
Conditions
The data block specified at input "DBNR" (DB No. 3.. ,255, length at least 12DW. free for user from DW13) must be present in the
memory of the programmable controller. The page frame No. must be selected on the IP 252 before start-up via a programmer.
Selection via the "info" function, submenu "SYS1Dn-
If one wants to observe the taskexecution ("TRANSMTT" or "RECEIVE" data), this is possible via the corresponding status word
( A m or the error byte (PAFE) of the data handling blocks. See "Technical Specifications"!
5. SSCPU C-> Communications
Program structure
a
FB 100
l 1 +m-=-=-=-=+
1 1 +->ISTEU:ANT 1 DBx
l I l l I +-U--
. - r * . . - r r * -
3. CONTROL . ..........*
1 1 1 I ----..+ <------ >.
1
I I l l 1 <----+ .
I
I
-----+
c----
. - 1 . - - . m .
>.
l
l
............
+--- 3. CONTROL
I
Start-up
Procedure:
- Select the transfer block no. on the corresponding IP 252 with the programmerusing the "COMREG" or "COM252" operating
system.
[ S5 115U / I
S5 135U (R processor) S5 150U
Library No. I P712~SIlOO-A-1 PM200-S9100-A-1 I P~20O-S4100-A-O
Block iength 221 words 224 words 1 222words
Call iength 21 words [ 21 words I 21 words
Executiontime:
Data handlingblocks
Monitoringthe jobsequence:
A W jobnSEND"
job "RECEIVE"
/ DW8 intheD-DB
DWlO in the D-DB
DW8 in the D-D0
DWlOin the D-DB
DW8 in the D-D0
DWlO in the D-DB
PAFE jobeSEND" . F0212 FB212 FB253
iob "RECEIVE" F0213 FB213 fB255
Details on ANZW and PAFE can be found, if required, in the data handling block specifications.
5. S5-CPU <-> IP 252 Communications
I Data words I
I
I
----&--------A----------
hrnetiondescription:
As shown in the ovewiew, communication between the PC and the IP 252 in standard control systems, is carried out by function
block "STEU:Sf D". This function block is used for data communicationin both directions in the "Standard" controller structure.
Flag bytes are used as the transfer area for the data to be transmitted or received.
During the actual data transmissiodreception, the data handling Mocks which consist of standard function blocks are called up
specifically in the "STEU:STD" function blockand cam/ out the data transmission via a dual-port RAM interface (*).
Functions:
(9)Communication interface of the 1P 252 forthe CPU (1 K- address range with 8 bit data width).
5. SSCPU c-> IP 252 Communications
Parameter assignment
DBNR - D0 3- DB 255
SSNR - KF = 0-254
RENR - BY
-
KF = 1 8 Data mnsfer/reception PC c-> IP
-
KF = 11 18 Data transfer IP ==>PC
KF = 21-28 Datatransfer PC =S>IP
- W (FW, DW etc.) KF = + 10000 -
NOTE: Duringthe "transmit" job (data transfer) the assignment ofthe outputs DAO, and DA1 is irrelevant.
During the "receive" job (data reception) the assignment of the inputsVAR3, DM and DE1 is irrelevant.
Bit 1.2.ST Bit for setting the manipulatedvariable increment in the "PI0 controller" function to zero
0 - no effect
-
1 manipulated variable increment is set to zero or the manipulated variable is held constant
Bit 7 6 5 4 3 2 1 0
Structure Rel Rel Re1 Bit Bit Bit Bit Bit
Branch 2.3 3.2 3.1 1.5.W 1.5.BZ 3.HOE3.TIE 3.LOE
Bit 7 6 5 4 3 2 1 0
Stucture Bit Bit Bit Bit Bit Bit Bit Bit
Branch 1.4.PP 1.4.NP5.6 5.5 5.4 5.3 5.2 5.1
1.5.OPEN 1.5.CLOSED
Bit 5.1- Limit value bit of the "timit monitor 2" function
Bit 5.6 0 -corresponding limit value not violated
l-corresponding limit value violated
Bit I.S.AUF Binary output "open" of the "pulse generator" function 0/1
Bit 1.4.PP Binary output "positive pulsemof the "on" - "off" output function 011
Bit 1.4.NP Binary output "negative pulse" of the "on" -"off" output function 0/1
Bii 4.1- Limit value bits of the "limit monitor 1" function
Bit 4.6 0 -corresponding limit value not violated
l -corresponding limit value violated
Bit l.l.UE+ Bit for upper limit of the manipulated variable inthe "PID controlIer" function
Bit 1.2.UE.i-0-not crossed
1-crossed
Bi 1.1.UE- Bit far lower timit of the mayipulatedvariable in the "PID controller" function
Bit 1.2.UE- 0- not crossed
1- crossed
The data block specified at input "DBNR" @B no. 3 . ..255,length at least 12DW. free for user from DW13) must be present in the
memory of the programmable controller.7he page no. must be selected on the IP 252 before start-up via a programmer. Selection
via the "Enquiry" function, submenu "SYSID".
Ifone wants to observe the job execution ("TRANSMIT" or "RECEIVE", data), thisis possibleviathe corresponding condition code
word (ANZW) or theerrar byte (PAFE) of the data handling blocks. See "Technical Specifications"!
5. SSCPU c-> IP 252 Communications
Program structure
m
--------- F% 2 0 1
I I +=-=-=-=-=+
I I +->iSTEU:STD t
+---- > a
...........
CONTROL
DBx
..........
l I l l 1
>- .
•
I I I t I -----+ <------
I 1 1 1 1 <----+
4-----
............ "
I 1 1 1 I
I i l l l
.
I
I :, I
I
1
l
1
l
I
I .
.
.
' .<-----
.........l.
.
.
I ,0 ' , , ,
I G 1 1 1 I ..........I
>. CONTROL .
.
I R I --+ 1 l +--..I 1
+--l
l
l
l I c-----+
I +---- ...........
..........
I l 4-=-=-=-----+
Start-up
Procedure:
- Select the page no. on the corresponding IP 252 with the programmer using the "COMREG" or 'COM 252" operating system.
- Transferf6:STEU:STD from PG to PC (with S5 135U, R-processor. blocks FB 120, F0 121and F0 123 must also be transferred).
- Select data block in the PC (D03....-255. length at least 12 DW, remainderfree for user)
- Insert an absolute calf to F3:STEU:STD in organizationblock 081.
5. SSPU c-> IP 252 Communications
Details on ANZW and PAFE can be found, if required, in the data handling block specifications.
5. SSCPU C-> IP W2 Communications
The following example describes initialization of the FB:S?EU. PB 100 standard function block for the drive controller structure (DR
a
an DRS) an FB 101 for the standard controller. Flag words are used in the first example, and in the other exampte, data words of a
block are used. Error recognition is valid for the S5-115Uonly. The FB:STEU for the S5-l35Ul150Ureserves other flag bytes which
can be found in the tables in Sections 5.2.1 and 5.2.2, if required.
ADDITIONAL EXPLANATION:
(1 THE DATA IIB IS USED BY F B l O O
FROM DWO TO DW12.
IF DATA WORDS OR DATA BYTES ARE
USED INSTEAD OF FLAG WORDS OR
FLAE BYTES, THE DATA DB AB DW 13
SPECIFIED SHOULD BE USED (AND
EXPENDED ACCORDINGLY). THIS
DB NO. SHOrJLD THEN BE OPEMEXl
BEFORE CAI3;IWG THE m100.
(WITH "A DBXYm)
As A R e s a l ! , THE m m = RELAYS
ARE SE3 ON THE STALYIylRD smu-:
1.) BIT R P ( C O N T R O m mm3LE)
2 . ) REL 3.2 (SETPOIEIT EIPABI;e)
SEND TO C O N T R O ~m. 3
ERROR OcCmBD ?
~ T ~ Z A ! I ! I c ERROR
m ?
SEND ERROR ?
RECEIVE ERROR ?
SEE ABQVg FOR ERROR -LING !
5. SSCPU <-> IP 252 Communications
hmmunication between the controllers and the SS-CPU takes place either with the help of the FB:STEU or direct via the data
landling Mocks.The SS-CPU can both exchange data with the controllers and issue commands t o the IP 252.
f the FB:STEU only is used, data exchange will be restricted. In Section 5.2, all methods of data exchange between the IP 252 and
he CPU are explained and are illustrated in Section 5.2.7 using STEP 5 programmingexamples,
Ihe principles of data exchange between the IP/CP and the CPU:
The interface between the CPU and the IPICP must generally be "synchronized" at the beginning, i. e. in the restart organization
blocks of the CPU. The IP 252 does not require this synchronization internally, The IP 252 interface or the dual-port RAM should,
however, be synchronized for the foliowing reason:
After a power failure or a CPU error arising from the program, resumption of data exchange after a warm restart or cold
restart of the CPU cannot be guaranteed without synchronizationof the IP 252.
In the example FBs in Section 5.2.7,the IF252 is synchronized as soon as the organization blocks O820,OB21 and 0622 have been
called. In these OBs the example F599 is called in each case for synchronization of the three interfaces (i.e. in the following
example: three IP 252s with the page Nos. 2,3 and 4). There is an explanation in FB99 of the waiting times before and after synchro-
nization which are required for restarting the 1P 252.
Note:
When exchanging data between a CPU and several IP 252s in an S5 environment, the page nos. (interface nos.) of the IPs must
not be identical, as this would result in a bus short-circuit. Exception: page no. 255, since the S5CPU only has to "read" this page
no. but does not have to "write" it.
At the initial startup of the IP 252, page no. 255 is set for the above reasons. If it is now desired to transfer data between the CPU
and the IP 252,a page no. 0 to 254 must be set for this purpose in the IP 252.
This is done with COM REG or COM 252 by calling the "SYSID" function in the submenu of the "Info" forrn.The IP252 can now be
accessed by the data handlingblock of the CPU via the page no. (interface no.) set in this way.
The STEP 5 programming examples detailed in Section 5.2.7 apply to the S5 115U programmable controller. For the S5 135U (Rpro-
cessor) and the S5 150U the "Call nos." of the data handling Mocks must be changed according to the following table:
The data handling blocks of the S5-115U, SS-135U with R processor and S5-150Uprogrammable controllerscalled in theexamples
a
enable the user to monitor correct execution of the job in progress and respond to errors:
The job status word (ANZW) of the data handling block flags the job status to the user.
SEND/FEfCH disabled = 1
Handshake meaningful
RECEIVE disabled = 0
RECEIVE enabled = 1
J
Structure of the parameter assignment error byte "PAFE":
1
1
Error no.: Error =1
No error: =O
0 No error
1-4 Source/destinationparameter
1 Rangewrong
2 DB or DX do not exist
3 Range too small
4 Rangedoes not exist
5 Job status word wrong
6 No. not assigned
7 Interface (p. no.) does not exist
8 Interface not ready
9 Interface overloaded
A Interface reserved by other CPU
B Illegaljob no.
C Interface does not respond at the correct time
E Other errors in the data handling block, such as
- missing data block cat1 in the case of indirect assignment of the parameters
SSNR, A Nr., ANZW
Further details can be found in the descriptions of relevant data handling blocks.
5. SS-CPU c-> IP 252 Communications
Control loop 1
Control loop 8
DirectionS I C P U to IP:
The data handling blocks "SEND 11to 18" transfer data to the controllers 1 to 8.
Depending on the structure of the controller on the IP (drive controller or standard controklerf either 9 bytes or 4 bytesaretransfer-
red. The meaning of the data bytes is given in Fig. 5.2.
Direction IP to %CPU:
The data handling blocks "RECEIVE 11 to 18" transfer data from the controllers 1 to 8.
Depending on the structure of the controllerson the IP (drive controller or standard controller) either2 bytes or3 bytes are received.
The meaning of the data bytes is given in Fig. 5.1.
The data handling blocks "SEND 11to 18" and "RECEIVE 11 to 18" are included in the user-friendly standard function blocks
FB:STEU/FB 100for drive controllers
FB:STEU/FB 101 for standard controllers.
While the number of bytes transferred is fixed in the FB:STEU, it is possible in the example FBs 4 and 5 to send or receive only $ 2
etc. data words or bytes.
7 6 5 4 3 2 1 0 B Y T E
BIT BIT BIT BTT BIT B!T BIT BIT lncreasing
9.UE- 9.UE-t- 12.6 12.5 12.4 12.3 72.2 12.1 addresses
7 6 5 4 3 j 2 1 0 B M E
BIT BIT BIT BIT BIT BIT BIT BIT
l
.4.PP 1.4.NP 5.6 5.5 5.4 5.3 5.2 5.1 0 Increasing
addresses
7 1 6 1 9 4 1 3 I 2 1 7 1 0 BYTE
- VAR 8.1
HIGH
LOW
-
0
1
l Increasing
addresses
HIGH 2
- VAR 9.1 -
LOW 3
'
c BIT
3.1
RE1 REL
VAR 3 .l
.
REL REL REL
1.1 6.1 7.1 3.1 8.2
RE1 BIT BIT BIT BIT BIT
"G?
REL REL REL REL
8.1
LOW
' 9.1
l
BYTE
7 1 6 1 5 ) 4 1 3 1 2 ) 1 ) 0
- VAR3.1
HIGH
LOW
-
0
1
l Increasing
addresses
1) Select the desired constant or desired bit etc. from the configuration documentationin Section 8 or 9.
2) Searchfor the selected values in Sections 4.10.7,4.11.7 and 412.8 (controller data blocks). In doing so, each value of the control-
ler structure must be assigned a DW No. in the controller DB.
3) This DW No. and the corresponding controller no. (1 to 8) are stored in a CPU DB as source/destination parameters.
4) By specifying a page no. when calling the data handling block, the desired values are then clearly assigned.
Note: The data handling blocks described here run on the IP 252 with lower priority. Depending on the IP 252 processor load, this
can result in relatively large dead times betweenjob allocation on the CPU side and the time at which the transferred pararne-
ters come intoeffect (up to several seconds).
Random data of thecontrol loop are transferred to a CPU DB with the "RECEIVE ALL" job.The data handling block "FETCH"deter-
@
mines which data are transferred from which controller.
Only the "FETCH21" job is permissibleforthe DS/SR user submoduie (MLFB: 6ES5 374-OAAll).This job, initialized with the 'READ/
WRITE" data handling function, transfers the source and destination parameters to the IP 252, so that in any subsequent "SEND
ALL" the desired data will be transferred to a CPU DB.
The "FETCH21" job prepares data transfer accordingto the illustration below, i. e.:
1) Thesource (IP 252) ignores the initial address and the length of the data block. The IP252 always presents thedata of a control
loop starting with the first data word (DWO).
2) Only meaningful data are transferred. The areas DW120 t o DW179 and DW200 to DWZ19 are not transferred, since onty internal
IP values are stored here.
.-..--.----------..-
+
..7..*.*-..-....--
t ,
i AG-D3
I
*---.-I
!
I
f No. l1 !
4 - .-.-*-.---.-.-.!
S5 - CPU
L
.-
.A
1P 252
Fig.
In the example FBs 10 and 11 of Section 5.2.7, two data words from CPU DB9 are transferred to the data block of controller no. 1.
The parameters for the source (CPU DB9, DW5 and 6) and the destination (controller DB1, DW105 and DW106) are sent to the IP
252 by "SEND2lUusing the READ/WRTTEfunction. If controller no. 1 is a drive controller (DWDRS], thedata word has the following
meaning (see Sections410.7 and 4.12.8):
DW105:Setpoint, upper danger limit of the speed controller (SOGD)
or DW106: Setpoint, Iower danger limit of the speed controller (SUGD)
If controller no. f of the IP 252 had been a standard controller (SR),transfer of data words 105 and 106 would have had no effect
since, according t o Section 4.11.7, theseare not assigned.
According to Section4, data words 105 and 106 belong tothe group of "retentive data" in the IP 252.Retentive data of a controller
structure are constants, configuring switches W-),DAC/ADC addressesand page nos. etc. Inthe user submodulethey are stored
automatically in EEPROM along with the DWSR structures of the IP 252. Since the EEPROM only has an operating life of >10.000
write cycles, such a mode may not send data cyclically to the IP 252.
5. S5 CPU C-> IP 252 Communications
If a cycIic change of retentivecontroller data is required, the user submodule with the DRS/SR structures (MLFB: MS5374
m
OABll) must be used-Thissubmodule permits achoice between "Data dump desiredlnot desired" by using thefollowing job num-
bers:
If it is desired to dump the data on EEPROM, job "SEND21" must be used (example FB10). If otherwise retentive data are
not to be dumped, job "SEND22" must be used (example FBII).
If the user submodulewiththe DWSRstructures(MLFB: 6ES5 374-OAA1) is used, only "SEND21 " with subsequent "SEND ALL" may
be called (example FBIO). Cyclic transfer of retentive data to the IP 252 is then not possible, since the EEPROM wilt have been
destroyed after a relatively shorf time.
The following figure illustratesdata transferfrom the CPU DBvia the dual-port RAMto the controlier D0 of the IP 252.It can be seen
from this figure that the data range in the dual-part RAM ofthe IP 252 permits the transfer of a maximum of 224 words.Transfer of
all controller DBs would therefore have to be executed in block mode.
aS5 - CPU
l I
IP 252
Fig. 5.4
All the messages listed aboveare rec%nized by the IP 252 operating system and can be
1. interrogated with the help of COM 252 for the PG 615 (or COM REG for PG 635/675/685/695) via the "lnfo" function in the
"Errors" submenu and
2. fetched by the CPU via RECEIVE 200 from a specified RAM area of the [P252 (dual-port RAM).
The error is reset again via RESET 200. Furthermore, any error entered once wil be automatically reset when the module changes
from STOP t o RUN. CONTROL 200 can be used to determine whether a new error has been entered by the IP 252, and whether
it is meanningfuito calf RECEIVE 200.
Generally, only the first message to appear will be entered. Exceptionsare nos. 5l an 75 to 85: However, these messages are overw-
ritten by all subsequent messages!
This SYSID area, which is also similar in other CPs and IPs,
has the following structure in the IP 252:
In the second section of the example F89, the SYSTATarea (SYSTAT = system status) is read with the help of RECEIVE 221 from the
dual-port RAM of the lP 252 with the page no. specified:
The second method of error diagnostics by the SS-CPU is to receive byte 5 of the SYSTAT range specifically (see Section 5.2.4).
5.2.6 Recording and transferring tfie measured values of a control loop in the IP252(osciIloscopefunction)
The IP 252 has a memory in which measured values can be recorded. Three different measured values can be stored in parallel in
the RAM of the IP 252 for each of the 150 sampling points. The oscilloscope function is only important if it desired to display the
meared values on CRTsystems. Using an operator keyboard, for example, a step change can be made in the setpoint fora control
loop and the resulting transfer function/change in manipulated variable etc. can be displayed on the screen.
a] Sending the parameters of the oscilloscope function from the CPU to the IP 252
It is now possible to inform the !P292, via the CPU control program, which measuring points of the selected controller structure
(DR/SR/DRS) are to be recorded, e. g. MP 12 of controller no. 7 (actual speed of the drive controller structure DR and DRS) and
when the recording is to begin:
- Eithervia a trigger condition (e. g. "Value of the first measuring point exceeds 5% ")
- Or immediately after the parameters of the oscilloscope function have been transferred by means of "SEND 30",i. e. without a
trigger condition.
The values of the oscilloscopefunction for initializationare transferred tothe IP 252 in theorder Listed below (see atsoexample FBI4
in Section 5.2.7):
Notes:
The recording intervalis obtained from the two values "expansion factor" and "delay factor" with the sampling timeTA
m
-> Start after beginning of recording:
..
k-n-T,(ms)= .... (ms)
-> End after beginning of recording:
+
Recording duration delay time
k-150-T,(ms)+ k.n.T,(ms)= ...... (W
"CONTROL31" is used to check whether all measured values of the oscilloscope function exist in the IP 252. " FETCH23" is called
to prepare the data transfer, and, in doing so, it sends th source/destination parametersto the IP 252. In the example FB15, all data
recorded by the oscilloscope function (450 data words) are transferred to three CPU DBs. The actual transfer of data is executed
with "RECEIVE ALL". In example FB15,each group of 150data wofdsof a measuring point are transferred three timestoa CPUDB.
5. =CPU <-> 1P 252 Communications
RLO=o FLAG-
mCOmITIONAUY REQUIRED:
m = 1 - FLAG
E.G.: CALL 'FB2"
SmMEN3 1
0000 :AN F 30-0 30.0=1 CODE: NO POWER FAILURE
0001 :S P 30.0 (IS REQmxED IH PB99)
0002 : P 30.1 30.1=1 CODE: RESmT
0003 P 30.1 (mIS FLAG rs USED IN THE EXALIPI;E
0004 .:S F86 ABID BE USED FOR THE
0005
0006
0007
.- SS-135U AND S-150U
m EZmBLE TEE JOB
(SET THE IP 252 !R3
" S ~ Z O '
RUN) OHLY IF
0008
0009
.
..
TBE Imm!s/OUTmrrS
CESSED AGAIH, X-E.
ARE BE-
APPER THE
PRO-
oooa PC CYCLE PREVIOUSLY I N T R R R BY
~
OOOB TfZE CPU STOP HAS BEEN PROCESSED TO
oooc
OOOD
*. !m TEE Km.
0005 ..
* IN THIS m DA!lA ARE SENT FROBE
0006 FXIIAG 'AORR l 0 6 AND m 0 8 OF TBE CPU
0007
0008
. TO THE XP 2 5 2 .
0009 PAGE NUMBER 4 IS SET ON TEE IP 252,
OOOA TffE JOB GOES TO C O N T R O m NUEBER
OOOB : 2 (SEE JOB NO. 0.121
OOOC
OOOD
--
*
* (JOB NUMBERS 0.11 TO 0 . 1 8
00033
OOOP
.
-.. CORRESPOND TO TBB CONTROLLER
NUMBERS 1 TO 8 )
0010
0011 :L -1234 SEC 12.34% AS !l?HE SETPOINT BEFORE
0013 :T m 0 6 "SEND" IS CAI;LEI), THE PWU; BYTES
0014
0015
.-
t
USED (BERE m 1 0 6 TO F3109) MIST
BE INITIALXZED .
0016 .
*
0017 -
0018 rJU F33244 TRANSHITTING DA!TA FEtOM THE IP 252
0019 HAME :SEND
o o u ssm : K Y O , 4 PAGE HUMBER OF THE IP [HERE: 4 )
OOlB A-HR : KP0.12 JOB -ER 12, I.E. M R-NO. 2
OOlC AI'a2.Fr : PUIOO JOB mmus WORD IS m o o AND m 0 2
OOlD QTm: KSPB TfIEDATaAREFRaFBS
OOlE DEluR : gP0,O nmEmnmm, SINCE PXlAG BYTES
OOlF QBHF : KF+106 TBE DATA FROM FBI06 BEGIN EERE:
0020 QLA3 : KP+4 4 FB, I.E. 2 WORDS
0021 PAPE : W104
0022
0023 . DEPENDING ON THE C O R l X O ~
0024
0025
.-. STRUCTURE USED POIUMING DIVISION
WILL RESULT:
0026
0027
..
*
0028
0029
..
002A
002B :
002C
002D
..
002E
002F
-..
0030
0031
.. P p - p
INTHEmOHLYVAR8.1AFTD
0032
0033
.-. VAR 9.1 RQtX TRAWSM- TO THE
- IP 252.
m ORDER M ATSO !CRAMSMT THE
0034
0035
*
.- m- VAWTES M THE IF, TIfg
0036 '-' -?l XUST BE SET TO
0037 BETWEEET '6' "9'
0038 .
0039
003A
.- FKllO:
FB112:
VAR 3.1 OF TEE IP 252
DEO (BITS AND RELAYS V: AR)
093B FB113: DE1 {BITS AND RELAYS V: M )
003C FB114: DE2 (BITS AND RELAYS V: AR)
5. S5-CPU c-> IP 252 Communications
m: DAO (LIMTS)
0027
0028 .- ------------------------
DR3: DAl (Itmrrs)
0029 * ~ Y D A o ~ ~ ~ R E C g I V g D
FROBZ m fP 252 IH !l!H3
002A
002B
002C
-
:
: B IP, " W m
=BE SET!FO *2".
pxawm.R
I I P ~ g R T O x c S o ~ I W n a 2 ~
002D .
g IX TirrS CASE 1 EYTB (DRI), -CB
002E IS -
, 'IROULD mm ATSO
002F
0030
..
o
BK ~~.
0031 :
0032
0033
..
0034 -
0035 -
0036 .
.-
o
0037
0038
0039
003A
-.:BE
5. SSCPU c-> IP 252 Communications
5 2 Use of Data Handling Blocks of the SS-CPU
0013
.- TflE END, WITHOUT REFERENCING THE
.-
0014 I/OS.
.--
0015
0016
0017
0018 -.
0
THIS -
S TI[BT THE IP 252 W
ONLY BE SET TO RTIN UEIEN THIS RC
0019 C Y m HAS BEEN PROCESSED.
OOlA
0013
*
*
-- TEEREFORE, TEE FUG USED FOR THIS
PURPOSE IS fN!FERROGATED,
OOlC
OOlD :A P30.7 MoMILEs ALFumDY IN RUW?
OOlE :JC =M001 I.E.: JOB FINISBED?
OOlP :AB F 30.7
0020 :S P30.7 SET TBE CODE FOR THE PIRST RUN.
0021 :S P 30.6 TEES ETdS SECMILD BE
0022 * BY THE USER, TO ESTABLISH l@ETlBR
0023 .. OR HfXTEE REQUIRED UXETING TIHE
0024
-. BPTER A "STOP-->RUN-OF TEE IP 252
HBS EmPSED:
0025
0026 -. P 30.6 = 0 ==B RUN
F 30.6 = I => RKCT Kfm
0027
0028
0029
:
-. FURTHER JOBS
0028 :U H 100.1 SET -1
002B :SPA -244 IP W l T i 3 PAGE HtR!BER 2 TO "RUBm
002C HAME :SEND
002D : m0.2
002E A-= : KY0.20 'JOB NO- 20" FOR 'RUN'
002P BFJ2W : FU54
0030 QTYP : KSml
0031 DBHR : gP0,O
0032 QAlW : -0
0031 DBaR : gPO.0
0032 QAMF : BF+O
0033 : BF+O
0034 P m : m64
0035 . :A P 100.1 SET RU)=I
0036 :J[J m244 IP WITB PAGE HUMBER 3 TO "RIRY"
0037 WkME : S W
0038 SSNR : KP0.3
0039 A-NR : 3 x 0 , 20
5. S5CPU c-> IP 252 Communications
0005 .
* THIS ESAlWLE TAKES TBE IPS WITH THE
0006 PAGE NDMBERS 2, 3 AM) 4 FROM RUN
0007 .
g rrDDE TO SMP MODE
0008 a
0005
0006
.. m THfs ExAHPu m ERROR REPORTKD
BY !FKE XP 252 WITH PAGE HUHBER 4
0007 IS FETCHED FROM THE DPR OF TEE IP
0008 A m !mAIl- M THE m.
0009
00- (FOR DIAGHOSING SOFIXARE AND HARD-
OOOB - ~ E R R O R S A S ~ a s F o R m ~ E
OOOC MOLPITolu~)
OOOD THE REPORTED ERROR IS STORED II
OOOE THIS KxuFL% W PBllO
OOOF
0030
.:a F ~ O - 6 RFiITIITG TIME FROM PB6 ACTIVE?
0011 :BEB IF YES, Em).
0012
0013
0014 :JO m247
0015 mmE :tmmRoL
0016 S N R : =0,4
0017 A-= : gP0 ,200
0018 AMZU : P15388
0019 PsPE : FE97
born
OOlB
.: F 89.0
IF r a w ERROR:
P 89.0 OF T H E A B Z U = 1 !!
OOlC :JC =M001
OOlD :A F 100.1 sm D 1 (mRE- A!!! THIS
OOlE
OOlP
. POSITIOIO, SINCE "JC =H0Olw SETS
T ~ mo
E m -1.1
0020 :JU PI3245 EVAWIBTIcm IF m ERROR
0021 HAHE :RECEIVE
0022 SSaR : KYO.4
0023 A-= : BIPO, 200
0024 : Em2
0025 ZTSlP : gSPB
0026 DBbllZ : gP0, 0
0027 2W.W : KF+110
0028 ZLBE : =+l
0029 PsFE : PB98
002A :A F 100.1 SE'J! RIQ=I
002B :JU m248 RESEl! ERROR AG?4IH WITB RESET 200
002c HAHE :RESET
002D : KYo, 4
002E A-WZ gPg,2OO
002F PBFE : FB99
0030 H001 :O P 96-0
0031 :O F97-0
0032 :O F98.0
0033 :O P99.0
0034 :JU ==MO02
0035 :BEA
0036 H002 : ZMtOR -LING: E.G. TRARSFER
0037 :L KB8 ~ O F T B E P B M ~ C H T H E
0038 :T FB5 ERROR c)cmmRm TO m 5
0039 :BE
5. S5-CPU C-> IP 252 Communications
002F :BEA
0030 M002 : ERROR 3AUDLIMG: E.G. TRAWSFKR
0031 :L KB9 HUMBER OF THE FB, IN =CH THE
0032 :T F35 ERROR OCCURRED m m 5
0033 :BE
5. SSCPU C-> IP 252 Communications
.-.-
0028 DBl0 (HERE: D39, AM) rJa6) TO
0029 THE DES!FIBUU?IOR (SPECIFIED IN DBlO
002A FP m 2 m m 5 (EKU: C o m R o X m R
002B :3U F3244 mmm 1)
002C wm3 :S=
002D S- : KY0,4
002E A-HR : KY0,O
O02F ABZW : Ful4
0030 Q?lTP : KQW
0031 DBNR : KYO.0
0032 QAISP : KF+O
0033 : KF+O
0034 PBFE : FB19
0035 :O F 18.0
0036 $0 P 19.0
0037 :YC =MOO1 IF YES, JUMP.
0038 :BRA
0039 MO01 : ERROR -LING: E-G. !CRANSpW
0038 :L KBlO MMBER OF TEE FB IN l?EICH THE
003B :T -5 ERROR CKX[JRRED TO FB5
003C :BE
5. S5-CPU C-> IP 252 Communications
:
-
9
!mBmFEw~PROMTBESOURCESPE-
CIlPIED IN DBlO (BERE: DB9, DRS AND
-6) 'PO TBE DI&SP-ION (SPECIFIED
002D :SPA m244 I19 m 0 BP m 2 To m 5 ) (HKRE coa-
-
002E lal!lE :SEW) mMBER l )
002P SSER : =0,4
0030 A-BR : B;PO,O
0031 AUZW : m 4 FEmB DATA WITH "SEHD aLLm
0032 QTPP : ICCm -mm,I.E. m D A m IB 3ma
0033 DBlOR : gP0.0
0034 Q.~?LNF : gP+O mRmxvmm
0035 QLAE : KF+O I
0005 P
R
- EXZMPLE OF RECEIVING
0006
0007
-.. DATA FRQM CO- m m E R 1 OF
TEE IP WITH PAGE lXUB3ER 4
0008
0009
.-. (AI& AVB3ZBBLg DATA, 1-E. A TOTAL
OF 176 DMfA WORDS, ARE LOADED
OOOA INTO DBll OF TEZ BC)
OOOB
oooc
OOOD
..
OOOE :A F 100 .l m GEHERaTE Rm=l
OOOF
0010
.:Jff
FB246
"m21"
"RECEIVE ALL'
UJ PREPARATION FOR
0011 HnKE :FETCH
0012 SSNR : KY0.4 O
!!! THE IP WITH 3?ZE lWMBER 4
0013 A-HR
0014 MZi?
:
:
KYO 21
-0
.
0015 ZTflP : KCRH WW", THEREF. DBlO IX)Wl!AlXS THE S/D
0016 DBNR : RPO.10 -P mR THE POIimumG 'SEm
-
0017 : -17 AI&" STRT. ADDR- THE PAR&M. 334 DBlO
0018 ZIAE : KX+O rmELmmm, smcE THERE ARE AIXAYS
0019 PBPE : m28 8 DU
oom
OOlB "RECEIVE Bun (SOB m. 0.0) TRAMS-
OOlC PERS FRM THE SOURCE SPECIFIED
OOlD IN DBlO (HERE: COlWROLLgR HUMBER l
OOlE OF TEE If 252 rJITfI PAGE HlMBER 4 !PO
OOlF TBE DESTIHATION (SPECIFIED IN DBlO
0020 BY DWl7.DW24) (RERE: PC-DB-BO. 11)
0021
0022 :W m245
0023 HAME :RECEIVE
0024SSBR: KPOr4
0025 A-= : K r O ,O
0026 M ZW : m24
0027 %TJIP : KCm
0028DBaR: -0,O
0029 ZiUW : =+Q
0028 ZWiE : gP.i.0
0023 PAPE : FB29
002C
002D :O
. F 28.0
002E :O F29.0
OOZP :JC =X001
0030 :B=
0031 H001 : ERROR ~~: E.G. TRBlPSFER
0032 :L m12 HrmEER OF TBE PE m =CH THE
0033 :T PB5 ERROR OCCURRED To FB5
0034 :BE
5. SS-CPU C-> IP 252 Communications
m246
"FE1Y38 23'
"RECEIVE m&"
IN PREPAlUU!ION FOR
0013 NAME :FETCB
0014 SSNR : KYO 4 TO IP WITH PAGE m E R 4
0015 A-HR : K Y O ,23
0016 ANZW : m20
0017 ZTPP : KCRW "W", THEREP. DBlO COMTIUXS TBE S/D
0018 DBNR : KY0,lO PAFUM. FOR THE POX&OW. "SEMI ALL"
0019 ZZWF : W*2 6 STRT. ADDR. OF THE PARAPI. IN DBlO
OGlA rrZLe : W+O ,-I SINCE TB;gRE ARE ZILHAYS
OOlB PAFE FB28
OOlC
00lD
-
:
*
8 DiJ
"RECEIVE AI&" (JOB NO. .O.O) =S-
FERS DATA Pf2(31Z THE SOURCE SPECIFIED
OOlE IH DBlO (HERE: CONTROLLER -ER
OOlF 1 OF THE IP 252 WITH PAGE NUMBER 4
0020 TO TBE DESTIHATION (SPECIFIED IN
0021 DBlO BY IX326.DW33) (HERE:
0022 PC-DB-NO- 11)
0023 :30 .m245
0024 NABE :RECEIVE .
0025 SSaR : %;P0,4
0026 A-NR : KYO, 0
0027 ANZR : m24
0026 XTPP : KUW
0029 DBaR : KY0,O
002A 2A.UF : m+o
002B ZI3Lg : KP+O
002C PaPE : m29
002D :O P 28.0 ERRORS IN T1RANSMSSIOEI ?
002E :O F 29.0
002P :JC =MO01
0030 :BEA
0031 H001 : ERROR =LING: E.G.
0032 :L KB13 MMBW OF TEE FB IN UHICH THE
0033 :T PB5 ERROR clccwmm m FB5
0034 :BE
5. S5CPU C-> lP 252 Communications
.
0005
0006
0007
-. "SEND30" IS USED POR TRJWSFBR AND
ACTIVATION OP 'rEE TEST FfJHmm ON
TBE IP 252
0008 :JU m244
0009 IUME :S=
OOOA SSXR : KYO.4 PaGB NUMBER 4
OOOB A-lw : gP0,30 JOB HUMBER FOR TEST FUNCTION
oooc m m : m 0
OOOD QTm : B;SDB
000E DBHR : RP0 ,l4 DB14 CONTAINS THE TEST-P
OOOP QABlF : W+O FROM m
0010 Q ,: =+l0 W T H 10 DU
0011 PaFE : FBI8
0012
0013
0014
0015 HXTH *RBCEIVE30" TESf-P
0016 OP TBE IP 252 WHICH 3 2 4 . AEREADY
0017 ~ S E T C A H B E I O A D E D ~ A D B
0018 g OF !FEE CPU.
0019 ,-P ALREADY PRESEaT
OOU
001s
.
9
Ilil TBE IP, ORIGxHZu!E EI!PmR m !r3B
"COH RBG GRAPHICS" IBITIALISiWION
OOlC : SOFTUARE (IR l 3 A "SEND3Ou OF TEtE
OOlD :JU F13245 BU
OOlE mm33 :RECEIVE
OOlP S= : KYO.4 PAGE HKIHBER 4
0020 A-NR : K'!€O, 30 JOB NCMBgR 30 FOR *TESTa
0022 AN= : Em4
0022 ZTPe : KCDB S!l!ORE TEE DA!PA IN DB
0023 DBaR : KPO.3.4 DBI(IO. 14
0024 ZAW : KP+O FROM SPBRTING ADDRESS 0
0025 8 L U : KF+10
0026 PaPE : FBI9
0027 :BE
5. SS-CPU c-> 1P 252 Communications
0005 0 ~ ~ O F R E C E ~
0006 .
o TESfP~~THEIP252WI!l!E
0007 g PAGE MMBER 4
0008 g (& -A I& DBfM, I.E. 3 r 150
0009 g IM!A UORDS, ARE ILlADED INTO !CHE
OOOA ~ B U ] C B ; S
OOOB DB15: VBf;WS OF THE 1ST MWSUR-PT.
OOOC
OOOD
.
g
003P :A F 100.1
0040 -.
0041 :SD m 2 4 6
0042 HAME :FETCH
0043 SSNR : R;f0,4 TO fP UITEI PAGE -ER 4
5. S5-CPU c-> IP 252 Communications
0029 :O F37-0
-
0028 tO F 38.0
O02B :JC =H009
002c :BEZI
OO2D H009 : ERROR -LING: E.G. !rRzWSFER
002E :L El499 FB" m F35
OF THE " R E S ~ T
002P :T m 5 Am 3RRoRS IN PAGE Imm3R 2 ?
0030 :A?i F 36.0
0031 :JC -10 IF m, JUMP.
0032 :L !&l TRBBSP- PAGE NO. W WHICE TEE ERROR
0033 : l ! PB4 occURmDmFB4
0034 H010 :M? F 37.0 m R O R s r n P B G E ~ 3 ?
0035 :JC =X011
0036 :L K63
0037 T FI)4
0038 MO11 :All P 38.0 ERRORSINPAGEmiHBER4?
0039 :BB NOTE: m THIS EXAMPLE TEE LATEST
003a :L K64 -OR -WRITES AI;L PREVIOUS
003B :T FB4 ERRORS !
003C :BE
5.2 Use of Data Handling Blocks of the SICPU
DBl 0
0 :
1 :
2 :
3 :
4 :
5 :
6 :
7 :
8 z KS= DB B DB => m - D B - H R . 9 1 !
9 : gpt +00009: WO. 9 !SOURCE:!
10 : ~ ) . ADDRESS IN DB 9
KF= + O O O OSTRT ! CPU !to
11 : gP= +00002; LEHGTH 11 WORDS 1 ! FBlO
12
13 :
: KS= DB
gP= +00001; m. 1
*DB ==> DB-NO. 1 (C-H0.1)
!
1 and
DESTII.:! m 1 1
14 : 1B;F= +00105) Sl!RT- ADDIRESS IN R DB NO. l ! IP 252 !
15 : KF= +00002; W H I H IN WORDS t !
16 : m= 0000; =>=- here: free -- l
, ==
17 :
18 :
19 :
20 :
21 :
22 :
23 : W - +OOOO2; STRT- ADDRESS IM D3 11 C P U !
24 : gp= +00176; UXGTEi IN WORDS ! !
25 : m= 0000; ==>---p --- m:
fm ===----A
l I ---
--
26 :
27 :
28 : KP= +00110; SPRT. ADDRESS IN R DB HO. 1 ! IP 252 ! to
29 : gP= +00010; lOlMBER OF lmi!A TJORDS ! ! m12
30 : m= D3 = = > C P U D B 1 9 0 . l1 ! I
31 : KF= +00011; m. 11T 1 DESFIN.:!
32 : gP= +00180; Sl!RT. ADDRESS IN DB 11 ! C P U !
33 : KP= +00010; m WORDS !
34 : m= 0000; -->P-
g;H= 0000; +----------p------------+
here: free
I
--
35 :
36 : KH= 0000; ! t
37 : m= 0000; ! 2kea of the sanrce/destin- !
38 : m= 0000; ! ation parameters for FBI5 !
39 : KE=0000; ! !
40 : KH= 0 0 0 0 ; ! t
41 : Em= 0000; I !
42 : m= 0000; +-----------------------------+
6. COM 252/615 Operator Guide
61 General
The IP 252 ciosed-loopcontrol module can be configured and assigned parameters with the PG 615and PG 635/675/685/695 pro-
grammers. User-friendly menudriven prompts help the user during operation.
in this section the operator communication of the PG 615 is described and input formats which may occur are also described.
Note:
The PG 615 programmerwith the lP-specificnCOM 252" initialization soitware can only be used if the memory submodule
6ES5 3740AAll is used on the tP 252.
. - --
I * I N l T S T A T E 1
I 1.
Z l I N P U T I
I 2 D I S P L A Y I
I 3 I
I 4 T R A N S F E R I
I
I + S - E L E C T F U N C T I O N
-----CC-I-"II-----I-----ICI-C-------------------
-V 1t
Fig. 6.1 a: Main menu before ScrolIing
------------------c------------------------
I * f N I T S T L I T E I:
I
I 5 D E L E T E
- I
I
I 6 S P E C I A L F U N C T I O N I
I 7 I N F O I
I 8
C O N T R O L L E R T E S T I
I I:
I * S E L E C T F U N C T I O N
--cc------------------------*--------------
- i
Fig. 6.1 b: Main menu afar scrolling severaltjrnes
6. COM 252/615 Operator Guide
6.l General
I * l N P P S I C ! S 1 1
I I
f S T A . 1 D C L 1 . 1 X I
I A D R D A C 2 7 I
1 I
f I
I f
I r P A R . B R A N C H U 1 + I
---c---------------------------------------
Output: Data is output n'ght justified, i. e. each subfield is represented on the right after subfield enter key has.been pressed.
I * I N P . P 6 1 C Z S 1
I
I S T A . 1 D C L
I A D R D A C 2 .
I
I
f
I * P h R . B R f i N C H D 1
_____-________11-3_------~-----------------
Sign: In signed parameters, the sign appears in a special sign position. Positive signs are suppressed during output.
Bit value - - 1 - OM
Integervalue
Number, MPnumber - - 2 - var.
Address - - 3 - var.
Constants - Yes 6 2 +/- 99.99
Percent values % Yes 7 2 +l- 100.00
Time values ms - 5 011 0.1-9999
S - 5 0-3 0.001 - 9999
hm - 5 2 00.01 -59.59
6. COM 252/615 Operator Guide
6.7 General
2. Percentage
v100.00
\IZZ.ZZ
vz.ZZ
3. Milliseconds
ZZZZ
2223
4. Seconds
zzzz
z.ZZZ
zzzz
ZZZ.2
5. Hours
HH.MM
-------------------------------------------
I * f N P S B H C 5 S 2 I
I
I H . 1 J A R N S N 6 2 0 . 5 D
-
f
1
1
I L . W C I R N I N G 1 2 . 3 D 1 1
I H . D A N 6 . L I t l 3 0 . 2 D 1 1
I L . D A N E . L I n 1 8 . 6 D I I
I: V 1
I * P A R . B R d N C H Q 2 + I:
------------c------------------------------
6 2 PG (Programmer) Functions
62.1 Start-up
After switching the power on, the COM 252 executes a short self-diagnostic test and then goes immediately into the default rou-
tine. Herethe defaults form is displayed on the screen (see Fig. 6.6),which the user can acknowledge with the Break key or modify
with the function keys. After modification, the defaults must also be acknowledged before the main menu is displayed,This main
menu is shown in Fig. 6.1.
The main menu corresponds t o the base state to which the user can return from any point by single or repeated activation of the
Break key. from this main menu hecan go into the required function by enteringthe calling number of the function.
I + D E F A U L T S X
f I
I B U S ACCESS.: N 0 f
I I
I I
I I
I I
I Y E S N U
........................................... - I
622lnput
The term "input" refers t o all steps requiredfor fully specifying a control loop with the COM 252/615. In order to prevent any steps
being overlooked during the first input procedure, the PG guides the user linearly, i. e. on a path without branches, through all input
functions.
6 5 PG (Programmer) Functions
-c-----------------------------------------
I * I # P I
I 3
I B L O C K I
I A V A I L A B L E I N P G I
1 I
I E R A S E ? I
I I
I Y E S N 0 + I
----------c--------------------------------
After the user has decided to delete the block by entering " 1",the input menu appears on the PG as shown in Fig. 6.8.
- - --- - -- -- ---
I * I N P U T I
I 1
I 1 P S I
I 2 I P 2 5 2 I
f 3 S U B M O D U L E I
f I
I I
I S S E L E C T F U N C T I O N
-----c-------------------------------------
- I
-
By entering a number (l 3) the user determines where the controller block generated in the subsequent step is to be stored. If the
user selects input into the IP 252 controller module or into the submodule, the PG fetches the necessary text and description lists
from the selected target device. Howwer, if the block is to be stored in the PG, then the user must first speci* whether an-line or
off-line operationis required. During this, the user is guided by the "Select operating mode" menu shown in Fig. 6.9.Depending on
this input, the list source is displayed in the top menu display line.
6 9 PG (Programmer) Functions
The input of the control loop number must be concludedwith the subfield or global enter key,where controller numbers smallerthan
1 or greater than 8 are neglected.
The letter which is displayed in the first line of the dislplay directly after "PG" (M in Fig. 630) indicates whether the memorysubmo-
dule or the IP 252 is used as the list source.
I * I N P P G M C 2 I
I I
I 1 D R I V E I
I 2 S T A N D A R D I
I 3 --- I
f 4 --- 1
I I
I + S E L E C T f O N F 1 G U R . I
Configuring means the setting of software switches (configuring bii), which are embedded between permanently assigned
branches, according to the application.This means that the switches of necessary branchesare dosed (= 1) and thoseof unneces-
sary branches are left open.
The configuring or St~Ctufe switches function both as "on"/"offU and also selector switches.
For "one/"off" switches, "0' means "No" and '1" means 'Yes". Selector switches are identified by a "/" in the text and select
between t w o alternative sub-branches. "0" in this case is the first alternative and "1 " is the second.
The structure switches are hierarchically organized and assigned t o corresponding Ievels.This organization can be recognized by
the indentation of the corresponding lower level structure switch designations in the configuring menu.
, user prompting is configured in such a way that sub-functions o f a not selected branch, i.e. a branch set
for a better o v e ~ e w the
t o "O", are skipped over during structuring or configuring, so that they do not appear in the corresponding menu displays. The struc-
ture switches are displayed according t o branches. Ifthe cursor is at the last position of a structure branch, then after entering the
subfield entry key the structure switches of the next branch are displayed. If the cursor moves upwards past the main structure
switch, the structure switches of the previous branch are displayed.
Positioning within the display is carried out with,the heip of the cursor-up and cursor-down keys.The selection of the branch to be
used is carried out by setting to "D" or "1" and subsequent pressing of the subfield enter key. As an example Figs. 6.12 and 6.13
illustrate two cases where a selector is set to "D" and then " 1"
6. COM 252/615 Operator Guide
----------------------------------m--------
1 * I N P P 6 M C 2 S 2 I
I I
I L O O P C O N T R O L L E R 1 I
I C O N T / S T E P 0 1
1 S f A N D A R D / U P G R A D 0 I
I M . P G / A D C 0 f
I V I
I * C O N F I G . E R O l + 1
-------------------------------------------
Fig. 6.12 Configuringthe controller ourput: continuouscontroller
I * I N P P G M C 2 S 2 I
1 I
I L O O P C O N T R O L L E R 1 X
I C O N T / S f E P 1 I
I
I
P S K E Y / A D C U I -
L
I V I
I * C O N F I G . B R D I + I
-------------------------------------------
Fig. 633 Configuring the controller output: step controller
The selector switchesshown in this example switch between the two alternatives "continuous control[eroutput" and "step control-
ler output". In Fig. 6.12 continuous output is selected, in which case the programmer displays thesub-functions of this branch, e.g.
standard/enhanced and H.PG/ADC. (The meaning of the abbreviations used in the menus is described in the appendix of this sec-
tion). In Fig. 6.13 the selector switch is set to "1",i.e. the output functions as a step controlier output and the programmer displays
the sub-functions of the "step controller output" branch, H.PG/ADC.
If a branch is not selected, ?hen its sub-functions remain invisible to the user and are onfy listed when the branch is selected in the
display of the PG-Thisis illustrated in Figs. 6-14 and 6-15 using the example of a speed setpoint.,
I S E T R E V / M I N 1 I
I R A M P G E N E R A T O R 0 I
I S r t O O T H I P 1 6 0 I
I S E T P . S E Q U E N C E 0 I
I v f
. I * C O N F I G . B R 0 8 + I
_------------------------------------------
Fig. 6.15 Setpointbranch selected
6. COM 252/6l5 Operator Guide
6 2 PG (Programmer) Functions
------------------------------*------------
I * I N P P 6 M C l S 1 I
E I
I T & = U . l * T I P t E C O N S T . 1
I I
I S A H P L . T I M E T A 4 M S I
I I P L O A D C 1 8 5 % I
I r
I S T O R P A R T A > + I
-----c-------------------------------------
I * I N P P 6 M C 1 S 1 I
I 1
I T & = O . l * T I M E C O N S T . 1
I f
f S A M P L . T I H E T A 8 H S I
I I P L O A D C 1 4 2 % I
I I
I S T O R P A R T A > T A < + I
Fig. 6.V Sampling time m m after changing the time
In the sampling time menu one is initially reminded of the rule of thumb that the sampling time should be approximately 10%of the
dominant plant time constant The input line for the sampling time with a default value of 4 ms is located under this reminder. The
line below the samplingtime shows the processorloading of the selected control loop-Thelast line of the displayshows theassign-
mentof the numericat keys as function keys. In Fig. 6.16 * l n is used for the function "ABSP", "2" forthe function "PAR" and "3" for
the fundon "TA.". "ABSP" is used far aborting the storage of previously entered data and returningto the basic menu. Pressing
the "PAR" or the ENTER key takes the operator to the next function, i.e. "programming stop behaviour". The "3" key is assigned
the function "TA>" which increases the sampling time in steps On powers of 2).After changing the sampling time v& 4 ms) the
function "TA<" then appears in the menu and is assigned to key "4". Witfr the '4" key it is possible to reduce the sampfing time
shown on the display. Whether the wntrolter is stable at the selected samplinglime remainswithin the responsibilityof the
user.Similarly, it is his responsibiliitywhen changingthe sampling time to also adjust the controller parametersaccording-
h-
6 2 PG (Programmer) Functions
These decisions have defaults of YES and can be changed by pressing " 1" or "2". In this case, '1" means "YES" and "2" means
"NO".These inputs must be concluded by pressingthe E N E R key.
Fig. 6.18 shows the menu for determiningthe stop behaviour.
-------cc----------------------------------
1 . * I N P P 6 M C l S 1 f
I I:
I S E T O U T P U T S T O I
1 0 I F D I S A B L E : Y E S X
I W A R M R E S T A . R T : Y E S I
% R E S T A R T C O N D . : Y E S I
I f
I Y E S N 0 + I
1 ++ 1 F p
. .- .
.d
7 C i '2 :
&
..
A
A i
. ! F O R C p 9 2 & . - p . T T ' U R E S ?'
--
L . . . .
?
; a L , z Nf f
t. % & M E ;
---
P
& c r e; . 3 ; . -. .
? C
i: -.
3, ;v; F =
-*-
?
i I
W ote:
An entry in this screen form is not relevant for the control. Such an entry is only meaningful for controller manipulation and rnoni-
toring with the CP 526.The ASClI characters entered can then be displayed on the CP screen.
6. COM 252/615 Operator Guide
62 PG (Programmer) Functions
the base units menu the characteristic or ASCIi input can be called up via soft~eys.
~rom
' i * I N P P G M C ? S 2
I
f U N I T D 1 :
I
I
• D % = 2 0 . 1 %
I f 0 0 2 = f 5 6 . 8 X
I
I E N T E R V A L U E S
l + ! N P ? G M C l S 2
-
* -,
A v A
1 3 f : K P / C M 2 P O S . : 1
I 1
i A B C D E F E H 1 4 K L M N O P Q R S f I
I U V U X Y Z O t 2 3 4 5 6 7 8 9 / X I + I
7
I
3 P O S . E N T E R + I
------cc-----------------------------------
I * I N P P 6 M C 1 S ? I
I I
1131 C O N T R O L L E R O U f . P U T 1
X 0 5 S P E E D C O N T R O L L E R I
1 0 8 S E T R E V / M I N I
I 1 0 A C T U A L R E V I M I N I
I I
I * S E L E C T B R A N C H + 1
Fg. 6.24 Overview of the selected branches
The parameter iist only displays the parameters ofthe selected branches and subbranches.
Each input must be concluded with the subfield ENTER key, whereas the completion of the branch parameter assignment must be
concluded with the Enter key. After this, the parameter list for the next branch appears until all branches have been assigned para-
meters. Then the branch list appears again on the PG. If no further parameter is to be modified, the previously entered data can be
stored by pressing the ENTER key again. If a data record isalready present in the target device underthespecified controller num-
ber, then the menu shown in the Fig. 6.25 appears on the PG.
*--------c--**-----------------------------
I * I N P I P C l S 2 I
1 1
I B L O C K A V A I L A B L E I
I 1
I I
I O Y E R W R I T E ? I
I I
I Y E S N 0 + f
------c------------------------------------
in this step the user must decide whether the old or the newly entered parameter sets are to be used further.
Special cases:
t Limit monitor
The limit monitors are designed for a maximum of 6 steps. For operation with fewer stages the user must select the number of limits
to be monitored in the first menu input line. The Emit value menu changes accordingly and the PG requests the limit values in the
. same menu. The physical units of the entered limit values are determinedby those of the monitoredmeasuringpoint.
In the function generator and setpoint sequence, the number of vertices (interpolation and extrapolation nodes) can be selected
optionally between 1 and 10. The parameter assignment menu is generated according to the number selected.
.-m-.-.-.---<--.-
- L.. Y.
-
-
-
..
- ..
L-
... ..:
L,...
..
7
L : ,
.-
-
.- -
.7.
5.
.
7.
--
,'L
7.
C < '
..
- .-:
' '
L -...
.=?
.&,
r.*
A
c+
:'.
m
.t^
...
- .-.- - .
...
C.
<.
.
< .,
.
v
<.
.
..S
'.
.i
,t -,'
i'i .-
< ,
- . .. , .
G
-:
...
-..- .
A X.;
.-.
7 ,z !.- :-- :-
I-:
:
.G
7 ' . 7.
:. .: T
2
.:
m
.'v'. :
*
i+pic;,:5. -%
.
".
.--:
.-. $+
.: r.:
.. ;: .!" .: .:
v-,
.- -
L.. -
. :
.:.
--.-----.----.--------..----.---- .------------m -
---W- -
------------------c------------------------
I * I N P P 6 M C 1 S 2 I
I * I
I L I N E A R l I
I T I N T E R V A L . 2 O M S I
I S E T P O f N T 1 0 . 0 0 D 1 I
I S E T P O I N T 2 0.001311
I V I
f * P A R . B R A N C H 0 3 + f
-------------------------------------------
Fig. 629 setpint seqvence&h 2~hterpolation
nodes
Apart from the number of interpolationnodes, the user must also select the distance between nodes by specifying the intervaltime
U-interv).
In addition, the user can decide whether the interpolation between the nodes should be linear or according to a staircase wave-
form.This is specifed by "1 " or "0", which is entered after the input field "LINEAR".
6. COM 252/6l5 Operator Guide
62.3 Output
If the user has selected the output function by entering the selection number "2" in the basic menu, the output menu shown in Fig.
6.30 is displayed on the screen.
------------W------------------------ ------
I + D I S P L A Y :
I I
I f P G i
1 2 I P 2 5 2 1
1 3 S U B H Q D U L E 1
f 4 P R I N T E R I
I 7
A
i * S E t E C T F U N C T I O N + 1
--------------c----__-------------------------
Usingthe selection numbers listed in this menu, the user must select the source device from which the controller data blocksare to
be output, After selecting the source device, the menu shown in Fig. 6.31 prompts for selection of the listed data to be output.
in contrast to the rigid user guidanceduring incut, various operational procedures can be selected individually during output. After
each operational step the program returns tc his output menu-fhe BREAK or ENTER key branches from this menu to the storage
prompts.
IMPORTANTNOTE:
When assigning parameters the selected dimensions are displayed initially and can be changed as during input.
Please note that modificationof the characteristic does not cause the values previously enteredforthat physical unit to be
changed, so that it is possiblefor values which are outside the input range to be present.
Example:
Old node : 0% = Okp/crn
200% = 300.0 @/cm
input 270.0 kp/cm
New node : 0% = Okp/cm
'100% = 100.0 @/ern
The value 270.0 remains as entered but now, instead of being converted by the IP to 90%, it is converted to a completely
random rnodulo value since the inner limit has beenexceeded.
------------------c------------------------
*
I * P R I H T E R O U T P U T L
I I
I ! P R I N T P A R A M E T E R f
1 2 P G f
1 3 1 P 2 5 2 I
! 4 S U E M O D U L E Z
I I
I + S E L E C T F U N C T I O N +
-----------------a----------------- --------f
Fig. 6.32 Print rnenc
-----------CCCCIC--__---C-C---I---------------------
*
I * P R ! N T P A R A E E T E R S
B A U E R A T E 4 0 0 I
I
I
# A X -
W A I T I
-
N U M . L I N . :
, R . t R :
7
0 0
2
5
I
1
I
-i
W A I T
B U S Y
T . R .
S I G N A L
L F :
:
0 1
N 0
0 -
I
*
• T I T L E B L O C K : N O 7
A
I 1 5 0 3 0 0 6 0 0 I Z O D X
----------------c--------------------------
In the last display line the selection numbers "1" to "4" are assigned values for selecting the baud rate.
623.12 Print PG
After selecting "Print PG" by entering "2" no further sub-menu appears, except for the prompt for source of the list, as in "Input
PG". "Print PG" documents the current control loop in the PG. The documentation is printed in the following sequence: structure
switch positions, sampling time, resulting processorloading and finally the parametersof theindividual branches(see Section 6.5).
Parameter tis;:
The parameter list documents a controller with structure switches, sampling time and branch parametersas in "Output PG"
(see Section6.5.).
The cross reference list documents the calling list of all inputs and outputs used in all the control loops so that muftiple as-
signments can be detected and the wiring can be documented.
Complete printout:
The complete printout is a combination of the parameter list of all controllers available on the IP 252 or submodule and the
cross reierence list.
6. COM 2521615 Operator Guide
----c--------------------------------------
I * O U T P R T I P I
I 1
I 1 P A R A H E T E R I
f 2 C R O S S - R E F . L I S T I
1 3 P R I N T A L L I
I f
I I
X . * S E L E C T
---------------------------------------v---
F U N C T I O N - I:
6.2.4 Transfer
The user selects this function by "4" in the base menu and can then select the source and destination of the transfer operation.
The control loop parameters are transferredbetween the PG and the IP 252/subrnodule packed in a data block @B). Each control
loop is assigned a fixed DB numberwhich however remains invisible to the user.
If the control loop is transferred to the 1P 252 or submodule, which is already present at the destination, then the user is prompted
as to whether he wants to overwrite the previous control loop. The same prompt occurs if transfer is carried out to the PG and a
control loop data block is present there.
Two possibletransfer menus are illustrated in Figs. 6.35 and 6.36.
1-------1----C--I------C----------------------
I * T R A N S F E R I
1 I
I 1 I P 2 5 2 - > P 6 I
1 2 P G - > I P 2 5 2 1
I 3 P G - > S U B H O D I
1 4 S U B H O D - > P 6 I
I Y I
I * S E L E C T F U N C T I O N - S
--------I----------------------------------
I * T B A N S F E R I
I
I 3 P G - > S U B H O D
- I
I
I 4 S U B M O D - > P G I
I 5 I P 2 5 2 - > S U B M O D I
1 6 S U B M O D - > I F 2 5 2 I
I I
I * S E L E C T
--------I----------------------------------
F U N C T I O N - I
6 - 3 Delete
This Delete function can be selected by the user by entering the number "5". Afterthis, the Delete menu shown in Fig. 6.37 appears
on the PG display.
After selecting "Dekte IP 252" or "Delete submodule" the user is prompted by the PG to enter the number of the control loop to
be deleted. In "Delete PG" the lines "2 Ddete 1P 252" and "3 Delete submodule" are displayed and in line 3 after the "1 Delete PG"
. a question mark is displayed (see Fig. 6.38).This question mark is a safety prompt and should be acknowledged by entering " 1 ".
I * D E L E T E I
I I
I t P 6 ? I
I I
I I
I I
I I
f * S E t E C T F U N C T I O N
------------c------------------------------
- 1
If "Deiete submodule" and "Delete IF" are selected, the user is prompted by the PG to enter the number of the controI loop to be
deleted.
6.2.6 Speck1functions
The menu "Special functions" can be called up by the user by selectingthe number "6".The menuwhich appearr on the PG display
is shown in Fig. 6.39.
---------cc--------------------------------
I * S P E C I b t F U N C T I O N I
I 1
I I M O D E I
I 2 D E F A U L T S 1
I 1
I I
I X
I * S E L E C T F U N C T I O N
------------------c------------------------
- I
As described in the previous sections, one enters into the "Operating mode" or "Defaults" menu by entering the corresponding
selection number.
6. COM 252/615 Operator Guide
The upper line shows the current module state whereas both lines underneath show whether the eigh: control loops in the IP mod-
ules are enabled or disabled.
- p - - p p - p p -
I * # O D E : I F - S T O P I
I I
I t - N R : 1 2 3 4 5 6 7 8 1
I E M A B : N N N N N I - - -
1 f
I E N A B L = Y E S D I S A B L = N O I
f I
I Y E S N O R U N I -
Fig. 6.40 Operating mode menu
After entering a selection number, a question mark appears after the selected function appears (e. g. RUN).This prompts the user
to enter the selection number a second time. This safety cheek reduces the probability of incorrect operation.
If the module is in the STOP by software initiation, then it can be put in the RUN state by entering "3"twice in succession.The mes-
sage text in the display changes from RUN to STOP.STOP appears in the last display line above the "3", i.e. the seiection number
"3"is assigned to another function.
in order to enable or disable one particutarcontrol loop the user must position the cursor to the point belowthe control loop num-
ber. Then he can change the enable/disable state of the particular control loop by pressing the selection number twice. The line
which contains the message "ENAB" gives information about the current state of the particular controller, where Y stands for
enabled and Nfor disabled or not used.
6 2 6 2 Defaults
The Defaultsmenu (see Fig. 6.41) is restrictedto the prompts bus access YES or NO.
Bus accessmeans in this case that the lP252not only uses the internalADCs and DACs but also accesses theextended peripherals
of the S5 bus. This has an effect on the syntax checking for the address assignments of the ADCs and DACs. Without bus access
only the internal addresses 0 to 7 are passible, with bus access however the addresses 128 to 254 are possible.
f * D E F A U L T S
I
I B U S A C C E S S :
I
1
I
I
I Y E S N 0
La7 Information
This menu is called by selecting number "7" as shown in Fig. 6.42.
-------------------------------*----------v
I * I N F O I
f I
1 1 C O N T R O L L E R L I S T I
f 2 S Y S I D I
1 3 E R R O R 1
1 4 P R O C E S S O R L O A D I
1 I
I * S E L E C T F U N C T I O N + I
Fig. 6.42 Information menu
In this list the available control loops in the IP 252 and the submodule are listed. For each control loop the structure name and
version number is displayed.
After selecting the controller list the menu shown in Fig. 6.43 appears in which the user must enter the operating mode (online/off-
line). This influences whether the IP 252 or the submodule is used in the lower submodule receptacle of the PG 615 as the source
device for the list. Fig. 6.44 shows the actual controller list appearing after selection.
f * C O N T R O L t E R L I S T I
I 1
I 1 O N L I N E 1
I 2 O F F L I N E I
I 1
I I
f I
I + S E L E C T M O D E + 1
-------------------------------------------
Fig. 6.43 Controller list l wune selection
627.2 SYSlD
This fundion was introduced so that the system CPU could access its IPs (intelligent I/Os) and CPs (communications processors:
and read the version number, the date ofgeneration and the module designation for diagnostic purposes. If the "SYSID" functior
is called up undertbe "Information" function, then the menu shown below in Fig. 6.45 is displayed.
I 2 Q F F L I N E I
I 1
I I
I I
I e S E L E C T M O D E + I
...........................................
Fig. 6.45 SYSlD base menu
In this menu the user must decide whether he wants t o work online or offline. Next, the actual SYSlD mask, which is shown in Fig
6.46, is displayed.
Only the date is t o beentered by the user in this screen form. The page number and the submodule version, in this caseV1.3M, arc
displayed after scrolhg down twice.
- *
.'; -5 '.; ?.
5
- -
.T .!. 2
--
I .. 7
Y : " ! E R Y 7 3 % :G.& -
&
6 * e
F . -3 :
-
E > f $ T E A
Z F & G E M R . c L
q =,
- 2
- T
.. -.
I S G S * , %\/=?<S: v - : <
-2. pj z
7 T
+ r>
, 4 T F - g -
L
6 2 PG (Programmer) Functions
This function enables errorifault diagnostics if, for example, the IF will not enter the RUN mode.
- -
Under normal conditions no error the following menu will be displayed:
'7 +
-. -' R ". c; -
L
7
,c. L' . I
-
L
.+ -
i
d.
--
2.
--
k .. & L - L
-
.L
t
-
* A
- - .
-
I _ _ _ _ _ _ _ _ _ _ _ _ _ C _ _ I_--- - --------.-------
The following messages are transferredfrom the IP 252 to the CPU control program for diagnostics purposes:
Errornumber Text on PG 615 Error caused by Reaction of IP
decimal toenor
p
All the messages l i e d above are recogn'd by the IP 252 operating system and can be
1. scanned with the hdp of COM 252 for the PG 615 or COM REG for the PG 635/675/685/695 via the "Info" function in the
"Errors" submenu, and
2. fetched via RECEIVE 200 from a specific RAM area of the lP252 (the dual-port RAM) bythe CPU. The error bit in questionis then
reset via RESET 200. An error b i once entered, will be automatically reset when the module goes from "SfOP-> RUN".
CONTROL 200 can be used t o determine whether a new error bit has been entered by the IP 252, and therefore whether i t is
meaningful or not to call up a RECEIVE 200.
Genemily, only the first message receivedis entered. The numbers51 and 75 to 85 are exceptions: these messages are overwritten
by all subsequent messages!
6. COM 252/615 Operator Guide
6 2 PG (Programmer) Functions
-I------ ------c---------------------- - - - - W -
I * P R O C E S S O R L O A D I
I I
I 1 O N L I N E I
I 2 O F F L I N E I
I I
I 1
I I
I * S E L E C T M O D E - I
6.2.8 Controllertest
The wntroiler test function is selected by entering the selection number "8".Itis used for operator communication and monitoring
of the contrdler under online operation. In addition to the input and dispiay of parameters, the controllertest is also used for dis-
playing bit variables (e. g. branch enable bits or Iirnit value identifier bits), input values (e. g. PC setpoints) or intermediatevariables
(referred to as measuringpoints). AT1 values are updated several times per second by the IP252.
Forcing during controller test (W key)
The cursor is not visible during the stabs display. If a parameteris to be modified in the RUNmode, the cyclic status request is inter-
rupted by the FORCE key.The last display is frozen and the cursor appears in thefirstforceableReld or in the last forced field in this
screen. If no forceable fwld is available in the current screen, the PG searches for the first forceable field a)ter the current screen.
If no feid is found, the old screen remainsdisplayed and a correspondingfault message appears and the status is again cyciicalty
requested. Othennrisethe display scrolls until the first forceable field found appears on the display.
fn the "Force" mode, ttte cursor can be moved upwards or downwards with the cursor keys as during parameter assignment with
the restrictionthat positioning is onIy possibleon forceable fields. If no forceable field is available in the direction of thecursor kex
a fault message appears and cyclic updating is again started (cursor disappears).
If a parameter on which the cursor was positioned is t o be changed, the desired value is input and the subfield ENTER key is
pressed-ThePGthen transmits the new valueto the IP 252, interrupts the forcing mode and returns to the status dispiay mode.
Values which cannot be forced:
% Addresses
**
Measuring points
Number of tirnit values
$c EEnterpoiation/extrapolation node and setpoint numbers
When selecting the following parameters, there may be conflicts with the outer loop controller since it also accesses the same
memory locations via the dual-port mechanism:
*
PC setpoints
8 PC enable bits
6. COM 252/615 Operator Guide
ADR Address
ADC Analog-to-digital converter
ANQ Analog output
BR01 Branch 01
Cl Controller 1
C LIST Controller list
CNO Controller number
CONT Continuous-actioncontroller
CR.W.TIME Waiting time after carnage return
D1 Dimension 1
DAT Date
DAC Digital-to-analog converter
DLM Danger firnit
ENAB Enable
HH.MM Innut format for hours/minutes
INP ~nbut
IP lntelliaent I10module (IP is often used as an abbreviation for \P252 in this manual)
IP-LOADC7 IP loading dueto contrb~ter1
Lower
Waiting time after line feed
LMV Limitingvalue
MAX.LINES Maximum number of lines
MOD Submodule
M.PG Manualvalue PG (manipulatedvariable for manual intervention)
MS Milliseconds
MS.PT-NO Measuring point number
NORM DECEL Normalizationof the decelerating current
OPM Operating mode
OUT Output
PAR Parameter assignment
PARAS Parameter assignment
PLN-CONST Planttime constant
P-NO Page number
PR1 Printeroutput
PROC.LOAD Processor loading
POSN Position(indimension designation)
S Seconds
S1 Structure 1(drive cantroller DR)
S2 Structure2 (standard controller DR)
S3 Structure3 (drive controller with self-setting DRS)
SEC Seconds
STEP Step controller
STOR Store
- ..~
Hardware messages
M ExternalRAMerror Replace PG
03 InternalRAM error Replace PG
6 5 Output :Print PG
SampI. time: 4 ms
IP252load: 65%
3. Controller parameters:
COM REG
Programmer-Software
User's Guide Order No . C7900CbB8576.C38&02
T A B L E OP C O B T E B T S
4
4.1
. mi- *
Processinn the Caatralfer FB
R64..... ..........4-1
.......................... 4-1
4.2 -set ................................................. 4. 3
4.3 Hain m.... ......................................... 4-5
4.4 Irma................................................. 4-7
4.4.1 Entering a Controller D3 .............................. 4-8
4.4.1.1 Coa+roller ................................4-8
4.4.1.2 S c a ~Time ............................................ 4.10
4.4.1.3 Controller B c b a r i e u r and F3 Humber................... 4-13
4.4.1.4 m526 u p f a tiaa ..................................... 4-14
4.4.1.5 -tt&tk ................................. 4.15
4.4.1.5 farrm#tm fnprrt ...................................... 4-18
4.4.1.7 Controller Braach .................................... 4-20
4.4.1.8 A c Val-
~ Broach.... .............................. 4-21
4.4.1.9 Setpofat Branch...................................... 4.22
4.4.1.10 lipit -tor Brantb ................................. 4-23
4.4.1.11 Test Socket ..........................................4-24
4.4.1.12 Digital m e s s e s .................................... 4-25
4.4.2 Input of t h e Cantroller 'List .........................4.27
4.5 t
- ............................................... 4.30
4.6 Transfer............................................. 4.34
4.7 Delete ............................................... 4-36
4.8 a el t i o n s ....................................
S ~ ~ c ih 4.37
4.9 Information .......................................... . 39
4
4.10 -
Test ................................................. 4.40
.
38576388-02 cm BEG
To exit W REG press t h e break key a-. Then the command inter-
preter is loaded which ~511 display again all asailable packages.
To e x i t S5-DOS press the ftmctlon key a&. !&%S command must be
canfirmed by activathg the &ater> key.
l
-t : Scan time
I
Transfer 4-e + Cantroller
Delete
I
t Phys. dimension
I
t Actual value
Special functians
I
+- Parameter
I Setpoint value
1
&€onnation !Test socket
Test
I
I- Digital peripheral
3 -3 Entry F i e l d s
You enter data into the entry fields by means of the alphanumeric
keyboard and close the entries by pressing the * t e e key.
Before pressing this key yau can move the cursor within the entry
f%e.eldand correct w~ongentries.
Before you start to enter data into the entry f i e l d the cursor i s
positioned i n the leftmost position of the f i e l d . When tbe entry
field is blank, data can be entered l e f t - jrrstified. &&er you
have pressed the <Eatez, key Cm BEG displays the entry right-
justified. Vhea the entry field i s not blank pou can enter data
fn one of t v ~vays:
- Y o u overwrite the old value w i t h the new one in nsch a way that
the position of the decimal point i s maintained, i. e. the nev
value is entered right-justSfLed. The advantage of t h i s method
is t h a t anlp those characters that really have to be changed
are entered. In the previous example "10" i s overwritten with
=pu.
There are different types of parameters under COH BEG and for
each type of parameter anlp m i c d a r 3xtput formats are alloved.
In the following table all types of parameter are listed:
!type of Decimal
Parameter places
Controller no. 0
DB no. 0
??Bno. 0
B l t valae 0
Address 0
Fired point 2
Percent value 2
Times 1
0
3
2
1
0
2
Determination 4
of physical 3
dimenssatl . 2
1
0
as fo k t determined
detem. abwe
above
Dimensbn-dependeat parameters are parameters vith the sams unit
as the values to be cantrolled, for example the setpoint value,
the ermz signal, the setpoint value error lhits, the processed
ac- val-. Far further information see chapter 4, secclan
'Input/Entering a standard controller/Inpttt characteristic".
3 -5 Rewmwmhtions for the
You can project a controller by mesas of COX BEG accordiag t o the
steps described belov:
- Scan tine 1 )
- T h e base of the cantroller list
- Upper limit (of the conaoller)
- Lewer limit (of the copuoller)
- Positive increme11t limit
- Negative increment l i m i t
- Adjustment factor on a continoarts ccmtroller witb pulse/pause
- -W=-
Gab of the actuator adjustment
Minimm p l s e duration an a step or continuous controller vith
@se/paae outpat
- -er of veztices of the polygon curve
- Distance between the vertices of the polygon camre
- Number of setpoints of the setpoint sequence
- F i l t e r t i m e constant
- Increase at t h e ramp-function generator
- m b e r o f limit values of the limit monitors
- X e a s u r i n g point number for lhit monitors and test sockets
Bfter the test a l l data blocks that have been changed should be
saved %XI tbe fLle u s i n g the function CF4> "TBBF3SFEP.
COM BEG
When you work w i t h the 32252, COX BEG offers the possibility to
p r o g r a the created data blocks into EfaOMs us* the function
-4 , wTRANSVEB". Uhen using the "controller s m c t u r e B64* the
p r o g r d r g of EPBOMs is only possible using the STEP5 program
package.
- When you work vith the controller structoxe R64 and the D252
you should store the d a t a block for both M c e s in different
files so that they are not lPixed PaSatentionally!
- The encoding switch of the printer PT88 should be set as it: was
when the printer was delivered, i. e. all switches "ONn.
-
-- IsIsIs the
the
the
defaalt of COM BEG "Online"?
PC sapplied with-ex?
plugged in?
module
- Is the cable connection b e m e n the PC and the PG correct?
- Xs the crnmeectSoncable semicable?
.- Are the correct SSDOS drivers used?
.
bit values for "Iahibiz controllern, "Final posftlon ON aehiev-
ed" "Final position OFF achieved*, "IIaxmal operationu, and
'Wafntain regvlating variable constant".
- The bLts mentimed above could hwe been set in t e s + .
- Are all parmeters preset w i t h ~ e a n h g f u lvalues? (see chapter
-Entering a controllerw)
- The address of an ADC (DAC) may not be maintained in a satitched
off branch. (You should activate the approprfate branch asing
the s t r u c t a r e switch to check it!)
- Do the hrpt/output d e s work correctly? Were they para-
meterbed for the correct range?
- Do the -t/output modriles work w i t h the correct data format?
~ e g a z f v eva1-S mast be represented in +roans complement!)
- Does a STKf5 program describe an incorrect data vord in the
cancroller d a t a block?
-
specifLe data is stored in the data block.
--
1 102 1 1
-
7
3nptl.t
P
Output d u e s
- DB 2 controller list
- DB X a controller data block (3 5 x 5 255)
- FB 102 fmrct%on block ntth the cantroI algorLthm
~ ~ p a r t i e r i l r r a + t C n + i m + o t b r ~ t h n ~ e g i p m
i a + h c ~ I l c r ~ ~ ~ ~ ~ a n l a + o t h e e r g ~
t i l m o f a l t r e a s ~ b y ~ ~ ?
4-2 Preset
After S5aOS i s s t a r t e d and COH BEG is selected (see section
"Starting COH BEG") COW B E G displays the preset mask.
* sam#kt.: Block : S-
* - - - - - - - - - , , , , * , , ~ - , , , , , , , - - - - - - - - - - - - - - - - - - ~ - * , , " *
Select the operating mode and the program f U e from the Preset
mask.
The main menu is the highest mask level of Col¶ BEG. From there
9- can select the follovirrg functions:
-L> program f i l e
a 4 > module
a 5 > programer (PG)
- entry of stxuc#re
- entry of scan t h e
- entq of controller b e h a v i m
- entry of ftmctian block number
- may of controller and area name for CPS26
- definition of dimensions and pmaerical range
- parameterizaticm of selected branches
Note: Farameterbation offers only those branches and modules
that have been selected during the preceding smcturing
operatSxrP. If you realize b i n g parameterbation that you
have forgotten a module when s t r r r c t t l r i n g the controller,
exit the b p x z t and change the structare using "OUTPUT", in
order to be able to parameterize the desired module.
ffter each entrp of *On or "lw the cmrsor shows the next log%A
switch, i. e. orrly switches of branches that have been a c t i v a t e d
can be -d. Tbos, you are spared asmecessasy and confusing
entries. If you select, for pramale, the continuous controller
"standardnby * 0 ' the cursor will never point t o the item 'inter-
ference fnptrtl s h c e the latter i s optional only for the -graded
controller.
4 . 2 Scan m
lChe "scan the" mask enables you to enter individual scan t i m e s
for each cantroller.
lIbe scan tire is the period of time in w h i c h the input values
(ac-X val't~e, s e w - , etc.) are read in once and the oatput
d u e s (e. g . manipulated variable, limit) axe evaluated and
output to the process.
*
*
*
-
SCAN-TIME
Ndtze :B - h . Stnrt. :GzltzPI.
a u c e / & ~ . :F i l e B- : 003
*
*
*
- The smaller the scan time the higher the processor load. There-
fore, fever controllers can be processed at the same time. In
other words tbe cycle time of a STEPS program fn the backgrotrnd
is becoming longer.
This mask requires four entries. The cursor may be moved by use
of the keys <ccrssor op> and <carsor dowro. Yes/no ennries are t o
be made by means of the function keys <F1> and -3>. The Eunctian
block &er should be entered v i a the keyboard and terminated by
pressing the <Carriage Re-.
By means of the second err-, you may spec* whether the can-
troller output is to be updated immedhtely follouiag the can-
troller processing, or time cuntzolled, i. e . together w i t h the
controller input.
In the f i r s t case, dead t3me is short but not caastaat due t o a
variable program executton time. In the second case, dead time i s
constant but o f the same length as the scan time. This entry i s
rel-t for those controlled systems where the time constant i s
abmt the same duration as the scan time. You then have to decide
which entry t o select, depending on the controlled system.
Ress the function key G 7 > to terninate this entry and step on
to the next entry mask. Entry can be cancelled by use of -8>;
the data block is then created.
*
:R-Aoc. Struct. : Cantral. *
Saace/aesr.:Fife Block :LB OL13 *
D h e n s i o p D1 : D e e
0 Percent corresp. -50.0 Degr-C
100 Percent COrresp. 150.0 Degr_C
* &F HxkAk :K - A a . sfmct. :GZzm1. *
* PARRHETER Smmem. :F i l e Bkek :116 003 -R
- Vhen you make the f-st parameter input you always should
select branch 1 first, COM BEG then guides you (function
key m>mt be a c t i v a t e d ) through all branches. Only when you
u%shto enter Hlodifications should yau d i r e c t l y select the
branch to be modified.
B8576388-02 COM BEG
- Izr addition t o the input fields the masks also contab output
fields that show the selections made when stJ-rtctarfng.The
cursor can be moved to the inpttt fields odlp by t s i n g che keys
<cursor u p and <earsor darra>. Vhen parameters are eatered the
procedure recammended in the section "Input fieldsn is to be
considered.
- -
d o e is m u e tk
m by W.('he default pro-
vides " P P for each address. An entry is only accepted if this
.
abbreviation (resp "IRF. "W, W ) is followed by a number.
Entries may be deleted by ~08miting this mmrber vith fhree
blimks.
*
*
*
*
-
PARAHETER
:R - h . senrt. :L22Ztm1.
!am@esc.:File Blodc : B 003
*
*
t
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * * *
* *
* Brarrh 1:-ller *
* *
* *
* -m 0 *
* 0 *
* MazzwJ v a h A;/. 0 *
* lhstart-. & 30.00 8 *
* *
* High Limit 1w.m 8 *
* L~erlimit -100.00 8 *
* P~pxZbdvdue l .23 9
* -actimtiEe 2.m sgl *
X Mvative aci5m eb= 0 see 2
.* *
* -.m-- 0 *
* *
* *
* *
* F1 ! F2 ! F3 ! F4 ! F5 ! F6 ! F7 I F8 *
* m- ! !Bass ! ! SXvU! S c r a Z L f l J a o ! M *
* -!-IHirutes! ! h ! q !U!-*
* *
The same Ss oritid for the parameters "POS increment limitw and
increment limitmof t h e upgraded controller, i. e. the
values sbould not be zero.
* start-up d value
*
*
The parameters for the w a r n i n g limit and the danger limit need
not be entered if the corresponding b i t s in digital output
word are not evaluated.
* kPLtt
* PARAMETER
* W=
* PARAMETER
~ a f l i n d s ~
l%suxhgpint&
Liazit 01
Glnit 02
i&it 03
Limit 04
lhlir 05
hzit i x
In the last tvo cases data should not be entered under any cir-
crrmstances for the input "Address DI 01" since the digital i n p u t
word i s everwritten by the operating system when the process
image i s created.
4.4-2 .7
- of tbe -ller I;Lbt
-
Qrl,Enter DB
Bembve D0
G3> Time base
h*
-S& Break
After the data block m b e r is entered the program reads the scan
time (nhimm ptrlse duration) frcm the part%crrlsr data block of
the selected destination medLtm and attempts to enter the con-
troller into the controller list. During this proce-e the
erisriPg colurnas wfth t h e same scan time are f i l l e d before a nev
colam is opened. If tpe scan time ( m i n 5 m m pulse duration) i s
not a d t i p l e of f h e time base the controller carmot be entered
and +he time base or the scan time (mhtinnm! pulse duration) must
be mudif fed. The r-l o f individual controllers from che con-
troller list i s also carried out i n form of a loop that i s t o be
terminated by p r e s s b g the area- key.
hfter the f t m c t i o n key (PS is pressed the time base may be
d i f i e d . However, the new value is only accepted if it i s an
integer divisor of all cantrollers cantaizted in the list. The
value is not d e l e t e d before a walid valrre i s entered. If there is
no -er value, which meets a l l conditions for the rime base,
the old value should be entered again so that the user can leave
the inpat field. If the modification was successful the con-
troller list is updated.
After *Outputm is selected from the maia menu the user may select
the m e d i a on which the data block to be processed is stored. The
pript ErmctLon may be branched t o frcm this menu.
<F1> Aogram f i l e
-4> Module
G 5 > Programmer (PG)
4?* PrfPt
Flhen +he user leaves the batput nenrr by pressing G'?> "Store
controller". CC,H BEG overwrites tbe o l d data block w%th the new
one once the prompt =Block x owemite (Pp) is answered. If
-is prompt is -red vith "K" or if the 00-t is left by
pressing G 8 > "Break" the modified data block can s t i l l be saved
from the PG m e m o r y .
0 3 corresponds t o 0.0 V
-
100 % carresponds t o l0 .O V
Setpoint high limit 12.3 V
As described above, the fanctirm "OUTPUT" also contains the
option to print O I I ~the controller data entered. After the *c-
tion "Printw is selected by pressing function key of the
-
first outptrf menu the folloving frmctians are offered:
a frht a rxm+toller data block
a > R* all
-6s Print cross reference list'
Break
The cross reference list shovs the controlLers and the inpPt/out-
pat m o d d e types and the. requized addresses, whether addresses
are accessed twice, and the channel of mochiles not yet assigned.
. .
When t h e function " P r i n t aUn i s selected fie
cmtroller list and
all controllers entered are printed. The representation of the
eaaaoller d a t a corresponds to the representatkm of +he can-
troller input.
*
* Ransrr~ce : File -oT kdde
* File nalE :B : a m z z m . s D F& m :-------
* BloEk :DB Blodc : ZB
* Bladcm. : 3 BLockw. : 3
*
- U h e ~blocks a r e
deleted from the processor the storage contains
gaps that cannot be used because new blocks transferred are
always stored after the already allocated storage. The function
"Compress PCw campresses tbe blocks fa the processor so a t
the gaps disappear and the canrimsous free storage increases.
"Compress PCw may be called dux* operation.
The user nu9 exit the lserm "Special funcEiansW wtthaat an entry
being made by pressing me a r e key.
B8576388-02 COM BEG
M t e : Hot only the blocks created using CUM BEG are displayed bat
a l l blocks contained cm the selected medLum.
The confroller t e s t enables the user to test operating and m i -
torllng of the controllers in adline mode (operating mode of the
module: "RULO"). This function enables the user +a
After the frmction "Test" i s selected and the data block ynimber
of the controller t o be tested is entered, the branch selection
mask 2s displayed. This mask coataias only the active branches as
in the parameter input. In addition, a start-up branch and a
measuring point table are available.
After the branch nrrmber i s entered a l l data of the selected
controtler branch i s displayed and permanently updated on the
screen:
* *
* mwe :R--. istzuct. : -1. *
* CONTROLLER TEST 5wm$kst.:KxM B h k :D3 IU)3 *
* - - - - - - - - - - - c - - - - - - - - - - - - - - - - - - - - - - - - - - - - * *
* *
* 1: *
-
had2
* *
* *
* M P i U r ~ L Z e r ~ 0.0 -
-
C *
* *
* - . 0 *
* 0 *
* &.udrnfiie R;/m 0 *
* tkseatm3l. d u e 30.00 % *
* *
* 0 *
* H P l 0 : ~ V d u e 0.m % *
* ca&tvIlerdisable 0 *
* ~aPerfZorm 0 *
* kverovetflmlD 0 *
* *
* *
* *
* F1 ! F2 ! F3 ! F 4 ! F5 ! F6 ! F7 ! F8 *
* ! I !sbv11 !StxvU I ! !3zztmh *
* ! Force I !rq, !&m I I&zuzdl *
* *
a Force
CF4> Scroll pp
e 5 > Scroll doem
eB Next branch
Branch selection
Vben +he list requhes more space on tbe screen thaa is available
t b e display mty be scrolled up fe4>) or scrolled duwn (Qr5>).
The aert branch i s selected by pressing -h;w h e n the user
presses G 8 > he i s l e d back to the memu f a branch selection.
After the function key is pressed the cyclical s t a t a s d i s -
play i s frozen an +he screen sPd the cursor may be moved by
means of the cursor keys to the i.nput fLeld reqdred. As sooa as
the nev paraabeter d u e i s enterd and the (Carriage Re- is
pressed the aev value is sent to the module by the PG arrd shown
in the new cyclical status display. Since the ~alrredisplayed
comes fram the module, it i s confixned that the modale has accept-
ed the d u e .
The f o l l variables
~ may not be cantrolled and thus must be
changed by means of the frmctian "Olrtput" :
- structure switch
- addresses
- nttmber of limits
- number of vertices of the plygm curve
- number of setpoints for the s e t p o i n t sequence
* *
* F f ! F Z ! F3 F 4 ! F S ! F 6 F 7 F8 . *
* C$tt!4lltl! !E52 ! t I I *
* m52 ? a ? m u G I
!S-m! l 1 !Break *
* *
kcue :XP 2s S t n r t . :
-. : Block:
*
* Rug2an file : B:Z?25aSr.SSLJ
*
"Block:". -e:"
:".
this area contains information aborrt entries already made. This
information i s : "Ndule:". "Sorace/Dest. "Struct.", and
g 5 v e s information about whether the user has
selected the c m t r o l l e r s t r a c t a r e R64 or the IP252.
wSource/Dest. " shows from &ere the output data vas read or vhere
t h e input data is stored. The folloving entries are possible:
program file, snbnmhle, modtzle or PG. In the foot area rhe
function keys a r e assigned the corresponding iunctions; the par-
ticular Snpnts and m t p u t s are made in the area betveen header
and foot area.
The presetting has the follwing defaults:
Operating mode: O f f line
lbdule : : IP252 in SS-115U, -135U, -1500 withcmt access to
backplane bus
AIL/= memory submodule
Itr the presetting the user specifies how t o operate the module
with this WH sof rxare The funct.fxm keys offer the following
optioos:
e1>: om?xmE
-2, : O m m E
<P& : Selection
-6> : Program file
aR : Finished
G 8 > : Break
5-3
5.1 Main Menu
The main is the starting mask for all functions: the user
can reach it frcm each posittoo of the program by pressing the
Break key once or several tfmes.
*
*
*
*
*
*
*
-- Mdde
szum@kz.:
: IP252Stllret. :
----------,,,,-,,,--------,,------------------------------------------------------
Block:
*
*
*
*
*
*
*
*
*
*
*
*
-k
*
*
*
* F1 ! F2 ! F3 I F4 ! F5 ! F6 ! F7 ! F8
* I t ? Eans- ? !specia! t
Each entry made appears in the right part of the header area.
Uhen the oser has entered the c
-
1 loop attmber and transferred
it by pressing the Retarn key, the stmscmming mask (figure 5.5)
is displayed.
S+rrsctPring means that t h e software switches that exist between
a e permanently assigned branches, are set according to rbe
application. That m e a n s that the switches of the branches re-
w e d are closed (=l) and those of the branches not required are
apen (4)-
The s t z u c t r a i n g switches may function as an-off svitches as well
as changeover svitches. For on-off s v i t c h e s *OU means No and "1"
means Yes. Changewer svitches are marked vith a slash "/" in the
tert and are used to select one of two sub-branches. "0" iS
assigned to the ffrst and "lw to the second alternative.
F i g . 5 -4 Stractaring mask
8 4 > : Scroll up
a 5 > : Scroll down
<F6> : Help
a : Beady
G 8 > : Break
h soan as the branches are set the aser has defined the fioal
control loop s t m c m r e . Vhen he is satisfied w i t h it he may
terminate the projection by pressing che frmction key <F7>
(R-*)
~ i g .5.6 Scan t h e m-
-
The menu offers the folloviPg ftmction keys:
a2> : mput
By press*
: m*
: Break
*
&dzle :m32 Stnd.:Staodud *
samx@st.:TPE Block :Qltl m3 *
* ~ ~ ~ p r e r
Yes - ~ ~
* merestartcaditicnisdicr: Yes
*
*
* *
* *
* F1 ! F2 ! F3 ! F4 ! F5 .! F6 ! F7 ! F8 *
* I I I I f t I *
* Yes-! m ! I IR€i?tiy!heak *
* *
a1>: Yes
G P : No
G 7 > : Beady
a 8 > : Break
assigned a -
After specifying the controller behavhvr and pressing the
"Ready" key <P7> each controller mo. 1 Zo 8) of the IP252 can be
name and comprising each nor more
thaa 8 UCII characters. Input in this mask, however, is useful
only if contzollers of the XP252 are to be operated and monitored
via a CP526 or a s W l a r device.
*
* JQ-
* PARAHETER
* D h ~ n s i mDl: QWC
* 0-P mrresp. 15.0 aAD-C
* m Percenr c~nesp. 50.0 m-c
*
*
In the first line of t h e mwnr *DirPens%an D1" the =er may enter
the d5siensLox-i x c e s s a r y for the conaol loop, w i t h an S C X I
s r r i n g up u, 6 ch+rac+ers long 5f the defatrlt does not match.
Afterwards the -or j w s to the next line and the % sign in
the characteristic lines is replaced by the -ion entered.
Thea the "0 %" valtre and the "100 %" value are assigaed a numeri-
cal valoe.
*
*
*
PARAMETER
* *
* a== )(rrbllP Scarct.;Srndard *
* PARAWETER -.:m Block :a272 003 *
In the submenu t o
the softkeys
G 3 > Behaviour
CF4> Adaptation to GP526
CBUT10a:
When the caatroller is parameterized the set dimension is, if
necessary, dLsplayed W t i a l l y aad may be e i e d in the hetput
frmctioa. The user should note that t h e modification of the
characteris+%cdoes not cause another check of the valves pre-
-17 entered. H t e r the characterstic i s modified the new
values may exceed tbe ipppt range and lead to undefined szates.
When the user presses function key QrD in t h e main memu the
a t p u t mode is called. Vhen at this stage the " P r i n t m frmct5.m
key is pressed, tbe mRint" meaa shown in filpre 5 . 1 4 ir; d i s -
played.
-B : Print block
<PS> : Print a l l
<F6> : Cross reference list
<Fb : Break
B8576388-02 COB! BEG
The user should additionally enter the block (parameter set) that
is to be transferred. When an asterisk (*) is sntered all blocks
are transferred.
Mteroards the PG displays the memr shown in fSgrrre 5-15 where
the fanctian keys are assigned t h e follovlng:
The user may call the Delete function by pressing function key
-5s in the mais menu. Then the PG displays the Mlete menu shown
in figure 5.16.
5.6 Special
The special fmrctimns &dh the user selects from the main menu
bp pressing a& offer the following:
eT>S t a r t
This function that cmly runs d i n e , sets
t h e operatiag mde ?&mwfor the modPle.
4?4> Stop
T h i s ftmctian that only rtms d i n e , sets
the operating mode * S t o p w for .the module.
d 6 > Preset
From this meap that is showa in figme 5 . 2 ,
the operating mode a d the progran f i l e may
be selected. When the operating mode i s
prompted the user should enter, o f f l k e , if
programmer and progranunable controller are
not connected. .
The user i s offered tpoo alternatives vhea
operating t h e -252:
-
"IP252 without bus accessn [G3>)
-
"IF252 vith bus access" (<F4>).
COE BEG
e 3 > No
The control loop on ubich the cursor is posi-
+ i d is disabled.
-mipmems
Vben this function key is pressed the main meam
is displayed.
5-7 Information Rmctions on the -52
Vhea the user presses the function key -R ip the maLn menu the
menu "Infommtian" is displayed. The function keys are assigned
the folloving :
GB Directorg:
After the souxce device is selected, the
progr-er supplies a lfst of contents of all
cantrol loops of this medium. In addition to the
control loop &er the structure, the version
namber, and the processor loadfng are displayed.
0. mc
h dog Monitoring tie elapsed nSTBR
2l. Dir. Lus access S5tUrismtenabtedIySBU .STP
P. Uire beak a t d i g i t a l Cpm c i m - t at digital i n p t mSfOP"
irprt Cd%gitalcscho) *SOPR
P. Errw i n anaLog sec. V o l e w l y of anatog sec. has fat led =SiOPI1
30. PC STB Ifhibit caaanj outpR C)- i s active %mF"
31. error Y m m srharrdule i n W252 aSTOPU
flashing
i n i t i a l i z i n g ermr
79. Invalid a r t 1 rumfaer lrwalid c ~ n h a l l e rno. (no. 1 or 2 only) mne
LI]. Sep. time too \mg m i n g tie too l m g C TW W 8 s mly) mne
. 81. Load t#que too high mne
83. Illqgl p c e s k e mne
86. Dptimization f a i l e d Paraetcrs could not k e n calarlated m
B. SFealrbyPG/PC Breakcausedbypmgrg~~ mne
86. S5 s o a n i c a t i m error S5 ammication aror with IP 240 none
87. 55 n're brcak Open c i r w i t in I? 240 d l e rwe
-
W
&cl
1 n.0
2 n.0
3 m-0
me
Dzh?
Drive
m.0
V1.0
m.0
l5 %
L5 %
62%
Bfter the user has selected the function "Test" (63>) and enter-
ed the control loop e r , the branch selection menu i s display-
ed which is identical t o the branch werviev shown in figure
5.10. In additian t o the branches offered for parameterization,
there s r e the t w functions %eamzring point tablem and
"Smrting-upu in t h e control test. W L t h i u the individual
branches, b i t values and svitcb positions a r e displayed in
addLcion t o t h e data displayed f o r parameterization. Bfter t h e
user has selected a branch, a mask is displayed as shown in
figure 5.21. for example.
mte: The measuring points of the 1-t manitors can a l s o be
changed in t e s t operation. If you wish t o chatlge
measuring po-ts of d-erent dlmensions (example : m4
regulatiug variable given as %, MP1 actual value is
dimens--dependent). i t is necessary t o re-enter the
l M t values ip order to obtafn a correct indication of
the limit manitor bits.
COX BEG
* !&Me :m 3 2 e.
: Ssndard *
* CONTROLLER TEST Scuree/Dest.: HZ Bfadc :W 003 *
* F1 ! F 2 ! F3 ! F 4 ! F 5 F6 ! F 7 F8 *
* I I !SCrpU !SCrpff ! IN80 !M *
* ! Farce ! ! u p ! b ! !mIseZectim *
* *
During this controller test ihe user may change each value except
the stractare svitches. These changes should be made by of
the "Forcew mode.
from Branch 10
DAC
n 2
m
DAC 2 ADdRess
BRANCH 2: FRICTION
from Branch 8
v
to Branch 1
Acceleration
L
8.TA 1
t A
W ~ d v f d f d
L
from
9MP
14
Branch 8
Peripheral velocity
to Branch 5
MP 7 DVDT Acceleration
M P 12 N-ACT Actual speed
M P 14 N-SET Setpoint after ramp generator
MP15 D Diameter
MPl 6 V-ACT Actual speed
to Branch 5
8 . TA 1
f torn Branch 3
CONTRoIler ENABIe
High OVER FLOW (identifier)
Low OVER FLOW (identifier)
Branch
Branch
Branch
Branch
Branch
Branch 3
QC
I Actual value
to Branch S
REL
I
7.1
to Branch S
ADC 6 ADdRess
DAC 5 ADdRess
BIT 8.hi HIGHER
BIT 8.LO LOWER
BIT 8.ERA ERASE
Setpoint
Ii
Actual value
I
I
I I
S10.2
ADC 3 ADdRess
DAC 1 ADdRess
DAC 4 ADdRess
Branch 2
Branch 1,5
Actual value Step-action
b controller with
W A pusle output
, .A
\i;,
i ,<E<
'<
,, Branch 4
-=a
-b Digital
rr Limit monitor 1 addresses
ST4 p
Measuring
Limit monitor 2 socket 2
ST 7
ESTE 324
STANDARD CONTROLLER --------
CONTROLLER
SIEMENS
SIMATIC S5
IP 252 General-Purpose Closed-Loop Control Module
8.2 Configurationsheet: Standard controller
MANUAL INPUT
to Branch 1.311-4
ADC S
MP 3 Deviation
MP4 Controller output
MP10 Manuaf valzle
ADC3 ADdRess
AM4 ADdRess
ADC 5 ADdRess
B l t 1- 2 . n COWRoller ENABle
BIT 12.MV CONrtarrt MANlPulated VARiable
BIT 12.IR ReaVideal PID controlier
BIT 1-2.OV + High OVERFLOW (identifier)
BIT l.ZOV - Low OVERFLOW (identifier)
REL 1.2.1 DISTURBante ENABIe
REL 12 2 AUTOmatidMANUAL (mode)
Deviation
Controller output
Separate D-input
Disturbance input
A
' 1 h
F
from Branch
1.111.2 v
I + DAC
C
v +) r
ACTUATOR ADJUSTMENT
S1 -3.1
OFF
CON1- 3 . 0 F F OFFSET
DAC 1 ADdRess
MP5 Manipulated variable
4
l1 -2
from Branch l .l
Y
only for R-Processor
I
Description Value. Phys. unit
DACl ADdRess
DAC 2 ADdRess
------------------------c--
DOI ADdRess
L DO2
I - - - - - - - - - - - - IADdRess
I---ILII*----J
MP 6 Positive mv output
MP 7 Negative rnv output
D01 ADdRess
I OA2 ADdRess ...only for R Processor
LI----~.---.----~~--~---.~A
REL '1-5.1 AUTOmatidMANUAL(mode)
BIT 1.5.CE CONTRol let ENABle
BIT '1-5-06 Dead Band ACTIVE
BIT 1-5.BC Position OPEN REACHED
BlT ? -5.BZ Position CLOSED REACHED
BIT 1,S.OPN OPEN
BIT 1-5.CLS CLOSE
BIT 1-5.MEN MANUAL ENABle
MP 3 Deviation
MP 6 Positive mv output
MP7 Negative mv output
M P 10 Manual value
Start-UP ENABle
Actual fed value
Processed actual value
NUMBER OF SETPOINTS
INTERVAL time
SETPOINT 1
SETPOINT 2
SETPOINT 3
SETPOINT 4
SETPOINT 5
SETPOINT 6
SETPOINT 7
SETPOINT 8
SETPOINT 9
SETPOINT 10
Rampdowntime
Rampup time
INCREASE
Smoathingtime constant
ADdRess
PC-setpointlSETPoint SEQUence
SFfPo~ntEAlABle
Fed Setpoint
Processed Setpoint
Deviation
CON5.1 LIMIT1
CON 5.2 LIMIT 2
CON 5.3 ' LlMlT 3
CON 5.4 LIMIT4
CON 5.5 LIMIT 5
CON 5.6 LIMIT 6
CON 5.7 Number OF LIMITS
DAC 3 ADdRess
DAC 4 ADdRess
from Branch 10
Branch 2
++
Branch 12
+
Branch 5
+
BRANCH 2: FRICTION
from Branch S
1
to Branch 1
Friction enable
Summated setpoint
Peripheral velocity
Branch 5
to Branch 5
from Branch 3
Controller output
Controller deviation
Actual speed l velocity
Summated setpoint
t
Branch 5
-~~w 1-
Branch 6
* ++ r)
L
.+
'+
Branch 7 Setpoint
Branch8 I
Branch 9 b I4
I
Branch l 1 h i
i
Actual value
f
1
Branch 3/10
I I
CON 5.SOGD Setpoint high limit, speed controller
CON 5-SUGD Setpoint low limit, speed controller
CON 5.10WD Actual value high warning limit,
1 i%
%
%
speed controller l i
L
to Branch S
to Branch 5
R
CON8.I Constant setpoint
CON8.2 Setpc; .scaler
CON$-TR Ramp-down time
CON 8.TH Ramp-up time
CON 8.ZUW l ncrease
CON8.TVZ Smoothing time constant
ADC 6 Address
BIT 8.5 HOE Higher
ESIT 8.6TlE Lower
BIT 8.7 AUT Automation mode
BIT 8.8 NUL Move setpoint to 0 %
Setpoint
BIT BIT
I t
to Branch 5
to
4 A
P
branch 1
to
Branch 5 Ii
j
MP 7 Acceleration
MP 20 Sumrnated setpoint
CON14.1 Limit1 ii %
CON 14.2 Limit 2 i ] %
CON 14-3 Limit 3 1 %
CON14.4 Limit4 i %
CON14.5 Limit5
I j %
CON 14.6 Limit 6 i 1 %
CON 14-7 Number of limits
'
1
BIT 14.1 Limit identifier 1
BIT 14.2 Limit identifier 2
BtT 14.3 Limit identifier 3
BIT 14-4 Limitidentifier4
BIT 14.5 Limit identifier 5
BIT 14-6 Limitidentifier6
S 15.1 Smoothing
MP NU Measuring point number
CONt 5.1 Standardization
CON15 . N Z Smoothing constant
DAU 3 Add ress
R E 1 15.1 Measuring point enable
MP22 Measuring point output %
Forming t h e sum
Summated setpoint
Forming the product
Forming the quotient
Forming the unsigned value
Forming the reciprocal value
Conversion
Comparator
Conversion
Operating system
on
I
mixed-memory
submodule
EEPROM
I
1
7
D2
A: Drive controller structure
S : Standard controller structure
9.5 Abbreviations
((Text folgt))