07.12.2012 Views

ÿþþ ÿ R O - C A N - I N T E R F A C E ...

ÿþþ ÿ R O - C A N - I N T E R F A C E ...

ÿþþ ÿ R O - C A N - I N T E R F A C E ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Digitale Inputs<br />

Windows<br />

delib_cli DI1 3<br />

Example of a return value: 1<br />

-> reads the state of digital input 4<br />

delib_cli DI8 0 hex<br />

Example of a return value: 0xFF<br />

-> reads the state of digital input 4 as hexadecimal<br />

delib_cli DI16 0 hex<br />

Example of a return value: 0xFFFF<br />

-> reads the state of digital inputs 1-16 as hexadecimal<br />

delib_cli DI32 0 hex<br />

Example of a return value: 0xFFFFFFFF<br />

-> reads the state of digital inputs 1-32 as hexadecimal<br />

Alternatively you can append the argument "nounit"<br />

delib_cli DI8 0 hex nounit<br />

Example of a return value: FF<br />

-> reads the state of digital inputs 1-8 as hexadecimal<br />

Linux<br />

sudo delib_cli _usb DI1 3<br />

Example of a return value: 1<br />

-> reads the state of digital input 4 of an USB-Module<br />

delib_cli_eth DI8 0 hex<br />

Example of a return value: 0xFF<br />

-> reads the state of digital input 1-8 of a RO-ETH-Module as hexadecimal<br />

Software |Seite 95

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!