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 57 of 77
18.
Switching binary / digital output, all 1-Wire actuators
You can easily process a data output or a switching command via the DS2405, DS2413 and DS2408 modules.
The switching commands for the 1-Wire bus are the same as the switching commands for the outputs of the 1-
Wire Controller / 1-Wire Gateway. They differ only in the addressing "SYS" or "OWD". As several digital output
modules can be connected via the 1-Wire bus, a module addressing (OWD number) is necessary.
The following commands can be used to control the following ESERA-Automation modules, among others:
Dual digital output (Art. No. 11218), 8-fold digital output (Art. No. 11206, 11220).
18.1.
Switching of all outputs (Port) 1-Wire actuator
There are applications and modules where it is necessary to switch all outputs with a single command, e.g. the
ESERA-Automation analog-Out, PWM-Out or dimmer modules.
With a single command all outputs of the 1-Wire device are set to a certain state, which means that the previous
output state is overwritten.
The controller takes over the command adaptation to the 1-Wire devices (single, dual or 8-fold). If the written
output value is greater than the maximum value for the 1-Wire device / module, an error message is output (Error
5).
The output value is output as decimal value 0-254. Each output has a value that is summed up.
Output 1 = 1, output 2 = 2, output 3 = 4, output 4 = 8, output 5 = 16, output 6 = 32,
Output 7 = 64, output 8 = 128.
If, for example, you wish to switch outputs 1, 3 and 5 to
“1”, add up the corresponding output values.
In the fore mentioned scenario e.g. 1 + 4 + 16 = 21
All other outputs are switched to 0. If all outputs are to be set to
“0” or should be switched off, the output value is
0.
Valid output values for 1-Wire digital outputs:
DS2405 : 0 / 1
DS2413: 0 - 3
DS2408: 0 - 255
Command: SET,OWD,OUTH,OWD-number,output value
Example: set,owd,outh,2,15 => OWD number 2, output 1 to 4 is switched to "On
”
After switching the output, the new status is output as confirmation.
18.2.
Switching of one output 1-Wire actuator
To switch a single digital or binary output, use the following command to set only the selected output to 0 or 1.
The controller adopts the command adaptation to the connected 1-Wire device (single, dual or 8-fold). If the
switched 1-Wire device is not equipped with the selected output (e.g. output 4 with a dual output), an error is
output (Error 5).
Command: SET,OWD,OUT,OWD-number,output,Value
Example: set,owd,out,2,1,1 => OWD number 2, output 2 is switched to "On
”
After switching the output, the new status is output as confirmation.
18.3.
Output analog value 0-10V, 1-Wire actuator
Via the ESERA-Automation module "Analog output 0-10V" (Art. no. 11208) you can output analog values in the
range of 0-10V with a resolution of 39.2mV (8 bits, 255 levels).
Alternatively, the output voltage can also be output as a percentage value. For this you can use the command for
the PWM output. The % value is then output as response.
Command: SET,OWD,OUTA,OWD-number,output voltage
Example: set,owd,outa,2,500 => OWD number 2, becomes output voltage 5,00V
After controlling the module, the new status is output as confirmation.