EasyManua.ls Logo

Siemens SIMATIC S7 - UDP_RECV Instruction

Siemens SIMATIC S7
866 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...
Libraries
9.4 Open user communication library
S7-200 SMART
System Manual, V2.3, 07/2017, A5E03822230-AF
519
Example
This is an example usage of the UDP_SEND instruction:
9.4.2.7
UDP_RECV instruction
The UDP_RECV instruction retrieves data over an existing connection. This instruction is
used only for UDP protocol on connections created with UDP_CONNECT.
LAD/FBD
STL
Description
UDP_RECV ConnID, MaxLen,
DataPtr, Done, Busy, Er-
ror, Status, Length,
IPaddr1, IPaddr2, IPaddr3,
IPaddr4, RemPort
The UDP_RECV retrieves data over an existing connection.
The UDP_RECV instruction only has an EN (Enable) input. The UDP_RECV instruction has
no Req (Request) input. After the first execution of the UDP_RECV instruction, the status
outputs show the instruction is busy. Subsequent calls to UDP_RECV show a busy status
until the CPU receives data on the specified connection.

Table of Contents

Other manuals for Siemens SIMATIC S7

Related product manuals