Sample Programs; Figure 1-14. Digin Output Register - Brainboxes AD-1200 H User Manual

Relay multiplexer board
Table of Contents

Advertisement

Reference
low cause the corresponding DIGIN bit to read low. If on
reading the DIGIN register a value of 0FFhex is obtained then
all the TTL input lines where true. A reading of 00hex means
that all lines were low. A reading of 01hex means that only
DIGIN line 0 was high, all the rest are low.
TTL output logic level low is 0.0 ~0.8 Volts.
TTL output logic level high is 2.4 ~5.0 Volts.
________________________________

Figure 1-14. DIGIN Output Register.

DIGIN Digital Input Port Register.
BIT 7
021E DIGIN
Hex
7
Read

Sample Programs.

________________
The sequence for selecting different relay inputs is as
follows.
Output FF hex to Digital output port to ensure all mux boards
are not addressed. Note Must do this EVERY time we change
relays.
Output address of relay we require. This starts the break before
make circuitry.
Wait till time delay over, or BETTER wait for feedback line to
go low.
Force A/D conversion on PC AD1200 by writing to ADGCR,
the channel that the mux board is driving. When ADDONE bit
set in ADGSR read ADCLO register first, then ADCHI register
next to retrieve the data.
Page 16
BIT 6
BIT 5
DIGIN
DIGIN
6
5
Read
Read
Analog Relay Mux Board
BIT 4
BIT 3
DIGIN
DIGIN
4
3
Read
Read
BIT 2
BIT 1
DIGIN
DIGIN
2
1
Read
Read
BIT 0
DIGIN
0
Read

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad-758Ad-819Ad-967Admux ad1200

Table of Contents