22
www.bitrek.eu
[email protected]
+372 880 78 78
Table 6 – Values of configuration registers of temperature sensors
DS18B20
Number
of
temperature
sensor
Th register
value
Tl register
value
Configuration
value
register
0
0
172
127
1
1
157
127
2
2
206
127
3
3
255
127
4
4
104
127
Details of the recording of values in registers of the temperature
sensor are provided in the documentation for DS18B20 temperature
sensor.
If the line contains sensors with the same numbers, the appropriate
I/O element will record values of the last polled temperature sensor.
Important: sharing of temperature sensors and electronic
keys that do not fully support the iButton protocol is not
allowed (for example, some CP-Z2L readers)
Setting the device for electronic keys
The device can work with electronic keys iButton or RFID cards of
EM-Marin standard. Data transfer is carried out using 1-Wire interface.
The device has the ability to work with RFID card readers that do
not support full iButton protocol. Such devices can operate on the 1-Wire
interface only in the absence of other devices (for example, thermal
sensors) on the bus. An example of such devices is some CP-Z2L
readers. Operation mode is set with ID 0991 (
If I/O element of Ekey (
) is set up, its number will be
sent to the server when the electronic key is brought to.
In addition to the transmission of key number, there is an ability to
manage the discrete outputs Out 1 and Out 2 depending on the brought
keys. For this purpose, the device has the ability to store in the
nonvolatile memory up to 20 key numbers. If the number of a brought
key coincides with the number of one of the keys stored in the memory,
the device activates one of the discrete outputs. Selection of specific
discrete output to be activated depends on the value of ID 0991
parameter.
Storage of keys applies ID 0920 – 0939 (
Line with electronic key value shall contain exactly 10 characters –
numbers 0-9 or uppercase A-F. Each pair of symbols encodes one byte in
ASCII representation. The first to be recorded is the low-order byte of