C Control The I Unit-M Advanced 5 Vdc Inputs / outputs 16 x digital I/Os / 8 x analogue or digital I/Os Program memory 2 198805 Hoja De Datos
Los códigos de productos
198805
RXD/TXD
The serial interface (RXD=input TXD=output) is designed for 5V digital logic level, You never must connect a
RS232 interface directly to this ports. This would immediately result in permanent damage to the C-Control
Computer
RXD and TXD are predefined. No user definition has to be done
RS232 interface directly to this ports. This would immediately result in permanent damage to the C-Control
Computer
RXD and TXD are predefined. No user definition has to be done
STANDARD DIGITAL I/O PORTS
The C-Control Computer provides two standard byteports (16 bitports, P1 to P16). Each bitport can be used
as input or output port. Both byteports are provided with software switchable pull up resistors (30k). Each of
the eight analog ports (A/D-converter) can be alternatively used as a standart digital I/O port if this function is
enabled in the configuration register (see Chapter CONFIG REGISTER) Each of this ports can then be
considered as standard bitport (P17 to 24) but has no switchable pull up resistor. After reset all ports are
usually Inputs. Please note that some options my change this (See Chapter CONFIG REGISTER). A DEACT
instruction will make the port an INPUT, a write instruction will make the port an output . See Chapter
INSTRUCTIONS AN KEYWORDS for informations on read and write a port.
as input or output port. Both byteports are provided with software switchable pull up resistors (30k). Each of
the eight analog ports (A/D-converter) can be alternatively used as a standart digital I/O port if this function is
enabled in the configuration register (see Chapter CONFIG REGISTER) Each of this ports can then be
considered as standard bitport (P17 to 24) but has no switchable pull up resistor. After reset all ports are
usually Inputs. Please note that some options my change this (See Chapter CONFIG REGISTER). A DEACT
instruction will make the port an INPUT, a write instruction will make the port an output . See Chapter
INSTRUCTIONS AN KEYWORDS for informations on read and write a port.
define MyBitPort1 as PORT[1]
define MyBytePort2 as BYTEPORT[2]
DIGITAL INPUT PORT
Digital input ports are used to request an external switch status. A digital input is on undefined logical level if
nothing is connected (eg. an external switch is open) Therefore it is recommended to tie the port to a defined
level eg. conncting a pull up resistor to the port. In this case a closed switch causes the port reading as
"false" (logical lo level) and an open switch will be read as "true" (logical hi level ) After applying the
operation voltage or after entering the reset state all ports are switched to inputs.
Internal pullup resistors can be activated by the CONFIG 1 REGISTER and may save you some componets
in your project. As well as for other often needed procedures, the library already contains the program
modules for switching the pullups.
nothing is connected (eg. an external switch is open) Therefore it is recommended to tie the port to a defined
level eg. conncting a pull up resistor to the port. In this case a closed switch causes the port reading as
"false" (logical lo level) and an open switch will be read as "true" (logical hi level ) After applying the
operation voltage or after entering the reset state all ports are switched to inputs.
Internal pullup resistors can be activated by the CONFIG 1 REGISTER and may save you some componets
in your project. As well as for other often needed procedures, the library already contains the program
modules for switching the pullups.
DIGITAL OUTPUT PORT
If a digital port is switched to output you can connect circuits, transistors or LEDs with current limiting
resistors. The maximum load (output) current of each port must not exeed 10mA. In all cases a current limit
(e.g by connecting a resistor) has to be ensured. Otherwise a immediate and permanent damage of ports
can result. The port function ( if a port is input or output) is controlled during program execution. After
applying the operation voltage or after entering the reset state all ports are switched to inputs.
resistors. The maximum load (output) current of each port must not exeed 10mA. In all cases a current limit
(e.g by connecting a resistor) has to be ensured. Otherwise a immediate and permanent damage of ports
can result. The port function ( if a port is input or output) is controlled during program execution. After
applying the operation voltage or after entering the reset state all ports are switched to inputs.
DEDICATED DIGITAL PORTS
The operating system offers some special functions which occupy dedicated ports. Other than the special
ports, the dedicated ports can be used as Standard digital I/O Ports. They become dedicated if special
functions (eg. read/write to the Extended Ports or r/w to the Infra Red Interface)
ports, the dedicated ports can be used as Standard digital I/O Ports. They become dedicated if special
functions (eg. read/write to the Extended Ports or r/w to the Infra Red Interface)
I²C-BUS INTERFACE (PORT 9 and 10)
Any usage of the I²C Functions (see chapter I²C OBJECT) will occupy this ports to work as I²C Bus Interface
and the ports can not be used freely any more. System Functions (e.g CHIPRAM or CHIP CARD BOOT) will
also need the appropriate hardware connected to this ports.
and the ports can not be used freely any more. System Functions (e.g CHIPRAM or CHIP CARD BOOT) will
also need the appropriate hardware connected to this ports.
RC5 IR INTERFACE (PORT 2 and 3)
Any usage of the RC5 IR Functions (see chapter IR OBJECT) will occupy this ports to work as RC5 coded R
8