EasyManuals Logo

VIPA CPU 21 Series User Manual

VIPA CPU 21 Series
394 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #319 background imageLoading...
Page #319 background image
Manual VIPA CPU 21x Chapter 11 Integrated OBs SFBs SFCs
HB103E - Rev. 05/45 11-17
SFC 221 MMC_RD_F
Via the SFC 221 you may read data from a MMC. For read and write
accesses to the MMC, you firstly have to open the file with SFC 220 and it
has to be not fragmentized.
For more detailed information to this and to the restrictions see the
description of the SFC 220.
This variable of the type pointer points to a data area in the CPU where the
content of the MMC has to be written to.
Here you define the start address inside the file on the MMC from where on
the data has to be transferred to the CPU.
During data transfer this Bit remains set. The Bit is reset as soon as the
data transfer is complete.
Return Value
Word, where a diagnostic/error message is returned to. 0 means OK. The
following messages may be set:
Value Description
0000h No errors (data was read)
8001h No or unknown type of MMC is plugged-in
8002h No FAT found on MMC
9000h Bit reading has been tried (Boolean variable).
Bit reading is not possible.
9001h Pointer value is wrong (e.g. points outside DB)
9002h File length exceeded
9003h Sector limit of 512 has been tried to overrun.
Sector overrun reading is not possible.
B000h An internal error occurred.
Description
Parameters
PTR
OFFSET
BUSY
RET_VAL
11x 21x 31x 51x

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the VIPA CPU 21 Series and is the answer not in the manual?

VIPA CPU 21 Series Specifications

General IconGeneral
BrandVIPA
ModelCPU 21 Series
CategoryControl Unit
LanguageEnglish

Related product manuals