Udp_Recv Instruction - Siemens SIMATIC S7 System Manual

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

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
UDP_RECV ConnID, MaxLen,
DataPtr, Done, Busy, Er-
ror, Status, Length,
IPaddr1, IPaddr2, IPaddr3,
IPaddr4, RemPort
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.
S7-200 SMART
System Manual, V2.3, 07/2017, A5E03822230-AF
Description
The UDP_RECV retrieves data over an existing connection.
9.4 Open user communication library
Libraries
519

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-200 smart

Table of Contents