Download Print this page

Digital Output - Advantech PCL-848A/B User Manual

Multifunction ieee-488 interface card

Advertisement

The PCL-848A/B provides 16 digital output channels. These i digital output channels
use the I/O port registers at address BASE+0 and BASE+1. The register's data format
is listed below.
BASE + O
(write port)
D/O low byte
BASE + 1
(write port)
D/O high byte
It is fairly straight forward to use your PCL-848A/B digital ~ output functions. Some
areas requires your attentions are the . pin assignment.
Connector 2 (CN2) - Digital Output
The programming is quite easy and it needs only the BASIC statement 'OUT'. For
example, to set all the output channels high:
IOPORT%=&U2B0
OUT IOPORT%, &hFF
OUT IOPORT%+1, &hFF
.
.
D7
D6
DS
D07 D06
D05
D7
D6
DS
D015D014 D013 D012 DOll D010 DO9
CHAPTER 6 DIGITAL OUTPUT
D4
D3
D2
D04
D03
D02
D4
D3
D2
D1
DO
DO1
D00
D1
DO
D08
57

Advertisement

loading