![VIPA CPU 21 Series Скачать руководство пользователя страница 320](http://html1.mh-extra.com/html/vipa/cpu-21-series/cpu-21-series_manual_1029229320.webp)
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
✓
✓
✓
✓
Содержание CPU 21 Series
Страница 1: ...Manual VIPA CPU 21x Order No VIPA HB103E Rev 05 45 ...
Страница 2: ...Lerrzeichen ...
Страница 6: ...About this Manual Manual VIPA CPU 21x Subject to change to cater for technical progress ...
Страница 10: ...Contents Manual VIPA CPU 21x iv HB103E Rev 05 45 ...
Страница 30: ...Chapter 1 Principles Manual VIPA CPU 21x 1 18 HB103E Rev 05 45 ...
Страница 58: ...Chapter 2 Hardware description Manual VIPA CPU 21x 2 28 HB103E Rev 05 45 ...
Страница 80: ...Chapter 3 Deployment CPU 21x Manual VIPA CPU 21x 3 22 HB103E Rev 05 45 ...
Страница 178: ...Chapter 5 Deployment CPU 21x 2BT02 with H1 TCP IP Manual VIPA CPU 21x 5 48 HB103E Rev 05 45 ...