EasyManua.ls Logo

YASKAWA VIPA SPEED7 - FB 7 - P_RCV_RK - Receive from CP 341

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...
Specify here an area of type pointer, in which the received data are to be copied. Specify
type, start and length.
Example:
n Data are to be stored in DB5 starting from 0.0 with length 124byte
DataPtr:=P#DB5.DBX0.0 BYTE 124
This word gets an entry in case of error.
Error code Description
0003h DB with telegram buffer does not exist.
0004h DB with telegram buffer is too short.
7000h Receive buffer is too small - data have been deleted!
8000h Pointer setting in EMPF_PUFFER is faulty or does not exist.
9001h DB setting in EMPF_PUFFER is faulty or does not exist.
9002h Length setting in EMPF_PUFFER is faulty or does not exist.
10.1.6 FB 7 - P_RCV_RK - Receive from CP 341
Please note that this block can only be used in CPUs from VIPA or in
S7-300 CPUs from Siemens!
The FB 7 P_RCV_RK transfers data from the CP to a data area of the CPU specified by
the parameter DB_NO, DBB_NO and LEN. For data transfer the FB is to be called either
cyclically or statically by a timer-driven program. Please note that this block calls the FC
or SFC 192 CP_S_R internally. These must not be overwritten! The direct call of an
internal block leads to errors in the corresponding instance DB!
Parameter
Parameter Declaration Data type Description
EN_R IN BOOL Enables data read
R IN BOOL Aborts request - current request is aborted and receiving is blocked.
LADDR IN INT Logical basic address of the CP - corresponds to the address of the
hardware configuration of the CP.
DB_NO IN INT Data block number - number of the receive DB, zero is not allowed.
DBB_NO IN INT Data byte number - received data as of data byte 0 ≤ DBB_NO
8190
L_... OUT - These parameters are not relevant for ASCII and 3964(R). But they
may be used by loadable protocols.
NDR* OUT BOOL Request complete without errors, data received Parameter STATUS
= 00h
ERROR* OUT BOOL Request complete with error Parameter STATUS contains error
details
EMPF_PUFFER
ER_BYTE
Description
VIPA SPEED7
Serial Communication
Serial communication > FB 7 - P_RCV_RK - Receive from CP 341
HB00 | OPL_SP7 | Operation list | en | 18-30 216

Table of Contents

Related product manuals