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 #815 background imageLoading...
Page #815 background image
2-767
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
Communications Instructions
2
SktTCPAccept
SktTCPAccept
The SktTCPAccept instruction requests accepting a TCP socket for the built-in EtherNet/IP.
The SktTCPAccept instruction requests accepting the port specified with the local TCP port number
ScrTcpPort. To do this, it executes the Socket(), Bind(), Listen(), and Accept() socket functions. The
instruction waits for the time set with timeout time TimeOut for a connection to be established with the
remote node. The connection is established when the instruction is completed normally (i.e., when the
value of Done changes to TRUE).
Instruction Name
FB/
FUN
Graphic expression ST expression
SktTCPAccept Accept TCP
Socket
FB None SktTCPAccept_instance(Execute,
SrcTcpPort, TimeOut, 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 1 to 65535
--- 1
TimeOut Timeout time 0: No timeouts
1 to 65535: 0.1 to 6553.5s
Depends on data
type.
0.1 s 0
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
TimeOut OK
Socket Refer to Function for details on the structure _sSOCKET.
Function

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