User Manual version 2503

The Digital I/O is of TTL interface. It is controlled via software programming.

Digital I/O Programming

Input/output address:

208H

In_Data 0~3=SD0~SD1

 

Out_Data 0~3 SD4~SD7

 

EXAMPLE:

 

10

REM Digital I/O example program

20

X = INP (&H208)

REM INPUT Digital I/O port

 

 

for 4 bit

30

X = OUT (&H208)

REM OUTPUT Digital I/O port

 

 

for 4 bit

60END

100Return

Port 208H Definition

LIBRA 120 III (PC620 Intel 815E)

6-115

PDF created with pdfFactory trial version www.pdffactory.com

Page 125
Image 125
March Products 120 III (PC620) user manual Digital I/O Programming, Example