16 System Blocks
The block library can be found for download in the ‘Service/Support’ area of
www.vipa.com at ‘Downloads è VIPA Lib’ as ‘Block library System Blocks -
SW90KS0MA’ . The library is available as packed zip file. As soon as you want to use
these blocks you have to import them into your project.
Ä
Chap. 5 ‘Include VIPA library’
page 69
16.1 Fetch/Write Communication
16.1.1 SFC 228 - RW_KACHEL - Page frame direct access
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.
Setting the parameters page frame number, -offset and data width, the SFC 228 enables
read and write access to an eligible page frame area.
This SFC has been developed for test purposes and for building-up pro-
prietary 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!
Parameters
Name Declaration Type Description
K_NR IN INT Page frame number
OFFSET IN INT Page frame offset
R_W IN INT Access
SIZE IN INT Data width
RET_VAL OUT BYTE Return value (0 = OK)
VALUE IN_ OUT ANY Pointer to area of data transfer
Page frame number
n Type the page frame no. that you want to access.
– Value range: 0 ... 3
Page frame offset
n Fix here an offset within the specified page frame.
– Value range: 0 ... 1023
Read/Write
n This parameter specifies a read res. write access.
– 0 = read access
– 1 = write access
Block library "System
Blocks"
Description
K_NR
OFFSET
R_W
VIPA SPEED7
System Blocks
Fetch/Write Communication > SFC 228 - RW_KACHEL - Page frame direct access
HB00 | OPL_SP7 | Operation list | en | 18-30 883