EasyManua.ls Logo

IOtech Digital488 - Configure Cn

Default Icon
83 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Section 3 Command Descriptions
3.5
Configure Cn
Ports 1 thru 5 are configured as inputs or outputs with the
Configure
command.
Each port is eight bits wide. At power-on, all ports are initialized as inputs. The
Configure
command is usually the first command to be sent after power on. All ports
programmed as outputs will be set to a logic zero after receiving the
Configure
command. The actual output level is dependent on the
Invert
command (
I16
)
.
Cn
Mode n (0 thru 5) defines which ports are input and output
Port 5
4 3 2 1
C0
in in in in in
C1
in in in in out
C2
in in in out out
C3
in in out out out
C4
in out out out out
C5
out out out out out
in = programmed as an input port
out = programmed as an output port
Example:
CLEAR 718
reset the
Digital488
OUTPUT 718;"C1X"
select port 1 as output, ports 2 thru 5
as inputs

Table of Contents