Input/Output Control; Initial Configuration - Advantech PCM-3753I-AE User Manual

96-channel digital i/o pci-104 module
Table of Contents

Advertisement

3.2.3 Input/Output Control

A control word can be written to a port's configuration register (Base+3,
7, 11 and 15 respectively for ports 0, 1, 2 and 3 on the PCM-3753I, and
Base+35, 39, 43 and 47 respectively for ports 0, 1, 2 and 3 on the
PCM-3753IE) to set the port as an input or an output port, unless the ports
are set as output ports via jumpers (refer to Section 2.3, Jumper Settings).
Table 3-1 shows the format of a control word.
Table 3.1: Bitmap of Port Configuration Register
D7
D6
D5
Not
Not
Not
read
read
read
Note
A control word has no effect if the corresponding
port is set as an output port by a jumper.
Warning
Before setting any port as an output port via
software, make sure that a safe output value has
also been set. An output voltage will appear at
the pins immediately following the control word
taking effect. If no output value was specified, the
value will be indeterminate (either 0 or 1), which
may cause a dangerous condition.

3.2.4 Initial Configuration

The initial configuration of each port depends on the input/output jumper
setting of each port, on the setting of the jumper JP1, and on whether the
power was actually disconnected or whether the system was hot reset.
If jumper JP1 is not enabled, all ports configured by software are
automatically set as input ports during system start up or reset, with a
default signal level of logic 1 (high). All ports set via jumpers as output
ports are set as output ports during system start up or reset, signal level
logic 0 (0 V).
D4
D3
PortA
Port C
0: output
higher
1: input
bits
0: output
1: input
15
D2
D1
Not
Port B
read
0: output
1: input
D0
Port C
lower bits
0: output
1: input
Chapter 3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pcm-3753i

Table of Contents