Sktclose - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

2 Instruction Descriptions

SktClose

The SktClose instruction closes the specified TCP or UDP socket for the built-in EtherNet/IP.
Instruction
Name
SktClose
Close
TCP/UDP
Socket
Variables
Name
Meaning
Socket
Socket
Bit strings
Socket
Function
The SktClose instruction closes the socket that is specified with Socket. If a TCP socket is specified,
the socket is disconnected before it is closed. If the socket handle Socket.Handle is 0, all TCP and UDP
ports that currently use the socket service are closed. Close processing for the TCPUDP sockets is
completed when the instruction is completed normally (i.e., when the value of Done changes to TRUE).
2-1080
FB/
Graphic expression
FUN
FB
SktClose_instance
Execute
Socket
I/O
Description
Input
Socket
Integers
Refer to Function for details on the structure _sSOCKET.
SktClose_instance(Execute,
Socket, Done, Busy, Error,
SktClose
ErrorID);
Done
Busy
Error
ErrorID
Valid range
---
NY-series Instructions Reference Manual (W560)
ST expression
Unit
Default
---
---
Times, durations, dates,
and text strings

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents