beautypg.com

3 relay output read back register, 4 isolated digital input register – ADLINK PCI-7256 User Manual

Page 26

background image

18 Register Format

3.3 Relay Output Read Back Register

The status of the latching relay can be readback from the readback register.
If the relay is in RESET condition, the corresponding bit value is ‘0’. If the
relay is in SET condition, the bit value is ‘1’
.

Address: BASE + 0x02
Attribute: Read

7

6

5

4

3

2

1

0

RBK7 RBK6 RBK5 RBK4 RBK3 RBK2 RBK1 RBK0

15

14

13

12

11

10

9

8

RBK15 RBK14 RBK13 RBK12 RBK11 RBK10 RBK9 RBK8

RBKx: Read back data of relay x, x=0~15

1: relay is in SET status
0: relay is in RESET status


3.4 Isolated Digital Input Register

There are 16 isolated input channels on PCI-7256 card. The status of the 16
channels can be read from the isolated input register. Each bit corresponds
to each channel. The bit value “1” means the input logic is high and “0”
menas the input logic is low.

Address: BASE + 0x04
Attribute: Read

7

6

5

4

3

2

1

0

DI7 DI6 DI5 DI4 DI3 DI2 DI1 DI0

15

14

13

12

11

10

9

8

DI15 DI14 DI13 DI12 DI11 DI10 DI9 DI8

DIx: isolated digiatal input channel x, x=0~15

1: input voltage is in high level

0: input voltage is in low level