Register-Based Programming 81
Appendix B
Register Offset
The register offset is the register’s location in the block of 64 address bytes.
For example, the switch’s Status Register has an offset of 04
16
. When you
write a command to this register, the offset is added to the base address to
form the register address:
1FDE00
16
+ 04
16
=
1FDE04
16
or 2,088,448 + 4 =
2,088,452
Figure B-1. Registers Within A16 Address Space
Figure B-2. Registers Within the E1406 A16 Address Space
Register Address = Base a Register Offset
Base Address = COOO
OOOO
16
*
SPACE
ADDRESS
COOO
16
FFFF
16
A16
(49,152)
C000
SPACE
ADDRESS
REGISTER
16
*
16
FFFF
ID Register
A16 REGISTER MAP
E1463A
or
49,152 + (Logical Address 64)
+ (Logical Address 64)
16
*
10
*
16
DESCRIPTION
Status/Control Register
Device Type Register
Relay Control Register 1
Relay Control Register 2
06
REGISTER
OFFSET
04
02
00
16
16
16
16
16
08
Register Address = Base a Register Offset
2,080,768 + (Logical Address 64)
+ (Logical Address 64)
000000
IF0000
200000
16
16
16
Base Address = IFC000
IFOOOO
16
16
ADDRESS MAP
E1406
SPACE
ADDRESS
EOOOOO
FFFFFF
16
16
A24
16
IFCOOO
SPACE
ADDRESS
A16
16
200000
IFCOOO
(2,080,768)
or
*
*
16
*
10
16
200000
REGISTER
ADDRESS
SPACE
16
Relay Control Register 2
Relay Control Register 1
Device Type Register
Status/Control Register
16-BIT WORDS
E1463A
A16 REGISTER MAP
ID Register
00
02
04
16
16
16
08
06
16
16
OFFSET
REGISTER
Содержание E1463A
Страница 2: ......
Страница 6: ...6 Notes ...
Страница 10: ...10 Notes ...
Страница 78: ...78 Form C Switch Specifications Appendix A Notes ...
Страница 98: ...98 Index Notes ...