EasyManua.ls Logo

YASKAWA VIPA SPEED7 - FC;SFC 213 - FILE_SEK - Position Pointer

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...
16.3.8 FC/SFC 213 - FILE_SEK - Position pointer
FILE_SEK allows you to detect res. alter the position of the write-/read flag of the
according HANDLE. By setting ORIGIN as start position and an OFFSET you may define
the write-/read flag for the according HANDLE. REQ = 1 starts the function.
Parameters
Parameter Declaration Data type Description
REQ IN BOOL Activate function
HANDLE IN INT Index of file 0 ... 3
ORIGIN IN INT 0 = file start, 1 = current position, 2 = file end
RETVAL OUT WORD Return value (0 = OK)
BUSY OUT BOOL Function is busy
OFFSET INOUT DINT Offset write-/read flag
Codes that are returned by RETVAL:
Code Description
0000h OK, OFFSET contains the current write-/read position
7000h REQ = 0, BUSY = 0 (nothing present)
7001h REQ = 1, 1. call
7002h Block is executed
8100h The defined HANDLE is not valid
9001h For this HANDLE no file is opened
9002h Another function has been called via this HANDLE and is ready
9003h Another function has been called via this HANDLE and is not ready
A000h System internal error occurred
A004h ORIGIN parameter is defective
A100h General file system error (e.g. no memory card plugged)
Description
RETVAL (Return value)
VIPA SPEED7
System Blocks
File Functions SPEED7 CPUs > FC/SFC 213 - FILE_SEK - Position pointer
HB00 | OPL_SP7 | Operation list | en | 18-30 918

Table of Contents

Related product manuals