CPU ADAM 821x
Chapter 7 Integrated OBs, SFBs and SFCs
ADAM 8000 Manual CPU 821x – Rev 1.1
7-27
Indirect addressing means that QANF/ZANF points to a memory area
where the addresses of the source res. destination areas and the indicator
word are stored.
In this context you may either define one area for data source, destination
and indicator word (IND=5) or each, data source, data destination and the
indicator word, get an area of their own (IND=6).
The following table shows the possible QANF/ZANF parameters for indirect
parameterization:
QTYP/ZTYP
Description
IND=5
IND=6
Definition
Indirect addressing for source
or
destination parameters and indicator
word.
The source or destination parameters
and ANZW are stored in a DB.
QANF/ZANF
Indirect addressing for source
and
destination parameters and ANZW.
The source and destination parameters
and ANZW are stored in a DB in a
sequential order.
QANF/ZANF
valid DB-No.
0...32767
0...32767
Data word
Definition
DW-No., where the stored data starts
DW-No., where the stored data starts
Valid
range
0.0...2047.0 0.0...2047.0
Length
Definition
Valid
range
Length of the DBs in Byte
14 fix
Length of the DBs in Byte
22 fix
Indirect
parameterization of
source and
destination details
(IND=1 or IND=2)
DW +0 Data type source
+1 DB-Nr. at type
"DB", otherwise
irrelevant
Description
data source
+2 Start address
+3 Length in Byte
+4 Data type destin.
+5 DB-Nr. at type
"DB", otherwise
irrelevant
Description
data
destination
+6 Start address
+7 Length in Byte
+8 Data type source
+9 DB-Nr. at type
"DB", otherwise
irrelevant
Description
indicator word
+10 Start address
DW +0 Data type source
+1 DB-Nr. at type
"DB", otherwise
irrelevant
Description
data source/
destination
+2 Start
address
+3 Length in Byte
+4 Data type destin.
+5 DB-Nr. at type
"DB", otherwise
irrelevant
Description
indicator word
+6 Start
address