EasyManua.ls Logo

YASKAWA VIPA SPEED7 - FB 61 - RECEIVE - Receive from System SLIO CP 040

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...
n The DONE output shows "order ready without error". If there was an ERROR, the cor-
responding event number is displayed in the STATUS. If no error occurs the value of
STATUS is "0".
n DONE, ERROR and STATUS are also output in response to a reset of the FB. In the
event of an error, the binary result BR is reset. If the block is terminated without
errors, the binary result has the status "1".
n Please regard the parameter DONE, ERROR and STATUS are only available at one
block call. For further evaluation these should be copied to a free data area.
10.2.3 FB 61 - RECEIVE - Receive from System SLIO CP 040
This FB serves for the data reception from the System SLIO CP 040. Here you set the
reception range via the identifiers DB_NO and DBB_NO. The length of the telegram is
stored in LEN.
Parameters
Parameter Declaration Data type Description
EN_R IN BOOL Release RECEIVE data.
R IN BOOL Release synchronous reset.
LADDR /
HW_ID
IN INT /
HW_IO
n LADDR
Logical base address of the CP.
When used in CPUs from VIPA or S7-300 CPUs from Sie-
mens.
n HW_ID
HW identifier to address the CP.
When used in S7-1500 CPUs from Siemens.
DB_NO IN INT Number of DB containing received data.
DBB_NO IN INT Data byte number - receive data starting from data byte.
IO_SIZE IN WORD Configured IO size of the module.
LEN OUT INT Length of received telegram in byte
NDR* OUT BOOL Receive order finished without errors.
ERROR* OUT BOOL Receive order finished with errors. Parameter STATUS contains the
error information.
STATUS* OUT WORD Specification of the error with ERROR = 1.
CONTROL IN_OUT BYTE Divided byte with RECEIVE handling block:
SEND (bit 0 … 3), RECEIVE (bit 4 … 7).
*) Parameter is available until the FB is called.
Enable Receive - Release to read:
n With signal status "1" at EN_R the examination, whether data from the CP are read,
is released. Depending upon the number of data, a data transfer can run over several
program cycles.
n At any time a current order may be cancelled with signal state "0" of EN_R. Here the
cancelled receipt order is finished with an error message (STATUS).
n The Receive function is deactivated as long as EN_R is statically set to "0".
Error indication
Description
EN_R
VIPA SPEED7
Serial Communication
CP040 > FB 61 - RECEIVE - Receive from System SLIO CP 040
HB00 | OPL_SP7 | Operation list | en | 18-30 223

Table of Contents

Related product manuals