![Metz Connect EWIO 2 User Manual Download Page 84](http://html.mh-extra.com/html/metz-connect/ewio-2/ewio-2_user-manual_1781387084.webp)
EWIO
2
User Manual
V 1.1 | Stand 10/2020
Seite 84 von 96
METZ CONNECT GmbH | Im Tal 2 | 78176 Blumberg | Germany
Tel. +49 7702 533-0 | Fax +49 7702 533-433
For additional documentations look at www.metz-connect.com
11.2.
Rückgabewerte
The „ewioIOControl“ tool will generally return a keyword or a value on each call.
If the ewio2Server is not reachable the return value will be „no_server“.
For „set“ commands the return value will be one of the keywords:
„ok“:
issued when the set command successfuly executed.
„err“:
issued when an error occurred. No further details will be shown.
„man“: issued when the output to be controlled is in the manual operating mode.
„range“: issued when the value to be set is not in the allowed range.
For „get“ commands the return value will be a digital or analog value in floating point
format, or the keyword „err“ in case of errors.
11.3.
Examples
11.3.1.
Set an analog value for an analog output
ewioIOControl set_ao_0_01_3.73
The command above, will set 3.73 V to the analog output AO2 (O2/-)
the return value is „
ok
“
ewioIOControl set_ao_0_02_25.5
The command above will try to set a value out of range for the analog output AO3 (O3/-).
The return value is „
range
“ and the output value will be set to the maximum value of the AO
(10.24 V).
11.3.2.
Set a digital value for a digital output
ewioIOControl set_do_0_00_1
The command above, will set „1“ to the first digital output REL1 (11/12/14)
The return value is „
ok
“
ewioIOControl set_do_0_01_32
The command above will try to set a value out of range for the second digital output REL2
(21/22/24).
The return value is „
range
“ and the output value will be set to 1 (on).