Advantech PCI-1718 Series Carbon Monoxide Alarm User Manual


 
PCI-1718 Series User Manual 68
C.7 MUX Scan Channel Status — BASE+02H
Read register BASE+02H to get the current multiplexer (MUX) channel.
CC3 ~ CC0 Current channel number
CC0 The least significant bit (LSB) of the stop channel
CC3 The most significant bit (MSB)
C.8 Digital I/O Registers - BASE + 03/0BH
The PCI-1718HDU/HGU provides 16 digital input channels and 16 digi-
tal output channels. You read digital input data from registers
BASE+03H and BASE+0BH. After the read operation the input lines go
to three-state (data is not latched).
You write digital output data to registers BASE+03H and BASE+0BH.
The registers latch the output value (you cannot read it back).
Using the PCL-818HD/HD/L's input and output functions is fairly
straightforward. Chapter 3 gives some ideas for digital signal connec-
tions.
DO15 ~ DO0 Digital output data
DO0 The least significant bit (LSB) of the DO data
DO15 The most significant bit (MSB)
Table C.8: Register for MUX Scan Channel Status
Read MUX scan channel status
Bit # 76543 2 1 0
BASE + 02H CC3 CC2 CC1 CC0
Table C.9: Register for Digital Output
Write Digital Output
Bit # 7 6543210
BASE + 03H DO7 DO6 DO5 DO4 DO3 DO2 DO1 DO0
BASE + 0BH DO15 DO14 DO13 DO12 DO11 DO10 DO9 DO8