CPU ADAM 821x
Chapter 7 Integrated OBs, SFBs and SFCs
ADAM 8000 Manual CPU 821x – Rev 1.1
7-25
Page frame communication - Parameter transfer
A handling block may be parameterized directly or indirectly. Only the
"PAFE" parameter must always been set directly.
When using the direct parameterization, the handling block works off the
parameters given immediately with the block call.
When using the indirect parameterization, the handling block gets only
pointers per block parameters. These are pointing to other parameter fields
(data blocks or data words).
The parameters SSNR, ANR, IND and BLGR are of the type "integer", so
you may parameterize them indirectly.
Direct parameter transfer
CALL SFC 230
SSNR:=0
ANR :=3
IND :=0
QANF:=P#A 0.0 BYTE 16
PAFE:=MB79
ANZW:=MD44
Indirect parameter transfer
Please note that you have to load the bit memory words with the correspon-
ding values before.
CALL SFC 230
SSNR:=MW10
ANR :=MW12
IND :=MW14
QANF:=P#DB10.DBX0.0 BYTE 16
PAFE:=MB80
ANZW:=MD48
The direct res. indirect transfer of the source and destination parameters
are described in the following section.
Direct/indirect
parameterization
Example for direct
and indirect
parameter transfer
11
x
21
x
51
x