Download RB8 Data Acquisition Card User Manual

Transcript
Page 4
Operation
The relay status is determined by a software read to the board address. The
following example illustrates this:
120
130
140
RSTAT = INP (&H300):rem read relay address
RNUM = 255 - RSTAT:determine relay number (active LOW)
PRINT"RELAY CURRENTLY OPERATED = ";RNUM;
These two programs may be combined to demonstrate a relay "Set" and
confirmatory "Read" operation.
Page 4
01270197.doc
Blue Chip Technology Ltd.