Advantech PCI-1710 user manual Digital I/O Registers BASE+16 and BASE+17, Read Digital Input

Models: PCI-1710

1 64
Download 64 pages 52.99 Kb
Page 48
Image 48

4.13Digital I/O Registers — BASE+16 and BASE+17

The PCI-1710/1710HG card offers 16 digital input channels and 16 digital output channels. These I/O channels use the input and output ports at addresses BASE+16 and BASE+17.

Table 4-13: Register for digital input

Read

 

 

 

Digital Input

 

 

 

 

 

 

 

 

 

 

 

 

Bit #

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

BASE+17

DI15

DI14

DI13

DI12

DI11

DI10

DI9

DI8

 

 

 

 

 

 

 

 

 

BASE+16

DI7

DI6

DI5

DI4

DI3

DI2

DI1

DI0

 

 

 

 

 

 

 

 

 

Table 4-14: Register for digital output

 

 

 

 

 

 

 

 

 

 

 

Write

 

 

 

Digital Output

 

 

 

 

 

 

 

 

 

 

 

 

Bit #

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

BASE+17

DO15

DO14

DO13

DO12

DO11

DO10

DO9

DO8

 

 

 

 

 

 

 

 

 

BASE+16

DO7

DO6

DO5

DO4

DO3

DO2

DO1

DO0

 

 

 

 

 

 

 

 

 

Note! The default configuration of the digital output chan- nels is a logic 0. This avoids damaging external devices during system start-up or reset since the power on status is set to the default value.

4.14Programmable Timer/Counter Registers — BASE+24, BASE+26, BASE+28 and BASE+30

The four registers of BASE+24, BASE+26, BASE+28 and BASE+30 are used for the 82C54 programmable timer/counter. Please refer to Appendix A data sheets for detailed application information.

Note! Users have to use a 16-bit (word) command to read/ write each register.

44 PCI-1710/1710HG User's Manual

Page 48
Image 48
Advantech PCI-1710 user manual Digital I/O Registers BASE+16 and BASE+17, Read Digital Input