EasyManua.ls Logo

YASKAWA VIPA SPEED7 - SFC 65 - X_SEND - Send Data

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...
Parameters
Parameter Declaration Data type Memory block Description
RET_VAL OUTPUT TIME I, Q, M, D, L Parameter RET_VAL contains the system time
that was retrieved, range from 0 ... 2
31
-1ms.
The SFC 64 does not return any error information.
14.1.49 SFC 65 - X_SEND - Send data
The SFC 65 X_SEND can be used to send data to an external communication partner
outside the local station. The communication partner receives the data by means of the
SFC 66 X_RCV. Input parameter REQ_ID is used to identify the transmit data. This code
is transferred along with the transmit data and it can be analyzed by the communication
partner to determine the origin of the data. The transfer is started when input parameter
REQ is set to 1. The size of the transmit buffer that is defined by parameter SD (on the
sending CPU) must be less than or equal to the size of the receive buffer (on the commu-
nication partner) that was defined by means of parameter RD. In addition, the data type
of the transmit buffer and the receive buffer must be identical.
Parameter Declaration Data type Memory block Description
REQ INPUT BOOL I, Q, M, D, L,
constant
control parameter "request to activate", initiates
the operation
CONT INPUT BOOL I, Q, M, D, L,
constant
control parameter "continue", defines whether the
connection to the communication partner is termi-
nated or not when the operation has been com-
pleted
DEST_ID INPUT WORD I, Q, M, D, L,
constant
Address parameter "destination ID". Contains the
MPI-address of the communication partners.
REQ_ID INPUT DWORD I, Q, M, D, L,
constant
Operation code identifying the data on the com-
munication partner.
SD INPUT ANY I, Q, M, D Reference to the send buffer. The following data
types are possible: BOOL, BYTE, CHAR, WORD,
INT, DWORD, DINT, REAL, DATE, TOD, TIME,
S5_TIME, DATE_AND_TIME as well as arrays of
the respective data types, with the exception of
BOOL.
RET_VAL OUTPUT INT I, Q, M, D, L The return value contains an error code if an error
is detected when the function is being processed.
BUSY OUTPUT BOOL I, Q, M, D, L BUSY = 1: the send operation has not yet been
completed.
BUSY = 0: the send operation has been com-
pleted, or no send operation is active.
Input parameter REQ_ID identifies the send data.
Parameter REQ_ID is required by the receiver when
RET_VAL (Return value)
Description
Parameters
REQ_ID
VIPA SPEED7
Integrated Standard
System Functions > SFC 65 - X_SEND - Send data
HB00 | OPL_SP7 | Operation list | en | 18-30 703

Table of Contents

Related product manuals