Register Format - Advantech PCL-730 User Manual

32-ch isolated digital i/o isa cards
Hide thumbs Also See for PCL-730:
Table of Contents

Advertisement

A.1

Register Format

Programming the PCL-730 is extremely simple. Each I/O channel corresponds to a
bit in the card's registers. To turn on an output channel you write a ''1" to the corre-
sponding bit. To read an input port, you simply read from the register.
The card requires four I/O register addresses. The address of each register is speci-
fied as an offset from the card's base address. For example, BASE+0 is the card's
base address and BASE+2 is the base address + two bytes. If the card's base
address is 300h, the register's address is 302h. See Chapter 2 for information on set-
ting the card's base address.
Table A.1: Register Assignment
Address
Write
BASE + 0
IDO bits 0-7
BASE + 1
IDO bits 8-15
BASE + 2
DO bits 0-7
BASE + 3
DO bits 8-15
PCL-730 User Manual
Read
IDI bits 0-7
IDI bits 8-15
DI bits 0-7
DI bits 8-15
18

Advertisement

Table of Contents
loading

Table of Contents