86 Register-Based Programming
Appendix B
Register Descriptions
Each matrix module contains two read registers, one read/write register, and
16 write registers. This section describes each matrix module register.
Reading and
Writing to the
Registers
Example programs are provided at the end of this appendix that show how
to read and write to these registers. You can read or write to the following
matrix module registers.
•
Manufacturer Identification Register (read only)
•
Device Type Register (base + 02
16
) (read only)
•
Status/Control Register (base + 04
16
) (read or write)
•
16 Relay Control Registers (write only)
Manufacturer
Identification
Register
The Manufacturer Identification Register is at offset address 00
16
and
returns FFFF
16
. This shows that Hewlett-Packard is the manufacturer and
the module is an A16 register-based module. This register is read only.
Device Type
Register
The Device Type Register is at offset address 02
16
and returns 0122
16
for
an E1465A/E1466A/E1467A module. This register is read only.
Status/Control
Register
The Status/Control Register is at offset address 04
16
and informs the user
about the module’s status and configuration. This register is read and write.
b+00
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Write
Undefined
Read
Manufacturer ID - Returns
FFFF
16
= Hewlett-Packard A16 only register-based device.
b+02
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Write
Undefined
Read
0122
16
b+04
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Write
Not Used
E
Not Used
SR
Read
X
MS
Module ID
X
X
B
E
X
X
1
1
X
X
Содержание E1465A
Страница 2: ......
Страница 6: ...6 ...
Страница 10: ...10 Notes ...
Страница 12: ...12 Getting Started Chapter 1 Figure 1 1 E1465A 16x16 Relay Matrix Module TERMINAL MODULE MATRIX MODULE A B C D ...
Страница 13: ...Getting Started 13 Chapter 1 Figure 1 2 E1466A 4x64 Relay Matrix Module TERMINAL MODULE MATRIX MODULE A B C D ...
Страница 14: ...14 Getting Started Chapter 1 Figure 1 3 E1467A 8x32 Relay Matrix Module TERMINAL MODULE MATRIX MODULE A B C D ...
Страница 18: ...18 Getting Started Chapter 1 Notes ...
Страница 80: ...80 Matrix Modules Command Reference Chapter 4 Notes ...
Страница 98: ...98 Register Based Programming Appendix B Notes ...