S7-300 Automation System Module Data

S7-300 Automation System Module Data
Representation of the analog values of analog modules
5.3 Setting the measuring method and ranges of analog input channels
5.3
Setting the measuring method and ranges of analog input channels
Two procedures
There are two methods of setting the measuring method and ranges of analog input
channels at analog modules:
● using a measuring range module and STEP 7
● hardwiring of the analog input channel and STEP 7
The method to use for the various analog modules is module-specific and is described in
detail in the special module chapters.
This section describes how to set up the type and range of measurement using measuring
range modules.
Setting the measurement type and ranges using measuring range modules
The analog modules are supplied with corresponding measuring range modules as required.
You may have to change the position of the measuring range module to suit the
measurement type and range.
Note
Note that the measuring range modules are installed on the side of the analog input module.
Always check whether the measuring range modules needs to be set up for a different
measurement type and range before you install the analog input module.
Optional settings of the measuring range modules
Optional settings of the measuring range modules: "A", "B", "C" and "D".
For detailed information on settings to be made for a specific measurement type and range,
refer to the special module chapter.
The settings for the different measurement types and ranges are also printed onto the
analog module.
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
215
Representation of the analog values of analog modules
5.3 Setting the measuring method and ranges of analog input channels
Changing the positioning of measuring range modules
To insert the measuring range module into a different slot:
1. Remove the measuring range module from the slot of the analog input module by lifting it
out with a screwdriver.
Figure 5-1
Removing the measuring range module from a slot of the analog input module
2. Insert the measuring range module into the required slot (1) of the analog input module.
The indicator of the selected measuring range must be in line with the marker on the
module (2).
Figure 5-2
216
Inserting the measuring range module into the analog input module
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Representation of the analog values of analog modules
5.4 Response of the analog modules
Proceed likewise with any other measuring range modules.
You can now install the module.
Caution
Incorrect settings of the measuring range modules may lead to the destruction of the
module.
Always make sure that the measuring range module is in the correct position before you
connect a sensor to the module.
5.4
Response of the analog modules
This chapter
This chapter describes:
● the dependency of analog input and output values on CPU operating states and on the
supply voltage of the analog module
● the reaction of analog modules, based on the actual analog value within the relevant
range of values
● the influence of the operational limits of analog modules on analog IO values, as
illustrated by an example
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
217
Representation of the analog values of analog modules
5.4 Response of the analog modules
5.4.1
Influence of the power supply and operating state
Introduction
This chapter describes:
● the dependency of analog IO values on CPU operating states, and on the supply voltage
of the analog module
● the reaction of analog modules, based on the actual analog value within the relevant
range of values
● the influence of the operational limits of analog modules on analog IO values, as
illustrated by an example
Influence of the supply voltage and operating state on the modules
The IO values of analog modules are determined by the CPU operating state and the
module's supply voltage.
Table 5-39
Dependencies of the analog IO values on the CPU's operating State and on the L+ supply voltage
CPU operating state
Supply voltage L+
at the analog
module
Input value of the analog input
module
Output value of the analog output
module
POWER
ON
RUN
L+ present
Measured value
CPU values
7FFFH, until the first conversion after
POWER ON is completed, or when
the module has been programmed.
Until the first conversion...
• after POWER ON, the module
outputs a 0 mA or 0 V signal.
• after programming is successfully
completed, it outputs the previous
value.
L+ missing
Overflow value
0 mA / 0 V
POWER
ON
STOP
L+ present
Measured value
Substitution value / last value
7FFFH, until the first conversion after
POWER ON is completed, or when
the module has been programmed.
(default: 0 mA / 0 V)
Overflow value
0 mA / 0 V
L+ missing
POWER
OFF
-
L+ present
-
0 mA / 0 V
L+ missing
-
0 mA / 0 V
Reaction to power failure
Power failure at analog modules is always indicated by their relevant SF LED. This
information is also available on the module (in diagnostics buffer data.)
Diagnostics interrupt triggering is based on parameter settings.
See also
Programming analog modules (Page 225)
218
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Representation of the analog values of analog modules
5.4 Response of the analog modules
5.4.2
Influence of the range of analog values
Influence of errors on analog modules with diagnostics functions
Errors may lead to an entry in the diagnostics buffer and trigger a diagnostics interrupt at
analog modules with diagnostics function and corresponding parameter settings.
Influence of the range of values on the analog input module
The reaction of analog modules is determined by the actual input values within the range of
values.
Table 5-40
Reaction of analog input modules as a function of the actual analog value within the range of values
Measured value
within
Input value
SF LED
Diagnostics
Interrupt
Rated range
Measured value
-
-
-
Overshoot/undershoo Measured value
t range
-
-
-
Overflow
7FFFH
lit1
Entry is made1
Diagnostics interrupt1)
Underflow
8000H
lit1
Entry is made1
Diagnostics interrupt1)
beyond programmed
limit
Measured value
-
-
Process interrupt1)
1),
only supported by modules with diagnostics function, and depending on parameter settings
Influence of the range of values on the analog output module
The reaction of analog modules is determined by the actual output values within the value
range.
Table 5-41
Reaction of analog output modules as a function of the actual analog value within the range of values
Output value within
Output value
SF LED
Diagnostics
Interrupt
Rated range
CPU value
-
-
-
Overshoot/undershoo CPU value
t range
-
-
-
Overflow
0 signal
-
-
-
Underflow
0 signal
-
-
-
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
219
Representation of the analog values of analog modules
5.4 Response of the analog modules
5.4.3
Influence of the operational and basic error limits
Operational limit
The operational limit represents the total measuring/output error of an analog module within
the permissible temperature range, based on the module's rating.
Basic error limit
The basic error limit represents the total measuring/output error at 25 °C, based on the
module's rating.
Note
The percentile values of operational and basic error limits in the module's technical data
always refer to the highest possible input and output value within the nominal range of the
module.
Example of the determination of the output error of a module
An analog output module SM 332; AO 4 x 12 Bit is being used for voltage output. An output
range of "0 to 10 V" is set. The module is operating at an ambient temperature of 30 °C, i.e.
the operational limit applies. The technical data of the module state:
● Operational limit for voltage output: ±0,5 %
Hence, an output error of ±0.05 V (±0.5 % of 10 V) across the nominal range of the module
must be expected.
At an actual voltage of 1 V, for example, the module will then output a value in the range
from 0.95 V to 1.05 V. The relative error is ±5 % in this case.
For the example, the figure below shows how the relative error decreases as the output
value approaches the end of the 10-V range.
sb9
ฬs
ದ9
Figure 5-3
220
9
9
sb9
ฬs
sb9
ฬs
9
9
2XWSXWYDOXH
Example of the relative error of an analog output module
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Representation of the analog values of analog modules
5.5 Conversion / cycle time of analog modules
5.5
Conversion / cycle time of analog modules
Conversion time of analog input channels
The conversion time is the total of the basic conversion time plus additional processing times
of the module for:
● Resistance measurement
● Wirebreak monitoring
The basic conversion time depends directly on the conversion method of the analog input
channel (integrating method, actual value conversion.)
The integration time of integrating conversions has a direct influence on conversion times.
The integration time depends on the interference frequency suppression you set in STEP 7.
For information on basic conversion times and additional processing times of the various
analog modules, refer to the technical data of the relevant module.
Cycle time of analog input channels
Analog-to-digital conversion, and the transfer of digitized measured values to memory and/or
to the backplane bus, are carried out sequentially, i.e. the analog input channels are
converted in successive order. The cycle time, i.e. the time expiring until an analog input
value is converted again, represents the accumulated conversion time of all activated analog
input channels of the analog input module.
The figure below provides an overview of the cycle time elements for an n-channel analog
module.
&RQYHUVLRQWLPH
FKDQQHO
&RQYHUVLRQWLPH
FKDQQHO
6FDQWLPH
&RQYHUVLRQWLPH
FKDQQHOQ
Figure 5-4
Cycle time of an analog input or output module
Conversion and cycle times for analog input channels in channel groups
Make allowances for the accumulated channel conversion time when the analog input
channels are joined to form channel groups.
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
221
Representation of the analog values of analog modules
5.5 Conversion / cycle time of analog modules
Example
Two analog input channels of the SM 331; AI 2 x 12 Bit analog input module form a channel
group. You must therefore grade the cycle time in steps of 2.
Setting smoothing of analog values
Certain analog input modules allow you to set smoothing of analog values in STEP 7.
Using smoothing
Smoothed analog values provide a reliable analog signal for further processing.
It is useful to smooth the analog values with slow variations of measured values, for
example, when measuring temperature.
Smoothing principle
The measured values are smoothed by digital filtering. Smoothing is accomplished by the
module calculating mean values, derived from a defined number of converted (digitized)
analog values.
The user configures up to four grades of smoothing (none, low, average, high). The grade
determines the number of analog signals used for averaging.
A higher smoothing provides a more reliable analog value, and prolongs the time it takes to
apply a smoothed analog signal following a step response (see the example below.)
222
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Representation of the analog values of analog modules
5.5 Conversion / cycle time of analog modules
Example
The figure below shows the number of cycles a module requires to apply a close to 100%
analog value after a step response, based on the smoothing function settings. The figure
applies to all signal changes at the analog input.
6LJQDOFKDQJH
LQSHUFHQW
6WHSUHVSRQVHIRUDQ\DQDORJLQSXWVLJQDO
Figure 5-5
0RGXOHF\FOHV
Example of impact of smoothing on the jump response with the AI 8 x 14 bit
①
Low smoothing grade
②
Medium smoothing grade
③
High smoothing grade
Further information on smoothing
For information showing whether a specific module supports smoothing functions, and
special features to observe, refer to the chapter dealing with the analog input module.
Conversion time of the analog output channels
The conversion time of the analog output channels includes the transfer of digitized output
values from internal memory, and their digital-to-analog conversion.
Cycle time of analog output channels
Analog output channels are converted sequentially, i.e. successively.
The cycle time, i.e. the time expiring until an analog output value is converted again, is
equivalent to the accumulated conversion times of all activated analog output channels.
Refer to the figure Cycle time of an analog IO channel.
Tip
You should disable all unused analog channels in STEP 7 in order to reduce cycle times.
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
223
Representation of the analog values of analog modules
5.6 Settling and response times of analog output channels
5.6
Settling and response times of analog output channels
Settling time
The settling time (t2 to t3), i.e. the time expiring until a converted value has gained a specified
level at an analog output, is load-dependent. We therefore distinguish between resistive,
capacitive and inductive load.
For information on settling times as a function of load at the various analog output modules,
refer to the technical data of the relevant module.
Response time
The worst case response time (t1 to t3), i.e. the time expiring between the input of digital
output values to internal memory, and the signal settling time at the analog output, may be
equivalent to the total of cycle time plus settling time.
The worst case scenario is given, when the analog channel has been converted immediately
before a new output value is transferred, and is not converted again until all other channels
have been converted (cycle time.)
Overview of the settling time and response time of analog output modules
W$
W(
W=
W
W
tA
224
W
Response time
tC
tC = Cycle time, equivalent to n x conversion time (n = active channels)
tS
Settling time
t1
new digital output value is set
t2
Output value is applied and converted
t3
specified output value is reached
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Representation of the analog values of analog modules
5.7 Programming analog modules
5.7
Programming analog modules
Introduction
The properties of analog modules may differ. The module properties can be programmed.
Programming tools
You program analog modules in STEP 7. Always program the module while the CPU is in
STOP mode.
After you defined all parameters, download these from your PG to the CPU. The CPU
transfers the parameters to the relevant analog modules at the STOP → RUN transition.
Also, position the measuring range modules of the module as required.
Static and dynamic parameters
Parameters are organized by static and dynamic properties.
Set the static parameters while the CPU is in STOP, as described earlier.
You can also modify dynamic parameters in the active user program using SFCs. However,
the parameters set in STEP 7 will be applied again after a RUN → STOP, STOP → RUN
transition of the CPU.
5.7.1
Parameters
configurable using
CPU
operating state
static
PG (STEP 7 HW CONFIG)
STOP
dynamic
PG (STEP 7 HW CONFIG)
STOP
SFC 55 in the user program
RUN
Parameters of analog input modules
Parameters of analog input modules
For information on parameters supported by specific analog modules, refer to the chapter
dealing with the relevant module.
The defaults apply if you have not set any parameters in STEP 7.
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
225
Representation of the analog values of analog modules
5.8 Diagnostics of analog modules
5.8
Diagnostics of analog modules
Programmable and non-programmable diagnostics messages
We distinguish between programmable and non-programmable diagnostics messages.
You only obtain programmable diagnostics messages if you have enabled diagnostics at the
relevant parameters. Program these functions in the "Diagnostics" parameter block in STEP
7.
The the analog module always provides non-programmable diagnostics messages,
irrespective of the enable state of diagnostics functions.
Reactions to a diagnostics message in STEP 7
Actions initiated by diagnostics messages:
● The diagnostics message is written to the diagnostics buffer of the analog module, and is
then passed to the CPU.
● The error LED on the analog module is lit.
● When "Enable Diagnostics Interrupt" is set in STEP 7, the system triggers a diagnostics
interrupt and calls OB82.
Reading diagnostics messages
You can read detailed diagnostics messages in the user program using SFCs.
Viewing the cause of error
You can view the cause of the error in the module diagnostics data in STEP 7 (refer to the
STEP 7 Online Help.)
Diagnostics message included in the measured value of analog input modules
All analog input modules return the measured value 7FFFH as a reaction to errors,
irrespective of parameter settings. This measured value indicates either overflow, error, or a
disabled channel.
Diagnostics message using the SF LED
All analog modules indicate errors at their SF LED (group error LED.) The SF LED lights up
when the analog module has generated a diagnostics message. It goes dark after all error
states are cleared.
See also
Programming analog modules (Page 225)
226
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Representation of the analog values of analog modules
5.8 Diagnostics of analog modules
5.8.1
Diagnostics messages of analog input modules
Overview of the diagnostics messages of analog input modules
The table below provides an overview of the diagnostics messages of analog input modules.
Table 5-42
Diagnostics messages of analog input modules
Diagnostics message
LED
Scope of diagnostics
programmable
External load voltage missing
SF
Module
no
Configuration / programming error
SF
Channel
yes
Common-mode error
SF
Channel
yes
Wirebreak
SF
Channel
yes
Underflow
SF
Channel
yes
Overflow
SF
Channel
yes
5.8.2
Diagnostics messages of analog output modules
Overview of the diagnostics messages of analog output modules
The table below provides an overview of the diagnostics messages of analog output
modules.
Table 5-43
Diagnostics messages of analog output modules
Diagnostics message
LED
Scope of diagnostics
programmable
External load voltage missing
SF
Module
no
Configuration / programming error
SF
Channel
yes
Short-circuit to M
SF
Channel
yes
Wirebreak
SF
Channel
yes
Note
The detection of errors which are indicated in programmable diagnostics messages requires
appropriate configuration of the analog module in STEP 7.
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
227
Representation of the analog values of analog modules
5.8 Diagnostics of analog modules
5.8.3
Causes of error and troubleshooting at analog input modules
Overview of the causes of error and troubleshooting at analog input modules
Table 5-44
Diagnostics messages of analog input modules, causes of error and troubleshooting
Diagnostics message
External load voltage
missing
Configuration /
programming error
Common-mode error
Wirebreak
Underflow
Overflow
5.8.4
Possible cause of error
Load voltage L+ of module missing
To correct or avoid errors
Connect supply L+
Faulty parameters transferred to module
Check the measuring range module
Program the module
Potential difference CMV between inputs M- Connect M- with MANA
and the reference potential of measuring
circuit (MANA out of limits)
Resistance of transducer circuit too high
Use a different type of sensor, or modify the
wiring, for example, using a larger conductor
cross-section.
Open circuit between module and sensor
Connect the cable
Channel not connected (open)
Disable the channel group ("measuring method"
parameter)
Wire the channel
Input value below undershoot range;
possible cause of error:
wrong measuring range setting
program a different measuring range
polarity reversal of the sensor wiring in the Check the connections
measuring ranges 4 to 20 mA and 1 to 5 V
Input value exceeds overshoot range
program a different measuring range
Causes of error and troubleshooting at analog output modules
Overview of the causes of error and troubleshooting routines at analog output modules
Table 5-45
Diagnostics messages of analog output modules, causes of error and troubleshooting
Diagnostics message
External load voltage
missing
Configuration /
programming error
Short-circuit to M
Wirebreak
Possible cause of error
Load voltage L+ of module missing
To correct or avoid errors
Connect supply L+
Faulty parameters transferred to
module
Overload at output
Short-circuit at output QV to MANA
Actuator impedance too high
Assign new module parameters
Wire-break between the module and
actuator
Channel not used (open)
228
Eliminate overload
Eliminate the short-circuit
Use a different type of actuator, or modify the wiring
using cables with a larger conductor cross-section
Connect the cable
Disable the channel group ("output type" parameter)
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Representation of the analog values of analog modules
5.9 Interrupts of analog modules
5.9
Interrupts of analog modules
Introduction
This section describes the interrupt response of analog modules. Always distinguish
between the following interrupts:
● Diagnostics interrupt
● Process interrupt
Note that certain analog modules do not support interrupts, or are only partially capable of
"handling" the interrupts described below. For information on modules which support
interrupt functionality, refer to their technical data.
Description of the STEP 7 blocks
For detailed information on the OBs and SFCs mentioned below, refer to the STEP 7 Online
Help.
Enabling interrupts
There are no default interrupt settings, that is, interrupts are disabled if not set accordingly.
Program the interrupt enable parameter in STEP 7.
Diagnostics interrupt
Incoming error events (initial occurrence) and outgoing error events (error is cleared) are
reported by means of diagnostics interrupt, if this interrupt is enabled.
The CPU interrupts user program execution in order to process diagnostics interrupt OB82.
You can call SFC51 or 59 in OB82 in the user program to view details of diagnostics data
output by the module.
Diagnostics data remain consistent until the program exits OB82. The program
acknowledges the diagnostics interrupt at the module when it exits OB82.
Process interrupt with "high or low limit exceeded" trigger
Define a working range by setting a high and low limit. If the process signal (for example, the
temperature) overshoots this working range, the module triggers a process interrupt,
provided the interrupt is enabled.
The CPU interrupts user program execution in order to execute process interrupt OB40.
In the user program of OB 40, you can define the reaction of the automation system to the
violation of limits.
The program acknowledges the diagnostics interrupt at the module when it exits OB40.
Note
Note: the system does not generate a process interrupt if your limit setting exceeds the
overshoot or undershoot range.
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
229
Representation of the analog values of analog modules
5.9 Interrupts of analog modules
Structure of the start information variable OB40_POINT_ADDR of OB 40
The channel at which a specific limit is exceeded is logged to the OB40_POINT_ADDR
variable in the start information of OB40. The diagram below shows the bit assignment of
DWORD 8 in local data.
/%
/%
/%
%LWQR
/'
9LRODWLRQRIWKHORZOLPLWDWFKDQQHO
9LRODWLRQRIWKHORZOLPLWDWFKDQQHO
9LRODWLRQRIWKHKLJKOLPLWDWFKDQQHO
9LRODWLRQRIWKHKLJKOLPLWDWFKDQQHO
Figure 5-6
Start information of OB40: which limits event has triggered a process interrupt
Process interrupt triggered by "End of cycle reached"
You can synchronize a process with the cycle of the analog input module by programming a
process interrupt trigger at the end of the cycle.
One cycle comprises the conversion of the measured values of all active channels of the
analog input module. The module processes the channels in successive order. After all
measured values were successfully converted, the module outputs an interrupt to the CPU in
order to report new measured values at its channels.
You can always use this interrupt to download the actual converted analog values.
230
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6
Introduction
This chapter describes:
1. Analog module selection and commissioning sequence
2. Overview of essential module properties
3. Modules which are available (properties, connection and block diagrams, technical data
and additional information on the module):
a) for analog input modules
b) for analog output modules
c) for analog IO modules
STEP 7 blocks for analog functions
You can use FC105 "SCALE" (scale values) and FC106 "UNSCALE" (unscale values)
blocks to read and output analog values in STEP 7. Those FCs are available in the STEP 7
standard library, in the "TI-S7-Converting Blocks" subfolder.
Description of STEP 7 blocks for analog functions
For information on FCs 105 and 106, refer to the STEP 7 Online Help.
Further information
You should be familiar with the structure of the parameter sets (data records 0, 1 and 128) in
system data before you edit module parameters in the STEP 7 user program.
You should be familiar with the structure of diagnostics data (data records 0, 1) in system
data before you edit any diagnostics data of the module in the STEP 7 user program.
See also
Principles of programming signal modules in the user program (Page 415)
Evaluating diagnostic data of signal modules in the user program (Page 459)
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
231
Analog modules
6.1 Analog module selection and commissioning sequence
6.1
Analog module selection and commissioning sequence
Introduction
The table below contains the steps required to successfully complete commissioning of
analog modules.
You do not strictly have to adhere to this suggested sequence, that is, you can complete
other tasks such as installing or commissioning other modules, or program the module at an
earlier or later time.
Analog module selection and commissioning sequence
1. Selecting the module
2. For certain analog input modules: Set the measuring type and range using the measuring
range module
3. Installing the module in the SIMATIC S7 system
4. Assigning module parameters
5. Connect the measuring transducers or loads to the module
6. Commission the configuration
7. Analyze the configuration if commissioning failed
More information on installation and commissioning
See the "Installation" and "Commissioning" chapter in the Installation Manual for your
automation system:
● S7-300 Automation System, Installation or
● S7-400 Automation System, Installation or
● Distributed I/O Device ET 200M
You will find the documentation online at:
http://support.automation.siemens.com/WW/view/en/
232
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.2 Module overview
6.2
Module overview
Introduction
The tables below summarize the essential properties of the analog modules. This overview
supports you in selecting a module to suit your requirements.
6.2.1
Analog input modules
Overview of properties
The table below shows essential properties of the analog input modules
Table 6-1
Analog input modules: Overview of properties
Module
Properties
SM 331; AI 8 x 16 Bit
SM 331; AI 8 x 16 Bit
(-7NF00-)
Number of inputs
SM 331; AI 8 x 13 Bit
(-7NF10-)
SM 331; AI 8 x 14 Bit
High Speed
(-7HF0x-)
8 inputs in 4 channel
groups
8 inputs in 4 channel
groups
8 inputs in 4 channel
groups
8 inputs in 8 channel
groups
Resolution
programmable for each
channel group:
• 15 bits+sign
programmable for each
channel group:
• 15 bits+sign
programmable for each
channel group:
• 13 bits+sign
programmable for each
channel group:
• 12 bits+sign
Measurement type
programmable for each
channel group:
• Voltage
• Current
programmable for each
channel group:
• Voltage
• Current
programmable for each
channel group:
• Voltage
• Current
programmable per
channel:
• Voltage
• Current
• Resistance
• Temperature
Measuring range
selection
any, per channel group
any, per channel group
any, per channel group
any, per channel
Supports
no
no
yes
no
Programmable
diagnostics
yes
yes
yes
no
Diagnostics
interrupt
programmable
programmable
programmable
no
Limit value
monitoring
programmable for 2
channels
programmable for 8
channels
programmable for 2
channels
no
Process interrupt
when limit
exceeded
programmable
programmable
programmable
no
yes
no
no
(-1KF01-)
isochronous mode
Process interrupt at no
end of cycle
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
233
Analog modules
6.2 Module overview
Module
Potential ratios
electrically isolated to:
• the backplane bus
interface
electrically isolated to:
• the backplane bus
interface
electrically isolated to:
electrically isolated to:
• the backplane bus
• the backplane bus
interface
interface
• load voltage (not for
2DMU)
maximum potential
difference between
inputs (ICM)
50 VDC
60 VDC
11 VDC
2.0 VDC
Special features
-
-
-
-
Sign
2DMU 2-wire measuring transducer
Table 6-2
Analog input modules: Overview of properties (continued)
Module
Properties
SM 331;
AI 8 x 12 Bit
(-7KF02-)
Number of
inputs
8 inputs in 4
channel groups
Resolution
SM 331;
AI 2 x 12 Bit
(-7KB02-)
SM 331;
AI 8 x TC
(-7PF11-)
SM 331;
AI 8 x RTD
(-7PF01-)
SM 331; AI 8 x
0/4...20 mA HART
(-7TF00-)*
2 inputs in 1 channel
group
8 inputs in 4
channel groups
8 inputs in 4
channel groups
8 inputs in 1
channel group
programmable for
each channel
group:
• 9 bits+sign
• 12 bits+sign
• 14 bits+sign
programmable for
each channel group:
• 9 bits+sign
• 12 bits+sign
• 14 bits+sign
programmable for
each channel
group:
• 15 bits+sign
programmable for
each channel
group:
• 15 bits+sign
programmable for
each channel
group:
Measurement
type
programmable for
each channel
group:
• Voltage
• Current
• Resistance
• Temperature
programmable for
each channel group:
• Voltage
• Current
• Resistance
• Temperature
programmable for
each channel
group:
• Temperature
programmable for
each channel
group:
• Resistance
• Temperature
programmable for
each channel
group:
• Voltage
• Current
• Resistance
• Temperature
Measuring
range
selection
any, per channel
group
any, per channel
group
any, per channel
group
any, per channel
group
any, per channel
group
Programmabl
e diagnostics
yes
yes
yes
yes
yes
Supports
isochronous
mode
no
no
no
no
no
Diagnostics
interrupt
programmable
programmable
programmable
programmable
programmable
Limit value
monitoring
programmable for
2 channels
programmable for 1
channel
programmable for 8 programmable for 8 programmable for 8
channels
channels
channels
234
15 bits+sign
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.2 Module overview
Module
Process
programmable
interrupt when
limit
exceeded
programmable
programmable
programmable
programmable
Process
interrupt at
end of cycle
no
no
programmable
programmable
programmable
Potential
ratios
electrically
isolated to:
• the CPU
• load voltage
(not for 2DMU)
electrically isolated
to:
• the CPU
• load voltage (not
for 2DMU)
electrically isolated
to:
• the CPU
electrically isolated
to:
• the CPU
electrically isolated
to:
• the CPU
• load voltage
(not for 2DMU)
maximum
potential
difference
between
inputs (ICM)
≤ DC 2.3 V
≤ DC 2.3 V
60 VAC / 75 VDC
60 VAC / 75 VDC
60 VAC / 75 VDC
Special
features
-
-
-
-
-
Sign
2DMU 2-wire measuring transducer
* A description of this module can be found in the manual Distributed I/O Device ET 200M
HART analog modules. You can download this manual from the Internet at:
http://support.automation.siemens.com/WW/view/en/22063748.
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
235
Analog modules
6.2 Module overview
6.2.2
Analog output modules
Overview of properties
The table below shows the analog output modules based on their essential properties
Table 6-3
Analog output modules: Overview of properties
Properties
Modules
SM 332; AO 8 x
12 Bit
SM 332; AO 4 x
16 Bit
SM 332;
AO 4 x 12 Bit
SM 332;
AO 2 x 12 Bit
(-5HF00-)
(-7ND02-)
(-5HD01-)
(-5HB01-)
SM 332;
AO 8 x 0/4...20mA
HART
(-8TF00-) *
Number of outputs
8 output
channels
4 outputs in 4
channel groups
4 output channels
2 output channels
8 output channels
Resolution
12 bits
16 bits
12 bits
12 bits
15 bits (0 mA to
20mA)
15 bits +sign (4
mA to 20mA)
Output type
per channel:
• Voltage
• Current
per channel:
• Voltage
• Current
per channel:
• Voltage
• Current
per channel:
• Voltage
• Current
per channel:
• Voltage
• Current
Supports isochronous
mode
no
yes
no
no
no
Programmable
diagnostics
yes
yes
yes
yes
yes
Diagnostics interrupt
programmable
programmable
programmable
programmable
programmable
Substitution value
output
no
programmable
programmable
programmable
programmable
Potential ratios
electrical
isolation
between:
• the
backplane
bus interface
• load voltage
electrical isolation
between:
• backplane bus
interface and
channel
• channels
• output and L+,
M
• CPU and L+,
M
electrically
isolated to:
• the backplane
bus interface
• load voltage
electrically
isolated to:
• the backplane
bus interface
• load voltage
electrically
isolated to:
• the backplane
bus interface
• load voltage
Special features
-
-
-
-
-
VZ = sign
* A description of this module can be found in Manual Distributed I/O Device ET 200M HART
analog modules. You can download this manual from the Internet at:
http://support.automation.siemens.com/WW/view/en/22063748.
236
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.2 Module overview
6.2.3
Analog I/O modules
Overview of properties
The table below shows the analog IO modules based on their essential properties
Table 6-4
Analog IO modules: Overview of properties
Properties
Modules
SM 334; AI 4/AO 2 x 8/8 Bit
(-0CE01-)
SM 334; AI 4/AO 2 x 12 Bit
(-0KE00-)
Number of inputs
4 inputs in 1 channel group
4 inputs in 2 channel groups
Number of outputs
2 outputs in 1 channel group
2 outputs in 1 channel group
Resolution
8 bits
12 bits + sign
Measurement type
programmable for each channel group:
• Voltage
• Current
programmable for each channel group:
• Voltage
• Resistance
• Temperature
Output type
per channel:
• Voltage
• Current
per channel:
• Voltage
Supports isochronous mode
no
no
Programmable diagnostics
no
no
Diagnostics interrupt
no
no
Limit value monitoring
no
no
Process interrupt when limit is
exceeded
no
no
Process interrupt at end of cycle
no
no
Substitute value output
no
no
Potential ratios
•
•
Special features
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
connected to potential of the
backplane bus interface
electrically isolated to load voltage
Not programmable, measurement and
output type defined by hardwiring
electrically isolated to:
• backplane bus interface
• load voltage
-
237
Analog modules
6.3 Analog input module SM 331; AI 8 x 16 Bit; (6ES7331-7NF00-0AB0)
6.3
Analog input module SM 331; AI 8 x 16 Bit; (6ES7331-7NF00-0AB0)
Order number
6ES7331-7NF00-0AB0
Properties
● 8 inputs in 4 channel groups
● Programmable measurement type at each channel group
– Voltage
– Current
● Programmable resolution per channel group (15 bits + sign)
● Any measuring range per channel group
● Programmable diagnostics and diagnostics interrupt
● Programmable limit value monitoring for 2 channels
● Programmable process interrupt when limit is exceeded
● High-speed measured value update
● Electrically isolated to the CPU
Resolution
The resolution of measured values is independent of the selected integration time.
Diagnostics
For information on diagnostics messages at the "group diagnostics" parameter, refer to the
table Diagnostics messages of analog input modules.
Process interrupts
Process interrupts for channel groups 0 and 1 can be programmed in STEP 7. However, set
a process interrupt only for the first channel of a channel group, that is, either at channel 0,
or at channel 2
High-speed update of measured values
A high-speed update of measured values at two channels of a channel group is three times
compared to the activation of several channel groups.
Example: When channels 0 and 1 are active with 2.5 ms filtering, both channels return new
measured values to the PLC at intervals of 10 ms. (with other settings, the refresh rate is
equivalent to the filter setting.)
High-speed update of measured values is only possible if both channels of channel group 0
and 1 are active, that is, the "measuring method" parameter is set. However, only one of the
two channel groups 0 or 1 may be active (not concurrently active.)
238
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.3 Analog input module SM 331; AI 8 x 16 Bit; (6ES7331-7NF00-0AB0)
Terminal assignment
The diagrams below show various wiring options
Wiring: Voltage and current measurement
Wire the voltage inputs of the channel voltage in parallel using the corresponding shunt
resistor when measuring current. Bridge the channel input terminals with the adjacent
connector terminals.
Example: You configure channel 0 for current measurement by bridging terminals 22 and 2,
and terminals 23 to 3.
At the channel configured for current measurements, connect the shunt resistor to the
adjacent channel terminals in order to achieve the specified precision.
വ
വ
വ
6)
വ
9
ದ
&+
9
ದ
&+
9
ದ
&+
9
ದ
&+
9
ದ
&+
9
ದ
&+
വ
വ
&+
ದ
9
&+
വ
ದ
9
വ
Figure 6-1
①
Wiring and block diagrams
Voltage measurement
②
Backplane bus interface
③
Electrical isolation
④
Analog-to-Digital Converter (ADC)
⑤
Equipotential bonding
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
239
Analog modules
6.3 Analog input module SM 331; AI 8 x 16 Bit; (6ES7331-7NF00-0AB0)
Wiring: 2-wire and 4-wire transducer
&+
/
0
വ
&+
വ
&+
വ
&+
വ
6)
&+
വ
&+
വ
&+
/
&+
വ
വ
0
Figure 6-2
240
Wiring and block diagrams
①
Backplane bus interface
②
Electrical isolation
③
Analog-to-Digital Converter (ADC)
④
Channel 0 for 4-wire transducer
⑤
Channel 7 for 2-wire transducer (with external supply)
⑥
Equipotential bonding
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.3 Analog input module SM 331; AI 8 x 16 Bit; (6ES7331-7NF00-0AB0)
Technical data
Technical data
Dimensions and weight
Dimensions W x H x D (mm)
40 x 125 x 117
Weight
approx. 272 g
Module-specific data
Isochronous mode supported
no
Number of inputs
8
Cable length
• shielded
max. 200 m
Voltages, currents, electrical potentials
Electrical isolation
• between channels and the backplane bus
yes
Maximum potential difference
• between inputs (CMV)
• Between the inputs and Minternal (Viso)
AC 35 V / DC 50 V,
Isolation test voltage
500 VDC
Current consumption
• from the backplane bus
max. 130 mA
Power loss of the module
typ. 0.6 W
60 VAC / 75 VDC
Generation of analog values
Measuring principle
Integrating
Integration/conversion time/resolution (per channel)
•
programmable
yes
•
Integration time in ms
10
16,7
20
100
•
Basic conversion time per channel group with more than
one active channel
35
55
65
305
•
Channel conversion time per channel group, only with active 10
channel group 0 or 1
16,7
20
100
16,7
20
100
Channel integration time (1/f1) in ms
10
•
Resolution (including overshoot range)
15 bits + sign
•
Noise suppression at interference frequency f1 in Hz
100
Basic execution time of the module in ms (all channels enabled) 140
60
50
10
220
260
1220
Noise suppression and error limits
Noise suppression at f = n (f1 1%), (f1 = interference frequency); n= 1, 2, ...
•
•
Common-mode noise (CMV < 50 V)
> 100 dB
Series mode interference (peak value of interference < rated > 90 dB
input range)
Crosstalk between inputs
> 100 dB
Operational error limit (across temperature range, relative to
input range)
CMV = 0 / CMV = ±50 V
•
•
Voltage input
Current input
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
±0,1% / ± 0,7%
±0,3% / ± 0,9%
241
Analog modules
6.3 Analog input module SM 331; AI 8 x 16 Bit; (6ES7331-7NF00-0AB0)
Technical data
Basic error limit (operational error limit at 25 °C relative to input range)
•
•
Voltage input
Current input
±0,05%
±0,05%
Temperature error (relative to input range)
± 0.005%/K
Linearity error (relative to input range)
±0,03%
Repetition accuracy (in transient state at 25 °C, relative to input
range)
±0,025%
Status, interrupts, diagnostics
Interrupts
• Limit interrupt
programmable
Channels 0 and 2
•
Diagnostics interrupt
Diagnostics functions
• Group error display
• Reading diagnostics information
programmable
programmable
red LED (SF)
supported
Sensor selection data
Input ranges (rated values) / input impedance
•
•
Voltage
Current
Maximum voltage at voltage input (destruction limit)
±5V
/ 2 MΩ
1 V to 5 V
/ 2 MΩ
± 10 V
/ 2 MΩ
0 mA to 20 mA
/ 250 Ω
± 20 mA
/ 250 Ω
4 mA to 20 mA
/ 250 Ω
max. 50 V, continuous
Maximum current at current input (destruction limit)
max. 32 mA
Wiring of the signal transducers
using a 40pin front connector
•
•
for voltage measurement
for current measurement
supported
as 2-wire transducer
possible, with separate transducer supply
as 4-wire transducer
• Load of the 2-wire transducer
supported
242
max. 820 Ω
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.3 Analog input module SM 331; AI 8 x 16 Bit; (6ES7331-7NF00-0AB0)
6.3.1
Measurement types and ranges
Introduction
The measurement type and range is configured at the "measuring range" parameter in
STEP 7.
The default setting of the module is "voltage" measurement with "± 10V" range. You can use
these default settings without having to program the SM 331; AI 8 x 16 Bit in STEP 7.
Measurement types and ranges
Table 6-5
Measurement types and ranges
Selected type of measurement
Measuring range
Voltage V:
±5V
1 V to 5 V
± 10 V
Current
0 mA to 20 mA
± 20 mA
4 mA to 20 mA
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
243
Analog modules
6.3 Analog input module SM 331; AI 8 x 16 Bit; (6ES7331-7NF00-0AB0)
6.3.2
Programmable parameters
Introduction
For information on programming analog modules, refer to the chapter Programming analog
modules.
Parameters
Table 6-6
Parameters
Enable
• Diagnostics interrupt
• Process interrupt when
limit exceeded
Process interrupt trigger
• High limit
• Low limit
Diagnostics
• Group diagnostics
• with line continuity check
Measurement
• Measurement type
•
•
Measuring range
Noise suppression
Channel groups
Overview of the parameters of SM 331; AI 8 x 16 Bit
Range of values
Default
Parameter
type
Scope
yes/no
yes/no
no
no
dynamic
Module
May be restricted by the measuring range.
from 32511 to - 32512
from - 32512 to 32511
-
dynamic
Channel
yes/no
yes/no
no
no
static
Channel
group
disabled
Voltage V:
4DMU current (4-wire transducer)
See the table Measurement types and ranges
100 Hz; 60 Hz; 50 Hz; 10 Hz
V
dynamic
Channel
group
± 10 V
50 Hz
The channels of SM 331; AI 8 x 16 Bit are arranged in four groups of two channels. You can
assign parameters only to one channel group.
The table below shows the relevant configuration of channel groups. The channel group
number is required to program SFC parameters in the user program.
Table 6-7
Channels ...
Channel 0
Channel 1
Channel 2
Channel 3
Channel 4
Channel 5
Channel 6
Channel 7
Assignment of SM 331; AI 8 x 16 Bit channels to channel groups
... form one channel group each
Channel group 0
Channel group 1
Channel group 2
Channel group 3
See also
Programming analog modules (Page 225)
Diagnostics messages of analog input modules (Page 227)
244
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.3 Analog input module SM 331; AI 8 x 16 Bit; (6ES7331-7NF00-0AB0)
6.3.3
Additional information on SM 331; AI 8 x 16 Bit
Unused channels
Set the "disabled" value at the "measuring method" parameter for unused channels. This
setting reduces module cycle times.
As certain programmed inputs may remain unused due to the channel group configuration,
make allowances for the special features of those inputs outlined below in order to be able to
use the diagnostics functions at these used channels:
● Measuring range 1 V to 5 V: wire the used and unused inputs of the same channel group
in parallel.
● Current measurement, 4 mA to 20 mA: wire the unused inputs of the same channel group
in series. Connect a shunt resistor to each programmed and unused channel.
● Other measuring ranges:Short-circuit the plus and minus inputs of the channel.
Line continuity check
The line continuity check is available for the 1 V to 5 V and 4 mA to 20 mA ranges.
Rule for both measuring ranges:
When the line continuity check is enabled, the module logs the wire-break to diagnostics
data when the current drops below 3.6 mA (0.9 V.)
The module also triggers a diagnostics interrupt if this function is enabled in the program.
A wire break can only be signaled by means of the lit SF LED and the diagnostic bytes must
be evaluated in the user program if diagnostics interrupts are disabled.
When line continuity check is disabled and diagnostic interrupts are enabled, the module
triggers a diagnostics interrupt when underflow is detected.
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
245
Analog modules
6.3 Analog input module SM 331; AI 8 x 16 Bit; (6ES7331-7NF00-0AB0)
Special features in programming high and low limits
The programmable limits (process interrupt triggers) of SM 331; AI 8 x 16 Bit differ from the
range of value shown in the Overview of parameters of SM 331; AI 8 x 16 Bit. table.
Reason: The calculation methods deployed in the module software to evaluate the process
variables do not allow the reporting of values up to 32511 in certain situations. The process
value triggering a process interrupt at underflow or overflow limits is based on the calibration
factors of the relevant channel, and may vary between the low limits shown in the table
below and the value 32511 (7EFFH).
You may not define any limits which exceed the minimum limits specified in the table below.
Table 6-8
Minimum high and low limits of SM 331; AI 8 x 16 Bit
Measuring range
Minimum high limit
Minimum low limit
± 10 V
11.368 V
31430
7AC6H
-11.369 V
-31433
8537H
±5V
5.684 V
31430
7AC6H
-5.684 V
-31430
853AH
1 V to 5 V
5.684 V
32376
7E78H
0.296 V
-4864
ED00H
0 mA to 20 mA
22.737 mA
31432
7AC8H
-3.519 mA
-4864
ED00H
4 mA to 20 mA
22.737 mA
32378
7E7AH
1.185 mA
-4864
ED00H
± 20 mA
22.737 mA
31432
7AC8H
-22.737 mA
-31432
8538H
Measuring errors as a result of CMV
SM 331; AI 8 x 16 Bit is capable of taking measurements, irrespective of the presence of any
CMV in the AC or DC range.
With AC CMV values of a multiple of filter frequency settings, noise is suppressed as a result
of ADC integration time and common mode suppression at the input amplifiers. With AC
CMV < 35 VRMS, the noise suppression of > 100 dB results in negligible measurement errors.
The influence of DC CMV can only be reduced to minimum using the noise suppression
function of the input amplifier unit. A certain degradation of measuring accuracy in proportion
to CMV must be expected. The worst case error is generated at 50 VDC between one
channel and the remaining seven channels. The calculated worst case error is 0.7% at 0 °C
to 60 °C, while the measured error usually lies at ≤ 0.1% at 25 °C.
246
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.4 Analog input module SM 331; AI 8 x 16 Bit; (6ES7331-7NF10-0AB0)
6.4
Analog input module SM 331; AI 8 x 16 Bit; (6ES7331-7NF10-0AB0)
Order number
6ES7331-7NF10-0AB0
Properties
● 8 inputs in 4 channel groups
● Programmable measurement type at each channel group
– Voltage
– Current
● Programmable resolution per channel group (15 bits + sign)
● Any measuring range selection per channel group
● Programmable diagnostics and diagnostics interrupt
● Programmable limit value monitoring for 8 channels
● Programmable process interrupt when limit is exceeded
● Programmable process interrupt at end of cycle
● High-speed update of measured values at up to 4 channels
● Electrical isolation to the CPU
Diagnostics
For information on diagnostics messages at the "group diagnostics" parameter, refer to the
table Diagnostics messages of analog input modules.
Terminal assignment
The diagrams below show various wiring options
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
247
Analog modules
6.4 Analog input module SM 331; AI 8 x 16 Bit; (6ES7331-7NF10-0AB0)
Wiring: Voltage and current measurement
Connection possible at both sides at channels 0 to 7
/
&+
0
'&
വ
&+
വ
0
0
0 $'8
$'8
$'8
$'8
വ
വ
0 0
വ
6)
Figure 6-3
248
&+
0ದ
0ದ 9
0
വ
വ
&+
0ದ
0ದ 9
0ದ
'&
വ
&+
0ದ
0
0ದ &+
0
&+
/
9
&+
9
0ದ
0
Wiring and block diagrams
①
Connection for voltage measurement
②
Equipotential bonding
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.4 Analog input module SM 331; AI 8 x 16 Bit; (6ES7331-7NF10-0AB0)
Wiring: 2-wire and 4-wire transducer
Connection possible at both sides at channels 0 to 7
/
&+
&+
/
&+
'&
വ
വ
0ದ
0
0
വ
$'&
$'&
$'&
$'&
വ
0ದ
0 0
വ
വ
0ದ 0
&+
&+
/
0
&+
0ದ
6)
0
Figure 6-4
0
0ದ 0ದ
വ
വ
&+
0ದ
'&
0 /
0
0ದ &+
0
0 Wiring and block diagrams
①
2-wire transducer
②
4-wire transducer
③
Equipotential bonding
Technical data
Technical data
Dimensions and weight
Dimensions W x H x D (mm)
40 x 125 x 117
Weight
approx. 272 g
Module-specific data
Isochronous mode supported
no
Number of inputs
8
Cable length
• shielded
max. 200 m
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
249
Analog modules
6.4 Analog input module SM 331; AI 8 x 16 Bit; (6ES7331-7NF10-0AB0)
Technical data
Voltages, currents, electrical potentials
Rated electronics supply voltage L +
•
Reverse polarity protection
24 VDC
yes
Electrical isolation
•
•
•
between channels and the backplane bus
between channels and electronics power supply
between channels
in groups of
yes
yes
yes
2
Maximum potential difference
•
between inputs (CMV)
•
Between the inputs and Minternal (Viso)
Isolation test voltage
60 VAC / 75 VDC
60 VAC / 75 VDC
500 VAC
Current consumption
•
•
from the backplane bus
from power supply L+
max. 100 mA
max. 200 mA
Power loss of the module
typ. 3.0 W
Generation of analog values
Measuring principle
Integrating
Integration/conversion time/resolution (per channel)
•
•
•
•
•
programmable
Basic conversion time in ms (8-channel mode)
Basic conversion time in ms (4-channel mode)
Resolution, including sign
Noise suppression at frequency f1 in Hz
yes
95/83/72/23
101) 4)
16 bits
All2)/50/60/400
Measured value smoothing
None / low/ average/ high
Basic execution time of the module, in ms (8-channel-mode)
190/166/144//46
Basic execution time of the module, in ms (4-channel-mode)
101)
Noise suppression, error limits
Noise suppression at F = n x (f1 1%)(f1 = interference frequency, n = 1, 2, ...)
•
•
Common-mode interference (VCM < AC 60 V)
Series mode interference (peak value of disturbance < rated
input range)
Crosstalk between inputs
> 100 dB
> 90 dB 3)
> 100 dB
Operational error limit (across temperature range, relative to input range)
•
•
Input voltage
Input current
±0,1%
±0,1%
Basic error limit (operational error limit at 25 °C, relative to input range)
•
•
Voltage input
Current input
±0,05%
±0,05%
Temperature error (relative to input range)
± 0.005%/K
Linearity error (relative to input range)
±0,01%
Repetition accuracy (in transient state at 25 °C, relative to input
range)
±0,01%
250
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.4 Analog input module SM 331; AI 8 x 16 Bit; (6ES7331-7NF10-0AB0)
Technical data
Status, interrupts, diagnostics
Interrupts
•
•
•
Process interrupt when limit value is exceeded
Process interrupt at end of cycle
Diagnostics interrupt
Diagnostics functions
•
•
Programmable channels 0 to 7
programmable
programmable
programmable
Group error display
Reading diagnostics information
red LED (SF)
supported
Transducer selection data
Input range (rated values) / input impedance
•
Voltage
± 5 V / 2 MΩ
1 V to 5 V / 2 MΩ
± 10 V / 2 MΩ
•
Current
0 mA to 20 mA / 250 Ω
4 mA to 20 mA / 250 Ω
± 20 mA / 250 Ω
Maximum voltage at voltage input (destruction limit)
35 V continuous; 75 V for max. duration of 1 s (duty
factor 1:20)
Maximum current at current input (destruction limit)
40 mA
Wiring of the signal transducers
using a 40pin front connector
•
•
for voltage measurement
for current measurement
as 2-wire transducer
supported
possible, with separate transducer supply
supported
as 4-wire transducer
1)
Interference frequency for 4-channel mode is "All"
2)
Interference frequencies 50/60/400 Hz are designated as "All"
3)Series-mode
rejection for 8-channel mode is reduced as follows:
50 Hz > 70 db
60 Hz > 70 db
400 Hz > 80 dB
50/60/400 Hz > 90 dB
In 4-channel mode, the converted value settles to 100% within 80 ms. The value
determined in this process is returned at intervals of max. 10 ms.
4)
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
251
Analog modules
6.4 Analog input module SM 331; AI 8 x 16 Bit; (6ES7331-7NF10-0AB0)
6.4.1
Measurement types and ranges
Introduction
The measurement type and range is configured at the "measuring range" parameter in
STEP 7.
Table 6-9
Measurement types and ranges
Selected type of measurement
Output range
Voltage V:
± 5 V, from 1 V to 5 V, ± 10 V
Current (4-wire transducer)
0 mA to 20 mA
4 mA to 20 mA
± 20 mA
4DMU
Channel groups
The channels of SM 331; AI 8 x 16 bits are arranged in four groups of two channels. You
always assign parameters to a group. The interrupt limits form the exception.
The table below shows the relevant configuration of channel groups. The channel group
number is required to program SFC parameters in the user program.
Table 6-10
Assignment of SM 331; AI 8 x 16 Bit channels to channel groups
Channels ...
...form one channel group each
Channel 0
Channel group 0
Channel 1
Channel 2
Channel group 1
Channel 3
Channel 4
Channel group 2
Channel 5
Channel 6
Channel group 3
Channel 7
252
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.4 Analog input module SM 331; AI 8 x 16 Bit; (6ES7331-7NF10-0AB0)
6.4.2
Programmable parameters
Introduction
For information on programming analog modules, refer to the chapter Programming analog
modules.
Parameters
Table 6-11
Overview of parameters of SM 331; AI 8 x 16 Bit
Parameters
Range of values
Enable
• Process interrupt when limit value yes/no
is exceeded
• Process interrupt at end of cycle
yes/no
• Diagnostics interrupt
yes/no
Process interrupt trigger
• High limit
32511 to -32512
• Low limit
-32512 to 32511
Diagnostics
• Group diagnostics
yes/no
• Line continuity check
yes/no
Measurement
• Module operating mode
• 8 channels
• 4 channels
50 Hz
• Noise suppression
60 Hz
400 Hz
50/60/400 Hz
•
Smoothing
•
Measurement type
disabled
Voltage
Current (4-wire transducer)
•
•
•
•
•
none
weak
medium
strong
Measuring range:
•
•
•
•
•
•
±5V
1 V to 5 V
± 10 V
0 mA to 20 mA
4 mA to 20 mA
± 20 mA
Defaults
Parameter type
Scope
no
dynamic
Module
no
no
dynamic
dynamic
-
dynamic
dynamic
Channel
Channel
no
no
static
Channel
Channel
yes
no
dynamic
Module
Channel group
dynamic
Channel group
dynamic
Channel group
50/60/400 Hz
none
± 10 V
4 mA to 20 mA
See also
Programming analog modules (Page 225)
Diagnostics messages of analog input modules (Page 227)
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
253
Analog modules
6.4 Analog input module SM 331; AI 8 x 16 Bit; (6ES7331-7NF10-0AB0)
6.4.3
Additional information for SM 331; AI 8 x 16 Bit
Modes of operation
Operating modes of SM 331; AI 8 x 16 Bit:
● 8-channel mode
● 4-channel mode
8-channel operating mode
In this mode, the module changes between the two channels of each group. The four ADCs
of the module simultaneously convert channels 0, 2, 4 and 6. The ADCs first convert the
channels with even numbers, and then the channels with the odd numbers 1, 3, 5 and 7 (see
the figure below.)
6WDUWDQDORJFRQYHUVLRQ
VLPXOWDQHRXV
&+
&+
&+
&+
&\FOHWLPH
6WDUWDQDORJFRQYHUVLRQ
VLPXOWDQHRXV
&+
Figure 6-5
254
&+
&+
&+
8-channel mode cycle time
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.4 Analog input module SM 331; AI 8 x 16 Bit; (6ES7331-7NF10-0AB0)
Cycle time of module in 8-channel mode
The channel conversion time is based on the programmed noise suppression. The channel
conversion time is 76 ms, including communication time, at a set interference frequency of
50 Hz. The channel conversion time is 65 ms when you set an interference frequency of 60
Hz. You can reduce channel conversion times to 16 ms by setting an interference frequency
of 400 Hz. When you set 50, 60 and 400 Hz , the channel conversion time amounts to 88
ms. The module then has to switch to a different channel of the group by means of the OptoMOS relay. Opto-MOS relays require 7 ms for switching and settling. The table below shows
this correlation.
Table 6-12
Cycle times in 8-channel mode
Interference frequency (Hz)
Channel cycle time (ms)
Module cycle time
(all channels)
50
83
166
60
72
144
400
23
46
50/60/400
95
190
4-channel operating mode
In this mode, the module does not change between the channels of the groups. The four
ADCs of the module simultaneously convert the channels 0, 2, 4 and 6.
6WDUWDQDORJFRQYHUVLRQ
VLPXOWDQHRXV
&\FOHWLPH
&+
Figure 6-6
&+
&+
&+
4-channel mode cycle time
Module cycle time
The converted value settles to 100% within 80 ms and is updated every 10 ms when 4channel mode is set. The channel and module cycle times are always identical, because the
module does not change between the channels of a group: 10 ms.
Channel conversion time = channel cycle time = module cycle time = 10 ms
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
255
Analog modules
6.4 Analog input module SM 331; AI 8 x 16 Bit; (6ES7331-7NF10-0AB0)
Unused channels
Set the "disabled" value at the "measuring method" parameter for unused channels. This
setting reduces module cycle times.
As certain programmed inputs may remain unused due to the channel group configuration,
make allowances for the special features of these inputs outlined below in order to be able to
use the diagnostics functions at these used channels:
● Measuring range 1 V to 5 V: wire the used and unused inputs of the same channel group
in parallel.
● Current measurement, 4 mA to 20 mA: wire the unused inputs of the same channel group
in series. A shunt resistor must be connected for each programmed and unused channel.
● Other measuring ranges: Short-circuit the plus and minus inputs of the channel.
Line continuity check
The line continuity check is available for the voltage measuring ranges, and for the 4 mA to
20 mA current measuring range.
If you configured a measuring range of ± 5V, 1 V to 5 V, ± 10 V, 4 mA to 20 mA, and
enabled the line continuity check, the analog input module logs a wire-break event in
diagnostics data when the underflow (32768) is reached.
The module also triggers a diagnostics interrupt if this function is enabled in the program.
A wire break can only be signaled by means of the lit SF LED and the diagnostic bytes must
be evaluated in the user program if diagnostics interrupts are disabled.
If you configured a measuring range of 4 mA to 20 mA, disabled the line continuity check,
and enabled diagnostic interrupts, the module triggers a diagnostic interrupt when the
underflow value is reached.
Short-circuit to M or L
The module does not suffer any damage if you short-circuit an input channel to M or L.. The
channel continues to output valid data and does not report a diagnostics event.
Overflow, underflow and process interrupt limits
The limits in diagnostics response to overflow and underflow in certain measuring ranges
differ compared to the listed ranges starting at the chapterAnalog value representation for
analog input channels of the manual. In certain situations the numerical methods of the
module software used to evaluate the process variables do not return values up to 32511.
Do not set any process interrupt limits higher than the lowest possible overflow or underflow
response limits. End of cycle interrupt starting at the chapter Analog value representation for
analog input channels.
256
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.4 Analog input module SM 331; AI 8 x 16 Bit; (6ES7331-7NF10-0AB0)
End of cycle interrupt
You can synchronize a process with the conversion cycle of the module by enabling the end
of cycle interrupt. The interrupt is set when enabled channels have been converted.
The table below shows the contents of the 4 bytes of additional OB40 information during
process or end of cycle interrupts.
Content of the 4 bytes of additional information
27
26
25
24
23
22
21
20
Byte
Special analog
flags
High limit exceeded at channel
7
6
5
4
3
2
1
0
0
Low limit exceeded at channel
7
6
5
4
3
2
1
0
1
2 bits per channel to identify the range
End of cycle event
Free bit
X
2
3
Operation of the module on the ET 200M Distributed IO devices
Operation of SM 331; AI 8 x 16 bits on ET 200M requires one of the following IM 153 x:
● IM 153-1; as of 6ES7 153-1AA03-0XB0, E 01
● IM 153-2; as of 6ES7 153-2AA02-0XB0; E 05
● IM 153-2; as of 6ES7 153-2AB01-0XB0; E 04
Programming restrictions when operating SM 331; AI 8 x 16 Bit on PROFIBUS masters which only
support DPV0
Certain parameters are not supported when operating an electrically isolated SM 331; AI 8
16 Bit analog input module on an ET200M PROFIBUS slave system in combination with a
PROFIBUS master which is not an S7 master. Non-S7 masters do not support process
interrupts. All parameters associated with these functions are disabled for this reason. This
includes process interrupt enable, hardware restrictions and end the enabling of cycle
interrupts. All other parameters are allowed.
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
257
Analog modules
6.5 Analog input module SM 331; AI 8 x 14 Bit High Speed; isochrone; (6ES7331-7HF0x-0AB0)
6.5
Analog input module SM 331; AI 8 x 14 Bit High Speed; isochrone;
(6ES7331-7HF0x-0AB0)
Order number
6ES7331-7HF00-0AB0 or 6ES7331-7HF01-0AB0
Properties
● 8 inputs in 4 channel groups
● Measuring method adjustable per channel group:
– Voltage
– Current
● Programmable resolution at each channel group (13 bits + sign)
● Any measuring range per channel group
● Programmable diagnostics and diagnostics interrupt
● Programmable limit value monitoring for 2 channels
● Programmable process interrupt when limit is exceeded
● High-speed update of measured values
● Isochronous mode supported
● Electrical isolation to the CPU
● Electrically isolated to load voltage (not for 2-wire transducers)
Diagnostics
For information on diagnostics messages at the "group diagnostics" parameter, refer to the
table Diagnostics messages of analog input modules.
Process interrupts
Process interrupts for channel groups 0 and 1 can be programmed in STEP 7. However, set
a process interrupt only for the first channel of a channel group, that is, either at channel 0,
or at channel 2
258
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.5 Analog input module SM 331; AI 8 x 14 Bit High Speed; isochrone; (6ES7331-7HF0x-0AB0)
Terminal assignment
The diagrams below show the various wiring options.
Wiring: Voltage measurement
/
0XOWLSOH[HU
0HDVXULQJ
UDQJHPRGXOHV
,QWHUQDO
VXSSO\
$'&
(OHFWULFDO
LVRODWLRQ
%DFNSODQHEXV
FRQQHFWLRQ
6)
0
0ದ
0
0ದ
0
0ದ
0
0ದ
0$1$
0$1$
0
0ದ
0
0ದ
0
0ದ
0
0ದ
9
&+
9
&+
9
&+
9
&+
'&
9
(TXLSRWHQWLDO
ERQGLQJ
9
&+
9
&+
9
&+
9
)XQFWLRQDO
JURXQG
&+
0
Figure 6-7
Block diagram and wiring diagram
Measuring range module settings
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Measuring range
Measuring range module setting
± 1V
A
± 5V
B
± 10V
B (Default)
1 V to 5V
B
259
Analog modules
6.5 Analog input module SM 331; AI 8 x 14 Bit High Speed; isochrone; (6ES7331-7HF0x-0AB0)
Wiring: 2-wire and 4-wire transducers for current measurement
'08
/
0XOWLSOH[HU
0HDVXULQJ
UDQJHPRGXOHV
,QWHUQDO
VXSSO\
0
0ದ
0
0ದ
0
0ದ
0
0ದ
0$1$
&+
&+
&+
&+
'&
9
$'&
(OHFWULFDO
LVRODWLRQ
%DFNSODQHEXV
FRQQHFWLRQ
6)
0$1$
0
0ದ
0
0ದ
0
0ದ
0
0ದ
(TXLSRWHQWLDO
ERQGLQJ
/
0
/
0
&+
/
0
&+
0
Figure 6-8
'08
/
0
&+
)XQFWLRQDO
JURXQG
&+
Block diagram and wiring diagram
Measuring range module settings
Measuring range
Measuring range module setting
2-wire transducer
4 mA to 20mA
4-wire transducer
± 20mA
0 mA to 20mA
D
C
4 mA to 20mA
Technical data
Technical data
Dimensions and weight
Dimensions W x H x D (mm)
40 x 125 x 117
Weight
approx. 230 g
Module-specific data
Isochronous mode supported
yes
Number of inputs
8
Cable length
• shielded
max. 200 m
260
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.5 Analog input module SM 331; AI 8 x 14 Bit High Speed; isochrone; (6ES7331-7HF0x-0AB0)
Technical data
Voltages, currents, electrical potentials
Rated electronics supply voltage L +
• Reverse polarity protection
24 VDC
yes
Transducer power supply
•
•
Supply current
short circuit-proof
max. 30 mA (per channel)
yes
Electrical isolation
•
•
•
between channels and the backplane bus
between channels
between channels and electronics power supply
Maximum potential difference
• between inputs and MANA (CMV)
– at signal = 0 V
– not for 2-wire transducers
• between inputs (CMV)
• between MANA and Minternal (Viso)
Isolation test voltage
• Channels to backplane bus and load voltage L +
yes
no
yes
11 VDC / 8 VAC
11 VDC / 8 VAC
75 VDC / 60 VAC
500 VDC
Current consumption
• from the backplane bus
• from load voltage L + (without 2-wire transducer)
max. 100 mA
Power loss of the module
typ. 1.5 W
max. 50 mA
Generation of analog values
Measuring principle
Actual value conversion
Integration/conversion time/resolution (per channel)
•
programmable
yes
•
Basic conversion time per channel
52 µs
•
Resolution (including overshoot range)
14 bits
•
Noise suppression at interference frequency f1 in Hz
none
400
60
50
•
Basic execution time of the module (independent of the
number of enabled channels)
0.42 ms
2.5 ms
16.7 ms
20 ms
Noise suppression, error limits
Noise suppression at f = n (f1 ± 1 %), (f1 = interference frequency) n=1.2...
•
•
Common-mode interference (CMV < 11 Vpp)
Seriesmode interference (peak value < rated input range)
Crosstalk between inputs
> 80 dB
> 40 dB
> 65 dB
Operational error limit (across temperature range, relative to input range)
• Voltage input
±1V
•
Current input
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
±5V
± 10 V
1 V to 5 V
± 0,3 %
± 0,4 %
± 0,3 %
± 0,4 %
± 20 mA
0 mA to 20 mA
4 mA to 20 mA
± 0,3 %
± 0,3 %
± 0,3 %
261
Analog modules
6.5 Analog input module SM 331; AI 8 x 14 Bit High Speed; isochrone; (6ES7331-7HF0x-0AB0)
Technical data
Basic error limit (operational error limit at 25 °C, relative to input range)
• Voltage input
±1V
•
Current input
±5V
± 10 V
1 V to 5 V
± 0,2 %
± 0,25 %
± 0,2 %
± 0,25 %
± 20 mA
0 mA to 20 mA
4 mA to 20 mA
± 0,2 %
± 0,2 %
± 0,2 %
Temperature error (relative to input range)
± 0.004 %/K
Linearity error (relative to input range)
± 0,03 %
Repetition accuracy (in transient state at 25 °C, relative to
input range)
± 0,1 %
Status, interrupts, diagnostics
Interrupts
• Process interrupt
• Diagnostics interrupt
programmable
programmable
Diagnostics functions
• Group error display
• Reading diagnostics information
red LED (SF)
supported
Sensor selection data
Input ranges (rated values) / input impedance
• Voltage
•
Current
±1V
±5V
± 10 V
1 V to 5 V
10 MΩ
100 kΩ
100 kΩ
100 kΩ
± 20 mA
0 mA to 20 mA
4 mA to 20 mA
50 Ω
50 Ω
50 Ω
Maximum voltage at voltage input (destruction limit)
max. 20 V continuous; 75 V for the duration of max. 1 s
(duty factor 1:20)
Maximum current at current input (destruction limit)
40 mA
Wiring of the signal sensors
• for voltage measurement
• for current measurement
as 2-wire transducer
as 4-wire transducer
• Load of the 2-wire transducer at L+ = DC 24 V
with 20pin front connector
supported
Characteristics linearization
none
262
supported
supported
max. 820 Ω
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.5 Analog input module SM 331; AI 8 x 14 Bit High Speed; isochrone; (6ES7331-7HF0x-0AB0)
6.5.1
Measurement types and ranges
Introduction
The analog input module has measuring range modules. The measurement type and range
is configured at the "measuring range" parameter in STEP 7.
The default setting of the module STEP 7 is "voltage" measurement with "± 10V" range. You
can use those default settings without having to program the SM 331;
AI 8 x 14 Bit High Speed in STEP 7.
Measuring range modules
You may have to change the position of the measuring range module to suit the
measurement type and range. See table Setting measuring methods and ranges of analog
input channels. The settings are also printed on the module. Mark the position of the
measuring range module on the front door (see figure).
5DQJH
$ %
& '
Measurement types and ranges
Table 6-13
Measurement types and ranges
Selected type of measurement
Measuring range
(type of sensor)
Measuring range module
settings
V: Voltage
±1V
A
±5V
B
1 V to 5 V
± 10 V
4DMU: Current (4-wire transducer)
0 mA to 20 mA
C
4 mA to 20 mA
± 20 mA
2DMU: Current (2-wire transducer)
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
4 mA to 20 mA
D
263
Analog modules
6.5 Analog input module SM 331; AI 8 x 14 Bit High Speed; isochrone; (6ES7331-7HF0x-0AB0)
Channel groups
The channels of SM 331; AI 8 x 14 Bit High Speed are arranged in four groups of two
channels. You can assign parameters only to one channel group.
SM 331; AI 8 x 14 bits High Speed is equipped with one measuring range module per
channel group.
The table below shows the relevant configuration of channel groups. The channel group
number is required to program SFC parameters in the user program.
Table 6-14
Assignment of SM 331; AI 8 x 14 bits High Speed channels to channel groups
Channels ...
... form one channel group each
Channel 0
Channel group 0
Channel 1
Channel group 1
Channel 2
Channel 3
Channel 4
Channel group 2
Channel 5
Channel group 3
Channel 6
Channel 7
6.5.2
Programmable parameters
Introduction
For information on programming analog modules, refer to the chapter Programming analog
modules.
Parameters
Table 6-15
Overview of parameters for SM 331; AI 8 x 14 Bit High Speed
Parameters
Range of values
Default
Parameter
type
Scope
Enable
• Diagnostics interrupt
• Process interrupt when limit
exceeded
yes/no
no
dynamic
Module
yes/no
no
Fast Mode (can only be set if the yes/no
331-7HF01 is included for
isochronous operation in the DP
slave properties)
no
static
Module
-
dynamic
Channel
Process interrupt trigger
• High limit
• Low limit
264
May be restricted by the measuring range.
from 32511 to - 32512
from - 32512 to 32511
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.5 Analog input module SM 331; AI 8 x 14 Bit High Speed; isochrone; (6ES7331-7HF0x-0AB0)
Parameters
Range of values
Default
Parameter
type
Scope
Diagnostics
• Group diagnostics
yes/no
no
static
Channel
group
Measurement
• Measurement type
disabled
V
dynamic
Channel or
channel
group
Voltage V
4DMU current (4-wire transducer)
2DMU current (2-wire transducer)
•
Measuring range
See the table Measurement types and
± 10 V
•
Noise suppression
none; 400 Hz; 60 Hz; 50 Hz
50 Hz
ranges
See also
Programming analog modules (Page 225)
6.5.3
Isochronous mode
Properties
Reproducible reaction times (i.e. of the same length) are achieved in a SIMATIC system by
means of a constant DP bus cycle, and synchronization of the single cyclic processes
outlined below:
● Independent user program cycle. The length of the cycle time may vary due to non-cyclic
program branching.
● Independent and variable DP cycle on the PROFIBUS subnet
● Cyclic operation of the backplane bus of the DP slave.
● Cyclic signal preparation and conversion at the electronic modules of the DP slave.
The constant DP cycle runs in synchronism and at the same length. The CPU run levels
(OB61 to OB64) and isochronous IO are synchronized with this cycle. I/O data are therefore
transferred at defined and constant intervals (isochronous mode.)
Requirements
● The DP master and slave must support isochronous mode. You require STEP 7 V5.2 or
higher.
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
265
Analog modules
6.5 Analog input module SM 331; AI 8 x 14 Bit High Speed; isochrone; (6ES7331-7HF0x-0AB0)
Mode of operation: Isochronous mode
Table 6-16
Conditions of isochronous mode:
Standard Mode
Filtering and processing time TWE between reading actual values and writing these to the
transfer buffer(the value defined for TWE applies, irrespective of the enable status of diagnostics)
max. 625 μs
including an input delay time of
10 µs
TDPmin
3.5 ms
Diagnostics interrupt
max. 4 x TDP
Fast Mode (only possible with 6ES7 331-7HF01-0AB0)
Filter and processing time TWE between reading actual value and writing the results to the
transfer buffer (diagnosis not selectable)
max. 625 μs
including an input delay time of
10 µs
TDPmin
1 ms
Note
You can accelerate the cycle of your DP system by setting "Fast Mode." However, this is at
the expense of diagnostics: Diagnostics functions will be disabled in this operating mode.
The minimum Ti value you can set in HW Config is derived from the defined TWE value plus
calculation and transfer times required by the IM 153.
The specified TDPmin value is determined by the size of the DP slave/IM 153 configuration: Of
the diverse installed modules, the slowest always determines the time TDPmin.
Note
When operated in "isochronous" mode, the modules automatically sets "Integration time:
none/interference frequency", irrespective of parameter settings in STEP 7. none /
interference frequency". "Process interrupt" functionality is not available in "isochronous"
mode.
266
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.5 Analog input module SM 331; AI 8 x 14 Bit High Speed; isochrone; (6ES7331-7HF0x-0AB0)
Calculation of filter and processing times
The same time conditions always apply, regardless of the number of configured channels.
The time relative to the clock signal for reading a specific channel is calculated according to
the formula:
TWE_CH = (channel number +1) x 52 µs + tv; tv = 119 to 209 µs
7:(
$'FRQYHUVLRQ
LQWHUQDOSURFHVVLQJWY
&+
&+
&+
&+
&+
&+
&+
&+
wV
wV
wV
wV
wV
wV
wV
wV
Figure 6-9
wV
Calculation of filter and processing times
Definition of isochronous mode
The module starts with the analog-to-digital conversion of channel 7, and saves the result
internally. Next, it converts channels 6...0 sequentially at intervals of 52 ms and in the same
way. After an additional internal processing time, it outputs the result of all converted
channels to the backplane bus interface where it can be fetched by the CPU.
Further information
For further information on isochronous mode, refer to the STEP 7, Online Help, and in the
ET 200M Distributed IO System and Synchronicity manuals.
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
267
Analog modules
6.5 Analog input module SM 331; AI 8 x 14 Bit High Speed; isochrone; (6ES7331-7HF0x-0AB0)
6.5.4
Additional information on SM 331; AI 8 x 14 Bit High Speed, isochrone
Unused channels
You should wire unused channels as shown in the following table. This optimizes
interference immunity of the analog input module.
Measuring range
M+/ M-
M_ana
Voltage
short-circuit
connect with M-
Current / 4-wire transducer
leave open
connect with M-
Current / 2-wire transducer
leave open
connect with M
As certain programmed inputs may remain unused due to the channel group configuration,
make allowances for the special features of these inputs outlined below in order to be able to
use the diagnostics functions at these used channels:
● Measuring range 1 V to 5 V: wire the used and unused inputs of the same channel group
in parallel.
● Current measurement, 2-wire transducer: There are two options of wiring the channel
circuit.
a) Open unused inputs; channel group diagnostics disabled. If you were to enable
diagnostics, the analog module would trigger a single diagnostic interrupt, and light up its
SF LED.
b) Loading the unused input using a 1.5 kΩ to 3.3 kΩ resistor. This allows you to enable
diagnostics for this channel group.
● Current measurement 4 mA to 20 mA, 4-wire transducer: wire the unused inputs of the
same channel group in series.
Line continuity check for the 4 mA to 20 mA measuring range
If you configured a measuring range of 4 mA to 20 mA, and enabled the line continuity
check, the analog input module logs a wire-break event to diagnostics data when the current
drops below 1.185 mA.
The module also triggers a diagnostics interrupt if this function is enabled in the program.
A wire break can only be signaled by means of the lit SF LED and the diagnostic bytes must
be evaluated in the user program if diagnostics interrupts are disabled.
If you configured a measuring range of 4 mA to 20 mA, disabled the line continuity check,
and enabled diagnostic interrupts, the module triggers a diagnostic interrupt when the
underflow value is reached.
268
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.6 Analog input module SM 331; AI 8 x 13 Bit; (6ES7 331-1KF01-0AB0)
6.6
Analog input module SM 331; AI 8 x 13 Bit; (6ES7 331-1KF01-0AB0)
Order number
6ES7331-1KF01-0AB0
Properties
● 8 inputs in 8 channel groups
● Programmable resolution at each channel group (12 bits + sign)
● Programmable measurement type per channel group:
– Voltage
– Current
– Resistance
– Temperature
● Any measuring range per channel
Terminal assignment
The diagrams below show various wiring options. These examples apply to all channels
(channel 0 to 7).
Note
When connecting voltage and current transducers, make sure that the maximum permitted
common-mode voltage CMV of 2 V is not exceeded between the inputs. Prevent measuring
errors by interconnecting the corresponding M- terminals.
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
269
Analog modules
6.6 Analog input module SM 331; AI 8 x 13 Bit; (6ES7 331-1KF01-0AB0)
Wiring: Voltage measurement
8
,
,
6ದ
6ದ
0
0
0ದ
0ದ
8
8
,
,
6ದ
6ದ
0
0
0ದ
0ದ
8
8
&+
&+
&+
&+
8
,
,
6ದ
6ದ
0
0ದ
8
0
0ದ
8
,
,
6ದ
6ದ
0
0
0ದ
270
&+
9
&+
9
&+
&+
0ದ
0
Figure 6-10
Block diagram and wiring diagram
①
Voltage measurement (± 5 V, 10 V, 1 V to 5 V, 0 V to 10 V)
②
Voltage measurement (± 50 mV, ± 500 mV, ± 1 V)
③
Equipotential bonding
④
Internal supply
⑤
+ 5V from backplane bus
⑥
Logic and backplane bus interface
⑦
Electrical isolation
⑧
Multiplexer
⑨
Analog to Digital Converter (ADC)
⑩
Current source
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.6 Analog input module SM 331; AI 8 x 13 Bit; (6ES7 331-1KF01-0AB0)
Wiring: Voltage measurement (0 V to 10 V, 1 V to 5 V, ± 5 V, ± 10 V)
,
,
6ದ
6ದ
0
0
0ದ
0ದ
8
,
6ದ
0
8
&+
&+
0ದ &+
8
,
0ದ
,
,
6ದ
6ದ
0 6ದ
0 8
0
0ದ
8
8 &+
0
8
,
&+
6ದ
0ದ &+
8
&+
,
6ದ
0ದ 0
0ದ
/
0
85HI
&+
0
Figure 6-11
Block diagram and wiring diagram
①
Transducer with voltage output (0 V to 10 V, 1 V to 5 V, ± 5 V, ± 10 V)
②
Voltage measurement (note the input impedance defined in technical data)
③
Equipotential bonding
④
Internal supply
⑤
+ 5 V from backplane bus
⑥
Logic and backplane bus interface
⑦
Electrical isolation
⑧
Multiplexer
⑨
Analog to Digital Converter (ADC)
⑩
Current source
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
271
Analog modules
6.6 Analog input module SM 331; AI 8 x 13 Bit; (6ES7 331-1KF01-0AB0)
Wiring: 2-wire and 4-wire transducers for current measurement
8
,
,
6ದ
6ದ
0
0
0ದ
0ದ
8
8
,
,
6ದ
6ದ
0
0
0ದ
0ದ
8
8
&+
&+
&+
&+
8
,
,
6ದ
6ದ
0
0
0ದ
0ದ
8
8
,
,
6ದ
0
0ದ
6ದ
0
0ದ
'08
&+
/
0
/
'08
&+
0
&+
&+
Figure 6-12
272
Block diagram and wiring diagram
①
4-wire transducer (0/4 mA to 20 mA or ± 20 mA)
②
2-wire transducer (4 mA to 20 mA)
③
Equipotential bonding
④
Internal supply
⑤
+ 5 V from backplane bus
⑥
Logic and backplane bus interface
⑦
Electrical isolation
⑧
Multiplexer
⑨
Analog to Digital Converter (ADC)
⑩
Current source
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.6 Analog input module SM 331; AI 8 x 13 Bit; (6ES7 331-1KF01-0AB0)
Resistance measurement with 2-, 3- and 4-wire connection
8
,
,
6ದ
6ದ
0
0
0ದ
0ದ
8
8
,
,
6ದ
6ದ
0
0ದ
8
8
&+
&+
&+
&+
0
0ದ
8
,
,
6ದ
6ದ
0
0
0ದ
0ದ
8
8
,
,
6ದ
6ದ
0
0
0ದ
0ದ
Figure 6-13
&+
&+
&+
&+
Block diagram and wiring diagram
①
2-wire connection. Insert a bridge between M and S (no line resistance compensation).
②
3-wire connection
③
4-wire connection. The fourth line may not be wired (remains unused)
④
4-wire connection. The fourth line is routed to the terminal strip in the cabinet but is not wired.
⑤
Internal supply
⑥
+ 5 V from backplane bus
⑦
Logic and backplane bus interface
⑧
Electrical isolation
⑨
Multiplexer
⑩
Analog to Digital Converter (ADC)
⑪
Current source
Note
It is not necessary to interconnect the M- terminals when measuring resistances and
resistance thermometers. However, interconnection of the M- terminals may enhance
interference immunity.
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
273
Analog modules
6.6 Analog input module SM 331; AI 8 x 13 Bit; (6ES7 331-1KF01-0AB0)
Technical data
Technical data
Dimensions and weight
Dimensions W x H x D (mm)
40 x 125 x 117
Weight
approx. 250 g
Module-specific data
Isochronous mode supported
no
Number of inputs
• with resistive transducers
8
Cable length
• shielded
8
max. 200 m
max. 50 m at 50 mV
Voltages, currents, electrical potentials
Constant current for resistive transducers
• Resistance thermometer and resistance measurements 0 Ω
to 600 Ω
• Resistance measurement 0 kΩ to 6 kΩ
0.83 mA (pulsed)
Electrical isolation
• between channels and the backplane bus
• between channels
yes
Maximum potential difference
• between inputs (CMV)
• Between the inputs and Minternal (Viso)
2.0 VDC
Isolation test voltage
500 VDC
Current consumption
• from the backplane bus
max. 90 mA
Power loss of the module
typ. 0.4 W
0.25 mA (pulsed)
no
75 VDC / 60 VAC
Generation of analog values
Measuring principle
Integrating
Integration/conversion time/resolution (per channel)
•
programmable
yes
•
Noise suppression at interference frequency f1 in Hz
50
60
•
Integration time in ms
60
50
•
Basic conversion time, including the integration time in ms
66
55
Additional conversion time for resistance measurements in ms
66
55
13 bits
13 bits
•
Resolution in bits (including overshoot range)
Noise suppression, error limits
Noise suppression at f = n (f1 ± 1 %), (f1 = interference frequency) n=1.2
•
•
Series-mode interference (CMV < 2 V)
Seriesmode interference (peak value < rated input range)
Crosstalk between inputs
274
> 86 dB
> 40 dB
> 50 dB
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.6 Analog input module SM 331; AI 8 x 13 Bit; (6ES7 331-1KF01-0AB0)
Technical data
Operational error limit (across temperature range, relative to input range)
•
Voltage input
±5V
± 0.6 %
± 10 V
± 0.5 %
1 V to 5 V
0 V to 10 V
± 50 mV
± 500 mV
±1V
•
Current input
± 20 mA
± 0.5 %
0 mA to 20 mA
4 mA to 20 mA
•
•
Resistance
Resistance thermometers
0 kΩ to 6 kΩ
± 0.5 %
0 Ω to 600 Ω
± 0.5 %
Pt 100
± 1.2 K
Ni 100
Standard
Pt 100
±1K
Ni 100
Klima
Ni 1000,
±1K
LG-Ni 1000
Standard
Ni 1000
±1K
LG-Ni 1000
Klima
Basic error limit (operational error limit at 25 °C, relative to input range)
•
Voltage input
±5V
± 0.4 %
± 10 V
1 V to 5 V
0 V to 10 V
± 0.3 %
± 50 mV
± 500 mV
±1V
•
Current input
± 20 mA
± 0.3 %
0 mA to 20 mA
4 mA to 20 mA
•
Resistance
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
0 kΩ to 6 kΩ
± 0.3 %
0 Ω to 600 Ω
± 0.3 %
275
Analog modules
6.6 Analog input module SM 331; AI 8 x 13 Bit; (6ES7 331-1KF01-0AB0)
Technical data
• Resistance thermometers
±1K
Pt 100
Ni 100
Standard
± 0.8 K
Pt 100
Ni 100
Klima
± 0.8 K
Ni 1000
LG-Ni 1000
Standard
± 0.8 K
Ni 1000
LG-Ni
1000 Klima
Temperature error (relative to input range)
± 0.006 %/K / 0.006 K/K
Linearity error (relative to input range)
± 0.1 % / 0.1 K
Repetition accuracy (in transient state at 25 °C, relative to input
range)
± 0.1 % / ± 0.1 K
Status, interrupts, diagnostics
Interrupts
none
Diagnostics functions
none
Sensor selection data
Input ranges (rated values) / input impedance
•
Voltage
100 kΩ
± 50 mV
± 500 mV
±1V
±5V
± 10 V
1 V to 5 V
0 V to 10 V
•
Current
50 Ω
± 20 mA
0 mA to 20 mA
4 mA to 20 mA
•
Resistance
0 kΩ to 6 kΩ
100 MΩ
0 Ω to 600 Ω
•
Resistance thermometers
100 MΩ
Pt 100
Ni 100
Ni 1000
LG-Ni
1000
Standard / Klima
Maximum voltage at voltage input U+ (destruction limit)
max. 30 V, continuous
Maximum voltage at voltage inputs M+, M-, S- (destruction limit)
max. 12 V continuous; 30 V for a duration of max. 1 s
Maximum current at current input I+ (destruction limit)
40 mA
276
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.6 Analog input module SM 331; AI 8 x 13 Bit; (6ES7 331-1KF01-0AB0)
Technical data
Wiring of the signal sensors
•
•
•
for voltage measurement
for current measurement
– as 2-wire transducer
– as 4-wire transducer
using a 40pin front connector
supported
supported, with external supply
supported
for resistance measurement
with 2-wire connection
supported
with 3-wire connection
supported
with 4-wire connection
supported
Characteristics linearization
programmable
•
for resistance thermometers
Pt 100 Standard / Klima
Ni 100 Standard / Klima
Ni 1000 Standard / Klima
LG-Ni 1000 Standard / Klima
•
Technical unit of temperature measurement
6.6.1
Degrees Centigrade, degrees Fahrenheit, Kelvin
Measurement types and ranges
Introduction
The measurement type and range is configured at the "measuring range" parameter in
STEP 7.
Selected type of measurement
Measuring range
Voltage
± 50 mV
V:
± 500 mV
±1V
±5V
1 V to 5 V
0 V to 10 V
± 10 V
Current I
0 mA to 20 mA
4 mA to 20 mA
± 20 mA
resistance (4-wire connection)
6Ω
R-4L
600 Ω
Thermal resistance
Pt 100 Klima / Standard
RTD-4L (linear, 4-wire connection)
Ni 100 Klima / Standard
(temperature measurement)
Ni 1000 Klima / Standard
LG-Ni 1000 Klima / Standard
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
277
Analog modules
6.6 Analog input module SM 331; AI 8 x 13 Bit; (6ES7 331-1KF01-0AB0)
6.6.2
Programmable parameters
Introduction
For general information on programming analog modules, refer to the chapter Programming
analog modules.
Parameters
Table 6-17
Parameters of SM 331; AI 8 x 13 Bit
Parameters
Measurement
• Measurement type
•
Measuring range
•
Temperature coefficient
•
•
Noise suppression
Temperature unit
Range of values
Default
disabled
Voltage V
Current I
Resistance R
RTD thermoelectric resistance
Voltage
± 50 mV; ± 500 mV; ±1 V;
1 V to 5 V
± 5 V; 0 V to 10 V; ± 10 V
Current
0 mA to 20 mA; 4 mA to 20 mA; ± 20 mA
V
Resistance
0 Ω to 600 Ω; 0 kΩ to 6 kΩ
Thermoelectric resistance (linear)
Pt 100 Klima / Standard
Ni 100 Klima / Standard
Ni 1000 Klima / Standard
LG-Ni 1000 Klima / Standard
Pt 100
0.003850 Ω/Ω/ °C (IST-90)
Ni 100 / Ni 1000
0.006180 Ω/Ω/ °C
LG-Ni 1000
0.005000 Ω/Ω/ °C
50 Hz; 60 Hz
Degrees Centigrade, degrees Fahrenheit,
Kelvin*
600 Ω
Parameter
type
Scope
dynamic
Channel
± 10 V
± 20 mA
Pt 100
Standard
0,003850
50 Hz
degrees
Centigrade
Module
* only Pt 100 Standard, Ni 100 Standard, Ni 1000 Standard, LG-Ni 1000 Standard
See also
Programming analog modules (Page 225)
278
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.7 Analog input module SM 331; AI 8 x 12 bit; (6ES7 331-7KF02-0AB0)
6.6.3
Additional information on SM 331; AI 8 x 13 Bit
Unused channels
Set the "disabled" value at the "measurement type" parameter for unused channels. This
setting reduces module cycle times.
Interconnect the M- terminals of unused channels.
6.7
Analog input module SM 331; AI 8 x 12 bit; (6ES7 331-7KF02-0AB0)
Order number
6ES7331-7KF02-0AB0
Properties
● 8 inputs in 4 channel groups
● Programmable measurement type at each channel group
– Voltage
– Current
– Resistance
– Temperature
● Programmable resolution at each channel group (9/12/14 bits + sign)
● Any measuring range selection per channel group
● Programmable diagnostics and diagnostics interrupt
● Programmable limit value monitoring for 2 channels
● Programmable process interrupt when limit is exceeded
● Electrically isolated to CPU and load voltage (not for 2-wire transducers)
Resolution
The measured value resolution is directly proportional to the selected integration time, that
is, the measured value resolution increases in proportion to length of the integration time at
the analog input channel.
Diagnostics
For information on diagnostics messages consolidated in the "group diagnostics" parameter,
refer to the table Diagnostics messages of analog input modules.
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
279
Analog modules
6.7 Analog input module SM 331; AI 8 x 12 bit; (6ES7 331-7KF02-0AB0)
Process interrupts
Process interrupts for channel groups 0 and 1 can be programmed in STEP 7. However, set
a process interrupt only for the first channel of a channel group, that is, either at channel 0,
or at channel 2
Terminal assignment
The diagrams below show various wiring options The input impedance depends on the
setting of the measuring range module, see table Measurement types and ranges.
Wiring: Voltage measurement
/
&XUUHQW 0XOWLSOH 0HDVXULQJ
VRXUFH [HU
UDQJHPRGXOHV
,QWHUQDO
3RZHUVXSSO\
LQW
7 FRPS
([WFRPSHQVDWLRQ
0 0 ದ
0
0ದ
0
0ದ
0 0 ದ
&RPS
9
&+
9
&+
9
&+
9
&+
QRQH
$'&
(OHFWULFDO
LVRODWLRQ
%DFNSODQHEXV
,QWHUIDFH
6)
0$1$
0
0 ದ
0 0 ದ
0 0 0
0ದ
'&
9
(TXLSRWHQWLDO
ERQGLQJ
9
&+
9
&+
9
9
&+
)XQFWLRQDO
HDUWK
&+
0
Figure 6-14
Block diagram and wiring diagram
Measuring range module settings
Measuring range
Measuring range module setting
± 80 mV
A
± 250 mV
± 500 mV
± 1000 mV
± 2.5 V
B
±5V
1 V to 5 V
± 10 V
280
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.7 Analog input module SM 331; AI 8 x 12 bit; (6ES7 331-7KF02-0AB0)
Wiring: 2-wire and 4-wire transducers for current measurement
/
&XUUHQW 0XOWL 0HDVXULQJ
VRXUFH SOH[HU UDQJHPRGXOHV
,QWHUQDO
VXSSO\
LQW
7 FRPS
H[WFRPSHQVDWLRQ
'08
0
0ದ
0
0ದ
0
0ದ
0
0ದ
&203
0$1$
0
0ದ
0
0ದ
0
0ದ
0
0ದ
&+
&+
&+
'&
9
1RQH
$'&
(OHFWULFDO
LVRODWLRQ
%DFNSODQHEXV
FRQQHFWLRQ
6)
'08
/
0
(TXLSRWHQWLDO
ERQGLQJ
&+
/
0
&+
/
0
0
Figure 6-15
&+
/
0
&+
)XQFWLRQDO
JURXQG
&+
Block diagram and wiring diagram
Note
The interconnection between MANA and M- (terminals 11, 13, 15, 17, 19) is not required when
using grounded 4-wire transducers with non-isolated supply.
Measuring range module settings
Measuring range
Measuring range module setting
2-wire transducer
4 mA to 20 mA
D
4-wire transducer
± 3.2 mA
C
± 10 mA
0 mA to 20 mA
4 mA to 20 mA
± 20 mA
Caution
Any voltage measurement will destroy the measuring range module if "current" measuring
mode is set.
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
281
Analog modules
6.7 Analog input module SM 331; AI 8 x 12 bit; (6ES7 331-7KF02-0AB0)
Wiring: 2-, 3- and 4-wire connection of resistance transducers or thermoresistors
/
&XUUHQW 0XOWL 0HDVXULQJ
VRXUFH SOH[HU UDQJHPRGXOHV
,QWHUQDO
VXSSO\
LQW
7 FRPS
H[WFRPSHQVDWLRQ
0
0
,&
,&ದ
0
0ದ
,&
,&ದ
&RPS
&RPS0$1$
0
0ದ
,&
,&ದ
0
0ದ
,&
,&ದ
'&
9
&+
&+
&+
(TXLSRWHQWLDO
ERQGLQJ
&+
1RQH
$'&
(OHFWULFDO
LVRODWLRQ
%DFNSODQHEXV
FRQQHFWLRQ
6)
&+
)XQFWLRQDO
JURXQG
&+
&+
&+
0
Figure 6-16
Block diagram and wiring diagram
①
4-wire connection
②
3-wire connection
③
2-wire connection
Measuring range module settings
Measuring range
Measuring range module
setting
150 Ω
A
300 Ω
600 Ω
Thermoresistor
(linear, 4-wire connection) (temperature
measurement)
RTD-4L
282
A
Pt 100 Klima
Ni 100 Klima
Pt 100 Standard
Ni 100 Standard
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.7 Analog input module SM 331; AI 8 x 12 bit; (6ES7 331-7KF02-0AB0)
Note
• "Resistance measurement" is only available at one channel per group. The "2nd" channel
of the group is used accordingly for current measuring mode (IC). The "1st" channel of the
group returns the measured value. The "2nd" channel of the group is assigned the default
overflow value "7FFFH."
• There is no compensation for power resistors for "2- and 3-wire connections".
Wiring: Thermocouples with external compensation
Insert a bridge between Comp+ and MANA when using the internal compensation.
/
&XUUHQW 0XOWL 0HDVXULQJ
VRXUFH SOH[HU UDQJHPRGXOHV
,QWHUQDO
VXSSO\
LQW
7 FRPS
H[WFRPSHQVDWLRQ
0
0ದ
0
0ದ
0
0ದ
0
0ದ
&+
&+
&203
$'&
(OHFWULFDO
LVRODWLRQ
6)
0$1$
0
0ದ
0
0ದ
0
0
0
0ದ
0
Figure 6-17
&+
&RPS
1RQH
%DFNSODQHEXV
FRQQHFWLRQ
&+
'&
9
(TXLSRWHQWLDO
ERQGLQJ
&+
&+
&+
)XQFWLRQDO
JURXQG
&+
Block diagram and wiring diagram
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
283
Analog modules
6.7 Analog input module SM 331; AI 8 x 12 bit; (6ES7 331-7KF02-0AB0)
Measuring range module settings
Measuring range
Measuring range module setting
Thermocouple TC-I
Type N [NiCrSi-NiSi]
(internal comparison) (thermal
voltage measurement)
Type E [NiCr-CuNi]
Linearization is ignored
Type K [NiCr-Ni]
Thermocouple TC-E
(external comparison)
(thermovoltage measurement)
A
Type J [Fe-CuNi]
Type L [Fe-CuNi]
Linearization is ignored
Thermocouple
(linear, internal comparison)
(temperature measurement) TCIL
Thermocouple
(linear, external comparison)
(temperature measurement) TCEL
A
Type N [NiCrSi-NiSi]
Type E [NiCr-CuNi]
Type J [Fe-CuNi]
Type K [NiCr-Ni]
Type L [Fe-CuNi]
Note
• An interconnection of M- and MANA is not required when using grounded thermocouples.
• Interconnect M- and MANA when using non-grounded thermocouples
Technical data
Technical data
Dimensions and weight
Dimensions W x H x D (mm)
40 x 125 x 117
Weight
approx. 250 g
Module-specific data
Isochronous mode supported
no
Number of inputs
• with resistive transducers
8
Cable length
• shielded
max. 200 m
4
max. 50 m at 80 mV and with thermocouples
Voltages, currents, electrical potentials
Rated electronics supply voltage L +
• Reverse polarity protection
24 VDC
yes
Transducer power supply
• Supply current
• short circuit-proof
max. 60 mA (per channel)
Constant current for resistive transducers
typ. 1.67 mA (pulsed)
284
yes
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.7 Analog input module SM 331; AI 8 x 12 bit; (6ES7 331-7KF02-0AB0)
Technical data
Electrical isolation
• between channels and the backplane bus
• between channels and electronics power supply
– not for 2-wire transducers
Maximum potential difference
• between inputs and MANA (CMV)
– at signal = 0 V
• between inputs (CMV)
• between MANA and Minternal (Viso)
yes
yes
typ. DC 2.5 V (> DC 2.3V)
typ. DC 2.5 V (> DC 2.3V)
75 VDC / 60 VAC
Isolation test voltage
500 VDC
Current consumption
• from the backplane bus
• from load voltage L+
max. 50 mA
Power loss of the module
typ. 1 W
Generation of analog values
Measuring principle
Integration/conversion time/resolution (per channel)
• programmable
• Integration time in ms
• Basic conversion time, including the integration time in ms
Additional conversion time for resistance measurement, in ms
or
max. 30 mA (without 2-wire transducer)
Integrating
yes
2.5
3
1
162/3
17
1
additional conversion time for wire-break monitoring in ms
10
10
or
additional conversion time for resistance measurements and
16
16
wire-break monitoring in ms
• Resolution in bits (including overshoot range)
9 bits
12 bits
• Noise suppression at interference frequency f1 in Hz
400
60
• Basic execution time of the module in ms (all channels
24
136
enabled)
Measured value smoothing
none
Noise suppression, error limits
Noise suppression at F = n (f1 ± 1 %), (f1 = interference frequency)
• Series-mode interference (CMV < 2.5 V)
> 70 dB
• Seriesmode interference (peak value < rated input range) > 40 dB
Crosstalk between inputs
> 50 dB
Operational error limit (across temperature range, relative to input range)
• Voltage input
80 mV
250 mV to 1000 mV
2.5 V to 10 V
• Current input
3.2 mA to 20 mA
• Resistance
150 Ω; 300 Ω; 600 Ω
• Thermocouple
Types E, N, J, K, L
• Resistance thermometer
Pt 100/Ni 100
Pt 100 Klima
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
20
22
1
100
102
1
10
10
16
16
12 bits
50
176
14 bits
10
816
±1%
± 0.6 %
± 0.8 %
± 0.7 %
± 0. 7 %
± 1. 1 %
± 0. 7 %
± 0. 8 %
285
Analog modules
6.7 Analog input module SM 331; AI 8 x 12 bit; (6ES7 331-7KF02-0AB0)
Technical data
Basic error limit (operational error limit at 25 °C, relative to input range)
•
Voltage input
80 mV
± 0.7 %
250 mV to 1000 mV
± 0.4 %
2.5 V to 10 V
± 0.6 %
± 0.5 %
•
Current input
3.2 mA to 20 mA
•
Resistance
150 Ω; 300 Ω; 600 Ω
± 0.5 %
•
Thermocouple
Types E, N, J, K, L
± 0.7 %
•
Resistance thermometer
Pt 100/Ni 100
± 0.5 %
Pt 100 Klima
± 0.6 %
Temperature error (relative to input range)
± 0.005 %/K
Linearity error (relative to input range)
± 0.05 %
Repetition accuracy (in transient state at 25 °C, relative to
input range)
± 0.05 %
Temperature error of internal compensation
±1%
Status, interrupts, diagnostics
Interrupts
• Limit interrupt
• Diagnostics interrupt
programmable
Diagnostics functions
• Group error display
• Reading diagnostics information
programmable
Channels 0 and 2
programmable
red LED (SF)
supported
Sensor selection data
Input ranges (rated values) / input impedance
•
•
•
Voltage
Current
Resistance
± 80 mV
10 MΩ
± 250 mV
10 MΩ
± 500 mV
10 MΩ
± 1000 mV
10 MΩ
± 2.5 V
/100 kΩ
±5V
100 kΩ
1 V to 5 V
100 kΩ
± 10 V
100 kΩ
± 3.2 mA
25 Ω
± 10 mA
25 Ω
± 20 mA
25 Ω
0 mA to 20 mA
25 Ω
4 mA to 20 mA
25 Ω
150 Ω
10 MΩ
300 Ω
10 MΩ
600 Ω
10 MΩ
•
Thermocouples
Types E, N, J, K, L
10 MΩ
•
Resistance thermometers
Pt 100, Ni 100
10 MΩ
Maximum voltage at voltage input (destruction limit)
max. 20 V, continuous
75 V for the duration of max. 1 s (duty factor 1:20)
286
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.7 Analog input module SM 331; AI 8 x 12 bit; (6ES7 331-7KF02-0AB0)
Technical data
Maximum current at current input (destruction limit)
40 mA
Wiring of the signal sensors
using a 20-pin front connector
•
for voltage measurement
•
for current measurement
supported
as 2-wire transducer
supported
as 4-wire transducer
supported
•
for resistance measurement
with 2-wire connection
possible, no compensation for line resistor
with 3-wire connection
supported
with 4-wire connection
supported
•
Load of the 2-wire transducer
Characteristics linearization
• for thermocouples
•
for resistance thermometers
max. 820 Ω
programmable
Types E, N, J, K, L
Pt 100 (Standard and Klima range)
Ni 100 (Standard and Klima range)
Temperature compensation
• Internal temperature compensation
programmable
supported
•
External temperature compensation with compensating
box
supported
•
Compensation for 0 °C reference junction temperature
supported
•
Technical unit of temperature measurement
degrees Centigrade
6.7.1
Measurement types and ranges
Introduction
Module SM 331; AI 8 x 12 Bit has measuring range modules
The measurement type and range is configured at the "measuring range" parameter in STEP
7.
The default setting of the module is "voltage" measurement with "± 10V" range. You can use
these default settings without having to program the SM 331; AI 8 x 12 Bit in STEP 7.
Measuring range modules
You may have to change the position of the measuring range modules to suit the
measurement type and range (see the chapter Setting the measuring types and ranges of
analog input channels). The necessary settings are also available on the module's imprint.
Mark the position of the measuring range module on the front door (see figure).
5DQJH
$ %
& '
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
287
Analog modules
6.7 Analog input module SM 331; AI 8 x 12 bit; (6ES7 331-7KF02-0AB0)
Measurement types and ranges
Table 6-18
Measurement types and ranges
Selected type of measurement
Measuring range
(type of sensor)
Measuring range module
settings
Voltage
V
± 80 mV
A
± 250 mV
± 500 mV
± 1000 mV
± 2.5 V
B
±5V
1 V to 5 V
± 10 V
Thermocouple
TC-I
Type N [NiCrSi-NiSi]
(internal comparison) (thermal voltage
measurement)
Type J [Fe-CuNi]
Linearization is ignored
Thermocouple
TC-E
A
Type E [NiCr-CuNi]
Type K [NiCr-Ni]
Type L [Fe-CuNi]
(external comparison) (thermovoltage
measurement)
Linearization is ignored
Thermocouple
(linear, internal comparison)
(temperature measurement) TC-IL
Thermocouple
(linear, external comparison)
(temperature measurement) TC-EL
Current (2-wire transducer)
Type N [NiCrSi-NiSi]
A
Type E [NiCr-CuNi]
Type J [Fe-CuNi]
Type K [NiCr-Ni]
Type L [Fe-CuNi]
4 mA to 20 mA
D
± 3.2 mA
C
2DMU
Current (4-wire transducer)
4DMU
± 10 mA
0 mA to 20 mA
4 mA to 20 mA
± 20 mA
Resistance (4-wire connection)
R-4L
150 Ω
A
300 Ω
600 Ω
Thermoresistor
(linear, 4-wire connection) (temperature
measurement)
RTD-4L
288
Pt 100 Klima
A
Ni 100 Klima
Pt 100 Standard
Ni 100 Standard
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.7 Analog input module SM 331; AI 8 x 12 bit; (6ES7 331-7KF02-0AB0)
Channel groups
The channels of SM 331; AI 8 x 12 Bit are arranged in four groups of two channels. You can
assign parameters only to one channel group.
SM 331; AI 8 x 12 Bit is equipped with one measuring range module per channel group.
The table below shows the relevant configuration of channel groups. The channel group
number is required to program SFC parameters in the user program.
Table 6-19
Assignment of SM 331; AI 8x12 bit channels to channel groups
Channels ...
...form one channel group each
Channel 0
Channel group 0
Channel 1
Channel 2
Channel group 1
Channel 3
Channel 4
Channel group 2
Channel 5
Channel 6
Channel group 3
Channel 7
See also
Programming analog modules (Page 225)
Diagnostics messages of analog input modules (Page 227)
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
289
Analog modules
6.7 Analog input module SM 331; AI 8 x 12 bit; (6ES7 331-7KF02-0AB0)
6.7.2
Programmable parameters
Introduction
For information on programming analog modules, refer to the chapter Programming analog
modules.
Parameters
Table 6-20
Overview of the parameters for SM 331; AI 8 x 12 Bit
Parameters
Range of values
Default
Parameter
type
Scope
Enable
• Diagnostics interrupt
• Process interrupt when
limit exceeded
yes/no
no
dynamic
Module
yes/no
no
-
dynamic
Channel
yes/no
no
static
yes/no
no
Channel
group
disabled
V
dynamic
Channel or
channel
group
Process interrupt trigger
• High limit
• Low limit
Diagnostics
• Group diagnostics
• with line continuity check
Measurement
• Measurement type
May be restricted by the measuring range
from 32511 to - 32512
from - 32512 to 32511
Voltage V
4DMU current (4-wire transducer)
2DMU current (2-wire transducer)
R-4L resistance (4-wire connection)
RTD-4L thermoresistor
(linear, 4-wire connection)
TC-I thermocouple
(internal comparison)
TC-E thermocouple
(external comparison)
TC-IL thermocouple
(internal comparison)
TC-EL thermocouple
(linear, external comparison)
•
Measuring range
See the table Measurement types and
± 10 V
•
Noise suppression
400 Hz; 60 Hz; 50 Hz; 10 Hz
50 Hz
290
ranges
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.7 Analog input module SM 331; AI 8 x 12 bit; (6ES7 331-7KF02-0AB0)
6.7.3
Additional information on SM 331; AI 8 x 12 Bit
Unused channels
As certain programmed inputs may remain unused due to the channel group configuration,
make allowances for the special features of these inputs outlined below in order to be able to
use the diagnostics functions at these used channels:
● Voltage measurement (except 1 V to 5V) and for thermocouples: Short-circuit unused
channels and connect these with MANA. This optimizes interference immunity of the
analog input module. Set the "disabled" value at the "measurement type" parameter for
unused channels. This setting reduces module cycle times. Also short-circuit the COMP
input if this is not used.
● Measuring range 1 V to 5 V: wire the used and unused inputs of the same channel group
in parallel.
● Current measurement, 2-wire transducer: There are two options of wiring the channel
circuit.
a) Open unused input; channel group diagnostics disabled. If you were to enable
diagnostics, the analog module would trigger a single diagnostic interrupt, and light up its
SF LED.
b) Loading the unused input using a 1.5 kΩ to 3.3 kΩ resistor. This allows you to enable
diagnostics for this channel group.
● Current measurement 4 mA to 20 mA, 4-wire transducer: wire the unused inputs of the
same channel group in series.
All channels deactivated
If you disable all input channels of the module and enable diagnostics at the parameters of
SM 331; AI 8 x 12 Bit, the module does not report "external auxiliary voltage missing."
Line continuity check for the 4 mA to 20 mA measuring range
If you configured a measuring range of 4 mA to 20 mA, and enabled the line continuity
check, the analog input module logs a wire-break event to diagnostics data when the current
drops below 3,6 mA.
The module also triggers a diagnostics interrupt if this function is enabled in the program.
A wire break can only be signaled by means of the lit SF LED and the diagnostic bytes must
be evaluated in the user program if diagnostics interrupts are disabled.
If you configured a measuring range of 4 mA to 20 mA, disabled the line continuity check,
and enabled diagnostic interrupts, the module triggers a diagnostic interrupt when the
underflow value is reached.
Line continuity check
The line continuity check is designed only for temperature measurements (thermocouples
and thermoresistors.)
See also
Representation of the values for analog input channels (Page 196)
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
291
Analog modules
6.8 Analog input module SM 331; AI 2 x 12 Bit; (6ES7331-7KB02-0AB0)
6.8
Analog input module SM 331; AI 2 x 12 Bit; (6ES7331-7KB02-0AB0)
Order number: : "Standard module"
6ES7331-7KB02-0AB0
Order number: "SIPLUS S7-300 module"
6AG1331-7KB02-2AB0
Properties
● Two inputs in one channel group
● Programmable measurement type for each channel group
– Voltage
– Current
– Resistance
– Temperature
● Programmable resolution at each channel group (9/12/14 bits + sign)
● Any measuring range per channel group
● Programmable diagnostics and diagnostics interrupt
● Programmable limit value monitoring for one channel
● Programmable process interrupt when limit is exceeded
● Electrically isolated to CPU and load voltage (not for 2DMU)
Resolution
The measured value resolution is directly proportional to the selected integration time, that
is, the measured value resolution increases in proportion to length of the integration time at
the analog input channel.
Diagnostics
For information on diagnostics messages consolidated in the "group diagnostics" parameter,
refer to the table Diagnostics messages of analog input modules.
Process interrupts
Process interrupts for channel groups can be programmed in STEP 7. However, set a
process interrupt only for the first channel of a channel group, that is channel 0.
292
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.8 Analog input module SM 331; AI 2 x 12 Bit; (6ES7331-7KB02-0AB0)
Terminal assignment
The diagrams below show various wiring options The input impedance depends on
programmed measuring range.
Wiring: Voltage measurement
&XUUHQW 0XOWL 0HDVXULQJ
VRXUFH SOH[HU UDQJHPRGXOHV ,QWHUQDO
VXSSO\
/
0
0ದ
0
0ದ
,QWHUQDO
7 FRPSHQVDWLRQ
([WHUQDOFRPSHQVDWLRQ
9
&+
9
&+
&RPS
1RQH
&RPSದ0$1$
$'&
'&
9
(TXLSRWHQWLDO
ERQGLQJ
(OHFWULFDO
LVRODWLRQ
%DFNSODQHEXV
FRQQHFWLRQ
6)
0
Figure 6-18
)XQFWLRQDO
JURXQG
Wiring and block diagrams
Measuring range module settings
Measuring range
Measuring range module setting
± 80 mV
A
± 250 mV
± 500 mV
± 1000 mV
± 2.5 V
B
±5V
1 V to 5 V
± 10 V
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
293
Analog modules
6.8 Analog input module SM 331; AI 2 x 12 Bit; (6ES7331-7KB02-0AB0)
Wiring: Thermocouple with external compensation
Insert a bridge between Comp+ and MANA when using the internal compensation.
&XUUHQW 0XOWL 0HDVXULQJ
VRXUFH SOH[HU UDQJHPRGXOHV ,QWHUQDO
VXSSO\
/
0
0ದ
0
0ದ
&+
&+
,QWHUQDO
7 FRPSHQVDWLRQ
([WHUQDOFRPSHQVDWLRQ
&RPS
1RQH
&RPS
&RPSದ0$1$
$'&
'&
9
(TXLSRWHQWLDO
ERQGLQJ
(OHFWULFDO
LVRODWLRQ
%DFNSODQHEXV
FRQQHFWLRQ
6)
0
Figure 6-19
)XQFWLRQDOJURXQG
Wiring and block diagrams
Measuring range module settings
Measuring range
Measuring range module setting
TC-I: Thermocouple
Type N [NiCrSi-NiSi]
(internal comparison) (thermal voltage
measurement)
Type E [NiCr-CuNi]
TC-E: Thermocouples
Type K [NiCr-Ni]
A
Type J [Fe-CuNi]
(external comparison)
(thermal voltage measurement)
Type L [Fe-CuNi]
TC-IL: Thermocouples (linear, internal
comparison)
(temperature measurement)
Type N [NiCrSi-NiSi]
A
Type E [NiCr-CuNi]
Type J [Fe-CuNi]
Type K [NiCr-Ni]
Type L [Fe-CuNi]
TC-EL: Thermocouples
Type N [NiCrSi-NiSi]
(linear, external comparison)
(temperature measurement)
Type E [NiCr-CuNi]
A
Type J [Fe-CuNi]
Type K [NiCr-Ni]
Type L [Fe-CuNi]
294
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.8 Analog input module SM 331; AI 2 x 12 Bit; (6ES7331-7KB02-0AB0)
Wiring: 2-, 3- and 4-wire connection of resistance transducers or thermoresistors
/
&XUUHQW 0XOWL 0HDVXULQJ
VRXUFH SOH[HU UDQJHPRGXOHV ,QWHUQDO
VXSSO\
0
0ದ
,&
,&ದ
&+
&+
,QWHUQDO
7 FRPSHQVDWLRQ
([WHUQDOFRPSHQVDWLRQ
&RPS
'&
9
1RQH
&RPSದ0$1$
$'&
(TXLSRWHQWLDO
ERQGLQJ
(OHFWULFDO
LVRODWLRQ
%DFNSODQHEXV
FRQQHFWLRQ
6)
)XQFWLRQDO
JURXQG
0
Figure 6-20
Wiring and block diagrams
①
4-wire connection, no compensation for line impedance
②
3-wire connection, no compensation for line impedance
③
2-wire connection
Measuring range module settings
Measuring range
Measuring range module setting
150 Ω
A
300 Ω
600 Ω
RTD-4L: Thermal resistance
Pt 100 Klima
(linear, 4-wire connection) (temperature
measurement)
Ni 100 Klima
A
Pt 100 Standard
Ni 100 Standard
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
295
Analog modules
6.8 Analog input module SM 331; AI 2 x 12 Bit; (6ES7331-7KB02-0AB0)
Note
"Resistance measurement" is only available at one channel per group. The "2nd" channel of
the group is used accordingly for current measuring mode (IC).
The "1st" returns the measured value. The "2nd" channel of the group is assigned the default
overflow value "7FFFH."
Wiring: 2-wire and 4-wire transducers for current measurement
&XUUHQW 0XOWL
VRXUFH SOH[HU
,QWHUQDO
VXSSO\
0HDVXULQJ
UDQJHPRGXOHV /
'08
0
0ದ
0
0ದ
,QWHUQDO
7 FRPSHQVDWLRQ
/
0
&+
/
0
&+
([WHUQDOFRPSHQVDWLRQ
'08
&RPS
1RQH
&RPSದ0$1$
'&
9
(TXLSRWHQWLDO
ERQGLQJ
$'&
(OHFWULFDO
LVRODWLRQ
%DFNSODQHEXV
FRQQHFWLRQ
6)
)XQFWLRQDO
JURXQG
0
Figure 6-21
Wiring and block diagrams
Measuring range module settings
Measuring range
Measuring range module setting
2-wire transducer
4 mA to 20 mA
D
4-wire transducer
± 3.2 mA
C
± 10 mA
0 mA to 20 mA
4 mA to 20 mA
± 20 mA
296
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.8 Analog input module SM 331; AI 2 x 12 Bit; (6ES7331-7KB02-0AB0)
Caution
Any voltage measurement will destroy the measuring range module if "current" measuring
mode is set at this module!
Technical data
Technical data
Dimensions and weight
Dimensions W x H x D (mm)
40 x 125 x 117
Weight
approx. 250 g
Module-specific data
Isochronous mode supported
no
Number of inputs
• with resistive transducers
2
Cable length
• shielded
max. 200 m
Voltages, currents, electrical potentials
Rated electronics supply voltage L +
• Reverse polarity protection
Transducer power supply
• Supply current
• short circuit-proof
Constant current for resistive transducers
Electrical isolation
• between channels and the backplane bus
• between channels and electronics power supply
– not for 2-wire transducers
Maximum potential difference
• between inputs and MANA (CMV)
– at signal = 0 V
• between inputs (CMV)
• between MANA and Minternal (Viso)
Isolation test voltage
Current consumption
• from the backplane bus
• from load voltage L+
Power loss of the module
Generation of analog values
Measuring principle
Integration/conversion time/resolution (per channel)
• programmable
• Integration time in ms
• Basic conversion time, including the integration time in ms
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
1
max. 50 m at 80 mV and with thermocouples
24 VDC
yes
max. 60 mA (per channel)
yes
typ. 1.67 mA (pulsed)
yes
yes
typ. DC 2.5 V (> DC 2.3V)
typ. DC 2.5V (> DC 2.3V)
75 VDC / 60 VAC
500 VDC
max. 50 mA
max. 30 mA (without 2-wire transducer)
typ. 1.3 W
Integrating
yes
2.5
6
162/3
34
20
44
100
204
297
Analog modules
6.8 Analog input module SM 331; AI 2 x 12 Bit; (6ES7331-7KB02-0AB0)
Technical data
Additional conversion time for resistance measurement, in ms
or
1
1
1
1
additional conversion time for wire-break monitoring in ms
10
10
10
10
16
16
16
16
or
additional conversion time for resistance measurements and
wire-break monitoring in ms
•
Resolution in bits (including overshoot range)
9 bits
12 bits
12 bits
14 bits
•
Noise suppression at interference frequency f1 in Hz
400
60
50
10
•
Basic execution time of the module in ms (all channels
enabled)
12
68
88
408
Measured value smoothing
none
Noise suppression, error limits
Noise suppression at f = n (f1 ± 1%), (f1 = interference frequency) n=1.2...
•
•
Series-mode interference (CMV < 2.5 V)
Seriesmode interference (peak value < rated input range)
Crosstalk between inputs
> 70 dB
> 40 dB
> 50 dB
Operational error limit (across temperature range, relative to input range)
•
Voltage input
80 mV
±1%
250 mV to 1000 mV
± 0.6 %
2.5 V to 10 V
± 0.8 %
•
Current input
3.2 mA to 20 mA
± 0.7 %
•
Resistance
150 Ω; 300 Ω; 600 Ω
± 0. 7 %
•
Thermocouple
Types E, N, J, K, L
± 1. 1 %
•
Resistance thermometer
Pt 100/Ni 100
± 0. 7 %
Pt 100 Klima
± 0. 8 %
Basic error limit (operational error limit at 25 °C, relative to input range)
•
Voltage input
80 mV
± 0.6 %
250 mV to 1000 mV
± 0.4 %
2.5 V to 10 V
± 0.6 %
± 0.5 %
•
Current input
3.2 mA to 20 mA
•
Resistance
150 Ω; 300 Ω; 600 Ω
± 0.5 %
•
Thermocouple
Types E, N, J, K, L
± 0.7 %
•
Resistance thermometer
Pt 100/Ni 100
± 0.5 %
Pt 100 Klima
± 0.6 %
Temperature error (relative to input range)
± 0.005 %/K
Linearity error (relative to input range)
± 0.05 %
Repetition accuracy (in transient state at 25 °C, relative to
input range)
± 0.05 %
Temperature error of internal compensation
±1%
Status, interrupts, diagnostics
Interrupts
• Limit interrupt
• Diagnostics interrupt
298
programmable
Channels 0
programmable
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.8 Analog input module SM 331; AI 2 x 12 Bit; (6ES7331-7KB02-0AB0)
Technical data
Diagnostics functions
• Group error display
• Reading diagnostics information
Sensor selection data
Input ranges (rated values) / input impedance
• Voltage
•
Current
•
Resistance
• Thermocouples
• Resistance thermometer
Maximum voltage at voltage input (destruction limit)
Maximum current at current input (destruction limit)
Wiring of the signal sensors
• for voltage measurement
• for current measurement
as 2-ire transducer
as 4-wire transducer
•
for resistance measurement
with 2-wire connection
with 3-wire connection
with 4-wire connection
• Load of the 2-wire transducer
Characteristics linearization
• for thermocouples
• for resistance thermometers
Temperature compensation
• Internal temperature compensation
• External temperature compensation with compensating
box
• Compensation for 0 °C reference junction temperature
• Technical unit of temperature measurement
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
programmable
red LED (SF)
supported
± 80 mV
10 MΩ
± 250 mV
10 MΩ
± 500 mV
10 MΩ
± 1000 mV
10 MΩ
± 2.5 V
100 kΩ
±5V
100 kΩ
1 V to 5 V
100 kΩ
± 10 V
100 kΩ
± 3.2 mA
25 Ω
± 10 mA
25 Ω
± 20 mA
25 Ω
0 mA to 20 mA
25 Ω
4 mA to 20 mA
25 Ω
10 MΩ
150 Ω
10 ΜΩ
300 Ω
10 ΜΩ
600 Ω
Types E, N, J, K, L
10 ΜΩ
Pt 100, Ni 100
10 ΜΩ
max. 20 V continuous; 75 V for the duration of max. 1 s
(duty factor 1:20)
40 mA
using a 20-pin front connector
supported
supported
supported
supported
supported
supported
max. 820 Ω
programmable
Types E, N, J, K, L
Pt 100 (Standard and Klima range)
Ni 100 (Standard and Klima range)
programmable
supported
supported
supported
degrees Centigrade
299
Analog modules
6.8 Analog input module SM 331; AI 2 x 12 Bit; (6ES7331-7KB02-0AB0)
6.8.1
Measurement types and ranges
Introduction
SM 331; AI 2 x 12 Bit is equipped with a measuring range module. The measurement type
and range is configured at the "measuring range" parameter in STEP 7. You can use the
default "voltage" measurement type and "± 10 V range without having to program the
SM 331; AI 2 x 12 Bit in STEP 7.
Measuring range module
Change the position of the measuring range module to set the measurement type and range
(see the chapter Setting the measurement types and ranges of analog input channels ). The
necessary settings are also available on the module's imprint. Mark the position of the
measuring range module on the front door (see figure).
5DQJH
$ %
& '
Table 6-21
Measurement types and ranges
Selected type of measurement
Measuring range
(type of sensor)
Measuring range
module settings
V: Voltage
± 80 mV
A
± 250 mV
± 500 mV
± 1000 mV
B
± 2.5 V
±5V
1 V to 5 V
± 10 V
TC-I: Thermocouple
Type N [NiCrSi-NiSi]
(internal comparison) (thermal voltage
measurement)
Type E [NiCr-CuNi]
TC-E: Thermocouples
Type K [NiCr-Ni]
(external comparison)
(thermal voltage measurement)
A
Type J [Fe-CuNi]
Type L [Fe-CuNi]
2DMU: Current (2-wire transducer)
4 mA to 20 mA
D
4DMU: Current (4-wire transducer)
± 3.2 mA
C
± 10 mA
0 mA to 20 mA
4 mA to 20 mA
± 20 mA
R-4L: Resistance
150 Ω
(4-wire connection)
300 Ω
A
600 Ω
300
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.8 Analog input module SM 331; AI 2 x 12 Bit; (6ES7331-7KB02-0AB0)
Selected type of measurement
Measuring range
(type of sensor)
Measuring range
module settings
TC-IL: Thermocouples (linear, internal
comparison)
(temperature measurement)
Type N [NiCrSi-NiSi]
A
Type E [NiCr-CuNi]
Type J [Fe-CuNi]
Type K [NiCr-Ni]
Type L [Fe-CuNi]
TC-EL: Thermocouples
Type N [NiCrSi-NiSi]
(linear, external comparison)
(temperature measurement)
Type E [NiCr-CuNi]
A
Type J [Fe-CuNi]
Type K [NiCr-Ni]
Type L [Fe-CuNi]
RTD-4L: Thermal resistance
Pt 100 Klima
(linear, 4-wire connection) (temperature
measurement)
Ni 100 Klima
A
Pt 100 Standard
Ni 100 Standard
Channel groups
The two channels of SM 331; AI 2 x 12 Bit form a channel group. You can assign parameters
only to one channel group.
SM 331; AI 2 x 12 Bit is equipped with a measuring range module for channel group 0.
Line continuity check
The line continuity check is designed only for temperature measurements (thermocouples
and thermoresistors.)
Special features of the line continuity check for the 4 mA to 20 mA measuring range
If you configured a measuring range of 4 mA to 20 mA, and enabled the line continuity
check, the analog input module logs a wire-break event to diagnostics data when the current
drops below 3.6 mA.
The module also triggers a diagnostics interrupt if this function is enabled in the program.
A wire break can only be signaled by means of the lit SF LED and the diagnostic bytes must
be evaluated in the user program if diagnostics interrupts are disabled.
If you configured a measuring range of 4 mA to 20 mA, disabled the line continuity check,
and enabled diagnostic interrupts, the module triggers a diagnostic interrupt when the
underflow value is reached.
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
301
Analog modules
6.8 Analog input module SM 331; AI 2 x 12 Bit; (6ES7331-7KB02-0AB0)
6.8.2
Programmable parameters
Introduction
For general information on programming analog modules, refer to the chapter Programming
analog modules.
Parameters
Table 6-22
Overview of the parameters of SM 331; AI 2 x 12 Bit
Parameters
Enable
• Diagnostics interrupt
• Process interrupt when limit
exceeded
Process interrupt trigger
• High limit
• Low limit
Diagnostics
• Group diagnostics
• with line continuity check
Measurement
• Measurement type
•
Measuring range
•
Noise suppression
Range of values
Default
Parameter
type
Scope
yes/no
yes/no
no
no
dynamic
Module
32511 to -32512
from - 32512 to 32511
-
dynamic
Channel
yes/no
yes/no
no
no
static
Channel
group
disabled
Voltage V
4DMU current (4-wire transducer)
2DMU current (2-wire transducer)
R-4L resistance (4-wire connection)
RTD-4L thermoresistor
(linear, 4-wire connection)
TC-I thermocouple
(internal comparison)
TC-E thermocouple
(external comparison)
TC-IL thermocouple
(internal comparison)
TC-EL thermocouple
(linear, external comparison)
Refer to the chapter Measuring methods
and ranges for the adjustable measuring
ranges of the input channels
400 Hz; 60 Hz; 50 Hz; 10 Hz
V
dynamic
Channel or
channel
group
± 10 V
50 Hz
See also
Programming analog modules (Page 225)
Diagnostics messages of analog input modules (Page 227)
302
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.8 Analog input module SM 331; AI 2 x 12 Bit; (6ES7331-7KB02-0AB0)
6.8.3
Additional information on SM 331; AI 2 x 12 Bit
Unused channels
Short-circuit unused channels and connect these with MANA. This optimizes interference
immunity of the analog input module. Set the "disabled" value at the "measurement type"
parameter for unused channels. This setting reduces module cycle times.
Also short-circuit the COMP input if this is not used.
As certain programmed inputs may remain unused due to the channel group configuration,
make allowances for the special features of these inputs outlined below in order to be able to
use the diagnostics functions at these used channels:
● Measuring range 1 V to 5 V: wire the used and unused inputs of the same channel group
in parallel.
● Current measurement, 2-wire transducer: There are two options of setting up the channel
circuit:
a) Open unused input; channel group diagnostics disabled. The analog module would
trigger a single diagnostics interrupt and set its SF LED if diagnostics is enabled.
b) Terminating the unused input using a 1.5 kΩ to 3.3 kΩ resistor. This allows you to
enable diagnostics for this channel group.
● Current measurement 4 mA to 20 mA, 4-wire transducer: wire the unused inputs of the
same channel group in series.
Line continuity check
The line continuity check is designed only for temperature measurements (thermocouples
and thermoresistors.)
Special features of the line continuity check for the 4 mA to 20 mA measuring range
If you configured a measuring range of 4 mA to 20 mA, and enabled the line continuity
check, the analog input module logs a wire-break event to diagnostics data when the current
drops below 3.6 mA.
The module also triggers a diagnostics interrupt if this function is enabled in the program.
A wire break can only be signaled by means of the lit SF LED and the diagnostic bytes must
be evaluated in the user program if diagnostics interrupts are disabled.
If you configured a measuring range of 4 mA to 20 mA, disabled the line continuity check
and enabled diagnostic interrupts, the module triggers a diagnostic interrupt when the
underflow value is reached.
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
303
Analog modules
6.9 Analog input module SM 331; AI 8 x RTD; (6ES7331-7PF01-0AB0)
6.9
Analog input module SM 331; AI 8 x RTD; (6ES7331-7PF01-0AB0)
Order number
6ES7331-7PF01-0AB0
Properties
● 8 inputs in 4 channel groups
● Programmable measurement type at each channel group
– Resistance
– Temperature
● Programmable resolution at each channel group (15 bits + sign)
● Any measuring range per channel group
● Programmable diagnostics and diagnostics interrupt
● Programmable limit value monitoring for 8 channels
● Programmable process interrupt when limit is exceeded
● High-speed update of measured values at up to 4 channels
● Programmable process interrupt at end of cycle
● Electrical isolation to the CPU
Resolution
The resolution of measured values is independent of the selected integration time.
Diagnostics
For information on diagnostics messages consolidated in the "group diagnostics" parameter,
refer to the table Diagnostics messages of analog input modules.
Process interrupts
Process interrupts for channel groups 0 and 1 can be programmed in STEP 7. However, set
a process interrupt only for the first channel of a channel group, that is, either at channel 0,
or at channel 2
Terminal assignment
The diagrams below show the various wiring options. These examples apply to all channels
(channel 0 to 7).
Caution
Any faulty wiring of the 3-wire connections may cause unexpected module states and
hazardous plant states.
304
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.9 Analog input module SM 331; AI 8 x RTD; (6ES7331-7PF01-0AB0)
Wiring: 2, 3 and 4-wire connection for resistance and thermoresistor measurement
Connection possible at both sides at channels 0 to 7
Note
Up to product version 02 of the module, an unused channel of an active channel group has
to be interconnected in order to avoid incorrect measurements.
/
0ದ
&+
&+
0
0ದ
0
0ದ
,F ,F ,F ,F ದ
0
0
0ದ
0ದ
,F
,F ,F ದ
0
0ದ
,F ,F ,F ,F ದ
0 0
0ದ 0ದ
,F ,F
,Fದ
0 &+
0ದ ,F Figure 6-22
'&
'&
,F &+
/
&+
&+
&+
&+
0
Wiring and block diagrams
①
4-wire connection
②
3-wire connection
③
2-wire connection
④
Digital-to-Analog Converter
⑤
Backplane bus interface
⑥
Analog-to-Digital Converter (ADC)
Caution
Any faulty wiring of the 3-wire connections may cause unexpected module states and
hazardous plant states.
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
305
Analog modules
6.9 Analog input module SM 331; AI 8 x RTD; (6ES7331-7PF01-0AB0)
Wiring: 3-wire connection
For 3-wire connections to SM 331; AI 8 x RTD, bridge M+ and IC+.
Always wire the IC- and M- cables directly to the resistance thermometer.
Wiring: 2-wire connection
For 2-wire connections to SM 331; AI 8 x RTD, bridge M+ and IC+ as well as M- and IC-.
On the 2-conductor connection, there is no compensation for line impedance. The line
impedance is included in the measurement!
Technical data
Technical data
Dimensions and weight
Dimensions W x H x D (mm)
40 x 125 x 117
Weight
approx. 272 g
Module-specific data
Isochronous mode supported
no
Number of inputs
8
Cable length
• shielded
max. 200 m
Voltages, currents, electrical potentials
Rated electronics supply voltage L +
• Reverse polarity protection
24 VDC
Constant measuring current for resistive transducers
typ. 5 mA (pulsed)
Electrical isolation
• between channels and the backplane bus
• between channels and electronics power supply
• between channels
in groups of
yes
yes
yes
yes
2
Maximum potential difference
• between channels (UCM)
• Between the channels and Minternal (Viso)
60 VAC / 75 VDC
Isolation test voltage
500 VDC
Current consumption
• from the backplane bus
• from power supply L+
max. 100 mA
Power loss of the module
typ. 4.6 W
60 VAC / 75 VDC
max. 240 mA
Generation of analog values
Measuring principle
Integrating
Mode of operation
8-channel mode (hardware filter)
306
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.9 Analog input module SM 331; AI 8 x RTD; (6ES7331-7PF01-0AB0)
Technical data
Integration/conversion time/resolution (per channel)
• programmable
• Basic conversion time in ms
• Additional conversion time for resistance measurement in ms
• Additional conversion time for wire-break monitoring in ms
• Resolution (including overshoot range)
• Noise suppression at interference frequency f1 in Hz
Measured value smoothing
Conversion time (per channel)
Basic execution time of the module (all channels enabled)
Mode of operation
Integration/conversion time/resolution (per channel)
• programmable
• Basic conversion time in ms
• Additional conversion time for resistance measurement in ms
• Additional conversion time for wire-break monitoring in ms
• Resolution (including overshoot range)
• Noise suppression at interference frequency f1 in Hz
Measured value smoothing
Conversion time (per channel)
Basic execution time of the module (all channels enabled)
Mode of operation
Integration/conversion time/resolution (per channel)
• programmable
• Basic conversion time in ms
• Additional conversion time for resistance measurement in ms
• Additional conversion time for wire-break monitoring in ms
• Resolution (including overshoot range)
• Noise suppression at interference frequency f1 in Hz
yes
80
100*
0
16 bits (including sign)
400 / 60 / 50
None / low/ average/ high
100 ms
200 ms
8-channel mode (software filter)
yes
8 / 25 / 30
25/ 43/ 48*
0
16 bits (including sign)
400 / 60 / 50
None / low/ average/ high
25 ms/ 43 ms/ 48 ms
50 ms/ 86 ms/ 96 ms
4-channel mode (hardware filter)
yes
3.3****
100*
100**
16 bits (including sign)
400 / 60 / 50
None / low/ average/ high
10 ms
Measured value smoothing
Basic execution time of the module (all channels enabled)
Noise suppression, error limits
Noise suppression at f = n (f1 ± 1%), (f1 = interference frequency) n=1.2, ...
• Common-mode interference (CMV < 60 V)
> 100 dB
• Seriesmode interference (peak value < rated input range)
> 90 dB
Crosstalk between inputs
> 100 dB
Operational error limit (across temperature range, relative to input range 0 to 60°C)
• Resistance thermometers
– Pt 50, Pt 100, Pt 200, Pt 500, Pt 1000, Ni 100, Ni 120, Ni 200, ± 1.0 °C
Ni 500, Ni 1000, LG-Ni 1000, Cu 50, Cu 100,
± 2.0 °C
– Pt 10, Cu 10
± 0.1 %
• Resistance
Basic error limit (operational error limit at 25 °C, relative to input range)
• Resistance thermometers
– Pt 50, Pt 100, Pt 200, Pt 500, Pt 1000, Ni 100, Ni 120, Ni 200, ± 0.5 °C
Ni 500, Ni 1000, LG-Ni 1000, Cu 50, Cu 100,
± 1.0 °C
– Pt 10, Cu 10
± 0.05 %
• Resistance
Temperature error (relative to input range)
• Resistance thermometers
± 0.015 °C/K
• Resistance
± 0.005 °%/K
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
307
Analog modules
6.9 Analog input module SM 331; AI 8 x RTD; (6ES7331-7PF01-0AB0)
Technical data
Linearity error (relative to input range)
• Resistance thermometers
• Resistance
Repetition accuracy (in transient state at 25 °C, relative to input
range)
• Resistance thermometer
• Resistance
Status, interrupts, diagnostics
Interrupts
• Process interrupt
• Diagnostics interrupt
Diagnostics function
• Group error display
• Reading diagnostics information
Sensor selection data
Input range (rated values) input resistance
• Resistance thermometer
•
Resistance
Maximum voltage at voltage input (destruction limit)
Wiring of the signal sensors
• for resistance measurement
with 2-wire connection
with 3-wire connection
with 4-wire connection
Characteristics linearization
• Resistance thermometer
•
Technical unit of temperature measurement
± 0.2 °C
± 0.02 %
± 0.2 °C
± 0.01 %
Programmable (channels 0-7)
programmable
programmable
red LED (SF)
supported
Pt 10, Pt 50, Pt 100, Pt 200, Pt 500, Pt 1000,
Ni 100, Ni 120, Ni 200, Ni 500, Ni 1000, LG-Ni
1000, Cu 10, Cu 50, Cu 100 (Standard and Klima
range)
150 Ω, 300 Ω, 600 Ω
35 V DC continuous; 75 V DC for max. duration of 1
s (duty factor 1:20) 20)
using a 40-pin front connector
supported
supported***
supported
Pt 10, Pt 50, Pt 100, Pt 200, Pt 500, Pt 1000,
Ni 100, Ni 120, Ni 200, Ni 500, Ni 1000, LG-Ni
1000, Cu 10, Cu 50, Cu 100 (standard and Klima
range)
Degrees Centigrade; degrees Fahrenheit
* With 3-wire connections, resistance measurements to compensate for line impedance at
intervals of five minutes.
** Wire-break monitoring in 4-channel mode (hardware filter) at intervals of three seconds.
*** Maximum line impedance for 3-wire transducer measurements for the RTD elements PT
10 and Cu 10: 10 Ω. Maximum line impedance for all other RTD elements during 3-wire
transducer measurements: 20 Ω.
**** In 4-channel mode, the converted value settles to 100 % within 80 ms. The value
determined in this process is set at intervals of 3.3 ms (max. 10 ms).
308
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.9 Analog input module SM 331; AI 8 x RTD; (6ES7331-7PF01-0AB0)
6.9.1
Measurement types and ranges
Introduction
The measurement type and range is configured at the "measurement type" parameter in
STEP 7.
Table 6-23
Measurement types and ranges
Selected type of measurement
Resistance:
(3-/4-wire connection)
RTD resistance and linearization:
(3-/4-wire connection)
Measuring range
150 Ω
300 Ω
600 Ω
Pt 100 Klima
Pt 200 Klima
Pt 500 Klima
Pt 1000 Klima
Ni 100 Klima
Ni 120 Klima
Ni 200 Klima
Ni 500 Klima
Ni 1000 Klima*
LG-Ni 1000 Klima
Cu 10 Klima
Pt 100 Standard
Pt 200 Standard
Pt 500 Standard
Pt 1000 Standard
Ni 100 Standard
Ni 120 Standard
Ni 200 Standard
Ni 500 Standard
Ni 1000 Standard*
LG-Ni 1000 Standard
Cu 10 Standard
Pt 10 GOST Klima
Pt 10 GOST Standard
Pt 50 GOST Klima
Pt 50 GOST Standard
Pt 100 GOST Klima
Pt 100 GOST Standard
Pt 500 GOST Klima
Pt 500 GOST Standard
Cu 10 GOST Klima
Cu 10 GOST Standard
Cu 50 GOST Klima
Cu 50 GOST Standard
Cu 100 GOST Klima
Cu 100 GOST Standard
Ni 100 GOST Klima
Ni 100 GOST Standard
* ≙ LG-Ni 1000 with temperature coefficient 0.00618 or 0.00672
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
309
Analog modules
6.9 Analog input module SM 331; AI 8 x RTD; (6ES7331-7PF01-0AB0)
Channel groups
The channels of SM 331; AI 8 x RTD are arranged in four groups of two channels. You can
assign parameters only to one channel group.
The table below shows the relevant configuration of channel groups. The channel group
number is required to program SFC parameters in the user program.
Table 6-24
Assignment of SM 331; AI 8 x RTD channels to channel groups
Channels ...
... form one channel group each
Channel 0
Channel group 0
Channel 1
Channel 2
Channel group 1
Channel 3
Channel group 2
Channel 4
Channel 5
Channel 6
Channel group 3
Channel 7
6.9.2
Programmable parameters
Introduction
For general information on programming analog modules, refer to the chapter Programming
analog modules.
The table below provides an overview of programmable parameters and of their defaults:
Parameters
Table 6-25
Overview of SM 331; AI 8 x RTD parameters
Parameters
Range of values
Default
yes/no
no
yes/no
no
yes/no
no
Process interrupt trigger
• High limit
• Low limit
32511 to -32512
32767
Diagnostics
• Group diagnostics
• with line continuity check
yes/no
no
yes/no
no
Enable
• Diagnostics interrupt
• Process interrupt when limit
exceeded
• Process interrupt at end of
cycle
310
from - 32512 to 32511
Parameter
type
Scope
dynamic
Module
dynamic
Channel
static
Channel
group
-32768
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.9 Analog input module SM 331; AI 8 x RTD; (6ES7331-7PF01-0AB0)
Parameters
Range of values
Default
Measurement
• Measurement type
disabled
RTD-4L
Parameter
type
Scope
dynamic
Channel
group
R-4L resistance
(4-wire connection)
R-3L resistance
(3-wire connection)
RTD-4L thermoresistor
(linear, 4-wire connection)
RTD-3L thermoresistor
(linear, 3-wire connection)
•
Measuring range
See the table Measurement types and
ranges
Pt 100 Klima
0.003850
(IPTS-68)
•
Temperature unit
Degrees Centigrade; degrees
Fahrenheit
degrees
Centigrade
dynamic
Module
•
Mode of operation
8-channel mode (hardware filter)
8-channel
mode,
hardware filter
dynamic
Module
dynamic
Channel
group
8-channel mode (software filter)
4-channel mode (hardware filter)
•
Temperature coefficient for
temperature measurement with
thermoresistor (RTD)
Platinum (Pt)
0,003850
0.003850 Ω/Ω/ °C (IPTS-68)
0.003916 Ω/Ω/ °C
0.003902 Ω/Ω/ °C
0.003920 Ω/Ω/ °C
0.003850 Ω/Ω/ °C (ITS-90)
0,003910 Ω/Ω/ °C
Nickel (Ni)
0,006170 Ω/Ω/ °C
0.006180 Ω/Ω/ °C
0.006720 Ω/Ω/ °C
0.005000 Ω/Ω/ °C (LG Ni 1000)
Copper (Cu)
0,004260 Ω/Ω/ °C
0,004270 Ω/Ω/ °C
0,004280 Ω/Ω/ °C
•
Noise suppression*
50/60/400 Hz; 400 Hz; 60 Hz; 50 Hz
50/60/400 Hz
dynamic
Channel
group
•
Smoothing
none
none
dynamic
Channel
group
weak
medium
strong
* 50/60/400 Hz only programmable for 8-channel mode (hardware filter) and 4-channel mode (hardware filter);
50 Hz, 60 Hz or 400 Hz only programmable for 8-channel mode (software filter)
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
311
Analog modules
6.9 Analog input module SM 331; AI 8 x RTD; (6ES7331-7PF01-0AB0)
See also
Programming analog modules (Page 225)
Diagnostics messages of analog input modules (Page 227)
6.9.3
Additional information on SM 331; AI 8 x RTD
Modes of operation
Operating modes of SM 331; AI 8 x RTD:
● 8-channel mode (hardware filter)
● 8-channel mode (software filter)
● 4-channel mode (hardware filter)
The operating mode influences the module cycle time.
8-channel mode (hardware filter)
In this mode, the module changes between the two channels of each group. The four ADCs
of the module simultaneously convert channels 0, 2, 4 and 6. The ADCs first convert the
channels with even numbers, and then the channels with the odd numbers 1, 3, 5 and 7 (see
the figure below.)
6WDUWDQDORJFRQYHUVLRQ
VLPXOWDQHRXV
&+
&+
&+
&+
&\FOHWLPH
6WDUWDQDORJFRQYHUVLRQ
VLPXOWDQHRXV
&+
Figure 6-23
312
&+
&+
&+
8-channel mode cycle time (hardware filter)
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Analog modules
6.9 Analog input module SM 331; AI 8 x RTD; (6ES7331-7PF01-0AB0)
Cycle time of module in 8-channel mode
The channel conversion time, including module communication time, is 84 ms. The module
must change to the second channel of the group using OptoMOS relays when conversion is
completed. Opto-MOS relays require 12 ms for switching and settling. Each channel requires
a time of 97 ms, i.e. the total cycle time equals 194 ms.
Cycle time = (tK + tU) x 2
Cycle time = (84 ms + 16 ms) x 2
Cycle time = 200 ms
tC: Conversion time for one channel
tC: Channel changeover time within the channel group
8-channel mode (software filter)
Analog-to-digital conversion in this mode is identical to the conversion in 8-channel mode
(hardware filter). The four ADCs of the module simultaneously convert channels 0, 2, 4 and
6. The ADCs first convert the channels with even numbers, and then the channels with the
odd numbers 1, 3, 5 and 7 (see the figure below.)
6WDUWDQDORJFRQYHUVLRQ
VLPXOWDQHRXV
&+
&+
&+
&+
&\FOHWLPH
6WDUWDQDORJFRQYHUVLRQ
VLPXOWDQHRXV
&+
Figure 6-24
&+
&+
&+
8-channel mode cycle time (software filter)
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
313
Analog modules
6.9 Analog input module SM 331; AI 8 x RTD; (6ES7331-7PF01-0AB0)
Cycle time of module in 8-channel mode (software filter)
The channel conversion time is based on the programmed interference frequency. The
channel conversion time is 32 ms, including communication time, when you set an
interference frequency of 50 Hz. The channel conversion time is 27 ms when you set an
interference frequency of 60 Hz. You can reduce channel conversion times to 9 ms by
setting an interference frequency of 400 Hz. As in "hardware filter, 8channel" mode, the
module has to toggle to the second channel of the group within a changeover time of 16 ms
using the Opto-MOS relays. The table below shows this correlation.
Table 6-26
Cycle times in "8-channel mode (software filter)"
Interference frequency
Channel cycle time*
Module cycle time (all channels)
50 Hz
48 ms
96 ms
60 Hz
43 ms
86 ms
400 Hz
25 ms
50 ms
* Channel cycle time = channel conversion time + 12 ms channel changeover time within the group
4-channel mode (hardware filter)
In this mode, the module does not change between the channels of the groups. The four
ADCs of the module simultaneously convert the channels 0, 2, 4 and 6.
6WDUWDQDORJFRQYHUVLRQ
VLPXOWDQHRXV
&\FOHWLPH
&+
Figure 6-25
&+
&+
&+
4-channel mode cycle time (hardware filter)
Cycle time of the module in 4-channel mode (hardware filter)
The converted value settles to 100% within 80 ms and is updated at intervals of 10 ms when
4-channel mode is set. The channel and module cycle times are always identical, as the
module does not change between the channels of a group: 10 ms.
Channel conversion time = channel cycle time = module cycle time = 10 ms
314
S7-300 Automation System Module Data
Manual, 02/2007, A5E00105505-05
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertising