You get the current status by READ. The current status changed since the last access is
returned by READDELTA. The bytes have the following structure:
Bit No. 7 6 5 4 3 2 1 0
Read x x RTS DTR CD RI DSR CTS
ReadDelta x x x x CD RI DSR CTS
Value Description
0000h no error
8x24h Error SFC parameter x, with x:
n 1: Error at WRITE
n 2: Error at MASKWRITE
n 3: Error at READ
n 4: Error at READDELTA
809Ah Interface missing
809Bh Interface not configured (SFC 216)
10.1.2 FC/SFC 216 - SER_CFG - Parametrization PtP
Please note that this block can only be used in CPUs from VIPA or in
S7-300 CPUs from Siemens!
You may de-activate the DP master integrated in the SPEED7-CPU via a hardware con-
figuration using object properties and the parameter "Function RS485". Thus release the
RS485 interface for PtP (point-to-point) communication. The RS485 interface supports in
PtP operation the serial process connection to different source res. destination systems.
The parametrization happens during runtime deploying the FC/SFC 216 (SER_CFG). For
this you have to store the parameters in a DB for all protocols except ASCII.
n Data, which are written into the according data channel by the PLC, is stored in a
FIFO send buffer (first in first out) with a size of 2x1024byte and then put out via the
interface.
n When the interface receives data, this is stored in a FIFO receive buffer with a size of
2x1024byte and can there be read by the PLC.
n If the data is transferred via a protocol, the adoption of the data to the according pro-
tocol happens automatically. In opposite to ASCII and STX/ETX, the protocols 3964R,
USS and Modbus require the acknowledgement of the partner.
n An additional call of the FC/SFC 217 SER_SND causes a return value in RETVAL
that includes among others recent information about the acknowledgement of the
partner. Further on for USS and Modbus after a SER_SND the acknowledgement
telegram must be evaluated by call of the FC/SFC 218 SER_RCV.
READ
RETVAL (Return value)
Description
Communication
VIPA SPEED7
Serial Communication
Serial communication > FC/SFC 216 - SER_CFG - Parametrization PtP
HB00 | OPL_SP7 | Operation list | en | 18-30 204