EasyManua.ls Logo

YASKAWA VIPA SPEED7 - SFC 222 - MMC_WR_F - Write to MMC File

YASKAWA VIPA SPEED7
1007 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
Loading...
Value Description
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.
16.2.4 SFC 222 - MMC_WR_F - write to MMC file
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
Ä
Chap. 16.2.1 ‘SFC 220 ... 222 - MMC
Access’ page 906.
Parameters
Name Declaration Type Description
PTR IN ANY Pointer to area for writing data
OFFSET IN DWORD Offset of data within the file
BUSY OUT BOOL Job state
RET_VAL OUT WORD Return value (0 = OK)
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.
Word that returns a diagnostic/error message. 0 means OK.
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
PTR
OFFSET
BUSY
RET_VAL (Return Value)
VIPA SPEED7
System Blocks
MMC Functions standard CPUs > SFC 222 - MMC_WR_F - write to MMC file
HB00 | OPL_SP7 | Operation list | en | 18-30 909

Table of Contents

Related product manuals