Parameter Declaration Data type Memory block Description
SD INPUT ANY I, Q, M, D Reference to the buffer in the local CPU that con-
tains the send data.
The following data types are permitted: BOOL,
BYTE, CHAR, WORD, INT, DWORD, DINT,
REAL, DATE, TOD, TIME, S5_TIME,
DATE_AND_TIME as well as arrays of the above
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 been com-
pleted.
BUSY = 0: The send operation has been com-
pleted or no send operation is active.
The following rules must be satisfied to prevent the data consistency from being compro-
mised:
n Active CPU (sender of data):
The send buffer should be written in the OB that issues the call to the respective SFC.
If this is not possible the send buffer should only be written when processing of the
first call to the respective SFC has been completed.
n Active CPU (sender of data):
The maximum amount of data that may be written into the send buffer is determined
by the block size of the passive CPU (sender of data ).
n Passive CPU (receiver of data):
Receive data should be read from the receive buffer while interrupts are inhibited.
When the CPU changes to STOP mode the connection established by means of the SFC
68 is terminated and data can no longer be sent. If the send data had already been
copied into the internal buffer when the transition to STOP mode occurs the contents of
the buffer is discarded.
A transition to operating mode STOP of the CPU of the communication partner does not
affect the data transfer, since it is also possible to write data in operating mode STOP.
The "real error information" that is contained in the table "specific error information" a. o.
may be classified as follows:
Value Description
809xh Error on the CPU where the SFC is being executed.
80Axh Permanent communication error.
80Bxh Error on the communication partner.
80Cxh Temporary error.
Data consistency
Operating mode transition
to STOP mode
Operating mode transition
of the partners to STOP
mode
RET_VAL (Return value)
VIPA SPEED7
Integrated Standard
System Functions > SFC 68 - X_PUT - Write data
HB00 | OPL_SP7 | Operation list | en | 18-30 712