Name Declaration Type Description
LEN_SEND IN INT Length of telegram in byte, to be sent.
1 ≤ LEN_SEND ≤ 1024
DB_NO_RECV IN INT Number of DB containing data to receive.
Zero is not permitted.
DBB_NO_RECV IN INT Data byte number - receive data starting from data byte.
DONE_SEND* OUT BOOL Send order finished without errors.
Data sent: Parameter STATUS_SEND = 0000h.
ERROR_SEND* OUT BOOL Send order finished with errors.
Here Parameter STATUS_SEND contains the corresponding error
message.
NDR_RCV* OUT BOOL Receive order finished without errors.
Data sent: Parameter STATUS_RCV = 0000h.
The Parameter is available until a cycle.
ERROR_RCV* OUT BOOL Receive order finished with errors.
Parameter STATUS_RCV contains the error information.
STATUS_SEND* OUT WORD Specification of the error with ERROR_SEND = 1
LEN_RCV OUT INT Length of received telegram in byte
1 ≤ LEN_RCV ≤ 1024
STATUS_RCV* OUT WORD Specification of the error with ERROR_RCV = 1
*) Parameter is available until the FB is called.
Request - Send release:
n With a positive edge on input REQ_SEND the transfer of the data is triggered.
Depending on the number of data, a data transfer can run over several program
cycles.
Enable receive data.
Synchron Reset:
n For the initialization the FB 65 is once to be called in the start-up OB with every
parameter and set RESET.
n At any time a current order may be cancelled and the FB may be set to initial state
with signal state "1" of RESET.
n Please regard that the data, which the CP has already received, are still sent to the
communication partner. The Send function is deactivated as long as RESET is stati-
cally set to "1".
Peripheral input address:
n This parameter is only available in CPUs from VIPA or S7-300 CPUs from Siemens.
n With ADDR_IN the input address of the corresponding CP may be determined. This is
the address, which you have assigned via the hardware configuration for the CP.
REQ_SEND
EN_RECV
RESET
ADDR_IN
VIPA SPEED7
Serial Communication
CP040 > FB 65 - CP040_COM - Communication SLIO CP 040
HB00 | OPL_SP7 | Operation list | en | 18-30 227