FM 355 - PID Control
FM 355 - PID Control
FM 355 - PID Control
1
______________
Product Overview
5
Operating Instructions ______________
Wiring the FM 355
Parameter Configuration of
6
______________
the FM 355
8
______________
Commissioning the FM 355
Connecting Measuring
______________
10
Transducers and
Loads/Actuators
12
______________
Faults and Diagnostics
13
______________
Examples
B
______________
Data Sheet
C
Edition 02/2006
A5E00059344-03 ______________
Spare Parts
D
______________
References
Safety Guidelines
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
Danger
indicates that death or severe personal injury will result if proper precautions are not taken.
Warning
indicates that death or severe personal injury may result if proper precautions are not taken.
Caution
with a safety alert symbol, indicates that minor personal injury can result if proper precautions are not taken.
Caution
without a safety alert symbol, indicates that property damage can result if proper precautions are not taken.
Notice
indicates that an unintended result or situation can occur if the corresponding information is not taken into
account.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
Qualified Personnel
The device/system may only be set up and used in conjunction with this documentation. Commissioning and
operation of a device/system may only be performed by qualified personnel. Within the context of the safety notes
in this documentation qualified persons are defined as persons who are authorized to commission, ground and
label devices, systems and circuits in accordance with established safety practices and standards.
Prescribed Usage
Note the following:
Warning
This device may only be used for the applications described in the catalog or the technical description and only in
connection with devices or components from other manufacturers which have been approved or recommended
by Siemens. Correct, reliable operation of the product requires proper transport, storage, positioning and
assembly as well as careful operation and maintenance.
Trademarks
All names identified by ® are registered trademarks of the Siemens AG. The remaining trademarks in this
publication may be trademarks whose use by third parties for their own purposes could violate the rights of the
owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
Preface
Target Group
This manual is intended for the following target groups:
• Fitters
• Programmers
• Commissioning engineers
• Service and maintenance personnel
Approvals
The S7-300 has the following approvals:
UL Recognition Mark
Underwriters Laboratories (UL) in accordance with Standard UL 508
CSA-Certification-Mark
Canadian Standard Association (CSA) to Standard C 22.2 No. 142
FM approval complying with Factory Mutual Approval Standard Class Number 3611, Class I,
Division 2, Group A, B, C, D
Warning
Personal injury and material damage may be incurred.
In potentially explosive environments, there is a risk of injury or damage if you disconnect
any connectors while the S7-300 is in operation.
Always isolate the S7-300 operated in such areas before you disconnect and connectors.
Warning
WARNING - DO NOT DISCONNECT WHILE CIRCUIT IS LIVE UNLESS LOCATION IS
KNOWN TO BE NONHAZARDOUS
CE Marking
Our products fulfill the requirements of the EU Directive 89/336/EEC ”Electromagnetic
compatibility”.
The EU conformity certificates are available for the relevant authorities and are kept at the
following address in accordance with the above-mentioned EU Directive. Article 10:
Siemens Aktiengesellschaft
Bereich Automatisierungs- und Antriebstechnik
A&D AS RD ST PLC
Postfach 1963
D-92209 Amberg
System Documentation
S7-300 • S7-300 Automation systems
Structure, CPU Data
• S7-300, M7-300 Automation systems, Module specifications
• S7-300 Operation List
ET 200M • ET 200M Distributed I/O Device
• S7-300, M7-300 Automation systems, Module Specifications
Guide
The manual contains the following guides which provide quick access to the specific
information you need:
• At the beginning of the manual you can find a comprehensive list of contents.
• Following the appendices, you will find a glossary in which important technical terms used
in the manual are defined.
• The manual closes with a list of references and a detailed index for quick access to the
information you require.
Further Support
If you have any questions concerning the use of products which are not answered in this
manual, please contact your local Siemens partner at your Siemens office. A list of Siemens
representatives worldwide is contained, for example, in the appendix entitled "Siemens
Worldwide" of the manual "S7-300 Automation systems, Configuration of an S7-300.
We offer a range of courses to help get you started with the SIMATIC S7 programmable
controller. Please contact your local training center or the central training center in
Nuremberg, D-90327 Germany, Tel. +49 (0) 911 895 3200.
Up-to-the-minute Information
The SIMATIC Customer Support offers you extensive additional information on the SIMATIC
products via the on-line services:
• You can obtain general current information:
– On the Internet at http://www.ad.siemens.de/simatic
• Current product information and downloads as an additional help:
– On the Internet at http://www.ad.siemens.de/simatic-cs
– Via the Bulletin Board System (BBS) in Nuremberg
(SIMATIC Customer Support Mailbox) under +49 (911) 895-7100.
To dial the mailbox, use a modem with up to V.34 (28.8 Kbps), with the following
parameter settings: 8, N, 1, ANSI, or dial via ISDN (x.75, 64 Kbps).
Tables
Table 1-1 Inputs and outputs of the the FM 355 ........................................................................................ 1-3
Table 1-2 Diagnostics and Status LED's.................................................................................................... 1-7
Table 2-1 Suitable Controller for the Most Important Control Variables .................................................. 2-15
Table 3-1 Signal selection for setpoint value, D-action input and disturbance variable........................... 3-13
Table 3-2 Functions of the controller output and setting possibilities ...................................................... 3-26
Table 3-3 Assignment and meaning of the digital outputs ....................................................................... 3-29
Table 3-4 Conversion time of an analog input ......................................................................................... 3-36
Table 3-5 Rules for the conversion time .................................................................................................. 3-36
Table 5-1 Terminal assignment of the front connectors of the FM 355 C.................................................. 5-2
Table 5-2 Terminal assignment of the front connectors of the FM 355 S .................................................. 5-4
Table 7-1 List of the REAL and INT parameters that can be changed with the PID_PAR FB................. 7-25
Table 7-2 List of the CPUs, in which the PID_PAR FB can be used ....................................................... 7-28
Table 11-1 Input parameters of the instance DB for the PID_FM FB ........................................................ 11-2
Table 11-2 Output parameters of the instance DB for the PID_FM FB...................................................... 11-3
Table 11-3 I/O parameters of the instance DB for the PID_FM FB.......................................................... 11-11
Table 11-4 Input parameters of the instance DB for the FUZ_355 FB..................................................... 11-21
Table 11-5 Output parameters of the instance DB for the FUZ_355 FB.................................................. 11-21
Table 11-6 Input parameters of the instance DB for the FORCE355 FB................................................. 11-23
Table 11-7 Output parameters of the instance DB to the FB FORCE355 ............................................... 11-25
Table 11-8 Input parameters of the instance DB for the READ_355 FB.................................................. 11-26
Table 11-9 Output parameters of the instance DB for the READ_355 FB............................................... 11-26
Table 11-10 Input parameters of the instance DB for the CH_DIAG FB.................................................... 11-28
Table 11-11 Output parameters of the instance DB for the CH_DIAG FB................................................. 11-30
Table 11-12 Input parameters of the instance DB for the PID_PAR FB .................................................... 11-31
Table 11-13 Output parameters of the instance DB for the PID_PAR FB ................................................. 11-32
Table 11-14 Input parameters of the instance DB for the CJ_T_PAR FB.................................................. 11-33
Table 11-15 Output parameters of the instance DB for the CJ_T_PAR FB ............................................... 11-34
Table 11-16 Input parameters of the DBs for operator control and monitoring.......................................... 11-35
Table 11-17 Output parameters of the DBs for operator control and monitoring....................................... 11-43
Table 11-18 I/O parameters of the DBs for operator control and monitoring............................................. 11-51
Table 12-1 Assignments of diagnostics record DS0 .................................................................................. 12-3
Table 12-2 Assignment of Bytes 4 to 12 of the diagnostics record DS1.................................................... 12-4
Table 13-1 Blocks of Example 1................................................................................................................. 13-3
Table 13-2 Blocks of Example 2................................................................................................................. 13-7
Table A-1 List of the REAL and INT parameters that can be changed with the "PID_PAR" FB ................A-3
Table A-2 Input parameters of the instance DB for the FB 29 "'PID_PAR" ................................................A-7
Table A-3 Input parameters of the instance DB for the FB 29 "'PID_PAR"................................................ A-8
Table A-4 Through parameters of the instance DB for the FB 29 "'PID_PAR" .......................................... A-9
Table A-5 Input parameters of the instance DB for the FB 30 "CJ_T_PAR" ............................................ A-12
Table A-6 Output parameters of the instance DB for the FB 30 "CJ_T_PAR" ......................................... A-13
Table A-7 Through parameters of the instance DB for the FB 30 "CJ_T_PAR"....................................... A-14
Table B-1 Technical specifications of the function blocks .......................................................................... B-9
Table B-2 Processing times of the PID_FM at various conditions.............................................................. B-9
Table B-3 Technical specifications of the instance DBs............................................................................. B-9
Table C-1 Accessories and spare parts......................................................................................................C-1
Order Numbers
Introduction
The FM 355 function module is a controller module for use in the S7-300 Automation
systems.
Control Method
Two different control methods are implemented in the FM 355. Support in optimizing the
control system is available for both control methods:
Control Structures
You can use the FM 355 for the following control structures:
• Set-value control
• Follower control
• 3-component control
• Cascade control
• Ratio control
• Mix control
• Split-range control
Operating modes
The FM 355 can operate in the following modes:
• Automatic
• Manual
• Safety mode
• Follow-up control mode (changeover to preset safety value)
• Specification of the manipulated value DDC (Direct Digital Control)
• Follow-up/SPC controller (SPC = Set Point Control)
• Back-up mode (at CPU in STOP or CPU failure)
Number of Channels
The FM 355 contains 4 controllers operating independently of each other in 4 channels.
Diagnostics Interrupt
The FM 355 can trigger a diagnostics interrupt if any of the following occur:
• Error in module parameterization
• Module defective
• Overflow and underflow at analog inputs
• Load break and short circuit at analog outputs
Hardware Interrupts
Hardware interrupts are not required for FM 355 operation.
Reference Junction
For operation with thermocouples the FM 355 has an additional analog input for connecting
a Pt100 in 4-wire design. This input is used to measure the reference junction temperature
and thus to carry out compensation at thermocouples.
Parameterization
The FM 355 can be parameterized by means of a parameter configuration interface.
Applications
The FM 355 is usually used to carry out control tasks in the following branches:
• General machine construction
• Plant construction
• Industrial furnace construction
• Cooling and heating unit construction
• Food and beverage industry
• Process engineering
• Environmental technology
• Glass and ceramics manufacturing
• Rubber and plastics machines
• Woodworking and paper industry
Module View
The following figure shows the FM 355 module with front connectors and the bus connector
at closed front doors.
;
Front Connectors
The FM 355 offers the following connection possibilities via the front connectors:
• 8 digital inputs
• 4 analog inputs
• 1 reference junction input
• 8 digital outputs (only step controllers)
• 4 analog outputs (only continuous-action controllers)
• Supply voltage 24 V DC between L+ and M to supply the module and the digital and
analog outputs
• Reference point of the analog circuit MANA
The front connectors must be ordered separately (refer to the "Spare Parts" appendix).
Labeling strips
Enclosed with the module are two labeling strip on which you can write your signal names
individually.
The corresponding pin assignments are printed on the insides of the front panel.
Bus Connectors
The communication within a row of the S7 300 takes place via the bus connector. The bus
connector is enclosed with the FM 355.
Online Help
Further information about the parameter configuration is available in the integrated online
help.
The following figure shows an S7-300 configuration with an FM 355 and several signal
modules.
① Programming device (PG) with STEP 7 and the parameter configuration masks
② FM 355
③ CPU with application program and FBs of the FM 355
<K
; PD[
.V
<K
7J
; PD[
;K
ෙ[
.V
ෙW
7X W
① 100% ON
② 0% OFF
Most of the controlled systems are so-called controlled systems with self-regulation (refer to
the figure above).
The time response can be determined by approximation using the variables Delay time Tu,
Recovery time Tg and Maximum value Xmax. The variables are determined by applying
tangents to the maximum value and the inflection point of the step response. Recording the
transition function up to the maximum value is not possible in many cases because the
controlled variable may not exceed certain values. The rate of rise vmax is therefore used for
the controlled system.
From the ratio
Tu / Tg or Tu x vmax / Xmax
it is possible to estimate the suitability of the controlled system for controlling. The following
applies:
Controlled Type of controlled system Delay time Tu Recovery time Tg Rate of rise vmax
variable
Temperature Small electrically heated furnace 0.5 to 1 min 5 to 15 min Up to 60 K/min.
Large electrically heated annealing 1 to 5 min 10 to 20 min Up to 20 K/min.
furnace
Large gas-heated annealing furnace 0.2 to 5 min 3 to 60 min 1 to 30 K/min
Autoclaves 0.5 to 0.7 min 10 to 20 min
High-pressure autoclaves 12 to 15 min 200 to 300 min
Injection molding machines 0.5 to 3 min 3 to 30 min 5 to 20 K/min
Extruders 1 to 6 min 5 to 60 min
Packaging machines 0.5 to 4 min 3 to 40 min 2 to 35 K/min
<K
Z [
① ON
② OFF
Yh Position range
w Reference value
[ 7J
; 6G
7X W
W
Since the switching pulses can no longer be determined at the output of the controlled
system, results comparable with those of continuous controllers are obtained.
In contrast to a continuous controller, at which the amplitude of the output signal represents
the manipulated variable, the output variable is formed at a two-step controller with feedback
through pulse width modulation.
Two-step controllers with feedback are used for temperature control in furnaces, at
processing machines in the plastics, textile, paper, rubber and foodstuff industries as well as
for heating and cooling devices.
Three-Step Controllers
Three-step controllers are used for heating/cooling. These controllers have 2 switching
points as their output. The control-action results are optimized through electronic feedback
structures. Fields of applications for such controllers are heating, low-temperature, climatic
chambers and tool heating units for plastic-processing machines.
\
\ \
\
Z [
[ 6K
P-action Controller
6WHSIXQFWLRQRQWKH
FRQWUROOHULQSXW
,QSXWYDULDEOH
W
6WHSUHVSRQVHRIWKH
FRQWLQXRXVFRQWUROOHU
2XWSXWYDULDEOH W
6WHSUHVSRQVHRIWKH
SXOVHFRQWUROOHU
2XWSXWYDULDEOH W
PD-action controller
6WHSIXQFWLRQRQWKH
FRQWUROOHULQSXW
,QSXWYDULDEOH W
6WHSUHVSRQVHRIWKH
70B/$*
FRQWLQXRXVFRQWUROOHU
2XWSXWYDULDEOH
W
\
6WHSUHVSRQVHRIWKH
SXOVHFRQWUROOHU
2XWSXWYDULDEOH W
D-action control elements are not suitable on their for controlling, since they no longer emit
an actuating command when the input variable has settled back to a static value.
In combination with P-action control elements the derivative component is used to generate
a corresponding control pulse depending on the change speed of the controlled variable
If a Disturbance x acts on the controlled system, the PD-action controller sets a different
system deviation due to the changed degree of correction. Disturbances are not corrected
completely. The good dynamic response is advantageous. A well attenuated, non-oscillating
transition is achieved during starting up and the reference input variable. However, a
controller with D-action is not appropriate if a controlled system has pulsing measured
quantities, for example at pressure or flow control systems.
Equation for PD-action controller
The following applies for the jump response of the PD-action controller in the time range:
ದW
7' 70B/$*
\ *$,1[ Z H
70B/$*
PI-action Controller
6WHSIXQFWLRQRQWKH
FRQWUROOHULQSXW
,QSXWYDULDEOH
W
6WHSUHVSRQVHRIWKH
FRQWLQXRXVFRQWUROOHU
2XWSXWYDULDEOH
W
6WHSUHVSRQVHRIWKH
SXOVHFRQWUROOHU
2XWSXWYDULDEOH W
I-action control elements have the integral of the input variable as the output variable, i.e. the
controller totals the deviation from the setpoint value for the duration. This means that the
controller continues to adjust until the deviation from the setpoint value has been eliminated.
In practical experience a combination of the various timing elements is ideal, depending on
the requirements placed on the control response. The time response of the individual
elements can be described by the controller parameters Proportional band GAIN, Reset time
TI (I-action) and Differential-action time TD (D-action).
\ *$,1[ Z
7, W
PID-action Controller
[
6WHSIXQFWLRQRQWKH
FRQWUROOHULQSXW
,QSXWYDULDEOH W
70B/$* 6WHSUHVSRQVHRIWKH
FRQWLQXRXVFRQWUROOHU
2XWSXWYDULDEOH
W
0Q
6WHSUHVSRQVHRIWKH
SXOVHFRQWUROOHU
2XWSXWYDULDEOH W
Most of the controller systems occurring in process engineering can be controlled by means
of a controller with PI-action response. In case of slow controlled systems with a high delay
time, for example temperature control systems, the control-action results can be improved by
a controller with PID action.
8QLWVWHSUHVSRQVH
ZLWKRXWFRQWUROOHU
3,'
3'
W
Controllers with PI and PID action have the advantage that the controlled variable does not
have any deviation from the setpoint value after settling. The controlled variable oscillates
over the setpoint value during starting up.
Equation for PID-action controller
The following applies for the jump response of the PI-action controller in the time range:
ದW
7' 70B/$*
\ *$,1[ Z H
7, W 70B/$*
2.4 2.4 Choosing the controller structure with a given control section
Not self-regulating Control (without Control (with delay) Control (without Control (with
delay) delay) delay)
Table 2-1 Suitable Controller for the Most Important Control Variables
Controller P PD PI PID
Controlled variable Steady-state control deviation No steady-state control deviation
Temperature for less demands Well suited The most suitable controller types for
and with P high-quality requirements (except for
sections with Tu / specially adapted special controllers)
Tg < 0.1
Pressure Suitable, if the Unsuitable The most suitable controller types for
delay time is high-quality requirements (except for
inconsiderable specially adapted special controllers)
Flow rate If suitable, Unsuitable Suitable, but I- Hardly required for
because required action controller these control
GAIN range alone often better variables
usually too large
Procedure
You can record the heating and cooling behavior of the temperature controlled systems by
means of a recording unit (see figure below). To do this, proceed as follows:
1. Specify the programming device manipulated value 0 via the loop monitor.
2. Configure the controller as a PI controller.
3. Enter uncritical control parameters via the parameter configuration interface or the
PID_FM FB:
GAIN = 1.0
TI, TD = 0.0
4. Load the parameters to the module.
5. Switch to the manipulated value controller via the loop monitor.
6. Enter the setpoint temperature (1).
The module switches on the heating.
7. Wait until the process value has "settled" (2).
Remark: The setpoint value does not have to be reached.
8. Specify the setpoint temperature 0 °C. (3).
The module switches on the cooling.
Remark: Steps 7 and 8 are only required at three-step controllers.
, .
7HPSHUDWXUH 6HWWHPSHUDWXUH
09
, +
6WDUWWHPSHUDWXUH
09
You can then determine the following parameters from the curve:
TU = Delay time (in s)
SK = Maximum ascent of the cooling curve (in °C/s)
SK = Maximum ascent of the heating curve (in °C/s)
b) GAIN = 7$ >PV@
6+ r& 78 >V@
V PV
V
7$ >PV@
V
c) TI[s] = 78 >V@
PV V
V
7$ >PV@
78 >V@
d) TD[s] = PV
V
Example
Set the parameters of the split-range function as follows for this example:
• Manipulated value A:
– Start of range input signal = 0
– End of range input signal = 100
– Start of range output signal = 0
– End of range output signal = 100
• Manipulated value B:
– Start of range input signal = -100
– End of range input signal = 0
– Start of range output signal = 100
– End of range output signal = 0
2.7 2.7 Determining the System Parameters for Pure Cooling Controllers
Procedure
You can record the cooling-down behavior of the temperature controlled system by means of
a recording unit (see figure below).
To do this, proceed as follows:
1. Enter uncritical control parameters:
GAIN = 1.0
TI, TD = 0.0
2. Set the manipulated value to manual operation
3. Specify the manipulated value 0 via the loop monitor.
4. Let the temperature "settle" to the operating temperature by feeding external heating
energy (for example through adjacent heating zones).
5. Specify the setpoint temperature 0°C via the loop monitor (1).
6. Set the manipulated value to controller operation.
→ The module switches on the cooling.
Note
During the cooling-down process the external heating energy supply must remain
constant. For example, the adjacent heating zones have to be heated with a constant
manipulated variable.
7HPSHUDWXUH , .
0DQI
09 09
&RROLQJGRZQFXUYH
, .
7LPH
• You can then determine the following parameters from the curve:
TU = Delay time (in s)
SK = Maximum ascent of the cooling curve (in °C/s)
Tini = Initial temperature (in °C)
• In addition, the temperature TCool (in °C) of the cooling medium has to be determined.
b) GAIN of r&
r&ದ7
.+/
>r&@ 7$ >PV@
200°C = 6. V 78 >V@
7 >r&@ದ7.+/>r&@ PV
DQI
V
7$ >PV@
V
c) TN[s] = 78 >V@
PV V
V
7$ >PV@
d) TD[s] = 78 >V@
PV
V
Procedure
As an alternative to calculating the parameters you can establish the control parameters by
means of targeted experimentation:
([FLWDWLRQ 2QDFFRXQWRIDMXPSOLNH
VHWSRLQWFKDQJH
*$,1
3RRUDWWHQXDWLRQ" \HV
&RQWUROOHURVFLOODWHV
QR
7'
\HV
$WWHQXDWLRQWRRJRRG"
QR
%\LQFUHDVLQJWKH7'LV
QR
WKHUHDQRWLFHDEOH
LPSURYHPHQWLQWKH
DWWHQXWDWLRQ"
\HV
5HYHUVHWKH*$,1DQG7'XQWLOWKH
WUDQVLWLRQIXQFWLRQKDVDRYHUVKRRW
7, 7'
2YHUVKRRW!"
\HV
QR
\HV 7DUJHW
2YHUVKRRWป" UHDFKHG
QR
2SWLPXPFRQWUROOHUVHWWLQJ
Figure 2-13 Effects on the optimum controller setting when changing the controller parameters
Introduction
This section uses block diagrams to explain the basic structure and the interconnection
possibilities of the FM 355.
$QDORJLQSXW $QDORJYDOXH
SUHSDUDWLRQ
$QDORJRXWSXW
&RQWUROOHU
FKDQQHOV
$QDORJLQSXW $QDORJYDOXH
SUHSDUDWLRQ
5HIHUHQFH
MXQFWLRQIRUDQDORJ
LQSXWVWR
$QDORJRXWSXW
&RQWUROOHU
FKDQQHOV
'LJLWDOLQSXW
'LJLWDOLQSXW 7KHLQSXWVDQGRXWSXWVFDQ
EHDVVLJQHGIUHHO\WRWKH
FRQWUROOHUFKDQQHOV
$QDORJLQSXW $QDORJYDOXH
SUHSDUDWLRQ
GLJLWDORXWSXW
&RQWUROOHU
FKDQQHOV
GLJLWDORXWSXW
$QDORJLQSXW $QDORJYDOXH
SUHSDUDWLRQ &RQWUROOHU GLJLWDORXWSXW
FKDQQHOV
GLJLWDORXWSXW
5HIHUHQFH GLJLWDORXWSXW
MXQFWLRQIRU &RQWUROOHU
DQDORJLQSXWV FKDQQHOV
GLJLWDORXWSXW
WR
&RQWUROOHU GLJLWDORXWSXW
'LJLWDOLQSXW FKDQQHOV
GLJLWDORXWSXW
'LJLWDOLQSXW
7KHLQSXWVDQGRXWSXWVFDQ
EHDVVLJQHGIUHHO\WRWKH
FRQWUROOHUFKDQQHOV
Introduction
The FM 355 has basic parameters that influence the interrupts and the reaction on CPU-
STOP.
Basic Parameters
The basic parameters can be set under HW Config in the "Basic parameters" mask. The
following settings are possible:
• Interrupt generation
– Yes
– No
• Interrupt selection
– None
– Diagnostics interrupt
• Reaction to CPU Stop
– Continue
$
'
3UHSURFHVVHG
)LOWHU 6TXDUHURRW 3RO\OLQH 6WDQGDUGL]H DQDORJYDOXH
5HIHUHQFH
LQSXW
FRQILJXUHG
Adapting to sensors
The analog inputs can be configured for adaptation to different sensors. The following
settings are possible:
• Analog input is not being processed (e.g. unused input)
• Power sensors 0 mA to 20 mA
• Power sensors 4 mA to 20 mA
• Voltage sensors 0 V to 10 V
• Pt 100, –200 ... 850 °C
• Pt 100, –200 ... 556 °C (double resolution)
• Pt 100, –200 ... 130 °C (quadruple resolution)
• Thermocouple elements type B, J, K, R and S (analog input set to ±80 mV)
• Free thermocouple element (analog input set to ±80 mV)
You configure the analog inputs in the "analog input" screen.
Reference junction
If you have set a thermocouple element as a sensor on an analog input, you can connect a
Pt 100 at the reference junction input of the module in order to compensate for the reference
junction temperature with thermocouple elements. Alternatively, a fixed reference junction
temperature can be configured.
This configuration is carried out in the parameterization interface (button: Module
parameters).
When using the reference junction input, the scanning time of each controller extends by the
conversion time for the reference junction input.
Note
Standardization/polyline: The conversion of the unit mA or mV into a physical unit takes
place either via the polyline or - if this is not switched on - via standardization. The polyline is
used to linearize a free thermocouple element or for any other linearization.
Operating Modes
The digital inputs are used to switch between operating modes of the individual controller
channels.
The direction of control action of the digital inputs can be configured. The following settings
are possible for each of the eight digital inputs:
• High active
• Low active or open
This configuration is carried out in the parameter configuration interface (Module parameters
button).
You can select the following operating modes:
• Switchover to specification of the manipulated value PID_FM FB
• Switchover to follow-up control mode (specification of the manipulated value via an
analog input)
• Switchover to safety manipulated value
In the case of a step controller you can furthermore specify the following signals via digital
inputs:
• Checkback: Actuating device at upper limit stop
• Checkback: Actuating device at lower limit stop
Controller structure
The controller of any channel of the module consists of the following blocks:
• Negative deviation generation
– Condition of setpoint value and actual value
– Signal selection for setpoint value, actual value, D-action input and disturbance
variable
• Control algorithm
– Temperature controller
– PID-action controller with dead band
• Controller output
– Manipulated value switchover
– Manipulated value conditioning
The parameter configuration is carried out in the masks "Negative deviation calculation",
"Control algorithm" and "Controller output".
The figure below provides an overview of the controller structure.
&RQWUROOHUV
Controller Type
You can set different controller types for each controller channel of a C or S controller
module
• Fixed setpoint or cascade controller
• Three-component controllers
• Ratio/blending controllers
The following operating modes can furthermore be selected at the step (S) controller:
• Pulse controller
• Step controller with position feedback
• Step controller without position feedback
3UHSDULQJWKHVHWSRLQW
6HWSRLQW (IIHFWLYHVHW
SRLQW
6ZLWFKLQJ 5DPS /LPLWLQJ
VDIHW\VHW
SRLQW (UURU
VLJQDO
,QWHUUXSW$ODUP
3URFHVVYDOXH$ (IIHFWLYH
SURFHVV
YDOXH
'LQSXW
'LVWXUEDQFH
YDULDEOH
The manipulated value of a master controller is selected at the setpoint value at the cascade
controller. In the example from the figure below the manipulated value of Controller 1 is
selected as the setpoint value at Controller 2.
If a secondary controller that is configured as a fixed setpoint controller is switched to
manual operation (not closed-loop control operation), the master controller is also switched
automatically to manual operation by the module and is held to the last manipulated value.
As soon as the secondary controller returns to closed-loop control operation, the master
controller also switches over to closed-loop control operation.
If the manipulated variable of a secondary controller enters the limiting function or if the
setpoint value increase of a secondary controller is limited by the ramp function in the
setpoint value branch, the I-action component of the master controller is blocked direction-
specifically until the cause for the limitation has been eliminated in the secondary controller.
39 39
3UHSDULQJWKHVHWSRLQW
6HWSRLQW (IIHFWLYHVHW
5DPS /LPLWLQJ SRLQW
6ZLWFKLQJ
VDIHW\VHW
SRLQW (UURUVLJQDO
7RWDOL]LQJ
)DFWRUIRUSURFHVVYDOXH%
)DFWRUIRUSURFHVVYDOXH&
2IIVHW ,QWHUUXSW
3URFHVVYDOXH
(IIHFWLYH
$
SURFHVVYDOXH
3URFHVVYDOXH
%
'LQSXW
3URFHVVYDOXH&
'LVWXUEDQFHYDULDEOH
3UHSDULQJWKHVHWSRLQW 0XOWLSO\LQJ
6HWSRLQW (IIHFWLYHVHW
5DPS /LPLWVWDQGDUG SRLQW
6ZLWFKLQJ
VDIHW\VHW L]H
SRLQW (UURU
VLJQDO
$FWXDOYDOXH'
,QWHUUXSW$ODUP
3URFHVVYDOXH$ (IIHFWLYH
SURFHVVYDOXH
'LQSXW
'LVWXUEDQFH
YDULDEOH
7RWDOTXDQWLW\ 0DLQFRPSRQHQWV
63RU
63 /01 KLJKHU 4/0183
ದ &RQWUROOHUV ; ದ &RQWUROOHU 4/01'1 3URFHVV
39
)$& 39
63 4/0183
; ದ &RQWUROOHU 4/01'1 3URFHVV
)$&
39
63 4/0183
; ದ &RQWUROOHU 4/01'1 3URFHVV
)$&
39
The following figure shows a ratio control with two control loops.
Controller 1 is configured as a fixed setpoint or cascade controller.
Controller 2 is configured as a ratio/blending controller. The actual value of Controller 1 is
selected as the Actual value D of Controller 2. The ratio factor FAC is specified via the
setpoint value input of Controller 2. If a controller output is called as ratio factor FAC, then
the setpoint will be converted (standardized) with the help of an upper and lower barrier from
"0 .. 100%" to the value range "bottom barrier... top barrier" (standardized).
If the manipulated variable of a secondary controller enters the limiting function or if the
setpoint value increase of a secondary controller is limited by the ramp function in the
setpoint value branch, the I-action component of the master controller is blocked direction-
specifically until the cause for the limitation has been eliminated in the secondary controller.
63b
&RQWUROOHU /01 3URFHVV
39
;
63b
/01
&RQWUROOHU 3URFHVV
39
Signal Selection for Setpoint Value, D-Action Input and Disturbance Variable
You can carry out a selection amongst various signal sources for the setpoint value, the
actual values, the value of the D-action input (differential input) and the disturbance variable
of each controller channel. The following table provides an overview of the signal selection
possibilities.
Table 3-1 Signal selection for setpoint value, D-action input and disturbance variable
If, in the case of ratio controllers, a controller output is chosen as the set value, then this
value acts as a factor for the multiplication of the actual value D. The set value that is
given at the input in %, is in this case converted (standardized) with the aid of the bottom
and top barriers.
If the manipulated value of another controller is used as the setpoint value at a fixed
setpoint or cascade controller (for example at the cascade control function, this is
normalized to an engineering value by means of the normalizing constant of the selected
actual value channel.
• Multiplication
At the "ratio controller" controller type, Actual value A is used as the controlled variable,
Actual value D as the ratio variable. The setpoint value input serves as the ratio factor. It
is conditioned as the effective setpoint value by multiplication with Actual value D and
addition of an offset that can be set. If Actual value D is deactivated, only the offset is
added to the setpoint value.
Interrupt
A limit monitoring function is implemented in the controller module. This allows
• either the negative deviation or
• the effective actual value
to be monitored to an upper and lower warning limit and an upper and lower interrupt limit. In
addition you can set a hysteresis for these limits (refer to the following figure).
/RZHUZDUQLQJDQG 8SSHUZDUQLQJDQG
LQWHUUXSWOLPLWV LQWHUUXSWOLPLWV
,QFRPLQJLQWHUUXSW
RXWJRLQJLQWHUUXSW
K\VWHUHVLV
Control Algorithm
At the control algorithm you can select between the following operating modes:
• Temperature controller (self-tuning fuzzy controller)
• PID-action controller
Continuous-action controllers and step controllers have the same control algorithm structure
(refer to the following figure).
HIIHFWLYHVHWSRLQW
HIIHFWLYHSURFHVVYDOXH 7HPSHUDWXUH
FRQWUROOHU HIIHFWLYH
PDQLSXODWHG
3,' YDULDEOH
(UURUVLJQDO
'HDG]RQH
'LQSXW
0DQLSXODWHGYDULDEOHIROORZXS
'LVWXUEDQFHYDULDEOH
Temperature Controller
The temperature controller is a self-tuning fuzzy controller that operates with self-determined
control parameters after an identification of the controlled system.
The following settings are possible at the temperature controller:
• Cooling controller
• Heating controller
• Aggressivity
You can influence the speed of the transient behavior by using the Aggressivity
parameter.
',69B6(/
',69
3B6(/
3
*$,1
(5 ; , /01
/LQHDUFRPELQDWLRQ
'
*$,1
(5 ; ,
ದ 3 /01
39 ; ;
'
Figure 3-14 Control algorithm with P- and D-action component in the feedback path
P-Action Control
The I-action and the D-action components are deactivated at the P-action controller. This
means that the manipulated value also equals 0 when the Negative deviation ER = 0. If an
operating point is to be ≠ 0, i.e. if a numerical value is to be set for the manipulated variable
at negative deviation zero, this can be done via the operating point:
• Operating point automatic: The operating point is set to the current (manual) manipulated
variable at the manual-automatic changeover of the controller.
• Operating point not automatic: You can configure the operating point parameter.
Example: Operating point OP = 5% results in a manipulated variable of 5% at Negative
deviation ER = 0.
3B6(/
3
*$,1
(5 , $XWRPDWLF
;
/01
QRWDXWRPDWLF
2SHUDWLQJSRLQW
Figure 3-15 P-action controller with operating point setting via I-action element
(5 0DQLSXODWHGYDULDEOH
W
0DQLSXODWHG
YDULDEOH
(5W
PI Control
The D-action component is deactivated at the PI-action controller. A PI -action controller
adjusts the output variable via the I-action component until the Negative deviation ER = 0.
However, this only applies if the output variable does not exceed the limits of the operating
range. If the manipulated variable limits are exceeded, the I-action component retains the
value reached at the limit (anti reset wind-up).
(5
0DQLSXODWHG 0DQLSXODWHGYDULDEOH
W
YDULDEOH
*$,1
(5
*$,1
(5W
*$,1
(5 (5W
W
7,
I Control
You can deactivate the P-action component in order to implement a pure I control. This is
also possible by using the P_SEL parameter of the PID_FM function block.
PD Control
The I-action component is deactivated at the PD-action controller. This means that the
output signal also equals 0 when the Negative deviation ER = 0. If an operating point is to be
≠ 0, i.e. if a numerical value is to be set for the manipulated variable at negative deviation
zero, this can be done via the operating point:
• Operating point automatic: The operating point is set to the current (manual) manipulated
variable at the manual-automatic changeover of the controller.
• Operating point not automatic: You can configure the operating point parameter.
The PD-action controller maps the input variable ER(t) proportionally to the output signal and
adds the D-action component formed through differentiation of ER(t) that is calculated with
double precision in accordance with the trapezoid rule (Padé approximant). The time
response is determined by the differentiation time constant (differential-action time) TD.
For smoothing and suppressing disturbance signals, a delay of the 1st arrangement (time
constant that can be set: TM_LAG) is integrated in the algorithm to form the D part. Usually a
small value for TM_LAG is sufficient in order to achieve the desired success.
(5
0DQLSXODWHG
YDULDEOH
(5W
*$,1
(5
W
70B/$*
PID-action Control
The P-action, I-action and D-action components are activated at the PID-action controller. A
PID-action controller adjusts the output variable via the I-action component until the Negative
deviation ER = 0. However, this only applies if the output variable does not exceed the limits
of the operating range. If the manipulated variable limits are exceeded, the I-action
component retains the value reached at the limit (anti reset wind-up).
The PID-action controller maps the input variable ER(t) proportionally to the output signal
and adds the components formed through differentiation and integration of ER(t) that are
calculated with double precision in accordance with the trapezoid rule (Padé approximant).
The time response is determined by the differentiation time constant (differential-action time)
TD and the integration time constant (reset time) TI.
For smoothing and suppressing disturbance signals, a delay of the 1st arrangement (time
constant that can be set: TM_LAG) is integrated in the algorithm to form the D part. Usually a
small value for TM_LAG is sufficient in order to achieve the desired success
(5
0DQLSXODWHG
YDULDEOH
*$,1
7' (5
70B/$* 0DQLSXODWHGYDULDEOH W
*$,1
(5
(5W
*$,1
(5
W
70B/$*
7,
Dead Band
A dead band is positioned upstream of the PID-action controller. In a steady controller state
the dead band suppresses the noise in the negative deviation signal, which can arise
through superimposition of a higher-frequency interference signal over the controlled or
reference variable, thus preventing undesired oscillation of the controller output.
The dead band width can be adjusted. If the negative deviation lies within the set dead band
width, the value 0 (Negative deviation = 0) is output at the dead band output. Only when the
input variable leaves the sensitivity range, does the output change by the same values at the
input variable (see the figure below).
This results in a transferred signal being corrupted, also outside the dead band. However,
this is accepted in order to avoid step changes at the limits of the dead band. The corruption
corresponds to the value of the dead band width and can therefore be controlled easily.
(UURUVLJQDORQ
GHDGEDQGRXWSXW
(UURUVLJQDORQWKH
GHDGEDQGLQSXW
'HDGEDQGZLGWK
Controller Output
The controller output block of the control unit has a different structure at the continuous-
action controller and at the three operating modes of the step controller.
Various interconnection possibilities are implemented at the controller output for the
manipulated value, the tracking input and the safety manipulated value (manipulated value
switchover).
To avoid the manipulated value adopting illegal values for the process, a limit is specified.
The split range function generates from the manipulated value as an input signal two
differently standardized output signals - manipulated value A and manipulated value B. This
way, for example, two values can be controlled with one manipulated value.
The manipulated value correction prevents a step change at the manipulated value during
the changeover from manual to automatic mode.
The manipulated value remains unchanged during the changeover from manual to automatic
mode. Manipulated value correction is not active when a pure P-action controller with fixed
operating point is implemented ("automatic" is not activated in the PID-action controller
mask).
H[WHUQDO
PDQLSXODWHG
YDULDEOH
(IIHFWLYH 6ZLWFK
PDQLSXODWHG H[WHUQDO
YDULDEOH PDQLSXODWHG 0DQLSXODWHG
YDOXH YDULDEOH
0DQLSXODWHG
6ZLWFK 6ZLWFKLQJ /LPLWLQJ 6SOLWUDQJH YDULDEOH$
FRUUHFWLRQ VDIHW\
PDQLSXODWHG
YDULDEOH
&RUUHFWLRQLQSXW 0DQLSXODWHG
YDULDEOH%
0DQLSXODWHGYDULDEOH
IROORZXS
Split-Range Function
The split-range function is used to control two control valves with one manipulated variable.
The split-range function generates the two output signals, Manipulated value A and
Manipulated value B, from the manipulated value LMN as the input signal.
The following figure shows the effect of the parameters for the output manipulated value A.
0DQLSXODWHG
YDULDEOH$RXWSXW
VLJQDO
6WDUWRIRXWSXW
VLJQDOUDQJH
(QGRIRXWSXWVLJQDO
UDQJH
0DQLSXODWHG
YDULDEOH/01LQSXW
VLJQDO
6WDUWRILQSXWVLJQDO (QGRILQSXW
UDQJH VLJQDOUDQJH
The following figure shows the effect of the parameters for the output manipulated value B.
0DQLSXODWHG
YDULDEOH%RXWSXW
VLJQDO
6WDUWRIRXWSXW
VLJQDOUDQJH
(QGRIRXWSXWVLJQDO
UDQJH
0DQLSXODWHG
YDULDEOH/01LQSXW
VLJQDO
6WDUWRILQSXWVLJQDO (QGRILQSXW
UDQJH VLJQDOUDQJH
The start of range of the input signal must be smaller than the end of range of the input
signal.
Analog Output
And the analog output you can select the signal that is to be output for each channel. This is
usually the Manipulated value A of a controller. However, you can also select the
Manipulated value B of a controller or also an analog input value. The latter can be used for
the linearization of an analog value. This allows, for example, the signal supplied by a
thermocouple to be linearized and converted to 0 V to 10 V.
HIIHFWLYH 6ZLWFK
PDQLSX H[WHUQDO
ODWHG PDQLSX 0DQLSXODWHG
YDULDEOH ODWHGYDOXH YDULDEOH
&RUUHFWLRQLQSXW
0DQLSXODWHGYDULDEOHIROORZXS
Figure 3-24 Controller output of the step controller (pulse controller operating mode)
The classification of the digital outputs to the controller channels can be found in the table in
the section "FM 355 outputs".
0DQLSXODWHG
YDULDEOH$RXWSXW
VLJQDO
6WDUWRIRXWSXW
VLJQDOUDQJH
0DQLSXODWHG
YDULDEOH/01LQSXW
(QGRIRXWSXWVLJQDO 6WDUWRILQSXWVLJQDO (QGRILQSXWVLJQDO VLJQDO
UDQJH UDQJH UDQJH
In the case of a three-point controller (for example, as a heating and cooling controller) the
statements above apply for the manipulated value A. The second signal for controlling the
cooling is formed via the manipulated value B. The conversion of the manipulated value to
the manipulated values A and B is shown in the figure below. The conversion to a binary
output signal is carried out so that the ratio of pulse length to period duration corresponds to
the manipulated values A and B at the assigned digital outputs.
The classification of the digital outputs to the controller channels can be found in the table
"Functions of the controller output and setting possibilities".
0DQLSXODWHG
YDULDEOHV$DQG% 0DQLSXODWHGYDULDEOH$
RXWSXWVLJQDOV
0DQLSXODWHG 0DQLSXODWHGYDULDEOH%
YDULDEOH%VWDUWRI
RXWSXWVLJQDOUDQJH
0DQLSXODWHG
YDULDEOH/01LQSXW
0DQLSXODWHG 0DQLSXODWHG 0DQLSXODWHG VLJQDO
YDULDEOH%VWDUWRI YDULDEOH%HQGRI YDULDEOH%HQGRI
LQSXWVLJQDOUDQJH LQSXWVLJQDOUDQJH RXWSXWVLJQDOUDQJH
HIIHFWLYH 6ZLWFK
PDQLSX H[WHUQDO
ODWHG PDQLSX 0DQLSXODWHG
YDULDEOH ODWHGYDOXH YDULDEOH
)ROORZXSLQSXW
0DQLSXODWHGYDULDEOHIROORZXS
3RVLWLRQIHHGEDFNLQSXW
Figure 3-27 Controller output of the step controller (step controller operating mode with position
feedback)
H[WHUQDOPDQLSXODWHG
YDULDEOH
Figure 3-28 Controller output of the step controller (step controller operating mode without position
feedback)
At a step controller without analog position feedback the external manipulated value and the
safety manipulated value act as follows:
If a value between 40.0% and 60.0% is specified, no binary output is set and the actuating
device remains unchanged.
If a value > 60.0% is specified, "Actuating signal high" is output until the checkback
"Actuating device at upper limit" is triggered.
If a value < 40.0% is specified, "Actuating signal low" is output until the checkback "Actuating
device at lower limit" is triggered.
See also
Parameter optimization with temperature controllers (Page 3-41)
Introduction (Page 7-2)
Controller Digital outputs assigned to Meaning of the digital Assignment of the digital
channel the controller channel outputs at the step outputs at the pulse
controller controller
1 1 Open Manipulated value A
2 Close Manipulated value B
2 3 Open Manipulated value A
4 Close Manipulated value B
3 5 Open Manipulated value A
6 Close Manipulated value B
4 7 Open Manipulated value A
8 Close Manipulated value B
Open: Opening the actuating device
Close: Closing the actuating device
Overview
This chapter covers important functional mechanisms and the principle of data storage in the
controller module.
The parameter configuration interface of the programming device/PC can be used to carry
out the following actions on the controller module
• parameter configuration,
• optimizing,
• operator control and monitoring.
The PID_FM function block (FB) that belongs to the scope of delivery can be used to
connect the module with a user program.
Parameter settings
The FM 355 is configured by means of a parameter configuration interface on the
programming device (refer to the chapter "Wiring the FM 355"). All the parameter
configuration data are stored in a SDB on the programming device.
Note
Only in the STOP state of the CPU can you download the SDB configuration data into the
CPU and into the FM 355 via an online connection between the programming device and the
CPU. This is only possible via the HW Config. In doing so, the parameter configuration
interface must be closed.
The FM 355 is supplied again with the parameters from the SDB in the CPU during every
start-up and during the transition of the CPU from STOP to RUN.
If you change the parameters via the parameter configuration interface and then download
them directly into the FM 355, step changes can occur in the manipulated value course. In
order to achieve a controlled manipulated value course we recommend the following
procedure:
1. Switch to manual operation (for example via the loop display).
2. Change the parameters.
3. Download them directly into the FM 355
4. Switch to automatic operation (for example via the loop display).
Data Flow during Parameter Configuration via the Parameter Configuration Interface
The following figure shows the path of the parameter configuration data from the parameter
configuration interface to the FM 355.
3DUDPHWHU
DVVLJQPHQW
LQWHUIDFH
+:&RQILJ
3*
2IIOLQHGDWD
VWRUDJH
'RZQORDGLQJGLUHFWO\WR
WKH)0
'RZQORDG
IURP+:
&RQILJ
&38)0
6\VWHP
GDWD
'RZQORDGLQJWKHV\VWHP
GDWDDWVWDUWXS
6723!581 RIWKH&38
Figure 3-29 Parameter configuration of the FM 355 via the programming device and via the CPU
Note
In order to ensure that you do not overwrite the parameters that you do not want to change
by the default values from the instance DB, you must first call the PID_FM FB once with
COM_RST = TRUE during the CPU start-up. The PID_FB FB then reads the parameters -
that were transferred beforehand from the CPU into the FM - out of the FM 355 and places
them in its instance DB. You can now change individual parameters and transfer all the
parameters to the FM 355 with LOAD_PAR = TRUE.
Please note that the parameters in the FM 355 are always overwritten by the values from the
system data whenever the CPU is started up (transition from STOP to RUN).
&38)0
6\VWHP
GDWD
'RZQORDGLQJWKHV\VWHP
GDWDDWVWDUWXS
6723!581 RIWKH&38
,QVWDQFH'% )%
RIWKH)%b 3,'B)0
3,'B)0 /2$'B3$5 758(
&20B567 758(
Figure 3-30 Parameter configuration of the FM 355 via system data and via the PID_FM FB
The operating parameters (for example setpoint, manual manipulated value) are transferred
cyclically by the PID_FM FB to the FM 355. Operating parameters are all the parameters that
lie between the op_par and cont_par variables in the instance data block.
To ensure this is possible without any great time expenditure in the CPU, the transfer takes
place via direct peripheral access, not via the SFC WR_REC/SFB WRREC. Since only four
bytes are available per channel in the I/O address area of the module, the data are
multiplexed. It can therefore take up to three cycles of the CPU or of the FM 355 until the
operating values have been transferred to the FM 355 – the respectively longer cycle is
decisive.
If you set the parameter LOAD_OP = TRUE, then the operating parameters will be
transferred to the module in a program cycle via the SFC WR_REC/SFB WRREC. However,
this requires a higher run time (refer to the technical specifications).
The process values (for example, actual value, manipulated value) can also be read from the
PID_FM FB via direct I/O accesses. This transfer requires less run time, but entails the
functional limitations listed below. If the READ_VAR = TRUE parameter is set, then the
process values are read from the FM 355 via the SFC RD_REC/SFB RDREC. However, this
requires more run time.
Functional limitations if READ_VAR is not set:
• The SP (setpoint from the FM), ER (negative deviation), DISV (disturbance variable),
LMN_A and LMN_B variables are not updated.
• The data are multiplexed. The actual value and manipulated value as well as the binary
displays are not up-to-date until after the block has been called four times.
• If the setpoint and manual manipulated value were operated via the continuous-action
controller, these operating values are not updated (read from the FM) during the start-up
of the FB CPU.
Reference
Further information about using instance DBs is available in this documentation in the
sections "Including the FM 355 in the User Program" and "Assignment of DBs".
See also
Parameter assignment (Page 6-2)
Summary (Page 7-1)
Instance DB of the PID_FM FB (Page 11-1)
Assignment of the DBs for Operator Control and Monitoring via OP (Page 11-35)
Operator Control and Monitoring of the FM 355 with the OP via MPI
You can establish a maximum of three connections from the FM 355 to OPs via MPI.
Operation of the FM 355 using the OP is only possible in the STOP state of the CPU or at a
CPU failure.
Monitoring of the FM 355 with the OP is always possible.
The variable interface of the FM 355 contains four data blocks with the block numbers 101 to
104 for the controller channels 1 to 4 (refer to the following figure).
Note
The contents of Data blocks 101 to 104 do not automatically mirror the parameter value
effective on the FM 355. Parameters changed using the OP are only taken over into the
FM 355 after the LOAD_PAR or LOAD_OP operating bit has been set.
If you change a parameter using OP operation without setting the corresponding operating
bit, the changed parameter value is entered in the data block, but the FM 355 continues to
operate internally with the unchanged old value of the parameter.
After the operating bits have been set and the parameters taken over into the FM 355, the
operating bits LOAD_PAR or LOAD_OP are reset by the FM 355.
23
2SHUDWHDQGPRQLWRUZKHQ 2SHUDWLRQRQO\ZKHQWKH&38LV
WKH&38LVLQ581 DW6723RULIWKH&38IDLOV
PRQLWRU
&38 )0
'%b
WR
0D[
)% LQVWDQFH
3,'B)0 '%VRIWKH
)%
3,'B)0
3DUDPHWHU
Overview
The following topics contain information about
• The processing sequence and sampling time
• Rules for operation
• Startup reaction
• Backup mode
• Firmware update
Sequence of execution
The FM 355 executes the analog inputs and controller channels in a specified sequence.
Each controller channel is executed immediately after the execution and conditioning of the
analog input with the same number. Subsequently the analog input with the next highest
number will be processed and so on. The reference junction is processed after controller
channel 4. The following figure shows the sequence of execution of the FM 355.
&RQYHUVLRQWLPHVH[DPSOH
5HIHUHQFH PV
%RRW MXQFWLRQIRU
DQDORJLQSXWV
WR
&RQWUROOHU
$QDORJLQSXW PV FKDQQHOV
&RQWUROOHU
$QDORJLQSXW PV
FKDQQHOV
&RQWUROOHU
$QDORJLQSXW PV FKDQQHOV
&RQWUROOHU
$QDORJLQSXW PV
FKDQQHOV
Sampling Time
The combined sampling time of all the controllers of the FM 355 results from the sum of the
conversion times of the individual analog inputs. The conversion time for the reference
junction is added, if it is used.
The conversion time of an analog input depends on the resolution, the line frequency and the
controller type used:
The following figure shows an example of the sequence of execution at only three used
analog inputs.
&RQYHUVLRQWLPHVH[DPSOH
5HIHUHQFH PV
%RRW MXQFWLRQIRU
DQDORJLQSXWV
WR
&RQWUROOHU
$QDORJLQSXW PV FKDQQHOV
&RQWUROOHU
$QDORJLQSXW PV
FKDQQHOV
&RQWUROOHU
$QDORJLQSXW 1RWXVHG FKDQQHOV
PV
&RQWUROOHU
$QDORJLQSXW PV
FKDQQHOV
The following sampling time results for each controller in the example shown in the previous
figure (at 50 Hz line frequency):
tSample = 20 ms + 20 ms + 20 ms + 0 ms + 20 ms = 80 ms
• If the reference junction input is used, it requires the same conversion time as the analog
input with the highest conversion time.
• The sampling time of a controller is the sum of the conversion times of the used analog
inputs plus the conversion time of the reference junction input.
Startup Behavior
During the startup the FM 355 initially takes over the current parameters from its EEPROM
and starts to control with these parameters. These are overwritten by the CPU with
parameters from the system data as soon as the P-bus connection between the CPU and
the FM 355 is established. If the system data do not contain any parameters for the
controller, the module continues to control with the parameters stored in the EEPROM. A
change to default parameters is unknown to the FM 355.
The following configurable options are available for the manipulated value for a restart after a
power failure:
• The controller begins with the safety manipulated value.
This setting remains effective until it is reversed by the user program via the function
block.
• The controller goes into closed-loop control operation.
The following configurable options are available for the setpoint value for a restart after a
power failure:
• The last valid setpoint value remains effective.
• A changeover to the safety setpoint value take place.
This changeover is only effective if the setpoint value is specified by the user program via
the function block. Otherwise the setpoint value is specified either by an analog input or
by or controller output, depending on the parameter configuration.
In order to restore the communication between the CPU and the FM 355, proceed as follows
for the CPUs and devices listed below:
Backup mode
If the CPU goes into STOP or fails or if the connection of the FM 355 to the CPU fails, the
FM 355 goes into backup operation and continues to control with the parameters valid at the
moment of failure. The FM 355 uses either the last setpoint value or the safety setpoint
value. Depending on the parameter configuration.
Backup operation is indicated by the yellow "Backup" LED.
In backup operation the FM 355 can be operated directly via the OP. As soon as the CPU
has returned to RUN, the FM 355 can no longer be operated via the OP.
See also
Functional mechanisms and data storage in the FM 355 (Page 3-30)
Firmware update
In order to extend the functionality and eliminate errors, firmware updates can be
downloaded to the operating system memory of the FM 355. This functionality is described in
the online help of the parameter configuration interface.
After a manipulated value step change has been applied to the controlled system, it reacts
with a step response. The controlled system can also be classified on the basis of this step
response: The control system becomes increasingly critical the greater the ratio tu / ta is and
the greater the controlled system gain is. With tu / ta < 1/10 you have a non-critical control
section, refer to the following figure.
6WHSUHVSRQVHRID
FRQWUROOHGV\VWHPWRD
PDQLSXODWHGYDULDEOH
VWHSFKDQJH
WD W
WX
WX 'HOD\WLPH
WD %DODQFLQJWLPH
Figure 3-34 Step response of a controlled system to a manipulated value step change
The identification is complete when the heating output becomes less than 100%. This
behavior can be used, for example, to deactivate the identification via the user program.
After the identification phase the controller continues to operate with the determined
parameters.
A renewed identification is carried out at every further setpoint value step change ≥12%
unless the identification has been deactivated again with FUZID_ON = FALSE.
If the setpoint value step change is not adjusted and if the heating output remains
permanently at zero, the identification has been terminated unsuccessfully, meaning that the
controller cannot control the connected controlled system.
Canceling Identification
Identification can be canceled in the following cases:
• By the controller if a "critical" controlled system is identified. After canceling the controller
is in the error state. This state is indicated by the fact that the manipulated variable is
reset permanently by the controller. This is also not changed by deactivating the
optimization. The error state is deleted by starting a new identification.
Information about the state of the identification is available through the IDSTATUS
parameter of the CH_DIAG FB.
• By the operator by generating a negative setpoint value step change, whereby the
setpoint value must lie below that of Condition 2 (see above "How To Start identification").
Note
Deactivation of the optimizing mode with FUZID_ON=0 before identification has been
completed does not stop the identification. An identification process that has been started
continues to run under all circumstances – with the exception of a negative setpoint value
step change.
; $ , )
The IDSTATUS parameter contains the four hexadecimal values X, A, I and F. They have
the following meaning:
Mechanical Configuration
Manual /1/ describes the possibilities open to you for mechanical installation and how to
proceed when configuring. The following gives only a few supplementary notes.
1. A maximum of eight SMs or FMs are permissible per rack.
2. The maximum number is restricted by the width of the modules or the length of your
mounting rail. The FM 355 requires an installation width of 80 mm.
3. The maximum number is restricted by the total current consumptions of all modules to the
right of the CPU from the 5 V backplane bus supply. The typical current input of the
FM 355 from the 5 V backplane bus supply amounts to 50 mA.
4. The maximum number is also restricted by the memory required by the CPU software for
communications with the FM 355.
Fixed Addressing
In fixed addressing the start address depends on the slot. The tables in Manual /1/ list the
respective start address of an analog module at the various slots.
You can also calculate this fixed start address by using the following equation:
Adr. = 256 + (Rack No. x 128) + (Slot No. - 4) x 16
Free Addressing
In free addressing you specify the start address for the module under STEP 7.
Reference
Further information about addressing and configuring the instance DBs is available in this
documentation in the sections "Including the FM 355 in the User Program" and "Assignment
of DBs".
See also
Summary (Page 7-1)
Precautions
No special protection measures (ESD guidelines) are required for installing an FM 355.
Tools Required
You require a 4.5 mm screwdriver to install and remove the FM 355.
Further Information
Manual /1/ contains further notes on installing and removing modules.
)0&
3,'&RQWURO
6)
,F
/
,Fದ
9
ದ
,F
,Fದ
9
ದ
&+
,F
"
&+
,Fದ
"
9 &+
ದ
,F
"
&+
,Fದ
"
9
ದ
0$1$
0
9+$(
Figure 5-1 Terminal assignment of the front connectors of the FM 355 C
Note
The MANA connections have to be connected with low impedance to the central ground
connection. If you supply the encoders externally, you must also connect the ground of this
external voltage with the ground of the CPU.
)06
3,'&RQWURO
6)
/
,F
,Fದ
9
ದ
,F
,Fದ
9
ದ
,F
,Fದ
9
ದ
,F
,Fದ
9
ದ
0$1$
0
9+$(
Figure 5-2 Terminal assignment of the front connectors of the FM 355 S
Note
The MANA connection has to be connected with low impedance to the central ground
connection. If you supply the encoders externally, you must also connect the ground of this
external voltage with the ground of the CPU.
Caution
Only extra low voltage ≤ 60 V DC separated safely from the system may be used for the 24
V DC power supply. Safe isolation can be implemented by one of the following requirements:
• VDE 0100 Part 410 / HD 384-4-41 / IEC 364-4-41 (as functional low voltage with safe
isolation)
• VDE 0805 / EN 60950 / IEC 950 (as safety extra-low voltage SELV)
• VDE 0106 Part 101
An integral diode protects the module from reverse polarity of the supply voltage.
Digital outputs
The FM 355 S disposes of eight digital outputs, Q1 to Q8, that are used to directly trigger
control processes.
The digital outputs are supplied via the supply voltage L+.
The digital outputs are source outputs and can be loaded with a load current of 0.1 A. They
are protected from overload and short-circuit.
Note
Direct connection of inductivities (such as relays and contactors) is possible without external
circuiting. If SIMATIC output circuits can be deactivated by additionally installed contacts (for
example relay contacts), you have to provide additional overvoltage protection devices at
inductivities (see the following example for overvoltage protection).
6,0$7,&6
FRQWURO
&RQWDFWLQWKHRXWSXWFLUFXLW
,QGXFWDQFHUHTXLUHVDFLUFXLW
UHIHUWRILJXUHEHORZ
ZLWKGLRGH ZLWK=HQHUGLRGH
+ +
- -
Figure 5-4 Circuiting of coils operated with DC voltage
Cables
Here are some rules for you to observe when selecting cables:
• The cables for Digital inputs I1 to I8 have to be shielded if the length exceeds 600 m.
• The cables for the analog signals have to be shielded.
• You must apply the shields of the analog signal cables both at the encoder and in the
immediate vicinity of the module via the shield contact element, for example.
The following figure shows details for the connection of analog signals.
6KLHOGRQWKHVKLHOG 6KLHOGRQ
FRQWDFWHOHPHQW KRXVLQJ
)URQWFRQQHFWRU
FRQQHF
WLRQ
0 $1$
&DEOHVWZLVWHG
Terminal 20 (MANA) of the front connector has to be connected with low impedance to the
CPU ground. If you supply the encoder with an external voltage, you must also connect the
ground of this external voltage with the CPU ground.
• Use flexible cables with cross-sections of 0.25 to 1.5 mm2.
• You do not need wire end ferrules. If you use wire end ferrules then use only those
without insulation collar in accordance with DIN 46228 Form A, short version!
Note
Analog inputs that are not used are to be short-circuited and connected to MANA.
Wiring
Proceed as follows when wiring the front connector:
1. Place the front connector in the wiring position and open the front panel.
2. Strip the conductors (length 6 mm).
3. Do you want to use end ferrules?
If yes: Press the end ferrules and the cables together.
4. Feed the enclosed strain relief clamp into the front connector.
5. If the wires leave the module at the bottom, begin wiring at the bottom, otherwise begin at
the top. Also screw tight unassigned terminals (tightening torque 0.6 to 0.8 Nm).
6. Tighten the strain relief clamp for the cable chain.
7. Push the front connector into the operating position.
8. Apply the cable shields to the shield contact element or to the shield bar.
9. Label the terminals on the labeling strip.
The following figure shows the module with the shielded cables and the shield contact
element.
Characteristics
The state in which the module is after the power supply has turned on and when data have
not been transferred yet (state of delivery) is characterized by the following:
• Analog inputs: No execution
• Analog outputs (continuous-action controller): 0 mA
• Digital outputs (step controller): Zero (deactivated)
• No controller active
• Diagnostic interrupt disabled
Prerequisites
STEP 7 must be correctly installed on your PG / PC.
Delivery format
The software is delivered on CD ROM.
Procedure
To install the software:
1. Place the CD in the CD drive of your PG / PC.
2. Under Windows 95 / NT, launch the dialog for installing software by double-clicking on
the "Software" icon in "Control panel".
3. In the dialog box, select the CD drive and then the setup.exe file and start installation
process.
4. Follow the on-screen step-by-step instructions of the installation program.
The following will be installed on your PG / PC:
• Parameterization interface
• Function blocks
• Program examples
• Online help
Program examples
The program examples can be found in the STEP 7 catalog in the sub-catalog "Examples" in
the project FM_PIDEx.
Procedure
Configuration assumes that you have set up a project in which you can save the
configuration. Refer to the Basic Software for S7 and M7, STEP 7 user manual for more
information on configuring modules. The following briefly explains the most important steps.
1. Launch the SIMATIC Manager and then call the configuration table in your project.
2. Select a subrack and arrange this.
3. Open the subrack.
4. Select the FM 355 from the module catalog.
5. Drag the FM 355 to the respective line of the configuration table.
6. From the configuration table, note the input address of the module, e.g. 272.
The value that you read off is displayed in decimal format.
Procedure
After configuration, you can start with the parameter assignment.
When assigning parameters you set the module parameters.
1. Double click on the order number of the module in the configuration table or select the
module and use the menu command Edit > Object properties.
Result: You end up in the "Properties" dialog box.
2. Click on the "Basic parameters" tab.
Result: You end up in the "Basic parameters" dialog box.
3. Parameterize the basic parameters of the module.
4. Click on "Parameter ...".
Result: You end up in the parameterization interface.
5. Parameterize the module and save the parameters entered with File > Save.
6. End the parameterization interface:
7. Save your project in the HW Config with Station > Save and compile.
8. Transfer the parameter data with the CPU in STOP mode by selecting Target system >
Load > Project.
Result: The data is located in the CPU´s memory and will be directly transferred from
there to the module.
9. Carry out a CPU start-up.
Note
The parameterization tool does not provide an error message if when assigning the
controller channels to the inputs you assign two channels to one input.
Integrated help
Included in the parameterization interface is an integrated help that supports you in the
parameterization of the controller module. You have the following possibilities of calling the
integrated help:
• Via the menu command Help > Help topics ...
• By pressing the F1 key
• By clicking on the help button in the individual parameterization screens
The integrated help´s description of the parameterization of the module goes into more detail
than that of the manual.
See also
Diagnostics Records DS0 and DS1 (Page 12-2)
Overview
The following topics contain all the information required to program the FM 355 in the
S7-300.
Seven STEP 7 blocks are provided in order to implement the FM 355 in a user program.
These allow simple handling of the desired functions.
This chapter describes the following blocks:
• PID_FM FB for operator control and monitoring via the CPU as well as online modification
of controller parameters
• FB FUZ_355 for reading and writing the parameters of all temperature controllers of the
FM 355. The block enables a fast adaptation of the controller to changes in the control
section, and a parameterization of the temperature controllers after a module
replacement or new identification.
• FORCE355 FB for simulation (forcing) of the analog and digital input value (to support
commissioning).
• READ_355 FB for reading out the digital and analog input values (to support
commissioning).
• A CH_DIAG FB for reading out further channel-specific parameters (to support
commissioning)
• The FB 39 PID_PAR for changing other parameters online.
• The FB 40 CJ_T_PAR for changing the configured reference junction temperature online.
Note
FB 39 and FB 40 from the FM_PID "FM 355, 455 PID Control" library do not run under
S7 300 CPUs with a Micro Memory Card. If you use a CPU with a PROFINET
connection, take the respective blocks from the FM_PID "FM 355 PROFINET" library,
otherwise you must use the FB 29 and the FB 30.
You will find the description of the FB 29 and FB 30 blocks in the Appendix.
Use
The FM 355 is connected to the user program by means of the PID_FM FB. With this FB you
can change operating parameters during operation. You can, for example, specify a setpoint
value and the manipulated value or switch over to external manipulated value specification.
The data required for the PID_FM FB are stored in an instance DB on the CPU. The PID_FM
FB reads data program-controlled from the FM 355 and writes data program-controlled to the
FM 355.
The individual parameters are described in the online help and in the "Assignment of DBs"
section.
Call
The PID_FM FB has to be called in the same OB as all the other FBs that access the same
FM 355.
The PID_FM FB is normally called in the watchdog interrupt OB 35. It requires an
initialization run that is started by setting the COM_RST = TRUE parameter in the start-up of
the CPU. Calling of an FB in the start-up OB is possible, but not necessary. After the
initialization run the PID_FM FB sets the COM_RST parameter to FALSE.
Note
Multiplexing of the data to be transferred during access to the FM 355 via direct I/O
accresses is controlled via the PID_FM FB. This multiplex controlling does not function if
two instances of the PID_FM FB access the same channel number of a module. This
results in incorrect parameters in the FM 355 (for example setpoint value and manual
manipulated value) and incorrect displays of the PID_FM FB at its output parameters.
Error Displays
The output parameter, RET_VALU, contains the feedback value RET_VAL of the SFCs
RD_REC and WR_REC. With the blocks for PROFINET operation, the RET_VAL includes
the 2nd and 3rd bytes of the STATUS parameter of the SFB RDREC and WRREC.
RET_VAL can be evaluated if the parameters READ_PAR and LOAD_PAR are not reset.
The values of RET_VALU are described in the reference manual /2/.
An I/O access error can occur when the PID_FM FB is called, if the FM 355 is not plugged or
is not supplied with voltage. In this case the CPU changes to STOP mode if no OB 122 is
loaded in the CPU.
See also
Instance DB of the PID_FM FB (Page 11-1)
Procedure
Controller parameters (such as controller gain, integration coefficient) are all the I/O
parameters that lie after the cont_par parameter in the instance DB of the function block.
Controller parameters are first configured via the parameter configuration interface and
transferred via the system data to the FM 355.
Changing controller parameters using the PID_FM FB is advisable if you want to change
these during operation depending on the process states. Proceed as follows:
1. Set the COM_RST parameter of the FB PID_FM to TRUE in the start-up of the CPU.
The FB then reads all the controller parameters from the FM 355 and places them in its
instance DB. The instance DB of the PID_FM FB is now compared with the parameters of
the parameter configuration interface (system data). After successful reading of the
parameters the PID_FM FB sets the COM_RST parameter to FALSE. This can take a few
call cycles if the FM 355 is used in distributed I/Os.
2. If COM_RST = FALSE, you can now change individual controller parameters in the
instance DB of the PID_FM FB in the user program.
To do so call the PID_FM FB by setting LOAD_PAR = TRUE. The PID_FM FB then
transfers all the controller parameters from the instance DB to the FM. After successful
transfer of the parameters the PID_FM FB resets the LOAD_PAR parameter. This can
take a few call cycles if the FM 355 is used in distributed I/Os.
Note
Please note that the parameters in the FM 355 are always overwritten by the values from the
system data whenever the CPU is started up (transition from STOP to RUN).
See also
Operator Control and Monitoring of the FM 355. (Page 3-33)
Procedure
If you want to change controller parameters of the PID_FM FB at the OP, proceed as follows:
1. Write the parameters that are to be changed from the OP into an auxiliary DB (see ①).
2. Do not transfer these parameters that are to be changed from the auxiliary DB into the
instance DB of the PID_FM FB until after the initialization of the PID_FM FB triggered by
COM_RST = TRUE (see ②) has been carried out (see ③).
3. Transfer the parameters to the controller module by setting LOAD_PAR (see ④).
Storage of the parameters in an auxiliary DB is necessary, because, after the start-up of the
CPU with COM_RST = TRUE, the PID_FM FB reads those parameters from the module that
the CPU had transferred beforehand from the system data to the FM.
&38 23
$X[LOLDU\'%
DIWHULQLWLDOL]DWLRQZLWK
&20B567 758(
)0
,QVWDQFH'% )%
RIWKH)%b 3,'B)0 /2$'B3$5 758(
3,'B)0
&20B567 758(
6\VWHP
GDWD 'RZQORDGLQJWKHV\VWHP
GDWDVWDUWXS
6723 ൺ 581 2IWKH&38
If COM_RST = TRUE is set, the CHANNEL parameter is also checked. If an invalid channel
number was configured at the CHANNEL parameter, the outputs QMOD_F and QCH_F are
set, COM_RST remains set and no further action of the FB is carried out.
If no error is found during the check and the parameters were read successfully from the
module, the COM_RST parameter is reset by the PID_FM FB.
Note
If the FB is called at the first call with COM_RST = FALSE and an invalid channel number is
configured at the MOD_ADDR or CHANNEL parameters, the FB accesses an incorrect I/O
address without any further check.
Principle
In the case of program-controlled reconfiguration (LOAD_PAR, LOAD_OP) of the controller
module by the FB PID_FM, the time thereof increases. The new parameters are always
immediately effective and are also stored in a non-volatile memory (EEPROM). After saving
the parameters in the EEPROM, any resaving is delayed by 30 minutes as the life span of
the EEPROM is restricted by the number of write operations. After recovery of the supply
voltage, it is possible to immediately save new parameters in EEPROM. Whether the
reconfiguration of the controller module takes place by the FB PID_FM shock-free depends
on the choice of the parameters.
Overview
The following figures show the relationship between the PID_FM FB and the parameter
configuration interface of the controller module.
The parameters act at the same point at three-component controllers and ratio/blending
controllers as at fixed setpoint or cascade controllers. This also applies for the parameters
that exist equally at continuous-action controllers, at controllers with a pulse output as well
as at step controllers. As a rule the same command buttons also contain the same
parameters. Therefore, in order to obtain a clearly structured overview not all the structure
screens are shown and not all the parameters are drawn in all the screens.
However, the parameters of the PID_FM FB are contained in all the figures – with the
exception of the parameters MOD_ADDR, CHANNEL, QMOD_F, QPARA_F, QCH_F,
QLMNR_ON, RET_VALU, COM_RST, LOAD_PAR, READ_VAR, LOAD_OP.
63B+/0
63B23
63B//0
(IIHFWLYHVHW
63B5( SRLQW
6ZLWFKLQJ 5DPS /LPLWLQJ
VDIHW\VHW
6HWSRLQW SRLQW (UURU
VLJQDO
63B23B21 +B$/0
021(56(/ +B:51
/B:51
/B$/0
$ODUP
+<6
3URFHVVYDOXH$ (IIHFWLYH
SURFHVV
YDOXH
'LQSXW
'B(/B6(/
'LVWXUEDQFH
YDULDEOH
)8=,'B21
HIIHFWLYHVHWSRLQW
HIIHFWLYHSURFHVVYDOXH
7HPSHUDWXUH
FRQWUROOHU HIIHFWLYHPDQLSXODWHG
YDULDEOH
*$,1 70B/$*
7, 3B6(/
'($'%B: 7' 3)'%B6(/
(UURUVLJQDO
'HDG]RQH
'LQSXW
0DQLSXODWHGYDULDEOHIROORZXS
'LVWXUEDQFHYDULDEOH
&RUUHFWLRQLQSXW
0DQLSXODWHGYDULDEOH
IROORZXS
H[WHUQDO
PDQLSX
ODWHG
YDULDEOH
&RUUHFWLRQLQSXW
0DQLSXODWHGYDULDEOHIROORZXS
Figure 7-5 Controller output of the step controller (pulse controller operating mode)
H[WHUQDO
PDQLSX
ODWHG
YDULDEOH
HIIHFWLYH 6ZLWFK
PDQLSX H[WHUQDO 075B70
0DQLSXODWHG 38/6(B70
ODWHG PDQLSX
YDULDEOH %5($.B70
YDULDEOH ODWHGYDOXH
&RUUHFWLRQLQSXW
0DQLSXODWHGYDULDEOHIROORZXS
3RVLWLRQIHHGEDFNLQSXW
Figure 7-6 Controller output of the step controller (step controller operating mode with position
feedback)
/01'1B23
/0183B23
/0162321
/0156B21
075B70 $FWXDWLQJ
38/6(B70 VLJQDO
%5($.B70
KLJK
/01569$/
H[WHUQDOPDQLSXODWHG
YDULDEOH
ORZ
Figure 7-7 Controller output of the step controller (step controller operating mode without position
feedback)
4835/0 463+/0
63B23
4'15/0 463//0
63B5( (IIHFWLYHVHW
&3 SRLQW
6ZLWFKLQJ 5DPS /LPLWLQJ (5
VDIHW\VHW
6HWSRLQW SRLQW (UURU
VLJQDO
39
4+B$/0
4632321 4+B:51
4/B:51
4/B$/0
$ODUP
3URFHVVYDOXH$ (IIHFWLYH
SURFHVVYDOXH
'LQSXW
',69
'LVWXUEDQFH
YDULDEOH
463/(39 4)8==<
HIIHFWLYHVHWSRLQW
HIIHFWLYHSURFHVVYDOXH
7HPSHUDWXUH
FRQWUROOHU HIIHFWLYHPDQLSXODWHG
YDULDEOH
3,'
(UURUVLJQDO
'HDG]RQH
'LQSXW
0DQLSXODWHGYDULDEOHIROORZXS
'LVWXUEDQFHYDULDEOH
4/012321
H[WHUQDO 4/015(
PDQLSXODWHG
YDULDEOH 4/01B+/0
/01B23
4/016$)( 4/01B//0 /01 4635
0DQLSXODWHG
HIIHFWLYH 6ZLWFK YDULDEOH /01B$
PDQLSXODWHG H[WHUQDO
YDULDEOH PDQLSXODWHG 4/0175. 0DQLSXODWHG
YDOXH 6ZLWFKLQJ /LPLWLQJ 6SOLWUDQJH YDULDEOH$
VDIHW\
PDQLSXODWHG /01B%
6ZLWFK YDULDEOH
FRUUHFWLRQ 0DQLSXODWHG
YDULDEOH%
&RUUHFWLRQLQSXW
0DQLSXODWHGYDULDEOHIROORZXS
H[WHUQDO
PDQLSX
ODWHG
YDULDEOH
HIIHFWLYH 6ZLWFK
PDQLSX H[WHUQDO
ODWHG PDQLSX 0DQLSXODWHG
YDULDEOH ODWHGYDOXH YDULDEOH
4/0183
4/01'1
6ZLWFK 6ZLWFKLQJ /LPLWLQJ 6SOLWUDQJH
FRUUHFWLRQ VDIHW\ SXOVHVKDSHU
PDQLSXODWHG
YDULDEOH
&RUUHFWLRQLQSXW
0DQLSXODWHGYDULDEOHIROORZXS
Figure 7-11 Controller output of the step controller (pulse controller operating mode)
H[WHUQDO
PDQLSX
ODWHG
YDULDEOH
HIIHFWLYH 6ZLWFK
PDQLSX H[WHUQDO
ODWHG PDQLSX 0DQLSXODWHG 4/015+6
YDULDEOH ODWHGYDOXH YDULDEOH 4/015/6
&RUUHFWLRQLQSXW 4/01'1
4/0183
0DQLSXODWHGYDULDEOHIROORZXS
/01B$
3RVLWLRQIHHGEDFNLQSXW
Figure 7-12 Controller output of the step controller (step controller operating mode with position
feedback)
4/015+6
4/015/6
H[WHUQDOPDQLSXODWHG
YDULDEOH 4/0183
4/01'1
HIIHFWLYH 6ZLWFK 6ZLWFKLQJ 3XOVH
PDQLSX H[WHUQDO VDIHW\ VKDSHU
ODWHG PDQLSX PDQLSXODWHG
YDULDEOH ODWHGYDOXH YDULDEOH
Figure 7-13 Controller output of the step controller (step controller operating mode without position
feedback)
See also
Instance DB of the PID_FM FB (Page 11-1)
Use
The FUZ_355 FB is used for the temperature controller of the FM 355 (fuzzy controller). This
FB can be used to read and write the parameters of all the temperature controllers of the
FM 355. This function is suitable for the following applications:
• Transfer of the controller parameters determined through identification to the FM 355
after module replacement
• Adapting the FM 355 to different controlled systems
Note
You may not change the parameters determined through identification by the FM 355 since
they have been optimized for the process.
Call
The FUZ_355 FB has to be called in the same OB as all the other FBs that access the same
FM 355.
See also
Instance DB of the FUZ_355 FB (Page 11-20)
Use
The FORCE355 FB is used to simulate (force) the analog and digital input values to support
commissioning.
The FORCE355 FB does not require an initialization run. It is normally called cyclically.
Call
The FORCE355 FB has to be called in the same OB as all the other FBs that access the
same FM 355.
Note
LEDs I1 to I8 also always display the state of the corresponding digital input during
simulation.
6LPXODWLRQ 6LPXODWLRQ
VZLWFKRQ VZLWFKRQ
6B$,21>L@ 6B3921>L@
6HQVRUW\SH
$
'
3UHSUR
)LOWHU 6TXDUHURRW 3RO\OLQH 6WDQGDUGL]H FHVVHG
DQDORJYDOXH
5HIHUHQFH 6LPXODWLRQVZLWFKRQ
LQSXW 6B',21>L@
6LPXODWLRQYDOXH
FRQILJXUHG ',B6,0>L@
'LJLWDOYDOXH
'LJLWDOLQSXW
At a restart of the FM 355 after a power-off the simulation switches on the FM 355 are
positioned again to FALSE.
The output parameter, RET_VALU, contains the feedback value RET_VAL of the SFCs
RD_REC and WR_REC. With the blocks for PROFINET operation, the RET_VAL includes
the 2nd and 3rd bytes of the STATUS parameter of the SFB RDREC and WRREC. The
values of RET_VALU are described in the reference manual /2/.
Note
Activation and specification of the simulation values (forcing) is not carried out via the
parameter configuration interface. The corresponding switches and connecting lines are
therefore drawn dashed.
See also
Instance DB of the FB FORCE355 (Page 11-23)
Use
The READ_355 FB is used to read out the digital and analog input values to support
commissioning.
The READ_355 FB does not require an initialization run. It is normally called cyclically.
Call
The READ_355 FB has to be called in the same OB as all the other FBs that access the
same FM 355.
Displayed values
The following values are displayed:
• The CJ_TEMP parameter shows the reference junction temperature measured at the
reference junction in degrees C or in degrees F (depending on the temperature unit that
was configured). If no "Thermocouple" sensor type was configured or if the configured
reference junction temperature was selected at all the analog inputs, 0.0 is displayed at
the CJ_TEMP parameter.
• The actual states of digital inputs 1 to 8 are displayed at parameters STAT_DI[1] to
STAT_DI[8], even if these are simulated.
• The values of analog inputs 1 to 4 are displayed at parameters DIAG[1].PV_PER to
DIAG[4].PV_PER in the unit mA or mV respectively. If the simulation of the analog input
value is activated via the FORCE355 FB, the simulated value is displayed.
6HQVRUW\SH
$
' 3UHSUR
FHVVHG
)LOWHU 6TXDUHURRW 3RO\OLQH 6WDQGDUGL]H DQDORJYDOXH
5HIHUHQFH &-B7(03
LQSXW
5HIHUHQFH
FRQILJXUHG
MXQFWLRQ
WHPSHUDWXUH
The output parameter, RET_VALU, contains the feedback value RET_VAL of the SFCs
RD_REC and WR_REC. With the blocks for PROFINET operation, the RET_VAL includes
the 2nd and 3rd bytes of the STATUS parameter of the SFB RDREC and WRREC.
The values of RET_VALU are described in the reference manual /2/.
See also
Instance DB of the READ_355 FB (Page 11-26)
Use
The CH_DIAG FB reads out further channel-specific parameters from the module (to support
commissioning).
The CH_DIAG FB does not require an initialization run. It is normally called cyclically.
Call
The CH_DIAG FB has to be called in the same OB as all the other FBs that access the same
FM 355.
Displayed values
The following values are displayed:
• The parameter SP_R is only relevant at ratio or blending controllers. It shows the ratio
factor specified via the setpoint value input (refer to the following figure).
• The parameter PV_R is only relevant at a blending controller. It displays the effective
actual value (process value) and is calculated as follows: PV_R = (PV - Offset) / PV_D
(refer to the following figure). Offset is the parameter that can be configured via the
"Multiply" command button.
• DIF_I is the input value of the D-action components of the PID-action controller, not only
at ratio or blending controllers (refer to the following figure).
63B5 &3
0XOWLSO\LQJ
6HWSRLQW HIIHFWLYH
6ZLWFK 5DPS /LPLWLQJ1RUPDOL VHWSRLQW
VDIHW\YDOXH ]LQJ
$FWXDOYDOXH' (UURU
VLJQDO
39B'
$ODUP
3URFHVVYDOXH$ HIIHFWLYH
',)B, SURFHVV
YDOXH
39
'LQSXW
'LVWXUEDQFH
YDULDEOH
,'67$786
HIIHFWLYHVHWSRLQW
HIIHFWLYHSURFHVV 7HPSHUDWXUH
YDOXH FRQWUROOHU HIIHFWLYH
PDQLSXODWHG
/01B3 YDULDEOH
/01B,
/01B'
3,'
(UURUVLJQDO
'HDG]RQH
'LQSXW
0DQLSXODWHGYDULDEOHIROORZXS
'LVWXUEDQFHYDULDEOH
H[WHUQDO
PDQLSXODWHG
YDULDEOH
HIIHFWLYH 6ZLWFK
PDQLSXODWHG H[WHUQDO
YDULDEOH PDQLSXODWHG 0DQLSXODWHG
YDOXH YDULDEOH
0DQLSXODWHG
6ZLWFK 6ZLWFKLQJ /LPLWLQJ 6SOLWUDQJH YDULDEOH$
FRUUHFWLRQ VDIHW\
PDQLSXODWHG
YDULDEOH
75$&.3(5 0DQLSXODWHG
YDULDEOH%
&RUUHFWLRQLQSXW
0DQLSXODWHGYDULDEOHIROORZXS
The output parameter, RET_VALU, contains the feedback value RET_VAL of the SFCs
RD_REC and WR_REC. With the blocks for PROFINET operation, the RET_VAL includes
the 2nd and 3rd bytes of the STATUS parameter of the SFB RDREC and WRREC.
The values of RET_VALU are described in the reference manual /2/.
See also
Parameter optimization with temperature controllers (Page 3-41)
Introduction (Page 7-20)
Instance DB of the CH_DIAG FB (Page 11-28)
Use
The PID_PAR FB is used for online changing of further parameters that cannot be specified
via the PID_FM FB.
The PID_PAR FB does not require an initialization run. To this purpose it has to be called
with the COM_RST = TRUE parameter before it writes data records to the FM 355.
Otherwise calling the FB generates a parameter configuration error on the module. You can
also read out these parameter assignment errors by using the PLC > Parameter Assignment
Error menu of the parameter configuration interface.
In order to save run time the PID_PAR FB should not be called cyclically but only when
parameters are to be changed. COM_RST must then be FALSE.
Call
The PID_PAR FB has to be called in the same OB as all the other FBs that access the same
FM 355.
Note
With PROFIBUS DP operation, with FB 39 from the "FM 355, 455 PID Control" library there
is the restriction that only REAL values with INDEX_R = 30...48 can be transferred
simultaneously with an INTEGER value.
The assignment of the specified value to the parameter is carried out via the index numbers
contained in the table that you specify at the parameter INDEX_R or INDEX_I in the instance
DB of the PID_PAR FB.
If the input COM_RST = TRUE, the FB reads the parameters from the system data are
stores them in static variables. The parameters to be changed are overwritten there and the
complete data record then transferred to the FM. Since the FB thus has its own data
management for the parameters in its static variables, further parameters can also be
changed. To this purpose you have to call up the same instance DB several times
consecutively with COM_RST = FALSE and with different index numbers.
The parameter COM_RST is an input parameter that is not reset by the FB PID_PAR FB.
The output parameter, RET_VALU, contains the feedback value RET_VAL of the SFCs
RD_REC and WR_REC. With the blocks for PROFINET operation, the RET_VAL includes
the 2nd and 3rd bytes of the STATUS parameter of the SFB RDREC and WRREC.
The values of RET_VALU are described in the reference manual /2/.
If the FM 355 is used in distributed I/Os, it may take a few call cycles until the parameters
have been transferred to the FM 355. The parameter BUSY has the value TRUE until the
transfer has been completed. You should therefore repeatedly call the FB PID_PAR when
changing parameters until BUSY = FALSE and RET_VALU = 0.
Note
Please note that parameters that you have changed using the PID_PAR FB are overwritten
by the parameters from the system data during the start-up.
Example
During operation you want to change the ramp-up time for the reference variable as well as
use different analog input values as the actual value depending on the process state.
• Call the PID_PAR FB with COM_RST = TRUE in the start-up of the CPU.
• In order to configure the ramp-up time for the reference variable to 10.0, call the
PID_PAR FB during operation with INDEX_R = 30, VALUE_R = 10.0 and INDEX_I = 0.
• If you want to configure the analog input value 4 of the module as the actual value, during
runtime call the FB PID_PAR with INDEX_R = 0, INDEX_I = 50 and VALUE_I = 4.
Changeable Parameters
Table 7-1 List of the REAL and INT parameters that can be changed with the PID_PAR FB
Note
The FB 39 PID_PAR from the "FM 355, 455 PID Control" library uses the SFC 54
RD_DPARM. Therefore, you can only use the FB PID_PAR in the CPUs listed in the
following table.
Table 7-2 List of the CPUs, in which the PID_PAR FB can be used
Note
If you are using a new S7 300 CPU with Micro Memory Card without PROFINET connection,
instead of:
FB 39 you must use FB 29
FB 40 you must use FB 30
. The descriptions of both file types used are available in the Appendix.
With a CPU with PROFINET connection you should use the same block from the FM_PID
"FM 355 PROFINET" library.
See also
Instance DB of the PID_PAR FB (Page 11-31)
Use
The CJ_T_PAR FB is used for online modification of the configured reference junction
temperature. This is necessary if a temperature control system with several FM 355 units
with thermocouple inputs is to be operated without a Pt 100 having to be connected to each
FM 355.
If, for example, the reference junction temperature is measured with an FM 355 at an
extruder control system with more than four heating zones, this can be read out via
READ_355 FB at the CJ_TEMP parameter and configured at the other FM 355 units via the
CJ_T_PAR FB.
The CJ_T_PAR FB requires an initialization run. To this purpose it has to be called once in
the start-up of the CPU using the COM_RST = TRUE parameter.
The CJ_T_PAR FB is normally called cyclically. To this purpose COM_RST should be set to
FALSE for run time reasons.
The COM_RST parameter is an input parameter that is not reset by the CJ_T_PAR FB.
Call
The FB CJ_T-PAR must be called in the same OB as all the other FBs that access the same
FM 355.
Note
The FB 40 CJ_T_PAR from the "FM 355,455 PID Control" library uses the SFC 54
RD_DPARM. You can therefore only use the CJ_T_PAR FB in the CPUs listed in the
previous table:
Note
If you are using a new S7-300 CPU with Micro Memory Card, then insetad of
FB 39 you must use FB 29
and instead of FB 40 you must use FB 30
. The descriptions of both file types used are available in the Appendix.
With a CPU with PROFINET connection you should use the same block from the FM_PID
"FM 355 PROFINET" library
See also
Instance DB of the CJ_T_PAR FB (Page 11-33)
General
For the PROFINET operation you have to use the blocks from the FM_PID libraries under
"FM 355 PROFINET". Their functionalities correspond to the blocks under "FM 355/455 PID
Control" and are described in the same way in chapter 7 and 11. The blocks for PROFINET
operation use the SFBs 52/53/81 for data transfer on the FM 355.
SFCs for data transfer without PROFINET SFBs for data transfer with PROFINET operation
operation
SFC 58 "WR_REC” SFB 53 "WRREC”
SFC 59 "RD_REC” SFB 52 "RDREC”
SFC 54 "RD_DPARM” SFB 81 "RD_DPAR”
SFC 102 "RD_DPARA” SFB 81 "RD_DPAR”
In the blocks from "FM 355 PROFINET", the output parameter RET_VALU is formed from
the 2nd and 3rd byte of the STATUS parameter of the SFBs.
The following table shows the blocks with their SFCs/SFBs for the data transfer and the
corresponding blocks for PROFINET operation.
"FM 355/455 PID Control" blocks for the "FM 355 PROFINET" blocks for the PROFINET
Centralized configuration and operation
PROFIBUS operation
FB31 "PID_FM" FB31 "PID_FM"
SFC58 WR_REC; SFC59 RD_REC SFB52 RDREC; SFB53 WRREC
FB32 "FUZ_355" FB32 "FUZ_355"
SFC58 WR_REC; SFC59 RD_REC SFB52 RDREC; SFB53 WRREC
FB34 "FORCE355" FB34 "FORCE355"
SFC58 WR_REC SFB53 WRREC
FB 36 "READ_355" FB36 "READ_355"
SFC59 RD_REC SFB52 RDREC
FB39 "PID_PAR" FB39 "PID_PAR"
SFC58 WR_REC; SFC54 RD_DPARM SFB53 WRREC; SFC81 RD_DPAR
FB 40 "CJ_T_PAR" FB40 "CJ_T_PAR"
SFC58 WR_REC; SFC54 RD_DPARM SFB53 WRREC; SFC81 RD_DPAR
CPUs with Micro Memory Card: Use the FB39. Note however the different
FB29 "PID_PAR using SFC102" functions between FB39 und FB29.
SFC58 WR_REC; SFC102 RD_DPARA
CPUs with Micro Memory Card: Use the FB40. Note however the different
FB30 "CJ_T_PAR using SFC102" functions between FB40 and FB30.
SFC58 WR_REC; SFC102 RD_DPARA
Step What to do ✓
1 Determining the slot
Slot 4 to 11 in Rack 0 ❐
Slot 4 to 11 in Rack 1 ❐
Slot 4 to 11 in Rack 2 ❐
Slot 4 to 11 in Rack 3 ❐
2 Installing the FM 355
• Switch the CPU to STOP mode. ❐
• Remove the neighboring module and plug in the bus connector. ❐
• Hook in the FM 355 onto the rail and screw it tight. ❐
• Clip on the slot number. ❐
• Install the shield contact element ❐
3 Wiring the FM 355
• Analog inputs (left-hand front connector) ❐
• Digital inputs (right-hand front connector) ❐
• Analog outputs (only continuous-action controllers, right-hand front connector) ❐
• Digital outputs (only step controllers, right-hand front connector) ❐
• Wiring the supply voltage ❐
24 V supply voltage L+: right-hand front connector Pin 1 ❐
Mass of supply voltage M: right-hand front connector Pin 20 ❐
• Wiring the reference potential of the analog measuring circuit
MANA left-hand front connector Pin 20
4 Front connectors
The front connectors have to be latched in. ❐
5 Shield
Check the shield of the individual cables. ❐
6 Switching the power supply on
Switch on the 24 V supply for the FM 355. ❐
Step What to do ✓
1 Create a new project under STEP 7. ❐
2 Create a new rack. ❐
3 Enter your hardware structure in the rack in HW Config. ❐
4 Select the FM 355 from the module catalog and drag it to the selected slot. ❐
5 Write down the module address that is now displayed.
This value is required for when preparing the instance DB. ____
6 Now call the parameter configuration masks for the FM 355 by double-clicking the ❐
FM 355 order number.
Now go to the Parameter Configuration section.
Step What to do ✓
1 Open the SIMATIC 300 station of your existing project. ❐
2 Select the FM 355 from the module catalog and drag it to the selected slot. ❐
3 Write down the module address that is now displayed.
This value is required for when preparing the instance DB. ____
4 Now call the parameter configuration masks for the FM 355 by double-clicking the ❐
FM 355 order number.
Parameter Configuration
Configure the module.
Step What to do ✓
1 Fill out the masks of the basic configuration:
• In the interrupt selection specify whether the FM 355 is to trigger interrupts. ❐
2 Click the Parameters... button. ❐
3 Fill out the dialog boxes. ❐
4 Save the parameter configuration using the File > Save menu item. ❐
Step What to do ✓
1 Terminate the parameter configuration interface. ❐
2 Save the project via the File > Save and compile menu. ❐
3 Switch the CPU to the STOP mode. ❐
4 Transfer the data to the CPU via the Download to PLC ... menu. ❐
The data are transferred directly to the CPU and to the FM 355.
Creating an Instance DB
An instance DB has to be created for each controller channel so that you can use the
functions of the module.
Step What to do ✓
1 Create the instance DBs for the controller channels as data blocks with an ❐
assigned FB 31 PID_FM function block.
2 Enter the module address in the MOD_ADDR parameter at every instance DB. ❐
You wrote down the address while configuring the hardware with STEP 7.
3 Enter the channel number for every instance DB in the CHANNEL parameters. ❐
Step What to do ✓
1 Switch the CPU to the RUN mode. ❐
2 Open the parameter configuration interface and measure the motor actuating ❐
time:
Test > Measure motor actuating time (only at step controllers)
3 Call up the controller optimization: ❐
Test > Controller optimization
4 Carry out the controller optimization steps. ❐
5 Monitoring and controlling the control loop using the loop monitor: ❐
Test > Loop monitor
6 Monitor the control loop using the curve recorder: ❐
Test > Curve recorder
Step What to do ✓
1 Save all the data in the parameter configuration interface by using File > Save. ❐
2 Terminate the parameter configuration interface. ❐
3 Save the project via the File > Save menu. ❐
4 Transfer the data to the CPU in the STOP mode via the Download to PLC ... ❐
menu.
5 Switch the CPU to the RUN mode. ❐
See also
Installing and Removing the FM 355 (Page 4-3)
Wiring front connectors (Page 5-8)
Properties
The digital inputs and outputs of the FM 355 S have the following properties:
• 8 inputs
• 8 outputs
• Output current 0.1 A
• Rated load voltage: 24 V DC
• Suitable for switches, 2- /3-/4-wire proximity switches (BEROs), solenoid valves, DC
contactors and indicator lights
Special Feature
When you supply the 24 V DC supply voltage by means of a mechanical contact, the FM
outputs carry the "1" signal for approximately 50 µs, depending on the circuit. You need to
take this into account if you connect the FM to fast counters.
,QSXWV /
/
%DFNSODQH
EXV
0 ,QWHUQDO
0
2XWSXWV /
%DFNSODQH
EXV
0 ,QWHUQDO
0 0
7HUPLQDOGLDJUDP %ORFNGLDJUDP
&KDQQHOQXPEHU
6WDWXV/('JUHHQ
Figure 9-1 Wiring diagram and block diagram of the digital inputs and outputs (step controllers)
The LEDs of the digital outputs are not controlled and do not have any meaning.
See also
Basic Structure of the FM 355 (Page 3-1)
Properties
The analog inputs of the FM 355 have the following properties:
• 4 inputs
• Measured value resolution
– 12 bits
– 14 bits
• Measuring method selectable per analog input:
– Voltage
– Current
– Resistance
– Temperature
• Measuring range selection per analog input
• Programmable diagnostics
• Programmable diagnostic interrupt
• Limit monitoring
• Programmable interrupt when limit is exceeded
Current Measurement
At current measurement an external measuring resistor of 50 Ω has to be connected to the
analog inputs between M+ and M– .
Resolution
The integration time results from the selected resolution of the measured value. The higher
the resolution precision of the measured value, the longer is the integration time for an
analog input channel.
Connection diagram
The following figure shows the connection diagram of the analog inputs of the FM 355.
9ROWDJHPHDVXUHPHQW 5HVLVWDQFH
)DXOW/('VUHG PHDVXUH
7KHUPRFRXSOHHOHPHQWV
PHQW
&XUUHQWPHDVXUHPHQW
)0bb6
3,'&RQWURO
6)
,F ,&
,&ದ
,Fದ
0 0 &+
9
&+
0ದ 0ದ
ದ
,F ,&
,&ದ
,Fದ &+
0 0
&+
9 0ದ 0ದ
ದ
&203 &203
&203ದ &203ದ
,F
,&
,&ದ
,Fದ
0 0 &+
9
&+
0ದ 0ದ
ದ
,F ,&
,&ದ
,Fದ &+
0 0
&+
9 0ದ 0ದ
ದ
0$1$ 0 $1$ 0 $1$
9+$(
ZLWKFRPSHQVDWLRQRIWKHUHIHUHQFH
7HUPLQDOGLDJUDP
MXQFWLRQWHPSHUDWXUHZLWK3W
Block Diagram
The following figure shows the block diagram of the analog inputs. The input impedance is
determined by the set measuring range.
&KDQQHODFWLYDWLRQ
3RZHUVRXUFH
&+
&+
ವವ $'&
ವ 3URFHVVLQJLQ
WKH)0
H[WHUQDO
FRPSHQVD
WLRQ
ವವ
ವ &RQILJXUHG
&+ FRPSHQVDWLRQ
&+
/
9'& LQWHUQDO
SRZHUVXSSO\
0
See also
Basic Structure of the FM 355 (Page 3-1)
Properties
The analog outputs of the FM 355 C have the following properties:
• 4 outputs
• The output channels can be programmed as
– Voltage output
– Current output
• Resolution 12 bits
• Programmable diagnostics
Note
When you switch the supply voltage (L+) off and on, the output may carry incorrect
interim values for the duration of approx. 10 ms.
Connection diagram
The following figure shows the connection diagram of the analog outputs of the FM 355 C.
&XUUHQWRXWSXW 9ROWDJHRXWSXW
/ /
9 9
/ , ,
, ,
, ,
, ,
, ,
, ,
, ,
, ,
0 0
0 0
0
7HUPLQDOGLDJUDP
Block Diagram
The following figure shows the block diagram of the analog outputs of the FM 355 C.
'$&
4
&+
0 $1$
4
3URFHVVLQJLQ &+
0 $1$
WKH)0
4
&+
0 $1$
4
&+
0 $1$
/
LQWHUQDO 9'&
SRZHU 0
VXSSO\
%ORFNGLDJUDP
0 $1$ $OOFKDQQHOVDUHFRQQHFWHGLQWHUQDOO\
See also
Basic Structure of the FM 355 (Page 3-1)
Introduction
Depending on the measuring type used you can connect various measuring transducers to
the analog inputs of the FM 355:
• Voltage sensor
• Current sensor as 4-wire measuring transducer and 2-wire measuring transducer
• Resistance
In this section you will find out how to connect the measuring transducers and what to watch
for when doing so.
Abbreviations Used
The abbreviations used in the figures below have the following meaning:
Note
In order to ensure that the permissible value (UCM) is not exceeded you must connect M- to
MANA.
You must also establish a connection from M- to MANA when resistance-type sensors are
connected. This also applies to inputs which are programmed accordingly, but remain
unused.
The following figure shows the connection in principle of insulated measuring transducers to
an FM 355.
/ )0
0
0
,QVXODWHG 0ದ
WUDQVGXF 0 $'& /RJLF
HUV
0ದ
0 $1$
&38
0
/
0
*URXQGEXV
Figure 10-1 Block diagram for the connection of electrically isolated measuring transducers
The following figure shows the connection in principle of non-isolated measuring transducers
to an FM 355.
/ )0
0
0
QRQ 0ದ
LQVXODWHG 0 $'& /RJLF
WUDQVGXF
0ದ
HUV
8 &0 0 $1$
&38
0
&DSDFLW\FRPSHQ /
0
VDWLQJFDEOH
*URXQGEXV
Introduction
This section describes the design of thermocouples and the points to be observed when
connecting thermocouples.
Thermocouple Structure
A thermocouple comprises
• The thermocouple (detecting elements) and
• The mounting and connection parts required in each case.
The thermocouple consists of two wires made of different metals, or of metal alloys soldered
or welded together at their ends. The different thermocouple types, for example, B, J or K,
are derived from diverse material compositions. The measuring principle of all
thermocouples is the same, irrespective of their type.
°C
① Measuring point
② Thermocouple with plus and minus thermo-shanks
③ Connection point
④ Equalizing lead
⑤ Reference junction
⑥ Supply line
⑦ Trimming resistor
⑧ Measuring point of the thermoelectric voltage
Use of Thermocouples
The following points must be observed when connecting thermocouples:
Depending on where the reference junction is required, either configured or external
compensation can be used.
In case of configured compensation a configurable reference junction temperature of the
module is used for comparison.
In the case of external compensation the temperature of the reference junction of the
thermocouples is taken into consideration by means of a Pt 100.
This Pt 100 is connected to Connections 10 and 11 at the left-hand front connector of the
module, whereby the Pt 100 must be applied to the reference junction of the thermocouples.
Its power supply must be taken from Channel 3 (Connections 12 and 13 of the left-hand front
connector).
The following restrictions apply:
• External compensation with connection of the Pt 100 to Connections 10 and 11 of the
module can only be carried out at one thermocouple type. This means that all channels
operating with external compensation must use the same type.
Abbreviations Used
The abbreviations used in the figures below have the following meaning:
6XSSO\FRQGXFWRU / )0
FRSSHU
0
0
0ದ
7KHUPR 3URFHVV
FRXSOH 0 /RJLF LQJLQWKH
HOHPHQWV 0ದ )0
&RPSHQVDW
LQJFDEOH $'&
,&
VDPH
PDWHULDODV &203
IRUWKHUPR
FRXSOH
HOHPHQWV
&203ದ
,&ದ
5HIHUHQFHMXQFWLRQ
Figure 10-4 Block diagram for connecting thermocouples with external compensation
6XSSO\ / )0
FRQGXFWRU 0
FRSSHU
0
0ದ
7KHUPR 3URFHVV
FRXSOH 0 /RJLF LQJLQWKH
HOHPHQWV 0ದ )0
&RPSHQVDW
$'&
LQJFDEOH ,&
VDPH
&203
PDWHULDODV
IRUWKHUPR
FRXSOH
HOHPHQWV
&203ದ
,&ದ
0 $1$
5HIHUHQFHMXQFWLRQ
&RPSHQVDWLRQVSHFLILHGE\WKHSDUDPHWHUDVVLJQPHQW
LQWHUIDFH
Figure 10-5 Block diagram for connecting thermocouples with configured compensation
Thermometers
Introduction
The following figures show how to connect voltage sensors, current sensors and resistance
thermometers.
Abbreviations Used
The abbreviations used in the figures below have the following meaning:
/ )0
0
0
8 0ದ
ದ
0 $'& /RJLF 3URFHVVLQJLQ
8 0ದ WKH)0
ದ
0 $1$
/ )0
0
6HQVRUHJ
SUHVVXUHJDXJH
0
ZLUHPHDVXU
LQJWUDQVGXFHU
0 $1$
/ 0
H[WHUQDOUHVLVWDQFH വ
0
/ )0
6HQVRUHJ 0
SUHVVXUHJDXJH
%DFNXS
0
ZLUHPHDVXU
LQJWUDQVGXFHU
0 $1$
0 H[WHUQDOUHVLVWDQFH വ
/ )0
0
0
0ದ
$'& 3URFHVVLQJLQ
,& /RJLF
WKH)0
,& ,&ದ
0 $1$
With the two/three-conductor connection, you must apply corresponding jumpers to the
module between M+ and IC+ or M- and IC-. However, you have to expect a loss of accuracy in
the measurement results.
Introduction
With the FM 355 C you can supply the loads / actuators with current or voltage. The figure
below illustrates the principle.
Abbreviations Used
The abbreviations used in the figure below have the following meaning:
)0 /
0
0 $1$
&38
0
/
0
*URXQGEXV
Introduction
Voltage can be supplied to loads/actuators by means of the FM 355 S. The following figure
illustrates the principle:
Abbreviations Used
The abbreviations used in the figure below have the following meaning:
Q Digital output
RL: Load/Actuator
L+ Power supply 24 V DC
M Ground terminal
)0 /
4
3URFHVVLQJLQ
/RJLF
WKH)0
5/
Introduction
If you want to communicate with the FM 355 from the user program, you require the PID_FM
FB. In addition you have to create an instance DB, that is assigned to the FB, for each used
controller channel.
Note
All the in/out parameters are set to FALSE after an instance DB has been created.
In order to transfer the parameters from the FM 355 to the instance DB you have to carry out
an initialization run at which the in/out parameter COM_RST = TRUE.
Input Parameters
Output Parameters
In/Out Parameters
Note
If LOAD_PAR = TRUE is set, all the control parameters are loaded permanently to the
EEPROM of the FM 355.
With LOAD_OP = TRUE only the setpoint SP_RE of the operator parameters is loaded
permanently to the EEPROM of the FM 355. All the other operator parameters have the
values 0 or FALSE pre-assigned during the FM 355 startup.
The EEPROM of the module could be destroyed by excessive writing processes. In order to
prevent this the module delays renewed writing to the EEPROM by 30 minutes.
See also
Error display from the group error LED (Page 12-1)
Introduction
The FUZ_355 FB can be used to read the controller parameters of the fuzzy temperature
controller out of the FM 355. You can then, for example, transfer these parameters back to
the module after you have replaced the FM 355.
Note
You may not change the parameters determined through identification by the FM 355 since
they have been optimized for the process.
Input Parameters
Output Parameters
Introduction
The FB FORCE355 is required to simulate analog or digital input values of the FM 355.
The following tables list the parameters of this instance DB:
• Input parameters
• Output parameters
Input Parameters
Output Parameters
Introduction
The READ_355 FB is required to read analog or digital input values out of the FM 355.
The following tables list the parameters of this instance DB:
• Input parameters
• Output parameters
Input Parameters
Output Parameters
Addr. Parameter Data type Comment Permitted range of Default Explanation In the
English values setting parameter
assign-
ment
screen
form
2.0 CJ_TEMP REAL Cold junction 0.0 On the CJ_TEMP -
temperature output, the measured
reference junction
temperature is
displayed by the
module if a
thermocouple element
input is configured and
the reference junction
temperature is not
configured.
Addr. Parameter Data type Comment Permitted range of Default Explanation In the
English values setting parameter
assign-
ment
screen
form
6.0 STAT_DI ARRAY[1. Status of binary FALSE The states of digital -
.8] of input DI1 to DI8 inputs 1 to 8 are
BOOL displayed at the
STAT_DI parameters.
Introduction
The FB CH_DIAG is needed to read out additional channel-specific diagnostic variables from
the module.
The following tables list the parameters of this instance DB:
• Input parameters
• Output parameters
Input Parameters
Output Parameters
Introduction
The FB PID_PAR is used to change parameters on-line which are not contained in FB
PID_FM.
The following tables list the parameters of this instance DB:
• Input parameters
• Output parameters
Input Parameters
Output Parameters
See also
Introduction (Page 7-23)
Introduction
The FB JC_T_PAR is used to change the configured reference junction temperature on the
module on-line.
The following tables list the parameters of this instance DB:
• Input parameters
• Output parameters
Input Parameters
Output Parameters
11.8 11.8 Assignment of the DBs for Operator Control and Monitoring via OP
Introduction
The variable interface of the FM 355 contains four data blocks with the block numbers 101 to
104 for the controller channels 1 to 4 that are used for operator control and monitoring of the
FM 355 via an OP.
The following tables list the parameters of these instance DBs:
• Input parameters
• Output parameters
• In/Out parameters
Input Parameters
Table 11-16 Input parameters of the DBs for operator control and monitoring
Note
The EEPROM of the module could be destroyed by excessive writing processes. In order to
prevent this the module delays renewed writing to the EEPROM by 30 minutes.
Output Parameters
Table 11-17 Output parameters of the DBs for operator control and monitoring
In/Out Parameters
Table 11-18 I/O parameters of the DBs for operator control and monitoring
See also
Error display from the group error LED (Page 12-1)
Parameter optimization with temperature controllers (Page 3-41)
Default setting
The diagnostic interrupt is blocked by default.
Measuring range Error bit measuring range Error bit measuring range Error bit wire breakage
violation (underrange) at ... violation (overrange) at ... indication
DS1: Byte 10 to 26, Bit 4 DS1: Byte 10 to 26, Bit 5 DS1: Byte 10 to 26, Bit 2
0 to 20 mA < –3.5 mA > 23.5 mA –
4 to 20 mA Error bit = 1 at < 3.6 mA > 22.8 mA Error bit = 1 at < 3.6 mA
Error bit = 0 at < 3.8 mA Error bit = 0 at < 3.8 mA
0 V to 10 V <–1.175 V > 11.75 V –
Pt 100 < 30.82 mV > 650.46 mV –
(–200 to 850°C)
(–328 to 1562°F)
Pt 100 < 30.82 mV > 499.06 mV –
(–200 to 556°C)
(–328 to 1032°F)
Pt 100 < 30.82 mV > 254.12 mV –
(–200 to 130°C)
(–328 to 264°F)
Thermocouple Type B < 0 mV > 13.81 mV –
Thermocouple Type J < –8.1 mV > 69.54 mV –
Thermocouple Type K < –6.45 mV > 54.88 mV –
Thermocouple Type R < –0.23 mV > 21.11 mV –
Thermocouple Type S < –0.24 mV > 18.7 mV –
Free thermocouple < Lower input value of the < Upper input value of the –
polyline polyline
Introduction
The FM_PIDEx project contains the example "SIMATIC 300 Station1 (S)" that shows you the
operation of the controller module S at a system simulated in the CPU. This means that you
can test the module without a real process.
Prerequisites
Requirements for working with the example program:
• CPU 314 is inserted at Slot 2
• FM 355 S is plugged into slot 4
• CPU and FM 355 S are supplied with voltage
• There is an online connection PG / PC to the CPU
If you wish to work with a different CPU or FM 355, you must adapt the example under
Configure hardware.
',69
6HWSRLQW 6WHSDFWLRQ
FRQWUROOHU
$FWXDOYDOXH
$FWXDWRU 37
6WRSVLJQDOV
3RVLWLRQIHHGEDFN
&RQWUROOHU &RQWUROOHGV\VWHP
The PROC_S function block simulates a series connection that consists of the integrating
actuator and three first-order time delays (refer to the following figure). The disturbance
variable DISV is always added to the output signal of the actuator so that system
disturbances can be fed forward manually at this point. The static system gain can be
determined by means of the GAIN factor.
The parameter for the motor actuating time MTR_TM defines the time that the actuator
requires to pass from end stop to end stop.
4/015B+6
4/015B/6
',69 *$,1
,19B83 2879
;
,19B'2:1
Figure 13-2 Structure and parameters of the controlled system block PROC_S
Block Structure
Example 1 consists of the function APP_1, that encompasses the blocks for the controller
and the simulated controlled system, as well as of the call blocks for restarting (OB 100) and
a watchdog interrupt level (OB 35 with 100 ms cycle) .
,QSXWSDUDPHWHUV 2XWSXWSDUDPHWHUV
352&B6)%
3DUDPHWHU 7\SH 6LJQDO 7\SH
&20B567 %22/ )$/6(b
&<&/( 7,0( 7V
*$,1 5($/
',69 5($/
,19B83 %22/ )$/6(b 4/015B+6 %22/ )$/6(b
,19B'2:1 %22/ )$/6(b 2879 5($/
4/015B/6 %22/ )$/6(b
/015 5($/
/015B+/0 5($/
/015B//0 5($/
075B70 7,0( 7V
70B/$* 7,0( 7V
70B/$* 7,0( 7V
70B/$* 7,0( 7V
Figure 13-3 Function scheme and parameters of the system model PROC_S
The curve diagram (configuration tool) shows the dynamic and transient response of the
closed loop circuit after a setpoint value change of 60 percent (refer to the figure below). The
table contains the currently set values of the relevant parameters for controller and controlled
system.
Step Response
6HWSRLQW
$FWXDOYDOXH
3RVLWLRQ
IHHGEDFN
Figure 13-4 Control loop with step controller after setpoint step change
Introduction
The project FM_PIDEx can be found in the example "SIMATIC 300 Station2 (C)", and it
enables you to operate the FM 355 C in a section that is simulated in the CPU. This means
that you can test the module without a real process.
Prerequisites
Requirements for working with the example program:
• CPU 314 is inserted at Slot 2
• FM 355 C is plugged into slot 4
• CPU and FM 355 C are supplied with voltage
• There is an online connection PG / PC to the CPU
If you wish to work with a different CPU or FM 355, you must adapt the example under
Configure hardware.
',69
&RQWUROOHU &RQWUROOHGV\VWHP
The PROC_C function block simulates a series connection that consists of three first-order
time delays (refer to the following figure). The disturbance variable DISV is always added to
the output signal of the actuator so that system disturbances can be fed forward manually at
this point. The static system gain can be determined by means of the GAIN factor.
',69 *$,1
,19 2879
;
Figure 13-6 Structure and parameters of the controlled system block PROC_C
Block structure
Example 2 consists of the function APP_2, that encompasses the blocks for the controller
and the simulated controlled system, as well as of the call blocks for restarting (OB 100) and
a watchdog interrupt level (OB 35 with 100 ms cycle).
,QSXWSDUDPHWHUV 2XWSXWSDUDPHWHUV
352&B&)%
3DUDPHWHU 7\SH 6LJQDO 7\SH
&20B567 %22/ )$/6(b
&<&/( 7,0( 7V
*$,1 5($/
',69 5($/
,19B'2:1 5($/ 2879 5($/
Figure 13-7 Function scheme and parameters of the system model PROC_C
Step Response
2XWSXW
YDULDEOH
6HWSRLQW
&RQWUROOHG
YDULDEOHV
Figure 13-8 Control system with continuous-action controller and setpoint step changes across the
entire measuring range
Introduction
The FM_PIDEx project contains the example "SIMATIC 300 Station3 (C)" that shows you the
application and the evaluation of the diagnostics in the DS1 of the controller module.
Prerequisites
Requirements for working with the example:
• CPU 314 is inserted at Slot 2
• FM 355 C is inserted at Slot 4
• CPU and FM 355 C are supplied with power
• Online connection programming device/PC to the CPU exists
If you want to use a different CPU or FM355, you have to adapt the example under the
hardware configuration section.
Note
Diagnostic interrupts are only triggered in the CPU if you select the following settings at the
"Basic parameters" tab in the "Properties - FM 355 C PID Control" window under HW Config
:
• Interrupt generation: Yes
• Interrupt selection: Diagnosis
See also
Triggering diagnostic interrupts (Page 12-2)
You realize this controller interconnection with a controller module S, whereby you configure
a pulse controller as the main controller and select the manipulated value of the main
controller on the set value input.
You can also realize a controller cascade by means of a controller module C. The main
controller is then not a pulse controller and the slave controller is not a step controller. The
interconnection must be realized identically.
In the slave controller, the manipulated value of the main controller is standardized from the
value range 0 to 100% to the value range of the actual value A and is then further processed
as the set value.
0DQLSXODWHG 3UHSDULQJWKHVHWSRLQW
YDULDEOH/01RI
WKHPDVWHU
FRQWUROOHU
6HWSRLQW (IIHFWLYHVHW
5DPS /LPLWLQJ SRLQW
6ZLWFKLQJ
VDIHW\VHW
SRLQW (UURU
VLJQDO
$ODUP
3URFHVVYDOXH$ (IIHFWLYH
SURFHVV
YDOXH
'LQSXW
'LVWXUEDQFHYDULDEOH
Figure 13-10 Realizing the cascade control with the controller module
63b /01
&RQWUROOHU 3URFHVV
39
)$&
;
63b
/01 3URFHVV
&RQWUROOHU
39
The controller 1 is configured as the fixed set point controller. Controller 2 is configured as a
ratio / mixed controller. The following figure explains its interconnection.
The ratio factor FAC is specified by the set value input of the FB PID_FM (SP_RE or
SP_OP).
3UHSDULQJWKHVHWSRLQW 0XOWLSOLFDWLRQ
)$&
6HWSRLQW (IIHFWLYHVHW
5DPS /LPLWLQJ SRLQW
6ZLWFKLQJ
VDIHW\VHW
3URFHVVYDOXH SRLQW (UURU
39 VLJQDO
$FWXDOYDOXH'
3URFHVVYDOXH
39 $ODUP
3URFHVVYDOXH$ (IIHFWLYH
SURFHVV
YDOXH
'LQSXW
'LVWXUEDQFHYDULDEOH
Figure 13-12 Realizing the ratio control with the controller module
7RWDOTXDQWLW\ 0DLQFRPSRQHQWV
63RUKLJKHU
&3 &RQWUROOHU /01 &RQWUROOHU 4/0183 39
ದ SXOVH ; ದ VWHSDFWLRQ 4/01'1 3URFHVV
FRQWUROOHU FRQWUROOHU
39
)$&
The main controller is configured as a three-component controller and pulse controller. The
controllers 1, 2 and 3 are configured as ratio / mixed controllers. The interconnection for the
main controller is shown in the following figure.
You can configure the mixing factors for the components PV2 and PV3 via the "add up"
button. If you have to change these factors during runtime, it is possible to do this via the FB
PID_PAR.
3UHSDULQJWKHVHWSRLQW
6HWSRLQW
(IIHFWLYHVHW
6ZLWFKLQJ 5DPS /LPLWLQJ SRLQW
VDIHW\VHW
SRLQW (UURU
VLJQDO
7RWDOL]LQJ
)DFWRUIRUSURFHVVYDOXH%
3URFHVVYDOXH )DFWRUIRUSURFHVVYDOXH&
39 2IIVHW $ODUP
3URFHVVYDOXH (IIHFWLYH
3URFHVVYDOXH
$ SURFHVV
39
YDOXH
3URFHVVYDOXH%
3URFHVVYDOXH
39
3URFHVVYDOXH& 'LQSXW
'LVWXUEDQFHYDULDEOH
The slave controllers are configured as ratio / mixed controllers. The example of the
component PV1 in the figure below shows their interconnection. The mixing factor FAC is
specified by the set value input of the FB PID_FM (SP_RE or SP_OP).
In the slave controller (mixed controller), the manipulated variable of the main controller is
standardized from the value range 0 to 100% to the value range of the actual value A and is
then further processed as the set value D.
3UHSDULQJWKHVHWSRLQW 0XOWLSO\LQJ
)$&
6HWSRLQW
(IIHFWLYHVHW
6ZLWFKLQJ 5DPS /LPLWLQJ1RUPDOL] SRLQW
0DQLSXODWHG
VDIHW\VHW LQJ
YDULDEOH/01RI (UURU
SRLQW
WKHPDVWHU VLJQDO
FRQWUROOHU
3URFHVVYDOXH$
3URFHVVYDOXH
$ODUP
39
3URFHVVYDOXH% (IIHFWLYH
SURFHVV
YDOXH
'LQSXW
'LVWXUEDQFHYDULDEOH
See also
Introduction (Page 7-23)
Use
FB 29 "PID_PAR” is used for online modification of parameters that cannot be specified
through FB PID_FM.
The block uses SFC 102 and can therefore only be deployed in the new S7-300 CPU with
MMC.
To conserve system resources and time, FB 29 "PID_PAR” should be called only when
parameters are to be changed and not in every cycle.
Description
FB 29 "PID_PAR” can be used to change one of the REAL parameters and one of the INT
parameters listed in the following table each time it is called.
The assignment of the specified value to the parameter is carried out via the index numbers
listed in the table, which you can specify in the INDEX_R or INDEX_I parameter in the
instance DB of "FB PID_PAR”.
If the input COM_RST = TRUE, the FB reads the parameters from the system data and
saves them in static variables. The parameters to be changed are overwritten there and the
complete record is then transferred to the FM 355. Since the FB has its own data retention
for the parameters in its static variables, additional parameters can also be changed without
initialization. To this purpose you must call up the same instance DB several times
consecutively with different index numbers. Take into consideration the maximum number
write and read requests by SFC 58/59 in the respective CPU.
The output parameter RET_VALU contains the RET_VAL of SFC102 during the initialization.
The RET_VAL of SFC 58 is displayed when writing to the FM 355. The values of RET_VAL
are described in the reference manual /2/. If the INDEX_R or INDEX_I parameter is outside
the allowed range, RET_VALU = W#16#80FF is output. If the CHANNEL parameter is
outside its allowed range, RET_VALU = W#16#80B0 is output.
Note
Note that the parameters you change by using FB 29 "PID_PAR” are overwritten by the
parameters of the system data when the CPU starts up.
Example
During operation you want to modify the start-up time of the ramp for the reference variable
and, depending on the process state, use different analog input values as the process value.
• Set the COM_RST parameter as TRUE in the instance DB in the CPU startup (OB 100).
• To configure the ramp-up time of the ramp for the reference variable to 10.0, call the
block with INDEX_R = 30, VALUE_R = 10.0. In the same call, you can also configure
analog input value 4 of the module as the process value. Call the block INDEX_I = 50 and
VALUE_I = 4 to do this.
• Call the block over several cycles until BUSY = FALSE, RET_VALU = 0 and COM_RST =
FALSE.
Modifiable Parameters
Table A-1 List of the REAL and INT parameters that can be changed with the "PID_PAR" FB
Introduction
The parameters of the instance DB are listed in the following tables:
• Input parameters
• Output parameters
• Through parameters
Input parameters
Output parameters
Through parameters
Use
The FB 30 "CJ_T_PAR" is used for online modification of the configured reference junction
temperature. This is required when a temperature control system with several FM 355s with
thermoelement inputs is operated without connecting a Pt 100 to each FM 355.
If, for example, the reference junction temperature is measured with an FM 355 at an
extruder control system with more than four heating zones, this can be read out via
READ_355 FB at the CJ_TEMP parameter and configured at the other FM 355 units via the
FB 30 "CJ_T_PAR".
The FB 30 "CJ_T_PAR" is usually called cyclically. When the FM 355 is used in distributed
I/O, it may take several start cycles for the parameters to be completely sent to the FM 355
via SFC 58. The BUSY parameter has the value TRUE as long as the transmission is
ongoing and RET_VALU is does not equal zero. Changes in the reference temperature are
not transmitted during this period. The internal sampling time of the FM 355 must also be
taken into consideration here.
Note
Note
Note that the reference junction temperature you change by using FB 30 "CJ_T_PAR” is
overwritten by the parameters of the system data when the CPU starts up.
Introduction
The parameters of the instance DB are listed in the following tables:
• Input parameters
• Output parameters
• Through parameters
Input parameters
Output parameters
Through parameters
RET_VALU messages
Approbations
The S7-300 has the following approvals:
UL Recognition Mark
Underwriters Laboratories (UL) in accordance with Standard UL 508
CSA-Certification-Mark
Canadian Standard Association (CSA) to Standard C22.2 No. 142
FM approval complying with Factory Mutual Approval Standard Class Number 3611, Class I,
Division 2, Group A, B, C, D
Warning
Personal injury and material damage may be incurred.
In potentially explosive environments, there is a risk of injury or damage if you disconnect
any connectors while the S7-300 is in operation.
Always isolate the S7-300 operated in such areas before you disconnect and connectors.
Warning
DO NOT DISCONNECT WHILE CIRCUIT IS LIVE UNLESS LOCATION IS KNOWN TO BE
NONHAZARDOUS
CE Marking
Our products fulfill the requirements of the EU Directive 89/336/EEC ”Electromagnetic
compatibility”.
The EU conformity certificates are available for the relevant authorities and are kept at the
following address in accordance with the above-mentioned EU Directive. Article 10:
Siemens Aktiengesellschaft
Bereich Automatisierungs- und Antriebstechnik
A&D AS RD ST PLC
Postfach 1963
D-92209 Amberg
Area of Application
SIMATIC products are designed for use in industrial environments.
SIMATIC products may be also used in combination with an individual license in residential
areas (residential, commercial and industrial areas, small enterprises).
Current consumption
• From the backplane bus Typ. 50 mA, max. 75 mA
• From L+ (no load)
– Continuous-action controller Typ. 260 mA, max. 310 mA
Typ. 220 mA, max. 270 mA
– Step controller
Power dissipation of the module
• Continuous-action controller typ. 6.5 W, max. 7.8 W
• Step controller typ. 5.5 W, max. 6.9 W
Status, Interrupts, Diagnostics
Status display Yes, green LED per digital input channel
Interrupts
• Limit value interrupt yes, configurable
• Diagnostics interrupt yes, configurable
Diagnostic functions Yes, configurable
• Fault indication on the module in the event of a Yes, red LED
group fault
• Reading diagnostic information Yes
Backup operation Yes display through yellow LED
Interference Suppression, Error Limits (Inputs)
Interference voltage suppression for f = n x (f1 ± 1 %),
(f1 = interference frequency)
• Common-mode noise (Vpp < 2.5 V) > 70 dB
• Series-mode interference (peak value of disturbance > 40 dB
< rated input range)
Crosstalk between the inputs
• At 50 Hz 50 dB
• At 60 Hz 50 dB
Operational error limits (across the temperature range,
referenced to the input range)
• 80 mV ±1%
• 250 mV to 1000 mV ± 0,6 %
• From 2.5 V to 10 V ± 0,8 %
• 3.2 mA to 20 mA ± 0,7 %
Basic error limit (operational limit at 25°C, referenced to
input range)
• 80 mV ± 0,6 %
• 250 mV to 1000 mV ± 0,4 %
• From 2.5 V to 10 V ± 0,6 %
± 0,5 %
• 3.2 mA to 20 mA
Temperature error (referenced to the input range) ±0.005%/K
Linearity error (referenced to the input range) ± 0,05 %
Repeat accuracy (in transient state at 25°C, referenced ± 0,05 %
to input range)
Input current
• At signal "1" Typ. 7 mA
Input delay time
• Configurable no
• At "0" to "1" from 1.2 to 4.8 ms
• At "1" to "0" from 1.2 to 4.8 ms
Settling time
• For resistive load 0.2 ms
• For capacitive load 3.3 ms
• For inductive load 0.5 ms
Spare Parts
The following table lists all spare parts of the S7-300 that you can order for the FM 355 either
additionally or later.
Supplementary References
The table below lists all the manuals referred to in this manual.
Basics
The basics of control technology can be found, for example, in the following books:
Cascade control
The cascade control is a consecutive switching of controllers, whereupon the first controller
(master controller) specifies the setpoint for the series-connected controllers (secondary
controllers) or influences the setpoints in accordance with the current negative deviation of
the main control variable.
By involving additional process variables, the controller result can be improved by using a
cascade control. To do this, at a suitable point an auxiliary control variable PV2 is recorded
and this controls the reference setpoint (output of the master controller SP2). The master
controller controls the process value PV1 on the fixed setpoint SP1 and adjusts the SP2 in
such a way that this objective is achieved as quickly as possible, and without overshooting.
Configuration
Tool (software) for creating and configuring a control as well as for optimizing the controller
with the aid of the data gained from a section identification.
Control device
Totality of the controller, control device and detector (measuring device) for the control
variable.
A control device is the part of the control circuit that serves to influence the control variable
on the process input. Usually consists of the association of the control drive and actuator.
Control device
Totality of the controller, control device and detector (measuring device) for the control
variable.
A control device is the part of the control circuit that serves to influence the control variable
on the process input. Usually consists of the association of the control drive and actuator.
Control loop
With the control loop you describe a connection of the section output (control variable) with
the controller input and the controller output (manipulated variable) with the process input, so
that the controller and process form a closed loop.
Control variable
Process variable (output variable of the control section) that is to be compared to the current
value of the reference variable. Your current value is called the process value.
Controlled system
With a controlled system we describe the part of the unit in which the control variable is
influenced by the manipulated variable (by changing the control energy or the flow
dimension). This enables subdivisions in the control device and the influenced process.
Controller
A controller is a device that constantly records the negative deviation (comparer) and, if
necessary generates a time-dependent function to form the control signal (output variable)
with the objective of iradicating the negative deviation as quickly as possible and without
overshooting.
Controller parameters
Controller parameters are parameters for the static and dynamic adaptation of the controller
behavior to the given section or process properties.
Dead time
Dead time is the time delay for the control variable reaction to disturbances or changes to
the manipulated variable for transportation processes. The input variable of a dead time
element is set to the value of the dead time 1 : 1 is issued on the output.
Disturbance variable
All influence variables on the control variable - with the exception of the manipulated variable
- are called disturbance variables. Additive influences on the section output signal can be
compensated for by superimposing with the actuating signal.
Follow-up control
Follow-up control is a control where the reference value is constantly influenced from outside
(underlaid controller of a multi-loop control). The task of the follow-up controller is to cover
the local control variable with the reference variable as quickly and precisely as possible.
Limiter
Algorithm (function) for restricting the value range of constant variables to specified lower /
upper limit values.
Manipulated variable
The manipulated variable is the output variable of the controller or input variable of the
control section. The actuating signal can portray the range of the manipulated variable
analogously as a percentage or as a impulse value or pulse width. With integrated actuators
(e.g. motor) it is sufficient to provide binary upwards / downwards or forwards / backwards
switching signals.
Mixing control
The mixing control is a control structure whereby the setpoint for the entire quantity SP is
calculated as a percentage of the desired number of parts of the individual controlled
components. The total of the mixing factors FAC must be 1 (= 100%).
Negative deviation
The negative deviation is a function to form the negative deviation ER = SP-PV. At the
reference junction, the difference between the desired setpoint and the actual existing
process value is formed. This value is transmitted to the control algorithm as an input. Old
description: Control deviation.
P controller (P algorithm)
Algorithm for calculating an output signal whereby characteristics exist with a proportionate
connection between the negative deviation and the change in manipulated variable:
remaining negative deviation, not to be used on dead time sections.
Parallel structure
The parallel structure is a special kind of signal processing in the controller (type of
mathematical processing). The P, I and D parts are calculated as interaction-free and
parallel and are then added up.
Physical standardization
→ standardization
Process identification
The process identification is a function of the configuration tool. It provides information
regarding the transmission behavior and the structure of the process. A device-independent
process model is conveyed as a result - this describes the process in its static and dynamic
behavior. Optimum values for the controller parameters are calculated from this (controller
design).
Process value
The current value of the control variable is PV
Ratio control
• single-loop ratio control
A single-loop ratio control is employed if the ratio of two control variables is more important
for a process than the absolute values of the control variables (e.g. speed regulation).
Reference variable
The reference variable specifies the desired value or course of the process variables of
interest. Your current value is → setpoint (SP).
Section
→ control section
Setpoint
The setpoint is the value that the control variable should adopt from the effects of a
controller.
Square root
→ square root extraction
Standardization
The standardization is a procedure (algorithm) for converting (standardizing) the physical
values of a process variable into the (internally processed) percentage value of the control
and then converting the other way round to the output. The standardization line is
established by the start value and the end value.
G
L
Group error LED, 12-1
Labeling strips, 1-6
Limiting/Normalizing, 3-13
H Line frequency
Adapting, 3-5
Hardware
Lines
Configuring, 6-2
For analog signals, 10-1, 10-13
Hardware interrupts, 1-3
Loads
HW installation and wiring, 8-1
Connecting to analog output, 10-13, 10-14
Hysteresis for warning and interrupt limits, 3-14
Connecting to digital output, 10-15
I M
I control, 3-18
Manipulated value
Identification
At restart, 3-38
Cancel, 3-44
Limit, 3-26
Completion, 3-43
Switching of external, 3-26
of the controlled system, 3-42
Manipulated value correction, 3-21
T U
Technical specifications UL approval, B-1
FM 355, B-3 User program
Function blocks (FBs), B-9 Connection, 7-2
Parameter configuration interface, B-10
Temperature controlled systems
Important characteristic values, 2-3 V
Temperature controller, 3-15
Variants
Parameter optimization, 3-42
FM 355, 1-1
Requirements for process, 3-41
Version, 1-6
Temperature measurement
Voltage sensor
Celsius / Fahrenheit, 3-6
Connecting, 10-1, 10-10
Thermocouple, 10-5
Connecting, 10-7
Connection alternatives, 10-7
Method of operation, 10-6
W
Reference junction, 10-6 Wire breakage, 12-6
Structure, 10-5 Wire end ferrule, 5-8
Types, 10-5 Wiring
With configured compensation, 10-9 Front connectors, 5-9
With external compensation, 10-8 with the parameterization
Three-step controllers, 2-6, 3-24 What you should note, 6-3
Split-range function, 3-23