Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Instruction Manual
ISM112
Copyright 2004 by GANTNER INSTRUMENTS Test & Measurement GMBH, Schruns (Austria).
Copyrights: Operating instructions, manuals and software are protected by copyright . All rights are reserved. Copying,
duplication, translation, installation in any electronic medium or machine-readable form in whole or in part is prohibited. The
sole exception is represented by creation of a back-up copy of software for own use as a safeguard, so far as this is
techniqueally possible and recommended by us. Any infringement will render the party committing such infringement liable to
compensation payment.
Liability: Any claims against the manufacturer based on the hardware or software products described in this manual shall
depend exclusively on the conditions of the guarantee. Any further-reaching claims are excluded, and in particular the
manufacturer accepts no liability for the completeness or accuracy of the contents of this manual. The right is reserved to
make alterations, and alterations may be made at any time without prior notice being given.
Trade marks: Attention is drawn at this point to markings and registered trade marks used in this manual, in particular to
those of Microsoft Corporation, International Business Machines Corporation and Intel Corporation.
Important: Before commencing installation, commissioning, putting into service and before any
maintenance work is carried out, it is essential that the relevant warning and safety instructions in this
manual are read!
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM112
Dear customer,
We congratulate you on having selected a product of Gantner Instruments Test & Measurement GmbH (in the following:
Gantner Instruments). So that our product functions in your installation with safety and to your complete satisfaction, we take
this opportunity to familiarize you with the following ground rules:
1.
Installation, commissioning, operation and maintenance of the product purchased must be carried out in accordance
with instructions, i.e. in accordance with the technical conditions of operation, as described in the corresponding
product documentation.
2.
Before either installation, commissioning, operation or maintenance it is therefore essential that you read the
corresponding chapter of this manual and observe its instructions.
3.
If there are still some points on which you are not entirely clear, please do not take a chance, but ask the customer
adviser responsible for you, or ring the Gantner Instruments hotline.
4.
Where not otherwise specifically laid down, appropriate installation, commissioning, operation and maintenance of the
appliance is the customers responsibility.
5.
Directly on receipt of the goods, inspect both the packaging and the appliance itself for any signs of damage. Also
check that the delivery is complete (-> accessories, documentation, auxiliary devices, etc.).
6.
If the packaging has been damaged in transport or should you suspect that it has been damaged or that it may have
a fault, the appliance must not be put into service. In this case, contact your customer advisor. He will make every
effort to resolve the problem as quickly as possible.
7.
Installation, commissioning and servicing of our appliances must only be carried out by suitably trained personnel. In
particular, correspondingly qualified specialists may only make electrical connections. Here, the appropriate
installation provisions in accordance with the relative national Electrical Engineers construction regulations (e.g. VE,
[Austrian] VDE, [German]...) must be observed.
8.
Where not otherwise stated, installation and maintenance work on our appliances is exclusively to be carried out
when disconnected from the power supply. This applies in particular to appliances which are normally supplied by
low-tension current.
9.
It is prohibited to make alterations to the appliances or to remove protective shields and covers.
10.
Do not attempt yourself to repair an appliance after a defect, failure or damage, or to put it back into operation again.
In such cases, it is essential you contact either your customer adviser or the Gantner Instruments hotline. We will
make every effort to resolve the problem as quickly as possible.
11.
Gantner Instruments accepts no responsibility for any injuries or damage caused as a result of improper use.
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
12.
Although every care is taken and we are continuously aiming for improvement, we cannot exclude completely
the possibility of errors appearing in our documentation. Gantner Instruments therefore accepts no
responsibility for the completeness or the accuracy of this manual. The right is reserved to make alterations,
and we may carry out alterations at any time without giving prior notice.
13.
Should you discover any fault with the product or in its accompanying documentation, or have any suggestions
for improvement, you may confidently approach either your customer adviser or Gantner Instruments directly.
14.
However, even if you just want to tell us that everything has functioned perfectly, we still look forward to hearing
from you.
We wish you a successful application of our appliances. We will be pleased to welcome you as a customer again soon.
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
TABLE OF CONTENTS
TABLE OF CONTENTS
1.
1.1.
1.2.
1.3.
2.
2.1.
2.2.
2.3.
3.
3.1.
3.2.
3.3.
3.4.
3.5.
3.6.
3.7.
3.8.
3.9.
3.10.
3.11.
3.12.
3.13.
3.14.
INSTALLATION ............................................................................................................................................... 14
Mounting / Fixing ................................................................................................................................................ 14
Protective System................................................................................................................................................ 14
Ambient Temperature.......................................................................................................................................... 14
Front of the Appliance / Pin Assignment................................................................................................................ 15
Connection Technique ......................................................................................................................................... 16
Power Supply...................................................................................................................................................... 16
Grounding .......................................................................................................................................................... 17
Lightning Protection ............................................................................................................................................ 17
Bus Connection ................................................................................................................................................... 18
Sensor Connection .............................................................................................................................................. 19
Several Sensors at one Module............................................................................................................................. 19
Module Jack ICM 100........................................................................................................................................... 20
Cold Junction Terminal ICJ 108 ............................................................................................................................ 21
DC Decoupling .................................................................................................................................................... 21
4.
4.1.
4.2.
4.3.
4.4.
4.5.
4.6.
4.7.
4.8.
4.9.
4.10.
4.11.
5.
5.1.
5.2.
5.3.
5.4.
5.5.
5.6.
5.7.
5.8.
SIGNAL PROCESSING..................................................................................................................................... 31
Analog Inputs ..................................................................................................................................................... 31
Analog Output..................................................................................................................................................... 31
Digital Inputs/Outputs ......................................................................................................................................... 32
Voltage Output (UFORCE) ....................................................................................................................................... 33
Internal Reference Voltage................................................................................................................................... 33
Internal Processing.............................................................................................................................................. 33
Measurement Rate .............................................................................................................................................. 35
Signal Preparation ............................................................................................................................................... 35
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
TABLE OF CONTENTS
6.
6.1.
6.2.
6.3.
6.4.
6.5.
6.6.
6.7.
6.8.
6.9.
6.10.
FUNCTIONAL DESCRIPTION...........................................................................................................................36
Analog Input Variable.......................................................................................................................................... 36
Analog Output Variable ....................................................................................................................................... 45
Digital Input Variable .......................................................................................................................................... 46
Digital Output Variable ........................................................................................................................................ 52
Arithmetic Channel.............................................................................................................................................. 56
Setpoint Variable ................................................................................................................................................ 58
Alarm Variable .................................................................................................................................................... 58
Controller Variable .............................................................................................................................................. 58
Threshold Values ................................................................................................................................................ 58
Error Handling .................................................................................................................................................... 58
7.
7.1.
7.2.
7.3.
7.4.
8.
8.1.
8.2.
8.3.
9.
9.1.
9.1.1.
9.1.2.
9.1.3.
9.1.4.
9.2.
9.2.1.
9.2.2.
9.2.3.
9.2.4.
9.2.5.
9.3.
9.3.1.
9.3.2.
9.3.3.
9.4.
9.4.1.
9.4.2.
9.4.3.
9.4.4.
COMMUNICATION...........................................................................................................................................66
General .............................................................................................................................................................. 66
Bus Interface...................................................................................................................................................... 66
Bus Protocol ....................................................................................................................................................... 66
Character Formats .............................................................................................................................................. 66
Output Format.................................................................................................................................................... 67
ASCII-Protocol .................................................................................................................................................... 69
Transmission Sequence ....................................................................................................................................... 69
Telegram Format ................................................................................................................................................ 70
Instruction Set.................................................................................................................................................... 72
Instruction Parameters ........................................................................................................................................ 73
Sample Program ................................................................................................................................................. 74
PROFIBUS-Protocol ............................................................................................................................................. 75
Transmission Sequence ....................................................................................................................................... 75
Telegram Format ................................................................................................................................................ 76
Instruction Set.................................................................................................................................................... 78
MODBUS-Protocol ............................................................................................................................................... 82
Transmission Sequence ....................................................................................................................................... 82
Telegram Format ................................................................................................................................................ 83
Instruction Set.................................................................................................................................................... 83
Register Contents ............................................................................................................................................... 87
10.
10.1.
10.2.
10.3.
10.4.
10.5.
10.6.
10.7.
SPECIFICATIONS ............................................................................................................................................91
Power Supply ..................................................................................................................................................... 91
Signal Inputs/Outputs ......................................................................................................................................... 91
Signal Processing ................................................................................................................................................ 91
Force Output ...................................................................................................................................................... 91
Analog Inputs (4 per Module) .............................................................................................................................. 91
Analog Output (1 per Module).............................................................................................................................. 92
Digital Inputs/Outputs (2 pro Module) .................................................................................................................. 93
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
TABLE OF CONTENTS
10.8.
10.9.
10.10.
10.11.
10.12.
10.13.
B.
C.
D.
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
TABLE OF CONTENTS
1.
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
SYSTEM DESCRIPTION
2.
SYSTEM DESCRIPTION
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
SYSTEM DESCRIPTION
sensor modules
power supply
power supply
dc-decoupling to analog part
dc-decoupling to digital part
inputs / outputs
analog inputs
analog outputs
digital inputs
digital outputs
digital inputs/outputs
relay outputs, make contact
relay outputs, break contact
relay outputs, change over con.
force output, sensor supply out.
measuring functions
voltage measurements
current measurements
resistance measurements
resistance bridge measurements
potentiometric measurements
thermocouple with external comp.
thermocouple with internal comp.
digital status in
frequency measurement
up counter
up/down counter
quadrature counter
digital status out
PWM-output
sensor variables
number
communication
bus interface
Configuration program
additional functions
arithmetical functions
PID controller
10
ISM 111
ISM 112
+10..30 VDC
500 V
500 V
+10..30 VDC
500 V
500 V
4
4
5 VDC / 50 mA
4
0 .. 22 mA
2
5 VDC / 50 mA
0 .... 10 V
0 .. 25 mA
0 ... 20 k
0 ... 1V/V
0 ... 1V/V
yes
with ICJ 108
yes
0 ... 25 kHz
0 ... 25 kHz
0 ... 2 kHz
0 ... 2 kHz
yes
0 ... 100%
0 ... 10 V
0 .. 25 mA
0 ... 20 k
0 ... 1V/V
0 ... 1V/V
yes
with ICJ 108
yes
0 ... 25 kHz
0 ... 25 kHz
0 ... 2 kHz
0 ... 2 kHz
yes
0 ... 100%
12 / 16
12 / 16
RS-485
RS-485
extended
no
extended
yes
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
SYSTEM DESCRIPTION
Function:
measurement inputs for all common types of sensors
several and different sensors can be connected simultaneously
measured values are monitored as to programmable threshold values
PID-controller function
detection of sensor errors or line break
detection of communication errors
programmable error handling
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
11
ISM 112
SYSTEM DESCRIPTION
Power Supply:
power supply: +10...30 VDC
all connections protected against excess voltage, excess current and polarity conversion
dc decoupling between power supply, analog inputs, analog output and RS485-bus interface
Configuration:
configurable with PC-software under Windows
menu-driven sensor selection in plain text
free configuration of altogether 16 variables, with Profibus-DP protocol only 12 channels
data base for the most common sensors
definition of user-specific sensors
default of type of measurement and principle of measurement
display of pin assignment
input of linearization
setting the limit values
programmable error handling
arithmetic combination of sensor variables
maximum and minimum indicator function
configuration on file (offline-operation)
configuration via bus (online-operation)
Programming:
loading of a new download program
allocation of address, baud rate, character format and protocol via bus
automatic search for all connected sensor modules independent from the defined bus parameters
12
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
SYSTEM DESCRIPTION
Communication:
integrated RS 485 communication interface
autonomous functioning independent of overriding systems
definition of the transmission protocol (ASCII, PROFIBUS and MODBUS)
definition of the telegram format (startbit/stopbit/length/parity)
definition of the output format (field length/decimals/unit)
simple instruction set
Shell:
compact structural shape
attractive design
fast mounting
snap-on mounting on DIN rail 35 mm (1.4 inch)
protection system IP20
detachable terminal strip
separate Cold Junction Terminal
Module Jack
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
13
ISM 112
INSTALLATION
3.
INSTALLATION
14
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
INSTALLATION
OUT +
OUT -
I/O 2
0V
I/O 1
B U S
ISM
+10..30V
1
2
112
RUN
ERR
Gantner
AGND
AGND
AGND
In 3
In 4
In 2
UFORCE
In 1
A N A L O G
3
4
5
6
1
Figure 3.1 Front of the appliance
terminal
A
B
+10..30 VDC
0 V
I/O 1
I/O 2
OUT +
OUT -
meaning
RS485-bus interface A
RS485-bus interface B
voltage supply +
voltage supply digital input/output 1
digital input/output 2
analog output +
analog output -
terminal
UFORCE
In 1
In 2
In 3
In 4
AGND
AGND
AGND
meaning
force output
analog input 1
analog input 2
analog input 3
analog input 4
analog ground
analog ground
analog ground
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
15
ISM 112
INSTALLATION
Voltage Range
supply
B U S
ISM
DIGITAL
External Protector
OUT -
OUT +
I/O 2
0V
SUPPLY
I/O 1
+10..30V
max. 2.7 W
max. 1 A (inert)
ANALOG
112
Internal
Protector
(reversible)
RUN
protection against
ERR
excess current
Gantner
excess voltage
AGND
AGND
AGND
In 4
In 3
In 2
UFORCE
In 1
A N A L O G
polarity conversion
16
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
INSTALLATION
Non-regulated dc voltage between +10 and +30 VDC is sufficient for the power supply of the modules. The input is
protected against excess voltage and current and against polarity conversion. The power consumption remains
approximately constant over the total voltage range, due to the integrated switching regulator.
Due to their low current consumption (max. 150 mA at 10 VDC) the modules can also be remote-fed via longer lines.
Several modules can be supplied parallel within the permissible voltage range and considering the voltage drop in the
lines. The supply lines can also be installed in one cable, together with the bus line, if required.
In order not to charge the distribution voltage of the modules unnecessarily and to avoid unnecessary line troubles, a
separate power supply is recommended for sensors with a large current requirement.
The distribution voltage for the Intelligent Sensor Modules ISM 112 has to be protected by fuse with 1 A (inert)
maximum.
3.7. Grounding
The shell of the Ingelligent Sensor Modules ISM 112 has to be connected to earth. For this purpose an M3-thread for
attaching an grounding cable is located on the back side of the shell.
Back View
Earthing Connection
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
17
ISM 112
INSTALLATION
A
B
A'
B'
RS 485 bus connection
OUT -
I/O 1
OUT +
I/O 2
B U S
ISM
0V
+10..30V
A
B
112
B U S
ISM
AGND
In 4
AGND
AGND
In 3
UFORCE
In 2
A N A L O G
In 1
OUT -
I/O 1
OUT +
I/O 2
ERR
+10..30V
RUN
Gantner
0V
112
RUN
ERR
Gantner
AGND
In 4
AGND
AGND
In 3
In 2
In 1
UFORCE
A N A L O G
A'
B'
B U S
ISM
A
B
A'
B'
RS 485 bus connection
OUT -
OUT +
I/O 1
I/O 2
0V
+10..30V
A
B
112
B U S
AGND
In 4
AGND
AGND
In 3
UFORCE
In 1
In 2
A N A L O G
ISM
OUT -
OUT +
I/O 2
I/O 1
0V
ERR
RUN
Gantner
+10..30V
112
RUN
ERR
Gantner
AGND
AGND
In 4
AGND
In 3
In 2
UFORCE
In 1
A N A L O G
Figure 3.5 Connection of the ISM 112 to the bus by a stub cable
18
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
INSTALLATION
measuring principles
single-ended measurement of voltage
differential measurement of voltage
current measurement
RTC 2-wire technique
RTC 3-wire technique
RTC 4-wire technique
resistance bridge in 4-wire technique
resistance bridge in 6-wire technique
potentiometric measurement
thermocouples with ext. compensation
thermocouples with int. compensation
cold junction for internal compensation
analog current output
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
19
ISM 112
INSTALLATION
measuring principles
digital status recording
digital frequency measurement
digital progressive counter
digital up/down counter
digital quadrature counter
digital status output, host-controlled
digital status output, process-controlled
pulse-width modulated output
0V
I/O 1
I/O 2
In 4
In 3
AGND
In 1
In 2
UFORCE
A N A L O G
AGND
In 3
In 4
AGND
In 2
UFORCE
In 1
AGND
+10..30V
ERR
Gantner
A N A L O G
AGND
AGND
In 3
A N A L O G
In 4
RUN
ERR
Gantner
SUPPLY DIGITAL
110
RUN
ERR
In 2
B U S
ISM
RUN
UFORCE
I/O 3
I/O 2
SUPPLY D I G I T A L
111
Gantner
In 1
I/O 4
0V
I/O 1
B U S
ISM
+10..30V
I/O 3
I/O 4
0V
I/O 1
I/O 2
SUPPLY D I G I T A L
111
AGND
B U S
ISM
+10..30V
A
B
U+
U-
Figure 3.6 Connection of two Sensor Modules ISM 112 and one
Sensor Module ISM 111 by Module Jacks ICM 100
20
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
INSTALLATION
3.14. DC Decoupling
OUT +
OUT -
I/O 2
0V
I/O 1
+10..30V
The power supply, the bus interface and the analog signal inputs are DC decoupled from each other. This can
schematically be described as shown in figure 3.8.
AGND
AGND
AGND
In 4
In 3
U+
U-
In 2
U+
UUFORCE
A
B
In 1
A
B
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
21
ISM 112
STRUCTURE OF THE BUS TOPOLOGY
4.
Bus interface:
RS 485, half duplex
Bus topology:
line pattern, closed at both ends by the characteristic impedance, stub cable to the party max. 30 cm (12
inch).
Bus medium:
shielded, twisted pair cable
Transmission speed:
ASCII-protocol: 2400 / 4800 / 9600 / 19200 / 38400 bps
PROFIBUS-protocol: 9.6 / 19.2 / 93.75 / 187.5 kbps
MODBUS-protocol: 2400 / 4800 / 9600 / 19200 / 38400 kbps
Line length:
depends on the transmission speed, max. 1.2 km (0.75 miles) per bus segment, max. 4.8 km (3 miles) via a
physical bus string with 3 repeaters
Number of bus users:
max. 32 bus users per bus segment, max. 127 bus users via a physical bus string.
transmission
line length
10 m (32.5 ft)
187,5 K
RS 232
1K
10 K
100 K
1M
10 M
[bps]
transmission speed
Figure 4.1 Interrelation between transmission speed and line length
22
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
STRUCTURE OF THE BUS TOPOLOGY
.....
Figure 4.2 Simple line structure
.....
.....
.....
Figure 4.3 Extended line structure
...
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
23
ISM 112
STRUCTURE OF THE BUS TOPOLOGY
transmission
speed
93.75 kbps
187.5 kbps
line length
without repeater
with 3 repeaters
max. 1,200 m (3,900 feet)
max. 4.8 km (3 miles)
max. 600 m (1,900 feet)
max. 2.4 km (1.5 miles)
Table 4.1 Interrelation between transmission speed and line length
Notice: These specifications refer to bus cables with a conductor cross section of 0.22 mm and a permissible signal
attenuation of max. 6 dB referred to the overall length. According to previous experience the line length can be twice as
long if a two-wire circuit with a conductor cross section of at least 0.5 mm is used.
24
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
STRUCTURE OF THE BUS TOPOLOGY
DB 9
pin
1
2
3
4
5
6
7
8
9
RS485 notation
B / B
C / C
A / A
-
signal
Shield
RP
RxD/TxD-P
CNTR-P
DGND
VP
RP
RxD/TxD-N
CNTR-N
meaning
Shield, Protective Ground
Reserved for Power
Receive/Transmit-Data-P
Control-P
Data Ground
Voltage Plus
Reserved for Power
Receive/Transmit-Data-N
Control-N
The signal leads A and B (and Shield) are absolutely obligatory for a (shielded) connection. All others can be installed
together with these signal leads if required.
VP (6)
VP = +5V :
Ru
14
watt
Rt
14
watt
Rd
14
watt
A (8)
bus cable
B (3)
DGND (5)
Notice: The figures in parentheses in figure 4.5 indicate the pin number for the connection via the 9-channel D-subminiature plug.
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
25
ISM 112
STRUCTURE OF THE BUS TOPOLOGY
Also with the Intelligent Sensor Modules of the 100 series this possibility is given. Via the bus termination plug IBT
100 which is available as accessory and installed at the right port on the front side of the device, the bus termination at
this module can be additionally connected. Two jumpers, which connect the bus with the bus termination in the
module, are integrated in the bus termination plug.
Notice: Instead of the bus termination module IBT 100 separate jumpers can also be used for the bus termination. In
this case, please make absolutely sure that the jumper clips are installed as indicated, and that the bus leads or the bus
termination are not short-circuited by mistake!
Rd
Rt
DIGITAL
OUT +
OUT -
I/O 1
0V
SUPPLY
I/O 2
B U S
ISM
+10..30V
Ru
A
B
U+
U-
ANALOG
112
RUN
ERR
Gantner
AGND
AGND
In 4
In 3
AGND
In 2
UFORCE
In 1
A N A L O G
Rd
Rt
Ru
jumpers
A
B
U+
U-
26
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
STRUCTURE OF THE BUS TOPOLOGY
4.8. Shielding
In case of increased interference we recommend the use of shielded bus cables. Then, a shielding also should be done
for the cables from power supply and for the signal cables.
There are varying experiences and recommendations concerning the kind of shield connection. In general the shield
should be connected with the protective grounding (not DataGround!) at each bus connection. If necessary the shield
should be applied additionally several times along the course of the cable. With smaller distances, e.g. with stub cables,
the disturbance response often is improved if the shield is only applied to the stub cable exit.
Bus parties such as controls (PLCs), computers (PCs), repeaters and interface converters, a.s.o., mostly offer the
possibility of applying the shield directly to the appliance or to separate shield rails. The shield rails offer the advantage
of preventing possible interfering signals from being led to the appliance via the shield. These are already branched off
before via the protective grounding.
The Intelligent Sensor Modules ISM 112 do not have a direct shield connection on the device itself. Here the shield of
the bus cable can be connected to ground e.g. by so-called shield clamps.
Central
Earthing Point
Braided Shield
Isolation
B U S
ISM
OUT +
OUT -
I/O 2
0V
I/O 1
+10..30V
112
Figure 4.7 Grounding of the bus line shield at the ISM 112
Notice: The screen must not be connected with the ground (0V) of the power supply!
Notice: The screen should always be connected to earth with a large surface and low-inductive.
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
27
ISM 112
STRUCTURE OF THE BUS TOPOLOGY
Gantner Instruments offers a compact interface converter with integrated mains power supply called ISK 200. Mains
power supply, bus connection and a separate 24 VDC-output are dc decoupled. The interface converter is also
applicable for remote power feeding. Further more the interface converter ISK 200 offers the opportunity to connect in
addition the necessary bus termination with a switcher. The converter is used as a table device.
Gantner
01
TRANSMIT
POWER
RECEIVE
REPEATER / CONVERTER
23
4 56
1 .. 1200 6 .. 38400
2 .. 2400 7 .. 93750
3 .. 4800 0 .. 187500
4 .. 9400 0 .. 500 k
RUN
789
ON
R S 4 8 5 '
IRK 100
BUS TERMINATION
A'
ON OFF
SUPPLY
ISK100
B'
COM'
0V
+10..30V
Further more the module IRK 100 is available. This module can be used as a repeater or as a converter. It offers also
the opportunity to connect the necessary bus termination with a switch. The Repeater/Converter IRK 100 has a snap-on
mounting for installation on standard profile rails (DIN rail) 35 mm (1.4 inch) according to DIN EN 50022.
OFF
ERR
Gantner
R S
2 3 2
R S
4 8 5
COM
COM
TX
RX
ON OFF
28
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
STRUCTURE OF THE BUS TOPOLOGY
Bus parameters
address
baud rate
ASCII-protocol
1 ..... 127
2,400 bps
4,800 bps
9,600 bps
19,200 bps
38,400 bps
-
PROFIBUS-protocol
1 ..... 127
9.6 kbps
19.2 kbps
93.75 kbps
187.5 kbps
MODBUS-protocol
1 ..... 255
2,400 bps
4,800 bps
9,600 bps
19,200 bps
38,400 bps
-
Table 4.3 Setting variants for address and baud rate for the Intelligent Sensor Modules
If no other specifications are made on delivery, the sensor modules have address 1 and baud rate 19,200 bps as
default. The adjustment can be changed via the bus by means of the Configuration Software ICP 100.
Adjustment via bus by means of the ISM Configuration Software ICP 100:
The condition for adjusting address and baud rate via bus is that there must not be two sensor modules with the same
address on the bus. Otherwise the bus connection has to be disconnected or the distribution voltage has to be
interrupted for the duration of the adjustment with those sensor modules that have the same address as the module
that is to be newly adjusted. The sensor module that is to be newly adjusted does not have to be set to the same baud
rate as the PC by way of exception! Please note also our notice below!
The adjustment or modification of address and baud rate via bus is always carried out together with the loading of a
new sensor program by means of the Configuration Software ICP 100. The download is carried out as described in the
short description for the Configuration Software ICP 100. From the LEDs at the front of the sensor modules you can see
which sensor module is being newly adjusted at the moment. If the LED ERR changes from "off" to "flash", a new
program is just being transmitted to the sensor module. The values are taken over as soon as the data transmission via
bus has been successfully completed.
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
29
ISM 112
STRUCTURE OF THE BUS TOPOLOGY
Notice: If the sensor module to be adjusted is set to another baud rate than the PC, or if the address given at the
download does not correspond to that of the sensor module, but if this address shall be the address of the sensor
module in future, the distribution voltage for the sensor module has to be interrupted for a short period before the
adjustment.
Notice: The address 0 is provided for the PC in case of a transmission via PROFIBUS. This address can therefore not be
assigned to the sensor modules.
Notice: The address 127 is reserved for broadcast transmission in the PROFIBUS-protocol and may only be assigned
for these cases.
30
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
SIGNAL PROCESSING
5.
SIGNAL PROCESSING
The Intelligent Sensor Modules ISM 112 has four analog inputs, two digital inputs/outputs, one analog current output
and one force-output that is designed as a voltage output. Several different sensors as well as acknowledgements and
digital output signals can be connected and processed simultaneously.
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
31
ISM 112
SIGNAL PROCESSING
signal level
logic level
high
low (0)
low
high (1)
+ 3,5 V
+ 1,0 V
0V
Figure 5.1 Definition of signal levels and logic levels
The outputs are open-collector outputs with a maximum voltage of 30 VDC and a maximum fan-out current of 100 mA.
The outputs are internally connected to the power supply potential (10 .. 30 VDC) via a 22 k pull-up resistor.
VP
VP
22 k
32
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
SIGNAL PROCESSING
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
33
34
P 2
Flash
EPROM
Optic
Interface
P 1
(Main Proc.)
AGND
Figure 5.3
Optic
IF
D/A
Conv.
Digital I/O
RS-485
IF
I/O 1
0V
+10..30V
OUT -
OUT +
Voltage
Reference
A/D
Conv.
RS 485
Analog In
Analog Out
Digital
Optic
IF
Optic
IF
AGND
PGA
LED
IR
I/O 2
Analog
Multiplexer
Voltage
Regulator
AGND
In 4
In 3
In 2
In 1
UFORCE
ISM 112
SIGNAL PROCESSING
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
SIGNAL PROCESSING
5 ms
50 ms
75 ms
100 ms
Table 5.1 Duration required for one measuring cycle with varying number
of measurement variables or measurements respectively with ISM 112
Notice: With resistance measurings in 3-wire technique 2 measuring procedures are required. The duration for one
measuring cycle in this case amounts to 200 ms with one measurement variable and a measurement rate of 50 Hz.
Notice: Digital measurements have only a small influence on the measurement rate and can be neglected in this
context.
Filtering:
The first method for signal preparing is a low-pass filter. It ensures that only the low-frequency shares of the signals are
evaluated. Higher-frequency photoelectric noise levels are not taken into account. The low-pass filter is particularly
suitable for noise cancellation with slowly changing signal forms (quasi-stationary processes). The time constant (filter
settling time) of the low-pass filter can be selected between 1 and 1000 seconds. The time constant should be at least
1/fmax where fmax is the highest occurring disturbance frequency.
Averaging:
The second method for signal preparing is realized by an arithmetic averaging over several measured values. Thus the
reading rate is decreased, but the definition is considerably increased. The duration of averaging and the number of
averaging can freely be selected in the range between 1 and 1000.
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
35
ISM 112
FUNCTIONAL DESCRIPTION
6.
FUNCTIONAL DESCRIPTION
The Intelligent Sensor Modules ISM 112 have altogether 16 logical variables (in Profibus-DP protocol 12 variables only)
for the collection, processing and output of various kinds of sensor information. These 16/12 variables can be
configured as:
Analog Input Variable
Analog Output Variable
Digital Input Variable
Digital Output Variable
Arithmetic Variable
Setpoint Variable
Alarm Variable
Controller Variable
For each variable various kinds of variable information and processing functions can be determined. The table in
appendix C gives a survey of the variable set-ups with ISM 112. The variable set-ups are carried out by means of the
Configuration Software ICP 100.
36
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
FUNCTIONAL DESCRIPTION
Measurement of Voltage:
Connection Scheme
Circuit
In 1
A N A L O G
+
=
U
-
U1
AGND
U = U1
measuring voltage U
Connection Scheme
Circuit
In 1
A N A L O G
+
U1 =
U2
=
U1
U1-U2
+
U2 =
-
In 2
AGND
U = U1 - U2
Two types of measurement are available for measurement of voltage with the Intelligent Sensor Module ISM 112:
single-ended and differential measurement.
With the single-ended type of measurement the voltage to be measured is injected between an analog input (In 1...4)
and analog ground (AGND). Differential measurements are realized by using two analog inputs. The measuring range
lies between 0 and 10 V.
Notice: With differential measurements both voltages have to be within 10 V referred to AGND (Common-Mode-Range).
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
37
ISM 112
FUNCTIONAL DESCRIPTION
Measurement of Current:
Connection Scheme
Circuit
In 1
A N A L O G
Rint
U1
AGND
measuring current I
I = U1 / Rint
Connection Scheme
Circuit
In 1
A N A L O G
Rext
U1
Rext
external
shunt
measuring current I
AGND
I = U1 / Rext
For measurement of current with the Intelligent Sensor Module ISM 112 the source of electricity is connected between
an analog input (In 1...4) and analog ground (AGND). The load on the source of electricity that is required for the
measuring is regulated by an internal resistor Rint to the amount of 100. The capacity of this shunt is limited with 125
mW maximum. This results in a measuring range of up to 25 mA maximum.
The measuring of stronger currents is possible by means of an external resistor which is connected parallel to the
source of electricity with the analog signal input and analog ground (AGND). The capacity of this external shunt has to be
adapted to the source of electricity to be measured, so that the voltage occurring at the analog input does not exceed
+10 V. The analog input is configured as voltage input. The voltage has to be divided by Rext.
Notice: The precision of the current measurement with external shunt depends on the precision of the resistor that is
used.
38
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
FUNCTIONAL DESCRIPTION
Measurement of Resistance:
Connection Scheme
Circuit
RL
A N A L O G
R0
In 1
U1
Rx
RL
+
U
-
AGND
Rx
measuring resistance
Rx = U1/U0 * R0,
Rx = 2*RL
Connection Scheme
Circuit
RL
R0
In 1
A N A L O G
U1
In 2
Rx
U2
RL
+
U
-
AGND
Rx
measuring resistance
Rx = (U1/U0-2*U2/U0) * R0, Rx = 0
Connection Scheme
Circuit
RL
In 1
R0
A N A L O G
In 2
Rx
In 3
RL
Rx
measuring resistance
U2-U3
+
U
-
AGND
Rx = (U2-U3)/U0 * R0, Rx = 0
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
39
ISM 112
FUNCTIONAL DESCRIPTION
Resistance measuring are carried out by means of measurements of voltages at a current-carrying resistor. In this case
the occurring fall of potential is measured via the resistance sensor. The feed current required for the resistance
measuring provides the internal supply of the module.
For this purpose the sensor module connects a supply point internally with the analog measurement input via a
reference resistor Ro. The fall of potential Uo via the resistor Ro is required as a reference for further signal processing
by the module. The value of resistance of the sensor can be calculated from the input signals Ui as a multiple of the
reference resistor Ro. The measuring range amounts to between 0 and 20 k.
Notice: The Intelligent Sensor Module ISM 112 supports resistance measuring in 2-, 3- and 4-wire technique. With
resistance measuring in 2-wire technique the supply lines cause an additional fall of potential, thus distorting the
measuring result and influencing the measuring accuracy. Therefore it is necessary to pay attention especially with
resistance measuring in 2-wire-technique to use as low-impedance leads as possible to the sensors and to make sure
that the leads are well-connected with the sensor module and the sensor. With resistance measuring in 3-wire
technique the fall of potential via the supply lines is eliminated from the measuring result (-2U2/U0R0). In this case 2
measuring are required (for U1/U0 and U2/U0). Thus twice the original measuring time is required. With resistance
measuring in 4-wire technique the fall of potential is picked up directly at the sensor, so that the measuring results are
not influenced by the supply lines any longer.
40
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
FUNCTIONAL DESCRIPTION
Circuit
RL
A N A L O G
UFORCE
In 1
UZ
+
U
-
In 2
RL
AGND
UB
UB
U1 - U2
=
UZ
UFORCE
Connection Scheme
Circuit
RL
UFORCE
In 1
A N A L O G
In 2
UZ
+
U
-
In 3
In 4
RL
AGND
UB
UB
U2 - U3
UZ = U1 - U4
Bridge connections consist of 2 arms with two resistors each. The resistance bridge is supplied by the voltage output
UForce at the sensor module.
The quantity to be measured with resistance bridges is the relation between bridge voltage UB and fall of potential via
the two resistance arms UZ (ratio measurement). The measuring range amounts to between 0 and 1 V/V.
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
41
ISM 112
FUNCTIONAL DESCRIPTION
Mostly there are two fixed and one controllable resistors in resistance bridges, so that the resistance bridge can easily
be aligned via the controllable resistor (UB=0 for the ground level state). Variations of the sensor signal
characteristically influence the fourth resistor and cause a change in the quantity to be measured.
Notice: The Intelligent Sensor Module ISM 112 supports measuring by resistance bridges in 4- and 6-wire technique.
When measuring in 4-wire technique the supply lines cause an additional fall of potential, which leads to a slight
diminishing of the bridge voltage. This distorts the measuring result and thus influences the measuring accuracy.
Therefore it is necessary to pay attention specially with bridge measuring in 4-wire-technique to use as low-impedance
leads as possible to the sensors and to make sure that the leads are well-connected with the sensor module and the
sensor. When measuring by resistance bridges in 6-wire technique the fall of potential is collected directly at the sensor,
so that the supply lines do not influence the measuring result any longer.
Potentiometric Measurement:
Connection Scheme
Circuit
RL
UFORCE
In 1
A N A L O G
Rg
+
U
-
Re
U1
RL
AGND
Re
Rg
Potentiometric measurements are measurements with voltage distributors, the division ratio of which can be adjusted
(e.g. by a sliding contact on a resistance regulator). The quantity to be measured is the relation between the adjusted
resistance Re and the combined resistance Rg of such a potentiometer (ratio measurement).
With the Intelligent Sensor Module ISM 112 the potentiometer is supplied by the voltage output UFORCE on the module.
The signal is picked up at the resistor.
Notice: With potentiometric measurements the supply lines cause an additional fall of potential, which can lead to a
slight decrease in signal voltage, thus distorting the measuring result and influencing the measuring accuracy. Therefore
it is necessary to pay attention with potentiometric measuring to use as low-impedance leads as possible to the sensors
and to make sure that the leads are well-connected with the sensor module and the sensor.
42
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
FUNCTIONAL DESCRIPTION
Circuit
In 1
A N A L O G
U1
In 4
R0
ICJ 101
U4
+
U
-
AGND
= Lin ( U1 + Lin
-1
k )
k = Lin( U4 )
Figure 6.11 Measurement of temperature with internal cold
junction compensation by the terminal clamp ICJ 108
Connection Scheme
Circuit
In 1
A N A L O G
U1
AGND
= Lin ( U1 + Lin
-1
r )
Thermocouples consist of two "thermoelectric wires" made of different materials (e.g. platinum and platinum rhodium)
that are welded to each other at one end. If the contact position and the other ends of the thermoelectric wires have
different temperatures, a "thermoelectric voltage" Uth appears at the contact position of both thermoelectric wires. This
voltage is largely proportional to the temperature difference. It can be measured and can be used for temperature
measurement purposes. With the Intelligent Sensor Module ISM 112 the thermocouple is connected to an analog input
and to the analog ground for this purpose.
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
43
ISM 112
FUNCTIONAL DESCRIPTION
Since thermocouples can only measure a temperature difference (difference between temperature to be measured and
temperature at the connecting terminals on the sensor module), a terminal temperature or a known temperature
reference also have to be determined. In the first case this is called internal cold junction compensation (TCint), in the
second case external cold junction compensation (TCext).
At the measuring of temperature with internal cold junction compensation at an additional analog input a temperature
sensor will be connected next to the thermocouple. Or by means of cold junction terminals ICJ 108, where a Pt100
temperature sensor is integrated directly in the terminal bloc between the terminal connections In4 and AGND, the
temperature k will be entered. Than the analog input In4 is not available for further measurements. The temperature
of the test point determines the sensor module because of linearization trace to x = Lin(Ux+Lin-1k), where k =
Lin(U4). The sensor module will be informed about the measuring variable through which the temperature of terminals
can be calculated via the Configuration Software ICP 100 (cold junction variable).
If the temperature is measured by external cold junction compensation, a second thermocouple of the same type is
required, which is connected in series with the first one. The polarity is selected so that the thermoelectric voltages
subtract each other. The second thermocouple is set to a fixed reference temperature r (mostly r = 0C). The sensor
module then calculates the temperature at the measuring position by means of the linearization curve as x =
Lin(Ux+Lin-1r). The sensor module will be informed about the reference temperature r via the Configuration Software
ICP 100 ("cold junction temperature").
44
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
FUNCTIONAL DESCRIPTION
Connection Scheme
Circuit
M
OUT-
OUT+
OUT+
BUS
SUPPLY
DIGITAL
OUT +
OUT -
I/O 2
0V
I/O 1
+10..30V
M
ANALOG
OUT-
With the analog signal output the value, which is assigned to the Analog Output Variable will be output as a current
value. Thus the lowest defined value corresponds to the lower limit value of the measuring range (> 0 mA) and the
highest defined value corresponds to the upper limit value of the measuring range (max. 30 mA). The values between
these two points will be calculated by the Intelligent Sensor Module ISM 112 based on a linear characteristic.
The actualizing rate of the output value decreases with an increasing number of defined variables where as the swing-in
rate of the output will be 10 ms.
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
45
ISM 112
FUNCTIONAL DESCRIPTION
The above mentioned functions are based on incremental measuring except the digital status recording. Incremental
measuring means to count while measuring. You can count pulses which are released by e.g. angle coders.
For the ISM 112 the maximum counting rate is 25 kHz.
The incremental measuring system is used with priority with quantity measurements, displacement measurements and
revolution counts in the most varying fields of application.
Circuit
+10 .. 30 VDC
I/O 3
I/O 1
I/O 4
0V
SUPPLY
I/O 1
+10..30V
A
BUS
I/O 2
I/O 1
0V
DIGITAL
0V
signal diagram:
I/O 1
status
"0"
"1"
"0"
"1"
For the acquisition of digital status information (on/off, closed/open, left/right, etc.) the signal applied at the digital
input is collected and is held ready for further processing in the Intelligent Sensor Module ISM 112 or for transmission
via bus.
The digital input is set (switch closed) as long as the applied signal voltage remains under the threshold value of 1.0 V.
The digital information can be scanned as 1/0 information via bus.
46
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
FUNCTIONAL DESCRIPTION
Frequency Measurement:
Connection Scheme
Circuit
+10 .. 30 VDC
I/O 1
BUS
SUPPLY
I/O 1
I/O 4
I/O 3
0V
I/O 2
f
I/O 1
+10..30V
0V
DIGITAL
0V
Signal Diagram:
I/O 1
Time Base
Counting
Pulse
ZB
1
Measurand
(TB = 5 sec)
ZB
3
0,6 Hz
ZB
3
0,6 Hz
0,6 Hz
With frequency measurements the sensor module counts the pulses occurring in a particular time interval at the digital
input. The user can preset this time interval by signalizing the time base (TB) in the range between 0.1 sec and 10 sec.
The frequency is calculated by the sensor module from the number of impulses and the time base TB as:
frequency f =
Hz
With frequency measurements it is always the negative signal edge (1 -> 0) that is counted at the digital signal input.
Notice: The high-end frequency for the frequency measurement is 25 kHz.
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
47
ISM 112
FUNCTIONAL DESCRIPTION
48
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
FUNCTIONAL DESCRIPTION
Progressive Counter:
Connection Scheme
Circuit
+10 .. 30 VDC
SUPPLY
I/O 1
I/O 4
I/O 2
0V
I/O 1
+10..30V
BUS
I/O 3
I/O 1
0V
DIGITAL
0V
signal diagram:
I/O 1
counting
pulse
counting
measurand
+1
+1
+1
+1
+1
n+1
n+2
n+3
n+4
n+5
When configuring a digital input as a progressive counter the Intelligent Sensor Module ISM 112 constantly monitors the
digital input for a signal variation. If a negative signal edge (1 -> 0) occurs at the input, the current result is increased
by 1.
The range of values of the counter depends on the defined transmission protocol (table 6.2). The values can be reset to
zero via the bus, via the remaining second digital input or via every other variable.
protocol
ASCII
PROFIBUS
MODBUS
counter
31 bit
31 bit
15 bit
31
31
-2 ... +2 -1
-231 ... +231-1
-215 ... +215-1
range of values
( -2,1 ... +2,1 Billion)
( -2,1 ... +2,1 Billion)
(-32768 ... +32767)
Notice: The maximum counting rate for the progressive counter is 25 kHz.
Notice: After a voltage cut-off all counters are reset to zero.
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
49
ISM 112
FUNCTIONAL DESCRIPTION
Up/Down Counter:
Connection Scheme
Circuit
+10 .. 30 VDC
0V
I/O 1
I/O 1
I/O 2
I/O 4
I/O 3
I/O 2
0V
SUPPLY
I/O 1
+10..30V
A
BUS
0V
I/O 2
DIGITAL
+10 .. 30 VDC
signal diagram:
I/O 1
I/O 2
counting
pulse
counting
measurand
+1
+1
+1
-1
+1
n+1
n+2
n+3
n+2
n+3
When configuring a digital input as a counter for counting up and counting down, the Intelligent Sensor Module ISM
112 constantly monitors the digital inputs I/O 1 and I/O 2 for a signal variation. If a negative signal edge (1 -> 0)
occurs at the input I/O 1, the current result is increased by 1 (signal level I/O 2 = 0) or decreased by 1 (signal level I/O
2 = 1), according to the status of the second digital input.
The range of values of the counter depends on the defined transmission protocol (table 6.3). The values can be reset to
zero via the bus via every other variable.
protocol
ASCII
PROFIBUS
MODBUS
counter
31 bit
31 bit
15 bit
31
31
-2 ... +2 -1
-231 ... +231-1
-215 ... +215-1
range of values
( -2,1 ... +2,1 Billion)
( -2,1 ... +2,1 Billion)
(-32768 ... +32767)
Notice: For the up/down counter both digital inputs of the ISM 112 are required.
Notice: The maximum counting rate for the up/down counter is 25 kHz.
Notice: After a voltage cut-off all counters are reset to zero.
50
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
FUNCTIONAL DESCRIPTION
Quadrature Counter:
Connection Scheme
Circuit
+10 .. 30 VDC
0V
I/O 1
I/O 1
I/O 2
BUS
I/O 3
I/O 2
I/O 4
I/O 2
0V
SUPPLY
I/O 1
+10..30V
0V
DIGITAL
+10 .. 30 VDC
signal diagram:
change of the
counting direction
I/O 1
I/O 2
counting
pulse
counting
measurand
+1
+1
+1
+1
+1
+1
n+1
n+2
n+3
n+4
n+5
n+6
-1
-1
-1
-1
n+5
n+4
n+3
n+2
When configuring the digital inputs as a quadrature counter, the Intelligent Sensor Module ISM 112 constantly monitors
the digital inputs I/O 1 and I/O 2 for a signal variation (0 -> 1 and 1 -> 0). If I/O 1 and I/O 2 have equal (different)
signal levels and there appears a signal change at the input I/O 1 the actual counting measured will be increased
(decreased) by 1.
Vice versa to the progressive counter and the up/down counter both signal edges will be evaluated at the digital input
I/O 1 at the quadrature counter.
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
51
ISM 112
FUNCTIONAL DESCRIPTION
The range of values of the counter depends on the defined transmission protocol (table 6.4). The values can be reset to
zero via the bus via every other variable.
protocol
ASCII
PROFIBUS
MODBUS
counter
31 bit
31 bit
15 bit
31
31
-2 ... +2 -1
-231 ... +231-1
-215 ... +215-1
range of values
( -2,1 ... +2,1 Billion)
( -2,1 ... +2,1 Billion)
(-32768 ... +32767)
Notice: For the quadrature counter both digital inputs of the ISM 112 are required.
Notice: The maximum counting rate for the quadrature counter is 25 kHz.
Notice: After a voltage cut-off all counters are reset to zero.
Via the digital inputs/outputs on the Intelligent Sensor Module ISM 112 digital status information or measured quantities
and sensor variables respectively can be output in digital form, according to the configuration. Digital status information
can be withdrawn from the process (Process Out). A typical case of application would be e.g. the local output of an
acoustic or optical signal in case a limiting value is exceeded or undershot by a measured value. Or the digital outputs may
be set from the host computer by bus (Host Out). For analog regulated quantities measured values or sensor variables in
general can also be output as pulse-width modulated signal (PWM) by the digital output. The time base respectively the
frequency with that the pulse-width modulated signal output will be set, can be configured by the user by assistance of
the Configuration Software ICP 100. Therefore the settings 10ms, 1s and 10s are possible without depending on the
functions of the remaining I/Os.
52
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
FUNCTIONAL DESCRIPTION
I/O 1
U+
B U S
Circuit
U+
SUPPLY
I/O 1
D I G I T A L
signal diagram:
I/O 1
status
"0"
"1"
"0"
"1"
With the host-controlled digital status output, the digital output is set according to the status information received by
the sensor module via bus.
The distribution voltage can range from 10 to 30 VDC. It has to be either supplied externally or be picked up by the
power supply of the sensor modules.
The status of the digital output can be scanned as 1/0 information via bus.
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
53
ISM 112
FUNCTIONAL DESCRIPTION
I/O 3
U+
I/O 4
0V
I/O 1
+10..30V
SUPPLY
I/O 2
I/O 1
U+
B U S
circuit
I/O 1
D I G I T A L
signal diagram:
I/O 1
status
"0"
"1"
"0"
"1"
With the process-controlled output of status information the sensor module monitors measured values, resp. sensor
variables as to constraints (threshold values). The digital output is set if one or several threshold conditions are fulfilled.
The user can freely define the constraints. The user can also preset the logical signal level (see also the Configuration
Software ICP 100).
The distribution voltage can amount from 10 up to 30 VDC. It has to be supplied externally or picked up by the power
supply of the sensor module.
The status of the digital output can be scanned as 1/0 information via bus.
54
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
FUNCTIONAL DESCRIPTION
circuit
PWM
I/O 1
U+
U+
I/O 4
I/O 2
I/O 3
0V
SUPPLY
I/O 1
B U S
+10..30V
PWM
I/O 1
D I G I T A L
signal diagram:
- high measuring value:
I/O 1
time base
TB
logic level
TB
L
TB
L
TB
L
PW = high/low = 66%
- low measuring value:
I/O 1
time base
logic level
TB
H
TB
H
TB
H
TB
H
PW = high/low = 33%
Measured values, or sensor variables in general, can be output by the digital output as a pulse-width modulated signal
(PWM). With this procedure the pulse-width PW displays linear variation with the measured value between 0%
(minimum capacity A) and 100% (maximum capacity B):
measured value = A + ( B - A ) PW
Here the pulse-width PW is the ratio - averaged out over a period - between log. level High and log. level Low. The user
determines the frequency at which impulses are output at the digital signal output by defining the time base TB. The
setting variants are 10 msec, 1 sec and 10 sec for the PWM signal output via I/O1 and I/O 2 respectively.
The voltage can be between 10 and 30 VDC. It has to be supplied externally or be picked up by the power supply of the
sensor module.
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
55
ISM 112
FUNCTIONAL DESCRIPTION
sign
+
*
/
sqrt
exp
abs
ln
log
integ
deriv
sin
cos
tan
arcsin
arccos
arctan
min
max
low
high
ISM 111
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
ISM 112
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
time
0.80 ms
0.80 ms
0.80 ms
1.10 ms
2.68 ms
3.92 ms
0.10 ms
3.70 ms
3.80 ms
0.10 ms
----- ms
3.20 ms
3.60 ms
3.60 ms
3.20 ms
7.00 ms
3.20 ms
0.10 ms
0.10 ms
1.40 ms
1.40 ms
Notice: The calculation time of an Arithmetic Variable is 0.6 ms. The overall calculation time is the sum of the times of
all operands in the formula plus 0.6 ms.
Remarks:
Division (/)
When dividing by zero, the positive full scale will be assigned to the Arithmetic Variable if the numerator is
positive and the negative full scale will be assigned if the numerator is negative.
Square Root (sqrt)
The square root of a negative number is zero.
56
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
FUNCTIONAL DESCRIPTION
Pull-Pointer Function:
The pull-pointer function can for example be realized with analog measuring instruments. Thus the pointer of the
measuring instrument pushes a second pointer in front of it. This second pointer cannot swing back by itself, but will
remain on the place of the maximal value. Only after pressing a reset key the pull-pointer will be set back to the original
value of the measuring pointer. With the ISM 112 this function can be realized with the functions min and max. Thus
the Arithmetic Variable has the function of the pull-pointer. With the reset settings the desired type of reset can be
selected.
Notice: In order to prevent an effect of disturbances of the sensor signals on the functions min, max, low and high of
the Arithmetic Variable a filter should be added to the measuring variables integrated in the formula.
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
57
ISM 112
FUNCTIONAL DESCRIPTION
Notice: Logic combinations, e.g. if-then relations, are not possible at the moment or require a customer or user-specific
download-program respectively.
A typical application for the Arithmetic Variable is e.g. the determination of a value that cannot be measured directly,
but which can be calculated from other values (e.g. power as the product of voltage and current). Or the Arithmetic
Variable is used for further mathematic preparation of a measuring signal, in order to obtain a particular desired display
format.
58
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
EXAMPLES FOR APPLICATION
7.
Principle of Measurement:
When measuring temperature via Pt100 sensors, the sensor module switches an internal voltage source point to the
analog input via a reference resistance, so that the sensor is supplied directly via the analog input. The fall of potential
via the Pt100 sensor is measured by the sensor module in 2-wire technique at the connecting terminals and is
converted into a value of resistance. The sensor module determines the temperature of the measuring point from the
resistance by means of the linearization characteristics deposited in the sensor module.
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
59
ISM 112
EXAMPLES FOR APPLICATION
Connection Scheme
In 1
A N A L O G
R0
U1
Rx
+
U
-
AGND
Rx
temperature sensor
Figure 7.1 Measurement of temperature with Pt100 sensor
The power supply of the sensor modules and the bus are connected with the corresponding terminals on the Intelligent
Sensor Module ISM 112. With the measuring method in 2-wire technique the Pt100 sensor is connected with the analog
ground (AGND) and with an analog input (In 1, In 2, In 3 or In 4). Which of the four analog inputs is used for connecting
the Pt100 sensors can be seen from the configuration for the module. The configuration is created on a PC with the
Configuration Software ICP 100 and is transmitted to the sensor module via the bus.
60
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
EXAMPLES FOR APPLICATION
Circuit
In 1
A N A L O G
U1
AGND
= Lin ( U1 + Lin
-1
r )
The power supply of the sensor module and the bus are connected with the Intelligent Sensor Module ISM 112 at the
corresponding terminals. The thermocouples connected in series are connected with the analog ground (AGND) and with
an analog input (In 1, In 2, In 3 or In 4). Which of the four analog inputs is used for connecting the thermocouple can
be seen from the configuration for the module. The configuration is created on a PC by means of the Configuration
Software ICP 100 and is transmitted to the sensor module via bus by download.
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
61
ISM 112
EXAMPLES FOR APPLICATION
Circuit
RL
A N A L O G
UFORCE
In 1
UZ
+
U
-
In 2
RL
UB
AGND
UB
=
UZ
U1 - U2
UFORCE
The power supply of the sensor module and the bus are connected with the corresponding terminals on the Intelligent
Sensor Module ISM 111. The KPY10 pressure sensor itself is supplied by the force-output on the module. With the
measuring method in 4-wire technique the sensor is connected with the voltage output (UFORCE), with the analog ground
(AGND) and with two analog inputs (In1/In2, In2/In3 or In3/In4). Which of the four analog inputs are used for
connecting the sensor can be seen from the configuration for the module. The configuration is created on a PC by
means of the Configuration Software ICP 100 and is transmitted to the sensor module by download via the bus.
Figure 7.6 Configuration table for measurement of pressure with a resistance bridge in 4-wire technique
62
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
EXAMPLES FOR APPLICATION
Principle of Measurement:
When counting revolutions the sensor module counts the signal variations occurring per unit of time at the digital
output. Only the negative signal edges (1->0) are evaluated in this connection. The number of revolutions per minute
can be calculated as:
number of revolutions =
IpT
IpU
60
U/min = SF IpT U/min
TB
IpT being the number of impulses per unit of time, IpU the number of impulses per rotation, TB the selected time base
in seconds, and 60 the multiplication factor in case the rotations shall be indicated in rotations per minute instead of
rotations per second. The scaling factor SF is communicated to the sensor module when configuring it, so that the
number of revolutions can be calculated and can be displayed referred to the desired unit.
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
63
ISM 112
EXAMPLES FOR APPLICATION
Connection Scheme
Circuit
+10 .. 30 VDC
0V
I/O 1
I/O 1
B U S
SUPPLY
D I G I T A L
0V
The power supply of the sensor module and the bus are connected with the Intelligent Sensor Module ISM 112 by the
corresponding terminals posts. The incremental transmitter is connected with the terminals 0V and with one of the
digital inputs/outputs I/O 1 or I/O 2. Which of the two digital inputs/outputs is used for connecting the incremental
transmitter is determined by the configuration. The configuration is created on a PC by means of the Configuration
Software ICP 100 and is transmitted to the sensor module by download via the bus. The digital input/output is
configured as counter input ("Increment") with the "frequency" type of measurement.
64
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 111
COMMUNICATION
8.
off
ERR
(red LED)
off
flash
on
off
flash
flash
on
off
on
flash
on
short off
meaning
The distribution voltage has been selected too low or the power supply cannot
supply the required power.
The sensor module is in the monitor mode. A valid program has not yet been
loaded; the appliance is not yet operable.
There is a sensor error detected by the module. Possible causes may be:
1. wrong configuration, 2. line break or short circuit, 3. measured value too
large or too small.
The data transmission between the sensor module and the PC is active. There
is no error at the moment.
The sensor module is in the download mode. Currently a program or a
configuration is transmitted to the module.
There is a sensor error detected by the module. Currently data transmission
between the module and the PC is active.
The distribution voltage has been connected orderly. There is no error. Data
transmission to the module via bus is not active.
There is a communication error detected by the module (bus timeout).
Possible causes may be: 1. PC/SPS-program stopped, 2. bus line break.
There is a sensor error detected by the module. Possible causes may be:
1. wrong configuration, 2. line break or short circuit, 3. measured value too
large or too small.
A telegram has just been dispatched from the sensor module via bus to a
control system or to a PC.
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
65
ISM 112
COMMUNICATION
9.
COMMUNICATION
9.1. General
9.1.1. Bus Interface
The bus interface of the Intelligent Sensor Modules of the "100" series is a RS485 interface according to the
specifications of the EIA-RS485 USA standard.
start
bit
1
1
1
1
1
1
data
bit
8
8
8
8
8
8
parity
bit
N
E
O
N
E
O
stop
bit
1
1
1
2
2
1
char.
length
10
11
11
10
12
12
ASCII
PROFIBUS
MODBUS
X
X
X
X
X
X
X
-
X
X
X
X
X
X
The character format 8E1 with even parity (E=even) corresponds to the PROFIBUS-definitions according to DIN 19245,
part 1, and is supported by the sensor modules in the PROFIBUS-protocol as well as in the ASCII- and MODBUSprotocol. This character format should thus also generally be selected for the transmission.
For modem couplings, which mostly can be carried out without a parity-bit, the character format 8N1 is available. This
character format is only supported by the ASCII- and MODBUS-protocol.
The character format is defined for the sensor modules via the Configuration Software ICP100. If there are no specifications to the contrary, the character format is factory adjusted to even parity (8E1) on delivery of the sensor modules.
66
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
COMMUNICATION
x = s ee...ee mmm.....mmm
# : <1> <- 8 -> <----- 23 ----->
format settings
unit
field length
decimals
range of values
dependent on the sensor
1..................8
0 . . . field length-1 (max 6)
format settings
bool
Integer
real
SET 8
length
1 byte
2 byte
4 byte
1 byte
range of values
(dec 0: FALSE) and (dec255: TRUE)
(dec - 32768) i (dec +32767)
(dec - 2129 ) x (dec + 2129 )
(dec 0)
i
(dec 255 )
format settings
Integer
real
length
2 byte
4 byte
range of values
(dec - 32768) i (dec +32767)
(dec - 2129 ) x (dec + 2129 )
field length 6
____50
_ _ 5 0 .3
_ 5 0 .3 1
5 0 .3 0 9
E .3 0 9 4
-
field length 7
_____50
_ _ _ 5 0 .3
_ _ 5 0 .3 1
_ 5 0 .3 0 9
5 0 .3 0 9 4
E .3 0 9 4 0
-
field length 8
______50
_ _ _ _ 5 0 .3
_ _ _ 5 0 .3 1
_ _ 5 0 .3 0 9
_ 5 0 .3 0 9 4
5 0 .3 0 9 4 0
E .3 0 9 4 0 0
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
67
ISM 112
COMMUNICATION
integer
00 32
01 F7
13 A6
xx xx
xx xx
xx xx
xx xx
(50)
(503)
(5030)
(50309)
(503094)
(5030940)
(50309400)
real
42 49 3C D3 (50 . 3094)
42 49 3C D3 (50 . 3094)
42 49 3C D3 (50 . 3094)
42 49 3C D3 (50 . 3094)
42 49 3C D3 (50 . 3094)
42 49 3C D3 (50 . 3094)
42 49 3C D3 (50 . 3094)
Table 9.6 Output formats for transmission in the PROFIBUS- and the MODBUS-format
(the decimal notation is given in parentheses).
68
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
COMMUNICATION
9.2. ASCII-Protocol
9.2.1. Transmission Sequence
In the ASCII-protocol the data are transmitted from and to the sensor module by means of the following sequence:
request telegram
..
SD
..
response telegram
ED
T1
T1:
T2:
T3:
request telegram
SD .. .. .. .. .. .. .. .. .. ED
SD
..
..
ED
T3
T2
You will find the minimum and maximum appearing values for T1, T2 and T3 and the adjustment range in the following
table 9.7.
protocol
adjustable
A
S
C
I
I
baud rate
T1min
no
2,400 bps
4,800 bps
9,600 bps
19,200 bps
38,400 bps
T1max
no
1 CT
T2min
T2max
yes
no
1... 5 CT
1..11 CT
T2min
1..23 CT
x
1..42 CT
1.2
1..85 CT
T3min
no
3 CT
T3max
yes
0.1 sec
to
600 sec
Table 9.7 Values and adjustment range for the times T1, T2 and T3
(CT: character time: 1 CT = character length [bit] / baud rate [bps])
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
69
ISM 112
COMMUNICATION
DA
ReqDataUnit
ED
ResDataUnit
n+4 characters
DA
ReqDataUnit FCS ED
n
n+2 characters
ED
SD
ResDataUnit
n+6 characters
FCS ED
2
n+4 characters
Positive Acknowledge
Negative Acknowledge
ACK
NAK
1 character
1 character
request telegram
#
$
response telegram
>
=
70
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
COMMUNICATION
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
71
ISM 112
COMMUNICATION
check sum
request telegram
read device identification
with
# aa V cc <cr>
without
$ aa V <cr>
read device information
with
# aa S cc <cr>
without
$ aa S <cr>
read status information
with
# aa Z cc <cr>
without
$ aa Z <cr>
read variable information
with
# aa B kk cc <cr>
without
$ aa B kk <cr>
read data from a variable
with
# aa R kk cc <cr>
without
$ aa R kk <cr>
write data to a variable
with
# aa W kk d..d cc <cr>
without
$ aa W kk d..d <cr>
NAK
NAK
NAK
NAK
NAK
NAK
NAK
NAK
NAK
NAK
ACK
ACK
NAK
NAK
char
#
>
$
=
<cr>
ACK
NAK
aa
cc
kk
v..v
s..s
z..z
b..b
d..d
meaning
start delimiter for request telegram with check sum
start delimiter for response telegram with check sum
start delimiter for request telegram without check sum
start delimiter for response telegram without check sum
end delimiter (carriage return)
positive acknowledge
negative acknowledge
destination address
check sum
variable number
device identification
device information
status information
variable information
variable value
length
1
1
1
1
1
1
1
2
2
2
26
27
4
29
max. 8
range
ASCII "#"
ASCII ">"
ASCII "$"
ASCII "="
hex 0D
hex 06
hex 15
ASCII "01".."7F"
ASCII "00".."FF"
ASCII "01".."10"
ASCII - String
ASCII - String
ASCII - String
ASCII - String
ASCII - String
72
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
COMMUNICATION
: monitor program
: universal program
: version
length = 26 char
("Gantner_")...................................... 8 char
("ISM-112_") .....................................8 char
("xy.yy")............................................ 5 char
("xy.yy")............................................ 5 char
x ... T : calibration and test program
x ... A : application specific program
x ... R : MODBUS-RTU program
= hex 0XYZ
ASCII "0XYZ"
= hex XY
If the bit Kn in the variable status is set it indicates that an error has occurred in variable n. A variable error is given
when the measuring value is outside of the linearization, e.g. in consequence of a sensor break down or of a short
circuit of transmission.
If the bit Mn in the module status is set it indicates that an error has occurred in the sensor module. Valid is:
M1 = 1:
M2 = 1:
M3 = 1:
M4 = 1:
EEPROM - error
FLASH - error
ADC error
configuration - error
M5 = 1:
M6 = 1:
M7 = 1:
M8 = 1:
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
73
ISM 112
COMMUNICATION
"5":
"6":
"9":
"A":
The problem definition is: The measured value in variable 2 shall be read from the sensor module with the address
number 10. The value has been configured with a field length of seven, two decimals and the unit "C" for output.
Sample program for transmission without check sum:
(Notation in QBasic, V. 1.0):
, initialize interface
, configure telegram
, send request telegram
, receive response telegram
, determine measured value
, output measured value
, enable interface
, end program
Notice: In several programming languages the initialization of the serial interface with even parity and 8 data bits will
not be supported. The COM-interface in the PC and the bus interface in the sensor module have to be adjusted and
configured on "(N)o parity".
74
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
COMMUNICATION
9.3. PROFIBUS-Protocol
9.3.1. Transmission Sequence
In the PROFIBUS-protocol the data are transmitted from and to the sensor module by means of the following sequence:
request telegram
response telegram
SD .. .. .. .. .. .. ED
request telegram
SD .. .. .. .. .. .. .. .. .. .. ED
SD .. .. .. .. .. .. .. ED
T2
T1
T1min
yes
1..23 CT
T1max
no
T2min
no
T2max
yes
1..42 CT
T1min
x
1,2
3 CT
0.1 sec
to
600 sec
1..14 CT
1..28 CT
Table 9.11 Values and adjustment range for the times T1 and T2
(CT: character time: 1 CT = character length [bit] / baud rate [bps])
Notice: In the PROFIBUS-protocol T1max amounts at least 2 msec with the baud rates 9.6 kbps and 19.2 kbps and 0.3
msec with the baud rates 93.75 kbps and 187.5 kbps.
The values for T1min and T2max and the behavior of the sensor module if the time T2max is exceeded (communication
timeout, see also chapter 6.9, error handling) can be adjusted by means of the Configuration Software ICP 100. The
default values for the time T1min is 1 CT and for the time T2max 60 sec.
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
75
ISM 112
COMMUNICATION
SD1
DA
SA
FC
FCS
ED
SD2
LE
LEr
SD2
DA
SA
FC
DataUnit
FCS
ED
SD3
DA
SA
FC
DataUnit
FCS
ED
With PROFIBUS the various telegram formats are differentiated by varying Start-Delimiters (SD). They can also be
called SD1-, SD2- or SD3-telegrams in this context. The telegram formats are valid both for request and response
telegrams. However, a request telegram does not necessarily have to be succeeded by a response telegram of the same
format. In addition to that there is a telegram which consists of only one character and which is used as either positive
or negative acknowledgement, according to the kind of request.
Short Acknowledgement:
SC
request telegram
response telegram
hex 10
hex 68
hex A2
hex 10
hex 68
hex A2
0
1 ... 246 (32)
8
76
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
COMMUNICATION
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
77
ISM 112
COMMUNICATION
SD2
LE
LEr
SD2
DA
SA
FC
ReqDataUnit
ResDataUnit
DSAP
SSAP
=0
=0
>0
=0
DSAP
Data
=0
>0
SSAP
Data
>0
>0
DSAP SSAP
FCS
ED
Data
Data
A DSAP- or SSAP-entry respectively is identified by setting the highest bit in the address byte of Destination-Address
(DA) or Source-Address (SA) respectively. The entry itself is carried out in the first, resp. the second position in the
ReqDataUnit data field.
The DSAP- and SSAP-entries in the request telegram also appear in the response telegram, where DA, SA, DSAP and
SSAP in the response telegram correspond to SA, DA, SSAP and DSAP in the request telegram!
If no storage expansion is carried out in the request telegram, the orders are carried out via the Default-SAP. The
Default-SAP has the number 0. It does not have to be indicated separately in the telegram.
DSAP and SSAP entries are only possible with telegrams with data field (SD2 and SD3 telegrams).
78
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
COMMUNICATION
Notice: If more data are in the ReqDataUnit as required, they will be ignored.
: monitor program
: universal program
: version
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
79
ISM 112
COMMUNICATION
If the bit Kn in the variable status is set it indicates that an error has occurred in variable n. A variable error is given
when the measuring value is outside of the linearization, e.g. in consequence of a sensor break down or of a short
circuit of transmission.
If a bit Mn in the module status is set it indicates that an error has occurred in the sensor module. Valid is:
M1 = 1:
M2 = 1:
M3 = 1:
M4 = 1:
EEPROM - error
FLASH - error
ADC error
configuration - error
M5 = 1:
M6 = 1:
M7 = 1:
M8 = 1:
"5":
"6":
"9":
"A":
80
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
COMMUNICATION
tare/reset a variable:
length = 1 byte
<variable number> ..............binary............................................................... 1 byte
If a bit is set in the <tare/reset> byte, the corresponding sensor variable is tarred or reset respectively. The values
following the <tare/reset> byte are allocated to the writeable variables of the sensor module, according to the order of
their appearance. Writeable variables are Setpoint Variables and Digital Output Variables.
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
81
ISM 112
COMMUNICATION
9.4. MODBUS-Protocol
9.4.1. Transmission Sequence
In the MODBUS-protocol the data are transmitted from and to the sensor module by means of the following sequence:
request telegram
..
DA
..
response telegram
CRC
T1
T1:
T2:
T3:
request telegram
DA .. .. .. .. .. .. .. .. CRC
..
DA
..
CRC
T3
T2
You will find the minimum and maximum appearing values for T1, T2 and T3 and the adjustment range in the following
table 9.14.
protocol
baud rate
adjustable
M
2,400 bps
O
4,800 bps
D
9,600 bps
B
19,200 bps
U
38,400 bps
S
T1min
no
T1max
no
T2min
yes
T2max
no
T3min
no
T3max
yes
1.5 CT
3.5 CT
T2min
x
1.2
3.5 CT
0.1 sec
to
600 sec
Table 9.14 Values and adjustment range for the times T1, T2 and T3
(CT: character time: 1 CT = character length [bit] / baud rate [bps])
82
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
COMMUNICATION
request telegram
idle-interval
> 3,5 CT
ADR
FNR
1 byte 1 byte
CRC
n byte
2 byte
CRC
n byte
2 byte
response telegram
idle-interval
> 3,5 CT
ADR
FNR
1 byte 1 byte
The request and response telegrams in the RTU-mode used by the sensor modules are starting with an idle-interval of
at least 3.5 character length. Most simple this will be performed by waiting for at least 4 character-times after receiving
the last character of a telegram. The telegrams have no Start-Delimiter and no End-Delimiter too. The first field after
that idle-interval is the ISM-Address (ADR) followed by the function number (FNR) and the function parameters or data
respectively. At the end the telegrams contain a check sum (CRC) with the length of 16 bits. The check sum is
calculated from the whole telegram without the CRC itself. The CRC-polynomial is: u15 + u13 + 1. The start value is hex
FFFF.
function number
03 hex
04 hex
06 hex
08 hex
10 hex
function
read holding register (read/write register)
read input register (read only register)
preset single register
Diagnostic
preset multiple register
Table 9.15 MODBUS commands supported by the ISM 112
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
83
ISM 112
COMMUNICATION
Description:
With this command input/output registers (read/write registers) can be read.
request telegram
ADR
FNR
03
REGSTA REGNUM
MSB
LSB MSB
CRC
LSB MSB
LSB
response telegram
ADR
FNR
03
BYTNUM
D0
D1
...
Dn
CRC
MSB
LSB
Description:
With this command input registers (read only registers) can be read.
request telegram
ADR
FNR
04
REGSTA REGNUM
MSB
LSB MSB
CRC
LSB MSB
LSB
response telegram
ADR
84
FNR
04
BYTNUM
D0
D1
...
Dn
CRC
MSB
LSB
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
COMMUNICATION
Description:
With this command a single register can be written.
request telegram
ADR
FNR
06
REGADR
MSB
DATA
LSB MSB
CRC
LSB MSB
LSB
response telegram
ADR
FNR
06
REGADR
MSB
DATA
LSB MSB
CRC
LSB MSB
LSB
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
85
ISM 112
COMMUNICATION
Diagnostic
Description:
With this command a diagnostic telegram will be sent to the sensor module. If the telegram has been received in
correct form the module will send this telegram back unchanged (echo telegram).
request telegram
ADR
FNR
08
SUBFCT
00 00
DATA
A5 37
CRC
MSB
LSB
response telegram
ADR
FNR
08
SUBFCT
00 00
DATA
A5 37
CRC
MSB
LSB
Description:
With this command a large, continuous field of registers can be written.
request telegram
ADR
FNR
10
LSB MSB
LSB
D0
D1
...
Dn
CRC
MSB
LSB
response telegram
ADR
86
FNR
10
REGSTA REGNUM
MSB
LSB MSB
CRC
LSB MSB
LSB
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
COMMUNICATION
Type
Content
Range
Register
Type
Content
Range
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
87
ISM 112
COMMUNICATION
Setpoint Variable:
After a writing command for this variable the new set value will be taken over.
Digital Output Variable (Host Output):
A writing command for this variable will set the corresponding variable to '1' or '0' respectively.
Register Type
Content Length
variable information
0080
ro............ variable 1 variable type.........................................2 byte
0081
ro............ variable 1 measuring principle ...............................2 byte
0082
ro............ variable 1 field length ...........................................2 byte
0083
ro............ variable 1 decimals ...............................................2 byte
0084
ro............ variable 1 tare/reset .............................................2 byte
0085..0086
ro............ variable 1 units.....................................................4 char
0087..0090
ro............ variable 1 variable name .......................................20 char
0080..009F
0100..011F
0120..013F
0140..015F
0160..017F
0180..019F
01A0..01BF
01C0..01DF
01E0..01FF
0200..021F
0220..023F
0240..025F
0260..027F
0280..029F
02A0..02BF
02C0..02DF
88
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
COMMUNICATION
Analog Input:
hex 0
voltage single-ended
hex 1
voltage differential
hex 2
current
hex 3
resistance 2-wire technique
hex 4
resistance 3-wire technique
hex 5
resistance 4-wire technique
hex 6
bridge 4-wire technique
hex 7
bridge 6-wire technique
hex 8
thermocouple internal
hex 9
thermocouple external
hex A
cold junction terminal 1
hex B
potentiometric
hex C
cold junction terminal 2
hex D
cold junction terminal 3
hex E
cold junction terminal 4
Digital Input:
hex 0
no
hex 1
host input
hex 2
frequency
hex 3
progressive counter
hex 4
quadrature counter
hex 5
up/down counter
Digital Output:
hex 0
no
hex 1
host output
hex 2
PWM output
hex 3
process output
Coding <tare/reset>:
hex 0
no tare/reset
hex 1
tare/reset valid
Register
Type
Content
Length
device information
0300 ........................ro .......................number of variables......................2 byte
0301..0303 ...............ro .......................serial number...............................6 char
0304..030D...............ro .......................location .......................................20 char
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
89
ISM 112
COMMUNICATION
Register
Type
Content
Length
device identification
0400..0403 ............... ro ....................... vendor name ("Gantner_") ........... 8 char
0404..0407 ............... ro ....................... model name ("ISM-112_") ............ 8 char
0408..040B............... ro ....................... hw version ("xy.yy_ _ _") ............. 8 char
040C..040F............... ro ....................... sw version ("xy.yy_ _ _").............. 8 char
x ... M
x ... U
x ... T
x ... A
x ... R
y.yy
: monitor program
: universal program
: calibration and test program
: application specific program
: MODBUS-RTU program
: version
Register
Type
Content
Length
status information
0500 ........................ ro ....................... module status.............................. 2 byte
0501 ........................ ro ....................... variable status ............................. 2 byte
<module st.>
0
<variable st.>
0
If the bit Mn in the module status is set it indicates that an error has occurred in the sensor module. Valid is:
M1 = 1:
M2 = 1:
M3 = 1:
M4 = 1:
EEPROM
FLASH
ADC
Configuration
- Error
- Error
- Error
- Error
If the bit Kn in the variable status is set it indicates that an error has occurred in variable n. A variable error is given
when the measuring value is outside of the linearization, e.g. in consequence of a sensor break down or of a short
circuit of transmission.
Reserved
FD00..FFFF
90
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
SPECIFICATIONS
10. SPECIFICATIONS
10.1. Power Supply
voltage range:
power input:
switch-on current:
external protector:
internal protector:
+ 10 .. 30 VDC
max. 2.7 W
max. 1.0 A during 30 ms
max. 1.0 A (inert)
protection against excess voltage, excess current and polarity
conversion (reversible)
voltage output
max. 50 mA
5V
2%
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
single-ended, differential
10 V / 5 V / 2,5 V / 1,25 V / 625 mV /
312.5 mV / 100 mV / 25 mV / 6.25 mV
100 M
0.01 0.30 %, (dependent on range)
0.003 0.03 %, (dependent on range)
50 100 ppm/C, (dependent on range)
0.01 %
91
ISM 112
SPECIFICATION
as current input:
types of measurement:
ranges:
input impedance:
accuracy:
resolution:
temperature drift:
linearity:
single-ended
25 mA / 12,5 mA / 6,25 mA / 3.125 mA / 1 mA / 250 A / 62.5 A
100
0.05 0.30 %, (dependent on range)
0.003 0.03 %, (dependent on range)
50 100 ppm/C, (dependent on range)
0.01 %
as resistance input:
types of measurement:
ranges:
output current:
accuracy:
resolution:
temperature drift:
linearity:
as bridge input:
types of measurement:
ranges:
input impedance:
accuracy:
resolution:
temperature drift:
linearity:
4-wire, 6-wire
1 V/V / 0.5 V/V / 0.25 V/V / 125 mV/V / 62.5 mV/V / 31.25 mV/V /
10 mV/V / 2.5 mV/V / 0.625 mV/V
100 M
0.03 0.30 %, (dependent on range)
0.003 0.03 %, (dependent on range)
50 100 ppm/C, (dependent on range)
0.01 %
92
current output
0..20 mA / 4..20 mA / variable (0-22 mA)
max. 22 mA
14 bit
max. 1.2
0,05 %
0,01 %
100 ppm/C
0,01 %
1 A / 250
1 A / 10 V
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
SPECIFICATIONS
Notice: With measurements of voltage of the single-ended type of measurement and with resistance measurings in 2and 3-wire technique the precision in the smaller measuring ranges can potentially be reduced in combination with
current measurements and measurings by resistance bridge.
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
-20 to +60 C
-30 to +85 C
0 to 95 % at +50 C, non-condensing
93
ISM 112
SPECIFICATION
(level 2)
(level 3)
(level 3)
(class B)
10.11. Shell:
material:
dimensions:
weight:
protective system:
type of installation:
mounting rail:
connection technique:
nom. cross section:
strip length:
Notice: For CSA-approved installations the modules are intended to be mounted completely inside another enclosure.
10.12. Circuit:
program memory:
data memory:
microprocessor:
A/D-conversion:
64 kbyte Flash-EPROM
512 byte + serial EEPROM
HITACHI H8/520
16 bit, Sigma-Delta-Procedure
94
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
SPECIFICATIONS
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
95
ISM 112
SPECIFICATION
OUT +
OUT -
I/O 2
0V
RUN
ERR
Gantner
AGND
AGND
AGND
In 4
In 3
In 2
UFORCE
In 1
A N A L O G
90 mm (3.5 inch)
112
66 mm (2.6 inch)
ISM
I/O 1
B U S
+10..30V
35 mm (1.4 inch)
33 mm (1.3 inch)
10 mm (0.4 inch)
83 mm (3.3 inch)
96
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 111
PINOUT ARRANGEMENTS FOR DIGITAL SENSORS
A.
+
U
measurement of voltage
differential
+
-
AGND
measurement of resistance
in 2-wire technique
In 1 / 2 / 3 / 4
U1
+
-
measurement of current
single-ended
In 1 / 2 / 3
In 2 / 3 / 4
In 1 / 2 / 3 / 4
AGND
AGND
U2
measurement of resistance
in 3-wire technique
measurement of resistance
in 4-wire technique
In 1 / 2
In 1 / 2 / 3
In 2 / 3
AGND
measuring by resistance
bridge in 4-wire technique
U FORCE
In 2 / 3 / 4
In 3 / 4
AGND
AGND
measuring by resistance
bridge in 6-wire technique
U
potentiometric
measurements
U FORCE
FORCE
In 1
In 1 / 2 / 3
In 2
In 2 / 3 / 4
In 3
In 1 / 2 / 3 / 4
In 4
AGND
measurement of temperature
with external compensation
measurement of temperature
with internal compensation
In 1 / 2 / 3 / 4
In 1 / 2 / 3
AGND
AGND
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
AGND
AGND
AGND
97
ISM 111
PINOUT ARRANGEMENTS
B.
status output
pulse-width modulation
U+
U+
PWM
I/O 1 / 2
I/O 1 / 2 / 3 / 4
status recording
frequency measurement
I/O 1 / 2
I/O 1 / 2 / 3 / 4
f
0V
0V
up counter
up/down counter
I/O 1
DIRECT.
0V
98
quadrature counter
I/O 1
I/O 1
I/O 2
I/O 2
0V
0V
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
channel
comment
comment
comment
comment
comment
digital output
arithmetic
setpoint
alarm
regulation
voltage
current
resistance
bridge
temperature
sensor
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
comment
comment
digital input
analog output
comment
Labeling
status (1,2,3,4)
frequency (1,2)
up counter (1,2)
up/down cnt. (1+2)
quadrature (1+2)
host out (1,2,3,4)
process out (1,2,3,4)
PWM (1,2)
differential
single-ended
2/3/4-wire
4/6-wire
TCint/Cext
cold junction
0 .. 20 mA
4 .. 20 mA
variable (0-22 mA)
type of measurement
(I/Os)
analog input
C.
ISM 111
CONFIGURATION
according to
type of
measurement
according to
type of
measurement
according to
type of
measurement
according to
type of
measurement
according to
type of
measurement
according to
type of
measurement
terminal
connection
99
unit
field length
decimals
binary format
unit
field length
decimals
binary format
unit
field length
decimals
binary format
unit
field length
decimals
binary format
unit
field length
decimals
binary format
proportional v.
integral value
differential value
bias value
setpoint settings
bus timeout
reset settings
limits
bus timeout
actual value
limits
out of range
response
bus timeout
reset settings
unit
field length
decimals
binary format
unit
field length
decimals
binary format
actual value
set value
time base
threshold v.
formula
time base
actual value
threshold v.
time base
conv. factor
type of filter
addiitionals
limits
error handling
tare settings
cold junction ch.
cold junction tmp.
range
error
unit
field length
decimals
binary format
format
ISM 112
ACCURACY / RESOLUTION
D.
gain step
0
1
2
3
4
5
6
7
8
9
A
gain
factor
1
2
4
8
16
32
64
100
200
800
3200
range
10 V
5V
2.5 V
1.25 V
625 mV
312.5 mV
100 mV
25 mV
6.25 mV
voltage
measurement
10 V
5V
2.5 V
1.25 V
625 mV
312.5 mV
100 mV
25 mV
6.25 mV
accuracy(1)(3)
0.01 %
resistance
bridge
1 V/V
500 mV/V
250 mV/V
125 mV/V
62.5 mV/V
31.25 mV/V
10 mV/V
2.5 mV/V
0.625 mV/V
potentiometric
measurement
0 ... 1
-
temperature drift(2)
0.003 %
0.010 %
0.01 %
50 ppm/C
0.03 %
0.10 %
0.30 %
0.003 %
0.010 %
0.030 %
100 ppm/C
(1) values for T=20C , (2) values estimated from the hardware specification
(3) values correspond to 80% of the measuring range
100
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
ISM 112
ACCURACY / RESOLUTION
range
10 V
5V
2.5 V
1.25 V
625 mV
312.5 mV
100 mV
25 mV
6.25 mV
(1)(3)
accuracy
0.03 %
0.003 %
0.10 %
0.010 %
0.03 %
0.10 %
0.30 %
0.003 %
0.010 %
0.030 %
0.01 %
temperature drift(2)
50 ppm/C
100 ppm/C
(1) values for T=20C , (2) values estimated from the hardware specification
(3) values correspond to 80% of the measuring range
range
25 mA
12.5 mA
6.25 mA
3.125 mA
1 mA
0.25 mA
0.625 mA
(1)(3)
accuracy
current measurement
resolution / noise(1)(3)
0.003 %
0.05 %
0.010 %
0.10 %
0.30 %
0.003 %
0.010 %
0.030 %
linearity(2)
temperature drift(2)
0.01 %
50 ppm/C
100 ppm/C
(1) values for T=20C , (2) values estimated from the hardware specification
(3) values correspond to 80% of the measuring range
(1)(3)
resistance measurement
resolution / noise(1)(3)
Range
accuracy
linearity(2)
temperature drift(2)
20 k
10 k
5 k
0.003 %
2.5 k
0.05 %
0.01 %
50 ppm/C
1.25 k
625
0.010 %
312.5
200
0.003 %
(1) values for T=20C , (2) values estimated from the hardware specification
(3) values correspond to 80% of the measuring range
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
101
ISM 112
ACCURACY / RESOLUTION
Range
1 V/V
500 mV/V
250 mV/V
125 mV/V
62.5 mV/V
31.25 mV/V
10 mV/V
2.5 mV/V
0.625 mV/V
(1)(3)
accuracy
Potentiometric measurement
resolution / noise(1)(3)
linearity(2)
0.10 %
0.003 %
0.30 %
0.010 %
0.03 %
0.10 %
0.30 %
0.003 %
0.010 %
0.030 %
0.01 %
temperature drift(2)
50 ppm/C
100 ppm/C
(1) values for T=20C , (2) values estimated from the hardware specification
(3) values correspond to 80% of the measuring range
potentiometric measurement
range
accuracy(1)(3)
0 ... 1
0.01 %
resolution / noise(1)(3)
linearity(2)
0.003 %
0.01 %
temperature drift(2)
50 ppm/C
(1) values for T=20C , (2) values estimated from the hardware specification
(3) values correspond to 80% of the measuring range
102
HB_ISM112_E_V221.doc
Gantner Instruments Test & Measurement GmbH
Notice:
Information in this manual are valid from 19th April 2004 until revocation.
Further changes and completion of the manual are reserved and possible without notice.
www.gantner-instruments.com
GANTNER Instruments Test & Measurement GmbH
Montafonerstrae 8 A-6780 Schruns/Austria
Tel.: +43 (0)5556-73784-410 Fax: +43 (0)5556-73784-419
E-Mail: office@gantner-instruments.com