EasyManua.ls Logo

YASKAWA VIPA SPEED7 - FC;SFC 211 - FILE_RD - Read 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...
Codes that are returned by RETVAL:
Code Description
0000h OK
7000h REQ = 0, BUSY = 0 (nothing present)
7001h REQ = 1, 1. call
7002h Block is executed
8100h The defined HANDLE is invalid
9001h The HANDLE is not assigned to a file name
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
A100h General file system error (e.g. no memory card plugged)
16.3.6 FC/SFC 211 - FILE_RD - Read file
This allows you to transfer data from the memory card to the CPU via the opened
HANDLE starting from an ORIGIN position (position of the read-/write flag). During every
call you may transfer a max. of 512byte. By setting of DATA you define storage place and
length of the write area in the CPU. REQ = 1 initializes the function.
Parameters
Parameter Declaration Data type Description
REQ IN BOOL Activate function
HANDLE IN INT Index of file 0 ... 3
DATA IN ANY Pointer to PLC memory and data length
RETVAL OUT WORD Return value (0 = OK)
BUSY OUT BOOL Function is busy
Codes that are returned by RETVAL:
RETVAL (Return value)
Description
RETVAL (Return value)
VIPA SPEED7
System Blocks
File Functions SPEED7 CPUs > FC/SFC 211 - FILE_RD - Read file
HB00 | OPL_SP7 | Operation list | en | 18-30 915

Table of Contents

Related product manuals