DM5210 analog input module 4-4 RTD Embedded Technologies, Inc.
D7
D6
D5
D4
D3
D2
D1
D0
x x x x CH3 CH2 CH1 CH0
BA + 1
Port B
Analog Input
Channel Select
0000 = channel 1
0001 = channel 2
0010 = channel 3
0011 = channel 4
0100 = channel 5
0101 = channel 6
0110 = channel 7
0111 = channel 8
1000 = channel 9
1001 = channel 10
1010 = channel 11
1011 = channel 12
1100 = channel 13
1101 = channel 14
1110 = channel 15
1111 = channel 16
BA + 2: PPI Port C — Digital I/O (Read/Write)
Transfers the two 4-bit Port C digital input and digital output data groups (Port C Upper and Port C Lower)
between the module and an external device. A read transfers data from the external device, through P2, and into PPI
Port C; a write transfers the written data from Port C through P2 to an external device.
BA + 3: 8255 PPI Control Word (Write Only)
When bit 7 of this word is set to 1, a write programs the PPI configuration. The PPI must be programmed so that
Port B is a Mode 0 output port, as shown below (X = don’t care).
D7
D6
D5
D4
D3
D2
D1
D0
Port C Lower
0 = output
1 = input
Port B
0 = output
1 = input
Mode Set Flag
1 = active
Port C Upper
0 = output
1 = input
Port A
0 = output
1 = input
Group B
Group A
Mode Select
00 = mode 0
01 = mode 1
10 = mode 2
Mode Select
0 = mode 0
1 = mode 1
1
X
X
X
X
0
0
X
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com