31
ZABER TECHNOLOGIES INC.
Reading the inputs is accomplished by sending the unit an io get command, as shown below.
/1 io get di
@01 0 OK IDLE –- 0 0 1 0 /1 io get di 1
@01 0 OK IDLE -- 0
The first command queries all inputs on the device and shows that input 3 is high and all others
are low. The second command queries a specific input on the device, in this case input 1, which is
low.
10.2. Digital Outputs
All digital outputs on the X-MCB2 are fully optoisolated and capable of sinking 15mA each at up to
50V. The first example circuit below shows how to drive an LED from one of the digital outputs. In
order to switch loads with a higher current draw, for example a relay, an external switching
transistor is required, as shown in example 2.
The digital outputs are set through the io set command, as shown below.
Содержание X-MCB2 Series
Страница 4: ...III ZABER TECHNOLOGIES INC 16 3 Linux 16 4 OS X 17 Product Drawing 18 Specifications 54 55 56 57 ...
Страница 50: ...46 ZABER TECHNOLOGIES INC 5 Choose Browse my computer for driver software ...
Страница 51: ...47 ZABER TECHNOLOGIES INC 6 Click the Browse button and select the location where you extracted the driver to ...
Страница 52: ...48 ZABER TECHNOLOGIES INC 7 Click Next ...
Страница 60: ...56 ZABER TECHNOLOGIES INC 17 Product Drawing ...