Chapter 7 Integrated OBs, SFBs and SFCs
CPU ADAM 821x
7-26
ADAM 8000 Manual CPU 821x – Rev 1.1
Page frame communication - Source res. destination definition
You have the possibility to set the entries for source, destination and ANZW
directly or store it indirectly in a block to which the QANF/ZANF res. ANZW
pointer points.
The parameter IND is the switch criterion between direct and indirect
parameterization.
With IND=0 you fix that the pointer QANF/ZANF shows directly to the
source res. destination data.
The following table shows the possible QANF/ZANF parameters at the
direct parameterization:
QTYP/ZTYP
Description
Data in DB
Data in MB
Data in AB
Process image of
the outputs
Data in EB
Process image of
the inputs
Pointer:
Example:
P#DB
a
.DBX
b
.0 BYTE
C
P#DB10.DBX 0.0 BYTE 8
P#M
b
.0 BYTE
c
P#M 5.0 BYTE 10
P#A
b
.0 BYTE
c
P#A 0.0 BYTE 2
P#E
b
.0 BYTE
c
P#E 20.0 BYTE 1
DB, MB, AB, EB
Definition
P#DB
a
"a" means the DB-No.,
from where the source
data is fetched or where to
the destination data is
transferred.
P#M
The data is stored
in a MB.
P#A
The data is stored
in the output byte.
P#E
The data is stored
in the input byte.
Valid range
for "a"
0...32767 irrelevant
irrelevant irrelevant
Data / Marker
Byte, AB, EB
Definition
DB-No., where data fetch
or write starts.
Bit memory byte
no., where data
fetch or write
starts.
Output byte no.,
where data fetch
or write starts.
Input byte no.,
where data fetch
or write starts.
Valid range
for "b"
0.0...2047.0
0...255 0...127 0...127
BYTE
c
Definition
Valid range
for "c"
Length of the Source/
Destination data blocks in
Words.
1...2048
Length of the
Source/
Destination data
blocks in Bytes.
1...255
Length of the
Source/
Destination data
blocks in Bytes.
1...128
Length of the
Source/
Destination data
blocks in Bytes.
1...128
Outline
Direct parame-
terization of source
and destination
details (IND=0)
11
x
21
x
51
x