Skttcpconnect - Omron NY532-5400 Reference Manual

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

Advertisement

2 Instruction Descriptions

SktTCPConnect

The SktTCPConnect instruction connects to a remote TCP port from the built-in EtherNet/IP.
Instruction
Name
SktTCP
Connect TCP
Connect
Socket
Variables
Name
Meaning
SrcTcpPort
Local TCP
port number
DstAdr
Destination
address
DstTcpPort
Destination
TCP port
number
Socket
Socket
Bit strings
SrcTcpPort
DstAdr
DstTcpPort
Socket
2-1062
FB/
Graphic expression
FUN
FB
SktTCPConnect_instance
SktTCPConnect
Execute
SrcTcpPort
DstAdr
DstTcpPort
I/O
Description
Local TCP port number. If 0 is
specified, an available TCP
port that is 1024 or higher is
automatically assigned. Well-
known port numbers are not
assigned.
Input
Destination IP address or host
name
Destination TCP port number
Output
Socket
Integers
OK
OK
Refer to Function for details on the structure _sSOCKET.
SktTCPConnect_instance(Execute,
SrcTcpPort, DstAdr, DstTcpPort, Done,
Busy, Error, ErrorID, Socket);
Done
Busy
Error
ErrorID
Socket
Valid range
Depends on data
type.
200 bytes max.
1 to 65,535
---
NY-series Instructions Reference Manual (W560)
ST expression
Unit
Default
0
---
---
1
---
---
Times, durations, dates,
and text strings
OK

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents