EasyManuals Logo

Omron NJ501-1500 User Manual

Omron NJ501-1500
990 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
Page #811 background imageLoading...
Page #811 background image
2-763
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
Communications Instructions
2
SktUDPRcv
• If the size of data that was received by the specified socket is smaller than the value of Size, then all
of the received data is stored in RecDat[]. Then size of data that was stored is stored in RcvSize.
• If the size of data that was received by the specified socket is larger than the value of Size, then the
size of received data specified by Size is stored in RecDat[].
• The receive data is not read if the value of Size is 0.
• If the SktClose instruction closes the connection when there is no data in the receive buffer, a normal
end occurs without waiting to receive data even if a timeout has not occurred. The value of RcvSize is
0 in that case.
• You can execute a maximum of 32 of the following instructions at the same time: SktUDPCreate,
SktUDPRcv, SktUDPSend, SktTCPAccept, SktTCPConnect, SktTCPRcv, SktTCPSend, SktGetTCP-
Status, SktClose, and SktClearBuf.
• An error occurs in the following cases. Error will change to TRUE.
• There is a setting error for the local IP address.
• Data reception is in progress for the socket specified with Socket.
• The socket specified with Socket is not open.
• The handle specified by Socket.Handle does not exist.
Refer to the sample programming that is provided for the SktUDPCreate instruction (page 2-754).
Sample Programming

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron NJ501-1500 and is the answer not in the manual?

Omron NJ501-1500 Specifications

General IconGeneral
BrandOmron
ModelNJ501-1500
CategoryController
LanguageEnglish

Related product manuals