Software |
Seite
67
5.5. DELIB CLI (command-line interface)
In some programming languages (like PHP), you can't include DLLs, therefore is
an extra console command, which you can directly call out of the program (with
appropriate parameters). You can find this command after installation of the
DELIB
driverlibrary
in
the
directory
C:
\Programme\DEDITEC\DELIB\Programs\Console.
You can find the DELIB CLI Command for Windows after Installation of the
DELIB driverlibrary in the directory C:\Programme\DEDITEC\DELIB\programs\cli\
.
The DELIB CLI Command for Linux is located in the directory "/deditec-cli/,
after unzipping the ZIP-Archiv "delib-linux-cli".
Definition (Windows)
delib_cli command channel [value | unit ["nounit"] ]
Definition for USB-Module (Linux)
sudo delib-cli-usb command channel [value | unit ["nounit"] ]
Definition for RO-ETH-Module (Linux)
delib-cli-eth command channel [value | unit ["nounit"] ]
Note: The parameters are separated by spaces.
These commands and parameters are not case sensitive.
Parameter
command channel
value
unit
nouni
t
di1
0, 1, 2, ...
-
hex
nouni
t
di8
0, 8, 16, ...
di16
di24
do1
0, 1, 2, ...
0/1 (1-bit command)
-
-
do8
0, 8, 16, ...
8-bit value
(Bit 0 for channel 1, Bit
1 for channel 2, ...)
do16
16-bit value
do24
24-bit value
ai
0, 1, 2, ...
-
hex, volt, mA
nouni
Summary of Contents for ETH-RELAIS-8
Page 1: ...Hardware Description Juli ETH RELAIS 8 OPTOIN 8 2019 ...
Page 6: ...I Introduction Seite 6 Introduction ...
Page 8: ...II Hardware description Seite 8 Hardware description ...
Page 13: ...Hardware description Seite 13 2 2 3 Overview screen ...
Page 17: ...Hardware description Seite 17 2 3 2 Product pictures ETH RELAIS 8 ...
Page 18: ...Hardware description Seite 18 2 3 3 Overview screen ...
Page 21: ...Hardware description Seite 21 ...
Page 22: ...III Hardware Seite 22 Hardware ...
Page 28: ...Hardware Seite 28 Geben Sie hier den Text ein ...
Page 29: ...IV Firmware update Seite 29 Firmware update ...
Page 32: ...Firmware update Seite 32 After successful update procedure the message FLASH OK appears ...
Page 33: ...V Software Seite 33 Software ...
Page 56: ...Software Seite 56 Choose the option create VIs for DLL and press continue ...
Page 71: ...Software Seite 71 compile_delib_cli_usb sh with which you can compile the project under Linux ...
Page 77: ...VI DELIB API reference Seite 77 DELIB API reference ...
Page 107: ...VII Appendix Seite 107 Appendix ...