
Appendix C
C-5
Addressing
(See below for hardware setup)
Each I/O PLEXER contains up to 6 units, each with its own address; a two letter address
code; a two letter address code is shown for each instruction.; These indicate which of the 6
addresses are used; they are listed below:
MC
Master unit control functions
Factory setting 00Hex *
MD
Master unit digital I/O functions
Factory setting 40Hex *
MA
Master unit analog I/O functions
Factory setting 80Hex *
E1
1
st
digital expander functions
Factory setting C0Hex *
E2
2
nd
Digital expander functions
Factory setting D0Hex *
E3
3
rd
digital expander functions
Factory setting E0Hex *
Some instructions have counterparts in more than one unit:
DD
--This instruction exists for
MD, E1, E2, E3
IO
--This instruction exists for
MD, MA, E1, E2, E3
AU
--This instruction exists for
MC, MD, MA, E1, E2, E3
LU
--Applies to all units addressed in this I/O PLEXER, use
MC
*See below for setup
Instruction response data fields
c,d,e
Multiple position fields
Each module position maps to a digit in a 16 digit bit number.
Each digit or bit is a 1 or 0 only. This number is then converted to 4 digit numbers.
Each four numbers is converted into a hex digit.
For
e
leading hex zeroes can be omitted.
Module#:
15 14 13 12
11 10 9 8
7 6 5 4
3 2 1 0
-1
st
Char-
-2
nd
Char-
-3
rd
Char-
-4
th
Char-
Bit pattern
0000
0001
0010
0011
0100
0101
0110
0111
Hex Digit:
0
1
2
3
4
5
6
7
Bit Pattern:
1000
1001
1010
1011
1100
1101
1110
1111
Hex Digit:
8
9
10
11
12
13
14
15
In all position fields, 1's specify which positions are affected and 0's are disregarded unless
they are listed below.
c,d,e
In instructions, 1's specify which positions are affected-
for setup m, analog, which outputs are set to specified values
for setup m, digital, which outputs are set to set ON
for setup G, to
IO
, which modules are configured as outputs
for setup G, to
MC
, which modules are analog
for digital a, which input durations trigger on positive edges
for digital J, which modules are to be ON
for digital N, which outputs latch ON-to-OFF
for digital T, which start counting
In instructions, 0's specify which positions are affected or-
for setup G, which modules are configured as inputs
for setup H, I which modules are not to be configured
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com