Chapter 11 Integrated OBs SFBs SFCs Manual VIPA CPU 21x
11-34 HB103E - Rev. 05/45
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=1) or each, data source, data destination and the
indicator word, get an area of their own (IND=2).
The following table shows the possible QANF/ZANF parameters for indirect
parameterization:
QTYP/ZTYP
Description
IND=1 IND=2
Definition
Indirect addressing for source or
destination parameters.
The source or destination parameters are
stored in a DB.
QANF/ZANF
Indirect addressing for source and
destination parameters.
The source and destination parameters
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
8 fix
Length of the DBs in Byte
16 fix
Indirect
parameterization
of source and
destination details
(IND=1 or IND=2)
DW +0 Data type source
+2 DB-Nr. at type
"DB", otherwise
irrelevant
Description
data source
+4 Start address
+6 Length in Byte
+8 Data type destin.
+10 DB-Nr. at type
"DB", otherwise
irrelevant
Description
data
destination
+12 Start address
+14 Length in Byte
DW +0 Data type source
+2 DB-Nr. at type
"DB", otherwise
irrelevant
+4 Start address
+6 Length in Byte