Sktgettcpstatus - Omron NY532-5400 Reference Manual

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

Advertisement

SktGetTCPStatus

The SktGetTCPStatus instruction reads the status of a TCP socket.
Instruction
Name
SktGetTCP
Read TCP
Status
Socket Status
Variables
Name
Meaning
Socket
Socket
TcpStatus
TCP
connection
status
DatRcvFlag
Data
Received Flag
* _CLOSED, _LISTEN, _SYN_SENT, _SYN_RECEIVED, _ESTABLISHED, _CLOSE_WAIT, _FIN_WAIT1, _CLOSING,
_LAST_ACK, _FIN_WAIT2, or _TIME_WAIT
Bit strings
Socket
TcpStatus
Refer to Function for the enumerators of the enumerated type _eCONNECTION_STATE.
DatRcvFlag OK
NY-series Instructions Reference Manual (W560)
FB/
Graphic expression
FUN
FB
SktGetTCPStatus_instance
SktGetTCPStatus
Execute
Socket
I/O
Description
Input
Socket
TCP connection status
Output
TRUE: Data is received.
FALSE: Data is not received.
Integers
Refer to Function for details on the structure _sSOCKET.
2 Instruction Descriptions
SktGetTCPStatus_instance(Execute,
Socket, Done, Busy, Error, ErrorID,
TcpStatus, DatRcvFlag);
Done
Busy
Error
ErrorID
TcpStatus
DatRcvFlag
Valid range
---
*
Depends on data
type.
ST expression
Unit
Default
---
---
---
---
Times, durations, dates,
and text strings
2-1077
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents