This data sheet is only valid in association with the System Manual.
09/2002
Function
The terminal is designed for use within an
VersaPoint station. It is used to measure analog
voltage or current signals.
Features
–Eight analog single-ended signal inputs for
the connection of either voltage or current signals
–Sensors are connected using 2-wire techno-
logy
–Various current and voltage measuring ran-
ges
–Channels are configured independently of
one another using the bus
–Measured values can be represented in five
different formats
–16-bit analog-to-digital converter
–Process data multiplex operation
–Diagnostic indicators
6 2 2 6 0 0 0 1
6 2 2 6 A 0 0 2
Figure 1The ANALOG IN 15 BIT VOLTAGE/
CURRENT 8CH terminal with
connectors
Please note that the connectors are
not supplied as standard with the terminal. Please refer to the ordering
data on page 45 to order the appropriate connectors for your application.
6226B_GE1
Page 2
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
Local Diagnostic Indicators and Terminal Assignment
Local Diagnostic Indicators
D
A I 8 / S F
1 2
1 . 1
1 . 2
1 . 3
1 . 4
2 . 1
1
1
2 . 2
2
2
2 . 3
3
3
2 . 4
4
4
6 2 2 6 A 0 0 3
Figure 2The ANALOG IN 15 BIT VOLTAGE/
CURRENT 8CH terminal
with an appropriate connector
Des.Color Meaning
DGreen Bus diagnostics
Terminal Assignment for Each Connector
Terminal
SignalAssignment
Points
1.1+U1Voltage input channel 1
2.1+U2Voltage input channel 2
1.2+I1Current input channel 1
2.2+I2Current input channel 2
1.3, 2.3-1, -2Minus input (for both cur-
rent and voltage)
1.4, 2.4ShieldShield connection
Installation Instructions
High current flowing through potential jumpers UM and US causes the temperature of the potential
jumpers and the internal temperature of the terminal to increase. Observe the following instructions
to keep the current flowing through the potential jumpers of the analog terminals as low as possible:
All of the analog terminals need a separate main circuit.
If this is not possible in your application and if you are using analog terminals in a main
circuit together with other terminals, place the analog terminals behind all the other
terminals at the end of the main circuit.
E l e c t r i c a l i s o l a t i o n
b e t w e e n a r e a A a n d
6 2 2 6 0 0 0 5
Figure 4Electrical isolation of the individual
function areas
Connection Notes
Do not simultaneously apply current and voltage signals to one input channel as you will
not obtain valid measured values.
Do not connect voltages above ±2.5 V to a current input. The electronics module will be
damaged if the maximum permissible current of ±100 mA is exceeded.
Always connect the analog sensors using shielded, twisted-pair cables.
Connect the shielding to the VersaPoint terminal using the shield clamp. The clamp con-
nects the shield directly to FE (functional earth ground) on the terminal side. Additional
wiring is not required.
Isolate the shielding at the sensor or connect it with a high resistance and a capacitor to
the PE potential.
46226B_GE
Page 5
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
o
Connection Examples
Observe the connection notes on
page 4.
Figure 5 shows the connection schematically
(without shield connector).
Connection of Active Sensors
S l o t
C h a n n e l12345678
1
A I 8 S F
1 2
1
D
1 2
1
1
34
2
1 2
1 2
1
1
1
1
1
Programming Data
ID code5F
Length code02
Process data channel32 bits
Input address area4 bytes
Output address area4 bytes
Parameter channel (PCP) 0 bytes
Register length (bus)4 bytes
hex
hex
(95
dec
)
2
2
2
2
2
2
2
2
3
3
3
3
3
3
3
3
4
4
4
4
4
4
4
4
I N
V o l t a g e s e n s o r t o
c h a n n e l 1
C u r r e n t s e n s o r t
c h a n n e l 8
I N
Figure 5Connection of active sensors using
2-wire technology with shield
connection
The sensors have the same reference
potential.
6226B_GE5
Page 6
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
Process Data Words
Process Data Output Words for the Configuration of the Terminal (see page 7)
Process Data Output Word 0 (OUT[0])Process Data Output Word 1 (OUT[1])
Byte 0Byte 1Byte 2Byte 3
OUT[0]
(Byte.bit)
view
(Byte.bit)
view
ByteByte 0Byte 1
Bit7654321076543210
Assignment0
Byte
Bit7654321076543210
Assignment000000
Command00000000
OUT[1]
Byte 2Byte 3
Filter0FormatMeasuring
range
Process Data Input Words (see page 11)
Process Data Input Word 0 (IN[0])Process Data Input Word 1 (IN[1])
The terminal must be configured using the two
process data output words. The word OUT[0]
contains the command and the word OUT[1]
contains the parameters for this command.
The following configurations are possible:
–Selecting a measuring range according to
the input signal
–Selecting the mean-value generation (filte-
ring)
–Changing the formats for the representation
of measured values
Current or voltage measurement is
selected by applying the measured signal to the current or voltage input
and then configuring the measuring
range.
O U T [ 0 ]O U T [ 1 ]
M S BL S B
1 5
After applying voltage (power up) to
the VersaPoint station, the message
"Measured value invalid" (diagnostic
code 8004
) appears in the process
hex
data input words for every channel
scanned. The message is displayed
until the appropriate channel has
been configured.
If the configuration is changed, the
message "Measured value invalid"
(diagnostic code 8004
) appears for
hex
a maximum of 100 ms.
Please note the extended runtime
when a channel is configured for the
first time and every time a channel is
reconfigured.
01 41 31 21 11 0987654321
R e s e r v e d ( 0 0 0 0 0 0
M S BL S B
1 5
C o m m a n d
)
b i n
R e s e r v e d ( 0 0 0 0 0 0 0 0
F i l t e r
R e s e r v e d ( 0 )
F o r m a tM e a s u r i n g r a n g e
01 41 31 21 11 0987654321
)R e s e r v e d ( 0 )
b i n
6 2 2 6 A 0 0 7
Figure 6Process data output words
MSB Most significant bitLSB Least significant bit
Set all reserved bits to 0.
6226B_GE7
Page 8
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
OUT[0] (Command Code)
OUT[0]
Bit1514131211109876543210
Assignment0
Command00000000
Bit 15 to bit 8 (command):
Bit 15 to Bit 8OUT[0]Command Function
0
0000Z2Z1Z00x00
0010Z2Z1Z01x00
0
001111003C00
0
1000Z2Z1Z04x00
0
1010Z2Z1Z05x00
11000006000
0
0
1110YY1Y07x00
Read measured value of channel x
hex
Read configuration of channel x
hex
Read firmware version and module identification
hex
Configure channel x
hex
Configure channel x and read measured value of
hex
channel x
Configure entire terminal (all channels)
0000100004 x 8-bit group A (channel 1, 2, 3, and 4)
0011200114 x 8-bit group B (channel 5, 6, 7, and 8)
010230102Reserved
011340113Reserved
1004510042 x 16-bit group A (channel 1 and 2)
1015610152 x 16-bit group B (channel 3 and 4)
1106711062 x 16-bit group C (channel 5 and 6)
1117811172 x 16-bit group D (channel 7 and 8)
86226B_GE
Page 9
OUT[1] (Parameter Word)
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
The parameters for the commands 4x00
hex
, 5x00
, and 6000
hex
must be specified in OUT[1]. This
hex
parameter word is only evaluated for these commands.
If invalid parameters are specified in the parameter word, the command will not be executed. The command is confirmed in the input words with the set error bit.
Bit 9 and bit 8:
CodeFilter (Filtering by Mean-Value Generation)
bindec
00016-sample average (default)
011No mean-value generation
1024-sample average
11332-sample average
Bit 6 to bit 4:
CodeFormat
bindec
0000IB IL (15 bits) (default)
0011IB ST (12 bits)
0102IB RT (15 bits)
0113Standardized display
1004PIO (for the 4 mA to 20 mA range only)
1015
Reserved1106
1117
6226B_GE9
Page 10
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
Bit 3 to bit 0:
CodeMeasuring Range (Voltage)
bindec
000000 V to 10 V (default)
00011±10 V
001020 V to 5 V
00113±5 V
010040 V to 25 V
01015±25 V
011060 V to 50 V
01117Reserved
The differential voltage between different terminal inputs must not exceed 50 V.
If, for example, the 0 V to 50 V range is used on one channel, the use of bipolar ranges is
not permitted on any other channel.
CodeMeasuring Range (Current)
bindec
100080 mA to 20 mA
10019±20 mA
1010104 mA to 20 mA
101111Reserved
1100120 mA to 40 mA
110113±40 mA
111014Reserved
111115Reserved
106226B_GE
Page 11
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
Process Data Input Words IN[0] and IN[1]
The measured values and diagnostic messages (diagnostic codes) are transmitted to the controller
board or computer using the two process data input words. The contents of the words vary according
to the command.
IN[0] and IN[1] for Commands 0x00
to 6000
hex
hex
I N [ 0 ]I N [ 1 ]
M S BL S B
1 5
R e s u l t
M S BL S B
1 5
M i r r o r i n g o f t h e
c o m m a n d c o d e
E r r o r b i t
0 0 0 0 0 0 0 0
b i n
01 41 31 21 11 0987654321
01 41 31 21 11 0987654321
6 2 2 6 A 0 0 8
Figure 7Process data input words
IN[0]
The output word OUT[0], which contains the command code, is mirrored in the input word IN[0]. This
confirms that the command has been executed correctly. If the command was not executed correctly,
the error bit is set in bit 15 of the input word IN[0].
The error bit is set if one of the following reasons (see page 29):
–There is no valid configuration for the channel scanned
–There was an invalid parameter during configuration
–A reserved bit was set
The command is only mirrored if it has been executed completely. That means, for example, that the
5x00
6226B_GE11
command is only mirrored after the value has been read and not after reconfiguration.
hex
Page 12
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
IN[1]
The input word IN[1] varies depending on the command.
IN[1] contains the firmware version and module identification for the 3C00
command.
hex
IN[1]
Bit1514131211109876543210
Assignment
Firmware versionModule ID
Example: 123
hex
:
6
hex
Terminal equipped with firmware version 1.23
For the commands 1x00
hex
, 4x00
, and 6000
hex
, IN[1] contains the mirroring of the specified con-
hex
figuration.
IN[1]
Bit1514131211109876543210
Assignment000000
Filter0FormatMeasuring range
126226B_GE
Page 13
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
For the 0x00
and 5x00
hex
commands, IN[1] contains the analog measured value.
hex
IN[1]
Bit151413121110 9 8 7 6 5 4 3 2 1 0
AssignmentMeasured value in the appropriate format
01 41 31 21 11 09876543211 5
01 41 31 21 11 09876543211 5
O R0 / 4O C
01 41 31 21 11 09876543211 5
F o r m a t :
I B I L
I B R T
S t a n d a r d i z e d
d i s p l a y
I B S T
P I O
6 2 2 6 A 0 1 0
M S BL S B
S B
S B
A V
A V
A V
Figure 8Representation of the measured values in the different formats
SBSign bitOCOpen circuit
AVAnalog valueOROverrange
0/44 to 20 mA measuring range
MSBMost significant bit LSBLeast significant bit
The individual formats are explained in the Section „Formats for Representation of Measured Values“
auf Seite 16.
6226B_GE13
Page 14
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
IN[0] and IN[1] for the Group-Commands 7x00
hex
I N [ 0 ]I N [ 1 ]
M S BL S B
1 5
R e s u l t
M S BL S B
1 5
R e s u l t
01 41 31 21 11 0987654321
01 41 31 21 11 0987654321
6 2 2 6 A 0 1 3
Figure 9Process data input words
For the group commands 7x00
, both input words contain the measured values of the channels that
hex
correspond with the group command.
Group Commands for Two 16-bit Channels: 7400
hex
, 7500
hex
, 7600
, and 7700
hex
hex
With commands for two 16-bit channels, the analog value of one channel is mapped to every input
word. The display corresponds with the display in the input word IN[1] for the 0x00
and 5x00
hex
hex
commands.
Example 2 x 16-Bit Group A (Channels 1 and 2): 7400
Command
hex
IN[0]
Bit1514131211109876543210
Assignment
16-bit measured value channel 1 in the appropriate format
IN[1]
Bit1514131211109876543210
Assignment
16-bit measured value channel 2 in the appropriate format
146226B_GE
Page 15
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
Group Commands for Four 8-bit Channels: 7000
and 7100
hex
hex
With commands for four channels, the analog values for two channels are mapped to every input
word. The measured value for each channel is represented in eight bits. This measured value corresponds to bits 15 to 8 in the format displays of a 16-bit value.
Example 4 x 8-Bit Group A (Channels 1, 2, 3, and 4): 7000
The status bits in "IB ST" format and the diagnostic messages in "IB IL" and "standardized
display" format are not displayed in this configuration.
6226B_GE15
Page 16
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
Formats for Representation of Measured Values
To ensure that the terminal can be operated in previously used data formats, the measured value representation can be switched to different formats. The "IB IL" format is the default.
Abbreviations used in the following tables:
OROverrange
URUnder range
"IB IL" Format
The measured value is represented in bits 14 to 0. An additional bit (bit 15) is available as a sign bit.
This format supports extended diagnostics. Values > 8000
and < 8100
hex
indicate an error.
hex
The following diagnostic codes are possible:
Code (hex)Error
8001Overrange
8002Open circuit
8004Measured value invalid/no valid measured value avai-
lable (e.g., because the channel was not configured)
8010Configuration invalid
8020I/O supply voltage faulty
8040Module faulty
8080Under range
Measured value representation in "IB IL" format (15 bits)
The measured value is represented in bits 14 to 3. The remaining 4 bits are sign, measuring range,
and error bits.
This format corresponds to the data format used on INTERBUS ST modules.
Measured value representation in "IB ST" format (12 bits):
1514131211109876543210
SBAnalog value0/4OCOR
SBSign bitOCOpen circuit
0/44 to 20 mA measuring rangeOROverrange/under range
Significant Measured Values
Voltage Ranges
Input Data Word
(Two’s Complement)
0V to 5 V
U
IN
0 V to 10 V
U
IN
0 V to 25 V
U
IN
0 V to 50 V
U
IN
hexdecVVVV
7FF932761>
7FF832760+4.9988 to
+5.375>+10.75>+26.875>+53.75
+5.375
+9.9975 to
+10.75
+24.9939 to
+26.875
+49.9878 to
+53.75
400016384+2.5+5.0+12.5+25.0
000881.221 mV+2.441 mV6.1025 mV+12.205 mV
00000< 0<0<0<0
Input Data Word
(Two’s Complement)
±5 V
U
IN
±10 V
U
IN
±25 V
U
IN
hexdecVVV
7FF932761>
7FF832760+4.9988 to
+5.375>+10.75 >+26.875
+5.375
+9.9975 to
+10.75
+24.9939 to
+26.875
400016384+2.5+5.0+12.5
00088+1.221 mV+2.441 mV+6.104 mV
00000000
FFF8-8-1.221 mV-2.441 mV-6.104 mV
C000-16384-2.5-5.0-12.5
8000-32768-5.0 to -5.375-10.00 to -10.75-25.0 to -26.875
8001-32767-5.375<-10.75-26.875
6226B_GE19
Page 20
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
Current Ranges:
Input Data Word
(Two’s Complement)
0mA to 20mA
I
IN
0mA to 40mA
I
IN
hexdecmAmA
7FF932761>+21.5>
+43.0
7FF832760+19.9951 to +21.5+39.9902 to +43.0
400016384+10.0+20.0
00088+4.8828 µA+9.7656 µA
00000<0<0
Input Data Word
(Two’s Complement)
±20 mA
I
IN
±40 mA
I
IN
hexdecmAmA
7FF932761>+21.5>
+43.0
7FF832760+19.9951 to +21.5+39.9902 to +43.0
400016384+10.0+20.0
00088+4.8828 µA+9.7656 µA
0000000
FFF8-8-4.8828 µA-9.7656 µA
C000-16384-10.0-20.0
8000-32768-20.0 to -21.5-40.0 to -43.0
8001-32767<-21.5<-43.0
Input Data Word
(Two’s Complement)
4mA to 20 mA
I
IN
hexdecmA
7FFD32765>+21.5
7FFC32764+19.9961 to +21.5
400016384+10
000C12+4.003906
00044+3.2 to +4.0
00066< 3.2
206226B_GE
Page 21
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
"IB RT" Format
The measured value is represented in bits 14 to 0. An additional bit (bit 15) is available as a sign bit.
This format corresponds to the data format used on INTERBUS RT modules.
Diagnostic codes and error bits are not defined in this data format. An open circuit is indicated by the
positive final value 7FFF
hex
.
Measured value representation in "IB RT" format (15 bits):
1514131211109876543210
SBAnalog value
SBSign bit
Significant Measured Values
Voltage Ranges
Input Data Word
(Two’s Complement)
0V to 5 V
U
IN
0V to 10 V
U
IN
0 V to 25 V
U
IN
0 V to 50 V
U
IN
hexdecVVVV
7FFF32767
≥ +4.999847≥ +9.999695≥ +24.999237≥ +49.998474
7FFE32766+4.999695+9.999390+24.998474+49.996948
400016384+2.5+5+12.5+25.0
00011+152.6 µV+305.2 µV+762.9 µV+1.5259 mV
00000 0000
Input Data Word
(Two’s Complement)
±5 V
U
IN
±10 V
U
IN
±25 V
U
IN
hexdecVVV
7FFF32767
≥ +4.999847≥ +9.999695≥ +24.999237
7FFE32766+4.999695+9.999390+24.998474
400016384+2.5+5.0+12.5
00011+152.6 µV+305.2 µV+762.9 µV
00000000
FFFF-1-152.6 µV-305.2 µV-762.9 µV
C000-16384-2.5-5.0-12.5
8001-32767-4.999847-9.999695-24.999237
8000-32768
≤ -5.0≤-10.0≤-25.0
6226B_GE21
Page 22
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
Current Ranges:
Input Data Word
(Two’s Complement)
0mA to 20mA
I
IN
0mA to 40mA
I
IN
hexdecmAmA
7FFF32767
≥ +19.9993896≥ +39.9987793
7FFE32766+19.9987793+39.9975586
400016384+10+20
00011+0.6104 µA+1.2207 µA
0000000
Input Data Word
(Two’s Complement)
±20 mA
I
IN
±40 mA
I
IN
hexdecmAmA
7FFF32767
≥ +19.999385≥ +39.9987739
7FFE32766+19.998779+39.9975586
400016384+10.0+20.0
00011+0.6104 µA+1.2207 µA
0000000
FFFF-1-0.0006105-0.0012207
C000-16384-10.0-20.0
8001-32770-19.999385-39.9987793
8000-32768
≤-20.0≤-40.0
Input Data Word
(Two’s Complement)
4mA to 20 mA
I
IN
hexdecmA
7FFF32767
≥ +19.9995117
7FFE32766+19.9990234
400016384+12
00011+0.4884 µA
00000+4.0
00000+3.2 to +4.0
7FFF32767<+3.2
226226B_GE
Page 23
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
"Standardized Display" Format
The data is represented in bits 14 to 0. An additional bit (bit 15) is available as a sign bit.
In this format, data on the measuring range is standardized and represented in such a way that it in-
dicates the corresponding value without conversion.
In this format, one bit has the following validity for the measuring ranges stated:
Measuring RangeValidity of One Bit
0 V to 5 V; ±5 V1 mV
0 V to 10 V; ±10 V1 mV
0 V to 25 V; ±25 V1 mV
0 V to 50 V10 mV
0 mA to 20 mA; 4 mA to 20 mA1 µA
0 mA to 40 mA10 µA
This format supports extended diagnostics. Values > 8000
and < 8100
hex
indicate an error.
hex
The following diagnostic codes are possible:
Code (hex)Error
8001Overrange
8002Open circuit
8004Measured value invalid/no valid measured value avai-
lable (e.g., because the channel was not configured)
8010Configuration invalid
8020I/O supply voltage faulty
8040Module faulty
8080Under range
Measured value representation in "standardized display" format (15 bits):
1514131211109876543210
SBAnalog value
SBSign bit
6226B_GE23
Page 24
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
Significant Measured Values
Voltage Ranges
Input Data Word
(Two’s Complement)
0V to 5V
U
IN
0V to 50V
U
IN
hexdecVVV
8001OR>
+5.419> +54.187> +5.419
152B5419+5.419+54.187+5.419
13885000+5.0+50.0+5.0
00011+1.0 mV+10.0 mV+1.0 mV
00000 000
0000-1< 0< 0-1.0 mV
EC78-5000––-5.0
EAD5-5419––-5.419
8080UR––< -5.419
Input Data Word
(Two’s Complement)
0 V to 10 V
U
IN
±10 V
U
IN
hexdecVV
8001OR> +10.837> +10.837
2A5510837+10.837+10.837
271010000+10.0+10.0
00011+1.0 mV+1.0 mV
0000000
00000< 0–
FFFF-1–-1.0 mV
D8F0-10000–-10.0
D5AB-10837–-10.837
8080UR–< -10.837
±5 V
U
IN
246226B_GE
Page 25
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
Input Data Word
(Two’s Complement)
0 V to 25 V
U
IN
±25 V
U
hexdecVV
8001OR> +27.093> +27.093
69D527093+27.093+27.093
61A825000+25.0+25.0
00011+1.0 mV+1.0 mV
0000000
00000< 0–
FFFF-1–-1.0 mV
9E58-25000–-25.0
962B-27093–-27.093
8080UR–< -27.093
IN
6226B_GE25
Page 26
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
Current Ranges:
Input Data Word
0mA to 20mA
(Two’s Complement)
hexdecmA
8001OR>
+21.6747
54AA21674+21.6747
4E2020000+20.0
00011+1.0 µA
00000 0
00000< 0
Input Data Word
0mA to 40mA
(Two’s Complement)
hexdecmA
8001OR>
+43.3493
10EE4334+43.3493
0FA04000+40.0
00011+10.0 µA
000000
00000<0
Input Data Word
±20 mA
(Two’s Complement)
hexdecmA
8001OR
≥ +21.6747
54AA21674+21.6747
4E2020000+20.0
00011+1.0 µA
000000
FFFF-1-0.001
B1E0-20000-20.0
AB56-21674-21.6747
8080UR< -21.6747
Input Data Word
I
IN
(Two’s Complement)
±40 mA
I
IN
hexdecmA
8001OR> +43.349
10EE4334+43.349
0FA04000+40.0
00011+10.0 µA
000000
FFFF-1-10.0 µA
F060-4000-40.0
EF12-4334-43.349
I
IN
8080UR< -43.349
Input Data Word
4mA to 20mA
(Two’s Complement)
I
IN
hexdecmA
8001OR>+21.339
43BB17339+21.339
3E8016000+20.0
00011+4.001
00000+4.0 to +3.2
I
IN
8002Open circuit< +3.2
266226B_GE
Page 27
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
Examples of Measured Value Representation in Various Data Formats
Measuring range: 0 mA to 20 mA
Measured value:10 mA
Input data word:
Formathex Valuedec ValueMeasured Value
IB IL3A9815,00010 mA
IB ST400016,38410 mA
IB RT400016,38410 mA
Standardized display271010,00010 mA
Measuring range: ±10 V
Measured value:+5 V
Input data word:
Formathex Valuedec ValueMeasured Value
IB IL3A9815,000 5 V
IB ST400016,3845 V
IB RT400016,3845 V
Standardized display27105,0005 V
6226B_GE27
Page 28
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
"PIO" Format
The PIO format enables high-resolution representation of measured values in the 4 mA to 20 mA current measuring range. In this format, an imaginary measuring range of 0 mA to 25 mA is divided into
16
quantization steps (65,536 steps). Thus, unipolar measured currents with a resolution of 0.38 µA/
2
LSB can be represented. Although this format is designed for the 4 mA to 20 mA range, signals between 0 mA and 24 mA can be detected so the overrange limits and the open circuit threshold in the
higher-level control system are freely definable.
Measured value representation in "PIO" format (16 bits):
1514131211109876543210
Analog value
Example of parameterization using PIO format
Channel:1
Filtering:16-sample average
Format:PIO
Measuring range:4 mA to 20 mA (PIO format is only supported in this measuring range.)
Option 1:
1Configuring channel 1
OUT[0]4000
OUT[1]004A
hex
hex
2Reading the measured value
OUT[0]0000
OUT[1]0000
hex
hex
Option 2:
Configuring channel 1 and reading the measured value
OUT[0]5000
OUT[1]004A
hex
hex
Significant Measured Values
Input Data Word
(Two’s Complement)
hexdecmA
F5C262914+24.0
CCCD52429+20.0
666626214+10.0
0A3D2621+1.0
00011+0.3815 µA
00000+0
PIO
I
IN
286226B_GE
Page 29
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
Process Data Input Words in the Event of an Error
In the event of an error, the command is mirrored in the input word IN[0] and displayed with the set
error bit. The input word IN[1] indicates the error cause.
The following diagnostic codes are valid for configuration or hardware errors in all data formats:
Command
(hex)
Code
(hex)
PFMeaning/NoteRemedy
8020XI/O supply voltage faulty.–Check the supply voltage of
the station head (e.g., U
–Check the potential jumper
connection.
After module
8040XModule faulty.Replace module.
start
0x008004There is no valid configuration for
Configure channel.
the channel scanned.
5x008004The configuration just specified is
Check and correct configuration.
invalid.
1x008010There is no valid configuration for
Configure channel.
the channel scanned.
4x00 and
6000
The parameters are mirrored. This
is usually caused by invalid para-
Check and correct parameters.
meters.
3C00No diagnostic code.
PFA peripheral fault is reported to the higher-level control system
In addition to the indicator in the input words, for diagnostic codes 8040
8020
(I/O supply voltage faulty), a peripheral fault is reported to the higher-level control system.
hex
The "IB IL" and "standardized display" formats offer additional diagnostic functions.
These are specified on page 16 and page 23.
(module faulty) and
hex
BK
).
6226B_GE29
Page 30
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
Startup Options
The following startup options illustrate how to use the ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH
terminal.
Standard Method 1
Task:
–All input channels are to be operated inthe same configuration (6000
, 3
–Filtering by mean-value generation: 32-sample average (11
, 0
–Format: IB IL (000
bin
–Measuring range: ±10 V (0001
dec
)
, 1
dec
)
bin
bin
dec
)
hex
)
Procedure:
1Install the terminal.
2Connect the voltage (power up).
3Configure the terminal (initialization phase; e.g., in the initialization phase of the application
program).
4Read the measured value for each channel in turn.
Initialization phase:
According to the task, the appearance of the process data output words is as follows:
With the command in OUT[0], the configuration according to OUT[1] is sent to the electronics module.
After configuration is complete, the command and the configuration are mirrored in the process data
input words.
306226B_GE
Page 31
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
Configure terminal:OUT[0]:6000
Configuration completed successfully:IN[0]6000
Error during configuration:IN[0]F000
hex
hex
hex
OUT[1]:0301
IN[1]:0301
IN[1]:0301
hex
hex
hex
A cyclic program sequence, which reads the measured values of the individual channels, takes place
after configuration has been successfully completed.
The appearance of the process data output word OUT[0] is as follows:
command does not require any parameters and the value of the parameter word OUT[1]
hex
.
hex
With the command in OUT[0], the read request is sent to the electronics module. After the command
has been executed, it is mirrored in the process data input word IN[0] and the analog value (xxxx
or a diagnostic message (yyyy
Read measured value for channel 1:OUT[0]:0000
Command executed successfully:IN[0]0000
Error during execution:IN[0]8000
) is displayed in the process data input word IN[1].
hex
hex
hex
hex
OUT[1]:0000
IN[1]:xxxx
IN[1]:yyyy
hex
hex
hex
hex
)
Read measured value for channel 2:OUT[0]:0100
Command executed successfully:IN[0]0100
Error during execution:IN[0]8100
hex
hex
hex
OUT[1]:0000
IN[1]:xxxx
IN[1]:yyyy
hex
hex
hex
and so on until:
Read measured value for channel 8:OUT[0]:0700
Command executed successfully:IN[0]0700
Error during execution:IN[0]8700
6226B_GE31
hex
hex
hex
OUT[1]:0000
IN[1]:xxxx
IN[1]:yyyy
hex
hex
hex
Page 32
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
C o n f i g u r e
t e r m i n a l
E v a l u a t e a n d
r e m o v e e r r o r s
6 0 0 0 0 3 0 1
N o
O K ?
n = 1
R e a d m e a s u r e d
v a l u e o f c h a n n e l n
0 x 0 0 0 0 0 0
O K ?
Y e s
h e x
I n i t i a l i z a t i o n
C y c l i c p r o g r a m s e q u e n c e
Y e s
N o
h e x
Y e sN o
n > 8 ?
n = n + 1
f o r r e a d i n g t h e m e a s u r e d
v a l u e s o f c h a n n e l s 1 t o 8
6 2 2 6 A 0 1 4
Figure 10 Schematic initialization and cyclic program sequence when configuring the entire terminal
326226B_GE
Page 33
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
Standard Method 2
Task:
–The input channels are to be operated indifferent configurations.
The channels are to be configured first (4x00
After configuration, the measured values are to be read (0x00
hex
).
).
hex
–Configuration of the channels:
ParameterChannel 1Channel 2Channel 3...
Filtering by meanvalue generation:
Format:IB IL
Measuring range: 0 V to 50 V
No filtering
(01
, 1
bin
dec
bin
bin
, 0
, 6
(000
(0110
dec
)
dec
16-sample average
(00
, 0
bin
IB IL
)
(000
bin
±5 V
)
(0011
bin
, 0
dec
, 3
dec
)
dec
4-sample average
(10
, 2
dec
)
bin
IB IL
)
(000
bin
, 0
dec
)
4 mA to 20 mA
)
(1010
bin
, 10
dec
)
Procedure:
1Install the terminal.
2Connect the voltage (power up).
3Configure each individual channel in the terminal in turn (initialization phase; e.g., in the
initialization phase of the application program).
4Read the measured value for each channel in turn.
...
...
...
Initialization phase:
The appearance of the process data output word OUT[0] is as follows for all channels:
With the command in OUT[0], the configuration according to OUT[1] is sent to the electronics module
for each channel. After configuration of a channel is complete, the command and the configuration
are mirrored in the process data input words.
Configure channel 1:OUT[0]:4000
Configuration completed successfully:IN[0]4000
Error during configuration:IN[0]C000
Configure channel 2:OUT[0]:4100
Configuration completed successfully:IN[0]4100
Error during configuration:IN[0]C100
Configure channel 3:OUT[0]:4200
Configuration completed successfully:IN[0]4200
Error during configuration:IN[0]C200
hex
hex
hex
hex
hex
hex
hex
hex
hex
OUT[1]:0106
IN[1]:0106
IN[1]:0106
OUT[1]:0003
IN[1]:0003
IN[1]:0003
OUT[1]:020A
IN[1]:020A
IN[1]:020A
hex
hex
hex
hex
hex
hex
hex
hex
hex
Configure channels 4 to 8 according to the example configurations shown.
A cyclic program sequence, which reads the measured values of the individual channels,
takes place after the configuration for each individual channel has been completed successfully.
The appearance of the process data output word OUT[0] is as follows:
OUT[0]
Bit1514131211109876543210
Assignment0
bin0
0000Z2Z1Z000000000
Command00000000
hex0X00
The 0x00
is 0000
command does not require any parameters and the value of the parameter word OUT[1]
hex
.
hex
With the command in OUT[0], the read request is sent to the electronics module. After the command
has been executed, it is mirrored in the process data input word IN[0] and the analog value (xxxx
or a diagnostic message (yyyy
) is displayed in the process data input word IN[1]. The appearance
hex
hex
of the process data input and output words is the same as in example 1.
346226B_GE
)
Page 35
n = 1
C o n f i g u r e
c h a n n e l n
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
N o
E v a l u a t e a n d
r e m o v e e r r o r s
N o
R e a d m e a s u r e d
v a l u e o f c h a n n e l n
4 x 0 0 x x x x
O K ?
n > = 8 ?
n = 1
0 x 0 0 0 0 0 0
Y e s
Y e s
h e x
n = n + 1
I n i t i a l i z a t i o n o f e a c h
i n d i v i d u a l c h a n n e l
N o
C y c l i c p r o g r a m s e q u e n c e
Y e s
N o
h e x
n > 8 ?
n = n + 1
f o r r e a d i n g t h e m e a s u r e d
v a l u e s o f c h a n n e l s 1 t o 8
O K ?
Y e sN o
6 2 2 6 A 0 1 5
Figure 11 Schematic initialization and cyclic program sequence when configuring channels with dif-
ferent parameters
6226B_GE35
Page 36
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
Special Methods
The group commands are regarded as special methods.
Task:
–The measured values of channels 1 to 4 (group A) are to be read in one cycle and the measured
values of channels 5 to 8 (group B) in another cycle (7000
for group A; 7100
hex
for group B).
hex
–The input channels are to be operated in different configurations (e.g., as in example 2).
Procedure:
1Install the terminal.
2Connect the voltage (power up).
3Configure each individual channel in the terminal in turn
(initialization phase; e.g., in the initialization phase of the application program).
As the channels are to have different configurations, they must be configured using the 4x00
hex
command.
4Use group command 7000
Then use group command 7100
to read the measured values for channels 1 to 4 simultaneously.
hex
to read the measured values for channels 5 to 8.
hex
Both groups can be reread cyclically.
Advantages of the Standard Methods Compared With the Special Methods
–The standard methods read the measured values with greater reliability because the command
is mirrored for every measured value. Thus, it is possible to detect precisely which channel
supplied the measured value.
–The standard methods enable more accurate error diagnostics than the special methods.
–If you switch the group command for reading the channels (e.g., between 7000
and 7100
hex
hex
when reading two groups of four channels each), you must allow sufficient time to do so. It must
be ensured that the received measured values belong to the requested group. This can only be
ensured using waiting times.
366226B_GE
Page 37
Application Notes
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
Notes on typical applications are provided here
in order to facilitate optimal use of the ANALOG
IN 15 BIT VOLTAGE/CURRENT 8CH terminal
in different operating modes.
Precision DC Measurements
Precision DC measurements constitute an optimal area of application for the ANALOG IN 15
BIT VOLTAGE/CURRENT 8CH terminal. The
high-resolution analog-to-digital converter and
excellent instrumentation amplifier technology
achieve a very high level of accuracy (typically
0.02% in the voltage range).
In order to take full advantage of these features,
the following configurations are recommended:
–Measured value acquisition: according to
standard method 1 or 2
–Format: IB IL (high-resolution)
–Filtering: 32-sample average
This suppresses undesirable interference signals and provides a low-noise, accurate measured result. Non-time-critical, i.e., slow, processes are a prerequisite for this configuration.
Closed-Loop Control Tasks
The ANALOG IN 15 BIT VOLTAGE/CURRENT
8CH terminal makes closed-loop control tasks
particularly easy to carry out. The terminal supports the advantages of bus with regard to time
equidistance. As the terminal scans input signals synchronously with the bus clock and the
bus runtime has a very small jitter, the input signals can be scanned equidistantly. Thus, the
measured results are particularly suitable for
use in closed-loop control.
The following configurations and measures are
recommended:
–Measured value acquisition: according to
standard method 1 or 2
In special cases, the group commands
(7x00
) can be an exception.
hex
–Filtering: no mean-value generation
As total accuracy is often irrelevant in
closed-loop control tasks, filtering is not necessary. This increases the dynamic response of the terminal and speeds up the
closed-loop control circuit.
–Adjust the bus cycle time to the firmware
runtime
Example: in standard method 1, the firmware runtime is <800 µs, i.e., the bus cycle
time should be set to 800 µs.
In applications in which an 8- bit resolution is
sufficient, group commands 7000
7100
can be used to read four channels si-
hex
hex
and
multaneously. Scanning is synchronous with the
bus clock here too. Four channels require
<1500 µs.
6226B_GE37
Page 38
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
Signal Scanning or Fast, Sudden Signals
The ANALOG IN 15 BIT VOLTAGE/CURRENT
8CH terminal is ideal for scanning signals. As a
result of the high input cut-off frequency
(3.5 kHz), there are no limiting elements in the
analog stage. The maximum signal frequency
that can be scanned depends on the firmware
runtime and the bus cycle time.
The terminal measuring device can measure signals with a frequency of 1/800 µs = 1.25 kHz.
According to Shannon's sampling theorem,
therefore, the signal frequency that can be scanned is 1.25 kHz/2 = 0.625 kHz.
This signal frequency can only be achieved if
sufficiently fast bus operation can be ensured.
The following configurations and measures are
recommended:
–Measured value acquisition: according to
standard method 1 or 2
–Filtering: no mean-value generation
This increases the dynamic response of the
terminal.
–Adjust the bus cycle time to the firmware
runtime
This achieves discrete periods of scanning.
Example: in standard method 1, the firmware runtime is <800 µs, i.e., the bus cycle
time should be set to 800 µs.
Linked Voltages
When using linked voltages, ensure that the
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH
terminal has eight single-ended inputs. A common ground potential should be used with linked
voltages. As the terminal has many measuring
ranges, for example the 0 V to 50 V range, and
the resolution is high enough, applications with
several linked voltages can also be used without
any problems.
D
A I 8 S F
1 2
1 2
1 2
1 2
U 1 U 2 U 3 U 4 U 5 U 6 U 7 U 8
1
1
1
1
1
1
1
1
2
2
2
2
2
2
2
2
G N D
3
3
3
3
3
3
3
3
4
4
4
4
4
4
4
4
1
-+
6 V
238
-+
6 V
-+
6 V
. . .
-+
6 V
6 2 2 6 A 0 1 6
Figure 12 Measuring linked voltages
386226B_GE
Page 39
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
Current Loops
If the ANALOG IN 15 BIT VOLTAGE/CURRENT
8CH terminal is used to measure currents in current loops, please ensure that the eight current
inputs operate on a common ground potential
(single-ended). Thus, the measured input
should always be on the GND potential with the
minus input.
D
A I 8 S F
1 2
1 2
1 2
1 2
1
1
1
1
1
1
1
2
2
2
2
2
2
I 1
A
3
3
G N D
3
2
3
3
3
3
1
2
3
4
4
4
4
4
4
4
4
6 2 2 6 A 0 1 7
Figure 13 Measuring currents
6226B_GE39
Page 40
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
Tolerance and Temperature Response
Voltage inputs
T
= 25°C (77°F).
A
Measuring RangeAbsolute
(Typical)
0 V to 5 V; ±5 V±1.0 mV±5.0 mV±0.02%±0.10%
0 V to 10 V; ±10 V±2.0 mV±10.0 mV±0.02%±0.10%
0 V to 25 V; ±25 V±5.0 mV±25.0 mV±0.02%±0.10%
0 V to 50 V±10.0 mV±50.0 mV±0.02%±0.10%
T
= -25°C … +55°C (-13°F … +131°F)
A
Measuring RangeAbsolute
(Typical)
0 V to 5 V; ±5 V±5.0 mV±15.0 mV±0.10%±0.30%
0 V to 10 V; ±10 V±10.0 mV±30.0 mV±0.10%±0.30%
0 V to 25 V; ±25 V±25.0 mV±75.0 mV±0.10%±0.30%
0 V to 50 V±50.0 mV±150.0 mV±0.10%±0.30%
Absolute
(Maximum)
Absolute
(Maximum)
Relative
(Typical)
Relative
(Typical)
Relative
(Maximum)
Relative
(Maximum)
Current Inputs
T
= 25°C (77°F)
A
Measuring RangeAbsolute
(Typical)
0 mA to 20 mA; 4 mA
±8.0 µA±40.0 µA±0.04%±0.20%
Absolute
(Maximum)
Relative
(Typical)
Relative
(Maximum)
to 20 mA; ±20 mA
0 mA to 40 mA;
±16.0 µA±80.0 µA±0.04%±0.20%
±40 mA
T
= -25°C … +55°C (-13°F … +131°F)
A
Measuring RangeAbsolute
(Typical)
0 mA to 20 mA
±28.0 µA±80.0 µA±0.14%±0.40%
Absolute
(Maximum)
Relative
(Typical)
Relative
(Maximum)
4 mA to 20 mA
±20 mA
0 mA to 40 mA
±56.0 µA±160 µA±0.14%±0.40%
±40 mA
406226B_GE
Page 41
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
Additional Tolerances for Electromagnetic Interference
Type of Electromagnetic
Interference
Electromagnetic fields;
field strength 10 V/m according to
EN 61000-4-3/IEC 61000-4-3
Conducted interference
Class 3 (test voltage 10 V) according
to EN 61000-4-6/IEC 61000-4-6
Fast transients (bursts)
4 kV supply, 2 kV input according to
EN 61000-4-4/IEC 61000-4-4
Typical Deviation From the
Measuring Range Final
Value (Voltage Input)
RelativeRelative
< ±2%< ±2%
< ±1%< ±1%
< ±1%< ±1%
Typical Deviation From the
Measuring Range Final
Value (Current Input)
6226B_GE41
Page 42
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
Technical Data
General Data
Housing dimensions (width x height x depth)48.8 mm x 120 mm x 71.5 mm
(1.921 in. x 4.724 in. x 2.815 in.)
Weight125 g (without connectors)
Operating modeProcess data operation with 2 words
Type of sensor connection 2-wire technology
Permissible temperature (operation)-25°C to +55°C (-13°F to 131°F)
Permissible temperature (storage/transport)-25°C to +85°C (-13°F to 185°F)
Permissible humidity (operation)75% on average, 85% occasionally
Between -25°C and +55°C (-13°F to +131°F) appropriate measures against increased
humidity (> 85%) must be taken.
Permissible humidity (storage/transport)75% on average, 85% occasionally
For a short period, slight condensation may appear on the outside of the housing if, for
example, the terminal is brought into a closed room from a vehicle.
Permissible air pressure (operation)80 kPa to 106 kPa
(up to 2000 m [6562 ft.] above sea level)
Permissible air pressure (storage/transport)70 kPa to 106 kPa
(up to 3000 m [9843 ft.] above sea level)
Degree of protectionIP 20 according to IEC 60529
Class of protectionClass 3 according to VDE 0106 and IEC 60536
Interface
Bus interfaceData routing
Power Consumption
Communications power U
L
Current consumption from U
I/O supply voltage U
Current consumption to U
ANA
ANA
L
7.5 V
48 mA, typical/55 mA, maximum
24 V DC
30 mA, typical/35 mA, maximum
Total power consumption1500 mW, typical
Supply of the Electronics Module and I/Os Through Bus Terminal/Power Terminal
Connection methodPotential routing
426226B_GE
Page 43
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
Analog Inputs
Number8 analog single-ended inputs
Signals/resolution in the process data word
(quantization)
See tables in Section „Formats for
Representation of Measured Values“ auf
Seite 16
Measured value representationIn the formats
IB IL(15-bit with sign bit)
IB ST(12-bit with sign bit)
IB RT(15-bit with sign bit)
Standardized display(15-bit with sign bit)
PIO(16-bit)
Please read the notes on page 17 and page 24 on measured value representation in "IB
IL" and "standardized display" format.
Digital filtering (mean-value generation)None or over 4, 16 or 32 measured values
Default setting: over 16 measured values
Conversion time of the A/D converter10 µs, maximum
Process data update of the channelsBus-synchronous
Firmware runtime depending on the command
– 0x00
– 5x00
– 7000
– 7400
hex
hex
hex
hex
/7100
/7500
hex
hex
/7600
hex
/7700
hex
< 800 µs
< 850 µs
<1500 µs
< 1300 µs
Analog Input Stages
Voltag e Inputs
Input resistance> 240 k
Ω
Limit frequency (-3 dB) of the input filter3.5 kHz
Behavior upon sensor failureGoes to 0 V
Maximum permissible voltage between analog
50 V
voltage inputs and an analog reference potential or between two voltage inputs
6226B_GE43
Page 44
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
Analog Input Stages (Continued)
Current Inputs
Input resistance25
Ω (shunt)
Limit frequency (-3 dB) of the input filter3.5 kHz
Behavior upon sensor failureGoes to 0 mA/4 mA
Maximum permissible voltage between analog
±2.5 V (corresponds with 100 mA via the shunts)
current inputs and an analog reference potential or between two current inputs
Maximum permissible current in every input±100 mA
Safety Measures
Surge voltage and overcurrents100% overload, maximum
Electrical Isolation/Isolation of Voltage Ranges
To provide electrical isolation of the logic level and the I/O area, it is necessary to supply
the bus terminal and the sensors, which are connected to the described analog input terminal, from separate power supplies. Interconnection of the 24 V power supplies is not
permitted.
Common Potentials
The 24 V main power supply, 24 V segment voltage, and GND have the same potential. FE is a separate potential area.
Separate Potentials in the System Consisting of Bus Terminal/Power Terminal and an I/O
Terminal
- Test Distance- Test Voltage
5 V supply incoming remote bus/7.5 V supply (bus logic)500 V AC, 50 Hz, 1 min
5 V supply outgoing remote bus/7.5 V supply (bus logic)500 V AC, 50 Hz, 1 min
7.5 V supply (bus logic)/24 V supply U
7.5 V supply (bus logic)/24 V supply U
/I/O500 V AC, 50 Hz, 1 min
ANA
/functional earth ground500 V AC, 50 Hz, 1 min
ANA
I/Os/functional earth ground500 V AC, 50 Hz, 1 min
Error Messages to the Higher-Level Control or Computer System
Failure of the voltage supply U
ANA
Yes
I/O error/user errorYes, error message via the process data input
words (see page 29)
446226B_GE
Page 45
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
Ordering Data
DescriptionOrder DesignationOrder No.
Terminal with eight analog input channelsANALOG IN 15 BIT
VOLTAGE/CURRENT 8CH
Four connectors with shield connector for the connection of two cables are needed for
complete fitting of the terminal.
IC220ALG221
Connector with shield connector for the connection of two cables; 5 per pack
I/O TERMINAL STRIP
W/DUAL SHIELD QTY 5
IC220TBK062
6226B_GE45
Page 46
ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
466226B_GE
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.