EasyManua.ls Logo

Omron NJ501-1500

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
Loading...
2 Instruction Descriptions
2-754
NJ-series Instructions Reference Manual (W502)
SktUDPCreate
The SktUDPCreate instruction creates a UDP socket request to open a servo port for the built-in Ether-
Net/IP.
The SktUDPCreate instruction opens the port specified with the local UDP port number ScrUdpPort. To
do this, it executes the Socket() and Bind() socket functions. Information on the socket that is opened is
stored in Socket. The UDP port is open when the instruction is completed normally (i.e., when the value
of Done changes to TRUE).
Instruction Name
FB/
FUN
Graphic expression ST expression
SktUDP Create Create UDP
Socket
FB None SktUDPCreate_instance(Execute,
SrcUdpPort, Done, Busy, Error,
ErrorID, Socket);
Variables
Name Meaning I/O Description Valid range Unit Default
SrcUdpPort Local UDP
port number
Input Local UDP port number 1 to 65535
--- 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
SrcUdpPort OK
Socket Refer to Function for details on the structure _sSOCKET.
Function

Table of Contents

Related product manuals