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 #320 background imageLoading...
Page #320 background image
Chapter 11 Integrated OBs SFBs SFCs Manual VIPA CPU 21x
11-18 HB103E - Rev. 05/45
SFC 222 MMC_WR_F
Via the SFC 222, you may write to the 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 from where on the
data starts that will be written to the MMC.
This defines the beginning of the data inside the file on the MMC where the
data is written to.
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
8001h No or unknown type of MMC is plugged-in
8002h No FAT found on MMC
9000h Bit writing has been tried (Boolean variable).
Bit writing 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