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 #818 background imageLoading...
Page #818 background image
2 Instruction Descriptions
2-770
NJ-series Instructions Reference Manual (W502)
SktTCPConnect
The SktTCPConnect instruction connects to a remote TCP port from the built-in EtherNet/IP.
Instruction Name
FB/
FUN
Graphic expression ST expression
SktTCP
Connect
Connect TCP
Socket
FB None SktTCPConnect_instance(Execute,
SrcTcpPort, DstAdr, DstTcpPort,
Done, Busy, Error, ErrorID, Socket);
Variables
Name Meaning I/O Description Valid range Unit Default
SrcTcpPort Local TCP
port number
Input
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.
Depends on data
type.
---
0
DstAdr Destination
address
Destination IP address or host
name
200 bytes max.
---
DstTcpPort Destination
TCP port
number
Destination TCP port number 1 to 65,535 1
Socket Socket Output Socket
--- --- ---
Boolean
Bit strings Integers
Real
numbers
Times, durations,
dates, and text strings
BOOL
BYTE
WORD
DWORD
LWORD
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
TIME
DATE
TOD
DT
STRING
SrcTcpPort OK
DstAdr OK
DstTcpPort OK
Socket Refer to Function for details on the structure _sSOCKET.

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