All rights reserved. Reproduction as well as electronic duplication of this guide, complete or in part, requires the written consent of ESERA-
Automation or E-Service GmbH. Errors and technical modification subject to change.
©
ESERA-Automation, E-Service GmbH 2019
www.esera.de
Programming Manual Controller-Gateway-Station V1.0 R1.1
Page 42 of 77
12.
Data output of 1-Wire devices
Basically there is a cyclic data output for every active 1-Wire device. In addition, status changes for iButton and
digital input modules are updated via immediate data output. Event-controlled data output does not differ from
cyclic data output in terms of formatting.
A "data header" is sent before each data output. The data header has the following formatting:
Data header:
1_EVT|time
=> Controller No._Event|Time
12.1.
Data output DS1820, DS18S20 and DS18B20
Temperature sensors are output in the following data format. For the display of analog values, e.g. temperature,
only a division by 100 is necessary.
Data output:
1_OWD1|2087 => Controller No._ device number temperature without a comma, Example 20,87°C
12.2.
Data output DS2401, DS1963 and DS1990A (iButton)
The serial number-chip is output in the following data format.
Output and event format:
1_OWD1|Serial number
=> Controller No._ Device No.| Serial number
12.3.
Data output DS2405
Digital I/O is output in the following data format.
Output and event format:
1_OWD1_1|1
=> Controller No._ Device No.|InputValue 0 or 1
12.4.
Data output DS2406 Input/Output
The output is for each channel with separate input and status.
When switching an output, the status incl. input is mapped, therefore no pure output variable is possible. For the
Dual Digital I/O the data output is in the following data format.
Data output:
1_OWD1_1|1
=> Controller No._ Device No.| Input 0 (BIT), Example: Input 1 active
1_OWD1_2|1
=> Controller No._ Device No.| Input 1 (BIT), Example: Input 2 active, as output 2 is active
1_OWD1_3|0
=> Controller No._ Device No.| Status 0 (BIT), Example: Output 1 inactive
1_OWD1_4|1
=> Controller No._ Device No.| Status 1 (BIT), Example: Output 2 active
Event formatting for input:
1_EVT|Uhrzeit => Controller No._Event|Time
1_OWD1_1|4
=> Controller No._ Device No.| Input 0 (BIT)
1_OWD1_2|4
=> Controller No._ Device No.| Input 1 (BIT)
12.5.
Data output DS2413 Input/Output
The output is for each channel with separate input and status.
When switching an output, the status incl. input is mapped, therefore no pure output variable is possible. For the
Dual Digital I/O the data output is in the following data format.
Data output:
1_OWD1_1|1
=> Controller No._ Device No.| Input 0 (BIT), Example: Input 1 active
1_OWD1_2|1
=> Controller No._ Device No.| Input 1 (BIT), Example: Input 2 active, as output 2 is active
1_OWD1_3|0
=> Controller No._ Device No.| Status 0 (BIT), Example: Output 1 inactive
1_OWD1_4|1
=> Controller No._ Device No.| Status 1 (BIT), Example: Output 2 active
Event formatting for input:
1_EVT|Uhrzeit => Controller No._Event|Time
1_OWD1_1|4
=> Controller No._ Device No.| Input 0 (BIT)
1_OWD1_2|4
=> Controller No._ Device No.| Input 1 (BIT)