Parameters
Parameter Declaration Data type Memory block Description
REQ INPUT BOOL I, Q, M, D, L,
constant
Control parameter "request to activate", used to
initiate the operation.
CONT INPUT BOOL I, Q, M, D, L,
constant
Control parameter "continue", determines
whether the connection to the communication
partner is terminated or not when the operation
has been completed.
DEST_ID INPUT WORD I, Q, M, D, L,
constant
Address parameter "destination ID". Contains
the MPI address of the communication partner.
VAR_ADDR INPUT ANY I, Q, M, D Reference to the buffer in the partner-CPU from
where data must be read. You must select a
data type that is supported by the communica-
tion partner.
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 pro-
cessed. If no error has occurred, RET_VAL con-
tains the length of the data block that was
copied into receive buffer RD as positive number
of bytes.
BUSY OUTPUT BOOL I, Q, M, D, L BUSY = 1: the receive operation has not been
completed.
BUSY = 0: the receive operation has been com-
pleted or no receive operation active.
RD OUTPUT ANY I, Q, M, D Reference to the receive buffer (receive data
area).
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
The following rules must be satisfied to prevent the data consistency from being compro-
mised:
n Active CPU (receiver of data):
The receive buffer should be read in the OB that issues the call to the respective
SFC. If this is not possible the receive buffer should only be read when processing of
the respective SFC has been completed.
n Passive 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 (sender of data):
Send data should be written to the send buffer while interrupts are inhibited.
When the CPU changes to STOP mode the connection established by means of the SFC
67 is terminated. The type of start-up that follows determines whether any previously
received data located in a buffer of the operating system are discarded or not.
A reboot start means that the data is discarded.
Data consistency
Operating mode transition
to STOP mode
VIPA SPEED7
Integrated Standard
System Functions > SFC 67 - X_GET - Read data
HB00 | OPL_SP7 | Operation list | en | 18-30 709