Chapter 7 Integrated OBs, SFBs and SFCs
CPU ADAM 821x
7-20
ADAM 8000 Manual CPU 821x – Rev 1.1
SFC 228 - RW_KACHEL
This SFC allows you the direct access to the page frame area of the CPU
with a size of 4KByte. The page frame area is divided into four page
frames, each with a size of 1KByte.
By fixing the page frame (i.e. "Kachel") no., offset and data width, the
SFC 228 enables read and write access to an eligible page frame area.
Note!
This SFC has been developed for test purposes and for building-up
proprietary communication systems and is completely at the user's
disposal. Please regard that a write access to the page frame area
influences a communication directly!
Page frame (i.e. "Kachel") no.
Type the page frame no. that you want to access.
Value range: 0 ... 3
Page frame offset
Fix here an offset within the specified page frame.
Value range: 0 ... 1023
Read/Write
This parameter specifies a read res. write access.
0 = read access, 1 = write access
Size
The size defines the width of the data area fixed via K_NR and OFFSET.
You may choose between the values 1, 2 and 4Byte.
Return Value
Byte where an error message is returned to.
Description
Parameter
K_NR
OFFSET
R_W
SIZE
RET_VAL
11
x
21
x
51
x