beautypg.com

Direct hardware control, Reading the outputs, Writing the outputs – Impulse 8003e User Manual

Page 15: Register description

background image

©Sealevel Systems, Inc.

8003e Manual

15

SL9235 3/2013

In systems where the users program has direct access to the hardware (DOS) the tables that follow give the
mapping and functions that the REL-16.PCIe provides.

Function Available

Port

Address Hex Port Type

RD/WR

A

Base + 2

RD/WR

B

Base + 3

Reed Relay Output Port

RD/WR = Read or Write

The relay ports return the ones complement of the value that is currently being used to drive the relays.

The output ports are the only ports that can be written. The relays on a standard REL-16.PCIe are normally
open. To close a relay a one must be written to the appropriate bit.

Address

Mode

D7

D6

D5

D4

D3

D2

D1

D0

Base+2

Output Port A

RD/WR PCD7

PCD6 PCD5 PCD4

PCD3

PCD2

PCD1

PCD0

Base+3

Output Port B

RD/WR PDD7

PDD6 PDD5 PDD4

PDD3

PDD2

PDD1

PDD0