Contemporary Control Systems Modbus Cube I/O MR-AI8 User Manual
Page 3

Continuation Software Description
Configurations Registers are shown above in a way to display
the meaning of the individual bit. For the application it is more
convenient if the register contents is displayed as a whole, see
the following chart.
Bit 15-8: occupied
Bit 7:
0 = voltage or resistance
Bit 6-5: range, defines input circuit or measuring range
0 0 voltage 0to10 V (factory setting)
0 1 voltage 0to10 V, with Pullup 2k at 5 V
1 0 resistance
1 1 occupied
Bit 4-0: number, defines presentation of value
Voltage measurement:
0
value with data type float, unit = 1V
(factory setting)
1
value with data type signed int,
unit = 10.24 V/2
15
= 1V/3200 = 0.3125 mV
2-31 reserved for other presentations
Resistance measurement:
0
value with data type float,
unit = 1 W
1
value with data type signed int,
unit = 0.1 W (max. 3.2767 kW)
2
value with data type signed int,
unit = 1 W (max. 32.767 kW)
3
value with data type signed int
unit = 10 W (max. 327.67 kW)
4
value with data type signed int
unit = 100 W (max. 3276.7 kW)
5-31 reserved for other presentations
Configuration Register for voltage or resistance measurement:
Bit 15-8: occupied
Bit 7:
1 = temperature with sensor characteristic
Bit 6-1: number, serves to distinguish between sensor and
measuring range
0 Sensor PT100
(-50..150 °C)
1 Sensor PT500
(-50..150 °C)
2 Sensor PT1000
(-50..150 °C)
3 Sensor NI1000-TK5000 (-50..150 °C)
4 Sensor NI1000-TK6180 (-50..150 °C)
5 Sensor BALCO 500
(-50..150 °C)
6 Sensor KTY81-110
(-50..150 °C)
7 Sensor KTY81-210
(-50..150 °C)
8 Sensor NTC-1k8
(-50..150 °C)
9 Sensor NTC-5k
(-50..150 °C)
10 Sensor NTC-10k
(-50..150 °C)
11 Sensor NTC-20k
(-50..150 °C)
12 Sensor LM235
(-40..120 °C)
13-55
reserved for other sensors
56-61
use of interpolations chart see below
62-63 occupied
Bit 0:
Data type of value
0
float, unit 1°C
1
signed int, unit 0,1°C
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
0
1
number
Type
Configuration Register for the use of the Interpolation chart:
This chart can be used to linearize individually defined sensor
characteristics.
Bit 15-8: occupied
Bit 7:
1 = temperature with sensor characteristic
Bit 6-4: 7 = interpolation chart
Bit 3-2: range, defines input circuit or measuring range
0 0 voltage 0-10V
0 1 voltage 0-10V, Pullup 2k at 5V
1 0 resistance
1 1 occupied
Bit 1:
selection of interpolation
0 sensor characteristic is approx. linear
1 sensor characteristic is approx.
exponential
(NTC)
Bit 0:
data type of value
0 float, unit 1 °C
1 signed int, unit 0.1 °C
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
0
1
7
range Int Type
Dez Hex
Measuring range Data type
Unit
Maximum
Voltage or
resistance
0
0x00
Voltage 0-10 V
float
1 V
1
0x01
Voltage 0-10 V
signed int 0,3125 mV
10,24 V
32
0x20
Voltage/Pullup
float
1 V
33
0x21
Voltage/Pullup
signed int 0,3125 mV
10,24 V
64
0x40
Resistance
float
1 W
65
0x41
Resistance
signed int 0,1 W
3,2767 kW
66
0x42
Resistance
signed int 1 W
32,767 kW
67
0x43
Resistance
signed int 10 W
327,67 kW
68
0x44
Resistance
signed int 100 W
3276,7 kW
Temperature measurement with data type float.
(Value charts for sensors see annex):
128
0x80
Sensor PT100
float
1 °C
(-50..150 °C)
130
0x82
Sensor PT500
float
1 °C
(-50..150 °C)
132
0x84
Sensor PT1000
float
1 °C
(-50..150 °C)
134
0x86
Sensor NI1000-TK5000 float
1 °C
(-50..150 °C)
136
0x88
Sensor NI1000-TK6180 float
1 °C
(-50..150 °C)
138
0x8A
Sensor BALCO 500
float
1 °C
(-50..150 °C)
140
0x8C
Sensor KTY81-110
float
1 °C
(-50..150 °C)
142
0x8E
Sensor KTY81-210
float
1 °C
(-50..150 °C)
144
0x90
Sensor NTC-1k8
float
1 °C
(-50..150 °C)
146
0x92
Sensor NTC-5k
float
1 °C
(-50..150 °C)
148
0x94
Sensor NTC-10k
float
1 °C
(-50..150 °C)
150
0x96
Sensor NTC-20k
float
1 °C
(-50..150 °C)
152
0x98
Sensor LM235
float
1 °C
(-40..120 °C)
Continuation Software Description
Continuation Software Description
Continuation Software Description
Dez Hex
Measuring range Data type
Unit
Maximum
Voltage or
resistance
Temperature measurement with data type signed int,
register contents is larger by 1 as above:
129
0x81
Sensor PT100
signed int
0,1 °C
(-50..150 °C)
131
0x83
Sensor PT500
signed int
0,1 °C
(-50..150 °C)
133
0x85
Sensor PT1000
signed int
0,1 °C
(-50..150 °C)
135
0x87
Sensor NI1000-TK5000 signed int
0,1 °C
(-50..150 °C)
137
0x89
Sensor NI1000-TK6180 signed int
0,1 °C
(-50..150 °C)
139
0x8B
Sensor BALCO 500
signed int
0,1 °C
(-50..150 °C)
141
0x8D
Sensor KTY81-110
signed int
0,1 °C
(-50..150 °C)
143
0x8F
Sensor KTY81-210
signed int
0,1 °C
(-50..150 °C)
145
0x91
Sensor NTC-1k8
signed int
0,1 °C
(-50..150 °C)
147
0x93
Sensor NTC-5k
signed int
0,1 °C
(-50..150 °C)
149
0x95
Sensor NTC-10k
signed int
0,1 °C
(-50..150 °C)
151
0x97
Sensor NTC-20k
signed int
0,1 °C
(-50..150 °C)
153
0x99
Sensor LM235
signed int
0,1 °C
(-40..120 °C)
Temperature measurement with interpolation chart:
240
0xF0
Voltage 0-10 V
float
linear
241
0xF1
Voltage 0-10 V
signed int
linear
242
0xF2
Voltage 0-10 V
float
exponentiell
243
0xF3
Voltage 0-10 V
signed int
exponentiell
244
0xF4
Voltage/Pullup
float
linear
245
0xF5
Voltage/Pullup
signed int
linear
246
0xF6
Voltage/Pullup
float
exponentiell
247
0xF7
Voltage/Pullup
signed int
exponentiell
248
0xF8
Resistance
float
linear
249
0xF9
Resistance
signed int
linear
250
0xFA
Resistance
float
exponentiell
251
0xFB
Resistance
signed int
exponentiell
Register 24-63 (0x18-0x3F) interpolation chart
This chart can be used to convert and linearize values for sensors
without a characteristic already defined in the device. The chart
contains up to 10 nodes of the sensor characteristic to interpo-
late between.
Example: conversion from resistance to temperature with tem-
perature sensors.
Register contents is stored in the EEPROM.
The description refers to temperature sensors. Other sensors
than temperature sensors (e.g. humidity) are also possible and it
is also possible to measure voltage instead of resistance.
These properties can be set in the configuration register:
Measuring range: voltage
voltage, Pullup 2k at 5V (e.g. for LM235)
resistance (normal case with temperature
sensors)
Interpolation:
sensor characteristic is approx. linear
sensor characteristic is approx. exponential
(für NTCs)
Data type of value: float
(unit 1 °C)
signed int
(unit 0.1 °C)
Modbus-Funktionen
“03 (0x03) Read Holding Registers”
“16 (0x10) Write Multiple Registers”
Node
Register
Register
Temperature
Resistance
1
24-25
26-27
2
28-29
30-31
3
32-33
34-35
4
36-37
38-39
5
40-41
42-43
6
44-45
46-47
7
48-49
50-51
8
52-53
54-55
9
56-57
58-59
10
60-61
62-63
The nodes (up to 10) are filled from the beginning of the chart,
it ends with
Temperature = resistance = 0, if less nodes exist.
Temperature and resistance values have to be sorted in ascen-
ding or descending order.
Data type in registers: float temperature, resistance
10.2 Bit rate setting with Modbus command
Parity and bit rate have the same value as when setting them by
address switch.
If Parity or Bit has the value 0, no setting or storage is carried out.
The register content is stored in the EEPROM.
“06 (0x06) Write Single Register”
Request
Valid Register Address
0x41 ( 65 )
Valid Register Value 2 Bytes
Bit 15-8:
Magic-Number 0x53 = 83 as protection against
accidental writing.
The command will be further analysed only with this
number.
Response
Echo of Request
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
0x53
Parity
Bit rate
Bit 3-0
1
2
3
4
5
6
7
8
Bit rate 1200 2400 4800 9600 19200 38400 57600 115200
Bit 7-4
1
2
3
Parity even odd none
METZ CONNECT | Im Tal 2 | 78176 Blumberg | Germany | Phone +49 7702 533-0 | Fax +49 7702 533-433
Distributed by RIA CONNECT GmbH and BTR NETCOM GmbH
Mounting instruction see www.metz-connect.com