Low-level Programming
-13-
3.2 Relay Output Register – Base+00
The PCI-16P16R provides 16 relay output channels. The
ON/OFF status of each relay is controlled by its
corresponding bit of register, i.e. the control bit is low (0)
status, it turns the relay OFF, and high status (1) will energize
the relay.
The readback capability is also supported in the PCI-16P16R,
i.e. you can read back each relay’s status through Base+02
register.
The relationships between the bits of relay output register and
their corresponding relay are shown as below.
Relay Output Register: (Base+00)
Attribute: Write
Data Format:
Bit
7
6
5
4
3
2
1
0
RO7
RO6
RO5
RO4
RO3
RO2
RO1
RO0
Bit
15
14
13
12
11
10
9
8
RO15 RO14 RO13 RO12 RO11 RO10
RO9
RO8
RO: Relay Output