User`s manual

93
Chapter 4 Features and Functions
Digital I/O Operation
4
4
Digital Output Operation
From the front-panel, you can write data to the built-in digital I/O
bits/port (numbered 090 through 094) or any one of the 8-bit ports on
a digital I/O module or multifunction module.
From the remote interface, you can write data to individual bit
channels and 8-, 16-, or 32-bit ports on a digital I/O module or
multifunction module, as well as to the built-in digital I/O bits/port
(numbered 090 through 094).
Instrument reset will set all digital I/O ports in the instrument as
input ports. Pressing Card Reset or issuing a RESET command will
set all ports on the specified module as input ports (ports on other
modules are not affected).
Front-Panel Operation: Select an 8-bit port, press Write, the data
from the last operation (read or write) will be displayed. Edit the data
to the desired value and press Enter to write the data to the port. To
cancel the write operation, press Write again instead of Enter. You
can edit the data in either binary or decimal form (see page 33).
Remote Interface Operation:
OUTPUT 709; “DWRITE 400,219” ! Write 219 to 16-bit Port 404.
OUTPUT 709; “CLOSE 401,407,411”
! Close bit channels 401, 407,
and 411.
OUTPUT 709; “OPEN 403,405,407”
! Open bit channels 403, 405,
and 407.
WORD values greater then 32767 and LWORD values greater then
for (2
31
-1) are sent as negative numbers. These values are in 2’s
complement form.