Product Information: SIMATIC S7-200 EM231, EM232, EM235 Analog Input and Output Modules Release
Product Information: SIMATIC S7-200 EM231, EM232, EM235 Analog Input and Output Modules Release
SIMATIC S7-200
X2
EM231, EM232, EM235 Analog Input and Output Modules Release 3 4
This Product Information exists in electronic form only. You can print a paper copy by
selecting File " Print from the menu.
Additional Assistance
For assistance in answering technical questions, for training on this product, or for
ordering, contact your Siemens distributor or sales office.
Product Information SIMATIC S7-200 EM231, EM232, EM235 Analog Input and Output Modules
2 2808012–0002
Description EM231 Analog Input EM232 Analog Output EM235 Analog Combo
Order Number AI4x12 Bits AQ2x12 Bits AI4/AQ 1 x 12 Bits
6ES7 231–0HC20–0XA0 6ES7 232–OHB20–0XA0 6ES7 235–0KD20–0XA0
Product Information SIMATIC S7-200 EM231, EM232, EM235 Analog Input and Output Modules
2808012–0002 3
EM231 EM232
Current transmitter
Voltage transmitter
V Load
V Load
I Load
I Load
+ –
Unused input Not used
M0 V0 I0 M1 V1 I1
RA A+ A– RB B+ B– RC C+ C– RD D+ D–
EM232
EM231 AQ 2 x 12 Bit
AI 4
M L+ Gain Configuration M L+
+ +
24V 24V
– Not used – Not used
EM235
Current transmitter
Voltage transmitter
+ –
Unused input
RA A+ A– RB B+ B – RC C+ C– RD D+ D–
EM235
AI 4/AQ 1
+
24V
V Load
–
I Load
Figure 1 Connector Terminal Identification for Expansion Modules EM231, EM232, and EM235
Product Information SIMATIC S7-200 EM231, EM232, EM235 Analog Input and Output Modules
4 2808012–0002
Input Calibration
The calibration adjustments affect the instrumentation amplifier stage that follows the
analog multiplexer (see Figure 4). Therefore, calibration affects all user input channels.
Variations in the component values of each input circuit preceeding the analog
multiplexer will cause slight differences in the readings between channels connected to
the same input signal even after calibration.
To meet the specifications contained in this data sheet, you should enable analog input
filters for all inputs of the module. Select 64 or more samples in calculating the
average value. For more information about analog input filters, see the S7-200
Programmable Controller System Manual.
To calibrate the input, use the following steps.
1. Turn off the power to the module. Select the desired input range.
2. Turn on the power to the CPU and module. Allow the module to stabilize for 15
minutes.
3. Using a transmitter, a voltage source, or a current source, apply a zero value signal
to one of the input terminals.
4. Read the value reported to the CPU by the appropriate input channel.
5. Adjust the OFFSET potentiometer until the reading is zero, or the desired digital
data value.
6. Connect a full-scale value signal to one of the input terminals. Read the value
reported to the CPU.
7. Adjust the GAIN potentiometer until the reading is 32000, or the desired digital data
value.
8. Repeat OFFSET and GAIN calibration as required.
Product Information SIMATIC S7-200 EM231, EM232, EM235 Analog Input and Output Modules
2808012–0002 5
Calibration and Configuration Location for EM231 and EM235
The calibration potentiometer and configuration DIP switches are located on the right
of the bottom terminal block of the module, as shown in Figure 2.
EM231
↑ On
↓ Off
1 2 3 4 5 6
DIP ON ↑
EM235
↑ On
↓ Off
1 2 3 4 5 6
DIP ON ↑
Figure 2 Calibration Potentiometer and Configuration DIP Switches for EM231 and EM235
Unipolar
Full-Scale Input Resolution
SW1 SW2 SW3
OFF ON 0 to 10 V 2.5 mV
ON 0 to 5 V 1.25 mV
ON OFF
0 to 20 mA 5 µA
Bipolar
Full-Scale Input Resolution
SW1 SW2 SW3
OFF ON ±5V 2.5 mV
OFF
ON OFF ± 2.5 V 1.25 mV
Product Information SIMATIC S7-200 EM231, EM232, EM235 Analog Input and Output Modules
6 2808012–0002
Configuration for EM235
Table 2 shows how to configure the EM235 module using the configuration DIP
switches. Switches 1 through 6 select the analog input range and resolution. All inputs
are set to the same analog input range and format. Table 3 shows how to select for
unipolar/bipolar (switch 6), gain (switches 4 and 5), and attenuation (switches 1, 2, and
3). In these tables, ON is closed, and OFF is open.
Table 2 EM235 Configuration Switch Table to Select Analog Input Range and Resolution
Unipolar
Full-Scale Input Resolution
SW1 SW2 SW3 SW4 SW5 SW6
ON OFF OFF ON OFF ON 0 to 50 mV 12.5 mV
OFF ON OFF ON OFF ON 0 to 100 mV 25 mV
ON OFF OFF OFF ON ON 0 to 500 mV 125 mV
OFF ON OFF OFF ON ON 0 to 1 V 250 mV
ON OFF OFF OFF OFF ON 0 to 5 V 1.25 mV
ON OFF OFF OFF OFF ON 0 to 20 mA 5 mA
OFF ON OFF OFF OFF ON 0 to 10 V 2.5 mV
Bipolar
Full-Scale Input Resolution
SW1 SW2 SW3 SW4 SW5 SW6
ON OFF OFF ON OFF OFF +25 mV 12.5 mV
OFF ON OFF ON OFF OFF +50 mV 25 mV
OFF OFF ON ON OFF OFF +100 mV 50 mV
ON OFF OFF OFF ON OFF +250 mV 125 mV
OFF ON OFF OFF ON OFF +500 mV 250 mV
OFF OFF ON OFF ON OFF +1 V 500 mV
ON OFF OFF OFF OFF OFF +2.5 V 1.25 mV
OFF ON OFF OFF OFF OFF +5 V 2.5 mV
OFF OFF ON OFF OFF OFF +10 V 5 mV
Product Information SIMATIC S7-200 EM231, EM232, EM235 Analog Input and Output Modules
2808012–0002 7
Input Data Word Format for EM231 and EM235
Figure 3 shows where the 12-bit data value is placed within the analog input word of
the CPU.
MSB LSB
15 14 3 2 0
AIW XX 0 Data value12 Bits 0 0 0
Unipolar data
MSB LSB
15 4 3 0
AIW XX Data value 12 Bits 0 0 0 0
Bipolar data
Note
The 12 bits of the analog-to-digital converter (ADC) readings are left-justified in the
data word format. The MSB is the sign bit: zero indicates a positive data word value.
In the unipolar format, the three trailing zeros cause the data word to change by a
count of eight for each one-count change in the ADC value. In the bipolar format, the
four trailing zeros cause the data word to change by a count of sixteen for each one
count change in the ADC value.
Product Information SIMATIC S7-200 EM231, EM232, EM235 Analog Input and Output Modules
8 2808012–0002
Input Block Diagram for EM231 and EM235
Figure 4 shows the EM231 and EM235 input block diagrams.
A+
R EM231
RA C
C
Rloop C
A– GAIN ADJUST
A=1
R
+
B+
R Instrumentation
RB C AMP
C BUFFER
Rloop C
– A/D Converter
B–
R A=2
11 0
C+
R
RC C
C
Rloop C
C–
R A=3
D+
R
RD C
C
Rloop C
D–
A=4
R
Input filter MUX 4 to 1
A+
EM235
R
RA C
C
Rloop C
A– GAIN ADJUST
A=1
R
+
B+ Analog-to-digital converter
R Instrumentation
RB C AMP
C BUFFER
Rloop C
– A/D Converter
B–
R A=2
DATA
11 0
C+
R
RC C
REF_VOLT
C +
Rloop C Buffer
C– –
R A=3
Offset Adjust
D+
R
RD C
C
Rloop C
D–
A=4
R
Input filter MUX 4 to 1
Product Information SIMATIC S7-200 EM231, EM232, EM235 Analog Input and Output Modules
2808012–0002 9
Output Data Word Format for EM232 and EM235
Figure 5 shows where the 12-bit data value is placed within the analog output word of
the CPU.
MSB LSB
15 14 4 3 0
AQW XX 0 Data value 11 Bits 0 0 0 0
Current output data format
MSB LSB
15 4 3 0
AQW XX Data value 12 Bits 0 0 0 0
Voltage output data format
Note
The 12 bits of the digital-to-analog converter (DAC) readings are left-justified in the
output data word format. The MSB is the sign bit: zero indicates a positive data word
value. The four trailing zeros are truncated before being loaded into the DAC
registers. These bits have no effect on the output signal value.
+24 Volt
R 100
+
+
–
Voltage-to-current converter
Iout
R 0..20 mA
M
Vref
D/A converter +
+/– 2V Vout
–
11 0 –10.. +10 Volts
DATA
R
Digital-to-analog converter
Product Information SIMATIC S7-200 EM231, EM232, EM235 Analog Input and Output Modules
10 2808012–0002
Installation Guidelines
Use the following guidelines to ensure good accuracy and repeatability:
S Ensure that the 24-VDC Sensor Supply is free of noise and is stable.
S Use the shortest possible sensor wires.
S Use shielded twisted pair wiring for sensor wires.
S Terminate the shield at the Sensor location only.
S Short the inputs for any unused channels, as shown in Figure 1.
S Avoid bending the wires into sharp angles.
S Use wireways for wire routing.
S Avoid placing signal wires parallel to high-energy wires. If the two wires must meet,
cross them at right angles.
S Ensure that the input signals are within the common mode voltage specification by
isolating the input signals or referencing them to the external 24V common of the
analog module.
Note
The EM231 and EM235 expansion modules are not recommended for use with
thermocouples.
Product Information SIMATIC S7-200 EM231, EM232, EM235 Analog Input and Output Modules
2808012–0002 11
Understanding and Using the Analog Input Module: Accuracy and Repeatability
The EM231 and EM235 analog input modules are low-cost, high-speed 12 bit analog
input modules. The modules are capable of converting an analog input to its
corresponding digital value in 149 µsec. Conversion of the analog signal input is
performed each time the analog point is accessed by your program. These times must
be added to the basic execution time of the instruction used to access the analog
input.
The EM231 and EM235 provide an unprocessed digital value (no linearization or
filtering) that corresponds to the analog voltage or current presented at the module’s
input terminals. Since the modules are high-speed modules, they can follow rapid
changes in the analog input signal (including internal and external noise).
Reading-to-reading variations caused by noise for a constant or slowly changing
analog input signal can be minimized by averaging a number of readings. As the
number of readings used in computing the average value increases, a correspondingly
slower response time to changes in the input signal can be observed.
The specifications for repeatability describe the reading-to-reading variations of the
module for an input signal that is not changing. The repeatability specification defines
the limits within which 99% of the readings will fall. The mean accuracy specification
describes the average value of the error (the difference between the average value of
individual readings and the exact value of the actual analog input signal). The
repeatability is described in Figure 7 by the bell curve. This figure shows the 99%
repeatability limits, the mean or average value of the individual readings, and the mean
accuracy in a graphical form. Table 4 gives the repeatability specifications and the
mean accuracy as they relate to each of the configurable ranges.
Average Signal
Value Input
Mean (average)
Accuracy
Repeatability limits
(99% of all readings fall within these limits)
Product Information SIMATIC S7-200 EM231, EM232, EM235 Analog Input and Output Modules
12 2808012–0002
Table 4 EM231 and EM235 Specifications
Agency Standards
These modules adhere to the following agency standards: UL 508 Listed (Industrial
Control Equipment); CSA C22.2 Number 142 Certified (Process Control Equipment);
FM Class I, Division 2, Groups A, B, C, & D Hazardous Locations, T4A; VDE 0160:
Electronic equipment for use in electrical power installations; European Community
(CE) Low Voltage Directive 73/23/EEC, EN 61131–2: Programmable controllers –
Equipment requirements; European Community (CE) EMC Directive 89/336/EEC.
For more information about these standards, refer to the S7-200 Programmable
Controller System Manual.
Product Information SIMATIC S7-200 EM231, EM232, EM235 Analog Input and Output Modules
2808012–0002 13