Download Print this page

Pc I/O Port Address Map - Advantech PCM-3730 User Manual

16-channel isolated digital i/o module

Advertisement

Register
format
Programming the PCM-3730 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 corresponding
bit. To read an input port, you simply read from the register.
The card requires nine I/O register addresses, but you only
need to access the first four registers, the data registers.
The address of each register is specified 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 "Switch and jumper settings" for
information on setting the card's base address.
Register Assignments
Address
Address
Write
Write
Address
Address
Address
Write
Write
Write
BASE+0
IDO bits 0-7
BASE+1
NA
BASE+2
DO bits 0-7
BASE+3
DO bits 8-15
6 6 6 6 6
Read
Read
Read
Read
Read
IDI bits 0-7
NA
DI bits 0-7
DI bits 8-15

PC I/O port address map

PC I/O port address map
Range (hex)
Range (hex)
Range (hex)
Range (hex)
Range (hex)
Function
Function
Function
Function
Function
000 - 1FF
Base system
200
Reserved
201
Game control
202 - 277
Reserved
278 - 27F
LPT2: (2nd printer port)
280 - 2F7
Reserved
2F8 - 2FF
COM2:
300 - 377
Reserved
378 - 37F
LPT1: (1st printer port)
380 - 3AF
Reserved
3B0 - 3BF
Mono Display/Print adapter
3C0 - 3CF
Reserved
3D0 - 3DF
Color/Graphics
3E0 - 3EF
Reserved
3F0 - 3F7
Floppy disk drive
3F8 - 3FF
COM1:
PCM-3730 User's Manual

Advertisement

loading

This manual is also suitable for:

Pc/104